From aea46971fc42f9f45ae7b1b7aa7b0972eecbe3b9 Mon Sep 17 00:00:00 2001 From: Yuhang Wei Date: Thu, 5 Dec 2024 07:25:58 +0000 Subject: [PATCH] refactor: remove decrypted go version agent and proxy go version os-agent and proxy are not maintained for a while. This commit removes those code. Also, remove unused dependency in vendor Signed-off-by: Yuhang Wei --- Makefile | 18 +- cmd/agent/Makefile | 15 - cmd/agent/api/agent.pb.go | 800 - cmd/agent/api/agent.proto | 71 - cmd/agent/api/agent_grpc.pb.go | 188 - cmd/agent/main.go | 39 - cmd/agent/server/config.go | 429 - cmd/agent/server/config_test.go | 553 - cmd/agent/server/containerd_image.go | 120 - cmd/agent/server/containerd_image_test.go | 147 - cmd/agent/server/disk_image.go | 217 - cmd/agent/server/disk_image_test.go | 471 - cmd/agent/server/docker_image.go | 73 - cmd/agent/server/docker_image_test.go | 118 - cmd/agent/server/listener.go | 53 - cmd/agent/server/listener_test.go | 49 - cmd/agent/server/server.go | 186 - cmd/agent/server/server_test.go | 339 - cmd/agent/server/utils.go | 380 - cmd/agent/server/utils_test.go | 440 - cmd/agent/server/values.go | 53 - cmd/proxy/controllers/os_controller.go | 452 - cmd/proxy/controllers/os_controller_test.go | 1476 - cmd/proxy/controllers/suite_test.go | 110 - cmd/proxy/main.go | 83 - go.mod | 29 +- go.sum | 75 - pkg/agentclient/connection.go | 137 - vendor/github.com/Azure/go-ansiterm/LICENSE | 21 - vendor/github.com/Azure/go-ansiterm/README.md | 12 - .../github.com/Azure/go-ansiterm/constants.go | 188 - .../github.com/Azure/go-ansiterm/context.go | 7 - .../Azure/go-ansiterm/csi_entry_state.go | 49 - .../Azure/go-ansiterm/csi_param_state.go | 38 - .../go-ansiterm/escape_intermediate_state.go | 36 - .../Azure/go-ansiterm/escape_state.go | 47 - .../Azure/go-ansiterm/event_handler.go | 90 - .../Azure/go-ansiterm/ground_state.go | 24 - .../Azure/go-ansiterm/osc_string_state.go | 31 - vendor/github.com/Azure/go-ansiterm/parser.go | 151 - .../go-ansiterm/parser_action_helpers.go | 99 - .../Azure/go-ansiterm/parser_actions.go | 119 - vendor/github.com/Azure/go-ansiterm/states.go | 71 - .../github.com/Azure/go-ansiterm/utilities.go | 21 - .../Azure/go-ansiterm/winterm/ansi.go | 196 - .../Azure/go-ansiterm/winterm/api.go | 327 - .../go-ansiterm/winterm/attr_translation.go | 100 - .../go-ansiterm/winterm/cursor_helpers.go | 101 - .../go-ansiterm/winterm/erase_helpers.go | 84 - .../go-ansiterm/winterm/scroll_helper.go | 118 - .../Azure/go-ansiterm/winterm/utilities.go | 9 - .../go-ansiterm/winterm/win_event_handler.go | 743 - vendor/github.com/MakeNowJust/heredoc/LICENSE | 21 - .../github.com/MakeNowJust/heredoc/README.md | 53 - .../github.com/MakeNowJust/heredoc/heredoc.go | 98 - vendor/github.com/chai2010/gettext-go/LICENSE | 27 - .../chai2010/gettext-go/gettext/caller.go | 39 - .../chai2010/gettext-go/gettext/doc.go | 66 - .../chai2010/gettext-go/gettext/domain.go | 119 - .../gettext-go/gettext/domain_helper.go | 50 - .../chai2010/gettext-go/gettext/fs.go | 187 - .../chai2010/gettext-go/gettext/gettext.go | 184 - .../chai2010/gettext-go/gettext/local.go | 34 - .../chai2010/gettext-go/gettext/mo/doc.go | 74 - .../chai2010/gettext-go/gettext/mo/encoder.go | 124 - .../chai2010/gettext-go/gettext/mo/file.go | 193 - .../chai2010/gettext-go/gettext/mo/header.go | 109 - .../chai2010/gettext-go/gettext/mo/message.go | 39 - .../chai2010/gettext-go/gettext/mo/util.go | 110 - .../chai2010/gettext-go/gettext/plural/doc.go | 36 - .../gettext-go/gettext/plural/formula.go | 181 - .../gettext-go/gettext/plural/table.go | 55 - .../chai2010/gettext-go/gettext/po/comment.go | 270 - .../chai2010/gettext-go/gettext/po/doc.go | 24 - .../chai2010/gettext-go/gettext/po/file.go | 75 - .../chai2010/gettext-go/gettext/po/header.go | 106 - .../gettext-go/gettext/po/line_reader.go | 62 - .../chai2010/gettext-go/gettext/po/message.go | 189 - .../chai2010/gettext-go/gettext/po/re.go | 58 - .../chai2010/gettext-go/gettext/po/util.go | 110 - .../chai2010/gettext-go/gettext/tr.go | 128 - .../exponent-io/jsonpath/.gitignore | 24 - .../exponent-io/jsonpath/.travis.yml | 5 - .../github.com/exponent-io/jsonpath/LICENSE | 21 - .../github.com/exponent-io/jsonpath/README.md | 66 - .../exponent-io/jsonpath/decoder.go | 210 - .../github.com/exponent-io/jsonpath/path.go | 67 - .../exponent-io/jsonpath/pathaction.go | 61 - .../github.com/go-errors/errors/.travis.yml | 5 - .../github.com/go-errors/errors/LICENSE.MIT | 7 - vendor/github.com/go-errors/errors/README.md | 66 - vendor/github.com/go-errors/errors/cover.out | 89 - vendor/github.com/go-errors/errors/error.go | 217 - .../go-errors/errors/parse_panic.go | 127 - .../github.com/go-errors/errors/stackframe.go | 102 - .../golang/protobuf/jsonpb/decode.go | 530 - .../golang/protobuf/jsonpb/encode.go | 559 - .../github.com/golang/protobuf/jsonpb/json.go | 69 - vendor/github.com/google/btree/.travis.yml | 1 - vendor/github.com/google/btree/LICENSE | 202 - vendor/github.com/google/btree/README.md | 12 - vendor/github.com/google/btree/btree.go | 890 - vendor/github.com/google/shlex/COPYING | 202 - vendor/github.com/google/shlex/README | 2 - vendor/github.com/google/shlex/shlex.go | 416 - .../gregjones/httpcache/.travis.yml | 19 - .../gregjones/httpcache/LICENSE.txt | 7 - .../github.com/gregjones/httpcache/README.md | 25 - .../httpcache/diskcache/diskcache.go | 61 - .../gregjones/httpcache/httpcache.go | 551 - .../inconshreveable/mousetrap/LICENSE | 13 - .../inconshreveable/mousetrap/README.md | 23 - .../inconshreveable/mousetrap/trap_others.go | 15 - .../inconshreveable/mousetrap/trap_windows.go | 98 - .../mousetrap/trap_windows_1.4.go | 46 - .../github.com/liggitt/tabwriter/.travis.yml | 11 - vendor/github.com/liggitt/tabwriter/LICENSE | 27 - vendor/github.com/liggitt/tabwriter/README.md | 7 - .../github.com/liggitt/tabwriter/tabwriter.go | 637 - .../mitchellh/go-wordwrap/LICENSE.md | 21 - .../mitchellh/go-wordwrap/README.md | 39 - .../mitchellh/go-wordwrap/wordwrap.go | 73 - .../moby/spdystream/CONTRIBUTING.md | 13 - vendor/github.com/moby/spdystream/LICENSE | 202 - vendor/github.com/moby/spdystream/MAINTAINERS | 40 - vendor/github.com/moby/spdystream/NOTICE | 5 - vendor/github.com/moby/spdystream/README.md | 77 - .../github.com/moby/spdystream/connection.go | 972 - vendor/github.com/moby/spdystream/handlers.go | 52 - vendor/github.com/moby/spdystream/priority.go | 114 - .../moby/spdystream/spdy/dictionary.go | 203 - .../github.com/moby/spdystream/spdy/read.go | 364 - .../github.com/moby/spdystream/spdy/types.go | 291 - .../github.com/moby/spdystream/spdy/write.go | 334 - vendor/github.com/moby/spdystream/stream.go | 343 - vendor/github.com/moby/spdystream/utils.go | 32 - vendor/github.com/moby/term/.gitignore | 8 - vendor/github.com/moby/term/LICENSE | 191 - vendor/github.com/moby/term/README.md | 36 - vendor/github.com/moby/term/ascii.go | 66 - vendor/github.com/moby/term/proxy.go | 88 - vendor/github.com/moby/term/tc.go | 19 - vendor/github.com/moby/term/term.go | 120 - vendor/github.com/moby/term/term_windows.go | 231 - vendor/github.com/moby/term/termios.go | 35 - vendor/github.com/moby/term/termios_bsd.go | 12 - vendor/github.com/moby/term/termios_nonbsd.go | 12 - .../moby/term/windows/ansi_reader.go | 252 - .../moby/term/windows/ansi_writer.go | 56 - .../github.com/moby/term/windows/console.go | 39 - vendor/github.com/moby/term/windows/doc.go | 5 - vendor/github.com/moby/term/winsize.go | 20 - .../monochromegane/go-gitignore/.travis.yml | 6 - .../monochromegane/go-gitignore/LICENSE | 21 - .../monochromegane/go-gitignore/README.md | 95 - .../go-gitignore/depth_holder.go | 79 - .../go-gitignore/full_scan_patterns.go | 31 - .../monochromegane/go-gitignore/gitignore.go | 80 - .../go-gitignore/index_scan_patterns.go | 35 - .../go-gitignore/initial_holder.go | 62 - .../monochromegane/go-gitignore/match.go | 24 - .../monochromegane/go-gitignore/pattern.go | 69 - .../monochromegane/go-gitignore/patterns.go | 22 - .../monochromegane/go-gitignore/util.go | 45 - vendor/github.com/peterbourgon/diskv/LICENSE | 19 - .../github.com/peterbourgon/diskv/README.md | 141 - .../peterbourgon/diskv/compression.go | 64 - vendor/github.com/peterbourgon/diskv/diskv.go | 624 - vendor/github.com/peterbourgon/diskv/index.go | 115 - vendor/github.com/pmezard/go-difflib/LICENSE | 27 - .../pmezard/go-difflib/difflib/difflib.go | 772 - .../russross/blackfriday/.gitignore | 8 - .../russross/blackfriday/.travis.yml | 17 - .../russross/blackfriday/LICENSE.txt | 29 - .../github.com/russross/blackfriday/README.md | 369 - .../github.com/russross/blackfriday/block.go | 1474 - vendor/github.com/russross/blackfriday/doc.go | 32 - .../github.com/russross/blackfriday/html.go | 938 - .../github.com/russross/blackfriday/inline.go | 1154 - .../github.com/russross/blackfriday/latex.go | 334 - .../russross/blackfriday/markdown.go | 941 - .../russross/blackfriday/smartypants.go | 430 - vendor/github.com/spf13/cobra/.gitignore | 39 - vendor/github.com/spf13/cobra/.golangci.yml | 48 - vendor/github.com/spf13/cobra/.mailmap | 3 - vendor/github.com/spf13/cobra/CHANGELOG.md | 51 - vendor/github.com/spf13/cobra/CONDUCT.md | 37 - vendor/github.com/spf13/cobra/CONTRIBUTING.md | 50 - vendor/github.com/spf13/cobra/LICENSE.txt | 174 - vendor/github.com/spf13/cobra/MAINTAINERS | 13 - vendor/github.com/spf13/cobra/Makefile | 35 - vendor/github.com/spf13/cobra/README.md | 111 - vendor/github.com/spf13/cobra/args.go | 121 - .../spf13/cobra/bash_completions.go | 697 - .../spf13/cobra/bash_completions.md | 93 - .../spf13/cobra/bash_completionsV2.go | 331 - vendor/github.com/spf13/cobra/cobra.go | 222 - vendor/github.com/spf13/cobra/command.go | 1680 - .../github.com/spf13/cobra/command_notwin.go | 6 - vendor/github.com/spf13/cobra/command_win.go | 27 - vendor/github.com/spf13/cobra/completions.go | 811 - .../spf13/cobra/fish_completions.go | 219 - .../spf13/cobra/fish_completions.md | 4 - .../spf13/cobra/powershell_completions.go | 285 - .../spf13/cobra/powershell_completions.md | 3 - .../spf13/cobra/projects_using_cobra.md | 51 - .../spf13/cobra/shell_completions.go | 84 - .../spf13/cobra/shell_completions.md | 548 - vendor/github.com/spf13/cobra/user_guide.md | 638 - .../github.com/spf13/cobra/zsh_completions.go | 258 - .../github.com/spf13/cobra/zsh_completions.md | 48 - vendor/github.com/stretchr/testify/LICENSE | 21 - .../testify/assert/assertion_compare.go | 394 - .../testify/assert/assertion_format.go | 741 - .../testify/assert/assertion_format.go.tmpl | 5 - .../testify/assert/assertion_forward.go | 1470 - .../testify/assert/assertion_forward.go.tmpl | 5 - .../testify/assert/assertion_order.go | 81 - .../stretchr/testify/assert/assertions.go | 1774 - .../github.com/stretchr/testify/assert/doc.go | 45 - .../stretchr/testify/assert/errors.go | 10 - .../testify/assert/forward_assertions.go | 16 - .../testify/assert/http_assertions.go | 162 - .../stretchr/testify/require/doc.go | 28 - .../testify/require/forward_requirements.go | 16 - .../stretchr/testify/require/require.go | 1879 - .../stretchr/testify/require/require.go.tmpl | 6 - .../testify/require/require_forward.go | 1471 - .../testify/require/require_forward.go.tmpl | 5 - .../stretchr/testify/require/requirements.go | 29 - vendor/github.com/xlab/treeprint/LICENSE | 20 - vendor/github.com/xlab/treeprint/README.md | 128 - vendor/github.com/xlab/treeprint/helpers.go | 47 - vendor/github.com/xlab/treeprint/struct.go | 322 - vendor/github.com/xlab/treeprint/treeprint.go | 215 - vendor/go.starlark.net/LICENSE | 29 - .../internal/compile/compile.go | 1903 - .../internal/compile/serial.go | 389 - .../go.starlark.net/internal/spell/spell.go | 115 - vendor/go.starlark.net/resolve/binding.go | 74 - vendor/go.starlark.net/resolve/resolve.go | 978 - vendor/go.starlark.net/starlark/debug.go | 42 - vendor/go.starlark.net/starlark/empty.s | 3 - vendor/go.starlark.net/starlark/eval.go | 1497 - vendor/go.starlark.net/starlark/hashtable.go | 373 - vendor/go.starlark.net/starlark/int.go | 350 - vendor/go.starlark.net/starlark/interp.go | 637 - vendor/go.starlark.net/starlark/library.go | 2104 - vendor/go.starlark.net/starlark/profile.go | 449 - vendor/go.starlark.net/starlark/unpack.go | 258 - vendor/go.starlark.net/starlark/value.go | 1293 - .../go.starlark.net/starlarkstruct/module.go | 43 - .../go.starlark.net/starlarkstruct/struct.go | 281 - vendor/go.starlark.net/syntax/grammar.txt | 129 - vendor/go.starlark.net/syntax/parse.go | 1029 - vendor/go.starlark.net/syntax/quote.go | 269 - vendor/go.starlark.net/syntax/scan.go | 1089 - vendor/go.starlark.net/syntax/syntax.go | 529 - vendor/go.starlark.net/syntax/walk.go | 163 - .../golang.org/x/net/internal/socks/client.go | 168 - .../golang.org/x/net/internal/socks/socks.go | 317 - .../x/net/internal/timeseries/timeseries.go | 525 - vendor/golang.org/x/net/proxy/dial.go | 54 - vendor/golang.org/x/net/proxy/direct.go | 31 - vendor/golang.org/x/net/proxy/per_host.go | 155 - vendor/golang.org/x/net/proxy/proxy.go | 149 - vendor/golang.org/x/net/proxy/socks5.go | 42 - vendor/golang.org/x/net/trace/events.go | 532 - vendor/golang.org/x/net/trace/histogram.go | 365 - vendor/golang.org/x/net/trace/trace.go | 1130 - vendor/google.golang.org/genproto/LICENSE | 202 - .../googleapis/rpc/status/status.pb.go | 201 - vendor/google.golang.org/grpc/AUTHORS | 1 - .../google.golang.org/grpc/CODE-OF-CONDUCT.md | 3 - vendor/google.golang.org/grpc/CONTRIBUTING.md | 60 - vendor/google.golang.org/grpc/GOVERNANCE.md | 1 - vendor/google.golang.org/grpc/LICENSE | 202 - vendor/google.golang.org/grpc/MAINTAINERS.md | 28 - vendor/google.golang.org/grpc/Makefile | 46 - vendor/google.golang.org/grpc/NOTICE.txt | 13 - vendor/google.golang.org/grpc/README.md | 141 - vendor/google.golang.org/grpc/SECURITY.md | 3 - .../grpc/attributes/attributes.go | 101 - vendor/google.golang.org/grpc/backoff.go | 61 - .../google.golang.org/grpc/backoff/backoff.go | 52 - .../grpc/balancer/balancer.go | 373 - .../grpc/balancer/base/balancer.go | 254 - .../grpc/balancer/base/base.go | 71 - .../grpc/balancer/conn_state_evaluator.go | 70 - .../grpc/balancer/grpclb/state/state.go | 51 - .../grpc/balancer/roundrobin/roundrobin.go | 83 - .../grpc/balancer_conn_wrappers.go | 416 - .../grpc_binarylog_v1/binarylog.pb.go | 1187 - vendor/google.golang.org/grpc/call.go | 74 - .../grpc/channelz/channelz.go | 36 - vendor/google.golang.org/grpc/clientconn.go | 1686 - vendor/google.golang.org/grpc/codec.go | 50 - vendor/google.golang.org/grpc/codegen.sh | 17 - .../grpc/codes/code_string.go | 62 - vendor/google.golang.org/grpc/codes/codes.go | 244 - .../grpc/connectivity/connectivity.go | 94 - .../grpc/credentials/credentials.go | 291 - .../grpc/credentials/insecure/insecure.go | 98 - .../google.golang.org/grpc/credentials/tls.go | 236 - vendor/google.golang.org/grpc/dialoptions.go | 609 - vendor/google.golang.org/grpc/doc.go | 26 - .../grpc/encoding/encoding.go | 130 - .../grpc/encoding/proto/proto.go | 58 - .../grpc/grpclog/component.go | 117 - .../google.golang.org/grpc/grpclog/grpclog.go | 132 - .../google.golang.org/grpc/grpclog/logger.go | 87 - .../grpc/grpclog/loggerv2.go | 259 - vendor/google.golang.org/grpc/interceptor.go | 104 - .../grpc/internal/backoff/backoff.go | 73 - .../balancer/gracefulswitch/gracefulswitch.go | 384 - .../grpc/internal/balancerload/load.go | 46 - .../grpc/internal/binarylog/binarylog.go | 189 - .../internal/binarylog/binarylog_testutil.go | 42 - .../grpc/internal/binarylog/env_config.go | 208 - .../grpc/internal/binarylog/method_logger.go | 432 - .../grpc/internal/binarylog/sink.go | 170 - .../grpc/internal/buffer/unbounded.go | 85 - .../grpc/internal/channelz/funcs.go | 789 - .../grpc/internal/channelz/id.go | 75 - .../grpc/internal/channelz/logging.go | 79 - .../grpc/internal/channelz/types.go | 722 - .../grpc/internal/channelz/types_linux.go | 51 - .../grpc/internal/channelz/types_nonlinux.go | 43 - .../grpc/internal/channelz/util_linux.go | 37 - .../grpc/internal/channelz/util_nonlinux.go | 27 - .../grpc/internal/credentials/credentials.go | 49 - .../grpc/internal/credentials/spiffe.go | 75 - .../grpc/internal/credentials/syscallconn.go | 58 - .../grpc/internal/credentials/util.go | 52 - .../grpc/internal/envconfig/envconfig.go | 35 - .../grpc/internal/envconfig/xds.go | 100 - .../grpc/internal/grpclog/grpclog.go | 126 - .../grpc/internal/grpclog/prefixLogger.go | 81 - .../grpc/internal/grpcrand/grpcrand.go | 67 - .../grpc/internal/grpcsync/event.go | 61 - .../grpc/internal/grpcutil/encode_duration.go | 63 - .../grpc/internal/grpcutil/grpcutil.go | 20 - .../grpc/internal/grpcutil/metadata.go | 40 - .../grpc/internal/grpcutil/method.go | 89 - .../grpc/internal/grpcutil/regex.go | 31 - .../grpc/internal/internal.go | 163 - .../grpc/internal/metadata/metadata.go | 120 - .../grpc/internal/pretty/pretty.go | 82 - .../grpc/internal/resolver/config_selector.go | 167 - .../internal/resolver/dns/dns_resolver.go | 458 - .../resolver/passthrough/passthrough.go | 57 - .../grpc/internal/resolver/unix/unix.go | 73 - .../internal/serviceconfig/serviceconfig.go | 180 - .../grpc/internal/status/status.go | 166 - .../grpc/internal/syscall/syscall_linux.go | 112 - .../grpc/internal/syscall/syscall_nonlinux.go | 77 - .../grpc/internal/transport/bdp_estimator.go | 141 - .../grpc/internal/transport/controlbuf.go | 990 - .../grpc/internal/transport/defaults.go | 49 - .../grpc/internal/transport/flowcontrol.go | 215 - .../grpc/internal/transport/handler_server.go | 462 - .../grpc/internal/transport/http2_client.go | 1700 - .../grpc/internal/transport/http2_server.go | 1442 - .../grpc/internal/transport/http_util.go | 413 - .../transport/networktype/networktype.go | 46 - .../grpc/internal/transport/proxy.go | 142 - .../grpc/internal/transport/transport.go | 813 - .../grpc/internal/xds_handshake_cluster.go | 40 - .../grpc/keepalive/keepalive.go | 85 - .../grpc/metadata/metadata.go | 251 - vendor/google.golang.org/grpc/peer/peer.go | 51 - .../google.golang.org/grpc/picker_wrapper.go | 183 - vendor/google.golang.org/grpc/pickfirst.go | 183 - vendor/google.golang.org/grpc/preloader.go | 67 - vendor/google.golang.org/grpc/regenerate.sh | 126 - vendor/google.golang.org/grpc/resolver/map.go | 138 - .../grpc/resolver/resolver.go | 292 - .../grpc/resolver_conn_wrapper.go | 176 - vendor/google.golang.org/grpc/rpc_util.go | 914 - vendor/google.golang.org/grpc/server.go | 1909 - .../google.golang.org/grpc/service_config.go | 406 - .../grpc/serviceconfig/serviceconfig.go | 44 - .../google.golang.org/grpc/stats/handlers.go | 63 - vendor/google.golang.org/grpc/stats/stats.go | 319 - .../google.golang.org/grpc/status/status.go | 135 - vendor/google.golang.org/grpc/stream.go | 1661 - vendor/google.golang.org/grpc/tap/tap.go | 56 - vendor/google.golang.org/grpc/trace.go | 123 - vendor/google.golang.org/grpc/version.go | 22 - vendor/google.golang.org/grpc/vet.sh | 210 - .../protobuf/encoding/protojson/decode.go | 665 - .../protobuf/encoding/protojson/doc.go | 11 - .../protobuf/encoding/protojson/encode.go | 343 - .../encoding/protojson/well_known_types.go | 889 - .../protobuf/internal/encoding/json/decode.go | 340 - .../internal/encoding/json/decode_number.go | 254 - .../internal/encoding/json/decode_string.go | 91 - .../internal/encoding/json/decode_token.go | 192 - .../protobuf/internal/encoding/json/encode.go | 276 - .../types/known/structpb/struct.pb.go | 810 - vendor/k8s.io/api/imagepolicy/v1alpha1/doc.go | 23 - .../api/imagepolicy/v1alpha1/generated.pb.go | 1375 - .../api/imagepolicy/v1alpha1/generated.proto | 88 - .../api/imagepolicy/v1alpha1/register.go | 51 - .../k8s.io/api/imagepolicy/v1alpha1/types.go | 82 - .../v1alpha1/types_swagger_doc_generated.go | 72 - .../v1alpha1/zz_generated.deepcopy.go | 121 - .../unstructured/unstructuredscheme/scheme.go | 129 - .../pkg/util/duration/duration.go | 93 - .../apimachinery/pkg/util/httpstream/doc.go | 19 - .../pkg/util/httpstream/httpstream.go | 159 - .../pkg/util/httpstream/spdy/connection.go | 204 - .../pkg/util/httpstream/spdy/roundtripper.go | 418 - .../pkg/util/httpstream/spdy/upgrade.go | 120 - .../pkg/util/remotecommand/constants.go | 53 - .../third_party/forked/golang/netutil/addr.go | 28 - vendor/k8s.io/cli-runtime/LICENSE | 202 - .../pkg/genericclioptions/builder_flags.go | 231 - .../genericclioptions/builder_flags_fake.go | 54 - .../pkg/genericclioptions/client_config.go | 72 - .../pkg/genericclioptions/command_headers.go | 91 - .../pkg/genericclioptions/config_flags.go | 456 - .../genericclioptions/config_flags_fake.go | 127 - .../cli-runtime/pkg/genericclioptions/doc.go | 19 - .../pkg/genericclioptions/filename_flags.go | 82 - .../pkg/genericclioptions/io_options.go | 57 - .../pkg/genericclioptions/json_yaml_flags.go | 79 - .../pkg/genericclioptions/jsonpath_flags.go | 137 - .../genericclioptions/kube_template_flags.go | 94 - .../pkg/genericclioptions/name_flags.go | 83 - .../pkg/genericclioptions/print_flags.go | 171 - .../pkg/genericclioptions/record_flags.go | 201 - .../pkg/genericclioptions/template_flags.go | 136 - .../cli-runtime/pkg/printers/discard.go | 30 - vendor/k8s.io/cli-runtime/pkg/printers/doc.go | 19 - .../cli-runtime/pkg/printers/interface.go | 54 - .../k8s.io/cli-runtime/pkg/printers/json.go | 79 - .../cli-runtime/pkg/printers/jsonpath.go | 147 - .../cli-runtime/pkg/printers/managedfields.go | 59 - .../k8s.io/cli-runtime/pkg/printers/name.go | 130 - .../cli-runtime/pkg/printers/sourcechecker.go | 60 - .../cli-runtime/pkg/printers/tableprinter.go | 588 - .../cli-runtime/pkg/printers/tabwriter.go | 36 - .../cli-runtime/pkg/printers/template.go | 118 - .../cli-runtime/pkg/printers/typesetter.go | 95 - .../k8s.io/cli-runtime/pkg/printers/yaml.go | 90 - .../cli-runtime/pkg/resource/builder.go | 1246 - .../k8s.io/cli-runtime/pkg/resource/client.go | 69 - .../cli-runtime/pkg/resource/crd_finder.go | 110 - vendor/k8s.io/cli-runtime/pkg/resource/doc.go | 24 - .../k8s.io/cli-runtime/pkg/resource/fake.go | 40 - .../k8s.io/cli-runtime/pkg/resource/helper.go | 321 - .../cli-runtime/pkg/resource/interfaces.go | 103 - .../pkg/resource/kustomizevisitor.go | 54 - .../k8s.io/cli-runtime/pkg/resource/mapper.go | 166 - .../pkg/resource/metadata_decoder.go | 56 - .../pkg/resource/query_param_verifier.go | 166 - .../k8s.io/cli-runtime/pkg/resource/result.go | 242 - .../k8s.io/cli-runtime/pkg/resource/scheme.go | 82 - .../cli-runtime/pkg/resource/selector.go | 92 - .../cli-runtime/pkg/resource/visitor.go | 742 - .../discovery/cached/disk/cached_discovery.go | 312 - .../discovery/cached/disk/round_tripper.go | 65 - .../k8s.io/client-go/openapi/cached/client.go | 54 - .../client-go/openapi/cached/groupversion.go | 45 - vendor/k8s.io/client-go/scale/client.go | 238 - vendor/k8s.io/client-go/scale/doc.go | 21 - vendor/k8s.io/client-go/scale/interfaces.go | 47 - .../client-go/scale/scheme/appsint/doc.go | 22 - .../scale/scheme/appsint/register.go | 55 - .../scale/scheme/appsv1beta1/conversion.go | 73 - .../client-go/scale/scheme/appsv1beta1/doc.go | 20 - .../scale/scheme/appsv1beta1/register.go | 45 - .../appsv1beta1/zz_generated.conversion.go | 134 - .../scale/scheme/appsv1beta2/conversion.go | 73 - .../client-go/scale/scheme/appsv1beta2/doc.go | 20 - .../scale/scheme/appsv1beta2/register.go | 45 - .../appsv1beta2/zz_generated.conversion.go | 134 - .../scale/scheme/autoscalingv1/conversion.go | 54 - .../scale/scheme/autoscalingv1/doc.go | 20 - .../scale/scheme/autoscalingv1/register.go | 45 - .../autoscalingv1/zz_generated.conversion.go | 133 - vendor/k8s.io/client-go/scale/scheme/doc.go | 22 - .../scale/scheme/extensionsint/doc.go | 22 - .../scale/scheme/extensionsint/register.go | 55 - .../scheme/extensionsv1beta1/conversion.go | 73 - .../scale/scheme/extensionsv1beta1/doc.go | 20 - .../scheme/extensionsv1beta1/register.go | 45 - .../zz_generated.conversion.go | 134 - .../k8s.io/client-go/scale/scheme/register.go | 54 - vendor/k8s.io/client-go/scale/scheme/types.go | 60 - .../scale/scheme/zz_generated.deepcopy.go | 92 - vendor/k8s.io/client-go/scale/util.go | 197 - .../client-go/tools/remotecommand/doc.go | 20 - .../tools/remotecommand/errorstream.go | 55 - .../client-go/tools/remotecommand/reader.go | 41 - .../tools/remotecommand/remotecommand.go | 142 - .../client-go/tools/remotecommand/resize.go | 33 - .../client-go/tools/remotecommand/v1.go | 160 - .../client-go/tools/remotecommand/v2.go | 200 - .../client-go/tools/remotecommand/v3.go | 111 - .../client-go/tools/remotecommand/v4.go | 119 - .../k8s.io/client-go/transport/spdy/spdy.go | 103 - vendor/k8s.io/client-go/util/exec/exec.go | 52 - vendor/k8s.io/component-base/version/OWNERS | 16 - vendor/k8s.io/component-base/version/base.go | 63 - .../k8s.io/component-base/version/version.go | 42 - .../pkg/util/proto/validation/errors.go | 79 - .../pkg/util/proto/validation/types.go | 299 - .../pkg/util/proto/validation/validation.go | 30 - vendor/k8s.io/kubectl/LICENSE | 201 - .../k8s.io/kubectl/pkg/cmd/util/env_file.go | 103 - vendor/k8s.io/kubectl/pkg/cmd/util/factory.go | 69 - .../pkg/cmd/util/factory_client_access.go | 196 - vendor/k8s.io/kubectl/pkg/cmd/util/helpers.go | 846 - .../pkg/cmd/util/kubectl_match_version.go | 129 - .../kubectl/pkg/cmd/util/override_options.go | 90 - .../k8s.io/kubectl/pkg/cmd/util/printing.go | 29 - vendor/k8s.io/kubectl/pkg/drain/cordon.go | 111 - vendor/k8s.io/kubectl/pkg/drain/default.go | 75 - vendor/k8s.io/kubectl/pkg/drain/drain.go | 453 - vendor/k8s.io/kubectl/pkg/drain/filters.go | 258 - vendor/k8s.io/kubectl/pkg/scheme/install.go | 82 - vendor/k8s.io/kubectl/pkg/scheme/scheme.go | 39 - vendor/k8s.io/kubectl/pkg/util/i18n/i18n.go | 150 - .../kubectl/pkg/util/i18n/translations/OWNERS | 7 - .../pkg/util/i18n/translations/README.md | 82 - .../pkg/util/i18n/translations/extract.py | 105 - .../pkg/util/i18n/translations/kubectl/OWNERS | 6 - .../kubectl/de_DE/LC_MESSAGES/k8s.mo | Bin 17420 -> 0 bytes .../kubectl/de_DE/LC_MESSAGES/k8s.po | 2920 - .../kubectl/default/LC_MESSAGES/k8s.mo | Bin 153024 -> 0 bytes .../kubectl/default/LC_MESSAGES/k8s.po | 5085 - .../kubectl/en_US/LC_MESSAGES/k8s.mo | Bin 153024 -> 0 bytes .../kubectl/en_US/LC_MESSAGES/k8s.po | 5085 - .../kubectl/fr_FR/LC_MESSAGES/k8s.mo | Bin 1233 -> 0 bytes .../kubectl/fr_FR/LC_MESSAGES/k8s.po | 103 - .../kubectl/it_IT/LC_MESSAGES/k8s.mo | Bin 20017 -> 0 bytes .../kubectl/it_IT/LC_MESSAGES/k8s.po | 3249 - .../kubectl/ja_JP/LC_MESSAGES/k8s.mo | Bin 19210 -> 0 bytes .../kubectl/ja_JP/LC_MESSAGES/k8s.po | 3365 - .../kubectl/ko_KR/LC_MESSAGES/k8s.mo | Bin 1274 -> 0 bytes .../kubectl/ko_KR/LC_MESSAGES/k8s.po | 96 - .../kubectl/pt_BR/LC_MESSAGES/k8s.mo | Bin 19980 -> 0 bytes .../kubectl/pt_BR/LC_MESSAGES/k8s.po | 3250 - .../i18n/translations/kubectl/template.pot | 3183 - .../kubectl/zh_CN/LC_MESSAGES/k8s.mo | Bin 18814 -> 0 bytes .../kubectl/zh_CN/LC_MESSAGES/k8s.po | 3287 - .../kubectl/zh_TW/LC_MESSAGES/k8s.mo | Bin 1187 -> 0 bytes .../kubectl/zh_TW/LC_MESSAGES/k8s.po | 81 - .../test/default/LC_MESSAGES/k8s.mo | Bin 563 -> 0 bytes .../test/default/LC_MESSAGES/k8s.po | 28 - .../test/en_US/LC_MESSAGES/k8s.mo | Bin 563 -> 0 bytes .../test/en_US/LC_MESSAGES/k8s.po | 28 - .../kubectl/pkg/util/interrupt/interrupt.go | 104 - vendor/k8s.io/kubectl/pkg/util/openapi/OWNERS | 6 - vendor/k8s.io/kubectl/pkg/util/openapi/doc.go | 21 - .../kubectl/pkg/util/openapi/extensions.go | 27 - .../kubectl/pkg/util/openapi/openapi.go | 128 - .../pkg/util/openapi/openapi_getter.go | 82 - .../pkg/util/openapi/validation/validation.go | 140 - .../pkg/util/templates/command_groups.go | 59 - .../pkg/util/templates/help_flags_printer.go | 76 - .../kubectl/pkg/util/templates/markdown.go | 150 - .../kubectl/pkg/util/templates/normalizers.go | 97 - .../kubectl/pkg/util/templates/templater.go | 309 - .../kubectl/pkg/util/templates/templates.go | 103 - vendor/k8s.io/kubectl/pkg/util/term/resize.go | 132 - .../kubectl/pkg/util/term/resizeevents.go | 62 - .../pkg/util/term/resizeevents_windows.go | 62 - vendor/k8s.io/kubectl/pkg/util/term/term.go | 137 - .../kubectl/pkg/util/term/term_writer.go | 144 - .../k8s.io/kubectl/pkg/validation/schema.go | 154 - vendor/k8s.io/utils/exec/README.md | 5 - vendor/k8s.io/utils/exec/doc.go | 18 - vendor/k8s.io/utils/exec/exec.go | 252 - vendor/modules.txt | 259 - vendor/sigs.k8s.io/kustomize/api/LICENSE | 201 - .../api/filters/annotations/annotations.go | 52 - .../kustomize/api/filters/annotations/doc.go | 6 - .../kustomize/api/filters/fieldspec/doc.go | 6 - .../api/filters/fieldspec/fieldspec.go | 182 - .../api/filters/filtersutil/setters.go | 66 - .../kustomize/api/filters/fsslice/doc.go | 6 - .../kustomize/api/filters/fsslice/fsslice.go | 47 - .../api/filters/iampolicygenerator/doc.go | 3 - .../iampolicygenerator/iampolicygenerator.go | 55 - .../kustomize/api/filters/imagetag/doc.go | 12 - .../api/filters/imagetag/imagetag.go | 72 - .../kustomize/api/filters/imagetag/legacy.go | 105 - .../kustomize/api/filters/imagetag/updater.go | 66 - .../kustomize/api/filters/labels/doc.go | 6 - .../kustomize/api/filters/labels/labels.go | 53 - .../kustomize/api/filters/nameref/doc.go | 3 - .../kustomize/api/filters/nameref/nameref.go | 396 - .../api/filters/nameref/seqfilter.go | 57 - .../kustomize/api/filters/namespace/doc.go | 9 - .../api/filters/namespace/namespace.go | 174 - .../api/filters/patchjson6902/doc.go | 6 - .../filters/patchjson6902/patchjson6902.go | 65 - .../api/filters/patchstrategicmerge/doc.go | 6 - .../patchstrategicmerge.go | 36 - .../kustomize/api/filters/prefix/doc.go | 6 - .../kustomize/api/filters/prefix/prefix.go | 50 - .../kustomize/api/filters/refvar/doc.go | 3 - .../kustomize/api/filters/refvar/expand.go | 147 - .../kustomize/api/filters/refvar/refvar.go | 110 - .../kustomize/api/filters/replacement/doc.go | 4 - .../api/filters/replacement/replacement.go | 249 - .../kustomize/api/filters/replicacount/doc.go | 6 - .../api/filters/replicacount/replicacount.go | 45 - .../kustomize/api/filters/suffix/doc.go | 6 - .../kustomize/api/filters/suffix/suffix.go | 50 - .../api/filters/valueadd/valueadd.go | 134 - .../kustomize/api/hasher/hasher.go | 155 - vendor/sigs.k8s.io/kustomize/api/ifc/ifc.go | 48 - .../sigs.k8s.io/kustomize/api/image/image.go | 66 - .../accumulator/loadconfigfromcrds.go | 198 - .../accumulator/namereferencetransformer.go | 165 - .../internal/accumulator/refvartransformer.go | 57 - .../internal/accumulator/resaccumulator.go | 190 - .../builtins/AnnotationsTransformer.go | 38 - .../internal/builtins/ConfigMapGenerator.go | 39 - .../api/internal/builtins/HashTransformer.go | 40 - .../builtins/HelmChartInflationGenerator.go | 339 - .../internal/builtins/IAMPolicyGenerator.go | 33 - .../internal/builtins/ImageTagTransformer.go | 41 - .../api/internal/builtins/LabelTransformer.go | 38 - .../builtins/LegacyOrderTransformer.go | 46 - .../internal/builtins/NamespaceTransformer.go | 55 - .../builtins/PatchJson6902Transformer.go | 105 - .../PatchStrategicMergeTransformer.go | 89 - .../api/internal/builtins/PatchTransformer.go | 153 - .../internal/builtins/PrefixTransformer.go | 96 - .../builtins/ReplacementTransformer.go | 78 - .../builtins/ReplicaCountTransformer.go | 73 - .../api/internal/builtins/SecretGenerator.go | 39 - .../internal/builtins/SuffixTransformer.go | 96 - .../internal/builtins/ValueAddTransformer.go | 141 - .../kustomize/api/internal/builtins/doc.go | 8 - .../api/internal/generators/configmap.go | 52 - .../api/internal/generators/secret.go | 59 - .../api/internal/generators/utils.go | 97 - .../kustomize/api/internal/git/cloner.go | 54 - .../kustomize/api/internal/git/gitrunner.go | 55 - .../kustomize/api/internal/git/repospec.go | 268 - .../api/internal/kusterr/yamlformaterror.go | 55 - .../api/internal/plugins/builtinconfig/doc.go | 10 - .../builtinconfig/loaddefaultconfig.go | 42 - .../builtinconfig/namebackreferences.go | 99 - .../builtinconfig/transformerconfig.go | 148 - .../builtinplugintype_string.go | 42 - .../plugins/builtinhelpers/builtins.go | 114 - .../internal/plugins/execplugin/execplugin.go | 192 - .../api/internal/plugins/fnplugin/fnplugin.go | 199 - .../api/internal/plugins/loader/loader.go | 306 - .../api/internal/plugins/utils/utils.go | 240 - .../target/errmissingkustomization.go | 48 - .../api/internal/target/kusttarget.go | 559 - .../target/kusttarget_configplugin.go | 438 - .../api/internal/target/multitransformer.go | 41 - .../api/internal/utils/annotations.go | 26 - .../api/internal/utils/errtimeout.go | 36 - .../api/internal/utils/makeResIds.go | 64 - .../api/internal/utils/pathsplitter.go | 64 - .../api/internal/utils/stringslice.go | 44 - .../kustomize/api/internal/utils/timedcall.go | 23 - .../api/internal/validate/fieldvalidator.go | 68 - .../builtinpluginconsts/commonannotations.go | 47 - .../builtinpluginconsts/commonlabels.go | 159 - .../builtinpluginconsts/defaultconfig.go | 40 - .../api/konfig/builtinpluginconsts/doc.go | 8 - .../api/konfig/builtinpluginconsts/images.go | 18 - .../konfig/builtinpluginconsts/nameprefix.go | 11 - .../builtinpluginconsts/namereference.go | 427 - .../konfig/builtinpluginconsts/namespace.go | 26 - .../konfig/builtinpluginconsts/namesuffix.go | 11 - .../konfig/builtinpluginconsts/replicas.go | 23 - .../builtinpluginconsts/varreference.go | 223 - .../sigs.k8s.io/kustomize/api/konfig/doc.go | 7 - .../kustomize/api/konfig/general.go | 49 - .../kustomize/api/konfig/plugins.go | 138 - .../sigs.k8s.io/kustomize/api/krusty/doc.go | 11 - .../kustomize/api/krusty/kustomizer.go | 122 - .../kustomize/api/krusty/options.go | 58 - vendor/sigs.k8s.io/kustomize/api/kv/kv.go | 225 - .../kustomize/api/loader/errors.go | 5 - .../kustomize/api/loader/fileloader.go | 343 - .../kustomize/api/loader/loader.go | 34 - .../kustomize/api/loader/loadrestrictions.go | 35 - .../kustomize/api/provenance/provenance.go | 68 - .../kustomize/api/provider/depprovider.go | 42 - .../kustomize/api/resmap/factory.go | 145 - .../kustomize/api/resmap/idslice.go | 37 - .../kustomize/api/resmap/resmap.go | 333 - .../kustomize/api/resmap/reswrangler.go | 765 - .../sigs.k8s.io/kustomize/api/resource/doc.go | 5 - .../kustomize/api/resource/factory.go | 293 - .../kustomize/api/resource/idset.go | 30 - .../kustomize/api/resource/origin.go | 106 - .../kustomize/api/resource/resource.go | 532 - .../builtinpluginloadingoptions_string.go | 25 - .../kustomize/api/types/configmapargs.go | 10 - vendor/sigs.k8s.io/kustomize/api/types/doc.go | 9 - .../api/types/erronlybuiltinpluginsallowed.go | 33 - .../kustomize/api/types/errunabletofind.go | 40 - .../kustomize/api/types/fieldspec.go | 91 - vendor/sigs.k8s.io/kustomize/api/types/fix.go | 54 - .../kustomize/api/types/generationbehavior.go | 46 - .../kustomize/api/types/generatorargs.go | 27 - .../kustomize/api/types/generatoroptions.go | 76 - .../kustomize/api/types/helmchartargs.go | 122 - .../kustomize/api/types/iampolicygenerator.go | 36 - .../sigs.k8s.io/kustomize/api/types/image.go | 21 - .../kustomize/api/types/inventory.go | 16 - .../kustomize/api/types/kustomization.go | 274 - .../kustomize/api/types/kvpairsources.go | 36 - .../sigs.k8s.io/kustomize/api/types/labels.go | 25 - .../kustomize/api/types/loadrestrictions.go | 24 - .../api/types/loadrestrictions_string.go | 25 - .../kustomize/api/types/objectmeta.go | 13 - .../sigs.k8s.io/kustomize/api/types/pair.go | 10 - .../sigs.k8s.io/kustomize/api/types/patch.go | 34 - .../api/types/patchstrategicmerge.go | 9 - .../kustomize/api/types/pluginconfig.go | 47 - .../kustomize/api/types/pluginrestrictions.go | 62 - .../api/types/pluginrestrictions_string.go | 25 - .../kustomize/api/types/replacement.go | 87 - .../kustomize/api/types/replacementfield.go | 6 - .../kustomize/api/types/replica.go | 16 - .../kustomize/api/types/secretargs.go | 19 - .../kustomize/api/types/selector.go | 124 - .../kustomize/api/types/typemeta.go | 11 - vendor/sigs.k8s.io/kustomize/api/types/var.go | 211 - vendor/sigs.k8s.io/kustomize/kyaml/LICENSE | 201 - .../kustomize/kyaml/LICENSE_TEMPLATE | 2 - .../kustomize/kyaml/comments/comments.go | 83 - .../kustomize/kyaml/errors/errors.go | 40 - vendor/sigs.k8s.io/kustomize/kyaml/ext/ext.go | 10 - .../kustomize/kyaml/fieldmeta/fieldmeta.go | 275 - .../kustomize/kyaml/filesys/confirmeddir.go | 79 - .../kustomize/kyaml/filesys/doc.go | 7 - .../kustomize/kyaml/filesys/file.go | 15 - .../kustomize/kyaml/filesys/fileinfo.go | 34 - .../kustomize/kyaml/filesys/fileondisk.go | 27 - .../kustomize/kyaml/filesys/filesystem.go | 120 - .../kustomize/kyaml/filesys/fsnode.go | 648 - .../kustomize/kyaml/filesys/fsondisk.go | 137 - .../kustomize/kyaml/filesys/util.go | 143 - .../kyaml/fn/runtime/container/container.go | 201 - .../kustomize/kyaml/fn/runtime/exec/doc.go | 5 - .../kustomize/kyaml/fn/runtime/exec/exec.go | 54 - .../kyaml/fn/runtime/runtimeutil/doc.go | 5 - .../fn/runtime/runtimeutil/functiontypes.go | 305 - .../fn/runtime/runtimeutil/runtimeutil.go | 281 - .../kyaml/fn/runtime/runtimeutil/types.go | 8 - .../kyaml/fn/runtime/starlark/context.go | 79 - .../kyaml/fn/runtime/starlark/doc.go | 36 - .../kyaml/fn/runtime/starlark/starlark.go | 181 - .../forked/github.com/go-yaml/yaml/LICENSE | 50 - .../forked/github.com/go-yaml/yaml/NOTICE | 13 - .../forked/github.com/go-yaml/yaml/README.md | 150 - .../forked/github.com/go-yaml/yaml/apic.go | 747 - .../forked/github.com/go-yaml/yaml/decode.go | 950 - .../github.com/go-yaml/yaml/emitterc.go | 2028 - .../forked/github.com/go-yaml/yaml/encode.go | 577 - .../forked/github.com/go-yaml/yaml/parserc.go | 1249 - .../forked/github.com/go-yaml/yaml/readerc.go | 434 - .../forked/github.com/go-yaml/yaml/resolve.go | 326 - .../github.com/go-yaml/yaml/scannerc.go | 3038 - .../forked/github.com/go-yaml/yaml/sorter.go | 134 - .../forked/github.com/go-yaml/yaml/writerc.go | 48 - .../forked/github.com/go-yaml/yaml/yaml.go | 708 - .../forked/github.com/go-yaml/yaml/yamlh.go | 809 - .../github.com/go-yaml/yaml/yamlprivateh.go | 198 - .../github.com/qri-io/starlib/util/LICENSE | 21 - .../github.com/qri-io/starlib/util/doc.go | 25 - .../github.com/qri-io/starlib/util/util.go | 273 - .../kustomize/kyaml/kio/byteio_reader.go | 349 - .../kustomize/kyaml/kio/byteio_writer.go | 198 - vendor/sigs.k8s.io/kustomize/kyaml/kio/doc.go | 35 - .../kustomize/kyaml/kio/filters/filters.go | 210 - .../kustomize/kyaml/kio/filters/fmtr.go | 314 - .../kustomize/kyaml/kio/filters/grep.go | 117 - .../kustomize/kyaml/kio/filters/local.go | 38 - .../kustomize/kyaml/kio/filters/merge.go | 86 - .../kustomize/kyaml/kio/filters/merge3.go | 317 - .../kustomize/kyaml/kio/filters/modify.go | 4 - .../kyaml/kio/filters/stripcomments.go | 32 - .../kustomize/kyaml/kio/ignorefilesmatcher.go | 105 - vendor/sigs.k8s.io/kustomize/kyaml/kio/kio.go | 442 - .../kustomize/kyaml/kio/kioutil/kioutil.go | 420 - .../kustomize/kyaml/kio/pkgio_reader.go | 360 - .../kustomize/kyaml/kio/pkgio_writer.go | 150 - .../kustomize/kyaml/kio/testing.go | 45 - .../sigs.k8s.io/kustomize/kyaml/kio/tree.go | 519 - .../kustomize/kyaml/openapi/Makefile | 62 - .../kustomize/kyaml/openapi/README.md | 94 - .../openapi/kubernetesapi/openapiinfo.go | 18 - .../openapi/kubernetesapi/v1212/swagger.go | 249 - .../openapi/kubernetesapi/v1212/swagger.json | 101036 --------------- .../kyaml/openapi/kustomizationapi/swagger.go | 249 - .../openapi/kustomizationapi/swagger.json | 130 - .../kustomize/kyaml/openapi/openapi.go | 726 - .../kustomize/kyaml/order/syncorder.go | 124 - .../sigs.k8s.io/kustomize/kyaml/resid/gvk.go | 258 - .../kustomize/kyaml/resid/resid.go | 164 - .../kustomize/kyaml/runfn/runfn.go | 537 - .../kustomize/kyaml/sets/string.go | 64 - .../kustomize/kyaml/sets/stringlist.go | 44 - .../kustomize/kyaml/sliceutil/slice.go | 25 - .../sigs.k8s.io/kustomize/kyaml/yaml/alias.go | 99 - .../kustomize/kyaml/yaml/compatibility.go | 100 - .../sigs.k8s.io/kustomize/kyaml/yaml/const.go | 30 - .../kustomize/kyaml/yaml/datamap.go | 121 - .../sigs.k8s.io/kustomize/kyaml/yaml/doc.go | 49 - .../kustomize/kyaml/yaml/filters.go | 146 - .../sigs.k8s.io/kustomize/kyaml/yaml/fns.go | 866 - .../k8sgen/pkg/labels/copied.deepcopy.go | 44 - .../yaml/internal/k8sgen/pkg/labels/labels.go | 192 - .../internal/k8sgen/pkg/labels/selector.go | 926 - .../internal/k8sgen/pkg/selection/operator.go | 36 - .../internal/k8sgen/pkg/util/errors/errors.go | 252 - .../internal/k8sgen/pkg/util/sets/empty.go | 24 - .../internal/k8sgen/pkg/util/sets/string.go | 206 - .../pkg/util/validation/field/errors.go | 275 - .../k8sgen/pkg/util/validation/field/path.go | 94 - .../k8sgen/pkg/util/validation/validation.go | 506 - .../sigs.k8s.io/kustomize/kyaml/yaml/kfns.go | 137 - .../kustomize/kyaml/yaml/mapnode.go | 40 - .../sigs.k8s.io/kustomize/kyaml/yaml/match.go | 273 - .../kustomize/kyaml/yaml/merge2/merge2.go | 182 - .../kyaml/yaml/merge2/smpdirective.go | 101 - .../kyaml/yaml/merge2/smpdirective_string.go | 26 - .../kustomize/kyaml/yaml/merge3/merge3.go | 45 - .../kustomize/kyaml/yaml/merge3/visitor.go | 172 - .../sigs.k8s.io/kustomize/kyaml/yaml/order.go | 107 - .../sigs.k8s.io/kustomize/kyaml/yaml/rnode.go | 1293 - .../kustomize/kyaml/yaml/schema/schema.go | 44 - .../sigs.k8s.io/kustomize/kyaml/yaml/types.go | 240 - .../sigs.k8s.io/kustomize/kyaml/yaml/util.go | 71 - .../kyaml/yaml/walk/associative_sequence.go | 385 - .../kustomize/kyaml/yaml/walk/map.go | 173 - .../yaml/walk/nonassociative_sequence.go | 13 - .../kustomize/kyaml/yaml/walk/scalar.go | 11 - .../kustomize/kyaml/yaml/walk/visitor.go | 28 - .../kustomize/kyaml/yaml/walk/walk.go | 186 - 847 files changed, 6 insertions(+), 289257 deletions(-) delete mode 100644 cmd/agent/Makefile delete mode 100644 cmd/agent/api/agent.pb.go delete mode 100644 cmd/agent/api/agent.proto delete mode 100644 cmd/agent/api/agent_grpc.pb.go delete mode 100644 cmd/agent/main.go delete mode 100644 cmd/agent/server/config.go delete mode 100644 cmd/agent/server/config_test.go delete mode 100644 cmd/agent/server/containerd_image.go delete mode 100644 cmd/agent/server/containerd_image_test.go delete mode 100644 cmd/agent/server/disk_image.go delete mode 100644 cmd/agent/server/disk_image_test.go delete mode 100644 cmd/agent/server/docker_image.go delete mode 100644 cmd/agent/server/docker_image_test.go delete mode 100644 cmd/agent/server/listener.go delete mode 100644 cmd/agent/server/listener_test.go delete mode 100644 cmd/agent/server/server.go delete mode 100644 cmd/agent/server/server_test.go delete mode 100644 cmd/agent/server/utils.go delete mode 100644 cmd/agent/server/utils_test.go delete mode 100644 cmd/agent/server/values.go delete mode 100644 cmd/proxy/controllers/os_controller.go delete mode 100644 cmd/proxy/controllers/os_controller_test.go delete mode 100644 cmd/proxy/controllers/suite_test.go delete mode 100644 cmd/proxy/main.go delete mode 100644 pkg/agentclient/connection.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/LICENSE delete mode 100644 vendor/github.com/Azure/go-ansiterm/README.md delete mode 100644 vendor/github.com/Azure/go-ansiterm/constants.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/context.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/csi_entry_state.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/csi_param_state.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/escape_intermediate_state.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/escape_state.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/event_handler.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/ground_state.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/osc_string_state.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/parser.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/parser_action_helpers.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/parser_actions.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/states.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/utilities.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/ansi.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/api.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/utilities.go delete mode 100644 vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go delete mode 100644 vendor/github.com/MakeNowJust/heredoc/LICENSE delete mode 100644 vendor/github.com/MakeNowJust/heredoc/README.md delete mode 100644 vendor/github.com/MakeNowJust/heredoc/heredoc.go delete mode 100644 vendor/github.com/chai2010/gettext-go/LICENSE delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/caller.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/doc.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/domain.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/domain_helper.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/fs.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/gettext.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/local.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/mo/doc.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/mo/encoder.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/mo/file.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/mo/header.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/mo/message.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/mo/util.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/plural/doc.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/plural/formula.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/plural/table.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/comment.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/doc.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/file.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/header.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/line_reader.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/message.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/re.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/po/util.go delete mode 100644 vendor/github.com/chai2010/gettext-go/gettext/tr.go delete mode 100644 vendor/github.com/exponent-io/jsonpath/.gitignore delete mode 100644 vendor/github.com/exponent-io/jsonpath/.travis.yml delete mode 100644 vendor/github.com/exponent-io/jsonpath/LICENSE delete mode 100644 vendor/github.com/exponent-io/jsonpath/README.md delete mode 100644 vendor/github.com/exponent-io/jsonpath/decoder.go delete mode 100644 vendor/github.com/exponent-io/jsonpath/path.go delete mode 100644 vendor/github.com/exponent-io/jsonpath/pathaction.go delete mode 100644 vendor/github.com/go-errors/errors/.travis.yml delete mode 100644 vendor/github.com/go-errors/errors/LICENSE.MIT delete mode 100644 vendor/github.com/go-errors/errors/README.md delete mode 100644 vendor/github.com/go-errors/errors/cover.out delete mode 100644 vendor/github.com/go-errors/errors/error.go delete mode 100644 vendor/github.com/go-errors/errors/parse_panic.go delete mode 100644 vendor/github.com/go-errors/errors/stackframe.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/decode.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/encode.go delete mode 100644 vendor/github.com/golang/protobuf/jsonpb/json.go delete mode 100644 vendor/github.com/google/btree/.travis.yml delete mode 100644 vendor/github.com/google/btree/LICENSE delete mode 100644 vendor/github.com/google/btree/README.md delete mode 100644 vendor/github.com/google/btree/btree.go delete mode 100644 vendor/github.com/google/shlex/COPYING delete mode 100644 vendor/github.com/google/shlex/README delete mode 100644 vendor/github.com/google/shlex/shlex.go delete mode 100644 vendor/github.com/gregjones/httpcache/.travis.yml delete mode 100644 vendor/github.com/gregjones/httpcache/LICENSE.txt delete mode 100644 vendor/github.com/gregjones/httpcache/README.md delete mode 100644 vendor/github.com/gregjones/httpcache/diskcache/diskcache.go delete mode 100644 vendor/github.com/gregjones/httpcache/httpcache.go delete mode 100644 vendor/github.com/inconshreveable/mousetrap/LICENSE delete mode 100644 vendor/github.com/inconshreveable/mousetrap/README.md delete mode 100644 vendor/github.com/inconshreveable/mousetrap/trap_others.go delete mode 100644 vendor/github.com/inconshreveable/mousetrap/trap_windows.go delete mode 100644 vendor/github.com/inconshreveable/mousetrap/trap_windows_1.4.go delete mode 100644 vendor/github.com/liggitt/tabwriter/.travis.yml delete mode 100644 vendor/github.com/liggitt/tabwriter/LICENSE delete mode 100644 vendor/github.com/liggitt/tabwriter/README.md delete mode 100644 vendor/github.com/liggitt/tabwriter/tabwriter.go delete mode 100644 vendor/github.com/mitchellh/go-wordwrap/LICENSE.md delete mode 100644 vendor/github.com/mitchellh/go-wordwrap/README.md delete mode 100644 vendor/github.com/mitchellh/go-wordwrap/wordwrap.go delete mode 100644 vendor/github.com/moby/spdystream/CONTRIBUTING.md delete mode 100644 vendor/github.com/moby/spdystream/LICENSE delete mode 100644 vendor/github.com/moby/spdystream/MAINTAINERS delete mode 100644 vendor/github.com/moby/spdystream/NOTICE delete mode 100644 vendor/github.com/moby/spdystream/README.md delete mode 100644 vendor/github.com/moby/spdystream/connection.go delete mode 100644 vendor/github.com/moby/spdystream/handlers.go delete mode 100644 vendor/github.com/moby/spdystream/priority.go delete mode 100644 vendor/github.com/moby/spdystream/spdy/dictionary.go delete mode 100644 vendor/github.com/moby/spdystream/spdy/read.go delete mode 100644 vendor/github.com/moby/spdystream/spdy/types.go delete mode 100644 vendor/github.com/moby/spdystream/spdy/write.go delete mode 100644 vendor/github.com/moby/spdystream/stream.go delete mode 100644 vendor/github.com/moby/spdystream/utils.go delete mode 100644 vendor/github.com/moby/term/.gitignore delete mode 100644 vendor/github.com/moby/term/LICENSE delete mode 100644 vendor/github.com/moby/term/README.md delete mode 100644 vendor/github.com/moby/term/ascii.go delete mode 100644 vendor/github.com/moby/term/proxy.go delete mode 100644 vendor/github.com/moby/term/tc.go delete mode 100644 vendor/github.com/moby/term/term.go delete mode 100644 vendor/github.com/moby/term/term_windows.go delete mode 100644 vendor/github.com/moby/term/termios.go delete mode 100644 vendor/github.com/moby/term/termios_bsd.go delete mode 100644 vendor/github.com/moby/term/termios_nonbsd.go delete mode 100644 vendor/github.com/moby/term/windows/ansi_reader.go delete mode 100644 vendor/github.com/moby/term/windows/ansi_writer.go delete mode 100644 vendor/github.com/moby/term/windows/console.go delete mode 100644 vendor/github.com/moby/term/windows/doc.go delete mode 100644 vendor/github.com/moby/term/winsize.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/.travis.yml delete mode 100644 vendor/github.com/monochromegane/go-gitignore/LICENSE delete mode 100644 vendor/github.com/monochromegane/go-gitignore/README.md delete mode 100644 vendor/github.com/monochromegane/go-gitignore/depth_holder.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/full_scan_patterns.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/gitignore.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/index_scan_patterns.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/initial_holder.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/match.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/pattern.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/patterns.go delete mode 100644 vendor/github.com/monochromegane/go-gitignore/util.go delete mode 100644 vendor/github.com/peterbourgon/diskv/LICENSE delete mode 100644 vendor/github.com/peterbourgon/diskv/README.md delete mode 100644 vendor/github.com/peterbourgon/diskv/compression.go delete mode 100644 vendor/github.com/peterbourgon/diskv/diskv.go delete mode 100644 vendor/github.com/peterbourgon/diskv/index.go delete mode 100644 vendor/github.com/pmezard/go-difflib/LICENSE delete mode 100644 vendor/github.com/pmezard/go-difflib/difflib/difflib.go delete mode 100644 vendor/github.com/russross/blackfriday/.gitignore delete mode 100644 vendor/github.com/russross/blackfriday/.travis.yml delete mode 100644 vendor/github.com/russross/blackfriday/LICENSE.txt delete mode 100644 vendor/github.com/russross/blackfriday/README.md delete mode 100644 vendor/github.com/russross/blackfriday/block.go delete mode 100644 vendor/github.com/russross/blackfriday/doc.go delete mode 100644 vendor/github.com/russross/blackfriday/html.go delete mode 100644 vendor/github.com/russross/blackfriday/inline.go delete mode 100644 vendor/github.com/russross/blackfriday/latex.go delete mode 100644 vendor/github.com/russross/blackfriday/markdown.go delete mode 100644 vendor/github.com/russross/blackfriday/smartypants.go delete mode 100644 vendor/github.com/spf13/cobra/.gitignore delete mode 100644 vendor/github.com/spf13/cobra/.golangci.yml delete mode 100644 vendor/github.com/spf13/cobra/.mailmap delete mode 100644 vendor/github.com/spf13/cobra/CHANGELOG.md delete mode 100644 vendor/github.com/spf13/cobra/CONDUCT.md delete mode 100644 vendor/github.com/spf13/cobra/CONTRIBUTING.md delete mode 100644 vendor/github.com/spf13/cobra/LICENSE.txt delete mode 100644 vendor/github.com/spf13/cobra/MAINTAINERS delete mode 100644 vendor/github.com/spf13/cobra/Makefile delete mode 100644 vendor/github.com/spf13/cobra/README.md delete mode 100644 vendor/github.com/spf13/cobra/args.go delete mode 100644 vendor/github.com/spf13/cobra/bash_completions.go delete mode 100644 vendor/github.com/spf13/cobra/bash_completions.md delete mode 100644 vendor/github.com/spf13/cobra/bash_completionsV2.go delete mode 100644 vendor/github.com/spf13/cobra/cobra.go delete mode 100644 vendor/github.com/spf13/cobra/command.go delete mode 100644 vendor/github.com/spf13/cobra/command_notwin.go delete mode 100644 vendor/github.com/spf13/cobra/command_win.go delete mode 100644 vendor/github.com/spf13/cobra/completions.go delete mode 100644 vendor/github.com/spf13/cobra/fish_completions.go delete mode 100644 vendor/github.com/spf13/cobra/fish_completions.md delete mode 100644 vendor/github.com/spf13/cobra/powershell_completions.go delete mode 100644 vendor/github.com/spf13/cobra/powershell_completions.md delete mode 100644 vendor/github.com/spf13/cobra/projects_using_cobra.md delete mode 100644 vendor/github.com/spf13/cobra/shell_completions.go delete mode 100644 vendor/github.com/spf13/cobra/shell_completions.md delete mode 100644 vendor/github.com/spf13/cobra/user_guide.md delete mode 100644 vendor/github.com/spf13/cobra/zsh_completions.go delete mode 100644 vendor/github.com/spf13/cobra/zsh_completions.md delete mode 100644 vendor/github.com/stretchr/testify/LICENSE delete mode 100644 vendor/github.com/stretchr/testify/assert/assertion_compare.go delete mode 100644 vendor/github.com/stretchr/testify/assert/assertion_format.go delete mode 100644 vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl delete mode 100644 vendor/github.com/stretchr/testify/assert/assertion_forward.go delete mode 100644 vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl delete mode 100644 vendor/github.com/stretchr/testify/assert/assertion_order.go delete mode 100644 vendor/github.com/stretchr/testify/assert/assertions.go delete mode 100644 vendor/github.com/stretchr/testify/assert/doc.go delete mode 100644 vendor/github.com/stretchr/testify/assert/errors.go delete mode 100644 vendor/github.com/stretchr/testify/assert/forward_assertions.go delete mode 100644 vendor/github.com/stretchr/testify/assert/http_assertions.go delete mode 100644 vendor/github.com/stretchr/testify/require/doc.go delete mode 100644 vendor/github.com/stretchr/testify/require/forward_requirements.go delete mode 100644 vendor/github.com/stretchr/testify/require/require.go delete mode 100644 vendor/github.com/stretchr/testify/require/require.go.tmpl delete mode 100644 vendor/github.com/stretchr/testify/require/require_forward.go delete mode 100644 vendor/github.com/stretchr/testify/require/require_forward.go.tmpl delete mode 100644 vendor/github.com/stretchr/testify/require/requirements.go delete mode 100644 vendor/github.com/xlab/treeprint/LICENSE delete mode 100644 vendor/github.com/xlab/treeprint/README.md delete mode 100644 vendor/github.com/xlab/treeprint/helpers.go delete mode 100644 vendor/github.com/xlab/treeprint/struct.go delete mode 100644 vendor/github.com/xlab/treeprint/treeprint.go delete mode 100644 vendor/go.starlark.net/LICENSE delete mode 100644 vendor/go.starlark.net/internal/compile/compile.go delete mode 100644 vendor/go.starlark.net/internal/compile/serial.go delete mode 100644 vendor/go.starlark.net/internal/spell/spell.go delete mode 100644 vendor/go.starlark.net/resolve/binding.go delete mode 100644 vendor/go.starlark.net/resolve/resolve.go delete mode 100644 vendor/go.starlark.net/starlark/debug.go delete mode 100644 vendor/go.starlark.net/starlark/empty.s delete mode 100644 vendor/go.starlark.net/starlark/eval.go delete mode 100644 vendor/go.starlark.net/starlark/hashtable.go delete mode 100644 vendor/go.starlark.net/starlark/int.go delete mode 100644 vendor/go.starlark.net/starlark/interp.go delete mode 100644 vendor/go.starlark.net/starlark/library.go delete mode 100644 vendor/go.starlark.net/starlark/profile.go delete mode 100644 vendor/go.starlark.net/starlark/unpack.go delete mode 100644 vendor/go.starlark.net/starlark/value.go delete mode 100644 vendor/go.starlark.net/starlarkstruct/module.go delete mode 100644 vendor/go.starlark.net/starlarkstruct/struct.go delete mode 100644 vendor/go.starlark.net/syntax/grammar.txt delete mode 100644 vendor/go.starlark.net/syntax/parse.go delete mode 100644 vendor/go.starlark.net/syntax/quote.go delete mode 100644 vendor/go.starlark.net/syntax/scan.go delete mode 100644 vendor/go.starlark.net/syntax/syntax.go delete mode 100644 vendor/go.starlark.net/syntax/walk.go delete mode 100644 vendor/golang.org/x/net/internal/socks/client.go delete mode 100644 vendor/golang.org/x/net/internal/socks/socks.go delete mode 100644 vendor/golang.org/x/net/internal/timeseries/timeseries.go delete mode 100644 vendor/golang.org/x/net/proxy/dial.go delete mode 100644 vendor/golang.org/x/net/proxy/direct.go delete mode 100644 vendor/golang.org/x/net/proxy/per_host.go delete mode 100644 vendor/golang.org/x/net/proxy/proxy.go delete mode 100644 vendor/golang.org/x/net/proxy/socks5.go delete mode 100644 vendor/golang.org/x/net/trace/events.go delete mode 100644 vendor/golang.org/x/net/trace/histogram.go delete mode 100644 vendor/golang.org/x/net/trace/trace.go delete mode 100644 vendor/google.golang.org/genproto/LICENSE delete mode 100644 vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go delete mode 100644 vendor/google.golang.org/grpc/AUTHORS delete mode 100644 vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md delete mode 100644 vendor/google.golang.org/grpc/CONTRIBUTING.md delete mode 100644 vendor/google.golang.org/grpc/GOVERNANCE.md delete mode 100644 vendor/google.golang.org/grpc/LICENSE delete mode 100644 vendor/google.golang.org/grpc/MAINTAINERS.md delete mode 100644 vendor/google.golang.org/grpc/Makefile delete mode 100644 vendor/google.golang.org/grpc/NOTICE.txt delete mode 100644 vendor/google.golang.org/grpc/README.md delete mode 100644 vendor/google.golang.org/grpc/SECURITY.md delete mode 100644 vendor/google.golang.org/grpc/attributes/attributes.go delete mode 100644 vendor/google.golang.org/grpc/backoff.go delete mode 100644 vendor/google.golang.org/grpc/backoff/backoff.go delete mode 100644 vendor/google.golang.org/grpc/balancer/balancer.go delete mode 100644 vendor/google.golang.org/grpc/balancer/base/balancer.go delete mode 100644 vendor/google.golang.org/grpc/balancer/base/base.go delete mode 100644 vendor/google.golang.org/grpc/balancer/conn_state_evaluator.go delete mode 100644 vendor/google.golang.org/grpc/balancer/grpclb/state/state.go delete mode 100644 vendor/google.golang.org/grpc/balancer/roundrobin/roundrobin.go delete mode 100644 vendor/google.golang.org/grpc/balancer_conn_wrappers.go delete mode 100644 vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go delete mode 100644 vendor/google.golang.org/grpc/call.go delete mode 100644 vendor/google.golang.org/grpc/channelz/channelz.go delete mode 100644 vendor/google.golang.org/grpc/clientconn.go delete mode 100644 vendor/google.golang.org/grpc/codec.go delete mode 100644 vendor/google.golang.org/grpc/codegen.sh delete mode 100644 vendor/google.golang.org/grpc/codes/code_string.go delete mode 100644 vendor/google.golang.org/grpc/codes/codes.go delete mode 100644 vendor/google.golang.org/grpc/connectivity/connectivity.go delete mode 100644 vendor/google.golang.org/grpc/credentials/credentials.go delete mode 100644 vendor/google.golang.org/grpc/credentials/insecure/insecure.go delete mode 100644 vendor/google.golang.org/grpc/credentials/tls.go delete mode 100644 vendor/google.golang.org/grpc/dialoptions.go delete mode 100644 vendor/google.golang.org/grpc/doc.go delete mode 100644 vendor/google.golang.org/grpc/encoding/encoding.go delete mode 100644 vendor/google.golang.org/grpc/encoding/proto/proto.go delete mode 100644 vendor/google.golang.org/grpc/grpclog/component.go delete mode 100644 vendor/google.golang.org/grpc/grpclog/grpclog.go delete mode 100644 vendor/google.golang.org/grpc/grpclog/logger.go delete mode 100644 vendor/google.golang.org/grpc/grpclog/loggerv2.go delete mode 100644 vendor/google.golang.org/grpc/interceptor.go delete mode 100644 vendor/google.golang.org/grpc/internal/backoff/backoff.go delete mode 100644 vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go delete mode 100644 vendor/google.golang.org/grpc/internal/balancerload/load.go delete mode 100644 vendor/google.golang.org/grpc/internal/binarylog/binarylog.go delete mode 100644 vendor/google.golang.org/grpc/internal/binarylog/binarylog_testutil.go delete mode 100644 vendor/google.golang.org/grpc/internal/binarylog/env_config.go delete mode 100644 vendor/google.golang.org/grpc/internal/binarylog/method_logger.go delete mode 100644 vendor/google.golang.org/grpc/internal/binarylog/sink.go delete mode 100644 vendor/google.golang.org/grpc/internal/buffer/unbounded.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/funcs.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/id.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/logging.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/types.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/types_linux.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/util_linux.go delete mode 100644 vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go delete mode 100644 vendor/google.golang.org/grpc/internal/credentials/credentials.go delete mode 100644 vendor/google.golang.org/grpc/internal/credentials/spiffe.go delete mode 100644 vendor/google.golang.org/grpc/internal/credentials/syscallconn.go delete mode 100644 vendor/google.golang.org/grpc/internal/credentials/util.go delete mode 100644 vendor/google.golang.org/grpc/internal/envconfig/envconfig.go delete mode 100644 vendor/google.golang.org/grpc/internal/envconfig/xds.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpclog/grpclog.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpclog/prefixLogger.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcsync/event.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcutil/encode_duration.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcutil/grpcutil.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcutil/metadata.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcutil/method.go delete mode 100644 vendor/google.golang.org/grpc/internal/grpcutil/regex.go delete mode 100644 vendor/google.golang.org/grpc/internal/internal.go delete mode 100644 vendor/google.golang.org/grpc/internal/metadata/metadata.go delete mode 100644 vendor/google.golang.org/grpc/internal/pretty/pretty.go delete mode 100644 vendor/google.golang.org/grpc/internal/resolver/config_selector.go delete mode 100644 vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go delete mode 100644 vendor/google.golang.org/grpc/internal/resolver/passthrough/passthrough.go delete mode 100644 vendor/google.golang.org/grpc/internal/resolver/unix/unix.go delete mode 100644 vendor/google.golang.org/grpc/internal/serviceconfig/serviceconfig.go delete mode 100644 vendor/google.golang.org/grpc/internal/status/status.go delete mode 100644 vendor/google.golang.org/grpc/internal/syscall/syscall_linux.go delete mode 100644 vendor/google.golang.org/grpc/internal/syscall/syscall_nonlinux.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/bdp_estimator.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/controlbuf.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/defaults.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/flowcontrol.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/handler_server.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/http2_client.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/http2_server.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/http_util.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/networktype/networktype.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/proxy.go delete mode 100644 vendor/google.golang.org/grpc/internal/transport/transport.go delete mode 100644 vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go delete mode 100644 vendor/google.golang.org/grpc/keepalive/keepalive.go delete mode 100644 vendor/google.golang.org/grpc/metadata/metadata.go delete mode 100644 vendor/google.golang.org/grpc/peer/peer.go delete mode 100644 vendor/google.golang.org/grpc/picker_wrapper.go delete mode 100644 vendor/google.golang.org/grpc/pickfirst.go delete mode 100644 vendor/google.golang.org/grpc/preloader.go delete mode 100644 vendor/google.golang.org/grpc/regenerate.sh delete mode 100644 vendor/google.golang.org/grpc/resolver/map.go delete mode 100644 vendor/google.golang.org/grpc/resolver/resolver.go delete mode 100644 vendor/google.golang.org/grpc/resolver_conn_wrapper.go delete mode 100644 vendor/google.golang.org/grpc/rpc_util.go delete mode 100644 vendor/google.golang.org/grpc/server.go delete mode 100644 vendor/google.golang.org/grpc/service_config.go delete mode 100644 vendor/google.golang.org/grpc/serviceconfig/serviceconfig.go delete mode 100644 vendor/google.golang.org/grpc/stats/handlers.go delete mode 100644 vendor/google.golang.org/grpc/stats/stats.go delete mode 100644 vendor/google.golang.org/grpc/status/status.go delete mode 100644 vendor/google.golang.org/grpc/stream.go delete mode 100644 vendor/google.golang.org/grpc/tap/tap.go delete mode 100644 vendor/google.golang.org/grpc/trace.go delete mode 100644 vendor/google.golang.org/grpc/version.go delete mode 100644 vendor/google.golang.org/grpc/vet.sh delete mode 100644 vendor/google.golang.org/protobuf/encoding/protojson/decode.go delete mode 100644 vendor/google.golang.org/protobuf/encoding/protojson/doc.go delete mode 100644 vendor/google.golang.org/protobuf/encoding/protojson/encode.go delete mode 100644 vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go delete mode 100644 vendor/google.golang.org/protobuf/internal/encoding/json/decode.go delete mode 100644 vendor/google.golang.org/protobuf/internal/encoding/json/decode_number.go delete mode 100644 vendor/google.golang.org/protobuf/internal/encoding/json/decode_string.go delete mode 100644 vendor/google.golang.org/protobuf/internal/encoding/json/decode_token.go delete mode 100644 vendor/google.golang.org/protobuf/internal/encoding/json/encode.go delete mode 100644 vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/doc.go delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/generated.pb.go delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/register.go delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/types.go delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go delete mode 100644 vendor/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme/scheme.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/duration/duration.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/httpstream/doc.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go delete mode 100644 vendor/k8s.io/apimachinery/pkg/util/remotecommand/constants.go delete mode 100644 vendor/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go delete mode 100644 vendor/k8s.io/cli-runtime/LICENSE delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/client_config.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/command_headers.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/doc.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/io_options.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/name_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/print_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/discard.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/doc.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/interface.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/json.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/jsonpath.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/managedfields.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/name.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/sourcechecker.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/tableprinter.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/tabwriter.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/template.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/typesetter.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/printers/yaml.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/builder.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/client.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/crd_finder.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/doc.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/fake.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/helper.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/interfaces.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/kustomizevisitor.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/mapper.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/metadata_decoder.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/result.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/scheme.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/selector.go delete mode 100644 vendor/k8s.io/cli-runtime/pkg/resource/visitor.go delete mode 100644 vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go delete mode 100644 vendor/k8s.io/client-go/discovery/cached/disk/round_tripper.go delete mode 100644 vendor/k8s.io/client-go/openapi/cached/client.go delete mode 100644 vendor/k8s.io/client-go/openapi/cached/groupversion.go delete mode 100644 vendor/k8s.io/client-go/scale/client.go delete mode 100644 vendor/k8s.io/client-go/scale/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/interfaces.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsint/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsint/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta1/conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta1/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta1/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta1/zz_generated.conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta2/conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta2/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta2/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/appsv1beta2/zz_generated.conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/autoscalingv1/conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/autoscalingv1/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/autoscalingv1/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/autoscalingv1/zz_generated.conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/extensionsint/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/extensionsint/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/doc.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/zz_generated.conversion.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/register.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/types.go delete mode 100644 vendor/k8s.io/client-go/scale/scheme/zz_generated.deepcopy.go delete mode 100644 vendor/k8s.io/client-go/scale/util.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/doc.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/errorstream.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/reader.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/remotecommand.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/resize.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/v1.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/v2.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/v3.go delete mode 100644 vendor/k8s.io/client-go/tools/remotecommand/v4.go delete mode 100644 vendor/k8s.io/client-go/transport/spdy/spdy.go delete mode 100644 vendor/k8s.io/client-go/util/exec/exec.go delete mode 100644 vendor/k8s.io/component-base/version/OWNERS delete mode 100644 vendor/k8s.io/component-base/version/base.go delete mode 100644 vendor/k8s.io/component-base/version/version.go delete mode 100644 vendor/k8s.io/kube-openapi/pkg/util/proto/validation/errors.go delete mode 100644 vendor/k8s.io/kube-openapi/pkg/util/proto/validation/types.go delete mode 100644 vendor/k8s.io/kube-openapi/pkg/util/proto/validation/validation.go delete mode 100644 vendor/k8s.io/kubectl/LICENSE delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/env_file.go delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/factory.go delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/factory_client_access.go delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/helpers.go delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/kubectl_match_version.go delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/override_options.go delete mode 100644 vendor/k8s.io/kubectl/pkg/cmd/util/printing.go delete mode 100644 vendor/k8s.io/kubectl/pkg/drain/cordon.go delete mode 100644 vendor/k8s.io/kubectl/pkg/drain/default.go delete mode 100644 vendor/k8s.io/kubectl/pkg/drain/drain.go delete mode 100644 vendor/k8s.io/kubectl/pkg/drain/filters.go delete mode 100644 vendor/k8s.io/kubectl/pkg/scheme/install.go delete mode 100644 vendor/k8s.io/kubectl/pkg/scheme/scheme.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/i18n.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/OWNERS delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/README.md delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/OWNERS delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/default/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/default/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/fr_FR/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/fr_FR/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ko_KR/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ko_KR/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/template.pot delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/default/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/default/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.mo delete mode 100644 vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.po delete mode 100644 vendor/k8s.io/kubectl/pkg/util/interrupt/interrupt.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/openapi/OWNERS delete mode 100644 vendor/k8s.io/kubectl/pkg/util/openapi/doc.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/openapi/extensions.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/openapi/openapi.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/openapi/openapi_getter.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/openapi/validation/validation.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/templates/command_groups.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/templates/help_flags_printer.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/templates/markdown.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/templates/normalizers.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/templates/templater.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/templates/templates.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/term/resize.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/term/resizeevents.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/term/resizeevents_windows.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/term/term.go delete mode 100644 vendor/k8s.io/kubectl/pkg/util/term/term_writer.go delete mode 100644 vendor/k8s.io/kubectl/pkg/validation/schema.go delete mode 100644 vendor/k8s.io/utils/exec/README.md delete mode 100644 vendor/k8s.io/utils/exec/doc.go delete mode 100644 vendor/k8s.io/utils/exec/exec.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/LICENSE delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/annotations/annotations.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/annotations/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/fieldspec.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/filtersutil/setters.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/fsslice/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/fsslice/fsslice.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/iampolicygenerator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/imagetag/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/imagetag/imagetag.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/imagetag/legacy.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/imagetag/updater.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/labels/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/labels/labels.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/nameref/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/nameref/nameref.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/nameref/seqfilter.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/namespace/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/namespace/namespace.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/patchjson6902.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/patchstrategicmerge.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/prefix/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/prefix/prefix.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/refvar/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/refvar/expand.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/refvar/refvar.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/replacement/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/replacement/replacement.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/replicacount/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/replicacount/replicacount.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/suffix/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/suffix/suffix.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/filters/valueadd/valueadd.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/hasher/hasher.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/ifc/ifc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/image/image.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/accumulator/loadconfigfromcrds.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/accumulator/namereferencetransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/accumulator/refvartransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/accumulator/resaccumulator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/AnnotationsTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/ConfigMapGenerator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/HashTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/HelmChartInflationGenerator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/IAMPolicyGenerator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/ImageTagTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/LabelTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/LegacyOrderTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/NamespaceTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchJson6902Transformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchStrategicMergeTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/PrefixTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplacementTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplicaCountTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/SecretGenerator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/SuffixTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/ValueAddTransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/builtins/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/generators/configmap.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/generators/secret.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/generators/utils.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/git/cloner.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/git/gitrunner.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/git/repospec.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/kusterr/yamlformaterror.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/loaddefaultconfig.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/namebackreferences.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/transformerconfig.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtinplugintype_string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtins.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/execplugin/execplugin.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/fnplugin/fnplugin.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/loader/loader.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/plugins/utils/utils.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/target/errmissingkustomization.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget_configplugin.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/target/multitransformer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/utils/annotations.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/utils/errtimeout.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/utils/makeResIds.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/utils/pathsplitter.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/utils/stringslice.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/utils/timedcall.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/internal/validate/fieldvalidator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonannotations.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonlabels.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/defaultconfig.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/images.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/nameprefix.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namereference.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namespace.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namesuffix.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/replicas.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/varreference.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/general.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/konfig/plugins.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/krusty/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/krusty/kustomizer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/krusty/options.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/kv/kv.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/loader/errors.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/loader/fileloader.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/loader/loader.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/loader/loadrestrictions.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/provenance/provenance.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/provider/depprovider.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resmap/factory.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resmap/idslice.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resmap/resmap.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resmap/reswrangler.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resource/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resource/factory.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resource/idset.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resource/origin.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/resource/resource.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/builtinpluginloadingoptions_string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/configmapargs.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/erronlybuiltinpluginsallowed.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/errunabletofind.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/fieldspec.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/fix.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/generationbehavior.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/generatorargs.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/generatoroptions.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/helmchartargs.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/iampolicygenerator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/image.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/inventory.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/kustomization.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/kvpairsources.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/labels.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions_string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/objectmeta.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/pair.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/patch.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/patchstrategicmerge.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/pluginconfig.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions_string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/replacement.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/replacementfield.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/replica.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/secretargs.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/selector.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/typemeta.go delete mode 100644 vendor/sigs.k8s.io/kustomize/api/types/var.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/LICENSE delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/LICENSE_TEMPLATE delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/comments/comments.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/errors/errors.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/ext/ext.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fieldmeta/fieldmeta.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/confirmeddir.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/file.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileinfo.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileondisk.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/filesystem.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsnode.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsondisk.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/filesys/util.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/container/container.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/exec.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/functiontypes.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/runtimeutil.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/types.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/context.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/starlark.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/LICENSE delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/NOTICE delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/README.md delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/apic.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/decode.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/emitterc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/encode.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/parserc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/readerc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/resolve.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/scannerc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/sorter.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/writerc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yaml.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlh.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlprivateh.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/LICENSE delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/util.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_reader.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_writer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/filters.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/fmtr.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/grep.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/local.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge3.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/modify.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/stripcomments.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/ignorefilesmatcher.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/kio.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/kioutil/kioutil.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_reader.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_writer.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/testing.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/kio/tree.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/Makefile delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/README.md delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/openapiinfo.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.json delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.json delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/openapi/openapi.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/order/syncorder.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/resid/gvk.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/resid/resid.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/runfn/runfn.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/sets/string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/sets/stringlist.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/sliceutil/slice.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/alias.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/compatibility.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/const.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/datamap.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/doc.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/filters.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/fns.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/copied.deepcopy.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/labels.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/selector.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection/operator.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors/errors.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/empty.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/errors.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/path.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/validation.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/kfns.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/mapnode.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/match.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/merge2.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective_string.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/merge3.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/visitor.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/order.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/rnode.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/schema/schema.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/types.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/util.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/associative_sequence.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/map.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/nonassociative_sequence.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/scalar.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/visitor.go delete mode 100644 vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/walk.go diff --git a/Makefile b/Makefile index e3858fa7..2b62814d 100644 --- a/Makefile +++ b/Makefile @@ -48,21 +48,13 @@ GO_BUILD_CGO = CGO_ENABLED=1 \ RUSTFLAGS := RUSTFLAGS="-C relocation_model=pic -D warnings -W unsafe_code -W rust_2021_incompatible_closure_captures -C link-arg=-s" -all: proxy operator agent hostshell rust-kubeos +all: operator hostshell rust-kubeos # Build binary -proxy: - ${GO_BUILD_CGO} ${LD_FLAGS} -o bin/proxy cmd/proxy/main.go - strip bin/proxy - operator: ${GO_BUILD_CGO} ${LD_FLAGS} -o bin/operator cmd/operator/main.go strip bin/operator -agent: - ${GO_BUILD_CGO} ${LD_FLAGS} -o bin/os-agent cmd/agent/main.go - strip bin/os-agent - hostshell: ${GO_BUILD_CGO} ${LD_FLAGS} -o bin/hostshell cmd/admin-container/main.go strip bin/hostshell @@ -70,13 +62,13 @@ hostshell: rust-kubeos: ${RUSTFLAGS} cargo build --profile release --target-dir ./bin/rust -rust-proxy: +proxy: ${RUSTFLAGS} cargo build --profile release --target-dir ./bin/rust --package proxy -rust-agent: +agent: ${RUSTFLAGS} cargo build --profile release --target-dir ./bin/rust --package os-agent -rust-kbimg: +kbimg: ${RUSTFLAGS} cargo build --profile release --target-dir ./bin/rust --package kbimg # clean binary @@ -151,7 +143,7 @@ kustomize: $(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v3@v3.8.7) ARCH := $(shell uname -m) -TEST_CMD := go test `go list ./cmd/... | grep -E 'server|controllers'` -race -count=1 -timeout=300s -cover -gcflags=all=-l -p 1 +TEST_CMD := go test `go list ./cmd/... | grep -E 'controllers'` -race -count=1 -timeout=300s -cover -gcflags=all=-l -p 1 ifeq ($(ARCH), aarch64) TEST_CMD := ETCD_UNSUPPORTED_ARCH=arm64 $(TEST_CMD) diff --git a/cmd/agent/Makefile b/cmd/agent/Makefile deleted file mode 100644 index 15588b29..00000000 --- a/cmd/agent/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - # KubeOS is licensed under the Mulan PSL v2. - # You can use this software according to the terms and conditions of the Mulan PSL v2. - # You may obtain a copy of Mulan PSL v2 at: - # http://license.coscl.org.cn/MulanPSL2 - # THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - # IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - # PURPOSE. -## See the Mulan PSL v2 for more details. - -grpc: - protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative api/agent.proto -cover: - go test -v ./... -coverprofile=cover.out - go tool cover -html=cover.out -o cover.html diff --git a/cmd/agent/api/agent.pb.go b/cmd/agent/api/agent.pb.go deleted file mode 100644 index bd6e829f..00000000 --- a/cmd/agent/api/agent.pb.go +++ /dev/null @@ -1,800 +0,0 @@ -// -// Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. -// KubeOS is licensed under the Mulan PSL v2. -// You can use this software according to the terms and conditions of the Mulan PSL v2. -// You may obtain a copy of Mulan PSL v2 at: -// http://license.coscl.org.cn/MulanPSL2 -// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR -// PURPOSE. -// See the Mulan PSL v2 for more details. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.19.3 -// source: api/agent.proto - -package agent - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type UpdateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` - CheckSum string `protobuf:"bytes,3,opt,name=check_sum,json=checkSum,proto3" json:"check_sum,omitempty"` - FlagSafe bool `protobuf:"varint,4,opt,name=flagSafe,proto3" json:"flagSafe,omitempty"` - MTLS bool `protobuf:"varint,5,opt,name=mTLS,proto3" json:"mTLS,omitempty"` - ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` - ContainerImage string `protobuf:"bytes,7,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"` - Certs *CertsInfo `protobuf:"bytes,8,opt,name=certs,proto3" json:"certs,omitempty"` -} - -func (x *UpdateRequest) Reset() { - *x = UpdateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRequest) ProtoMessage() {} - -func (x *UpdateRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. -func (*UpdateRequest) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{0} -} - -func (x *UpdateRequest) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *UpdateRequest) GetImageUrl() string { - if x != nil { - return x.ImageUrl - } - return "" -} - -func (x *UpdateRequest) GetCheckSum() string { - if x != nil { - return x.CheckSum - } - return "" -} - -func (x *UpdateRequest) GetFlagSafe() bool { - if x != nil { - return x.FlagSafe - } - return false -} - -func (x *UpdateRequest) GetMTLS() bool { - if x != nil { - return x.MTLS - } - return false -} - -func (x *UpdateRequest) GetImageType() string { - if x != nil { - return x.ImageType - } - return "" -} - -func (x *UpdateRequest) GetContainerImage() string { - if x != nil { - return x.ContainerImage - } - return "" -} - -func (x *UpdateRequest) GetCerts() *CertsInfo { - if x != nil { - return x.Certs - } - return nil -} - -type CertsInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CaCaert string `protobuf:"bytes,1,opt,name=ca_caert,json=caCaert,proto3" json:"ca_caert,omitempty"` - ClientCert string `protobuf:"bytes,2,opt,name=client_cert,json=clientCert,proto3" json:"client_cert,omitempty"` - ClientKey string `protobuf:"bytes,3,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` -} - -func (x *CertsInfo) Reset() { - *x = CertsInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CertsInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CertsInfo) ProtoMessage() {} - -func (x *CertsInfo) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CertsInfo.ProtoReflect.Descriptor instead. -func (*CertsInfo) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{1} -} - -func (x *CertsInfo) GetCaCaert() string { - if x != nil { - return x.CaCaert - } - return "" -} - -func (x *CertsInfo) GetClientCert() string { - if x != nil { - return x.ClientCert - } - return "" -} - -func (x *CertsInfo) GetClientKey() string { - if x != nil { - return x.ClientKey - } - return "" -} - -type UpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Err int32 `protobuf:"varint,1,opt,name=err,proto3" json:"err,omitempty"` -} - -func (x *UpdateResponse) Reset() { - *x = UpdateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateResponse) ProtoMessage() {} - -func (x *UpdateResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead. -func (*UpdateResponse) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{2} -} - -func (x *UpdateResponse) GetErr() int32 { - if x != nil { - return x.Err - } - return 0 -} - -type RollbackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RollbackRequest) Reset() { - *x = RollbackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RollbackRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RollbackRequest) ProtoMessage() {} - -func (x *RollbackRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead. -func (*RollbackRequest) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{3} -} - -type RollbackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Err int32 `protobuf:"varint,1,opt,name=err,proto3" json:"err,omitempty"` -} - -func (x *RollbackResponse) Reset() { - *x = RollbackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RollbackResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RollbackResponse) ProtoMessage() {} - -func (x *RollbackResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead. -func (*RollbackResponse) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{4} -} - -func (x *RollbackResponse) GetErr() int32 { - if x != nil { - return x.Err - } - return 0 -} - -type ConfigureRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Configs []*SysConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` -} - -func (x *ConfigureRequest) Reset() { - *x = ConfigureRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConfigureRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigureRequest) ProtoMessage() {} - -func (x *ConfigureRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead. -func (*ConfigureRequest) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{5} -} - -func (x *ConfigureRequest) GetConfigs() []*SysConfig { - if x != nil { - return x.Configs - } - return nil -} - -type ConfigureResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Err int32 `protobuf:"varint,1,opt,name=err,proto3" json:"err,omitempty"` -} - -func (x *ConfigureResponse) Reset() { - *x = ConfigureResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConfigureResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigureResponse) ProtoMessage() {} - -func (x *ConfigureResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead. -func (*ConfigureResponse) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{6} -} - -func (x *ConfigureResponse) GetErr() int32 { - if x != nil { - return x.Err - } - return 0 -} - -type SysConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` - ConfigPath string `protobuf:"bytes,2,opt,name=configPath,proto3" json:"configPath,omitempty"` - Contents map[string]*KeyInfo `protobuf:"bytes,3,rep,name=contents,proto3" json:"contents,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *SysConfig) Reset() { - *x = SysConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SysConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SysConfig) ProtoMessage() {} - -func (x *SysConfig) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SysConfig.ProtoReflect.Descriptor instead. -func (*SysConfig) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{7} -} - -func (x *SysConfig) GetModel() string { - if x != nil { - return x.Model - } - return "" -} - -func (x *SysConfig) GetConfigPath() string { - if x != nil { - return x.ConfigPath - } - return "" -} - -func (x *SysConfig) GetContents() map[string]*KeyInfo { - if x != nil { - return x.Contents - } - return nil -} - -type KeyInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value *structpb.Struct `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` -} - -func (x *KeyInfo) Reset() { - *x = KeyInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_api_agent_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyInfo) ProtoMessage() {} - -func (x *KeyInfo) ProtoReflect() protoreflect.Message { - mi := &file_api_agent_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeyInfo.ProtoReflect.Descriptor instead. -func (*KeyInfo) Descriptor() ([]byte, []int) { - return file_api_agent_proto_rawDescGZIP(), []int{8} -} - -func (x *KeyInfo) GetValue() *structpb.Struct { - if x != nil { - return x.Value - } - return nil -} - -func (x *KeyInfo) GetOperation() string { - if x != nil { - return x.Operation - } - return "" -} - -var File_api_agent_proto protoreflect.FileDescriptor - -var file_api_agent_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x12, - 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, - 0x66, 0x6c, 0x61, 0x67, 0x53, 0x61, 0x66, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x66, 0x6c, 0x61, 0x67, 0x53, 0x61, 0x66, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x54, 0x4c, 0x53, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6d, 0x54, 0x4c, 0x53, 0x12, 0x1d, 0x0a, 0x0a, - 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, - 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x63, 0x65, 0x72, 0x74, 0x73, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x65, 0x72, 0x74, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x63, 0x65, 0x72, 0x74, 0x73, 0x22, 0x66, 0x0a, 0x09, - 0x43, 0x65, 0x72, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x61, 0x5f, - 0x63, 0x61, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x43, - 0x61, 0x65, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, - 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x43, 0x65, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, - 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x4b, 0x65, 0x79, 0x22, 0x22, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, - 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x24, 0x0a, 0x10, 0x52, - 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x72, - 0x72, 0x22, 0x3e, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, - 0x79, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x73, 0x22, 0x25, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x72, 0x72, 0x22, 0xca, 0x01, 0x0a, 0x09, 0x53, 0x79, 0x73, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x3a, 0x0a, 0x08, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x79, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x4b, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x67, 0x65, - 0x6e, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x56, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xbe, 0x01, - 0x0a, 0x02, 0x4f, 0x53, 0x12, 0x37, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, - 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, - 0x08, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x61, 0x67, 0x65, 0x6e, - 0x74, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, - 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x09, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x17, 0x2e, 0x61, 0x67, 0x65, 0x6e, - 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x20, - 0x5a, 0x1e, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x6f, 0x72, 0x67, 0x2f, - 0x6b, 0x75, 0x62, 0x65, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_api_agent_proto_rawDescOnce sync.Once - file_api_agent_proto_rawDescData = file_api_agent_proto_rawDesc -) - -func file_api_agent_proto_rawDescGZIP() []byte { - file_api_agent_proto_rawDescOnce.Do(func() { - file_api_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_agent_proto_rawDescData) - }) - return file_api_agent_proto_rawDescData -} - -var file_api_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_api_agent_proto_goTypes = []interface{}{ - (*UpdateRequest)(nil), // 0: agent.UpdateRequest - (*CertsInfo)(nil), // 1: agent.CertsInfo - (*UpdateResponse)(nil), // 2: agent.UpdateResponse - (*RollbackRequest)(nil), // 3: agent.RollbackRequest - (*RollbackResponse)(nil), // 4: agent.RollbackResponse - (*ConfigureRequest)(nil), // 5: agent.ConfigureRequest - (*ConfigureResponse)(nil), // 6: agent.ConfigureResponse - (*SysConfig)(nil), // 7: agent.SysConfig - (*KeyInfo)(nil), // 8: agent.KeyInfo - nil, // 9: agent.SysConfig.ContentsEntry - (*structpb.Struct)(nil), // 10: google.protobuf.Struct -} -var file_api_agent_proto_depIdxs = []int32{ - 1, // 0: agent.UpdateRequest.certs:type_name -> agent.CertsInfo - 7, // 1: agent.ConfigureRequest.configs:type_name -> agent.SysConfig - 9, // 2: agent.SysConfig.contents:type_name -> agent.SysConfig.ContentsEntry - 10, // 3: agent.KeyInfo.value:type_name -> google.protobuf.Struct - 8, // 4: agent.SysConfig.ContentsEntry.value:type_name -> agent.KeyInfo - 0, // 5: agent.OS.Update:input_type -> agent.UpdateRequest - 3, // 6: agent.OS.Rollback:input_type -> agent.RollbackRequest - 5, // 7: agent.OS.Configure:input_type -> agent.ConfigureRequest - 2, // 8: agent.OS.Update:output_type -> agent.UpdateResponse - 4, // 9: agent.OS.Rollback:output_type -> agent.RollbackResponse - 6, // 10: agent.OS.Configure:output_type -> agent.ConfigureResponse - 8, // [8:11] is the sub-list for method output_type - 5, // [5:8] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name -} - -func init() { file_api_agent_proto_init() } -func file_api_agent_proto_init() { - if File_api_agent_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_api_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertsInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RollbackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RollbackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SysConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_api_agent_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_api_agent_proto_goTypes, - DependencyIndexes: file_api_agent_proto_depIdxs, - MessageInfos: file_api_agent_proto_msgTypes, - }.Build() - File_api_agent_proto = out.File - file_api_agent_proto_rawDesc = nil - file_api_agent_proto_goTypes = nil - file_api_agent_proto_depIdxs = nil -} diff --git a/cmd/agent/api/agent.proto b/cmd/agent/api/agent.proto deleted file mode 100644 index 04c3f76f..00000000 --- a/cmd/agent/api/agent.proto +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -syntax = "proto3"; - -option go_package = "openeuler.org/kubeos/api/agent"; - -package agent; - -import "google/protobuf/struct.proto"; - -service OS { - rpc Update(UpdateRequest) returns (UpdateResponse) {} - rpc Rollback(RollbackRequest) returns (RollbackResponse) {} - rpc Configure(ConfigureRequest) returns (ConfigureResponse) {} -} - -message UpdateRequest { - string version = 1; - string image_url = 2; - string check_sum = 3; - bool flagSafe = 4; - bool mTLS = 5; - string image_type = 6; - string container_image = 7; - CertsInfo certs = 8; -} - -message CertsInfo { - string ca_caert = 1; - string client_cert = 2; - string client_key = 3; -} - -message UpdateResponse { - int32 err = 1; -} - -message RollbackRequest {} - -message RollbackResponse { - int32 err = 1; -} - -message ConfigureRequest { - repeated SysConfig configs = 1; -} - -message ConfigureResponse { - int32 err = 1; -} - -message SysConfig { - string model = 1; - string configPath = 2; - map contents = 3; -} - -message KeyInfo { - google.protobuf.Struct value = 1; - string operation = 2; -} \ No newline at end of file diff --git a/cmd/agent/api/agent_grpc.pb.go b/cmd/agent/api/agent_grpc.pb.go deleted file mode 100644 index ad60d94b..00000000 --- a/cmd/agent/api/agent_grpc.pb.go +++ /dev/null @@ -1,188 +0,0 @@ -// -// Copyright (c) Huawei Technologies Co., Ltd. 2023. All rights reserved. -// KubeOS is licensed under the Mulan PSL v2. -// You can use this software according to the terms and conditions of the Mulan PSL v2. -// You may obtain a copy of Mulan PSL v2 at: -// http://license.coscl.org.cn/MulanPSL2 -// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR -// PURPOSE. -// See the Mulan PSL v2 for more details. - -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.3 -// source: api/agent.proto - -package agent - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// OSClient is the client API for OS service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type OSClient interface { - Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) - Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) - Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error) -} - -type oSClient struct { - cc grpc.ClientConnInterface -} - -func NewOSClient(cc grpc.ClientConnInterface) OSClient { - return &oSClient{cc} -} - -func (c *oSClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) { - out := new(UpdateResponse) - err := c.cc.Invoke(ctx, "/agent.OS/Update", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *oSClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) { - out := new(RollbackResponse) - err := c.cc.Invoke(ctx, "/agent.OS/Rollback", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *oSClient) Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error) { - out := new(ConfigureResponse) - err := c.cc.Invoke(ctx, "/agent.OS/Configure", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OSServer is the server API for OS service. -// All implementations must embed UnimplementedOSServer -// for forward compatibility -type OSServer interface { - Update(context.Context, *UpdateRequest) (*UpdateResponse, error) - Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) - Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error) - mustEmbedUnimplementedOSServer() -} - -// UnimplementedOSServer must be embedded to have forward compatible implementations. -type UnimplementedOSServer struct { -} - -func (UnimplementedOSServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") -} -func (UnimplementedOSServer) Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") -} -func (UnimplementedOSServer) Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Configure not implemented") -} -func (UnimplementedOSServer) mustEmbedUnimplementedOSServer() {} - -// UnsafeOSServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to OSServer will -// result in compilation errors. -type UnsafeOSServer interface { - mustEmbedUnimplementedOSServer() -} - -func RegisterOSServer(s grpc.ServiceRegistrar, srv OSServer) { - s.RegisterService(&OS_ServiceDesc, srv) -} - -func _OS_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OSServer).Update(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/agent.OS/Update", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OSServer).Update(ctx, req.(*UpdateRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OS_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RollbackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OSServer).Rollback(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/agent.OS/Rollback", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OSServer).Rollback(ctx, req.(*RollbackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OS_Configure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ConfigureRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OSServer).Configure(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/agent.OS/Configure", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OSServer).Configure(ctx, req.(*ConfigureRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// OS_ServiceDesc is the grpc.ServiceDesc for OS service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var OS_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "agent.OS", - HandlerType: (*OSServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Update", - Handler: _OS_Update_Handler, - }, - { - MethodName: "Rollback", - Handler: _OS_Rollback_Handler, - }, - { - MethodName: "Configure", - Handler: _OS_Configure_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/agent.proto", -} diff --git a/cmd/agent/main.go b/cmd/agent/main.go deleted file mode 100644 index 7b1ed3da..00000000 --- a/cmd/agent/main.go +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -package main - -import ( - "github.com/sirupsen/logrus" - "google.golang.org/grpc" - - pb "openeuler.org/KubeOS/cmd/agent/api" - "openeuler.org/KubeOS/cmd/agent/server" - "openeuler.org/KubeOS/pkg/version" -) - -func main() { - logrus.Infoln("Version is:", version.Version) - l, err := server.NewListener(server.SockDir, server.SockName) - if err != nil { - logrus.Errorln("listen error" + err.Error()) - return - } - s := &server.Server{} - grpcServer := grpc.NewServer() - pb.RegisterOSServer(grpcServer, s) - logrus.Info("os-agent start serving") - if err := grpcServer.Serve(l); err != nil { - logrus.Errorln("os-agent serve error" + err.Error()) - return - } -} diff --git a/cmd/agent/server/config.go b/cmd/agent/server/config.go deleted file mode 100644 index f389a6e8..00000000 --- a/cmd/agent/server/config.go +++ /dev/null @@ -1,429 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2023. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "bufio" - "fmt" - "os" - "path/filepath" - "regexp" - "strings" - "sync" - - "github.com/sirupsen/logrus" - - agent "openeuler.org/KubeOS/cmd/agent/api" -) - -const ( - defaultKernelConPermission = 0644 - defaultGrubCfgPermission = 0751 - // Config has two format: key or key=value. Following variables stand for the length after splitting - onlyKey = 1 - kvPair = 2 -) - -// Configuration defines interface of configuring -type Configuration interface { - SetConfig(config *agent.SysConfig) error -} - -// KernelSysctl represents kernel.sysctl configuration -type KernelSysctl struct{} - -// SetConfig sets kernel.sysctl configuration -func (k KernelSysctl) SetConfig(config *agent.SysConfig) error { - logrus.Info("start set kernel.sysctl") - for key, keyInfo := range config.Contents { - procPath := getProcPath(key) - keyInfoValue := keyInfo.Value.String() - if keyInfo.Operation == "delete" { - logrus.Warnf("Failed to delete kernel.sysctl config with key %s", key) - } else if keyInfo.Operation == "" && keyInfoValue != "" { - if err := os.WriteFile(procPath, []byte(keyInfoValue), defaultKernelConPermission); err != nil { - logrus.Errorf("Failed to write kernel.sysctl with key %s: %v", key, err) - return err - } - logrus.Infof("Configured kernel.sysctl %s=%s", key, keyInfo.Value) - } else { - logrus.Warnf("Failed to parse kernel.sysctl, key: %s, value: %s, operation: %s", key, keyInfo.Value, keyInfo.Operation) - } - } - return nil -} - -// KerSysctlPersist represents kernel.sysctl.persist configuration -type KerSysctlPersist struct{} - -// SetConfig sets kernel.sysctl.persist configuration -func (k KerSysctlPersist) SetConfig(config *agent.SysConfig) error { - logrus.Info("start set kernel.sysctl.persist") - configPath := config.ConfigPath - if configPath == "" { - configPath = getKernelConPath() - } - if err := createConfigPath(configPath); err != nil { - logrus.Errorf("Failed to find config path: %v", err) - return err - } - configs, err := getAndSetConfigsFromFile(config.Contents, configPath) - if err != nil { - logrus.Errorf("Failed to set persist kernel configs: %v", err) - return err - } - if err = writeConfigToFile(configPath, configs); err != nil { - logrus.Errorf("Failed to write configs to file: %v", err) - return err - } - return nil -} - -// GrubCmdline represents grub.cmdline configuration -type GrubCmdline struct { - // it represents which partition the user want to configure - isCurPartition bool -} - -// SetConfig sets grub.cmdline configuration -func (g GrubCmdline) SetConfig(config *agent.SysConfig) error { - if g.isCurPartition { - logrus.Info("start set grub.cmdline.current configuration") - } else { - logrus.Info("start set grub.cmdline.next configuration") - } - fileExist, err := checkFileExist(getGrubCfgPath()) - if err != nil { - logrus.Errorf("Failed to find config path: %v", err) - return err - } - if !fileExist { - return fmt.Errorf("failed to find grub.cfg %s", getGrubCfgPath()) - } - configPartition, err := getConfigPartition(g.isCurPartition) - if err != nil { - logrus.Errorf("Failed to get config partition: %v", err) - return err - } - lines, err := getAndSetGrubCfg(config.Contents, configPartition) - if err != nil { - logrus.Errorf("Failed to set grub configs: %v", err) - return err - } - if err := writeConfigToFile(getGrubCfgPath(), lines); err != nil { - return err - } - return nil -} - -// getConfigPartition return false if the user want to configure partition A, -// return true if the user want to configure partition B -func getConfigPartition(isCurPartition bool) (bool, error) { - partA, partB, err := getRootfsDisks() - if err != nil { - return false, err - } - _, next, err := getNextPart(partA, partB) - if err != nil { - return false, err - } - var flag bool - if next == "B" { - flag = true - } - return isCurPartition != flag, nil -} - -func getAndSetGrubCfg(expectConfigs map[string]*agent.KeyInfo, configPartition bool) ([]string, error) { - file, err := os.OpenFile(getGrubCfgPath(), os.O_RDWR, defaultGrubCfgPermission) - if err != nil { - return []string{}, err - } - defer file.Close() - - reFindCurLinux := `^\s*linux.*root=.*` - r, err := regexp.Compile(reFindCurLinux) - if err != nil { - return []string{}, err - } - - var lines []string - var matchCount bool - configScanner := bufio.NewScanner(file) - for configScanner.Scan() { - line := configScanner.Text() - if r.MatchString(line) { - if matchCount == configPartition { - line, err = modifyLinuxCfg(expectConfigs, line) - if err != nil { - return []string{}, fmt.Errorf("error modify grub.cfg %v", err) - } - } - matchCount = true - } - lines = append(lines, line) - } - return lines, nil -} - -func modifyLinuxCfg(m map[string]*agent.KeyInfo, line string) (string, error) { - expectConfigs := deepCopyConfigMap(m) - newConfigs := []string{" "} - oldConfigs := strings.Split(line, " ") - for _, oldConfig := range oldConfigs { - if oldConfig == "" { - continue - } - // At most 2 substrings can be returned to satisfy the case like root=UUID=xxxx - config := strings.SplitN(oldConfig, "=", kvPair) - if len(config) != onlyKey && len(config) != kvPair { - return "", fmt.Errorf("cannot parse grub.cfg linux line %s", oldConfig) - } - newKeyInfo, ok := expectConfigs[config[0]] - var newConfig string - if ok && newKeyInfo.Operation == "delete" { - newConfig = handleDeleteKey(config, newKeyInfo) - } else { - newConfig = handleUpdateKey(config, newKeyInfo, ok) - } - newConfigs = append(newConfigs, newConfig) - delete(expectConfigs, config[0]) - } - newConfig := handleAddKey(expectConfigs, true) - newConfigs = append(newConfigs, newConfig...) - return convertNewConfigsToString(newConfigs) -} - -func convertNewConfigsToString(newConfigs []string) (string, error) { - var newLine strings.Builder - for _, newConfig := range newConfigs { - if newConfig == "" { - continue - } - if _, err := fmt.Fprintf(&newLine, " %s", newConfig); err != nil { - return "", err - } - } - return newLine.String(), nil -} - -func startConfig(configs []*agent.SysConfig) error { - for _, config := range configs { - if err := ConfigFactoryTemplate(config.Model, config); err != nil { - return err - } - } - return nil -} - -var doConfig sync.Once -var configTemplate = make(map[string]Configuration) - -// ConfigFactoryTemplate returns the corresponding struct that implements the Configuration -func ConfigFactoryTemplate(configType string, config *agent.SysConfig) error { - doConfig.Do(func() { - configTemplate[KernelSysctlName.String()] = new(KernelSysctl) - configTemplate[KerSysctlPersistName.String()] = new(KerSysctlPersist) - configTemplate[GrubCmdlineCurName.String()] = &GrubCmdline{isCurPartition: true} - configTemplate[GrubCmdlineNextName.String()] = &GrubCmdline{isCurPartition: false} - }) - if _, ok := configTemplate[configType]; ok { - return configTemplate[configType].SetConfig(config) - } - return fmt.Errorf("get configTemplate error : cannot recoginze configType %s", configType) -} - -func getProcPath(key string) string { - return filepath.Join(getDefaultProcPath(), strings.Replace(key, ".", "/", -1)) -} - -func getAndSetConfigsFromFile(expectConfigs map[string]*agent.KeyInfo, path string) ([]string, error) { - var configsWrite []string - file, err := os.Open(path) - if err != nil { - return nil, err - } - defer file.Close() - - configScanner := bufio.NewScanner(file) - for configScanner.Scan() { - line := configScanner.Text() - // if line is comment or blank - if strings.HasPrefix(line, "#") || strings.HasPrefix(line, ";") || line == "" { - configsWrite = append(configsWrite, line) - continue - } - configKV := strings.SplitN(line, "=", kvPair) - if len(configKV) != kvPair { - logrus.Errorf("could not parse systctl config %s", line) - return nil, fmt.Errorf("could not parse systctl config %s", line) - } - newKeyInfo, ok := expectConfigs[configKV[0]] - var newConfig string - if ok && newKeyInfo.Operation == "delete" { - newConfig = handleDeleteKey(configKV, newKeyInfo) - } else { - newConfig = handleUpdateKey(configKV, newKeyInfo, ok) - } - configsWrite = append(configsWrite, newConfig) - delete(expectConfigs, configKV[0]) - } - if err = configScanner.Err(); err != nil { - return nil, err - } - newConfig := handleAddKey(expectConfigs, false) - configsWrite = append(configsWrite, newConfig...) - return configsWrite, nil -} - -func writeConfigToFile(path string, configs []string) error { - logrus.Info("write configuration to file ", path) - f, err := os.OpenFile(path, os.O_RDWR|os.O_TRUNC, defaultKernelConPermission) - if err != nil { - return err - } - defer f.Close() - w := bufio.NewWriter(f) - for _, line := range configs { - if line == "" { - continue - } - if _, err = w.WriteString(line + "\n"); err != nil { - return err - } - } - if err = w.Flush(); err != nil { - return err - } - if err := f.Sync(); err != nil { - return err - } - return nil -} - -func createConfigPath(configPath string) error { - fileExist, err := checkFileExist(configPath) - if err != nil { - return err - } - if fileExist { - return nil - } - - f, err := os.Create(configPath) - if err != nil { - return err - } - err = f.Chmod(defaultKernelConPermission) - if err != nil { - return err - } - f.Close() - return nil -} - -func getDefaultProcPath() string { - return "/proc/sys/" -} - -func getKernelConPath() string { - return "/etc/sysctl.conf" -} - -func getGrubCfgPath() string { - return "/boot/efi/EFI/openEuler/grub.cfg" -} - -// handleDeleteKey deletes key if oldValue==newValue and returns "" string. Otherwier, it returns key=oldValue -func handleDeleteKey(config []string, configInfo *agent.KeyInfo) string { - key := config[0] - configInfoValue := configInfo.Value.String() - if len(config) == onlyKey && configInfoValue == "" { - logrus.Infoln("delete configuration", key) - return "" - } else if len(config) == onlyKey && configInfoValue != "" { - logrus.Warnf("Failed to delete key %s with inconsistent values "+ - "nil and %s", key, configInfo.Value) - return key - } - oldValue := config[1] - if oldValue != configInfoValue { - logrus.Warnf("Failed to delete key %s with inconsistent values "+ - "%s and %s", key, oldValue, configInfo.Value) - return strings.Join(config, "=") - } - logrus.Infof("delete configuration %s=%s", key, oldValue) - return "" -} - -// handleUpdateKey updates key if key is found, otherwise it returns old config. -func handleUpdateKey(config []string, configInfo *agent.KeyInfo, isFound bool) string { - key := config[0] - if !isFound && len(config) == onlyKey { - return key - } - if !isFound && len(config) == kvPair { - return key + "=" + config[1] - } - if configInfo.Operation != "" { - logrus.Warnf("Unknown operation %s, updating key %s with value %s by default", - configInfo.Operation, key, configInfo.Value) - } - configInfoValue := configInfo.Value.String() - if len(config) == onlyKey && configInfoValue == "" { - return key - } - newValue := strings.TrimSpace(configInfoValue) - if len(config) == onlyKey && configInfoValue != "" { - logrus.Infof("update configuration %s=%s", key, newValue) - return key + "=" + newValue - } - oldValue := config[1] - if configInfoValue == "" { - logrus.Warnf("Failed to update key %s with null value", key) - return key + "=" + oldValue - } - logrus.Infof("update configuration %s=%s", key, newValue) - return key + "=" + newValue -} - -func handleAddKey(m map[string]*agent.KeyInfo, isOnlyKeyValid bool) []string { - var configs []string - for key, keyInfo := range m { - if keyInfo.Operation == "delete" { - logrus.Warnf("Failed to delete inexistent key %s", key) - continue - } - if key == "" || strings.Contains(key, "=") { - logrus.Warnf("Failed to add nil key or key containing =, key: %s", key) - continue - } - if keyInfo.Operation != "" { - logrus.Warnf("Unknown operation %s, adding key %s with value %s by default", - keyInfo.Operation, key, keyInfo.Value) - } - keyInfoValue := keyInfo.Value.String() - k, v := strings.TrimSpace(key), strings.TrimSpace(keyInfoValue) - if keyInfoValue == "" && isOnlyKeyValid { - logrus.Infoln("add configuration", k) - configs = append(configs, k) - } else if keyInfoValue == "" { - logrus.Warnf("Failed to add key %s with null value", k) - } else { - logrus.Infof("add configuration %s=%s", k, v) - configs = append(configs, fmt.Sprintf("%s=%s", k, v)) - } - } - return configs -} diff --git a/cmd/agent/server/config_test.go b/cmd/agent/server/config_test.go deleted file mode 100644 index 924cbb5b..00000000 --- a/cmd/agent/server/config_test.go +++ /dev/null @@ -1,553 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2023. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "fmt" - "os" - "reflect" - "regexp" - "sort" - "strings" - "testing" - - "github.com/agiledragon/gomonkey/v2" - "google.golang.org/protobuf/types/known/structpb" - agent "openeuler.org/KubeOS/cmd/agent/api" -) - -func TestKernelSysctl_SetConfig(t *testing.T) { - type args struct { - config *agent.SysConfig - } - tests := []struct { - name string - k KernelSysctl - args args - wantErr bool - }{ - { - name: "add configs", - k: KernelSysctl{}, - args: args{config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "a": {Value: structpb.NewStringValue("1").GetStructValue()}, - "b": {Value: structpb.NewStringValue("2").GetStructValue()}, - }, - }}, - wantErr: false, - }, - { - name: "delete", - k: KernelSysctl{}, - args: args{config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "a": {Operation: "delete"}, - }, - }}, - wantErr: false, - }, - { - name: "invalid operation", - k: KernelSysctl{}, - args: args{config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "c": {Operation: "ad"}, - }, - }}, - }, - { - name: "nil value", - k: KernelSysctl{}, - args: args{config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "d": {Value: structpb.NewStringValue("").GetStructValue()}, - }, - }}, - }, - { - name: "nil key", - k: KernelSysctl{}, - args: args{config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "": {Value: structpb.NewStringValue("1").GetStructValue()}, - }, - }}, - wantErr: true, - }, - } - tmpDir := t.TempDir() - patchGetProcPath := gomonkey.ApplyFuncReturn(getDefaultProcPath, tmpDir+"/") - defer patchGetProcPath.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - k := KernelSysctl{} - if err := k.SetConfig(tt.args.config); (err != nil) != tt.wantErr { - t.Errorf("KernelSysctl.SetConfig() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func TestKerSysctlPersist_SetConfig(t *testing.T) { - tmpDir := t.TempDir() - persistPath := tmpDir + "/test-persist.conf" - comment := `# This file is managed by KubeOS for unit testing.` - type args struct { - config *agent.SysConfig - } - tests := []struct { - name string - k KerSysctlPersist - args args - want []string - wantErr bool - }{ - {name: "create file", args: args{config: &agent.SysConfig{ConfigPath: persistPath}}, want: []string{comment}, wantErr: false}, - { - name: "nil path", - args: args{ - config: &agent.SysConfig{}, - }, - want: []string{}, - wantErr: false, - }, - { - name: "add configs", - args: args{ - config: &agent.SysConfig{ - ConfigPath: persistPath, - Contents: map[string]*agent.KeyInfo{ - "a": {Value: structpb.NewStringValue("1").GetStructValue()}, - "b": {Value: structpb.NewStringValue("2").GetStructValue()}, - "c": {Value: structpb.NewStringValue("").GetStructValue()}, - "": {Value: structpb.NewStringValue("4").GetStructValue()}, - "e": {Value: structpb.NewStringValue("5").GetStructValue(), Operation: "xxx"}, - "y=1": {Value: structpb.NewStringValue("26").GetStructValue()}, - "z": {Value: structpb.NewStringValue("x=1").GetStructValue()}, - }, - }, - }, - want: []string{ - "a=1", - "b=2", - "e=5", - "z=x=1", - }, - wantErr: false, - }, - { - name: "update", - args: args{ - config: &agent.SysConfig{ - ConfigPath: persistPath, - Contents: map[string]*agent.KeyInfo{ - "a": {Value: structpb.NewStringValue("2").GetStructValue()}, - "b": {Value: structpb.NewStringValue("").GetStructValue()}, - "z": {Value: structpb.NewStringValue("x=2").GetStructValue(), Operation: "zzz"}, - }, - }, - }, - want: []string{ - "a=2", - "b=2", - "e=5", - "z=x=2", - }, - wantErr: false, - }, - { - name: "delete", - args: args{ - config: &agent.SysConfig{ - ConfigPath: persistPath, - Contents: map[string]*agent.KeyInfo{ - "a": {Value: structpb.NewStringValue("1").GetStructValue(), Operation: "delete"}, - "b": {Value: structpb.NewStringValue("2").GetStructValue(), Operation: "delete"}, - "c": {Value: structpb.NewStringValue("3").GetStructValue(), Operation: "delete"}, - "e": {Value: structpb.NewStringValue("5").GetStructValue(), Operation: "remove"}, - "f": {Value: structpb.NewStringValue("6").GetStructValue(), Operation: "remove"}, - "z": {Value: structpb.NewStringValue("x=2").GetStructValue(), Operation: "delete"}, - }, - }, - }, - want: []string{ - "a=2", - "e=5", - "f=6", - }, - wantErr: false, - }, - } - patchGetKernelConPath := gomonkey.ApplyFuncReturn(getKernelConPath, persistPath) - defer patchGetKernelConPath.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - k := KerSysctlPersist{} - if err := k.SetConfig(tt.args.config); (err != nil) != tt.wantErr { - t.Errorf("KerSysctlPersist.SetConfig() error = %v, wantErr %v", err, tt.wantErr) - } - if tt.name == "create file" { - if err := os.WriteFile(persistPath, []byte(comment), 0644); err != nil { - t.Fatalf("failed to write file %s", persistPath) - } - } - data, err := os.ReadFile(persistPath) - if err != nil { - t.Errorf("failed to read file %s", persistPath) - } - lines := strings.Split(string(data), "\n") - if tt.name != "create file" { - // remove the comment and the last empty line - lines = lines[1 : len(lines)-1] - sort.Strings(lines) - } - if !reflect.DeepEqual(lines, tt.want) { - t.Errorf("KerSysctlPersist file contents not equal, expect: %v, get: %v", tt.want, lines) - } - }) - } -} - -func TestGrubCmdline_SetConfig(t *testing.T) { - grubContent := `menuentry 'A' --class KubeOS --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'KubeOS-A' { - load_video - set gfxpayload=keep - insmod gzio - insmod part_gpt - insmod ext2 - set root='hd0,gpt2' - linux /boot/vmlinuz root=UUID=0 ro rootfstype=ext4 nomodeset quiet oops=panic softlockup_panic=1 nmi_watchdog=1 rd.shell=0 selinux=0 crashkernel=256M panic=3 - initrd /boot/initramfs.img -} - -menuentry 'B' --class KubeOS --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'KubeOS-B' { - load_video - set gfxpayload=keep - insmod gzio - insmod part_gpt - insmod ext2 - set root='hd0,gpt3' - linux /boot/vmlinuz root=UUID=1 ro rootfstype=ext4 nomodeset quiet oops=panic softlockup_panic=1 nmi_watchdog=1 rd.shell=0 selinux=0 crashkernel=256M panic=3 - initrd /boot/initramfs.img -}` - tmpDir := t.TempDir() - grubCfgPath := tmpDir + "/grub.cfg" - if err := copyGrub(grubContent, grubCfgPath); err != nil { - t.Fatalf("failed to copy grub file %v", err) - } - type args struct { - config *agent.SysConfig - } - tests := []struct { - name string - g GrubCmdline - args args - pattern string - wantErr bool - }{ - { - name: "add, update and delete kernel boot parameters of current partition", - g: GrubCmdline{isCurPartition: true}, - args: args{ - config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "debug": {}, // add key - "pci": {Value: structpb.NewStringValue("nomis").GetStructValue()}, // add kv - "quiet": {Value: structpb.NewStringValue("").GetStructValue(), Operation: "delete"}, // delete existent key - "panic": {Value: structpb.NewStringValue("5").GetStructValue()}, // update existent kv - "nomodeset": {Operation: "update"}, // invalid operation, default to update existent key - "softlockup_panic": {Value: structpb.NewStringValue("0").GetStructValue(), Operation: "update"}, // invalid operation, default to update existent kv - "oops": {Value: structpb.NewStringValue("").GetStructValue()}, // warning, skip, update existent kv with null value - "": {Value: structpb.NewStringValue("test").GetStructValue()}, // warning, skip, failed to add kv with empty key - "selinux": {Value: structpb.NewStringValue("1").GetStructValue(), Operation: "delete"}, // failed to delete inconsistent kv - "acpi": {Value: structpb.NewStringValue("off").GetStructValue(), Operation: "delete"}, // failed to delete inexistent kv - "ro": {Value: structpb.NewStringValue("1").GetStructValue()}, // update key to kv - }, - }, - }, - pattern: `(?m)^\s+linux\s+\/boot\/vmlinuz\s+root=UUID=[0-1]\s+ro=1\s+rootfstype=ext4\s+nomodeset\s+oops=panic\s+softlockup_panic=0\s+nmi_watchdog=1\s+rd\.shell=0\s+selinux=0\s+crashkernel=256M\s+panic=5\s+(debug\spci=nomis|pci=nomis\sdebug)$`, - wantErr: false, - }, - { - name: "delete and invalid operation", - g: GrubCmdline{isCurPartition: true}, - args: args{ - config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "debug": {Operation: "delete"}, // delete key - "pci": {Value: structpb.NewStringValue("nomis").GetStructValue(), Operation: "delete"}, // delete kv - "debugpat": {Value: structpb.NewStringValue("").GetStructValue(), Operation: "add"}, // passed key, operation is invalid, default to add key - "audit": {Value: structpb.NewStringValue("1").GetStructValue(), Operation: "add"}, // passed kv, key is inexistent, operation is invalid, default to add kv - "nomodeset": {Value: structpb.NewStringValue("1").GetStructValue(), Operation: "delete"}, // delete key with inconsistent value - }, - }, - }, - pattern: `(?m)^\s+linux\s+\/boot\/vmlinuz\s+root=UUID=[0-1]\s+ro=1\s+rootfstype=ext4\s+nomodeset\s+oops=panic\s+softlockup_panic=0\s+nmi_watchdog=1\s+rd\.shell=0\s+selinux=0\s+crashkernel=256M\s+panic=5\s+(debugpat\saudit=1|audit=1\sdebugpat)$`, - wantErr: false, - }, - { - name: "add, update and delete kernel boot parameters of next partition", - g: GrubCmdline{isCurPartition: false}, - args: args{ - config: &agent.SysConfig{ - Contents: map[string]*agent.KeyInfo{ - "debug": {}, - "pci": {Value: structpb.NewStringValue("nomis").GetStructValue()}, - "quiet": {Value: structpb.NewStringValue("").GetStructValue(), Operation: "delete"}, - "panic": {Value: structpb.NewStringValue("4").GetStructValue()}, - "nomodeset": {Operation: "update"}, // invalid operation, default to update existent key - "softlockup_panic": {Value: structpb.NewStringValue("0").GetStructValue(), Operation: "update"}, // invalid operation, default to update existent kv - "oops": {Value: structpb.NewStringValue("").GetStructValue()}, // update existent kv with null value - "": {Value: structpb.NewStringValue("test").GetStructValue()}, // warning, skip, failed to add kv with empty key - "selinux": {Value: structpb.NewStringValue("1").GetStructValue(), Operation: "delete"}, - "acpi": {Value: structpb.NewStringValue("off").GetStructValue(), Operation: "delete"}, - "ro": {Value: structpb.NewStringValue("").GetStructValue()}, - }, - }, - }, - pattern: `(?m)^\s+linux\s+\/boot\/vmlinuz\s+root=UUID=[0-1]\s+ro\s+rootfstype=ext4\s+nomodeset\s+oops=panic\s+softlockup_panic=0\s+nmi_watchdog=1\s+rd\.shell=0\s+selinux=0\s+crashkernel=256M\s+panic=4\s+(debug\spci=nomis|pci=nomis\sdebug)$`, - wantErr: false, - }, - } - patchGetGrubPath := gomonkey.ApplyFuncReturn(getGrubCfgPath, grubCfgPath) - defer patchGetGrubPath.Reset() - patchGetConfigPartition := gomonkey.ApplyFuncSeq(getConfigPartition, []gomonkey.OutputCell{ - {Values: gomonkey.Params{false, nil}}, - {Values: gomonkey.Params{false, nil}}, - {Values: gomonkey.Params{true, nil}}, - }) - defer patchGetConfigPartition.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := tt.g.SetConfig(tt.args.config); (err != nil) != tt.wantErr { - t.Errorf("GrubCmdline.SetConfig() error = %v, wantErr %v", err, tt.wantErr) - } - contents, err := os.ReadFile(grubCfgPath) - if err != nil { - t.Fatalf("failed to read grub.cfg") - } - re := regexp.MustCompile(tt.pattern) - match := re.FindAllStringIndex(string(contents), -1) - // it should match partition A and B in total twice - if len(match) != 1 { - t.Fatalf("expected pattern not found in grub.cfg") - } - }) - } -} - -func copyGrub(src string, dst string) error { - // Write data to dst - err := os.WriteFile(dst, []byte(src), 0644) - if err != nil { - return fmt.Errorf("failed to read file %s", dst) - } - return nil -} - -func Test_startConfig(t *testing.T) { - type args struct { - configs []*agent.SysConfig - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "KernelSysctl", - args: args{ - configs: []*agent.SysConfig{ - {Model: KernelSysctlName.String()}, - {Model: KerSysctlPersistName.String()}, - {Model: GrubCmdlineCurName.String()}, - {Model: GrubCmdlineNextName.String()}, - }, - }, - wantErr: false, - }, - } - patchKerSysctl := gomonkey.ApplyMethodReturn(KernelSysctl{}, "SetConfig", nil) - patchKerSysctlPersist := gomonkey.ApplyMethodReturn(KerSysctlPersist{}, "SetConfig", nil) - patchGrub := gomonkey.ApplyMethodReturn(GrubCmdline{}, "SetConfig", nil) - defer patchKerSysctl.Reset() - defer patchKerSysctlPersist.Reset() - defer patchGrub.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := startConfig(tt.args.configs); (err != nil) != tt.wantErr { - t.Errorf("startConfig() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_getDefaultProcPath(t *testing.T) { - tests := []struct { - name string - want string - }{ - { - name: "get correct path", - want: "/proc/sys/", - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got := getDefaultProcPath() - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("getAndSetConfigsFromFile() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_getKernelConPath(t *testing.T) { - tests := []struct { - name string - want string - }{ - { - name: "get correct path", - want: "/etc/sysctl.conf", - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got := getKernelConPath() - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("getAndSetConfigsFromFile() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_getGrubCfgPath(t *testing.T) { - tests := []struct { - name string - want string - }{ - { - name: "get correct path", - want: "/boot/efi/EFI/openEuler/grub.cfg", - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got := getGrubCfgPath() - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("getAndSetConfigsFromFile() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_getConfigPartition(t *testing.T) { - type args struct { - isCurPartition bool - } - tests := []struct { - name string - args args - want bool - wantErr bool - }{ - { - name: "get current partition", - args: args{isCurPartition: true}, - want: false, - wantErr: false, - }, - { - name: "get next partition", - args: args{isCurPartition: false}, - want: true, - wantErr: false, - }, - } - patchRootfsDisks := gomonkey.ApplyFuncReturn(getRootfsDisks, "/dev/sda2", "/dev/sda3", nil) - defer patchRootfsDisks.Reset() - // assume now is partition A, want to swiching to partition B - patchGetNextPartition := gomonkey.ApplyFuncReturn(getNextPart, "/dev/sda3", "B", nil) - defer patchGetNextPartition.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := getConfigPartition(tt.args.isCurPartition) - if (err != nil) != tt.wantErr { - t.Errorf("getConfigPartition() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("getConfigPartition() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_ConfigFactoryTemplate(t *testing.T) { - type args struct { - configType string - config *agent.SysConfig - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "error", - args: args{ - configType: "test", - config: &agent.SysConfig{}, - }, - wantErr: true, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := ConfigFactoryTemplate(tt.args.configType, tt.args.config); (err != nil) != tt.wantErr { - t.Errorf("ConfigFactoryTemplate() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_convertNewConfigsToString(t *testing.T) { - type args struct { - newConfigs []string - } - tests := []struct { - name string - args args - want string - wantErr bool - }{ - {name: "error", args: args{newConfigs: []string{"a"}}, want: "", wantErr: true}, - } - patchFprintf := gomonkey.ApplyFuncReturn(fmt.Fprintf, 0, fmt.Errorf("error")) - defer patchFprintf.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := convertNewConfigsToString(tt.args.newConfigs) - if (err != nil) != tt.wantErr { - t.Errorf("convertNewConfigsToString() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("convertNewConfigsToString() = %v, want %v", got, tt.want) - } - }) - } -} diff --git a/cmd/agent/server/containerd_image.go b/cmd/agent/server/containerd_image.go deleted file mode 100644 index fd612745..00000000 --- a/cmd/agent/server/containerd_image.go +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2023. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "bufio" - "io" - "os" - - "github.com/sirupsen/logrus" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -const defaultNamespace = "k8s.io" - -type conImageHandler struct{} - -func (c conImageHandler) downloadImage(req *pb.UpdateRequest) (string, error) { - neededPath, err := prepareEnv() - if err != nil { - return "", err - } - if _, err = c.getRootfsArchive(req, neededPath); err != nil { - return "", err - } - return createOSImage(neededPath) -} - -func (c conImageHandler) getRootfsArchive(req *pb.UpdateRequest, neededPath preparePath) (string, error) { - imageName := req.ContainerImage - if err := isValidImageName(imageName); err != nil { - return "", err - } - mountPath := neededPath.mountPath - var containerdCommand string - logrus.Infof("start pull %s", imageName) - - if isCommandAvailable("crictl") { - containerdCommand = "crictl" - if err := runCommand("crictl", "pull", imageName); err != nil { - return "", err - } - } else { - containerdCommand = "ctr" - if err := runCommand("ctr", "-n", defaultNamespace, "images", "pull", "--hosts-dir", - "/etc/containerd/certs.d", imageName); err != nil { - return "", err - } - } - - if err := checkOCIImageDigestMatch(containerdCommand, imageName, req.CheckSum); err != nil { - return "", err - } - - if err := checkAndCleanMount(mountPath); err != nil { - logrus.Errorln("containerd clean environment error", err) - return "", err - } - logrus.Infof("start get rootfs %s", imageName) - if err := runCommand("ctr", "-n="+defaultNamespace, "images", "mount", "--rw", - imageName, mountPath); err != nil { - return "", err - } - defer checkAndCleanMount(mountPath) - if err := copyFile(neededPath.tarPath, mountPath+"/"+neededPath.rootfsFile); err != nil { - return "", err - } - return "", nil -} - -func checkAndCleanMount(mountPath string) error { - ctrSnapshotCmd := "ctr " + "-n=" + defaultNamespace + " snapshots ls | grep " + mountPath + " | awk '{print $1}'" - existSnapshot, err := runCommandWithOut("bash", "-c", ctrSnapshotCmd) - if err != nil { - return err - } - if existSnapshot != "" { - if err = runCommand("ctr", "-n="+defaultNamespace, "images", "unmount", mountPath); err != nil { - return err - } - if err = runCommand("ctr", "-n="+defaultNamespace, "snapshots", "remove", mountPath); err != nil { - return err - } - } - return nil -} - -func copyFile(dstFileName string, srcFileName string) error { - srcFile, err := os.Open(srcFileName) - if err != nil { - return err - } - defer srcFile.Close() - - reader := bufio.NewReader(srcFile) - - dstFile, err := os.OpenFile(dstFileName, os.O_WRONLY|os.O_CREATE, imgPermission) - if err != nil { - return err - } - writer := bufio.NewWriter(dstFile) - - defer dstFile.Close() - if _, err = io.Copy(writer, reader); err != nil { - return err - } - return nil -} diff --git a/cmd/agent/server/containerd_image_test.go b/cmd/agent/server/containerd_image_test.go deleted file mode 100644 index 85347c83..00000000 --- a/cmd/agent/server/containerd_image_test.go +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2023. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "os" - "testing" - - "github.com/agiledragon/gomonkey/v2" - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -func Test_conImageHandler_downloadImage(t *testing.T) { - type args struct { - req *pb.UpdateRequest - } - tests := []struct { - name string - c conImageHandler - args args - want string - wantErr bool - }{ - { - name: "pullImageError", - c: conImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ContainerImage: "testError"}, - }, - want: "", - wantErr: true, - }, - { - name: "checkSumError", - c: conImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ContainerImage: "docker.io/library/hello-world:latest"}, - }, - want: "", - wantErr: true, - }, - { - name: "normal", - c: conImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ - ContainerImage: "docker.io/library/hello-world:latest", - }, - }, - want: "update-test1/upadte.img", - wantErr: false, - }, - { - name: "invalid image name", - c: conImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ContainerImage: "nginx;v1"}, - }, - want: "", - wantErr: true, - }, - } - patchPrepareEnv := gomonkey.ApplyFunc(prepareEnv, func() (preparePath, error) { - return preparePath{updatePath: "update-test1/", - mountPath: "update-test1/mountPath", - tarPath: "update-test1/mountPath/hello", - imagePath: "update-test1/upadte.img", - rootfsFile: "hello"}, nil - }) - defer patchPrepareEnv.Reset() - patchCreateOSImage := gomonkey.ApplyFunc(createOSImage, func(neededPath preparePath) (string, error) { - return "update-test1/upadte.img", nil - }) - defer patchCreateOSImage.Reset() - - if err := os.MkdirAll("update-test1/mountPath", os.ModePerm); err != nil { - t.Errorf("create test dir error = %v", err) - return - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - c := conImageHandler{} - if tt.name == "normal" { - imageDigests, err := getOCIImageDigest("crictl", "docker.io/library/hello-world:latest") - if err != nil { - t.Errorf("conImageHandler.getRootfsArchive() get oci image digests error = %v", err) - } - tt.args.req.CheckSum = imageDigests - } - got, err := c.downloadImage(tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("conImageHandler.downloadImage() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("conImageHandler.downloadImage() = %v, want %v", got, tt.want) - } - }) - } - defer func() { - if err := runCommand("crictl", "rmi", "docker.io/library/hello-world:latest"); err != nil { - t.Errorf("remove kubeos-temp container error = %v", err) - } - if err := os.RemoveAll("update-test1"); err != nil { - t.Errorf("remove update-test error = %v", err) - } - }() -} - -func Test_copyFile(t *testing.T) { - type args struct { - dstFileName string - srcFileName string - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "srcFileNotExist", - args: args{ - dstFileName: "bbb.txt", - srcFileName: "aaa.txt", - }, - wantErr: true, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := copyFile(tt.args.dstFileName, tt.args.srcFileName); (err != nil) != tt.wantErr { - t.Errorf("copyFile() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} diff --git a/cmd/agent/server/disk_image.go b/cmd/agent/server/disk_image.go deleted file mode 100644 index 8bd6bf67..00000000 --- a/cmd/agent/server/disk_image.go +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "crypto/sha256" - "crypto/tls" - "crypto/x509" - "encoding/hex" - "fmt" - "io" - "io/ioutil" - "net/http" - "os" - "path/filepath" - "strings" - "syscall" - - "github.com/sirupsen/logrus" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -type diskHandler struct{} - -func (d diskHandler) downloadImage(req *pb.UpdateRequest) (string, error) { - imagePath, err := d.getRootfsArchive(req, preparePath{}) - if err != nil { - return "", err - } - return imagePath, nil -} - -func (d diskHandler) getRootfsArchive(req *pb.UpdateRequest, neededPath preparePath) (string, error) { - imagePath, err := download(req) - if err != nil { - return "", err - } - if err = checkSumMatch(imagePath, req.CheckSum); err != nil { - return "", err - } - return imagePath, nil -} - -func download(req *pb.UpdateRequest) (string, error) { - resp, err := getImageURL(req) - if err != nil { - return "", err - } - defer resp.Body.Close() - if resp.StatusCode != http.StatusOK { - return "", fmt.Errorf("URL %s returns error %s", req.ImageUrl, resp.Status) - } - fs := syscall.Statfs_t{} - if err = syscall.Statfs(PersistDir, &fs); err != nil { - return "", err - } - if int64(fs.Bfree)*fs.Bsize < resp.ContentLength+buffer { // these data come from disk size, will not overflow - return "", fmt.Errorf("space is not enough for downloaing") - } - - out, err := os.Create(filepath.Join(PersistDir, "update.img")) - if err != nil { - return "", err - } - defer out.Close() - err = os.Chmod(out.Name(), imgPermission) - if err != nil { - return "", err - } - logrus.Infoln("downloading to file " + out.Name()) - if _, err = io.Copy(out, resp.Body); err != nil { - if errRemove := os.Remove(out.Name()); errRemove != nil { - logrus.Errorln("remove " + out.Name() + " error " + errRemove.Error()) - } - return "", err - } - return out.Name(), nil -} - -func checkSumMatch(filePath, checkSum string) error { - file, err := os.Open(filePath) - if err != nil { - return err - } - defer file.Close() - hash := sha256.New() - if _, err := io.Copy(hash, file); err != nil { - return err - } - if calSum := hex.EncodeToString(hash.Sum(nil)); calSum != checkSum { - defer os.Remove(filePath) - return fmt.Errorf("checkSum %s mismatch to %s", calSum, checkSum) - } - return nil -} - -func getImageURL(req *pb.UpdateRequest) (*http.Response, error) { - imageURL := req.ImageUrl - flagSafe := req.FlagSafe - mTLS := req.MTLS - caCert := req.Certs.CaCaert - clientCert := req.Certs.ClientCert - clientKey := req.Certs.ClientKey - - if !strings.HasPrefix(imageURL, "https://") { - if !flagSafe { - logrus.Errorln("this imageUrl is not safe") - return &http.Response{}, fmt.Errorf("this imageUrl is not safe") - } - resp, err := http.Get(imageURL) - if err != nil { - return &http.Response{}, err - } - return resp, nil - } else if mTLS { - client, err := loadClientCerts(caCert, clientCert, clientKey) - if err != nil { - return &http.Response{}, err - } - resp, err := client.Get(imageURL) - if err != nil { - return &http.Response{}, err - } - return resp, nil - } else { - client, err := loadCaCerts(caCert) - if err != nil { - return &http.Response{}, err - } - resp, err := client.Get(imageURL) - if err != nil { - return &http.Response{}, err - } - return resp, nil - } -} - -func loadCaCerts(caCert string) (*http.Client, error) { - pool := x509.NewCertPool() - err := certExist(caCert) - if err != nil { - return &http.Client{}, err - } - ca, err := ioutil.ReadFile(getCertPath() + caCert) - if err != nil { - return &http.Client{}, fmt.Errorf("read the ca certificate error %s", err) - } - pool.AppendCertsFromPEM(ca) - tr := &http.Transport{ - TLSClientConfig: &tls.Config{ - RootCAs: pool, - }, - } - client := &http.Client{Transport: tr} - return client, nil -} - -func loadClientCerts(caCert, clientCert, clientKey string) (*http.Client, error) { - pool := x509.NewCertPool() - err := certExist(caCert) - if err != nil { - return &http.Client{}, err - } - ca, err := ioutil.ReadFile(getCertPath() + caCert) - if err != nil { - return &http.Client{}, err - } - pool.AppendCertsFromPEM(ca) - err = certExist(clientCert) - if err != nil { - return &http.Client{}, err - } - err = certExist(clientKey) - if err != nil { - return &http.Client{}, err - } - cliCrt, err := tls.LoadX509KeyPair(getCertPath()+clientCert, getCertPath()+clientKey) - if err != nil { - return &http.Client{}, err - } - - tr := &http.Transport{ - TLSClientConfig: &tls.Config{ - RootCAs: pool, - Certificates: []tls.Certificate{cliCrt}, - }, - } - - client := &http.Client{Transport: tr} - return client, nil -} - -func certExist(certFile string) error { - if certFile == "" { - return fmt.Errorf("please provide the certificate") - } - _, err := os.Stat(getCertPath() + certFile) - if err != nil { - if os.IsNotExist(err) { - return fmt.Errorf("certificate is not exist %s ", err) - } - return fmt.Errorf("certificate has an error %s", err) - } - return nil -} diff --git a/cmd/agent/server/disk_image_test.go b/cmd/agent/server/disk_image_test.go deleted file mode 100644 index f970bd7d..00000000 --- a/cmd/agent/server/disk_image_test.go +++ /dev/null @@ -1,471 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "crypto/rand" - "crypto/rsa" - "crypto/sha256" - "crypto/x509" - "crypto/x509/pkix" - "encoding/hex" - "encoding/pem" - "fmt" - "io" - "io/fs" - "math/big" - "net/http" - "os" - "reflect" - "strings" - "syscall" - "testing" - "time" - - "github.com/agiledragon/gomonkey/v2" - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -func Test_download(t *testing.T) { - tmpDir := t.TempDir() - tmpFileForDownload := tmpDir + "/tmpFileForDownload" - tmpFile, err := os.Create(tmpFileForDownload) - if err != nil { - t.Errorf("open file error: %v", err) - } - defer tmpFile.Close() - type args struct { - req *pb.UpdateRequest - } - tests := []struct { - name string - args args - want string - wantErr bool - }{ - {name: "errornil", args: args{&pb.UpdateRequest{Certs: &pb.CertsInfo{}}}, want: "", wantErr: true}, - {name: "error response", args: args{&pb.UpdateRequest{ImageUrl: "http://www.openeuler.abc", FlagSafe: true, Certs: &pb.CertsInfo{}}}, want: "", wantErr: true}, - { - name: "normal", - args: args{ - req: &pb.UpdateRequest{ - ImageUrl: "http://www.openeuler.org/zh/", - FlagSafe: true, - Certs: &pb.CertsInfo{}, - }, - }, - want: tmpFileForDownload, - wantErr: false, - }, - { - name: "disk space not enough", - args: args{ - req: &pb.UpdateRequest{ - ImageUrl: "http://www.openeuler.org/zh/", - FlagSafe: true, - Certs: &pb.CertsInfo{}, - }, - }, - want: "", - wantErr: true, - }, - } - var patchStatfs *gomonkey.Patches - patchStatfs = gomonkey.ApplyFunc(syscall.Statfs, func(path string, stat *syscall.Statfs_t) error { - stat.Bfree = 3000 - stat.Bsize = 4096 - return nil - }) - defer patchStatfs.Reset() - patchGetImageUrl := gomonkey.ApplyFuncSeq(getImageURL, - []gomonkey.OutputCell{ - {Values: gomonkey.Params{&http.Response{}, fmt.Errorf("error")}}, - {Values: gomonkey.Params{&http.Response{StatusCode: http.StatusBadRequest, Body: io.NopCloser(strings.NewReader(""))}, nil}}, - { - Values: gomonkey.Params{ - &http.Response{ - StatusCode: http.StatusOK, - ContentLength: 5, - Body: io.NopCloser(strings.NewReader("hello")), - }, - nil, - }, - }, - { - Values: gomonkey.Params{ - &http.Response{ - StatusCode: http.StatusOK, - ContentLength: 5, - Body: io.NopCloser(strings.NewReader("hello")), - }, - nil, - }, - }, - }, - ) - defer patchGetImageUrl.Reset() - patchOSCreate := gomonkey.ApplyFuncReturn(os.Create, tmpFile, nil) - defer patchOSCreate.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if tt.name == "disk space not enough" { - patchStatfs = gomonkey.ApplyFunc(syscall.Statfs, func(path string, stat *syscall.Statfs_t) error { - stat.Bfree = 1 - stat.Bsize = 4096 - return nil - }) - } - got, err := download(tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("download() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("download() got = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_checkSumMatch(t *testing.T) { - tmpDir := t.TempDir() - tmpFileForCheckSum := tmpDir + "/tmpFileForCheckSum" - err := os.WriteFile(tmpFileForCheckSum, []byte("hello"), 0644) - if err != nil { - t.Errorf("open file error: %v", err) - } - type args struct { - filePath string - checkSum string - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "normal", - args: args{filePath: tmpFileForCheckSum, checkSum: calculateChecksum("hello")}, - wantErr: false, - }, - {name: "error", args: args{filePath: tmpFileForCheckSum, checkSum: "aaa"}, wantErr: true}, - {name: "unfound error", args: args{filePath: "", checkSum: "aaa"}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := checkSumMatch(tt.args.filePath, tt.args.checkSum); (err != nil) != tt.wantErr { - t.Errorf("checkSumMatch() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_getImageURL(t *testing.T) { - type args struct { - req *pb.UpdateRequest - } - tests := []struct { - name string - args args - want *http.Response - wantErr bool - }{ - {name: "httpNotSafe", args: args{req: &pb.UpdateRequest{ - ImageUrl: "http://www.openeuler.abc/zh/", - FlagSafe: false, - MTLS: false, - Certs: &pb.CertsInfo{}, - }}, want: &http.Response{}, wantErr: true}, - {name: "httpSuccess", args: args{req: &pb.UpdateRequest{ - ImageUrl: "http://www.openeuler.abc/zh/", - FlagSafe: true, - MTLS: false, - Certs: &pb.CertsInfo{}, - }}, want: &http.Response{StatusCode: http.StatusOK}, wantErr: false}, - {name: "mTLSGetSuccess", args: args{req: &pb.UpdateRequest{ - ImageUrl: "https://www.openeuler.abc/zh/", - FlagSafe: true, - MTLS: true, - Certs: &pb.CertsInfo{}, - }}, want: &http.Response{StatusCode: http.StatusOK}, wantErr: false}, - {name: "httpsGetSuccess", args: args{req: &pb.UpdateRequest{ - ImageUrl: "https://www.openeuler.abc/zh/", - FlagSafe: true, - MTLS: false, - Certs: &pb.CertsInfo{}, - }}, want: &http.Response{StatusCode: http.StatusOK}, wantErr: false}, - {name: "httpsLoadCertsError", args: args{req: &pb.UpdateRequest{ - ImageUrl: "https://www.openeuler.abc/zh/", - FlagSafe: true, - MTLS: false, - Certs: &pb.CertsInfo{}, - }}, want: &http.Response{}, wantErr: true}, - {name: "httpsMLTSLoadCertsError", args: args{req: &pb.UpdateRequest{ - ImageUrl: "https://www.openeuler.abc/zh/", - FlagSafe: true, - MTLS: true, - Certs: &pb.CertsInfo{}, - }}, want: &http.Response{}, wantErr: true}, - } - patchLoadClientCerts := gomonkey.ApplyFuncSeq(loadClientCerts, []gomonkey.OutputCell{ - {Values: gomonkey.Params{&http.Client{}, nil}}, - {Values: gomonkey.Params{&http.Client{}, fmt.Errorf("error")}}, - }) - defer patchLoadClientCerts.Reset() - patchLoadCaCerts := gomonkey.ApplyFuncSeq(loadCaCerts, []gomonkey.OutputCell{ - {Values: gomonkey.Params{&http.Client{}, nil}}, - {Values: gomonkey.Params{&http.Client{}, fmt.Errorf("error")}}, - }) - defer patchLoadCaCerts.Reset() - patchGet := gomonkey.ApplyFunc(http.Get, func(url string) (resp *http.Response, err error) { - return &http.Response{StatusCode: http.StatusOK}, nil - }) - defer patchGet.Reset() - patchClientGet := gomonkey.ApplyMethod(reflect.TypeOf(&http.Client{}), "Get", func(_ *http.Client, url string) (resp *http.Response, err error) { - return &http.Response{StatusCode: http.StatusOK}, nil - }) - defer patchClientGet.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if tt.name == "httpSuccess" { - patchGet := gomonkey.ApplyFuncReturn(http.Get, &http.Response{StatusCode: http.StatusOK}, nil) - defer patchGet.Reset() - } - got, err := getImageURL(tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("getImageURL() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("getImageURL() got = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_loadCaCerts(t *testing.T) { - tmpDir := t.TempDir() - caPath := tmpDir + "/fake.crt" - createFakeCertKey(caPath, "") - type args struct { - caCert string - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "normal", - args: args{ - caCert: caPath, - }, - wantErr: false, - }, - {name: "no cert", args: args{caCert: ""}, wantErr: true}, - } - patchGetCertPath := gomonkey.ApplyFuncReturn(getCertPath, "") - defer patchGetCertPath.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := loadCaCerts(tt.args.caCert) - if (err != nil) != tt.wantErr { - t.Errorf("loadCaCerts() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got == nil { - t.Errorf("loadCaCerts() = %v", got) - } - }) - } - -} - -func Test_loadClientCerts(t *testing.T) { - tmpDir := t.TempDir() - clientCertPath := tmpDir + "/fakeClientCert.crt" - clientKeyPath := tmpDir + "/fakeClientKey.crt" - createFakeCertKey(clientCertPath, clientKeyPath) - type args struct { - caCert string - clientCert string - clientKey string - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "normal", - args: args{ - caCert: clientCertPath, clientCert: clientCertPath, clientKey: clientKeyPath, - }, - wantErr: false, - }, - } - patchGetCertPath := gomonkey.ApplyFuncReturn(getCertPath, "") - defer patchGetCertPath.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := loadClientCerts(tt.args.caCert, tt.args.clientCert, tt.args.clientKey) - if (err != nil) != tt.wantErr { - t.Errorf("loadClientCerts() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got == nil { - t.Errorf("loadClientCerts() got = %v", got) - } - }) - } -} - -func Test_certExist(t *testing.T) { - type args struct { - certFile string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "fileEmpty", args: args{certFile: ""}, wantErr: true}, - {name: "fileNotExist", args: args{certFile: "bb.txt"}, wantErr: true}, - {name: "unknow error", args: args{certFile: "cc.txt"}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - var patchStat *gomonkey.Patches - if tt.name == "unknow error" { - patchStat = gomonkey.ApplyFunc(os.Stat, func(name string) (fs.FileInfo, error) { - return fs.FileInfo(nil), fmt.Errorf("error") - }) - } - if err := certExist(tt.args.certFile); (err != nil) != tt.wantErr { - t.Errorf("certExist() error = %v, wantErr %v", err, tt.wantErr) - } - if tt.name == "unknow error" { - patchStat.Reset() - } - }) - } - defer os.RemoveAll("/etc/KubeOS/") -} - -func createFakeCertKey(certPath, keyPath string) { - privateKey, _ := rsa.GenerateKey(rand.Reader, 2048) - template := x509.Certificate{ - SerialNumber: big.NewInt(1), - Subject: pkix.Name{ - CommonName: "Fake Client Certificate", - }, - NotBefore: time.Now(), - NotAfter: time.Now().AddDate(1, 0, 0), - KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature, - ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, - BasicConstraintsValid: true, - } - certBytes, _ := x509.CreateCertificate(rand.Reader, &template, &template, &privateKey.PublicKey, privateKey) - certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certBytes}) - keyPEM := pem.EncodeToMemory(&pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(privateKey)}) - os.WriteFile(certPath, certPEM, 0644) - if keyPath != "" { - os.WriteFile(keyPath, keyPEM, 0644) - } -} - -func calculateChecksum(data string) string { - hash := sha256.New() - hash.Write([]byte(data)) - return hex.EncodeToString(hash.Sum(nil)) -} - -func Test_diskHandler_getRootfsArchive(t *testing.T) { - type args struct { - req *pb.UpdateRequest - neededPath preparePath - } - tests := []struct { - name string - d diskHandler - args args - want string - wantErr bool - }{ - { - name: "normal", d: diskHandler{}, - args: args{req: &pb.UpdateRequest{ImageUrl: "http://www.openeuler.org/zh/"}, neededPath: preparePath{}}, - want: "/persist/update.img", - wantErr: false, - }, - { - name: "error", d: diskHandler{}, - args: args{req: &pb.UpdateRequest{ImageUrl: "http://www.openeuler.org/zh/"}, neededPath: preparePath{}}, - want: "", - wantErr: true, - }, - } - patchDownload := gomonkey.ApplyFuncSeq(download, []gomonkey.OutputCell{ - {Values: gomonkey.Params{"/persist/update.img", nil}}, - {Values: gomonkey.Params{"", fmt.Errorf("error")}}, - }) - defer patchDownload.Reset() - patchCheckSumMatch := gomonkey.ApplyFuncReturn(checkSumMatch, nil) - defer patchCheckSumMatch.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - d := diskHandler{} - got, err := d.getRootfsArchive(tt.args.req, tt.args.neededPath) - if (err != nil) != tt.wantErr { - t.Errorf("diskHandler.getRootfsArchive() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("diskHandler.getRootfsArchive() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_diskHandler_downloadImage(t *testing.T) { - type args struct { - req *pb.UpdateRequest - } - tests := []struct { - name string - d diskHandler - args args - want string - wantErr bool - }{ - {name: "normal", d: diskHandler{}, args: args{req: &pb.UpdateRequest{ImageUrl: "http://www.openeuler.org/zh/"}}, want: "/persist/update.img", wantErr: false}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - d := diskHandler{} - patchGetRootfsArchive := gomonkey.ApplyPrivateMethod(reflect.TypeOf(d), "getRootfsArchive", func(_ *diskHandler, _ *pb.UpdateRequest, _ preparePath) (string, error) { - return "/persist/update.img", nil - }) - got, err := d.downloadImage(tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("diskHandler.downloadImage() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("diskHandler.downloadImage() = %v, want %v", got, tt.want) - } - patchGetRootfsArchive.Reset() - }) - } -} diff --git a/cmd/agent/server/docker_image.go b/cmd/agent/server/docker_image.go deleted file mode 100644 index 16bcea54..00000000 --- a/cmd/agent/server/docker_image.go +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "github.com/sirupsen/logrus" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -type dockerImageHandler struct{} - -func (d dockerImageHandler) downloadImage(req *pb.UpdateRequest) (string, error) { - neededPath, err := prepareEnv() - if err != nil { - return "", err - } - if _, err = d.getRootfsArchive(req, neededPath); err != nil { - return "", err - } - return createOSImage(neededPath) -} - -func (d dockerImageHandler) getRootfsArchive(req *pb.UpdateRequest, neededPath preparePath) (string, error) { - imageName := req.ContainerImage - if err := isValidImageName(imageName); err != nil { - return "", err - } - logrus.Infof("start pull %s", imageName) - if err := runCommand("docker", "pull", imageName); err != nil { - return "", err - } - if err := checkOCIImageDigestMatch("docker", imageName, req.CheckSum); err != nil { - return "", err - } - containerName := "kubeos-temp" - dockerPsCmd := "docker ps -a -f=name=" + containerName + "| awk 'NR==2' | awk '{print $1}'" - existId, err := runCommandWithOut("bash", "-c", dockerPsCmd) - if err != nil { - return "", err - } - if existId != "" { - logrus.Infoln("kubeos-temp container exist,start clean environment first") - if err := runCommand("docker", "rm", existId); err != nil { - return "", err - } - } - logrus.Infof("start get rootfs") - containerId, err := runCommandWithOut("docker", "create", "--name", containerName, imageName) - if err != nil { - return "", err - } - defer func() { - if err := runCommand("docker", "rm", containerId); err != nil { - logrus.Errorln("remove kubeos-temp container error", err) - } - }() - if err := runCommand("docker", "cp", containerId+":/"+neededPath.rootfsFile, neededPath.updatePath); err != nil { - return "", err - } - return neededPath.tarPath, nil -} diff --git a/cmd/agent/server/docker_image_test.go b/cmd/agent/server/docker_image_test.go deleted file mode 100644 index 2dbf3370..00000000 --- a/cmd/agent/server/docker_image_test.go +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "os" - "testing" - - "github.com/agiledragon/gomonkey/v2" - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -func Test_dockerImageHandler_downloadImage(t *testing.T) { - type args struct { - req *pb.UpdateRequest - } - tests := []struct { - name string - d dockerImageHandler - args args - want string - wantErr bool - }{ - { - name: "pullImageError", - d: dockerImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ContainerImage: "testError"}, - }, - want: "", - wantErr: true, - }, - - { - name: "checkSumError", - d: dockerImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ContainerImage: "hello-world", CheckSum: "aaaaaa"}, - }, - want: "", - wantErr: true, - }, - - { - name: "normal", - d: dockerImageHandler{}, - args: args{ - req: &pb.UpdateRequest{ContainerImage: "hello-world"}, - }, - want: "update-test/upadte.img", - wantErr: false, - }, - } - patchPrepareEnv := gomonkey.ApplyFunc(prepareEnv, func() (preparePath, error) { - return preparePath{updatePath: "update-test/", - mountPath: "update-test/mountPath", - tarPath: "update-test/mountPath/hello", - imagePath: "update-test/upadte.img", - rootfsFile: "hello"}, nil - }) - defer patchPrepareEnv.Reset() - - patchCreateOSImage := gomonkey.ApplyFunc(createOSImage, func(neededPath preparePath) (string, error) { - return "update-test/upadte.img", nil - }) - defer patchCreateOSImage.Reset() - - if err := os.MkdirAll("update-test/mountPath", os.ModePerm); err != nil { - t.Errorf("create test dir error = %v", err) - return - } - - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if tt.name == "normal" { - _, err := runCommandWithOut("docker", "create", "--name", "kubeos-temp", "hello-world") - if err != nil { - t.Errorf("Test_dockerImageHandler_getRootfsArchive create container error = %v", err) - return - } - imageDigests, err := getOCIImageDigest("docker", "hello-world") - - if err != nil { - t.Errorf("Test_dockerImageHandler_getRootfsArchive get oci image digests error = %v", err) - } - tt.args.req.CheckSum = imageDigests - } - d := dockerImageHandler{} - got, err := d.downloadImage(tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("dockerImageHandler.downloadImage() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("dockerImageHandler.downloadImage() = %v, want %v", got, tt.want) - } - }) - } - defer func() { - if err := runCommand("docker", "rmi", "hello-world"); err != nil { - t.Errorf("remove kubeos-temp container error = %v", err) - } - if err := os.RemoveAll("update-test"); err != nil { - t.Errorf("remove update-test error = %v", err) - } - }() -} diff --git a/cmd/agent/server/listener.go b/cmd/agent/server/listener.go deleted file mode 100644 index 74dbf03e..00000000 --- a/cmd/agent/server/listener.go +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "net" - "os" - "path/filepath" - "syscall" - - "github.com/sirupsen/logrus" -) - -// NewListener is used to listen the socket -func NewListener(dir, name string) (l net.Listener, err error) { - if err := os.MkdirAll(dir, 0750); err != nil { - return nil, err - } - - addr := filepath.Join(dir, name) - gid := os.Getgid() - if err = syscall.Unlink(addr); err != nil && !os.IsNotExist(err) { - return nil, err - } - - const socketPermission = 0640 - mask := syscall.Umask(^socketPermission & int(os.ModePerm)) - defer syscall.Umask(mask) - - l, err = net.Listen("unix", addr) - if err != nil { - return nil, err - } - - if err := os.Chown(addr, 0, gid); err != nil { - if errClose := l.Close(); errClose != nil { - logrus.Errorln("close listener error" + errClose.Error()) - } - return nil, err - } - return l, nil -} diff --git a/cmd/agent/server/listener_test.go b/cmd/agent/server/listener_test.go deleted file mode 100644 index 4125013b..00000000 --- a/cmd/agent/server/listener_test.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "net" - "os" - "testing" -) - -func TestNewListener(t *testing.T) { - type args struct { - dir string - name string - } - tests := []struct { - name string - args args - wantL net.Listener - wantErr bool - }{ - {name: "errordir", args: args{dir: "", name: "aaa"}, wantErr: true}, - {name: "normal", args: args{dir: "mmm", name: "aaa"}, wantErr: false}, - {name: "errorname", args: args{dir: "mmm", name: ""}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - _, err := NewListener(tt.args.dir, tt.args.name) - if (err != nil) != tt.wantErr { - t.Errorf("NewListener() error = %v, wantErr %v", err, tt.wantErr) - return - } - }) - } - if err := os.RemoveAll("mmm"); err != nil { - t.Errorf("remove mmm error %s", err) - } -} diff --git a/cmd/agent/server/server.go b/cmd/agent/server/server.go deleted file mode 100644 index f8cbb410..00000000 --- a/cmd/agent/server/server.go +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "context" - "fmt" - "sync/atomic" - "syscall" - "time" - - "github.com/sirupsen/logrus" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -const ( - certPath = "/etc/KubeOS/certs/" - grubenvPath = "/boot/efi/EFI/openEuler/grubenv" - locked = 1 - unLocked = 0 - buffer = 1024 * 10240 - imgPermission = 0600 -) - -// Lock is a custom Lock to implement a spin lock -type Lock struct { - state uint32 -} - -// TryLock acquires the lock. On success returns true. On failure return false. -func (l *Lock) TryLock() bool { - return atomic.CompareAndSwapUint32(&l.state, unLocked, locked) -} - -// Unlock unlocks for lock. -func (l *Lock) Unlock() { - atomic.StoreUint32(&l.state, unLocked) -} - -// Server implements the OSServer -type Server struct { - pb.UnimplementedOSServer - mutex Lock - disableReboot bool -} - -// Update implements the OSServer.Update -func (s *Server) Update(_ context.Context, req *pb.UpdateRequest) (*pb.UpdateResponse, error) { - if !s.mutex.TryLock() { - return &pb.UpdateResponse{}, fmt.Errorf("server is processing another request") - } - defer s.mutex.Unlock() - - logrus.Infoln("start to update to " + req.Version) - if err := s.update(req); err != nil { - logrus.Errorln("update error " + err.Error()) - return &pb.UpdateResponse{}, err - } - - return &pb.UpdateResponse{}, nil -} - -// Rollback implements the OSServer.Rollback -func (s *Server) Rollback(_ context.Context, req *pb.RollbackRequest) (*pb.RollbackResponse, error) { - if !s.mutex.TryLock() { - return &pb.RollbackResponse{}, fmt.Errorf("server is processing another request") - } - defer s.mutex.Unlock() - - logrus.Infoln("start to rollback ") - if err := s.rollback(); err != nil { - return &pb.RollbackResponse{}, err - } - return &pb.RollbackResponse{}, nil -} - -// Configure implements the OSServer.Configure -func (s *Server) Configure(_ context.Context, req *pb.ConfigureRequest) (*pb.ConfigureResponse, error) { - if !s.mutex.TryLock() { - return &pb.ConfigureResponse{}, fmt.Errorf("server is processing another request") - } - defer s.mutex.Unlock() - if err := s.configure(req); err != nil { - return &pb.ConfigureResponse{}, err - } - return &pb.ConfigureResponse{}, nil -} - -func (s *Server) update(req *pb.UpdateRequest) error { - action := req.ImageType - var handler imageDownload - switch action { - case "docker": - handler = dockerImageHandler{} - case "containerd": - handler = conImageHandler{} - case "disk": - handler = diskHandler{} - default: - return fmt.Errorf("image type %s cannot be recognized", action) - } - imagePath, err := handler.downloadImage(req) - defer func() { - if err != nil { - path := newPreparePath() - if err := cleanSpace(path.updatePath, path.mountPath, path.imagePath); err != nil { - logrus.Errorln("clean space error " + err.Error()) - } - logrus.Infoln("clean space success") - } - }() - if err != nil { - return err - } - partA, partB, err := getRootfsDisks() - if err != nil { - return err - } - side, next, err := getNextPart(partA, partB) - logrus.Infoln("switching to " + side + " partition " + next) - if err != nil { - return err - } - if err = install(imagePath, side, next); err != nil { - return err - } - return s.reboot() -} - -func (s *Server) rollback() error { - partA, partB, err := getRootfsDisks() - if err != nil { - return err - } - _, next, err := getNextPart(partA, partB) - if err != nil { - return err - } - bootMode, err := getBootMode() - if err != nil { - return err - } - if bootMode == "uefi" { - if err = runCommand("grub2-editenv", grubenvPath, "set", "saved_entry="+next); err != nil { - return err - } - } else { - if err = runCommand("grub2-set-default", next); err != nil { - return err - } - } - return s.reboot() -} - -func (s *Server) configure(req *pb.ConfigureRequest) error { - if err := startConfig(req.Configs); err != nil { - return err - } - return nil -} - -func (s *Server) reboot() error { - logrus.Infoln("wait to reboot") - time.Sleep(time.Second) - syscall.Sync() - if s.disableReboot { - return nil - } - return syscall.Reboot(syscall.LINUX_REBOOT_CMD_RESTART) -} - -func getCertPath() string { - return certPath -} diff --git a/cmd/agent/server/server_test.go b/cmd/agent/server/server_test.go deleted file mode 100644 index 15b6f5ea..00000000 --- a/cmd/agent/server/server_test.go +++ /dev/null @@ -1,339 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "context" - "fmt" - "os" - "reflect" - "testing" - - "github.com/agiledragon/gomonkey/v2" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -func TestLockTryLock(t *testing.T) { - type fields struct { - state uint32 - } - tests := []struct { - name string - fields fields - want bool - }{ - {name: "normal", fields: fields{state: 0}, want: true}, - {name: "error", fields: fields{state: 1}, want: false}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - l := &Lock{ - state: tt.fields.state, - } - if got := l.TryLock(); got != tt.want { - t.Errorf("Lock.TryLock() = %v, want %v", got, tt.want) - } - }) - } -} - -func TestLockUnlock(t *testing.T) { - type fields struct { - state uint32 - } - tests := []struct { - name string - fields fields - }{ - {name: "normal", fields: fields{state: 1}}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - l := &Lock{ - state: tt.fields.state, - } - l.Unlock() - }) - } -} - -func TestServerUpdate(t *testing.T) { - type fields struct { - UnimplementedOSServer pb.UnimplementedOSServer - mutex Lock - disableReboot bool - } - type args struct { - in0 context.Context - req *pb.UpdateRequest - } - tests := []struct { - name string - fields fields - args args - want *pb.UpdateResponse - wantErr bool - }{ - {name: "error", fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - args: args{in0: context.Background(), req: &pb.UpdateRequest{Version: "test", Certs: &pb.CertsInfo{}}}, - want: &pb.UpdateResponse{}, wantErr: true}, - {name: "success", fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - args: args{in0: context.Background(), req: &pb.UpdateRequest{Version: "test", Certs: &pb.CertsInfo{}, ImageType: "containerd"}}, - want: &pb.UpdateResponse{}, wantErr: false}, - } - patchRootfsDisks := gomonkey.ApplyFuncReturn(getRootfsDisks, "/dev/sda2", "/dev/sda3", nil) - defer patchRootfsDisks.Reset() - // assume now is partition A, want to swiching to partition B - patchGetNextPartition := gomonkey.ApplyFuncReturn(getNextPart, "/dev/sda3", "B", nil) - defer patchGetNextPartition.Reset() - patchDownloadImage := gomonkey.ApplyPrivateMethod(conImageHandler{}, "downloadImage", func(_ conImageHandler, req *pb.UpdateRequest) (string, error) { - return "", nil - }) - defer patchDownloadImage.Reset() - patchInstall := gomonkey.ApplyFuncReturn(install, nil) - defer patchInstall.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - s := &Server{ - UnimplementedOSServer: tt.fields.UnimplementedOSServer, - mutex: tt.fields.mutex, - disableReboot: tt.fields.disableReboot, - } - got, err := s.Update(tt.args.in0, tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("Server.Update() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("Server.Update() = %v, want %v", got, tt.want) - } - }) - } -} - -func TestServerRollback(t *testing.T) { - type fields struct { - UnimplementedOSServer pb.UnimplementedOSServer - mutex Lock - disableReboot bool - } - type args struct { - in0 context.Context - req *pb.RollbackRequest - } - tests := []struct { - name string - fields fields - args args - want *pb.RollbackResponse - wantErr bool - }{ - {name: "error", fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - args: args{in0: context.Background(), req: &pb.RollbackRequest{}}, - want: &pb.RollbackResponse{}, wantErr: true}, - {name: "success", fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - args: args{in0: context.Background(), req: &pb.RollbackRequest{}}, - want: &pb.RollbackResponse{}, wantErr: false}, - } - patchRootfsDisks := gomonkey.ApplyFuncReturn(getRootfsDisks, "/dev/sda2", "/dev/sda3", nil) - defer patchRootfsDisks.Reset() - // assume now is partition A, want to swiching to partition B - patchGetNextPartition := gomonkey.ApplyFuncSeq(getNextPart, []gomonkey.OutputCell{ - {Values: gomonkey.Params{"", "", fmt.Errorf("rollbak test error")}}, - {Values: gomonkey.Params{"/dev/sda3", "B", nil}}, - }) - defer patchGetNextPartition.Reset() - patchDownloadImage := gomonkey.ApplyPrivateMethod(conImageHandler{}, "downloadImage", func(_ conImageHandler, req *pb.UpdateRequest) (string, error) { - return "", nil - }) - defer patchDownloadImage.Reset() - patchInstall := gomonkey.ApplyFuncReturn(install, nil) - defer patchInstall.Reset() - patchRunCommand := gomonkey.ApplyFuncReturn(runCommand, nil) - defer patchRunCommand.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - s := &Server{ - UnimplementedOSServer: tt.fields.UnimplementedOSServer, - mutex: tt.fields.mutex, - disableReboot: tt.fields.disableReboot, - } - got, err := s.Rollback(tt.args.in0, tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("Server.Rollback() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("Server.Rollback() = %v, want %v", got, tt.want) - } - }) - } -} - -func TestServerupdate(t *testing.T) { - type fields struct { - UnimplementedOSServer pb.UnimplementedOSServer - mutex Lock - disableReboot bool - } - type args struct { - req *pb.UpdateRequest - } - tests := []struct { - name string - fields fields - args args - wantErr bool - }{ - {name: "errortype", args: args{&pb.UpdateRequest{Certs: &pb.CertsInfo{}}}, wantErr: true}, - - {name: "errordisk", args: args{&pb.UpdateRequest{ - ImageUrl: "http://w3.huawei.com/", - FlagSafe: true, - CheckSum: "", - ImageType: "disk", - Certs: &pb.CertsInfo{}, - }}, - wantErr: true}, - {name: "errordocker", args: args{&pb.UpdateRequest{ - ContainerImage: "", - ImageType: "docker", - Certs: &pb.CertsInfo{}, - }}, - wantErr: true}, - } - for _, tt := range tests { - if tt.name == "errordisk" { - os.Mkdir("/persist", os.ModePerm) - } - t.Run(tt.name, func(t *testing.T) { - s := &Server{ - UnimplementedOSServer: tt.fields.UnimplementedOSServer, - mutex: tt.fields.mutex, - disableReboot: tt.fields.disableReboot, - } - if err := s.update(tt.args.req); (err != nil) != tt.wantErr { - t.Errorf("Server.update() error = %v, wantErr %v", err, tt.wantErr) - } - }) - if tt.name == "errordisk" { - os.RemoveAll("/persist") - } - } -} - -func TestServerrollback(t *testing.T) { - type fields struct { - UnimplementedOSServer pb.UnimplementedOSServer - mutex Lock - disableReboot bool - } - tests := []struct { - name string - fields fields - wantErr bool - }{ - {name: "error", fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - wantErr: true}, - } - patchGetNextPart := gomonkey.ApplyFunc(getNextPart, func(partA string, partB string) (string, string, error) { - return "", "", fmt.Errorf("rollbak test error") - }) - defer patchGetNextPart.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - s := &Server{ - UnimplementedOSServer: tt.fields.UnimplementedOSServer, - mutex: tt.fields.mutex, - disableReboot: tt.fields.disableReboot, - } - if err := s.rollback(); (err != nil) != tt.wantErr { - t.Errorf("Server.rollback() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func TestServerreboot(t *testing.T) { - type fields struct { - UnimplementedOSServer pb.UnimplementedOSServer - mutex Lock - disableReboot bool - } - tests := []struct { - name string - fields fields - wantErr bool - }{ - {name: "normal", fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - wantErr: false}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - s := &Server{ - UnimplementedOSServer: tt.fields.UnimplementedOSServer, - mutex: tt.fields.mutex, - disableReboot: tt.fields.disableReboot, - } - if err := s.reboot(); (err != nil) != tt.wantErr { - t.Errorf("Server.reboot() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func TestServer_Configure(t *testing.T) { - type fields struct { - UnimplementedOSServer pb.UnimplementedOSServer - mutex Lock - disableReboot bool - } - type args struct { - in0 context.Context - req *pb.ConfigureRequest - } - tests := []struct { - name string - fields fields - args args - want *pb.ConfigureResponse - wantErr bool - }{ - { - name: "nil", - fields: fields{UnimplementedOSServer: pb.UnimplementedOSServer{}, disableReboot: true}, - args: args{in0: context.Background(), req: &pb.ConfigureRequest{}}, - want: &pb.ConfigureResponse{}, - wantErr: false, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - s := &Server{ - UnimplementedOSServer: tt.fields.UnimplementedOSServer, - mutex: tt.fields.mutex, - disableReboot: tt.fields.disableReboot, - } - got, err := s.Configure(tt.args.in0, tt.args.req) - if (err != nil) != tt.wantErr { - t.Errorf("Server.Configure() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("Server.Configure() = %v, want %v", got, tt.want) - } - }) - } -} diff --git a/cmd/agent/server/utils.go b/cmd/agent/server/utils.go deleted file mode 100644 index ba4cb0c2..00000000 --- a/cmd/agent/server/utils.go +++ /dev/null @@ -1,380 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "errors" - "fmt" - "os" - "os/exec" - "path/filepath" - "regexp" - "strings" - "syscall" - - "github.com/sirupsen/logrus" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -const ( - needGBSize = 3 // the max size of update files needed - // KB is 1024 B - KB = 1024 - rootfsArchive = "os.tar" - updateDir = "KubeOS-Update" - mountDir = "kubeos-update" - osImageName = "update.img" -) - -type imageDownload interface { - downloadImage(req *pb.UpdateRequest) (string, error) - getRootfsArchive(req *pb.UpdateRequest, neededPath preparePath) (string, error) -} - -type preparePath struct { - updatePath string - mountPath string - tarPath string - imagePath string - rootfsFile string -} - -func runCommand(name string, args ...string) error { - out, err := exec.Command(name, args...).CombinedOutput() - if err != nil { - return fmt.Errorf("fail to run command:%s %v out:%s err:%s", name, args, out, err) - } - return nil -} - -func runCommandWithOut(name string, args ...string) (string, error) { - out, err := exec.Command(name, args...).CombinedOutput() - if err != nil { - return "", fmt.Errorf("fail to run command:%s %v out:%s err:%s", name, args, out, err) - } - return deleteNewline(string(out)), nil -} - -func deleteNewline(out string) string { - if strings.HasSuffix(out, "\n") { - out = strings.TrimSuffix(out, "\n") - } - return out -} - -func install(imagePath string, side string, next string) error { - if err := modifyImageLabel(imagePath, side, next); err != nil { - return err - } - if err := runCommand("dd", "if="+imagePath, "of="+side, "bs=8M"); err != nil { - return err - } - defer os.Remove(imagePath) - bootMode, err := getBootMode() - if err != nil { - return err - } - if bootMode == "uefi" { - return runCommand("grub2-editenv", grubenvPath, "set", "saved_entry="+next) - } else { - return runCommand("grub2-set-default", next) - } -} - -func getNextPart(partA string, partB string) (string, string, error) { - out, err := exec.Command("lsblk", "-no", "MOUNTPOINT", partA).CombinedOutput() - if err != nil { - return "", "", fmt.Errorf("fail to lsblk %s out:%s err:%s", partA, out, err) - } - mountPoint := strings.TrimSpace(string(out)) - - side := partA - next := "A" - if mountPoint == "/" { - side = partB - next = "B" - } - return side, next, nil -} - -func getRootfsDisks() (string, string, error) { - out, err := runCommandWithOut("lsblk", "-lno", "NAME,MOUNTPOINT") - if err != nil { - logrus.Errorln("get rootfs disks error " + err.Error()) - return "", "", err - } - var diskName string - const mountedDeviceOutLen = 2 - mounts := strings.Split(out, "\n") - for _, m := range mounts { - res := strings.Fields(m) - if len(res) != mountedDeviceOutLen { - continue - } - if res[1] == "/" { - diskName = filepath.Join("/dev", res[0]) - } - } - if len(diskName) == 0 { - logrus.Errorln("get rootfs disks error: not get diskName") - return "", "", fmt.Errorf("get rootfs disks error: not get diskName") - } - curDiskBytes := make([]byte, len(diskName)-1) - copy(curDiskBytes, diskName[:len(diskName)-1]) - curDisk := string(curDiskBytes) - const partAPartitionNum = "2" - const partBartitionNum = "3" - partA := curDisk + partAPartitionNum - partB := curDisk + partBartitionNum - return partA, partB, nil -} - -func getBootMode() (string, error) { - _, err := os.Stat("/sys/firmware/efi") - if err == nil { - return "uefi", nil - } else if os.IsNotExist(err) { - return "legacy", nil - } else { - return "", err - } -} - -func createOSImage(neededPath preparePath) (string, error) { - imagePath := neededPath.imagePath - updatePath := neededPath.updatePath - if err := runCommand("dd", "if=/dev/zero", "of="+imagePath, "bs=2M", "count=1024"); err != nil { - return "", err - } - if err := os.Chmod(imagePath, imgPermission); err != nil { - return "", err - } - if err := runCommand("mkfs.ext4", "-L", "ROOT-A", imagePath); err != nil { - return "", err - } - mountPath := neededPath.mountPath - if err := runCommand("mount", "-o", "loop", imagePath, mountPath); err != nil { - return "", err - } - defer func() { - if err := syscall.Unmount(mountPath, 0); err != nil { - logrus.Errorln("umount error " + mountPath) - } - if err := runCommand("losetup", "-D"); err != nil { - logrus.Errorln("delete loop device error") - } - if err := os.RemoveAll(updatePath); err != nil { - logrus.Errorln("remove dir error " + updatePath) - } - }() - logrus.Infoln("downloading to file " + imagePath) - tarPath := neededPath.tarPath - if err := runCommand("tar", "-xvf", tarPath, "-C", mountPath); err != nil { - return "", err - } - return imagePath, nil -} - -func prepareEnv() (preparePath, error) { - if err := checkDiskSize(needGBSize, PersistDir); err != nil { - return preparePath{}, err - } - upgradePath := newPreparePath() - if err := cleanSpace(upgradePath.updatePath, upgradePath.mountPath, upgradePath.imagePath); err != nil { - return preparePath{}, err - } - if err := os.MkdirAll(upgradePath.mountPath, imgPermission); err != nil { - return preparePath{}, err - } - return upgradePath, nil -} - -func newPreparePath() preparePath { - updatePath := splicePath(PersistDir, updateDir) - return preparePath{ - updatePath: updatePath, - mountPath: splicePath(updatePath, mountDir), - tarPath: splicePath(updatePath, rootfsArchive), - imagePath: splicePath(PersistDir, osImageName), - rootfsFile: rootfsArchive, - } -} - -func checkDiskSize(needGBSize int, path string) error { - fs := syscall.Statfs_t{} - if err := syscall.Statfs(path, &fs); err != nil { - return err - } - needDiskSize := needGBSize * KB * KB * KB - if int64(fs.Bfree)*fs.Bsize < int64(needDiskSize) { // these data come from disk size, will not overflow - return fmt.Errorf("space is not enough for downloaing") - } - return nil -} - -func splicePath(prefix string, path string) string { - return filepath.Join(prefix, path) -} - -func cleanSpace(updatePath, mountPath, imagePath string) error { - isFileExist, err := checkFileExist(mountPath) - if err != nil { - return err - } - if isFileExist { - var st syscall.Stat_t - if err = syscall.Lstat(mountPath, &st); err != nil { - return err - } - dev := st.Dev - parent := filepath.Dir(mountPath) - if err = syscall.Lstat(parent, &st); err != nil { - return err - } - if dev != st.Dev { - if err = syscall.Unmount(mountPath, 0); err != nil { - return err - } - } - } - - if err = deleteFile(updatePath); err != nil { - return err - } - - if err = deleteFile(imagePath); err != nil { - return err - } - return nil -} - -func deleteFile(path string) error { - isFileExist, err := checkFileExist(path) - if err != nil { - return err - } - if isFileExist { - if err = os.RemoveAll(path); err != nil { - return err - } - } - return nil -} - -func checkFileExist(path string) (bool, error) { - if _, err := os.Stat(path); err == nil { - return true, nil - } else if errors.Is(err, os.ErrNotExist) { - return false, nil - } else { - return false, err - } -} - -func checkOCIImageDigestMatch(containerRuntime string, imageName string, checkSum string) error { - imageDigests, err := getOCIImageDigest(containerRuntime, imageName) - if err != nil { - return err - } - if imageDigests == "" { - logrus.Errorln("error when get ", imageName, " digests") - return fmt.Errorf("error when get %s digests", imageName) - } - if imageDigests != checkSum { - logrus.Errorln("checkSumFailed ", imageDigests, " mismatch to ", checkSum) - return fmt.Errorf("checkSumFailed %s mismatch to %s", imageDigests, checkSum) - } - return nil -} - -func deepCopyConfigMap(m map[string]*pb.KeyInfo) map[string]*pb.KeyInfo { - result := make(map[string]*pb.KeyInfo) - for key, val := range m { - result[key] = &pb.KeyInfo{ - Value: val.Value, - Operation: val.Operation, - } - } - return result -} - -func isCommandAvailable(name string) bool { - _, err := exec.LookPath(name) - return err == nil -} - -func isValidImageName(image string) error { - pattern := `^((?:[\w.-]+)(?::\d+)?\/)*(?:[\w.-]+)((?::[\w_.-]+)?|(?:@sha256:[a-fA-F0-9]+)?)$` - regEx, err := regexp.Compile(pattern) - if err != nil { - return err - } - if !regEx.MatchString(image) { - return fmt.Errorf("invalid image name %s", image) - } - return nil -} - -func getOCIImageDigest(containerRuntime string, imageName string) (string, error) { - var cmdOutput string - var err error - var imageDigests string - switch containerRuntime { - case "crictl": - cmdOutput, err = runCommandWithOut("crictl", "inspecti", "--output", "go-template", - "--template", "{{.status.repoDigests}}", imageName) - if err != nil { - return "", err - } - case "docker": - cmdOutput, err = runCommandWithOut("docker", "inspect", "--format", "{{.RepoDigests}}", imageName) - if err != nil { - return "", err - } - case "ctr": - cmdOutput, err = runCommandWithOut("ctr", "-n", "k8s.io", "images", "ls", "name=="+imageName) - if err != nil { - return "", err - } - // after Fields, we get slice like [REF TYPE DIGEST SIZE PLATFORMS LABELS x x x x x x] - // the digest is the position 8 element - imageDigest := strings.Split(strings.Fields(cmdOutput)[8], ":")[1] - return imageDigest, nil - default: - logrus.Errorln("containerRuntime ", containerRuntime, " cannot be recognized") - return "", fmt.Errorf("containerRuntime %s cannot be recognized", containerRuntime) - } - // cmdOutput format is as follows: - // [imageRepository/imageName:imageTag@sha256:digests] - // parse the output and get digest - outArray := strings.Split(cmdOutput, "@") - if strings.HasPrefix(outArray[len(outArray)-1], "sha256") { - pasredArray := strings.Split(strings.TrimSuffix(outArray[len(outArray)-1], "]"), ":") - // 2 is the expected length of the array after dividing "imageName:imageTag@sha256:digests" based on ':' - rightLen := 2 - if len(pasredArray) == rightLen { - digestIndex := 1 // 1 is the index of digest data in pasredArray - imageDigests = pasredArray[digestIndex] - } - } - return imageDigests, nil -} - -func modifyImageLabel(imagePath, side, next string) error { - if err := runCommand("e2label", imagePath, "ROOT-"+next); err != nil { - return err - } - return nil -} diff --git a/cmd/agent/server/utils_test.go b/cmd/agent/server/utils_test.go deleted file mode 100644 index da53c0e6..00000000 --- a/cmd/agent/server/utils_test.go +++ /dev/null @@ -1,440 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent and listener of os-agent server. The server uses gRPC interface. -package server - -import ( - "archive/tar" - "fmt" - "os" - "os/exec" - "reflect" - "testing" - "time" - - "github.com/agiledragon/gomonkey/v2" -) - -func Test_runCommand(t *testing.T) { - type args struct { - name string - args []string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "error", args: args{name: "/mmm", args: []string{"", ""}}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := runCommand(tt.args.name, tt.args.args...); (err != nil) != tt.wantErr { - t.Errorf("runCommand() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_install(t *testing.T) { - type args struct { - imagePath string - side string - next string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "normal uefi", args: args{imagePath: "aa.txt", side: "/dev/sda3", next: "A"}, wantErr: false}, - {name: "normal legacy", args: args{imagePath: "aa.txt", side: "/dev/sda3", next: "A"}, wantErr: false}, - {name: "get boot mode error", args: args{imagePath: "aa.txt", side: "/dev/sda3", next: "A"}, wantErr: true}, - } - patchRunCommand := gomonkey.ApplyFuncReturn(runCommand, nil) - defer patchRunCommand.Reset() - patchGetBootMode := gomonkey.ApplyFuncSeq(getBootMode, []gomonkey.OutputCell{ - {Values: gomonkey.Params{"uefi", nil}}, - {Values: gomonkey.Params{"legacy", nil}}, - {Values: gomonkey.Params{"", fmt.Errorf("error")}}, - }) - defer patchGetBootMode.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := install(tt.args.imagePath, tt.args.side, tt.args.next); (err != nil) != tt.wantErr { - t.Errorf("install() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_getNextPart(t *testing.T) { - type args struct { - partA string - partB string - } - tests := []struct { - name string - args args - want string - want1 string - wantErr bool - }{ - {name: "switch to sda3", args: args{partA: "/dev/sda2", partB: "/dev/sda3"}, want: "/dev/sda3", want1: "B", wantErr: false}, - {name: "switch to sda2", args: args{partA: "/dev/sda2", partB: "/dev/sda3"}, want: "/dev/sda2", want1: "A", wantErr: false}, - {name: "error", args: args{partA: "/dev/sda2", partB: "/dev/sda3"}, want: "", want1: "", wantErr: true}, - } - patchExecCommand := gomonkey.ApplyMethodSeq(&exec.Cmd{}, "CombinedOutput", []gomonkey.OutputCell{ - {Values: gomonkey.Params{[]byte("/"), nil}}, - {Values: gomonkey.Params{[]byte(""), nil}}, - {Values: gomonkey.Params{[]byte(""), fmt.Errorf("error")}}, - }) - defer patchExecCommand.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, got1, err := getNextPart(tt.args.partA, tt.args.partB) - if (err != nil) != tt.wantErr { - t.Errorf("getNextPart() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("getNextPart() got = %v, want %v", got, tt.want) - } - if got1 != tt.want1 { - t.Errorf("getNextPart() got1 = %v, want %v", got1, tt.want1) - } - }) - } -} - -func Test_prepareEnv(t *testing.T) { - mountPath := "/persist/KubeOS-Update/kubeos-update" - if err := os.MkdirAll(mountPath, 0644); err != nil { - t.Fatalf("mkdir err %v", err) - } - defer os.RemoveAll("/persist") - tests := []struct { - name string - want preparePath - wantErr bool - }{ - { - name: "success", - want: preparePath{ - updatePath: "/persist/KubeOS-Update", - mountPath: "/persist/KubeOS-Update/kubeos-update", - tarPath: "/persist/KubeOS-Update/os.tar", - imagePath: "/persist/update.img", - rootfsFile: "os.tar", - }, - wantErr: false, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := prepareEnv() - if (err != nil) != tt.wantErr { - t.Errorf("prepareEnv() error = %v, wantErr %v", err, tt.wantErr) - return - } - if !reflect.DeepEqual(got, tt.want) { - t.Errorf("prepareEnv() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_createOSImage(t *testing.T) { - mountPath := "/persist/KubeOS-Update/kubeos-update" - if err := os.MkdirAll(mountPath, 0644); err != nil { - t.Fatalf("mkdir err %v", err) - } - defer os.RemoveAll("/persist") - tarPath := "/persist/KubeOS-Update/os.tar" - path, err := createTmpTarFile(tarPath) - if path != tarPath && err != nil { - t.Fatalf("create temp zip file err %v", err) - } - type args struct { - neededPath preparePath - } - tests := []struct { - name string - args args - want string - wantErr bool - }{ - { - name: "normal", - args: args{ - neededPath: preparePath{ - updatePath: "/persist/KubeOS-Update", - mountPath: "/persist/KubeOS-Update/kubeos-update", - tarPath: "/persist/KubeOS-Update/os.tar", - imagePath: "/persist/update.img", - }, - }, - want: "/persist/update.img", - wantErr: false, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := createOSImage(tt.args.neededPath) - if (err != nil) != tt.wantErr { - t.Errorf("createOSImage() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("createOSImage() = %v, want %v", got, tt.want) - } - }) - } -} - -func createTmpTarFile(tarPath string) (string, error) { - tempFile, err := os.Create(tarPath) - if err != nil { - return "", err - } - defer tempFile.Close() - - tarWriter := tar.NewWriter(tempFile) - fakeData := []byte("This is a fake file") - fakeFile := "fakefile.txt" - header := &tar.Header{ - Name: fakeFile, - Size: int64(len(fakeData)), - Mode: 0644, - ModTime: time.Now(), - } - - if err = tarWriter.WriteHeader(header); err != nil { - return "", err - } - if _, err := tarWriter.Write(fakeData); err != nil { - return "", err - } - if err := tarWriter.Flush(); err != nil { - return "", err - } - return tempFile.Name(), nil -} - -func Test_getBootMode(t *testing.T) { - tests := []struct { - name string - want string - wantErr bool - }{ - { - name: "uefi", - want: "uefi", - wantErr: false, - }, - { - name: "legacy", - want: "legacy", - wantErr: false, - }, - { - name: "error", - want: "", - wantErr: true, - }, - } - patchOSStat := gomonkey.ApplyFuncSeq(os.Stat, []gomonkey.OutputCell{ - {Values: gomonkey.Params{nil, nil}}, - {Values: gomonkey.Params{nil, os.ErrNotExist}}, - {Values: gomonkey.Params{nil, fmt.Errorf("fake error")}}, - }) - defer patchOSStat.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := getBootMode() - if (err != nil) != tt.wantErr { - t.Errorf("getBootMode() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("getBootMode() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_isValidImageName(t *testing.T) { - type args struct { - image string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "valid", args: args{image: "alpine"}, wantErr: false}, - {name: "valid", args: args{image: "alpine:latest"}, wantErr: false}, - {name: "valid", args: args{image: "localhost:1234/test"}, wantErr: false}, - {name: "valid", args: args{image: "alpine:3.7"}, wantErr: false}, - {name: "valid", args: args{image: "docker.example.edu/gmr/alpine:3.7"}, wantErr: false}, - {name: "valid", args: args{image: "docker.example.com:5000/gmr/alpine@sha256:11111111111111111111111111111111"}, wantErr: false}, - {name: "valid", args: args{image: "registry.dobby.org/dobby/dobby-servers/arthound:2019-08-08"}, wantErr: false}, - {name: "valid", args: args{image: "registry.dobby.org/dobby/dobby-servers/lerphound:latest"}, wantErr: false}, - {name: "valid", args: args{image: "registry.dobby.org/dobby/dobby-servers/loophole@sha256:5a156ff125e5a12ac7ff43ee5120fa249cf62248337b6d04abc574c8"}, wantErr: false}, - {name: "valid", args: args{image: "sosedoff/pgweb@sha256:5a156ff125e5a12ac7ff43ee5120fa249cf62248337b6d04574c8"}, wantErr: false}, - {name: "valid", args: args{image: "registry.dobby.org/dobby/antique-penguin:release-production"}, wantErr: false}, - {name: "valid", args: args{image: "dalprodictus/halcon:6.7.5"}, wantErr: false}, - {name: "valid", args: args{image: "antigua/antigua:v31"}, wantErr: false}, - {name: "invalid ;", args: args{image: "alpine;v1.0"}, wantErr: true}, - {name: "invalid tag and digest1", args: args{image: "alpine:latest@sha256:11111111111111111111111111111111"}, wantErr: true}, - {name: "invalid |", args: args{image: "alpine|v1.0"}, wantErr: true}, - {name: "invalid &", args: args{image: "alpine&v1.0"}, wantErr: true}, - {name: "invalid tag and digest2", args: args{image: "sosedoff/pgweb:latest@sha256:5a156ff125e5a12ac7ff43ee5120fa249cf62248337b6d04574c8"}, wantErr: true}, - {name: "invalid tag and digest3", args: args{image: "192.168.122.123:5000/kubeos_uefi-x86_64:euleros_v2_docker-2023-01@sha256:1a1a1a1a1a1a1a1a1a1a1a1a1a1a"}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := isValidImageName(tt.args.image); (err != nil) != tt.wantErr { - t.Errorf("isValidImageName() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_checkOCIImageDigestMatch(t *testing.T) { - type args struct { - containerRuntime string - imageName string - checkSum string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "invalid container runtion", args: args{containerRuntime: "dockctl", imageName: "docker.io/library/hello-world:latest", checkSum: "1abf18abf9bf9baa0a4a38d1afad4abf0d7da4544e163186e036c906c09c94fe"}, wantErr: true}, - {name: "nil image digets", args: args{containerRuntime: "crictl", imageName: "docker.io/library/hello-world:latest", checkSum: "1abf18abf9bf9baa0a4a38d1afad4abf0d7da4544e163186e036c906c09c94fe"}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if tt.name == "nil image digets" { - patchGetOCIImageDigest := gomonkey.ApplyFuncReturn(getOCIImageDigest, "", nil) - defer patchGetOCIImageDigest.Reset() - } - if err := checkOCIImageDigestMatch(tt.args.containerRuntime, tt.args.imageName, tt.args.checkSum); (err != nil) != tt.wantErr { - t.Errorf("checkOCIImageDigestMatch() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_runCommandWithOut(t *testing.T) { - type args struct { - name string - args []string - } - tests := []struct { - name string - args args - want string - wantErr bool - }{ - {name: "error", args: args{name: "/mmm", args: []string{"", ""}}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, err := runCommandWithOut(tt.args.name, tt.args.args...) - if (err != nil) != tt.wantErr { - t.Errorf("runCommandWithOut() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("runCommandWithOut() = %v, want %v", got, tt.want) - } - }) - } -} - -func Test_getRootfsDisks(t *testing.T) { - tests := []struct { - name string - want string - want1 string - wantErr bool - }{ - {name: "error", want: "", want1: "", wantErr: true}, - } - patchRunCommandWithOut := gomonkey.ApplyFuncSeq(runCommandWithOut, []gomonkey.OutputCell{ - {Values: gomonkey.Params{"", fmt.Errorf("fake error")}}, - }) - defer patchRunCommandWithOut.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - got, got1, err := getRootfsDisks() - if (err != nil) != tt.wantErr { - t.Errorf("getRootfsDisks() error = %v, wantErr %v", err, tt.wantErr) - return - } - if got != tt.want { - t.Errorf("getRootfsDisks() got = %v, want %v", got, tt.want) - } - if got1 != tt.want1 { - t.Errorf("getRootfsDisks() got1 = %v, want %v", got1, tt.want1) - } - }) - } -} - -func Test_checkDiskSize(t *testing.T) { - type args struct { - needGBSize int - path string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "zero GB need", args: args{needGBSize: 0, path: "/dev/sda"}, wantErr: false}, - {name: "disk not enough", args: args{needGBSize: 100000, path: "/dev/sda"}, wantErr: true}, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := checkDiskSize(tt.args.needGBSize, tt.args.path); (err != nil) != tt.wantErr { - t.Errorf("checkDiskSize() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_deleteFile(t *testing.T) { - type args struct { - path string - } - tests := []struct { - name string - args args - wantErr bool - }{ - {name: "error", args: args{path: "/mmm"}, wantErr: true}, - } - patchStat := gomonkey.ApplyFuncReturn(os.Stat, nil, fmt.Errorf("fake error")) - defer patchStat.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := deleteFile(tt.args.path); (err != nil) != tt.wantErr { - t.Errorf("deleteFile() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} diff --git a/cmd/agent/server/values.go b/cmd/agent/server/values.go deleted file mode 100644 index 7f16bb97..00000000 --- a/cmd/agent/server/values.go +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package server implements server of os-agent. The server uses gRPC interface. -package server - -const ( - // PersistDir is the path which could persist when os updating - PersistDir = "/persist" - // SockDir is the path of the sock file - SockDir = "/run/os-agent" - // SockName is the path of the socket file - SockName = "os-agent.sock" -) - -// ConfigType defines type of configurations -type ConfigType int32 - -const ( - // KernelSysctlName is the configuration name of the kernel parameter set by using sysctl - KernelSysctlName ConfigType = 0 - // KerSysctlPersistName is the configuration name of the kernel parameter - // set by writing /etc/sysctl.conf or other files - KerSysctlPersistName ConfigType = 1 - // GrubCmdlineCurName is configuration name of current partition's grub cmdline - GrubCmdlineCurName ConfigType = 2 - // GrubCmdlineNextName is configuration name of next partition's grub cmdline - GrubCmdlineNextName ConfigType = 3 -) - -func (c ConfigType) String() string { - switch c { - case KernelSysctlName: - return "kernel.sysctl" - case KerSysctlPersistName: - return "kernel.sysctl.persist" - case GrubCmdlineCurName: - return "grub.cmdline.current" - case GrubCmdlineNextName: - return "grub.cmdline.next" - default: - return "unknown" - } -} diff --git a/cmd/proxy/controllers/os_controller.go b/cmd/proxy/controllers/os_controller.go deleted file mode 100644 index b543befc..00000000 --- a/cmd/proxy/controllers/os_controller.go +++ /dev/null @@ -1,452 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package controllers contains the Reconcile of proxy -package controllers - -import ( - "context" - "fmt" - "os" - - corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/errors" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/types" - "k8s.io/client-go/kubernetes" - "k8s.io/client-go/util/retry" - "k8s.io/kubectl/pkg/drain" - ctrl "sigs.k8s.io/controller-runtime" - "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/manager" - - upgradev1 "openeuler.org/KubeOS/api/v1alpha1" - "openeuler.org/KubeOS/pkg/agentclient" - "openeuler.org/KubeOS/pkg/common" - "openeuler.org/KubeOS/pkg/values" -) - -// OSReconciler reconciles a OS object -type OSReconciler struct { - Scheme *runtime.Scheme - Connection *agentclient.Client - client.Client - kubeclientset kubernetes.Interface - hostName string -} - -var log = ctrl.Log.WithName("proxy").WithName("OS") - -// NewOSReconciler returns a new os reconciler -func NewOSReconciler(mgr manager.Manager) *OSReconciler { - kubeClientSet, err := kubernetes.NewForConfig(mgr.GetConfig()) - if err != nil { - log.Error(err, "Error building kubernetes clientset: ", "err") - } - - reconciler := &OSReconciler{ - Client: mgr.GetClient(), - Scheme: mgr.GetScheme(), - kubeclientset: kubeClientSet, - hostName: os.Getenv("NODE_NAME"), - } - log.Info("Setting up event handlers") - return reconciler -} - -//+kubebuilder:rbac:groups=upgrade.openeuler.org,resources=os,verbs=get;list;watch;create;update;patch;delete -//+kubebuilder:rbac:groups=upgrade.openeuler.org,resources=os/status,verbs=get;update;patch -//+kubebuilder:rbac:groups=upgrade.openeuler.org,resources=os/finalizers,verbs=update -//+kubebuilder:rbac:groups=upgrade.openeuler.org,resources=osinstances,verbs=get;list;watch;create;update;patch;delete -//+kubebuilder:rbac:groups=upgrade.openeuler.org,resources=osinstances/status,verbs=get;update;patch -//+kubebuilder:rbac:groups=upgrade.openeuler.org,resources=osinstances/finalizers,verbs=update -//+kubebuilder:rbac:groups="",resources=nodes,verbs=get;list;update;watch;patch -//+kubebuilder:rbac:groups="",resources=pods,verbs=get;list -//+kubebuilder:rbac:groups="",resources=pods/eviction,verbs=create -//+kubebuilder:rbac:groups="apps",resources=daemonsets,verbs=get;delete - -// Reconcile is part of the main kubernetes reconciliation loop which aims to -// move the current state of the cluster closer to the desired state. -func (r *OSReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { - ctx = context.Background() - osInstance, err := checkOsiExist(ctx, r, req.Namespace, r.hostName) - if err != nil { - return values.RequeueNow, err - } - osCr, node := getOSAndNodeStatus(ctx, r, req.NamespacedName, r.hostName) - sameOSVersion := checkVersion(osCr.Spec.OSVersion, node.Status.NodeInfo.OSImage) - if sameOSVersion { - configOps, err := checkConfigVersion(osCr, osInstance, values.SysConfigName) - if err != nil { - return values.RequeueNow, err - } - if configOps == values.Reassign { - if err = r.refreshNode(ctx, &node, osInstance, osCr.Spec.SysConfigs.Version, values.SysConfigName); err != nil { - return values.RequeueNow, err - } - return values.Requeue, nil - } - if configOps == values.UpdateConfig { - osInstance.Spec.SysConfigs = osCr.Spec.SysConfigs - if err = r.Update(ctx, osInstance); err != nil { - return values.RequeueNow, err - } - return values.Requeue, nil - } - if err := r.setConfig(ctx, osInstance, values.SysConfigName); err != nil { - return values.RequeueNow, err - } - if err = r.refreshNode(ctx, &node, osInstance, osCr.Spec.SysConfigs.Version, - values.SysConfigName); err != nil { - return values.RequeueNow, err - } - } else { - if osCr.Spec.OpsType == values.NodeStatusConfig.String() { - log.Error(nil, "Expect OS Version is not same with Node OS Version, please upgrade first") - return values.RequeueNow, err - } - configOps, err := checkConfigVersion(osCr, osInstance, values.UpgradeConfigName) - if err != nil { - return values.RequeueNow, err - } - if configOps == values.Reassign { - if err = r.refreshNode(ctx, &node, osInstance, osCr.Spec.UpgradeConfigs.Version, - values.UpgradeConfigName); err != nil { - return values.RequeueNow, err - } - return values.Requeue, nil - } - if _, ok := node.Labels[values.LabelUpgrading]; ok && - osInstance.Spec.NodeStatus == values.NodeStatusIdle.String() { - log.Info("node has upgrade label, but osInstance.spec.nodestaus idle ", - "operation:", "refesh node and wait opetaot reassgin") - if err = r.refreshNode(ctx, &node, osInstance, osCr.Spec.UpgradeConfigs.Version, - values.UpgradeConfigName); err != nil { - return values.RequeueNow, err - } - return values.Requeue, nil - } - - if err := r.setConfig(ctx, osInstance, values.UpgradeConfigName); err != nil { - return values.RequeueNow, err - } - if err = r.upgradeNode(ctx, &osCr, &node); err != nil { - return values.RequeueNow, err - } - } - return values.Requeue, nil -} - -func getOSAndNodeStatus(ctx context.Context, r common.ReadStatusWriter, name types.NamespacedName, - hostName string) (OS upgradev1.OS, node corev1.Node) { - if err := r.Get(ctx, name, &OS); err != nil { - log.Error(err, "unable to fetch OS") - return - } - if err := r.Get(ctx, client.ObjectKey{Name: hostName}, &node); err != nil { - log.Error(err, "unable to fetch node") - return - } - return -} - -func evictNode(drainer *drain.Helper, node *corev1.Node) error { - if node.Spec.Unschedulable { - return nil - } - log.Info("Evicting Node ", "nodeName", node.Name) - // Mark node unschedulable and evict all pods on it - err := drain.RunCordonOrUncordon(drainer, node, true) - if err != nil { - return err - } - if err := drain.RunNodeDrain(drainer, node.Name); err != nil { - log.Error(err, "unable to drain node") - if terr := drain.RunCordonOrUncordon(drainer, node, false); terr != nil { - log.Error(terr, "unable to uncordon node when an error occurs in draining node") - return terr - } - return err - } - return nil -} - -// SetupWithManager sets up the controller with the Manager. -func (r *OSReconciler) SetupWithManager(mgr ctrl.Manager) error { - return ctrl.NewControllerManagedBy(mgr). - For(&upgradev1.OS{}). - Complete(r) -} - -func (r *OSReconciler) upgradeNode(ctx context.Context, osCr *upgradev1.OS, node *corev1.Node) error { - osVersionSpec := osCr.Spec.OSVersion - if _, ok := node.Labels[values.LabelUpgrading]; ok { - drainer := &drain.Helper{ - Ctx: ctx, - Client: r.kubeclientset, - GracePeriodSeconds: -1, - Out: os.Stdout, - ErrOut: os.Stderr, - } - if osCr.Spec.EvictPodForce { - drainer.DeleteEmptyDirData = true - drainer.IgnoreAllDaemonSets = true - drainer.Force = true - } - if err := evictNode(drainer, node); err != nil { - return err - } - opsType := osCr.Spec.OpsType - switch opsType { - case "upgrade": - version := osVersionSpec - downloadInfo := &agentclient.DownloadInfo{ - ImageURL: osCr.Spec.ImageURL, - FlagSafe: osCr.Spec.FlagSafe, - CheckSum: osCr.Spec.CheckSum, - CaCert: osCr.Spec.CaCert, - ClientCert: osCr.Spec.ClientCert, - ClientKey: osCr.Spec.ClientKey, - MTLS: osCr.Spec.MTLS, - ImageType: osCr.Spec.ImageType, - ContainerImage: osCr.Spec.ContainerImage, - } - if err := r.Connection.UpdateSpec(version, downloadInfo); err != nil { - return err - } - case "rollback": - if err := r.Connection.RollbackSpec(); err != nil { - return err - } - default: - return fmt.Errorf("operation %s cannot be recognized", opsType) - } - } - return nil -} - -func (r *OSReconciler) refreshNode(ctx context.Context, node *corev1.Node, osInstance *upgradev1.OSInstance, - osConfigVersion string, configType string) error { - if _, ok := node.Labels[values.LabelUpgrading]; ok { - delete(node.Labels, values.LabelUpgrading) - if err := r.Update(ctx, node); err != nil { - log.Error(err, "unable to delete label", "node", node.Name) - return err - } - } - if _, ok := node.Labels[values.LabelConfiguring]; ok { - delete(node.Labels, values.LabelConfiguring) - if err := r.Update(ctx, node); err != nil { - log.Error(err, "unable to delete label", "node", node.Name) - return err - } - } - if node.Spec.Unschedulable { // update done, uncordon the node - drainer := &drain.Helper{ - Ctx: ctx, - Client: r.kubeclientset, - GracePeriodSeconds: -1, - Out: os.Stdout, - ErrOut: os.Stderr, - } - if err := drain.RunCordonOrUncordon(drainer, node, false); err != nil { - return err - } - log.Info("Uncordon successfully", "node", node.Name) - } - if err := updateNodeStatus(ctx, r, osInstance, osConfigVersion, configType); err != nil { - log.Error(err, "unable to change osInstance nodeStatus to idle") - return err - } - return nil -} - -func checkOsiExist(ctx context.Context, r common.ReadStatusWriter, nameSpace string, - nodeName string) (*upgradev1.OSInstance, error) { - var osInstance upgradev1.OSInstance - if err := r.Get(ctx, types.NamespacedName{ - Namespace: nameSpace, - Name: nodeName, - }, &osInstance); err != nil { - if errors.IsNotFound(err) { - log.Info("Create OSInstance") - osInstance = upgradev1.OSInstance{ - ObjectMeta: metav1.ObjectMeta{ - Namespace: nameSpace, - Name: nodeName, - Labels: map[string]string{ - values.LabelOSinstance: nodeName, - }, - }, - } - osInstance.Spec.NodeStatus = values.NodeStatusIdle.String() - if err = r.Create(ctx, &osInstance); err != nil { - log.Error(err, "Error create OSInstance ") - return &upgradev1.OSInstance{}, err - } - } else { - log.Error(err, "Error Get OSInstance ") - return &upgradev1.OSInstance{}, err - } - } - return &osInstance, nil -} - -func updateNodeStatus(ctx context.Context, r common.ReadStatusWriter, osInstance *upgradev1.OSInstance, - osConfigVersion string, configType string) error { - if osInstance.Spec.NodeStatus == values.NodeStatusIdle.String() { - return nil - } - // Change nodeStatus to idle, when - // 1.complte config or no config(conVersionStatus == conVersionSpec and nodestatus is config or upgrade) - // 2.os.spec.sysconfig/upgradeconfig.version is not equals to osInstance.spec.sysconfig/upgradeconfig.version , - // that means when configuring or upgrading config was changed again , so - conVersionSpec := osInstance.Spec.SysConfigs.Version - conVersionStatus := osInstance.Status.SysConfigs.Version - if (conVersionStatus == conVersionSpec) || - (configType == values.SysConfigName && osConfigVersion != osInstance.Spec.SysConfigs.Version) || - (configType == values.UpgradeConfigName && osConfigVersion != osInstance.Spec.UpgradeConfigs.Version) { - if err := retry.RetryOnConflict(retry.DefaultBackoff, func() (err error) { - if err = r.Get(ctx, client.ObjectKey{Name: osInstance.Name, Namespace: osInstance.Namespace}, - osInstance); err != nil { - return err - } - osInstance.Spec.NodeStatus = values.NodeStatusIdle.String() - return r.Update(ctx, osInstance) - }); err != nil { - return err - } - } - return nil -} - -func updateConfigStatus(ctx context.Context, r common.ReadStatusWriter, osInstance *upgradev1.OSInstance, - configType string) error { - switch configType { - case values.UpgradeConfigName: - osInstance.Status.UpgradeConfigs = osInstance.Spec.UpgradeConfigs - case values.SysConfigName: - osInstance.Status.SysConfigs = osInstance.Spec.SysConfigs - default: - log.Error(nil, "Cannot recognize configType: "+configType) - } - if err := r.Status().Update(ctx, osInstance); err != nil { - log.Error(err, "Update OSInstance Error") - return err - } - return nil -} - -func (r *OSReconciler) setConfig(ctx context.Context, osInstance *upgradev1.OSInstance, configType string) error { - expectConfigVersion, curConfigVersion, configs := getConfigs(osInstance, configType) - if expectConfigVersion != curConfigVersion { - var sysConfigs []agentclient.SysConfig - for _, config := range configs { - configTmp := agentclient.SysConfig{ - Model: config.Model, - ConfigPath: config.ConfigPath, - } - contentsTmp := make(map[string]agentclient.KeyInfo) - for _, content := range config.Contents { - contentsTmp[content.Key] = agentclient.KeyInfo{ - Value: content.Value, - Operation: content.Operation, - } - } - configTmp.Contents = contentsTmp - sysConfigs = append(sysConfigs, configTmp) - } - configInfo := &agentclient.ConfigsInfo{Configs: sysConfigs} - if err := r.Connection.ConfigureSpec(configInfo); err != nil { - log.Error(err, "configure Error") - return err - } - if err := updateConfigStatus(ctx, r, osInstance, configType); err != nil { - return err - } - return nil - } - return nil -} - -func getConfigs(osInstance *upgradev1.OSInstance, configType string) (string, string, []upgradev1.SysConfig) { - var expectConfigVersion, curConfigVersion string - var configs []upgradev1.SysConfig - switch configType { - case values.UpgradeConfigName: - expectConfigVersion = osInstance.Spec.UpgradeConfigs.Version - curConfigVersion = osInstance.Status.UpgradeConfigs.Version - configs = osInstance.Spec.UpgradeConfigs.Configs - case values.SysConfigName: - expectConfigVersion = osInstance.Spec.SysConfigs.Version - curConfigVersion = osInstance.Status.SysConfigs.Version - configs = osInstance.Spec.SysConfigs.Configs - default: - log.Error(nil, "Cannot recognize configType: "+configType) - } - return expectConfigVersion, curConfigVersion, configs -} - -func checkVersion(versionA string, versionB string) bool { - return versionA == versionB -} - -func checkConfigVersion(os upgradev1.OS, osInstance *upgradev1.OSInstance, - configType string) (values.ConfigOperation, error) { - nodeStatus := osInstance.Spec.NodeStatus - if nodeStatus == values.NodeStatusIdle.String() { - return values.DoNothing, nil - } - // check if os.spec.sysconfig/upgradeconfig.version is equal to - // osInstance.spec.sysconfig/upgradeconfig.version, - // if not configs may be changed during upgrading or configuring. - // 1、For upgradeconfig , refresh the node to enable the operator to - // reallocate upgrade tasks and obtain the latest config. - // 2、For sysconfig : - // When nodestatus=config, refresh the node to enable the operator to - // reallocate configuration tasks and obtain - // the latest config. - // When nodestatus=upgrade, OS reboot is complete, the configuration task cannot be delivered again. - // Therefore, the system obtains the latest version configuration and updates the osInstance.sysconfig file. - var osConfigVersion, osiConfigVersion string - switch configType { - case values.UpgradeConfigName: - osConfigVersion = os.Spec.UpgradeConfigs.Version - osiConfigVersion = osInstance.Spec.UpgradeConfigs.Version - if !checkVersion(osConfigVersion, osiConfigVersion) { - log.Info("os.spec.upgradeconfig version is not equals to osInstance.spec.upgradeconfig.version,", - "operation:", "reassgin upragde to get newest upgradeconfig") - return values.Reassign, nil - } - case values.SysConfigName: - osConfigVersion = os.Spec.SysConfigs.Version - osiConfigVersion = osInstance.Spec.SysConfigs.Version - if !checkVersion(osConfigVersion, osiConfigVersion) { - if nodeStatus == values.NodeStatusConfig.String() { - log.Info("os.spec.sysconfig version is not equals to osInstance.spec.sysconfig.version,", - "operation:", "reassgin config to get newest sysconfig") - return values.Reassign, nil - } - if nodeStatus == values.NodeStatusUpgrade.String() { - log.Info("os.spec.sysconfig version is not equals to osInstance.spec.sysconfig.version,", - "operation:", "update osInstance.spec.sysconfig and reconcile") - - return values.UpdateConfig, nil - } - } - default: - return "", fmt.Errorf("operation %s cannot be recognized", configType) - - } - return values.DoNothing, nil -} diff --git a/cmd/proxy/controllers/os_controller_test.go b/cmd/proxy/controllers/os_controller_test.go deleted file mode 100644 index 5e1194a6..00000000 --- a/cmd/proxy/controllers/os_controller_test.go +++ /dev/null @@ -1,1476 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -package controllers - -import ( - "context" - "encoding/json" - "fmt" - "reflect" - "testing" - "time" - - "github.com/agiledragon/gomonkey/v2" - "github.com/google/uuid" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - corev1 "k8s.io/api/core/v1" - v1 "k8s.io/api/core/v1" - apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/types" - "k8s.io/kubectl/pkg/drain" - - upgradev1 "openeuler.org/KubeOS/api/v1alpha1" - "openeuler.org/KubeOS/pkg/agentclient" - "openeuler.org/KubeOS/pkg/common" - "openeuler.org/KubeOS/pkg/values" -) - -var _ = Describe("OsController", func() { - const ( - OSName = "test-os" - timeout = time.Second * 20 - interval = time.Millisecond * 500 - ) - var testNamespace string - var node1Name string - - BeforeEach(func() { - var generatedTestNamespace = "test-namespace-" + uuid.New().String() - // Add any setup steps that needs to be executed before each test - desiredTestNamespace := &v1.Namespace{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Namespace", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: generatedTestNamespace, - }, - } - - err := k8sClient.Create(context.Background(), desiredTestNamespace) - Expect(err).ToNot(HaveOccurred()) - - existingNamespace := &v1.Namespace{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: generatedTestNamespace}, existingNamespace) - return err == nil - }, timeout, interval).Should(BeTrue()) - - testNamespace = existingNamespace.Name - }) - - AfterEach(func() { - // delete all OS CRs - osList := &upgradev1.OSList{} - err := k8sClient.List(context.Background(), osList) - Expect(err).ToNot(HaveOccurred()) - for _, os := range osList.Items { - k8sClient.Delete(context.Background(), &os) - } - osList = &upgradev1.OSList{} - Eventually(func() bool { - err = k8sClient.List(context.Background(), osList) - if err != nil || len(osList.Items) != 0 { - return false - } - return true - }, timeout, interval).Should(BeTrue()) - }) - - Context("When we want to rollback", func() { - It("Should be able to rollback to previous version", func() { - ctx := context.Background() - - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - values.LabelUpgrading: "", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v2", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - - By("Creating the corresponding OSInstance") - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusUpgrade.String(), - SysConfigs: upgradev1.SysConfigs{}, - UpgradeConfigs: upgradev1.SysConfigs{}, - }, - Status: upgradev1.OSInstanceStatus{}, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Spec.NodeStatus).Should(Equal(values.NodeStatusUpgrade.String())) - - // stub r.Connection.RollbackSpec() - patchRollback := gomonkey.ApplyMethodReturn(reconciler.Connection, "RollbackSpec", nil) - defer patchRollback.Reset() - patchConfigure := gomonkey.ApplyMethodReturn(reconciler.Connection, "ConfigureSpec", nil) - defer patchConfigure.Reset() - - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "rollback", - MaxUnavailable: 3, - OSVersion: "KubeOS v1", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - UpgradeConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v1")) - Expect(createdOS.Spec.OpsType).Should(Equal("rollback")) - - By("Changing the nodeinfo OSImage to previous version, pretending the rollback success") - existingNode = &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - existingNode.Status.NodeInfo.OSImage = "KubeOS v1" - Expect(k8sClient.Status().Update(ctx, existingNode)).Should(Succeed()) - - By("Changing the OS Spec config to trigger reconcile") - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - createdOSIns.Spec.SysConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, createdOSIns)).Should(Succeed()) - createdOS = &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - createdOS.Spec.SysConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, createdOS)).Should(Succeed()) - - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - // NodeStatus changes to idle then operator can reassign configs to this node - Expect(createdOSIns.Spec.NodeStatus).Should(Equal(values.NodeStatusIdle.String())) - existingNode = &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - _, ok := existingNode.Labels[values.LabelUpgrading] - Expect(ok).Should(Equal(false)) - }) - }) - - Context("When we have a sysconfig whose version is different from current OSInstance config version", func() { - It("Should configure the node", func() { - ctx := context.Background() - - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v1", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - var value1, value2 apiextensions.JSON - value1.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - By("Creating the corresponding OSInstance") - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusConfig.String(), - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - }, - Status: upgradev1.OSInstanceStatus{}, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.ObjectMeta.Name).Should(Equal(node1Name)) - - // stub r.Connection.ConfigureSpec() - patchConfigure := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "ConfigureSpec", func(_ *agentclient.Client, _ *agentclient.ConfigsInfo) error { - return nil - }) - defer patchConfigure.Reset() - - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "config", - MaxUnavailable: 3, - OSVersion: "KubeOS v1", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v1")) - - By("Checking the OSInstance status config version") - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - osInsCRLookupKey = types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Status.SysConfigs.Version).Should(Equal("v2")) - }) - }) - - Context("When we have a upgradeconfig whose version is different from current OSInstance config version", func() { - It("Should configure the node", func() { - ctx := context.Background() - - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - values.LabelUpgrading: "", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v1", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - - By("Creating the corresponding OSInstance") - var value1, value2 apiextensions.JSON - value1.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusUpgrade.String(), - SysConfigs: upgradev1.SysConfigs{}, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - }, - Status: upgradev1.OSInstanceStatus{}, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.ObjectMeta.Name).Should(Equal(node1Name)) - - // stub r.Connection.ConfigureSpec() - patchConfigure := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "ConfigureSpec", func(_ *agentclient.Client, _ *agentclient.ConfigsInfo) error { - return nil - }) - defer patchConfigure.Reset() - patchUpdate := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "UpdateSpec", func(_ *agentclient.Client, _ string, _ *agentclient.DownloadInfo) error { - return nil - }) - defer patchUpdate.Reset() - - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "upgrade", - MaxUnavailable: 3, - OSVersion: "KubeOS v2", - FlagSafe: true, - MTLS: false, - EvictPodForce: false, - SysConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v2")) - - By("Checking the OSInstance status config version") - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - osInsCRLookupKey = types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Status.UpgradeConfigs.Version).Should(Equal("v2")) - }) - }) - - Context("When the controller finds that there is no OSInstance", func() { - It("Should create the corresponding OSInstance", func() { - ctx := context.Background() - - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v1", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - - By("Creating a OS custom resource") - var value1, value2 apiextensions.JSON - value1.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "config", - MaxUnavailable: 3, - OSVersion: "KubeOS v1", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{ - Version: "v1", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v1")) - - By("Checking the existence of new OSInstance") - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Spec.NodeStatus).Should(Equal(values.NodeStatusIdle.String())) - hostname, ok := createdOSIns.ObjectMeta.Labels[values.LabelOSinstance] - Expect(ok).Should(BeTrue()) - Expect(hostname).Should(Equal(node1Name)) - }) - }) - - Context("When we change the sysconfig version back to previous one when stuck in errors", func() { - It("Should be able to rollback to previous config version to jump out of error state", func() { - ctx := context.Background() - - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v1", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - Expect(existingNode.Status.NodeInfo.OSImage).Should(Equal("KubeOS v1")) - - By("Creating the corresponding OSInstance") - var value1, value2 apiextensions.JSON - value1.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("b") - Expect(err).ToNot(HaveOccurred()) - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusConfig.String(), - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - }, - Status: upgradev1.OSInstanceStatus{SysConfigs: upgradev1.SysConfigs{Version: "v1"}}, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.ObjectMeta.Name).Should(Equal(node1Name)) - Expect(createdOSIns.Spec.SysConfigs.Version).Should(Equal("v2")) - createdOSIns.Status.SysConfigs.Version = "v1" - Expect(k8sClient.Status().Update(ctx, createdOSIns)).Should(Succeed()) - Expect(createdOSIns.Status.SysConfigs.Version).Should(Equal("v1")) - - // stub r.Connection.ConfigureSpec() - patchConfigure := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "ConfigureSpec", func(_ *agentclient.Client, _ *agentclient.ConfigsInfo) error { - return fmt.Errorf("configure error") - }) - defer patchConfigure.Reset() - - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "config", - MaxUnavailable: 3, - OSVersion: "KubeOS v1", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v1")) - - By("Checking the OSInstance status config version failed to be updated") - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - osInsCRLookupKey = types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Status.SysConfigs.Version).Should(Equal("v1")) - Expect(createdOSIns.Spec.SysConfigs.Version).Should(Equal("v2")) - - By("Changing the OS and OSi Spec config version to previous one") - OS.Spec.SysConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, OS)).Should(Succeed()) - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - createdOSIns.Spec.SysConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, createdOSIns)).Should(Succeed()) - - time.Sleep(2 * time.Second) // sleep a while to make sure Reconcile finished - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - // NodeStatus changes to idle then operator can reassign configs to this node - Expect(createdOSIns.Spec.NodeStatus).Should(Equal(values.NodeStatusIdle.String())) - }) - }) - - Context("When we change the upgradeconfig version back to previous one when stuck in errors", func() { - It("Should be able to rollback to previous config version to jump out of error state", func() { - ctx := context.Background() - - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - values.LabelUpgrading: "", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v1", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - - By("Creating the corresponding OSInstance") - var value1, value2 apiextensions.JSON - value1.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("b") - Expect(err).ToNot(HaveOccurred()) - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusUpgrade.String(), - SysConfigs: upgradev1.SysConfigs{}, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - }, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.ObjectMeta.Name).Should(Equal(node1Name)) - createdOSIns.Status.UpgradeConfigs.Version = "v1" - Expect(k8sClient.Status().Update(ctx, createdOSIns)).Should(Succeed()) - Expect(createdOSIns.Status.UpgradeConfigs.Version).Should(Equal("v1")) - - // stub r.Connection.ConfigureSpec() - patchConfigure := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "ConfigureSpec", func(_ *agentclient.Client, _ *agentclient.ConfigsInfo) error { - return fmt.Errorf("configure error") - }) - defer patchConfigure.Reset() - patchUpdate := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "UpdateSpec", func(_ *agentclient.Client, _ string, _ *agentclient.DownloadInfo) error { - return nil - }) - defer patchUpdate.Reset() - - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "upgrade", - MaxUnavailable: 3, - OSVersion: "KubeOS v2", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{Configs: []upgradev1.SysConfig{}}, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v2")) - - By("Checking the OSInstance status config version failed to be updated") - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - osInsCRLookupKey = types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Status.UpgradeConfigs.Version).Should(Equal("v1")) - Expect(createdOSIns.Spec.UpgradeConfigs.Version).Should(Equal("v2")) - - By("Changing the OS Spec config version to previous one") - OS.Spec.UpgradeConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, OS)).Should(Succeed()) - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - - osInsCRLookupKey = types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - createdOSIns.Spec.UpgradeConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, createdOSIns)).Should(Succeed()) - - // NodeStatus changes to idle then operator can reassign configs to this node - Expect(createdOSIns.Spec.NodeStatus).Should(Equal(values.NodeStatusIdle.String())) - existingNode = &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - _, ok := existingNode.Labels[values.LabelUpgrading] - Expect(ok).Should(Equal(false)) - }) - }) - - Context("When we complete upgradeconfig, but sysconfig raises error", func() { - It("Should be able to rollback to previous config version to jump out of error state", func() { - ctx := context.Background() - - node1Name = "test-node-" + uuid.New().String() - var value1, value2, value3, value4 apiextensions.JSON - value1Raw, err := json.Marshal("c") - value1.Raw = value1Raw - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("d") - Expect(err).ToNot(HaveOccurred()) - value3.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value4.Raw, err = json.Marshal("b") - Expect(err).ToNot(HaveOccurred()) - By("Creating the corresponding OSInstance") - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusUpgrade.String(), - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value3}, - {Key: "key2", Value: value4}, - }, - }, - }, - }, - }, - Status: upgradev1.OSInstanceStatus{}, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.ObjectMeta.Name).Should(Equal(node1Name)) - createdOSIns.Status.UpgradeConfigs = upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value3}, - {Key: "key2", Value: value4}, - }, - }, - }, - } - createdOSIns.Status.SysConfigs.Version = "v1" - Expect(k8sClient.Status().Update(ctx, createdOSIns)).Should(Succeed()) - Expect(createdOSIns.Status.UpgradeConfigs.Version).Should(Equal("v2")) - Expect(createdOSIns.Status.SysConfigs.Version).Should(Equal("v1")) - - By("Creating a worker node") - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - values.LabelUpgrading: "", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v2", - }, - }, - } - err = k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - - // stub r.Connection.ConfigureSpec() - patchConfigure := gomonkey.ApplyMethod(reflect.TypeOf(reconciler.Connection), - "ConfigureSpec", func(_ *agentclient.Client, _ *agentclient.ConfigsInfo) error { - return fmt.Errorf("configure error") - }) - defer patchConfigure.Reset() - - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "upgrade", - MaxUnavailable: 3, - OSVersion: "KubeOS v2", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value3}, - {Key: "key2", Value: value4}, - }, - }, - }, - }, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v2")) - - By("Checking the OSInstance status config version failed to be updated") - time.Sleep(1 * time.Second) // sleep a while to make sure Reconcile finished - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.Status.SysConfigs.Version).Should(Equal("v1")) - Expect(createdOSIns.Spec.SysConfigs.Version).Should(Equal("v2")) - - By("Changing the OS Spec config version to previous one") - createdOS = &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - createdOS.Spec.SysConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, createdOS)).Should(Succeed()) - getOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, getOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - getOSIns.Spec.SysConfigs = upgradev1.SysConfigs{Version: "v1", Configs: []upgradev1.SysConfig{}} - Expect(k8sClient.Update(ctx, getOSIns)).Should(Succeed()) - - time.Sleep(2 * time.Second) // sleep a while to make sure Reconcile finished - createdOSIns = &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - // NodeStatus changes to idle then operator can reassign configs to this node - Expect(createdOSIns.Spec.NodeStatus).Should(Equal(values.NodeStatusIdle.String())) - Expect(createdOSIns.Spec.SysConfigs.Version).Should(Equal("v1")) - existingNode = &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - _, ok := existingNode.Labels[values.LabelUpgrading] - Expect(ok).Should(Equal(false)) - }) - }) - - Context("When node has upgrade label but osinstance.spec.nodestatus is idle", func() { - It("Should be able to refresh node and wait operator reassgin upgrade", func() { - ctx := context.Background() - By("Creating a worker node") - node1Name = "test-node-" + uuid.New().String() - node1 := &v1.Node{ - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - "beta.kubernetes.io/os": "linux", - values.LabelUpgrading: "", - }, - }, - TypeMeta: metav1.TypeMeta{ - APIVersion: "v1", - Kind: "Node", - }, - Status: v1.NodeStatus{ - NodeInfo: v1.NodeSystemInfo{ - OSImage: "KubeOS v2", - }, - }, - } - err := k8sClient.Create(ctx, node1) - Expect(err).ToNot(HaveOccurred()) - existingNode := &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - reconciler.hostName = node1Name - - By("Creating the corresponding OSInstance") - OSIns := &upgradev1.OSInstance{ - TypeMeta: metav1.TypeMeta{ - Kind: "OSInstance", - APIVersion: "upgrade.openeuler.org/v1alpha1", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: node1Name, - Namespace: testNamespace, - Labels: map[string]string{ - values.LabelOSinstance: node1Name, - }, - }, - Spec: upgradev1.OSInstanceSpec{ - NodeStatus: values.NodeStatusIdle.String(), - }, - Status: upgradev1.OSInstanceStatus{}, - } - Expect(k8sClient.Create(ctx, OSIns)).Should(Succeed()) - - // Check that the corresponding OSIns CR has been created - osInsCRLookupKey := types.NamespacedName{Name: node1Name, Namespace: testNamespace} - createdOSIns := &upgradev1.OSInstance{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osInsCRLookupKey, createdOSIns) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOSIns.ObjectMeta.Name).Should(Equal(node1Name)) - - var value1, value2, value3, value4 apiextensions.JSON - value1Raw, err := json.Marshal("c") - value1.Raw = value1Raw - Expect(err).ToNot(HaveOccurred()) - value2.Raw, err = json.Marshal("d") - Expect(err).ToNot(HaveOccurred()) - value3.Raw, err = json.Marshal("a") - Expect(err).ToNot(HaveOccurred()) - value4.Raw, err = json.Marshal("b") - Expect(err).ToNot(HaveOccurred()) - By("Creating a OS custom resource") - OS := &upgradev1.OS{ - TypeMeta: metav1.TypeMeta{ - APIVersion: "upgrade.openeuler.org/v1alpha1", - Kind: "OS", - }, - ObjectMeta: metav1.ObjectMeta{ - Name: OSName, - Namespace: testNamespace, - }, - Spec: upgradev1.OSSpec{ - OpsType: "upgrade", - MaxUnavailable: 3, - OSVersion: "KubeOS v2", - FlagSafe: true, - MTLS: false, - EvictPodForce: true, - SysConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value1}, - {Key: "key2", Value: value2}, - }, - }, - }, - }, - UpgradeConfigs: upgradev1.SysConfigs{ - Version: "v2", - Configs: []upgradev1.SysConfig{ - { - Model: "kernel.sysctl", - Contents: []upgradev1.Content{ - {Key: "key1", Value: value3}, - {Key: "key2", Value: value4}, - }, - }, - }, - }, - }, - } - Expect(k8sClient.Create(ctx, OS)).Should(Succeed()) - osCRLookupKey := types.NamespacedName{Name: OSName, Namespace: testNamespace} - createdOS := &upgradev1.OS{} - Eventually(func() bool { - err := k8sClient.Get(ctx, osCRLookupKey, createdOS) - return err == nil - }, timeout, interval).Should(BeTrue()) - Expect(createdOS.Spec.OSVersion).Should(Equal("KubeOS v2")) - - time.Sleep(2 * time.Second) // sleep a while to make sure Reconcile finished - existingNode = &v1.Node{} - Eventually(func() bool { - err := k8sClient.Get(context.Background(), - types.NamespacedName{Name: node1Name, Namespace: testNamespace}, existingNode) - return err == nil - }, timeout, interval).Should(BeTrue()) - _, ok := existingNode.Labels[values.LabelUpgrading] - Expect(ok).Should(Equal(false)) - }) - }) -}) - -func Test_evictNode(t *testing.T) { - type args struct { - drainer *drain.Helper - node *corev1.Node - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "node unschedulable", - args: args{ - drainer: &drain.Helper{}, - node: &corev1.Node{Spec: v1.NodeSpec{Unschedulable: true}}, - }, - wantErr: false, - }, - { - name: "runCordonError1", - args: args{ - drainer: &drain.Helper{}, - node: &corev1.Node{}, - }, - wantErr: true, - }, - { - name: "runNodeDrainError", - args: args{ - drainer: &drain.Helper{}, - node: &corev1.Node{}, - }, - wantErr: true, - }, - { - name: "runUncordonError2", - args: args{ - drainer: &drain.Helper{}, - node: &corev1.Node{}, - }, - wantErr: true, - }, - } - patchRunCordon := gomonkey.ApplyFuncSeq(drain.RunCordonOrUncordon, []gomonkey.OutputCell{ - {Values: gomonkey.Params{fmt.Errorf("cordon error")}}, - {Values: gomonkey.Params{nil}}, - {Values: gomonkey.Params{fmt.Errorf("cordon error")}}, - {Values: gomonkey.Params{nil}}, - {Values: gomonkey.Params{nil}}, - }) - defer patchRunCordon.Reset() - patchRunNodeDrain := gomonkey.ApplyFuncSeq(drain.RunNodeDrain, []gomonkey.OutputCell{ - {Values: gomonkey.Params{fmt.Errorf("node drain error")}}, - {Values: gomonkey.Params{fmt.Errorf("node drain error")}}, - }) - defer patchRunNodeDrain.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := evictNode(tt.args.drainer, tt.args.node); (err != nil) != tt.wantErr { - t.Errorf("evictNode() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_updateConfigStatus(t *testing.T) { - type args struct { - ctx context.Context - r common.ReadStatusWriter - osInstance *upgradev1.OSInstance - configType string - } - tests := []struct { - name string - args args - wantErr bool - }{ - { - name: "invalid config type", - args: args{ - ctx: context.Background(), - r: &OSReconciler{}, - osInstance: &upgradev1.OSInstance{}, - configType: "invalid", - }, - wantErr: true, - }, - } - patchUpdate := gomonkey.ApplyMethodReturn(&OSReconciler{}, "Update", fmt.Errorf("update error")) - patchStatus := gomonkey.ApplyMethodReturn(&OSReconciler{}, "Status", &OSReconciler{}) - defer patchUpdate.Reset() - defer patchStatus.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if err := updateConfigStatus(tt.args.ctx, tt.args.r, tt.args.osInstance, tt.args.configType); (err != nil) != tt.wantErr { - t.Errorf("updateConfigStatus() error = %v, wantErr %v", err, tt.wantErr) - } - }) - } -} - -func Test_getOSAndNodeStatus(t *testing.T) { - type args struct { - ctx context.Context - r common.ReadStatusWriter - name types.NamespacedName - hostName string - } - tests := []struct { - name string - args args - wantOS upgradev1.OS - wantNode corev1.Node - }{ - { - name: "get node error", - args: args{ - ctx: context.Background(), - r: &OSReconciler{}, - name: types.NamespacedName{}, - hostName: "test-node", - }, - wantOS: upgradev1.OS{}, - wantNode: corev1.Node{}, - }, - } - patchGet := gomonkey.ApplyMethodSeq(&OSReconciler{}, "Get", []gomonkey.OutputCell{ - {Values: gomonkey.Params{nil}}, - {Values: gomonkey.Params{fmt.Errorf("get node error")}}, - }) - defer patchGet.Reset() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - gotOS, gotNode := getOSAndNodeStatus(tt.args.ctx, tt.args.r, tt.args.name, tt.args.hostName) - if !reflect.DeepEqual(gotOS, tt.wantOS) { - t.Errorf("getOSAndNodeStatus() gotOS = %v, want %v", gotOS, tt.wantOS) - } - if !reflect.DeepEqual(gotNode, tt.wantNode) { - t.Errorf("getOSAndNodeStatus() gotNode = %v, want %v", gotNode, tt.wantNode) - } - }) - } -} diff --git a/cmd/proxy/controllers/suite_test.go b/cmd/proxy/controllers/suite_test.go deleted file mode 100644 index 767fe955..00000000 --- a/cmd/proxy/controllers/suite_test.go +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -package controllers - -import ( - "context" - "path/filepath" - "testing" - "time" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - zaplogfmt "github.com/sykesm/zap-logfmt" - uzap "go.uber.org/zap" - "go.uber.org/zap/zapcore" - "k8s.io/client-go/kubernetes/scheme" - "k8s.io/client-go/rest" - ctrl "sigs.k8s.io/controller-runtime" - "sigs.k8s.io/controller-runtime/pkg/client" - "sigs.k8s.io/controller-runtime/pkg/envtest" - logf "sigs.k8s.io/controller-runtime/pkg/log" - "sigs.k8s.io/controller-runtime/pkg/log/zap" - - upgradev1 "openeuler.org/KubeOS/api/v1alpha1" - "openeuler.org/KubeOS/pkg/agentclient" - //+kubebuilder:scaffold:imports -) - -var ( - cfg *rest.Config - k8sClient client.Client // You'll be using this client in your tests. - testEnv *envtest.Environment - ctx context.Context - cancel context.CancelFunc - reconciler *OSReconciler -) - -func TestAPIs(t *testing.T) { - RegisterFailHandler(Fail) - - RunSpecs(t, "Controller Suite") -} - -var _ = BeforeSuite(func() { - configLog := uzap.NewProductionEncoderConfig() - configLog.EncodeTime = func(ts time.Time, encoder zapcore.PrimitiveArrayEncoder) { - encoder.AppendString(ts.UTC().Format(time.RFC3339Nano)) - } - logfmtEncoder := zaplogfmt.NewEncoder(configLog) - logf.SetLogger(zap.New(zap.WriteTo(GinkgoWriter), zap.UseDevMode(true), zap.Encoder(logfmtEncoder))) - ctx, cancel = context.WithCancel(context.TODO()) - - By("bootstrapping test environment") - testEnv = &envtest.Environment{ - CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "docs", "example", "config", "crd")}, - ErrorIfCRDPathMissing: true, - } - - var err error - // cfg is defined in this file globally. - cfg, err = testEnv.Start() - Expect(err).NotTo(HaveOccurred()) - Expect(cfg).NotTo(BeNil()) - - err = upgradev1.AddToScheme(scheme.Scheme) - Expect(err).NotTo(HaveOccurred()) - - //+kubebuilder:scaffold:scheme - - k8sClient, err = client.New(cfg, client.Options{Scheme: scheme.Scheme}) - Expect(err).NotTo(HaveOccurred()) - Expect(k8sClient).NotTo(BeNil()) - - k8sManager, err := ctrl.NewManager(cfg, ctrl.Options{ - Scheme: scheme.Scheme, - }) - Expect(err).ToNot(HaveOccurred()) - - reconciler = NewOSReconciler(k8sManager) - reconciler.Connection = &agentclient.Client{} - reconciler.Client = k8sClient - err = reconciler.SetupWithManager(k8sManager) - Expect(err).ToNot(HaveOccurred()) - - go func() { - defer GinkgoRecover() - err = k8sManager.Start(ctx) - Expect(err).ToNot(HaveOccurred(), "failed to run manager") - }() - - k8sClient = k8sManager.GetClient() - Expect(k8sClient).ToNot(BeNil()) -}) - -var _ = AfterSuite(func() { - cancel() - By("tearing down the test environment") - err := testEnv.Stop() - Expect(err).NotTo(HaveOccurred()) -}) diff --git a/cmd/proxy/main.go b/cmd/proxy/main.go deleted file mode 100644 index e606083a..00000000 --- a/cmd/proxy/main.go +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -package main - -import ( - "os" - "path/filepath" - "time" - - zaplogfmt "github.com/sykesm/zap-logfmt" - uzap "go.uber.org/zap" - "go.uber.org/zap/zapcore" - "k8s.io/apimachinery/pkg/runtime" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" - clientgoscheme "k8s.io/client-go/kubernetes/scheme" - _ "k8s.io/client-go/plugin/pkg/client/auth" - ctrl "sigs.k8s.io/controller-runtime" - "sigs.k8s.io/controller-runtime/pkg/log/zap" - - upgradev1 "openeuler.org/KubeOS/api/v1alpha1" - "openeuler.org/KubeOS/cmd/agent/server" - "openeuler.org/KubeOS/cmd/proxy/controllers" - "openeuler.org/KubeOS/pkg/agentclient" - "openeuler.org/KubeOS/pkg/common" - "openeuler.org/KubeOS/pkg/version" - //+kubebuilder:scaffold:imports -) - -var ( - scheme = runtime.NewScheme() - setupLog = ctrl.Log.WithName("setup") -) - -func init() { - utilruntime.Must(clientgoscheme.AddToScheme(scheme)) - - utilruntime.Must(upgradev1.AddToScheme(scheme)) - //+kubebuilder:scaffold:scheme -} - -func main() { - configLog := uzap.NewProductionEncoderConfig() - configLog.EncodeTime = func(ts time.Time, encoder zapcore.PrimitiveArrayEncoder) { - encoder.AppendString(ts.UTC().Format(time.RFC3339Nano)) - } - logfmtEncoder := zaplogfmt.NewEncoder(configLog) - logger := zap.New(zap.UseDevMode(true), zap.WriteTo(os.Stdout), zap.Encoder(logfmtEncoder)) - ctrl.SetLogger(logger) - - var err error - mgr, err := common.NewControllerManager(setupLog, scheme) - if err != nil { - setupLog.Error(err, "unable to start manager") - os.Exit(1) - } - - reconciler := controllers.NewOSReconciler(mgr) - if reconciler.Connection, err = agentclient.New("unix://" + filepath.Join(server.SockDir, server.SockName)); err != nil { - setupLog.Error(err, "Error running proxy") - } - - if err = reconciler.SetupWithManager(mgr); err != nil { - setupLog.Error(err, "unable to create controller", "controller", "OS") - os.Exit(1) - } - - //+kubebuilder:scaffold:builder - setupLog.WithValues("version", version.Version).Info("starting proxy manager") - if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil { - setupLog.Error(err, "problem running proxy manager") - os.Exit(1) - } -} diff --git a/go.mod b/go.mod index e2f3be34..5db181dd 100644 --- a/go.mod +++ b/go.mod @@ -11,38 +11,30 @@ require ( github.com/sirupsen/logrus v1.8.1 github.com/sykesm/zap-logfmt v0.0.4 go.uber.org/zap v1.19.1 - google.golang.org/grpc v1.49.0 - google.golang.org/protobuf v1.28.1 k8s.io/api v0.24.0 k8s.io/apiextensions-apiserver v0.24.0 k8s.io/apimachinery v0.24.0 k8s.io/client-go v0.24.0 - k8s.io/kubectl v0.24.0 sigs.k8s.io/controller-runtime v0.11.2 ) require ( cloud.google.com/go v0.81.0 // indirect - github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.18 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.13 // indirect github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd // indirect github.com/PuerkitoBio/purell v1.1.1 // indirect github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect - github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful v2.9.5+incompatible // indirect github.com/evanphx/json-patch v4.12.0+incompatible // indirect - github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect github.com/fsnotify/fsnotify v1.5.1 // indirect - github.com/go-errors/errors v1.0.1 // indirect github.com/go-logr/zapr v1.2.0 // indirect github.com/go-openapi/jsonpointer v0.19.5 // indirect github.com/go-openapi/jsonreference v0.19.5 // indirect @@ -50,39 +42,23 @@ require ( github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/google/btree v1.0.1 // indirect github.com/google/gnostic v0.5.7-v3refs // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/gofuzz v1.1.0 // indirect - github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect - github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect github.com/imdario/mergo v0.3.12 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect github.com/mailru/easyjson v0.7.6 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect - github.com/mitchellh/go-wordwrap v1.0.0 // indirect - github.com/moby/spdystream v0.2.0 // indirect - github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect github.com/prometheus/client_golang v1.12.1 // indirect github.com/prometheus/client_model v0.2.0 // indirect github.com/prometheus/common v0.32.1 // indirect github.com/prometheus/procfs v0.7.3 // indirect - github.com/russross/blackfriday v1.5.2 // indirect - github.com/spf13/cobra v1.4.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.7.0 // indirect - github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca // indirect - go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect go.uber.org/atomic v1.7.0 // indirect go.uber.org/multierr v1.6.0 // indirect golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect @@ -94,18 +70,15 @@ require ( golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 // indirect + google.golang.org/protobuf v1.28.1 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/cli-runtime v0.24.0 // indirect k8s.io/component-base v0.24.0 // indirect k8s.io/klog/v2 v2.60.1 // indirect k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect - sigs.k8s.io/kustomize/api v0.11.4 // indirect - sigs.k8s.io/kustomize/kyaml v0.13.6 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) diff --git a/go.sum b/go.sum index 27e3782f..d3952def 100644 --- a/go.sum +++ b/go.sum @@ -39,7 +39,6 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= @@ -57,8 +56,6 @@ github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUM github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd h1:sjQovDkwrZp8u+gxLtPgKGjk5hCxuy2hrRejBTA9xFU= -github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod h1:64YHyfSL2R96J44Nlwm39UHepQbyR5q10x7iYa1ks2E= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -78,7 +75,6 @@ github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.m github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= @@ -101,8 +97,6 @@ github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghf github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5 h1:7aWHqerlJ41y6FOsEUvknqgXnGmJyJSbjhAWq5pO4F8= -github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5/go.mod h1:/iP1qXHoty45bqomnu2LM+VVyAEdWN+vtSHGlQgyxbw= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -110,11 +104,7 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= @@ -128,18 +118,14 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd/go.mod h1:dv4zxwHi5C/8AeI+4gX4dCWOIvNi7I6JCSX0HvlKPgE= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 h1:yUdfgN0XgIJw7foRItutHYUIhlcKzcSf5vDpdhQAKTc= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk= @@ -151,15 +137,10 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= -github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d h1:105gxyaGwCFad8crR9dcMQWvV9Hvulu6hwUh4tWPJnM= -github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4= -github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= @@ -169,12 +150,9 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= -github.com/fvbommel/sortorder v1.0.1/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0= github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w= -github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -243,10 +221,8 @@ github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e/go.mod h1:0AA//k/eakGydO4jKRoRL2j92ZKSzTgj9tclaCrvXHk= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/cel-go v0.9.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= github.com/google/cel-go v0.10.1/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= @@ -264,7 +240,6 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= @@ -287,9 +262,6 @@ github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= @@ -299,7 +271,6 @@ github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97Dwqy github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 h1:pdN6V1QBWetyv/0+wjACpqVH+eVULgEjkurDLq3goeM= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= @@ -332,7 +303,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1: github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -364,19 +334,14 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= -github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= -github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= @@ -385,17 +350,13 @@ github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceT github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= -github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= @@ -404,8 +365,6 @@ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lN github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= @@ -418,7 +377,6 @@ github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= @@ -436,12 +394,10 @@ github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAl github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/onsi/gomega v1.20.0 h1:8W0cWlwFkflGPLltQvLRB7ZVD5HuP6ng320w2IS245Q= github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -483,14 +439,10 @@ github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40T github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -510,11 +462,9 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= -github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= @@ -523,8 +473,6 @@ github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -538,8 +486,6 @@ github.com/sykesm/zap-logfmt v0.0.4/go.mod h1:AuBd9xQjAe3URrWT1BBDk2v2onAZHkZkWR github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca h1:1CFlNzQhALwjS9mBAUkycX616GzgsuYUOCHA5+HSlXI= -github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -579,8 +525,6 @@ go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 h1:+FNtrFTmVw0YZGpBGX56XDee331t6JAXeK2bcyhLOOc= -go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= @@ -755,7 +699,6 @@ golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191002063906-3421d5a6bb1c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -985,7 +928,6 @@ google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 h1:Et6SkiuvnBn+SgrSYXs/BrUpGB4mbdwt4R3vaPIlicA= google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -1009,8 +951,6 @@ google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= -google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1060,7 +1000,6 @@ gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1080,8 +1019,6 @@ k8s.io/apimachinery v0.24.0 h1:ydFCyC/DjCvFCHK5OPMKBlxayQytB8pxy8YQInd5UyQ= k8s.io/apimachinery v0.24.0/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= k8s.io/apiserver v0.23.5/go.mod h1:7wvMtGJ42VRxzgVI7jkbKvMbuCbVbgsWFT7RyXiRNTw= k8s.io/apiserver v0.24.0/go.mod h1:WFx2yiOMawnogNToVvUYT9nn1jaIkMKj41ZYCVycsBA= -k8s.io/cli-runtime v0.24.0 h1:ot3Qf49T852uEyNApABO1UHHpFIckKK/NqpheZYN2gM= -k8s.io/cli-runtime v0.24.0/go.mod h1:9XxoZDsEkRFUThnwqNviqzljtT/LdHtNWvcNFrAXl0A= k8s.io/client-go v0.23.5/go.mod h1:flkeinTO1CirYgzMPRWxUCnV0G4Fbu2vLhYCObnt/r4= k8s.io/client-go v0.24.0 h1:lbE4aB1gTHvYFSwm6eD3OF14NhFDKCejlnsGYlSJe5U= k8s.io/client-go v0.24.0/go.mod h1:VFPQET+cAFpYxh6Bq6f4xyMY80G6jKKktU6G0m00VDw= @@ -1090,8 +1027,6 @@ k8s.io/code-generator v0.24.0/go.mod h1:dpVhs00hTuTdTY6jvVxvTFCk6gSMrtfRydbhZwHI k8s.io/component-base v0.23.5/go.mod h1:c5Nq44KZyt1aLl0IpHX82fhsn84Sb0jjzwjpcA42bY0= k8s.io/component-base v0.24.0 h1:h5jieHZQoHrY/lHG+HyrSbJeyfuitheBvqvKwKHVC0g= k8s.io/component-base v0.24.0/go.mod h1:Dgazgon0i7KYUsS8krG8muGiMVtUZxG037l1MKyXgrA= -k8s.io/component-helpers v0.24.0/go.mod h1:Q2SlLm4h6g6lPTC9GMMfzdywfLSvJT2f1hOnnjaWD8c= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/gengo v0.0.0-20211129171323-c02415ce4185/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= @@ -1099,13 +1034,9 @@ k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/klog/v2 v2.60.1 h1:VW25q3bZx9uE3vvdL6M8ezOX79vA2Aq1nEWLqNQclHc= k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 h1:Gii5eqf+GmIEwGNKQYQClCayuJCe2/4fZUvF7VG99sU= k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= -k8s.io/kubectl v0.24.0 h1:nA+WtMLVdXUs4wLogGd1mPTAesnLdBpCVgCmz3I7dXo= -k8s.io/kubectl v0.24.0/go.mod h1:pdXkmCyHiRTqjYfyUJiXtbVNURhv0/Q1TyRhy2d5ic0= -k8s.io/metrics v0.24.0/go.mod h1:jrLlFGdKl3X+szubOXPG0Lf2aVxuV3QJcbsgVRAM6fI= k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= @@ -1119,12 +1050,6 @@ sigs.k8s.io/controller-runtime v0.11.2/go.mod h1:P6QCzrEjLaZGqHsfd+os7JQ+WFZhvB8 sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/kustomize/api v0.11.4 h1:/0Mr3kfBBNcNPOW5Qwk/3eb8zkswCwnqQxxKtmrTkRo= -sigs.k8s.io/kustomize/api v0.11.4/go.mod h1:k+8RsqYbgpkIrJ4p9jcdPqe8DprLxFUUO0yNOq8C+xI= -sigs.k8s.io/kustomize/cmd/config v0.10.6/go.mod h1:/S4A4nUANUa4bZJ/Edt7ZQTyKOY9WCER0uBS1SW2Rco= -sigs.k8s.io/kustomize/kustomize/v4 v4.5.4/go.mod h1:Zo/Xc5FKD6sHl0lilbrieeGeZHVYCA4BzxeAaLI05Bg= -sigs.k8s.io/kustomize/kyaml v0.13.6 h1:eF+wsn4J7GOAXlvajv6OknSunxpcOBQQqsnPxObtkGs= -sigs.k8s.io/kustomize/kyaml v0.13.6/go.mod h1:yHP031rn1QX1lr/Xd934Ri/xdVNG8BE2ECa78Ht/kEg= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= diff --git a/pkg/agentclient/connection.go b/pkg/agentclient/connection.go deleted file mode 100644 index 9964c892..00000000 --- a/pkg/agentclient/connection.go +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved. - * KubeOS is licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - */ - -// Package agentclient connection between agent and server -package agentclient - -import ( - "context" - "fmt" - "time" - - "google.golang.org/grpc" - "google.golang.org/grpc/backoff" - "google.golang.org/protobuf/types/known/structpb" - - pb "openeuler.org/KubeOS/cmd/agent/api" -) - -// Client defines the client stub for OS service -type Client struct { - sockAddr string - client pb.OSClient -} - -// DownloadInfo contains the information required for image download -type DownloadInfo struct { - ImageURL string - FlagSafe bool - CheckSum string - CaCert string - ClientCert string - ClientKey string - MTLS bool - ImageType string - ContainerImage string -} - -// ConfigsInfo contains the information required for settings -type ConfigsInfo struct { - Configs []SysConfig -} - -// SysConfig contains configuration parameters of a type -type SysConfig struct { - Model string - ConfigPath string - Contents map[string]KeyInfo -} - -// KeyInfo contains value and operation (i.e. delete, update or add) of a given key for configuration -type KeyInfo struct { - Value interface{} - Operation string -} - -// New create a gRPC channel to communicate with the server and return a client stub to perform RPCs -func New(sockAddr string) (*Client, error) { - if sockAddr == "" { - return nil, fmt.Errorf("sock addr is empty") - } - - defaultTimeout := 3 * time.Second - ctx, cancel := context.WithTimeout(context.Background(), defaultTimeout) - defer cancel() - - bc := backoff.DefaultConfig - bc.MaxDelay = defaultTimeout - conn, err := grpc.DialContext(ctx, sockAddr, grpc.WithInsecure(), grpc.WithBlock(), - grpc.WithConnectParams(grpc.ConnectParams{Backoff: bc})) - if err != nil { - return nil, err - } - return &Client{sockAddr: sockAddr, client: pb.NewOSClient(conn)}, nil -} - -// UpdateSpec send update requests to the server in os-agent -func (c *Client) UpdateSpec(version string, downloadInfo *DownloadInfo) error { - certs := &pb.CertsInfo{ - CaCaert: downloadInfo.CaCert, - ClientCert: downloadInfo.ClientCert, - ClientKey: downloadInfo.ClientKey, - } - _, err := c.client.Update(context.Background(), - &pb.UpdateRequest{ - Version: version, - ImageUrl: downloadInfo.ImageURL, - FlagSafe: downloadInfo.FlagSafe, - CheckSum: downloadInfo.CheckSum, - MTLS: downloadInfo.MTLS, - Certs: certs, - ImageType: downloadInfo.ImageType, - ContainerImage: downloadInfo.ContainerImage, - }) - return err -} - -// RollbackSpec send rollback requests to the server in os-agent -func (c *Client) RollbackSpec() error { - _, err := c.client.Rollback(context.Background(), &pb.RollbackRequest{}) - return err -} - -// ConfigureSpec send configure requests to the server in os-agent -func (c *Client) ConfigureSpec(configsInfo *ConfigsInfo) error { - var sysConfigs []*pb.SysConfig - configs := configsInfo.Configs - for _, config := range configs { - sysConfig := &pb.SysConfig{ - Model: config.Model, - ConfigPath: config.ConfigPath, - } - sysContents := make(map[string]*pb.KeyInfo) - for configName, content := range config.Contents { - structValue, err := structpb.NewValue(content.Value) - if err != nil { - return err - } - sysContents[configName] = &pb.KeyInfo{ - Value: structValue.GetStructValue(), - Operation: content.Operation, - } - } - sysConfig.Contents = sysContents - sysConfigs = append(sysConfigs, sysConfig) - } - _, err := c.client.Configure(context.Background(), &pb.ConfigureRequest{Configs: sysConfigs}) - return err -} diff --git a/vendor/github.com/Azure/go-ansiterm/LICENSE b/vendor/github.com/Azure/go-ansiterm/LICENSE deleted file mode 100644 index e3d9a64d..00000000 --- a/vendor/github.com/Azure/go-ansiterm/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Microsoft Corporation - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/Azure/go-ansiterm/README.md b/vendor/github.com/Azure/go-ansiterm/README.md deleted file mode 100644 index 261c041e..00000000 --- a/vendor/github.com/Azure/go-ansiterm/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# go-ansiterm - -This is a cross platform Ansi Terminal Emulation library. It reads a stream of Ansi characters and produces the appropriate function calls. The results of the function calls are platform dependent. - -For example the parser might receive "ESC, [, A" as a stream of three characters. This is the code for Cursor Up (http://www.vt100.net/docs/vt510-rm/CUU). The parser then calls the cursor up function (CUU()) on an event handler. The event handler determines what platform specific work must be done to cause the cursor to move up one position. - -The parser (parser.go) is a partial implementation of this state machine (http://vt100.net/emu/vt500_parser.png). There are also two event handler implementations, one for tests (test_event_handler.go) to validate that the expected events are being produced and called, the other is a Windows implementation (winterm/win_event_handler.go). - -See parser_test.go for examples exercising the state machine and generating appropriate function calls. - ------ -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/vendor/github.com/Azure/go-ansiterm/constants.go b/vendor/github.com/Azure/go-ansiterm/constants.go deleted file mode 100644 index 96504a33..00000000 --- a/vendor/github.com/Azure/go-ansiterm/constants.go +++ /dev/null @@ -1,188 +0,0 @@ -package ansiterm - -const LogEnv = "DEBUG_TERMINAL" - -// ANSI constants -// References: -// -- http://www.ecma-international.org/publications/standards/Ecma-048.htm -// -- http://man7.org/linux/man-pages/man4/console_codes.4.html -// -- http://manpages.ubuntu.com/manpages/intrepid/man4/console_codes.4.html -// -- http://en.wikipedia.org/wiki/ANSI_escape_code -// -- http://vt100.net/emu/dec_ansi_parser -// -- http://vt100.net/emu/vt500_parser.svg -// -- http://invisible-island.net/xterm/ctlseqs/ctlseqs.html -// -- http://www.inwap.com/pdp10/ansicode.txt -const ( - // ECMA-48 Set Graphics Rendition - // Note: - // -- Constants leading with an underscore (e.g., _ANSI_xxx) are unsupported or reserved - // -- Fonts could possibly be supported via SetCurrentConsoleFontEx - // -- Windows does not expose the per-window cursor (i.e., caret) blink times - ANSI_SGR_RESET = 0 - ANSI_SGR_BOLD = 1 - ANSI_SGR_DIM = 2 - _ANSI_SGR_ITALIC = 3 - ANSI_SGR_UNDERLINE = 4 - _ANSI_SGR_BLINKSLOW = 5 - _ANSI_SGR_BLINKFAST = 6 - ANSI_SGR_REVERSE = 7 - _ANSI_SGR_INVISIBLE = 8 - _ANSI_SGR_LINETHROUGH = 9 - _ANSI_SGR_FONT_00 = 10 - _ANSI_SGR_FONT_01 = 11 - _ANSI_SGR_FONT_02 = 12 - _ANSI_SGR_FONT_03 = 13 - _ANSI_SGR_FONT_04 = 14 - _ANSI_SGR_FONT_05 = 15 - _ANSI_SGR_FONT_06 = 16 - _ANSI_SGR_FONT_07 = 17 - _ANSI_SGR_FONT_08 = 18 - _ANSI_SGR_FONT_09 = 19 - _ANSI_SGR_FONT_10 = 20 - _ANSI_SGR_DOUBLEUNDERLINE = 21 - ANSI_SGR_BOLD_DIM_OFF = 22 - _ANSI_SGR_ITALIC_OFF = 23 - ANSI_SGR_UNDERLINE_OFF = 24 - _ANSI_SGR_BLINK_OFF = 25 - _ANSI_SGR_RESERVED_00 = 26 - ANSI_SGR_REVERSE_OFF = 27 - _ANSI_SGR_INVISIBLE_OFF = 28 - _ANSI_SGR_LINETHROUGH_OFF = 29 - ANSI_SGR_FOREGROUND_BLACK = 30 - ANSI_SGR_FOREGROUND_RED = 31 - ANSI_SGR_FOREGROUND_GREEN = 32 - ANSI_SGR_FOREGROUND_YELLOW = 33 - ANSI_SGR_FOREGROUND_BLUE = 34 - ANSI_SGR_FOREGROUND_MAGENTA = 35 - ANSI_SGR_FOREGROUND_CYAN = 36 - ANSI_SGR_FOREGROUND_WHITE = 37 - _ANSI_SGR_RESERVED_01 = 38 - ANSI_SGR_FOREGROUND_DEFAULT = 39 - ANSI_SGR_BACKGROUND_BLACK = 40 - ANSI_SGR_BACKGROUND_RED = 41 - ANSI_SGR_BACKGROUND_GREEN = 42 - ANSI_SGR_BACKGROUND_YELLOW = 43 - ANSI_SGR_BACKGROUND_BLUE = 44 - ANSI_SGR_BACKGROUND_MAGENTA = 45 - ANSI_SGR_BACKGROUND_CYAN = 46 - ANSI_SGR_BACKGROUND_WHITE = 47 - _ANSI_SGR_RESERVED_02 = 48 - ANSI_SGR_BACKGROUND_DEFAULT = 49 - // 50 - 65: Unsupported - - ANSI_MAX_CMD_LENGTH = 4096 - - MAX_INPUT_EVENTS = 128 - DEFAULT_WIDTH = 80 - DEFAULT_HEIGHT = 24 - - ANSI_BEL = 0x07 - ANSI_BACKSPACE = 0x08 - ANSI_TAB = 0x09 - ANSI_LINE_FEED = 0x0A - ANSI_VERTICAL_TAB = 0x0B - ANSI_FORM_FEED = 0x0C - ANSI_CARRIAGE_RETURN = 0x0D - ANSI_ESCAPE_PRIMARY = 0x1B - ANSI_ESCAPE_SECONDARY = 0x5B - ANSI_OSC_STRING_ENTRY = 0x5D - ANSI_COMMAND_FIRST = 0x40 - ANSI_COMMAND_LAST = 0x7E - DCS_ENTRY = 0x90 - CSI_ENTRY = 0x9B - OSC_STRING = 0x9D - ANSI_PARAMETER_SEP = ";" - ANSI_CMD_G0 = '(' - ANSI_CMD_G1 = ')' - ANSI_CMD_G2 = '*' - ANSI_CMD_G3 = '+' - ANSI_CMD_DECPNM = '>' - ANSI_CMD_DECPAM = '=' - ANSI_CMD_OSC = ']' - ANSI_CMD_STR_TERM = '\\' - - KEY_CONTROL_PARAM_2 = ";2" - KEY_CONTROL_PARAM_3 = ";3" - KEY_CONTROL_PARAM_4 = ";4" - KEY_CONTROL_PARAM_5 = ";5" - KEY_CONTROL_PARAM_6 = ";6" - KEY_CONTROL_PARAM_7 = ";7" - KEY_CONTROL_PARAM_8 = ";8" - KEY_ESC_CSI = "\x1B[" - KEY_ESC_N = "\x1BN" - KEY_ESC_O = "\x1BO" - - FILL_CHARACTER = ' ' -) - -func getByteRange(start byte, end byte) []byte { - bytes := make([]byte, 0, 32) - for i := start; i <= end; i++ { - bytes = append(bytes, byte(i)) - } - - return bytes -} - -var toGroundBytes = getToGroundBytes() -var executors = getExecuteBytes() - -// SPACE 20+A0 hex Always and everywhere a blank space -// Intermediate 20-2F hex !"#$%&'()*+,-./ -var intermeds = getByteRange(0x20, 0x2F) - -// Parameters 30-3F hex 0123456789:;<=>? -// CSI Parameters 30-39, 3B hex 0123456789; -var csiParams = getByteRange(0x30, 0x3F) - -var csiCollectables = append(getByteRange(0x30, 0x39), getByteRange(0x3B, 0x3F)...) - -// Uppercase 40-5F hex @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ -var upperCase = getByteRange(0x40, 0x5F) - -// Lowercase 60-7E hex `abcdefghijlkmnopqrstuvwxyz{|}~ -var lowerCase = getByteRange(0x60, 0x7E) - -// Alphabetics 40-7E hex (all of upper and lower case) -var alphabetics = append(upperCase, lowerCase...) - -var printables = getByteRange(0x20, 0x7F) - -var escapeIntermediateToGroundBytes = getByteRange(0x30, 0x7E) -var escapeToGroundBytes = getEscapeToGroundBytes() - -// See http://www.vt100.net/emu/vt500_parser.png for description of the complex -// byte ranges below - -func getEscapeToGroundBytes() []byte { - escapeToGroundBytes := getByteRange(0x30, 0x4F) - escapeToGroundBytes = append(escapeToGroundBytes, getByteRange(0x51, 0x57)...) - escapeToGroundBytes = append(escapeToGroundBytes, 0x59) - escapeToGroundBytes = append(escapeToGroundBytes, 0x5A) - escapeToGroundBytes = append(escapeToGroundBytes, 0x5C) - escapeToGroundBytes = append(escapeToGroundBytes, getByteRange(0x60, 0x7E)...) - return escapeToGroundBytes -} - -func getExecuteBytes() []byte { - executeBytes := getByteRange(0x00, 0x17) - executeBytes = append(executeBytes, 0x19) - executeBytes = append(executeBytes, getByteRange(0x1C, 0x1F)...) - return executeBytes -} - -func getToGroundBytes() []byte { - groundBytes := []byte{0x18} - groundBytes = append(groundBytes, 0x1A) - groundBytes = append(groundBytes, getByteRange(0x80, 0x8F)...) - groundBytes = append(groundBytes, getByteRange(0x91, 0x97)...) - groundBytes = append(groundBytes, 0x99) - groundBytes = append(groundBytes, 0x9A) - groundBytes = append(groundBytes, 0x9C) - return groundBytes -} - -// Delete 7F hex Always and everywhere ignored -// C1 Control 80-9F hex 32 additional control characters -// G1 Displayable A1-FE hex 94 additional displayable characters -// Special A0+FF hex Same as SPACE and DELETE diff --git a/vendor/github.com/Azure/go-ansiterm/context.go b/vendor/github.com/Azure/go-ansiterm/context.go deleted file mode 100644 index 8d66e777..00000000 --- a/vendor/github.com/Azure/go-ansiterm/context.go +++ /dev/null @@ -1,7 +0,0 @@ -package ansiterm - -type ansiContext struct { - currentChar byte - paramBuffer []byte - interBuffer []byte -} diff --git a/vendor/github.com/Azure/go-ansiterm/csi_entry_state.go b/vendor/github.com/Azure/go-ansiterm/csi_entry_state.go deleted file mode 100644 index bcbe00d0..00000000 --- a/vendor/github.com/Azure/go-ansiterm/csi_entry_state.go +++ /dev/null @@ -1,49 +0,0 @@ -package ansiterm - -type csiEntryState struct { - baseState -} - -func (csiState csiEntryState) Handle(b byte) (s state, e error) { - csiState.parser.logf("CsiEntry::Handle %#x", b) - - nextState, err := csiState.baseState.Handle(b) - if nextState != nil || err != nil { - return nextState, err - } - - switch { - case sliceContains(alphabetics, b): - return csiState.parser.ground, nil - case sliceContains(csiCollectables, b): - return csiState.parser.csiParam, nil - case sliceContains(executors, b): - return csiState, csiState.parser.execute() - } - - return csiState, nil -} - -func (csiState csiEntryState) Transition(s state) error { - csiState.parser.logf("CsiEntry::Transition %s --> %s", csiState.Name(), s.Name()) - csiState.baseState.Transition(s) - - switch s { - case csiState.parser.ground: - return csiState.parser.csiDispatch() - case csiState.parser.csiParam: - switch { - case sliceContains(csiParams, csiState.parser.context.currentChar): - csiState.parser.collectParam() - case sliceContains(intermeds, csiState.parser.context.currentChar): - csiState.parser.collectInter() - } - } - - return nil -} - -func (csiState csiEntryState) Enter() error { - csiState.parser.clear() - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/csi_param_state.go b/vendor/github.com/Azure/go-ansiterm/csi_param_state.go deleted file mode 100644 index 7ed5e01c..00000000 --- a/vendor/github.com/Azure/go-ansiterm/csi_param_state.go +++ /dev/null @@ -1,38 +0,0 @@ -package ansiterm - -type csiParamState struct { - baseState -} - -func (csiState csiParamState) Handle(b byte) (s state, e error) { - csiState.parser.logf("CsiParam::Handle %#x", b) - - nextState, err := csiState.baseState.Handle(b) - if nextState != nil || err != nil { - return nextState, err - } - - switch { - case sliceContains(alphabetics, b): - return csiState.parser.ground, nil - case sliceContains(csiCollectables, b): - csiState.parser.collectParam() - return csiState, nil - case sliceContains(executors, b): - return csiState, csiState.parser.execute() - } - - return csiState, nil -} - -func (csiState csiParamState) Transition(s state) error { - csiState.parser.logf("CsiParam::Transition %s --> %s", csiState.Name(), s.Name()) - csiState.baseState.Transition(s) - - switch s { - case csiState.parser.ground: - return csiState.parser.csiDispatch() - } - - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/escape_intermediate_state.go b/vendor/github.com/Azure/go-ansiterm/escape_intermediate_state.go deleted file mode 100644 index 1c719db9..00000000 --- a/vendor/github.com/Azure/go-ansiterm/escape_intermediate_state.go +++ /dev/null @@ -1,36 +0,0 @@ -package ansiterm - -type escapeIntermediateState struct { - baseState -} - -func (escState escapeIntermediateState) Handle(b byte) (s state, e error) { - escState.parser.logf("escapeIntermediateState::Handle %#x", b) - nextState, err := escState.baseState.Handle(b) - if nextState != nil || err != nil { - return nextState, err - } - - switch { - case sliceContains(intermeds, b): - return escState, escState.parser.collectInter() - case sliceContains(executors, b): - return escState, escState.parser.execute() - case sliceContains(escapeIntermediateToGroundBytes, b): - return escState.parser.ground, nil - } - - return escState, nil -} - -func (escState escapeIntermediateState) Transition(s state) error { - escState.parser.logf("escapeIntermediateState::Transition %s --> %s", escState.Name(), s.Name()) - escState.baseState.Transition(s) - - switch s { - case escState.parser.ground: - return escState.parser.escDispatch() - } - - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/escape_state.go b/vendor/github.com/Azure/go-ansiterm/escape_state.go deleted file mode 100644 index 6390abd2..00000000 --- a/vendor/github.com/Azure/go-ansiterm/escape_state.go +++ /dev/null @@ -1,47 +0,0 @@ -package ansiterm - -type escapeState struct { - baseState -} - -func (escState escapeState) Handle(b byte) (s state, e error) { - escState.parser.logf("escapeState::Handle %#x", b) - nextState, err := escState.baseState.Handle(b) - if nextState != nil || err != nil { - return nextState, err - } - - switch { - case b == ANSI_ESCAPE_SECONDARY: - return escState.parser.csiEntry, nil - case b == ANSI_OSC_STRING_ENTRY: - return escState.parser.oscString, nil - case sliceContains(executors, b): - return escState, escState.parser.execute() - case sliceContains(escapeToGroundBytes, b): - return escState.parser.ground, nil - case sliceContains(intermeds, b): - return escState.parser.escapeIntermediate, nil - } - - return escState, nil -} - -func (escState escapeState) Transition(s state) error { - escState.parser.logf("Escape::Transition %s --> %s", escState.Name(), s.Name()) - escState.baseState.Transition(s) - - switch s { - case escState.parser.ground: - return escState.parser.escDispatch() - case escState.parser.escapeIntermediate: - return escState.parser.collectInter() - } - - return nil -} - -func (escState escapeState) Enter() error { - escState.parser.clear() - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/event_handler.go b/vendor/github.com/Azure/go-ansiterm/event_handler.go deleted file mode 100644 index 98087b38..00000000 --- a/vendor/github.com/Azure/go-ansiterm/event_handler.go +++ /dev/null @@ -1,90 +0,0 @@ -package ansiterm - -type AnsiEventHandler interface { - // Print - Print(b byte) error - - // Execute C0 commands - Execute(b byte) error - - // CUrsor Up - CUU(int) error - - // CUrsor Down - CUD(int) error - - // CUrsor Forward - CUF(int) error - - // CUrsor Backward - CUB(int) error - - // Cursor to Next Line - CNL(int) error - - // Cursor to Previous Line - CPL(int) error - - // Cursor Horizontal position Absolute - CHA(int) error - - // Vertical line Position Absolute - VPA(int) error - - // CUrsor Position - CUP(int, int) error - - // Horizontal and Vertical Position (depends on PUM) - HVP(int, int) error - - // Text Cursor Enable Mode - DECTCEM(bool) error - - // Origin Mode - DECOM(bool) error - - // 132 Column Mode - DECCOLM(bool) error - - // Erase in Display - ED(int) error - - // Erase in Line - EL(int) error - - // Insert Line - IL(int) error - - // Delete Line - DL(int) error - - // Insert Character - ICH(int) error - - // Delete Character - DCH(int) error - - // Set Graphics Rendition - SGR([]int) error - - // Pan Down - SU(int) error - - // Pan Up - SD(int) error - - // Device Attributes - DA([]string) error - - // Set Top and Bottom Margins - DECSTBM(int, int) error - - // Index - IND() error - - // Reverse Index - RI() error - - // Flush updates from previous commands - Flush() error -} diff --git a/vendor/github.com/Azure/go-ansiterm/ground_state.go b/vendor/github.com/Azure/go-ansiterm/ground_state.go deleted file mode 100644 index 52451e94..00000000 --- a/vendor/github.com/Azure/go-ansiterm/ground_state.go +++ /dev/null @@ -1,24 +0,0 @@ -package ansiterm - -type groundState struct { - baseState -} - -func (gs groundState) Handle(b byte) (s state, e error) { - gs.parser.context.currentChar = b - - nextState, err := gs.baseState.Handle(b) - if nextState != nil || err != nil { - return nextState, err - } - - switch { - case sliceContains(printables, b): - return gs, gs.parser.print() - - case sliceContains(executors, b): - return gs, gs.parser.execute() - } - - return gs, nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/osc_string_state.go b/vendor/github.com/Azure/go-ansiterm/osc_string_state.go deleted file mode 100644 index 593b10ab..00000000 --- a/vendor/github.com/Azure/go-ansiterm/osc_string_state.go +++ /dev/null @@ -1,31 +0,0 @@ -package ansiterm - -type oscStringState struct { - baseState -} - -func (oscState oscStringState) Handle(b byte) (s state, e error) { - oscState.parser.logf("OscString::Handle %#x", b) - nextState, err := oscState.baseState.Handle(b) - if nextState != nil || err != nil { - return nextState, err - } - - switch { - case isOscStringTerminator(b): - return oscState.parser.ground, nil - } - - return oscState, nil -} - -// See below for OSC string terminators for linux -// http://man7.org/linux/man-pages/man4/console_codes.4.html -func isOscStringTerminator(b byte) bool { - - if b == ANSI_BEL || b == 0x5C { - return true - } - - return false -} diff --git a/vendor/github.com/Azure/go-ansiterm/parser.go b/vendor/github.com/Azure/go-ansiterm/parser.go deleted file mode 100644 index 03cec7ad..00000000 --- a/vendor/github.com/Azure/go-ansiterm/parser.go +++ /dev/null @@ -1,151 +0,0 @@ -package ansiterm - -import ( - "errors" - "log" - "os" -) - -type AnsiParser struct { - currState state - eventHandler AnsiEventHandler - context *ansiContext - csiEntry state - csiParam state - dcsEntry state - escape state - escapeIntermediate state - error state - ground state - oscString state - stateMap []state - - logf func(string, ...interface{}) -} - -type Option func(*AnsiParser) - -func WithLogf(f func(string, ...interface{})) Option { - return func(ap *AnsiParser) { - ap.logf = f - } -} - -func CreateParser(initialState string, evtHandler AnsiEventHandler, opts ...Option) *AnsiParser { - ap := &AnsiParser{ - eventHandler: evtHandler, - context: &ansiContext{}, - } - for _, o := range opts { - o(ap) - } - - if isDebugEnv := os.Getenv(LogEnv); isDebugEnv == "1" { - logFile, _ := os.Create("ansiParser.log") - logger := log.New(logFile, "", log.LstdFlags) - if ap.logf != nil { - l := ap.logf - ap.logf = func(s string, v ...interface{}) { - l(s, v...) - logger.Printf(s, v...) - } - } else { - ap.logf = logger.Printf - } - } - - if ap.logf == nil { - ap.logf = func(string, ...interface{}) {} - } - - ap.csiEntry = csiEntryState{baseState{name: "CsiEntry", parser: ap}} - ap.csiParam = csiParamState{baseState{name: "CsiParam", parser: ap}} - ap.dcsEntry = dcsEntryState{baseState{name: "DcsEntry", parser: ap}} - ap.escape = escapeState{baseState{name: "Escape", parser: ap}} - ap.escapeIntermediate = escapeIntermediateState{baseState{name: "EscapeIntermediate", parser: ap}} - ap.error = errorState{baseState{name: "Error", parser: ap}} - ap.ground = groundState{baseState{name: "Ground", parser: ap}} - ap.oscString = oscStringState{baseState{name: "OscString", parser: ap}} - - ap.stateMap = []state{ - ap.csiEntry, - ap.csiParam, - ap.dcsEntry, - ap.escape, - ap.escapeIntermediate, - ap.error, - ap.ground, - ap.oscString, - } - - ap.currState = getState(initialState, ap.stateMap) - - ap.logf("CreateParser: parser %p", ap) - return ap -} - -func getState(name string, states []state) state { - for _, el := range states { - if el.Name() == name { - return el - } - } - - return nil -} - -func (ap *AnsiParser) Parse(bytes []byte) (int, error) { - for i, b := range bytes { - if err := ap.handle(b); err != nil { - return i, err - } - } - - return len(bytes), ap.eventHandler.Flush() -} - -func (ap *AnsiParser) handle(b byte) error { - ap.context.currentChar = b - newState, err := ap.currState.Handle(b) - if err != nil { - return err - } - - if newState == nil { - ap.logf("WARNING: newState is nil") - return errors.New("New state of 'nil' is invalid.") - } - - if newState != ap.currState { - if err := ap.changeState(newState); err != nil { - return err - } - } - - return nil -} - -func (ap *AnsiParser) changeState(newState state) error { - ap.logf("ChangeState %s --> %s", ap.currState.Name(), newState.Name()) - - // Exit old state - if err := ap.currState.Exit(); err != nil { - ap.logf("Exit state '%s' failed with : '%v'", ap.currState.Name(), err) - return err - } - - // Perform transition action - if err := ap.currState.Transition(newState); err != nil { - ap.logf("Transition from '%s' to '%s' failed with: '%v'", ap.currState.Name(), newState.Name, err) - return err - } - - // Enter new state - if err := newState.Enter(); err != nil { - ap.logf("Enter state '%s' failed with: '%v'", newState.Name(), err) - return err - } - - ap.currState = newState - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/parser_action_helpers.go b/vendor/github.com/Azure/go-ansiterm/parser_action_helpers.go deleted file mode 100644 index de0a1f9c..00000000 --- a/vendor/github.com/Azure/go-ansiterm/parser_action_helpers.go +++ /dev/null @@ -1,99 +0,0 @@ -package ansiterm - -import ( - "strconv" -) - -func parseParams(bytes []byte) ([]string, error) { - paramBuff := make([]byte, 0, 0) - params := []string{} - - for _, v := range bytes { - if v == ';' { - if len(paramBuff) > 0 { - // Completed parameter, append it to the list - s := string(paramBuff) - params = append(params, s) - paramBuff = make([]byte, 0, 0) - } - } else { - paramBuff = append(paramBuff, v) - } - } - - // Last parameter may not be terminated with ';' - if len(paramBuff) > 0 { - s := string(paramBuff) - params = append(params, s) - } - - return params, nil -} - -func parseCmd(context ansiContext) (string, error) { - return string(context.currentChar), nil -} - -func getInt(params []string, dflt int) int { - i := getInts(params, 1, dflt)[0] - return i -} - -func getInts(params []string, minCount int, dflt int) []int { - ints := []int{} - - for _, v := range params { - i, _ := strconv.Atoi(v) - // Zero is mapped to the default value in VT100. - if i == 0 { - i = dflt - } - ints = append(ints, i) - } - - if len(ints) < minCount { - remaining := minCount - len(ints) - for i := 0; i < remaining; i++ { - ints = append(ints, dflt) - } - } - - return ints -} - -func (ap *AnsiParser) modeDispatch(param string, set bool) error { - switch param { - case "?3": - return ap.eventHandler.DECCOLM(set) - case "?6": - return ap.eventHandler.DECOM(set) - case "?25": - return ap.eventHandler.DECTCEM(set) - } - return nil -} - -func (ap *AnsiParser) hDispatch(params []string) error { - if len(params) == 1 { - return ap.modeDispatch(params[0], true) - } - - return nil -} - -func (ap *AnsiParser) lDispatch(params []string) error { - if len(params) == 1 { - return ap.modeDispatch(params[0], false) - } - - return nil -} - -func getEraseParam(params []string) int { - param := getInt(params, 0) - if param < 0 || 3 < param { - param = 0 - } - - return param -} diff --git a/vendor/github.com/Azure/go-ansiterm/parser_actions.go b/vendor/github.com/Azure/go-ansiterm/parser_actions.go deleted file mode 100644 index 0bb5e51e..00000000 --- a/vendor/github.com/Azure/go-ansiterm/parser_actions.go +++ /dev/null @@ -1,119 +0,0 @@ -package ansiterm - -func (ap *AnsiParser) collectParam() error { - currChar := ap.context.currentChar - ap.logf("collectParam %#x", currChar) - ap.context.paramBuffer = append(ap.context.paramBuffer, currChar) - return nil -} - -func (ap *AnsiParser) collectInter() error { - currChar := ap.context.currentChar - ap.logf("collectInter %#x", currChar) - ap.context.paramBuffer = append(ap.context.interBuffer, currChar) - return nil -} - -func (ap *AnsiParser) escDispatch() error { - cmd, _ := parseCmd(*ap.context) - intermeds := ap.context.interBuffer - ap.logf("escDispatch currentChar: %#x", ap.context.currentChar) - ap.logf("escDispatch: %v(%v)", cmd, intermeds) - - switch cmd { - case "D": // IND - return ap.eventHandler.IND() - case "E": // NEL, equivalent to CRLF - err := ap.eventHandler.Execute(ANSI_CARRIAGE_RETURN) - if err == nil { - err = ap.eventHandler.Execute(ANSI_LINE_FEED) - } - return err - case "M": // RI - return ap.eventHandler.RI() - } - - return nil -} - -func (ap *AnsiParser) csiDispatch() error { - cmd, _ := parseCmd(*ap.context) - params, _ := parseParams(ap.context.paramBuffer) - ap.logf("Parsed params: %v with length: %d", params, len(params)) - - ap.logf("csiDispatch: %v(%v)", cmd, params) - - switch cmd { - case "@": - return ap.eventHandler.ICH(getInt(params, 1)) - case "A": - return ap.eventHandler.CUU(getInt(params, 1)) - case "B": - return ap.eventHandler.CUD(getInt(params, 1)) - case "C": - return ap.eventHandler.CUF(getInt(params, 1)) - case "D": - return ap.eventHandler.CUB(getInt(params, 1)) - case "E": - return ap.eventHandler.CNL(getInt(params, 1)) - case "F": - return ap.eventHandler.CPL(getInt(params, 1)) - case "G": - return ap.eventHandler.CHA(getInt(params, 1)) - case "H": - ints := getInts(params, 2, 1) - x, y := ints[0], ints[1] - return ap.eventHandler.CUP(x, y) - case "J": - param := getEraseParam(params) - return ap.eventHandler.ED(param) - case "K": - param := getEraseParam(params) - return ap.eventHandler.EL(param) - case "L": - return ap.eventHandler.IL(getInt(params, 1)) - case "M": - return ap.eventHandler.DL(getInt(params, 1)) - case "P": - return ap.eventHandler.DCH(getInt(params, 1)) - case "S": - return ap.eventHandler.SU(getInt(params, 1)) - case "T": - return ap.eventHandler.SD(getInt(params, 1)) - case "c": - return ap.eventHandler.DA(params) - case "d": - return ap.eventHandler.VPA(getInt(params, 1)) - case "f": - ints := getInts(params, 2, 1) - x, y := ints[0], ints[1] - return ap.eventHandler.HVP(x, y) - case "h": - return ap.hDispatch(params) - case "l": - return ap.lDispatch(params) - case "m": - return ap.eventHandler.SGR(getInts(params, 1, 0)) - case "r": - ints := getInts(params, 2, 1) - top, bottom := ints[0], ints[1] - return ap.eventHandler.DECSTBM(top, bottom) - default: - ap.logf("ERROR: Unsupported CSI command: '%s', with full context: %v", cmd, ap.context) - return nil - } - -} - -func (ap *AnsiParser) print() error { - return ap.eventHandler.Print(ap.context.currentChar) -} - -func (ap *AnsiParser) clear() error { - ap.context = &ansiContext{} - return nil -} - -func (ap *AnsiParser) execute() error { - return ap.eventHandler.Execute(ap.context.currentChar) -} diff --git a/vendor/github.com/Azure/go-ansiterm/states.go b/vendor/github.com/Azure/go-ansiterm/states.go deleted file mode 100644 index f2ea1fcd..00000000 --- a/vendor/github.com/Azure/go-ansiterm/states.go +++ /dev/null @@ -1,71 +0,0 @@ -package ansiterm - -type stateID int - -type state interface { - Enter() error - Exit() error - Handle(byte) (state, error) - Name() string - Transition(state) error -} - -type baseState struct { - name string - parser *AnsiParser -} - -func (base baseState) Enter() error { - return nil -} - -func (base baseState) Exit() error { - return nil -} - -func (base baseState) Handle(b byte) (s state, e error) { - - switch { - case b == CSI_ENTRY: - return base.parser.csiEntry, nil - case b == DCS_ENTRY: - return base.parser.dcsEntry, nil - case b == ANSI_ESCAPE_PRIMARY: - return base.parser.escape, nil - case b == OSC_STRING: - return base.parser.oscString, nil - case sliceContains(toGroundBytes, b): - return base.parser.ground, nil - } - - return nil, nil -} - -func (base baseState) Name() string { - return base.name -} - -func (base baseState) Transition(s state) error { - if s == base.parser.ground { - execBytes := []byte{0x18} - execBytes = append(execBytes, 0x1A) - execBytes = append(execBytes, getByteRange(0x80, 0x8F)...) - execBytes = append(execBytes, getByteRange(0x91, 0x97)...) - execBytes = append(execBytes, 0x99) - execBytes = append(execBytes, 0x9A) - - if sliceContains(execBytes, base.parser.context.currentChar) { - return base.parser.execute() - } - } - - return nil -} - -type dcsEntryState struct { - baseState -} - -type errorState struct { - baseState -} diff --git a/vendor/github.com/Azure/go-ansiterm/utilities.go b/vendor/github.com/Azure/go-ansiterm/utilities.go deleted file mode 100644 index 39211449..00000000 --- a/vendor/github.com/Azure/go-ansiterm/utilities.go +++ /dev/null @@ -1,21 +0,0 @@ -package ansiterm - -import ( - "strconv" -) - -func sliceContains(bytes []byte, b byte) bool { - for _, v := range bytes { - if v == b { - return true - } - } - - return false -} - -func convertBytesToInteger(bytes []byte) int { - s := string(bytes) - i, _ := strconv.Atoi(s) - return i -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go b/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go deleted file mode 100644 index 5599082a..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/ansi.go +++ /dev/null @@ -1,196 +0,0 @@ -// +build windows - -package winterm - -import ( - "fmt" - "os" - "strconv" - "strings" - "syscall" - - "github.com/Azure/go-ansiterm" - windows "golang.org/x/sys/windows" -) - -// Windows keyboard constants -// See https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx. -const ( - VK_PRIOR = 0x21 // PAGE UP key - VK_NEXT = 0x22 // PAGE DOWN key - VK_END = 0x23 // END key - VK_HOME = 0x24 // HOME key - VK_LEFT = 0x25 // LEFT ARROW key - VK_UP = 0x26 // UP ARROW key - VK_RIGHT = 0x27 // RIGHT ARROW key - VK_DOWN = 0x28 // DOWN ARROW key - VK_SELECT = 0x29 // SELECT key - VK_PRINT = 0x2A // PRINT key - VK_EXECUTE = 0x2B // EXECUTE key - VK_SNAPSHOT = 0x2C // PRINT SCREEN key - VK_INSERT = 0x2D // INS key - VK_DELETE = 0x2E // DEL key - VK_HELP = 0x2F // HELP key - VK_F1 = 0x70 // F1 key - VK_F2 = 0x71 // F2 key - VK_F3 = 0x72 // F3 key - VK_F4 = 0x73 // F4 key - VK_F5 = 0x74 // F5 key - VK_F6 = 0x75 // F6 key - VK_F7 = 0x76 // F7 key - VK_F8 = 0x77 // F8 key - VK_F9 = 0x78 // F9 key - VK_F10 = 0x79 // F10 key - VK_F11 = 0x7A // F11 key - VK_F12 = 0x7B // F12 key - - RIGHT_ALT_PRESSED = 0x0001 - LEFT_ALT_PRESSED = 0x0002 - RIGHT_CTRL_PRESSED = 0x0004 - LEFT_CTRL_PRESSED = 0x0008 - SHIFT_PRESSED = 0x0010 - NUMLOCK_ON = 0x0020 - SCROLLLOCK_ON = 0x0040 - CAPSLOCK_ON = 0x0080 - ENHANCED_KEY = 0x0100 -) - -type ansiCommand struct { - CommandBytes []byte - Command string - Parameters []string - IsSpecial bool -} - -func newAnsiCommand(command []byte) *ansiCommand { - - if isCharacterSelectionCmdChar(command[1]) { - // Is Character Set Selection commands - return &ansiCommand{ - CommandBytes: command, - Command: string(command), - IsSpecial: true, - } - } - - // last char is command character - lastCharIndex := len(command) - 1 - - ac := &ansiCommand{ - CommandBytes: command, - Command: string(command[lastCharIndex]), - IsSpecial: false, - } - - // more than a single escape - if lastCharIndex != 0 { - start := 1 - // skip if double char escape sequence - if command[0] == ansiterm.ANSI_ESCAPE_PRIMARY && command[1] == ansiterm.ANSI_ESCAPE_SECONDARY { - start++ - } - // convert this to GetNextParam method - ac.Parameters = strings.Split(string(command[start:lastCharIndex]), ansiterm.ANSI_PARAMETER_SEP) - } - - return ac -} - -func (ac *ansiCommand) paramAsSHORT(index int, defaultValue int16) int16 { - if index < 0 || index >= len(ac.Parameters) { - return defaultValue - } - - param, err := strconv.ParseInt(ac.Parameters[index], 10, 16) - if err != nil { - return defaultValue - } - - return int16(param) -} - -func (ac *ansiCommand) String() string { - return fmt.Sprintf("0x%v \"%v\" (\"%v\")", - bytesToHex(ac.CommandBytes), - ac.Command, - strings.Join(ac.Parameters, "\",\"")) -} - -// isAnsiCommandChar returns true if the passed byte falls within the range of ANSI commands. -// See http://manpages.ubuntu.com/manpages/intrepid/man4/console_codes.4.html. -func isAnsiCommandChar(b byte) bool { - switch { - case ansiterm.ANSI_COMMAND_FIRST <= b && b <= ansiterm.ANSI_COMMAND_LAST && b != ansiterm.ANSI_ESCAPE_SECONDARY: - return true - case b == ansiterm.ANSI_CMD_G1 || b == ansiterm.ANSI_CMD_OSC || b == ansiterm.ANSI_CMD_DECPAM || b == ansiterm.ANSI_CMD_DECPNM: - // non-CSI escape sequence terminator - return true - case b == ansiterm.ANSI_CMD_STR_TERM || b == ansiterm.ANSI_BEL: - // String escape sequence terminator - return true - } - return false -} - -func isXtermOscSequence(command []byte, current byte) bool { - return (len(command) >= 2 && command[0] == ansiterm.ANSI_ESCAPE_PRIMARY && command[1] == ansiterm.ANSI_CMD_OSC && current != ansiterm.ANSI_BEL) -} - -func isCharacterSelectionCmdChar(b byte) bool { - return (b == ansiterm.ANSI_CMD_G0 || b == ansiterm.ANSI_CMD_G1 || b == ansiterm.ANSI_CMD_G2 || b == ansiterm.ANSI_CMD_G3) -} - -// bytesToHex converts a slice of bytes to a human-readable string. -func bytesToHex(b []byte) string { - hex := make([]string, len(b)) - for i, ch := range b { - hex[i] = fmt.Sprintf("%X", ch) - } - return strings.Join(hex, "") -} - -// ensureInRange adjusts the passed value, if necessary, to ensure it is within -// the passed min / max range. -func ensureInRange(n int16, min int16, max int16) int16 { - if n < min { - return min - } else if n > max { - return max - } else { - return n - } -} - -func GetStdFile(nFile int) (*os.File, uintptr) { - var file *os.File - - // syscall uses negative numbers - // windows package uses very big uint32 - // Keep these switches split so we don't have to convert ints too much. - switch uint32(nFile) { - case windows.STD_INPUT_HANDLE: - file = os.Stdin - case windows.STD_OUTPUT_HANDLE: - file = os.Stdout - case windows.STD_ERROR_HANDLE: - file = os.Stderr - default: - switch nFile { - case syscall.STD_INPUT_HANDLE: - file = os.Stdin - case syscall.STD_OUTPUT_HANDLE: - file = os.Stdout - case syscall.STD_ERROR_HANDLE: - file = os.Stderr - default: - panic(fmt.Errorf("Invalid standard handle identifier: %v", nFile)) - } - } - - fd, err := syscall.GetStdHandle(nFile) - if err != nil { - panic(fmt.Errorf("Invalid standard handle identifier: %v -- %v", nFile, err)) - } - - return file, uintptr(fd) -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/api.go b/vendor/github.com/Azure/go-ansiterm/winterm/api.go deleted file mode 100644 index 6055e33b..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/api.go +++ /dev/null @@ -1,327 +0,0 @@ -// +build windows - -package winterm - -import ( - "fmt" - "syscall" - "unsafe" -) - -//=========================================================================================================== -// IMPORTANT NOTE: -// -// The methods below make extensive use of the "unsafe" package to obtain the required pointers. -// Beginning in Go 1.3, the garbage collector may release local variables (e.g., incoming arguments, stack -// variables) the pointers reference *before* the API completes. -// -// As a result, in those cases, the code must hint that the variables remain in active by invoking the -// dummy method "use" (see below). Newer versions of Go are planned to change the mechanism to no longer -// require unsafe pointers. -// -// If you add or modify methods, ENSURE protection of local variables through the "use" builtin to inform -// the garbage collector the variables remain in use if: -// -// -- The value is not a pointer (e.g., int32, struct) -// -- The value is not referenced by the method after passing the pointer to Windows -// -// See http://golang.org/doc/go1.3. -//=========================================================================================================== - -var ( - kernel32DLL = syscall.NewLazyDLL("kernel32.dll") - - getConsoleCursorInfoProc = kernel32DLL.NewProc("GetConsoleCursorInfo") - setConsoleCursorInfoProc = kernel32DLL.NewProc("SetConsoleCursorInfo") - setConsoleCursorPositionProc = kernel32DLL.NewProc("SetConsoleCursorPosition") - setConsoleModeProc = kernel32DLL.NewProc("SetConsoleMode") - getConsoleScreenBufferInfoProc = kernel32DLL.NewProc("GetConsoleScreenBufferInfo") - setConsoleScreenBufferSizeProc = kernel32DLL.NewProc("SetConsoleScreenBufferSize") - scrollConsoleScreenBufferProc = kernel32DLL.NewProc("ScrollConsoleScreenBufferA") - setConsoleTextAttributeProc = kernel32DLL.NewProc("SetConsoleTextAttribute") - setConsoleWindowInfoProc = kernel32DLL.NewProc("SetConsoleWindowInfo") - writeConsoleOutputProc = kernel32DLL.NewProc("WriteConsoleOutputW") - readConsoleInputProc = kernel32DLL.NewProc("ReadConsoleInputW") - waitForSingleObjectProc = kernel32DLL.NewProc("WaitForSingleObject") -) - -// Windows Console constants -const ( - // Console modes - // See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx. - ENABLE_PROCESSED_INPUT = 0x0001 - ENABLE_LINE_INPUT = 0x0002 - ENABLE_ECHO_INPUT = 0x0004 - ENABLE_WINDOW_INPUT = 0x0008 - ENABLE_MOUSE_INPUT = 0x0010 - ENABLE_INSERT_MODE = 0x0020 - ENABLE_QUICK_EDIT_MODE = 0x0040 - ENABLE_EXTENDED_FLAGS = 0x0080 - ENABLE_AUTO_POSITION = 0x0100 - ENABLE_VIRTUAL_TERMINAL_INPUT = 0x0200 - - ENABLE_PROCESSED_OUTPUT = 0x0001 - ENABLE_WRAP_AT_EOL_OUTPUT = 0x0002 - ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004 - DISABLE_NEWLINE_AUTO_RETURN = 0x0008 - ENABLE_LVB_GRID_WORLDWIDE = 0x0010 - - // Character attributes - // Note: - // -- The attributes are combined to produce various colors (e.g., Blue + Green will create Cyan). - // Clearing all foreground or background colors results in black; setting all creates white. - // See https://msdn.microsoft.com/en-us/library/windows/desktop/ms682088(v=vs.85).aspx#_win32_character_attributes. - FOREGROUND_BLUE uint16 = 0x0001 - FOREGROUND_GREEN uint16 = 0x0002 - FOREGROUND_RED uint16 = 0x0004 - FOREGROUND_INTENSITY uint16 = 0x0008 - FOREGROUND_MASK uint16 = 0x000F - - BACKGROUND_BLUE uint16 = 0x0010 - BACKGROUND_GREEN uint16 = 0x0020 - BACKGROUND_RED uint16 = 0x0040 - BACKGROUND_INTENSITY uint16 = 0x0080 - BACKGROUND_MASK uint16 = 0x00F0 - - COMMON_LVB_MASK uint16 = 0xFF00 - COMMON_LVB_REVERSE_VIDEO uint16 = 0x4000 - COMMON_LVB_UNDERSCORE uint16 = 0x8000 - - // Input event types - // See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683499(v=vs.85).aspx. - KEY_EVENT = 0x0001 - MOUSE_EVENT = 0x0002 - WINDOW_BUFFER_SIZE_EVENT = 0x0004 - MENU_EVENT = 0x0008 - FOCUS_EVENT = 0x0010 - - // WaitForSingleObject return codes - WAIT_ABANDONED = 0x00000080 - WAIT_FAILED = 0xFFFFFFFF - WAIT_SIGNALED = 0x0000000 - WAIT_TIMEOUT = 0x00000102 - - // WaitForSingleObject wait duration - WAIT_INFINITE = 0xFFFFFFFF - WAIT_ONE_SECOND = 1000 - WAIT_HALF_SECOND = 500 - WAIT_QUARTER_SECOND = 250 -) - -// Windows API Console types -// -- See https://msdn.microsoft.com/en-us/library/windows/desktop/ms682101(v=vs.85).aspx for Console specific types (e.g., COORD) -// -- See https://msdn.microsoft.com/en-us/library/aa296569(v=vs.60).aspx for comments on alignment -type ( - CHAR_INFO struct { - UnicodeChar uint16 - Attributes uint16 - } - - CONSOLE_CURSOR_INFO struct { - Size uint32 - Visible int32 - } - - CONSOLE_SCREEN_BUFFER_INFO struct { - Size COORD - CursorPosition COORD - Attributes uint16 - Window SMALL_RECT - MaximumWindowSize COORD - } - - COORD struct { - X int16 - Y int16 - } - - SMALL_RECT struct { - Left int16 - Top int16 - Right int16 - Bottom int16 - } - - // INPUT_RECORD is a C/C++ union of which KEY_EVENT_RECORD is one case, it is also the largest - // See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683499(v=vs.85).aspx. - INPUT_RECORD struct { - EventType uint16 - KeyEvent KEY_EVENT_RECORD - } - - KEY_EVENT_RECORD struct { - KeyDown int32 - RepeatCount uint16 - VirtualKeyCode uint16 - VirtualScanCode uint16 - UnicodeChar uint16 - ControlKeyState uint32 - } - - WINDOW_BUFFER_SIZE struct { - Size COORD - } -) - -// boolToBOOL converts a Go bool into a Windows int32. -func boolToBOOL(f bool) int32 { - if f { - return int32(1) - } else { - return int32(0) - } -} - -// GetConsoleCursorInfo retrieves information about the size and visiblity of the console cursor. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683163(v=vs.85).aspx. -func GetConsoleCursorInfo(handle uintptr, cursorInfo *CONSOLE_CURSOR_INFO) error { - r1, r2, err := getConsoleCursorInfoProc.Call(handle, uintptr(unsafe.Pointer(cursorInfo)), 0) - return checkError(r1, r2, err) -} - -// SetConsoleCursorInfo sets the size and visiblity of the console cursor. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686019(v=vs.85).aspx. -func SetConsoleCursorInfo(handle uintptr, cursorInfo *CONSOLE_CURSOR_INFO) error { - r1, r2, err := setConsoleCursorInfoProc.Call(handle, uintptr(unsafe.Pointer(cursorInfo)), 0) - return checkError(r1, r2, err) -} - -// SetConsoleCursorPosition location of the console cursor. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686025(v=vs.85).aspx. -func SetConsoleCursorPosition(handle uintptr, coord COORD) error { - r1, r2, err := setConsoleCursorPositionProc.Call(handle, coordToPointer(coord)) - use(coord) - return checkError(r1, r2, err) -} - -// GetConsoleMode gets the console mode for given file descriptor -// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms683167(v=vs.85).aspx. -func GetConsoleMode(handle uintptr) (mode uint32, err error) { - err = syscall.GetConsoleMode(syscall.Handle(handle), &mode) - return mode, err -} - -// SetConsoleMode sets the console mode for given file descriptor -// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx. -func SetConsoleMode(handle uintptr, mode uint32) error { - r1, r2, err := setConsoleModeProc.Call(handle, uintptr(mode), 0) - use(mode) - return checkError(r1, r2, err) -} - -// GetConsoleScreenBufferInfo retrieves information about the specified console screen buffer. -// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms683171(v=vs.85).aspx. -func GetConsoleScreenBufferInfo(handle uintptr) (*CONSOLE_SCREEN_BUFFER_INFO, error) { - info := CONSOLE_SCREEN_BUFFER_INFO{} - err := checkError(getConsoleScreenBufferInfoProc.Call(handle, uintptr(unsafe.Pointer(&info)), 0)) - if err != nil { - return nil, err - } - return &info, nil -} - -func ScrollConsoleScreenBuffer(handle uintptr, scrollRect SMALL_RECT, clipRect SMALL_RECT, destOrigin COORD, char CHAR_INFO) error { - r1, r2, err := scrollConsoleScreenBufferProc.Call(handle, uintptr(unsafe.Pointer(&scrollRect)), uintptr(unsafe.Pointer(&clipRect)), coordToPointer(destOrigin), uintptr(unsafe.Pointer(&char))) - use(scrollRect) - use(clipRect) - use(destOrigin) - use(char) - return checkError(r1, r2, err) -} - -// SetConsoleScreenBufferSize sets the size of the console screen buffer. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686044(v=vs.85).aspx. -func SetConsoleScreenBufferSize(handle uintptr, coord COORD) error { - r1, r2, err := setConsoleScreenBufferSizeProc.Call(handle, coordToPointer(coord)) - use(coord) - return checkError(r1, r2, err) -} - -// SetConsoleTextAttribute sets the attributes of characters written to the -// console screen buffer by the WriteFile or WriteConsole function. -// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms686047(v=vs.85).aspx. -func SetConsoleTextAttribute(handle uintptr, attribute uint16) error { - r1, r2, err := setConsoleTextAttributeProc.Call(handle, uintptr(attribute), 0) - use(attribute) - return checkError(r1, r2, err) -} - -// SetConsoleWindowInfo sets the size and position of the console screen buffer's window. -// Note that the size and location must be within and no larger than the backing console screen buffer. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms686125(v=vs.85).aspx. -func SetConsoleWindowInfo(handle uintptr, isAbsolute bool, rect SMALL_RECT) error { - r1, r2, err := setConsoleWindowInfoProc.Call(handle, uintptr(boolToBOOL(isAbsolute)), uintptr(unsafe.Pointer(&rect))) - use(isAbsolute) - use(rect) - return checkError(r1, r2, err) -} - -// WriteConsoleOutput writes the CHAR_INFOs from the provided buffer to the active console buffer. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms687404(v=vs.85).aspx. -func WriteConsoleOutput(handle uintptr, buffer []CHAR_INFO, bufferSize COORD, bufferCoord COORD, writeRegion *SMALL_RECT) error { - r1, r2, err := writeConsoleOutputProc.Call(handle, uintptr(unsafe.Pointer(&buffer[0])), coordToPointer(bufferSize), coordToPointer(bufferCoord), uintptr(unsafe.Pointer(writeRegion))) - use(buffer) - use(bufferSize) - use(bufferCoord) - return checkError(r1, r2, err) -} - -// ReadConsoleInput reads (and removes) data from the console input buffer. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms684961(v=vs.85).aspx. -func ReadConsoleInput(handle uintptr, buffer []INPUT_RECORD, count *uint32) error { - r1, r2, err := readConsoleInputProc.Call(handle, uintptr(unsafe.Pointer(&buffer[0])), uintptr(len(buffer)), uintptr(unsafe.Pointer(count))) - use(buffer) - return checkError(r1, r2, err) -} - -// WaitForSingleObject waits for the passed handle to be signaled. -// It returns true if the handle was signaled; false otherwise. -// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms687032(v=vs.85).aspx. -func WaitForSingleObject(handle uintptr, msWait uint32) (bool, error) { - r1, _, err := waitForSingleObjectProc.Call(handle, uintptr(uint32(msWait))) - switch r1 { - case WAIT_ABANDONED, WAIT_TIMEOUT: - return false, nil - case WAIT_SIGNALED: - return true, nil - } - use(msWait) - return false, err -} - -// String helpers -func (info CONSOLE_SCREEN_BUFFER_INFO) String() string { - return fmt.Sprintf("Size(%v) Cursor(%v) Window(%v) Max(%v)", info.Size, info.CursorPosition, info.Window, info.MaximumWindowSize) -} - -func (coord COORD) String() string { - return fmt.Sprintf("%v,%v", coord.X, coord.Y) -} - -func (rect SMALL_RECT) String() string { - return fmt.Sprintf("(%v,%v),(%v,%v)", rect.Left, rect.Top, rect.Right, rect.Bottom) -} - -// checkError evaluates the results of a Windows API call and returns the error if it failed. -func checkError(r1, r2 uintptr, err error) error { - // Windows APIs return non-zero to indicate success - if r1 != 0 { - return nil - } - - // Return the error if provided, otherwise default to EINVAL - if err != nil { - return err - } - return syscall.EINVAL -} - -// coordToPointer converts a COORD into a uintptr (by fooling the type system). -func coordToPointer(c COORD) uintptr { - // Note: This code assumes the two SHORTs are correctly laid out; the "cast" to uint32 is just to get a pointer to pass. - return uintptr(*((*uint32)(unsafe.Pointer(&c)))) -} - -// 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. -func use(p interface{}) {} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go b/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go deleted file mode 100644 index cbec8f72..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/attr_translation.go +++ /dev/null @@ -1,100 +0,0 @@ -// +build windows - -package winterm - -import "github.com/Azure/go-ansiterm" - -const ( - FOREGROUND_COLOR_MASK = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE - BACKGROUND_COLOR_MASK = BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE -) - -// collectAnsiIntoWindowsAttributes modifies the passed Windows text mode flags to reflect the -// request represented by the passed ANSI mode. -func collectAnsiIntoWindowsAttributes(windowsMode uint16, inverted bool, baseMode uint16, ansiMode int16) (uint16, bool) { - switch ansiMode { - - // Mode styles - case ansiterm.ANSI_SGR_BOLD: - windowsMode = windowsMode | FOREGROUND_INTENSITY - - case ansiterm.ANSI_SGR_DIM, ansiterm.ANSI_SGR_BOLD_DIM_OFF: - windowsMode &^= FOREGROUND_INTENSITY - - case ansiterm.ANSI_SGR_UNDERLINE: - windowsMode = windowsMode | COMMON_LVB_UNDERSCORE - - case ansiterm.ANSI_SGR_REVERSE: - inverted = true - - case ansiterm.ANSI_SGR_REVERSE_OFF: - inverted = false - - case ansiterm.ANSI_SGR_UNDERLINE_OFF: - windowsMode &^= COMMON_LVB_UNDERSCORE - - // Foreground colors - case ansiterm.ANSI_SGR_FOREGROUND_DEFAULT: - windowsMode = (windowsMode &^ FOREGROUND_MASK) | (baseMode & FOREGROUND_MASK) - - case ansiterm.ANSI_SGR_FOREGROUND_BLACK: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) - - case ansiterm.ANSI_SGR_FOREGROUND_RED: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED - - case ansiterm.ANSI_SGR_FOREGROUND_GREEN: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_GREEN - - case ansiterm.ANSI_SGR_FOREGROUND_YELLOW: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED | FOREGROUND_GREEN - - case ansiterm.ANSI_SGR_FOREGROUND_BLUE: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_BLUE - - case ansiterm.ANSI_SGR_FOREGROUND_MAGENTA: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED | FOREGROUND_BLUE - - case ansiterm.ANSI_SGR_FOREGROUND_CYAN: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_GREEN | FOREGROUND_BLUE - - case ansiterm.ANSI_SGR_FOREGROUND_WHITE: - windowsMode = (windowsMode &^ FOREGROUND_COLOR_MASK) | FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE - - // Background colors - case ansiterm.ANSI_SGR_BACKGROUND_DEFAULT: - // Black with no intensity - windowsMode = (windowsMode &^ BACKGROUND_MASK) | (baseMode & BACKGROUND_MASK) - - case ansiterm.ANSI_SGR_BACKGROUND_BLACK: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) - - case ansiterm.ANSI_SGR_BACKGROUND_RED: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED - - case ansiterm.ANSI_SGR_BACKGROUND_GREEN: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_GREEN - - case ansiterm.ANSI_SGR_BACKGROUND_YELLOW: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED | BACKGROUND_GREEN - - case ansiterm.ANSI_SGR_BACKGROUND_BLUE: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_BLUE - - case ansiterm.ANSI_SGR_BACKGROUND_MAGENTA: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED | BACKGROUND_BLUE - - case ansiterm.ANSI_SGR_BACKGROUND_CYAN: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_GREEN | BACKGROUND_BLUE - - case ansiterm.ANSI_SGR_BACKGROUND_WHITE: - windowsMode = (windowsMode &^ BACKGROUND_COLOR_MASK) | BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE - } - - return windowsMode, inverted -} - -// invertAttributes inverts the foreground and background colors of a Windows attributes value -func invertAttributes(windowsMode uint16) uint16 { - return (COMMON_LVB_MASK & windowsMode) | ((FOREGROUND_MASK & windowsMode) << 4) | ((BACKGROUND_MASK & windowsMode) >> 4) -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go b/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go deleted file mode 100644 index 3ee06ea7..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/cursor_helpers.go +++ /dev/null @@ -1,101 +0,0 @@ -// +build windows - -package winterm - -const ( - horizontal = iota - vertical -) - -func (h *windowsAnsiEventHandler) getCursorWindow(info *CONSOLE_SCREEN_BUFFER_INFO) SMALL_RECT { - if h.originMode { - sr := h.effectiveSr(info.Window) - return SMALL_RECT{ - Top: sr.top, - Bottom: sr.bottom, - Left: 0, - Right: info.Size.X - 1, - } - } else { - return SMALL_RECT{ - Top: info.Window.Top, - Bottom: info.Window.Bottom, - Left: 0, - Right: info.Size.X - 1, - } - } -} - -// setCursorPosition sets the cursor to the specified position, bounded to the screen size -func (h *windowsAnsiEventHandler) setCursorPosition(position COORD, window SMALL_RECT) error { - position.X = ensureInRange(position.X, window.Left, window.Right) - position.Y = ensureInRange(position.Y, window.Top, window.Bottom) - err := SetConsoleCursorPosition(h.fd, position) - if err != nil { - return err - } - h.logf("Cursor position set: (%d, %d)", position.X, position.Y) - return err -} - -func (h *windowsAnsiEventHandler) moveCursorVertical(param int) error { - return h.moveCursor(vertical, param) -} - -func (h *windowsAnsiEventHandler) moveCursorHorizontal(param int) error { - return h.moveCursor(horizontal, param) -} - -func (h *windowsAnsiEventHandler) moveCursor(moveMode int, param int) error { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - position := info.CursorPosition - switch moveMode { - case horizontal: - position.X += int16(param) - case vertical: - position.Y += int16(param) - } - - if err = h.setCursorPosition(position, h.getCursorWindow(info)); err != nil { - return err - } - - return nil -} - -func (h *windowsAnsiEventHandler) moveCursorLine(param int) error { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - position := info.CursorPosition - position.X = 0 - position.Y += int16(param) - - if err = h.setCursorPosition(position, h.getCursorWindow(info)); err != nil { - return err - } - - return nil -} - -func (h *windowsAnsiEventHandler) moveCursorColumn(param int) error { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - position := info.CursorPosition - position.X = int16(param) - 1 - - if err = h.setCursorPosition(position, h.getCursorWindow(info)); err != nil { - return err - } - - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go b/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go deleted file mode 100644 index 244b5fa2..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/erase_helpers.go +++ /dev/null @@ -1,84 +0,0 @@ -// +build windows - -package winterm - -import "github.com/Azure/go-ansiterm" - -func (h *windowsAnsiEventHandler) clearRange(attributes uint16, fromCoord COORD, toCoord COORD) error { - // Ignore an invalid (negative area) request - if toCoord.Y < fromCoord.Y { - return nil - } - - var err error - - var coordStart = COORD{} - var coordEnd = COORD{} - - xCurrent, yCurrent := fromCoord.X, fromCoord.Y - xEnd, yEnd := toCoord.X, toCoord.Y - - // Clear any partial initial line - if xCurrent > 0 { - coordStart.X, coordStart.Y = xCurrent, yCurrent - coordEnd.X, coordEnd.Y = xEnd, yCurrent - - err = h.clearRect(attributes, coordStart, coordEnd) - if err != nil { - return err - } - - xCurrent = 0 - yCurrent += 1 - } - - // Clear intervening rectangular section - if yCurrent < yEnd { - coordStart.X, coordStart.Y = xCurrent, yCurrent - coordEnd.X, coordEnd.Y = xEnd, yEnd-1 - - err = h.clearRect(attributes, coordStart, coordEnd) - if err != nil { - return err - } - - xCurrent = 0 - yCurrent = yEnd - } - - // Clear remaining partial ending line - coordStart.X, coordStart.Y = xCurrent, yCurrent - coordEnd.X, coordEnd.Y = xEnd, yEnd - - err = h.clearRect(attributes, coordStart, coordEnd) - if err != nil { - return err - } - - return nil -} - -func (h *windowsAnsiEventHandler) clearRect(attributes uint16, fromCoord COORD, toCoord COORD) error { - region := SMALL_RECT{Top: fromCoord.Y, Left: fromCoord.X, Bottom: toCoord.Y, Right: toCoord.X} - width := toCoord.X - fromCoord.X + 1 - height := toCoord.Y - fromCoord.Y + 1 - size := uint32(width) * uint32(height) - - if size <= 0 { - return nil - } - - buffer := make([]CHAR_INFO, size) - - char := CHAR_INFO{ansiterm.FILL_CHARACTER, attributes} - for i := 0; i < int(size); i++ { - buffer[i] = char - } - - err := WriteConsoleOutput(h.fd, buffer, COORD{X: width, Y: height}, COORD{X: 0, Y: 0}, ®ion) - if err != nil { - return err - } - - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go b/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go deleted file mode 100644 index 2d27fa1d..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/scroll_helper.go +++ /dev/null @@ -1,118 +0,0 @@ -// +build windows - -package winterm - -// effectiveSr gets the current effective scroll region in buffer coordinates -func (h *windowsAnsiEventHandler) effectiveSr(window SMALL_RECT) scrollRegion { - top := addInRange(window.Top, h.sr.top, window.Top, window.Bottom) - bottom := addInRange(window.Top, h.sr.bottom, window.Top, window.Bottom) - if top >= bottom { - top = window.Top - bottom = window.Bottom - } - return scrollRegion{top: top, bottom: bottom} -} - -func (h *windowsAnsiEventHandler) scrollUp(param int) error { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - sr := h.effectiveSr(info.Window) - return h.scroll(param, sr, info) -} - -func (h *windowsAnsiEventHandler) scrollDown(param int) error { - return h.scrollUp(-param) -} - -func (h *windowsAnsiEventHandler) deleteLines(param int) error { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - start := info.CursorPosition.Y - sr := h.effectiveSr(info.Window) - // Lines cannot be inserted or deleted outside the scrolling region. - if start >= sr.top && start <= sr.bottom { - sr.top = start - return h.scroll(param, sr, info) - } else { - return nil - } -} - -func (h *windowsAnsiEventHandler) insertLines(param int) error { - return h.deleteLines(-param) -} - -// scroll scrolls the provided scroll region by param lines. The scroll region is in buffer coordinates. -func (h *windowsAnsiEventHandler) scroll(param int, sr scrollRegion, info *CONSOLE_SCREEN_BUFFER_INFO) error { - h.logf("scroll: scrollTop: %d, scrollBottom: %d", sr.top, sr.bottom) - h.logf("scroll: windowTop: %d, windowBottom: %d", info.Window.Top, info.Window.Bottom) - - // Copy from and clip to the scroll region (full buffer width) - scrollRect := SMALL_RECT{ - Top: sr.top, - Bottom: sr.bottom, - Left: 0, - Right: info.Size.X - 1, - } - - // Origin to which area should be copied - destOrigin := COORD{ - X: 0, - Y: sr.top - int16(param), - } - - char := CHAR_INFO{ - UnicodeChar: ' ', - Attributes: h.attributes, - } - - if err := ScrollConsoleScreenBuffer(h.fd, scrollRect, scrollRect, destOrigin, char); err != nil { - return err - } - return nil -} - -func (h *windowsAnsiEventHandler) deleteCharacters(param int) error { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - return h.scrollLine(param, info.CursorPosition, info) -} - -func (h *windowsAnsiEventHandler) insertCharacters(param int) error { - return h.deleteCharacters(-param) -} - -// scrollLine scrolls a line horizontally starting at the provided position by a number of columns. -func (h *windowsAnsiEventHandler) scrollLine(columns int, position COORD, info *CONSOLE_SCREEN_BUFFER_INFO) error { - // Copy from and clip to the scroll region (full buffer width) - scrollRect := SMALL_RECT{ - Top: position.Y, - Bottom: position.Y, - Left: position.X, - Right: info.Size.X - 1, - } - - // Origin to which area should be copied - destOrigin := COORD{ - X: position.X - int16(columns), - Y: position.Y, - } - - char := CHAR_INFO{ - UnicodeChar: ' ', - Attributes: h.attributes, - } - - if err := ScrollConsoleScreenBuffer(h.fd, scrollRect, scrollRect, destOrigin, char); err != nil { - return err - } - return nil -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go b/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go deleted file mode 100644 index afa7635d..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go +++ /dev/null @@ -1,9 +0,0 @@ -// +build windows - -package winterm - -// AddInRange increments a value by the passed quantity while ensuring the values -// always remain within the supplied min / max range. -func addInRange(n int16, increment int16, min int16, max int16) int16 { - return ensureInRange(n+increment, min, max) -} diff --git a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go b/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go deleted file mode 100644 index 2d40fb75..00000000 --- a/vendor/github.com/Azure/go-ansiterm/winterm/win_event_handler.go +++ /dev/null @@ -1,743 +0,0 @@ -// +build windows - -package winterm - -import ( - "bytes" - "log" - "os" - "strconv" - - "github.com/Azure/go-ansiterm" -) - -type windowsAnsiEventHandler struct { - fd uintptr - file *os.File - infoReset *CONSOLE_SCREEN_BUFFER_INFO - sr scrollRegion - buffer bytes.Buffer - attributes uint16 - inverted bool - wrapNext bool - drewMarginByte bool - originMode bool - marginByte byte - curInfo *CONSOLE_SCREEN_BUFFER_INFO - curPos COORD - logf func(string, ...interface{}) -} - -type Option func(*windowsAnsiEventHandler) - -func WithLogf(f func(string, ...interface{})) Option { - return func(w *windowsAnsiEventHandler) { - w.logf = f - } -} - -func CreateWinEventHandler(fd uintptr, file *os.File, opts ...Option) ansiterm.AnsiEventHandler { - infoReset, err := GetConsoleScreenBufferInfo(fd) - if err != nil { - return nil - } - - h := &windowsAnsiEventHandler{ - fd: fd, - file: file, - infoReset: infoReset, - attributes: infoReset.Attributes, - } - for _, o := range opts { - o(h) - } - - if isDebugEnv := os.Getenv(ansiterm.LogEnv); isDebugEnv == "1" { - logFile, _ := os.Create("winEventHandler.log") - logger := log.New(logFile, "", log.LstdFlags) - if h.logf != nil { - l := h.logf - h.logf = func(s string, v ...interface{}) { - l(s, v...) - logger.Printf(s, v...) - } - } else { - h.logf = logger.Printf - } - } - - if h.logf == nil { - h.logf = func(string, ...interface{}) {} - } - - return h -} - -type scrollRegion struct { - top int16 - bottom int16 -} - -// simulateLF simulates a LF or CR+LF by scrolling if necessary to handle the -// current cursor position and scroll region settings, in which case it returns -// true. If no special handling is necessary, then it does nothing and returns -// false. -// -// In the false case, the caller should ensure that a carriage return -// and line feed are inserted or that the text is otherwise wrapped. -func (h *windowsAnsiEventHandler) simulateLF(includeCR bool) (bool, error) { - if h.wrapNext { - if err := h.Flush(); err != nil { - return false, err - } - h.clearWrap() - } - pos, info, err := h.getCurrentInfo() - if err != nil { - return false, err - } - sr := h.effectiveSr(info.Window) - if pos.Y == sr.bottom { - // Scrolling is necessary. Let Windows automatically scroll if the scrolling region - // is the full window. - if sr.top == info.Window.Top && sr.bottom == info.Window.Bottom { - if includeCR { - pos.X = 0 - h.updatePos(pos) - } - return false, nil - } - - // A custom scroll region is active. Scroll the window manually to simulate - // the LF. - if err := h.Flush(); err != nil { - return false, err - } - h.logf("Simulating LF inside scroll region") - if err := h.scrollUp(1); err != nil { - return false, err - } - if includeCR { - pos.X = 0 - if err := SetConsoleCursorPosition(h.fd, pos); err != nil { - return false, err - } - } - return true, nil - - } else if pos.Y < info.Window.Bottom { - // Let Windows handle the LF. - pos.Y++ - if includeCR { - pos.X = 0 - } - h.updatePos(pos) - return false, nil - } else { - // The cursor is at the bottom of the screen but outside the scroll - // region. Skip the LF. - h.logf("Simulating LF outside scroll region") - if includeCR { - if err := h.Flush(); err != nil { - return false, err - } - pos.X = 0 - if err := SetConsoleCursorPosition(h.fd, pos); err != nil { - return false, err - } - } - return true, nil - } -} - -// executeLF executes a LF without a CR. -func (h *windowsAnsiEventHandler) executeLF() error { - handled, err := h.simulateLF(false) - if err != nil { - return err - } - if !handled { - // Windows LF will reset the cursor column position. Write the LF - // and restore the cursor position. - pos, _, err := h.getCurrentInfo() - if err != nil { - return err - } - h.buffer.WriteByte(ansiterm.ANSI_LINE_FEED) - if pos.X != 0 { - if err := h.Flush(); err != nil { - return err - } - h.logf("Resetting cursor position for LF without CR") - if err := SetConsoleCursorPosition(h.fd, pos); err != nil { - return err - } - } - } - return nil -} - -func (h *windowsAnsiEventHandler) Print(b byte) error { - if h.wrapNext { - h.buffer.WriteByte(h.marginByte) - h.clearWrap() - if _, err := h.simulateLF(true); err != nil { - return err - } - } - pos, info, err := h.getCurrentInfo() - if err != nil { - return err - } - if pos.X == info.Size.X-1 { - h.wrapNext = true - h.marginByte = b - } else { - pos.X++ - h.updatePos(pos) - h.buffer.WriteByte(b) - } - return nil -} - -func (h *windowsAnsiEventHandler) Execute(b byte) error { - switch b { - case ansiterm.ANSI_TAB: - h.logf("Execute(TAB)") - // Move to the next tab stop, but preserve auto-wrap if already set. - if !h.wrapNext { - pos, info, err := h.getCurrentInfo() - if err != nil { - return err - } - pos.X = (pos.X + 8) - pos.X%8 - if pos.X >= info.Size.X { - pos.X = info.Size.X - 1 - } - if err := h.Flush(); err != nil { - return err - } - if err := SetConsoleCursorPosition(h.fd, pos); err != nil { - return err - } - } - return nil - - case ansiterm.ANSI_BEL: - h.buffer.WriteByte(ansiterm.ANSI_BEL) - return nil - - case ansiterm.ANSI_BACKSPACE: - if h.wrapNext { - if err := h.Flush(); err != nil { - return err - } - h.clearWrap() - } - pos, _, err := h.getCurrentInfo() - if err != nil { - return err - } - if pos.X > 0 { - pos.X-- - h.updatePos(pos) - h.buffer.WriteByte(ansiterm.ANSI_BACKSPACE) - } - return nil - - case ansiterm.ANSI_VERTICAL_TAB, ansiterm.ANSI_FORM_FEED: - // Treat as true LF. - return h.executeLF() - - case ansiterm.ANSI_LINE_FEED: - // Simulate a CR and LF for now since there is no way in go-ansiterm - // to tell if the LF should include CR (and more things break when it's - // missing than when it's incorrectly added). - handled, err := h.simulateLF(true) - if handled || err != nil { - return err - } - return h.buffer.WriteByte(ansiterm.ANSI_LINE_FEED) - - case ansiterm.ANSI_CARRIAGE_RETURN: - if h.wrapNext { - if err := h.Flush(); err != nil { - return err - } - h.clearWrap() - } - pos, _, err := h.getCurrentInfo() - if err != nil { - return err - } - if pos.X != 0 { - pos.X = 0 - h.updatePos(pos) - h.buffer.WriteByte(ansiterm.ANSI_CARRIAGE_RETURN) - } - return nil - - default: - return nil - } -} - -func (h *windowsAnsiEventHandler) CUU(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CUU: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorVertical(-param) -} - -func (h *windowsAnsiEventHandler) CUD(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CUD: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorVertical(param) -} - -func (h *windowsAnsiEventHandler) CUF(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CUF: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorHorizontal(param) -} - -func (h *windowsAnsiEventHandler) CUB(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CUB: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorHorizontal(-param) -} - -func (h *windowsAnsiEventHandler) CNL(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CNL: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorLine(param) -} - -func (h *windowsAnsiEventHandler) CPL(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CPL: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorLine(-param) -} - -func (h *windowsAnsiEventHandler) CHA(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CHA: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.moveCursorColumn(param) -} - -func (h *windowsAnsiEventHandler) VPA(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("VPA: [[%d]]", param) - h.clearWrap() - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - window := h.getCursorWindow(info) - position := info.CursorPosition - position.Y = window.Top + int16(param) - 1 - return h.setCursorPosition(position, window) -} - -func (h *windowsAnsiEventHandler) CUP(row int, col int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("CUP: [[%d %d]]", row, col) - h.clearWrap() - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - window := h.getCursorWindow(info) - position := COORD{window.Left + int16(col) - 1, window.Top + int16(row) - 1} - return h.setCursorPosition(position, window) -} - -func (h *windowsAnsiEventHandler) HVP(row int, col int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("HVP: [[%d %d]]", row, col) - h.clearWrap() - return h.CUP(row, col) -} - -func (h *windowsAnsiEventHandler) DECTCEM(visible bool) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("DECTCEM: [%v]", []string{strconv.FormatBool(visible)}) - h.clearWrap() - return nil -} - -func (h *windowsAnsiEventHandler) DECOM(enable bool) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("DECOM: [%v]", []string{strconv.FormatBool(enable)}) - h.clearWrap() - h.originMode = enable - return h.CUP(1, 1) -} - -func (h *windowsAnsiEventHandler) DECCOLM(use132 bool) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("DECCOLM: [%v]", []string{strconv.FormatBool(use132)}) - h.clearWrap() - if err := h.ED(2); err != nil { - return err - } - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - targetWidth := int16(80) - if use132 { - targetWidth = 132 - } - if info.Size.X < targetWidth { - if err := SetConsoleScreenBufferSize(h.fd, COORD{targetWidth, info.Size.Y}); err != nil { - h.logf("set buffer failed: %v", err) - return err - } - } - window := info.Window - window.Left = 0 - window.Right = targetWidth - 1 - if err := SetConsoleWindowInfo(h.fd, true, window); err != nil { - h.logf("set window failed: %v", err) - return err - } - if info.Size.X > targetWidth { - if err := SetConsoleScreenBufferSize(h.fd, COORD{targetWidth, info.Size.Y}); err != nil { - h.logf("set buffer failed: %v", err) - return err - } - } - return SetConsoleCursorPosition(h.fd, COORD{0, 0}) -} - -func (h *windowsAnsiEventHandler) ED(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("ED: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - - // [J -- Erases from the cursor to the end of the screen, including the cursor position. - // [1J -- Erases from the beginning of the screen to the cursor, including the cursor position. - // [2J -- Erases the complete display. The cursor does not move. - // Notes: - // -- Clearing the entire buffer, versus just the Window, works best for Windows Consoles - - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - var start COORD - var end COORD - - switch param { - case 0: - start = info.CursorPosition - end = COORD{info.Size.X - 1, info.Size.Y - 1} - - case 1: - start = COORD{0, 0} - end = info.CursorPosition - - case 2: - start = COORD{0, 0} - end = COORD{info.Size.X - 1, info.Size.Y - 1} - } - - err = h.clearRange(h.attributes, start, end) - if err != nil { - return err - } - - // If the whole buffer was cleared, move the window to the top while preserving - // the window-relative cursor position. - if param == 2 { - pos := info.CursorPosition - window := info.Window - pos.Y -= window.Top - window.Bottom -= window.Top - window.Top = 0 - if err := SetConsoleCursorPosition(h.fd, pos); err != nil { - return err - } - if err := SetConsoleWindowInfo(h.fd, true, window); err != nil { - return err - } - } - - return nil -} - -func (h *windowsAnsiEventHandler) EL(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("EL: [%v]", strconv.Itoa(param)) - h.clearWrap() - - // [K -- Erases from the cursor to the end of the line, including the cursor position. - // [1K -- Erases from the beginning of the line to the cursor, including the cursor position. - // [2K -- Erases the complete line. - - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - var start COORD - var end COORD - - switch param { - case 0: - start = info.CursorPosition - end = COORD{info.Size.X, info.CursorPosition.Y} - - case 1: - start = COORD{0, info.CursorPosition.Y} - end = info.CursorPosition - - case 2: - start = COORD{0, info.CursorPosition.Y} - end = COORD{info.Size.X, info.CursorPosition.Y} - } - - err = h.clearRange(h.attributes, start, end) - if err != nil { - return err - } - - return nil -} - -func (h *windowsAnsiEventHandler) IL(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("IL: [%v]", strconv.Itoa(param)) - h.clearWrap() - return h.insertLines(param) -} - -func (h *windowsAnsiEventHandler) DL(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("DL: [%v]", strconv.Itoa(param)) - h.clearWrap() - return h.deleteLines(param) -} - -func (h *windowsAnsiEventHandler) ICH(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("ICH: [%v]", strconv.Itoa(param)) - h.clearWrap() - return h.insertCharacters(param) -} - -func (h *windowsAnsiEventHandler) DCH(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("DCH: [%v]", strconv.Itoa(param)) - h.clearWrap() - return h.deleteCharacters(param) -} - -func (h *windowsAnsiEventHandler) SGR(params []int) error { - if err := h.Flush(); err != nil { - return err - } - strings := []string{} - for _, v := range params { - strings = append(strings, strconv.Itoa(v)) - } - - h.logf("SGR: [%v]", strings) - - if len(params) <= 0 { - h.attributes = h.infoReset.Attributes - h.inverted = false - } else { - for _, attr := range params { - - if attr == ansiterm.ANSI_SGR_RESET { - h.attributes = h.infoReset.Attributes - h.inverted = false - continue - } - - h.attributes, h.inverted = collectAnsiIntoWindowsAttributes(h.attributes, h.inverted, h.infoReset.Attributes, int16(attr)) - } - } - - attributes := h.attributes - if h.inverted { - attributes = invertAttributes(attributes) - } - err := SetConsoleTextAttribute(h.fd, attributes) - if err != nil { - return err - } - - return nil -} - -func (h *windowsAnsiEventHandler) SU(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("SU: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.scrollUp(param) -} - -func (h *windowsAnsiEventHandler) SD(param int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("SD: [%v]", []string{strconv.Itoa(param)}) - h.clearWrap() - return h.scrollDown(param) -} - -func (h *windowsAnsiEventHandler) DA(params []string) error { - h.logf("DA: [%v]", params) - // DA cannot be implemented because it must send data on the VT100 input stream, - // which is not available to go-ansiterm. - return nil -} - -func (h *windowsAnsiEventHandler) DECSTBM(top int, bottom int) error { - if err := h.Flush(); err != nil { - return err - } - h.logf("DECSTBM: [%d, %d]", top, bottom) - - // Windows is 0 indexed, Linux is 1 indexed - h.sr.top = int16(top - 1) - h.sr.bottom = int16(bottom - 1) - - // This command also moves the cursor to the origin. - h.clearWrap() - return h.CUP(1, 1) -} - -func (h *windowsAnsiEventHandler) RI() error { - if err := h.Flush(); err != nil { - return err - } - h.logf("RI: []") - h.clearWrap() - - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - sr := h.effectiveSr(info.Window) - if info.CursorPosition.Y == sr.top { - return h.scrollDown(1) - } - - return h.moveCursorVertical(-1) -} - -func (h *windowsAnsiEventHandler) IND() error { - h.logf("IND: []") - return h.executeLF() -} - -func (h *windowsAnsiEventHandler) Flush() error { - h.curInfo = nil - if h.buffer.Len() > 0 { - h.logf("Flush: [%s]", h.buffer.Bytes()) - if _, err := h.buffer.WriteTo(h.file); err != nil { - return err - } - } - - if h.wrapNext && !h.drewMarginByte { - h.logf("Flush: drawing margin byte '%c'", h.marginByte) - - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return err - } - - charInfo := []CHAR_INFO{{UnicodeChar: uint16(h.marginByte), Attributes: info.Attributes}} - size := COORD{1, 1} - position := COORD{0, 0} - region := SMALL_RECT{Left: info.CursorPosition.X, Top: info.CursorPosition.Y, Right: info.CursorPosition.X, Bottom: info.CursorPosition.Y} - if err := WriteConsoleOutput(h.fd, charInfo, size, position, ®ion); err != nil { - return err - } - h.drewMarginByte = true - } - return nil -} - -// cacheConsoleInfo ensures that the current console screen information has been queried -// since the last call to Flush(). It must be called before accessing h.curInfo or h.curPos. -func (h *windowsAnsiEventHandler) getCurrentInfo() (COORD, *CONSOLE_SCREEN_BUFFER_INFO, error) { - if h.curInfo == nil { - info, err := GetConsoleScreenBufferInfo(h.fd) - if err != nil { - return COORD{}, nil, err - } - h.curInfo = info - h.curPos = info.CursorPosition - } - return h.curPos, h.curInfo, nil -} - -func (h *windowsAnsiEventHandler) updatePos(pos COORD) { - if h.curInfo == nil { - panic("failed to call getCurrentInfo before calling updatePos") - } - h.curPos = pos -} - -// clearWrap clears the state where the cursor is in the margin -// waiting for the next character before wrapping the line. This must -// be done before most operations that act on the cursor. -func (h *windowsAnsiEventHandler) clearWrap() { - h.wrapNext = false - h.drewMarginByte = false -} diff --git a/vendor/github.com/MakeNowJust/heredoc/LICENSE b/vendor/github.com/MakeNowJust/heredoc/LICENSE deleted file mode 100644 index 8a58c222..00000000 --- a/vendor/github.com/MakeNowJust/heredoc/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2017 TSUYUSATO Kitsune - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/MakeNowJust/heredoc/README.md b/vendor/github.com/MakeNowJust/heredoc/README.md deleted file mode 100644 index a3a65fab..00000000 --- a/vendor/github.com/MakeNowJust/heredoc/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# heredoc [![CircleCI](https://circleci.com/gh/MakeNowJust/heredoc.svg?style=svg)](https://circleci.com/gh/MakeNowJust/heredoc) [![Go Walker](http://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/MakeNowJust/heredoc) - -## About - -Package heredoc provides the here-document with keeping indent. - -## Install - -```console -$ go get github.com/MakeNowJust/heredoc -``` - -## Import - -```go -// usual -import "github.com/MakeNowJust/heredoc" -// shortcuts -import . "github.com/MakeNowJust/heredoc/dot" -``` - -## Example - -```go -package main - -import ( - "fmt" - . "github.com/MakeNowJust/heredoc/dot" -) - -func main() { - fmt.Println(D(` - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - sed do eiusmod tempor incididunt ut labore et dolore magna - aliqua. Ut enim ad minim veniam, ... - `)) - // Output: - // Lorem ipsum dolor sit amet, consectetur adipisicing elit, - // sed do eiusmod tempor incididunt ut labore et dolore magna - // aliqua. Ut enim ad minim veniam, ... - // -} -``` - -## API Document - - - [Go Walker - github.com/MakeNowJust/heredoc](https://gowalker.org/github.com/MakeNowJust/heredoc) - - [Go Walker - github.com/MakeNowJust/heredoc/dot](https://gowalker.org/github.com/MakeNowJust/heredoc/dot) - -## License - -This software is released under the MIT License, see LICENSE. diff --git a/vendor/github.com/MakeNowJust/heredoc/heredoc.go b/vendor/github.com/MakeNowJust/heredoc/heredoc.go deleted file mode 100644 index fea12e62..00000000 --- a/vendor/github.com/MakeNowJust/heredoc/heredoc.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2014-2017 TSUYUSATO Kitsune -// This software is released under the MIT License. -// http://opensource.org/licenses/mit-license.php - -// Package heredoc provides creation of here-documents from raw strings. -// -// Golang supports raw-string syntax. -// doc := ` -// Foo -// Bar -// ` -// But raw-string cannot recognize indentation. Thus such content is an indented string, equivalent to -// "\n\tFoo\n\tBar\n" -// I dont't want this! -// -// However this problem is solved by package heredoc. -// doc := heredoc.Doc(` -// Foo -// Bar -// `) -// Is equivalent to -// "Foo\nBar\n" -package heredoc - -import ( - "fmt" - "strings" - "unicode" -) - -const maxInt = int(^uint(0) >> 1) - -// Doc returns un-indented string as here-document. -func Doc(raw string) string { - skipFirstLine := false - if raw[0] == '\n' { - raw = raw[1:] - } else { - skipFirstLine = true - } - - lines := strings.Split(raw, "\n") - - minIndentSize := getMinIndent(lines, skipFirstLine) - lines = removeIndentation(lines, minIndentSize, skipFirstLine) - - return strings.Join(lines, "\n") -} - -// getMinIndent calculates the minimum indentation in lines, excluding empty lines. -func getMinIndent(lines []string, skipFirstLine bool) int { - minIndentSize := maxInt - - for i, line := range lines { - if i == 0 && skipFirstLine { - continue - } - - indentSize := 0 - for _, r := range []rune(line) { - if unicode.IsSpace(r) { - indentSize += 1 - } else { - break - } - } - - if len(line) == indentSize { - if i == len(lines)-1 && indentSize < minIndentSize { - lines[i] = "" - } - } else if indentSize < minIndentSize { - minIndentSize = indentSize - } - } - return minIndentSize -} - -// removeIndentation removes n characters from the front of each line in lines. -// Skips first line if skipFirstLine is true, skips empty lines. -func removeIndentation(lines []string, n int, skipFirstLine bool) []string { - for i, line := range lines { - if i == 0 && skipFirstLine { - continue - } - - if len(lines[i]) >= n { - lines[i] = line[n:] - } - } - return lines -} - -// Docf returns unindented and formatted string as here-document. -// Formatting is done as for fmt.Printf(). -func Docf(raw string, args ...interface{}) string { - return fmt.Sprintf(Doc(raw), args...) -} diff --git a/vendor/github.com/chai2010/gettext-go/LICENSE b/vendor/github.com/chai2010/gettext-go/LICENSE deleted file mode 100644 index 8f394082..00000000 --- a/vendor/github.com/chai2010/gettext-go/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright 2013 ChaiShushan . All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/chai2010/gettext-go/gettext/caller.go b/vendor/github.com/chai2010/gettext-go/gettext/caller.go deleted file mode 100644 index e24aab37..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/caller.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -import ( - "regexp" - "runtime" -) - -var ( - reInit = regexp.MustCompile(`init·\d+$`) // main.init·1 - reClosure = regexp.MustCompile(`func·\d+$`) // main.func·001 -) - -// caller types: -// runtime.goexit -// runtime.main -// main.init -// main.main -// main.init·1 -> main.init -// main.func·001 -> main.func -// code.google.com/p/gettext-go/gettext.TestCallerName -// ... -func callerName(skip int) string { - pc, _, _, ok := runtime.Caller(skip) - if !ok { - return "" - } - name := runtime.FuncForPC(pc).Name() - if reInit.MatchString(name) { - return reInit.ReplaceAllString(name, "init") - } - if reClosure.MatchString(name) { - return reClosure.ReplaceAllString(name, "func") - } - return name -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/doc.go b/vendor/github.com/chai2010/gettext-go/gettext/doc.go deleted file mode 100644 index 422bf2c6..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/doc.go +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2013 . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -/* -Package gettext implements a basic GNU's gettext library. - -Example: - import ( - "github.com/chai2010/gettext-go/gettext" - ) - - func main() { - gettext.SetLocale("zh_CN") - gettext.Textdomain("hello") - - // gettext.BindTextdomain("hello", "local", nil) // from local dir - // gettext.BindTextdomain("hello", "local.zip", nil) // from local zip file - // gettext.BindTextdomain("hello", "local.zip", zipData) // from embedded zip data - - gettext.BindTextdomain("hello", "local", nil) - - // translate source text - fmt.Println(gettext.Gettext("Hello, world!")) - // Output: 你好, 世界! - - // translate resource - fmt.Println(string(gettext.Getdata("poems.txt"))) - // Output: ... - } - -Translate directory struct("../examples/local.zip"): - - Root: "path" or "file.zip/zipBaseName" - +-default # local: $(LC_MESSAGES) or $(LANG) or "default" - | +-LC_MESSAGES # just for `gettext.Gettext` - | | +-hello.mo # $(Root)/$(local)/LC_MESSAGES/$(domain).mo - | | \-hello.po # $(Root)/$(local)/LC_MESSAGES/$(domain).mo - | | - | \-LC_RESOURCE # just for `gettext.Getdata` - | +-hello # domain map a dir in resource translate - | +-favicon.ico # $(Root)/$(local)/LC_RESOURCE/$(domain)/$(filename) - | \-poems.txt - | - \-zh_CN # simple chinese translate - +-LC_MESSAGES - | +-hello.mo # try "$(domain).mo" first - | \-hello.po # try "$(domain).po" second - | - \-LC_RESOURCE - +-hello - +-favicon.ico # try "$(local)/$(domain)/file" first - \-poems.txt # try "default/$(domain)/file" second - -See: - http://en.wikipedia.org/wiki/Gettext - http://www.gnu.org/software/gettext/manual/html_node - http://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html - http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html - http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html - http://www.poedit.net/ - -Please report bugs to . -Thanks! -*/ -package gettext diff --git a/vendor/github.com/chai2010/gettext-go/gettext/domain.go b/vendor/github.com/chai2010/gettext-go/gettext/domain.go deleted file mode 100644 index f860b27b..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/domain.go +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -import ( - "sync" -) - -type domainManager struct { - mutex sync.Mutex - locale string - domain string - domainMap map[string]*fileSystem - trTextMap map[string]*translator -} - -func newDomainManager() *domainManager { - return &domainManager{ - locale: DefaultLocale, - domainMap: make(map[string]*fileSystem), - trTextMap: make(map[string]*translator), - } -} - -func (p *domainManager) makeTrMapKey(domain, locale string) string { - return domain + "_$$$_" + locale -} - -func (p *domainManager) Bind(domain, path string, data []byte) (domains, paths []string) { - p.mutex.Lock() - defer p.mutex.Unlock() - - switch { - case domain != "" && path != "": // bind new domain - p.bindDomainTranslators(domain, path, data) - case domain != "" && path == "": // delete domain - p.deleteDomain(domain) - } - - // return all bind domain - for k, fs := range p.domainMap { - domains = append(domains, k) - paths = append(paths, fs.FsName) - } - return -} - -func (p *domainManager) SetLocale(locale string) string { - p.mutex.Lock() - defer p.mutex.Unlock() - if locale != "" { - p.locale = locale - } - return p.locale -} - -func (p *domainManager) SetDomain(domain string) string { - p.mutex.Lock() - defer p.mutex.Unlock() - if domain != "" { - p.domain = domain - } - return p.domain -} - -func (p *domainManager) Getdata(name string) []byte { - return p.getdata(p.domain, name) -} - -func (p *domainManager) DGetdata(domain, name string) []byte { - return p.getdata(domain, name) -} - -func (p *domainManager) PNGettext(msgctxt, msgid, msgidPlural string, n int) string { - p.mutex.Lock() - defer p.mutex.Unlock() - return p.gettext(p.domain, msgctxt, msgid, msgidPlural, n) -} - -func (p *domainManager) DPNGettext(domain, msgctxt, msgid, msgidPlural string, n int) string { - p.mutex.Lock() - defer p.mutex.Unlock() - return p.gettext(domain, msgctxt, msgid, msgidPlural, n) -} - -func (p *domainManager) gettext(domain, msgctxt, msgid, msgidPlural string, n int) string { - if p.locale == "" || p.domain == "" { - return msgid - } - if _, ok := p.domainMap[domain]; !ok { - return msgid - } - if f, ok := p.trTextMap[p.makeTrMapKey(domain, p.locale)]; ok { - return f.PNGettext(msgctxt, msgid, msgidPlural, n) - } - return msgid -} - -func (p *domainManager) getdata(domain, name string) []byte { - if p.locale == "" || p.domain == "" { - return nil - } - if _, ok := p.domainMap[domain]; !ok { - return nil - } - if fs, ok := p.domainMap[domain]; ok { - if data, err := fs.LoadResourceFile(domain, p.locale, name); err == nil { - return data - } - if p.locale != "default" { - if data, err := fs.LoadResourceFile(domain, "default", name); err == nil { - return data - } - } - } - return nil -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/domain_helper.go b/vendor/github.com/chai2010/gettext-go/gettext/domain_helper.go deleted file mode 100644 index 8dce58e6..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/domain_helper.go +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -import ( - "fmt" - "strings" -) - -func (p *domainManager) bindDomainTranslators(domain, path string, data []byte) { - if _, ok := p.domainMap[domain]; ok { - p.deleteDomain(domain) // delete old domain - } - fs := newFileSystem(path, data) - for locale, _ := range fs.LocaleMap { - trMapKey := p.makeTrMapKey(domain, locale) - if data, err := fs.LoadMessagesFile(domain, locale, ".mo"); err == nil { - p.trTextMap[trMapKey], _ = newMoTranslator( - fmt.Sprintf("%s_%s.mo", domain, locale), - data, - ) - continue - } - if data, err := fs.LoadMessagesFile(domain, locale, ".po"); err == nil { - p.trTextMap[trMapKey], _ = newPoTranslator( - fmt.Sprintf("%s_%s.po", domain, locale), - data, - ) - continue - } - p.trTextMap[p.makeTrMapKey(domain, locale)] = nilTranslator - } - p.domainMap[domain] = fs -} - -func (p *domainManager) deleteDomain(domain string) { - if _, ok := p.domainMap[domain]; !ok { - return - } - // delete all mo files - trMapKeyPrefix := p.makeTrMapKey(domain, "") - for k, _ := range p.trTextMap { - if strings.HasPrefix(k, trMapKeyPrefix) { - delete(p.trTextMap, k) - } - } - delete(p.domainMap, domain) -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/fs.go b/vendor/github.com/chai2010/gettext-go/gettext/fs.go deleted file mode 100644 index 1c2e23c1..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/fs.go +++ /dev/null @@ -1,187 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -import ( - "archive/zip" - "bytes" - "fmt" - "io/ioutil" - "log" - "os" - "strings" -) - -type fileSystem struct { - FsName string - FsRoot string - FsZipData []byte - LocaleMap map[string]bool -} - -func newFileSystem(path string, data []byte) *fileSystem { - fs := &fileSystem{ - FsName: path, - FsZipData: data, - } - if err := fs.init(); err != nil { - log.Printf("gettext-go: invalid domain, err = %v", err) - } - return fs -} - -func (p *fileSystem) init() error { - zipName := func(name string) string { - if x := strings.LastIndexAny(name, `\/`); x != -1 { - name = name[x+1:] - } - name = strings.TrimSuffix(name, ".zip") - return name - } - - // zip data - if len(p.FsZipData) != 0 { - p.FsRoot = zipName(p.FsName) - p.LocaleMap = p.lsZip(p.FsZipData) - return nil - } - - // local dir or zip file - fi, err := os.Stat(p.FsName) - if err != nil { - return err - } - - // local dir - if fi.IsDir() { - p.FsRoot = p.FsName - p.LocaleMap = p.lsDir(p.FsName) - return nil - } - - // local zip file - p.FsZipData, err = ioutil.ReadFile(p.FsName) - if err != nil { - return err - } - p.FsRoot = zipName(p.FsName) - p.LocaleMap = p.lsZip(p.FsZipData) - return nil -} - -func (p *fileSystem) LoadMessagesFile(domain, local, ext string) ([]byte, error) { - if len(p.FsZipData) == 0 { - trName := p.makeMessagesFileName(domain, local, ext) - rcData, err := ioutil.ReadFile(trName) - if err != nil { - return nil, err - } - return rcData, nil - } else { - r, err := zip.NewReader(bytes.NewReader(p.FsZipData), int64(len(p.FsZipData))) - if err != nil { - return nil, err - } - - trName := p.makeMessagesFileName(domain, local, ext) - for _, f := range r.File { - if f.Name != trName { - continue - } - rc, err := f.Open() - if err != nil { - return nil, err - } - rcData, err := ioutil.ReadAll(rc) - rc.Close() - return rcData, err - } - return nil, fmt.Errorf("not found") - } -} - -func (p *fileSystem) LoadResourceFile(domain, local, name string) ([]byte, error) { - if len(p.FsZipData) == 0 { - rcName := p.makeResourceFileName(domain, local, name) - rcData, err := ioutil.ReadFile(rcName) - if err != nil { - return nil, err - } - return rcData, nil - } else { - r, err := zip.NewReader(bytes.NewReader(p.FsZipData), int64(len(p.FsZipData))) - if err != nil { - return nil, err - } - - rcName := p.makeResourceFileName(domain, local, name) - for _, f := range r.File { - if f.Name != rcName { - continue - } - rc, err := f.Open() - if err != nil { - return nil, err - } - rcData, err := ioutil.ReadAll(rc) - rc.Close() - return rcData, err - } - return nil, fmt.Errorf("not found") - } -} - -func (p *fileSystem) makeMessagesFileName(domain, local, ext string) string { - return fmt.Sprintf("%s/%s/LC_MESSAGES/%s%s", p.FsRoot, local, domain, ext) -} - -func (p *fileSystem) makeResourceFileName(domain, local, name string) string { - return fmt.Sprintf("%s/%s/LC_RESOURCE/%s/%s", p.FsRoot, local, domain, name) -} - -func (p *fileSystem) lsZip(data []byte) map[string]bool { - r, err := zip.NewReader(bytes.NewReader(data), int64(len(data))) - if err != nil { - return nil - } - ssMap := make(map[string]bool) - for _, f := range r.File { - if x := strings.Index(f.Name, "LC_MESSAGES"); x != -1 { - s := strings.TrimRight(f.Name[:x], `\/`) - if x = strings.LastIndexAny(s, `\/`); x != -1 { - s = s[x+1:] - } - if s != "" { - ssMap[s] = true - } - continue - } - if x := strings.Index(f.Name, "LC_RESOURCE"); x != -1 { - s := strings.TrimRight(f.Name[:x], `\/`) - if x = strings.LastIndexAny(s, `\/`); x != -1 { - s = s[x+1:] - } - if s != "" { - ssMap[s] = true - } - continue - } - } - return ssMap -} - -func (p *fileSystem) lsDir(path string) map[string]bool { - list, err := ioutil.ReadDir(path) - if err != nil { - return nil - } - ssMap := make(map[string]bool) - for _, dir := range list { - if dir.IsDir() { - ssMap[dir.Name()] = true - } - } - return ssMap -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/gettext.go b/vendor/github.com/chai2010/gettext-go/gettext/gettext.go deleted file mode 100644 index ca14065b..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/gettext.go +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -var ( - defaultManager = newDomainManager() -) - -var ( - DefaultLocale = getDefaultLocale() // use $(LC_MESSAGES) or $(LANG) or "default" -) - -// SetLocale sets and queries the program's current locale. -// -// If the locale is not empty string, set the new local. -// -// If the locale is empty string, don't change anything. -// -// Returns is the current locale. -// -// Examples: -// SetLocale("") // get locale: return DefaultLocale -// SetLocale("zh_CN") // set locale: return zh_CN -// SetLocale("") // get locale: return zh_CN -func SetLocale(locale string) string { - return defaultManager.SetLocale(locale) -} - -// BindTextdomain sets and queries program's domains. -// -// If the domain and path are all not empty string, bind the new domain. -// If the domain already exists, return error. -// -// If the domain is not empty string, but the path is the empty string, -// delete the domain. -// If the domain don't exists, return error. -// -// If the domain and the path are all empty string, don't change anything. -// -// Returns is the all bind domains. -// -// Examples: -// BindTextdomain("poedit", "local", nil) // bind "poedit" domain -// BindTextdomain("", "", nil) // return all domains -// BindTextdomain("poedit", "", nil) // delete "poedit" domain -// BindTextdomain("", "", nil) // return all domains -// -// Use zip file: -// BindTextdomain("poedit", "local.zip", nil) // bind "poedit" domain -// BindTextdomain("poedit", "local.zip", zipData) // bind "poedit" domain -// -func BindTextdomain(domain, path string, zipData []byte) (domains, paths []string) { - return defaultManager.Bind(domain, path, zipData) -} - -// Textdomain sets and retrieves the current message domain. -// -// If the domain is not empty string, set the new domains. -// -// If the domain is empty string, don't change anything. -// -// Returns is the all used domains. -// -// Examples: -// Textdomain("poedit") // set domain: poedit -// Textdomain("") // get domain: return poedit -func Textdomain(domain string) string { - return defaultManager.SetDomain(domain) -} - -// Gettext attempt to translate a text string into the user's native language, -// by looking up the translation in a message catalog. -// -// It use the caller's function name as the msgctxt. -// -// Examples: -// func Foo() { -// msg := gettext.Gettext("Hello") // msgctxt is "some/package/name.Foo" -// } -func Gettext(msgid string) string { - return PGettext(callerName(2), msgid) -} - -// Getdata attempt to translate a resource file into the user's native language, -// by looking up the translation in a message catalog. -// -// Examples: -// func Foo() { -// Textdomain("hello") -// BindTextdomain("hello", "local.zip", nilOrZipData) -// poems := gettext.Getdata("poems.txt") -// } -func Getdata(name string) []byte { - return defaultManager.Getdata(name) -} - -// NGettext attempt to translate a text string into the user's native language, -// by looking up the appropriate plural form of the translation in a message -// catalog. -// -// It use the caller's function name as the msgctxt. -// -// Examples: -// func Foo() { -// msg := gettext.NGettext("%d people", "%d peoples", 2) -// } -func NGettext(msgid, msgidPlural string, n int) string { - return PNGettext(callerName(2), msgid, msgidPlural, n) -} - -// PGettext attempt to translate a text string into the user's native language, -// by looking up the translation in a message catalog. -// -// Examples: -// func Foo() { -// msg := gettext.PGettext("gettext-go.example", "Hello") // msgctxt is "gettext-go.example" -// } -func PGettext(msgctxt, msgid string) string { - return PNGettext(msgctxt, msgid, "", 0) -} - -// PNGettext attempt to translate a text string into the user's native language, -// by looking up the appropriate plural form of the translation in a message -// catalog. -// -// Examples: -// func Foo() { -// msg := gettext.PNGettext("gettext-go.example", "%d people", "%d peoples", 2) -// } -func PNGettext(msgctxt, msgid, msgidPlural string, n int) string { - return defaultManager.PNGettext(msgctxt, msgid, msgidPlural, n) -} - -// DGettext like Gettext(), but looking up the message in the specified domain. -// -// Examples: -// func Foo() { -// msg := gettext.DGettext("poedit", "Hello") -// } -func DGettext(domain, msgid string) string { - return DPGettext(domain, callerName(2), msgid) -} - -// DNGettext like NGettext(), but looking up the message in the specified domain. -// -// Examples: -// func Foo() { -// msg := gettext.PNGettext("poedit", "gettext-go.example", "%d people", "%d peoples", 2) -// } -func DNGettext(domain, msgid, msgidPlural string, n int) string { - return DPNGettext(domain, callerName(2), msgid, msgidPlural, n) -} - -// DPGettext like PGettext(), but looking up the message in the specified domain. -// -// Examples: -// func Foo() { -// msg := gettext.DPGettext("poedit", "gettext-go.example", "Hello") -// } -func DPGettext(domain, msgctxt, msgid string) string { - return DPNGettext(domain, msgctxt, msgid, "", 0) -} - -// DPNGettext like PNGettext(), but looking up the message in the specified domain. -// -// Examples: -// func Foo() { -// msg := gettext.DPNGettext("poedit", "gettext-go.example", "%d people", "%d peoples", 2) -// } -func DPNGettext(domain, msgctxt, msgid, msgidPlural string, n int) string { - return defaultManager.DPNGettext(domain, msgctxt, msgid, msgidPlural, n) -} - -// DGetdata like Getdata(), but looking up the resource in the specified domain. -// -// Examples: -// func Foo() { -// msg := gettext.DGetdata("hello", "poems.txt") -// } -func DGetdata(domain, name string) []byte { - return defaultManager.DGetdata(domain, name) -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/local.go b/vendor/github.com/chai2010/gettext-go/gettext/local.go deleted file mode 100644 index 179a392f..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/local.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -import ( - "os" - "strings" -) - -func getDefaultLocale() string { - if v := os.Getenv("LC_MESSAGES"); v != "" { - return simplifiedLocale(v) - } - if v := os.Getenv("LANG"); v != "" { - return simplifiedLocale(v) - } - return "default" -} - -func simplifiedLocale(lang string) string { - // en_US/en_US.UTF-8/zh_CN/zh_TW/el_GR@euro/... - if idx := strings.Index(lang, ":"); idx != -1 { - lang = lang[:idx] - } - if idx := strings.Index(lang, "@"); idx != -1 { - lang = lang[:idx] - } - if idx := strings.Index(lang, "."); idx != -1 { - lang = lang[:idx] - } - return strings.TrimSpace(lang) -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/mo/doc.go b/vendor/github.com/chai2010/gettext-go/gettext/mo/doc.go deleted file mode 100644 index 96776806..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/mo/doc.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -/* -Package mo provides support for reading and writing GNU MO file. - -Examples: - import ( - "github.com/chai2010/gettext-go/gettext/mo" - ) - - func main() { - moFile, err := mo.Load("test.mo") - if err != nil { - log.Fatal(err) - } - fmt.Printf("%v", moFile) - } - -GNU MO file struct: - - byte - +------------------------------------------+ - 0 | magic number = 0x950412de | - | | - 4 | file format revision = 0 | - | | - 8 | number of strings | == N - | | - 12 | offset of table with original strings | == O - | | - 16 | offset of table with translation strings | == T - | | - 20 | size of hashing table | == S - | | - 24 | offset of hashing table | == H - | | - . . - . (possibly more entries later) . - . . - | | - O | length & offset 0th string ----------------. - O + 8 | length & offset 1st string ------------------. - ... ... | | - O + ((N-1)*8)| length & offset (N-1)th string | | | - | | | | - T | length & offset 0th translation ---------------. - T + 8 | length & offset 1st translation -----------------. - ... ... | | | | - T + ((N-1)*8)| length & offset (N-1)th translation | | | | | - | | | | | | - H | start hash table | | | | | - ... ... | | | | - H + S * 4 | end hash table | | | | | - | | | | | | - | NUL terminated 0th string <----------------' | | | - | | | | | - | NUL terminated 1st string <------------------' | | - | | | | - ... ... | | - | | | | - | NUL terminated 0th translation <---------------' | - | | | - | NUL terminated 1st translation <-----------------' - | | - ... ... - | | - +------------------------------------------+ - -The GNU MO file specification is at -http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html. -*/ -package mo diff --git a/vendor/github.com/chai2010/gettext-go/gettext/mo/encoder.go b/vendor/github.com/chai2010/gettext-go/gettext/mo/encoder.go deleted file mode 100644 index 9b1c240b..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/mo/encoder.go +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package mo - -import ( - "bytes" - "encoding/binary" - "sort" - "strings" -) - -type moHeader struct { - MagicNumber uint32 - MajorVersion uint16 - MinorVersion uint16 - MsgIdCount uint32 - MsgIdOffset uint32 - MsgStrOffset uint32 - HashSize uint32 - HashOffset uint32 -} - -type moStrPos struct { - Size uint32 // must keep fields order - Addr uint32 -} - -func encodeFile(f *File) []byte { - hdr := &moHeader{ - MagicNumber: MoMagicLittleEndian, - } - data := encodeData(hdr, f) - data = append(encodeHeader(hdr), data...) - return data -} - -// encode data and init moHeader -func encodeData(hdr *moHeader, f *File) []byte { - msgList := []Message{f.MimeHeader.toMessage()} - for _, v := range f.Messages { - if len(v.MsgId) == 0 { - continue - } - if len(v.MsgStr) == 0 && len(v.MsgStrPlural) == 0 { - continue - } - msgList = append(msgList, v) - } - sort.Sort(byMessages(msgList)) - - var buf bytes.Buffer - var msgIdPosList = make([]moStrPos, len(msgList)) - var msgStrPosList = make([]moStrPos, len(msgList)) - for i, v := range msgList { - // write msgid - msgId := encodeMsgId(v) - msgIdPosList[i].Addr = uint32(buf.Len() + MoHeaderSize) - msgIdPosList[i].Size = uint32(len(msgId)) - buf.WriteString(msgId) - // write msgstr - msgStr := encodeMsgStr(v) - msgStrPosList[i].Addr = uint32(buf.Len() + MoHeaderSize) - msgStrPosList[i].Size = uint32(len(msgStr)) - buf.WriteString(msgStr) - } - - hdr.MsgIdOffset = uint32(buf.Len() + MoHeaderSize) - binary.Write(&buf, binary.LittleEndian, msgIdPosList) - hdr.MsgStrOffset = uint32(buf.Len() + MoHeaderSize) - binary.Write(&buf, binary.LittleEndian, msgStrPosList) - - hdr.MsgIdCount = uint32(len(msgList)) - return buf.Bytes() -} - -// must called after encodeData -func encodeHeader(hdr *moHeader) []byte { - var buf bytes.Buffer - binary.Write(&buf, binary.LittleEndian, hdr) - return buf.Bytes() -} - -func encodeMsgId(v Message) string { - if v.MsgContext != "" && v.MsgIdPlural != "" { - return v.MsgContext + EotSeparator + v.MsgId + NulSeparator + v.MsgIdPlural - } - if v.MsgContext != "" && v.MsgIdPlural == "" { - return v.MsgContext + EotSeparator + v.MsgId - } - if v.MsgContext == "" && v.MsgIdPlural != "" { - return v.MsgId + NulSeparator + v.MsgIdPlural - } - return v.MsgId -} - -func encodeMsgStr(v Message) string { - if v.MsgIdPlural != "" { - return strings.Join(v.MsgStrPlural, NulSeparator) - } - return v.MsgStr -} - -type byMessages []Message - -func (d byMessages) Len() int { - return len(d) -} -func (d byMessages) Less(i, j int) bool { - if a, b := d[i].MsgContext, d[j].MsgContext; a != b { - return a < b - } - if a, b := d[i].MsgId, d[j].MsgId; a != b { - return a < b - } - if a, b := d[i].MsgIdPlural, d[j].MsgIdPlural; a != b { - return a < b - } - return false -} -func (d byMessages) Swap(i, j int) { - d[i], d[j] = d[j], d[i] -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/mo/file.go b/vendor/github.com/chai2010/gettext-go/gettext/mo/file.go deleted file mode 100644 index b49a77b4..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/mo/file.go +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package mo - -import ( - "bytes" - "encoding/binary" - "fmt" - "io/ioutil" - "strings" -) - -const ( - MoHeaderSize = 28 - MoMagicLittleEndian = 0x950412de - MoMagicBigEndian = 0xde120495 - - EotSeparator = "\x04" // msgctxt and msgid separator - NulSeparator = "\x00" // msgid and msgstr separator -) - -// File represents an MO File. -// -// See http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html -type File struct { - MagicNumber uint32 - MajorVersion uint16 - MinorVersion uint16 - MsgIdCount uint32 - MsgIdOffset uint32 - MsgStrOffset uint32 - HashSize uint32 - HashOffset uint32 - MimeHeader Header - Messages []Message -} - -// Load loads a named mo file. -func Load(name string) (*File, error) { - data, err := ioutil.ReadFile(name) - if err != nil { - return nil, err - } - return LoadData(data) -} - -// LoadData loads mo file format data. -func LoadData(data []byte) (*File, error) { - r := bytes.NewReader(data) - - var magicNumber uint32 - if err := binary.Read(r, binary.LittleEndian, &magicNumber); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - var bo binary.ByteOrder - switch magicNumber { - case MoMagicLittleEndian: - bo = binary.LittleEndian - case MoMagicBigEndian: - bo = binary.BigEndian - default: - return nil, fmt.Errorf("gettext: %v", "invalid magic number") - } - - var header struct { - MajorVersion uint16 - MinorVersion uint16 - MsgIdCount uint32 - MsgIdOffset uint32 - MsgStrOffset uint32 - HashSize uint32 - HashOffset uint32 - } - if err := binary.Read(r, bo, &header); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - if v := header.MajorVersion; v != 0 && v != 1 { - return nil, fmt.Errorf("gettext: %v", "invalid version number") - } - if v := header.MinorVersion; v != 0 && v != 1 { - return nil, fmt.Errorf("gettext: %v", "invalid version number") - } - - msgIdStart := make([]uint32, header.MsgIdCount) - msgIdLen := make([]uint32, header.MsgIdCount) - if _, err := r.Seek(int64(header.MsgIdOffset), 0); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - for i := 0; i < int(header.MsgIdCount); i++ { - if err := binary.Read(r, bo, &msgIdLen[i]); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - if err := binary.Read(r, bo, &msgIdStart[i]); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - } - - msgStrStart := make([]int32, header.MsgIdCount) - msgStrLen := make([]int32, header.MsgIdCount) - if _, err := r.Seek(int64(header.MsgStrOffset), 0); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - for i := 0; i < int(header.MsgIdCount); i++ { - if err := binary.Read(r, bo, &msgStrLen[i]); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - if err := binary.Read(r, bo, &msgStrStart[i]); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - } - - file := &File{ - MagicNumber: magicNumber, - MajorVersion: header.MajorVersion, - MinorVersion: header.MinorVersion, - MsgIdCount: header.MsgIdCount, - MsgIdOffset: header.MsgIdOffset, - MsgStrOffset: header.MsgStrOffset, - HashSize: header.HashSize, - HashOffset: header.HashOffset, - } - for i := 0; i < int(header.MsgIdCount); i++ { - if _, err := r.Seek(int64(msgIdStart[i]), 0); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - msgIdData := make([]byte, msgIdLen[i]) - if _, err := r.Read(msgIdData); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - - if _, err := r.Seek(int64(msgStrStart[i]), 0); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - msgStrData := make([]byte, msgStrLen[i]) - if _, err := r.Read(msgStrData); err != nil { - return nil, fmt.Errorf("gettext: %v", err) - } - - if len(msgIdData) == 0 { - var msg = Message{ - MsgId: string(msgIdData), - MsgStr: string(msgStrData), - } - file.MimeHeader.fromMessage(&msg) - } else { - var msg = Message{ - MsgId: string(msgIdData), - MsgStr: string(msgStrData), - } - // Is this a context message? - if idx := strings.Index(msg.MsgId, EotSeparator); idx != -1 { - msg.MsgContext, msg.MsgId = msg.MsgId[:idx], msg.MsgId[idx+1:] - } - // Is this a plural message? - if idx := strings.Index(msg.MsgId, NulSeparator); idx != -1 { - msg.MsgId, msg.MsgIdPlural = msg.MsgId[:idx], msg.MsgId[idx+1:] - msg.MsgStrPlural = strings.Split(msg.MsgStr, NulSeparator) - msg.MsgStr = "" - } - file.Messages = append(file.Messages, msg) - } - } - - return file, nil -} - -// Save saves a mo file. -func (f *File) Save(name string) error { - return ioutil.WriteFile(name, f.Data(), 0666) -} - -// Save returns a mo file format data. -func (f *File) Data() []byte { - return encodeFile(f) -} - -// String returns the po format file string. -func (f *File) String() string { - var buf bytes.Buffer - fmt.Fprintf(&buf, "# version: %d.%d\n", f.MajorVersion, f.MinorVersion) - fmt.Fprintf(&buf, "%s\n", f.MimeHeader.String()) - fmt.Fprintf(&buf, "\n") - - for k, v := range f.Messages { - fmt.Fprintf(&buf, `msgid "%v"`+"\n", k) - fmt.Fprintf(&buf, `msgstr "%s"`+"\n", v.MsgStr) - fmt.Fprintf(&buf, "\n") - } - - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/mo/header.go b/vendor/github.com/chai2010/gettext-go/gettext/mo/header.go deleted file mode 100644 index d8c7a5e3..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/mo/header.go +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package mo - -import ( - "bytes" - "fmt" - "strings" -) - -// Header is the initial comments "SOME DESCRIPTIVE TITLE", "YEAR" -// and "FIRST AUTHOR , YEAR" ought to be replaced by sensible information. -// -// See http://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html#Header-Entry -type Header struct { - ProjectIdVersion string // Project-Id-Version: PACKAGE VERSION - ReportMsgidBugsTo string // Report-Msgid-Bugs-To: FIRST AUTHOR - POTCreationDate string // POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE - PORevisionDate string // PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE - LastTranslator string // Last-Translator: FIRST AUTHOR - LanguageTeam string // Language-Team: golang-china - Language string // Language: zh_CN - MimeVersion string // MIME-Version: 1.0 - ContentType string // Content-Type: text/plain; charset=UTF-8 - ContentTransferEncoding string // Content-Transfer-Encoding: 8bit - PluralForms string // Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1; - XGenerator string // X-Generator: Poedit 1.5.5 - UnknowFields map[string]string -} - -func (p *Header) fromMessage(msg *Message) { - if msg.MsgId != "" || msg.MsgStr == "" { - return - } - lines := strings.Split(msg.MsgStr, "\n") - for i := 0; i < len(lines); i++ { - idx := strings.Index(lines[i], ":") - if idx < 0 { - continue - } - key := strings.TrimSpace(lines[i][:idx]) - val := strings.TrimSpace(lines[i][idx+1:]) - switch strings.ToUpper(key) { - case strings.ToUpper("Project-Id-Version"): - p.ProjectIdVersion = val - case strings.ToUpper("Report-Msgid-Bugs-To"): - p.ReportMsgidBugsTo = val - case strings.ToUpper("POT-Creation-Date"): - p.POTCreationDate = val - case strings.ToUpper("PO-Revision-Date"): - p.PORevisionDate = val - case strings.ToUpper("Last-Translator"): - p.LastTranslator = val - case strings.ToUpper("Language-Team"): - p.LanguageTeam = val - case strings.ToUpper("Language"): - p.Language = val - case strings.ToUpper("MIME-Version"): - p.MimeVersion = val - case strings.ToUpper("Content-Type"): - p.ContentType = val - case strings.ToUpper("Content-Transfer-Encoding"): - p.ContentTransferEncoding = val - case strings.ToUpper("Plural-Forms"): - p.PluralForms = val - case strings.ToUpper("X-Generator"): - p.XGenerator = val - default: - if p.UnknowFields == nil { - p.UnknowFields = make(map[string]string) - } - p.UnknowFields[key] = val - } - } -} - -func (p *Header) toMessage() Message { - return Message{ - MsgStr: p.String(), - } -} - -// String returns the po format header string. -func (p Header) String() string { - var buf bytes.Buffer - fmt.Fprintf(&buf, `msgid ""`+"\n") - fmt.Fprintf(&buf, `msgstr ""`+"\n") - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Project-Id-Version", p.ProjectIdVersion) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Report-Msgid-Bugs-To", p.ReportMsgidBugsTo) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "POT-Creation-Date", p.POTCreationDate) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "PO-Revision-Date", p.PORevisionDate) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Last-Translator", p.LastTranslator) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Language-Team", p.LanguageTeam) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Language", p.Language) - if p.MimeVersion != "" { - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "MIME-Version", p.MimeVersion) - } - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Content-Type", p.ContentType) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Content-Transfer-Encoding", p.ContentTransferEncoding) - if p.XGenerator != "" { - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "X-Generator", p.XGenerator) - } - for k, v := range p.UnknowFields { - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", k, v) - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/mo/message.go b/vendor/github.com/chai2010/gettext-go/gettext/mo/message.go deleted file mode 100644 index 91ad79be..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/mo/message.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package mo - -import ( - "bytes" - "fmt" -) - -// A MO file is made up of many entries, -// each entry holding the relation between an original untranslated string -// and its corresponding translation. -// -// See http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html -type Message struct { - MsgContext string // msgctxt context - MsgId string // msgid untranslated-string - MsgIdPlural string // msgid_plural untranslated-string-plural - MsgStr string // msgstr translated-string - MsgStrPlural []string // msgstr[0] translated-string-case-0 -} - -// String returns the po format entry string. -func (p Message) String() string { - var buf bytes.Buffer - fmt.Fprintf(&buf, "msgid %s", encodePoString(p.MsgId)) - if p.MsgIdPlural != "" { - fmt.Fprintf(&buf, "msgid_plural %s", encodePoString(p.MsgIdPlural)) - } - if p.MsgStr != "" { - fmt.Fprintf(&buf, "msgstr %s", encodePoString(p.MsgStr)) - } - for i := 0; i < len(p.MsgStrPlural); i++ { - fmt.Fprintf(&buf, "msgstr[%d] %s", i, encodePoString(p.MsgStrPlural[i])) - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/mo/util.go b/vendor/github.com/chai2010/gettext-go/gettext/mo/util.go deleted file mode 100644 index 38045110..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/mo/util.go +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package mo - -import ( - "bytes" - "strings" -) - -func decodePoString(text string) string { - lines := strings.Split(text, "\n") - for i := 0; i < len(lines); i++ { - left := strings.Index(lines[i], `"`) - right := strings.LastIndex(lines[i], `"`) - if left < 0 || right < 0 || left == right { - lines[i] = "" - continue - } - line := lines[i][left+1 : right] - data := make([]byte, 0, len(line)) - for i := 0; i < len(line); i++ { - if line[i] != '\\' { - data = append(data, line[i]) - continue - } - if i+1 >= len(line) { - break - } - switch line[i+1] { - case 'n': // \\n -> \n - data = append(data, '\n') - i++ - case 't': // \\t -> \n - data = append(data, '\t') - i++ - case '\\': // \\\ -> ? - data = append(data, '\\') - i++ - } - } - lines[i] = string(data) - } - return strings.Join(lines, "") -} - -func encodePoString(text string) string { - var buf bytes.Buffer - lines := strings.Split(text, "\n") - for i := 0; i < len(lines); i++ { - if lines[i] == "" { - if i != len(lines)-1 { - buf.WriteString(`"\n"` + "\n") - } - continue - } - buf.WriteRune('"') - for _, r := range lines[i] { - switch r { - case '\\': - buf.WriteString(`\\`) - case '"': - buf.WriteString(`\"`) - case '\n': - buf.WriteString(`\n`) - case '\t': - buf.WriteString(`\t`) - default: - buf.WriteRune(r) - } - } - buf.WriteString(`\n"` + "\n") - } - return buf.String() -} - -func encodeCommentPoString(text string) string { - var buf bytes.Buffer - lines := strings.Split(text, "\n") - if len(lines) > 1 { - buf.WriteString(`""` + "\n") - } - for i := 0; i < len(lines); i++ { - if len(lines) > 0 { - buf.WriteString("#| ") - } - buf.WriteRune('"') - for _, r := range lines[i] { - switch r { - case '\\': - buf.WriteString(`\\`) - case '"': - buf.WriteString(`\"`) - case '\n': - buf.WriteString(`\n`) - case '\t': - buf.WriteString(`\t`) - default: - buf.WriteRune(r) - } - } - if i < len(lines)-1 { - buf.WriteString(`\n"` + "\n") - } else { - buf.WriteString(`"`) - } - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/plural/doc.go b/vendor/github.com/chai2010/gettext-go/gettext/plural/doc.go deleted file mode 100644 index 5641e2c3..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/plural/doc.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -/* -Package plural provides standard plural formulas. - -Examples: - import ( - "code.google.com/p/gettext-go/gettext/plural" - ) - - func main() { - enFormula := plural.Formula("en_US") - xxFormula := plural.Formula("zh_CN") - - fmt.Printf("%s: %d\n", "en", enFormula(0)) - fmt.Printf("%s: %d\n", "en", enFormula(1)) - fmt.Printf("%s: %d\n", "en", enFormula(2)) - fmt.Printf("%s: %d\n", "??", xxFormula(0)) - fmt.Printf("%s: %d\n", "??", xxFormula(1)) - fmt.Printf("%s: %d\n", "??", xxFormula(2)) - fmt.Printf("%s: %d\n", "??", xxFormula(9)) - // Output: - // en: 0 - // en: 0 - // en: 1 - // ??: 0 - // ??: 0 - // ??: 1 - // ??: 8 - } - -See http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html -*/ -package plural diff --git a/vendor/github.com/chai2010/gettext-go/gettext/plural/formula.go b/vendor/github.com/chai2010/gettext-go/gettext/plural/formula.go deleted file mode 100644 index 679a1cd5..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/plural/formula.go +++ /dev/null @@ -1,181 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package plural - -import ( - "strings" -) - -// Formula provides the language's standard plural formula. -func Formula(lang string) func(n int) int { - if idx := index(lang); idx != -1 { - return formulaTable[fmtForms(FormsTable[idx].Value)] - } - if idx := index("??"); idx != -1 { - return formulaTable[fmtForms(FormsTable[idx].Value)] - } - return func(n int) int { - return n - } -} - -func index(lang string) int { - for i := 0; i < len(FormsTable); i++ { - if strings.HasPrefix(lang, FormsTable[i].Lang) { - return i - } - } - return -1 -} - -func fmtForms(forms string) string { - forms = strings.TrimSpace(forms) - forms = strings.Replace(forms, " ", "", -1) - return forms -} - -var formulaTable = map[string]func(n int) int{ - fmtForms("nplurals=n; plural=n-1;"): func(n int) int { - if n > 0 { - return n - 1 - } - return 0 - }, - fmtForms("nplurals=1; plural=0;"): func(n int) int { - return 0 - }, - fmtForms("nplurals=2; plural=(n != 1);"): func(n int) int { - if n <= 1 { - return 0 - } - return 1 - }, - fmtForms("nplurals=2; plural=(n > 1);"): func(n int) int { - if n <= 1 { - return 0 - } - return 1 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n != 0 { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;"): func(n int) int { - if n == 1 { - return 0 - } - if n == 2 { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;"): func(n int) int { - if n == 1 { - return 0 - } - if n == 0 || (n%100 > 0 && n%100 < 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n%10 >= 2 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n%10 == 1 && n%100 != 11 { - return 0 - } - if n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"): func(n int) int { - if n == 1 { - return 0 - } - if n >= 2 && n <= 4 { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"): func(n int) int { - if n == 1 { - return 0 - } - if n >= 2 && n <= 4 { - return 1 - } - return 2 - }, - fmtForms("nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"): func(n int) int { - if n == 1 { - return 0 - } - if n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20) { - return 1 - } - return 2 - }, - fmtForms("nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"): func(n int) int { - if n%100 == 1 { - return 0 - } - if n%100 == 2 { - return 1 - } - if n%100 == 3 || n%100 == 4 { - return 2 - } - return 3 - }, -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/plural/table.go b/vendor/github.com/chai2010/gettext-go/gettext/plural/table.go deleted file mode 100644 index cdc50d21..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/plural/table.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package plural - -// FormsTable are standard hard-coded plural rules. -// The application developers and the translators need to understand them. -// -// See GNU's gettext library source code: gettext/gettext-tools/src/plural-table.c -var FormsTable = []struct { - Lang string - Language string - Value string -}{ - {"??", "Unknown", "nplurals=1; plural=0;"}, - {"ja", "Japanese", "nplurals=1; plural=0;"}, - {"vi", "Vietnamese", "nplurals=1; plural=0;"}, - {"ko", "Korean", "nplurals=1; plural=0;"}, - {"en", "English", "nplurals=2; plural=(n != 1);"}, - {"de", "German", "nplurals=2; plural=(n != 1);"}, - {"nl", "Dutch", "nplurals=2; plural=(n != 1);"}, - {"sv", "Swedish", "nplurals=2; plural=(n != 1);"}, - {"da", "Danish", "nplurals=2; plural=(n != 1);"}, - {"no", "Norwegian", "nplurals=2; plural=(n != 1);"}, - {"nb", "Norwegian Bokmal", "nplurals=2; plural=(n != 1);"}, - {"nn", "Norwegian Nynorsk", "nplurals=2; plural=(n != 1);"}, - {"fo", "Faroese", "nplurals=2; plural=(n != 1);"}, - {"es", "Spanish", "nplurals=2; plural=(n != 1);"}, - {"pt", "Portuguese", "nplurals=2; plural=(n != 1);"}, - {"it", "Italian", "nplurals=2; plural=(n != 1);"}, - {"bg", "Bulgarian", "nplurals=2; plural=(n != 1);"}, - {"el", "Greek", "nplurals=2; plural=(n != 1);"}, - {"fi", "Finnish", "nplurals=2; plural=(n != 1);"}, - {"et", "Estonian", "nplurals=2; plural=(n != 1);"}, - {"he", "Hebrew", "nplurals=2; plural=(n != 1);"}, - {"eo", "Esperanto", "nplurals=2; plural=(n != 1);"}, - {"hu", "Hungarian", "nplurals=2; plural=(n != 1);"}, - {"tr", "Turkish", "nplurals=2; plural=(n != 1);"}, - {"pt_BR", "Brazilian", "nplurals=2; plural=(n > 1);"}, - {"fr", "French", "nplurals=2; plural=(n > 1);"}, - {"lv", "Latvian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"}, - {"ga", "Irish", "nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;"}, - {"ro", "Romanian", "nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;"}, - {"lt", "Lithuanian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"ru", "Russian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"uk", "Ukrainian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"be", "Belarusian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"sr", "Serbian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"hr", "Croatian", "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"cs", "Czech", "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"}, - {"sk", "Slovak", "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"}, - {"pl", "Polish", "nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"}, - {"sl", "Slovenian", "nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"}, -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/comment.go b/vendor/github.com/chai2010/gettext-go/gettext/po/comment.go deleted file mode 100644 index d4abe7c1..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/comment.go +++ /dev/null @@ -1,270 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "bytes" - "fmt" - "io" - "strconv" - "strings" -) - -// Comment represents every message's comments. -type Comment struct { - StartLine int // comment start line - TranslatorComment string // # translator-comments // TrimSpace - ExtractedComment string // #. extracted-comments - ReferenceFile []string // #: src/msgcmp.c:338 src/po-lex.c:699 - ReferenceLine []int // #: src/msgcmp.c:338 src/po-lex.c:699 - Flags []string // #, fuzzy,c-format,range:0..10 - PrevMsgContext string // #| msgctxt previous-context - PrevMsgId string // #| msgid previous-untranslated-string -} - -func (p *Comment) less(q *Comment) bool { - if p.StartLine != 0 || q.StartLine != 0 { - return p.StartLine < q.StartLine - } - if a, b := len(p.ReferenceFile), len(q.ReferenceFile); a != b { - return a < b - } - for i := 0; i < len(p.ReferenceFile); i++ { - if a, b := p.ReferenceFile[i], q.ReferenceFile[i]; a != b { - return a < b - } - if a, b := p.ReferenceLine[i], q.ReferenceLine[i]; a != b { - return a < b - } - } - return false -} - -func (p *Comment) readPoComment(r *lineReader) (err error) { - *p = Comment{} - if err = r.skipBlankLine(); err != nil { - return err - } - defer func(oldPos int) { - newPos := r.currentPos() - if newPos != oldPos && err == io.EOF { - err = nil - } - }(r.currentPos()) - - p.StartLine = r.currentPos() + 1 - for { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if len(s) == 0 || s[0] != '#' { - return - } - - if err = p.readTranslatorComment(r); err != nil { - return - } - if err = p.readExtractedComment(r); err != nil { - return - } - if err = p.readReferenceComment(r); err != nil { - return - } - if err = p.readFlagsComment(r); err != nil { - return - } - if err = p.readPrevMsgContext(r); err != nil { - return - } - if err = p.readPrevMsgId(r); err != nil { - return - } - } -} - -func (p *Comment) readTranslatorComment(r *lineReader) (err error) { - const prefix = "# " // .,:| - for { - var s string - if s, _, err = r.readLine(); err != nil { - return err - } - if len(s) < 1 || s[0] != '#' { - r.unreadLine() - return nil - } - if len(s) >= 2 { - switch s[1] { - case '.', ',', ':', '|': - r.unreadLine() - return nil - } - } - if p.TranslatorComment != "" { - p.TranslatorComment += "\n" - } - p.TranslatorComment += strings.TrimSpace(s[1:]) - } -} - -func (p *Comment) readExtractedComment(r *lineReader) (err error) { - const prefix = "#." - for { - var s string - if s, _, err = r.readLine(); err != nil { - return err - } - if len(s) < len(prefix) || s[:len(prefix)] != prefix { - r.unreadLine() - return nil - } - if p.ExtractedComment != "" { - p.ExtractedComment += "\n" - } - p.ExtractedComment += strings.TrimSpace(s[len(prefix):]) - } -} - -func (p *Comment) readReferenceComment(r *lineReader) (err error) { - const prefix = "#:" - for { - var s string - if s, _, err = r.readLine(); err != nil { - return err - } - if len(s) < len(prefix) || s[:len(prefix)] != prefix { - r.unreadLine() - return nil - } - ss := strings.Split(strings.TrimSpace(s[len(prefix):]), " ") - for i := 0; i < len(ss); i++ { - idx := strings.Index(ss[i], ":") - if idx <= 0 { - continue - } - name := strings.TrimSpace(ss[i][:idx]) - line, _ := strconv.Atoi(strings.TrimSpace(ss[i][idx+1:])) - p.ReferenceFile = append(p.ReferenceFile, name) - p.ReferenceLine = append(p.ReferenceLine, line) - } - } -} - -func (p *Comment) readFlagsComment(r *lineReader) (err error) { - const prefix = "#," - for { - var s string - if s, _, err = r.readLine(); err != nil { - return err - } - if len(s) < len(prefix) || s[:len(prefix)] != prefix { - r.unreadLine() - return nil - } - ss := strings.Split(strings.TrimSpace(s[len(prefix):]), ",") - for i := 0; i < len(ss); i++ { - p.Flags = append(p.Flags, strings.TrimSpace(ss[i])) - } - } -} - -func (p *Comment) readPrevMsgContext(r *lineReader) (err error) { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if !rePrevMsgContextComments.MatchString(s) { - return - } - p.PrevMsgContext, err = p.readString(r) - return -} - -func (p *Comment) readPrevMsgId(r *lineReader) (err error) { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if !rePrevMsgIdComments.MatchString(s) { - return - } - p.PrevMsgId, err = p.readString(r) - return -} - -func (p *Comment) readString(r *lineReader) (msg string, err error) { - var s string - if s, _, err = r.readLine(); err != nil { - return - } - msg += decodePoString(s) - for { - if s, _, err = r.readLine(); err != nil { - return - } - if !reStringLineComments.MatchString(s) { - r.unreadLine() - break - } - msg += decodePoString(s) - } - return -} - -// GetFuzzy gets the fuzzy flag. -func (p *Comment) GetFuzzy() bool { - for _, s := range p.Flags { - if s == "fuzzy" { - return true - } - } - return false -} - -// SetFuzzy sets the fuzzy flag. -func (p *Comment) SetFuzzy(fuzzy bool) { - // -} - -// String returns the po format comment string. -func (p Comment) String() string { - var buf bytes.Buffer - if p.TranslatorComment != "" { - ss := strings.Split(p.TranslatorComment, "\n") - for i := 0; i < len(ss); i++ { - fmt.Fprintf(&buf, "# %s\n", ss[i]) - } - } - if p.ExtractedComment != "" { - ss := strings.Split(p.ExtractedComment, "\n") - for i := 0; i < len(ss); i++ { - fmt.Fprintf(&buf, "#. %s\n", ss[i]) - } - } - if a, b := len(p.ReferenceFile), len(p.ReferenceLine); a != 0 && a == b { - fmt.Fprintf(&buf, "#:") - for i := 0; i < len(p.ReferenceFile); i++ { - fmt.Fprintf(&buf, " %s:%d", p.ReferenceFile[i], p.ReferenceLine[i]) - } - fmt.Fprintf(&buf, "\n") - } - if len(p.Flags) != 0 { - fmt.Fprintf(&buf, "#, %s", p.Flags[0]) - for i := 1; i < len(p.Flags); i++ { - fmt.Fprintf(&buf, ", %s", p.Flags[i]) - } - fmt.Fprintf(&buf, "\n") - } - if p.PrevMsgContext != "" { - s := encodeCommentPoString(p.PrevMsgContext) - fmt.Fprintf(&buf, "#| msgctxt %s\n", s) - } - if p.PrevMsgId != "" { - s := encodeCommentPoString(p.PrevMsgId) - fmt.Fprintf(&buf, "#| msgid %s\n", s) - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/doc.go b/vendor/github.com/chai2010/gettext-go/gettext/po/doc.go deleted file mode 100644 index 12bac8f2..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/doc.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -/* -Package po provides support for reading and writing GNU PO file. - -Examples: - import ( - "github.com/chai2010/gettext-go/gettext/po" - ) - - func main() { - poFile, err := po.Load("test.po") - if err != nil { - log.Fatal(err) - } - fmt.Printf("%v", poFile) - } - -The GNU PO file specification is at -http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html. -*/ -package po diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/file.go b/vendor/github.com/chai2010/gettext-go/gettext/po/file.go deleted file mode 100644 index a9b7abf9..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/file.go +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "bytes" - "fmt" - "io" - "io/ioutil" - "sort" -) - -// File represents an PO File. -// -// See http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html -type File struct { - MimeHeader Header - Messages []Message -} - -// Load loads a named po file. -func Load(name string) (*File, error) { - data, err := ioutil.ReadFile(name) - if err != nil { - return nil, err - } - return LoadData(data) -} - -// LoadData loads po file format data. -func LoadData(data []byte) (*File, error) { - r := newLineReader(string(data)) - var file File - for { - var msg Message - if err := msg.readPoEntry(r); err != nil { - if err == io.EOF { - return &file, nil - } - return nil, err - } - if msg.MsgId == "" { - file.MimeHeader.parseHeader(&msg) - continue - } - file.Messages = append(file.Messages, msg) - } -} - -// Save saves a po file. -func (f *File) Save(name string) error { - return ioutil.WriteFile(name, []byte(f.String()), 0666) -} - -// Save returns a po file format data. -func (f *File) Data() []byte { - // sort the massge as ReferenceFile/ReferenceLine field - var messages []Message - messages = append(messages, f.Messages...) - sort.Sort(byMessages(messages)) - - var buf bytes.Buffer - fmt.Fprintf(&buf, "%s\n", f.MimeHeader.String()) - for i := 0; i < len(messages); i++ { - fmt.Fprintf(&buf, "%s\n", messages[i].String()) - } - return buf.Bytes() -} - -// String returns the po format file string. -func (f *File) String() string { - return string(f.Data()) -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/header.go b/vendor/github.com/chai2010/gettext-go/gettext/po/header.go deleted file mode 100644 index a9b5b667..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/header.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "bytes" - "fmt" - "strings" -) - -// Header is the initial comments "SOME DESCRIPTIVE TITLE", "YEAR" -// and "FIRST AUTHOR , YEAR" ought to be replaced by sensible information. -// -// See http://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html#Header-Entry -type Header struct { - Comment // Header Comments - ProjectIdVersion string // Project-Id-Version: PACKAGE VERSION - ReportMsgidBugsTo string // Report-Msgid-Bugs-To: FIRST AUTHOR - POTCreationDate string // POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE - PORevisionDate string // PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE - LastTranslator string // Last-Translator: FIRST AUTHOR - LanguageTeam string // Language-Team: golang-china - Language string // Language: zh_CN - MimeVersion string // MIME-Version: 1.0 - ContentType string // Content-Type: text/plain; charset=UTF-8 - ContentTransferEncoding string // Content-Transfer-Encoding: 8bit - PluralForms string // Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1; - XGenerator string // X-Generator: Poedit 1.5.5 - UnknowFields map[string]string -} - -func (p *Header) parseHeader(msg *Message) { - if msg.MsgId != "" || msg.MsgStr == "" { - return - } - lines := strings.Split(msg.MsgStr, "\n") - for i := 0; i < len(lines); i++ { - idx := strings.Index(lines[i], ":") - if idx < 0 { - continue - } - key := strings.TrimSpace(lines[i][:idx]) - val := strings.TrimSpace(lines[i][idx+1:]) - switch strings.ToUpper(key) { - case strings.ToUpper("Project-Id-Version"): - p.ProjectIdVersion = val - case strings.ToUpper("Report-Msgid-Bugs-To"): - p.ReportMsgidBugsTo = val - case strings.ToUpper("POT-Creation-Date"): - p.POTCreationDate = val - case strings.ToUpper("PO-Revision-Date"): - p.PORevisionDate = val - case strings.ToUpper("Last-Translator"): - p.LastTranslator = val - case strings.ToUpper("Language-Team"): - p.LanguageTeam = val - case strings.ToUpper("Language"): - p.Language = val - case strings.ToUpper("MIME-Version"): - p.MimeVersion = val - case strings.ToUpper("Content-Type"): - p.ContentType = val - case strings.ToUpper("Content-Transfer-Encoding"): - p.ContentTransferEncoding = val - case strings.ToUpper("Plural-Forms"): - p.PluralForms = val - case strings.ToUpper("X-Generator"): - p.XGenerator = val - default: - if p.UnknowFields == nil { - p.UnknowFields = make(map[string]string) - } - p.UnknowFields[key] = val - } - } - p.Comment = msg.Comment -} - -// String returns the po format header string. -func (p Header) String() string { - var buf bytes.Buffer - fmt.Fprintf(&buf, "%s", p.Comment.String()) - fmt.Fprintf(&buf, `msgid ""`+"\n") - fmt.Fprintf(&buf, `msgstr ""`+"\n") - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Project-Id-Version", p.ProjectIdVersion) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Report-Msgid-Bugs-To", p.ReportMsgidBugsTo) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "POT-Creation-Date", p.POTCreationDate) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "PO-Revision-Date", p.PORevisionDate) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Last-Translator", p.LastTranslator) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Language-Team", p.LanguageTeam) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Language", p.Language) - if p.MimeVersion != "" { - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "MIME-Version", p.MimeVersion) - } - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Content-Type", p.ContentType) - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "Content-Transfer-Encoding", p.ContentTransferEncoding) - if p.XGenerator != "" { - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", "X-Generator", p.XGenerator) - } - for k, v := range p.UnknowFields { - fmt.Fprintf(&buf, `"%s: %s\n"`+"\n", k, v) - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/line_reader.go b/vendor/github.com/chai2010/gettext-go/gettext/po/line_reader.go deleted file mode 100644 index 8597273a..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/line_reader.go +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "io" - "strings" -) - -type lineReader struct { - lines []string - pos int -} - -func newLineReader(data string) *lineReader { - data = strings.Replace(data, "\r", "", -1) - lines := strings.Split(data, "\n") - return &lineReader{lines: lines} -} - -func (r *lineReader) skipBlankLine() error { - for ; r.pos < len(r.lines); r.pos++ { - if strings.TrimSpace(r.lines[r.pos]) != "" { - break - } - } - if r.pos >= len(r.lines) { - return io.EOF - } - return nil -} - -func (r *lineReader) currentPos() int { - return r.pos -} - -func (r *lineReader) currentLine() (s string, pos int, err error) { - if r.pos >= len(r.lines) { - err = io.EOF - return - } - s, pos = r.lines[r.pos], r.pos - return -} - -func (r *lineReader) readLine() (s string, pos int, err error) { - if r.pos >= len(r.lines) { - err = io.EOF - return - } - s, pos = r.lines[r.pos], r.pos - r.pos++ - return -} - -func (r *lineReader) unreadLine() { - if r.pos >= 0 { - r.pos-- - } -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/message.go b/vendor/github.com/chai2010/gettext-go/gettext/po/message.go deleted file mode 100644 index a2cf2512..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/message.go +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "bytes" - "fmt" - "io" - "strconv" - "strings" -) - -// A PO file is made up of many entries, -// each entry holding the relation between an original untranslated string -// and its corresponding translation. -// -// See http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html -type Message struct { - Comment // Coments - MsgContext string // msgctxt context - MsgId string // msgid untranslated-string - MsgIdPlural string // msgid_plural untranslated-string-plural - MsgStr string // msgstr translated-string - MsgStrPlural []string // msgstr[0] translated-string-case-0 -} - -type byMessages []Message - -func (d byMessages) Len() int { - return len(d) -} -func (d byMessages) Less(i, j int) bool { - if d[i].Comment.less(&d[j].Comment) { - return true - } - if a, b := d[i].MsgContext, d[j].MsgContext; a != b { - return a < b - } - if a, b := d[i].MsgId, d[j].MsgId; a != b { - return a < b - } - if a, b := d[i].MsgIdPlural, d[j].MsgIdPlural; a != b { - return a < b - } - return false -} -func (d byMessages) Swap(i, j int) { - d[i], d[j] = d[j], d[i] -} - -func (p *Message) readPoEntry(r *lineReader) (err error) { - *p = Message{} - if err = r.skipBlankLine(); err != nil { - return - } - defer func(oldPos int) { - newPos := r.currentPos() - if newPos != oldPos && err == io.EOF { - err = nil - } - }(r.currentPos()) - - if err = p.Comment.readPoComment(r); err != nil { - return - } - for { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - - if p.isInvalidLine(s) { - err = fmt.Errorf("gettext: line %d, %v", r.currentPos(), "invalid line") - return - } - if reComment.MatchString(s) || reBlankLine.MatchString(s) { - return - } - - if err = p.readMsgContext(r); err != nil { - return - } - if err = p.readMsgId(r); err != nil { - return - } - if err = p.readMsgIdPlural(r); err != nil { - return - } - if err = p.readMsgStrOrPlural(r); err != nil { - return - } - } -} - -func (p *Message) readMsgContext(r *lineReader) (err error) { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if !reMsgContext.MatchString(s) { - return - } - p.MsgContext, err = p.readString(r) - return -} - -func (p *Message) readMsgId(r *lineReader) (err error) { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if !reMsgId.MatchString(s) { - return - } - p.MsgId, err = p.readString(r) - return -} - -func (p *Message) readMsgIdPlural(r *lineReader) (err error) { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if !reMsgIdPlural.MatchString(s) { - return - } - p.MsgIdPlural, err = p.readString(r) - return nil -} - -func (p *Message) readMsgStrOrPlural(r *lineReader) (err error) { - var s string - if s, _, err = r.currentLine(); err != nil { - return - } - if !reMsgStr.MatchString(s) && !reMsgStrPlural.MatchString(s) { - return - } - if reMsgStrPlural.MatchString(s) { - left, right := strings.Index(s, `[`), strings.LastIndex(s, `]`) - idx, _ := strconv.Atoi(s[left+1 : right]) - s, err = p.readString(r) - if n := len(p.MsgStrPlural); (idx + 1) > n { - p.MsgStrPlural = append(p.MsgStrPlural, make([]string, (idx+1)-n)...) - } - p.MsgStrPlural[idx] = s - } else { - p.MsgStr, err = p.readString(r) - } - return nil -} - -func (p *Message) readString(r *lineReader) (msg string, err error) { - var s string - if s, _, err = r.readLine(); err != nil { - return - } - msg += decodePoString(s) - for { - if s, _, err = r.readLine(); err != nil { - return - } - if !reStringLine.MatchString(s) { - r.unreadLine() - break - } - msg += decodePoString(s) - } - return -} - -// String returns the po format entry string. -func (p Message) String() string { - var buf bytes.Buffer - fmt.Fprintf(&buf, "%s", p.Comment.String()) - fmt.Fprintf(&buf, "msgid %s", encodePoString(p.MsgId)) - if p.MsgIdPlural != "" { - fmt.Fprintf(&buf, "msgid_plural %s", encodePoString(p.MsgIdPlural)) - } - if p.MsgStr != "" { - fmt.Fprintf(&buf, "msgstr %s", encodePoString(p.MsgStr)) - } - for i := 0; i < len(p.MsgStrPlural); i++ { - fmt.Fprintf(&buf, "msgstr[%d] %s", i, encodePoString(p.MsgStrPlural[i])) - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/re.go b/vendor/github.com/chai2010/gettext-go/gettext/po/re.go deleted file mode 100644 index 67c240a5..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/re.go +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "regexp" -) - -var ( - reComment = regexp.MustCompile(`^#`) // # - reExtractedComments = regexp.MustCompile(`^#\.`) // #. - reReferenceComments = regexp.MustCompile(`^#:`) // #: - reFlagsComments = regexp.MustCompile(`^#,`) // #, fuzzy,c-format - rePrevMsgContextComments = regexp.MustCompile(`^#\|\s+msgctxt`) // #| msgctxt - rePrevMsgIdComments = regexp.MustCompile(`^#\|\s+msgid`) // #| msgid - reStringLineComments = regexp.MustCompile(`^#\|\s+".*"\s*$`) // #| "message" - - reMsgContext = regexp.MustCompile(`^msgctxt\s+".*"\s*$`) // msgctxt - reMsgId = regexp.MustCompile(`^msgid\s+".*"\s*$`) // msgid - reMsgIdPlural = regexp.MustCompile(`^msgid_plural\s+".*"\s*$`) // msgid_plural - reMsgStr = regexp.MustCompile(`^msgstr\s*".*"\s*$`) // msgstr - reMsgStrPlural = regexp.MustCompile(`^msgstr\s*(\[\d+\])\s*".*"\s*$`) // msgstr[0] - reStringLine = regexp.MustCompile(`^\s*".*"\s*$`) // "message" - reBlankLine = regexp.MustCompile(`^\s*$`) // -) - -func (p *Message) isInvalidLine(s string) bool { - if reComment.MatchString(s) { - return false - } - if reBlankLine.MatchString(s) { - return false - } - - if reMsgContext.MatchString(s) { - return false - } - if reMsgId.MatchString(s) { - return false - } - if reMsgIdPlural.MatchString(s) { - return false - } - if reMsgStr.MatchString(s) { - return false - } - if reMsgStrPlural.MatchString(s) { - return false - } - - if reStringLine.MatchString(s) { - return false - } - - return true -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/po/util.go b/vendor/github.com/chai2010/gettext-go/gettext/po/util.go deleted file mode 100644 index 52544832..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/po/util.go +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package po - -import ( - "bytes" - "strings" -) - -func decodePoString(text string) string { - lines := strings.Split(text, "\n") - for i := 0; i < len(lines); i++ { - left := strings.Index(lines[i], `"`) - right := strings.LastIndex(lines[i], `"`) - if left < 0 || right < 0 || left == right { - lines[i] = "" - continue - } - line := lines[i][left+1 : right] - data := make([]byte, 0, len(line)) - for i := 0; i < len(line); i++ { - if line[i] != '\\' { - data = append(data, line[i]) - continue - } - if i+1 >= len(line) { - break - } - switch line[i+1] { - case 'n': // \\n -> \n - data = append(data, '\n') - i++ - case 't': // \\t -> \n - data = append(data, '\t') - i++ - case '\\': // \\\ -> ? - data = append(data, '\\') - i++ - } - } - lines[i] = string(data) - } - return strings.Join(lines, "") -} - -func encodePoString(text string) string { - var buf bytes.Buffer - lines := strings.Split(text, "\n") - for i := 0; i < len(lines); i++ { - if lines[i] == "" { - if i != len(lines)-1 { - buf.WriteString(`"\n"` + "\n") - } - continue - } - buf.WriteRune('"') - for _, r := range lines[i] { - switch r { - case '\\': - buf.WriteString(`\\`) - case '"': - buf.WriteString(`\"`) - case '\n': - buf.WriteString(`\n`) - case '\t': - buf.WriteString(`\t`) - default: - buf.WriteRune(r) - } - } - buf.WriteString(`\n"` + "\n") - } - return buf.String() -} - -func encodeCommentPoString(text string) string { - var buf bytes.Buffer - lines := strings.Split(text, "\n") - if len(lines) > 1 { - buf.WriteString(`""` + "\n") - } - for i := 0; i < len(lines); i++ { - if len(lines) > 0 { - buf.WriteString("#| ") - } - buf.WriteRune('"') - for _, r := range lines[i] { - switch r { - case '\\': - buf.WriteString(`\\`) - case '"': - buf.WriteString(`\"`) - case '\n': - buf.WriteString(`\n`) - case '\t': - buf.WriteString(`\t`) - default: - buf.WriteRune(r) - } - } - if i < len(lines)-1 { - buf.WriteString(`\n"` + "\n") - } else { - buf.WriteString(`"`) - } - } - return buf.String() -} diff --git a/vendor/github.com/chai2010/gettext-go/gettext/tr.go b/vendor/github.com/chai2010/gettext-go/gettext/tr.go deleted file mode 100644 index fedfbc30..00000000 --- a/vendor/github.com/chai2010/gettext-go/gettext/tr.go +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2013 ChaiShushan . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package gettext - -import ( - "github.com/chai2010/gettext-go/gettext/mo" - "github.com/chai2010/gettext-go/gettext/plural" - "github.com/chai2010/gettext-go/gettext/po" -) - -var nilTranslator = &translator{ - MessageMap: make(map[string]mo.Message), - PluralFormula: plural.Formula("??"), -} - -type translator struct { - MessageMap map[string]mo.Message - PluralFormula func(n int) int -} - -func newMoTranslator(name string, data []byte) (*translator, error) { - var ( - f *mo.File - err error - ) - if len(data) != 0 { - f, err = mo.LoadData(data) - } else { - f, err = mo.Load(name) - } - if err != nil { - return nil, err - } - var tr = &translator{ - MessageMap: make(map[string]mo.Message), - } - for _, v := range f.Messages { - tr.MessageMap[tr.makeMapKey(v.MsgContext, v.MsgId)] = v - } - if lang := f.MimeHeader.Language; lang != "" { - tr.PluralFormula = plural.Formula(lang) - } else { - tr.PluralFormula = plural.Formula("??") - } - return tr, nil -} - -func newPoTranslator(name string, data []byte) (*translator, error) { - var ( - f *po.File - err error - ) - if len(data) != 0 { - f, err = po.LoadData(data) - } else { - f, err = po.Load(name) - } - if err != nil { - return nil, err - } - var tr = &translator{ - MessageMap: make(map[string]mo.Message), - } - for _, v := range f.Messages { - tr.MessageMap[tr.makeMapKey(v.MsgContext, v.MsgId)] = mo.Message{ - MsgContext: v.MsgContext, - MsgId: v.MsgId, - MsgIdPlural: v.MsgIdPlural, - MsgStr: v.MsgStr, - MsgStrPlural: v.MsgStrPlural, - } - } - if lang := f.MimeHeader.Language; lang != "" { - tr.PluralFormula = plural.Formula(lang) - } else { - tr.PluralFormula = plural.Formula("??") - } - return tr, nil -} - -func (p *translator) PGettext(msgctxt, msgid string) string { - return p.PNGettext(msgctxt, msgid, "", 0) -} - -func (p *translator) PNGettext(msgctxt, msgid, msgidPlural string, n int) string { - n = p.PluralFormula(n) - if ss := p.findMsgStrPlural(msgctxt, msgid, msgidPlural); len(ss) != 0 { - if n >= len(ss) { - n = len(ss) - 1 - } - if ss[n] != "" { - return ss[n] - } - } - if msgidPlural != "" && n > 0 { - return msgidPlural - } - return msgid -} - -func (p *translator) findMsgStrPlural(msgctxt, msgid, msgidPlural string) []string { - key := p.makeMapKey(msgctxt, msgid) - if v, ok := p.MessageMap[key]; ok { - if len(v.MsgIdPlural) != 0 { - if len(v.MsgStrPlural) != 0 { - return v.MsgStrPlural - } else { - return nil - } - } else { - if len(v.MsgStr) != 0 { - return []string{v.MsgStr} - } else { - return nil - } - } - } - return nil -} - -func (p *translator) makeMapKey(msgctxt, msgid string) string { - if msgctxt != "" { - return msgctxt + mo.EotSeparator + msgid - } - return msgid -} diff --git a/vendor/github.com/exponent-io/jsonpath/.gitignore b/vendor/github.com/exponent-io/jsonpath/.gitignore deleted file mode 100644 index daf913b1..00000000 --- a/vendor/github.com/exponent-io/jsonpath/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof diff --git a/vendor/github.com/exponent-io/jsonpath/.travis.yml b/vendor/github.com/exponent-io/jsonpath/.travis.yml deleted file mode 100644 index f4f458a4..00000000 --- a/vendor/github.com/exponent-io/jsonpath/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: go - -go: - - 1.5 - - tip diff --git a/vendor/github.com/exponent-io/jsonpath/LICENSE b/vendor/github.com/exponent-io/jsonpath/LICENSE deleted file mode 100644 index 54197725..00000000 --- a/vendor/github.com/exponent-io/jsonpath/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Exponent Labs LLC - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/vendor/github.com/exponent-io/jsonpath/README.md b/vendor/github.com/exponent-io/jsonpath/README.md deleted file mode 100644 index 382fb313..00000000 --- a/vendor/github.com/exponent-io/jsonpath/README.md +++ /dev/null @@ -1,66 +0,0 @@ -[![GoDoc](https://godoc.org/github.com/exponent-io/jsonpath?status.svg)](https://godoc.org/github.com/exponent-io/jsonpath) -[![Build Status](https://travis-ci.org/exponent-io/jsonpath.svg?branch=master)](https://travis-ci.org/exponent-io/jsonpath) - -# jsonpath - -This package extends the [json.Decoder](https://golang.org/pkg/encoding/json/#Decoder) to support navigating a stream of JSON tokens. You should be able to use this extended Decoder places where a json.Decoder would have been used. - -This Decoder has the following enhancements... - * The [Scan](https://godoc.org/github.com/exponent-io/jsonpath/#Decoder.Scan) method supports scanning a JSON stream while extracting particular values along the way using [PathActions](https://godoc.org/github.com/exponent-io/jsonpath#PathActions). - * The [SeekTo](https://godoc.org/github.com/exponent-io/jsonpath#Decoder.SeekTo) method supports seeking forward in a JSON token stream to a particular path. - * The [Path](https://godoc.org/github.com/exponent-io/jsonpath#Decoder.Path) method returns the path of the most recently parsed token. - * The [Token](https://godoc.org/github.com/exponent-io/jsonpath#Decoder.Token) method has been modified to distinguish between strings that are object keys and strings that are values. Object key strings are returned as the [KeyString](https://godoc.org/github.com/exponent-io/jsonpath#KeyString) type rather than a native string. - -## Installation - - go get -u github.com/exponent-io/jsonpath - -## Example Usage - -#### SeekTo - -```go -import "github.com/exponent-io/jsonpath" - -var j = []byte(`[ - {"Space": "YCbCr", "Point": {"Y": 255, "Cb": 0, "Cr": -10}}, - {"Space": "RGB", "Point": {"R": 98, "G": 218, "B": 255}} -]`) - -w := json.NewDecoder(bytes.NewReader(j)) -var v interface{} - -w.SeekTo(1, "Point", "G") -w.Decode(&v) // v is 218 -``` - -#### Scan with PathActions - -```go -var j = []byte(`{"colors":[ - {"Space": "YCbCr", "Point": {"Y": 255, "Cb": 0, "Cr": -10, "A": 58}}, - {"Space": "RGB", "Point": {"R": 98, "G": 218, "B": 255, "A": 231}} -]}`) - -var actions PathActions - -// Extract the value at Point.A -actions.Add(func(d *Decoder) error { - var alpha int - err := d.Decode(&alpha) - fmt.Printf("Alpha: %v\n", alpha) - return err -}, "Point", "A") - -w := NewDecoder(bytes.NewReader(j)) -w.SeekTo("colors", 0) - -var ok = true -var err error -for ok { - ok, err = w.Scan(&actions) - if err != nil && err != io.EOF { - panic(err) - } -} -``` diff --git a/vendor/github.com/exponent-io/jsonpath/decoder.go b/vendor/github.com/exponent-io/jsonpath/decoder.go deleted file mode 100644 index 31de46c7..00000000 --- a/vendor/github.com/exponent-io/jsonpath/decoder.go +++ /dev/null @@ -1,210 +0,0 @@ -package jsonpath - -import ( - "encoding/json" - "io" -) - -// KeyString is returned from Decoder.Token to represent each key in a JSON object value. -type KeyString string - -// Decoder extends the Go runtime's encoding/json.Decoder to support navigating in a stream of JSON tokens. -type Decoder struct { - json.Decoder - - path JsonPath - context jsonContext -} - -// NewDecoder creates a new instance of the extended JSON Decoder. -func NewDecoder(r io.Reader) *Decoder { - return &Decoder{Decoder: *json.NewDecoder(r)} -} - -// SeekTo causes the Decoder to move forward to a given path in the JSON structure. -// -// The path argument must consist of strings or integers. Each string specifies an JSON object key, and -// each integer specifies an index into a JSON array. -// -// Consider the JSON structure -// -// { "a": [0,"s",12e4,{"b":0,"v":35} ] } -// -// SeekTo("a",3,"v") will move to the value referenced by the "a" key in the current object, -// followed by a move to the 4th value (index 3) in the array, followed by a move to the value at key "v". -// In this example, a subsequent call to the decoder's Decode() would unmarshal the value 35. -// -// SeekTo returns a boolean value indicating whether a match was found. -// -// Decoder is intended to be used with a stream of tokens. As a result it navigates forward only. -func (d *Decoder) SeekTo(path ...interface{}) (bool, error) { - - if len(path) == 0 { - return len(d.path) == 0, nil - } - last := len(path) - 1 - if i, ok := path[last].(int); ok { - path[last] = i - 1 - } - - for { - if d.path.Equal(path) { - return true, nil - } - _, err := d.Token() - if err == io.EOF { - return false, nil - } else if err != nil { - return false, err - } - } -} - -// Decode reads the next JSON-encoded value from its input and stores it in the value pointed to by v. This is -// equivalent to encoding/json.Decode(). -func (d *Decoder) Decode(v interface{}) error { - switch d.context { - case objValue: - d.context = objKey - break - case arrValue: - d.path.incTop() - break - } - return d.Decoder.Decode(v) -} - -// Path returns a slice of string and/or int values representing the path from the root of the JSON object to the -// position of the most-recently parsed token. -func (d *Decoder) Path() JsonPath { - p := make(JsonPath, len(d.path)) - copy(p, d.path) - return p -} - -// Token is equivalent to the Token() method on json.Decoder. The primary difference is that it distinguishes -// between strings that are keys and and strings that are values. String tokens that are object keys are returned as a -// KeyString rather than as a native string. -func (d *Decoder) Token() (json.Token, error) { - t, err := d.Decoder.Token() - if err != nil { - return t, err - } - - if t == nil { - switch d.context { - case objValue: - d.context = objKey - break - case arrValue: - d.path.incTop() - break - } - return t, err - } - - switch t := t.(type) { - case json.Delim: - switch t { - case json.Delim('{'): - if d.context == arrValue { - d.path.incTop() - } - d.path.push("") - d.context = objKey - break - case json.Delim('}'): - d.path.pop() - d.context = d.path.inferContext() - break - case json.Delim('['): - if d.context == arrValue { - d.path.incTop() - } - d.path.push(-1) - d.context = arrValue - break - case json.Delim(']'): - d.path.pop() - d.context = d.path.inferContext() - break - } - case float64, json.Number, bool: - switch d.context { - case objValue: - d.context = objKey - break - case arrValue: - d.path.incTop() - break - } - break - case string: - switch d.context { - case objKey: - d.path.nameTop(t) - d.context = objValue - return KeyString(t), err - case objValue: - d.context = objKey - case arrValue: - d.path.incTop() - } - break - } - - return t, err -} - -// Scan moves forward over the JSON stream consuming all the tokens at the current level (current object, current array) -// invoking each matching PathAction along the way. -// -// Scan returns true if there are more contiguous values to scan (for example in an array). -func (d *Decoder) Scan(ext *PathActions) (bool, error) { - - rootPath := d.Path() - - // If this is an array path, increment the root path in our local copy. - if rootPath.inferContext() == arrValue { - rootPath.incTop() - } - - for { - // advance the token position - _, err := d.Token() - if err != nil { - return false, err - } - - match: - var relPath JsonPath - - // capture the new JSON path - path := d.Path() - - if len(path) > len(rootPath) { - // capture the path relative to where the scan started - relPath = path[len(rootPath):] - } else { - // if the path is not longer than the root, then we are done with this scan - // return boolean flag indicating if there are more items to scan at the same level - return d.Decoder.More(), nil - } - - // match the relative path against the path actions - if node := ext.node.match(relPath); node != nil { - if node.action != nil { - // we have a match so execute the action - err = node.action(d) - if err != nil { - return d.Decoder.More(), err - } - // The action may have advanced the decoder. If we are in an array, advancing it further would - // skip tokens. So, if we are scanning an array, jump to the top without advancing the token. - if d.path.inferContext() == arrValue && d.Decoder.More() { - goto match - } - } - } - } -} diff --git a/vendor/github.com/exponent-io/jsonpath/path.go b/vendor/github.com/exponent-io/jsonpath/path.go deleted file mode 100644 index d7db2ad3..00000000 --- a/vendor/github.com/exponent-io/jsonpath/path.go +++ /dev/null @@ -1,67 +0,0 @@ -// Extends the Go runtime's json.Decoder enabling navigation of a stream of json tokens. -package jsonpath - -import "fmt" - -type jsonContext int - -const ( - none jsonContext = iota - objKey - objValue - arrValue -) - -// AnyIndex can be used in a pattern to match any array index. -const AnyIndex = -2 - -// JsonPath is a slice of strings and/or integers. Each string specifies an JSON object key, and -// each integer specifies an index into a JSON array. -type JsonPath []interface{} - -func (p *JsonPath) push(n interface{}) { *p = append(*p, n) } -func (p *JsonPath) pop() { *p = (*p)[:len(*p)-1] } - -// increment the index at the top of the stack (must be an array index) -func (p *JsonPath) incTop() { (*p)[len(*p)-1] = (*p)[len(*p)-1].(int) + 1 } - -// name the key at the top of the stack (must be an object key) -func (p *JsonPath) nameTop(n string) { (*p)[len(*p)-1] = n } - -// infer the context from the item at the top of the stack -func (p *JsonPath) inferContext() jsonContext { - if len(*p) == 0 { - return none - } - t := (*p)[len(*p)-1] - switch t.(type) { - case string: - return objKey - case int: - return arrValue - default: - panic(fmt.Sprintf("Invalid stack type %T", t)) - } -} - -// Equal tests for equality between two JsonPath types. -func (p *JsonPath) Equal(o JsonPath) bool { - if len(*p) != len(o) { - return false - } - for i, v := range *p { - if v != o[i] { - return false - } - } - return true -} - -func (p *JsonPath) HasPrefix(o JsonPath) bool { - for i, v := range o { - if v != (*p)[i] { - return false - } - } - return true -} diff --git a/vendor/github.com/exponent-io/jsonpath/pathaction.go b/vendor/github.com/exponent-io/jsonpath/pathaction.go deleted file mode 100644 index 497ed686..00000000 --- a/vendor/github.com/exponent-io/jsonpath/pathaction.go +++ /dev/null @@ -1,61 +0,0 @@ -package jsonpath - -// pathNode is used to construct a trie of paths to be matched -type pathNode struct { - matchOn interface{} // string, or integer - childNodes []pathNode - action DecodeAction -} - -// match climbs the trie to find a node that matches the given JSON path. -func (n *pathNode) match(path JsonPath) *pathNode { - var node *pathNode = n - for _, ps := range path { - found := false - for i, n := range node.childNodes { - if n.matchOn == ps { - node = &node.childNodes[i] - found = true - break - } else if _, ok := ps.(int); ok && n.matchOn == AnyIndex { - node = &node.childNodes[i] - found = true - break - } - } - if !found { - return nil - } - } - return node -} - -// PathActions represents a collection of DecodeAction functions that should be called at certain path positions -// when scanning the JSON stream. PathActions can be created once and used many times in one or more JSON streams. -type PathActions struct { - node pathNode -} - -// DecodeAction handlers are called by the Decoder when scanning objects. See PathActions.Add for more detail. -type DecodeAction func(d *Decoder) error - -// Add specifies an action to call on the Decoder when the specified path is encountered. -func (je *PathActions) Add(action DecodeAction, path ...interface{}) { - - var node *pathNode = &je.node - for _, ps := range path { - found := false - for i, n := range node.childNodes { - if n.matchOn == ps { - node = &node.childNodes[i] - found = true - break - } - } - if !found { - node.childNodes = append(node.childNodes, pathNode{matchOn: ps}) - node = &node.childNodes[len(node.childNodes)-1] - } - } - node.action = action -} diff --git a/vendor/github.com/go-errors/errors/.travis.yml b/vendor/github.com/go-errors/errors/.travis.yml deleted file mode 100644 index 9d00fdd5..00000000 --- a/vendor/github.com/go-errors/errors/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: go - -go: - - "1.8.x" - - "1.10.x" diff --git a/vendor/github.com/go-errors/errors/LICENSE.MIT b/vendor/github.com/go-errors/errors/LICENSE.MIT deleted file mode 100644 index c9a5b2ee..00000000 --- a/vendor/github.com/go-errors/errors/LICENSE.MIT +++ /dev/null @@ -1,7 +0,0 @@ -Copyright (c) 2015 Conrad Irwin - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/github.com/go-errors/errors/README.md b/vendor/github.com/go-errors/errors/README.md deleted file mode 100644 index 5d4f1873..00000000 --- a/vendor/github.com/go-errors/errors/README.md +++ /dev/null @@ -1,66 +0,0 @@ -go-errors/errors -================ - -[![Build Status](https://travis-ci.org/go-errors/errors.svg?branch=master)](https://travis-ci.org/go-errors/errors) - -Package errors adds stacktrace support to errors in go. - -This is particularly useful when you want to understand the state of execution -when an error was returned unexpectedly. - -It provides the type \*Error which implements the standard golang error -interface, so you can use this library interchangably with code that is -expecting a normal error return. - -Usage ------ - -Full documentation is available on -[godoc](https://godoc.org/github.com/go-errors/errors), but here's a simple -example: - -```go -package crashy - -import "github.com/go-errors/errors" - -var Crashed = errors.Errorf("oh dear") - -func Crash() error { - return errors.New(Crashed) -} -``` - -This can be called as follows: - -```go -package main - -import ( - "crashy" - "fmt" - "github.com/go-errors/errors" -) - -func main() { - err := crashy.Crash() - if err != nil { - if errors.Is(err, crashy.Crashed) { - fmt.Println(err.(*errors.Error).ErrorStack()) - } else { - panic(err) - } - } -} -``` - -Meta-fu -------- - -This package was original written to allow reporting to -[Bugsnag](https://bugsnag.com/) from -[bugsnag-go](https://github.com/bugsnag/bugsnag-go), but after I found similar -packages by Facebook and Dropbox, it was moved to one canonical location so -everyone can benefit. - -This package is licensed under the MIT license, see LICENSE.MIT for details. diff --git a/vendor/github.com/go-errors/errors/cover.out b/vendor/github.com/go-errors/errors/cover.out deleted file mode 100644 index ab18b051..00000000 --- a/vendor/github.com/go-errors/errors/cover.out +++ /dev/null @@ -1,89 +0,0 @@ -mode: set -github.com/go-errors/errors/stackframe.go:27.51,30.25 2 1 -github.com/go-errors/errors/stackframe.go:33.2,38.8 3 1 -github.com/go-errors/errors/stackframe.go:30.25,32.3 1 0 -github.com/go-errors/errors/stackframe.go:43.47,44.31 1 1 -github.com/go-errors/errors/stackframe.go:47.2,47.48 1 1 -github.com/go-errors/errors/stackframe.go:44.31,46.3 1 1 -github.com/go-errors/errors/stackframe.go:52.42,56.16 3 1 -github.com/go-errors/errors/stackframe.go:60.2,60.60 1 1 -github.com/go-errors/errors/stackframe.go:56.16,58.3 1 0 -github.com/go-errors/errors/stackframe.go:64.55,67.16 2 1 -github.com/go-errors/errors/stackframe.go:71.2,72.61 2 1 -github.com/go-errors/errors/stackframe.go:76.2,76.66 1 1 -github.com/go-errors/errors/stackframe.go:67.16,69.3 1 0 -github.com/go-errors/errors/stackframe.go:72.61,74.3 1 0 -github.com/go-errors/errors/stackframe.go:79.56,91.63 3 1 -github.com/go-errors/errors/stackframe.go:95.2,95.53 1 1 -github.com/go-errors/errors/stackframe.go:100.2,101.18 2 1 -github.com/go-errors/errors/stackframe.go:91.63,94.3 2 1 -github.com/go-errors/errors/stackframe.go:95.53,98.3 2 1 -github.com/go-errors/errors/error.go:70.32,73.23 2 1 -github.com/go-errors/errors/error.go:80.2,85.3 3 1 -github.com/go-errors/errors/error.go:74.2,75.10 1 1 -github.com/go-errors/errors/error.go:76.2,77.28 1 1 -github.com/go-errors/errors/error.go:92.43,95.23 2 1 -github.com/go-errors/errors/error.go:104.2,109.3 3 1 -github.com/go-errors/errors/error.go:96.2,97.11 1 1 -github.com/go-errors/errors/error.go:98.2,99.10 1 1 -github.com/go-errors/errors/error.go:100.2,101.28 1 1 -github.com/go-errors/errors/error.go:115.39,117.19 1 1 -github.com/go-errors/errors/error.go:121.2,121.29 1 1 -github.com/go-errors/errors/error.go:125.2,125.43 1 1 -github.com/go-errors/errors/error.go:129.2,129.14 1 1 -github.com/go-errors/errors/error.go:117.19,119.3 1 1 -github.com/go-errors/errors/error.go:121.29,123.3 1 1 -github.com/go-errors/errors/error.go:125.43,127.3 1 1 -github.com/go-errors/errors/error.go:135.53,137.2 1 1 -github.com/go-errors/errors/error.go:140.34,142.2 1 1 -github.com/go-errors/errors/error.go:146.34,149.42 2 1 -github.com/go-errors/errors/error.go:153.2,153.20 1 1 -github.com/go-errors/errors/error.go:149.42,151.3 1 1 -github.com/go-errors/errors/error.go:158.39,160.2 1 1 -github.com/go-errors/errors/error.go:164.46,165.23 1 1 -github.com/go-errors/errors/error.go:173.2,173.19 1 1 -github.com/go-errors/errors/error.go:165.23,168.32 2 1 -github.com/go-errors/errors/error.go:168.32,170.4 1 1 -github.com/go-errors/errors/error.go:177.37,178.42 1 1 -github.com/go-errors/errors/error.go:181.2,181.41 1 1 -github.com/go-errors/errors/error.go:178.42,180.3 1 1 -github.com/go-errors/errors/parse_panic.go:10.39,12.2 1 1 -github.com/go-errors/errors/parse_panic.go:16.46,24.34 5 1 -github.com/go-errors/errors/parse_panic.go:70.2,70.43 1 1 -github.com/go-errors/errors/parse_panic.go:73.2,73.55 1 0 -github.com/go-errors/errors/parse_panic.go:24.34,27.23 2 1 -github.com/go-errors/errors/parse_panic.go:27.23,28.42 1 1 -github.com/go-errors/errors/parse_panic.go:28.42,31.5 2 1 -github.com/go-errors/errors/parse_panic.go:31.6,33.5 1 0 -github.com/go-errors/errors/parse_panic.go:35.5,35.29 1 1 -github.com/go-errors/errors/parse_panic.go:35.29,36.86 1 1 -github.com/go-errors/errors/parse_panic.go:36.86,38.5 1 1 -github.com/go-errors/errors/parse_panic.go:40.5,40.32 1 1 -github.com/go-errors/errors/parse_panic.go:40.32,41.18 1 1 -github.com/go-errors/errors/parse_panic.go:45.4,46.46 2 1 -github.com/go-errors/errors/parse_panic.go:51.4,53.23 2 1 -github.com/go-errors/errors/parse_panic.go:57.4,58.18 2 1 -github.com/go-errors/errors/parse_panic.go:62.4,63.17 2 1 -github.com/go-errors/errors/parse_panic.go:41.18,43.10 2 1 -github.com/go-errors/errors/parse_panic.go:46.46,49.5 2 1 -github.com/go-errors/errors/parse_panic.go:53.23,55.5 1 0 -github.com/go-errors/errors/parse_panic.go:58.18,60.5 1 0 -github.com/go-errors/errors/parse_panic.go:63.17,65.10 2 1 -github.com/go-errors/errors/parse_panic.go:70.43,72.3 1 1 -github.com/go-errors/errors/parse_panic.go:80.85,82.29 2 1 -github.com/go-errors/errors/parse_panic.go:85.2,85.15 1 1 -github.com/go-errors/errors/parse_panic.go:88.2,90.63 2 1 -github.com/go-errors/errors/parse_panic.go:94.2,94.53 1 1 -github.com/go-errors/errors/parse_panic.go:99.2,101.36 2 1 -github.com/go-errors/errors/parse_panic.go:105.2,106.15 2 1 -github.com/go-errors/errors/parse_panic.go:109.2,112.49 3 1 -github.com/go-errors/errors/parse_panic.go:116.2,117.16 2 1 -github.com/go-errors/errors/parse_panic.go:121.2,126.8 1 1 -github.com/go-errors/errors/parse_panic.go:82.29,84.3 1 0 -github.com/go-errors/errors/parse_panic.go:85.15,87.3 1 1 -github.com/go-errors/errors/parse_panic.go:90.63,93.3 2 1 -github.com/go-errors/errors/parse_panic.go:94.53,97.3 2 1 -github.com/go-errors/errors/parse_panic.go:101.36,103.3 1 0 -github.com/go-errors/errors/parse_panic.go:106.15,108.3 1 0 -github.com/go-errors/errors/parse_panic.go:112.49,114.3 1 1 -github.com/go-errors/errors/parse_panic.go:117.16,119.3 1 0 diff --git a/vendor/github.com/go-errors/errors/error.go b/vendor/github.com/go-errors/errors/error.go deleted file mode 100644 index 60062a43..00000000 --- a/vendor/github.com/go-errors/errors/error.go +++ /dev/null @@ -1,217 +0,0 @@ -// Package errors provides errors that have stack-traces. -// -// This is particularly useful when you want to understand the -// state of execution when an error was returned unexpectedly. -// -// It provides the type *Error which implements the standard -// golang error interface, so you can use this library interchangably -// with code that is expecting a normal error return. -// -// For example: -// -// package crashy -// -// import "github.com/go-errors/errors" -// -// var Crashed = errors.Errorf("oh dear") -// -// func Crash() error { -// return errors.New(Crashed) -// } -// -// This can be called as follows: -// -// package main -// -// import ( -// "crashy" -// "fmt" -// "github.com/go-errors/errors" -// ) -// -// func main() { -// err := crashy.Crash() -// if err != nil { -// if errors.Is(err, crashy.Crashed) { -// fmt.Println(err.(*errors.Error).ErrorStack()) -// } else { -// panic(err) -// } -// } -// } -// -// This package was original written to allow reporting to Bugsnag, -// but after I found similar packages by Facebook and Dropbox, it -// was moved to one canonical location so everyone can benefit. -package errors - -import ( - "bytes" - "fmt" - "reflect" - "runtime" -) - -// The maximum number of stackframes on any error. -var MaxStackDepth = 50 - -// Error is an error with an attached stacktrace. It can be used -// wherever the builtin error interface is expected. -type Error struct { - Err error - stack []uintptr - frames []StackFrame - prefix string -} - -// New makes an Error from the given value. If that value is already an -// error then it will be used directly, if not, it will be passed to -// fmt.Errorf("%v"). The stacktrace will point to the line of code that -// called New. -func New(e interface{}) *Error { - var err error - - switch e := e.(type) { - case error: - err = e - default: - err = fmt.Errorf("%v", e) - } - - stack := make([]uintptr, MaxStackDepth) - length := runtime.Callers(2, stack[:]) - return &Error{ - Err: err, - stack: stack[:length], - } -} - -// Wrap makes an Error from the given value. If that value is already an -// error then it will be used directly, if not, it will be passed to -// fmt.Errorf("%v"). The skip parameter indicates how far up the stack -// to start the stacktrace. 0 is from the current call, 1 from its caller, etc. -func Wrap(e interface{}, skip int) *Error { - var err error - - switch e := e.(type) { - case *Error: - return e - case error: - err = e - default: - err = fmt.Errorf("%v", e) - } - - stack := make([]uintptr, MaxStackDepth) - length := runtime.Callers(2+skip, stack[:]) - return &Error{ - Err: err, - stack: stack[:length], - } -} - -// WrapPrefix makes an Error from the given value. If that value is already an -// error then it will be used directly, if not, it will be passed to -// fmt.Errorf("%v"). The prefix parameter is used to add a prefix to the -// error message when calling Error(). The skip parameter indicates how far -// up the stack to start the stacktrace. 0 is from the current call, -// 1 from its caller, etc. -func WrapPrefix(e interface{}, prefix string, skip int) *Error { - - err := Wrap(e, 1+skip) - - if err.prefix != "" { - prefix = fmt.Sprintf("%s: %s", prefix, err.prefix) - } - - return &Error{ - Err: err.Err, - stack: err.stack, - prefix: prefix, - } - -} - -// Is detects whether the error is equal to a given error. Errors -// are considered equal by this function if they are the same object, -// or if they both contain the same error inside an errors.Error. -func Is(e error, original error) bool { - - if e == original { - return true - } - - if e, ok := e.(*Error); ok { - return Is(e.Err, original) - } - - if original, ok := original.(*Error); ok { - return Is(e, original.Err) - } - - return false -} - -// Errorf creates a new error with the given message. You can use it -// as a drop-in replacement for fmt.Errorf() to provide descriptive -// errors in return values. -func Errorf(format string, a ...interface{}) *Error { - return Wrap(fmt.Errorf(format, a...), 1) -} - -// Error returns the underlying error's message. -func (err *Error) Error() string { - - msg := err.Err.Error() - if err.prefix != "" { - msg = fmt.Sprintf("%s: %s", err.prefix, msg) - } - - return msg -} - -// Stack returns the callstack formatted the same way that go does -// in runtime/debug.Stack() -func (err *Error) Stack() []byte { - buf := bytes.Buffer{} - - for _, frame := range err.StackFrames() { - buf.WriteString(frame.String()) - } - - return buf.Bytes() -} - -// Callers satisfies the bugsnag ErrorWithCallerS() interface -// so that the stack can be read out. -func (err *Error) Callers() []uintptr { - return err.stack -} - -// ErrorStack returns a string that contains both the -// error message and the callstack. -func (err *Error) ErrorStack() string { - return err.TypeName() + " " + err.Error() + "\n" + string(err.Stack()) -} - -// StackFrames returns an array of frames containing information about the -// stack. -func (err *Error) StackFrames() []StackFrame { - if err.frames == nil { - err.frames = make([]StackFrame, len(err.stack)) - - for i, pc := range err.stack { - err.frames[i] = NewStackFrame(pc) - } - } - - return err.frames -} - -// TypeName returns the type this error. e.g. *errors.stringError. -func (err *Error) TypeName() string { - if _, ok := err.Err.(uncaughtPanic); ok { - return "panic" - } - return reflect.TypeOf(err.Err).String() -} diff --git a/vendor/github.com/go-errors/errors/parse_panic.go b/vendor/github.com/go-errors/errors/parse_panic.go deleted file mode 100644 index cc37052d..00000000 --- a/vendor/github.com/go-errors/errors/parse_panic.go +++ /dev/null @@ -1,127 +0,0 @@ -package errors - -import ( - "strconv" - "strings" -) - -type uncaughtPanic struct{ message string } - -func (p uncaughtPanic) Error() string { - return p.message -} - -// ParsePanic allows you to get an error object from the output of a go program -// that panicked. This is particularly useful with https://github.com/mitchellh/panicwrap. -func ParsePanic(text string) (*Error, error) { - lines := strings.Split(text, "\n") - - state := "start" - - var message string - var stack []StackFrame - - for i := 0; i < len(lines); i++ { - line := lines[i] - - if state == "start" { - if strings.HasPrefix(line, "panic: ") { - message = strings.TrimPrefix(line, "panic: ") - state = "seek" - } else { - return nil, Errorf("bugsnag.panicParser: Invalid line (no prefix): %s", line) - } - - } else if state == "seek" { - if strings.HasPrefix(line, "goroutine ") && strings.HasSuffix(line, "[running]:") { - state = "parsing" - } - - } else if state == "parsing" { - if line == "" { - state = "done" - break - } - createdBy := false - if strings.HasPrefix(line, "created by ") { - line = strings.TrimPrefix(line, "created by ") - createdBy = true - } - - i++ - - if i >= len(lines) { - return nil, Errorf("bugsnag.panicParser: Invalid line (unpaired): %s", line) - } - - frame, err := parsePanicFrame(line, lines[i], createdBy) - if err != nil { - return nil, err - } - - stack = append(stack, *frame) - if createdBy { - state = "done" - break - } - } - } - - if state == "done" || state == "parsing" { - return &Error{Err: uncaughtPanic{message}, frames: stack}, nil - } - return nil, Errorf("could not parse panic: %v", text) -} - -// The lines we're passing look like this: -// -// main.(*foo).destruct(0xc208067e98) -// /0/go/src/github.com/bugsnag/bugsnag-go/pan/main.go:22 +0x151 -func parsePanicFrame(name string, line string, createdBy bool) (*StackFrame, error) { - idx := strings.LastIndex(name, "(") - if idx == -1 && !createdBy { - return nil, Errorf("bugsnag.panicParser: Invalid line (no call): %s", name) - } - if idx != -1 { - name = name[:idx] - } - pkg := "" - - if lastslash := strings.LastIndex(name, "/"); lastslash >= 0 { - pkg += name[:lastslash] + "/" - name = name[lastslash+1:] - } - if period := strings.Index(name, "."); period >= 0 { - pkg += name[:period] - name = name[period+1:] - } - - name = strings.Replace(name, "·", ".", -1) - - if !strings.HasPrefix(line, "\t") { - return nil, Errorf("bugsnag.panicParser: Invalid line (no tab): %s", line) - } - - idx = strings.LastIndex(line, ":") - if idx == -1 { - return nil, Errorf("bugsnag.panicParser: Invalid line (no line number): %s", line) - } - file := line[1:idx] - - number := line[idx+1:] - if idx = strings.Index(number, " +"); idx > -1 { - number = number[:idx] - } - - lno, err := strconv.ParseInt(number, 10, 32) - if err != nil { - return nil, Errorf("bugsnag.panicParser: Invalid line (bad line number): %s", line) - } - - return &StackFrame{ - File: file, - LineNumber: int(lno), - Package: pkg, - Name: name, - }, nil -} diff --git a/vendor/github.com/go-errors/errors/stackframe.go b/vendor/github.com/go-errors/errors/stackframe.go deleted file mode 100644 index 750ab9a5..00000000 --- a/vendor/github.com/go-errors/errors/stackframe.go +++ /dev/null @@ -1,102 +0,0 @@ -package errors - -import ( - "bytes" - "fmt" - "io/ioutil" - "runtime" - "strings" -) - -// A StackFrame contains all necessary information about to generate a line -// in a callstack. -type StackFrame struct { - // The path to the file containing this ProgramCounter - File string - // The LineNumber in that file - LineNumber int - // The Name of the function that contains this ProgramCounter - Name string - // The Package that contains this function - Package string - // The underlying ProgramCounter - ProgramCounter uintptr -} - -// NewStackFrame popoulates a stack frame object from the program counter. -func NewStackFrame(pc uintptr) (frame StackFrame) { - - frame = StackFrame{ProgramCounter: pc} - if frame.Func() == nil { - return - } - frame.Package, frame.Name = packageAndName(frame.Func()) - - // pc -1 because the program counters we use are usually return addresses, - // and we want to show the line that corresponds to the function call - frame.File, frame.LineNumber = frame.Func().FileLine(pc - 1) - return - -} - -// Func returns the function that contained this frame. -func (frame *StackFrame) Func() *runtime.Func { - if frame.ProgramCounter == 0 { - return nil - } - return runtime.FuncForPC(frame.ProgramCounter) -} - -// String returns the stackframe formatted in the same way as go does -// in runtime/debug.Stack() -func (frame *StackFrame) String() string { - str := fmt.Sprintf("%s:%d (0x%x)\n", frame.File, frame.LineNumber, frame.ProgramCounter) - - source, err := frame.SourceLine() - if err != nil { - return str - } - - return str + fmt.Sprintf("\t%s: %s\n", frame.Name, source) -} - -// SourceLine gets the line of code (from File and Line) of the original source if possible. -func (frame *StackFrame) SourceLine() (string, error) { - data, err := ioutil.ReadFile(frame.File) - - if err != nil { - return "", New(err) - } - - lines := bytes.Split(data, []byte{'\n'}) - if frame.LineNumber <= 0 || frame.LineNumber >= len(lines) { - return "???", nil - } - // -1 because line-numbers are 1 based, but our array is 0 based - return string(bytes.Trim(lines[frame.LineNumber-1], " \t")), nil -} - -func packageAndName(fn *runtime.Func) (string, string) { - name := fn.Name() - pkg := "" - - // The name includes the path name to the package, which is unnecessary - // since the file name is already included. Plus, it has center dots. - // That is, we see - // runtime/debug.*T·ptrmethod - // and want - // *T.ptrmethod - // Since the package path might contains dots (e.g. code.google.com/...), - // we first remove the path prefix if there is one. - if lastslash := strings.LastIndex(name, "/"); lastslash >= 0 { - pkg += name[:lastslash] + "/" - name = name[lastslash+1:] - } - if period := strings.Index(name, "."); period >= 0 { - pkg += name[:period] - name = name[period+1:] - } - - name = strings.Replace(name, "·", ".", -1) - return pkg, name -} diff --git a/vendor/github.com/golang/protobuf/jsonpb/decode.go b/vendor/github.com/golang/protobuf/jsonpb/decode.go deleted file mode 100644 index 6c16c255..00000000 --- a/vendor/github.com/golang/protobuf/jsonpb/decode.go +++ /dev/null @@ -1,530 +0,0 @@ -// 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. - -package jsonpb - -import ( - "encoding/json" - "errors" - "fmt" - "io" - "math" - "reflect" - "strconv" - "strings" - "time" - - "github.com/golang/protobuf/proto" - "google.golang.org/protobuf/encoding/protojson" - protoV2 "google.golang.org/protobuf/proto" - "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" -) - -const wrapJSONUnmarshalV2 = false - -// UnmarshalNext unmarshals the next JSON object from d into m. -func UnmarshalNext(d *json.Decoder, m proto.Message) error { - return new(Unmarshaler).UnmarshalNext(d, m) -} - -// Unmarshal unmarshals a JSON object from r into m. -func Unmarshal(r io.Reader, m proto.Message) error { - return new(Unmarshaler).Unmarshal(r, m) -} - -// UnmarshalString unmarshals a JSON object from s into m. -func UnmarshalString(s string, m proto.Message) error { - return new(Unmarshaler).Unmarshal(strings.NewReader(s), m) -} - -// Unmarshaler is a configurable object for converting from a JSON -// representation to a protocol buffer object. -type Unmarshaler struct { - // AllowUnknownFields specifies whether to allow messages to contain - // unknown JSON fields, as opposed to failing to unmarshal. - AllowUnknownFields bool - - // AnyResolver is used to resolve the google.protobuf.Any well-known type. - // If unset, the global registry is used by default. - AnyResolver AnyResolver -} - -// JSONPBUnmarshaler is implemented by protobuf messages that customize the way -// they are unmarshaled from JSON. Messages that implement this should also -// implement JSONPBMarshaler so that the custom format can be produced. -// -// The JSON unmarshaling must follow the JSON to proto specification: -// https://developers.google.com/protocol-buffers/docs/proto3#json -// -// Deprecated: Custom types should implement protobuf reflection instead. -type JSONPBUnmarshaler interface { - UnmarshalJSONPB(*Unmarshaler, []byte) error -} - -// Unmarshal unmarshals a JSON object from r into m. -func (u *Unmarshaler) Unmarshal(r io.Reader, m proto.Message) error { - return u.UnmarshalNext(json.NewDecoder(r), m) -} - -// UnmarshalNext unmarshals the next JSON object from d into m. -func (u *Unmarshaler) UnmarshalNext(d *json.Decoder, m proto.Message) error { - if m == nil { - return errors.New("invalid nil message") - } - - // Parse the next JSON object from the stream. - raw := json.RawMessage{} - if err := d.Decode(&raw); err != nil { - return err - } - - // Check for custom unmarshalers first since they may not properly - // implement protobuf reflection that the logic below relies on. - if jsu, ok := m.(JSONPBUnmarshaler); ok { - return jsu.UnmarshalJSONPB(u, raw) - } - - mr := proto.MessageReflect(m) - - // NOTE: For historical reasons, a top-level null is treated as a noop. - // This is incorrect, but kept for compatibility. - if string(raw) == "null" && mr.Descriptor().FullName() != "google.protobuf.Value" { - return nil - } - - if wrapJSONUnmarshalV2 { - // NOTE: If input message is non-empty, we need to preserve merge semantics - // of the old jsonpb implementation. These semantics are not supported by - // the protobuf JSON specification. - isEmpty := true - mr.Range(func(protoreflect.FieldDescriptor, protoreflect.Value) bool { - isEmpty = false // at least one iteration implies non-empty - return false - }) - if !isEmpty { - // Perform unmarshaling into a newly allocated, empty message. - mr = mr.New() - - // Use a defer to copy all unmarshaled fields into the original message. - dst := proto.MessageReflect(m) - defer mr.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool { - dst.Set(fd, v) - return true - }) - } - - // Unmarshal using the v2 JSON unmarshaler. - opts := protojson.UnmarshalOptions{ - DiscardUnknown: u.AllowUnknownFields, - } - if u.AnyResolver != nil { - opts.Resolver = anyResolver{u.AnyResolver} - } - return opts.Unmarshal(raw, mr.Interface()) - } else { - if err := u.unmarshalMessage(mr, raw); err != nil { - return err - } - return protoV2.CheckInitialized(mr.Interface()) - } -} - -func (u *Unmarshaler) unmarshalMessage(m protoreflect.Message, in []byte) error { - md := m.Descriptor() - fds := md.Fields() - - if jsu, ok := proto.MessageV1(m.Interface()).(JSONPBUnmarshaler); ok { - return jsu.UnmarshalJSONPB(u, in) - } - - if string(in) == "null" && md.FullName() != "google.protobuf.Value" { - return nil - } - - switch wellKnownType(md.FullName()) { - case "Any": - var jsonObject map[string]json.RawMessage - if err := json.Unmarshal(in, &jsonObject); err != nil { - return err - } - - rawTypeURL, ok := jsonObject["@type"] - if !ok { - return errors.New("Any JSON doesn't have '@type'") - } - typeURL, err := unquoteString(string(rawTypeURL)) - if err != nil { - return fmt.Errorf("can't unmarshal Any's '@type': %q", rawTypeURL) - } - m.Set(fds.ByNumber(1), protoreflect.ValueOfString(typeURL)) - - var m2 protoreflect.Message - if u.AnyResolver != nil { - mi, err := u.AnyResolver.Resolve(typeURL) - if err != nil { - return err - } - m2 = proto.MessageReflect(mi) - } else { - mt, err := protoregistry.GlobalTypes.FindMessageByURL(typeURL) - if err != nil { - if err == protoregistry.NotFound { - return fmt.Errorf("could not resolve Any message type: %v", typeURL) - } - return err - } - m2 = mt.New() - } - - if wellKnownType(m2.Descriptor().FullName()) != "" { - rawValue, ok := jsonObject["value"] - if !ok { - return errors.New("Any JSON doesn't have 'value'") - } - if err := u.unmarshalMessage(m2, rawValue); err != nil { - return fmt.Errorf("can't unmarshal Any nested proto %v: %v", typeURL, err) - } - } else { - delete(jsonObject, "@type") - rawJSON, err := json.Marshal(jsonObject) - if err != nil { - return fmt.Errorf("can't generate JSON for Any's nested proto to be unmarshaled: %v", err) - } - if err = u.unmarshalMessage(m2, rawJSON); err != nil { - return fmt.Errorf("can't unmarshal Any nested proto %v: %v", typeURL, err) - } - } - - rawWire, err := protoV2.Marshal(m2.Interface()) - if err != nil { - return fmt.Errorf("can't marshal proto %v into Any.Value: %v", typeURL, err) - } - m.Set(fds.ByNumber(2), protoreflect.ValueOfBytes(rawWire)) - return nil - case "BoolValue", "BytesValue", "StringValue", - "Int32Value", "UInt32Value", "FloatValue", - "Int64Value", "UInt64Value", "DoubleValue": - fd := fds.ByNumber(1) - v, err := u.unmarshalValue(m.NewField(fd), in, fd) - if err != nil { - return err - } - m.Set(fd, v) - return nil - case "Duration": - v, err := unquoteString(string(in)) - if err != nil { - return err - } - d, err := time.ParseDuration(v) - if err != nil { - return fmt.Errorf("bad Duration: %v", err) - } - - sec := d.Nanoseconds() / 1e9 - nsec := d.Nanoseconds() % 1e9 - m.Set(fds.ByNumber(1), protoreflect.ValueOfInt64(int64(sec))) - m.Set(fds.ByNumber(2), protoreflect.ValueOfInt32(int32(nsec))) - return nil - case "Timestamp": - v, err := unquoteString(string(in)) - if err != nil { - return err - } - t, err := time.Parse(time.RFC3339Nano, v) - if err != nil { - return fmt.Errorf("bad Timestamp: %v", err) - } - - sec := t.Unix() - nsec := t.Nanosecond() - m.Set(fds.ByNumber(1), protoreflect.ValueOfInt64(int64(sec))) - m.Set(fds.ByNumber(2), protoreflect.ValueOfInt32(int32(nsec))) - return nil - case "Value": - switch { - case string(in) == "null": - m.Set(fds.ByNumber(1), protoreflect.ValueOfEnum(0)) - case string(in) == "true": - m.Set(fds.ByNumber(4), protoreflect.ValueOfBool(true)) - case string(in) == "false": - m.Set(fds.ByNumber(4), protoreflect.ValueOfBool(false)) - case hasPrefixAndSuffix('"', in, '"'): - s, err := unquoteString(string(in)) - if err != nil { - return fmt.Errorf("unrecognized type for Value %q", in) - } - m.Set(fds.ByNumber(3), protoreflect.ValueOfString(s)) - case hasPrefixAndSuffix('[', in, ']'): - v := m.Mutable(fds.ByNumber(6)) - return u.unmarshalMessage(v.Message(), in) - case hasPrefixAndSuffix('{', in, '}'): - v := m.Mutable(fds.ByNumber(5)) - return u.unmarshalMessage(v.Message(), in) - default: - f, err := strconv.ParseFloat(string(in), 0) - if err != nil { - return fmt.Errorf("unrecognized type for Value %q", in) - } - m.Set(fds.ByNumber(2), protoreflect.ValueOfFloat64(f)) - } - return nil - case "ListValue": - var jsonArray []json.RawMessage - if err := json.Unmarshal(in, &jsonArray); err != nil { - return fmt.Errorf("bad ListValue: %v", err) - } - - lv := m.Mutable(fds.ByNumber(1)).List() - for _, raw := range jsonArray { - ve := lv.NewElement() - if err := u.unmarshalMessage(ve.Message(), raw); err != nil { - return err - } - lv.Append(ve) - } - return nil - case "Struct": - var jsonObject map[string]json.RawMessage - if err := json.Unmarshal(in, &jsonObject); err != nil { - return fmt.Errorf("bad StructValue: %v", err) - } - - mv := m.Mutable(fds.ByNumber(1)).Map() - for key, raw := range jsonObject { - kv := protoreflect.ValueOf(key).MapKey() - vv := mv.NewValue() - if err := u.unmarshalMessage(vv.Message(), raw); err != nil { - return fmt.Errorf("bad value in StructValue for key %q: %v", key, err) - } - mv.Set(kv, vv) - } - return nil - } - - var jsonObject map[string]json.RawMessage - if err := json.Unmarshal(in, &jsonObject); err != nil { - return err - } - - // Handle known fields. - for i := 0; i < fds.Len(); i++ { - fd := fds.Get(i) - if fd.IsWeak() && fd.Message().IsPlaceholder() { - continue // weak reference is not linked in - } - - // Search for any raw JSON value associated with this field. - var raw json.RawMessage - name := string(fd.Name()) - if fd.Kind() == protoreflect.GroupKind { - name = string(fd.Message().Name()) - } - if v, ok := jsonObject[name]; ok { - delete(jsonObject, name) - raw = v - } - name = string(fd.JSONName()) - if v, ok := jsonObject[name]; ok { - delete(jsonObject, name) - raw = v - } - - field := m.NewField(fd) - // Unmarshal the field value. - if raw == nil || (string(raw) == "null" && !isSingularWellKnownValue(fd) && !isSingularJSONPBUnmarshaler(field, fd)) { - continue - } - v, err := u.unmarshalValue(field, raw, fd) - if err != nil { - return err - } - m.Set(fd, v) - } - - // Handle extension fields. - for name, raw := range jsonObject { - if !strings.HasPrefix(name, "[") || !strings.HasSuffix(name, "]") { - continue - } - - // Resolve the extension field by name. - xname := protoreflect.FullName(name[len("[") : len(name)-len("]")]) - xt, _ := protoregistry.GlobalTypes.FindExtensionByName(xname) - if xt == nil && isMessageSet(md) { - xt, _ = protoregistry.GlobalTypes.FindExtensionByName(xname.Append("message_set_extension")) - } - if xt == nil { - continue - } - delete(jsonObject, name) - fd := xt.TypeDescriptor() - if fd.ContainingMessage().FullName() != m.Descriptor().FullName() { - return fmt.Errorf("extension field %q does not extend message %q", xname, m.Descriptor().FullName()) - } - - field := m.NewField(fd) - // Unmarshal the field value. - if raw == nil || (string(raw) == "null" && !isSingularWellKnownValue(fd) && !isSingularJSONPBUnmarshaler(field, fd)) { - continue - } - v, err := u.unmarshalValue(field, raw, fd) - if err != nil { - return err - } - m.Set(fd, v) - } - - if !u.AllowUnknownFields && len(jsonObject) > 0 { - for name := range jsonObject { - return fmt.Errorf("unknown field %q in %v", name, md.FullName()) - } - } - return nil -} - -func isSingularWellKnownValue(fd protoreflect.FieldDescriptor) bool { - if fd.Cardinality() == protoreflect.Repeated { - return false - } - if md := fd.Message(); md != nil { - return md.FullName() == "google.protobuf.Value" - } - if ed := fd.Enum(); ed != nil { - return ed.FullName() == "google.protobuf.NullValue" - } - return false -} - -func isSingularJSONPBUnmarshaler(v protoreflect.Value, fd protoreflect.FieldDescriptor) bool { - if fd.Message() != nil && fd.Cardinality() != protoreflect.Repeated { - _, ok := proto.MessageV1(v.Interface()).(JSONPBUnmarshaler) - return ok - } - return false -} - -func (u *Unmarshaler) unmarshalValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) { - switch { - case fd.IsList(): - var jsonArray []json.RawMessage - if err := json.Unmarshal(in, &jsonArray); err != nil { - return v, err - } - lv := v.List() - for _, raw := range jsonArray { - ve, err := u.unmarshalSingularValue(lv.NewElement(), raw, fd) - if err != nil { - return v, err - } - lv.Append(ve) - } - return v, nil - case fd.IsMap(): - var jsonObject map[string]json.RawMessage - if err := json.Unmarshal(in, &jsonObject); err != nil { - return v, err - } - kfd := fd.MapKey() - vfd := fd.MapValue() - mv := v.Map() - for key, raw := range jsonObject { - var kv protoreflect.MapKey - if kfd.Kind() == protoreflect.StringKind { - kv = protoreflect.ValueOf(key).MapKey() - } else { - v, err := u.unmarshalSingularValue(kfd.Default(), []byte(key), kfd) - if err != nil { - return v, err - } - kv = v.MapKey() - } - - vv, err := u.unmarshalSingularValue(mv.NewValue(), raw, vfd) - if err != nil { - return v, err - } - mv.Set(kv, vv) - } - return v, nil - default: - return u.unmarshalSingularValue(v, in, fd) - } -} - -var nonFinite = map[string]float64{ - `"NaN"`: math.NaN(), - `"Infinity"`: math.Inf(+1), - `"-Infinity"`: math.Inf(-1), -} - -func (u *Unmarshaler) unmarshalSingularValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) { - switch fd.Kind() { - case protoreflect.BoolKind: - return unmarshalValue(in, new(bool)) - case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind: - return unmarshalValue(trimQuote(in), new(int32)) - case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind: - return unmarshalValue(trimQuote(in), new(int64)) - case protoreflect.Uint32Kind, protoreflect.Fixed32Kind: - return unmarshalValue(trimQuote(in), new(uint32)) - case protoreflect.Uint64Kind, protoreflect.Fixed64Kind: - return unmarshalValue(trimQuote(in), new(uint64)) - case protoreflect.FloatKind: - if f, ok := nonFinite[string(in)]; ok { - return protoreflect.ValueOfFloat32(float32(f)), nil - } - return unmarshalValue(trimQuote(in), new(float32)) - case protoreflect.DoubleKind: - if f, ok := nonFinite[string(in)]; ok { - return protoreflect.ValueOfFloat64(float64(f)), nil - } - return unmarshalValue(trimQuote(in), new(float64)) - case protoreflect.StringKind: - return unmarshalValue(in, new(string)) - case protoreflect.BytesKind: - return unmarshalValue(in, new([]byte)) - case protoreflect.EnumKind: - if hasPrefixAndSuffix('"', in, '"') { - vd := fd.Enum().Values().ByName(protoreflect.Name(trimQuote(in))) - if vd == nil { - return v, fmt.Errorf("unknown value %q for enum %s", in, fd.Enum().FullName()) - } - return protoreflect.ValueOfEnum(vd.Number()), nil - } - return unmarshalValue(in, new(protoreflect.EnumNumber)) - case protoreflect.MessageKind, protoreflect.GroupKind: - err := u.unmarshalMessage(v.Message(), in) - return v, err - default: - panic(fmt.Sprintf("invalid kind %v", fd.Kind())) - } -} - -func unmarshalValue(in []byte, v interface{}) (protoreflect.Value, error) { - err := json.Unmarshal(in, v) - return protoreflect.ValueOf(reflect.ValueOf(v).Elem().Interface()), err -} - -func unquoteString(in string) (out string, err error) { - err = json.Unmarshal([]byte(in), &out) - return out, err -} - -func hasPrefixAndSuffix(prefix byte, in []byte, suffix byte) bool { - if len(in) >= 2 && in[0] == prefix && in[len(in)-1] == suffix { - return true - } - return false -} - -// trimQuote is like unquoteString but simply strips surrounding quotes. -// This is incorrect, but is behavior done by the legacy implementation. -func trimQuote(in []byte) []byte { - if len(in) >= 2 && in[0] == '"' && in[len(in)-1] == '"' { - in = in[1 : len(in)-1] - } - return in -} diff --git a/vendor/github.com/golang/protobuf/jsonpb/encode.go b/vendor/github.com/golang/protobuf/jsonpb/encode.go deleted file mode 100644 index 685c80a6..00000000 --- a/vendor/github.com/golang/protobuf/jsonpb/encode.go +++ /dev/null @@ -1,559 +0,0 @@ -// 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. - -package jsonpb - -import ( - "encoding/json" - "errors" - "fmt" - "io" - "math" - "reflect" - "sort" - "strconv" - "strings" - "time" - - "github.com/golang/protobuf/proto" - "google.golang.org/protobuf/encoding/protojson" - protoV2 "google.golang.org/protobuf/proto" - "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" -) - -const wrapJSONMarshalV2 = false - -// Marshaler is a configurable object for marshaling protocol buffer messages -// to the specified JSON representation. -type Marshaler struct { - // OrigName specifies whether to use the original protobuf name for fields. - OrigName bool - - // EnumsAsInts specifies whether to render enum values as integers, - // as opposed to string values. - EnumsAsInts bool - - // EmitDefaults specifies whether to render fields with zero values. - EmitDefaults bool - - // Indent controls whether the output is compact or not. - // If empty, the output is compact JSON. Otherwise, every JSON object - // entry and JSON array value will be on its own line. - // Each line will be preceded by repeated copies of Indent, where the - // number of copies is the current indentation depth. - Indent string - - // AnyResolver is used to resolve the google.protobuf.Any well-known type. - // If unset, the global registry is used by default. - AnyResolver AnyResolver -} - -// JSONPBMarshaler is implemented by protobuf messages that customize the -// way they are marshaled to JSON. Messages that implement this should also -// implement JSONPBUnmarshaler so that the custom format can be parsed. -// -// The JSON marshaling must follow the proto to JSON specification: -// https://developers.google.com/protocol-buffers/docs/proto3#json -// -// Deprecated: Custom types should implement protobuf reflection instead. -type JSONPBMarshaler interface { - MarshalJSONPB(*Marshaler) ([]byte, error) -} - -// Marshal serializes a protobuf message as JSON into w. -func (jm *Marshaler) Marshal(w io.Writer, m proto.Message) error { - b, err := jm.marshal(m) - if len(b) > 0 { - if _, err := w.Write(b); err != nil { - return err - } - } - return err -} - -// MarshalToString serializes a protobuf message as JSON in string form. -func (jm *Marshaler) MarshalToString(m proto.Message) (string, error) { - b, err := jm.marshal(m) - if err != nil { - return "", err - } - return string(b), nil -} - -func (jm *Marshaler) marshal(m proto.Message) ([]byte, error) { - v := reflect.ValueOf(m) - if m == nil || (v.Kind() == reflect.Ptr && v.IsNil()) { - return nil, errors.New("Marshal called with nil") - } - - // Check for custom marshalers first since they may not properly - // implement protobuf reflection that the logic below relies on. - if jsm, ok := m.(JSONPBMarshaler); ok { - return jsm.MarshalJSONPB(jm) - } - - if wrapJSONMarshalV2 { - opts := protojson.MarshalOptions{ - UseProtoNames: jm.OrigName, - UseEnumNumbers: jm.EnumsAsInts, - EmitUnpopulated: jm.EmitDefaults, - Indent: jm.Indent, - } - if jm.AnyResolver != nil { - opts.Resolver = anyResolver{jm.AnyResolver} - } - return opts.Marshal(proto.MessageReflect(m).Interface()) - } else { - // Check for unpopulated required fields first. - m2 := proto.MessageReflect(m) - if err := protoV2.CheckInitialized(m2.Interface()); err != nil { - return nil, err - } - - w := jsonWriter{Marshaler: jm} - err := w.marshalMessage(m2, "", "") - return w.buf, err - } -} - -type jsonWriter struct { - *Marshaler - buf []byte -} - -func (w *jsonWriter) write(s string) { - w.buf = append(w.buf, s...) -} - -func (w *jsonWriter) marshalMessage(m protoreflect.Message, indent, typeURL string) error { - if jsm, ok := proto.MessageV1(m.Interface()).(JSONPBMarshaler); ok { - b, err := jsm.MarshalJSONPB(w.Marshaler) - if err != nil { - return err - } - if typeURL != "" { - // we are marshaling this object to an Any type - var js map[string]*json.RawMessage - if err = json.Unmarshal(b, &js); err != nil { - return fmt.Errorf("type %T produced invalid JSON: %v", m.Interface(), err) - } - turl, err := json.Marshal(typeURL) - if err != nil { - return fmt.Errorf("failed to marshal type URL %q to JSON: %v", typeURL, err) - } - js["@type"] = (*json.RawMessage)(&turl) - if b, err = json.Marshal(js); err != nil { - return err - } - } - w.write(string(b)) - return nil - } - - md := m.Descriptor() - fds := md.Fields() - - // Handle well-known types. - const secondInNanos = int64(time.Second / time.Nanosecond) - switch wellKnownType(md.FullName()) { - case "Any": - return w.marshalAny(m, indent) - case "BoolValue", "BytesValue", "StringValue", - "Int32Value", "UInt32Value", "FloatValue", - "Int64Value", "UInt64Value", "DoubleValue": - fd := fds.ByNumber(1) - return w.marshalValue(fd, m.Get(fd), indent) - case "Duration": - const maxSecondsInDuration = 315576000000 - // "Generated output always contains 0, 3, 6, or 9 fractional digits, - // depending on required precision." - s := m.Get(fds.ByNumber(1)).Int() - ns := m.Get(fds.ByNumber(2)).Int() - if s < -maxSecondsInDuration || s > maxSecondsInDuration { - return fmt.Errorf("seconds out of range %v", s) - } - if ns <= -secondInNanos || ns >= secondInNanos { - return fmt.Errorf("ns out of range (%v, %v)", -secondInNanos, secondInNanos) - } - if (s > 0 && ns < 0) || (s < 0 && ns > 0) { - return errors.New("signs of seconds and nanos do not match") - } - var sign string - if s < 0 || ns < 0 { - sign, s, ns = "-", -1*s, -1*ns - } - x := fmt.Sprintf("%s%d.%09d", sign, s, ns) - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, ".000") - w.write(fmt.Sprintf(`"%vs"`, x)) - return nil - case "Timestamp": - // "RFC 3339, where generated output will always be Z-normalized - // and uses 0, 3, 6 or 9 fractional digits." - s := m.Get(fds.ByNumber(1)).Int() - ns := m.Get(fds.ByNumber(2)).Int() - if ns < 0 || ns >= secondInNanos { - return fmt.Errorf("ns out of range [0, %v)", secondInNanos) - } - t := time.Unix(s, ns).UTC() - // time.RFC3339Nano isn't exactly right (we need to get 3/6/9 fractional digits). - x := t.Format("2006-01-02T15:04:05.000000000") - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, ".000") - w.write(fmt.Sprintf(`"%vZ"`, x)) - return nil - case "Value": - // JSON value; which is a null, number, string, bool, object, or array. - od := md.Oneofs().Get(0) - fd := m.WhichOneof(od) - if fd == nil { - return errors.New("nil Value") - } - return w.marshalValue(fd, m.Get(fd), indent) - case "Struct", "ListValue": - // JSON object or array. - fd := fds.ByNumber(1) - return w.marshalValue(fd, m.Get(fd), indent) - } - - w.write("{") - if w.Indent != "" { - w.write("\n") - } - - firstField := true - if typeURL != "" { - if err := w.marshalTypeURL(indent, typeURL); err != nil { - return err - } - firstField = false - } - - for i := 0; i < fds.Len(); { - fd := fds.Get(i) - if od := fd.ContainingOneof(); od != nil { - fd = m.WhichOneof(od) - i += od.Fields().Len() - if fd == nil { - continue - } - } else { - i++ - } - - v := m.Get(fd) - - if !m.Has(fd) { - if !w.EmitDefaults || fd.ContainingOneof() != nil { - continue - } - if fd.Cardinality() != protoreflect.Repeated && (fd.Message() != nil || fd.Syntax() == protoreflect.Proto2) { - v = protoreflect.Value{} // use "null" for singular messages or proto2 scalars - } - } - - if !firstField { - w.writeComma() - } - if err := w.marshalField(fd, v, indent); err != nil { - return err - } - firstField = false - } - - // Handle proto2 extensions. - if md.ExtensionRanges().Len() > 0 { - // Collect a sorted list of all extension descriptor and values. - type ext struct { - desc protoreflect.FieldDescriptor - val protoreflect.Value - } - var exts []ext - m.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool { - if fd.IsExtension() { - exts = append(exts, ext{fd, v}) - } - return true - }) - sort.Slice(exts, func(i, j int) bool { - return exts[i].desc.Number() < exts[j].desc.Number() - }) - - for _, ext := range exts { - if !firstField { - w.writeComma() - } - if err := w.marshalField(ext.desc, ext.val, indent); err != nil { - return err - } - firstField = false - } - } - - if w.Indent != "" { - w.write("\n") - w.write(indent) - } - w.write("}") - return nil -} - -func (w *jsonWriter) writeComma() { - if w.Indent != "" { - w.write(",\n") - } else { - w.write(",") - } -} - -func (w *jsonWriter) marshalAny(m protoreflect.Message, indent string) error { - // "If the Any contains a value that has a special JSON mapping, - // it will be converted as follows: {"@type": xxx, "value": yyy}. - // Otherwise, the value will be converted into a JSON object, - // and the "@type" field will be inserted to indicate the actual data type." - md := m.Descriptor() - typeURL := m.Get(md.Fields().ByNumber(1)).String() - rawVal := m.Get(md.Fields().ByNumber(2)).Bytes() - - var m2 protoreflect.Message - if w.AnyResolver != nil { - mi, err := w.AnyResolver.Resolve(typeURL) - if err != nil { - return err - } - m2 = proto.MessageReflect(mi) - } else { - mt, err := protoregistry.GlobalTypes.FindMessageByURL(typeURL) - if err != nil { - return err - } - m2 = mt.New() - } - - if err := protoV2.Unmarshal(rawVal, m2.Interface()); err != nil { - return err - } - - if wellKnownType(m2.Descriptor().FullName()) == "" { - return w.marshalMessage(m2, indent, typeURL) - } - - w.write("{") - if w.Indent != "" { - w.write("\n") - } - if err := w.marshalTypeURL(indent, typeURL); err != nil { - return err - } - w.writeComma() - if w.Indent != "" { - w.write(indent) - w.write(w.Indent) - w.write(`"value": `) - } else { - w.write(`"value":`) - } - if err := w.marshalMessage(m2, indent+w.Indent, ""); err != nil { - return err - } - if w.Indent != "" { - w.write("\n") - w.write(indent) - } - w.write("}") - return nil -} - -func (w *jsonWriter) marshalTypeURL(indent, typeURL string) error { - if w.Indent != "" { - w.write(indent) - w.write(w.Indent) - } - w.write(`"@type":`) - if w.Indent != "" { - w.write(" ") - } - b, err := json.Marshal(typeURL) - if err != nil { - return err - } - w.write(string(b)) - return nil -} - -// marshalField writes field description and value to the Writer. -func (w *jsonWriter) marshalField(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error { - if w.Indent != "" { - w.write(indent) - w.write(w.Indent) - } - w.write(`"`) - switch { - case fd.IsExtension(): - // For message set, use the fname of the message as the extension name. - name := string(fd.FullName()) - if isMessageSet(fd.ContainingMessage()) { - name = strings.TrimSuffix(name, ".message_set_extension") - } - - w.write("[" + name + "]") - case w.OrigName: - name := string(fd.Name()) - if fd.Kind() == protoreflect.GroupKind { - name = string(fd.Message().Name()) - } - w.write(name) - default: - w.write(string(fd.JSONName())) - } - w.write(`":`) - if w.Indent != "" { - w.write(" ") - } - return w.marshalValue(fd, v, indent) -} - -func (w *jsonWriter) marshalValue(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error { - switch { - case fd.IsList(): - w.write("[") - comma := "" - lv := v.List() - for i := 0; i < lv.Len(); i++ { - w.write(comma) - if w.Indent != "" { - w.write("\n") - w.write(indent) - w.write(w.Indent) - w.write(w.Indent) - } - if err := w.marshalSingularValue(fd, lv.Get(i), indent+w.Indent); err != nil { - return err - } - comma = "," - } - if w.Indent != "" { - w.write("\n") - w.write(indent) - w.write(w.Indent) - } - w.write("]") - return nil - case fd.IsMap(): - kfd := fd.MapKey() - vfd := fd.MapValue() - mv := v.Map() - - // Collect a sorted list of all map keys and values. - type entry struct{ key, val protoreflect.Value } - var entries []entry - mv.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool { - entries = append(entries, entry{k.Value(), v}) - return true - }) - sort.Slice(entries, func(i, j int) bool { - switch kfd.Kind() { - case protoreflect.BoolKind: - return !entries[i].key.Bool() && entries[j].key.Bool() - case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind, protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind: - return entries[i].key.Int() < entries[j].key.Int() - case protoreflect.Uint32Kind, protoreflect.Fixed32Kind, protoreflect.Uint64Kind, protoreflect.Fixed64Kind: - return entries[i].key.Uint() < entries[j].key.Uint() - case protoreflect.StringKind: - return entries[i].key.String() < entries[j].key.String() - default: - panic("invalid kind") - } - }) - - w.write(`{`) - comma := "" - for _, entry := range entries { - w.write(comma) - if w.Indent != "" { - w.write("\n") - w.write(indent) - w.write(w.Indent) - w.write(w.Indent) - } - - s := fmt.Sprint(entry.key.Interface()) - b, err := json.Marshal(s) - if err != nil { - return err - } - w.write(string(b)) - - w.write(`:`) - if w.Indent != "" { - w.write(` `) - } - - if err := w.marshalSingularValue(vfd, entry.val, indent+w.Indent); err != nil { - return err - } - comma = "," - } - if w.Indent != "" { - w.write("\n") - w.write(indent) - w.write(w.Indent) - } - w.write(`}`) - return nil - default: - return w.marshalSingularValue(fd, v, indent) - } -} - -func (w *jsonWriter) marshalSingularValue(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error { - switch { - case !v.IsValid(): - w.write("null") - return nil - case fd.Message() != nil: - return w.marshalMessage(v.Message(), indent+w.Indent, "") - case fd.Enum() != nil: - if fd.Enum().FullName() == "google.protobuf.NullValue" { - w.write("null") - return nil - } - - vd := fd.Enum().Values().ByNumber(v.Enum()) - if vd == nil || w.EnumsAsInts { - w.write(strconv.Itoa(int(v.Enum()))) - } else { - w.write(`"` + string(vd.Name()) + `"`) - } - return nil - default: - switch v.Interface().(type) { - case float32, float64: - switch { - case math.IsInf(v.Float(), +1): - w.write(`"Infinity"`) - return nil - case math.IsInf(v.Float(), -1): - w.write(`"-Infinity"`) - return nil - case math.IsNaN(v.Float()): - w.write(`"NaN"`) - return nil - } - case int64, uint64: - w.write(fmt.Sprintf(`"%d"`, v.Interface())) - return nil - } - - b, err := json.Marshal(v.Interface()) - if err != nil { - return err - } - w.write(string(b)) - return nil - } -} diff --git a/vendor/github.com/golang/protobuf/jsonpb/json.go b/vendor/github.com/golang/protobuf/jsonpb/json.go deleted file mode 100644 index 480e2448..00000000 --- a/vendor/github.com/golang/protobuf/jsonpb/json.go +++ /dev/null @@ -1,69 +0,0 @@ -// 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. - -// Package jsonpb provides functionality to marshal and unmarshal between a -// protocol buffer message and JSON. It follows the specification at -// https://developers.google.com/protocol-buffers/docs/proto3#json. -// -// Do not rely on the default behavior of the standard encoding/json package -// when called on generated message types as it does not operate correctly. -// -// Deprecated: Use the "google.golang.org/protobuf/encoding/protojson" -// package instead. -package jsonpb - -import ( - "github.com/golang/protobuf/proto" - "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" - "google.golang.org/protobuf/runtime/protoimpl" -) - -// AnyResolver takes a type URL, present in an Any message, -// and resolves it into an instance of the associated message. -type AnyResolver interface { - Resolve(typeURL string) (proto.Message, error) -} - -type anyResolver struct{ AnyResolver } - -func (r anyResolver) FindMessageByName(message protoreflect.FullName) (protoreflect.MessageType, error) { - return r.FindMessageByURL(string(message)) -} - -func (r anyResolver) FindMessageByURL(url string) (protoreflect.MessageType, error) { - m, err := r.Resolve(url) - if err != nil { - return nil, err - } - return protoimpl.X.MessageTypeOf(m), nil -} - -func (r anyResolver) FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) { - return protoregistry.GlobalTypes.FindExtensionByName(field) -} - -func (r anyResolver) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) { - return protoregistry.GlobalTypes.FindExtensionByNumber(message, field) -} - -func wellKnownType(s protoreflect.FullName) string { - if s.Parent() == "google.protobuf" { - switch s.Name() { - case "Empty", "Any", - "BoolValue", "BytesValue", "StringValue", - "Int32Value", "UInt32Value", "FloatValue", - "Int64Value", "UInt64Value", "DoubleValue", - "Duration", "Timestamp", - "NullValue", "Struct", "Value", "ListValue": - return string(s.Name()) - } - } - return "" -} - -func isMessageSet(md protoreflect.MessageDescriptor) bool { - ms, ok := md.(interface{ IsMessageSet() bool }) - return ok && ms.IsMessageSet() -} diff --git a/vendor/github.com/google/btree/.travis.yml b/vendor/github.com/google/btree/.travis.yml deleted file mode 100644 index 4f2ee4d9..00000000 --- a/vendor/github.com/google/btree/.travis.yml +++ /dev/null @@ -1 +0,0 @@ -language: go diff --git a/vendor/github.com/google/btree/LICENSE b/vendor/github.com/google/btree/LICENSE deleted file mode 100644 index d6456956..00000000 --- a/vendor/github.com/google/btree/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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/github.com/google/btree/README.md b/vendor/github.com/google/btree/README.md deleted file mode 100644 index 6062a4da..00000000 --- a/vendor/github.com/google/btree/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# BTree implementation for Go - -![Travis CI Build Status](https://api.travis-ci.org/google/btree.svg?branch=master) - -This package provides an in-memory B-Tree implementation for Go, useful as -an ordered, mutable data structure. - -The API is based off of the wonderful -http://godoc.org/github.com/petar/GoLLRB/llrb, and is meant to allow btree to -act as a drop-in replacement for gollrb trees. - -See http://godoc.org/github.com/google/btree for documentation. diff --git a/vendor/github.com/google/btree/btree.go b/vendor/github.com/google/btree/btree.go deleted file mode 100644 index b83acdbc..00000000 --- a/vendor/github.com/google/btree/btree.go +++ /dev/null @@ -1,890 +0,0 @@ -// Copyright 2014 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package btree implements in-memory B-Trees of arbitrary degree. -// -// btree implements an in-memory B-Tree for use as an ordered data structure. -// It is not meant for persistent storage solutions. -// -// It has a flatter structure than an equivalent red-black or other binary tree, -// which in some cases yields better memory usage and/or performance. -// See some discussion on the matter here: -// http://google-opensource.blogspot.com/2013/01/c-containers-that-save-memory-and-time.html -// Note, though, that this project is in no way related to the C++ B-Tree -// implementation written about there. -// -// Within this tree, each node contains a slice of items and a (possibly nil) -// slice of children. For basic numeric values or raw structs, this can cause -// efficiency differences when compared to equivalent C++ template code that -// stores values in arrays within the node: -// * Due to the overhead of storing values as interfaces (each -// value needs to be stored as the value itself, then 2 words for the -// interface pointing to that value and its type), resulting in higher -// memory use. -// * Since interfaces can point to values anywhere in memory, values are -// most likely not stored in contiguous blocks, resulting in a higher -// number of cache misses. -// These issues don't tend to matter, though, when working with strings or other -// heap-allocated structures, since C++-equivalent structures also must store -// pointers and also distribute their values across the heap. -// -// This implementation is designed to be a drop-in replacement to gollrb.LLRB -// trees, (http://github.com/petar/gollrb), an excellent and probably the most -// widely used ordered tree implementation in the Go ecosystem currently. -// Its functions, therefore, exactly mirror those of -// llrb.LLRB where possible. Unlike gollrb, though, we currently don't -// support storing multiple equivalent values. -package btree - -import ( - "fmt" - "io" - "sort" - "strings" - "sync" -) - -// Item represents a single object in the tree. -type Item interface { - // Less tests whether the current item is less than the given argument. - // - // This must provide a strict weak ordering. - // If !a.Less(b) && !b.Less(a), we treat this to mean a == b (i.e. we can only - // hold one of either a or b in the tree). - Less(than Item) bool -} - -const ( - DefaultFreeListSize = 32 -) - -var ( - nilItems = make(items, 16) - nilChildren = make(children, 16) -) - -// FreeList represents a free list of btree nodes. By default each -// BTree has its own FreeList, but multiple BTrees can share the same -// FreeList. -// Two Btrees using the same freelist are safe for concurrent write access. -type FreeList struct { - mu sync.Mutex - freelist []*node -} - -// NewFreeList creates a new free list. -// size is the maximum size of the returned free list. -func NewFreeList(size int) *FreeList { - return &FreeList{freelist: make([]*node, 0, size)} -} - -func (f *FreeList) newNode() (n *node) { - f.mu.Lock() - index := len(f.freelist) - 1 - if index < 0 { - f.mu.Unlock() - return new(node) - } - n = f.freelist[index] - f.freelist[index] = nil - f.freelist = f.freelist[:index] - f.mu.Unlock() - return -} - -// freeNode adds the given node to the list, returning true if it was added -// and false if it was discarded. -func (f *FreeList) freeNode(n *node) (out bool) { - f.mu.Lock() - if len(f.freelist) < cap(f.freelist) { - f.freelist = append(f.freelist, n) - out = true - } - f.mu.Unlock() - return -} - -// ItemIterator allows callers of Ascend* to iterate in-order over portions of -// the tree. When this function returns false, iteration will stop and the -// associated Ascend* function will immediately return. -type ItemIterator func(i Item) bool - -// New creates a new B-Tree with the given degree. -// -// New(2), for example, will create a 2-3-4 tree (each node contains 1-3 items -// and 2-4 children). -func New(degree int) *BTree { - return NewWithFreeList(degree, NewFreeList(DefaultFreeListSize)) -} - -// NewWithFreeList creates a new B-Tree that uses the given node free list. -func NewWithFreeList(degree int, f *FreeList) *BTree { - if degree <= 1 { - panic("bad degree") - } - return &BTree{ - degree: degree, - cow: ©OnWriteContext{freelist: f}, - } -} - -// items stores items in a node. -type items []Item - -// insertAt inserts a value into the given index, pushing all subsequent values -// forward. -func (s *items) insertAt(index int, item Item) { - *s = append(*s, nil) - if index < len(*s) { - copy((*s)[index+1:], (*s)[index:]) - } - (*s)[index] = item -} - -// removeAt removes a value at a given index, pulling all subsequent values -// back. -func (s *items) removeAt(index int) Item { - item := (*s)[index] - copy((*s)[index:], (*s)[index+1:]) - (*s)[len(*s)-1] = nil - *s = (*s)[:len(*s)-1] - return item -} - -// pop removes and returns the last element in the list. -func (s *items) pop() (out Item) { - index := len(*s) - 1 - out = (*s)[index] - (*s)[index] = nil - *s = (*s)[:index] - return -} - -// truncate truncates this instance at index so that it contains only the -// first index items. index must be less than or equal to length. -func (s *items) truncate(index int) { - var toClear items - *s, toClear = (*s)[:index], (*s)[index:] - for len(toClear) > 0 { - toClear = toClear[copy(toClear, nilItems):] - } -} - -// find returns the index where the given item should be inserted into this -// list. 'found' is true if the item already exists in the list at the given -// index. -func (s items) find(item Item) (index int, found bool) { - i := sort.Search(len(s), func(i int) bool { - return item.Less(s[i]) - }) - if i > 0 && !s[i-1].Less(item) { - return i - 1, true - } - return i, false -} - -// children stores child nodes in a node. -type children []*node - -// insertAt inserts a value into the given index, pushing all subsequent values -// forward. -func (s *children) insertAt(index int, n *node) { - *s = append(*s, nil) - if index < len(*s) { - copy((*s)[index+1:], (*s)[index:]) - } - (*s)[index] = n -} - -// removeAt removes a value at a given index, pulling all subsequent values -// back. -func (s *children) removeAt(index int) *node { - n := (*s)[index] - copy((*s)[index:], (*s)[index+1:]) - (*s)[len(*s)-1] = nil - *s = (*s)[:len(*s)-1] - return n -} - -// pop removes and returns the last element in the list. -func (s *children) pop() (out *node) { - index := len(*s) - 1 - out = (*s)[index] - (*s)[index] = nil - *s = (*s)[:index] - return -} - -// truncate truncates this instance at index so that it contains only the -// first index children. index must be less than or equal to length. -func (s *children) truncate(index int) { - var toClear children - *s, toClear = (*s)[:index], (*s)[index:] - for len(toClear) > 0 { - toClear = toClear[copy(toClear, nilChildren):] - } -} - -// node is an internal node in a tree. -// -// It must at all times maintain the invariant that either -// * len(children) == 0, len(items) unconstrained -// * len(children) == len(items) + 1 -type node struct { - items items - children children - cow *copyOnWriteContext -} - -func (n *node) mutableFor(cow *copyOnWriteContext) *node { - if n.cow == cow { - return n - } - out := cow.newNode() - if cap(out.items) >= len(n.items) { - out.items = out.items[:len(n.items)] - } else { - out.items = make(items, len(n.items), cap(n.items)) - } - copy(out.items, n.items) - // Copy children - if cap(out.children) >= len(n.children) { - out.children = out.children[:len(n.children)] - } else { - out.children = make(children, len(n.children), cap(n.children)) - } - copy(out.children, n.children) - return out -} - -func (n *node) mutableChild(i int) *node { - c := n.children[i].mutableFor(n.cow) - n.children[i] = c - return c -} - -// split splits the given node at the given index. The current node shrinks, -// and this function returns the item that existed at that index and a new node -// containing all items/children after it. -func (n *node) split(i int) (Item, *node) { - item := n.items[i] - next := n.cow.newNode() - next.items = append(next.items, n.items[i+1:]...) - n.items.truncate(i) - if len(n.children) > 0 { - next.children = append(next.children, n.children[i+1:]...) - n.children.truncate(i + 1) - } - return item, next -} - -// maybeSplitChild checks if a child should be split, and if so splits it. -// Returns whether or not a split occurred. -func (n *node) maybeSplitChild(i, maxItems int) bool { - if len(n.children[i].items) < maxItems { - return false - } - first := n.mutableChild(i) - item, second := first.split(maxItems / 2) - n.items.insertAt(i, item) - n.children.insertAt(i+1, second) - return true -} - -// insert inserts an item into the subtree rooted at this node, making sure -// no nodes in the subtree exceed maxItems items. Should an equivalent item be -// be found/replaced by insert, it will be returned. -func (n *node) insert(item Item, maxItems int) Item { - i, found := n.items.find(item) - if found { - out := n.items[i] - n.items[i] = item - return out - } - if len(n.children) == 0 { - n.items.insertAt(i, item) - return nil - } - if n.maybeSplitChild(i, maxItems) { - inTree := n.items[i] - switch { - case item.Less(inTree): - // no change, we want first split node - case inTree.Less(item): - i++ // we want second split node - default: - out := n.items[i] - n.items[i] = item - return out - } - } - return n.mutableChild(i).insert(item, maxItems) -} - -// get finds the given key in the subtree and returns it. -func (n *node) get(key Item) Item { - i, found := n.items.find(key) - if found { - return n.items[i] - } else if len(n.children) > 0 { - return n.children[i].get(key) - } - return nil -} - -// min returns the first item in the subtree. -func min(n *node) Item { - if n == nil { - return nil - } - for len(n.children) > 0 { - n = n.children[0] - } - if len(n.items) == 0 { - return nil - } - return n.items[0] -} - -// max returns the last item in the subtree. -func max(n *node) Item { - if n == nil { - return nil - } - for len(n.children) > 0 { - n = n.children[len(n.children)-1] - } - if len(n.items) == 0 { - return nil - } - return n.items[len(n.items)-1] -} - -// toRemove details what item to remove in a node.remove call. -type toRemove int - -const ( - removeItem toRemove = iota // removes the given item - removeMin // removes smallest item in the subtree - removeMax // removes largest item in the subtree -) - -// remove removes an item from the subtree rooted at this node. -func (n *node) remove(item Item, minItems int, typ toRemove) Item { - var i int - var found bool - switch typ { - case removeMax: - if len(n.children) == 0 { - return n.items.pop() - } - i = len(n.items) - case removeMin: - if len(n.children) == 0 { - return n.items.removeAt(0) - } - i = 0 - case removeItem: - i, found = n.items.find(item) - if len(n.children) == 0 { - if found { - return n.items.removeAt(i) - } - return nil - } - default: - panic("invalid type") - } - // If we get to here, we have children. - if len(n.children[i].items) <= minItems { - return n.growChildAndRemove(i, item, minItems, typ) - } - child := n.mutableChild(i) - // Either we had enough items to begin with, or we've done some - // merging/stealing, because we've got enough now and we're ready to return - // stuff. - if found { - // The item exists at index 'i', and the child we've selected can give us a - // predecessor, since if we've gotten here it's got > minItems items in it. - out := n.items[i] - // We use our special-case 'remove' call with typ=maxItem to pull the - // predecessor of item i (the rightmost leaf of our immediate left child) - // and set it into where we pulled the item from. - n.items[i] = child.remove(nil, minItems, removeMax) - return out - } - // Final recursive call. Once we're here, we know that the item isn't in this - // node and that the child is big enough to remove from. - return child.remove(item, minItems, typ) -} - -// growChildAndRemove grows child 'i' to make sure it's possible to remove an -// item from it while keeping it at minItems, then calls remove to actually -// remove it. -// -// Most documentation says we have to do two sets of special casing: -// 1) item is in this node -// 2) item is in child -// In both cases, we need to handle the two subcases: -// A) node has enough values that it can spare one -// B) node doesn't have enough values -// For the latter, we have to check: -// a) left sibling has node to spare -// b) right sibling has node to spare -// c) we must merge -// To simplify our code here, we handle cases #1 and #2 the same: -// If a node doesn't have enough items, we make sure it does (using a,b,c). -// We then simply redo our remove call, and the second time (regardless of -// whether we're in case 1 or 2), we'll have enough items and can guarantee -// that we hit case A. -func (n *node) growChildAndRemove(i int, item Item, minItems int, typ toRemove) Item { - if i > 0 && len(n.children[i-1].items) > minItems { - // Steal from left child - child := n.mutableChild(i) - stealFrom := n.mutableChild(i - 1) - stolenItem := stealFrom.items.pop() - child.items.insertAt(0, n.items[i-1]) - n.items[i-1] = stolenItem - if len(stealFrom.children) > 0 { - child.children.insertAt(0, stealFrom.children.pop()) - } - } else if i < len(n.items) && len(n.children[i+1].items) > minItems { - // steal from right child - child := n.mutableChild(i) - stealFrom := n.mutableChild(i + 1) - stolenItem := stealFrom.items.removeAt(0) - child.items = append(child.items, n.items[i]) - n.items[i] = stolenItem - if len(stealFrom.children) > 0 { - child.children = append(child.children, stealFrom.children.removeAt(0)) - } - } else { - if i >= len(n.items) { - i-- - } - child := n.mutableChild(i) - // merge with right child - mergeItem := n.items.removeAt(i) - mergeChild := n.children.removeAt(i + 1) - child.items = append(child.items, mergeItem) - child.items = append(child.items, mergeChild.items...) - child.children = append(child.children, mergeChild.children...) - n.cow.freeNode(mergeChild) - } - return n.remove(item, minItems, typ) -} - -type direction int - -const ( - descend = direction(-1) - ascend = direction(+1) -) - -// iterate provides a simple method for iterating over elements in the tree. -// -// When ascending, the 'start' should be less than 'stop' and when descending, -// the 'start' should be greater than 'stop'. Setting 'includeStart' to true -// will force the iterator to include the first item when it equals 'start', -// thus creating a "greaterOrEqual" or "lessThanEqual" rather than just a -// "greaterThan" or "lessThan" queries. -func (n *node) iterate(dir direction, start, stop Item, includeStart bool, hit bool, iter ItemIterator) (bool, bool) { - var ok, found bool - var index int - switch dir { - case ascend: - if start != nil { - index, _ = n.items.find(start) - } - for i := index; i < len(n.items); i++ { - if len(n.children) > 0 { - if hit, ok = n.children[i].iterate(dir, start, stop, includeStart, hit, iter); !ok { - return hit, false - } - } - if !includeStart && !hit && start != nil && !start.Less(n.items[i]) { - hit = true - continue - } - hit = true - if stop != nil && !n.items[i].Less(stop) { - return hit, false - } - if !iter(n.items[i]) { - return hit, false - } - } - if len(n.children) > 0 { - if hit, ok = n.children[len(n.children)-1].iterate(dir, start, stop, includeStart, hit, iter); !ok { - return hit, false - } - } - case descend: - if start != nil { - index, found = n.items.find(start) - if !found { - index = index - 1 - } - } else { - index = len(n.items) - 1 - } - for i := index; i >= 0; i-- { - if start != nil && !n.items[i].Less(start) { - if !includeStart || hit || start.Less(n.items[i]) { - continue - } - } - if len(n.children) > 0 { - if hit, ok = n.children[i+1].iterate(dir, start, stop, includeStart, hit, iter); !ok { - return hit, false - } - } - if stop != nil && !stop.Less(n.items[i]) { - return hit, false // continue - } - hit = true - if !iter(n.items[i]) { - return hit, false - } - } - if len(n.children) > 0 { - if hit, ok = n.children[0].iterate(dir, start, stop, includeStart, hit, iter); !ok { - return hit, false - } - } - } - return hit, true -} - -// Used for testing/debugging purposes. -func (n *node) print(w io.Writer, level int) { - fmt.Fprintf(w, "%sNODE:%v\n", strings.Repeat(" ", level), n.items) - for _, c := range n.children { - c.print(w, level+1) - } -} - -// BTree is an implementation of a B-Tree. -// -// BTree stores Item instances in an ordered structure, allowing easy insertion, -// removal, and iteration. -// -// Write operations are not safe for concurrent mutation by multiple -// goroutines, but Read operations are. -type BTree struct { - degree int - length int - root *node - cow *copyOnWriteContext -} - -// copyOnWriteContext pointers determine node ownership... a tree with a write -// context equivalent to a node's write context is allowed to modify that node. -// A tree whose write context does not match a node's is not allowed to modify -// it, and must create a new, writable copy (IE: it's a Clone). -// -// When doing any write operation, we maintain the invariant that the current -// node's context is equal to the context of the tree that requested the write. -// We do this by, before we descend into any node, creating a copy with the -// correct context if the contexts don't match. -// -// Since the node we're currently visiting on any write has the requesting -// tree's context, that node is modifiable in place. Children of that node may -// not share context, but before we descend into them, we'll make a mutable -// copy. -type copyOnWriteContext struct { - freelist *FreeList -} - -// Clone clones the btree, lazily. Clone should not be called concurrently, -// but the original tree (t) and the new tree (t2) can be used concurrently -// once the Clone call completes. -// -// The internal tree structure of b is marked read-only and shared between t and -// t2. Writes to both t and t2 use copy-on-write logic, creating new nodes -// whenever one of b's original nodes would have been modified. Read operations -// should have no performance degredation. Write operations for both t and t2 -// will initially experience minor slow-downs caused by additional allocs and -// copies due to the aforementioned copy-on-write logic, but should converge to -// the original performance characteristics of the original tree. -func (t *BTree) Clone() (t2 *BTree) { - // Create two entirely new copy-on-write contexts. - // This operation effectively creates three trees: - // the original, shared nodes (old b.cow) - // the new b.cow nodes - // the new out.cow nodes - cow1, cow2 := *t.cow, *t.cow - out := *t - t.cow = &cow1 - out.cow = &cow2 - return &out -} - -// maxItems returns the max number of items to allow per node. -func (t *BTree) maxItems() int { - return t.degree*2 - 1 -} - -// minItems returns the min number of items to allow per node (ignored for the -// root node). -func (t *BTree) minItems() int { - return t.degree - 1 -} - -func (c *copyOnWriteContext) newNode() (n *node) { - n = c.freelist.newNode() - n.cow = c - return -} - -type freeType int - -const ( - ftFreelistFull freeType = iota // node was freed (available for GC, not stored in freelist) - ftStored // node was stored in the freelist for later use - ftNotOwned // node was ignored by COW, since it's owned by another one -) - -// freeNode frees a node within a given COW context, if it's owned by that -// context. It returns what happened to the node (see freeType const -// documentation). -func (c *copyOnWriteContext) freeNode(n *node) freeType { - if n.cow == c { - // clear to allow GC - n.items.truncate(0) - n.children.truncate(0) - n.cow = nil - if c.freelist.freeNode(n) { - return ftStored - } else { - return ftFreelistFull - } - } else { - return ftNotOwned - } -} - -// ReplaceOrInsert adds the given item to the tree. If an item in the tree -// already equals the given one, it is removed from the tree and returned. -// Otherwise, nil is returned. -// -// nil cannot be added to the tree (will panic). -func (t *BTree) ReplaceOrInsert(item Item) Item { - if item == nil { - panic("nil item being added to BTree") - } - if t.root == nil { - t.root = t.cow.newNode() - t.root.items = append(t.root.items, item) - t.length++ - return nil - } else { - t.root = t.root.mutableFor(t.cow) - if len(t.root.items) >= t.maxItems() { - item2, second := t.root.split(t.maxItems() / 2) - oldroot := t.root - t.root = t.cow.newNode() - t.root.items = append(t.root.items, item2) - t.root.children = append(t.root.children, oldroot, second) - } - } - out := t.root.insert(item, t.maxItems()) - if out == nil { - t.length++ - } - return out -} - -// Delete removes an item equal to the passed in item from the tree, returning -// it. If no such item exists, returns nil. -func (t *BTree) Delete(item Item) Item { - return t.deleteItem(item, removeItem) -} - -// DeleteMin removes the smallest item in the tree and returns it. -// If no such item exists, returns nil. -func (t *BTree) DeleteMin() Item { - return t.deleteItem(nil, removeMin) -} - -// DeleteMax removes the largest item in the tree and returns it. -// If no such item exists, returns nil. -func (t *BTree) DeleteMax() Item { - return t.deleteItem(nil, removeMax) -} - -func (t *BTree) deleteItem(item Item, typ toRemove) Item { - if t.root == nil || len(t.root.items) == 0 { - return nil - } - t.root = t.root.mutableFor(t.cow) - out := t.root.remove(item, t.minItems(), typ) - if len(t.root.items) == 0 && len(t.root.children) > 0 { - oldroot := t.root - t.root = t.root.children[0] - t.cow.freeNode(oldroot) - } - if out != nil { - t.length-- - } - return out -} - -// AscendRange calls the iterator for every value in the tree within the range -// [greaterOrEqual, lessThan), until iterator returns false. -func (t *BTree) AscendRange(greaterOrEqual, lessThan Item, iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(ascend, greaterOrEqual, lessThan, true, false, iterator) -} - -// AscendLessThan calls the iterator for every value in the tree within the range -// [first, pivot), until iterator returns false. -func (t *BTree) AscendLessThan(pivot Item, iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(ascend, nil, pivot, false, false, iterator) -} - -// AscendGreaterOrEqual calls the iterator for every value in the tree within -// the range [pivot, last], until iterator returns false. -func (t *BTree) AscendGreaterOrEqual(pivot Item, iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(ascend, pivot, nil, true, false, iterator) -} - -// Ascend calls the iterator for every value in the tree within the range -// [first, last], until iterator returns false. -func (t *BTree) Ascend(iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(ascend, nil, nil, false, false, iterator) -} - -// DescendRange calls the iterator for every value in the tree within the range -// [lessOrEqual, greaterThan), until iterator returns false. -func (t *BTree) DescendRange(lessOrEqual, greaterThan Item, iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(descend, lessOrEqual, greaterThan, true, false, iterator) -} - -// DescendLessOrEqual calls the iterator for every value in the tree within the range -// [pivot, first], until iterator returns false. -func (t *BTree) DescendLessOrEqual(pivot Item, iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(descend, pivot, nil, true, false, iterator) -} - -// DescendGreaterThan calls the iterator for every value in the tree within -// the range [last, pivot), until iterator returns false. -func (t *BTree) DescendGreaterThan(pivot Item, iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(descend, nil, pivot, false, false, iterator) -} - -// Descend calls the iterator for every value in the tree within the range -// [last, first], until iterator returns false. -func (t *BTree) Descend(iterator ItemIterator) { - if t.root == nil { - return - } - t.root.iterate(descend, nil, nil, false, false, iterator) -} - -// Get looks for the key item in the tree, returning it. It returns nil if -// unable to find that item. -func (t *BTree) Get(key Item) Item { - if t.root == nil { - return nil - } - return t.root.get(key) -} - -// Min returns the smallest item in the tree, or nil if the tree is empty. -func (t *BTree) Min() Item { - return min(t.root) -} - -// Max returns the largest item in the tree, or nil if the tree is empty. -func (t *BTree) Max() Item { - return max(t.root) -} - -// Has returns true if the given key is in the tree. -func (t *BTree) Has(key Item) bool { - return t.Get(key) != nil -} - -// Len returns the number of items currently in the tree. -func (t *BTree) Len() int { - return t.length -} - -// Clear removes all items from the btree. If addNodesToFreelist is true, -// t's nodes are added to its freelist as part of this call, until the freelist -// is full. Otherwise, the root node is simply dereferenced and the subtree -// left to Go's normal GC processes. -// -// This can be much faster -// than calling Delete on all elements, because that requires finding/removing -// each element in the tree and updating the tree accordingly. It also is -// somewhat faster than creating a new tree to replace the old one, because -// nodes from the old tree are reclaimed into the freelist for use by the new -// one, instead of being lost to the garbage collector. -// -// This call takes: -// O(1): when addNodesToFreelist is false, this is a single operation. -// O(1): when the freelist is already full, it breaks out immediately -// O(freelist size): when the freelist is empty and the nodes are all owned -// by this tree, nodes are added to the freelist until full. -// O(tree size): when all nodes are owned by another tree, all nodes are -// iterated over looking for nodes to add to the freelist, and due to -// ownership, none are. -func (t *BTree) Clear(addNodesToFreelist bool) { - if t.root != nil && addNodesToFreelist { - t.root.reset(t.cow) - } - t.root, t.length = nil, 0 -} - -// reset returns a subtree to the freelist. It breaks out immediately if the -// freelist is full, since the only benefit of iterating is to fill that -// freelist up. Returns true if parent reset call should continue. -func (n *node) reset(c *copyOnWriteContext) bool { - for _, child := range n.children { - if !child.reset(c) { - return false - } - } - return c.freeNode(n) != ftFreelistFull -} - -// Int implements the Item interface for integers. -type Int int - -// Less returns true if int(a) < int(b). -func (a Int) Less(b Item) bool { - return a < b.(Int) -} diff --git a/vendor/github.com/google/shlex/COPYING b/vendor/github.com/google/shlex/COPYING deleted file mode 100644 index d6456956..00000000 --- a/vendor/github.com/google/shlex/COPYING +++ /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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/github.com/google/shlex/README b/vendor/github.com/google/shlex/README deleted file mode 100644 index c86bcc06..00000000 --- a/vendor/github.com/google/shlex/README +++ /dev/null @@ -1,2 +0,0 @@ -go-shlex is a simple lexer for go that supports shell-style quoting, -commenting, and escaping. diff --git a/vendor/github.com/google/shlex/shlex.go b/vendor/github.com/google/shlex/shlex.go deleted file mode 100644 index d98308bc..00000000 --- a/vendor/github.com/google/shlex/shlex.go +++ /dev/null @@ -1,416 +0,0 @@ -/* -Copyright 2012 Google Inc. All Rights Reserved. - -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 shlex implements a simple lexer which splits input in to tokens using -shell-style rules for quoting and commenting. - -The basic use case uses the default ASCII lexer to split a string into sub-strings: - - shlex.Split("one \"two three\" four") -> []string{"one", "two three", "four"} - -To process a stream of strings: - - l := NewLexer(os.Stdin) - for ; token, err := l.Next(); err != nil { - // process token - } - -To access the raw token stream (which includes tokens for comments): - - t := NewTokenizer(os.Stdin) - for ; token, err := t.Next(); err != nil { - // process token - } - -*/ -package shlex - -import ( - "bufio" - "fmt" - "io" - "strings" -) - -// TokenType is a top-level token classification: A word, space, comment, unknown. -type TokenType int - -// runeTokenClass is the type of a UTF-8 character classification: A quote, space, escape. -type runeTokenClass int - -// the internal state used by the lexer state machine -type lexerState int - -// Token is a (type, value) pair representing a lexographical token. -type Token struct { - tokenType TokenType - value string -} - -// Equal reports whether tokens a, and b, are equal. -// Two tokens are equal if both their types and values are equal. A nil token can -// never be equal to another token. -func (a *Token) Equal(b *Token) bool { - if a == nil || b == nil { - return false - } - if a.tokenType != b.tokenType { - return false - } - return a.value == b.value -} - -// Named classes of UTF-8 runes -const ( - spaceRunes = " \t\r\n" - escapingQuoteRunes = `"` - nonEscapingQuoteRunes = "'" - escapeRunes = `\` - commentRunes = "#" -) - -// Classes of rune token -const ( - unknownRuneClass runeTokenClass = iota - spaceRuneClass - escapingQuoteRuneClass - nonEscapingQuoteRuneClass - escapeRuneClass - commentRuneClass - eofRuneClass -) - -// Classes of lexographic token -const ( - UnknownToken TokenType = iota - WordToken - SpaceToken - CommentToken -) - -// Lexer state machine states -const ( - startState lexerState = iota // no runes have been seen - inWordState // processing regular runes in a word - escapingState // we have just consumed an escape rune; the next rune is literal - escapingQuotedState // we have just consumed an escape rune within a quoted string - quotingEscapingState // we are within a quoted string that supports escaping ("...") - quotingState // we are within a string that does not support escaping ('...') - commentState // we are within a comment (everything following an unquoted or unescaped # -) - -// tokenClassifier is used for classifying rune characters. -type tokenClassifier map[rune]runeTokenClass - -func (typeMap tokenClassifier) addRuneClass(runes string, tokenType runeTokenClass) { - for _, runeChar := range runes { - typeMap[runeChar] = tokenType - } -} - -// newDefaultClassifier creates a new classifier for ASCII characters. -func newDefaultClassifier() tokenClassifier { - t := tokenClassifier{} - t.addRuneClass(spaceRunes, spaceRuneClass) - t.addRuneClass(escapingQuoteRunes, escapingQuoteRuneClass) - t.addRuneClass(nonEscapingQuoteRunes, nonEscapingQuoteRuneClass) - t.addRuneClass(escapeRunes, escapeRuneClass) - t.addRuneClass(commentRunes, commentRuneClass) - return t -} - -// ClassifyRune classifiees a rune -func (t tokenClassifier) ClassifyRune(runeVal rune) runeTokenClass { - return t[runeVal] -} - -// Lexer turns an input stream into a sequence of tokens. Whitespace and comments are skipped. -type Lexer Tokenizer - -// NewLexer creates a new lexer from an input stream. -func NewLexer(r io.Reader) *Lexer { - - return (*Lexer)(NewTokenizer(r)) -} - -// Next returns the next word, or an error. If there are no more words, -// the error will be io.EOF. -func (l *Lexer) Next() (string, error) { - for { - token, err := (*Tokenizer)(l).Next() - if err != nil { - return "", err - } - switch token.tokenType { - case WordToken: - return token.value, nil - case CommentToken: - // skip comments - default: - return "", fmt.Errorf("Unknown token type: %v", token.tokenType) - } - } -} - -// Tokenizer turns an input stream into a sequence of typed tokens -type Tokenizer struct { - input bufio.Reader - classifier tokenClassifier -} - -// NewTokenizer creates a new tokenizer from an input stream. -func NewTokenizer(r io.Reader) *Tokenizer { - input := bufio.NewReader(r) - classifier := newDefaultClassifier() - return &Tokenizer{ - input: *input, - classifier: classifier} -} - -// scanStream scans the stream for the next token using the internal state machine. -// It will panic if it encounters a rune which it does not know how to handle. -func (t *Tokenizer) scanStream() (*Token, error) { - state := startState - var tokenType TokenType - var value []rune - var nextRune rune - var nextRuneType runeTokenClass - var err error - - for { - nextRune, _, err = t.input.ReadRune() - nextRuneType = t.classifier.ClassifyRune(nextRune) - - if err == io.EOF { - nextRuneType = eofRuneClass - err = nil - } else if err != nil { - return nil, err - } - - switch state { - case startState: // no runes read yet - { - switch nextRuneType { - case eofRuneClass: - { - return nil, io.EOF - } - case spaceRuneClass: - { - } - case escapingQuoteRuneClass: - { - tokenType = WordToken - state = quotingEscapingState - } - case nonEscapingQuoteRuneClass: - { - tokenType = WordToken - state = quotingState - } - case escapeRuneClass: - { - tokenType = WordToken - state = escapingState - } - case commentRuneClass: - { - tokenType = CommentToken - state = commentState - } - default: - { - tokenType = WordToken - value = append(value, nextRune) - state = inWordState - } - } - } - case inWordState: // in a regular word - { - switch nextRuneType { - case eofRuneClass: - { - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - case spaceRuneClass: - { - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - case escapingQuoteRuneClass: - { - state = quotingEscapingState - } - case nonEscapingQuoteRuneClass: - { - state = quotingState - } - case escapeRuneClass: - { - state = escapingState - } - default: - { - value = append(value, nextRune) - } - } - } - case escapingState: // the rune after an escape character - { - switch nextRuneType { - case eofRuneClass: - { - err = fmt.Errorf("EOF found after escape character") - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - default: - { - state = inWordState - value = append(value, nextRune) - } - } - } - case escapingQuotedState: // the next rune after an escape character, in double quotes - { - switch nextRuneType { - case eofRuneClass: - { - err = fmt.Errorf("EOF found after escape character") - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - default: - { - state = quotingEscapingState - value = append(value, nextRune) - } - } - } - case quotingEscapingState: // in escaping double quotes - { - switch nextRuneType { - case eofRuneClass: - { - err = fmt.Errorf("EOF found when expecting closing quote") - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - case escapingQuoteRuneClass: - { - state = inWordState - } - case escapeRuneClass: - { - state = escapingQuotedState - } - default: - { - value = append(value, nextRune) - } - } - } - case quotingState: // in non-escaping single quotes - { - switch nextRuneType { - case eofRuneClass: - { - err = fmt.Errorf("EOF found when expecting closing quote") - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - case nonEscapingQuoteRuneClass: - { - state = inWordState - } - default: - { - value = append(value, nextRune) - } - } - } - case commentState: // in a comment - { - switch nextRuneType { - case eofRuneClass: - { - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } - case spaceRuneClass: - { - if nextRune == '\n' { - state = startState - token := &Token{ - tokenType: tokenType, - value: string(value)} - return token, err - } else { - value = append(value, nextRune) - } - } - default: - { - value = append(value, nextRune) - } - } - } - default: - { - return nil, fmt.Errorf("Unexpected state: %v", state) - } - } - } -} - -// Next returns the next token in the stream. -func (t *Tokenizer) Next() (*Token, error) { - return t.scanStream() -} - -// Split partitions a string into a slice of strings. -func Split(s string) ([]string, error) { - l := NewLexer(strings.NewReader(s)) - subStrings := make([]string, 0) - for { - word, err := l.Next() - if err != nil { - if err == io.EOF { - return subStrings, nil - } - return subStrings, err - } - subStrings = append(subStrings, word) - } -} diff --git a/vendor/github.com/gregjones/httpcache/.travis.yml b/vendor/github.com/gregjones/httpcache/.travis.yml deleted file mode 100644 index b5ffbe03..00000000 --- a/vendor/github.com/gregjones/httpcache/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -sudo: false -language: go -go: - - 1.6.x - - 1.7.x - - 1.8.x - - 1.9.x - - master -matrix: - allow_failures: - - go: master - fast_finish: true -install: - - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). -script: - - go get -t -v ./... - - diff -u <(echo -n) <(gofmt -d .) - - go tool vet . - - go test -v -race ./... diff --git a/vendor/github.com/gregjones/httpcache/LICENSE.txt b/vendor/github.com/gregjones/httpcache/LICENSE.txt deleted file mode 100644 index 81316beb..00000000 --- a/vendor/github.com/gregjones/httpcache/LICENSE.txt +++ /dev/null @@ -1,7 +0,0 @@ -Copyright © 2012 Greg Jones (greg.jones@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/vendor/github.com/gregjones/httpcache/README.md b/vendor/github.com/gregjones/httpcache/README.md deleted file mode 100644 index 09c9e7c1..00000000 --- a/vendor/github.com/gregjones/httpcache/README.md +++ /dev/null @@ -1,25 +0,0 @@ -httpcache -========= - -[![Build Status](https://travis-ci.org/gregjones/httpcache.svg?branch=master)](https://travis-ci.org/gregjones/httpcache) [![GoDoc](https://godoc.org/github.com/gregjones/httpcache?status.svg)](https://godoc.org/github.com/gregjones/httpcache) - -Package httpcache provides a http.RoundTripper implementation that works as a mostly [RFC 7234](https://tools.ietf.org/html/rfc7234) compliant cache for http responses. - -It is only suitable for use as a 'private' cache (i.e. for a web-browser or an API-client and not for a shared proxy). - -Cache Backends --------------- - -- The built-in 'memory' cache stores responses in an in-memory map. -- [`github.com/gregjones/httpcache/diskcache`](https://github.com/gregjones/httpcache/tree/master/diskcache) provides a filesystem-backed cache using the [diskv](https://github.com/peterbourgon/diskv) library. -- [`github.com/gregjones/httpcache/memcache`](https://github.com/gregjones/httpcache/tree/master/memcache) provides memcache implementations, for both App Engine and 'normal' memcache servers. -- [`sourcegraph.com/sourcegraph/s3cache`](https://sourcegraph.com/github.com/sourcegraph/s3cache) uses Amazon S3 for storage. -- [`github.com/gregjones/httpcache/leveldbcache`](https://github.com/gregjones/httpcache/tree/master/leveldbcache) provides a filesystem-backed cache using [leveldb](https://github.com/syndtr/goleveldb/leveldb). -- [`github.com/die-net/lrucache`](https://github.com/die-net/lrucache) provides an in-memory cache that will evict least-recently used entries. -- [`github.com/die-net/lrucache/twotier`](https://github.com/die-net/lrucache/tree/master/twotier) allows caches to be combined, for example to use lrucache above with a persistent disk-cache. -- [`github.com/birkelund/boltdbcache`](https://github.com/birkelund/boltdbcache) provides a BoltDB implementation (based on the [bbolt](https://github.com/coreos/bbolt) fork). - -License -------- - -- [MIT License](LICENSE.txt) diff --git a/vendor/github.com/gregjones/httpcache/diskcache/diskcache.go b/vendor/github.com/gregjones/httpcache/diskcache/diskcache.go deleted file mode 100644 index 42e3129d..00000000 --- a/vendor/github.com/gregjones/httpcache/diskcache/diskcache.go +++ /dev/null @@ -1,61 +0,0 @@ -// Package diskcache provides an implementation of httpcache.Cache that uses the diskv package -// to supplement an in-memory map with persistent storage -// -package diskcache - -import ( - "bytes" - "crypto/md5" - "encoding/hex" - "github.com/peterbourgon/diskv" - "io" -) - -// Cache is an implementation of httpcache.Cache that supplements the in-memory map with persistent storage -type Cache struct { - d *diskv.Diskv -} - -// Get returns the response corresponding to key if present -func (c *Cache) Get(key string) (resp []byte, ok bool) { - key = keyToFilename(key) - resp, err := c.d.Read(key) - if err != nil { - return []byte{}, false - } - return resp, true -} - -// Set saves a response to the cache as key -func (c *Cache) Set(key string, resp []byte) { - key = keyToFilename(key) - c.d.WriteStream(key, bytes.NewReader(resp), true) -} - -// Delete removes the response with key from the cache -func (c *Cache) Delete(key string) { - key = keyToFilename(key) - c.d.Erase(key) -} - -func keyToFilename(key string) string { - h := md5.New() - io.WriteString(h, key) - return hex.EncodeToString(h.Sum(nil)) -} - -// New returns a new Cache that will store files in basePath -func New(basePath string) *Cache { - return &Cache{ - d: diskv.New(diskv.Options{ - BasePath: basePath, - CacheSizeMax: 100 * 1024 * 1024, // 100MB - }), - } -} - -// NewWithDiskv returns a new Cache using the provided Diskv as underlying -// storage. -func NewWithDiskv(d *diskv.Diskv) *Cache { - return &Cache{d} -} diff --git a/vendor/github.com/gregjones/httpcache/httpcache.go b/vendor/github.com/gregjones/httpcache/httpcache.go deleted file mode 100644 index f6a2ec4a..00000000 --- a/vendor/github.com/gregjones/httpcache/httpcache.go +++ /dev/null @@ -1,551 +0,0 @@ -// Package httpcache provides a http.RoundTripper implementation that works as a -// mostly RFC-compliant cache for http responses. -// -// It is only suitable for use as a 'private' cache (i.e. for a web-browser or an API-client -// and not for a shared proxy). -// -package httpcache - -import ( - "bufio" - "bytes" - "errors" - "io" - "io/ioutil" - "net/http" - "net/http/httputil" - "strings" - "sync" - "time" -) - -const ( - stale = iota - fresh - transparent - // XFromCache is the header added to responses that are returned from the cache - XFromCache = "X-From-Cache" -) - -// A Cache interface is used by the Transport to store and retrieve responses. -type Cache interface { - // Get returns the []byte representation of a cached response and a bool - // set to true if the value isn't empty - Get(key string) (responseBytes []byte, ok bool) - // Set stores the []byte representation of a response against a key - Set(key string, responseBytes []byte) - // Delete removes the value associated with the key - Delete(key string) -} - -// cacheKey returns the cache key for req. -func cacheKey(req *http.Request) string { - if req.Method == http.MethodGet { - return req.URL.String() - } else { - return req.Method + " " + req.URL.String() - } -} - -// CachedResponse returns the cached http.Response for req if present, and nil -// otherwise. -func CachedResponse(c Cache, req *http.Request) (resp *http.Response, err error) { - cachedVal, ok := c.Get(cacheKey(req)) - if !ok { - return - } - - b := bytes.NewBuffer(cachedVal) - return http.ReadResponse(bufio.NewReader(b), req) -} - -// MemoryCache is an implemtation of Cache that stores responses in an in-memory map. -type MemoryCache struct { - mu sync.RWMutex - items map[string][]byte -} - -// Get returns the []byte representation of the response and true if present, false if not -func (c *MemoryCache) Get(key string) (resp []byte, ok bool) { - c.mu.RLock() - resp, ok = c.items[key] - c.mu.RUnlock() - return resp, ok -} - -// Set saves response resp to the cache with key -func (c *MemoryCache) Set(key string, resp []byte) { - c.mu.Lock() - c.items[key] = resp - c.mu.Unlock() -} - -// Delete removes key from the cache -func (c *MemoryCache) Delete(key string) { - c.mu.Lock() - delete(c.items, key) - c.mu.Unlock() -} - -// NewMemoryCache returns a new Cache that will store items in an in-memory map -func NewMemoryCache() *MemoryCache { - c := &MemoryCache{items: map[string][]byte{}} - return c -} - -// Transport is an implementation of http.RoundTripper that will return values from a cache -// where possible (avoiding a network request) and will additionally add validators (etag/if-modified-since) -// to repeated requests allowing servers to return 304 / Not Modified -type Transport struct { - // The RoundTripper interface actually used to make requests - // If nil, http.DefaultTransport is used - Transport http.RoundTripper - Cache Cache - // If true, responses returned from the cache will be given an extra header, X-From-Cache - MarkCachedResponses bool -} - -// NewTransport returns a new Transport with the -// provided Cache implementation and MarkCachedResponses set to true -func NewTransport(c Cache) *Transport { - return &Transport{Cache: c, MarkCachedResponses: true} -} - -// Client returns an *http.Client that caches responses. -func (t *Transport) Client() *http.Client { - return &http.Client{Transport: t} -} - -// varyMatches will return false unless all of the cached values for the headers listed in Vary -// match the new request -func varyMatches(cachedResp *http.Response, req *http.Request) bool { - for _, header := range headerAllCommaSepValues(cachedResp.Header, "vary") { - header = http.CanonicalHeaderKey(header) - if header != "" && req.Header.Get(header) != cachedResp.Header.Get("X-Varied-"+header) { - return false - } - } - return true -} - -// RoundTrip takes a Request and returns a Response -// -// If there is a fresh Response already in cache, then it will be returned without connecting to -// the server. -// -// If there is a stale Response, then any validators it contains will be set on the new request -// to give the server a chance to respond with NotModified. If this happens, then the cached Response -// will be returned. -func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err error) { - cacheKey := cacheKey(req) - cacheable := (req.Method == "GET" || req.Method == "HEAD") && req.Header.Get("range") == "" - var cachedResp *http.Response - if cacheable { - cachedResp, err = CachedResponse(t.Cache, req) - } else { - // Need to invalidate an existing value - t.Cache.Delete(cacheKey) - } - - transport := t.Transport - if transport == nil { - transport = http.DefaultTransport - } - - if cacheable && cachedResp != nil && err == nil { - if t.MarkCachedResponses { - cachedResp.Header.Set(XFromCache, "1") - } - - if varyMatches(cachedResp, req) { - // Can only use cached value if the new request doesn't Vary significantly - freshness := getFreshness(cachedResp.Header, req.Header) - if freshness == fresh { - return cachedResp, nil - } - - if freshness == stale { - var req2 *http.Request - // Add validators if caller hasn't already done so - etag := cachedResp.Header.Get("etag") - if etag != "" && req.Header.Get("etag") == "" { - req2 = cloneRequest(req) - req2.Header.Set("if-none-match", etag) - } - lastModified := cachedResp.Header.Get("last-modified") - if lastModified != "" && req.Header.Get("last-modified") == "" { - if req2 == nil { - req2 = cloneRequest(req) - } - req2.Header.Set("if-modified-since", lastModified) - } - if req2 != nil { - req = req2 - } - } - } - - resp, err = transport.RoundTrip(req) - if err == nil && req.Method == "GET" && resp.StatusCode == http.StatusNotModified { - // Replace the 304 response with the one from cache, but update with some new headers - endToEndHeaders := getEndToEndHeaders(resp.Header) - for _, header := range endToEndHeaders { - cachedResp.Header[header] = resp.Header[header] - } - resp = cachedResp - } else if (err != nil || (cachedResp != nil && resp.StatusCode >= 500)) && - req.Method == "GET" && canStaleOnError(cachedResp.Header, req.Header) { - // In case of transport failure and stale-if-error activated, returns cached content - // when available - return cachedResp, nil - } else { - if err != nil || resp.StatusCode != http.StatusOK { - t.Cache.Delete(cacheKey) - } - if err != nil { - return nil, err - } - } - } else { - reqCacheControl := parseCacheControl(req.Header) - if _, ok := reqCacheControl["only-if-cached"]; ok { - resp = newGatewayTimeoutResponse(req) - } else { - resp, err = transport.RoundTrip(req) - if err != nil { - return nil, err - } - } - } - - if cacheable && canStore(parseCacheControl(req.Header), parseCacheControl(resp.Header)) { - for _, varyKey := range headerAllCommaSepValues(resp.Header, "vary") { - varyKey = http.CanonicalHeaderKey(varyKey) - fakeHeader := "X-Varied-" + varyKey - reqValue := req.Header.Get(varyKey) - if reqValue != "" { - resp.Header.Set(fakeHeader, reqValue) - } - } - switch req.Method { - case "GET": - // Delay caching until EOF is reached. - resp.Body = &cachingReadCloser{ - R: resp.Body, - OnEOF: func(r io.Reader) { - resp := *resp - resp.Body = ioutil.NopCloser(r) - respBytes, err := httputil.DumpResponse(&resp, true) - if err == nil { - t.Cache.Set(cacheKey, respBytes) - } - }, - } - default: - respBytes, err := httputil.DumpResponse(resp, true) - if err == nil { - t.Cache.Set(cacheKey, respBytes) - } - } - } else { - t.Cache.Delete(cacheKey) - } - return resp, nil -} - -// ErrNoDateHeader indicates that the HTTP headers contained no Date header. -var ErrNoDateHeader = errors.New("no Date header") - -// Date parses and returns the value of the Date header. -func Date(respHeaders http.Header) (date time.Time, err error) { - dateHeader := respHeaders.Get("date") - if dateHeader == "" { - err = ErrNoDateHeader - return - } - - return time.Parse(time.RFC1123, dateHeader) -} - -type realClock struct{} - -func (c *realClock) since(d time.Time) time.Duration { - return time.Since(d) -} - -type timer interface { - since(d time.Time) time.Duration -} - -var clock timer = &realClock{} - -// getFreshness will return one of fresh/stale/transparent based on the cache-control -// values of the request and the response -// -// fresh indicates the response can be returned -// stale indicates that the response needs validating before it is returned -// transparent indicates the response should not be used to fulfil the request -// -// Because this is only a private cache, 'public' and 'private' in cache-control aren't -// signficant. Similarly, smax-age isn't used. -func getFreshness(respHeaders, reqHeaders http.Header) (freshness int) { - respCacheControl := parseCacheControl(respHeaders) - reqCacheControl := parseCacheControl(reqHeaders) - if _, ok := reqCacheControl["no-cache"]; ok { - return transparent - } - if _, ok := respCacheControl["no-cache"]; ok { - return stale - } - if _, ok := reqCacheControl["only-if-cached"]; ok { - return fresh - } - - date, err := Date(respHeaders) - if err != nil { - return stale - } - currentAge := clock.since(date) - - var lifetime time.Duration - var zeroDuration time.Duration - - // If a response includes both an Expires header and a max-age directive, - // the max-age directive overrides the Expires header, even if the Expires header is more restrictive. - if maxAge, ok := respCacheControl["max-age"]; ok { - lifetime, err = time.ParseDuration(maxAge + "s") - if err != nil { - lifetime = zeroDuration - } - } else { - expiresHeader := respHeaders.Get("Expires") - if expiresHeader != "" { - expires, err := time.Parse(time.RFC1123, expiresHeader) - if err != nil { - lifetime = zeroDuration - } else { - lifetime = expires.Sub(date) - } - } - } - - if maxAge, ok := reqCacheControl["max-age"]; ok { - // the client is willing to accept a response whose age is no greater than the specified time in seconds - lifetime, err = time.ParseDuration(maxAge + "s") - if err != nil { - lifetime = zeroDuration - } - } - if minfresh, ok := reqCacheControl["min-fresh"]; ok { - // the client wants a response that will still be fresh for at least the specified number of seconds. - minfreshDuration, err := time.ParseDuration(minfresh + "s") - if err == nil { - currentAge = time.Duration(currentAge + minfreshDuration) - } - } - - if maxstale, ok := reqCacheControl["max-stale"]; ok { - // Indicates that the client is willing to accept a response that has exceeded its expiration time. - // If max-stale is assigned a value, then the client is willing to accept a response that has exceeded - // its expiration time by no more than the specified number of seconds. - // If no value is assigned to max-stale, then the client is willing to accept a stale response of any age. - // - // Responses served only because of a max-stale value are supposed to have a Warning header added to them, - // but that seems like a hassle, and is it actually useful? If so, then there needs to be a different - // return-value available here. - if maxstale == "" { - return fresh - } - maxstaleDuration, err := time.ParseDuration(maxstale + "s") - if err == nil { - currentAge = time.Duration(currentAge - maxstaleDuration) - } - } - - if lifetime > currentAge { - return fresh - } - - return stale -} - -// Returns true if either the request or the response includes the stale-if-error -// cache control extension: https://tools.ietf.org/html/rfc5861 -func canStaleOnError(respHeaders, reqHeaders http.Header) bool { - respCacheControl := parseCacheControl(respHeaders) - reqCacheControl := parseCacheControl(reqHeaders) - - var err error - lifetime := time.Duration(-1) - - if staleMaxAge, ok := respCacheControl["stale-if-error"]; ok { - if staleMaxAge != "" { - lifetime, err = time.ParseDuration(staleMaxAge + "s") - if err != nil { - return false - } - } else { - return true - } - } - if staleMaxAge, ok := reqCacheControl["stale-if-error"]; ok { - if staleMaxAge != "" { - lifetime, err = time.ParseDuration(staleMaxAge + "s") - if err != nil { - return false - } - } else { - return true - } - } - - if lifetime >= 0 { - date, err := Date(respHeaders) - if err != nil { - return false - } - currentAge := clock.since(date) - if lifetime > currentAge { - return true - } - } - - return false -} - -func getEndToEndHeaders(respHeaders http.Header) []string { - // These headers are always hop-by-hop - hopByHopHeaders := map[string]struct{}{ - "Connection": struct{}{}, - "Keep-Alive": struct{}{}, - "Proxy-Authenticate": struct{}{}, - "Proxy-Authorization": struct{}{}, - "Te": struct{}{}, - "Trailers": struct{}{}, - "Transfer-Encoding": struct{}{}, - "Upgrade": struct{}{}, - } - - for _, extra := range strings.Split(respHeaders.Get("connection"), ",") { - // any header listed in connection, if present, is also considered hop-by-hop - if strings.Trim(extra, " ") != "" { - hopByHopHeaders[http.CanonicalHeaderKey(extra)] = struct{}{} - } - } - endToEndHeaders := []string{} - for respHeader, _ := range respHeaders { - if _, ok := hopByHopHeaders[respHeader]; !ok { - endToEndHeaders = append(endToEndHeaders, respHeader) - } - } - return endToEndHeaders -} - -func canStore(reqCacheControl, respCacheControl cacheControl) (canStore bool) { - if _, ok := respCacheControl["no-store"]; ok { - return false - } - if _, ok := reqCacheControl["no-store"]; ok { - return false - } - return true -} - -func newGatewayTimeoutResponse(req *http.Request) *http.Response { - var braw bytes.Buffer - braw.WriteString("HTTP/1.1 504 Gateway Timeout\r\n\r\n") - resp, err := http.ReadResponse(bufio.NewReader(&braw), req) - if err != nil { - panic(err) - } - return resp -} - -// cloneRequest returns a clone of the provided *http.Request. -// The clone is a shallow copy of the struct and its Header map. -// (This function copyright goauth2 authors: https://code.google.com/p/goauth2) -func cloneRequest(r *http.Request) *http.Request { - // shallow copy of the struct - r2 := new(http.Request) - *r2 = *r - // deep copy of the Header - r2.Header = make(http.Header) - for k, s := range r.Header { - r2.Header[k] = s - } - return r2 -} - -type cacheControl map[string]string - -func parseCacheControl(headers http.Header) cacheControl { - cc := cacheControl{} - ccHeader := headers.Get("Cache-Control") - for _, part := range strings.Split(ccHeader, ",") { - part = strings.Trim(part, " ") - if part == "" { - continue - } - if strings.ContainsRune(part, '=') { - keyval := strings.Split(part, "=") - cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") - } else { - cc[part] = "" - } - } - return cc -} - -// headerAllCommaSepValues returns all comma-separated values (each -// with whitespace trimmed) for header name in headers. According to -// Section 4.2 of the HTTP/1.1 spec -// (http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2), -// values from multiple occurrences of a header should be concatenated, if -// the header's value is a comma-separated list. -func headerAllCommaSepValues(headers http.Header, name string) []string { - var vals []string - for _, val := range headers[http.CanonicalHeaderKey(name)] { - fields := strings.Split(val, ",") - for i, f := range fields { - fields[i] = strings.TrimSpace(f) - } - vals = append(vals, fields...) - } - return vals -} - -// cachingReadCloser is a wrapper around ReadCloser R that calls OnEOF -// handler with a full copy of the content read from R when EOF is -// reached. -type cachingReadCloser struct { - // Underlying ReadCloser. - R io.ReadCloser - // OnEOF is called with a copy of the content of R when EOF is reached. - OnEOF func(io.Reader) - - buf bytes.Buffer // buf stores a copy of the content of R. -} - -// Read reads the next len(p) bytes from R or until R is drained. The -// return value n is the number of bytes read. If R has no data to -// return, err is io.EOF and OnEOF is called with a full copy of what -// has been read so far. -func (r *cachingReadCloser) Read(p []byte) (n int, err error) { - n, err = r.R.Read(p) - r.buf.Write(p[:n]) - if err == io.EOF { - r.OnEOF(bytes.NewReader(r.buf.Bytes())) - } - return n, err -} - -func (r *cachingReadCloser) Close() error { - return r.R.Close() -} - -// NewMemoryCacheTransport returns a new Transport using the in-memory cache implementation -func NewMemoryCacheTransport() *Transport { - c := NewMemoryCache() - t := NewTransport(c) - return t -} diff --git a/vendor/github.com/inconshreveable/mousetrap/LICENSE b/vendor/github.com/inconshreveable/mousetrap/LICENSE deleted file mode 100644 index 5f0d1fb6..00000000 --- a/vendor/github.com/inconshreveable/mousetrap/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2014 Alan Shreve - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/vendor/github.com/inconshreveable/mousetrap/README.md b/vendor/github.com/inconshreveable/mousetrap/README.md deleted file mode 100644 index 7a950d17..00000000 --- a/vendor/github.com/inconshreveable/mousetrap/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# mousetrap - -mousetrap is a tiny library that answers a single question. - -On a Windows machine, was the process invoked by someone double clicking on -the executable file while browsing in explorer? - -### Motivation - -Windows developers unfamiliar with command line tools will often "double-click" -the executable for a tool. Because most CLI tools print the help and then exit -when invoked without arguments, this is often very frustrating for those users. - -mousetrap provides a way to detect these invocations so that you can provide -more helpful behavior and instructions on how to run the CLI tool. To see what -this looks like, both from an organizational and a technical perspective, see -https://inconshreveable.com/09-09-2014/sweat-the-small-stuff/ - -### The interface - -The library exposes a single interface: - - func StartedByExplorer() (bool) diff --git a/vendor/github.com/inconshreveable/mousetrap/trap_others.go b/vendor/github.com/inconshreveable/mousetrap/trap_others.go deleted file mode 100644 index 9d2d8a4b..00000000 --- a/vendor/github.com/inconshreveable/mousetrap/trap_others.go +++ /dev/null @@ -1,15 +0,0 @@ -// +build !windows - -package mousetrap - -// StartedByExplorer returns true if the program was invoked by the user -// double-clicking on the executable from explorer.exe -// -// It is conservative and returns false if any of the internal calls fail. -// It does not guarantee that the program was run from a terminal. It only can tell you -// whether it was launched from explorer.exe -// -// On non-Windows platforms, it always returns false. -func StartedByExplorer() bool { - return false -} diff --git a/vendor/github.com/inconshreveable/mousetrap/trap_windows.go b/vendor/github.com/inconshreveable/mousetrap/trap_windows.go deleted file mode 100644 index 336142a5..00000000 --- a/vendor/github.com/inconshreveable/mousetrap/trap_windows.go +++ /dev/null @@ -1,98 +0,0 @@ -// +build windows -// +build !go1.4 - -package mousetrap - -import ( - "fmt" - "os" - "syscall" - "unsafe" -) - -const ( - // defined by the Win32 API - th32cs_snapprocess uintptr = 0x2 -) - -var ( - kernel = syscall.MustLoadDLL("kernel32.dll") - CreateToolhelp32Snapshot = kernel.MustFindProc("CreateToolhelp32Snapshot") - Process32First = kernel.MustFindProc("Process32FirstW") - Process32Next = kernel.MustFindProc("Process32NextW") -) - -// ProcessEntry32 structure defined by the Win32 API -type processEntry32 struct { - dwSize uint32 - cntUsage uint32 - th32ProcessID uint32 - th32DefaultHeapID int - th32ModuleID uint32 - cntThreads uint32 - th32ParentProcessID uint32 - pcPriClassBase int32 - dwFlags uint32 - szExeFile [syscall.MAX_PATH]uint16 -} - -func getProcessEntry(pid int) (pe *processEntry32, err error) { - snapshot, _, e1 := CreateToolhelp32Snapshot.Call(th32cs_snapprocess, uintptr(0)) - if snapshot == uintptr(syscall.InvalidHandle) { - err = fmt.Errorf("CreateToolhelp32Snapshot: %v", e1) - return - } - defer syscall.CloseHandle(syscall.Handle(snapshot)) - - var processEntry processEntry32 - processEntry.dwSize = uint32(unsafe.Sizeof(processEntry)) - ok, _, e1 := Process32First.Call(snapshot, uintptr(unsafe.Pointer(&processEntry))) - if ok == 0 { - err = fmt.Errorf("Process32First: %v", e1) - return - } - - for { - if processEntry.th32ProcessID == uint32(pid) { - pe = &processEntry - return - } - - ok, _, e1 = Process32Next.Call(snapshot, uintptr(unsafe.Pointer(&processEntry))) - if ok == 0 { - err = fmt.Errorf("Process32Next: %v", e1) - return - } - } -} - -func getppid() (pid int, err error) { - pe, err := getProcessEntry(os.Getpid()) - if err != nil { - return - } - - pid = int(pe.th32ParentProcessID) - return -} - -// StartedByExplorer returns true if the program was invoked by the user double-clicking -// on the executable from explorer.exe -// -// It is conservative and returns false if any of the internal calls fail. -// It does not guarantee that the program was run from a terminal. It only can tell you -// whether it was launched from explorer.exe -func StartedByExplorer() bool { - ppid, err := getppid() - if err != nil { - return false - } - - pe, err := getProcessEntry(ppid) - if err != nil { - return false - } - - name := syscall.UTF16ToString(pe.szExeFile[:]) - return name == "explorer.exe" -} diff --git a/vendor/github.com/inconshreveable/mousetrap/trap_windows_1.4.go b/vendor/github.com/inconshreveable/mousetrap/trap_windows_1.4.go deleted file mode 100644 index 9a28e57c..00000000 --- a/vendor/github.com/inconshreveable/mousetrap/trap_windows_1.4.go +++ /dev/null @@ -1,46 +0,0 @@ -// +build windows -// +build go1.4 - -package mousetrap - -import ( - "os" - "syscall" - "unsafe" -) - -func getProcessEntry(pid int) (*syscall.ProcessEntry32, error) { - snapshot, err := syscall.CreateToolhelp32Snapshot(syscall.TH32CS_SNAPPROCESS, 0) - if err != nil { - return nil, err - } - defer syscall.CloseHandle(snapshot) - var procEntry syscall.ProcessEntry32 - procEntry.Size = uint32(unsafe.Sizeof(procEntry)) - if err = syscall.Process32First(snapshot, &procEntry); err != nil { - return nil, err - } - for { - if procEntry.ProcessID == uint32(pid) { - return &procEntry, nil - } - err = syscall.Process32Next(snapshot, &procEntry) - if err != nil { - return nil, err - } - } -} - -// StartedByExplorer returns true if the program was invoked by the user double-clicking -// on the executable from explorer.exe -// -// It is conservative and returns false if any of the internal calls fail. -// It does not guarantee that the program was run from a terminal. It only can tell you -// whether it was launched from explorer.exe -func StartedByExplorer() bool { - pe, err := getProcessEntry(os.Getppid()) - if err != nil { - return false - } - return "explorer.exe" == syscall.UTF16ToString(pe.ExeFile[:]) -} diff --git a/vendor/github.com/liggitt/tabwriter/.travis.yml b/vendor/github.com/liggitt/tabwriter/.travis.yml deleted file mode 100644 index 2768dc07..00000000 --- a/vendor/github.com/liggitt/tabwriter/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: go - -go: - - "1.8" - - "1.9" - - "1.10" - - "1.11" - - "1.12" - - master - -script: go test -v ./... diff --git a/vendor/github.com/liggitt/tabwriter/LICENSE b/vendor/github.com/liggitt/tabwriter/LICENSE deleted file mode 100644 index 6a66aea5..00000000 --- a/vendor/github.com/liggitt/tabwriter/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2009 The Go Authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/liggitt/tabwriter/README.md b/vendor/github.com/liggitt/tabwriter/README.md deleted file mode 100644 index e75d3567..00000000 --- a/vendor/github.com/liggitt/tabwriter/README.md +++ /dev/null @@ -1,7 +0,0 @@ -This repo is a drop-in replacement for the golang [text/tabwriter](https://golang.org/pkg/text/tabwriter/) package. - -It is based on that package at [cf2c2ea8](https://github.com/golang/go/tree/cf2c2ea89d09d486bb018b1817c5874388038c3a/src/text/tabwriter) and inherits its license. - -The following additional features are supported: -* `RememberWidths` flag allows remembering maximum widths seen per column even after Flush() is called. -* `RememberedWidths() []int` and `SetRememberedWidths([]int) *Writer` allows obtaining and transferring remembered column width between writers. diff --git a/vendor/github.com/liggitt/tabwriter/tabwriter.go b/vendor/github.com/liggitt/tabwriter/tabwriter.go deleted file mode 100644 index fd3431fb..00000000 --- a/vendor/github.com/liggitt/tabwriter/tabwriter.go +++ /dev/null @@ -1,637 +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. - -// Package tabwriter implements a write filter (tabwriter.Writer) that -// translates tabbed columns in input into properly aligned text. -// -// It is a drop-in replacement for the golang text/tabwriter package (https://golang.org/pkg/text/tabwriter), -// based on that package at https://github.com/golang/go/tree/cf2c2ea89d09d486bb018b1817c5874388038c3a -// with support for additional features. -// -// The package is using the Elastic Tabstops algorithm described at -// http://nickgravgaard.com/elastictabstops/index.html. -package tabwriter - -import ( - "io" - "unicode/utf8" -) - -// ---------------------------------------------------------------------------- -// Filter implementation - -// A cell represents a segment of text terminated by tabs or line breaks. -// The text itself is stored in a separate buffer; cell only describes the -// segment's size in bytes, its width in runes, and whether it's an htab -// ('\t') terminated cell. -// -type cell struct { - size int // cell size in bytes - width int // cell width in runes - htab bool // true if the cell is terminated by an htab ('\t') -} - -// A Writer is a filter that inserts padding around tab-delimited -// columns in its input to align them in the output. -// -// The Writer treats incoming bytes as UTF-8-encoded text consisting -// of cells terminated by horizontal ('\t') or vertical ('\v') tabs, -// and newline ('\n') or formfeed ('\f') characters; both newline and -// formfeed act as line breaks. -// -// Tab-terminated cells in contiguous lines constitute a column. The -// Writer inserts padding as needed to make all cells in a column have -// the same width, effectively aligning the columns. It assumes that -// all characters have the same width, except for tabs for which a -// tabwidth must be specified. Column cells must be tab-terminated, not -// tab-separated: non-tab terminated trailing text at the end of a line -// forms a cell but that cell is not part of an aligned column. -// For instance, in this example (where | stands for a horizontal tab): -// -// aaaa|bbb|d -// aa |b |dd -// a | -// aa |cccc|eee -// -// the b and c are in distinct columns (the b column is not contiguous -// all the way). The d and e are not in a column at all (there's no -// terminating tab, nor would the column be contiguous). -// -// The Writer assumes that all Unicode code points have the same width; -// this may not be true in some fonts or if the string contains combining -// characters. -// -// If DiscardEmptyColumns is set, empty columns that are terminated -// entirely by vertical (or "soft") tabs are discarded. Columns -// terminated by horizontal (or "hard") tabs are not affected by -// this flag. -// -// If a Writer is configured to filter HTML, HTML tags and entities -// are passed through. The widths of tags and entities are -// assumed to be zero (tags) and one (entities) for formatting purposes. -// -// A segment of text may be escaped by bracketing it with Escape -// characters. The tabwriter passes escaped text segments through -// unchanged. In particular, it does not interpret any tabs or line -// breaks within the segment. If the StripEscape flag is set, the -// Escape characters are stripped from the output; otherwise they -// are passed through as well. For the purpose of formatting, the -// width of the escaped text is always computed excluding the Escape -// characters. -// -// The formfeed character acts like a newline but it also terminates -// all columns in the current line (effectively calling Flush). Tab- -// terminated cells in the next line start new columns. Unless found -// inside an HTML tag or inside an escaped text segment, formfeed -// characters appear as newlines in the output. -// -// The Writer must buffer input internally, because proper spacing -// of one line may depend on the cells in future lines. Clients must -// call Flush when done calling Write. -// -type Writer struct { - // configuration - output io.Writer - minwidth int - tabwidth int - padding int - padbytes [8]byte - flags uint - - // current state - buf []byte // collected text excluding tabs or line breaks - pos int // buffer position up to which cell.width of incomplete cell has been computed - cell cell // current incomplete cell; cell.width is up to buf[pos] excluding ignored sections - endChar byte // terminating char of escaped sequence (Escape for escapes, '>', ';' for HTML tags/entities, or 0) - lines [][]cell // list of lines; each line is a list of cells - widths []int // list of column widths in runes - re-used during formatting - - maxwidths []int // list of max column widths in runes -} - -// addLine adds a new line. -// flushed is a hint indicating whether the underlying writer was just flushed. -// If so, the previous line is not likely to be a good indicator of the new line's cells. -func (b *Writer) addLine(flushed bool) { - // Grow slice instead of appending, - // as that gives us an opportunity - // to re-use an existing []cell. - if n := len(b.lines) + 1; n <= cap(b.lines) { - b.lines = b.lines[:n] - b.lines[n-1] = b.lines[n-1][:0] - } else { - b.lines = append(b.lines, nil) - } - - if !flushed { - // The previous line is probably a good indicator - // of how many cells the current line will have. - // If the current line's capacity is smaller than that, - // abandon it and make a new one. - if n := len(b.lines); n >= 2 { - if prev := len(b.lines[n-2]); prev > cap(b.lines[n-1]) { - b.lines[n-1] = make([]cell, 0, prev) - } - } - } -} - -// Reset the current state. -func (b *Writer) reset() { - b.buf = b.buf[:0] - b.pos = 0 - b.cell = cell{} - b.endChar = 0 - b.lines = b.lines[0:0] - b.widths = b.widths[0:0] - b.addLine(true) -} - -// Internal representation (current state): -// -// - all text written is appended to buf; tabs and line breaks are stripped away -// - at any given time there is a (possibly empty) incomplete cell at the end -// (the cell starts after a tab or line break) -// - cell.size is the number of bytes belonging to the cell so far -// - cell.width is text width in runes of that cell from the start of the cell to -// position pos; html tags and entities are excluded from this width if html -// filtering is enabled -// - the sizes and widths of processed text are kept in the lines list -// which contains a list of cells for each line -// - the widths list is a temporary list with current widths used during -// formatting; it is kept in Writer because it's re-used -// -// |<---------- size ---------->| -// | | -// |<- width ->|<- ignored ->| | -// | | | | -// [---processed---tab------------......] -// ^ ^ ^ -// | | | -// buf start of incomplete cell pos - -// Formatting can be controlled with these flags. -const ( - // Ignore html tags and treat entities (starting with '&' - // and ending in ';') as single characters (width = 1). - FilterHTML uint = 1 << iota - - // Strip Escape characters bracketing escaped text segments - // instead of passing them through unchanged with the text. - StripEscape - - // Force right-alignment of cell content. - // Default is left-alignment. - AlignRight - - // Handle empty columns as if they were not present in - // the input in the first place. - DiscardEmptyColumns - - // Always use tabs for indentation columns (i.e., padding of - // leading empty cells on the left) independent of padchar. - TabIndent - - // Print a vertical bar ('|') between columns (after formatting). - // Discarded columns appear as zero-width columns ("||"). - Debug - - // Remember maximum widths seen per column even after Flush() is called. - RememberWidths -) - -// A Writer must be initialized with a call to Init. The first parameter (output) -// specifies the filter output. The remaining parameters control the formatting: -// -// minwidth minimal cell width including any padding -// tabwidth width of tab characters (equivalent number of spaces) -// padding padding added to a cell before computing its width -// padchar ASCII char used for padding -// if padchar == '\t', the Writer will assume that the -// width of a '\t' in the formatted output is tabwidth, -// and cells are left-aligned independent of align_left -// (for correct-looking results, tabwidth must correspond -// to the tab width in the viewer displaying the result) -// flags formatting control -// -func (b *Writer) Init(output io.Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *Writer { - if minwidth < 0 || tabwidth < 0 || padding < 0 { - panic("negative minwidth, tabwidth, or padding") - } - b.output = output - b.minwidth = minwidth - b.tabwidth = tabwidth - b.padding = padding - for i := range b.padbytes { - b.padbytes[i] = padchar - } - if padchar == '\t' { - // tab padding enforces left-alignment - flags &^= AlignRight - } - b.flags = flags - - b.reset() - - return b -} - -// debugging support (keep code around) -func (b *Writer) dump() { - pos := 0 - for i, line := range b.lines { - print("(", i, ") ") - for _, c := range line { - print("[", string(b.buf[pos:pos+c.size]), "]") - pos += c.size - } - print("\n") - } - print("\n") -} - -// local error wrapper so we can distinguish errors we want to return -// as errors from genuine panics (which we don't want to return as errors) -type osError struct { - err error -} - -func (b *Writer) write0(buf []byte) { - n, err := b.output.Write(buf) - if n != len(buf) && err == nil { - err = io.ErrShortWrite - } - if err != nil { - panic(osError{err}) - } -} - -func (b *Writer) writeN(src []byte, n int) { - for n > len(src) { - b.write0(src) - n -= len(src) - } - b.write0(src[0:n]) -} - -var ( - newline = []byte{'\n'} - tabs = []byte("\t\t\t\t\t\t\t\t") -) - -func (b *Writer) writePadding(textw, cellw int, useTabs bool) { - if b.padbytes[0] == '\t' || useTabs { - // padding is done with tabs - if b.tabwidth == 0 { - return // tabs have no width - can't do any padding - } - // make cellw the smallest multiple of b.tabwidth - cellw = (cellw + b.tabwidth - 1) / b.tabwidth * b.tabwidth - n := cellw - textw // amount of padding - if n < 0 { - panic("internal error") - } - b.writeN(tabs, (n+b.tabwidth-1)/b.tabwidth) - return - } - - // padding is done with non-tab characters - b.writeN(b.padbytes[0:], cellw-textw) -} - -var vbar = []byte{'|'} - -func (b *Writer) writeLines(pos0 int, line0, line1 int) (pos int) { - pos = pos0 - for i := line0; i < line1; i++ { - line := b.lines[i] - - // if TabIndent is set, use tabs to pad leading empty cells - useTabs := b.flags&TabIndent != 0 - - for j, c := range line { - if j > 0 && b.flags&Debug != 0 { - // indicate column break - b.write0(vbar) - } - - if c.size == 0 { - // empty cell - if j < len(b.widths) { - b.writePadding(c.width, b.widths[j], useTabs) - } - } else { - // non-empty cell - useTabs = false - if b.flags&AlignRight == 0 { // align left - b.write0(b.buf[pos : pos+c.size]) - pos += c.size - if j < len(b.widths) { - b.writePadding(c.width, b.widths[j], false) - } - } else { // align right - if j < len(b.widths) { - b.writePadding(c.width, b.widths[j], false) - } - b.write0(b.buf[pos : pos+c.size]) - pos += c.size - } - } - } - - if i+1 == len(b.lines) { - // last buffered line - we don't have a newline, so just write - // any outstanding buffered data - b.write0(b.buf[pos : pos+b.cell.size]) - pos += b.cell.size - } else { - // not the last line - write newline - b.write0(newline) - } - } - return -} - -// Format the text between line0 and line1 (excluding line1); pos -// is the buffer position corresponding to the beginning of line0. -// Returns the buffer position corresponding to the beginning of -// line1 and an error, if any. -// -func (b *Writer) format(pos0 int, line0, line1 int) (pos int) { - pos = pos0 - column := len(b.widths) - for this := line0; this < line1; this++ { - line := b.lines[this] - - if column >= len(line)-1 { - continue - } - // cell exists in this column => this line - // has more cells than the previous line - // (the last cell per line is ignored because cells are - // tab-terminated; the last cell per line describes the - // text before the newline/formfeed and does not belong - // to a column) - - // print unprinted lines until beginning of block - pos = b.writeLines(pos, line0, this) - line0 = this - - // column block begin - width := b.minwidth // minimal column width - discardable := true // true if all cells in this column are empty and "soft" - for ; this < line1; this++ { - line = b.lines[this] - if column >= len(line)-1 { - break - } - // cell exists in this column - c := line[column] - // update width - if w := c.width + b.padding; w > width { - width = w - } - // update discardable - if c.width > 0 || c.htab { - discardable = false - } - } - // column block end - - // discard empty columns if necessary - if discardable && b.flags&DiscardEmptyColumns != 0 { - width = 0 - } - - if b.flags&RememberWidths != 0 { - if len(b.maxwidths) < len(b.widths) { - b.maxwidths = append(b.maxwidths, b.widths[len(b.maxwidths):]...) - } - - switch { - case len(b.maxwidths) == len(b.widths): - b.maxwidths = append(b.maxwidths, width) - case b.maxwidths[len(b.widths)] > width: - width = b.maxwidths[len(b.widths)] - case b.maxwidths[len(b.widths)] < width: - b.maxwidths[len(b.widths)] = width - } - } - - // format and print all columns to the right of this column - // (we know the widths of this column and all columns to the left) - b.widths = append(b.widths, width) // push width - pos = b.format(pos, line0, this) - b.widths = b.widths[0 : len(b.widths)-1] // pop width - line0 = this - } - - // print unprinted lines until end - return b.writeLines(pos, line0, line1) -} - -// Append text to current cell. -func (b *Writer) append(text []byte) { - b.buf = append(b.buf, text...) - b.cell.size += len(text) -} - -// Update the cell width. -func (b *Writer) updateWidth() { - b.cell.width += utf8.RuneCount(b.buf[b.pos:]) - b.pos = len(b.buf) -} - -// To escape a text segment, bracket it with Escape characters. -// For instance, the tab in this string "Ignore this tab: \xff\t\xff" -// does not terminate a cell and constitutes a single character of -// width one for formatting purposes. -// -// The value 0xff was chosen because it cannot appear in a valid UTF-8 sequence. -// -const Escape = '\xff' - -// Start escaped mode. -func (b *Writer) startEscape(ch byte) { - switch ch { - case Escape: - b.endChar = Escape - case '<': - b.endChar = '>' - case '&': - b.endChar = ';' - } -} - -// Terminate escaped mode. If the escaped text was an HTML tag, its width -// is assumed to be zero for formatting purposes; if it was an HTML entity, -// its width is assumed to be one. In all other cases, the width is the -// unicode width of the text. -// -func (b *Writer) endEscape() { - switch b.endChar { - case Escape: - b.updateWidth() - if b.flags&StripEscape == 0 { - b.cell.width -= 2 // don't count the Escape chars - } - case '>': // tag of zero width - case ';': - b.cell.width++ // entity, count as one rune - } - b.pos = len(b.buf) - b.endChar = 0 -} - -// Terminate the current cell by adding it to the list of cells of the -// current line. Returns the number of cells in that line. -// -func (b *Writer) terminateCell(htab bool) int { - b.cell.htab = htab - line := &b.lines[len(b.lines)-1] - *line = append(*line, b.cell) - b.cell = cell{} - return len(*line) -} - -func handlePanic(err *error, op string) { - if e := recover(); e != nil { - if nerr, ok := e.(osError); ok { - *err = nerr.err - return - } - panic("tabwriter: panic during " + op) - } -} - -// RememberedWidths returns a copy of the remembered per-column maximum widths. -// Requires use of the RememberWidths flag, and is not threadsafe. -func (b *Writer) RememberedWidths() []int { - retval := make([]int, len(b.maxwidths)) - copy(retval, b.maxwidths) - return retval -} - -// SetRememberedWidths sets the remembered per-column maximum widths. -// Requires use of the RememberWidths flag, and is not threadsafe. -func (b *Writer) SetRememberedWidths(widths []int) *Writer { - b.maxwidths = make([]int, len(widths)) - copy(b.maxwidths, widths) - return b -} - -// Flush should be called after the last call to Write to ensure -// that any data buffered in the Writer is written to output. Any -// incomplete escape sequence at the end is considered -// complete for formatting purposes. -func (b *Writer) Flush() error { - return b.flush() -} - -func (b *Writer) flush() (err error) { - defer b.reset() // even in the presence of errors - defer handlePanic(&err, "Flush") - - // add current cell if not empty - if b.cell.size > 0 { - if b.endChar != 0 { - // inside escape - terminate it even if incomplete - b.endEscape() - } - b.terminateCell(false) - } - - // format contents of buffer - b.format(0, 0, len(b.lines)) - return nil -} - -var hbar = []byte("---\n") - -// Write writes buf to the writer b. -// The only errors returned are ones encountered -// while writing to the underlying output stream. -// -func (b *Writer) Write(buf []byte) (n int, err error) { - defer handlePanic(&err, "Write") - - // split text into cells - n = 0 - for i, ch := range buf { - if b.endChar == 0 { - // outside escape - switch ch { - case '\t', '\v', '\n', '\f': - // end of cell - b.append(buf[n:i]) - b.updateWidth() - n = i + 1 // ch consumed - ncells := b.terminateCell(ch == '\t') - if ch == '\n' || ch == '\f' { - // terminate line - b.addLine(ch == '\f') - if ch == '\f' || ncells == 1 { - // A '\f' always forces a flush. Otherwise, if the previous - // line has only one cell which does not have an impact on - // the formatting of the following lines (the last cell per - // line is ignored by format()), thus we can flush the - // Writer contents. - if err = b.Flush(); err != nil { - return - } - if ch == '\f' && b.flags&Debug != 0 { - // indicate section break - b.write0(hbar) - } - } - } - - case Escape: - // start of escaped sequence - b.append(buf[n:i]) - b.updateWidth() - n = i - if b.flags&StripEscape != 0 { - n++ // strip Escape - } - b.startEscape(Escape) - - case '<', '&': - // possibly an html tag/entity - if b.flags&FilterHTML != 0 { - // begin of tag/entity - b.append(buf[n:i]) - b.updateWidth() - n = i - b.startEscape(ch) - } - } - - } else { - // inside escape - if ch == b.endChar { - // end of tag/entity - j := i + 1 - if ch == Escape && b.flags&StripEscape != 0 { - j = i // strip Escape - } - b.append(buf[n:j]) - n = i + 1 // ch consumed - b.endEscape() - } - } - } - - // append leftover text - b.append(buf[n:]) - n = len(buf) - return -} - -// NewWriter allocates and initializes a new tabwriter.Writer. -// The parameters are the same as for the Init function. -// -func NewWriter(output io.Writer, minwidth, tabwidth, padding int, padchar byte, flags uint) *Writer { - return new(Writer).Init(output, minwidth, tabwidth, padding, padchar, flags) -} diff --git a/vendor/github.com/mitchellh/go-wordwrap/LICENSE.md b/vendor/github.com/mitchellh/go-wordwrap/LICENSE.md deleted file mode 100644 index 22985159..00000000 --- a/vendor/github.com/mitchellh/go-wordwrap/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Mitchell Hashimoto - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/mitchellh/go-wordwrap/README.md b/vendor/github.com/mitchellh/go-wordwrap/README.md deleted file mode 100644 index 60ae3117..00000000 --- a/vendor/github.com/mitchellh/go-wordwrap/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# go-wordwrap - -`go-wordwrap` (Golang package: `wordwrap`) is a package for Go that -automatically wraps words into multiple lines. The primary use case for this -is in formatting CLI output, but of course word wrapping is a generally useful -thing to do. - -## Installation and Usage - -Install using `go get github.com/mitchellh/go-wordwrap`. - -Full documentation is available at -http://godoc.org/github.com/mitchellh/go-wordwrap - -Below is an example of its usage ignoring errors: - -```go -wrapped := wordwrap.WrapString("foo bar baz", 3) -fmt.Println(wrapped) -``` - -Would output: - -``` -foo -bar -baz -``` - -## Word Wrap Algorithm - -This library doesn't use any clever algorithm for word wrapping. The wrapping -is actually very naive: whenever there is whitespace or an explicit linebreak. -The goal of this library is for word wrapping CLI output, so the input is -typically pretty well controlled human language. Because of this, the naive -approach typically works just fine. - -In the future, we'd like to make the algorithm more advanced. We would do -so without breaking the API. diff --git a/vendor/github.com/mitchellh/go-wordwrap/wordwrap.go b/vendor/github.com/mitchellh/go-wordwrap/wordwrap.go deleted file mode 100644 index ac67205b..00000000 --- a/vendor/github.com/mitchellh/go-wordwrap/wordwrap.go +++ /dev/null @@ -1,73 +0,0 @@ -package wordwrap - -import ( - "bytes" - "unicode" -) - -// WrapString wraps the given string within lim width in characters. -// -// Wrapping is currently naive and only happens at white-space. A future -// version of the library will implement smarter wrapping. This means that -// pathological cases can dramatically reach past the limit, such as a very -// long word. -func WrapString(s string, lim uint) string { - // Initialize a buffer with a slightly larger size to account for breaks - init := make([]byte, 0, len(s)) - buf := bytes.NewBuffer(init) - - var current uint - var wordBuf, spaceBuf bytes.Buffer - - for _, char := range s { - if char == '\n' { - if wordBuf.Len() == 0 { - if current+uint(spaceBuf.Len()) > lim { - current = 0 - } else { - current += uint(spaceBuf.Len()) - spaceBuf.WriteTo(buf) - } - spaceBuf.Reset() - } else { - current += uint(spaceBuf.Len() + wordBuf.Len()) - spaceBuf.WriteTo(buf) - spaceBuf.Reset() - wordBuf.WriteTo(buf) - wordBuf.Reset() - } - buf.WriteRune(char) - current = 0 - } else if unicode.IsSpace(char) { - if spaceBuf.Len() == 0 || wordBuf.Len() > 0 { - current += uint(spaceBuf.Len() + wordBuf.Len()) - spaceBuf.WriteTo(buf) - spaceBuf.Reset() - wordBuf.WriteTo(buf) - wordBuf.Reset() - } - - spaceBuf.WriteRune(char) - } else { - - wordBuf.WriteRune(char) - - if current+uint(spaceBuf.Len()+wordBuf.Len()) > lim && uint(wordBuf.Len()) < lim { - buf.WriteRune('\n') - current = 0 - spaceBuf.Reset() - } - } - } - - if wordBuf.Len() == 0 { - if current+uint(spaceBuf.Len()) <= lim { - spaceBuf.WriteTo(buf) - } - } else { - spaceBuf.WriteTo(buf) - wordBuf.WriteTo(buf) - } - - return buf.String() -} diff --git a/vendor/github.com/moby/spdystream/CONTRIBUTING.md b/vendor/github.com/moby/spdystream/CONTRIBUTING.md deleted file mode 100644 index d4eddcc5..00000000 --- a/vendor/github.com/moby/spdystream/CONTRIBUTING.md +++ /dev/null @@ -1,13 +0,0 @@ -# Contributing to SpdyStream - -Want to hack on spdystream? Awesome! Here are instructions to get you -started. - -SpdyStream is a part of the [Docker](https://docker.io) project, and follows -the same rules and principles. If you're already familiar with the way -Docker does things, you'll feel right at home. - -Otherwise, go read -[Docker's contributions guidelines](https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md). - -Happy hacking! diff --git a/vendor/github.com/moby/spdystream/LICENSE b/vendor/github.com/moby/spdystream/LICENSE deleted file mode 100644 index d6456956..00000000 --- a/vendor/github.com/moby/spdystream/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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/github.com/moby/spdystream/MAINTAINERS b/vendor/github.com/moby/spdystream/MAINTAINERS deleted file mode 100644 index 26e5ec82..00000000 --- a/vendor/github.com/moby/spdystream/MAINTAINERS +++ /dev/null @@ -1,40 +0,0 @@ -# Spdystream maintainers file -# -# This file describes who runs the moby/spdystream project and how. -# This is a living document - if you see something out of date or missing, speak up! -# -# It is structured to be consumable by both humans and programs. -# To extract its contents programmatically, use any TOML-compliant parser. -# -# This file is compiled into the MAINTAINERS file in docker/opensource. -# -[Org] - [Org."Core maintainers"] - people = [ - "adisky", - "dims", - "dmcgowan", - ] - -[people] - -# A reference list of all people associated with the project. -# All other sections should refer to people by their canonical key -# in the people section. - - # ADD YOURSELF HERE IN ALPHABETICAL ORDER - - [people.adisky] - Name = "Aditi Sharma" - Email = "adi.sky17@gmail.com" - GitHub = "adisky" - - [people.dims] - Name = "Davanum Srinivas" - Email = "davanum@gmail.com" - GitHub = "dims" - - [people.dmcgowan] - Name = "Derek McGowan" - Email = "derek@mcg.dev" - GitHub = "dmcgowan" diff --git a/vendor/github.com/moby/spdystream/NOTICE b/vendor/github.com/moby/spdystream/NOTICE deleted file mode 100644 index b9b11c9a..00000000 --- a/vendor/github.com/moby/spdystream/NOTICE +++ /dev/null @@ -1,5 +0,0 @@ -SpdyStream -Copyright 2014-2021 Docker Inc. - -This product includes software developed at -Docker Inc. (https://www.docker.com/). diff --git a/vendor/github.com/moby/spdystream/README.md b/vendor/github.com/moby/spdystream/README.md deleted file mode 100644 index b84e9834..00000000 --- a/vendor/github.com/moby/spdystream/README.md +++ /dev/null @@ -1,77 +0,0 @@ -# SpdyStream - -A multiplexed stream library using spdy - -## Usage - -Client example (connecting to mirroring server without auth) - -```go -package main - -import ( - "fmt" - "github.com/moby/spdystream" - "net" - "net/http" -) - -func main() { - conn, err := net.Dial("tcp", "localhost:8080") - if err != nil { - panic(err) - } - spdyConn, err := spdystream.NewConnection(conn, false) - if err != nil { - panic(err) - } - go spdyConn.Serve(spdystream.NoOpStreamHandler) - stream, err := spdyConn.CreateStream(http.Header{}, nil, false) - if err != nil { - panic(err) - } - - stream.Wait() - - fmt.Fprint(stream, "Writing to stream") - - buf := make([]byte, 25) - stream.Read(buf) - fmt.Println(string(buf)) - - stream.Close() -} -``` - -Server example (mirroring server without auth) - -```go -package main - -import ( - "github.com/moby/spdystream" - "net" -) - -func main() { - listener, err := net.Listen("tcp", "localhost:8080") - if err != nil { - panic(err) - } - for { - conn, err := listener.Accept() - if err != nil { - panic(err) - } - spdyConn, err := spdystream.NewConnection(conn, true) - if err != nil { - panic(err) - } - go spdyConn.Serve(spdystream.MirrorStreamHandler) - } -} -``` - -## Copyright and license - -Copyright 2013-2021 Docker, inc. Released under the [Apache 2.0 license](LICENSE). diff --git a/vendor/github.com/moby/spdystream/connection.go b/vendor/github.com/moby/spdystream/connection.go deleted file mode 100644 index d906bb05..00000000 --- a/vendor/github.com/moby/spdystream/connection.go +++ /dev/null @@ -1,972 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -package spdystream - -import ( - "errors" - "fmt" - "io" - "net" - "net/http" - "sync" - "time" - - "github.com/moby/spdystream/spdy" -) - -var ( - ErrInvalidStreamId = errors.New("Invalid stream id") - ErrTimeout = errors.New("Timeout occurred") - ErrReset = errors.New("Stream reset") - ErrWriteClosedStream = errors.New("Write on closed stream") -) - -const ( - FRAME_WORKERS = 5 - QUEUE_SIZE = 50 -) - -type StreamHandler func(stream *Stream) - -type AuthHandler func(header http.Header, slot uint8, parent uint32) bool - -type idleAwareFramer struct { - f *spdy.Framer - conn *Connection - writeLock sync.Mutex - resetChan chan struct{} - setTimeoutLock sync.Mutex - setTimeoutChan chan time.Duration - timeout time.Duration -} - -func newIdleAwareFramer(framer *spdy.Framer) *idleAwareFramer { - iaf := &idleAwareFramer{ - f: framer, - resetChan: make(chan struct{}, 2), - // setTimeoutChan needs to be buffered to avoid deadlocks when calling setIdleTimeout at about - // the same time the connection is being closed - setTimeoutChan: make(chan time.Duration, 1), - } - return iaf -} - -func (i *idleAwareFramer) monitor() { - var ( - timer *time.Timer - expired <-chan time.Time - resetChan = i.resetChan - setTimeoutChan = i.setTimeoutChan - ) -Loop: - for { - select { - case timeout := <-i.setTimeoutChan: - i.timeout = timeout - if timeout == 0 { - if timer != nil { - timer.Stop() - } - } else { - if timer == nil { - timer = time.NewTimer(timeout) - expired = timer.C - } else { - timer.Reset(timeout) - } - } - case <-resetChan: - if timer != nil && i.timeout > 0 { - timer.Reset(i.timeout) - } - case <-expired: - i.conn.streamCond.L.Lock() - streams := i.conn.streams - i.conn.streams = make(map[spdy.StreamId]*Stream) - i.conn.streamCond.Broadcast() - i.conn.streamCond.L.Unlock() - go func() { - for _, stream := range streams { - stream.resetStream() - } - i.conn.Close() - }() - case <-i.conn.closeChan: - if timer != nil { - timer.Stop() - } - - // Start a goroutine to drain resetChan. This is needed because we've seen - // some unit tests with large numbers of goroutines get into a situation - // where resetChan fills up, at least 1 call to Write() is still trying to - // send to resetChan, the connection gets closed, and this case statement - // attempts to grab the write lock that Write() already has, causing a - // deadlock. - // - // See https://github.com/moby/spdystream/issues/49 for more details. - go func() { - for range resetChan { - } - }() - - go func() { - for range setTimeoutChan { - } - }() - - i.writeLock.Lock() - close(resetChan) - i.resetChan = nil - i.writeLock.Unlock() - - i.setTimeoutLock.Lock() - close(i.setTimeoutChan) - i.setTimeoutChan = nil - i.setTimeoutLock.Unlock() - - break Loop - } - } - - // Drain resetChan - for range resetChan { - } -} - -func (i *idleAwareFramer) WriteFrame(frame spdy.Frame) error { - i.writeLock.Lock() - defer i.writeLock.Unlock() - if i.resetChan == nil { - return io.EOF - } - err := i.f.WriteFrame(frame) - if err != nil { - return err - } - - i.resetChan <- struct{}{} - - return nil -} - -func (i *idleAwareFramer) ReadFrame() (spdy.Frame, error) { - frame, err := i.f.ReadFrame() - if err != nil { - return nil, err - } - - // resetChan should never be closed since it is only closed - // when the connection has closed its closeChan. This closure - // only occurs after all Reads have finished - // TODO (dmcgowan): refactor relationship into connection - i.resetChan <- struct{}{} - - return frame, nil -} - -func (i *idleAwareFramer) setIdleTimeout(timeout time.Duration) { - i.setTimeoutLock.Lock() - defer i.setTimeoutLock.Unlock() - - if i.setTimeoutChan == nil { - return - } - - i.setTimeoutChan <- timeout -} - -type Connection struct { - conn net.Conn - framer *idleAwareFramer - - closeChan chan bool - goneAway bool - lastStreamChan chan<- *Stream - goAwayTimeout time.Duration - closeTimeout time.Duration - - streamLock *sync.RWMutex - streamCond *sync.Cond - streams map[spdy.StreamId]*Stream - - nextIdLock sync.Mutex - receiveIdLock sync.Mutex - nextStreamId spdy.StreamId - receivedStreamId spdy.StreamId - - pingIdLock sync.Mutex - pingId uint32 - pingChans map[uint32]chan error - - shutdownLock sync.Mutex - shutdownChan chan error - hasShutdown bool - - // for testing https://github.com/moby/spdystream/pull/56 - dataFrameHandler func(*spdy.DataFrame) error -} - -// NewConnection creates a new spdy connection from an existing -// network connection. -func NewConnection(conn net.Conn, server bool) (*Connection, error) { - framer, framerErr := spdy.NewFramer(conn, conn) - if framerErr != nil { - return nil, framerErr - } - idleAwareFramer := newIdleAwareFramer(framer) - var sid spdy.StreamId - var rid spdy.StreamId - var pid uint32 - if server { - sid = 2 - rid = 1 - pid = 2 - } else { - sid = 1 - rid = 2 - pid = 1 - } - - streamLock := new(sync.RWMutex) - streamCond := sync.NewCond(streamLock) - - session := &Connection{ - conn: conn, - framer: idleAwareFramer, - - closeChan: make(chan bool), - goAwayTimeout: time.Duration(0), - closeTimeout: time.Duration(0), - - streamLock: streamLock, - streamCond: streamCond, - streams: make(map[spdy.StreamId]*Stream), - nextStreamId: sid, - receivedStreamId: rid, - - pingId: pid, - pingChans: make(map[uint32]chan error), - - shutdownChan: make(chan error), - } - session.dataFrameHandler = session.handleDataFrame - idleAwareFramer.conn = session - go idleAwareFramer.monitor() - - return session, nil -} - -// Ping sends a ping frame across the connection and -// returns the response time -func (s *Connection) Ping() (time.Duration, error) { - pid := s.pingId - s.pingIdLock.Lock() - if s.pingId > 0x7ffffffe { - s.pingId = s.pingId - 0x7ffffffe - } else { - s.pingId = s.pingId + 2 - } - s.pingIdLock.Unlock() - pingChan := make(chan error) - s.pingChans[pid] = pingChan - defer delete(s.pingChans, pid) - - frame := &spdy.PingFrame{Id: pid} - startTime := time.Now() - writeErr := s.framer.WriteFrame(frame) - if writeErr != nil { - return time.Duration(0), writeErr - } - select { - case <-s.closeChan: - return time.Duration(0), errors.New("connection closed") - case err, ok := <-pingChan: - if ok && err != nil { - return time.Duration(0), err - } - break - } - return time.Since(startTime), nil -} - -// Serve handles frames sent from the server, including reply frames -// which are needed to fully initiate connections. Both clients and servers -// should call Serve in a separate goroutine before creating streams. -func (s *Connection) Serve(newHandler StreamHandler) { - // use a WaitGroup to wait for all frames to be drained after receiving - // go-away. - var wg sync.WaitGroup - - // Parition queues to ensure stream frames are handled - // by the same worker, ensuring order is maintained - frameQueues := make([]*PriorityFrameQueue, FRAME_WORKERS) - for i := 0; i < FRAME_WORKERS; i++ { - frameQueues[i] = NewPriorityFrameQueue(QUEUE_SIZE) - - // Ensure frame queue is drained when connection is closed - go func(frameQueue *PriorityFrameQueue) { - <-s.closeChan - frameQueue.Drain() - }(frameQueues[i]) - - wg.Add(1) - go func(frameQueue *PriorityFrameQueue) { - // let the WaitGroup know this worker is done - defer wg.Done() - - s.frameHandler(frameQueue, newHandler) - }(frameQueues[i]) - } - - var ( - partitionRoundRobin int - goAwayFrame *spdy.GoAwayFrame - ) -Loop: - for { - readFrame, err := s.framer.ReadFrame() - if err != nil { - if err != io.EOF { - debugMessage("frame read error: %s", err) - } else { - debugMessage("(%p) EOF received", s) - } - break - } - var priority uint8 - var partition int - switch frame := readFrame.(type) { - case *spdy.SynStreamFrame: - if s.checkStreamFrame(frame) { - priority = frame.Priority - partition = int(frame.StreamId % FRAME_WORKERS) - debugMessage("(%p) Add stream frame: %d ", s, frame.StreamId) - s.addStreamFrame(frame) - } else { - debugMessage("(%p) Rejected stream frame: %d ", s, frame.StreamId) - continue - } - case *spdy.SynReplyFrame: - priority = s.getStreamPriority(frame.StreamId) - partition = int(frame.StreamId % FRAME_WORKERS) - case *spdy.DataFrame: - priority = s.getStreamPriority(frame.StreamId) - partition = int(frame.StreamId % FRAME_WORKERS) - case *spdy.RstStreamFrame: - priority = s.getStreamPriority(frame.StreamId) - partition = int(frame.StreamId % FRAME_WORKERS) - case *spdy.HeadersFrame: - priority = s.getStreamPriority(frame.StreamId) - partition = int(frame.StreamId % FRAME_WORKERS) - case *spdy.PingFrame: - priority = 0 - partition = partitionRoundRobin - partitionRoundRobin = (partitionRoundRobin + 1) % FRAME_WORKERS - case *spdy.GoAwayFrame: - // hold on to the go away frame and exit the loop - goAwayFrame = frame - break Loop - default: - priority = 7 - partition = partitionRoundRobin - partitionRoundRobin = (partitionRoundRobin + 1) % FRAME_WORKERS - } - frameQueues[partition].Push(readFrame, priority) - } - close(s.closeChan) - - // wait for all frame handler workers to indicate they've drained their queues - // before handling the go away frame - wg.Wait() - - if goAwayFrame != nil { - s.handleGoAwayFrame(goAwayFrame) - } - - // now it's safe to close remote channels and empty s.streams - s.streamCond.L.Lock() - // notify streams that they're now closed, which will - // unblock any stream Read() calls - for _, stream := range s.streams { - stream.closeRemoteChannels() - } - s.streams = make(map[spdy.StreamId]*Stream) - s.streamCond.Broadcast() - s.streamCond.L.Unlock() -} - -func (s *Connection) frameHandler(frameQueue *PriorityFrameQueue, newHandler StreamHandler) { - for { - popFrame := frameQueue.Pop() - if popFrame == nil { - return - } - - var frameErr error - switch frame := popFrame.(type) { - case *spdy.SynStreamFrame: - frameErr = s.handleStreamFrame(frame, newHandler) - case *spdy.SynReplyFrame: - frameErr = s.handleReplyFrame(frame) - case *spdy.DataFrame: - frameErr = s.dataFrameHandler(frame) - case *spdy.RstStreamFrame: - frameErr = s.handleResetFrame(frame) - case *spdy.HeadersFrame: - frameErr = s.handleHeaderFrame(frame) - case *spdy.PingFrame: - frameErr = s.handlePingFrame(frame) - case *spdy.GoAwayFrame: - frameErr = s.handleGoAwayFrame(frame) - default: - frameErr = fmt.Errorf("unhandled frame type: %T", frame) - } - - if frameErr != nil { - debugMessage("frame handling error: %s", frameErr) - } - } -} - -func (s *Connection) getStreamPriority(streamId spdy.StreamId) uint8 { - stream, streamOk := s.getStream(streamId) - if !streamOk { - return 7 - } - return stream.priority -} - -func (s *Connection) addStreamFrame(frame *spdy.SynStreamFrame) { - var parent *Stream - if frame.AssociatedToStreamId != spdy.StreamId(0) { - parent, _ = s.getStream(frame.AssociatedToStreamId) - } - - stream := &Stream{ - streamId: frame.StreamId, - parent: parent, - conn: s, - startChan: make(chan error), - headers: frame.Headers, - finished: (frame.CFHeader.Flags & spdy.ControlFlagUnidirectional) != 0x00, - replyCond: sync.NewCond(new(sync.Mutex)), - dataChan: make(chan []byte), - headerChan: make(chan http.Header), - closeChan: make(chan bool), - priority: frame.Priority, - } - if frame.CFHeader.Flags&spdy.ControlFlagFin != 0x00 { - stream.closeRemoteChannels() - } - - s.addStream(stream) -} - -// checkStreamFrame checks to see if a stream frame is allowed. -// If the stream is invalid, then a reset frame with protocol error -// will be returned. -func (s *Connection) checkStreamFrame(frame *spdy.SynStreamFrame) bool { - s.receiveIdLock.Lock() - defer s.receiveIdLock.Unlock() - if s.goneAway { - return false - } - validationErr := s.validateStreamId(frame.StreamId) - if validationErr != nil { - go func() { - resetErr := s.sendResetFrame(spdy.ProtocolError, frame.StreamId) - if resetErr != nil { - debugMessage("reset error: %s", resetErr) - } - }() - return false - } - return true -} - -func (s *Connection) handleStreamFrame(frame *spdy.SynStreamFrame, newHandler StreamHandler) error { - stream, ok := s.getStream(frame.StreamId) - if !ok { - return fmt.Errorf("Missing stream: %d", frame.StreamId) - } - - newHandler(stream) - - return nil -} - -func (s *Connection) handleReplyFrame(frame *spdy.SynReplyFrame) error { - debugMessage("(%p) Reply frame received for %d", s, frame.StreamId) - stream, streamOk := s.getStream(frame.StreamId) - if !streamOk { - debugMessage("Reply frame gone away for %d", frame.StreamId) - // Stream has already gone away - return nil - } - if stream.replied { - // Stream has already received reply - return nil - } - stream.replied = true - - // TODO Check for error - if (frame.CFHeader.Flags & spdy.ControlFlagFin) != 0x00 { - s.remoteStreamFinish(stream) - } - - close(stream.startChan) - - return nil -} - -func (s *Connection) handleResetFrame(frame *spdy.RstStreamFrame) error { - stream, streamOk := s.getStream(frame.StreamId) - if !streamOk { - // Stream has already been removed - return nil - } - s.removeStream(stream) - stream.closeRemoteChannels() - - if !stream.replied { - stream.replied = true - stream.startChan <- ErrReset - close(stream.startChan) - } - - stream.finishLock.Lock() - stream.finished = true - stream.finishLock.Unlock() - - return nil -} - -func (s *Connection) handleHeaderFrame(frame *spdy.HeadersFrame) error { - stream, streamOk := s.getStream(frame.StreamId) - if !streamOk { - // Stream has already gone away - return nil - } - if !stream.replied { - // No reply received...Protocol error? - return nil - } - - // TODO limit headers while not blocking (use buffered chan or goroutine?) - select { - case <-stream.closeChan: - return nil - case stream.headerChan <- frame.Headers: - } - - if (frame.CFHeader.Flags & spdy.ControlFlagFin) != 0x00 { - s.remoteStreamFinish(stream) - } - - return nil -} - -func (s *Connection) handleDataFrame(frame *spdy.DataFrame) error { - debugMessage("(%p) Data frame received for %d", s, frame.StreamId) - stream, streamOk := s.getStream(frame.StreamId) - if !streamOk { - debugMessage("(%p) Data frame gone away for %d", s, frame.StreamId) - // Stream has already gone away - return nil - } - if !stream.replied { - debugMessage("(%p) Data frame not replied %d", s, frame.StreamId) - // No reply received...Protocol error? - return nil - } - - debugMessage("(%p) (%d) Data frame handling", stream, stream.streamId) - if len(frame.Data) > 0 { - stream.dataLock.RLock() - select { - case <-stream.closeChan: - debugMessage("(%p) (%d) Data frame not sent (stream shut down)", stream, stream.streamId) - case stream.dataChan <- frame.Data: - debugMessage("(%p) (%d) Data frame sent", stream, stream.streamId) - } - stream.dataLock.RUnlock() - } - if (frame.Flags & spdy.DataFlagFin) != 0x00 { - s.remoteStreamFinish(stream) - } - return nil -} - -func (s *Connection) handlePingFrame(frame *spdy.PingFrame) error { - if s.pingId&0x01 != frame.Id&0x01 { - return s.framer.WriteFrame(frame) - } - pingChan, pingOk := s.pingChans[frame.Id] - if pingOk { - close(pingChan) - } - return nil -} - -func (s *Connection) handleGoAwayFrame(frame *spdy.GoAwayFrame) error { - debugMessage("(%p) Go away received", s) - s.receiveIdLock.Lock() - if s.goneAway { - s.receiveIdLock.Unlock() - return nil - } - s.goneAway = true - s.receiveIdLock.Unlock() - - if s.lastStreamChan != nil { - stream, _ := s.getStream(frame.LastGoodStreamId) - go func() { - s.lastStreamChan <- stream - }() - } - - // Do not block frame handler waiting for closure - go s.shutdown(s.goAwayTimeout) - - return nil -} - -func (s *Connection) remoteStreamFinish(stream *Stream) { - stream.closeRemoteChannels() - - stream.finishLock.Lock() - if stream.finished { - // Stream is fully closed, cleanup - s.removeStream(stream) - } - stream.finishLock.Unlock() -} - -// CreateStream creates a new spdy stream using the parameters for -// creating the stream frame. The stream frame will be sent upon -// calling this function, however this function does not wait for -// the reply frame. If waiting for the reply is desired, use -// the stream Wait or WaitTimeout function on the stream returned -// by this function. -func (s *Connection) CreateStream(headers http.Header, parent *Stream, fin bool) (*Stream, error) { - // MUST synchronize stream creation (all the way to writing the frame) - // as stream IDs **MUST** increase monotonically. - s.nextIdLock.Lock() - defer s.nextIdLock.Unlock() - - streamId := s.getNextStreamId() - if streamId == 0 { - return nil, fmt.Errorf("Unable to get new stream id") - } - - stream := &Stream{ - streamId: streamId, - parent: parent, - conn: s, - startChan: make(chan error), - headers: headers, - dataChan: make(chan []byte), - headerChan: make(chan http.Header), - closeChan: make(chan bool), - } - - debugMessage("(%p) (%p) Create stream", s, stream) - - s.addStream(stream) - - return stream, s.sendStream(stream, fin) -} - -func (s *Connection) shutdown(closeTimeout time.Duration) { - // TODO Ensure this isn't called multiple times - s.shutdownLock.Lock() - if s.hasShutdown { - s.shutdownLock.Unlock() - return - } - s.hasShutdown = true - s.shutdownLock.Unlock() - - var timeout <-chan time.Time - if closeTimeout > time.Duration(0) { - timeout = time.After(closeTimeout) - } - streamsClosed := make(chan bool) - - go func() { - s.streamCond.L.Lock() - for len(s.streams) > 0 { - debugMessage("Streams opened: %d, %#v", len(s.streams), s.streams) - s.streamCond.Wait() - } - s.streamCond.L.Unlock() - close(streamsClosed) - }() - - var err error - select { - case <-streamsClosed: - // No active streams, close should be safe - err = s.conn.Close() - case <-timeout: - // Force ungraceful close - err = s.conn.Close() - // Wait for cleanup to clear active streams - <-streamsClosed - } - - if err != nil { - duration := 10 * time.Minute - time.AfterFunc(duration, func() { - select { - case err, ok := <-s.shutdownChan: - if ok { - debugMessage("Unhandled close error after %s: %s", duration, err) - } - default: - } - }) - s.shutdownChan <- err - } - close(s.shutdownChan) -} - -// Closes spdy connection by sending GoAway frame and initiating shutdown -func (s *Connection) Close() error { - s.receiveIdLock.Lock() - if s.goneAway { - s.receiveIdLock.Unlock() - return nil - } - s.goneAway = true - s.receiveIdLock.Unlock() - - var lastStreamId spdy.StreamId - if s.receivedStreamId > 2 { - lastStreamId = s.receivedStreamId - 2 - } - - goAwayFrame := &spdy.GoAwayFrame{ - LastGoodStreamId: lastStreamId, - Status: spdy.GoAwayOK, - } - - err := s.framer.WriteFrame(goAwayFrame) - go s.shutdown(s.closeTimeout) - if err != nil { - return err - } - - return nil -} - -// CloseWait closes the connection and waits for shutdown -// to finish. Note the underlying network Connection -// is not closed until the end of shutdown. -func (s *Connection) CloseWait() error { - closeErr := s.Close() - if closeErr != nil { - return closeErr - } - shutdownErr, ok := <-s.shutdownChan - if ok { - return shutdownErr - } - return nil -} - -// Wait waits for the connection to finish shutdown or for -// the wait timeout duration to expire. This needs to be -// called either after Close has been called or the GOAWAYFRAME -// has been received. If the wait timeout is 0, this function -// will block until shutdown finishes. If wait is never called -// and a shutdown error occurs, that error will be logged as an -// unhandled error. -func (s *Connection) Wait(waitTimeout time.Duration) error { - var timeout <-chan time.Time - if waitTimeout > time.Duration(0) { - timeout = time.After(waitTimeout) - } - - select { - case err, ok := <-s.shutdownChan: - if ok { - return err - } - case <-timeout: - return ErrTimeout - } - return nil -} - -// NotifyClose registers a channel to be called when the remote -// peer inidicates connection closure. The last stream to be -// received by the remote will be sent on the channel. The notify -// timeout will determine the duration between go away received -// and the connection being closed. -func (s *Connection) NotifyClose(c chan<- *Stream, timeout time.Duration) { - s.goAwayTimeout = timeout - s.lastStreamChan = c -} - -// SetCloseTimeout sets the amount of time close will wait for -// streams to finish before terminating the underlying network -// connection. Setting the timeout to 0 will cause close to -// wait forever, which is the default. -func (s *Connection) SetCloseTimeout(timeout time.Duration) { - s.closeTimeout = timeout -} - -// SetIdleTimeout sets the amount of time the connection may sit idle before -// it is forcefully terminated. -func (s *Connection) SetIdleTimeout(timeout time.Duration) { - s.framer.setIdleTimeout(timeout) -} - -func (s *Connection) sendHeaders(headers http.Header, stream *Stream, fin bool) error { - var flags spdy.ControlFlags - if fin { - flags = spdy.ControlFlagFin - } - - headerFrame := &spdy.HeadersFrame{ - StreamId: stream.streamId, - Headers: headers, - CFHeader: spdy.ControlFrameHeader{Flags: flags}, - } - - return s.framer.WriteFrame(headerFrame) -} - -func (s *Connection) sendReply(headers http.Header, stream *Stream, fin bool) error { - var flags spdy.ControlFlags - if fin { - flags = spdy.ControlFlagFin - } - - replyFrame := &spdy.SynReplyFrame{ - StreamId: stream.streamId, - Headers: headers, - CFHeader: spdy.ControlFrameHeader{Flags: flags}, - } - - return s.framer.WriteFrame(replyFrame) -} - -func (s *Connection) sendResetFrame(status spdy.RstStreamStatus, streamId spdy.StreamId) error { - resetFrame := &spdy.RstStreamFrame{ - StreamId: streamId, - Status: status, - } - - return s.framer.WriteFrame(resetFrame) -} - -func (s *Connection) sendReset(status spdy.RstStreamStatus, stream *Stream) error { - return s.sendResetFrame(status, stream.streamId) -} - -func (s *Connection) sendStream(stream *Stream, fin bool) error { - var flags spdy.ControlFlags - if fin { - flags = spdy.ControlFlagFin - stream.finished = true - } - - var parentId spdy.StreamId - if stream.parent != nil { - parentId = stream.parent.streamId - } - - streamFrame := &spdy.SynStreamFrame{ - StreamId: spdy.StreamId(stream.streamId), - AssociatedToStreamId: spdy.StreamId(parentId), - Headers: stream.headers, - CFHeader: spdy.ControlFrameHeader{Flags: flags}, - } - - return s.framer.WriteFrame(streamFrame) -} - -// getNextStreamId returns the next sequential id -// every call should produce a unique value or an error -func (s *Connection) getNextStreamId() spdy.StreamId { - sid := s.nextStreamId - if sid > 0x7fffffff { - return 0 - } - s.nextStreamId = s.nextStreamId + 2 - return sid -} - -// PeekNextStreamId returns the next sequential id and keeps the next id untouched -func (s *Connection) PeekNextStreamId() spdy.StreamId { - sid := s.nextStreamId - return sid -} - -func (s *Connection) validateStreamId(rid spdy.StreamId) error { - if rid > 0x7fffffff || rid < s.receivedStreamId { - return ErrInvalidStreamId - } - s.receivedStreamId = rid + 2 - return nil -} - -func (s *Connection) addStream(stream *Stream) { - s.streamCond.L.Lock() - s.streams[stream.streamId] = stream - debugMessage("(%p) (%p) Stream added, broadcasting: %d", s, stream, stream.streamId) - s.streamCond.Broadcast() - s.streamCond.L.Unlock() -} - -func (s *Connection) removeStream(stream *Stream) { - s.streamCond.L.Lock() - delete(s.streams, stream.streamId) - debugMessage("(%p) (%p) Stream removed, broadcasting: %d", s, stream, stream.streamId) - s.streamCond.Broadcast() - s.streamCond.L.Unlock() -} - -func (s *Connection) getStream(streamId spdy.StreamId) (stream *Stream, ok bool) { - s.streamLock.RLock() - stream, ok = s.streams[streamId] - s.streamLock.RUnlock() - return -} - -// FindStream looks up the given stream id and either waits for the -// stream to be found or returns nil if the stream id is no longer -// valid. -func (s *Connection) FindStream(streamId uint32) *Stream { - var stream *Stream - var ok bool - s.streamCond.L.Lock() - stream, ok = s.streams[spdy.StreamId(streamId)] - debugMessage("(%p) Found stream %d? %t", s, spdy.StreamId(streamId), ok) - for !ok && streamId >= uint32(s.receivedStreamId) { - s.streamCond.Wait() - stream, ok = s.streams[spdy.StreamId(streamId)] - } - s.streamCond.L.Unlock() - return stream -} - -func (s *Connection) CloseChan() <-chan bool { - return s.closeChan -} diff --git a/vendor/github.com/moby/spdystream/handlers.go b/vendor/github.com/moby/spdystream/handlers.go deleted file mode 100644 index d68f61f8..00000000 --- a/vendor/github.com/moby/spdystream/handlers.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -package spdystream - -import ( - "io" - "net/http" -) - -// MirrorStreamHandler mirrors all streams. -func MirrorStreamHandler(stream *Stream) { - replyErr := stream.SendReply(http.Header{}, false) - if replyErr != nil { - return - } - - go func() { - io.Copy(stream, stream) - stream.Close() - }() - go func() { - for { - header, receiveErr := stream.ReceiveHeader() - if receiveErr != nil { - return - } - sendErr := stream.SendHeader(header, false) - if sendErr != nil { - return - } - } - }() -} - -// NoopStreamHandler does nothing when stream connects. -func NoOpStreamHandler(stream *Stream) { - stream.SendReply(http.Header{}, false) -} diff --git a/vendor/github.com/moby/spdystream/priority.go b/vendor/github.com/moby/spdystream/priority.go deleted file mode 100644 index d8eb3516..00000000 --- a/vendor/github.com/moby/spdystream/priority.go +++ /dev/null @@ -1,114 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -package spdystream - -import ( - "container/heap" - "sync" - - "github.com/moby/spdystream/spdy" -) - -type prioritizedFrame struct { - frame spdy.Frame - priority uint8 - insertId uint64 -} - -type frameQueue []*prioritizedFrame - -func (fq frameQueue) Len() int { - return len(fq) -} - -func (fq frameQueue) Less(i, j int) bool { - if fq[i].priority == fq[j].priority { - return fq[i].insertId < fq[j].insertId - } - return fq[i].priority < fq[j].priority -} - -func (fq frameQueue) Swap(i, j int) { - fq[i], fq[j] = fq[j], fq[i] -} - -func (fq *frameQueue) Push(x interface{}) { - *fq = append(*fq, x.(*prioritizedFrame)) -} - -func (fq *frameQueue) Pop() interface{} { - old := *fq - n := len(old) - *fq = old[0 : n-1] - return old[n-1] -} - -type PriorityFrameQueue struct { - queue *frameQueue - c *sync.Cond - size int - nextInsertId uint64 - drain bool -} - -func NewPriorityFrameQueue(size int) *PriorityFrameQueue { - queue := make(frameQueue, 0, size) - heap.Init(&queue) - - return &PriorityFrameQueue{ - queue: &queue, - size: size, - c: sync.NewCond(&sync.Mutex{}), - } -} - -func (q *PriorityFrameQueue) Push(frame spdy.Frame, priority uint8) { - q.c.L.Lock() - defer q.c.L.Unlock() - for q.queue.Len() >= q.size { - q.c.Wait() - } - pFrame := &prioritizedFrame{ - frame: frame, - priority: priority, - insertId: q.nextInsertId, - } - q.nextInsertId = q.nextInsertId + 1 - heap.Push(q.queue, pFrame) - q.c.Signal() -} - -func (q *PriorityFrameQueue) Pop() spdy.Frame { - q.c.L.Lock() - defer q.c.L.Unlock() - for q.queue.Len() == 0 { - if q.drain { - return nil - } - q.c.Wait() - } - frame := heap.Pop(q.queue).(*prioritizedFrame).frame - q.c.Signal() - return frame -} - -func (q *PriorityFrameQueue) Drain() { - q.c.L.Lock() - defer q.c.L.Unlock() - q.drain = true - q.c.Broadcast() -} diff --git a/vendor/github.com/moby/spdystream/spdy/dictionary.go b/vendor/github.com/moby/spdystream/spdy/dictionary.go deleted file mode 100644 index 392232f1..00000000 --- a/vendor/github.com/moby/spdystream/spdy/dictionary.go +++ /dev/null @@ -1,203 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -// Copyright 2013 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package spdy - -// headerDictionary is the dictionary sent to the zlib compressor/decompressor. -var headerDictionary = []byte{ - 0x00, 0x00, 0x00, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x00, 0x00, 0x00, 0x04, 0x68, - 0x65, 0x61, 0x64, 0x00, 0x00, 0x00, 0x04, 0x70, - 0x6f, 0x73, 0x74, 0x00, 0x00, 0x00, 0x03, 0x70, - 0x75, 0x74, 0x00, 0x00, 0x00, 0x06, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x00, 0x00, 0x00, 0x05, - 0x74, 0x72, 0x61, 0x63, 0x65, 0x00, 0x00, 0x00, - 0x06, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x00, - 0x00, 0x00, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x70, - 0x74, 0x2d, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, - 0x74, 0x00, 0x00, 0x00, 0x0f, 0x61, 0x63, 0x63, - 0x65, 0x70, 0x74, 0x2d, 0x65, 0x6e, 0x63, 0x6f, - 0x64, 0x69, 0x6e, 0x67, 0x00, 0x00, 0x00, 0x0f, - 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2d, 0x6c, - 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x00, - 0x00, 0x00, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, - 0x74, 0x2d, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, - 0x00, 0x00, 0x00, 0x03, 0x61, 0x67, 0x65, 0x00, - 0x00, 0x00, 0x05, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x00, 0x00, 0x00, 0x0d, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x00, 0x00, 0x00, 0x0d, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x00, 0x00, 0x00, 0x0a, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x00, 0x00, 0x00, 0x0c, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x2d, 0x62, 0x61, 0x73, 0x65, - 0x00, 0x00, 0x00, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x2d, 0x65, 0x6e, 0x63, 0x6f, - 0x64, 0x69, 0x6e, 0x67, 0x00, 0x00, 0x00, 0x10, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, - 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, - 0x00, 0x00, 0x00, 0x0e, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x2d, 0x6c, 0x65, 0x6e, 0x67, - 0x74, 0x68, 0x00, 0x00, 0x00, 0x10, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, - 0x00, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x2d, 0x6d, 0x64, 0x35, 0x00, 0x00, 0x00, - 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x2d, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x00, 0x00, - 0x00, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x00, 0x00, - 0x00, 0x04, 0x64, 0x61, 0x74, 0x65, 0x00, 0x00, - 0x00, 0x04, 0x65, 0x74, 0x61, 0x67, 0x00, 0x00, - 0x00, 0x06, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, - 0x00, 0x00, 0x00, 0x07, 0x65, 0x78, 0x70, 0x69, - 0x72, 0x65, 0x73, 0x00, 0x00, 0x00, 0x04, 0x66, - 0x72, 0x6f, 0x6d, 0x00, 0x00, 0x00, 0x04, 0x68, - 0x6f, 0x73, 0x74, 0x00, 0x00, 0x00, 0x08, 0x69, - 0x66, 0x2d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x00, - 0x00, 0x00, 0x11, 0x69, 0x66, 0x2d, 0x6d, 0x6f, - 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2d, 0x73, - 0x69, 0x6e, 0x63, 0x65, 0x00, 0x00, 0x00, 0x0d, - 0x69, 0x66, 0x2d, 0x6e, 0x6f, 0x6e, 0x65, 0x2d, - 0x6d, 0x61, 0x74, 0x63, 0x68, 0x00, 0x00, 0x00, - 0x08, 0x69, 0x66, 0x2d, 0x72, 0x61, 0x6e, 0x67, - 0x65, 0x00, 0x00, 0x00, 0x13, 0x69, 0x66, 0x2d, - 0x75, 0x6e, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x2d, 0x73, 0x69, 0x6e, 0x63, 0x65, - 0x00, 0x00, 0x00, 0x0d, 0x6c, 0x61, 0x73, 0x74, - 0x2d, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x00, 0x00, 0x00, 0x08, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, - 0x0c, 0x6d, 0x61, 0x78, 0x2d, 0x66, 0x6f, 0x72, - 0x77, 0x61, 0x72, 0x64, 0x73, 0x00, 0x00, 0x00, - 0x06, 0x70, 0x72, 0x61, 0x67, 0x6d, 0x61, 0x00, - 0x00, 0x00, 0x12, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x2d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x00, 0x00, 0x00, - 0x13, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2d, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 0x05, - 0x72, 0x61, 0x6e, 0x67, 0x65, 0x00, 0x00, 0x00, - 0x07, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, - 0x00, 0x00, 0x00, 0x0b, 0x72, 0x65, 0x74, 0x72, - 0x79, 0x2d, 0x61, 0x66, 0x74, 0x65, 0x72, 0x00, - 0x00, 0x00, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x00, 0x00, 0x00, 0x02, 0x74, 0x65, 0x00, - 0x00, 0x00, 0x07, 0x74, 0x72, 0x61, 0x69, 0x6c, - 0x65, 0x72, 0x00, 0x00, 0x00, 0x11, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x2d, 0x65, - 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x00, - 0x00, 0x00, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, - 0x64, 0x65, 0x00, 0x00, 0x00, 0x0a, 0x75, 0x73, - 0x65, 0x72, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, - 0x00, 0x00, 0x00, 0x04, 0x76, 0x61, 0x72, 0x79, - 0x00, 0x00, 0x00, 0x03, 0x76, 0x69, 0x61, 0x00, - 0x00, 0x00, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, - 0x6e, 0x67, 0x00, 0x00, 0x00, 0x10, 0x77, 0x77, - 0x77, 0x2d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, - 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x00, 0x00, - 0x00, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, - 0x00, 0x00, 0x00, 0x03, 0x67, 0x65, 0x74, 0x00, - 0x00, 0x00, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x00, 0x00, 0x00, 0x06, 0x32, 0x30, 0x30, - 0x20, 0x4f, 0x4b, 0x00, 0x00, 0x00, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x00, 0x00, - 0x00, 0x08, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, - 0x2e, 0x31, 0x00, 0x00, 0x00, 0x03, 0x75, 0x72, - 0x6c, 0x00, 0x00, 0x00, 0x06, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x00, 0x00, 0x00, 0x0a, 0x73, - 0x65, 0x74, 0x2d, 0x63, 0x6f, 0x6f, 0x6b, 0x69, - 0x65, 0x00, 0x00, 0x00, 0x0a, 0x6b, 0x65, 0x65, - 0x70, 0x2d, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x00, - 0x00, 0x00, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, - 0x6e, 0x31, 0x30, 0x30, 0x31, 0x30, 0x31, 0x32, - 0x30, 0x31, 0x32, 0x30, 0x32, 0x32, 0x30, 0x35, - 0x32, 0x30, 0x36, 0x33, 0x30, 0x30, 0x33, 0x30, - 0x32, 0x33, 0x30, 0x33, 0x33, 0x30, 0x34, 0x33, - 0x30, 0x35, 0x33, 0x30, 0x36, 0x33, 0x30, 0x37, - 0x34, 0x30, 0x32, 0x34, 0x30, 0x35, 0x34, 0x30, - 0x36, 0x34, 0x30, 0x37, 0x34, 0x30, 0x38, 0x34, - 0x30, 0x39, 0x34, 0x31, 0x30, 0x34, 0x31, 0x31, - 0x34, 0x31, 0x32, 0x34, 0x31, 0x33, 0x34, 0x31, - 0x34, 0x34, 0x31, 0x35, 0x34, 0x31, 0x36, 0x34, - 0x31, 0x37, 0x35, 0x30, 0x32, 0x35, 0x30, 0x34, - 0x35, 0x30, 0x35, 0x32, 0x30, 0x33, 0x20, 0x4e, - 0x6f, 0x6e, 0x2d, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, - 0x20, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x30, 0x34, 0x20, - 0x4e, 0x6f, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x33, 0x30, 0x31, 0x20, 0x4d, 0x6f, - 0x76, 0x65, 0x64, 0x20, 0x50, 0x65, 0x72, 0x6d, - 0x61, 0x6e, 0x65, 0x6e, 0x74, 0x6c, 0x79, 0x34, - 0x30, 0x30, 0x20, 0x42, 0x61, 0x64, 0x20, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x34, 0x30, - 0x31, 0x20, 0x55, 0x6e, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x34, 0x30, - 0x33, 0x20, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, - 0x64, 0x65, 0x6e, 0x34, 0x30, 0x34, 0x20, 0x4e, - 0x6f, 0x74, 0x20, 0x46, 0x6f, 0x75, 0x6e, 0x64, - 0x35, 0x30, 0x30, 0x20, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x20, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x35, 0x30, 0x31, 0x20, 0x4e, 0x6f, 0x74, - 0x20, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x64, 0x35, 0x30, 0x33, 0x20, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, - 0x55, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x4a, 0x61, 0x6e, 0x20, 0x46, - 0x65, 0x62, 0x20, 0x4d, 0x61, 0x72, 0x20, 0x41, - 0x70, 0x72, 0x20, 0x4d, 0x61, 0x79, 0x20, 0x4a, - 0x75, 0x6e, 0x20, 0x4a, 0x75, 0x6c, 0x20, 0x41, - 0x75, 0x67, 0x20, 0x53, 0x65, 0x70, 0x74, 0x20, - 0x4f, 0x63, 0x74, 0x20, 0x4e, 0x6f, 0x76, 0x20, - 0x44, 0x65, 0x63, 0x20, 0x30, 0x30, 0x3a, 0x30, - 0x30, 0x3a, 0x30, 0x30, 0x20, 0x4d, 0x6f, 0x6e, - 0x2c, 0x20, 0x54, 0x75, 0x65, 0x2c, 0x20, 0x57, - 0x65, 0x64, 0x2c, 0x20, 0x54, 0x68, 0x75, 0x2c, - 0x20, 0x46, 0x72, 0x69, 0x2c, 0x20, 0x53, 0x61, - 0x74, 0x2c, 0x20, 0x53, 0x75, 0x6e, 0x2c, 0x20, - 0x47, 0x4d, 0x54, 0x63, 0x68, 0x75, 0x6e, 0x6b, - 0x65, 0x64, 0x2c, 0x74, 0x65, 0x78, 0x74, 0x2f, - 0x68, 0x74, 0x6d, 0x6c, 0x2c, 0x69, 0x6d, 0x61, - 0x67, 0x65, 0x2f, 0x70, 0x6e, 0x67, 0x2c, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x6a, 0x70, 0x67, - 0x2c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x67, - 0x69, 0x66, 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, - 0x6d, 0x6c, 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, - 0x68, 0x74, 0x6d, 0x6c, 0x2b, 0x78, 0x6d, 0x6c, - 0x2c, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x70, 0x6c, - 0x61, 0x69, 0x6e, 0x2c, 0x74, 0x65, 0x78, 0x74, - 0x2f, 0x6a, 0x61, 0x76, 0x61, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x2c, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x6d, 0x61, 0x78, 0x2d, 0x61, 0x67, 0x65, - 0x3d, 0x67, 0x7a, 0x69, 0x70, 0x2c, 0x64, 0x65, - 0x66, 0x6c, 0x61, 0x74, 0x65, 0x2c, 0x73, 0x64, - 0x63, 0x68, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, - 0x74, 0x3d, 0x75, 0x74, 0x66, 0x2d, 0x38, 0x63, - 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x3d, 0x69, - 0x73, 0x6f, 0x2d, 0x38, 0x38, 0x35, 0x39, 0x2d, - 0x31, 0x2c, 0x75, 0x74, 0x66, 0x2d, 0x2c, 0x2a, - 0x2c, 0x65, 0x6e, 0x71, 0x3d, 0x30, 0x2e, -} diff --git a/vendor/github.com/moby/spdystream/spdy/read.go b/vendor/github.com/moby/spdystream/spdy/read.go deleted file mode 100644 index 75ea045b..00000000 --- a/vendor/github.com/moby/spdystream/spdy/read.go +++ /dev/null @@ -1,364 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -// Copyright 2011 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package spdy - -import ( - "compress/zlib" - "encoding/binary" - "io" - "net/http" - "strings" -) - -func (frame *SynStreamFrame) read(h ControlFrameHeader, f *Framer) error { - return f.readSynStreamFrame(h, frame) -} - -func (frame *SynReplyFrame) read(h ControlFrameHeader, f *Framer) error { - return f.readSynReplyFrame(h, frame) -} - -func (frame *RstStreamFrame) read(h ControlFrameHeader, f *Framer) error { - frame.CFHeader = h - if err := binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { - return err - } - if err := binary.Read(f.r, binary.BigEndian, &frame.Status); err != nil { - return err - } - if frame.Status == 0 { - return &Error{InvalidControlFrame, frame.StreamId} - } - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - return nil -} - -func (frame *SettingsFrame) read(h ControlFrameHeader, f *Framer) error { - frame.CFHeader = h - var numSettings uint32 - if err := binary.Read(f.r, binary.BigEndian, &numSettings); err != nil { - return err - } - frame.FlagIdValues = make([]SettingsFlagIdValue, numSettings) - for i := uint32(0); i < numSettings; i++ { - if err := binary.Read(f.r, binary.BigEndian, &frame.FlagIdValues[i].Id); err != nil { - return err - } - frame.FlagIdValues[i].Flag = SettingsFlag((frame.FlagIdValues[i].Id & 0xff000000) >> 24) - frame.FlagIdValues[i].Id &= 0xffffff - if err := binary.Read(f.r, binary.BigEndian, &frame.FlagIdValues[i].Value); err != nil { - return err - } - } - return nil -} - -func (frame *PingFrame) read(h ControlFrameHeader, f *Framer) error { - frame.CFHeader = h - if err := binary.Read(f.r, binary.BigEndian, &frame.Id); err != nil { - return err - } - if frame.Id == 0 { - return &Error{ZeroStreamId, 0} - } - if frame.CFHeader.Flags != 0 { - return &Error{InvalidControlFrame, StreamId(frame.Id)} - } - return nil -} - -func (frame *GoAwayFrame) read(h ControlFrameHeader, f *Framer) error { - frame.CFHeader = h - if err := binary.Read(f.r, binary.BigEndian, &frame.LastGoodStreamId); err != nil { - return err - } - if frame.CFHeader.Flags != 0 { - return &Error{InvalidControlFrame, frame.LastGoodStreamId} - } - if frame.CFHeader.length != 8 { - return &Error{InvalidControlFrame, frame.LastGoodStreamId} - } - if err := binary.Read(f.r, binary.BigEndian, &frame.Status); err != nil { - return err - } - return nil -} - -func (frame *HeadersFrame) read(h ControlFrameHeader, f *Framer) error { - return f.readHeadersFrame(h, frame) -} - -func (frame *WindowUpdateFrame) read(h ControlFrameHeader, f *Framer) error { - frame.CFHeader = h - if err := binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { - return err - } - if frame.CFHeader.Flags != 0 { - return &Error{InvalidControlFrame, frame.StreamId} - } - if frame.CFHeader.length != 8 { - return &Error{InvalidControlFrame, frame.StreamId} - } - if err := binary.Read(f.r, binary.BigEndian, &frame.DeltaWindowSize); err != nil { - return err - } - return nil -} - -func newControlFrame(frameType ControlFrameType) (controlFrame, error) { - ctor, ok := cframeCtor[frameType] - if !ok { - return nil, &Error{Err: InvalidControlFrame} - } - return ctor(), nil -} - -var cframeCtor = map[ControlFrameType]func() controlFrame{ - TypeSynStream: func() controlFrame { return new(SynStreamFrame) }, - TypeSynReply: func() controlFrame { return new(SynReplyFrame) }, - TypeRstStream: func() controlFrame { return new(RstStreamFrame) }, - TypeSettings: func() controlFrame { return new(SettingsFrame) }, - TypePing: func() controlFrame { return new(PingFrame) }, - TypeGoAway: func() controlFrame { return new(GoAwayFrame) }, - TypeHeaders: func() controlFrame { return new(HeadersFrame) }, - TypeWindowUpdate: func() controlFrame { return new(WindowUpdateFrame) }, -} - -func (f *Framer) uncorkHeaderDecompressor(payloadSize int64) error { - if f.headerDecompressor != nil { - f.headerReader.N = payloadSize - return nil - } - f.headerReader = io.LimitedReader{R: f.r, N: payloadSize} - decompressor, err := zlib.NewReaderDict(&f.headerReader, []byte(headerDictionary)) - if err != nil { - return err - } - f.headerDecompressor = decompressor - return nil -} - -// ReadFrame reads SPDY encoded data and returns a decompressed Frame. -func (f *Framer) ReadFrame() (Frame, error) { - var firstWord uint32 - if err := binary.Read(f.r, binary.BigEndian, &firstWord); err != nil { - return nil, err - } - if firstWord&0x80000000 != 0 { - frameType := ControlFrameType(firstWord & 0xffff) - version := uint16(firstWord >> 16 & 0x7fff) - return f.parseControlFrame(version, frameType) - } - return f.parseDataFrame(StreamId(firstWord & 0x7fffffff)) -} - -func (f *Framer) parseControlFrame(version uint16, frameType ControlFrameType) (Frame, error) { - var length uint32 - if err := binary.Read(f.r, binary.BigEndian, &length); err != nil { - return nil, err - } - flags := ControlFlags((length & 0xff000000) >> 24) - length &= 0xffffff - header := ControlFrameHeader{version, frameType, flags, length} - cframe, err := newControlFrame(frameType) - if err != nil { - return nil, err - } - if err = cframe.read(header, f); err != nil { - return nil, err - } - return cframe, nil -} - -func parseHeaderValueBlock(r io.Reader, streamId StreamId) (http.Header, error) { - var numHeaders uint32 - if err := binary.Read(r, binary.BigEndian, &numHeaders); err != nil { - return nil, err - } - var e error - h := make(http.Header, int(numHeaders)) - for i := 0; i < int(numHeaders); i++ { - var length uint32 - if err := binary.Read(r, binary.BigEndian, &length); err != nil { - return nil, err - } - nameBytes := make([]byte, length) - if _, err := io.ReadFull(r, nameBytes); err != nil { - return nil, err - } - name := string(nameBytes) - if name != strings.ToLower(name) { - e = &Error{UnlowercasedHeaderName, streamId} - name = strings.ToLower(name) - } - if h[name] != nil { - e = &Error{DuplicateHeaders, streamId} - } - if err := binary.Read(r, binary.BigEndian, &length); err != nil { - return nil, err - } - value := make([]byte, length) - if _, err := io.ReadFull(r, value); err != nil { - return nil, err - } - valueList := strings.Split(string(value), headerValueSeparator) - for _, v := range valueList { - h.Add(name, v) - } - } - if e != nil { - return h, e - } - return h, nil -} - -func (f *Framer) readSynStreamFrame(h ControlFrameHeader, frame *SynStreamFrame) error { - frame.CFHeader = h - var err error - if err = binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { - return err - } - if err = binary.Read(f.r, binary.BigEndian, &frame.AssociatedToStreamId); err != nil { - return err - } - if err = binary.Read(f.r, binary.BigEndian, &frame.Priority); err != nil { - return err - } - frame.Priority >>= 5 - if err = binary.Read(f.r, binary.BigEndian, &frame.Slot); err != nil { - return err - } - reader := f.r - if !f.headerCompressionDisabled { - err := f.uncorkHeaderDecompressor(int64(h.length - 10)) - if err != nil { - return err - } - reader = f.headerDecompressor - } - frame.Headers, err = parseHeaderValueBlock(reader, frame.StreamId) - if !f.headerCompressionDisabled && (err == io.EOF && f.headerReader.N == 0 || f.headerReader.N != 0) { - err = &Error{WrongCompressedPayloadSize, 0} - } - if err != nil { - return err - } - for h := range frame.Headers { - if invalidReqHeaders[h] { - return &Error{InvalidHeaderPresent, frame.StreamId} - } - } - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - return nil -} - -func (f *Framer) readSynReplyFrame(h ControlFrameHeader, frame *SynReplyFrame) error { - frame.CFHeader = h - var err error - if err = binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { - return err - } - reader := f.r - if !f.headerCompressionDisabled { - err := f.uncorkHeaderDecompressor(int64(h.length - 4)) - if err != nil { - return err - } - reader = f.headerDecompressor - } - frame.Headers, err = parseHeaderValueBlock(reader, frame.StreamId) - if !f.headerCompressionDisabled && (err == io.EOF && f.headerReader.N == 0 || f.headerReader.N != 0) { - err = &Error{WrongCompressedPayloadSize, 0} - } - if err != nil { - return err - } - for h := range frame.Headers { - if invalidRespHeaders[h] { - return &Error{InvalidHeaderPresent, frame.StreamId} - } - } - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - return nil -} - -func (f *Framer) readHeadersFrame(h ControlFrameHeader, frame *HeadersFrame) error { - frame.CFHeader = h - var err error - if err = binary.Read(f.r, binary.BigEndian, &frame.StreamId); err != nil { - return err - } - reader := f.r - if !f.headerCompressionDisabled { - err := f.uncorkHeaderDecompressor(int64(h.length - 4)) - if err != nil { - return err - } - reader = f.headerDecompressor - } - frame.Headers, err = parseHeaderValueBlock(reader, frame.StreamId) - if !f.headerCompressionDisabled && (err == io.EOF && f.headerReader.N == 0 || f.headerReader.N != 0) { - err = &Error{WrongCompressedPayloadSize, 0} - } - if err != nil { - return err - } - var invalidHeaders map[string]bool - if frame.StreamId%2 == 0 { - invalidHeaders = invalidReqHeaders - } else { - invalidHeaders = invalidRespHeaders - } - for h := range frame.Headers { - if invalidHeaders[h] { - return &Error{InvalidHeaderPresent, frame.StreamId} - } - } - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - return nil -} - -func (f *Framer) parseDataFrame(streamId StreamId) (*DataFrame, error) { - var length uint32 - if err := binary.Read(f.r, binary.BigEndian, &length); err != nil { - return nil, err - } - var frame DataFrame - frame.StreamId = streamId - frame.Flags = DataFlags(length >> 24) - length &= 0xffffff - frame.Data = make([]byte, length) - if _, err := io.ReadFull(f.r, frame.Data); err != nil { - return nil, err - } - if frame.StreamId == 0 { - return nil, &Error{ZeroStreamId, 0} - } - return &frame, nil -} diff --git a/vendor/github.com/moby/spdystream/spdy/types.go b/vendor/github.com/moby/spdystream/spdy/types.go deleted file mode 100644 index a254a43a..00000000 --- a/vendor/github.com/moby/spdystream/spdy/types.go +++ /dev/null @@ -1,291 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -// Copyright 2011 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Package spdy implements the SPDY protocol (currently SPDY/3), described in -// http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3. -package spdy - -import ( - "bytes" - "compress/zlib" - "io" - "net/http" -) - -// Version is the protocol version number that this package implements. -const Version = 3 - -// ControlFrameType stores the type field in a control frame header. -type ControlFrameType uint16 - -const ( - TypeSynStream ControlFrameType = 0x0001 - TypeSynReply ControlFrameType = 0x0002 - TypeRstStream ControlFrameType = 0x0003 - TypeSettings ControlFrameType = 0x0004 - TypePing ControlFrameType = 0x0006 - TypeGoAway ControlFrameType = 0x0007 - TypeHeaders ControlFrameType = 0x0008 - TypeWindowUpdate ControlFrameType = 0x0009 -) - -// ControlFlags are the flags that can be set on a control frame. -type ControlFlags uint8 - -const ( - ControlFlagFin ControlFlags = 0x01 - ControlFlagUnidirectional ControlFlags = 0x02 - ControlFlagSettingsClearSettings ControlFlags = 0x01 -) - -// DataFlags are the flags that can be set on a data frame. -type DataFlags uint8 - -const ( - DataFlagFin DataFlags = 0x01 -) - -// MaxDataLength is the maximum number of bytes that can be stored in one frame. -const MaxDataLength = 1<<24 - 1 - -// headerValueSepator separates multiple header values. -const headerValueSeparator = "\x00" - -// Frame is a single SPDY frame in its unpacked in-memory representation. Use -// Framer to read and write it. -type Frame interface { - write(f *Framer) error -} - -// ControlFrameHeader contains all the fields in a control frame header, -// in its unpacked in-memory representation. -type ControlFrameHeader struct { - // Note, high bit is the "Control" bit. - version uint16 // spdy version number - frameType ControlFrameType - Flags ControlFlags - length uint32 // length of data field -} - -type controlFrame interface { - Frame - read(h ControlFrameHeader, f *Framer) error -} - -// StreamId represents a 31-bit value identifying the stream. -type StreamId uint32 - -// SynStreamFrame is the unpacked, in-memory representation of a SYN_STREAM -// frame. -type SynStreamFrame struct { - CFHeader ControlFrameHeader - StreamId StreamId - AssociatedToStreamId StreamId // stream id for a stream which this stream is associated to - Priority uint8 // priority of this frame (3-bit) - Slot uint8 // index in the server's credential vector of the client certificate - Headers http.Header -} - -// SynReplyFrame is the unpacked, in-memory representation of a SYN_REPLY frame. -type SynReplyFrame struct { - CFHeader ControlFrameHeader - StreamId StreamId - Headers http.Header -} - -// RstStreamStatus represents the status that led to a RST_STREAM. -type RstStreamStatus uint32 - -const ( - ProtocolError RstStreamStatus = iota + 1 - InvalidStream - RefusedStream - UnsupportedVersion - Cancel - InternalError - FlowControlError - StreamInUse - StreamAlreadyClosed - InvalidCredentials - FrameTooLarge -) - -// RstStreamFrame is the unpacked, in-memory representation of a RST_STREAM -// frame. -type RstStreamFrame struct { - CFHeader ControlFrameHeader - StreamId StreamId - Status RstStreamStatus -} - -// SettingsFlag represents a flag in a SETTINGS frame. -type SettingsFlag uint8 - -const ( - FlagSettingsPersistValue SettingsFlag = 0x1 - FlagSettingsPersisted SettingsFlag = 0x2 -) - -// SettingsFlag represents the id of an id/value pair in a SETTINGS frame. -type SettingsId uint32 - -const ( - SettingsUploadBandwidth SettingsId = iota + 1 - SettingsDownloadBandwidth - SettingsRoundTripTime - SettingsMaxConcurrentStreams - SettingsCurrentCwnd - SettingsDownloadRetransRate - SettingsInitialWindowSize - SettingsClientCretificateVectorSize -) - -// SettingsFlagIdValue is the unpacked, in-memory representation of the -// combined flag/id/value for a setting in a SETTINGS frame. -type SettingsFlagIdValue struct { - Flag SettingsFlag - Id SettingsId - Value uint32 -} - -// SettingsFrame is the unpacked, in-memory representation of a SPDY -// SETTINGS frame. -type SettingsFrame struct { - CFHeader ControlFrameHeader - FlagIdValues []SettingsFlagIdValue -} - -// PingFrame is the unpacked, in-memory representation of a PING frame. -type PingFrame struct { - CFHeader ControlFrameHeader - Id uint32 // unique id for this ping, from server is even, from client is odd. -} - -// GoAwayStatus represents the status in a GoAwayFrame. -type GoAwayStatus uint32 - -const ( - GoAwayOK GoAwayStatus = iota - GoAwayProtocolError - GoAwayInternalError -) - -// GoAwayFrame is the unpacked, in-memory representation of a GOAWAY frame. -type GoAwayFrame struct { - CFHeader ControlFrameHeader - LastGoodStreamId StreamId // last stream id which was accepted by sender - Status GoAwayStatus -} - -// HeadersFrame is the unpacked, in-memory representation of a HEADERS frame. -type HeadersFrame struct { - CFHeader ControlFrameHeader - StreamId StreamId - Headers http.Header -} - -// WindowUpdateFrame is the unpacked, in-memory representation of a -// WINDOW_UPDATE frame. -type WindowUpdateFrame struct { - CFHeader ControlFrameHeader - StreamId StreamId - DeltaWindowSize uint32 // additional number of bytes to existing window size -} - -// TODO: Implement credential frame and related methods. - -// DataFrame is the unpacked, in-memory representation of a DATA frame. -type DataFrame struct { - // Note, high bit is the "Control" bit. Should be 0 for data frames. - StreamId StreamId - Flags DataFlags - Data []byte // payload data of this frame -} - -// A SPDY specific error. -type ErrorCode string - -const ( - UnlowercasedHeaderName ErrorCode = "header was not lowercased" - DuplicateHeaders ErrorCode = "multiple headers with same name" - WrongCompressedPayloadSize ErrorCode = "compressed payload size was incorrect" - UnknownFrameType ErrorCode = "unknown frame type" - InvalidControlFrame ErrorCode = "invalid control frame" - InvalidDataFrame ErrorCode = "invalid data frame" - InvalidHeaderPresent ErrorCode = "frame contained invalid header" - ZeroStreamId ErrorCode = "stream id zero is disallowed" -) - -// Error contains both the type of error and additional values. StreamId is 0 -// if Error is not associated with a stream. -type Error struct { - Err ErrorCode - StreamId StreamId -} - -func (e *Error) Error() string { - return string(e.Err) -} - -var invalidReqHeaders = map[string]bool{ - "Connection": true, - "Host": true, - "Keep-Alive": true, - "Proxy-Connection": true, - "Transfer-Encoding": true, -} - -var invalidRespHeaders = map[string]bool{ - "Connection": true, - "Keep-Alive": true, - "Proxy-Connection": true, - "Transfer-Encoding": true, -} - -// Framer handles serializing/deserializing SPDY frames, including compressing/ -// decompressing payloads. -type Framer struct { - headerCompressionDisabled bool - w io.Writer - headerBuf *bytes.Buffer - headerCompressor *zlib.Writer - r io.Reader - headerReader io.LimitedReader - headerDecompressor io.ReadCloser -} - -// NewFramer allocates a new Framer for a given SPDY connection, represented by -// a io.Writer and io.Reader. Note that Framer will read and write individual fields -// from/to the Reader and Writer, so the caller should pass in an appropriately -// buffered implementation to optimize performance. -func NewFramer(w io.Writer, r io.Reader) (*Framer, error) { - compressBuf := new(bytes.Buffer) - compressor, err := zlib.NewWriterLevelDict(compressBuf, zlib.BestCompression, []byte(headerDictionary)) - if err != nil { - return nil, err - } - framer := &Framer{ - w: w, - headerBuf: compressBuf, - headerCompressor: compressor, - r: r, - } - return framer, nil -} diff --git a/vendor/github.com/moby/spdystream/spdy/write.go b/vendor/github.com/moby/spdystream/spdy/write.go deleted file mode 100644 index ab6d91f3..00000000 --- a/vendor/github.com/moby/spdystream/spdy/write.go +++ /dev/null @@ -1,334 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -// Copyright 2011 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package spdy - -import ( - "encoding/binary" - "io" - "net/http" - "strings" -) - -func (frame *SynStreamFrame) write(f *Framer) error { - return f.writeSynStreamFrame(frame) -} - -func (frame *SynReplyFrame) write(f *Framer) error { - return f.writeSynReplyFrame(frame) -} - -func (frame *RstStreamFrame) write(f *Framer) (err error) { - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeRstStream - frame.CFHeader.Flags = 0 - frame.CFHeader.length = 8 - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { - return - } - if frame.Status == 0 { - return &Error{InvalidControlFrame, frame.StreamId} - } - if err = binary.Write(f.w, binary.BigEndian, frame.Status); err != nil { - return - } - return -} - -func (frame *SettingsFrame) write(f *Framer) (err error) { - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeSettings - frame.CFHeader.length = uint32(len(frame.FlagIdValues)*8 + 4) - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, uint32(len(frame.FlagIdValues))); err != nil { - return - } - for _, flagIdValue := range frame.FlagIdValues { - flagId := uint32(flagIdValue.Flag)<<24 | uint32(flagIdValue.Id) - if err = binary.Write(f.w, binary.BigEndian, flagId); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, flagIdValue.Value); err != nil { - return - } - } - return -} - -func (frame *PingFrame) write(f *Framer) (err error) { - if frame.Id == 0 { - return &Error{ZeroStreamId, 0} - } - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypePing - frame.CFHeader.Flags = 0 - frame.CFHeader.length = 4 - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.Id); err != nil { - return - } - return -} - -func (frame *GoAwayFrame) write(f *Framer) (err error) { - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeGoAway - frame.CFHeader.Flags = 0 - frame.CFHeader.length = 8 - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.LastGoodStreamId); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.Status); err != nil { - return - } - return nil -} - -func (frame *HeadersFrame) write(f *Framer) error { - return f.writeHeadersFrame(frame) -} - -func (frame *WindowUpdateFrame) write(f *Framer) (err error) { - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeWindowUpdate - frame.CFHeader.Flags = 0 - frame.CFHeader.length = 8 - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.DeltaWindowSize); err != nil { - return - } - return nil -} - -func (frame *DataFrame) write(f *Framer) error { - return f.writeDataFrame(frame) -} - -// WriteFrame writes a frame. -func (f *Framer) WriteFrame(frame Frame) error { - return frame.write(f) -} - -func writeControlFrameHeader(w io.Writer, h ControlFrameHeader) error { - if err := binary.Write(w, binary.BigEndian, 0x8000|h.version); err != nil { - return err - } - if err := binary.Write(w, binary.BigEndian, h.frameType); err != nil { - return err - } - flagsAndLength := uint32(h.Flags)<<24 | h.length - if err := binary.Write(w, binary.BigEndian, flagsAndLength); err != nil { - return err - } - return nil -} - -func writeHeaderValueBlock(w io.Writer, h http.Header) (n int, err error) { - n = 0 - if err = binary.Write(w, binary.BigEndian, uint32(len(h))); err != nil { - return - } - n += 2 - for name, values := range h { - if err = binary.Write(w, binary.BigEndian, uint32(len(name))); err != nil { - return - } - n += 2 - name = strings.ToLower(name) - if _, err = io.WriteString(w, name); err != nil { - return - } - n += len(name) - v := strings.Join(values, headerValueSeparator) - if err = binary.Write(w, binary.BigEndian, uint32(len(v))); err != nil { - return - } - n += 2 - if _, err = io.WriteString(w, v); err != nil { - return - } - n += len(v) - } - return -} - -func (f *Framer) writeSynStreamFrame(frame *SynStreamFrame) (err error) { - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - // Marshal the headers. - var writer io.Writer = f.headerBuf - if !f.headerCompressionDisabled { - writer = f.headerCompressor - } - if _, err = writeHeaderValueBlock(writer, frame.Headers); err != nil { - return - } - if !f.headerCompressionDisabled { - f.headerCompressor.Flush() - } - - // Set ControlFrameHeader. - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeSynStream - frame.CFHeader.length = uint32(len(f.headerBuf.Bytes()) + 10) - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return err - } - if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { - return err - } - if err = binary.Write(f.w, binary.BigEndian, frame.AssociatedToStreamId); err != nil { - return err - } - if err = binary.Write(f.w, binary.BigEndian, frame.Priority<<5); err != nil { - return err - } - if err = binary.Write(f.w, binary.BigEndian, frame.Slot); err != nil { - return err - } - if _, err = f.w.Write(f.headerBuf.Bytes()); err != nil { - return err - } - f.headerBuf.Reset() - return nil -} - -func (f *Framer) writeSynReplyFrame(frame *SynReplyFrame) (err error) { - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - // Marshal the headers. - var writer io.Writer = f.headerBuf - if !f.headerCompressionDisabled { - writer = f.headerCompressor - } - if _, err = writeHeaderValueBlock(writer, frame.Headers); err != nil { - return - } - if !f.headerCompressionDisabled { - f.headerCompressor.Flush() - } - - // Set ControlFrameHeader. - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeSynReply - frame.CFHeader.length = uint32(len(f.headerBuf.Bytes()) + 4) - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { - return - } - if _, err = f.w.Write(f.headerBuf.Bytes()); err != nil { - return - } - f.headerBuf.Reset() - return -} - -func (f *Framer) writeHeadersFrame(frame *HeadersFrame) (err error) { - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - // Marshal the headers. - var writer io.Writer = f.headerBuf - if !f.headerCompressionDisabled { - writer = f.headerCompressor - } - if _, err = writeHeaderValueBlock(writer, frame.Headers); err != nil { - return - } - if !f.headerCompressionDisabled { - f.headerCompressor.Flush() - } - - // Set ControlFrameHeader. - frame.CFHeader.version = Version - frame.CFHeader.frameType = TypeHeaders - frame.CFHeader.length = uint32(len(f.headerBuf.Bytes()) + 4) - - // Serialize frame to Writer. - if err = writeControlFrameHeader(f.w, frame.CFHeader); err != nil { - return - } - if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { - return - } - if _, err = f.w.Write(f.headerBuf.Bytes()); err != nil { - return - } - f.headerBuf.Reset() - return -} - -func (f *Framer) writeDataFrame(frame *DataFrame) (err error) { - if frame.StreamId == 0 { - return &Error{ZeroStreamId, 0} - } - if frame.StreamId&0x80000000 != 0 || len(frame.Data) > MaxDataLength { - return &Error{InvalidDataFrame, frame.StreamId} - } - - // Serialize frame to Writer. - if err = binary.Write(f.w, binary.BigEndian, frame.StreamId); err != nil { - return - } - flagsAndLength := uint32(frame.Flags)<<24 | uint32(len(frame.Data)) - if err = binary.Write(f.w, binary.BigEndian, flagsAndLength); err != nil { - return - } - if _, err = f.w.Write(frame.Data); err != nil { - return - } - return nil -} diff --git a/vendor/github.com/moby/spdystream/stream.go b/vendor/github.com/moby/spdystream/stream.go deleted file mode 100644 index 404e3c02..00000000 --- a/vendor/github.com/moby/spdystream/stream.go +++ /dev/null @@ -1,343 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -package spdystream - -import ( - "errors" - "fmt" - "io" - "net" - "net/http" - "sync" - "time" - - "github.com/moby/spdystream/spdy" -) - -var ( - ErrUnreadPartialData = errors.New("unread partial data") -) - -type Stream struct { - streamId spdy.StreamId - parent *Stream - conn *Connection - startChan chan error - - dataLock sync.RWMutex - dataChan chan []byte - unread []byte - - priority uint8 - headers http.Header - headerChan chan http.Header - finishLock sync.Mutex - finished bool - replyCond *sync.Cond - replied bool - closeLock sync.Mutex - closeChan chan bool -} - -// WriteData writes data to stream, sending a dataframe per call -func (s *Stream) WriteData(data []byte, fin bool) error { - s.waitWriteReply() - var flags spdy.DataFlags - - if fin { - flags = spdy.DataFlagFin - s.finishLock.Lock() - if s.finished { - s.finishLock.Unlock() - return ErrWriteClosedStream - } - s.finished = true - s.finishLock.Unlock() - } - - dataFrame := &spdy.DataFrame{ - StreamId: s.streamId, - Flags: flags, - Data: data, - } - - debugMessage("(%p) (%d) Writing data frame", s, s.streamId) - return s.conn.framer.WriteFrame(dataFrame) -} - -// Write writes bytes to a stream, calling write data for each call. -func (s *Stream) Write(data []byte) (n int, err error) { - err = s.WriteData(data, false) - if err == nil { - n = len(data) - } - return -} - -// Read reads bytes from a stream, a single read will never get more -// than what is sent on a single data frame, but a multiple calls to -// read may get data from the same data frame. -func (s *Stream) Read(p []byte) (n int, err error) { - if s.unread == nil { - select { - case <-s.closeChan: - return 0, io.EOF - case read, ok := <-s.dataChan: - if !ok { - return 0, io.EOF - } - s.unread = read - } - } - n = copy(p, s.unread) - if n < len(s.unread) { - s.unread = s.unread[n:] - } else { - s.unread = nil - } - return -} - -// ReadData reads an entire data frame and returns the byte array -// from the data frame. If there is unread data from the result -// of a Read call, this function will return an ErrUnreadPartialData. -func (s *Stream) ReadData() ([]byte, error) { - debugMessage("(%p) Reading data from %d", s, s.streamId) - if s.unread != nil { - return nil, ErrUnreadPartialData - } - select { - case <-s.closeChan: - return nil, io.EOF - case read, ok := <-s.dataChan: - if !ok { - return nil, io.EOF - } - return read, nil - } -} - -func (s *Stream) waitWriteReply() { - if s.replyCond != nil { - s.replyCond.L.Lock() - for !s.replied { - s.replyCond.Wait() - } - s.replyCond.L.Unlock() - } -} - -// Wait waits for the stream to receive a reply. -func (s *Stream) Wait() error { - return s.WaitTimeout(time.Duration(0)) -} - -// WaitTimeout waits for the stream to receive a reply or for timeout. -// When the timeout is reached, ErrTimeout will be returned. -func (s *Stream) WaitTimeout(timeout time.Duration) error { - var timeoutChan <-chan time.Time - if timeout > time.Duration(0) { - timeoutChan = time.After(timeout) - } - - select { - case err := <-s.startChan: - if err != nil { - return err - } - break - case <-timeoutChan: - return ErrTimeout - } - return nil -} - -// Close closes the stream by sending an empty data frame with the -// finish flag set, indicating this side is finished with the stream. -func (s *Stream) Close() error { - select { - case <-s.closeChan: - // Stream is now fully closed - s.conn.removeStream(s) - default: - break - } - return s.WriteData([]byte{}, true) -} - -// Reset sends a reset frame, putting the stream into the fully closed state. -func (s *Stream) Reset() error { - s.conn.removeStream(s) - return s.resetStream() -} - -func (s *Stream) resetStream() error { - // Always call closeRemoteChannels, even if s.finished is already true. - // This makes it so that stream.Close() followed by stream.Reset() allows - // stream.Read() to unblock. - s.closeRemoteChannels() - - s.finishLock.Lock() - if s.finished { - s.finishLock.Unlock() - return nil - } - s.finished = true - s.finishLock.Unlock() - - resetFrame := &spdy.RstStreamFrame{ - StreamId: s.streamId, - Status: spdy.Cancel, - } - return s.conn.framer.WriteFrame(resetFrame) -} - -// CreateSubStream creates a stream using the current as the parent -func (s *Stream) CreateSubStream(headers http.Header, fin bool) (*Stream, error) { - return s.conn.CreateStream(headers, s, fin) -} - -// SetPriority sets the stream priority, does not affect the -// remote priority of this stream after Open has been called. -// Valid values are 0 through 7, 0 being the highest priority -// and 7 the lowest. -func (s *Stream) SetPriority(priority uint8) { - s.priority = priority -} - -// SendHeader sends a header frame across the stream -func (s *Stream) SendHeader(headers http.Header, fin bool) error { - return s.conn.sendHeaders(headers, s, fin) -} - -// SendReply sends a reply on a stream, only valid to be called once -// when handling a new stream -func (s *Stream) SendReply(headers http.Header, fin bool) error { - if s.replyCond == nil { - return errors.New("cannot reply on initiated stream") - } - s.replyCond.L.Lock() - defer s.replyCond.L.Unlock() - if s.replied { - return nil - } - - err := s.conn.sendReply(headers, s, fin) - if err != nil { - return err - } - - s.replied = true - s.replyCond.Broadcast() - return nil -} - -// Refuse sends a reset frame with the status refuse, only -// valid to be called once when handling a new stream. This -// may be used to indicate that a stream is not allowed -// when http status codes are not being used. -func (s *Stream) Refuse() error { - if s.replied { - return nil - } - s.replied = true - return s.conn.sendReset(spdy.RefusedStream, s) -} - -// Cancel sends a reset frame with the status canceled. This -// can be used at any time by the creator of the Stream to -// indicate the stream is no longer needed. -func (s *Stream) Cancel() error { - return s.conn.sendReset(spdy.Cancel, s) -} - -// ReceiveHeader receives a header sent on the other side -// of the stream. This function will block until a header -// is received or stream is closed. -func (s *Stream) ReceiveHeader() (http.Header, error) { - select { - case <-s.closeChan: - break - case header, ok := <-s.headerChan: - if !ok { - return nil, fmt.Errorf("header chan closed") - } - return header, nil - } - return nil, fmt.Errorf("stream closed") -} - -// Parent returns the parent stream -func (s *Stream) Parent() *Stream { - return s.parent -} - -// Headers returns the headers used to create the stream -func (s *Stream) Headers() http.Header { - return s.headers -} - -// String returns the string version of stream using the -// streamId to uniquely identify the stream -func (s *Stream) String() string { - return fmt.Sprintf("stream:%d", s.streamId) -} - -// Identifier returns a 32 bit identifier for the stream -func (s *Stream) Identifier() uint32 { - return uint32(s.streamId) -} - -// IsFinished returns whether the stream has finished -// sending data -func (s *Stream) IsFinished() bool { - return s.finished -} - -// Implement net.Conn interface - -func (s *Stream) LocalAddr() net.Addr { - return s.conn.conn.LocalAddr() -} - -func (s *Stream) RemoteAddr() net.Addr { - return s.conn.conn.RemoteAddr() -} - -// TODO set per stream values instead of connection-wide - -func (s *Stream) SetDeadline(t time.Time) error { - return s.conn.conn.SetDeadline(t) -} - -func (s *Stream) SetReadDeadline(t time.Time) error { - return s.conn.conn.SetReadDeadline(t) -} - -func (s *Stream) SetWriteDeadline(t time.Time) error { - return s.conn.conn.SetWriteDeadline(t) -} - -func (s *Stream) closeRemoteChannels() { - s.closeLock.Lock() - defer s.closeLock.Unlock() - select { - case <-s.closeChan: - default: - close(s.closeChan) - } -} diff --git a/vendor/github.com/moby/spdystream/utils.go b/vendor/github.com/moby/spdystream/utils.go deleted file mode 100644 index e9f7fffd..00000000 --- a/vendor/github.com/moby/spdystream/utils.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - Copyright 2014-2021 Docker Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -package spdystream - -import ( - "log" - "os" -) - -var ( - DEBUG = os.Getenv("DEBUG") -) - -func debugMessage(fmt string, args ...interface{}) { - if DEBUG != "" { - log.Printf(fmt, args...) - } -} diff --git a/vendor/github.com/moby/term/.gitignore b/vendor/github.com/moby/term/.gitignore deleted file mode 100644 index b0747ff0..00000000 --- a/vendor/github.com/moby/term/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# if you want to ignore files created by your editor/tools, consider using a -# global .gitignore or .git/info/exclude see https://help.github.com/articles/ignoring-files -.* -!.github -!.gitignore -profile.out -# support running go modules in vendor mode for local development -vendor/ diff --git a/vendor/github.com/moby/term/LICENSE b/vendor/github.com/moby/term/LICENSE deleted file mode 100644 index 6d8d58fb..00000000 --- a/vendor/github.com/moby/term/LICENSE +++ /dev/null @@ -1,191 +0,0 @@ - - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - Copyright 2013-2018 Docker, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/github.com/moby/term/README.md b/vendor/github.com/moby/term/README.md deleted file mode 100644 index 0ce92cc3..00000000 --- a/vendor/github.com/moby/term/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# term - utilities for dealing with terminals - -![Test](https://github.com/moby/term/workflows/Test/badge.svg) [![GoDoc](https://godoc.org/github.com/moby/term?status.svg)](https://godoc.org/github.com/moby/term) [![Go Report Card](https://goreportcard.com/badge/github.com/moby/term)](https://goreportcard.com/report/github.com/moby/term) - -term provides structures and helper functions to work with terminal (state, sizes). - -#### Using term - -```go -package main - -import ( - "log" - "os" - - "github.com/moby/term" -) - -func main() { - fd := os.Stdin.Fd() - if term.IsTerminal(fd) { - ws, err := term.GetWinsize(fd) - if err != nil { - log.Fatalf("term.GetWinsize: %s", err) - } - log.Printf("%d:%d\n", ws.Height, ws.Width) - } -} -``` - -## Contributing - -Want to hack on term? [Docker's contributions guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md) apply. - -## Copyright and license -Code and documentation copyright 2015 Docker, inc. Code released under the Apache 2.0 license. Docs released under Creative commons. diff --git a/vendor/github.com/moby/term/ascii.go b/vendor/github.com/moby/term/ascii.go deleted file mode 100644 index 55873c05..00000000 --- a/vendor/github.com/moby/term/ascii.go +++ /dev/null @@ -1,66 +0,0 @@ -package term - -import ( - "fmt" - "strings" -) - -// ASCII list the possible supported ASCII key sequence -var ASCII = []string{ - "ctrl-@", - "ctrl-a", - "ctrl-b", - "ctrl-c", - "ctrl-d", - "ctrl-e", - "ctrl-f", - "ctrl-g", - "ctrl-h", - "ctrl-i", - "ctrl-j", - "ctrl-k", - "ctrl-l", - "ctrl-m", - "ctrl-n", - "ctrl-o", - "ctrl-p", - "ctrl-q", - "ctrl-r", - "ctrl-s", - "ctrl-t", - "ctrl-u", - "ctrl-v", - "ctrl-w", - "ctrl-x", - "ctrl-y", - "ctrl-z", - "ctrl-[", - "ctrl-\\", - "ctrl-]", - "ctrl-^", - "ctrl-_", -} - -// ToBytes converts a string representing a suite of key-sequence to the corresponding ASCII code. -func ToBytes(keys string) ([]byte, error) { - codes := []byte{} -next: - for _, key := range strings.Split(keys, ",") { - if len(key) != 1 { - for code, ctrl := range ASCII { - if ctrl == key { - codes = append(codes, byte(code)) - continue next - } - } - if key == "DEL" { - codes = append(codes, 127) - } else { - return nil, fmt.Errorf("Unknown character: '%s'", key) - } - } else { - codes = append(codes, key[0]) - } - } - return codes, nil -} diff --git a/vendor/github.com/moby/term/proxy.go b/vendor/github.com/moby/term/proxy.go deleted file mode 100644 index c47756b8..00000000 --- a/vendor/github.com/moby/term/proxy.go +++ /dev/null @@ -1,88 +0,0 @@ -package term - -import ( - "io" -) - -// EscapeError is special error which returned by a TTY proxy reader's Read() -// method in case its detach escape sequence is read. -type EscapeError struct{} - -func (EscapeError) Error() string { - return "read escape sequence" -} - -// escapeProxy is used only for attaches with a TTY. It is used to proxy -// stdin keypresses from the underlying reader and look for the passed in -// escape key sequence to signal a detach. -type escapeProxy struct { - escapeKeys []byte - escapeKeyPos int - r io.Reader - buf []byte -} - -// NewEscapeProxy returns a new TTY proxy reader which wraps the given reader -// and detects when the specified escape keys are read, in which case the Read -// method will return an error of type EscapeError. -func NewEscapeProxy(r io.Reader, escapeKeys []byte) io.Reader { - return &escapeProxy{ - escapeKeys: escapeKeys, - r: r, - } -} - -func (r *escapeProxy) Read(buf []byte) (n int, err error) { - if len(r.escapeKeys) > 0 && r.escapeKeyPos == len(r.escapeKeys) { - return 0, EscapeError{} - } - - if len(r.buf) > 0 { - n = copy(buf, r.buf) - r.buf = r.buf[n:] - } - - nr, err := r.r.Read(buf[n:]) - n += nr - if len(r.escapeKeys) == 0 { - return n, err - } - - for i := 0; i < n; i++ { - if buf[i] == r.escapeKeys[r.escapeKeyPos] { - r.escapeKeyPos++ - - // Check if the full escape sequence is matched. - if r.escapeKeyPos == len(r.escapeKeys) { - n = i + 1 - r.escapeKeyPos - if n < 0 { - n = 0 - } - return n, EscapeError{} - } - continue - } - - // If we need to prepend a partial escape sequence from the previous - // read, make sure the new buffer size doesn't exceed len(buf). - // Otherwise, preserve any extra data in a buffer for the next read. - if i < r.escapeKeyPos { - preserve := make([]byte, 0, r.escapeKeyPos+n) - preserve = append(preserve, r.escapeKeys[:r.escapeKeyPos]...) - preserve = append(preserve, buf[:n]...) - n = copy(buf, preserve) - i += r.escapeKeyPos - r.buf = append(r.buf, preserve[n:]...) - } - r.escapeKeyPos = 0 - } - - // If we're in the middle of reading an escape sequence, make sure we don't - // let the caller read it. If later on we find that this is not the escape - // sequence, we'll prepend it back to buf. - n -= r.escapeKeyPos - if n < 0 { - n = 0 - } - return n, err -} diff --git a/vendor/github.com/moby/term/tc.go b/vendor/github.com/moby/term/tc.go deleted file mode 100644 index 65556027..00000000 --- a/vendor/github.com/moby/term/tc.go +++ /dev/null @@ -1,19 +0,0 @@ -// +build !windows - -package term - -import ( - "golang.org/x/sys/unix" -) - -func tcget(fd uintptr) (*Termios, error) { - p, err := unix.IoctlGetTermios(int(fd), getTermios) - if err != nil { - return nil, err - } - return p, nil -} - -func tcset(fd uintptr, p *Termios) error { - return unix.IoctlSetTermios(int(fd), setTermios, p) -} diff --git a/vendor/github.com/moby/term/term.go b/vendor/github.com/moby/term/term.go deleted file mode 100644 index 29c6acf1..00000000 --- a/vendor/github.com/moby/term/term.go +++ /dev/null @@ -1,120 +0,0 @@ -// +build !windows - -// Package term provides structures and helper functions to work with -// terminal (state, sizes). -package term - -import ( - "errors" - "fmt" - "io" - "os" - "os/signal" - - "golang.org/x/sys/unix" -) - -var ( - // ErrInvalidState is returned if the state of the terminal is invalid. - ErrInvalidState = errors.New("Invalid terminal state") -) - -// State represents the state of the terminal. -type State struct { - termios Termios -} - -// Winsize represents the size of the terminal window. -type Winsize struct { - Height uint16 - Width uint16 - x uint16 - y uint16 -} - -// StdStreams returns the standard streams (stdin, stdout, stderr). -func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) { - return os.Stdin, os.Stdout, os.Stderr -} - -// GetFdInfo returns the file descriptor for an os.File and indicates whether the file represents a terminal. -func GetFdInfo(in interface{}) (uintptr, bool) { - var inFd uintptr - var isTerminalIn bool - if file, ok := in.(*os.File); ok { - inFd = file.Fd() - isTerminalIn = IsTerminal(inFd) - } - return inFd, isTerminalIn -} - -// IsTerminal returns true if the given file descriptor is a terminal. -func IsTerminal(fd uintptr) bool { - _, err := tcget(fd) - return err == nil -} - -// RestoreTerminal restores the terminal connected to the given file descriptor -// to a previous state. -func RestoreTerminal(fd uintptr, state *State) error { - if state == nil { - return ErrInvalidState - } - return tcset(fd, &state.termios) -} - -// SaveState saves the state of the terminal connected to the given file descriptor. -func SaveState(fd uintptr) (*State, error) { - termios, err := tcget(fd) - if err != nil { - return nil, err - } - return &State{termios: *termios}, nil -} - -// DisableEcho applies the specified state to the terminal connected to the file -// descriptor, with echo disabled. -func DisableEcho(fd uintptr, state *State) error { - newState := state.termios - newState.Lflag &^= unix.ECHO - - if err := tcset(fd, &newState); err != nil { - return err - } - handleInterrupt(fd, state) - return nil -} - -// SetRawTerminal puts the terminal connected to the given file descriptor into -// raw mode and returns the previous state. On UNIX, this puts both the input -// and output into raw mode. On Windows, it only puts the input into raw mode. -func SetRawTerminal(fd uintptr) (*State, error) { - oldState, err := MakeRaw(fd) - if err != nil { - return nil, err - } - handleInterrupt(fd, oldState) - return oldState, err -} - -// SetRawTerminalOutput puts the output of terminal connected to the given file -// descriptor into raw mode. On UNIX, this does nothing and returns nil for the -// state. On Windows, it disables LF -> CRLF translation. -func SetRawTerminalOutput(fd uintptr) (*State, error) { - return nil, nil -} - -func handleInterrupt(fd uintptr, state *State) { - sigchan := make(chan os.Signal, 1) - signal.Notify(sigchan, os.Interrupt) - go func() { - for range sigchan { - // quit cleanly and the new terminal item is on a new line - fmt.Println() - signal.Stop(sigchan) - close(sigchan) - RestoreTerminal(fd, state) - os.Exit(1) - } - }() -} diff --git a/vendor/github.com/moby/term/term_windows.go b/vendor/github.com/moby/term/term_windows.go deleted file mode 100644 index ba82960d..00000000 --- a/vendor/github.com/moby/term/term_windows.go +++ /dev/null @@ -1,231 +0,0 @@ -package term - -import ( - "io" - "os" - "os/signal" - - windowsconsole "github.com/moby/term/windows" - "golang.org/x/sys/windows" -) - -// State holds the console mode for the terminal. -type State struct { - mode uint32 -} - -// Winsize is used for window size. -type Winsize struct { - Height uint16 - Width uint16 -} - -// vtInputSupported is true if winterm.ENABLE_VIRTUAL_TERMINAL_INPUT is supported by the console -var vtInputSupported bool - -// StdStreams returns the standard streams (stdin, stdout, stderr). -func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) { - // Turn on VT handling on all std handles, if possible. This might - // fail, in which case we will fall back to terminal emulation. - var ( - emulateStdin, emulateStdout, emulateStderr bool - - mode uint32 - ) - - fd := windows.Handle(os.Stdin.Fd()) - if err := windows.GetConsoleMode(fd, &mode); err == nil { - // Validate that winterm.ENABLE_VIRTUAL_TERMINAL_INPUT is supported, but do not set it. - if err = windows.SetConsoleMode(fd, mode|windows.ENABLE_VIRTUAL_TERMINAL_INPUT); err != nil { - emulateStdin = true - } else { - vtInputSupported = true - } - // Unconditionally set the console mode back even on failure because SetConsoleMode - // remembers invalid bits on input handles. - _ = windows.SetConsoleMode(fd, mode) - } - - fd = windows.Handle(os.Stdout.Fd()) - if err := windows.GetConsoleMode(fd, &mode); err == nil { - // Validate winterm.DISABLE_NEWLINE_AUTO_RETURN is supported, but do not set it. - if err = windows.SetConsoleMode(fd, mode|windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING|windows.DISABLE_NEWLINE_AUTO_RETURN); err != nil { - emulateStdout = true - } else { - _ = windows.SetConsoleMode(fd, mode|windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING) - } - } - - fd = windows.Handle(os.Stderr.Fd()) - if err := windows.GetConsoleMode(fd, &mode); err == nil { - // Validate winterm.DISABLE_NEWLINE_AUTO_RETURN is supported, but do not set it. - if err = windows.SetConsoleMode(fd, mode|windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING|windows.DISABLE_NEWLINE_AUTO_RETURN); err != nil { - emulateStderr = true - } else { - _ = windows.SetConsoleMode(fd, mode|windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING) - } - } - - // Temporarily use STD_INPUT_HANDLE, STD_OUTPUT_HANDLE and - // STD_ERROR_HANDLE from syscall rather than x/sys/windows as long as - // go-ansiterm hasn't switch to x/sys/windows. - // TODO: switch back to x/sys/windows once go-ansiterm has switched - if emulateStdin { - h := uint32(windows.STD_INPUT_HANDLE) - stdIn = windowsconsole.NewAnsiReader(int(h)) - } else { - stdIn = os.Stdin - } - - if emulateStdout { - h := uint32(windows.STD_OUTPUT_HANDLE) - stdOut = windowsconsole.NewAnsiWriter(int(h)) - } else { - stdOut = os.Stdout - } - - if emulateStderr { - h := uint32(windows.STD_ERROR_HANDLE) - stdErr = windowsconsole.NewAnsiWriter(int(h)) - } else { - stdErr = os.Stderr - } - - return -} - -// GetFdInfo returns the file descriptor for an os.File and indicates whether the file represents a terminal. -func GetFdInfo(in interface{}) (uintptr, bool) { - return windowsconsole.GetHandleInfo(in) -} - -// GetWinsize returns the window size based on the specified file descriptor. -func GetWinsize(fd uintptr) (*Winsize, error) { - var info windows.ConsoleScreenBufferInfo - if err := windows.GetConsoleScreenBufferInfo(windows.Handle(fd), &info); err != nil { - return nil, err - } - - winsize := &Winsize{ - Width: uint16(info.Window.Right - info.Window.Left + 1), - Height: uint16(info.Window.Bottom - info.Window.Top + 1), - } - - return winsize, nil -} - -// IsTerminal returns true if the given file descriptor is a terminal. -func IsTerminal(fd uintptr) bool { - var mode uint32 - err := windows.GetConsoleMode(windows.Handle(fd), &mode) - return err == nil -} - -// RestoreTerminal restores the terminal connected to the given file descriptor -// to a previous state. -func RestoreTerminal(fd uintptr, state *State) error { - return windows.SetConsoleMode(windows.Handle(fd), state.mode) -} - -// SaveState saves the state of the terminal connected to the given file descriptor. -func SaveState(fd uintptr) (*State, error) { - var mode uint32 - - if err := windows.GetConsoleMode(windows.Handle(fd), &mode); err != nil { - return nil, err - } - - return &State{mode: mode}, nil -} - -// DisableEcho disables echo for the terminal connected to the given file descriptor. -// -- See https://msdn.microsoft.com/en-us/library/windows/desktop/ms683462(v=vs.85).aspx -func DisableEcho(fd uintptr, state *State) error { - mode := state.mode - mode &^= windows.ENABLE_ECHO_INPUT - mode |= windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT - err := windows.SetConsoleMode(windows.Handle(fd), mode) - if err != nil { - return err - } - - // Register an interrupt handler to catch and restore prior state - restoreAtInterrupt(fd, state) - return nil -} - -// SetRawTerminal puts the terminal connected to the given file descriptor into -// raw mode and returns the previous state. On UNIX, this puts both the input -// and output into raw mode. On Windows, it only puts the input into raw mode. -func SetRawTerminal(fd uintptr) (*State, error) { - state, err := MakeRaw(fd) - if err != nil { - return nil, err - } - - // Register an interrupt handler to catch and restore prior state - restoreAtInterrupt(fd, state) - return state, err -} - -// SetRawTerminalOutput puts the output of terminal connected to the given file -// descriptor into raw mode. On UNIX, this does nothing and returns nil for the -// state. On Windows, it disables LF -> CRLF translation. -func SetRawTerminalOutput(fd uintptr) (*State, error) { - state, err := SaveState(fd) - if err != nil { - return nil, err - } - - // Ignore failures, since winterm.DISABLE_NEWLINE_AUTO_RETURN might not be supported on this - // version of Windows. - _ = windows.SetConsoleMode(windows.Handle(fd), state.mode|windows.DISABLE_NEWLINE_AUTO_RETURN) - return state, err -} - -// MakeRaw puts the terminal (Windows Console) connected to the given file descriptor into raw -// mode and returns the previous state of the terminal so that it can be restored. -func MakeRaw(fd uintptr) (*State, error) { - state, err := SaveState(fd) - if err != nil { - return nil, err - } - - mode := state.mode - - // See - // -- https://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx - // -- https://msdn.microsoft.com/en-us/library/windows/desktop/ms683462(v=vs.85).aspx - - // Disable these modes - mode &^= windows.ENABLE_ECHO_INPUT - mode &^= windows.ENABLE_LINE_INPUT - mode &^= windows.ENABLE_MOUSE_INPUT - mode &^= windows.ENABLE_WINDOW_INPUT - mode &^= windows.ENABLE_PROCESSED_INPUT - - // Enable these modes - mode |= windows.ENABLE_EXTENDED_FLAGS - mode |= windows.ENABLE_INSERT_MODE - mode |= windows.ENABLE_QUICK_EDIT_MODE - if vtInputSupported { - mode |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT - } - - err = windows.SetConsoleMode(windows.Handle(fd), mode) - if err != nil { - return nil, err - } - return state, nil -} - -func restoreAtInterrupt(fd uintptr, state *State) { - sigchan := make(chan os.Signal, 1) - signal.Notify(sigchan, os.Interrupt) - - go func() { - _ = <-sigchan - _ = RestoreTerminal(fd, state) - os.Exit(0) - }() -} diff --git a/vendor/github.com/moby/term/termios.go b/vendor/github.com/moby/term/termios.go deleted file mode 100644 index 0f028e22..00000000 --- a/vendor/github.com/moby/term/termios.go +++ /dev/null @@ -1,35 +0,0 @@ -// +build !windows - -package term - -import ( - "golang.org/x/sys/unix" -) - -// Termios is the Unix API for terminal I/O. -type Termios = unix.Termios - -// MakeRaw puts the terminal connected to the given file descriptor into raw -// mode and returns the previous state of the terminal so that it can be -// restored. -func MakeRaw(fd uintptr) (*State, error) { - termios, err := tcget(fd) - if err != nil { - return nil, err - } - - oldState := State{termios: *termios} - - termios.Iflag &^= (unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR | unix.IGNCR | unix.ICRNL | unix.IXON) - termios.Oflag &^= unix.OPOST - termios.Lflag &^= (unix.ECHO | unix.ECHONL | unix.ICANON | unix.ISIG | unix.IEXTEN) - termios.Cflag &^= (unix.CSIZE | unix.PARENB) - termios.Cflag |= unix.CS8 - termios.Cc[unix.VMIN] = 1 - termios.Cc[unix.VTIME] = 0 - - if err := tcset(fd, termios); err != nil { - return nil, err - } - return &oldState, nil -} diff --git a/vendor/github.com/moby/term/termios_bsd.go b/vendor/github.com/moby/term/termios_bsd.go deleted file mode 100644 index 922dd4ba..00000000 --- a/vendor/github.com/moby/term/termios_bsd.go +++ /dev/null @@ -1,12 +0,0 @@ -// +build darwin freebsd openbsd netbsd - -package term - -import ( - "golang.org/x/sys/unix" -) - -const ( - getTermios = unix.TIOCGETA - setTermios = unix.TIOCSETA -) diff --git a/vendor/github.com/moby/term/termios_nonbsd.go b/vendor/github.com/moby/term/termios_nonbsd.go deleted file mode 100644 index 038fd61b..00000000 --- a/vendor/github.com/moby/term/termios_nonbsd.go +++ /dev/null @@ -1,12 +0,0 @@ -//+build !darwin,!freebsd,!netbsd,!openbsd,!windows - -package term - -import ( - "golang.org/x/sys/unix" -) - -const ( - getTermios = unix.TCGETS - setTermios = unix.TCSETS -) diff --git a/vendor/github.com/moby/term/windows/ansi_reader.go b/vendor/github.com/moby/term/windows/ansi_reader.go deleted file mode 100644 index 15525152..00000000 --- a/vendor/github.com/moby/term/windows/ansi_reader.go +++ /dev/null @@ -1,252 +0,0 @@ -// +build windows - -package windowsconsole - -import ( - "bytes" - "errors" - "fmt" - "io" - "os" - "strings" - "unsafe" - - ansiterm "github.com/Azure/go-ansiterm" - "github.com/Azure/go-ansiterm/winterm" -) - -const ( - escapeSequence = ansiterm.KEY_ESC_CSI -) - -// ansiReader wraps a standard input file (e.g., os.Stdin) providing ANSI sequence translation. -type ansiReader struct { - file *os.File - fd uintptr - buffer []byte - cbBuffer int - command []byte -} - -// NewAnsiReader returns an io.ReadCloser that provides VT100 terminal emulation on top of a -// Windows console input handle. -func NewAnsiReader(nFile int) io.ReadCloser { - file, fd := winterm.GetStdFile(nFile) - return &ansiReader{ - file: file, - fd: fd, - command: make([]byte, 0, ansiterm.ANSI_MAX_CMD_LENGTH), - buffer: make([]byte, 0), - } -} - -// Close closes the wrapped file. -func (ar *ansiReader) Close() (err error) { - return ar.file.Close() -} - -// Fd returns the file descriptor of the wrapped file. -func (ar *ansiReader) Fd() uintptr { - return ar.fd -} - -// Read reads up to len(p) bytes of translated input events into p. -func (ar *ansiReader) Read(p []byte) (int, error) { - if len(p) == 0 { - return 0, nil - } - - // Previously read bytes exist, read as much as we can and return - if len(ar.buffer) > 0 { - originalLength := len(ar.buffer) - copiedLength := copy(p, ar.buffer) - - if copiedLength == originalLength { - ar.buffer = make([]byte, 0, len(p)) - } else { - ar.buffer = ar.buffer[copiedLength:] - } - - return copiedLength, nil - } - - // Read and translate key events - events, err := readInputEvents(ar, len(p)) - if err != nil { - return 0, err - } else if len(events) == 0 { - return 0, nil - } - - keyBytes := translateKeyEvents(events, []byte(escapeSequence)) - - // Save excess bytes and right-size keyBytes - if len(keyBytes) > len(p) { - ar.buffer = keyBytes[len(p):] - keyBytes = keyBytes[:len(p)] - } else if len(keyBytes) == 0 { - return 0, nil - } - - copiedLength := copy(p, keyBytes) - if copiedLength != len(keyBytes) { - return 0, errors.New("unexpected copy length encountered") - } - - return copiedLength, nil -} - -// readInputEvents polls until at least one event is available. -func readInputEvents(ar *ansiReader, maxBytes int) ([]winterm.INPUT_RECORD, error) { - // Determine the maximum number of records to retrieve - // -- Cast around the type system to obtain the size of a single INPUT_RECORD. - // unsafe.Sizeof requires an expression vs. a type-reference; the casting - // tricks the type system into believing it has such an expression. - recordSize := int(unsafe.Sizeof(*((*winterm.INPUT_RECORD)(unsafe.Pointer(&maxBytes))))) - countRecords := maxBytes / recordSize - if countRecords > ansiterm.MAX_INPUT_EVENTS { - countRecords = ansiterm.MAX_INPUT_EVENTS - } else if countRecords == 0 { - countRecords = 1 - } - - // Wait for and read input events - events := make([]winterm.INPUT_RECORD, countRecords) - nEvents := uint32(0) - eventsExist, err := winterm.WaitForSingleObject(ar.fd, winterm.WAIT_INFINITE) - if err != nil { - return nil, err - } - - if eventsExist { - err = winterm.ReadConsoleInput(ar.fd, events, &nEvents) - if err != nil { - return nil, err - } - } - - // Return a slice restricted to the number of returned records - return events[:nEvents], nil -} - -// KeyEvent Translation Helpers - -var arrowKeyMapPrefix = map[uint16]string{ - winterm.VK_UP: "%s%sA", - winterm.VK_DOWN: "%s%sB", - winterm.VK_RIGHT: "%s%sC", - winterm.VK_LEFT: "%s%sD", -} - -var keyMapPrefix = map[uint16]string{ - winterm.VK_UP: "\x1B[%sA", - winterm.VK_DOWN: "\x1B[%sB", - winterm.VK_RIGHT: "\x1B[%sC", - winterm.VK_LEFT: "\x1B[%sD", - winterm.VK_HOME: "\x1B[1%s~", // showkey shows ^[[1 - winterm.VK_END: "\x1B[4%s~", // showkey shows ^[[4 - winterm.VK_INSERT: "\x1B[2%s~", - winterm.VK_DELETE: "\x1B[3%s~", - winterm.VK_PRIOR: "\x1B[5%s~", - winterm.VK_NEXT: "\x1B[6%s~", - winterm.VK_F1: "", - winterm.VK_F2: "", - winterm.VK_F3: "\x1B[13%s~", - winterm.VK_F4: "\x1B[14%s~", - winterm.VK_F5: "\x1B[15%s~", - winterm.VK_F6: "\x1B[17%s~", - winterm.VK_F7: "\x1B[18%s~", - winterm.VK_F8: "\x1B[19%s~", - winterm.VK_F9: "\x1B[20%s~", - winterm.VK_F10: "\x1B[21%s~", - winterm.VK_F11: "\x1B[23%s~", - winterm.VK_F12: "\x1B[24%s~", -} - -// translateKeyEvents converts the input events into the appropriate ANSI string. -func translateKeyEvents(events []winterm.INPUT_RECORD, escapeSequence []byte) []byte { - var buffer bytes.Buffer - for _, event := range events { - if event.EventType == winterm.KEY_EVENT && event.KeyEvent.KeyDown != 0 { - buffer.WriteString(keyToString(&event.KeyEvent, escapeSequence)) - } - } - - return buffer.Bytes() -} - -// keyToString maps the given input event record to the corresponding string. -func keyToString(keyEvent *winterm.KEY_EVENT_RECORD, escapeSequence []byte) string { - if keyEvent.UnicodeChar == 0 { - return formatVirtualKey(keyEvent.VirtualKeyCode, keyEvent.ControlKeyState, escapeSequence) - } - - _, alt, control := getControlKeys(keyEvent.ControlKeyState) - if control { - // TODO(azlinux): Implement following control sequences - // -D Signals the end of input from the keyboard; also exits current shell. - // -H Deletes the first character to the left of the cursor. Also called the ERASE key. - // -Q Restarts printing after it has been stopped with -s. - // -S Suspends printing on the screen (does not stop the program). - // -U Deletes all characters on the current line. Also called the KILL key. - // -E Quits current command and creates a core - - } - - // +Key generates ESC N Key - if !control && alt { - return ansiterm.KEY_ESC_N + strings.ToLower(string(keyEvent.UnicodeChar)) - } - - return string(keyEvent.UnicodeChar) -} - -// formatVirtualKey converts a virtual key (e.g., up arrow) into the appropriate ANSI string. -func formatVirtualKey(key uint16, controlState uint32, escapeSequence []byte) string { - shift, alt, control := getControlKeys(controlState) - modifier := getControlKeysModifier(shift, alt, control) - - if format, ok := arrowKeyMapPrefix[key]; ok { - return fmt.Sprintf(format, escapeSequence, modifier) - } - - if format, ok := keyMapPrefix[key]; ok { - return fmt.Sprintf(format, modifier) - } - - return "" -} - -// getControlKeys extracts the shift, alt, and ctrl key states. -func getControlKeys(controlState uint32) (shift, alt, control bool) { - shift = 0 != (controlState & winterm.SHIFT_PRESSED) - alt = 0 != (controlState & (winterm.LEFT_ALT_PRESSED | winterm.RIGHT_ALT_PRESSED)) - control = 0 != (controlState & (winterm.LEFT_CTRL_PRESSED | winterm.RIGHT_CTRL_PRESSED)) - return shift, alt, control -} - -// getControlKeysModifier returns the ANSI modifier for the given combination of control keys. -func getControlKeysModifier(shift, alt, control bool) string { - if shift && alt && control { - return ansiterm.KEY_CONTROL_PARAM_8 - } - if alt && control { - return ansiterm.KEY_CONTROL_PARAM_7 - } - if shift && control { - return ansiterm.KEY_CONTROL_PARAM_6 - } - if control { - return ansiterm.KEY_CONTROL_PARAM_5 - } - if shift && alt { - return ansiterm.KEY_CONTROL_PARAM_4 - } - if alt { - return ansiterm.KEY_CONTROL_PARAM_3 - } - if shift { - return ansiterm.KEY_CONTROL_PARAM_2 - } - return "" -} diff --git a/vendor/github.com/moby/term/windows/ansi_writer.go b/vendor/github.com/moby/term/windows/ansi_writer.go deleted file mode 100644 index ccb5ef07..00000000 --- a/vendor/github.com/moby/term/windows/ansi_writer.go +++ /dev/null @@ -1,56 +0,0 @@ -// +build windows - -package windowsconsole - -import ( - "io" - "os" - - ansiterm "github.com/Azure/go-ansiterm" - "github.com/Azure/go-ansiterm/winterm" -) - -// ansiWriter wraps a standard output file (e.g., os.Stdout) providing ANSI sequence translation. -type ansiWriter struct { - file *os.File - fd uintptr - infoReset *winterm.CONSOLE_SCREEN_BUFFER_INFO - command []byte - escapeSequence []byte - inAnsiSequence bool - parser *ansiterm.AnsiParser -} - -// NewAnsiWriter returns an io.Writer that provides VT100 terminal emulation on top of a -// Windows console output handle. -func NewAnsiWriter(nFile int) io.Writer { - file, fd := winterm.GetStdFile(nFile) - info, err := winterm.GetConsoleScreenBufferInfo(fd) - if err != nil { - return nil - } - - parser := ansiterm.CreateParser("Ground", winterm.CreateWinEventHandler(fd, file)) - - return &ansiWriter{ - file: file, - fd: fd, - infoReset: info, - command: make([]byte, 0, ansiterm.ANSI_MAX_CMD_LENGTH), - escapeSequence: []byte(ansiterm.KEY_ESC_CSI), - parser: parser, - } -} - -func (aw *ansiWriter) Fd() uintptr { - return aw.fd -} - -// Write writes len(p) bytes from p to the underlying data stream. -func (aw *ansiWriter) Write(p []byte) (total int, err error) { - if len(p) == 0 { - return 0, nil - } - - return aw.parser.Parse(p) -} diff --git a/vendor/github.com/moby/term/windows/console.go b/vendor/github.com/moby/term/windows/console.go deleted file mode 100644 index 993694dd..00000000 --- a/vendor/github.com/moby/term/windows/console.go +++ /dev/null @@ -1,39 +0,0 @@ -// +build windows - -package windowsconsole - -import ( - "os" - - "golang.org/x/sys/windows" -) - -// GetHandleInfo returns file descriptor and bool indicating whether the file is a console. -func GetHandleInfo(in interface{}) (uintptr, bool) { - switch t := in.(type) { - case *ansiReader: - return t.Fd(), true - case *ansiWriter: - return t.Fd(), true - } - - var inFd uintptr - var isTerminal bool - - if file, ok := in.(*os.File); ok { - inFd = file.Fd() - isTerminal = isConsole(inFd) - } - return inFd, isTerminal -} - -// IsConsole returns true if the given file descriptor is a Windows Console. -// The code assumes that GetConsoleMode will return an error for file descriptors that are not a console. -// Deprecated: use golang.org/x/sys/windows.GetConsoleMode() or golang.org/x/term.IsTerminal() -var IsConsole = isConsole - -func isConsole(fd uintptr) bool { - var mode uint32 - err := windows.GetConsoleMode(windows.Handle(fd), &mode) - return err == nil -} diff --git a/vendor/github.com/moby/term/windows/doc.go b/vendor/github.com/moby/term/windows/doc.go deleted file mode 100644 index 54265fff..00000000 --- a/vendor/github.com/moby/term/windows/doc.go +++ /dev/null @@ -1,5 +0,0 @@ -// These files implement ANSI-aware input and output streams for use by the Docker Windows client. -// When asked for the set of standard streams (e.g., stdin, stdout, stderr), the code will create -// and return pseudo-streams that convert ANSI sequences to / from Windows Console API calls. - -package windowsconsole diff --git a/vendor/github.com/moby/term/winsize.go b/vendor/github.com/moby/term/winsize.go deleted file mode 100644 index 1ef98d59..00000000 --- a/vendor/github.com/moby/term/winsize.go +++ /dev/null @@ -1,20 +0,0 @@ -// +build !windows - -package term - -import ( - "golang.org/x/sys/unix" -) - -// GetWinsize returns the window size based on the specified file descriptor. -func GetWinsize(fd uintptr) (*Winsize, error) { - uws, err := unix.IoctlGetWinsize(int(fd), unix.TIOCGWINSZ) - ws := &Winsize{Height: uws.Row, Width: uws.Col, x: uws.Xpixel, y: uws.Ypixel} - return ws, err -} - -// SetWinsize tries to set the specified window size for the specified file descriptor. -func SetWinsize(fd uintptr, ws *Winsize) error { - uws := &unix.Winsize{Row: ws.Height, Col: ws.Width, Xpixel: ws.x, Ypixel: ws.y} - return unix.IoctlSetWinsize(int(fd), unix.TIOCSWINSZ, uws) -} diff --git a/vendor/github.com/monochromegane/go-gitignore/.travis.yml b/vendor/github.com/monochromegane/go-gitignore/.travis.yml deleted file mode 100644 index b06a36a4..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: go -go: - - 1.14.x - - master -script: - - go test -v ./... diff --git a/vendor/github.com/monochromegane/go-gitignore/LICENSE b/vendor/github.com/monochromegane/go-gitignore/LICENSE deleted file mode 100644 index 91b84e92..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) [2015] [go-gitignore] - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/vendor/github.com/monochromegane/go-gitignore/README.md b/vendor/github.com/monochromegane/go-gitignore/README.md deleted file mode 100644 index 51a48074..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/README.md +++ /dev/null @@ -1,95 +0,0 @@ -# go-gitignore [![Build Status](https://travis-ci.org/monochromegane/go-gitignore.svg)](https://travis-ci.org/monochromegane/go-gitignore) - -A fast gitignore matching library for Go. - -This library use simple tree index for matching, so keep fast if gitignore file has many pattern. - -## Usage - -```go -gitignore, _ := gitignore.NewGitIgnore("/path/to/gitignore") - -path := "/path/to/file" -isDir := false -gitignore.Match(path, isDir) -``` - -### Specify base directory - -go-gitignore treat `path` as a base directory. -If you want to specify other base (e.g. current directory and Global gitignore), you can like the following. - -```go -gitignore, _ := gitignore.NewGitIgnore("/home/you/.gitignore", ".") -``` - -### From io.Reader - -go-gitignore can initialize from io.Reader. - -```go -gitignore, _ := gitignore.NewGitIgnoreFromReader(base, reader) -``` - -## Simple tree index - -go-gitignore parse gitignore file, and generate a simple tree index for matching like the following. - -``` -. -├── accept -│   ├── absolute -│   │   └── depth -│   │   ├── initial -│   │   └── other -│   └── relative -│   └── depth -│   ├── initial -│   └── other -└── ignore - ├── absolute - │   └── depth - │   ├── initial - │   └── other - └── relative - └── depth - ├── initial - └── other -``` - -## Features - -- Support absolute path (/path/to/ignore) -- Support relative path (path/to/ignore) -- Support accept pattern (!path/to/accept) -- Support directory pattern (path/to/directory/) -- Support glob pattern (path/to/\*.txt) - -*note: glob pattern* - -go-gitignore use [filepath.Match](https://golang.org/pkg/path/filepath/#Match) for matching meta char pattern, so not support recursive pattern (path/`**`/file). - -## Installation - -```sh -$ go get github.com/monochromegane/go-gitignore -``` - -## Contribution - -1. Fork it -2. Create a feature branch -3. Commit your changes -4. Rebase your local changes against the master branch -5. Run test suite with the `go test ./...` command and confirm that it passes -6. Run `gofmt -s` -7. Create new Pull Request - -## License - -[MIT](https://github.com/monochromegane/go-gitignore/blob/master/LICENSE) - -## Author - -[monochromegane](https://github.com/monochromegane) - diff --git a/vendor/github.com/monochromegane/go-gitignore/depth_holder.go b/vendor/github.com/monochromegane/go-gitignore/depth_holder.go deleted file mode 100644 index 9805b325..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/depth_holder.go +++ /dev/null @@ -1,79 +0,0 @@ -package gitignore - -import "strings" - -const ( - asc = iota - desc -) - -type depthPatternHolder struct { - patterns depthPatterns - order int -} - -func newDepthPatternHolder(order int) depthPatternHolder { - return depthPatternHolder{ - patterns: depthPatterns{m: map[int]initialPatternHolder{}}, - order: order, - } -} - -func (h *depthPatternHolder) add(pattern string) { - count := strings.Count(strings.Trim(pattern, "/"), "/") - h.patterns.set(count+1, pattern) -} - -func (h depthPatternHolder) match(path string, isDir bool) bool { - if h.patterns.size() == 0 { - return false - } - - for depth := 1; ; depth++ { - var part string - var isLast, isDirCurrent bool - if h.order == asc { - part, isLast = cutN(path, depth) - if isLast { - isDirCurrent = isDir - } else { - isDirCurrent = false - } - } else { - part, isLast = cutLastN(path, depth) - isDirCurrent = isDir - } - if patterns, ok := h.patterns.get(depth); ok { - if patterns.match(part, isDirCurrent) { - return true - } - } - if isLast { - break - } - } - return false -} - -type depthPatterns struct { - m map[int]initialPatternHolder -} - -func (p *depthPatterns) set(depth int, pattern string) { - if ps, ok := p.m[depth]; ok { - ps.add(pattern) - } else { - holder := newInitialPatternHolder() - holder.add(pattern) - p.m[depth] = holder - } -} - -func (p depthPatterns) get(depth int) (initialPatternHolder, bool) { - patterns, ok := p.m[depth] - return patterns, ok -} - -func (p depthPatterns) size() int { - return len(p.m) -} diff --git a/vendor/github.com/monochromegane/go-gitignore/full_scan_patterns.go b/vendor/github.com/monochromegane/go-gitignore/full_scan_patterns.go deleted file mode 100644 index 8c04ef3a..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/full_scan_patterns.go +++ /dev/null @@ -1,31 +0,0 @@ -package gitignore - -import "strings" - -// Only benchmark use -type fullScanPatterns struct { - absolute patterns - relative patterns -} - -func newFullScanPatterns() *fullScanPatterns { - return &fullScanPatterns{ - absolute: patterns{}, - relative: patterns{}, - } -} - -func (ps *fullScanPatterns) add(pattern string) { - if strings.HasPrefix(pattern, "/") { - ps.absolute.add(newPattern(pattern)) - } else { - ps.relative.add(newPattern(pattern)) - } -} - -func (ps fullScanPatterns) match(path string, isDir bool) bool { - if ps.absolute.match(path, isDir) { - return true - } - return ps.relative.match(path, isDir) -} diff --git a/vendor/github.com/monochromegane/go-gitignore/gitignore.go b/vendor/github.com/monochromegane/go-gitignore/gitignore.go deleted file mode 100644 index 9c719a6c..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/gitignore.go +++ /dev/null @@ -1,80 +0,0 @@ -package gitignore - -import ( - "bufio" - "io" - "os" - "path/filepath" - "strings" -) - -type IgnoreMatcher interface { - Match(path string, isDir bool) bool -} - -type DummyIgnoreMatcher bool - -func (d DummyIgnoreMatcher) Match(path string, isDir bool) bool { - return bool(d) -} - -type gitIgnore struct { - ignorePatterns scanStrategy - acceptPatterns scanStrategy - path string -} - -func NewGitIgnore(gitignore string, base ...string) (IgnoreMatcher, error) { - var path string - if len(base) > 0 { - path = base[0] - } else { - path = filepath.Dir(gitignore) - } - - file, err := os.Open(gitignore) - if err != nil { - return nil, err - } - defer file.Close() - - return NewGitIgnoreFromReader(path, file), nil -} - -func NewGitIgnoreFromReader(path string, r io.Reader) IgnoreMatcher { - g := gitIgnore{ - ignorePatterns: newIndexScanPatterns(), - acceptPatterns: newIndexScanPatterns(), - path: path, - } - scanner := bufio.NewScanner(r) - for scanner.Scan() { - line := strings.Trim(scanner.Text(), " ") - if len(line) == 0 || strings.HasPrefix(line, "#") { - continue - } - if strings.HasPrefix(line, `\#`) { - line = strings.TrimPrefix(line, `\`) - } - - if strings.HasPrefix(line, "!") { - g.acceptPatterns.add(strings.TrimPrefix(line, "!")) - } else { - g.ignorePatterns.add(line) - } - } - return g -} - -func (g gitIgnore) Match(path string, isDir bool) bool { - relativePath, err := filepath.Rel(g.path, path) - if err != nil { - return false - } - relativePath = filepath.ToSlash(relativePath) - - if g.acceptPatterns.match(relativePath, isDir) { - return false - } - return g.ignorePatterns.match(relativePath, isDir) -} diff --git a/vendor/github.com/monochromegane/go-gitignore/index_scan_patterns.go b/vendor/github.com/monochromegane/go-gitignore/index_scan_patterns.go deleted file mode 100644 index 882280e9..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/index_scan_patterns.go +++ /dev/null @@ -1,35 +0,0 @@ -package gitignore - -import "strings" - -type indexScanPatterns struct { - absolute depthPatternHolder - relative depthPatternHolder -} - -func newIndexScanPatterns() *indexScanPatterns { - return &indexScanPatterns{ - absolute: newDepthPatternHolder(asc), - relative: newDepthPatternHolder(desc), - } -} - -func (ps *indexScanPatterns) add(pattern string) { - if strings.HasPrefix(pattern, "/") { - ps.absolute.add(pattern) - } else { - ps.relative.add(pattern) - } -} - -func (ps indexScanPatterns) match(path string, isDir bool) bool { - if ps.absolute.match(path, isDir) { - return true - } - return ps.relative.match(path, isDir) -} - -type scanStrategy interface { - add(pattern string) - match(path string, isDir bool) bool -} diff --git a/vendor/github.com/monochromegane/go-gitignore/initial_holder.go b/vendor/github.com/monochromegane/go-gitignore/initial_holder.go deleted file mode 100644 index 86f0bfee..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/initial_holder.go +++ /dev/null @@ -1,62 +0,0 @@ -package gitignore - -import "strings" - -const initials = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ." - -type initialPatternHolder struct { - patterns initialPatterns - otherPatterns *patterns -} - -func newInitialPatternHolder() initialPatternHolder { - return initialPatternHolder{ - patterns: initialPatterns{m: map[byte]*patterns{}}, - otherPatterns: &patterns{}, - } -} - -func (h *initialPatternHolder) add(pattern string) { - trimedPattern := strings.TrimPrefix(pattern, "/") - if strings.IndexAny(trimedPattern[0:1], initials) != -1 { - h.patterns.set(trimedPattern[0], newPatternForEqualizedPath(pattern)) - } else { - h.otherPatterns.add(newPatternForEqualizedPath(pattern)) - } -} - -func (h initialPatternHolder) match(path string, isDir bool) bool { - if h.patterns.size() == 0 && h.otherPatterns.size() == 0 { - return false - } - if patterns, ok := h.patterns.get(path[0]); ok { - if patterns.match(path, isDir) { - return true - } - } - return h.otherPatterns.match(path, isDir) -} - -type initialPatterns struct { - m map[byte]*patterns -} - -func (p *initialPatterns) set(initial byte, pattern pattern) { - if ps, ok := p.m[initial]; ok { - ps.add(pattern) - } else { - patterns := &patterns{} - patterns.add(pattern) - p.m[initial] = patterns - - } -} - -func (p initialPatterns) get(initial byte) (*patterns, bool) { - patterns, ok := p.m[initial] - return patterns, ok -} - -func (p initialPatterns) size() int { - return len(p.m) -} diff --git a/vendor/github.com/monochromegane/go-gitignore/match.go b/vendor/github.com/monochromegane/go-gitignore/match.go deleted file mode 100644 index 4140a9bd..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/match.go +++ /dev/null @@ -1,24 +0,0 @@ -package gitignore - -import "path/filepath" - -type pathMatcher interface { - match(path string) bool -} - -type simpleMatcher struct { - path string -} - -func (m simpleMatcher) match(path string) bool { - return m.path == path -} - -type filepathMatcher struct { - path string -} - -func (m filepathMatcher) match(path string) bool { - match, _ := filepath.Match(m.path, path) - return match -} diff --git a/vendor/github.com/monochromegane/go-gitignore/pattern.go b/vendor/github.com/monochromegane/go-gitignore/pattern.go deleted file mode 100644 index 93adbf76..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/pattern.go +++ /dev/null @@ -1,69 +0,0 @@ -package gitignore - -import ( - "path/filepath" - "strings" -) - -var Separator = string(filepath.Separator) - -type pattern struct { - hasRootPrefix bool - hasDirSuffix bool - pathDepth int - matcher pathMatcher - onlyEqualizedPath bool -} - -func newPattern(path string) pattern { - hasRootPrefix := path[0] == '/' - hasDirSuffix := path[len(path)-1] == '/' - - var pathDepth int - if !hasRootPrefix { - pathDepth = strings.Count(path, "/") - } - - var matcher pathMatcher - matchingPath := strings.Trim(path, "/") - if hasMeta(path) { - matcher = filepathMatcher{path: matchingPath} - } else { - matcher = simpleMatcher{path: matchingPath} - } - - return pattern{ - hasRootPrefix: hasRootPrefix, - hasDirSuffix: hasDirSuffix, - pathDepth: pathDepth, - matcher: matcher, - } -} - -func newPatternForEqualizedPath(path string) pattern { - pattern := newPattern(path) - pattern.onlyEqualizedPath = true - return pattern -} - -func (p pattern) match(path string, isDir bool) bool { - - if p.hasDirSuffix && !isDir { - return false - } - - var targetPath string - if p.hasRootPrefix || p.onlyEqualizedPath { - // absolute pattern or only equalized path mode - targetPath = path - } else { - // relative pattern - targetPath = p.equalizeDepth(path) - } - return p.matcher.match(targetPath) -} - -func (p pattern) equalizeDepth(path string) string { - equalizedPath, _ := cutLastN(path, p.pathDepth+1) - return equalizedPath -} diff --git a/vendor/github.com/monochromegane/go-gitignore/patterns.go b/vendor/github.com/monochromegane/go-gitignore/patterns.go deleted file mode 100644 index 6770fb46..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/patterns.go +++ /dev/null @@ -1,22 +0,0 @@ -package gitignore - -type patterns struct { - patterns []pattern -} - -func (ps *patterns) add(pattern pattern) { - ps.patterns = append(ps.patterns, pattern) -} - -func (ps *patterns) size() int { - return len(ps.patterns) -} - -func (ps patterns) match(path string, isDir bool) bool { - for _, p := range ps.patterns { - if match := p.match(path, isDir); match { - return true - } - } - return false -} diff --git a/vendor/github.com/monochromegane/go-gitignore/util.go b/vendor/github.com/monochromegane/go-gitignore/util.go deleted file mode 100644 index b5ab9bbf..00000000 --- a/vendor/github.com/monochromegane/go-gitignore/util.go +++ /dev/null @@ -1,45 +0,0 @@ -package gitignore - -import ( - "os" - "strings" -) - -func cutN(path string, n int) (string, bool) { - isLast := true - - var i, count int - for i < len(path)-1 { - if os.IsPathSeparator(path[i]) { - count++ - if count >= n { - isLast = false - break - } - } - i++ - } - return path[:i+1], isLast -} - -func cutLastN(path string, n int) (string, bool) { - isLast := true - i := len(path) - 1 - - var count int - for i >= 0 { - if os.IsPathSeparator(path[i]) { - count++ - if count >= n { - isLast = false - break - } - } - i-- - } - return path[i+1:], isLast -} - -func hasMeta(path string) bool { - return strings.IndexAny(path, "*?[") >= 0 -} diff --git a/vendor/github.com/peterbourgon/diskv/LICENSE b/vendor/github.com/peterbourgon/diskv/LICENSE deleted file mode 100644 index 41ce7f16..00000000 --- a/vendor/github.com/peterbourgon/diskv/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011-2012 Peter Bourgon - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/peterbourgon/diskv/README.md b/vendor/github.com/peterbourgon/diskv/README.md deleted file mode 100644 index 3474739e..00000000 --- a/vendor/github.com/peterbourgon/diskv/README.md +++ /dev/null @@ -1,141 +0,0 @@ -# What is diskv? - -Diskv (disk-vee) is a simple, persistent key-value store written in the Go -language. It starts with an incredibly simple API for storing arbitrary data on -a filesystem by key, and builds several layers of performance-enhancing -abstraction on top. The end result is a conceptually simple, but highly -performant, disk-backed storage system. - -[![Build Status][1]][2] - -[1]: https://drone.io/github.com/peterbourgon/diskv/status.png -[2]: https://drone.io/github.com/peterbourgon/diskv/latest - - -# Installing - -Install [Go 1][3], either [from source][4] or [with a prepackaged binary][5]. -Then, - -```bash -$ go get github.com/peterbourgon/diskv -``` - -[3]: http://golang.org -[4]: http://golang.org/doc/install/source -[5]: http://golang.org/doc/install - - -# Usage - -```go -package main - -import ( - "fmt" - "github.com/peterbourgon/diskv" -) - -func main() { - // Simplest transform function: put all the data files into the base dir. - flatTransform := func(s string) []string { return []string{} } - - // Initialize a new diskv store, rooted at "my-data-dir", with a 1MB cache. - d := diskv.New(diskv.Options{ - BasePath: "my-data-dir", - Transform: flatTransform, - CacheSizeMax: 1024 * 1024, - }) - - // Write three bytes to the key "alpha". - key := "alpha" - d.Write(key, []byte{'1', '2', '3'}) - - // Read the value back out of the store. - value, _ := d.Read(key) - fmt.Printf("%v\n", value) - - // Erase the key+value from the store (and the disk). - d.Erase(key) -} -``` - -More complex examples can be found in the "examples" subdirectory. - - -# Theory - -## Basic idea - -At its core, diskv is a map of a key (`string`) to arbitrary data (`[]byte`). -The data is written to a single file on disk, with the same name as the key. -The key determines where that file will be stored, via a user-provided -`TransformFunc`, which takes a key and returns a slice (`[]string`) -corresponding to a path list where the key file will be stored. The simplest -TransformFunc, - -```go -func SimpleTransform (key string) []string { - return []string{} -} -``` - -will place all keys in the same, base directory. The design is inspired by -[Redis diskstore][6]; a TransformFunc which emulates the default diskstore -behavior is available in the content-addressable-storage example. - -[6]: http://groups.google.com/group/redis-db/browse_thread/thread/d444bc786689bde9?pli=1 - -**Note** that your TransformFunc should ensure that one valid key doesn't -transform to a subset of another valid key. That is, it shouldn't be possible -to construct valid keys that resolve to directory names. As a concrete example, -if your TransformFunc splits on every 3 characters, then - -```go -d.Write("abcabc", val) // OK: written to /abc/abc/abcabc -d.Write("abc", val) // Error: attempted write to /abc/abc, but it's a directory -``` - -This will be addressed in an upcoming version of diskv. - -Probably the most important design principle behind diskv is that your data is -always flatly available on the disk. diskv will never do anything that would -prevent you from accessing, copying, backing up, or otherwise interacting with -your data via common UNIX commandline tools. - -## Adding a cache - -An in-memory caching layer is provided by combining the BasicStore -functionality with a simple map structure, and keeping it up-to-date as -appropriate. Since the map structure in Go is not threadsafe, it's combined -with a RWMutex to provide safe concurrent access. - -## Adding order - -diskv is a key-value store and therefore inherently unordered. An ordering -system can be injected into the store by passing something which satisfies the -diskv.Index interface. (A default implementation, using Google's -[btree][7] package, is provided.) Basically, diskv keeps an ordered (by a -user-provided Less function) index of the keys, which can be queried. - -[7]: https://github.com/google/btree - -## Adding compression - -Something which implements the diskv.Compression interface may be passed -during store creation, so that all Writes and Reads are filtered through -a compression/decompression pipeline. Several default implementations, -using stdlib compression algorithms, are provided. Note that data is cached -compressed; the cost of decompression is borne with each Read. - -## Streaming - -diskv also now provides ReadStream and WriteStream methods, to allow very large -data to be handled efficiently. - - -# Future plans - - * Needs plenty of robust testing: huge datasets, etc... - * More thorough benchmarking - * Your suggestions for use-cases I haven't thought of diff --git a/vendor/github.com/peterbourgon/diskv/compression.go b/vendor/github.com/peterbourgon/diskv/compression.go deleted file mode 100644 index 5192b027..00000000 --- a/vendor/github.com/peterbourgon/diskv/compression.go +++ /dev/null @@ -1,64 +0,0 @@ -package diskv - -import ( - "compress/flate" - "compress/gzip" - "compress/zlib" - "io" -) - -// Compression is an interface that Diskv uses to implement compression of -// data. Writer takes a destination io.Writer and returns a WriteCloser that -// compresses all data written through it. Reader takes a source io.Reader and -// returns a ReadCloser that decompresses all data read through it. You may -// define these methods on your own type, or use one of the NewCompression -// helpers. -type Compression interface { - Writer(dst io.Writer) (io.WriteCloser, error) - Reader(src io.Reader) (io.ReadCloser, error) -} - -// NewGzipCompression returns a Gzip-based Compression. -func NewGzipCompression() Compression { - return NewGzipCompressionLevel(flate.DefaultCompression) -} - -// NewGzipCompressionLevel returns a Gzip-based Compression with the given level. -func NewGzipCompressionLevel(level int) Compression { - return &genericCompression{ - wf: func(w io.Writer) (io.WriteCloser, error) { return gzip.NewWriterLevel(w, level) }, - rf: func(r io.Reader) (io.ReadCloser, error) { return gzip.NewReader(r) }, - } -} - -// NewZlibCompression returns a Zlib-based Compression. -func NewZlibCompression() Compression { - return NewZlibCompressionLevel(flate.DefaultCompression) -} - -// NewZlibCompressionLevel returns a Zlib-based Compression with the given level. -func NewZlibCompressionLevel(level int) Compression { - return NewZlibCompressionLevelDict(level, nil) -} - -// NewZlibCompressionLevelDict returns a Zlib-based Compression with the given -// level, based on the given dictionary. -func NewZlibCompressionLevelDict(level int, dict []byte) Compression { - return &genericCompression{ - func(w io.Writer) (io.WriteCloser, error) { return zlib.NewWriterLevelDict(w, level, dict) }, - func(r io.Reader) (io.ReadCloser, error) { return zlib.NewReaderDict(r, dict) }, - } -} - -type genericCompression struct { - wf func(w io.Writer) (io.WriteCloser, error) - rf func(r io.Reader) (io.ReadCloser, error) -} - -func (g *genericCompression) Writer(dst io.Writer) (io.WriteCloser, error) { - return g.wf(dst) -} - -func (g *genericCompression) Reader(src io.Reader) (io.ReadCloser, error) { - return g.rf(src) -} diff --git a/vendor/github.com/peterbourgon/diskv/diskv.go b/vendor/github.com/peterbourgon/diskv/diskv.go deleted file mode 100644 index 524dc0a6..00000000 --- a/vendor/github.com/peterbourgon/diskv/diskv.go +++ /dev/null @@ -1,624 +0,0 @@ -// Diskv (disk-vee) is a simple, persistent, key-value store. -// It stores all data flatly on the filesystem. - -package diskv - -import ( - "bytes" - "errors" - "fmt" - "io" - "io/ioutil" - "os" - "path/filepath" - "strings" - "sync" - "syscall" -) - -const ( - defaultBasePath = "diskv" - defaultFilePerm os.FileMode = 0666 - defaultPathPerm os.FileMode = 0777 -) - -var ( - defaultTransform = func(s string) []string { return []string{} } - errCanceled = errors.New("canceled") - errEmptyKey = errors.New("empty key") - errBadKey = errors.New("bad key") - errImportDirectory = errors.New("can't import a directory") -) - -// TransformFunction transforms a key into a slice of strings, with each -// element in the slice representing a directory in the file path where the -// key's entry will eventually be stored. -// -// For example, if TransformFunc transforms "abcdef" to ["ab", "cde", "f"], -// the final location of the data file will be /ab/cde/f/abcdef -type TransformFunction func(s string) []string - -// Options define a set of properties that dictate Diskv behavior. -// All values are optional. -type Options struct { - BasePath string - Transform TransformFunction - CacheSizeMax uint64 // bytes - PathPerm os.FileMode - FilePerm os.FileMode - // If TempDir is set, it will enable filesystem atomic writes by - // writing temporary files to that location before being moved - // to BasePath. - // Note that TempDir MUST be on the same device/partition as - // BasePath. - TempDir string - - Index Index - IndexLess LessFunction - - Compression Compression -} - -// Diskv implements the Diskv interface. You shouldn't construct Diskv -// structures directly; instead, use the New constructor. -type Diskv struct { - Options - mu sync.RWMutex - cache map[string][]byte - cacheSize uint64 -} - -// New returns an initialized Diskv structure, ready to use. -// If the path identified by baseDir already contains data, -// it will be accessible, but not yet cached. -func New(o Options) *Diskv { - if o.BasePath == "" { - o.BasePath = defaultBasePath - } - if o.Transform == nil { - o.Transform = defaultTransform - } - if o.PathPerm == 0 { - o.PathPerm = defaultPathPerm - } - if o.FilePerm == 0 { - o.FilePerm = defaultFilePerm - } - - d := &Diskv{ - Options: o, - cache: map[string][]byte{}, - cacheSize: 0, - } - - if d.Index != nil && d.IndexLess != nil { - d.Index.Initialize(d.IndexLess, d.Keys(nil)) - } - - return d -} - -// Write synchronously writes the key-value pair to disk, making it immediately -// available for reads. Write relies on the filesystem to perform an eventual -// sync to physical media. If you need stronger guarantees, see WriteStream. -func (d *Diskv) Write(key string, val []byte) error { - return d.WriteStream(key, bytes.NewBuffer(val), false) -} - -// WriteStream writes the data represented by the io.Reader to the disk, under -// the provided key. If sync is true, WriteStream performs an explicit sync on -// the file as soon as it's written. -// -// bytes.Buffer provides io.Reader semantics for basic data types. -func (d *Diskv) WriteStream(key string, r io.Reader, sync bool) error { - if len(key) <= 0 { - return errEmptyKey - } - - d.mu.Lock() - defer d.mu.Unlock() - - return d.writeStreamWithLock(key, r, sync) -} - -// createKeyFileWithLock either creates the key file directly, or -// creates a temporary file in TempDir if it is set. -func (d *Diskv) createKeyFileWithLock(key string) (*os.File, error) { - if d.TempDir != "" { - if err := os.MkdirAll(d.TempDir, d.PathPerm); err != nil { - return nil, fmt.Errorf("temp mkdir: %s", err) - } - f, err := ioutil.TempFile(d.TempDir, "") - if err != nil { - return nil, fmt.Errorf("temp file: %s", err) - } - - if err := f.Chmod(d.FilePerm); err != nil { - f.Close() // error deliberately ignored - os.Remove(f.Name()) // error deliberately ignored - return nil, fmt.Errorf("chmod: %s", err) - } - return f, nil - } - - mode := os.O_WRONLY | os.O_CREATE | os.O_TRUNC // overwrite if exists - f, err := os.OpenFile(d.completeFilename(key), mode, d.FilePerm) - if err != nil { - return nil, fmt.Errorf("open file: %s", err) - } - return f, nil -} - -// writeStream does no input validation checking. -func (d *Diskv) writeStreamWithLock(key string, r io.Reader, sync bool) error { - if err := d.ensurePathWithLock(key); err != nil { - return fmt.Errorf("ensure path: %s", err) - } - - f, err := d.createKeyFileWithLock(key) - if err != nil { - return fmt.Errorf("create key file: %s", err) - } - - wc := io.WriteCloser(&nopWriteCloser{f}) - if d.Compression != nil { - wc, err = d.Compression.Writer(f) - if err != nil { - f.Close() // error deliberately ignored - os.Remove(f.Name()) // error deliberately ignored - return fmt.Errorf("compression writer: %s", err) - } - } - - if _, err := io.Copy(wc, r); err != nil { - f.Close() // error deliberately ignored - os.Remove(f.Name()) // error deliberately ignored - return fmt.Errorf("i/o copy: %s", err) - } - - if err := wc.Close(); err != nil { - f.Close() // error deliberately ignored - os.Remove(f.Name()) // error deliberately ignored - return fmt.Errorf("compression close: %s", err) - } - - if sync { - if err := f.Sync(); err != nil { - f.Close() // error deliberately ignored - os.Remove(f.Name()) // error deliberately ignored - return fmt.Errorf("file sync: %s", err) - } - } - - if err := f.Close(); err != nil { - return fmt.Errorf("file close: %s", err) - } - - if f.Name() != d.completeFilename(key) { - if err := os.Rename(f.Name(), d.completeFilename(key)); err != nil { - os.Remove(f.Name()) // error deliberately ignored - return fmt.Errorf("rename: %s", err) - } - } - - if d.Index != nil { - d.Index.Insert(key) - } - - d.bustCacheWithLock(key) // cache only on read - - return nil -} - -// Import imports the source file into diskv under the destination key. If the -// destination key already exists, it's overwritten. If move is true, the -// source file is removed after a successful import. -func (d *Diskv) Import(srcFilename, dstKey string, move bool) (err error) { - if dstKey == "" { - return errEmptyKey - } - - if fi, err := os.Stat(srcFilename); err != nil { - return err - } else if fi.IsDir() { - return errImportDirectory - } - - d.mu.Lock() - defer d.mu.Unlock() - - if err := d.ensurePathWithLock(dstKey); err != nil { - return fmt.Errorf("ensure path: %s", err) - } - - if move { - if err := syscall.Rename(srcFilename, d.completeFilename(dstKey)); err == nil { - d.bustCacheWithLock(dstKey) - return nil - } else if err != syscall.EXDEV { - // If it failed due to being on a different device, fall back to copying - return err - } - } - - f, err := os.Open(srcFilename) - if err != nil { - return err - } - defer f.Close() - err = d.writeStreamWithLock(dstKey, f, false) - if err == nil && move { - err = os.Remove(srcFilename) - } - return err -} - -// Read reads the key and returns the value. -// If the key is available in the cache, Read won't touch the disk. -// If the key is not in the cache, Read will have the side-effect of -// lazily caching the value. -func (d *Diskv) Read(key string) ([]byte, error) { - rc, err := d.ReadStream(key, false) - if err != nil { - return []byte{}, err - } - defer rc.Close() - return ioutil.ReadAll(rc) -} - -// ReadStream reads the key and returns the value (data) as an io.ReadCloser. -// If the value is cached from a previous read, and direct is false, -// ReadStream will use the cached value. Otherwise, it will return a handle to -// the file on disk, and cache the data on read. -// -// If direct is true, ReadStream will lazily delete any cached value for the -// key, and return a direct handle to the file on disk. -// -// If compression is enabled, ReadStream taps into the io.Reader stream prior -// to decompression, and caches the compressed data. -func (d *Diskv) ReadStream(key string, direct bool) (io.ReadCloser, error) { - d.mu.RLock() - defer d.mu.RUnlock() - - if val, ok := d.cache[key]; ok { - if !direct { - buf := bytes.NewBuffer(val) - if d.Compression != nil { - return d.Compression.Reader(buf) - } - return ioutil.NopCloser(buf), nil - } - - go func() { - d.mu.Lock() - defer d.mu.Unlock() - d.uncacheWithLock(key, uint64(len(val))) - }() - } - - return d.readWithRLock(key) -} - -// read ignores the cache, and returns an io.ReadCloser representing the -// decompressed data for the given key, streamed from the disk. Clients should -// acquire a read lock on the Diskv and check the cache themselves before -// calling read. -func (d *Diskv) readWithRLock(key string) (io.ReadCloser, error) { - filename := d.completeFilename(key) - - fi, err := os.Stat(filename) - if err != nil { - return nil, err - } - if fi.IsDir() { - return nil, os.ErrNotExist - } - - f, err := os.Open(filename) - if err != nil { - return nil, err - } - - var r io.Reader - if d.CacheSizeMax > 0 { - r = newSiphon(f, d, key) - } else { - r = &closingReader{f} - } - - var rc = io.ReadCloser(ioutil.NopCloser(r)) - if d.Compression != nil { - rc, err = d.Compression.Reader(r) - if err != nil { - return nil, err - } - } - - return rc, nil -} - -// closingReader provides a Reader that automatically closes the -// embedded ReadCloser when it reaches EOF -type closingReader struct { - rc io.ReadCloser -} - -func (cr closingReader) Read(p []byte) (int, error) { - n, err := cr.rc.Read(p) - if err == io.EOF { - if closeErr := cr.rc.Close(); closeErr != nil { - return n, closeErr // close must succeed for Read to succeed - } - } - return n, err -} - -// siphon is like a TeeReader: it copies all data read through it to an -// internal buffer, and moves that buffer to the cache at EOF. -type siphon struct { - f *os.File - d *Diskv - key string - buf *bytes.Buffer -} - -// newSiphon constructs a siphoning reader that represents the passed file. -// When a successful series of reads ends in an EOF, the siphon will write -// the buffered data to Diskv's cache under the given key. -func newSiphon(f *os.File, d *Diskv, key string) io.Reader { - return &siphon{ - f: f, - d: d, - key: key, - buf: &bytes.Buffer{}, - } -} - -// Read implements the io.Reader interface for siphon. -func (s *siphon) Read(p []byte) (int, error) { - n, err := s.f.Read(p) - - if err == nil { - return s.buf.Write(p[0:n]) // Write must succeed for Read to succeed - } - - if err == io.EOF { - s.d.cacheWithoutLock(s.key, s.buf.Bytes()) // cache may fail - if closeErr := s.f.Close(); closeErr != nil { - return n, closeErr // close must succeed for Read to succeed - } - return n, err - } - - return n, err -} - -// Erase synchronously erases the given key from the disk and the cache. -func (d *Diskv) Erase(key string) error { - d.mu.Lock() - defer d.mu.Unlock() - - d.bustCacheWithLock(key) - - // erase from index - if d.Index != nil { - d.Index.Delete(key) - } - - // erase from disk - filename := d.completeFilename(key) - if s, err := os.Stat(filename); err == nil { - if s.IsDir() { - return errBadKey - } - if err = os.Remove(filename); err != nil { - return err - } - } else { - // Return err as-is so caller can do os.IsNotExist(err). - return err - } - - // clean up and return - d.pruneDirsWithLock(key) - return nil -} - -// EraseAll will delete all of the data from the store, both in the cache and on -// the disk. Note that EraseAll doesn't distinguish diskv-related data from non- -// diskv-related data. Care should be taken to always specify a diskv base -// directory that is exclusively for diskv data. -func (d *Diskv) EraseAll() error { - d.mu.Lock() - defer d.mu.Unlock() - d.cache = make(map[string][]byte) - d.cacheSize = 0 - if d.TempDir != "" { - os.RemoveAll(d.TempDir) // errors ignored - } - return os.RemoveAll(d.BasePath) -} - -// Has returns true if the given key exists. -func (d *Diskv) Has(key string) bool { - d.mu.Lock() - defer d.mu.Unlock() - - if _, ok := d.cache[key]; ok { - return true - } - - filename := d.completeFilename(key) - s, err := os.Stat(filename) - if err != nil { - return false - } - if s.IsDir() { - return false - } - - return true -} - -// Keys returns a channel that will yield every key accessible by the store, -// in undefined order. If a cancel channel is provided, closing it will -// terminate and close the keys channel. -func (d *Diskv) Keys(cancel <-chan struct{}) <-chan string { - return d.KeysPrefix("", cancel) -} - -// KeysPrefix returns a channel that will yield every key accessible by the -// store with the given prefix, in undefined order. If a cancel channel is -// provided, closing it will terminate and close the keys channel. If the -// provided prefix is the empty string, all keys will be yielded. -func (d *Diskv) KeysPrefix(prefix string, cancel <-chan struct{}) <-chan string { - var prepath string - if prefix == "" { - prepath = d.BasePath - } else { - prepath = d.pathFor(prefix) - } - c := make(chan string) - go func() { - filepath.Walk(prepath, walker(c, prefix, cancel)) - close(c) - }() - return c -} - -// walker returns a function which satisfies the filepath.WalkFunc interface. -// It sends every non-directory file entry down the channel c. -func walker(c chan<- string, prefix string, cancel <-chan struct{}) filepath.WalkFunc { - return func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - - if info.IsDir() || !strings.HasPrefix(info.Name(), prefix) { - return nil // "pass" - } - - select { - case c <- info.Name(): - case <-cancel: - return errCanceled - } - - return nil - } -} - -// pathFor returns the absolute path for location on the filesystem where the -// data for the given key will be stored. -func (d *Diskv) pathFor(key string) string { - return filepath.Join(d.BasePath, filepath.Join(d.Transform(key)...)) -} - -// ensurePathWithLock is a helper function that generates all necessary -// directories on the filesystem for the given key. -func (d *Diskv) ensurePathWithLock(key string) error { - return os.MkdirAll(d.pathFor(key), d.PathPerm) -} - -// completeFilename returns the absolute path to the file for the given key. -func (d *Diskv) completeFilename(key string) string { - return filepath.Join(d.pathFor(key), key) -} - -// cacheWithLock attempts to cache the given key-value pair in the store's -// cache. It can fail if the value is larger than the cache's maximum size. -func (d *Diskv) cacheWithLock(key string, val []byte) error { - valueSize := uint64(len(val)) - if err := d.ensureCacheSpaceWithLock(valueSize); err != nil { - return fmt.Errorf("%s; not caching", err) - } - - // be very strict about memory guarantees - if (d.cacheSize + valueSize) > d.CacheSizeMax { - panic(fmt.Sprintf("failed to make room for value (%d/%d)", valueSize, d.CacheSizeMax)) - } - - d.cache[key] = val - d.cacheSize += valueSize - return nil -} - -// cacheWithoutLock acquires the store's (write) mutex and calls cacheWithLock. -func (d *Diskv) cacheWithoutLock(key string, val []byte) error { - d.mu.Lock() - defer d.mu.Unlock() - return d.cacheWithLock(key, val) -} - -func (d *Diskv) bustCacheWithLock(key string) { - if val, ok := d.cache[key]; ok { - d.uncacheWithLock(key, uint64(len(val))) - } -} - -func (d *Diskv) uncacheWithLock(key string, sz uint64) { - d.cacheSize -= sz - delete(d.cache, key) -} - -// pruneDirsWithLock deletes empty directories in the path walk leading to the -// key k. Typically this function is called after an Erase is made. -func (d *Diskv) pruneDirsWithLock(key string) error { - pathlist := d.Transform(key) - for i := range pathlist { - dir := filepath.Join(d.BasePath, filepath.Join(pathlist[:len(pathlist)-i]...)) - - // thanks to Steven Blenkinsop for this snippet - switch fi, err := os.Stat(dir); true { - case err != nil: - return err - case !fi.IsDir(): - panic(fmt.Sprintf("corrupt dirstate at %s", dir)) - } - - nlinks, err := filepath.Glob(filepath.Join(dir, "*")) - if err != nil { - return err - } else if len(nlinks) > 0 { - return nil // has subdirs -- do not prune - } - if err = os.Remove(dir); err != nil { - return err - } - } - - return nil -} - -// ensureCacheSpaceWithLock deletes entries from the cache in arbitrary order -// until the cache has at least valueSize bytes available. -func (d *Diskv) ensureCacheSpaceWithLock(valueSize uint64) error { - if valueSize > d.CacheSizeMax { - return fmt.Errorf("value size (%d bytes) too large for cache (%d bytes)", valueSize, d.CacheSizeMax) - } - - safe := func() bool { return (d.cacheSize + valueSize) <= d.CacheSizeMax } - - for key, val := range d.cache { - if safe() { - break - } - - d.uncacheWithLock(key, uint64(len(val))) - } - - if !safe() { - panic(fmt.Sprintf("%d bytes still won't fit in the cache! (max %d bytes)", valueSize, d.CacheSizeMax)) - } - - return nil -} - -// nopWriteCloser wraps an io.Writer and provides a no-op Close method to -// satisfy the io.WriteCloser interface. -type nopWriteCloser struct { - io.Writer -} - -func (wc *nopWriteCloser) Write(p []byte) (int, error) { return wc.Writer.Write(p) } -func (wc *nopWriteCloser) Close() error { return nil } diff --git a/vendor/github.com/peterbourgon/diskv/index.go b/vendor/github.com/peterbourgon/diskv/index.go deleted file mode 100644 index 96fee515..00000000 --- a/vendor/github.com/peterbourgon/diskv/index.go +++ /dev/null @@ -1,115 +0,0 @@ -package diskv - -import ( - "sync" - - "github.com/google/btree" -) - -// Index is a generic interface for things that can -// provide an ordered list of keys. -type Index interface { - Initialize(less LessFunction, keys <-chan string) - Insert(key string) - Delete(key string) - Keys(from string, n int) []string -} - -// LessFunction is used to initialize an Index of keys in a specific order. -type LessFunction func(string, string) bool - -// btreeString is a custom data type that satisfies the BTree Less interface, -// making the strings it wraps sortable by the BTree package. -type btreeString struct { - s string - l LessFunction -} - -// Less satisfies the BTree.Less interface using the btreeString's LessFunction. -func (s btreeString) Less(i btree.Item) bool { - return s.l(s.s, i.(btreeString).s) -} - -// BTreeIndex is an implementation of the Index interface using google/btree. -type BTreeIndex struct { - sync.RWMutex - LessFunction - *btree.BTree -} - -// Initialize populates the BTree tree with data from the keys channel, -// according to the passed less function. It's destructive to the BTreeIndex. -func (i *BTreeIndex) Initialize(less LessFunction, keys <-chan string) { - i.Lock() - defer i.Unlock() - i.LessFunction = less - i.BTree = rebuild(less, keys) -} - -// Insert inserts the given key (only) into the BTree tree. -func (i *BTreeIndex) Insert(key string) { - i.Lock() - defer i.Unlock() - if i.BTree == nil || i.LessFunction == nil { - panic("uninitialized index") - } - i.BTree.ReplaceOrInsert(btreeString{s: key, l: i.LessFunction}) -} - -// Delete removes the given key (only) from the BTree tree. -func (i *BTreeIndex) Delete(key string) { - i.Lock() - defer i.Unlock() - if i.BTree == nil || i.LessFunction == nil { - panic("uninitialized index") - } - i.BTree.Delete(btreeString{s: key, l: i.LessFunction}) -} - -// Keys yields a maximum of n keys in order. If the passed 'from' key is empty, -// Keys will return the first n keys. If the passed 'from' key is non-empty, the -// first key in the returned slice will be the key that immediately follows the -// passed key, in key order. -func (i *BTreeIndex) Keys(from string, n int) []string { - i.RLock() - defer i.RUnlock() - - if i.BTree == nil || i.LessFunction == nil { - panic("uninitialized index") - } - - if i.BTree.Len() <= 0 { - return []string{} - } - - btreeFrom := btreeString{s: from, l: i.LessFunction} - skipFirst := true - if len(from) <= 0 || !i.BTree.Has(btreeFrom) { - // no such key, so fabricate an always-smallest item - btreeFrom = btreeString{s: "", l: func(string, string) bool { return true }} - skipFirst = false - } - - keys := []string{} - iterator := func(i btree.Item) bool { - keys = append(keys, i.(btreeString).s) - return len(keys) < n - } - i.BTree.AscendGreaterOrEqual(btreeFrom, iterator) - - if skipFirst && len(keys) > 0 { - keys = keys[1:] - } - - return keys -} - -// rebuildIndex does the work of regenerating the index -// with the given keys. -func rebuild(less LessFunction, keys <-chan string) *btree.BTree { - tree := btree.New(2) - for key := range keys { - tree.ReplaceOrInsert(btreeString{s: key, l: less}) - } - return tree -} diff --git a/vendor/github.com/pmezard/go-difflib/LICENSE b/vendor/github.com/pmezard/go-difflib/LICENSE deleted file mode 100644 index c67dad61..00000000 --- a/vendor/github.com/pmezard/go-difflib/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2013, Patrick Mezard -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - The names of its contributors may not be used to endorse or promote -products derived from this software without specific prior written -permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/pmezard/go-difflib/difflib/difflib.go b/vendor/github.com/pmezard/go-difflib/difflib/difflib.go deleted file mode 100644 index 003e99fa..00000000 --- a/vendor/github.com/pmezard/go-difflib/difflib/difflib.go +++ /dev/null @@ -1,772 +0,0 @@ -// Package difflib is a partial port of Python difflib module. -// -// It provides tools to compare sequences of strings and generate textual diffs. -// -// The following class and functions have been ported: -// -// - SequenceMatcher -// -// - unified_diff -// -// - context_diff -// -// Getting unified diffs was the main goal of the port. Keep in mind this code -// is mostly suitable to output text differences in a human friendly way, there -// are no guarantees generated diffs are consumable by patch(1). -package difflib - -import ( - "bufio" - "bytes" - "fmt" - "io" - "strings" -) - -func min(a, b int) int { - if a < b { - return a - } - return b -} - -func max(a, b int) int { - if a > b { - return a - } - return b -} - -func calculateRatio(matches, length int) float64 { - if length > 0 { - return 2.0 * float64(matches) / float64(length) - } - return 1.0 -} - -type Match struct { - A int - B int - Size int -} - -type OpCode struct { - Tag byte - I1 int - I2 int - J1 int - J2 int -} - -// SequenceMatcher compares sequence of strings. The basic -// algorithm predates, and is a little fancier than, an algorithm -// published in the late 1980's by Ratcliff and Obershelp under the -// hyperbolic name "gestalt pattern matching". The basic idea is to find -// the longest contiguous matching subsequence that contains no "junk" -// elements (R-O doesn't address junk). The same idea is then applied -// recursively to the pieces of the sequences to the left and to the right -// of the matching subsequence. This does not yield minimal edit -// sequences, but does tend to yield matches that "look right" to people. -// -// SequenceMatcher tries to compute a "human-friendly diff" between two -// sequences. Unlike e.g. UNIX(tm) diff, the fundamental notion is the -// longest *contiguous* & junk-free matching subsequence. That's what -// catches peoples' eyes. The Windows(tm) windiff has another interesting -// notion, pairing up elements that appear uniquely in each sequence. -// That, and the method here, appear to yield more intuitive difference -// reports than does diff. This method appears to be the least vulnerable -// to synching up on blocks of "junk lines", though (like blank lines in -// ordinary text files, or maybe "

" lines in HTML files). That may be -// because this is the only method of the 3 that has a *concept* of -// "junk" . -// -// Timing: Basic R-O is cubic time worst case and quadratic time expected -// case. SequenceMatcher is quadratic time for the worst case and has -// expected-case behavior dependent in a complicated way on how many -// elements the sequences have in common; best case time is linear. -type SequenceMatcher struct { - a []string - b []string - b2j map[string][]int - IsJunk func(string) bool - autoJunk bool - bJunk map[string]struct{} - matchingBlocks []Match - fullBCount map[string]int - bPopular map[string]struct{} - opCodes []OpCode -} - -func NewMatcher(a, b []string) *SequenceMatcher { - m := SequenceMatcher{autoJunk: true} - m.SetSeqs(a, b) - return &m -} - -func NewMatcherWithJunk(a, b []string, autoJunk bool, - isJunk func(string) bool) *SequenceMatcher { - - m := SequenceMatcher{IsJunk: isJunk, autoJunk: autoJunk} - m.SetSeqs(a, b) - return &m -} - -// Set two sequences to be compared. -func (m *SequenceMatcher) SetSeqs(a, b []string) { - m.SetSeq1(a) - m.SetSeq2(b) -} - -// Set the first sequence to be compared. The second sequence to be compared is -// not changed. -// -// SequenceMatcher computes and caches detailed information about the second -// sequence, so if you want to compare one sequence S against many sequences, -// use .SetSeq2(s) once and call .SetSeq1(x) repeatedly for each of the other -// sequences. -// -// See also SetSeqs() and SetSeq2(). -func (m *SequenceMatcher) SetSeq1(a []string) { - if &a == &m.a { - return - } - m.a = a - m.matchingBlocks = nil - m.opCodes = nil -} - -// Set the second sequence to be compared. The first sequence to be compared is -// not changed. -func (m *SequenceMatcher) SetSeq2(b []string) { - if &b == &m.b { - return - } - m.b = b - m.matchingBlocks = nil - m.opCodes = nil - m.fullBCount = nil - m.chainB() -} - -func (m *SequenceMatcher) chainB() { - // Populate line -> index mapping - b2j := map[string][]int{} - for i, s := range m.b { - indices := b2j[s] - indices = append(indices, i) - b2j[s] = indices - } - - // Purge junk elements - m.bJunk = map[string]struct{}{} - if m.IsJunk != nil { - junk := m.bJunk - for s, _ := range b2j { - if m.IsJunk(s) { - junk[s] = struct{}{} - } - } - for s, _ := range junk { - delete(b2j, s) - } - } - - // Purge remaining popular elements - popular := map[string]struct{}{} - n := len(m.b) - if m.autoJunk && n >= 200 { - ntest := n/100 + 1 - for s, indices := range b2j { - if len(indices) > ntest { - popular[s] = struct{}{} - } - } - for s, _ := range popular { - delete(b2j, s) - } - } - m.bPopular = popular - m.b2j = b2j -} - -func (m *SequenceMatcher) isBJunk(s string) bool { - _, ok := m.bJunk[s] - return ok -} - -// Find longest matching block in a[alo:ahi] and b[blo:bhi]. -// -// If IsJunk is not defined: -// -// Return (i,j,k) such that a[i:i+k] is equal to b[j:j+k], where -// alo <= i <= i+k <= ahi -// blo <= j <= j+k <= bhi -// and for all (i',j',k') meeting those conditions, -// k >= k' -// i <= i' -// and if i == i', j <= j' -// -// In other words, of all maximal matching blocks, return one that -// starts earliest in a, and of all those maximal matching blocks that -// start earliest in a, return the one that starts earliest in b. -// -// If IsJunk is defined, first the longest matching block is -// determined as above, but with the additional restriction that no -// junk element appears in the block. Then that block is extended as -// far as possible by matching (only) junk elements on both sides. So -// the resulting block never matches on junk except as identical junk -// happens to be adjacent to an "interesting" match. -// -// If no blocks match, return (alo, blo, 0). -func (m *SequenceMatcher) findLongestMatch(alo, ahi, blo, bhi int) Match { - // CAUTION: stripping common prefix or suffix would be incorrect. - // E.g., - // ab - // acab - // Longest matching block is "ab", but if common prefix is - // stripped, it's "a" (tied with "b"). UNIX(tm) diff does so - // strip, so ends up claiming that ab is changed to acab by - // inserting "ca" in the middle. That's minimal but unintuitive: - // "it's obvious" that someone inserted "ac" at the front. - // Windiff ends up at the same place as diff, but by pairing up - // the unique 'b's and then matching the first two 'a's. - besti, bestj, bestsize := alo, blo, 0 - - // find longest junk-free match - // during an iteration of the loop, j2len[j] = length of longest - // junk-free match ending with a[i-1] and b[j] - j2len := map[int]int{} - for i := alo; i != ahi; i++ { - // look at all instances of a[i] in b; note that because - // b2j has no junk keys, the loop is skipped if a[i] is junk - newj2len := map[int]int{} - for _, j := range m.b2j[m.a[i]] { - // a[i] matches b[j] - if j < blo { - continue - } - if j >= bhi { - break - } - k := j2len[j-1] + 1 - newj2len[j] = k - if k > bestsize { - besti, bestj, bestsize = i-k+1, j-k+1, k - } - } - j2len = newj2len - } - - // Extend the best by non-junk elements on each end. In particular, - // "popular" non-junk elements aren't in b2j, which greatly speeds - // the inner loop above, but also means "the best" match so far - // doesn't contain any junk *or* popular non-junk elements. - for besti > alo && bestj > blo && !m.isBJunk(m.b[bestj-1]) && - m.a[besti-1] == m.b[bestj-1] { - besti, bestj, bestsize = besti-1, bestj-1, bestsize+1 - } - for besti+bestsize < ahi && bestj+bestsize < bhi && - !m.isBJunk(m.b[bestj+bestsize]) && - m.a[besti+bestsize] == m.b[bestj+bestsize] { - bestsize += 1 - } - - // Now that we have a wholly interesting match (albeit possibly - // empty!), we may as well suck up the matching junk on each - // side of it too. Can't think of a good reason not to, and it - // saves post-processing the (possibly considerable) expense of - // figuring out what to do with it. In the case of an empty - // interesting match, this is clearly the right thing to do, - // because no other kind of match is possible in the regions. - for besti > alo && bestj > blo && m.isBJunk(m.b[bestj-1]) && - m.a[besti-1] == m.b[bestj-1] { - besti, bestj, bestsize = besti-1, bestj-1, bestsize+1 - } - for besti+bestsize < ahi && bestj+bestsize < bhi && - m.isBJunk(m.b[bestj+bestsize]) && - m.a[besti+bestsize] == m.b[bestj+bestsize] { - bestsize += 1 - } - - return Match{A: besti, B: bestj, Size: bestsize} -} - -// Return list of triples describing matching subsequences. -// -// Each triple is of the form (i, j, n), and means that -// a[i:i+n] == b[j:j+n]. The triples are monotonically increasing in -// i and in j. It's also guaranteed that if (i, j, n) and (i', j', n') are -// adjacent triples in the list, and the second is not the last triple in the -// list, then i+n != i' or j+n != j'. IOW, adjacent triples never describe -// adjacent equal blocks. -// -// The last triple is a dummy, (len(a), len(b), 0), and is the only -// triple with n==0. -func (m *SequenceMatcher) GetMatchingBlocks() []Match { - if m.matchingBlocks != nil { - return m.matchingBlocks - } - - var matchBlocks func(alo, ahi, blo, bhi int, matched []Match) []Match - matchBlocks = func(alo, ahi, blo, bhi int, matched []Match) []Match { - match := m.findLongestMatch(alo, ahi, blo, bhi) - i, j, k := match.A, match.B, match.Size - if match.Size > 0 { - if alo < i && blo < j { - matched = matchBlocks(alo, i, blo, j, matched) - } - matched = append(matched, match) - if i+k < ahi && j+k < bhi { - matched = matchBlocks(i+k, ahi, j+k, bhi, matched) - } - } - return matched - } - matched := matchBlocks(0, len(m.a), 0, len(m.b), nil) - - // It's possible that we have adjacent equal blocks in the - // matching_blocks list now. - nonAdjacent := []Match{} - i1, j1, k1 := 0, 0, 0 - for _, b := range matched { - // Is this block adjacent to i1, j1, k1? - i2, j2, k2 := b.A, b.B, b.Size - if i1+k1 == i2 && j1+k1 == j2 { - // Yes, so collapse them -- this just increases the length of - // the first block by the length of the second, and the first - // block so lengthened remains the block to compare against. - k1 += k2 - } else { - // Not adjacent. Remember the first block (k1==0 means it's - // the dummy we started with), and make the second block the - // new block to compare against. - if k1 > 0 { - nonAdjacent = append(nonAdjacent, Match{i1, j1, k1}) - } - i1, j1, k1 = i2, j2, k2 - } - } - if k1 > 0 { - nonAdjacent = append(nonAdjacent, Match{i1, j1, k1}) - } - - nonAdjacent = append(nonAdjacent, Match{len(m.a), len(m.b), 0}) - m.matchingBlocks = nonAdjacent - return m.matchingBlocks -} - -// Return list of 5-tuples describing how to turn a into b. -// -// Each tuple is of the form (tag, i1, i2, j1, j2). The first tuple -// has i1 == j1 == 0, and remaining tuples have i1 == the i2 from the -// tuple preceding it, and likewise for j1 == the previous j2. -// -// The tags are characters, with these meanings: -// -// 'r' (replace): a[i1:i2] should be replaced by b[j1:j2] -// -// 'd' (delete): a[i1:i2] should be deleted, j1==j2 in this case. -// -// 'i' (insert): b[j1:j2] should be inserted at a[i1:i1], i1==i2 in this case. -// -// 'e' (equal): a[i1:i2] == b[j1:j2] -func (m *SequenceMatcher) GetOpCodes() []OpCode { - if m.opCodes != nil { - return m.opCodes - } - i, j := 0, 0 - matching := m.GetMatchingBlocks() - opCodes := make([]OpCode, 0, len(matching)) - for _, m := range matching { - // invariant: we've pumped out correct diffs to change - // a[:i] into b[:j], and the next matching block is - // a[ai:ai+size] == b[bj:bj+size]. So we need to pump - // out a diff to change a[i:ai] into b[j:bj], pump out - // the matching block, and move (i,j) beyond the match - ai, bj, size := m.A, m.B, m.Size - tag := byte(0) - if i < ai && j < bj { - tag = 'r' - } else if i < ai { - tag = 'd' - } else if j < bj { - tag = 'i' - } - if tag > 0 { - opCodes = append(opCodes, OpCode{tag, i, ai, j, bj}) - } - i, j = ai+size, bj+size - // the list of matching blocks is terminated by a - // sentinel with size 0 - if size > 0 { - opCodes = append(opCodes, OpCode{'e', ai, i, bj, j}) - } - } - m.opCodes = opCodes - return m.opCodes -} - -// Isolate change clusters by eliminating ranges with no changes. -// -// Return a generator of groups with up to n lines of context. -// Each group is in the same format as returned by GetOpCodes(). -func (m *SequenceMatcher) GetGroupedOpCodes(n int) [][]OpCode { - if n < 0 { - n = 3 - } - codes := m.GetOpCodes() - if len(codes) == 0 { - codes = []OpCode{OpCode{'e', 0, 1, 0, 1}} - } - // Fixup leading and trailing groups if they show no changes. - if codes[0].Tag == 'e' { - c := codes[0] - i1, i2, j1, j2 := c.I1, c.I2, c.J1, c.J2 - codes[0] = OpCode{c.Tag, max(i1, i2-n), i2, max(j1, j2-n), j2} - } - if codes[len(codes)-1].Tag == 'e' { - c := codes[len(codes)-1] - i1, i2, j1, j2 := c.I1, c.I2, c.J1, c.J2 - codes[len(codes)-1] = OpCode{c.Tag, i1, min(i2, i1+n), j1, min(j2, j1+n)} - } - nn := n + n - groups := [][]OpCode{} - group := []OpCode{} - for _, c := range codes { - i1, i2, j1, j2 := c.I1, c.I2, c.J1, c.J2 - // End the current group and start a new one whenever - // there is a large range with no changes. - if c.Tag == 'e' && i2-i1 > nn { - group = append(group, OpCode{c.Tag, i1, min(i2, i1+n), - j1, min(j2, j1+n)}) - groups = append(groups, group) - group = []OpCode{} - i1, j1 = max(i1, i2-n), max(j1, j2-n) - } - group = append(group, OpCode{c.Tag, i1, i2, j1, j2}) - } - if len(group) > 0 && !(len(group) == 1 && group[0].Tag == 'e') { - groups = append(groups, group) - } - return groups -} - -// Return a measure of the sequences' similarity (float in [0,1]). -// -// Where T is the total number of elements in both sequences, and -// M is the number of matches, this is 2.0*M / T. -// Note that this is 1 if the sequences are identical, and 0 if -// they have nothing in common. -// -// .Ratio() is expensive to compute if you haven't already computed -// .GetMatchingBlocks() or .GetOpCodes(), in which case you may -// want to try .QuickRatio() or .RealQuickRation() first to get an -// upper bound. -func (m *SequenceMatcher) Ratio() float64 { - matches := 0 - for _, m := range m.GetMatchingBlocks() { - matches += m.Size - } - return calculateRatio(matches, len(m.a)+len(m.b)) -} - -// Return an upper bound on ratio() relatively quickly. -// -// This isn't defined beyond that it is an upper bound on .Ratio(), and -// is faster to compute. -func (m *SequenceMatcher) QuickRatio() float64 { - // viewing a and b as multisets, set matches to the cardinality - // of their intersection; this counts the number of matches - // without regard to order, so is clearly an upper bound - if m.fullBCount == nil { - m.fullBCount = map[string]int{} - for _, s := range m.b { - m.fullBCount[s] = m.fullBCount[s] + 1 - } - } - - // avail[x] is the number of times x appears in 'b' less the - // number of times we've seen it in 'a' so far ... kinda - avail := map[string]int{} - matches := 0 - for _, s := range m.a { - n, ok := avail[s] - if !ok { - n = m.fullBCount[s] - } - avail[s] = n - 1 - if n > 0 { - matches += 1 - } - } - return calculateRatio(matches, len(m.a)+len(m.b)) -} - -// Return an upper bound on ratio() very quickly. -// -// This isn't defined beyond that it is an upper bound on .Ratio(), and -// is faster to compute than either .Ratio() or .QuickRatio(). -func (m *SequenceMatcher) RealQuickRatio() float64 { - la, lb := len(m.a), len(m.b) - return calculateRatio(min(la, lb), la+lb) -} - -// Convert range to the "ed" format -func formatRangeUnified(start, stop int) string { - // Per the diff spec at http://www.unix.org/single_unix_specification/ - beginning := start + 1 // lines start numbering with one - length := stop - start - if length == 1 { - return fmt.Sprintf("%d", beginning) - } - if length == 0 { - beginning -= 1 // empty ranges begin at line just before the range - } - return fmt.Sprintf("%d,%d", beginning, length) -} - -// Unified diff parameters -type UnifiedDiff struct { - A []string // First sequence lines - FromFile string // First file name - FromDate string // First file time - B []string // Second sequence lines - ToFile string // Second file name - ToDate string // Second file time - Eol string // Headers end of line, defaults to LF - Context int // Number of context lines -} - -// Compare two sequences of lines; generate the delta as a unified diff. -// -// Unified diffs are a compact way of showing line changes and a few -// lines of context. The number of context lines is set by 'n' which -// defaults to three. -// -// By default, the diff control lines (those with ---, +++, or @@) are -// created with a trailing newline. This is helpful so that inputs -// created from file.readlines() result in diffs that are suitable for -// file.writelines() since both the inputs and outputs have trailing -// newlines. -// -// For inputs that do not have trailing newlines, set the lineterm -// argument to "" so that the output will be uniformly newline free. -// -// The unidiff format normally has a header for filenames and modification -// times. Any or all of these may be specified using strings for -// 'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'. -// The modification times are normally expressed in the ISO 8601 format. -func WriteUnifiedDiff(writer io.Writer, diff UnifiedDiff) error { - buf := bufio.NewWriter(writer) - defer buf.Flush() - wf := func(format string, args ...interface{}) error { - _, err := buf.WriteString(fmt.Sprintf(format, args...)) - return err - } - ws := func(s string) error { - _, err := buf.WriteString(s) - return err - } - - if len(diff.Eol) == 0 { - diff.Eol = "\n" - } - - started := false - m := NewMatcher(diff.A, diff.B) - for _, g := range m.GetGroupedOpCodes(diff.Context) { - if !started { - started = true - fromDate := "" - if len(diff.FromDate) > 0 { - fromDate = "\t" + diff.FromDate - } - toDate := "" - if len(diff.ToDate) > 0 { - toDate = "\t" + diff.ToDate - } - if diff.FromFile != "" || diff.ToFile != "" { - err := wf("--- %s%s%s", diff.FromFile, fromDate, diff.Eol) - if err != nil { - return err - } - err = wf("+++ %s%s%s", diff.ToFile, toDate, diff.Eol) - if err != nil { - return err - } - } - } - first, last := g[0], g[len(g)-1] - range1 := formatRangeUnified(first.I1, last.I2) - range2 := formatRangeUnified(first.J1, last.J2) - if err := wf("@@ -%s +%s @@%s", range1, range2, diff.Eol); err != nil { - return err - } - for _, c := range g { - i1, i2, j1, j2 := c.I1, c.I2, c.J1, c.J2 - if c.Tag == 'e' { - for _, line := range diff.A[i1:i2] { - if err := ws(" " + line); err != nil { - return err - } - } - continue - } - if c.Tag == 'r' || c.Tag == 'd' { - for _, line := range diff.A[i1:i2] { - if err := ws("-" + line); err != nil { - return err - } - } - } - if c.Tag == 'r' || c.Tag == 'i' { - for _, line := range diff.B[j1:j2] { - if err := ws("+" + line); err != nil { - return err - } - } - } - } - } - return nil -} - -// Like WriteUnifiedDiff but returns the diff a string. -func GetUnifiedDiffString(diff UnifiedDiff) (string, error) { - w := &bytes.Buffer{} - err := WriteUnifiedDiff(w, diff) - return string(w.Bytes()), err -} - -// Convert range to the "ed" format. -func formatRangeContext(start, stop int) string { - // Per the diff spec at http://www.unix.org/single_unix_specification/ - beginning := start + 1 // lines start numbering with one - length := stop - start - if length == 0 { - beginning -= 1 // empty ranges begin at line just before the range - } - if length <= 1 { - return fmt.Sprintf("%d", beginning) - } - return fmt.Sprintf("%d,%d", beginning, beginning+length-1) -} - -type ContextDiff UnifiedDiff - -// Compare two sequences of lines; generate the delta as a context diff. -// -// Context diffs are a compact way of showing line changes and a few -// lines of context. The number of context lines is set by diff.Context -// which defaults to three. -// -// By default, the diff control lines (those with *** or ---) are -// created with a trailing newline. -// -// For inputs that do not have trailing newlines, set the diff.Eol -// argument to "" so that the output will be uniformly newline free. -// -// The context diff format normally has a header for filenames and -// modification times. Any or all of these may be specified using -// strings for diff.FromFile, diff.ToFile, diff.FromDate, diff.ToDate. -// The modification times are normally expressed in the ISO 8601 format. -// If not specified, the strings default to blanks. -func WriteContextDiff(writer io.Writer, diff ContextDiff) error { - buf := bufio.NewWriter(writer) - defer buf.Flush() - var diffErr error - wf := func(format string, args ...interface{}) { - _, err := buf.WriteString(fmt.Sprintf(format, args...)) - if diffErr == nil && err != nil { - diffErr = err - } - } - ws := func(s string) { - _, err := buf.WriteString(s) - if diffErr == nil && err != nil { - diffErr = err - } - } - - if len(diff.Eol) == 0 { - diff.Eol = "\n" - } - - prefix := map[byte]string{ - 'i': "+ ", - 'd': "- ", - 'r': "! ", - 'e': " ", - } - - started := false - m := NewMatcher(diff.A, diff.B) - for _, g := range m.GetGroupedOpCodes(diff.Context) { - if !started { - started = true - fromDate := "" - if len(diff.FromDate) > 0 { - fromDate = "\t" + diff.FromDate - } - toDate := "" - if len(diff.ToDate) > 0 { - toDate = "\t" + diff.ToDate - } - if diff.FromFile != "" || diff.ToFile != "" { - wf("*** %s%s%s", diff.FromFile, fromDate, diff.Eol) - wf("--- %s%s%s", diff.ToFile, toDate, diff.Eol) - } - } - - first, last := g[0], g[len(g)-1] - ws("***************" + diff.Eol) - - range1 := formatRangeContext(first.I1, last.I2) - wf("*** %s ****%s", range1, diff.Eol) - for _, c := range g { - if c.Tag == 'r' || c.Tag == 'd' { - for _, cc := range g { - if cc.Tag == 'i' { - continue - } - for _, line := range diff.A[cc.I1:cc.I2] { - ws(prefix[cc.Tag] + line) - } - } - break - } - } - - range2 := formatRangeContext(first.J1, last.J2) - wf("--- %s ----%s", range2, diff.Eol) - for _, c := range g { - if c.Tag == 'r' || c.Tag == 'i' { - for _, cc := range g { - if cc.Tag == 'd' { - continue - } - for _, line := range diff.B[cc.J1:cc.J2] { - ws(prefix[cc.Tag] + line) - } - } - break - } - } - } - return diffErr -} - -// Like WriteContextDiff but returns the diff a string. -func GetContextDiffString(diff ContextDiff) (string, error) { - w := &bytes.Buffer{} - err := WriteContextDiff(w, diff) - return string(w.Bytes()), err -} - -// Split a string on "\n" while preserving them. The output can be used -// as input for UnifiedDiff and ContextDiff structures. -func SplitLines(s string) []string { - lines := strings.SplitAfter(s, "\n") - lines[len(lines)-1] += "\n" - return lines -} diff --git a/vendor/github.com/russross/blackfriday/.gitignore b/vendor/github.com/russross/blackfriday/.gitignore deleted file mode 100644 index 75623dcc..00000000 --- a/vendor/github.com/russross/blackfriday/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -*.out -*.swp -*.8 -*.6 -_obj -_test* -markdown -tags diff --git a/vendor/github.com/russross/blackfriday/.travis.yml b/vendor/github.com/russross/blackfriday/.travis.yml deleted file mode 100644 index 2f3351d7..00000000 --- a/vendor/github.com/russross/blackfriday/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -sudo: false -language: go -go: - - "1.9.x" - - "1.10.x" - - tip -matrix: - fast_finish: true - allow_failures: - - go: tip -install: - - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). -script: - - go get -t -v ./... - - diff -u <(echo -n) <(gofmt -d -s .) - - go tool vet . - - go test -v -race ./... diff --git a/vendor/github.com/russross/blackfriday/LICENSE.txt b/vendor/github.com/russross/blackfriday/LICENSE.txt deleted file mode 100644 index 2885af36..00000000 --- a/vendor/github.com/russross/blackfriday/LICENSE.txt +++ /dev/null @@ -1,29 +0,0 @@ -Blackfriday is distributed under the Simplified BSD License: - -> Copyright © 2011 Russ Ross -> All rights reserved. -> -> Redistribution and use in source and binary forms, with or without -> modification, are permitted provided that the following conditions -> are met: -> -> 1. Redistributions of source code must retain the above copyright -> notice, this list of conditions and the following disclaimer. -> -> 2. Redistributions in binary form must reproduce the above -> copyright notice, this list of conditions and the following -> disclaimer in the documentation and/or other materials provided with -> the distribution. -> -> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -> "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -> LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -> FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -> COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -> INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -> BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -> LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -> CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -> LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -> ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -> POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/russross/blackfriday/README.md b/vendor/github.com/russross/blackfriday/README.md deleted file mode 100644 index 3c62e137..00000000 --- a/vendor/github.com/russross/blackfriday/README.md +++ /dev/null @@ -1,369 +0,0 @@ -Blackfriday -[![Build Status][BuildSVG]][BuildURL] -[![Godoc][GodocV2SVG]][GodocV2URL] -=========== - -Blackfriday is a [Markdown][1] processor implemented in [Go][2]. It -is paranoid about its input (so you can safely feed it user-supplied -data), it is fast, it supports common extensions (tables, smart -punctuation substitutions, etc.), and it is safe for all utf-8 -(unicode) input. - -HTML output is currently supported, along with Smartypants -extensions. - -It started as a translation from C of [Sundown][3]. - - -Installation ------------- - -Blackfriday is compatible with any modern Go release. With Go and git installed: - - go get -u gopkg.in/russross/blackfriday.v2 - -will download, compile, and install the package into your `$GOPATH` directory -hierarchy. - - -Versions --------- - -Currently maintained and recommended version of Blackfriday is `v2`. It's being -developed on its own branch: https://github.com/russross/blackfriday/tree/v2 and the -documentation is available at -https://godoc.org/gopkg.in/russross/blackfriday.v2. - -It is `go get`-able via [gopkg.in][6] at `gopkg.in/russross/blackfriday.v2`, -but we highly recommend using package management tool like [dep][7] or -[Glide][8] and make use of semantic versioning. With package management you -should import `github.com/russross/blackfriday` and specify that you're using -version 2.0.0. - -Version 2 offers a number of improvements over v1: - -* Cleaned up API -* A separate call to [`Parse`][4], which produces an abstract syntax tree for - the document -* Latest bug fixes -* Flexibility to easily add your own rendering extensions - -Potential drawbacks: - -* Our benchmarks show v2 to be slightly slower than v1. Currently in the - ballpark of around 15%. -* API breakage. If you can't afford modifying your code to adhere to the new API - and don't care too much about the new features, v2 is probably not for you. -* Several bug fixes are trailing behind and still need to be forward-ported to - v2. See issue [#348](https://github.com/russross/blackfriday/issues/348) for - tracking. - -If you are still interested in the legacy `v1`, you can import it from -`github.com/russross/blackfriday`. Documentation for the legacy v1 can be found -here: https://godoc.org/github.com/russross/blackfriday - -### Known issue with `dep` - -There is a known problem with using Blackfriday v1 _transitively_ and `dep`. -Currently `dep` prioritizes semver versions over anything else, and picks the -latest one, plus it does not apply a `[[constraint]]` specifier to transitively -pulled in packages. So if you're using something that uses Blackfriday v1, but -that something does not use `dep` yet, you will get Blackfriday v2 pulled in and -your first dependency will fail to build. - -There are couple of fixes for it, documented here: -https://github.com/golang/dep/blob/master/docs/FAQ.md#how-do-i-constrain-a-transitive-dependencys-version - -Meanwhile, `dep` team is working on a more general solution to the constraints -on transitive dependencies problem: https://github.com/golang/dep/issues/1124. - - -Usage ------ - -### v1 - -For basic usage, it is as simple as getting your input into a byte -slice and calling: - - output := blackfriday.MarkdownBasic(input) - -This renders it with no extensions enabled. To get a more useful -feature set, use this instead: - - output := blackfriday.MarkdownCommon(input) - -### v2 - -For the most sensible markdown processing, it is as simple as getting your input -into a byte slice and calling: - -```go -output := blackfriday.Run(input) -``` - -Your input will be parsed and the output rendered with a set of most popular -extensions enabled. If you want the most basic feature set, corresponding with -the bare Markdown specification, use: - -```go -output := blackfriday.Run(input, blackfriday.WithNoExtensions()) -``` - -### Sanitize untrusted content - -Blackfriday itself does nothing to protect against malicious content. If you are -dealing with user-supplied markdown, we recommend running Blackfriday's output -through HTML sanitizer such as [Bluemonday][5]. - -Here's an example of simple usage of Blackfriday together with Bluemonday: - -```go -import ( - "github.com/microcosm-cc/bluemonday" - "gopkg.in/russross/blackfriday.v2" -) - -// ... -unsafe := blackfriday.Run(input) -html := bluemonday.UGCPolicy().SanitizeBytes(unsafe) -``` - -### Custom options, v1 - -If you want to customize the set of options, first get a renderer -(currently only the HTML output engine), then use it to -call the more general `Markdown` function. For examples, see the -implementations of `MarkdownBasic` and `MarkdownCommon` in -`markdown.go`. - -### Custom options, v2 - -If you want to customize the set of options, use `blackfriday.WithExtensions`, -`blackfriday.WithRenderer` and `blackfriday.WithRefOverride`. - -### `blackfriday-tool` - -You can also check out `blackfriday-tool` for a more complete example -of how to use it. Download and install it using: - - go get github.com/russross/blackfriday-tool - -This is a simple command-line tool that allows you to process a -markdown file using a standalone program. You can also browse the -source directly on github if you are just looking for some example -code: - -* - -Note that if you have not already done so, installing -`blackfriday-tool` will be sufficient to download and install -blackfriday in addition to the tool itself. The tool binary will be -installed in `$GOPATH/bin`. This is a statically-linked binary that -can be copied to wherever you need it without worrying about -dependencies and library versions. - -### Sanitized anchor names - -Blackfriday includes an algorithm for creating sanitized anchor names -corresponding to a given input text. This algorithm is used to create -anchors for headings when `EXTENSION_AUTO_HEADER_IDS` is enabled. The -algorithm has a specification, so that other packages can create -compatible anchor names and links to those anchors. - -The specification is located at https://godoc.org/github.com/russross/blackfriday#hdr-Sanitized_Anchor_Names. - -[`SanitizedAnchorName`](https://godoc.org/github.com/russross/blackfriday#SanitizedAnchorName) exposes this functionality, and can be used to -create compatible links to the anchor names generated by blackfriday. -This algorithm is also implemented in a small standalone package at -[`github.com/shurcooL/sanitized_anchor_name`](https://godoc.org/github.com/shurcooL/sanitized_anchor_name). It can be useful for clients -that want a small package and don't need full functionality of blackfriday. - - -Features --------- - -All features of Sundown are supported, including: - -* **Compatibility**. The Markdown v1.0.3 test suite passes with - the `--tidy` option. Without `--tidy`, the differences are - mostly in whitespace and entity escaping, where blackfriday is - more consistent and cleaner. - -* **Common extensions**, including table support, fenced code - blocks, autolinks, strikethroughs, non-strict emphasis, etc. - -* **Safety**. Blackfriday is paranoid when parsing, making it safe - to feed untrusted user input without fear of bad things - happening. The test suite stress tests this and there are no - known inputs that make it crash. If you find one, please let me - know and send me the input that does it. - - NOTE: "safety" in this context means *runtime safety only*. In order to - protect yourself against JavaScript injection in untrusted content, see - [this example](https://github.com/russross/blackfriday#sanitize-untrusted-content). - -* **Fast processing**. It is fast enough to render on-demand in - most web applications without having to cache the output. - -* **Thread safety**. You can run multiple parsers in different - goroutines without ill effect. There is no dependence on global - shared state. - -* **Minimal dependencies**. Blackfriday only depends on standard - library packages in Go. The source code is pretty - self-contained, so it is easy to add to any project, including - Google App Engine projects. - -* **Standards compliant**. Output successfully validates using the - W3C validation tool for HTML 4.01 and XHTML 1.0 Transitional. - - -Extensions ----------- - -In addition to the standard markdown syntax, this package -implements the following extensions: - -* **Intra-word emphasis supression**. The `_` character is - commonly used inside words when discussing code, so having - markdown interpret it as an emphasis command is usually the - wrong thing. Blackfriday lets you treat all emphasis markers as - normal characters when they occur inside a word. - -* **Tables**. Tables can be created by drawing them in the input - using a simple syntax: - - ``` - Name | Age - --------|------ - Bob | 27 - Alice | 23 - ``` - -* **Fenced code blocks**. In addition to the normal 4-space - indentation to mark code blocks, you can explicitly mark them - and supply a language (to make syntax highlighting simple). Just - mark it like this: - - ``` go - func getTrue() bool { - return true - } - ``` - - You can use 3 or more backticks to mark the beginning of the - block, and the same number to mark the end of the block. - - To preserve classes of fenced code blocks while using the bluemonday - HTML sanitizer, use the following policy: - - ``` go - p := bluemonday.UGCPolicy() - p.AllowAttrs("class").Matching(regexp.MustCompile("^language-[a-zA-Z0-9]+$")).OnElements("code") - html := p.SanitizeBytes(unsafe) - ``` - -* **Definition lists**. A simple definition list is made of a single-line - term followed by a colon and the definition for that term. - - Cat - : Fluffy animal everyone likes - - Internet - : Vector of transmission for pictures of cats - - Terms must be separated from the previous definition by a blank line. - -* **Footnotes**. A marker in the text that will become a superscript number; - a footnote definition that will be placed in a list of footnotes at the - end of the document. A footnote looks like this: - - This is a footnote.[^1] - - [^1]: the footnote text. - -* **Autolinking**. Blackfriday can find URLs that have not been - explicitly marked as links and turn them into links. - -* **Strikethrough**. Use two tildes (`~~`) to mark text that - should be crossed out. - -* **Hard line breaks**. With this extension enabled (it is off by - default in the `MarkdownBasic` and `MarkdownCommon` convenience - functions), newlines in the input translate into line breaks in - the output. - -* **Smart quotes**. Smartypants-style punctuation substitution is - supported, turning normal double- and single-quote marks into - curly quotes, etc. - -* **LaTeX-style dash parsing** is an additional option, where `--` - is translated into `–`, and `---` is translated into - `—`. This differs from most smartypants processors, which - turn a single hyphen into an ndash and a double hyphen into an - mdash. - -* **Smart fractions**, where anything that looks like a fraction - is translated into suitable HTML (instead of just a few special - cases like most smartypant processors). For example, `4/5` - becomes `45`, which renders as - 45. - - -Other renderers ---------------- - -Blackfriday is structured to allow alternative rendering engines. Here -are a few of note: - -* [github_flavored_markdown](https://godoc.org/github.com/shurcooL/github_flavored_markdown): - provides a GitHub Flavored Markdown renderer with fenced code block - highlighting, clickable heading anchor links. - - It's not customizable, and its goal is to produce HTML output - equivalent to the [GitHub Markdown API endpoint](https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode), - except the rendering is performed locally. - -* [markdownfmt](https://github.com/shurcooL/markdownfmt): like gofmt, - but for markdown. - -* [LaTeX output](https://bitbucket.org/ambrevar/blackfriday-latex): - renders output as LaTeX. - -* [bfchroma](https://github.com/Depado/bfchroma/): provides convenience - integration with the [Chroma](https://github.com/alecthomas/chroma) code - highlighting library. bfchroma is only compatible with v2 of Blackfriday and - provides a drop-in renderer ready to use with Blackfriday, as well as - options and means for further customization. - - -TODO ----- - -* More unit testing -* Improve Unicode support. It does not understand all Unicode - rules (about what constitutes a letter, a punctuation symbol, - etc.), so it may fail to detect word boundaries correctly in - some instances. It is safe on all UTF-8 input. - - -License -------- - -[Blackfriday is distributed under the Simplified BSD License](LICENSE.txt) - - - [1]: https://daringfireball.net/projects/markdown/ "Markdown" - [2]: https://golang.org/ "Go Language" - [3]: https://github.com/vmg/sundown "Sundown" - [4]: https://godoc.org/gopkg.in/russross/blackfriday.v2#Parse "Parse func" - [5]: https://github.com/microcosm-cc/bluemonday "Bluemonday" - [6]: https://labix.org/gopkg.in "gopkg.in" - [7]: https://github.com/golang/dep/ "dep" - [8]: https://github.com/Masterminds/glide "Glide" - - [BuildSVG]: https://travis-ci.org/russross/blackfriday.svg?branch=master - [BuildURL]: https://travis-ci.org/russross/blackfriday - [GodocV2SVG]: https://godoc.org/gopkg.in/russross/blackfriday.v2?status.svg - [GodocV2URL]: https://godoc.org/gopkg.in/russross/blackfriday.v2 diff --git a/vendor/github.com/russross/blackfriday/block.go b/vendor/github.com/russross/blackfriday/block.go deleted file mode 100644 index 45c21a6c..00000000 --- a/vendor/github.com/russross/blackfriday/block.go +++ /dev/null @@ -1,1474 +0,0 @@ -// -// Blackfriday Markdown Processor -// Available at http://github.com/russross/blackfriday -// -// Copyright © 2011 Russ Ross . -// Distributed under the Simplified BSD License. -// See README.md for details. -// - -// -// Functions to parse block-level elements. -// - -package blackfriday - -import ( - "bytes" - "strings" - "unicode" -) - -// Parse block-level data. -// Note: this function and many that it calls assume that -// the input buffer ends with a newline. -func (p *parser) block(out *bytes.Buffer, data []byte) { - if len(data) == 0 || data[len(data)-1] != '\n' { - panic("block input is missing terminating newline") - } - - // this is called recursively: enforce a maximum depth - if p.nesting >= p.maxNesting { - return - } - p.nesting++ - - // parse out one block-level construct at a time - for len(data) > 0 { - // prefixed header: - // - // # Header 1 - // ## Header 2 - // ... - // ###### Header 6 - if p.isPrefixHeader(data) { - data = data[p.prefixHeader(out, data):] - continue - } - - // block of preformatted HTML: - // - //

- // ... - //
- if data[0] == '<' { - if i := p.html(out, data, true); i > 0 { - data = data[i:] - continue - } - } - - // title block - // - // % stuff - // % more stuff - // % even more stuff - if p.flags&EXTENSION_TITLEBLOCK != 0 { - if data[0] == '%' { - if i := p.titleBlock(out, data, true); i > 0 { - data = data[i:] - continue - } - } - } - - // blank lines. note: returns the # of bytes to skip - if i := p.isEmpty(data); i > 0 { - data = data[i:] - continue - } - - // indented code block: - // - // func max(a, b int) int { - // if a > b { - // return a - // } - // return b - // } - if p.codePrefix(data) > 0 { - data = data[p.code(out, data):] - continue - } - - // fenced code block: - // - // ``` go info string here - // func fact(n int) int { - // if n <= 1 { - // return n - // } - // return n * fact(n-1) - // } - // ``` - if p.flags&EXTENSION_FENCED_CODE != 0 { - if i := p.fencedCodeBlock(out, data, true); i > 0 { - data = data[i:] - continue - } - } - - // horizontal rule: - // - // ------ - // or - // ****** - // or - // ______ - if p.isHRule(data) { - p.r.HRule(out) - var i int - for i = 0; data[i] != '\n'; i++ { - } - data = data[i:] - continue - } - - // block quote: - // - // > A big quote I found somewhere - // > on the web - if p.quotePrefix(data) > 0 { - data = data[p.quote(out, data):] - continue - } - - // table: - // - // Name | Age | Phone - // ------|-----|--------- - // Bob | 31 | 555-1234 - // Alice | 27 | 555-4321 - if p.flags&EXTENSION_TABLES != 0 { - if i := p.table(out, data); i > 0 { - data = data[i:] - continue - } - } - - // an itemized/unordered list: - // - // * Item 1 - // * Item 2 - // - // also works with + or - - if p.uliPrefix(data) > 0 { - data = data[p.list(out, data, 0):] - continue - } - - // a numbered/ordered list: - // - // 1. Item 1 - // 2. Item 2 - if p.oliPrefix(data) > 0 { - data = data[p.list(out, data, LIST_TYPE_ORDERED):] - continue - } - - // definition lists: - // - // Term 1 - // : Definition a - // : Definition b - // - // Term 2 - // : Definition c - if p.flags&EXTENSION_DEFINITION_LISTS != 0 { - if p.dliPrefix(data) > 0 { - data = data[p.list(out, data, LIST_TYPE_DEFINITION):] - continue - } - } - - // anything else must look like a normal paragraph - // note: this finds underlined headers, too - data = data[p.paragraph(out, data):] - } - - p.nesting-- -} - -func (p *parser) isPrefixHeader(data []byte) bool { - if data[0] != '#' { - return false - } - - if p.flags&EXTENSION_SPACE_HEADERS != 0 { - level := 0 - for level < 6 && data[level] == '#' { - level++ - } - if data[level] != ' ' { - return false - } - } - return true -} - -func (p *parser) prefixHeader(out *bytes.Buffer, data []byte) int { - level := 0 - for level < 6 && data[level] == '#' { - level++ - } - i := skipChar(data, level, ' ') - end := skipUntilChar(data, i, '\n') - skip := end - id := "" - if p.flags&EXTENSION_HEADER_IDS != 0 { - j, k := 0, 0 - // find start/end of header id - for j = i; j < end-1 && (data[j] != '{' || data[j+1] != '#'); j++ { - } - for k = j + 1; k < end && data[k] != '}'; k++ { - } - // extract header id iff found - if j < end && k < end { - id = string(data[j+2 : k]) - end = j - skip = k + 1 - for end > 0 && data[end-1] == ' ' { - end-- - } - } - } - for end > 0 && data[end-1] == '#' { - if isBackslashEscaped(data, end-1) { - break - } - end-- - } - for end > 0 && data[end-1] == ' ' { - end-- - } - if end > i { - if id == "" && p.flags&EXTENSION_AUTO_HEADER_IDS != 0 { - id = SanitizedAnchorName(string(data[i:end])) - } - work := func() bool { - p.inline(out, data[i:end]) - return true - } - p.r.Header(out, work, level, id) - } - return skip -} - -func (p *parser) isUnderlinedHeader(data []byte) int { - // test of level 1 header - if data[0] == '=' { - i := skipChar(data, 1, '=') - i = skipChar(data, i, ' ') - if data[i] == '\n' { - return 1 - } else { - return 0 - } - } - - // test of level 2 header - if data[0] == '-' { - i := skipChar(data, 1, '-') - i = skipChar(data, i, ' ') - if data[i] == '\n' { - return 2 - } else { - return 0 - } - } - - return 0 -} - -func (p *parser) titleBlock(out *bytes.Buffer, data []byte, doRender bool) int { - if data[0] != '%' { - return 0 - } - splitData := bytes.Split(data, []byte("\n")) - var i int - for idx, b := range splitData { - if !bytes.HasPrefix(b, []byte("%")) { - i = idx // - 1 - break - } - } - - data = bytes.Join(splitData[0:i], []byte("\n")) - p.r.TitleBlock(out, data) - - return len(data) -} - -func (p *parser) html(out *bytes.Buffer, data []byte, doRender bool) int { - var i, j int - - // identify the opening tag - if data[0] != '<' { - return 0 - } - curtag, tagfound := p.htmlFindTag(data[1:]) - - // handle special cases - if !tagfound { - // check for an HTML comment - if size := p.htmlComment(out, data, doRender); size > 0 { - return size - } - - // check for an
tag - if size := p.htmlHr(out, data, doRender); size > 0 { - return size - } - - // check for HTML CDATA - if size := p.htmlCDATA(out, data, doRender); size > 0 { - return size - } - - // no special case recognized - return 0 - } - - // look for an unindented matching closing tag - // followed by a blank line - found := false - /* - closetag := []byte("\n") - j = len(curtag) + 1 - for !found { - // scan for a closing tag at the beginning of a line - if skip := bytes.Index(data[j:], closetag); skip >= 0 { - j += skip + len(closetag) - } else { - break - } - - // see if it is the only thing on the line - if skip := p.isEmpty(data[j:]); skip > 0 { - // see if it is followed by a blank line/eof - j += skip - if j >= len(data) { - found = true - i = j - } else { - if skip := p.isEmpty(data[j:]); skip > 0 { - j += skip - found = true - i = j - } - } - } - } - */ - - // if not found, try a second pass looking for indented match - // but not if tag is "ins" or "del" (following original Markdown.pl) - if !found && curtag != "ins" && curtag != "del" { - i = 1 - for i < len(data) { - i++ - for i < len(data) && !(data[i-1] == '<' && data[i] == '/') { - i++ - } - - if i+2+len(curtag) >= len(data) { - break - } - - j = p.htmlFindEnd(curtag, data[i-1:]) - - if j > 0 { - i += j - 1 - found = true - break - } - } - } - - if !found { - return 0 - } - - // the end of the block has been found - if doRender { - // trim newlines - end := i - for end > 0 && data[end-1] == '\n' { - end-- - } - p.r.BlockHtml(out, data[:end]) - } - - return i -} - -func (p *parser) renderHTMLBlock(out *bytes.Buffer, data []byte, start int, doRender bool) int { - // html block needs to end with a blank line - if i := p.isEmpty(data[start:]); i > 0 { - size := start + i - if doRender { - // trim trailing newlines - end := size - for end > 0 && data[end-1] == '\n' { - end-- - } - p.r.BlockHtml(out, data[:end]) - } - return size - } - return 0 -} - -// HTML comment, lax form -func (p *parser) htmlComment(out *bytes.Buffer, data []byte, doRender bool) int { - i := p.inlineHTMLComment(out, data) - return p.renderHTMLBlock(out, data, i, doRender) -} - -// HTML CDATA section -func (p *parser) htmlCDATA(out *bytes.Buffer, data []byte, doRender bool) int { - const cdataTag = "') { - i++ - } - i++ - // no end-of-comment marker - if i >= len(data) { - return 0 - } - return p.renderHTMLBlock(out, data, i, doRender) -} - -// HR, which is the only self-closing block tag considered -func (p *parser) htmlHr(out *bytes.Buffer, data []byte, doRender bool) int { - if data[0] != '<' || (data[1] != 'h' && data[1] != 'H') || (data[2] != 'r' && data[2] != 'R') { - return 0 - } - if data[3] != ' ' && data[3] != '/' && data[3] != '>' { - // not an
tag after all; at least not a valid one - return 0 - } - - i := 3 - for data[i] != '>' && data[i] != '\n' { - i++ - } - - if data[i] == '>' { - return p.renderHTMLBlock(out, data, i+1, doRender) - } - - return 0 -} - -func (p *parser) htmlFindTag(data []byte) (string, bool) { - i := 0 - for isalnum(data[i]) { - i++ - } - key := string(data[:i]) - if _, ok := blockTags[key]; ok { - return key, true - } - return "", false -} - -func (p *parser) htmlFindEnd(tag string, data []byte) int { - // assume data[0] == '<' && data[1] == '/' already tested - - // check if tag is a match - closetag := []byte("") - if !bytes.HasPrefix(data, closetag) { - return 0 - } - i := len(closetag) - - // check that the rest of the line is blank - skip := 0 - if skip = p.isEmpty(data[i:]); skip == 0 { - return 0 - } - i += skip - skip = 0 - - if i >= len(data) { - return i - } - - if p.flags&EXTENSION_LAX_HTML_BLOCKS != 0 { - return i - } - if skip = p.isEmpty(data[i:]); skip == 0 { - // following line must be blank - return 0 - } - - return i + skip -} - -func (*parser) isEmpty(data []byte) int { - // it is okay to call isEmpty on an empty buffer - if len(data) == 0 { - return 0 - } - - var i int - for i = 0; i < len(data) && data[i] != '\n'; i++ { - if data[i] != ' ' && data[i] != '\t' { - return 0 - } - } - return i + 1 -} - -func (*parser) isHRule(data []byte) bool { - i := 0 - - // skip up to three spaces - for i < 3 && data[i] == ' ' { - i++ - } - - // look at the hrule char - if data[i] != '*' && data[i] != '-' && data[i] != '_' { - return false - } - c := data[i] - - // the whole line must be the char or whitespace - n := 0 - for data[i] != '\n' { - switch { - case data[i] == c: - n++ - case data[i] != ' ': - return false - } - i++ - } - - return n >= 3 -} - -// isFenceLine checks if there's a fence line (e.g., ``` or ``` go) at the beginning of data, -// and returns the end index if so, or 0 otherwise. It also returns the marker found. -// If syntax is not nil, it gets set to the syntax specified in the fence line. -// A final newline is mandatory to recognize the fence line, unless newlineOptional is true. -func isFenceLine(data []byte, info *string, oldmarker string, newlineOptional bool) (end int, marker string) { - i, size := 0, 0 - - // skip up to three spaces - for i < len(data) && i < 3 && data[i] == ' ' { - i++ - } - - // check for the marker characters: ~ or ` - if i >= len(data) { - return 0, "" - } - if data[i] != '~' && data[i] != '`' { - return 0, "" - } - - c := data[i] - - // the whole line must be the same char or whitespace - for i < len(data) && data[i] == c { - size++ - i++ - } - - // the marker char must occur at least 3 times - if size < 3 { - return 0, "" - } - marker = string(data[i-size : i]) - - // if this is the end marker, it must match the beginning marker - if oldmarker != "" && marker != oldmarker { - return 0, "" - } - - // TODO(shurcooL): It's probably a good idea to simplify the 2 code paths here - // into one, always get the info string, and discard it if the caller doesn't care. - if info != nil { - infoLength := 0 - i = skipChar(data, i, ' ') - - if i >= len(data) { - if newlineOptional && i == len(data) { - return i, marker - } - return 0, "" - } - - infoStart := i - - if data[i] == '{' { - i++ - infoStart++ - - for i < len(data) && data[i] != '}' && data[i] != '\n' { - infoLength++ - i++ - } - - if i >= len(data) || data[i] != '}' { - return 0, "" - } - - // strip all whitespace at the beginning and the end - // of the {} block - for infoLength > 0 && isspace(data[infoStart]) { - infoStart++ - infoLength-- - } - - for infoLength > 0 && isspace(data[infoStart+infoLength-1]) { - infoLength-- - } - - i++ - } else { - for i < len(data) && !isverticalspace(data[i]) { - infoLength++ - i++ - } - } - - *info = strings.TrimSpace(string(data[infoStart : infoStart+infoLength])) - } - - i = skipChar(data, i, ' ') - if i >= len(data) || data[i] != '\n' { - if newlineOptional && i == len(data) { - return i, marker - } - return 0, "" - } - - return i + 1, marker // Take newline into account. -} - -// fencedCodeBlock returns the end index if data contains a fenced code block at the beginning, -// or 0 otherwise. It writes to out if doRender is true, otherwise it has no side effects. -// If doRender is true, a final newline is mandatory to recognize the fenced code block. -func (p *parser) fencedCodeBlock(out *bytes.Buffer, data []byte, doRender bool) int { - var infoString string - beg, marker := isFenceLine(data, &infoString, "", false) - if beg == 0 || beg >= len(data) { - return 0 - } - - var work bytes.Buffer - - for { - // safe to assume beg < len(data) - - // check for the end of the code block - newlineOptional := !doRender - fenceEnd, _ := isFenceLine(data[beg:], nil, marker, newlineOptional) - if fenceEnd != 0 { - beg += fenceEnd - break - } - - // copy the current line - end := skipUntilChar(data, beg, '\n') + 1 - - // did we reach the end of the buffer without a closing marker? - if end >= len(data) { - return 0 - } - - // verbatim copy to the working buffer - if doRender { - work.Write(data[beg:end]) - } - beg = end - } - - if doRender { - p.r.BlockCode(out, work.Bytes(), infoString) - } - - return beg -} - -func (p *parser) table(out *bytes.Buffer, data []byte) int { - var header bytes.Buffer - i, columns := p.tableHeader(&header, data) - if i == 0 { - return 0 - } - - var body bytes.Buffer - - for i < len(data) { - pipes, rowStart := 0, i - for ; data[i] != '\n'; i++ { - if data[i] == '|' { - pipes++ - } - } - - if pipes == 0 { - i = rowStart - break - } - - // include the newline in data sent to tableRow - i++ - p.tableRow(&body, data[rowStart:i], columns, false) - } - - p.r.Table(out, header.Bytes(), body.Bytes(), columns) - - return i -} - -// check if the specified position is preceded by an odd number of backslashes -func isBackslashEscaped(data []byte, i int) bool { - backslashes := 0 - for i-backslashes-1 >= 0 && data[i-backslashes-1] == '\\' { - backslashes++ - } - return backslashes&1 == 1 -} - -func (p *parser) tableHeader(out *bytes.Buffer, data []byte) (size int, columns []int) { - i := 0 - colCount := 1 - for i = 0; data[i] != '\n'; i++ { - if data[i] == '|' && !isBackslashEscaped(data, i) { - colCount++ - } - } - - // doesn't look like a table header - if colCount == 1 { - return - } - - // include the newline in the data sent to tableRow - header := data[:i+1] - - // column count ignores pipes at beginning or end of line - if data[0] == '|' { - colCount-- - } - if i > 2 && data[i-1] == '|' && !isBackslashEscaped(data, i-1) { - colCount-- - } - - columns = make([]int, colCount) - - // move on to the header underline - i++ - if i >= len(data) { - return - } - - if data[i] == '|' && !isBackslashEscaped(data, i) { - i++ - } - i = skipChar(data, i, ' ') - - // each column header is of form: / *:?-+:? *|/ with # dashes + # colons >= 3 - // and trailing | optional on last column - col := 0 - for data[i] != '\n' { - dashes := 0 - - if data[i] == ':' { - i++ - columns[col] |= TABLE_ALIGNMENT_LEFT - dashes++ - } - for data[i] == '-' { - i++ - dashes++ - } - if data[i] == ':' { - i++ - columns[col] |= TABLE_ALIGNMENT_RIGHT - dashes++ - } - for data[i] == ' ' { - i++ - } - - // end of column test is messy - switch { - case dashes < 3: - // not a valid column - return - - case data[i] == '|' && !isBackslashEscaped(data, i): - // marker found, now skip past trailing whitespace - col++ - i++ - for data[i] == ' ' { - i++ - } - - // trailing junk found after last column - if col >= colCount && data[i] != '\n' { - return - } - - case (data[i] != '|' || isBackslashEscaped(data, i)) && col+1 < colCount: - // something else found where marker was required - return - - case data[i] == '\n': - // marker is optional for the last column - col++ - - default: - // trailing junk found after last column - return - } - } - if col != colCount { - return - } - - p.tableRow(out, header, columns, true) - size = i + 1 - return -} - -func (p *parser) tableRow(out *bytes.Buffer, data []byte, columns []int, header bool) { - i, col := 0, 0 - var rowWork bytes.Buffer - - if data[i] == '|' && !isBackslashEscaped(data, i) { - i++ - } - - for col = 0; col < len(columns) && i < len(data); col++ { - for data[i] == ' ' { - i++ - } - - cellStart := i - - for (data[i] != '|' || isBackslashEscaped(data, i)) && data[i] != '\n' { - i++ - } - - cellEnd := i - - // skip the end-of-cell marker, possibly taking us past end of buffer - i++ - - for cellEnd > cellStart && data[cellEnd-1] == ' ' { - cellEnd-- - } - - var cellWork bytes.Buffer - p.inline(&cellWork, data[cellStart:cellEnd]) - - if header { - p.r.TableHeaderCell(&rowWork, cellWork.Bytes(), columns[col]) - } else { - p.r.TableCell(&rowWork, cellWork.Bytes(), columns[col]) - } - } - - // pad it out with empty columns to get the right number - for ; col < len(columns); col++ { - if header { - p.r.TableHeaderCell(&rowWork, nil, columns[col]) - } else { - p.r.TableCell(&rowWork, nil, columns[col]) - } - } - - // silently ignore rows with too many cells - - p.r.TableRow(out, rowWork.Bytes()) -} - -// returns blockquote prefix length -func (p *parser) quotePrefix(data []byte) int { - i := 0 - for i < 3 && data[i] == ' ' { - i++ - } - if data[i] == '>' { - if data[i+1] == ' ' { - return i + 2 - } - return i + 1 - } - return 0 -} - -// blockquote ends with at least one blank line -// followed by something without a blockquote prefix -func (p *parser) terminateBlockquote(data []byte, beg, end int) bool { - if p.isEmpty(data[beg:]) <= 0 { - return false - } - if end >= len(data) { - return true - } - return p.quotePrefix(data[end:]) == 0 && p.isEmpty(data[end:]) == 0 -} - -// parse a blockquote fragment -func (p *parser) quote(out *bytes.Buffer, data []byte) int { - var raw bytes.Buffer - beg, end := 0, 0 - for beg < len(data) { - end = beg - // Step over whole lines, collecting them. While doing that, check for - // fenced code and if one's found, incorporate it altogether, - // irregardless of any contents inside it - for data[end] != '\n' { - if p.flags&EXTENSION_FENCED_CODE != 0 { - if i := p.fencedCodeBlock(out, data[end:], false); i > 0 { - // -1 to compensate for the extra end++ after the loop: - end += i - 1 - break - } - } - end++ - } - end++ - - if pre := p.quotePrefix(data[beg:]); pre > 0 { - // skip the prefix - beg += pre - } else if p.terminateBlockquote(data, beg, end) { - break - } - - // this line is part of the blockquote - raw.Write(data[beg:end]) - beg = end - } - - var cooked bytes.Buffer - p.block(&cooked, raw.Bytes()) - p.r.BlockQuote(out, cooked.Bytes()) - return end -} - -// returns prefix length for block code -func (p *parser) codePrefix(data []byte) int { - if data[0] == ' ' && data[1] == ' ' && data[2] == ' ' && data[3] == ' ' { - return 4 - } - return 0 -} - -func (p *parser) code(out *bytes.Buffer, data []byte) int { - var work bytes.Buffer - - i := 0 - for i < len(data) { - beg := i - for data[i] != '\n' { - i++ - } - i++ - - blankline := p.isEmpty(data[beg:i]) > 0 - if pre := p.codePrefix(data[beg:i]); pre > 0 { - beg += pre - } else if !blankline { - // non-empty, non-prefixed line breaks the pre - i = beg - break - } - - // verbatim copy to the working buffeu - if blankline { - work.WriteByte('\n') - } else { - work.Write(data[beg:i]) - } - } - - // trim all the \n off the end of work - workbytes := work.Bytes() - eol := len(workbytes) - for eol > 0 && workbytes[eol-1] == '\n' { - eol-- - } - if eol != len(workbytes) { - work.Truncate(eol) - } - - work.WriteByte('\n') - - p.r.BlockCode(out, work.Bytes(), "") - - return i -} - -// returns unordered list item prefix -func (p *parser) uliPrefix(data []byte) int { - i := 0 - - // start with up to 3 spaces - for i < 3 && data[i] == ' ' { - i++ - } - - // need a *, +, or - followed by a space - if (data[i] != '*' && data[i] != '+' && data[i] != '-') || - data[i+1] != ' ' { - return 0 - } - return i + 2 -} - -// returns ordered list item prefix -func (p *parser) oliPrefix(data []byte) int { - i := 0 - - // start with up to 3 spaces - for i < 3 && data[i] == ' ' { - i++ - } - - // count the digits - start := i - for data[i] >= '0' && data[i] <= '9' { - i++ - } - - // we need >= 1 digits followed by a dot and a space - if start == i || data[i] != '.' || data[i+1] != ' ' { - return 0 - } - return i + 2 -} - -// returns definition list item prefix -func (p *parser) dliPrefix(data []byte) int { - i := 0 - - // need a : followed by a spaces - if data[i] != ':' || data[i+1] != ' ' { - return 0 - } - for data[i] == ' ' { - i++ - } - return i + 2 -} - -// parse ordered or unordered list block -func (p *parser) list(out *bytes.Buffer, data []byte, flags int) int { - i := 0 - flags |= LIST_ITEM_BEGINNING_OF_LIST - work := func() bool { - for i < len(data) { - skip := p.listItem(out, data[i:], &flags) - i += skip - - if skip == 0 || flags&LIST_ITEM_END_OF_LIST != 0 { - break - } - flags &= ^LIST_ITEM_BEGINNING_OF_LIST - } - return true - } - - p.r.List(out, work, flags) - return i -} - -// Parse a single list item. -// Assumes initial prefix is already removed if this is a sublist. -func (p *parser) listItem(out *bytes.Buffer, data []byte, flags *int) int { - // keep track of the indentation of the first line - itemIndent := 0 - for itemIndent < 3 && data[itemIndent] == ' ' { - itemIndent++ - } - - i := p.uliPrefix(data) - if i == 0 { - i = p.oliPrefix(data) - } - if i == 0 { - i = p.dliPrefix(data) - // reset definition term flag - if i > 0 { - *flags &= ^LIST_TYPE_TERM - } - } - if i == 0 { - // if in defnition list, set term flag and continue - if *flags&LIST_TYPE_DEFINITION != 0 { - *flags |= LIST_TYPE_TERM - } else { - return 0 - } - } - - // skip leading whitespace on first line - for data[i] == ' ' { - i++ - } - - // find the end of the line - line := i - for i > 0 && data[i-1] != '\n' { - i++ - } - - // get working buffer - var raw bytes.Buffer - - // put the first line into the working buffer - raw.Write(data[line:i]) - line = i - - // process the following lines - containsBlankLine := false - sublist := 0 - codeBlockMarker := "" - -gatherlines: - for line < len(data) { - i++ - - // find the end of this line - for data[i-1] != '\n' { - i++ - } - - // if it is an empty line, guess that it is part of this item - // and move on to the next line - if p.isEmpty(data[line:i]) > 0 { - containsBlankLine = true - raw.Write(data[line:i]) - line = i - continue - } - - // calculate the indentation - indent := 0 - for indent < 4 && line+indent < i && data[line+indent] == ' ' { - indent++ - } - - chunk := data[line+indent : i] - - if p.flags&EXTENSION_FENCED_CODE != 0 { - // determine if in or out of codeblock - // if in codeblock, ignore normal list processing - _, marker := isFenceLine(chunk, nil, codeBlockMarker, false) - if marker != "" { - if codeBlockMarker == "" { - // start of codeblock - codeBlockMarker = marker - } else { - // end of codeblock. - *flags |= LIST_ITEM_CONTAINS_BLOCK - codeBlockMarker = "" - } - } - // we are in a codeblock, write line, and continue - if codeBlockMarker != "" || marker != "" { - raw.Write(data[line+indent : i]) - line = i - continue gatherlines - } - } - - // evaluate how this line fits in - switch { - // is this a nested list item? - case (p.uliPrefix(chunk) > 0 && !p.isHRule(chunk)) || - p.oliPrefix(chunk) > 0 || - p.dliPrefix(chunk) > 0: - - if containsBlankLine { - // end the list if the type changed after a blank line - if indent <= itemIndent && - ((*flags&LIST_TYPE_ORDERED != 0 && p.uliPrefix(chunk) > 0) || - (*flags&LIST_TYPE_ORDERED == 0 && p.oliPrefix(chunk) > 0)) { - - *flags |= LIST_ITEM_END_OF_LIST - break gatherlines - } - *flags |= LIST_ITEM_CONTAINS_BLOCK - } - - // to be a nested list, it must be indented more - // if not, it is the next item in the same list - if indent <= itemIndent { - break gatherlines - } - - // is this the first item in the nested list? - if sublist == 0 { - sublist = raw.Len() - } - - // is this a nested prefix header? - case p.isPrefixHeader(chunk): - // if the header is not indented, it is not nested in the list - // and thus ends the list - if containsBlankLine && indent < 4 { - *flags |= LIST_ITEM_END_OF_LIST - break gatherlines - } - *flags |= LIST_ITEM_CONTAINS_BLOCK - - // anything following an empty line is only part - // of this item if it is indented 4 spaces - // (regardless of the indentation of the beginning of the item) - case containsBlankLine && indent < 4: - if *flags&LIST_TYPE_DEFINITION != 0 && i < len(data)-1 { - // is the next item still a part of this list? - next := i - for data[next] != '\n' { - next++ - } - for next < len(data)-1 && data[next] == '\n' { - next++ - } - if i < len(data)-1 && data[i] != ':' && data[next] != ':' { - *flags |= LIST_ITEM_END_OF_LIST - } - } else { - *flags |= LIST_ITEM_END_OF_LIST - } - break gatherlines - - // a blank line means this should be parsed as a block - case containsBlankLine: - *flags |= LIST_ITEM_CONTAINS_BLOCK - } - - containsBlankLine = false - - // add the line into the working buffer without prefix - raw.Write(data[line+indent : i]) - - line = i - } - - // If reached end of data, the Renderer.ListItem call we're going to make below - // is definitely the last in the list. - if line >= len(data) { - *flags |= LIST_ITEM_END_OF_LIST - } - - rawBytes := raw.Bytes() - - // render the contents of the list item - var cooked bytes.Buffer - if *flags&LIST_ITEM_CONTAINS_BLOCK != 0 && *flags&LIST_TYPE_TERM == 0 { - // intermediate render of block item, except for definition term - if sublist > 0 { - p.block(&cooked, rawBytes[:sublist]) - p.block(&cooked, rawBytes[sublist:]) - } else { - p.block(&cooked, rawBytes) - } - } else { - // intermediate render of inline item - if sublist > 0 { - p.inline(&cooked, rawBytes[:sublist]) - p.block(&cooked, rawBytes[sublist:]) - } else { - p.inline(&cooked, rawBytes) - } - } - - // render the actual list item - cookedBytes := cooked.Bytes() - parsedEnd := len(cookedBytes) - - // strip trailing newlines - for parsedEnd > 0 && cookedBytes[parsedEnd-1] == '\n' { - parsedEnd-- - } - p.r.ListItem(out, cookedBytes[:parsedEnd], *flags) - - return line -} - -// render a single paragraph that has already been parsed out -func (p *parser) renderParagraph(out *bytes.Buffer, data []byte) { - if len(data) == 0 { - return - } - - // trim leading spaces - beg := 0 - for data[beg] == ' ' { - beg++ - } - - // trim trailing newline - end := len(data) - 1 - - // trim trailing spaces - for end > beg && data[end-1] == ' ' { - end-- - } - - work := func() bool { - p.inline(out, data[beg:end]) - return true - } - p.r.Paragraph(out, work) -} - -func (p *parser) paragraph(out *bytes.Buffer, data []byte) int { - // prev: index of 1st char of previous line - // line: index of 1st char of current line - // i: index of cursor/end of current line - var prev, line, i int - - // keep going until we find something to mark the end of the paragraph - for i < len(data) { - // mark the beginning of the current line - prev = line - current := data[i:] - line = i - - // did we find a blank line marking the end of the paragraph? - if n := p.isEmpty(current); n > 0 { - // did this blank line followed by a definition list item? - if p.flags&EXTENSION_DEFINITION_LISTS != 0 { - if i < len(data)-1 && data[i+1] == ':' { - return p.list(out, data[prev:], LIST_TYPE_DEFINITION) - } - } - - p.renderParagraph(out, data[:i]) - return i + n - } - - // an underline under some text marks a header, so our paragraph ended on prev line - if i > 0 { - if level := p.isUnderlinedHeader(current); level > 0 { - // render the paragraph - p.renderParagraph(out, data[:prev]) - - // ignore leading and trailing whitespace - eol := i - 1 - for prev < eol && data[prev] == ' ' { - prev++ - } - for eol > prev && data[eol-1] == ' ' { - eol-- - } - - // render the header - // this ugly double closure avoids forcing variables onto the heap - work := func(o *bytes.Buffer, pp *parser, d []byte) func() bool { - return func() bool { - pp.inline(o, d) - return true - } - }(out, p, data[prev:eol]) - - id := "" - if p.flags&EXTENSION_AUTO_HEADER_IDS != 0 { - id = SanitizedAnchorName(string(data[prev:eol])) - } - - p.r.Header(out, work, level, id) - - // find the end of the underline - for data[i] != '\n' { - i++ - } - return i - } - } - - // if the next line starts a block of HTML, then the paragraph ends here - if p.flags&EXTENSION_LAX_HTML_BLOCKS != 0 { - if data[i] == '<' && p.html(out, current, false) > 0 { - // rewind to before the HTML block - p.renderParagraph(out, data[:i]) - return i - } - } - - // if there's a prefixed header or a horizontal rule after this, paragraph is over - if p.isPrefixHeader(current) || p.isHRule(current) { - p.renderParagraph(out, data[:i]) - return i - } - - // if there's a fenced code block, paragraph is over - if p.flags&EXTENSION_FENCED_CODE != 0 { - if p.fencedCodeBlock(out, current, false) > 0 { - p.renderParagraph(out, data[:i]) - return i - } - } - - // if there's a definition list item, prev line is a definition term - if p.flags&EXTENSION_DEFINITION_LISTS != 0 { - if p.dliPrefix(current) != 0 { - return p.list(out, data[prev:], LIST_TYPE_DEFINITION) - } - } - - // if there's a list after this, paragraph is over - if p.flags&EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK != 0 { - if p.uliPrefix(current) != 0 || - p.oliPrefix(current) != 0 || - p.quotePrefix(current) != 0 || - p.codePrefix(current) != 0 { - p.renderParagraph(out, data[:i]) - return i - } - } - - // otherwise, scan to the beginning of the next line - for data[i] != '\n' { - i++ - } - i++ - } - - p.renderParagraph(out, data[:i]) - return i -} - -// SanitizedAnchorName returns a sanitized anchor name for the given text. -// -// It implements the algorithm specified in the package comment. -func SanitizedAnchorName(text string) string { - var anchorName []rune - futureDash := false - for _, r := range text { - switch { - case unicode.IsLetter(r) || unicode.IsNumber(r): - if futureDash && len(anchorName) > 0 { - anchorName = append(anchorName, '-') - } - futureDash = false - anchorName = append(anchorName, unicode.ToLower(r)) - default: - futureDash = true - } - } - return string(anchorName) -} diff --git a/vendor/github.com/russross/blackfriday/doc.go b/vendor/github.com/russross/blackfriday/doc.go deleted file mode 100644 index 9656c42a..00000000 --- a/vendor/github.com/russross/blackfriday/doc.go +++ /dev/null @@ -1,32 +0,0 @@ -// Package blackfriday is a Markdown processor. -// -// It translates plain text with simple formatting rules into HTML or LaTeX. -// -// Sanitized Anchor Names -// -// Blackfriday includes an algorithm for creating sanitized anchor names -// corresponding to a given input text. This algorithm is used to create -// anchors for headings when EXTENSION_AUTO_HEADER_IDS is enabled. The -// algorithm is specified below, so that other packages can create -// compatible anchor names and links to those anchors. -// -// The algorithm iterates over the input text, interpreted as UTF-8, -// one Unicode code point (rune) at a time. All runes that are letters (category L) -// or numbers (category N) are considered valid characters. They are mapped to -// lower case, and included in the output. All other runes are considered -// invalid characters. Invalid characters that preceed the first valid character, -// as well as invalid character that follow the last valid character -// are dropped completely. All other sequences of invalid characters -// between two valid characters are replaced with a single dash character '-'. -// -// SanitizedAnchorName exposes this functionality, and can be used to -// create compatible links to the anchor names generated by blackfriday. -// This algorithm is also implemented in a small standalone package at -// github.com/shurcooL/sanitized_anchor_name. It can be useful for clients -// that want a small package and don't need full functionality of blackfriday. -package blackfriday - -// NOTE: Keep Sanitized Anchor Name algorithm in sync with package -// github.com/shurcooL/sanitized_anchor_name. -// Otherwise, users of sanitized_anchor_name will get anchor names -// that are incompatible with those generated by blackfriday. diff --git a/vendor/github.com/russross/blackfriday/html.go b/vendor/github.com/russross/blackfriday/html.go deleted file mode 100644 index e0a6c69c..00000000 --- a/vendor/github.com/russross/blackfriday/html.go +++ /dev/null @@ -1,938 +0,0 @@ -// -// Blackfriday Markdown Processor -// Available at http://github.com/russross/blackfriday -// -// Copyright © 2011 Russ Ross . -// Distributed under the Simplified BSD License. -// See README.md for details. -// - -// -// -// HTML rendering backend -// -// - -package blackfriday - -import ( - "bytes" - "fmt" - "regexp" - "strconv" - "strings" -) - -// Html renderer configuration options. -const ( - HTML_SKIP_HTML = 1 << iota // skip preformatted HTML blocks - HTML_SKIP_STYLE // skip embedded - - -

/debug/events

- - - {{range $i, $fam := .Families}} - - - - {{range $j, $bucket := $.Buckets}} - {{$n := index $.Counts $i $j}} - - {{end}} - - {{end}} -
{{$fam}} - {{if $n}}{{end}} - [{{$n}} {{$bucket.String}}] - {{if $n}}{{end}} -
- -{{if $.EventLogs}} -
-

Family: {{$.Family}}

- -{{if $.Expanded}}{{end}} -[Summary]{{if $.Expanded}}{{end}} - -{{if not $.Expanded}}{{end}} -[Expanded]{{if not $.Expanded}}{{end}} - - - - {{range $el := $.EventLogs}} - - - - - {{if $.Expanded}} - - - - - - {{range $el.Events}} - - - - - - {{end}} - {{end}} - {{end}} -
WhenElapsed
{{$el.When}}{{$el.ElapsedTime}}{{$el.Title}} -
{{$el.Stack|trimSpace}}
{{.WhenString}}{{elapsed .Elapsed}}.{{if .IsErr}}E{{else}}.{{end}}. {{.What}}
-{{end}} - - -` diff --git a/vendor/golang.org/x/net/trace/histogram.go b/vendor/golang.org/x/net/trace/histogram.go deleted file mode 100644 index d6c71101..00000000 --- a/vendor/golang.org/x/net/trace/histogram.go +++ /dev/null @@ -1,365 +0,0 @@ -// 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. - -package trace - -// This file implements histogramming for RPC statistics collection. - -import ( - "bytes" - "fmt" - "html/template" - "log" - "math" - "sync" - - "golang.org/x/net/internal/timeseries" -) - -const ( - bucketCount = 38 -) - -// histogram keeps counts of values in buckets that are spaced -// out in powers of 2: 0-1, 2-3, 4-7... -// histogram implements timeseries.Observable -type histogram struct { - sum int64 // running total of measurements - sumOfSquares float64 // square of running total - buckets []int64 // bucketed values for histogram - value int // holds a single value as an optimization - valueCount int64 // number of values recorded for single value -} - -// addMeasurement records a value measurement observation to the histogram. -func (h *histogram) addMeasurement(value int64) { - // TODO: assert invariant - h.sum += value - h.sumOfSquares += float64(value) * float64(value) - - bucketIndex := getBucket(value) - - if h.valueCount == 0 || (h.valueCount > 0 && h.value == bucketIndex) { - h.value = bucketIndex - h.valueCount++ - } else { - h.allocateBuckets() - h.buckets[bucketIndex]++ - } -} - -func (h *histogram) allocateBuckets() { - if h.buckets == nil { - h.buckets = make([]int64, bucketCount) - h.buckets[h.value] = h.valueCount - h.value = 0 - h.valueCount = -1 - } -} - -func log2(i int64) int { - n := 0 - for ; i >= 0x100; i >>= 8 { - n += 8 - } - for ; i > 0; i >>= 1 { - n += 1 - } - return n -} - -func getBucket(i int64) (index int) { - index = log2(i) - 1 - if index < 0 { - index = 0 - } - if index >= bucketCount { - index = bucketCount - 1 - } - return -} - -// Total returns the number of recorded observations. -func (h *histogram) total() (total int64) { - if h.valueCount >= 0 { - total = h.valueCount - } - for _, val := range h.buckets { - total += int64(val) - } - return -} - -// Average returns the average value of recorded observations. -func (h *histogram) average() float64 { - t := h.total() - if t == 0 { - return 0 - } - return float64(h.sum) / float64(t) -} - -// Variance returns the variance of recorded observations. -func (h *histogram) variance() float64 { - t := float64(h.total()) - if t == 0 { - return 0 - } - s := float64(h.sum) / t - return h.sumOfSquares/t - s*s -} - -// StandardDeviation returns the standard deviation of recorded observations. -func (h *histogram) standardDeviation() float64 { - return math.Sqrt(h.variance()) -} - -// PercentileBoundary estimates the value that the given fraction of recorded -// observations are less than. -func (h *histogram) percentileBoundary(percentile float64) int64 { - total := h.total() - - // Corner cases (make sure result is strictly less than Total()) - if total == 0 { - return 0 - } else if total == 1 { - return int64(h.average()) - } - - percentOfTotal := round(float64(total) * percentile) - var runningTotal int64 - - for i := range h.buckets { - value := h.buckets[i] - runningTotal += value - if runningTotal == percentOfTotal { - // We hit an exact bucket boundary. If the next bucket has data, it is a - // good estimate of the value. If the bucket is empty, we interpolate the - // midpoint between the next bucket's boundary and the next non-zero - // bucket. If the remaining buckets are all empty, then we use the - // boundary for the next bucket as the estimate. - j := uint8(i + 1) - min := bucketBoundary(j) - if runningTotal < total { - for h.buckets[j] == 0 { - j++ - } - } - max := bucketBoundary(j) - return min + round(float64(max-min)/2) - } else if runningTotal > percentOfTotal { - // The value is in this bucket. Interpolate the value. - delta := runningTotal - percentOfTotal - percentBucket := float64(value-delta) / float64(value) - bucketMin := bucketBoundary(uint8(i)) - nextBucketMin := bucketBoundary(uint8(i + 1)) - bucketSize := nextBucketMin - bucketMin - return bucketMin + round(percentBucket*float64(bucketSize)) - } - } - return bucketBoundary(bucketCount - 1) -} - -// Median returns the estimated median of the observed values. -func (h *histogram) median() int64 { - return h.percentileBoundary(0.5) -} - -// Add adds other to h. -func (h *histogram) Add(other timeseries.Observable) { - o := other.(*histogram) - if o.valueCount == 0 { - // Other histogram is empty - } else if h.valueCount >= 0 && o.valueCount > 0 && h.value == o.value { - // Both have a single bucketed value, aggregate them - h.valueCount += o.valueCount - } else { - // Two different values necessitate buckets in this histogram - h.allocateBuckets() - if o.valueCount >= 0 { - h.buckets[o.value] += o.valueCount - } else { - for i := range h.buckets { - h.buckets[i] += o.buckets[i] - } - } - } - h.sumOfSquares += o.sumOfSquares - h.sum += o.sum -} - -// Clear resets the histogram to an empty state, removing all observed values. -func (h *histogram) Clear() { - h.buckets = nil - h.value = 0 - h.valueCount = 0 - h.sum = 0 - h.sumOfSquares = 0 -} - -// CopyFrom copies from other, which must be a *histogram, into h. -func (h *histogram) CopyFrom(other timeseries.Observable) { - o := other.(*histogram) - if o.valueCount == -1 { - h.allocateBuckets() - copy(h.buckets, o.buckets) - } - h.sum = o.sum - h.sumOfSquares = o.sumOfSquares - h.value = o.value - h.valueCount = o.valueCount -} - -// Multiply scales the histogram by the specified ratio. -func (h *histogram) Multiply(ratio float64) { - if h.valueCount == -1 { - for i := range h.buckets { - h.buckets[i] = int64(float64(h.buckets[i]) * ratio) - } - } else { - h.valueCount = int64(float64(h.valueCount) * ratio) - } - h.sum = int64(float64(h.sum) * ratio) - h.sumOfSquares = h.sumOfSquares * ratio -} - -// New creates a new histogram. -func (h *histogram) New() timeseries.Observable { - r := new(histogram) - r.Clear() - return r -} - -func (h *histogram) String() string { - return fmt.Sprintf("%d, %f, %d, %d, %v", - h.sum, h.sumOfSquares, h.value, h.valueCount, h.buckets) -} - -// round returns the closest int64 to the argument -func round(in float64) int64 { - return int64(math.Floor(in + 0.5)) -} - -// bucketBoundary returns the first value in the bucket. -func bucketBoundary(bucket uint8) int64 { - if bucket == 0 { - return 0 - } - return 1 << bucket -} - -// bucketData holds data about a specific bucket for use in distTmpl. -type bucketData struct { - Lower, Upper int64 - N int64 - Pct, CumulativePct float64 - GraphWidth int -} - -// data holds data about a Distribution for use in distTmpl. -type data struct { - Buckets []*bucketData - Count, Median int64 - Mean, StandardDeviation float64 -} - -// maxHTMLBarWidth is the maximum width of the HTML bar for visualizing buckets. -const maxHTMLBarWidth = 350.0 - -// newData returns data representing h for use in distTmpl. -func (h *histogram) newData() *data { - // Force the allocation of buckets to simplify the rendering implementation - h.allocateBuckets() - // We scale the bars on the right so that the largest bar is - // maxHTMLBarWidth pixels in width. - maxBucket := int64(0) - for _, n := range h.buckets { - if n > maxBucket { - maxBucket = n - } - } - total := h.total() - barsizeMult := maxHTMLBarWidth / float64(maxBucket) - var pctMult float64 - if total == 0 { - pctMult = 1.0 - } else { - pctMult = 100.0 / float64(total) - } - - buckets := make([]*bucketData, len(h.buckets)) - runningTotal := int64(0) - for i, n := range h.buckets { - if n == 0 { - continue - } - runningTotal += n - var upperBound int64 - if i < bucketCount-1 { - upperBound = bucketBoundary(uint8(i + 1)) - } else { - upperBound = math.MaxInt64 - } - buckets[i] = &bucketData{ - Lower: bucketBoundary(uint8(i)), - Upper: upperBound, - N: n, - Pct: float64(n) * pctMult, - CumulativePct: float64(runningTotal) * pctMult, - GraphWidth: int(float64(n) * barsizeMult), - } - } - return &data{ - Buckets: buckets, - Count: total, - Median: h.median(), - Mean: h.average(), - StandardDeviation: h.standardDeviation(), - } -} - -func (h *histogram) html() template.HTML { - buf := new(bytes.Buffer) - if err := distTmpl().Execute(buf, h.newData()); err != nil { - buf.Reset() - log.Printf("net/trace: couldn't execute template: %v", err) - } - return template.HTML(buf.String()) -} - -var distTmplCache *template.Template -var distTmplOnce sync.Once - -func distTmpl() *template.Template { - distTmplOnce.Do(func() { - // Input: data - distTmplCache = template.Must(template.New("distTmpl").Parse(` - - - - - - - -
Count: {{.Count}}Mean: {{printf "%.0f" .Mean}}StdDev: {{printf "%.0f" .StandardDeviation}}Median: {{.Median}}
-
- -{{range $b := .Buckets}} -{{if $b}} - - - - - - - - - -{{end}} -{{end}} -
[{{.Lower}},{{.Upper}}){{.N}}{{printf "%#.3f" .Pct}}%{{printf "%#.3f" .CumulativePct}}%
-`)) - }) - return distTmplCache -} diff --git a/vendor/golang.org/x/net/trace/trace.go b/vendor/golang.org/x/net/trace/trace.go deleted file mode 100644 index eae2a99f..00000000 --- a/vendor/golang.org/x/net/trace/trace.go +++ /dev/null @@ -1,1130 +0,0 @@ -// 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. - -/* -Package trace implements tracing of requests and long-lived objects. -It exports HTTP interfaces on /debug/requests and /debug/events. - -A trace.Trace provides tracing for short-lived objects, usually requests. -A request handler might be implemented like this: - - func fooHandler(w http.ResponseWriter, req *http.Request) { - tr := trace.New("mypkg.Foo", req.URL.Path) - defer tr.Finish() - ... - tr.LazyPrintf("some event %q happened", str) - ... - if err := somethingImportant(); err != nil { - tr.LazyPrintf("somethingImportant failed: %v", err) - tr.SetError() - } - } - -The /debug/requests HTTP endpoint organizes the traces by family, -errors, and duration. It also provides histogram of request duration -for each family. - -A trace.EventLog provides tracing for long-lived objects, such as RPC -connections. - - // A Fetcher fetches URL paths for a single domain. - type Fetcher struct { - domain string - events trace.EventLog - } - - func NewFetcher(domain string) *Fetcher { - return &Fetcher{ - domain, - trace.NewEventLog("mypkg.Fetcher", domain), - } - } - - func (f *Fetcher) Fetch(path string) (string, error) { - resp, err := http.Get("http://" + f.domain + "/" + path) - if err != nil { - f.events.Errorf("Get(%q) = %v", path, err) - return "", err - } - f.events.Printf("Get(%q) = %s", path, resp.Status) - ... - } - - func (f *Fetcher) Close() error { - f.events.Finish() - return nil - } - -The /debug/events HTTP endpoint organizes the event logs by family and -by time since the last error. The expanded view displays recent log -entries and the log's call stack. -*/ -package trace // import "golang.org/x/net/trace" - -import ( - "bytes" - "context" - "fmt" - "html/template" - "io" - "log" - "net" - "net/http" - "net/url" - "runtime" - "sort" - "strconv" - "sync" - "sync/atomic" - "time" - - "golang.org/x/net/internal/timeseries" -) - -// DebugUseAfterFinish controls whether to debug uses of Trace values after finishing. -// FOR DEBUGGING ONLY. This will slow down the program. -var DebugUseAfterFinish = false - -// HTTP ServeMux paths. -const ( - debugRequestsPath = "/debug/requests" - debugEventsPath = "/debug/events" -) - -// AuthRequest determines whether a specific request is permitted to load the -// /debug/requests or /debug/events pages. -// -// It returns two bools; the first indicates whether the page may be viewed at all, -// and the second indicates whether sensitive events will be shown. -// -// AuthRequest may be replaced by a program to customize its authorization requirements. -// -// The default AuthRequest function returns (true, true) if and only if the request -// comes from localhost/127.0.0.1/[::1]. -var AuthRequest = func(req *http.Request) (any, sensitive bool) { - // RemoteAddr is commonly in the form "IP" or "IP:port". - // If it is in the form "IP:port", split off the port. - host, _, err := net.SplitHostPort(req.RemoteAddr) - if err != nil { - host = req.RemoteAddr - } - switch host { - case "localhost", "127.0.0.1", "::1": - return true, true - default: - return false, false - } -} - -func init() { - _, pat := http.DefaultServeMux.Handler(&http.Request{URL: &url.URL{Path: debugRequestsPath}}) - if pat == debugRequestsPath { - panic("/debug/requests is already registered. You may have two independent copies of " + - "golang.org/x/net/trace in your binary, trying to maintain separate state. This may " + - "involve a vendored copy of golang.org/x/net/trace.") - } - - // TODO(jbd): Serve Traces from /debug/traces in the future? - // There is no requirement for a request to be present to have traces. - http.HandleFunc(debugRequestsPath, Traces) - http.HandleFunc(debugEventsPath, Events) -} - -// NewContext returns a copy of the parent context -// and associates it with a Trace. -func NewContext(ctx context.Context, tr Trace) context.Context { - return context.WithValue(ctx, contextKey, tr) -} - -// FromContext returns the Trace bound to the context, if any. -func FromContext(ctx context.Context) (tr Trace, ok bool) { - tr, ok = ctx.Value(contextKey).(Trace) - return -} - -// Traces responds with traces from the program. -// The package initialization registers it in http.DefaultServeMux -// at /debug/requests. -// -// It performs authorization by running AuthRequest. -func Traces(w http.ResponseWriter, req *http.Request) { - any, sensitive := AuthRequest(req) - if !any { - http.Error(w, "not allowed", http.StatusUnauthorized) - return - } - w.Header().Set("Content-Type", "text/html; charset=utf-8") - Render(w, req, sensitive) -} - -// Events responds with a page of events collected by EventLogs. -// The package initialization registers it in http.DefaultServeMux -// at /debug/events. -// -// It performs authorization by running AuthRequest. -func Events(w http.ResponseWriter, req *http.Request) { - any, sensitive := AuthRequest(req) - if !any { - http.Error(w, "not allowed", http.StatusUnauthorized) - return - } - w.Header().Set("Content-Type", "text/html; charset=utf-8") - RenderEvents(w, req, sensitive) -} - -// Render renders the HTML page typically served at /debug/requests. -// It does not do any auth checking. The request may be nil. -// -// Most users will use the Traces handler. -func Render(w io.Writer, req *http.Request, sensitive bool) { - data := &struct { - Families []string - ActiveTraceCount map[string]int - CompletedTraces map[string]*family - - // Set when a bucket has been selected. - Traces traceList - Family string - Bucket int - Expanded bool - Traced bool - Active bool - ShowSensitive bool // whether to show sensitive events - - Histogram template.HTML - HistogramWindow string // e.g. "last minute", "last hour", "all time" - - // If non-zero, the set of traces is a partial set, - // and this is the total number. - Total int - }{ - CompletedTraces: completedTraces, - } - - data.ShowSensitive = sensitive - if req != nil { - // Allow show_sensitive=0 to force hiding of sensitive data for testing. - // This only goes one way; you can't use show_sensitive=1 to see things. - if req.FormValue("show_sensitive") == "0" { - data.ShowSensitive = false - } - - if exp, err := strconv.ParseBool(req.FormValue("exp")); err == nil { - data.Expanded = exp - } - if exp, err := strconv.ParseBool(req.FormValue("rtraced")); err == nil { - data.Traced = exp - } - } - - completedMu.RLock() - data.Families = make([]string, 0, len(completedTraces)) - for fam := range completedTraces { - data.Families = append(data.Families, fam) - } - completedMu.RUnlock() - sort.Strings(data.Families) - - // We are careful here to minimize the time spent locking activeMu, - // since that lock is required every time an RPC starts and finishes. - data.ActiveTraceCount = make(map[string]int, len(data.Families)) - activeMu.RLock() - for fam, s := range activeTraces { - data.ActiveTraceCount[fam] = s.Len() - } - activeMu.RUnlock() - - var ok bool - data.Family, data.Bucket, ok = parseArgs(req) - switch { - case !ok: - // No-op - case data.Bucket == -1: - data.Active = true - n := data.ActiveTraceCount[data.Family] - data.Traces = getActiveTraces(data.Family) - if len(data.Traces) < n { - data.Total = n - } - case data.Bucket < bucketsPerFamily: - if b := lookupBucket(data.Family, data.Bucket); b != nil { - data.Traces = b.Copy(data.Traced) - } - default: - if f := getFamily(data.Family, false); f != nil { - var obs timeseries.Observable - f.LatencyMu.RLock() - switch o := data.Bucket - bucketsPerFamily; o { - case 0: - obs = f.Latency.Minute() - data.HistogramWindow = "last minute" - case 1: - obs = f.Latency.Hour() - data.HistogramWindow = "last hour" - case 2: - obs = f.Latency.Total() - data.HistogramWindow = "all time" - } - f.LatencyMu.RUnlock() - if obs != nil { - data.Histogram = obs.(*histogram).html() - } - } - } - - if data.Traces != nil { - defer data.Traces.Free() - sort.Sort(data.Traces) - } - - completedMu.RLock() - defer completedMu.RUnlock() - if err := pageTmpl().ExecuteTemplate(w, "Page", data); err != nil { - log.Printf("net/trace: Failed executing template: %v", err) - } -} - -func parseArgs(req *http.Request) (fam string, b int, ok bool) { - if req == nil { - return "", 0, false - } - fam, bStr := req.FormValue("fam"), req.FormValue("b") - if fam == "" || bStr == "" { - return "", 0, false - } - b, err := strconv.Atoi(bStr) - if err != nil || b < -1 { - return "", 0, false - } - - return fam, b, true -} - -func lookupBucket(fam string, b int) *traceBucket { - f := getFamily(fam, false) - if f == nil || b < 0 || b >= len(f.Buckets) { - return nil - } - return f.Buckets[b] -} - -type contextKeyT string - -var contextKey = contextKeyT("golang.org/x/net/trace.Trace") - -// Trace represents an active request. -type Trace interface { - // LazyLog adds x to the event log. It will be evaluated each time the - // /debug/requests page is rendered. Any memory referenced by x will be - // pinned until the trace is finished and later discarded. - LazyLog(x fmt.Stringer, sensitive bool) - - // LazyPrintf evaluates its arguments with fmt.Sprintf each time the - // /debug/requests page is rendered. Any memory referenced by a will be - // pinned until the trace is finished and later discarded. - LazyPrintf(format string, a ...interface{}) - - // SetError declares that this trace resulted in an error. - SetError() - - // SetRecycler sets a recycler for the trace. - // f will be called for each event passed to LazyLog at a time when - // it is no longer required, whether while the trace is still active - // and the event is discarded, or when a completed trace is discarded. - SetRecycler(f func(interface{})) - - // SetTraceInfo sets the trace info for the trace. - // This is currently unused. - SetTraceInfo(traceID, spanID uint64) - - // SetMaxEvents sets the maximum number of events that will be stored - // in the trace. This has no effect if any events have already been - // added to the trace. - SetMaxEvents(m int) - - // Finish declares that this trace is complete. - // The trace should not be used after calling this method. - Finish() -} - -type lazySprintf struct { - format string - a []interface{} -} - -func (l *lazySprintf) String() string { - return fmt.Sprintf(l.format, l.a...) -} - -// New returns a new Trace with the specified family and title. -func New(family, title string) Trace { - tr := newTrace() - tr.ref() - tr.Family, tr.Title = family, title - tr.Start = time.Now() - tr.maxEvents = maxEventsPerTrace - tr.events = tr.eventsBuf[:0] - - activeMu.RLock() - s := activeTraces[tr.Family] - activeMu.RUnlock() - if s == nil { - activeMu.Lock() - s = activeTraces[tr.Family] // check again - if s == nil { - s = new(traceSet) - activeTraces[tr.Family] = s - } - activeMu.Unlock() - } - s.Add(tr) - - // Trigger allocation of the completed trace structure for this family. - // This will cause the family to be present in the request page during - // the first trace of this family. We don't care about the return value, - // nor is there any need for this to run inline, so we execute it in its - // own goroutine, but only if the family isn't allocated yet. - completedMu.RLock() - if _, ok := completedTraces[tr.Family]; !ok { - go allocFamily(tr.Family) - } - completedMu.RUnlock() - - return tr -} - -func (tr *trace) Finish() { - elapsed := time.Since(tr.Start) - tr.mu.Lock() - tr.Elapsed = elapsed - tr.mu.Unlock() - - if DebugUseAfterFinish { - buf := make([]byte, 4<<10) // 4 KB should be enough - n := runtime.Stack(buf, false) - tr.finishStack = buf[:n] - } - - activeMu.RLock() - m := activeTraces[tr.Family] - activeMu.RUnlock() - m.Remove(tr) - - f := getFamily(tr.Family, true) - tr.mu.RLock() // protects tr fields in Cond.match calls - for _, b := range f.Buckets { - if b.Cond.match(tr) { - b.Add(tr) - } - } - tr.mu.RUnlock() - - // Add a sample of elapsed time as microseconds to the family's timeseries - h := new(histogram) - h.addMeasurement(elapsed.Nanoseconds() / 1e3) - f.LatencyMu.Lock() - f.Latency.Add(h) - f.LatencyMu.Unlock() - - tr.unref() // matches ref in New -} - -const ( - bucketsPerFamily = 9 - tracesPerBucket = 10 - maxActiveTraces = 20 // Maximum number of active traces to show. - maxEventsPerTrace = 10 - numHistogramBuckets = 38 -) - -var ( - // The active traces. - activeMu sync.RWMutex - activeTraces = make(map[string]*traceSet) // family -> traces - - // Families of completed traces. - completedMu sync.RWMutex - completedTraces = make(map[string]*family) // family -> traces -) - -type traceSet struct { - mu sync.RWMutex - m map[*trace]bool - - // We could avoid the entire map scan in FirstN by having a slice of all the traces - // ordered by start time, and an index into that from the trace struct, with a periodic - // repack of the slice after enough traces finish; we could also use a skip list or similar. - // However, that would shift some of the expense from /debug/requests time to RPC time, - // which is probably the wrong trade-off. -} - -func (ts *traceSet) Len() int { - ts.mu.RLock() - defer ts.mu.RUnlock() - return len(ts.m) -} - -func (ts *traceSet) Add(tr *trace) { - ts.mu.Lock() - if ts.m == nil { - ts.m = make(map[*trace]bool) - } - ts.m[tr] = true - ts.mu.Unlock() -} - -func (ts *traceSet) Remove(tr *trace) { - ts.mu.Lock() - delete(ts.m, tr) - ts.mu.Unlock() -} - -// FirstN returns the first n traces ordered by time. -func (ts *traceSet) FirstN(n int) traceList { - ts.mu.RLock() - defer ts.mu.RUnlock() - - if n > len(ts.m) { - n = len(ts.m) - } - trl := make(traceList, 0, n) - - // Fast path for when no selectivity is needed. - if n == len(ts.m) { - for tr := range ts.m { - tr.ref() - trl = append(trl, tr) - } - sort.Sort(trl) - return trl - } - - // Pick the oldest n traces. - // This is inefficient. See the comment in the traceSet struct. - for tr := range ts.m { - // Put the first n traces into trl in the order they occur. - // When we have n, sort trl, and thereafter maintain its order. - if len(trl) < n { - tr.ref() - trl = append(trl, tr) - if len(trl) == n { - // This is guaranteed to happen exactly once during this loop. - sort.Sort(trl) - } - continue - } - if tr.Start.After(trl[n-1].Start) { - continue - } - - // Find where to insert this one. - tr.ref() - i := sort.Search(n, func(i int) bool { return trl[i].Start.After(tr.Start) }) - trl[n-1].unref() - copy(trl[i+1:], trl[i:]) - trl[i] = tr - } - - return trl -} - -func getActiveTraces(fam string) traceList { - activeMu.RLock() - s := activeTraces[fam] - activeMu.RUnlock() - if s == nil { - return nil - } - return s.FirstN(maxActiveTraces) -} - -func getFamily(fam string, allocNew bool) *family { - completedMu.RLock() - f := completedTraces[fam] - completedMu.RUnlock() - if f == nil && allocNew { - f = allocFamily(fam) - } - return f -} - -func allocFamily(fam string) *family { - completedMu.Lock() - defer completedMu.Unlock() - f := completedTraces[fam] - if f == nil { - f = newFamily() - completedTraces[fam] = f - } - return f -} - -// family represents a set of trace buckets and associated latency information. -type family struct { - // traces may occur in multiple buckets. - Buckets [bucketsPerFamily]*traceBucket - - // latency time series - LatencyMu sync.RWMutex - Latency *timeseries.MinuteHourSeries -} - -func newFamily() *family { - return &family{ - Buckets: [bucketsPerFamily]*traceBucket{ - {Cond: minCond(0)}, - {Cond: minCond(50 * time.Millisecond)}, - {Cond: minCond(100 * time.Millisecond)}, - {Cond: minCond(200 * time.Millisecond)}, - {Cond: minCond(500 * time.Millisecond)}, - {Cond: minCond(1 * time.Second)}, - {Cond: minCond(10 * time.Second)}, - {Cond: minCond(100 * time.Second)}, - {Cond: errorCond{}}, - }, - Latency: timeseries.NewMinuteHourSeries(func() timeseries.Observable { return new(histogram) }), - } -} - -// traceBucket represents a size-capped bucket of historic traces, -// along with a condition for a trace to belong to the bucket. -type traceBucket struct { - Cond cond - - // Ring buffer implementation of a fixed-size FIFO queue. - mu sync.RWMutex - buf [tracesPerBucket]*trace - start int // < tracesPerBucket - length int // <= tracesPerBucket -} - -func (b *traceBucket) Add(tr *trace) { - b.mu.Lock() - defer b.mu.Unlock() - - i := b.start + b.length - if i >= tracesPerBucket { - i -= tracesPerBucket - } - if b.length == tracesPerBucket { - // "Remove" an element from the bucket. - b.buf[i].unref() - b.start++ - if b.start == tracesPerBucket { - b.start = 0 - } - } - b.buf[i] = tr - if b.length < tracesPerBucket { - b.length++ - } - tr.ref() -} - -// Copy returns a copy of the traces in the bucket. -// If tracedOnly is true, only the traces with trace information will be returned. -// The logs will be ref'd before returning; the caller should call -// the Free method when it is done with them. -// TODO(dsymonds): keep track of traced requests in separate buckets. -func (b *traceBucket) Copy(tracedOnly bool) traceList { - b.mu.RLock() - defer b.mu.RUnlock() - - trl := make(traceList, 0, b.length) - for i, x := 0, b.start; i < b.length; i++ { - tr := b.buf[x] - if !tracedOnly || tr.spanID != 0 { - tr.ref() - trl = append(trl, tr) - } - x++ - if x == b.length { - x = 0 - } - } - return trl -} - -func (b *traceBucket) Empty() bool { - b.mu.RLock() - defer b.mu.RUnlock() - return b.length == 0 -} - -// cond represents a condition on a trace. -type cond interface { - match(t *trace) bool - String() string -} - -type minCond time.Duration - -func (m minCond) match(t *trace) bool { return t.Elapsed >= time.Duration(m) } -func (m minCond) String() string { return fmt.Sprintf("≥%gs", time.Duration(m).Seconds()) } - -type errorCond struct{} - -func (e errorCond) match(t *trace) bool { return t.IsError } -func (e errorCond) String() string { return "errors" } - -type traceList []*trace - -// Free calls unref on each element of the list. -func (trl traceList) Free() { - for _, t := range trl { - t.unref() - } -} - -// traceList may be sorted in reverse chronological order. -func (trl traceList) Len() int { return len(trl) } -func (trl traceList) Less(i, j int) bool { return trl[i].Start.After(trl[j].Start) } -func (trl traceList) Swap(i, j int) { trl[i], trl[j] = trl[j], trl[i] } - -// An event is a timestamped log entry in a trace. -type event struct { - When time.Time - Elapsed time.Duration // since previous event in trace - NewDay bool // whether this event is on a different day to the previous event - Recyclable bool // whether this event was passed via LazyLog - Sensitive bool // whether this event contains sensitive information - What interface{} // string or fmt.Stringer -} - -// WhenString returns a string representation of the elapsed time of the event. -// It will include the date if midnight was crossed. -func (e event) WhenString() string { - if e.NewDay { - return e.When.Format("2006/01/02 15:04:05.000000") - } - return e.When.Format("15:04:05.000000") -} - -// discarded represents a number of discarded events. -// It is stored as *discarded to make it easier to update in-place. -type discarded int - -func (d *discarded) String() string { - return fmt.Sprintf("(%d events discarded)", int(*d)) -} - -// trace represents an active or complete request, -// either sent or received by this program. -type trace struct { - // Family is the top-level grouping of traces to which this belongs. - Family string - - // Title is the title of this trace. - Title string - - // Start time of the this trace. - Start time.Time - - mu sync.RWMutex - events []event // Append-only sequence of events (modulo discards). - maxEvents int - recycler func(interface{}) - IsError bool // Whether this trace resulted in an error. - Elapsed time.Duration // Elapsed time for this trace, zero while active. - traceID uint64 // Trace information if non-zero. - spanID uint64 - - refs int32 // how many buckets this is in - disc discarded // scratch space to avoid allocation - - finishStack []byte // where finish was called, if DebugUseAfterFinish is set - - eventsBuf [4]event // preallocated buffer in case we only log a few events -} - -func (tr *trace) reset() { - // Clear all but the mutex. Mutexes may not be copied, even when unlocked. - tr.Family = "" - tr.Title = "" - tr.Start = time.Time{} - - tr.mu.Lock() - tr.Elapsed = 0 - tr.traceID = 0 - tr.spanID = 0 - tr.IsError = false - tr.maxEvents = 0 - tr.events = nil - tr.recycler = nil - tr.mu.Unlock() - - tr.refs = 0 - tr.disc = 0 - tr.finishStack = nil - for i := range tr.eventsBuf { - tr.eventsBuf[i] = event{} - } -} - -// delta returns the elapsed time since the last event or the trace start, -// and whether it spans midnight. -// L >= tr.mu -func (tr *trace) delta(t time.Time) (time.Duration, bool) { - if len(tr.events) == 0 { - return t.Sub(tr.Start), false - } - prev := tr.events[len(tr.events)-1].When - return t.Sub(prev), prev.Day() != t.Day() -} - -func (tr *trace) addEvent(x interface{}, recyclable, sensitive bool) { - if DebugUseAfterFinish && tr.finishStack != nil { - buf := make([]byte, 4<<10) // 4 KB should be enough - n := runtime.Stack(buf, false) - log.Printf("net/trace: trace used after finish:\nFinished at:\n%s\nUsed at:\n%s", tr.finishStack, buf[:n]) - } - - /* - NOTE TO DEBUGGERS - - If you are here because your program panicked in this code, - it is almost definitely the fault of code using this package, - and very unlikely to be the fault of this code. - - The most likely scenario is that some code elsewhere is using - a trace.Trace after its Finish method is called. - You can temporarily set the DebugUseAfterFinish var - to help discover where that is; do not leave that var set, - since it makes this package much less efficient. - */ - - e := event{When: time.Now(), What: x, Recyclable: recyclable, Sensitive: sensitive} - tr.mu.Lock() - e.Elapsed, e.NewDay = tr.delta(e.When) - if len(tr.events) < tr.maxEvents { - tr.events = append(tr.events, e) - } else { - // Discard the middle events. - di := int((tr.maxEvents - 1) / 2) - if d, ok := tr.events[di].What.(*discarded); ok { - (*d)++ - } else { - // disc starts at two to count for the event it is replacing, - // plus the next one that we are about to drop. - tr.disc = 2 - if tr.recycler != nil && tr.events[di].Recyclable { - go tr.recycler(tr.events[di].What) - } - tr.events[di].What = &tr.disc - } - // The timestamp of the discarded meta-event should be - // the time of the last event it is representing. - tr.events[di].When = tr.events[di+1].When - - if tr.recycler != nil && tr.events[di+1].Recyclable { - go tr.recycler(tr.events[di+1].What) - } - copy(tr.events[di+1:], tr.events[di+2:]) - tr.events[tr.maxEvents-1] = e - } - tr.mu.Unlock() -} - -func (tr *trace) LazyLog(x fmt.Stringer, sensitive bool) { - tr.addEvent(x, true, sensitive) -} - -func (tr *trace) LazyPrintf(format string, a ...interface{}) { - tr.addEvent(&lazySprintf{format, a}, false, false) -} - -func (tr *trace) SetError() { - tr.mu.Lock() - tr.IsError = true - tr.mu.Unlock() -} - -func (tr *trace) SetRecycler(f func(interface{})) { - tr.mu.Lock() - tr.recycler = f - tr.mu.Unlock() -} - -func (tr *trace) SetTraceInfo(traceID, spanID uint64) { - tr.mu.Lock() - tr.traceID, tr.spanID = traceID, spanID - tr.mu.Unlock() -} - -func (tr *trace) SetMaxEvents(m int) { - tr.mu.Lock() - // Always keep at least three events: first, discarded count, last. - if len(tr.events) == 0 && m > 3 { - tr.maxEvents = m - } - tr.mu.Unlock() -} - -func (tr *trace) ref() { - atomic.AddInt32(&tr.refs, 1) -} - -func (tr *trace) unref() { - if atomic.AddInt32(&tr.refs, -1) == 0 { - tr.mu.RLock() - if tr.recycler != nil { - // freeTrace clears tr, so we hold tr.recycler and tr.events here. - go func(f func(interface{}), es []event) { - for _, e := range es { - if e.Recyclable { - f(e.What) - } - } - }(tr.recycler, tr.events) - } - tr.mu.RUnlock() - - freeTrace(tr) - } -} - -func (tr *trace) When() string { - return tr.Start.Format("2006/01/02 15:04:05.000000") -} - -func (tr *trace) ElapsedTime() string { - tr.mu.RLock() - t := tr.Elapsed - tr.mu.RUnlock() - - if t == 0 { - // Active trace. - t = time.Since(tr.Start) - } - return fmt.Sprintf("%.6f", t.Seconds()) -} - -func (tr *trace) Events() []event { - tr.mu.RLock() - defer tr.mu.RUnlock() - return tr.events -} - -var traceFreeList = make(chan *trace, 1000) // TODO(dsymonds): Use sync.Pool? - -// newTrace returns a trace ready to use. -func newTrace() *trace { - select { - case tr := <-traceFreeList: - return tr - default: - return new(trace) - } -} - -// freeTrace adds tr to traceFreeList if there's room. -// This is non-blocking. -func freeTrace(tr *trace) { - if DebugUseAfterFinish { - return // never reuse - } - tr.reset() - select { - case traceFreeList <- tr: - default: - } -} - -func elapsed(d time.Duration) string { - b := []byte(fmt.Sprintf("%.6f", d.Seconds())) - - // For subsecond durations, blank all zeros before decimal point, - // and all zeros between the decimal point and the first non-zero digit. - if d < time.Second { - dot := bytes.IndexByte(b, '.') - for i := 0; i < dot; i++ { - b[i] = ' ' - } - for i := dot + 1; i < len(b); i++ { - if b[i] == '0' { - b[i] = ' ' - } else { - break - } - } - } - - return string(b) -} - -var pageTmplCache *template.Template -var pageTmplOnce sync.Once - -func pageTmpl() *template.Template { - pageTmplOnce.Do(func() { - pageTmplCache = template.Must(template.New("Page").Funcs(template.FuncMap{ - "elapsed": elapsed, - "add": func(a, b int) int { return a + b }, - }).Parse(pageHTML)) - }) - return pageTmplCache -} - -const pageHTML = ` -{{template "Prolog" .}} -{{template "StatusTable" .}} -{{template "Epilog" .}} - -{{define "Prolog"}} - - - /debug/requests - - - - -

/debug/requests

-{{end}} {{/* end of Prolog */}} - -{{define "StatusTable"}} - - {{range $fam := .Families}} - - - - {{$n := index $.ActiveTraceCount $fam}} - - - {{$f := index $.CompletedTraces $fam}} - {{range $i, $b := $f.Buckets}} - {{$empty := $b.Empty}} - - {{end}} - - {{$nb := len $f.Buckets}} - - - - - - {{end}} -
{{$fam}} - {{if $n}}{{end}} - [{{$n}} active] - {{if $n}}{{end}} - - {{if not $empty}}{{end}} - [{{.Cond}}] - {{if not $empty}}{{end}} - - [minute] - - [hour] - - [total] -
-{{end}} {{/* end of StatusTable */}} - -{{define "Epilog"}} -{{if $.Traces}} -
-

Family: {{$.Family}}

- -{{if or $.Expanded $.Traced}} - [Normal/Summary] -{{else}} - [Normal/Summary] -{{end}} - -{{if or (not $.Expanded) $.Traced}} - [Normal/Expanded] -{{else}} - [Normal/Expanded] -{{end}} - -{{if not $.Active}} - {{if or $.Expanded (not $.Traced)}} - [Traced/Summary] - {{else}} - [Traced/Summary] - {{end}} - {{if or (not $.Expanded) (not $.Traced)}} - [Traced/Expanded] - {{else}} - [Traced/Expanded] - {{end}} -{{end}} - -{{if $.Total}} -

Showing {{len $.Traces}} of {{$.Total}} traces.

-{{end}} - - - - - {{range $tr := $.Traces}} - - - - - {{/* TODO: include traceID/spanID */}} - - {{if $.Expanded}} - {{range $tr.Events}} - - - - - - {{end}} - {{end}} - {{end}} -
- {{if $.Active}}Active{{else}}Completed{{end}} Requests -
WhenElapsed (s)
{{$tr.When}}{{$tr.ElapsedTime}}{{$tr.Title}}
{{.WhenString}}{{elapsed .Elapsed}}{{if or $.ShowSensitive (not .Sensitive)}}... {{.What}}{{else}}[redacted]{{end}}
-{{end}} {{/* if $.Traces */}} - -{{if $.Histogram}} -

Latency (µs) of {{$.Family}} over {{$.HistogramWindow}}

-{{$.Histogram}} -{{end}} {{/* if $.Histogram */}} - - - -{{end}} {{/* end of Epilog */}} -` diff --git a/vendor/google.golang.org/genproto/LICENSE b/vendor/google.golang.org/genproto/LICENSE deleted file mode 100644 index d6456956..00000000 --- a/vendor/google.golang.org/genproto/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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go b/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go deleted file mode 100644 index f34a38e4..00000000 --- a/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.12.2 -// source: google/rpc/status.proto - -package status - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// The `Status` type defines a logical error model that is suitable for -// different programming environments, including REST APIs and RPC APIs. It is -// used by [gRPC](https://github.com/grpc). Each `Status` message contains -// three pieces of data: error code, error message, and error details. -// -// You can find out more about this error model and how to work with it in the -// [API Design Guide](https://cloud.google.com/apis/design/errors). -type Status struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. - Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - // A developer-facing error message, which should be in English. Any - // user-facing error message should be localized and sent in the - // [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - // A list of messages that carry the error details. There is a common set of - // message types for APIs to use. - Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` -} - -func (x *Status) Reset() { - *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_google_rpc_status_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Status) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Status) ProtoMessage() {} - -func (x *Status) ProtoReflect() protoreflect.Message { - mi := &file_google_rpc_status_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Status.ProtoReflect.Descriptor instead. -func (*Status) Descriptor() ([]byte, []int) { - return file_google_rpc_status_proto_rawDescGZIP(), []int{0} -} - -func (x *Status) GetCode() int32 { - if x != nil { - return x.Code - } - return 0 -} - -func (x *Status) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *Status) GetDetails() []*anypb.Any { - if x != nil { - return x.Details - } - return nil -} - -var File_google_rpc_status_proto protoreflect.FileDescriptor - -var file_google_rpc_status_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x72, 0x70, 0x63, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x66, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, - 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x61, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x42, 0x0b, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, - 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3b, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x52, 0x50, 0x43, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_google_rpc_status_proto_rawDescOnce sync.Once - file_google_rpc_status_proto_rawDescData = file_google_rpc_status_proto_rawDesc -) - -func file_google_rpc_status_proto_rawDescGZIP() []byte { - file_google_rpc_status_proto_rawDescOnce.Do(func() { - file_google_rpc_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_rpc_status_proto_rawDescData) - }) - return file_google_rpc_status_proto_rawDescData -} - -var file_google_rpc_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_google_rpc_status_proto_goTypes = []interface{}{ - (*Status)(nil), // 0: google.rpc.Status - (*anypb.Any)(nil), // 1: google.protobuf.Any -} -var file_google_rpc_status_proto_depIdxs = []int32{ - 1, // 0: google.rpc.Status.details:type_name -> google.protobuf.Any - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_google_rpc_status_proto_init() } -func file_google_rpc_status_proto_init() { - if File_google_rpc_status_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_google_rpc_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_rpc_status_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_rpc_status_proto_goTypes, - DependencyIndexes: file_google_rpc_status_proto_depIdxs, - MessageInfos: file_google_rpc_status_proto_msgTypes, - }.Build() - File_google_rpc_status_proto = out.File - file_google_rpc_status_proto_rawDesc = nil - file_google_rpc_status_proto_goTypes = nil - file_google_rpc_status_proto_depIdxs = nil -} diff --git a/vendor/google.golang.org/grpc/AUTHORS b/vendor/google.golang.org/grpc/AUTHORS deleted file mode 100644 index e491a9e7..00000000 --- a/vendor/google.golang.org/grpc/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -Google Inc. diff --git a/vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md b/vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md deleted file mode 100644 index 9d4213eb..00000000 --- a/vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md +++ /dev/null @@ -1,3 +0,0 @@ -## Community Code of Conduct - -gRPC follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). diff --git a/vendor/google.golang.org/grpc/CONTRIBUTING.md b/vendor/google.golang.org/grpc/CONTRIBUTING.md deleted file mode 100644 index 52338d00..00000000 --- a/vendor/google.golang.org/grpc/CONTRIBUTING.md +++ /dev/null @@ -1,60 +0,0 @@ -# How to contribute - -We definitely welcome your patches and contributions to gRPC! Please read the gRPC -organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md) -and [contribution guidelines](https://github.com/grpc/grpc-community/blob/master/CONTRIBUTING.md) before proceeding. - -If you are new to github, please start by reading [Pull Request howto](https://help.github.com/articles/about-pull-requests/) - -## Legal requirements - -In order to protect both you and ourselves, you will need to sign the -[Contributor License Agreement](https://identity.linuxfoundation.org/projects/cncf). - -## Guidelines for Pull Requests -How to get your contributions merged smoothly and quickly. - -- Create **small PRs** that are narrowly focused on **addressing a single - concern**. We often times receive PRs that are trying to fix several things at - a time, but only one fix is considered acceptable, nothing gets merged and - both author's & review's time is wasted. Create more PRs to address different - concerns and everyone will be happy. - -- The grpc package should only depend on standard Go packages and a small number - of exceptions. If your contribution introduces new dependencies which are NOT - in the [list](https://godoc.org/google.golang.org/grpc?imports), you need a - discussion with gRPC-Go authors and consultants. - -- For speculative changes, consider opening an issue and discussing it first. If - you are suggesting a behavioral or API change, consider starting with a [gRFC - proposal](https://github.com/grpc/proposal). - -- Provide a good **PR description** as a record of **what** change is being made - and **why** it was made. Link to a github issue if it exists. - -- Don't fix code style and formatting unless you are already changing that line - to address an issue. PRs with irrelevant changes won't be merged. If you do - want to fix formatting or style, do that in a separate PR. - -- Unless your PR is trivial, you should expect there will be reviewer comments - that you'll need to address before merging. We expect you to be reasonably - responsive to those comments, otherwise the PR will be closed after 2-3 weeks - of inactivity. - -- Maintain **clean commit history** and use **meaningful commit messages**. PRs - with messy commit history are difficult to review and won't be merged. Use - `rebase -i upstream/master` to curate your commit history and/or to bring in - latest changes from master (but avoid rebasing in the middle of a code - review). - -- Keep your PR up to date with upstream/master (if there are merge conflicts, we - can't really merge your change). - -- **All tests need to be passing** before your change can be merged. We - recommend you **run tests locally** before creating your PR to catch breakages - early on. - - `VET_SKIP_PROTO=1 ./vet.sh` to catch vet errors - - `go test -cpu 1,4 -timeout 7m ./...` to run the tests - - `go test -race -cpu 1,4 -timeout 7m ./...` to run tests in race mode - -- Exceptions to the rules can be made if there's a compelling reason for doing so. diff --git a/vendor/google.golang.org/grpc/GOVERNANCE.md b/vendor/google.golang.org/grpc/GOVERNANCE.md deleted file mode 100644 index d6ff2674..00000000 --- a/vendor/google.golang.org/grpc/GOVERNANCE.md +++ /dev/null @@ -1 +0,0 @@ -This repository is governed by the gRPC organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md). diff --git a/vendor/google.golang.org/grpc/LICENSE b/vendor/google.golang.org/grpc/LICENSE deleted file mode 100644 index d6456956..00000000 --- a/vendor/google.golang.org/grpc/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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/google.golang.org/grpc/MAINTAINERS.md b/vendor/google.golang.org/grpc/MAINTAINERS.md deleted file mode 100644 index c6672c0a..00000000 --- a/vendor/google.golang.org/grpc/MAINTAINERS.md +++ /dev/null @@ -1,28 +0,0 @@ -This page lists all active maintainers of this repository. If you were a -maintainer and would like to add your name to the Emeritus list, please send us a -PR. - -See [GOVERNANCE.md](https://github.com/grpc/grpc-community/blob/master/governance.md) -for governance guidelines and how to become a maintainer. -See [CONTRIBUTING.md](https://github.com/grpc/grpc-community/blob/master/CONTRIBUTING.md) -for general contribution guidelines. - -## Maintainers (in alphabetical order) - -- [cesarghali](https://github.com/cesarghali), Google LLC -- [dfawley](https://github.com/dfawley), Google LLC -- [easwars](https://github.com/easwars), Google LLC -- [menghanl](https://github.com/menghanl), Google LLC -- [srini100](https://github.com/srini100), Google LLC - -## Emeritus Maintainers (in alphabetical order) -- [adelez](https://github.com/adelez), Google LLC -- [canguler](https://github.com/canguler), Google LLC -- [iamqizhao](https://github.com/iamqizhao), Google LLC -- [jadekler](https://github.com/jadekler), Google LLC -- [jtattermusch](https://github.com/jtattermusch), Google LLC -- [lyuxuan](https://github.com/lyuxuan), Google LLC -- [makmukhi](https://github.com/makmukhi), Google LLC -- [matt-kwong](https://github.com/matt-kwong), Google LLC -- [nicolasnoble](https://github.com/nicolasnoble), Google LLC -- [yongni](https://github.com/yongni), Google LLC diff --git a/vendor/google.golang.org/grpc/Makefile b/vendor/google.golang.org/grpc/Makefile deleted file mode 100644 index 1f896092..00000000 --- a/vendor/google.golang.org/grpc/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -all: vet test testrace - -build: - go build google.golang.org/grpc/... - -clean: - go clean -i google.golang.org/grpc/... - -deps: - GO111MODULE=on go get -d -v google.golang.org/grpc/... - -proto: - @ if ! which protoc > /dev/null; then \ - echo "error: protoc not installed" >&2; \ - exit 1; \ - fi - go generate google.golang.org/grpc/... - -test: - go test -cpu 1,4 -timeout 7m google.golang.org/grpc/... - -testsubmodule: - cd security/advancedtls && go test -cpu 1,4 -timeout 7m google.golang.org/grpc/security/advancedtls/... - cd security/authorization && go test -cpu 1,4 -timeout 7m google.golang.org/grpc/security/authorization/... - -testrace: - go test -race -cpu 1,4 -timeout 7m google.golang.org/grpc/... - -testdeps: - GO111MODULE=on go get -d -v -t google.golang.org/grpc/... - -vet: vetdeps - ./vet.sh - -vetdeps: - ./vet.sh -install - -.PHONY: \ - all \ - build \ - clean \ - proto \ - test \ - testrace \ - vet \ - vetdeps diff --git a/vendor/google.golang.org/grpc/NOTICE.txt b/vendor/google.golang.org/grpc/NOTICE.txt deleted file mode 100644 index 53019774..00000000 --- a/vendor/google.golang.org/grpc/NOTICE.txt +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2014 gRPC 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/vendor/google.golang.org/grpc/README.md b/vendor/google.golang.org/grpc/README.md deleted file mode 100644 index 0e6ae69a..00000000 --- a/vendor/google.golang.org/grpc/README.md +++ /dev/null @@ -1,141 +0,0 @@ -# gRPC-Go - -[![Build Status](https://travis-ci.org/grpc/grpc-go.svg)](https://travis-ci.org/grpc/grpc-go) -[![GoDoc](https://pkg.go.dev/badge/google.golang.org/grpc)][API] -[![GoReportCard](https://goreportcard.com/badge/grpc/grpc-go)](https://goreportcard.com/report/github.com/grpc/grpc-go) - -The [Go][] implementation of [gRPC][]: A high performance, open source, general -RPC framework that puts mobile and HTTP/2 first. For more information see the -[Go gRPC docs][], or jump directly into the [quick start][]. - -## Prerequisites - -- **[Go][]**: any one of the **three latest major** [releases][go-releases]. - -## Installation - -With [Go module][] support (Go 1.11+), simply add the following import - -```go -import "google.golang.org/grpc" -``` - -to your code, and then `go [build|run|test]` will automatically fetch the -necessary dependencies. - -Otherwise, to install the `grpc-go` package, run the following command: - -```console -$ go get -u google.golang.org/grpc -``` - -> **Note:** If you are trying to access `grpc-go` from **China**, see the -> [FAQ](#FAQ) below. - -## Learn more - -- [Go gRPC docs][], which include a [quick start][] and [API - reference][API] among other resources -- [Low-level technical docs](Documentation) from this repository -- [Performance benchmark][] -- [Examples](examples) - -## FAQ - -### I/O Timeout Errors - -The `golang.org` domain may be blocked from some countries. `go get` usually -produces an error like the following when this happens: - -```console -$ go get -u google.golang.org/grpc -package google.golang.org/grpc: unrecognized import path "google.golang.org/grpc" (https fetch: Get https://google.golang.org/grpc?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) -``` - -To build Go code, there are several options: - -- Set up a VPN and access google.golang.org through that. - -- Without Go module support: `git clone` the repo manually: - - ```sh - git clone https://github.com/grpc/grpc-go.git $GOPATH/src/google.golang.org/grpc - ``` - - You will need to do the same for all of grpc's dependencies in `golang.org`, - e.g. `golang.org/x/net`. - -- With Go module support: it is possible to use the `replace` feature of `go - mod` to create aliases for golang.org packages. In your project's directory: - - ```sh - go mod edit -replace=google.golang.org/grpc=github.com/grpc/grpc-go@latest - go mod tidy - go mod vendor - go build -mod=vendor - ``` - - Again, this will need to be done for all transitive dependencies hosted on - golang.org as well. For details, refer to [golang/go issue #28652](https://github.com/golang/go/issues/28652). - -### Compiling error, undefined: grpc.SupportPackageIsVersion - -#### If you are using Go modules: - -Ensure your gRPC-Go version is `require`d at the appropriate version in -the same module containing the generated `.pb.go` files. For example, -`SupportPackageIsVersion6` needs `v1.27.0`, so in your `go.mod` file: - -```go -module - -require ( - google.golang.org/grpc v1.27.0 -) -``` - -#### If you are *not* using Go modules: - -Update the `proto` package, gRPC package, and rebuild the `.proto` files: - -```sh -go get -u github.com/golang/protobuf/{proto,protoc-gen-go} -go get -u google.golang.org/grpc -protoc --go_out=plugins=grpc:. *.proto -``` - -### How to turn on logging - -The default logger is controlled by environment variables. Turn everything on -like this: - -```console -$ export GRPC_GO_LOG_VERBOSITY_LEVEL=99 -$ export GRPC_GO_LOG_SEVERITY_LEVEL=info -``` - -### The RPC failed with error `"code = Unavailable desc = transport is closing"` - -This error means the connection the RPC is using was closed, and there are many -possible reasons, including: - 1. mis-configured transport credentials, connection failed on handshaking - 1. bytes disrupted, possibly by a proxy in between - 1. server shutdown - 1. Keepalive parameters caused connection shutdown, for example if you have configured - your server to terminate connections regularly to [trigger DNS lookups](https://github.com/grpc/grpc-go/issues/3170#issuecomment-552517779). - If this is the case, you may want to increase your [MaxConnectionAgeGrace](https://pkg.go.dev/google.golang.org/grpc/keepalive?tab=doc#ServerParameters), - to allow longer RPC calls to finish. - -It can be tricky to debug this because the error happens on the client side but -the root cause of the connection being closed is on the server side. Turn on -logging on __both client and server__, and see if there are any transport -errors. - -[API]: https://pkg.go.dev/google.golang.org/grpc -[Go]: https://golang.org -[Go module]: https://github.com/golang/go/wiki/Modules -[gRPC]: https://grpc.io -[Go gRPC docs]: https://grpc.io/docs/languages/go -[Performance benchmark]: https://performance-dot-grpc-testing.appspot.com/explore?dashboard=5180705743044608 -[quick start]: https://grpc.io/docs/languages/go/quickstart -[go-releases]: https://golang.org/doc/devel/release.html diff --git a/vendor/google.golang.org/grpc/SECURITY.md b/vendor/google.golang.org/grpc/SECURITY.md deleted file mode 100644 index be6e1087..00000000 --- a/vendor/google.golang.org/grpc/SECURITY.md +++ /dev/null @@ -1,3 +0,0 @@ -# Security Policy - -For information on gRPC Security Policy and reporting potentional security issues, please see [gRPC CVE Process](https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md). diff --git a/vendor/google.golang.org/grpc/attributes/attributes.go b/vendor/google.golang.org/grpc/attributes/attributes.go deleted file mode 100644 index ae13ddac..00000000 --- a/vendor/google.golang.org/grpc/attributes/attributes.go +++ /dev/null @@ -1,101 +0,0 @@ -/* - * - * Copyright 2019 gRPC 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 attributes defines a generic key/value store used in various gRPC -// components. -// -// Experimental -// -// Notice: This package is EXPERIMENTAL and may be changed or removed in a -// later release. -package attributes - -// Attributes is an immutable struct for storing and retrieving generic -// key/value pairs. Keys must be hashable, and users should define their own -// types for keys. Values should not be modified after they are added to an -// Attributes or if they were received from one. If values implement 'Equal(o -// interface{}) bool', it will be called by (*Attributes).Equal to determine -// whether two values with the same key should be considered equal. -type Attributes struct { - m map[interface{}]interface{} -} - -// New returns a new Attributes containing the key/value pair. -func New(key, value interface{}) *Attributes { - return &Attributes{m: map[interface{}]interface{}{key: value}} -} - -// WithValue returns a new Attributes containing the previous keys and values -// and the new key/value pair. If the same key appears multiple times, the -// last value overwrites all previous values for that key. To remove an -// existing key, use a nil value. value should not be modified later. -func (a *Attributes) WithValue(key, value interface{}) *Attributes { - if a == nil { - return New(key, value) - } - n := &Attributes{m: make(map[interface{}]interface{}, len(a.m)+1)} - for k, v := range a.m { - n.m[k] = v - } - n.m[key] = value - return n -} - -// Value returns the value associated with these attributes for key, or nil if -// no value is associated with key. The returned value should not be modified. -func (a *Attributes) Value(key interface{}) interface{} { - if a == nil { - return nil - } - return a.m[key] -} - -// Equal returns whether a and o are equivalent. If 'Equal(o interface{}) -// bool' is implemented for a value in the attributes, it is called to -// determine if the value matches the one stored in the other attributes. If -// Equal is not implemented, standard equality is used to determine if the two -// values are equal. Note that some types (e.g. maps) aren't comparable by -// default, so they must be wrapped in a struct, or in an alias type, with Equal -// defined. -func (a *Attributes) Equal(o *Attributes) bool { - if a == nil && o == nil { - return true - } - if a == nil || o == nil { - return false - } - if len(a.m) != len(o.m) { - return false - } - for k, v := range a.m { - ov, ok := o.m[k] - if !ok { - // o missing element of a - return false - } - if eq, ok := v.(interface{ Equal(o interface{}) bool }); ok { - if !eq.Equal(ov) { - return false - } - } else if v != ov { - // Fallback to a standard equality check if Value is unimplemented. - return false - } - } - return true -} diff --git a/vendor/google.golang.org/grpc/backoff.go b/vendor/google.golang.org/grpc/backoff.go deleted file mode 100644 index 542594f5..00000000 --- a/vendor/google.golang.org/grpc/backoff.go +++ /dev/null @@ -1,61 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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. - * - */ - -// See internal/backoff package for the backoff implementation. This file is -// kept for the exported types and API backward compatibility. - -package grpc - -import ( - "time" - - "google.golang.org/grpc/backoff" -) - -// DefaultBackoffConfig uses values specified for backoff in -// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. -// -// Deprecated: use ConnectParams instead. Will be supported throughout 1.x. -var DefaultBackoffConfig = BackoffConfig{ - MaxDelay: 120 * time.Second, -} - -// BackoffConfig defines the parameters for the default gRPC backoff strategy. -// -// Deprecated: use ConnectParams instead. Will be supported throughout 1.x. -type BackoffConfig struct { - // MaxDelay is the upper bound of backoff delay. - MaxDelay time.Duration -} - -// ConnectParams defines the parameters for connecting and retrying. Users are -// encouraged to use this instead of the BackoffConfig type defined above. See -// here for more details: -// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type ConnectParams struct { - // Backoff specifies the configuration options for connection backoff. - Backoff backoff.Config - // MinConnectTimeout is the minimum amount of time we are willing to give a - // connection to complete. - MinConnectTimeout time.Duration -} diff --git a/vendor/google.golang.org/grpc/backoff/backoff.go b/vendor/google.golang.org/grpc/backoff/backoff.go deleted file mode 100644 index 0787d0b5..00000000 --- a/vendor/google.golang.org/grpc/backoff/backoff.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Copyright 2019 gRPC 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 backoff provides configuration options for backoff. -// -// More details can be found at: -// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. -// -// All APIs in this package are experimental. -package backoff - -import "time" - -// Config defines the configuration options for backoff. -type Config struct { - // BaseDelay is the amount of time to backoff after the first failure. - BaseDelay time.Duration - // Multiplier is the factor with which to multiply backoffs after a - // failed retry. Should ideally be greater than 1. - Multiplier float64 - // Jitter is the factor with which backoffs are randomized. - Jitter float64 - // MaxDelay is the upper bound of backoff delay. - MaxDelay time.Duration -} - -// DefaultConfig is a backoff configuration with the default values specfied -// at https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. -// -// This should be useful for callers who want to configure backoff with -// non-default values only for a subset of the options. -var DefaultConfig = Config{ - BaseDelay: 1.0 * time.Second, - Multiplier: 1.6, - Jitter: 0.2, - MaxDelay: 120 * time.Second, -} diff --git a/vendor/google.golang.org/grpc/balancer/balancer.go b/vendor/google.golang.org/grpc/balancer/balancer.go deleted file mode 100644 index 25713908..00000000 --- a/vendor/google.golang.org/grpc/balancer/balancer.go +++ /dev/null @@ -1,373 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 balancer defines APIs for load balancing in gRPC. -// All APIs in this package are experimental. -package balancer - -import ( - "context" - "encoding/json" - "errors" - "net" - "strings" - - "google.golang.org/grpc/channelz" - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/serviceconfig" -) - -var ( - // m is a map from name to balancer builder. - m = make(map[string]Builder) -) - -// Register registers the balancer builder to the balancer map. b.Name -// (lowercased) will be used as the name registered with this builder. If the -// Builder implements ConfigParser, ParseConfig will be called when new service -// configs are received by the resolver, and the result will be provided to the -// Balancer in UpdateClientConnState. -// -// NOTE: this function must only be called during initialization time (i.e. in -// an init() function), and is not thread-safe. If multiple Balancers are -// registered with the same name, the one registered last will take effect. -func Register(b Builder) { - m[strings.ToLower(b.Name())] = b -} - -// unregisterForTesting deletes the balancer with the given name from the -// balancer map. -// -// This function is not thread-safe. -func unregisterForTesting(name string) { - delete(m, name) -} - -func init() { - internal.BalancerUnregister = unregisterForTesting -} - -// Get returns the resolver builder registered with the given name. -// Note that the compare is done in a case-insensitive fashion. -// If no builder is register with the name, nil will be returned. -func Get(name string) Builder { - if b, ok := m[strings.ToLower(name)]; ok { - return b - } - return nil -} - -// A SubConn represents a single connection to a gRPC backend service. -// -// Each SubConn contains a list of addresses. -// -// All SubConns start in IDLE, and will not try to connect. To trigger the -// connecting, Balancers must call Connect. If a connection re-enters IDLE, -// Balancers must call Connect again to trigger a new connection attempt. -// -// gRPC will try to connect to the addresses in sequence, and stop trying the -// remainder once the first connection is successful. If an attempt to connect -// to all addresses encounters an error, the SubConn will enter -// TRANSIENT_FAILURE for a backoff period, and then transition to IDLE. -// -// Once established, if a connection is lost, the SubConn will transition -// directly to IDLE. -// -// This interface is to be implemented by gRPC. Users should not need their own -// implementation of this interface. For situations like testing, any -// implementations should embed this interface. This allows gRPC to add new -// methods to this interface. -type SubConn interface { - // UpdateAddresses updates the addresses used in this SubConn. - // gRPC checks if currently-connected address is still in the new list. - // If it's in the list, the connection will be kept. - // If it's not in the list, the connection will gracefully closed, and - // a new connection will be created. - // - // This will trigger a state transition for the SubConn. - // - // Deprecated: This method is now part of the ClientConn interface and will - // eventually be removed from here. - UpdateAddresses([]resolver.Address) - // Connect starts the connecting for this SubConn. - Connect() -} - -// NewSubConnOptions contains options to create new SubConn. -type NewSubConnOptions struct { - // CredsBundle is the credentials bundle that will be used in the created - // SubConn. If it's nil, the original creds from grpc DialOptions will be - // used. - // - // Deprecated: Use the Attributes field in resolver.Address to pass - // arbitrary data to the credential handshaker. - CredsBundle credentials.Bundle - // HealthCheckEnabled indicates whether health check service should be - // enabled on this SubConn - HealthCheckEnabled bool -} - -// State contains the balancer's state relevant to the gRPC ClientConn. -type State struct { - // State contains the connectivity state of the balancer, which is used to - // determine the state of the ClientConn. - ConnectivityState connectivity.State - // Picker is used to choose connections (SubConns) for RPCs. - Picker Picker -} - -// ClientConn represents a gRPC ClientConn. -// -// This interface is to be implemented by gRPC. Users should not need a -// brand new implementation of this interface. For the situations like -// testing, the new implementation should embed this interface. This allows -// gRPC to add new methods to this interface. -type ClientConn interface { - // NewSubConn is called by balancer to create a new SubConn. - // It doesn't block and wait for the connections to be established. - // Behaviors of the SubConn can be controlled by options. - NewSubConn([]resolver.Address, NewSubConnOptions) (SubConn, error) - // RemoveSubConn removes the SubConn from ClientConn. - // The SubConn will be shutdown. - RemoveSubConn(SubConn) - // UpdateAddresses updates the addresses used in the passed in SubConn. - // gRPC checks if the currently connected address is still in the new list. - // If so, the connection will be kept. Else, the connection will be - // gracefully closed, and a new connection will be created. - // - // This will trigger a state transition for the SubConn. - UpdateAddresses(SubConn, []resolver.Address) - - // UpdateState notifies gRPC that the balancer's internal state has - // changed. - // - // gRPC will update the connectivity state of the ClientConn, and will call - // Pick on the new Picker to pick new SubConns. - UpdateState(State) - - // ResolveNow is called by balancer to notify gRPC to do a name resolving. - ResolveNow(resolver.ResolveNowOptions) - - // Target returns the dial target for this ClientConn. - // - // Deprecated: Use the Target field in the BuildOptions instead. - Target() string -} - -// BuildOptions contains additional information for Build. -type BuildOptions struct { - // DialCreds is the transport credentials to use when communicating with a - // remote load balancer server. Balancer implementations which do not - // communicate with a remote load balancer server can ignore this field. - DialCreds credentials.TransportCredentials - // CredsBundle is the credentials bundle to use when communicating with a - // remote load balancer server. Balancer implementations which do not - // communicate with a remote load balancer server can ignore this field. - CredsBundle credentials.Bundle - // Dialer is the custom dialer to use when communicating with a remote load - // balancer server. Balancer implementations which do not communicate with a - // remote load balancer server can ignore this field. - Dialer func(context.Context, string) (net.Conn, error) - // Authority is the server name to use as part of the authentication - // handshake when communicating with a remote load balancer server. Balancer - // implementations which do not communicate with a remote load balancer - // server can ignore this field. - Authority string - // ChannelzParentID is the parent ClientConn's channelz ID. - ChannelzParentID *channelz.Identifier - // CustomUserAgent is the custom user agent set on the parent ClientConn. - // The balancer should set the same custom user agent if it creates a - // ClientConn. - CustomUserAgent string - // Target contains the parsed address info of the dial target. It is the - // same resolver.Target as passed to the resolver. See the documentation for - // the resolver.Target type for details about what it contains. - Target resolver.Target -} - -// Builder creates a balancer. -type Builder interface { - // Build creates a new balancer with the ClientConn. - Build(cc ClientConn, opts BuildOptions) Balancer - // Name returns the name of balancers built by this builder. - // It will be used to pick balancers (for example in service config). - Name() string -} - -// ConfigParser parses load balancer configs. -type ConfigParser interface { - // ParseConfig parses the JSON load balancer config provided into an - // internal form or returns an error if the config is invalid. For future - // compatibility reasons, unknown fields in the config should be ignored. - ParseConfig(LoadBalancingConfigJSON json.RawMessage) (serviceconfig.LoadBalancingConfig, error) -} - -// PickInfo contains additional information for the Pick operation. -type PickInfo struct { - // FullMethodName is the method name that NewClientStream() is called - // with. The canonical format is /service/Method. - FullMethodName string - // Ctx is the RPC's context, and may contain relevant RPC-level information - // like the outgoing header metadata. - Ctx context.Context -} - -// DoneInfo contains additional information for done. -type DoneInfo struct { - // Err is the rpc error the RPC finished with. It could be nil. - Err error - // Trailer contains the metadata from the RPC's trailer, if present. - Trailer metadata.MD - // BytesSent indicates if any bytes have been sent to the server. - BytesSent bool - // BytesReceived indicates if any byte has been received from the server. - BytesReceived bool - // ServerLoad is the load received from server. It's usually sent as part of - // trailing metadata. - // - // The only supported type now is *orca_v1.LoadReport. - ServerLoad interface{} -} - -var ( - // ErrNoSubConnAvailable indicates no SubConn is available for pick(). - // gRPC will block the RPC until a new picker is available via UpdateState(). - ErrNoSubConnAvailable = errors.New("no SubConn is available") - // ErrTransientFailure indicates all SubConns are in TransientFailure. - // WaitForReady RPCs will block, non-WaitForReady RPCs will fail. - // - // Deprecated: return an appropriate error based on the last resolution or - // connection attempt instead. The behavior is the same for any non-gRPC - // status error. - ErrTransientFailure = errors.New("all SubConns are in TransientFailure") -) - -// PickResult contains information related to a connection chosen for an RPC. -type PickResult struct { - // SubConn is the connection to use for this pick, if its state is Ready. - // If the state is not Ready, gRPC will block the RPC until a new Picker is - // provided by the balancer (using ClientConn.UpdateState). The SubConn - // must be one returned by ClientConn.NewSubConn. - SubConn SubConn - - // Done is called when the RPC is completed. If the SubConn is not ready, - // this will be called with a nil parameter. If the SubConn is not a valid - // type, Done may not be called. May be nil if the balancer does not wish - // to be notified when the RPC completes. - Done func(DoneInfo) -} - -// TransientFailureError returns e. It exists for backward compatibility and -// will be deleted soon. -// -// Deprecated: no longer necessary, picker errors are treated this way by -// default. -func TransientFailureError(e error) error { return e } - -// Picker is used by gRPC to pick a SubConn to send an RPC. -// Balancer is expected to generate a new picker from its snapshot every time its -// internal state has changed. -// -// The pickers used by gRPC can be updated by ClientConn.UpdateState(). -type Picker interface { - // Pick returns the connection to use for this RPC and related information. - // - // Pick should not block. If the balancer needs to do I/O or any blocking - // or time-consuming work to service this call, it should return - // ErrNoSubConnAvailable, and the Pick call will be repeated by gRPC when - // the Picker is updated (using ClientConn.UpdateState). - // - // If an error is returned: - // - // - If the error is ErrNoSubConnAvailable, gRPC will block until a new - // Picker is provided by the balancer (using ClientConn.UpdateState). - // - // - If the error is a status error (implemented by the grpc/status - // package), gRPC will terminate the RPC with the code and message - // provided. - // - // - For all other errors, wait for ready RPCs will wait, but non-wait for - // ready RPCs will be terminated with this error's Error() string and - // status code Unavailable. - Pick(info PickInfo) (PickResult, error) -} - -// Balancer takes input from gRPC, manages SubConns, and collects and aggregates -// the connectivity states. -// -// It also generates and updates the Picker used by gRPC to pick SubConns for RPCs. -// -// UpdateClientConnState, ResolverError, UpdateSubConnState, and Close are -// guaranteed to be called synchronously from the same goroutine. There's no -// guarantee on picker.Pick, it may be called anytime. -type Balancer interface { - // UpdateClientConnState is called by gRPC when the state of the ClientConn - // changes. If the error returned is ErrBadResolverState, the ClientConn - // will begin calling ResolveNow on the active name resolver with - // exponential backoff until a subsequent call to UpdateClientConnState - // returns a nil error. Any other errors are currently ignored. - UpdateClientConnState(ClientConnState) error - // ResolverError is called by gRPC when the name resolver reports an error. - ResolverError(error) - // UpdateSubConnState is called by gRPC when the state of a SubConn - // changes. - UpdateSubConnState(SubConn, SubConnState) - // Close closes the balancer. The balancer is not required to call - // ClientConn.RemoveSubConn for its existing SubConns. - Close() -} - -// ExitIdler is an optional interface for balancers to implement. If -// implemented, ExitIdle will be called when ClientConn.Connect is called, if -// the ClientConn is idle. If unimplemented, ClientConn.Connect will cause -// all SubConns to connect. -// -// Notice: it will be required for all balancers to implement this in a future -// release. -type ExitIdler interface { - // ExitIdle instructs the LB policy to reconnect to backends / exit the - // IDLE state, if appropriate and possible. Note that SubConns that enter - // the IDLE state will not reconnect until SubConn.Connect is called. - ExitIdle() -} - -// SubConnState describes the state of a SubConn. -type SubConnState struct { - // ConnectivityState is the connectivity state of the SubConn. - ConnectivityState connectivity.State - // ConnectionError is set if the ConnectivityState is TransientFailure, - // describing the reason the SubConn failed. Otherwise, it is nil. - ConnectionError error -} - -// ClientConnState describes the state of a ClientConn relevant to the -// balancer. -type ClientConnState struct { - ResolverState resolver.State - // The parsed load balancing configuration returned by the builder's - // ParseConfig method, if implemented. - BalancerConfig serviceconfig.LoadBalancingConfig -} - -// ErrBadResolverState may be returned by UpdateClientConnState to indicate a -// problem with the provided name resolver data. -var ErrBadResolverState = errors.New("bad resolver state") diff --git a/vendor/google.golang.org/grpc/balancer/base/balancer.go b/vendor/google.golang.org/grpc/balancer/base/balancer.go deleted file mode 100644 index e8dfc828..00000000 --- a/vendor/google.golang.org/grpc/balancer/base/balancer.go +++ /dev/null @@ -1,254 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 base - -import ( - "errors" - "fmt" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/resolver" -) - -var logger = grpclog.Component("balancer") - -type baseBuilder struct { - name string - pickerBuilder PickerBuilder - config Config -} - -func (bb *baseBuilder) Build(cc balancer.ClientConn, opt balancer.BuildOptions) balancer.Balancer { - bal := &baseBalancer{ - cc: cc, - pickerBuilder: bb.pickerBuilder, - - subConns: resolver.NewAddressMap(), - scStates: make(map[balancer.SubConn]connectivity.State), - csEvltr: &balancer.ConnectivityStateEvaluator{}, - config: bb.config, - state: connectivity.Connecting, - } - // Initialize picker to a picker that always returns - // ErrNoSubConnAvailable, because when state of a SubConn changes, we - // may call UpdateState with this picker. - bal.picker = NewErrPicker(balancer.ErrNoSubConnAvailable) - return bal -} - -func (bb *baseBuilder) Name() string { - return bb.name -} - -type baseBalancer struct { - cc balancer.ClientConn - pickerBuilder PickerBuilder - - csEvltr *balancer.ConnectivityStateEvaluator - state connectivity.State - - subConns *resolver.AddressMap - scStates map[balancer.SubConn]connectivity.State - picker balancer.Picker - config Config - - resolverErr error // the last error reported by the resolver; cleared on successful resolution - connErr error // the last connection error; cleared upon leaving TransientFailure -} - -func (b *baseBalancer) ResolverError(err error) { - b.resolverErr = err - if b.subConns.Len() == 0 { - b.state = connectivity.TransientFailure - } - - if b.state != connectivity.TransientFailure { - // The picker will not change since the balancer does not currently - // report an error. - return - } - b.regeneratePicker() - b.cc.UpdateState(balancer.State{ - ConnectivityState: b.state, - Picker: b.picker, - }) -} - -func (b *baseBalancer) UpdateClientConnState(s balancer.ClientConnState) error { - // TODO: handle s.ResolverState.ServiceConfig? - if logger.V(2) { - logger.Info("base.baseBalancer: got new ClientConn state: ", s) - } - // Successful resolution; clear resolver error and ensure we return nil. - b.resolverErr = nil - // addrsSet is the set converted from addrs, it's used for quick lookup of an address. - addrsSet := resolver.NewAddressMap() - for _, a := range s.ResolverState.Addresses { - addrsSet.Set(a, nil) - if _, ok := b.subConns.Get(a); !ok { - // a is a new address (not existing in b.subConns). - sc, err := b.cc.NewSubConn([]resolver.Address{a}, balancer.NewSubConnOptions{HealthCheckEnabled: b.config.HealthCheck}) - if err != nil { - logger.Warningf("base.baseBalancer: failed to create new SubConn: %v", err) - continue - } - b.subConns.Set(a, sc) - b.scStates[sc] = connectivity.Idle - b.csEvltr.RecordTransition(connectivity.Shutdown, connectivity.Idle) - sc.Connect() - } - } - for _, a := range b.subConns.Keys() { - sci, _ := b.subConns.Get(a) - sc := sci.(balancer.SubConn) - // a was removed by resolver. - if _, ok := addrsSet.Get(a); !ok { - b.cc.RemoveSubConn(sc) - b.subConns.Delete(a) - // Keep the state of this sc in b.scStates until sc's state becomes Shutdown. - // The entry will be deleted in UpdateSubConnState. - } - } - // If resolver state contains no addresses, return an error so ClientConn - // will trigger re-resolve. Also records this as an resolver error, so when - // the overall state turns transient failure, the error message will have - // the zero address information. - if len(s.ResolverState.Addresses) == 0 { - b.ResolverError(errors.New("produced zero addresses")) - return balancer.ErrBadResolverState - } - - b.regeneratePicker() - b.cc.UpdateState(balancer.State{ConnectivityState: b.state, Picker: b.picker}) - return nil -} - -// mergeErrors builds an error from the last connection error and the last -// resolver error. Must only be called if b.state is TransientFailure. -func (b *baseBalancer) mergeErrors() error { - // connErr must always be non-nil unless there are no SubConns, in which - // case resolverErr must be non-nil. - if b.connErr == nil { - return fmt.Errorf("last resolver error: %v", b.resolverErr) - } - if b.resolverErr == nil { - return fmt.Errorf("last connection error: %v", b.connErr) - } - return fmt.Errorf("last connection error: %v; last resolver error: %v", b.connErr, b.resolverErr) -} - -// regeneratePicker takes a snapshot of the balancer, and generates a picker -// from it. The picker is -// - errPicker if the balancer is in TransientFailure, -// - built by the pickerBuilder with all READY SubConns otherwise. -func (b *baseBalancer) regeneratePicker() { - if b.state == connectivity.TransientFailure { - b.picker = NewErrPicker(b.mergeErrors()) - return - } - readySCs := make(map[balancer.SubConn]SubConnInfo) - - // Filter out all ready SCs from full subConn map. - for _, addr := range b.subConns.Keys() { - sci, _ := b.subConns.Get(addr) - sc := sci.(balancer.SubConn) - if st, ok := b.scStates[sc]; ok && st == connectivity.Ready { - readySCs[sc] = SubConnInfo{Address: addr} - } - } - b.picker = b.pickerBuilder.Build(PickerBuildInfo{ReadySCs: readySCs}) -} - -func (b *baseBalancer) UpdateSubConnState(sc balancer.SubConn, state balancer.SubConnState) { - s := state.ConnectivityState - if logger.V(2) { - logger.Infof("base.baseBalancer: handle SubConn state change: %p, %v", sc, s) - } - oldS, ok := b.scStates[sc] - if !ok { - if logger.V(2) { - logger.Infof("base.baseBalancer: got state changes for an unknown SubConn: %p, %v", sc, s) - } - return - } - if oldS == connectivity.TransientFailure && - (s == connectivity.Connecting || s == connectivity.Idle) { - // Once a subconn enters TRANSIENT_FAILURE, ignore subsequent IDLE or - // CONNECTING transitions to prevent the aggregated state from being - // always CONNECTING when many backends exist but are all down. - if s == connectivity.Idle { - sc.Connect() - } - return - } - b.scStates[sc] = s - switch s { - case connectivity.Idle: - sc.Connect() - case connectivity.Shutdown: - // When an address was removed by resolver, b called RemoveSubConn but - // kept the sc's state in scStates. Remove state for this sc here. - delete(b.scStates, sc) - case connectivity.TransientFailure: - // Save error to be reported via picker. - b.connErr = state.ConnectionError - } - - b.state = b.csEvltr.RecordTransition(oldS, s) - - // Regenerate picker when one of the following happens: - // - this sc entered or left ready - // - the aggregated state of balancer is TransientFailure - // (may need to update error message) - if (s == connectivity.Ready) != (oldS == connectivity.Ready) || - b.state == connectivity.TransientFailure { - b.regeneratePicker() - } - b.cc.UpdateState(balancer.State{ConnectivityState: b.state, Picker: b.picker}) -} - -// Close is a nop because base balancer doesn't have internal state to clean up, -// and it doesn't need to call RemoveSubConn for the SubConns. -func (b *baseBalancer) Close() { -} - -// ExitIdle is a nop because the base balancer attempts to stay connected to -// all SubConns at all times. -func (b *baseBalancer) ExitIdle() { -} - -// NewErrPicker returns a Picker that always returns err on Pick(). -func NewErrPicker(err error) balancer.Picker { - return &errPicker{err: err} -} - -// NewErrPickerV2 is temporarily defined for backward compatibility reasons. -// -// Deprecated: use NewErrPicker instead. -var NewErrPickerV2 = NewErrPicker - -type errPicker struct { - err error // Pick() always returns this err. -} - -func (p *errPicker) Pick(info balancer.PickInfo) (balancer.PickResult, error) { - return balancer.PickResult{}, p.err -} diff --git a/vendor/google.golang.org/grpc/balancer/base/base.go b/vendor/google.golang.org/grpc/balancer/base/base.go deleted file mode 100644 index e31d76e3..00000000 --- a/vendor/google.golang.org/grpc/balancer/base/base.go +++ /dev/null @@ -1,71 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 base defines a balancer base that can be used to build balancers with -// different picking algorithms. -// -// The base balancer creates a new SubConn for each resolved address. The -// provided picker will only be notified about READY SubConns. -// -// This package is the base of round_robin balancer, its purpose is to be used -// to build round_robin like balancers with complex picking algorithms. -// Balancers with more complicated logic should try to implement a balancer -// builder from scratch. -// -// All APIs in this package are experimental. -package base - -import ( - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/resolver" -) - -// PickerBuilder creates balancer.Picker. -type PickerBuilder interface { - // Build returns a picker that will be used by gRPC to pick a SubConn. - Build(info PickerBuildInfo) balancer.Picker -} - -// PickerBuildInfo contains information needed by the picker builder to -// construct a picker. -type PickerBuildInfo struct { - // ReadySCs is a map from all ready SubConns to the Addresses used to - // create them. - ReadySCs map[balancer.SubConn]SubConnInfo -} - -// SubConnInfo contains information about a SubConn created by the base -// balancer. -type SubConnInfo struct { - Address resolver.Address // the address used to create this SubConn -} - -// Config contains the config info about the base balancer builder. -type Config struct { - // HealthCheck indicates whether health checking should be enabled for this specific balancer. - HealthCheck bool -} - -// NewBalancerBuilder returns a base balancer builder configured by the provided config. -func NewBalancerBuilder(name string, pb PickerBuilder, config Config) balancer.Builder { - return &baseBuilder{ - name: name, - pickerBuilder: pb, - config: config, - } -} diff --git a/vendor/google.golang.org/grpc/balancer/conn_state_evaluator.go b/vendor/google.golang.org/grpc/balancer/conn_state_evaluator.go deleted file mode 100644 index a87b6809..00000000 --- a/vendor/google.golang.org/grpc/balancer/conn_state_evaluator.go +++ /dev/null @@ -1,70 +0,0 @@ -/* - * - * Copyright 2022 gRPC 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 balancer - -import "google.golang.org/grpc/connectivity" - -// ConnectivityStateEvaluator takes the connectivity states of multiple SubConns -// and returns one aggregated connectivity state. -// -// It's not thread safe. -type ConnectivityStateEvaluator struct { - numReady uint64 // Number of addrConns in ready state. - numConnecting uint64 // Number of addrConns in connecting state. - numTransientFailure uint64 // Number of addrConns in transient failure state. - numIdle uint64 // Number of addrConns in idle state. -} - -// RecordTransition records state change happening in subConn and based on that -// it evaluates what aggregated state should be. -// -// - If at least one SubConn in Ready, the aggregated state is Ready; -// - Else if at least one SubConn in Connecting, the aggregated state is Connecting; -// - Else if at least one SubConn is Idle, the aggregated state is Idle; -// - Else if at least one SubConn is TransientFailure (or there are no SubConns), the aggregated state is Transient Failure. -// -// Shutdown is not considered. -func (cse *ConnectivityStateEvaluator) RecordTransition(oldState, newState connectivity.State) connectivity.State { - // Update counters. - for idx, state := range []connectivity.State{oldState, newState} { - updateVal := 2*uint64(idx) - 1 // -1 for oldState and +1 for new. - switch state { - case connectivity.Ready: - cse.numReady += updateVal - case connectivity.Connecting: - cse.numConnecting += updateVal - case connectivity.TransientFailure: - cse.numTransientFailure += updateVal - case connectivity.Idle: - cse.numIdle += updateVal - } - } - - // Evaluate. - if cse.numReady > 0 { - return connectivity.Ready - } - if cse.numConnecting > 0 { - return connectivity.Connecting - } - if cse.numIdle > 0 { - return connectivity.Idle - } - return connectivity.TransientFailure -} diff --git a/vendor/google.golang.org/grpc/balancer/grpclb/state/state.go b/vendor/google.golang.org/grpc/balancer/grpclb/state/state.go deleted file mode 100644 index 4ecfa1c2..00000000 --- a/vendor/google.golang.org/grpc/balancer/grpclb/state/state.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 state declares grpclb types to be set by resolvers wishing to pass -// information to grpclb via resolver.State Attributes. -package state - -import ( - "google.golang.org/grpc/resolver" -) - -// keyType is the key to use for storing State in Attributes. -type keyType string - -const key = keyType("grpc.grpclb.state") - -// State contains gRPCLB-relevant data passed from the name resolver. -type State struct { - // BalancerAddresses contains the remote load balancer address(es). If - // set, overrides any resolver-provided addresses with Type of GRPCLB. - BalancerAddresses []resolver.Address -} - -// Set returns a copy of the provided state with attributes containing s. s's -// data should not be mutated after calling Set. -func Set(state resolver.State, s *State) resolver.State { - state.Attributes = state.Attributes.WithValue(key, s) - return state -} - -// Get returns the grpclb State in the resolver.State, or nil if not present. -// The returned data should not be mutated. -func Get(state resolver.State) *State { - s, _ := state.Attributes.Value(key).(*State) - return s -} diff --git a/vendor/google.golang.org/grpc/balancer/roundrobin/roundrobin.go b/vendor/google.golang.org/grpc/balancer/roundrobin/roundrobin.go deleted file mode 100644 index 274eb2f8..00000000 --- a/vendor/google.golang.org/grpc/balancer/roundrobin/roundrobin.go +++ /dev/null @@ -1,83 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 roundrobin defines a roundrobin balancer. Roundrobin balancer is -// installed as one of the default balancers in gRPC, users don't need to -// explicitly install this balancer. -package roundrobin - -import ( - "sync" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/balancer/base" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/internal/grpcrand" -) - -// Name is the name of round_robin balancer. -const Name = "round_robin" - -var logger = grpclog.Component("roundrobin") - -// newBuilder creates a new roundrobin balancer builder. -func newBuilder() balancer.Builder { - return base.NewBalancerBuilder(Name, &rrPickerBuilder{}, base.Config{HealthCheck: true}) -} - -func init() { - balancer.Register(newBuilder()) -} - -type rrPickerBuilder struct{} - -func (*rrPickerBuilder) Build(info base.PickerBuildInfo) balancer.Picker { - logger.Infof("roundrobinPicker: Build called with info: %v", info) - if len(info.ReadySCs) == 0 { - return base.NewErrPicker(balancer.ErrNoSubConnAvailable) - } - scs := make([]balancer.SubConn, 0, len(info.ReadySCs)) - for sc := range info.ReadySCs { - scs = append(scs, sc) - } - return &rrPicker{ - subConns: scs, - // Start at a random index, as the same RR balancer rebuilds a new - // picker when SubConn states change, and we don't want to apply excess - // load to the first server in the list. - next: grpcrand.Intn(len(scs)), - } -} - -type rrPicker struct { - // subConns is the snapshot of the roundrobin balancer when this picker was - // created. The slice is immutable. Each Get() will do a round robin - // selection from it and return the selected SubConn. - subConns []balancer.SubConn - - mu sync.Mutex - next int -} - -func (p *rrPicker) Pick(balancer.PickInfo) (balancer.PickResult, error) { - p.mu.Lock() - sc := p.subConns[p.next] - p.next = (p.next + 1) % len(p.subConns) - p.mu.Unlock() - return balancer.PickResult{SubConn: sc}, nil -} diff --git a/vendor/google.golang.org/grpc/balancer_conn_wrappers.go b/vendor/google.golang.org/grpc/balancer_conn_wrappers.go deleted file mode 100644 index b1c23eaa..00000000 --- a/vendor/google.golang.org/grpc/balancer_conn_wrappers.go +++ /dev/null @@ -1,416 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpc - -import ( - "fmt" - "strings" - "sync" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/internal/balancer/gracefulswitch" - "google.golang.org/grpc/internal/buffer" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/grpcsync" - "google.golang.org/grpc/resolver" -) - -// ccBalancerWrapper sits between the ClientConn and the Balancer. -// -// ccBalancerWrapper implements methods corresponding to the ones on the -// balancer.Balancer interface. The ClientConn is free to call these methods -// concurrently and the ccBalancerWrapper ensures that calls from the ClientConn -// to the Balancer happen synchronously and in order. -// -// ccBalancerWrapper also implements the balancer.ClientConn interface and is -// passed to the Balancer implementations. It invokes unexported methods on the -// ClientConn to handle these calls from the Balancer. -// -// It uses the gracefulswitch.Balancer internally to ensure that balancer -// switches happen in a graceful manner. -type ccBalancerWrapper struct { - cc *ClientConn - - // Since these fields are accessed only from handleXxx() methods which are - // synchronized by the watcher goroutine, we do not need a mutex to protect - // these fields. - balancer *gracefulswitch.Balancer - curBalancerName string - - updateCh *buffer.Unbounded // Updates written on this channel are processed by watcher(). - resultCh *buffer.Unbounded // Results of calls to UpdateClientConnState() are pushed here. - closed *grpcsync.Event // Indicates if close has been called. - done *grpcsync.Event // Indicates if close has completed its work. -} - -// newCCBalancerWrapper creates a new balancer wrapper. The underlying balancer -// is not created until the switchTo() method is invoked. -func newCCBalancerWrapper(cc *ClientConn, bopts balancer.BuildOptions) *ccBalancerWrapper { - ccb := &ccBalancerWrapper{ - cc: cc, - updateCh: buffer.NewUnbounded(), - resultCh: buffer.NewUnbounded(), - closed: grpcsync.NewEvent(), - done: grpcsync.NewEvent(), - } - go ccb.watcher() - ccb.balancer = gracefulswitch.NewBalancer(ccb, bopts) - return ccb -} - -// The following xxxUpdate structs wrap the arguments received as part of the -// corresponding update. The watcher goroutine uses the 'type' of the update to -// invoke the appropriate handler routine to handle the update. - -type ccStateUpdate struct { - ccs *balancer.ClientConnState -} - -type scStateUpdate struct { - sc balancer.SubConn - state connectivity.State - err error -} - -type exitIdleUpdate struct{} - -type resolverErrorUpdate struct { - err error -} - -type switchToUpdate struct { - name string -} - -type subConnUpdate struct { - acbw *acBalancerWrapper -} - -// watcher is a long-running goroutine which reads updates from a channel and -// invokes corresponding methods on the underlying balancer. It ensures that -// these methods are invoked in a synchronous fashion. It also ensures that -// these methods are invoked in the order in which the updates were received. -func (ccb *ccBalancerWrapper) watcher() { - for { - select { - case u := <-ccb.updateCh.Get(): - ccb.updateCh.Load() - if ccb.closed.HasFired() { - break - } - switch update := u.(type) { - case *ccStateUpdate: - ccb.handleClientConnStateChange(update.ccs) - case *scStateUpdate: - ccb.handleSubConnStateChange(update) - case *exitIdleUpdate: - ccb.handleExitIdle() - case *resolverErrorUpdate: - ccb.handleResolverError(update.err) - case *switchToUpdate: - ccb.handleSwitchTo(update.name) - case *subConnUpdate: - ccb.handleRemoveSubConn(update.acbw) - default: - logger.Errorf("ccBalancerWrapper.watcher: unknown update %+v, type %T", update, update) - } - case <-ccb.closed.Done(): - } - - if ccb.closed.HasFired() { - ccb.handleClose() - return - } - } -} - -// updateClientConnState is invoked by grpc to push a ClientConnState update to -// the underlying balancer. -// -// Unlike other methods invoked by grpc to push updates to the underlying -// balancer, this method cannot simply push the update onto the update channel -// and return. It needs to return the error returned by the underlying balancer -// back to grpc which propagates that to the resolver. -func (ccb *ccBalancerWrapper) updateClientConnState(ccs *balancer.ClientConnState) error { - ccb.updateCh.Put(&ccStateUpdate{ccs: ccs}) - - var res interface{} - select { - case res = <-ccb.resultCh.Get(): - ccb.resultCh.Load() - case <-ccb.closed.Done(): - // Return early if the balancer wrapper is closed while we are waiting for - // the underlying balancer to process a ClientConnState update. - return nil - } - // If the returned error is nil, attempting to type assert to error leads to - // panic. So, this needs to handled separately. - if res == nil { - return nil - } - return res.(error) -} - -// handleClientConnStateChange handles a ClientConnState update from the update -// channel and invokes the appropriate method on the underlying balancer. -// -// If the addresses specified in the update contain addresses of type "grpclb" -// and the selected LB policy is not "grpclb", these addresses will be filtered -// out and ccs will be modified with the updated address list. -func (ccb *ccBalancerWrapper) handleClientConnStateChange(ccs *balancer.ClientConnState) { - if ccb.curBalancerName != grpclbName { - // Filter any grpclb addresses since we don't have the grpclb balancer. - var addrs []resolver.Address - for _, addr := range ccs.ResolverState.Addresses { - if addr.Type == resolver.GRPCLB { - continue - } - addrs = append(addrs, addr) - } - ccs.ResolverState.Addresses = addrs - } - ccb.resultCh.Put(ccb.balancer.UpdateClientConnState(*ccs)) -} - -// updateSubConnState is invoked by grpc to push a subConn state update to the -// underlying balancer. -func (ccb *ccBalancerWrapper) updateSubConnState(sc balancer.SubConn, s connectivity.State, err error) { - // When updating addresses for a SubConn, if the address in use is not in - // the new addresses, the old ac will be tearDown() and a new ac will be - // created. tearDown() generates a state change with Shutdown state, we - // don't want the balancer to receive this state change. So before - // tearDown() on the old ac, ac.acbw (acWrapper) will be set to nil, and - // this function will be called with (nil, Shutdown). We don't need to call - // balancer method in this case. - if sc == nil { - return - } - ccb.updateCh.Put(&scStateUpdate{ - sc: sc, - state: s, - err: err, - }) -} - -// handleSubConnStateChange handles a SubConnState update from the update -// channel and invokes the appropriate method on the underlying balancer. -func (ccb *ccBalancerWrapper) handleSubConnStateChange(update *scStateUpdate) { - ccb.balancer.UpdateSubConnState(update.sc, balancer.SubConnState{ConnectivityState: update.state, ConnectionError: update.err}) -} - -func (ccb *ccBalancerWrapper) exitIdle() { - ccb.updateCh.Put(&exitIdleUpdate{}) -} - -func (ccb *ccBalancerWrapper) handleExitIdle() { - if ccb.cc.GetState() != connectivity.Idle { - return - } - ccb.balancer.ExitIdle() -} - -func (ccb *ccBalancerWrapper) resolverError(err error) { - ccb.updateCh.Put(&resolverErrorUpdate{err: err}) -} - -func (ccb *ccBalancerWrapper) handleResolverError(err error) { - ccb.balancer.ResolverError(err) -} - -// switchTo is invoked by grpc to instruct the balancer wrapper to switch to the -// LB policy identified by name. -// -// ClientConn calls newCCBalancerWrapper() at creation time. Upon receipt of the -// first good update from the name resolver, it determines the LB policy to use -// and invokes the switchTo() method. Upon receipt of every subsequent update -// from the name resolver, it invokes this method. -// -// the ccBalancerWrapper keeps track of the current LB policy name, and skips -// the graceful balancer switching process if the name does not change. -func (ccb *ccBalancerWrapper) switchTo(name string) { - ccb.updateCh.Put(&switchToUpdate{name: name}) -} - -// handleSwitchTo handles a balancer switch update from the update channel. It -// calls the SwitchTo() method on the gracefulswitch.Balancer with a -// balancer.Builder corresponding to name. If no balancer.Builder is registered -// for the given name, it uses the default LB policy which is "pick_first". -func (ccb *ccBalancerWrapper) handleSwitchTo(name string) { - // TODO: Other languages use case-insensitive balancer registries. We should - // switch as well. See: https://github.com/grpc/grpc-go/issues/5288. - if strings.EqualFold(ccb.curBalancerName, name) { - return - } - - // TODO: Ensure that name is a registered LB policy when we get here. - // We currently only validate the `loadBalancingConfig` field. We need to do - // the same for the `loadBalancingPolicy` field and reject the service config - // if the specified policy is not registered. - builder := balancer.Get(name) - if builder == nil { - channelz.Warningf(logger, ccb.cc.channelzID, "Channel switches to new LB policy %q, since the specified LB policy %q was not registered", PickFirstBalancerName, name) - builder = newPickfirstBuilder() - } else { - channelz.Infof(logger, ccb.cc.channelzID, "Channel switches to new LB policy %q", name) - } - - if err := ccb.balancer.SwitchTo(builder); err != nil { - channelz.Errorf(logger, ccb.cc.channelzID, "Channel failed to build new LB policy %q: %v", name, err) - return - } - ccb.curBalancerName = builder.Name() -} - -// handleRemoveSucConn handles a request from the underlying balancer to remove -// a subConn. -// -// See comments in RemoveSubConn() for more details. -func (ccb *ccBalancerWrapper) handleRemoveSubConn(acbw *acBalancerWrapper) { - ccb.cc.removeAddrConn(acbw.getAddrConn(), errConnDrain) -} - -func (ccb *ccBalancerWrapper) close() { - ccb.closed.Fire() - <-ccb.done.Done() -} - -func (ccb *ccBalancerWrapper) handleClose() { - ccb.balancer.Close() - ccb.done.Fire() -} - -func (ccb *ccBalancerWrapper) NewSubConn(addrs []resolver.Address, opts balancer.NewSubConnOptions) (balancer.SubConn, error) { - if len(addrs) <= 0 { - return nil, fmt.Errorf("grpc: cannot create SubConn with empty address list") - } - ac, err := ccb.cc.newAddrConn(addrs, opts) - if err != nil { - channelz.Warningf(logger, ccb.cc.channelzID, "acBalancerWrapper: NewSubConn: failed to newAddrConn: %v", err) - return nil, err - } - acbw := &acBalancerWrapper{ac: ac} - acbw.ac.mu.Lock() - ac.acbw = acbw - acbw.ac.mu.Unlock() - return acbw, nil -} - -func (ccb *ccBalancerWrapper) RemoveSubConn(sc balancer.SubConn) { - // Before we switched the ccBalancerWrapper to use gracefulswitch.Balancer, it - // was required to handle the RemoveSubConn() method asynchronously by pushing - // the update onto the update channel. This was done to avoid a deadlock as - // switchBalancer() was holding cc.mu when calling Close() on the old - // balancer, which would in turn call RemoveSubConn(). - // - // With the use of gracefulswitch.Balancer in ccBalancerWrapper, handling this - // asynchronously is probably not required anymore since the switchTo() method - // handles the balancer switch by pushing the update onto the channel. - // TODO(easwars): Handle this inline. - acbw, ok := sc.(*acBalancerWrapper) - if !ok { - return - } - ccb.updateCh.Put(&subConnUpdate{acbw: acbw}) -} - -func (ccb *ccBalancerWrapper) UpdateAddresses(sc balancer.SubConn, addrs []resolver.Address) { - acbw, ok := sc.(*acBalancerWrapper) - if !ok { - return - } - acbw.UpdateAddresses(addrs) -} - -func (ccb *ccBalancerWrapper) UpdateState(s balancer.State) { - // Update picker before updating state. Even though the ordering here does - // not matter, it can lead to multiple calls of Pick in the common start-up - // case where we wait for ready and then perform an RPC. If the picker is - // updated later, we could call the "connecting" picker when the state is - // updated, and then call the "ready" picker after the picker gets updated. - ccb.cc.blockingpicker.updatePicker(s.Picker) - ccb.cc.csMgr.updateState(s.ConnectivityState) -} - -func (ccb *ccBalancerWrapper) ResolveNow(o resolver.ResolveNowOptions) { - ccb.cc.resolveNow(o) -} - -func (ccb *ccBalancerWrapper) Target() string { - return ccb.cc.target -} - -// acBalancerWrapper is a wrapper on top of ac for balancers. -// It implements balancer.SubConn interface. -type acBalancerWrapper struct { - mu sync.Mutex - ac *addrConn -} - -func (acbw *acBalancerWrapper) UpdateAddresses(addrs []resolver.Address) { - acbw.mu.Lock() - defer acbw.mu.Unlock() - if len(addrs) <= 0 { - acbw.ac.cc.removeAddrConn(acbw.ac, errConnDrain) - return - } - if !acbw.ac.tryUpdateAddrs(addrs) { - cc := acbw.ac.cc - opts := acbw.ac.scopts - acbw.ac.mu.Lock() - // Set old ac.acbw to nil so the Shutdown state update will be ignored - // by balancer. - // - // TODO(bar) the state transition could be wrong when tearDown() old ac - // and creating new ac, fix the transition. - acbw.ac.acbw = nil - acbw.ac.mu.Unlock() - acState := acbw.ac.getState() - acbw.ac.cc.removeAddrConn(acbw.ac, errConnDrain) - - if acState == connectivity.Shutdown { - return - } - - newAC, err := cc.newAddrConn(addrs, opts) - if err != nil { - channelz.Warningf(logger, acbw.ac.channelzID, "acBalancerWrapper: UpdateAddresses: failed to newAddrConn: %v", err) - return - } - acbw.ac = newAC - newAC.mu.Lock() - newAC.acbw = acbw - newAC.mu.Unlock() - if acState != connectivity.Idle { - go newAC.connect() - } - } -} - -func (acbw *acBalancerWrapper) Connect() { - acbw.mu.Lock() - defer acbw.mu.Unlock() - go acbw.ac.connect() -} - -func (acbw *acBalancerWrapper) getAddrConn() *addrConn { - acbw.mu.Lock() - defer acbw.mu.Unlock() - return acbw.ac -} diff --git a/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go b/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go deleted file mode 100644 index ed75290c..00000000 --- a/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go +++ /dev/null @@ -1,1187 +0,0 @@ -// Copyright 2018 The gRPC Authors -// All rights reserved. -// -// 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. - -// The canonical version of this proto can be found at -// https://github.com/grpc/grpc-proto/blob/master/grpc/binlog/v1/binarylog.proto - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.25.0 -// protoc v3.14.0 -// source: grpc/binlog/v1/binarylog.proto - -package grpc_binarylog_v1 - -import ( - proto "github.com/golang/protobuf/proto" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -// Enumerates the type of event -// Note the terminology is different from the RPC semantics -// definition, but the same meaning is expressed here. -type GrpcLogEntry_EventType int32 - -const ( - GrpcLogEntry_EVENT_TYPE_UNKNOWN GrpcLogEntry_EventType = 0 - // Header sent from client to server - GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER GrpcLogEntry_EventType = 1 - // Header sent from server to client - GrpcLogEntry_EVENT_TYPE_SERVER_HEADER GrpcLogEntry_EventType = 2 - // Message sent from client to server - GrpcLogEntry_EVENT_TYPE_CLIENT_MESSAGE GrpcLogEntry_EventType = 3 - // Message sent from server to client - GrpcLogEntry_EVENT_TYPE_SERVER_MESSAGE GrpcLogEntry_EventType = 4 - // A signal that client is done sending - GrpcLogEntry_EVENT_TYPE_CLIENT_HALF_CLOSE GrpcLogEntry_EventType = 5 - // Trailer indicates the end of the RPC. - // On client side, this event means a trailer was either received - // from the network or the gRPC library locally generated a status - // to inform the application about a failure. - // On server side, this event means the server application requested - // to send a trailer. Note: EVENT_TYPE_CANCEL may still arrive after - // this due to races on server side. - GrpcLogEntry_EVENT_TYPE_SERVER_TRAILER GrpcLogEntry_EventType = 6 - // A signal that the RPC is cancelled. On client side, this - // indicates the client application requests a cancellation. - // On server side, this indicates that cancellation was detected. - // Note: This marks the end of the RPC. Events may arrive after - // this due to races. For example, on client side a trailer - // may arrive even though the application requested to cancel the RPC. - GrpcLogEntry_EVENT_TYPE_CANCEL GrpcLogEntry_EventType = 7 -) - -// Enum value maps for GrpcLogEntry_EventType. -var ( - GrpcLogEntry_EventType_name = map[int32]string{ - 0: "EVENT_TYPE_UNKNOWN", - 1: "EVENT_TYPE_CLIENT_HEADER", - 2: "EVENT_TYPE_SERVER_HEADER", - 3: "EVENT_TYPE_CLIENT_MESSAGE", - 4: "EVENT_TYPE_SERVER_MESSAGE", - 5: "EVENT_TYPE_CLIENT_HALF_CLOSE", - 6: "EVENT_TYPE_SERVER_TRAILER", - 7: "EVENT_TYPE_CANCEL", - } - GrpcLogEntry_EventType_value = map[string]int32{ - "EVENT_TYPE_UNKNOWN": 0, - "EVENT_TYPE_CLIENT_HEADER": 1, - "EVENT_TYPE_SERVER_HEADER": 2, - "EVENT_TYPE_CLIENT_MESSAGE": 3, - "EVENT_TYPE_SERVER_MESSAGE": 4, - "EVENT_TYPE_CLIENT_HALF_CLOSE": 5, - "EVENT_TYPE_SERVER_TRAILER": 6, - "EVENT_TYPE_CANCEL": 7, - } -) - -func (x GrpcLogEntry_EventType) Enum() *GrpcLogEntry_EventType { - p := new(GrpcLogEntry_EventType) - *p = x - return p -} - -func (x GrpcLogEntry_EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GrpcLogEntry_EventType) Descriptor() protoreflect.EnumDescriptor { - return file_grpc_binlog_v1_binarylog_proto_enumTypes[0].Descriptor() -} - -func (GrpcLogEntry_EventType) Type() protoreflect.EnumType { - return &file_grpc_binlog_v1_binarylog_proto_enumTypes[0] -} - -func (x GrpcLogEntry_EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GrpcLogEntry_EventType.Descriptor instead. -func (GrpcLogEntry_EventType) EnumDescriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{0, 0} -} - -// Enumerates the entity that generates the log entry -type GrpcLogEntry_Logger int32 - -const ( - GrpcLogEntry_LOGGER_UNKNOWN GrpcLogEntry_Logger = 0 - GrpcLogEntry_LOGGER_CLIENT GrpcLogEntry_Logger = 1 - GrpcLogEntry_LOGGER_SERVER GrpcLogEntry_Logger = 2 -) - -// Enum value maps for GrpcLogEntry_Logger. -var ( - GrpcLogEntry_Logger_name = map[int32]string{ - 0: "LOGGER_UNKNOWN", - 1: "LOGGER_CLIENT", - 2: "LOGGER_SERVER", - } - GrpcLogEntry_Logger_value = map[string]int32{ - "LOGGER_UNKNOWN": 0, - "LOGGER_CLIENT": 1, - "LOGGER_SERVER": 2, - } -) - -func (x GrpcLogEntry_Logger) Enum() *GrpcLogEntry_Logger { - p := new(GrpcLogEntry_Logger) - *p = x - return p -} - -func (x GrpcLogEntry_Logger) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GrpcLogEntry_Logger) Descriptor() protoreflect.EnumDescriptor { - return file_grpc_binlog_v1_binarylog_proto_enumTypes[1].Descriptor() -} - -func (GrpcLogEntry_Logger) Type() protoreflect.EnumType { - return &file_grpc_binlog_v1_binarylog_proto_enumTypes[1] -} - -func (x GrpcLogEntry_Logger) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GrpcLogEntry_Logger.Descriptor instead. -func (GrpcLogEntry_Logger) EnumDescriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{0, 1} -} - -type Address_Type int32 - -const ( - Address_TYPE_UNKNOWN Address_Type = 0 - // address is in 1.2.3.4 form - Address_TYPE_IPV4 Address_Type = 1 - // address is in IPv6 canonical form (RFC5952 section 4) - // The scope is NOT included in the address string. - Address_TYPE_IPV6 Address_Type = 2 - // address is UDS string - Address_TYPE_UNIX Address_Type = 3 -) - -// Enum value maps for Address_Type. -var ( - Address_Type_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "TYPE_IPV4", - 2: "TYPE_IPV6", - 3: "TYPE_UNIX", - } - Address_Type_value = map[string]int32{ - "TYPE_UNKNOWN": 0, - "TYPE_IPV4": 1, - "TYPE_IPV6": 2, - "TYPE_UNIX": 3, - } -) - -func (x Address_Type) Enum() *Address_Type { - p := new(Address_Type) - *p = x - return p -} - -func (x Address_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Address_Type) Descriptor() protoreflect.EnumDescriptor { - return file_grpc_binlog_v1_binarylog_proto_enumTypes[2].Descriptor() -} - -func (Address_Type) Type() protoreflect.EnumType { - return &file_grpc_binlog_v1_binarylog_proto_enumTypes[2] -} - -func (x Address_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Address_Type.Descriptor instead. -func (Address_Type) EnumDescriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{7, 0} -} - -// Log entry we store in binary logs -type GrpcLogEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The timestamp of the binary log message - Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Uniquely identifies a call. The value must not be 0 in order to disambiguate - // from an unset value. - // Each call may have several log entries, they will all have the same call_id. - // Nothing is guaranteed about their value other than they are unique across - // different RPCs in the same gRPC process. - CallId uint64 `protobuf:"varint,2,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` - // The entry sequence id for this call. The first GrpcLogEntry has a - // value of 1, to disambiguate from an unset value. The purpose of - // this field is to detect missing entries in environments where - // durability or ordering is not guaranteed. - SequenceIdWithinCall uint64 `protobuf:"varint,3,opt,name=sequence_id_within_call,json=sequenceIdWithinCall,proto3" json:"sequence_id_within_call,omitempty"` - Type GrpcLogEntry_EventType `protobuf:"varint,4,opt,name=type,proto3,enum=grpc.binarylog.v1.GrpcLogEntry_EventType" json:"type,omitempty"` - Logger GrpcLogEntry_Logger `protobuf:"varint,5,opt,name=logger,proto3,enum=grpc.binarylog.v1.GrpcLogEntry_Logger" json:"logger,omitempty"` // One of the above Logger enum - // The logger uses one of the following fields to record the payload, - // according to the type of the log entry. - // - // Types that are assignable to Payload: - // *GrpcLogEntry_ClientHeader - // *GrpcLogEntry_ServerHeader - // *GrpcLogEntry_Message - // *GrpcLogEntry_Trailer - Payload isGrpcLogEntry_Payload `protobuf_oneof:"payload"` - // true if payload does not represent the full message or metadata. - PayloadTruncated bool `protobuf:"varint,10,opt,name=payload_truncated,json=payloadTruncated,proto3" json:"payload_truncated,omitempty"` - // Peer address information, will only be recorded on the first - // incoming event. On client side, peer is logged on - // EVENT_TYPE_SERVER_HEADER normally or EVENT_TYPE_SERVER_TRAILER in - // the case of trailers-only. On server side, peer is always - // logged on EVENT_TYPE_CLIENT_HEADER. - Peer *Address `protobuf:"bytes,11,opt,name=peer,proto3" json:"peer,omitempty"` -} - -func (x *GrpcLogEntry) Reset() { - *x = GrpcLogEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GrpcLogEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GrpcLogEntry) ProtoMessage() {} - -func (x *GrpcLogEntry) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GrpcLogEntry.ProtoReflect.Descriptor instead. -func (*GrpcLogEntry) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{0} -} - -func (x *GrpcLogEntry) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *GrpcLogEntry) GetCallId() uint64 { - if x != nil { - return x.CallId - } - return 0 -} - -func (x *GrpcLogEntry) GetSequenceIdWithinCall() uint64 { - if x != nil { - return x.SequenceIdWithinCall - } - return 0 -} - -func (x *GrpcLogEntry) GetType() GrpcLogEntry_EventType { - if x != nil { - return x.Type - } - return GrpcLogEntry_EVENT_TYPE_UNKNOWN -} - -func (x *GrpcLogEntry) GetLogger() GrpcLogEntry_Logger { - if x != nil { - return x.Logger - } - return GrpcLogEntry_LOGGER_UNKNOWN -} - -func (m *GrpcLogEntry) GetPayload() isGrpcLogEntry_Payload { - if m != nil { - return m.Payload - } - return nil -} - -func (x *GrpcLogEntry) GetClientHeader() *ClientHeader { - if x, ok := x.GetPayload().(*GrpcLogEntry_ClientHeader); ok { - return x.ClientHeader - } - return nil -} - -func (x *GrpcLogEntry) GetServerHeader() *ServerHeader { - if x, ok := x.GetPayload().(*GrpcLogEntry_ServerHeader); ok { - return x.ServerHeader - } - return nil -} - -func (x *GrpcLogEntry) GetMessage() *Message { - if x, ok := x.GetPayload().(*GrpcLogEntry_Message); ok { - return x.Message - } - return nil -} - -func (x *GrpcLogEntry) GetTrailer() *Trailer { - if x, ok := x.GetPayload().(*GrpcLogEntry_Trailer); ok { - return x.Trailer - } - return nil -} - -func (x *GrpcLogEntry) GetPayloadTruncated() bool { - if x != nil { - return x.PayloadTruncated - } - return false -} - -func (x *GrpcLogEntry) GetPeer() *Address { - if x != nil { - return x.Peer - } - return nil -} - -type isGrpcLogEntry_Payload interface { - isGrpcLogEntry_Payload() -} - -type GrpcLogEntry_ClientHeader struct { - ClientHeader *ClientHeader `protobuf:"bytes,6,opt,name=client_header,json=clientHeader,proto3,oneof"` -} - -type GrpcLogEntry_ServerHeader struct { - ServerHeader *ServerHeader `protobuf:"bytes,7,opt,name=server_header,json=serverHeader,proto3,oneof"` -} - -type GrpcLogEntry_Message struct { - // Used by EVENT_TYPE_CLIENT_MESSAGE, EVENT_TYPE_SERVER_MESSAGE - Message *Message `protobuf:"bytes,8,opt,name=message,proto3,oneof"` -} - -type GrpcLogEntry_Trailer struct { - Trailer *Trailer `protobuf:"bytes,9,opt,name=trailer,proto3,oneof"` -} - -func (*GrpcLogEntry_ClientHeader) isGrpcLogEntry_Payload() {} - -func (*GrpcLogEntry_ServerHeader) isGrpcLogEntry_Payload() {} - -func (*GrpcLogEntry_Message) isGrpcLogEntry_Payload() {} - -func (*GrpcLogEntry_Trailer) isGrpcLogEntry_Payload() {} - -type ClientHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This contains only the metadata from the application. - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // The name of the RPC method, which looks something like: - // // - // Note the leading "/" character. - MethodName string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` - // A single process may be used to run multiple virtual - // servers with different identities. - // The authority is the name of such a server identitiy. - // It is typically a portion of the URI in the form of - // or : . - Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"` - // the RPC timeout - Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` -} - -func (x *ClientHeader) Reset() { - *x = ClientHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClientHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClientHeader) ProtoMessage() {} - -func (x *ClientHeader) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClientHeader.ProtoReflect.Descriptor instead. -func (*ClientHeader) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{1} -} - -func (x *ClientHeader) GetMetadata() *Metadata { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *ClientHeader) GetMethodName() string { - if x != nil { - return x.MethodName - } - return "" -} - -func (x *ClientHeader) GetAuthority() string { - if x != nil { - return x.Authority - } - return "" -} - -func (x *ClientHeader) GetTimeout() *durationpb.Duration { - if x != nil { - return x.Timeout - } - return nil -} - -type ServerHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This contains only the metadata from the application. - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` -} - -func (x *ServerHeader) Reset() { - *x = ServerHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServerHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerHeader) ProtoMessage() {} - -func (x *ServerHeader) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerHeader.ProtoReflect.Descriptor instead. -func (*ServerHeader) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{2} -} - -func (x *ServerHeader) GetMetadata() *Metadata { - if x != nil { - return x.Metadata - } - return nil -} - -type Trailer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This contains only the metadata from the application. - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - // The gRPC status code. - StatusCode uint32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` - // An original status message before any transport specific - // encoding. - StatusMessage string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` - // The value of the 'grpc-status-details-bin' metadata key. If - // present, this is always an encoded 'google.rpc.Status' message. - StatusDetails []byte `protobuf:"bytes,4,opt,name=status_details,json=statusDetails,proto3" json:"status_details,omitempty"` -} - -func (x *Trailer) Reset() { - *x = Trailer{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Trailer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Trailer) ProtoMessage() {} - -func (x *Trailer) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Trailer.ProtoReflect.Descriptor instead. -func (*Trailer) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{3} -} - -func (x *Trailer) GetMetadata() *Metadata { - if x != nil { - return x.Metadata - } - return nil -} - -func (x *Trailer) GetStatusCode() uint32 { - if x != nil { - return x.StatusCode - } - return 0 -} - -func (x *Trailer) GetStatusMessage() string { - if x != nil { - return x.StatusMessage - } - return "" -} - -func (x *Trailer) GetStatusDetails() []byte { - if x != nil { - return x.StatusDetails - } - return nil -} - -// Message payload, used by CLIENT_MESSAGE and SERVER_MESSAGE -type Message struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Length of the message. It may not be the same as the length of the - // data field, as the logging payload can be truncated or omitted. - Length uint32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` - // May be truncated or omitted. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *Message) Reset() { - *x = Message{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Message) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Message) ProtoMessage() {} - -func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Message.ProtoReflect.Descriptor instead. -func (*Message) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{4} -} - -func (x *Message) GetLength() uint32 { - if x != nil { - return x.Length - } - return 0 -} - -func (x *Message) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// A list of metadata pairs, used in the payload of client header, -// server header, and server trailer. -// Implementations may omit some entries to honor the header limits -// of GRPC_BINARY_LOG_CONFIG. -// -// Header keys added by gRPC are omitted. To be more specific, -// implementations will not log the following entries, and this is -// not to be treated as a truncation: -// - entries handled by grpc that are not user visible, such as those -// that begin with 'grpc-' (with exception of grpc-trace-bin) -// or keys like 'lb-token' -// - transport specific entries, including but not limited to: -// ':path', ':authority', 'content-encoding', 'user-agent', 'te', etc -// - entries added for call credentials -// -// Implementations must always log grpc-trace-bin if it is present. -// Practically speaking it will only be visible on server side because -// grpc-trace-bin is managed by low level client side mechanisms -// inaccessible from the application level. On server side, the -// header is just a normal metadata key. -// The pair will not count towards the size limit. -type Metadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Entry []*MetadataEntry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"` -} - -func (x *Metadata) Reset() { - *x = Metadata{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Metadata) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Metadata) ProtoMessage() {} - -func (x *Metadata) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. -func (*Metadata) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{5} -} - -func (x *Metadata) GetEntry() []*MetadataEntry { - if x != nil { - return x.Entry - } - return nil -} - -// A metadata key value pair -type MetadataEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *MetadataEntry) Reset() { - *x = MetadataEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MetadataEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MetadataEntry) ProtoMessage() {} - -func (x *MetadataEntry) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MetadataEntry.ProtoReflect.Descriptor instead. -func (*MetadataEntry) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{6} -} - -func (x *MetadataEntry) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *MetadataEntry) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -// Address information -type Address struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type Address_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.binarylog.v1.Address_Type" json:"type,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - // only for TYPE_IPV4 and TYPE_IPV6 - IpPort uint32 `protobuf:"varint,3,opt,name=ip_port,json=ipPort,proto3" json:"ip_port,omitempty"` -} - -func (x *Address) Reset() { - *x = Address{} - if protoimpl.UnsafeEnabled { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Address) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Address) ProtoMessage() {} - -func (x *Address) ProtoReflect() protoreflect.Message { - mi := &file_grpc_binlog_v1_binarylog_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Address.ProtoReflect.Descriptor instead. -func (*Address) Descriptor() ([]byte, []int) { - return file_grpc_binlog_v1_binarylog_proto_rawDescGZIP(), []int{7} -} - -func (x *Address) GetType() Address_Type { - if x != nil { - return x.Type - } - return Address_TYPE_UNKNOWN -} - -func (x *Address) GetAddress() string { - if x != nil { - return x.Address - } - return "" -} - -func (x *Address) GetIpPort() uint32 { - if x != nil { - return x.IpPort - } - return 0 -} - -var File_grpc_binlog_v1_binarylog_proto protoreflect.FileDescriptor - -var file_grpc_binlog_v1_binarylog_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, - 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x11, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, - 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x07, 0x0a, 0x0c, 0x47, 0x72, 0x70, 0x63, 0x4c, 0x6f, 0x67, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, - 0x17, 0x0a, 0x07, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x73, 0x65, 0x71, 0x75, - 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x5f, 0x63, - 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x73, 0x65, 0x71, 0x75, 0x65, - 0x6e, 0x63, 0x65, 0x49, 0x64, 0x57, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x43, 0x61, 0x6c, 0x6c, 0x12, - 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, - 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, - 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, - 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x52, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x12, 0x46, - 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, - 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, - 0x52, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x36, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, - 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x69, - 0x6c, 0x65, 0x72, 0x48, 0x00, 0x52, 0x07, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x2b, - 0x0a, 0x11, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x70, - 0x65, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x22, 0xf5, 0x01, 0x0a, 0x09, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, - 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, - 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x01, 0x12, - 0x1c, 0x0a, 0x18, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, - 0x52, 0x56, 0x45, 0x52, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1d, 0x0a, - 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x45, - 0x4e, 0x54, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, - 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, - 0x52, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x20, 0x0a, 0x1c, 0x45, - 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, - 0x5f, 0x48, 0x41, 0x4c, 0x46, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x05, 0x12, 0x1d, 0x0a, - 0x19, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, - 0x45, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x4c, 0x45, 0x52, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, - 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, - 0x4c, 0x10, 0x07, 0x22, 0x42, 0x0a, 0x06, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x12, 0x12, 0x0a, - 0x0e, 0x4c, 0x4f, 0x47, 0x47, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, - 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4c, 0x4f, 0x47, 0x47, 0x45, 0x52, 0x5f, 0x43, 0x4c, 0x49, 0x45, - 0x4e, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x4c, 0x4f, 0x47, 0x47, 0x45, 0x52, 0x5f, 0x53, - 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x22, 0xbb, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, - 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x33, 0x0a, 0x07, 0x74, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, - 0x22, 0x47, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, - 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb1, 0x01, 0x0a, 0x07, 0x54, 0x72, - 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, - 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x35, 0x0a, - 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, - 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x42, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x36, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x37, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, - 0x69, 0x70, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x69, - 0x70, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x45, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, - 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, - 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x50, 0x56, 0x34, 0x10, 0x01, 0x12, 0x0d, - 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x0d, 0x0a, - 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x49, 0x58, 0x10, 0x03, 0x42, 0x5c, 0x0a, 0x14, - 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, - 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, - 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x62, - 0x69, 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x5f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_grpc_binlog_v1_binarylog_proto_rawDescOnce sync.Once - file_grpc_binlog_v1_binarylog_proto_rawDescData = file_grpc_binlog_v1_binarylog_proto_rawDesc -) - -func file_grpc_binlog_v1_binarylog_proto_rawDescGZIP() []byte { - file_grpc_binlog_v1_binarylog_proto_rawDescOnce.Do(func() { - file_grpc_binlog_v1_binarylog_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_binlog_v1_binarylog_proto_rawDescData) - }) - return file_grpc_binlog_v1_binarylog_proto_rawDescData -} - -var file_grpc_binlog_v1_binarylog_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_grpc_binlog_v1_binarylog_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_grpc_binlog_v1_binarylog_proto_goTypes = []interface{}{ - (GrpcLogEntry_EventType)(0), // 0: grpc.binarylog.v1.GrpcLogEntry.EventType - (GrpcLogEntry_Logger)(0), // 1: grpc.binarylog.v1.GrpcLogEntry.Logger - (Address_Type)(0), // 2: grpc.binarylog.v1.Address.Type - (*GrpcLogEntry)(nil), // 3: grpc.binarylog.v1.GrpcLogEntry - (*ClientHeader)(nil), // 4: grpc.binarylog.v1.ClientHeader - (*ServerHeader)(nil), // 5: grpc.binarylog.v1.ServerHeader - (*Trailer)(nil), // 6: grpc.binarylog.v1.Trailer - (*Message)(nil), // 7: grpc.binarylog.v1.Message - (*Metadata)(nil), // 8: grpc.binarylog.v1.Metadata - (*MetadataEntry)(nil), // 9: grpc.binarylog.v1.MetadataEntry - (*Address)(nil), // 10: grpc.binarylog.v1.Address - (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 12: google.protobuf.Duration -} -var file_grpc_binlog_v1_binarylog_proto_depIdxs = []int32{ - 11, // 0: grpc.binarylog.v1.GrpcLogEntry.timestamp:type_name -> google.protobuf.Timestamp - 0, // 1: grpc.binarylog.v1.GrpcLogEntry.type:type_name -> grpc.binarylog.v1.GrpcLogEntry.EventType - 1, // 2: grpc.binarylog.v1.GrpcLogEntry.logger:type_name -> grpc.binarylog.v1.GrpcLogEntry.Logger - 4, // 3: grpc.binarylog.v1.GrpcLogEntry.client_header:type_name -> grpc.binarylog.v1.ClientHeader - 5, // 4: grpc.binarylog.v1.GrpcLogEntry.server_header:type_name -> grpc.binarylog.v1.ServerHeader - 7, // 5: grpc.binarylog.v1.GrpcLogEntry.message:type_name -> grpc.binarylog.v1.Message - 6, // 6: grpc.binarylog.v1.GrpcLogEntry.trailer:type_name -> grpc.binarylog.v1.Trailer - 10, // 7: grpc.binarylog.v1.GrpcLogEntry.peer:type_name -> grpc.binarylog.v1.Address - 8, // 8: grpc.binarylog.v1.ClientHeader.metadata:type_name -> grpc.binarylog.v1.Metadata - 12, // 9: grpc.binarylog.v1.ClientHeader.timeout:type_name -> google.protobuf.Duration - 8, // 10: grpc.binarylog.v1.ServerHeader.metadata:type_name -> grpc.binarylog.v1.Metadata - 8, // 11: grpc.binarylog.v1.Trailer.metadata:type_name -> grpc.binarylog.v1.Metadata - 9, // 12: grpc.binarylog.v1.Metadata.entry:type_name -> grpc.binarylog.v1.MetadataEntry - 2, // 13: grpc.binarylog.v1.Address.type:type_name -> grpc.binarylog.v1.Address.Type - 14, // [14:14] is the sub-list for method output_type - 14, // [14:14] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name -} - -func init() { file_grpc_binlog_v1_binarylog_proto_init() } -func file_grpc_binlog_v1_binarylog_proto_init() { - if File_grpc_binlog_v1_binarylog_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_grpc_binlog_v1_binarylog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GrpcLogEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Trailer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Message); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Address); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_grpc_binlog_v1_binarylog_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*GrpcLogEntry_ClientHeader)(nil), - (*GrpcLogEntry_ServerHeader)(nil), - (*GrpcLogEntry_Message)(nil), - (*GrpcLogEntry_Trailer)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_grpc_binlog_v1_binarylog_proto_rawDesc, - NumEnums: 3, - NumMessages: 8, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_grpc_binlog_v1_binarylog_proto_goTypes, - DependencyIndexes: file_grpc_binlog_v1_binarylog_proto_depIdxs, - EnumInfos: file_grpc_binlog_v1_binarylog_proto_enumTypes, - MessageInfos: file_grpc_binlog_v1_binarylog_proto_msgTypes, - }.Build() - File_grpc_binlog_v1_binarylog_proto = out.File - file_grpc_binlog_v1_binarylog_proto_rawDesc = nil - file_grpc_binlog_v1_binarylog_proto_goTypes = nil - file_grpc_binlog_v1_binarylog_proto_depIdxs = nil -} diff --git a/vendor/google.golang.org/grpc/call.go b/vendor/google.golang.org/grpc/call.go deleted file mode 100644 index 9e20e4d3..00000000 --- a/vendor/google.golang.org/grpc/call.go +++ /dev/null @@ -1,74 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 grpc - -import ( - "context" -) - -// Invoke sends the RPC request on the wire and returns after response is -// received. This is typically called by generated code. -// -// All errors returned by Invoke are compatible with the status package. -func (cc *ClientConn) Invoke(ctx context.Context, method string, args, reply interface{}, opts ...CallOption) error { - // allow interceptor to see all applicable call options, which means those - // configured as defaults from dial option as well as per-call options - opts = combine(cc.dopts.callOptions, opts) - - if cc.dopts.unaryInt != nil { - return cc.dopts.unaryInt(ctx, method, args, reply, cc, invoke, opts...) - } - return invoke(ctx, method, args, reply, cc, opts...) -} - -func combine(o1 []CallOption, o2 []CallOption) []CallOption { - // we don't use append because o1 could have extra capacity whose - // elements would be overwritten, which could cause inadvertent - // sharing (and race conditions) between concurrent calls - if len(o1) == 0 { - return o2 - } else if len(o2) == 0 { - return o1 - } - ret := make([]CallOption, len(o1)+len(o2)) - copy(ret, o1) - copy(ret[len(o1):], o2) - return ret -} - -// Invoke sends the RPC request on the wire and returns after response is -// received. This is typically called by generated code. -// -// DEPRECATED: Use ClientConn.Invoke instead. -func Invoke(ctx context.Context, method string, args, reply interface{}, cc *ClientConn, opts ...CallOption) error { - return cc.Invoke(ctx, method, args, reply, opts...) -} - -var unaryStreamDesc = &StreamDesc{ServerStreams: false, ClientStreams: false} - -func invoke(ctx context.Context, method string, req, reply interface{}, cc *ClientConn, opts ...CallOption) error { - cs, err := newClientStream(ctx, unaryStreamDesc, cc, method, opts...) - if err != nil { - return err - } - if err := cs.SendMsg(req); err != nil { - return err - } - return cs.RecvMsg(reply) -} diff --git a/vendor/google.golang.org/grpc/channelz/channelz.go b/vendor/google.golang.org/grpc/channelz/channelz.go deleted file mode 100644 index a220c47c..00000000 --- a/vendor/google.golang.org/grpc/channelz/channelz.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 channelz exports internals of the channelz implementation as required -// by other gRPC packages. -// -// The implementation of the channelz spec as defined in -// https://github.com/grpc/proposal/blob/master/A14-channelz.md, is provided by -// the `internal/channelz` package. -// -// Experimental -// -// Notice: All APIs in this package are experimental and may be removed in a -// later release. -package channelz - -import "google.golang.org/grpc/internal/channelz" - -// Identifier is an opaque identifier which uniquely identifies an entity in the -// channelz database. -type Identifier = channelz.Identifier diff --git a/vendor/google.golang.org/grpc/clientconn.go b/vendor/google.golang.org/grpc/clientconn.go deleted file mode 100644 index 779b03bc..00000000 --- a/vendor/google.golang.org/grpc/clientconn.go +++ /dev/null @@ -1,1686 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 grpc - -import ( - "context" - "errors" - "fmt" - "math" - "net/url" - "reflect" - "strings" - "sync" - "sync/atomic" - "time" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/balancer/base" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/backoff" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/grpcsync" - iresolver "google.golang.org/grpc/internal/resolver" - "google.golang.org/grpc/internal/transport" - "google.golang.org/grpc/keepalive" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/serviceconfig" - "google.golang.org/grpc/status" - - _ "google.golang.org/grpc/balancer/roundrobin" // To register roundrobin. - _ "google.golang.org/grpc/internal/resolver/dns" // To register dns resolver. - _ "google.golang.org/grpc/internal/resolver/passthrough" // To register passthrough resolver. - _ "google.golang.org/grpc/internal/resolver/unix" // To register unix resolver. -) - -const ( - // minimum time to give a connection to complete - minConnectTimeout = 20 * time.Second - // must match grpclbName in grpclb/grpclb.go - grpclbName = "grpclb" -) - -var ( - // ErrClientConnClosing indicates that the operation is illegal because - // the ClientConn is closing. - // - // Deprecated: this error should not be relied upon by users; use the status - // code of Canceled instead. - ErrClientConnClosing = status.Error(codes.Canceled, "grpc: the client connection is closing") - // errConnDrain indicates that the connection starts to be drained and does not accept any new RPCs. - errConnDrain = errors.New("grpc: the connection is drained") - // errConnClosing indicates that the connection is closing. - errConnClosing = errors.New("grpc: the connection is closing") - // invalidDefaultServiceConfigErrPrefix is used to prefix the json parsing error for the default - // service config. - invalidDefaultServiceConfigErrPrefix = "grpc: the provided default service config is invalid" -) - -// The following errors are returned from Dial and DialContext -var ( - // errNoTransportSecurity indicates that there is no transport security - // being set for ClientConn. Users should either set one or explicitly - // call WithInsecure DialOption to disable security. - errNoTransportSecurity = errors.New("grpc: no transport security set (use grpc.WithTransportCredentials(insecure.NewCredentials()) explicitly or set credentials)") - // errTransportCredsAndBundle indicates that creds bundle is used together - // with other individual Transport Credentials. - errTransportCredsAndBundle = errors.New("grpc: credentials.Bundle may not be used with individual TransportCredentials") - // errNoTransportCredsInBundle indicated that the configured creds bundle - // returned a transport credentials which was nil. - errNoTransportCredsInBundle = errors.New("grpc: credentials.Bundle must return non-nil transport credentials") - // errTransportCredentialsMissing indicates that users want to transmit - // security information (e.g., OAuth2 token) which requires secure - // connection on an insecure connection. - errTransportCredentialsMissing = errors.New("grpc: the credentials require transport level security (use grpc.WithTransportCredentials() to set)") -) - -const ( - defaultClientMaxReceiveMessageSize = 1024 * 1024 * 4 - defaultClientMaxSendMessageSize = math.MaxInt32 - // http2IOBufSize specifies the buffer size for sending frames. - defaultWriteBufSize = 32 * 1024 - defaultReadBufSize = 32 * 1024 -) - -// Dial creates a client connection to the given target. -func Dial(target string, opts ...DialOption) (*ClientConn, error) { - return DialContext(context.Background(), target, opts...) -} - -type defaultConfigSelector struct { - sc *ServiceConfig -} - -func (dcs *defaultConfigSelector) SelectConfig(rpcInfo iresolver.RPCInfo) (*iresolver.RPCConfig, error) { - return &iresolver.RPCConfig{ - Context: rpcInfo.Context, - MethodConfig: getMethodConfig(dcs.sc, rpcInfo.Method), - }, nil -} - -// DialContext creates a client connection to the given target. By default, it's -// a non-blocking dial (the function won't wait for connections to be -// established, and connecting happens in the background). To make it a blocking -// dial, use WithBlock() dial option. -// -// In the non-blocking case, the ctx does not act against the connection. It -// only controls the setup steps. -// -// In the blocking case, ctx can be used to cancel or expire the pending -// connection. Once this function returns, the cancellation and expiration of -// ctx will be noop. Users should call ClientConn.Close to terminate all the -// pending operations after this function returns. -// -// The target name syntax is defined in -// https://github.com/grpc/grpc/blob/master/doc/naming.md. -// e.g. to use dns resolver, a "dns:///" prefix should be applied to the target. -func DialContext(ctx context.Context, target string, opts ...DialOption) (conn *ClientConn, err error) { - cc := &ClientConn{ - target: target, - csMgr: &connectivityStateManager{}, - conns: make(map[*addrConn]struct{}), - dopts: defaultDialOptions(), - blockingpicker: newPickerWrapper(), - czData: new(channelzData), - firstResolveEvent: grpcsync.NewEvent(), - } - cc.retryThrottler.Store((*retryThrottler)(nil)) - cc.safeConfigSelector.UpdateConfigSelector(&defaultConfigSelector{nil}) - cc.ctx, cc.cancel = context.WithCancel(context.Background()) - - for _, opt := range extraDialOptions { - opt.apply(&cc.dopts) - } - - for _, opt := range opts { - opt.apply(&cc.dopts) - } - - chainUnaryClientInterceptors(cc) - chainStreamClientInterceptors(cc) - - defer func() { - if err != nil { - cc.Close() - } - }() - - pid := cc.dopts.channelzParentID - cc.channelzID = channelz.RegisterChannel(&channelzChannel{cc}, pid, target) - ted := &channelz.TraceEventDesc{ - Desc: "Channel created", - Severity: channelz.CtInfo, - } - if cc.dopts.channelzParentID != nil { - ted.Parent = &channelz.TraceEventDesc{ - Desc: fmt.Sprintf("Nested Channel(id:%d) created", cc.channelzID.Int()), - Severity: channelz.CtInfo, - } - } - channelz.AddTraceEvent(logger, cc.channelzID, 1, ted) - cc.csMgr.channelzID = cc.channelzID - - if cc.dopts.copts.TransportCredentials == nil && cc.dopts.copts.CredsBundle == nil { - return nil, errNoTransportSecurity - } - if cc.dopts.copts.TransportCredentials != nil && cc.dopts.copts.CredsBundle != nil { - return nil, errTransportCredsAndBundle - } - if cc.dopts.copts.CredsBundle != nil && cc.dopts.copts.CredsBundle.TransportCredentials() == nil { - return nil, errNoTransportCredsInBundle - } - transportCreds := cc.dopts.copts.TransportCredentials - if transportCreds == nil { - transportCreds = cc.dopts.copts.CredsBundle.TransportCredentials() - } - if transportCreds.Info().SecurityProtocol == "insecure" { - for _, cd := range cc.dopts.copts.PerRPCCredentials { - if cd.RequireTransportSecurity() { - return nil, errTransportCredentialsMissing - } - } - } - - if cc.dopts.defaultServiceConfigRawJSON != nil { - scpr := parseServiceConfig(*cc.dopts.defaultServiceConfigRawJSON) - if scpr.Err != nil { - return nil, fmt.Errorf("%s: %v", invalidDefaultServiceConfigErrPrefix, scpr.Err) - } - cc.dopts.defaultServiceConfig, _ = scpr.Config.(*ServiceConfig) - } - cc.mkp = cc.dopts.copts.KeepaliveParams - - if cc.dopts.copts.UserAgent != "" { - cc.dopts.copts.UserAgent += " " + grpcUA - } else { - cc.dopts.copts.UserAgent = grpcUA - } - - if cc.dopts.timeout > 0 { - var cancel context.CancelFunc - ctx, cancel = context.WithTimeout(ctx, cc.dopts.timeout) - defer cancel() - } - defer func() { - select { - case <-ctx.Done(): - switch { - case ctx.Err() == err: - conn = nil - case err == nil || !cc.dopts.returnLastError: - conn, err = nil, ctx.Err() - default: - conn, err = nil, fmt.Errorf("%v: %v", ctx.Err(), err) - } - default: - } - }() - - scSet := false - if cc.dopts.scChan != nil { - // Try to get an initial service config. - select { - case sc, ok := <-cc.dopts.scChan: - if ok { - cc.sc = &sc - cc.safeConfigSelector.UpdateConfigSelector(&defaultConfigSelector{&sc}) - scSet = true - } - default: - } - } - if cc.dopts.bs == nil { - cc.dopts.bs = backoff.DefaultExponential - } - - // Determine the resolver to use. - resolverBuilder, err := cc.parseTargetAndFindResolver() - if err != nil { - return nil, err - } - cc.authority, err = determineAuthority(cc.parsedTarget.Endpoint, cc.target, cc.dopts) - if err != nil { - return nil, err - } - channelz.Infof(logger, cc.channelzID, "Channel authority set to %q", cc.authority) - - if cc.dopts.scChan != nil && !scSet { - // Blocking wait for the initial service config. - select { - case sc, ok := <-cc.dopts.scChan: - if ok { - cc.sc = &sc - cc.safeConfigSelector.UpdateConfigSelector(&defaultConfigSelector{&sc}) - } - case <-ctx.Done(): - return nil, ctx.Err() - } - } - if cc.dopts.scChan != nil { - go cc.scWatcher() - } - - var credsClone credentials.TransportCredentials - if creds := cc.dopts.copts.TransportCredentials; creds != nil { - credsClone = creds.Clone() - } - cc.balancerWrapper = newCCBalancerWrapper(cc, balancer.BuildOptions{ - DialCreds: credsClone, - CredsBundle: cc.dopts.copts.CredsBundle, - Dialer: cc.dopts.copts.Dialer, - Authority: cc.authority, - CustomUserAgent: cc.dopts.copts.UserAgent, - ChannelzParentID: cc.channelzID, - Target: cc.parsedTarget, - }) - - // Build the resolver. - rWrapper, err := newCCResolverWrapper(cc, resolverBuilder) - if err != nil { - return nil, fmt.Errorf("failed to build resolver: %v", err) - } - cc.mu.Lock() - cc.resolverWrapper = rWrapper - cc.mu.Unlock() - - // A blocking dial blocks until the clientConn is ready. - if cc.dopts.block { - for { - cc.Connect() - s := cc.GetState() - if s == connectivity.Ready { - break - } else if cc.dopts.copts.FailOnNonTempDialError && s == connectivity.TransientFailure { - if err = cc.connectionError(); err != nil { - terr, ok := err.(interface { - Temporary() bool - }) - if ok && !terr.Temporary() { - return nil, err - } - } - } - if !cc.WaitForStateChange(ctx, s) { - // ctx got timeout or canceled. - if err = cc.connectionError(); err != nil && cc.dopts.returnLastError { - return nil, err - } - return nil, ctx.Err() - } - } - } - - return cc, nil -} - -// chainUnaryClientInterceptors chains all unary client interceptors into one. -func chainUnaryClientInterceptors(cc *ClientConn) { - interceptors := cc.dopts.chainUnaryInts - // Prepend dopts.unaryInt to the chaining interceptors if it exists, since unaryInt will - // be executed before any other chained interceptors. - if cc.dopts.unaryInt != nil { - interceptors = append([]UnaryClientInterceptor{cc.dopts.unaryInt}, interceptors...) - } - var chainedInt UnaryClientInterceptor - if len(interceptors) == 0 { - chainedInt = nil - } else if len(interceptors) == 1 { - chainedInt = interceptors[0] - } else { - chainedInt = func(ctx context.Context, method string, req, reply interface{}, cc *ClientConn, invoker UnaryInvoker, opts ...CallOption) error { - return interceptors[0](ctx, method, req, reply, cc, getChainUnaryInvoker(interceptors, 0, invoker), opts...) - } - } - cc.dopts.unaryInt = chainedInt -} - -// getChainUnaryInvoker recursively generate the chained unary invoker. -func getChainUnaryInvoker(interceptors []UnaryClientInterceptor, curr int, finalInvoker UnaryInvoker) UnaryInvoker { - if curr == len(interceptors)-1 { - return finalInvoker - } - return func(ctx context.Context, method string, req, reply interface{}, cc *ClientConn, opts ...CallOption) error { - return interceptors[curr+1](ctx, method, req, reply, cc, getChainUnaryInvoker(interceptors, curr+1, finalInvoker), opts...) - } -} - -// chainStreamClientInterceptors chains all stream client interceptors into one. -func chainStreamClientInterceptors(cc *ClientConn) { - interceptors := cc.dopts.chainStreamInts - // Prepend dopts.streamInt to the chaining interceptors if it exists, since streamInt will - // be executed before any other chained interceptors. - if cc.dopts.streamInt != nil { - interceptors = append([]StreamClientInterceptor{cc.dopts.streamInt}, interceptors...) - } - var chainedInt StreamClientInterceptor - if len(interceptors) == 0 { - chainedInt = nil - } else if len(interceptors) == 1 { - chainedInt = interceptors[0] - } else { - chainedInt = func(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, streamer Streamer, opts ...CallOption) (ClientStream, error) { - return interceptors[0](ctx, desc, cc, method, getChainStreamer(interceptors, 0, streamer), opts...) - } - } - cc.dopts.streamInt = chainedInt -} - -// getChainStreamer recursively generate the chained client stream constructor. -func getChainStreamer(interceptors []StreamClientInterceptor, curr int, finalStreamer Streamer) Streamer { - if curr == len(interceptors)-1 { - return finalStreamer - } - return func(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (ClientStream, error) { - return interceptors[curr+1](ctx, desc, cc, method, getChainStreamer(interceptors, curr+1, finalStreamer), opts...) - } -} - -// connectivityStateManager keeps the connectivity.State of ClientConn. -// This struct will eventually be exported so the balancers can access it. -type connectivityStateManager struct { - mu sync.Mutex - state connectivity.State - notifyChan chan struct{} - channelzID *channelz.Identifier -} - -// updateState updates the connectivity.State of ClientConn. -// If there's a change it notifies goroutines waiting on state change to -// happen. -func (csm *connectivityStateManager) updateState(state connectivity.State) { - csm.mu.Lock() - defer csm.mu.Unlock() - if csm.state == connectivity.Shutdown { - return - } - if csm.state == state { - return - } - csm.state = state - channelz.Infof(logger, csm.channelzID, "Channel Connectivity change to %v", state) - if csm.notifyChan != nil { - // There are other goroutines waiting on this channel. - close(csm.notifyChan) - csm.notifyChan = nil - } -} - -func (csm *connectivityStateManager) getState() connectivity.State { - csm.mu.Lock() - defer csm.mu.Unlock() - return csm.state -} - -func (csm *connectivityStateManager) getNotifyChan() <-chan struct{} { - csm.mu.Lock() - defer csm.mu.Unlock() - if csm.notifyChan == nil { - csm.notifyChan = make(chan struct{}) - } - return csm.notifyChan -} - -// ClientConnInterface defines the functions clients need to perform unary and -// streaming RPCs. It is implemented by *ClientConn, and is only intended to -// be referenced by generated code. -type ClientConnInterface interface { - // Invoke performs a unary RPC and returns after the response is received - // into reply. - Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...CallOption) error - // NewStream begins a streaming RPC. - NewStream(ctx context.Context, desc *StreamDesc, method string, opts ...CallOption) (ClientStream, error) -} - -// Assert *ClientConn implements ClientConnInterface. -var _ ClientConnInterface = (*ClientConn)(nil) - -// ClientConn represents a virtual connection to a conceptual endpoint, to -// perform RPCs. -// -// A ClientConn is free to have zero or more actual connections to the endpoint -// based on configuration, load, etc. It is also free to determine which actual -// endpoints to use and may change it every RPC, permitting client-side load -// balancing. -// -// A ClientConn encapsulates a range of functionality including name -// resolution, TCP connection establishment (with retries and backoff) and TLS -// handshakes. It also handles errors on established connections by -// re-resolving the name and reconnecting. -type ClientConn struct { - ctx context.Context // Initialized using the background context at dial time. - cancel context.CancelFunc // Cancelled on close. - - // The following are initialized at dial time, and are read-only after that. - target string // User's dial target. - parsedTarget resolver.Target // See parseTargetAndFindResolver(). - authority string // See determineAuthority(). - dopts dialOptions // Default and user specified dial options. - channelzID *channelz.Identifier // Channelz identifier for the channel. - balancerWrapper *ccBalancerWrapper // Uses gracefulswitch.balancer underneath. - - // The following provide their own synchronization, and therefore don't - // require cc.mu to be held to access them. - csMgr *connectivityStateManager - blockingpicker *pickerWrapper - safeConfigSelector iresolver.SafeConfigSelector - czData *channelzData - retryThrottler atomic.Value // Updated from service config. - - // firstResolveEvent is used to track whether the name resolver sent us at - // least one update. RPCs block on this event. - firstResolveEvent *grpcsync.Event - - // mu protects the following fields. - // TODO: split mu so the same mutex isn't used for everything. - mu sync.RWMutex - resolverWrapper *ccResolverWrapper // Initialized in Dial; cleared in Close. - sc *ServiceConfig // Latest service config received from the resolver. - conns map[*addrConn]struct{} // Set to nil on close. - mkp keepalive.ClientParameters // May be updated upon receipt of a GoAway. - - lceMu sync.Mutex // protects lastConnectionError - lastConnectionError error -} - -// WaitForStateChange waits until the connectivity.State of ClientConn changes from sourceState or -// ctx expires. A true value is returned in former case and false in latter. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func (cc *ClientConn) WaitForStateChange(ctx context.Context, sourceState connectivity.State) bool { - ch := cc.csMgr.getNotifyChan() - if cc.csMgr.getState() != sourceState { - return true - } - select { - case <-ctx.Done(): - return false - case <-ch: - return true - } -} - -// GetState returns the connectivity.State of ClientConn. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a later -// release. -func (cc *ClientConn) GetState() connectivity.State { - return cc.csMgr.getState() -} - -// Connect causes all subchannels in the ClientConn to attempt to connect if -// the channel is idle. Does not wait for the connection attempts to begin -// before returning. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a later -// release. -func (cc *ClientConn) Connect() { - cc.balancerWrapper.exitIdle() -} - -func (cc *ClientConn) scWatcher() { - for { - select { - case sc, ok := <-cc.dopts.scChan: - if !ok { - return - } - cc.mu.Lock() - // TODO: load balance policy runtime change is ignored. - // We may revisit this decision in the future. - cc.sc = &sc - cc.safeConfigSelector.UpdateConfigSelector(&defaultConfigSelector{&sc}) - cc.mu.Unlock() - case <-cc.ctx.Done(): - return - } - } -} - -// waitForResolvedAddrs blocks until the resolver has provided addresses or the -// context expires. Returns nil unless the context expires first; otherwise -// returns a status error based on the context. -func (cc *ClientConn) waitForResolvedAddrs(ctx context.Context) error { - // This is on the RPC path, so we use a fast path to avoid the - // more-expensive "select" below after the resolver has returned once. - if cc.firstResolveEvent.HasFired() { - return nil - } - select { - case <-cc.firstResolveEvent.Done(): - return nil - case <-ctx.Done(): - return status.FromContextError(ctx.Err()).Err() - case <-cc.ctx.Done(): - return ErrClientConnClosing - } -} - -var emptyServiceConfig *ServiceConfig - -func init() { - cfg := parseServiceConfig("{}") - if cfg.Err != nil { - panic(fmt.Sprintf("impossible error parsing empty service config: %v", cfg.Err)) - } - emptyServiceConfig = cfg.Config.(*ServiceConfig) -} - -func (cc *ClientConn) maybeApplyDefaultServiceConfig(addrs []resolver.Address) { - if cc.sc != nil { - cc.applyServiceConfigAndBalancer(cc.sc, nil, addrs) - return - } - if cc.dopts.defaultServiceConfig != nil { - cc.applyServiceConfigAndBalancer(cc.dopts.defaultServiceConfig, &defaultConfigSelector{cc.dopts.defaultServiceConfig}, addrs) - } else { - cc.applyServiceConfigAndBalancer(emptyServiceConfig, &defaultConfigSelector{emptyServiceConfig}, addrs) - } -} - -func (cc *ClientConn) updateResolverState(s resolver.State, err error) error { - defer cc.firstResolveEvent.Fire() - cc.mu.Lock() - // Check if the ClientConn is already closed. Some fields (e.g. - // balancerWrapper) are set to nil when closing the ClientConn, and could - // cause nil pointer panic if we don't have this check. - if cc.conns == nil { - cc.mu.Unlock() - return nil - } - - if err != nil { - // May need to apply the initial service config in case the resolver - // doesn't support service configs, or doesn't provide a service config - // with the new addresses. - cc.maybeApplyDefaultServiceConfig(nil) - - cc.balancerWrapper.resolverError(err) - - // No addresses are valid with err set; return early. - cc.mu.Unlock() - return balancer.ErrBadResolverState - } - - var ret error - if cc.dopts.disableServiceConfig { - channelz.Infof(logger, cc.channelzID, "ignoring service config from resolver (%v) and applying the default because service config is disabled", s.ServiceConfig) - cc.maybeApplyDefaultServiceConfig(s.Addresses) - } else if s.ServiceConfig == nil { - cc.maybeApplyDefaultServiceConfig(s.Addresses) - // TODO: do we need to apply a failing LB policy if there is no - // default, per the error handling design? - } else { - if sc, ok := s.ServiceConfig.Config.(*ServiceConfig); s.ServiceConfig.Err == nil && ok { - configSelector := iresolver.GetConfigSelector(s) - if configSelector != nil { - if len(s.ServiceConfig.Config.(*ServiceConfig).Methods) != 0 { - channelz.Infof(logger, cc.channelzID, "method configs in service config will be ignored due to presence of config selector") - } - } else { - configSelector = &defaultConfigSelector{sc} - } - cc.applyServiceConfigAndBalancer(sc, configSelector, s.Addresses) - } else { - ret = balancer.ErrBadResolverState - if cc.sc == nil { - // Apply the failing LB only if we haven't received valid service config - // from the name resolver in the past. - cc.applyFailingLB(s.ServiceConfig) - cc.mu.Unlock() - return ret - } - } - } - - var balCfg serviceconfig.LoadBalancingConfig - if cc.sc != nil && cc.sc.lbConfig != nil { - balCfg = cc.sc.lbConfig.cfg - } - bw := cc.balancerWrapper - cc.mu.Unlock() - - uccsErr := bw.updateClientConnState(&balancer.ClientConnState{ResolverState: s, BalancerConfig: balCfg}) - if ret == nil { - ret = uccsErr // prefer ErrBadResolver state since any other error is - // currently meaningless to the caller. - } - return ret -} - -// applyFailingLB is akin to configuring an LB policy on the channel which -// always fails RPCs. Here, an actual LB policy is not configured, but an always -// erroring picker is configured, which returns errors with information about -// what was invalid in the received service config. A config selector with no -// service config is configured, and the connectivity state of the channel is -// set to TransientFailure. -// -// Caller must hold cc.mu. -func (cc *ClientConn) applyFailingLB(sc *serviceconfig.ParseResult) { - var err error - if sc.Err != nil { - err = status.Errorf(codes.Unavailable, "error parsing service config: %v", sc.Err) - } else { - err = status.Errorf(codes.Unavailable, "illegal service config type: %T", sc.Config) - } - cc.safeConfigSelector.UpdateConfigSelector(&defaultConfigSelector{nil}) - cc.blockingpicker.updatePicker(base.NewErrPicker(err)) - cc.csMgr.updateState(connectivity.TransientFailure) -} - -func (cc *ClientConn) handleSubConnStateChange(sc balancer.SubConn, s connectivity.State, err error) { - cc.balancerWrapper.updateSubConnState(sc, s, err) -} - -// newAddrConn creates an addrConn for addrs and adds it to cc.conns. -// -// Caller needs to make sure len(addrs) > 0. -func (cc *ClientConn) newAddrConn(addrs []resolver.Address, opts balancer.NewSubConnOptions) (*addrConn, error) { - ac := &addrConn{ - state: connectivity.Idle, - cc: cc, - addrs: addrs, - scopts: opts, - dopts: cc.dopts, - czData: new(channelzData), - resetBackoff: make(chan struct{}), - } - ac.ctx, ac.cancel = context.WithCancel(cc.ctx) - // Track ac in cc. This needs to be done before any getTransport(...) is called. - cc.mu.Lock() - defer cc.mu.Unlock() - if cc.conns == nil { - return nil, ErrClientConnClosing - } - - var err error - ac.channelzID, err = channelz.RegisterSubChannel(ac, cc.channelzID, "") - if err != nil { - return nil, err - } - channelz.AddTraceEvent(logger, ac.channelzID, 0, &channelz.TraceEventDesc{ - Desc: "Subchannel created", - Severity: channelz.CtInfo, - Parent: &channelz.TraceEventDesc{ - Desc: fmt.Sprintf("Subchannel(id:%d) created", ac.channelzID.Int()), - Severity: channelz.CtInfo, - }, - }) - - cc.conns[ac] = struct{}{} - return ac, nil -} - -// removeAddrConn removes the addrConn in the subConn from clientConn. -// It also tears down the ac with the given error. -func (cc *ClientConn) removeAddrConn(ac *addrConn, err error) { - cc.mu.Lock() - if cc.conns == nil { - cc.mu.Unlock() - return - } - delete(cc.conns, ac) - cc.mu.Unlock() - ac.tearDown(err) -} - -func (cc *ClientConn) channelzMetric() *channelz.ChannelInternalMetric { - return &channelz.ChannelInternalMetric{ - State: cc.GetState(), - Target: cc.target, - CallsStarted: atomic.LoadInt64(&cc.czData.callsStarted), - CallsSucceeded: atomic.LoadInt64(&cc.czData.callsSucceeded), - CallsFailed: atomic.LoadInt64(&cc.czData.callsFailed), - LastCallStartedTimestamp: time.Unix(0, atomic.LoadInt64(&cc.czData.lastCallStartedTime)), - } -} - -// Target returns the target string of the ClientConn. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func (cc *ClientConn) Target() string { - return cc.target -} - -func (cc *ClientConn) incrCallsStarted() { - atomic.AddInt64(&cc.czData.callsStarted, 1) - atomic.StoreInt64(&cc.czData.lastCallStartedTime, time.Now().UnixNano()) -} - -func (cc *ClientConn) incrCallsSucceeded() { - atomic.AddInt64(&cc.czData.callsSucceeded, 1) -} - -func (cc *ClientConn) incrCallsFailed() { - atomic.AddInt64(&cc.czData.callsFailed, 1) -} - -// connect starts creating a transport. -// It does nothing if the ac is not IDLE. -// TODO(bar) Move this to the addrConn section. -func (ac *addrConn) connect() error { - ac.mu.Lock() - if ac.state == connectivity.Shutdown { - ac.mu.Unlock() - return errConnClosing - } - if ac.state != connectivity.Idle { - ac.mu.Unlock() - return nil - } - // Update connectivity state within the lock to prevent subsequent or - // concurrent calls from resetting the transport more than once. - ac.updateConnectivityState(connectivity.Connecting, nil) - ac.mu.Unlock() - - ac.resetTransport() - return nil -} - -func equalAddresses(a, b []resolver.Address) bool { - if len(a) != len(b) { - return false - } - for i, v := range a { - if !v.Equal(b[i]) { - return false - } - } - return true -} - -// tryUpdateAddrs tries to update ac.addrs with the new addresses list. -// -// If ac is TransientFailure, it updates ac.addrs and returns true. The updated -// addresses will be picked up by retry in the next iteration after backoff. -// -// If ac is Shutdown or Idle, it updates ac.addrs and returns true. -// -// If the addresses is the same as the old list, it does nothing and returns -// true. -// -// If ac is Connecting, it returns false. The caller should tear down the ac and -// create a new one. Note that the backoff will be reset when this happens. -// -// If ac is Ready, it checks whether current connected address of ac is in the -// new addrs list. -// - If true, it updates ac.addrs and returns true. The ac will keep using -// the existing connection. -// - If false, it does nothing and returns false. -func (ac *addrConn) tryUpdateAddrs(addrs []resolver.Address) bool { - ac.mu.Lock() - defer ac.mu.Unlock() - channelz.Infof(logger, ac.channelzID, "addrConn: tryUpdateAddrs curAddr: %v, addrs: %v", ac.curAddr, addrs) - if ac.state == connectivity.Shutdown || - ac.state == connectivity.TransientFailure || - ac.state == connectivity.Idle { - ac.addrs = addrs - return true - } - - if equalAddresses(ac.addrs, addrs) { - return true - } - - if ac.state == connectivity.Connecting { - return false - } - - // ac.state is Ready, try to find the connected address. - var curAddrFound bool - for _, a := range addrs { - a.ServerName = ac.cc.getServerName(a) - if reflect.DeepEqual(ac.curAddr, a) { - curAddrFound = true - break - } - } - channelz.Infof(logger, ac.channelzID, "addrConn: tryUpdateAddrs curAddrFound: %v", curAddrFound) - if curAddrFound { - ac.addrs = addrs - } - - return curAddrFound -} - -// getServerName determines the serverName to be used in the connection -// handshake. The default value for the serverName is the authority on the -// ClientConn, which either comes from the user's dial target or through an -// authority override specified using the WithAuthority dial option. Name -// resolvers can specify a per-address override for the serverName through the -// resolver.Address.ServerName field which is used only if the WithAuthority -// dial option was not used. The rationale is that per-address authority -// overrides specified by the name resolver can represent a security risk, while -// an override specified by the user is more dependable since they probably know -// what they are doing. -func (cc *ClientConn) getServerName(addr resolver.Address) string { - if cc.dopts.authority != "" { - return cc.dopts.authority - } - if addr.ServerName != "" { - return addr.ServerName - } - return cc.authority -} - -func getMethodConfig(sc *ServiceConfig, method string) MethodConfig { - if sc == nil { - return MethodConfig{} - } - if m, ok := sc.Methods[method]; ok { - return m - } - i := strings.LastIndex(method, "/") - if m, ok := sc.Methods[method[:i+1]]; ok { - return m - } - return sc.Methods[""] -} - -// GetMethodConfig gets the method config of the input method. -// If there's an exact match for input method (i.e. /service/method), we return -// the corresponding MethodConfig. -// If there isn't an exact match for the input method, we look for the service's default -// config under the service (i.e /service/) and then for the default for all services (empty string). -// -// If there is a default MethodConfig for the service, we return it. -// Otherwise, we return an empty MethodConfig. -func (cc *ClientConn) GetMethodConfig(method string) MethodConfig { - // TODO: Avoid the locking here. - cc.mu.RLock() - defer cc.mu.RUnlock() - return getMethodConfig(cc.sc, method) -} - -func (cc *ClientConn) healthCheckConfig() *healthCheckConfig { - cc.mu.RLock() - defer cc.mu.RUnlock() - if cc.sc == nil { - return nil - } - return cc.sc.healthCheckConfig -} - -func (cc *ClientConn) getTransport(ctx context.Context, failfast bool, method string) (transport.ClientTransport, func(balancer.DoneInfo), error) { - return cc.blockingpicker.pick(ctx, failfast, balancer.PickInfo{ - Ctx: ctx, - FullMethodName: method, - }) -} - -func (cc *ClientConn) applyServiceConfigAndBalancer(sc *ServiceConfig, configSelector iresolver.ConfigSelector, addrs []resolver.Address) { - if sc == nil { - // should never reach here. - return - } - cc.sc = sc - if configSelector != nil { - cc.safeConfigSelector.UpdateConfigSelector(configSelector) - } - - if cc.sc.retryThrottling != nil { - newThrottler := &retryThrottler{ - tokens: cc.sc.retryThrottling.MaxTokens, - max: cc.sc.retryThrottling.MaxTokens, - thresh: cc.sc.retryThrottling.MaxTokens / 2, - ratio: cc.sc.retryThrottling.TokenRatio, - } - cc.retryThrottler.Store(newThrottler) - } else { - cc.retryThrottler.Store((*retryThrottler)(nil)) - } - - var newBalancerName string - if cc.sc != nil && cc.sc.lbConfig != nil { - newBalancerName = cc.sc.lbConfig.name - } else { - var isGRPCLB bool - for _, a := range addrs { - if a.Type == resolver.GRPCLB { - isGRPCLB = true - break - } - } - if isGRPCLB { - newBalancerName = grpclbName - } else if cc.sc != nil && cc.sc.LB != nil { - newBalancerName = *cc.sc.LB - } else { - newBalancerName = PickFirstBalancerName - } - } - cc.balancerWrapper.switchTo(newBalancerName) -} - -func (cc *ClientConn) resolveNow(o resolver.ResolveNowOptions) { - cc.mu.RLock() - r := cc.resolverWrapper - cc.mu.RUnlock() - if r == nil { - return - } - go r.resolveNow(o) -} - -// ResetConnectBackoff wakes up all subchannels in transient failure and causes -// them to attempt another connection immediately. It also resets the backoff -// times used for subsequent attempts regardless of the current state. -// -// In general, this function should not be used. Typical service or network -// outages result in a reasonable client reconnection strategy by default. -// However, if a previously unavailable network becomes available, this may be -// used to trigger an immediate reconnect. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func (cc *ClientConn) ResetConnectBackoff() { - cc.mu.Lock() - conns := cc.conns - cc.mu.Unlock() - for ac := range conns { - ac.resetConnectBackoff() - } -} - -// Close tears down the ClientConn and all underlying connections. -func (cc *ClientConn) Close() error { - defer cc.cancel() - - cc.mu.Lock() - if cc.conns == nil { - cc.mu.Unlock() - return ErrClientConnClosing - } - conns := cc.conns - cc.conns = nil - cc.csMgr.updateState(connectivity.Shutdown) - - rWrapper := cc.resolverWrapper - cc.resolverWrapper = nil - bWrapper := cc.balancerWrapper - cc.mu.Unlock() - - // The order of closing matters here since the balancer wrapper assumes the - // picker is closed before it is closed. - cc.blockingpicker.close() - if bWrapper != nil { - bWrapper.close() - } - if rWrapper != nil { - rWrapper.close() - } - - for ac := range conns { - ac.tearDown(ErrClientConnClosing) - } - ted := &channelz.TraceEventDesc{ - Desc: "Channel deleted", - Severity: channelz.CtInfo, - } - if cc.dopts.channelzParentID != nil { - ted.Parent = &channelz.TraceEventDesc{ - Desc: fmt.Sprintf("Nested channel(id:%d) deleted", cc.channelzID.Int()), - Severity: channelz.CtInfo, - } - } - channelz.AddTraceEvent(logger, cc.channelzID, 0, ted) - // TraceEvent needs to be called before RemoveEntry, as TraceEvent may add - // trace reference to the entity being deleted, and thus prevent it from being - // deleted right away. - channelz.RemoveEntry(cc.channelzID) - - return nil -} - -// addrConn is a network connection to a given address. -type addrConn struct { - ctx context.Context - cancel context.CancelFunc - - cc *ClientConn - dopts dialOptions - acbw balancer.SubConn - scopts balancer.NewSubConnOptions - - // transport is set when there's a viable transport (note: ac state may not be READY as LB channel - // health checking may require server to report healthy to set ac to READY), and is reset - // to nil when the current transport should no longer be used to create a stream (e.g. after GoAway - // is received, transport is closed, ac has been torn down). - transport transport.ClientTransport // The current transport. - - mu sync.Mutex - curAddr resolver.Address // The current address. - addrs []resolver.Address // All addresses that the resolver resolved to. - - // Use updateConnectivityState for updating addrConn's connectivity state. - state connectivity.State - - backoffIdx int // Needs to be stateful for resetConnectBackoff. - resetBackoff chan struct{} - - channelzID *channelz.Identifier - czData *channelzData -} - -// Note: this requires a lock on ac.mu. -func (ac *addrConn) updateConnectivityState(s connectivity.State, lastErr error) { - if ac.state == s { - return - } - ac.state = s - channelz.Infof(logger, ac.channelzID, "Subchannel Connectivity change to %v", s) - ac.cc.handleSubConnStateChange(ac.acbw, s, lastErr) -} - -// adjustParams updates parameters used to create transports upon -// receiving a GoAway. -func (ac *addrConn) adjustParams(r transport.GoAwayReason) { - switch r { - case transport.GoAwayTooManyPings: - v := 2 * ac.dopts.copts.KeepaliveParams.Time - ac.cc.mu.Lock() - if v > ac.cc.mkp.Time { - ac.cc.mkp.Time = v - } - ac.cc.mu.Unlock() - } -} - -func (ac *addrConn) resetTransport() { - ac.mu.Lock() - if ac.state == connectivity.Shutdown { - ac.mu.Unlock() - return - } - - addrs := ac.addrs - backoffFor := ac.dopts.bs.Backoff(ac.backoffIdx) - // This will be the duration that dial gets to finish. - dialDuration := minConnectTimeout - if ac.dopts.minConnectTimeout != nil { - dialDuration = ac.dopts.minConnectTimeout() - } - - if dialDuration < backoffFor { - // Give dial more time as we keep failing to connect. - dialDuration = backoffFor - } - // We can potentially spend all the time trying the first address, and - // if the server accepts the connection and then hangs, the following - // addresses will never be tried. - // - // The spec doesn't mention what should be done for multiple addresses. - // https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md#proposed-backoff-algorithm - connectDeadline := time.Now().Add(dialDuration) - - ac.updateConnectivityState(connectivity.Connecting, nil) - ac.mu.Unlock() - - if err := ac.tryAllAddrs(addrs, connectDeadline); err != nil { - ac.cc.resolveNow(resolver.ResolveNowOptions{}) - // After exhausting all addresses, the addrConn enters - // TRANSIENT_FAILURE. - ac.mu.Lock() - if ac.state == connectivity.Shutdown { - ac.mu.Unlock() - return - } - ac.updateConnectivityState(connectivity.TransientFailure, err) - - // Backoff. - b := ac.resetBackoff - ac.mu.Unlock() - - timer := time.NewTimer(backoffFor) - select { - case <-timer.C: - ac.mu.Lock() - ac.backoffIdx++ - ac.mu.Unlock() - case <-b: - timer.Stop() - case <-ac.ctx.Done(): - timer.Stop() - return - } - - ac.mu.Lock() - if ac.state != connectivity.Shutdown { - ac.updateConnectivityState(connectivity.Idle, err) - } - ac.mu.Unlock() - return - } - // Success; reset backoff. - ac.mu.Lock() - ac.backoffIdx = 0 - ac.mu.Unlock() -} - -// tryAllAddrs tries to creates a connection to the addresses, and stop when at -// the first successful one. It returns an error if no address was successfully -// connected, or updates ac appropriately with the new transport. -func (ac *addrConn) tryAllAddrs(addrs []resolver.Address, connectDeadline time.Time) error { - var firstConnErr error - for _, addr := range addrs { - ac.mu.Lock() - if ac.state == connectivity.Shutdown { - ac.mu.Unlock() - return errConnClosing - } - - ac.cc.mu.RLock() - ac.dopts.copts.KeepaliveParams = ac.cc.mkp - ac.cc.mu.RUnlock() - - copts := ac.dopts.copts - if ac.scopts.CredsBundle != nil { - copts.CredsBundle = ac.scopts.CredsBundle - } - ac.mu.Unlock() - - channelz.Infof(logger, ac.channelzID, "Subchannel picks a new address %q to connect", addr.Addr) - - err := ac.createTransport(addr, copts, connectDeadline) - if err == nil { - return nil - } - if firstConnErr == nil { - firstConnErr = err - } - ac.cc.updateConnectionError(err) - } - - // Couldn't connect to any address. - return firstConnErr -} - -// createTransport creates a connection to addr. It returns an error if the -// address was not successfully connected, or updates ac appropriately with the -// new transport. -func (ac *addrConn) createTransport(addr resolver.Address, copts transport.ConnectOptions, connectDeadline time.Time) error { - // TODO: Delete prefaceReceived and move the logic to wait for it into the - // transport. - prefaceReceived := grpcsync.NewEvent() - connClosed := grpcsync.NewEvent() - - addr.ServerName = ac.cc.getServerName(addr) - hctx, hcancel := context.WithCancel(ac.ctx) - hcStarted := false // protected by ac.mu - - onClose := func() { - ac.mu.Lock() - defer ac.mu.Unlock() - defer connClosed.Fire() - defer hcancel() - if !hcStarted || hctx.Err() != nil { - // We didn't start the health check or set the state to READY, so - // no need to do anything else here. - // - // OR, we have already cancelled the health check context, meaning - // we have already called onClose once for this transport. In this - // case it would be dangerous to clear the transport and update the - // state, since there may be a new transport in this addrConn. - return - } - ac.transport = nil - // Refresh the name resolver - ac.cc.resolveNow(resolver.ResolveNowOptions{}) - if ac.state != connectivity.Shutdown { - ac.updateConnectivityState(connectivity.Idle, nil) - } - } - - onGoAway := func(r transport.GoAwayReason) { - ac.mu.Lock() - ac.adjustParams(r) - ac.mu.Unlock() - onClose() - } - - connectCtx, cancel := context.WithDeadline(ac.ctx, connectDeadline) - defer cancel() - copts.ChannelzParentID = ac.channelzID - - newTr, err := transport.NewClientTransport(connectCtx, ac.cc.ctx, addr, copts, func() { prefaceReceived.Fire() }, onGoAway, onClose) - if err != nil { - // newTr is either nil, or closed. - hcancel() - channelz.Warningf(logger, ac.channelzID, "grpc: addrConn.createTransport failed to connect to %s. Err: %v", addr, err) - return err - } - - select { - case <-connectCtx.Done(): - // We didn't get the preface in time. - // The error we pass to Close() is immaterial since there are no open - // streams at this point, so no trailers with error details will be sent - // out. We just need to pass a non-nil error. - newTr.Close(transport.ErrConnClosing) - if connectCtx.Err() == context.DeadlineExceeded { - err := errors.New("failed to receive server preface within timeout") - channelz.Warningf(logger, ac.channelzID, "grpc: addrConn.createTransport failed to connect to %s: %v", addr, err) - return err - } - return nil - case <-prefaceReceived.Done(): - // We got the preface - huzzah! things are good. - ac.mu.Lock() - defer ac.mu.Unlock() - if connClosed.HasFired() { - // onClose called first; go idle but do nothing else. - if ac.state != connectivity.Shutdown { - ac.updateConnectivityState(connectivity.Idle, nil) - } - return nil - } - if ac.state == connectivity.Shutdown { - // This can happen if the subConn was removed while in `Connecting` - // state. tearDown() would have set the state to `Shutdown`, but - // would not have closed the transport since ac.transport would not - // been set at that point. - // - // We run this in a goroutine because newTr.Close() calls onClose() - // inline, which requires locking ac.mu. - // - // The error we pass to Close() is immaterial since there are no open - // streams at this point, so no trailers with error details will be sent - // out. We just need to pass a non-nil error. - go newTr.Close(transport.ErrConnClosing) - return nil - } - ac.curAddr = addr - ac.transport = newTr - hcStarted = true - ac.startHealthCheck(hctx) // Will set state to READY if appropriate. - return nil - case <-connClosed.Done(): - // The transport has already closed. If we received the preface, too, - // this is not an error. - select { - case <-prefaceReceived.Done(): - return nil - default: - return errors.New("connection closed before server preface received") - } - } -} - -// startHealthCheck starts the health checking stream (RPC) to watch the health -// stats of this connection if health checking is requested and configured. -// -// LB channel health checking is enabled when all requirements below are met: -// 1. it is not disabled by the user with the WithDisableHealthCheck DialOption -// 2. internal.HealthCheckFunc is set by importing the grpc/health package -// 3. a service config with non-empty healthCheckConfig field is provided -// 4. the load balancer requests it -// -// It sets addrConn to READY if the health checking stream is not started. -// -// Caller must hold ac.mu. -func (ac *addrConn) startHealthCheck(ctx context.Context) { - var healthcheckManagingState bool - defer func() { - if !healthcheckManagingState { - ac.updateConnectivityState(connectivity.Ready, nil) - } - }() - - if ac.cc.dopts.disableHealthCheck { - return - } - healthCheckConfig := ac.cc.healthCheckConfig() - if healthCheckConfig == nil { - return - } - if !ac.scopts.HealthCheckEnabled { - return - } - healthCheckFunc := ac.cc.dopts.healthCheckFunc - if healthCheckFunc == nil { - // The health package is not imported to set health check function. - // - // TODO: add a link to the health check doc in the error message. - channelz.Error(logger, ac.channelzID, "Health check is requested but health check function is not set.") - return - } - - healthcheckManagingState = true - - // Set up the health check helper functions. - currentTr := ac.transport - newStream := func(method string) (interface{}, error) { - ac.mu.Lock() - if ac.transport != currentTr { - ac.mu.Unlock() - return nil, status.Error(codes.Canceled, "the provided transport is no longer valid to use") - } - ac.mu.Unlock() - return newNonRetryClientStream(ctx, &StreamDesc{ServerStreams: true}, method, currentTr, ac) - } - setConnectivityState := func(s connectivity.State, lastErr error) { - ac.mu.Lock() - defer ac.mu.Unlock() - if ac.transport != currentTr { - return - } - ac.updateConnectivityState(s, lastErr) - } - // Start the health checking stream. - go func() { - err := ac.cc.dopts.healthCheckFunc(ctx, newStream, setConnectivityState, healthCheckConfig.ServiceName) - if err != nil { - if status.Code(err) == codes.Unimplemented { - channelz.Error(logger, ac.channelzID, "Subchannel health check is unimplemented at server side, thus health check is disabled") - } else { - channelz.Errorf(logger, ac.channelzID, "HealthCheckFunc exits with unexpected error %v", err) - } - } - }() -} - -func (ac *addrConn) resetConnectBackoff() { - ac.mu.Lock() - close(ac.resetBackoff) - ac.backoffIdx = 0 - ac.resetBackoff = make(chan struct{}) - ac.mu.Unlock() -} - -// getReadyTransport returns the transport if ac's state is READY or nil if not. -func (ac *addrConn) getReadyTransport() transport.ClientTransport { - ac.mu.Lock() - defer ac.mu.Unlock() - if ac.state == connectivity.Ready { - return ac.transport - } - return nil -} - -// tearDown starts to tear down the addrConn. -// -// Note that tearDown doesn't remove ac from ac.cc.conns, so the addrConn struct -// will leak. In most cases, call cc.removeAddrConn() instead. -func (ac *addrConn) tearDown(err error) { - ac.mu.Lock() - if ac.state == connectivity.Shutdown { - ac.mu.Unlock() - return - } - curTr := ac.transport - ac.transport = nil - // We have to set the state to Shutdown before anything else to prevent races - // between setting the state and logic that waits on context cancellation / etc. - ac.updateConnectivityState(connectivity.Shutdown, nil) - ac.cancel() - ac.curAddr = resolver.Address{} - if err == errConnDrain && curTr != nil { - // GracefulClose(...) may be executed multiple times when - // i) receiving multiple GoAway frames from the server; or - // ii) there are concurrent name resolver/Balancer triggered - // address removal and GoAway. - // We have to unlock and re-lock here because GracefulClose => Close => onClose, which requires locking ac.mu. - ac.mu.Unlock() - curTr.GracefulClose() - ac.mu.Lock() - } - channelz.AddTraceEvent(logger, ac.channelzID, 0, &channelz.TraceEventDesc{ - Desc: "Subchannel deleted", - Severity: channelz.CtInfo, - Parent: &channelz.TraceEventDesc{ - Desc: fmt.Sprintf("Subchannel(id:%d) deleted", ac.channelzID.Int()), - Severity: channelz.CtInfo, - }, - }) - // TraceEvent needs to be called before RemoveEntry, as TraceEvent may add - // trace reference to the entity being deleted, and thus prevent it from - // being deleted right away. - channelz.RemoveEntry(ac.channelzID) - ac.mu.Unlock() -} - -func (ac *addrConn) getState() connectivity.State { - ac.mu.Lock() - defer ac.mu.Unlock() - return ac.state -} - -func (ac *addrConn) ChannelzMetric() *channelz.ChannelInternalMetric { - ac.mu.Lock() - addr := ac.curAddr.Addr - ac.mu.Unlock() - return &channelz.ChannelInternalMetric{ - State: ac.getState(), - Target: addr, - CallsStarted: atomic.LoadInt64(&ac.czData.callsStarted), - CallsSucceeded: atomic.LoadInt64(&ac.czData.callsSucceeded), - CallsFailed: atomic.LoadInt64(&ac.czData.callsFailed), - LastCallStartedTimestamp: time.Unix(0, atomic.LoadInt64(&ac.czData.lastCallStartedTime)), - } -} - -func (ac *addrConn) incrCallsStarted() { - atomic.AddInt64(&ac.czData.callsStarted, 1) - atomic.StoreInt64(&ac.czData.lastCallStartedTime, time.Now().UnixNano()) -} - -func (ac *addrConn) incrCallsSucceeded() { - atomic.AddInt64(&ac.czData.callsSucceeded, 1) -} - -func (ac *addrConn) incrCallsFailed() { - atomic.AddInt64(&ac.czData.callsFailed, 1) -} - -type retryThrottler struct { - max float64 - thresh float64 - ratio float64 - - mu sync.Mutex - tokens float64 // TODO(dfawley): replace with atomic and remove lock. -} - -// throttle subtracts a retry token from the pool and returns whether a retry -// should be throttled (disallowed) based upon the retry throttling policy in -// the service config. -func (rt *retryThrottler) throttle() bool { - if rt == nil { - return false - } - rt.mu.Lock() - defer rt.mu.Unlock() - rt.tokens-- - if rt.tokens < 0 { - rt.tokens = 0 - } - return rt.tokens <= rt.thresh -} - -func (rt *retryThrottler) successfulRPC() { - if rt == nil { - return - } - rt.mu.Lock() - defer rt.mu.Unlock() - rt.tokens += rt.ratio - if rt.tokens > rt.max { - rt.tokens = rt.max - } -} - -type channelzChannel struct { - cc *ClientConn -} - -func (c *channelzChannel) ChannelzMetric() *channelz.ChannelInternalMetric { - return c.cc.channelzMetric() -} - -// ErrClientConnTimeout indicates that the ClientConn cannot establish the -// underlying connections within the specified timeout. -// -// Deprecated: This error is never returned by grpc and should not be -// referenced by users. -var ErrClientConnTimeout = errors.New("grpc: timed out when dialing") - -func (cc *ClientConn) getResolver(scheme string) resolver.Builder { - for _, rb := range cc.dopts.resolvers { - if scheme == rb.Scheme() { - return rb - } - } - return resolver.Get(scheme) -} - -func (cc *ClientConn) updateConnectionError(err error) { - cc.lceMu.Lock() - cc.lastConnectionError = err - cc.lceMu.Unlock() -} - -func (cc *ClientConn) connectionError() error { - cc.lceMu.Lock() - defer cc.lceMu.Unlock() - return cc.lastConnectionError -} - -func (cc *ClientConn) parseTargetAndFindResolver() (resolver.Builder, error) { - channelz.Infof(logger, cc.channelzID, "original dial target is: %q", cc.target) - - var rb resolver.Builder - parsedTarget, err := parseTarget(cc.target) - if err != nil { - channelz.Infof(logger, cc.channelzID, "dial target %q parse failed: %v", cc.target, err) - } else { - channelz.Infof(logger, cc.channelzID, "parsed dial target is: %+v", parsedTarget) - rb = cc.getResolver(parsedTarget.Scheme) - if rb != nil { - cc.parsedTarget = parsedTarget - return rb, nil - } - } - - // We are here because the user's dial target did not contain a scheme or - // specified an unregistered scheme. We should fallback to the default - // scheme, except when a custom dialer is specified in which case, we should - // always use passthrough scheme. - defScheme := resolver.GetDefaultScheme() - channelz.Infof(logger, cc.channelzID, "fallback to scheme %q", defScheme) - canonicalTarget := defScheme + ":///" + cc.target - - parsedTarget, err = parseTarget(canonicalTarget) - if err != nil { - channelz.Infof(logger, cc.channelzID, "dial target %q parse failed: %v", canonicalTarget, err) - return nil, err - } - channelz.Infof(logger, cc.channelzID, "parsed dial target is: %+v", parsedTarget) - rb = cc.getResolver(parsedTarget.Scheme) - if rb == nil { - return nil, fmt.Errorf("could not get resolver for default scheme: %q", parsedTarget.Scheme) - } - cc.parsedTarget = parsedTarget - return rb, nil -} - -// parseTarget uses RFC 3986 semantics to parse the given target into a -// resolver.Target struct containing scheme, authority and endpoint. Query -// params are stripped from the endpoint. -func parseTarget(target string) (resolver.Target, error) { - u, err := url.Parse(target) - if err != nil { - return resolver.Target{}, err - } - // For targets of the form "[scheme]://[authority]/endpoint, the endpoint - // value returned from url.Parse() contains a leading "/". Although this is - // in accordance with RFC 3986, we do not want to break existing resolver - // implementations which expect the endpoint without the leading "/". So, we - // end up stripping the leading "/" here. But this will result in an - // incorrect parsing for something like "unix:///path/to/socket". Since we - // own the "unix" resolver, we can workaround in the unix resolver by using - // the `URL` field instead of the `Endpoint` field. - endpoint := u.Path - if endpoint == "" { - endpoint = u.Opaque - } - endpoint = strings.TrimPrefix(endpoint, "/") - return resolver.Target{ - Scheme: u.Scheme, - Authority: u.Host, - Endpoint: endpoint, - URL: *u, - }, nil -} - -// Determine channel authority. The order of precedence is as follows: -// - user specified authority override using `WithAuthority` dial option -// - creds' notion of server name for the authentication handshake -// - endpoint from dial target of the form "scheme://[authority]/endpoint" -func determineAuthority(endpoint, target string, dopts dialOptions) (string, error) { - // Historically, we had two options for users to specify the serverName or - // authority for a channel. One was through the transport credentials - // (either in its constructor, or through the OverrideServerName() method). - // The other option (for cases where WithInsecure() dial option was used) - // was to use the WithAuthority() dial option. - // - // A few things have changed since: - // - `insecure` package with an implementation of the `TransportCredentials` - // interface for the insecure case - // - WithAuthority() dial option support for secure credentials - authorityFromCreds := "" - if creds := dopts.copts.TransportCredentials; creds != nil && creds.Info().ServerName != "" { - authorityFromCreds = creds.Info().ServerName - } - authorityFromDialOption := dopts.authority - if (authorityFromCreds != "" && authorityFromDialOption != "") && authorityFromCreds != authorityFromDialOption { - return "", fmt.Errorf("ClientConn's authority from transport creds %q and dial option %q don't match", authorityFromCreds, authorityFromDialOption) - } - - switch { - case authorityFromDialOption != "": - return authorityFromDialOption, nil - case authorityFromCreds != "": - return authorityFromCreds, nil - case strings.HasPrefix(target, "unix:") || strings.HasPrefix(target, "unix-abstract:"): - // TODO: remove when the unix resolver implements optional interface to - // return channel authority. - return "localhost", nil - case strings.HasPrefix(endpoint, ":"): - return "localhost" + endpoint, nil - default: - // TODO: Define an optional interface on the resolver builder to return - // the channel authority given the user's dial target. For resolvers - // which don't implement this interface, we will use the endpoint from - // "scheme://authority/endpoint" as the default authority. - return endpoint, nil - } -} diff --git a/vendor/google.golang.org/grpc/codec.go b/vendor/google.golang.org/grpc/codec.go deleted file mode 100644 index 12977654..00000000 --- a/vendor/google.golang.org/grpc/codec.go +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 grpc - -import ( - "google.golang.org/grpc/encoding" - _ "google.golang.org/grpc/encoding/proto" // to register the Codec for "proto" -) - -// baseCodec contains the functionality of both Codec and encoding.Codec, but -// omits the name/string, which vary between the two and are not needed for -// anything besides the registry in the encoding package. -type baseCodec interface { - Marshal(v interface{}) ([]byte, error) - Unmarshal(data []byte, v interface{}) error -} - -var _ baseCodec = Codec(nil) -var _ baseCodec = encoding.Codec(nil) - -// Codec defines the interface gRPC uses to encode and decode messages. -// Note that implementations of this interface must be thread safe; -// a Codec's methods can be called from concurrent goroutines. -// -// Deprecated: use encoding.Codec instead. -type Codec interface { - // Marshal returns the wire format of v. - Marshal(v interface{}) ([]byte, error) - // Unmarshal parses the wire format into v. - Unmarshal(data []byte, v interface{}) error - // String returns the name of the Codec implementation. This is unused by - // gRPC. - String() string -} diff --git a/vendor/google.golang.org/grpc/codegen.sh b/vendor/google.golang.org/grpc/codegen.sh deleted file mode 100644 index 4cdc6ba7..00000000 --- a/vendor/google.golang.org/grpc/codegen.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# This script serves as an example to demonstrate how to generate the gRPC-Go -# interface and the related messages from .proto file. -# -# It assumes the installation of i) Google proto buffer compiler at -# https://github.com/google/protobuf (after v2.6.1) and ii) the Go codegen -# plugin at https://github.com/golang/protobuf (after 2015-02-20). If you have -# not, please install them first. -# -# We recommend running this script at $GOPATH/src. -# -# If this is not what you need, feel free to make your own scripts. Again, this -# script is for demonstration purpose. -# -proto=$1 -protoc --go_out=plugins=grpc:. $proto diff --git a/vendor/google.golang.org/grpc/codes/code_string.go b/vendor/google.golang.org/grpc/codes/code_string.go deleted file mode 100644 index 0b206a57..00000000 --- a/vendor/google.golang.org/grpc/codes/code_string.go +++ /dev/null @@ -1,62 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 codes - -import "strconv" - -func (c Code) String() string { - switch c { - case OK: - return "OK" - case Canceled: - return "Canceled" - case Unknown: - return "Unknown" - case InvalidArgument: - return "InvalidArgument" - case DeadlineExceeded: - return "DeadlineExceeded" - case NotFound: - return "NotFound" - case AlreadyExists: - return "AlreadyExists" - case PermissionDenied: - return "PermissionDenied" - case ResourceExhausted: - return "ResourceExhausted" - case FailedPrecondition: - return "FailedPrecondition" - case Aborted: - return "Aborted" - case OutOfRange: - return "OutOfRange" - case Unimplemented: - return "Unimplemented" - case Internal: - return "Internal" - case Unavailable: - return "Unavailable" - case DataLoss: - return "DataLoss" - case Unauthenticated: - return "Unauthenticated" - default: - return "Code(" + strconv.FormatInt(int64(c), 10) + ")" - } -} diff --git a/vendor/google.golang.org/grpc/codes/codes.go b/vendor/google.golang.org/grpc/codes/codes.go deleted file mode 100644 index 11b10618..00000000 --- a/vendor/google.golang.org/grpc/codes/codes.go +++ /dev/null @@ -1,244 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 codes defines the canonical error codes used by gRPC. It is -// consistent across various languages. -package codes // import "google.golang.org/grpc/codes" - -import ( - "fmt" - "strconv" -) - -// A Code is an unsigned 32-bit error code as defined in the gRPC spec. -type Code uint32 - -const ( - // OK is returned on success. - OK Code = 0 - - // Canceled indicates the operation was canceled (typically by the caller). - // - // The gRPC framework will generate this error code when cancellation - // is requested. - Canceled Code = 1 - - // Unknown error. An example of where this error may be returned is - // if a Status value received from another address space belongs to - // an error-space that is not known in this address space. Also - // errors raised by APIs that do not return enough error information - // may be converted to this error. - // - // The gRPC framework will generate this error code in the above two - // mentioned cases. - Unknown Code = 2 - - // InvalidArgument indicates client specified an invalid argument. - // Note that this differs from FailedPrecondition. It indicates arguments - // that are problematic regardless of the state of the system - // (e.g., a malformed file name). - // - // This error code will not be generated by the gRPC framework. - InvalidArgument Code = 3 - - // DeadlineExceeded means operation expired before completion. - // For operations that change the state of the system, this error may be - // returned even if the operation has completed successfully. For - // example, a successful response from a server could have been delayed - // long enough for the deadline to expire. - // - // The gRPC framework will generate this error code when the deadline is - // exceeded. - DeadlineExceeded Code = 4 - - // NotFound means some requested entity (e.g., file or directory) was - // not found. - // - // This error code will not be generated by the gRPC framework. - NotFound Code = 5 - - // AlreadyExists means an attempt to create an entity failed because one - // already exists. - // - // This error code will not be generated by the gRPC framework. - AlreadyExists Code = 6 - - // PermissionDenied indicates the caller does not have permission to - // execute the specified operation. It must not be used for rejections - // caused by exhausting some resource (use ResourceExhausted - // instead for those errors). It must not be - // used if the caller cannot be identified (use Unauthenticated - // instead for those errors). - // - // This error code will not be generated by the gRPC core framework, - // but expect authentication middleware to use it. - PermissionDenied Code = 7 - - // ResourceExhausted indicates some resource has been exhausted, perhaps - // a per-user quota, or perhaps the entire file system is out of space. - // - // This error code will be generated by the gRPC framework in - // out-of-memory and server overload situations, or when a message is - // larger than the configured maximum size. - ResourceExhausted Code = 8 - - // FailedPrecondition indicates operation was rejected because the - // system is not in a state required for the operation's execution. - // For example, directory to be deleted may be non-empty, an rmdir - // operation is applied to a non-directory, etc. - // - // A litmus test that may help a service implementor in deciding - // between FailedPrecondition, Aborted, and Unavailable: - // (a) Use Unavailable if the client can retry just the failing call. - // (b) Use Aborted if the client should retry at a higher-level - // (e.g., restarting a read-modify-write sequence). - // (c) Use FailedPrecondition if the client should not retry until - // the system state has been explicitly fixed. E.g., if an "rmdir" - // fails because the directory is non-empty, FailedPrecondition - // should be returned since the client should not retry unless - // they have first fixed up the directory by deleting files from it. - // (d) Use FailedPrecondition if the client performs conditional - // REST Get/Update/Delete on a resource and the resource on the - // server does not match the condition. E.g., conflicting - // read-modify-write on the same resource. - // - // This error code will not be generated by the gRPC framework. - FailedPrecondition Code = 9 - - // Aborted indicates the operation was aborted, typically due to a - // concurrency issue like sequencer check failures, transaction aborts, - // etc. - // - // See litmus test above for deciding between FailedPrecondition, - // Aborted, and Unavailable. - // - // This error code will not be generated by the gRPC framework. - Aborted Code = 10 - - // OutOfRange means operation was attempted past the valid range. - // E.g., seeking or reading past end of file. - // - // Unlike InvalidArgument, this error indicates a problem that may - // be fixed if the system state changes. For example, a 32-bit file - // system will generate InvalidArgument if asked to read at an - // offset that is not in the range [0,2^32-1], but it will generate - // OutOfRange if asked to read from an offset past the current - // file size. - // - // There is a fair bit of overlap between FailedPrecondition and - // OutOfRange. We recommend using OutOfRange (the more specific - // error) when it applies so that callers who are iterating through - // a space can easily look for an OutOfRange error to detect when - // they are done. - // - // This error code will not be generated by the gRPC framework. - OutOfRange Code = 11 - - // Unimplemented indicates operation is not implemented or not - // supported/enabled in this service. - // - // This error code will be generated by the gRPC framework. Most - // commonly, you will see this error code when a method implementation - // is missing on the server. It can also be generated for unknown - // compression algorithms or a disagreement as to whether an RPC should - // be streaming. - Unimplemented Code = 12 - - // Internal errors. Means some invariants expected by underlying - // system has been broken. If you see one of these errors, - // something is very broken. - // - // This error code will be generated by the gRPC framework in several - // internal error conditions. - Internal Code = 13 - - // Unavailable indicates the service is currently unavailable. - // This is a most likely a transient condition and may be corrected - // by retrying with a backoff. Note that it is not always safe to retry - // non-idempotent operations. - // - // See litmus test above for deciding between FailedPrecondition, - // Aborted, and Unavailable. - // - // This error code will be generated by the gRPC framework during - // abrupt shutdown of a server process or network connection. - Unavailable Code = 14 - - // DataLoss indicates unrecoverable data loss or corruption. - // - // This error code will not be generated by the gRPC framework. - DataLoss Code = 15 - - // Unauthenticated indicates the request does not have valid - // authentication credentials for the operation. - // - // The gRPC framework will generate this error code when the - // authentication metadata is invalid or a Credentials callback fails, - // but also expect authentication middleware to generate it. - Unauthenticated Code = 16 - - _maxCode = 17 -) - -var strToCode = map[string]Code{ - `"OK"`: OK, - `"CANCELLED"`:/* [sic] */ Canceled, - `"UNKNOWN"`: Unknown, - `"INVALID_ARGUMENT"`: InvalidArgument, - `"DEADLINE_EXCEEDED"`: DeadlineExceeded, - `"NOT_FOUND"`: NotFound, - `"ALREADY_EXISTS"`: AlreadyExists, - `"PERMISSION_DENIED"`: PermissionDenied, - `"RESOURCE_EXHAUSTED"`: ResourceExhausted, - `"FAILED_PRECONDITION"`: FailedPrecondition, - `"ABORTED"`: Aborted, - `"OUT_OF_RANGE"`: OutOfRange, - `"UNIMPLEMENTED"`: Unimplemented, - `"INTERNAL"`: Internal, - `"UNAVAILABLE"`: Unavailable, - `"DATA_LOSS"`: DataLoss, - `"UNAUTHENTICATED"`: Unauthenticated, -} - -// UnmarshalJSON unmarshals b into the Code. -func (c *Code) UnmarshalJSON(b []byte) error { - // From json.Unmarshaler: By convention, to approximate the behavior of - // Unmarshal itself, Unmarshalers implement UnmarshalJSON([]byte("null")) as - // a no-op. - if string(b) == "null" { - return nil - } - if c == nil { - return fmt.Errorf("nil receiver passed to UnmarshalJSON") - } - - if ci, err := strconv.ParseUint(string(b), 10, 32); err == nil { - if ci >= _maxCode { - return fmt.Errorf("invalid code: %q", ci) - } - - *c = Code(ci) - return nil - } - - if jc, ok := strToCode[string(b)]; ok { - *c = jc - return nil - } - return fmt.Errorf("invalid code: %q", string(b)) -} diff --git a/vendor/google.golang.org/grpc/connectivity/connectivity.go b/vendor/google.golang.org/grpc/connectivity/connectivity.go deleted file mode 100644 index 4a899264..00000000 --- a/vendor/google.golang.org/grpc/connectivity/connectivity.go +++ /dev/null @@ -1,94 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 connectivity defines connectivity semantics. -// For details, see https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md. -package connectivity - -import ( - "google.golang.org/grpc/grpclog" -) - -var logger = grpclog.Component("core") - -// State indicates the state of connectivity. -// It can be the state of a ClientConn or SubConn. -type State int - -func (s State) String() string { - switch s { - case Idle: - return "IDLE" - case Connecting: - return "CONNECTING" - case Ready: - return "READY" - case TransientFailure: - return "TRANSIENT_FAILURE" - case Shutdown: - return "SHUTDOWN" - default: - logger.Errorf("unknown connectivity state: %d", s) - return "INVALID_STATE" - } -} - -const ( - // Idle indicates the ClientConn is idle. - Idle State = iota - // Connecting indicates the ClientConn is connecting. - Connecting - // Ready indicates the ClientConn is ready for work. - Ready - // TransientFailure indicates the ClientConn has seen a failure but expects to recover. - TransientFailure - // Shutdown indicates the ClientConn has started shutting down. - Shutdown -) - -// ServingMode indicates the current mode of operation of the server. -// -// Only xDS enabled gRPC servers currently report their serving mode. -type ServingMode int - -const ( - // ServingModeStarting indicates that the server is starting up. - ServingModeStarting ServingMode = iota - // ServingModeServing indicates that the server contains all required - // configuration and is serving RPCs. - ServingModeServing - // ServingModeNotServing indicates that the server is not accepting new - // connections. Existing connections will be closed gracefully, allowing - // in-progress RPCs to complete. A server enters this mode when it does not - // contain the required configuration to serve RPCs. - ServingModeNotServing -) - -func (s ServingMode) String() string { - switch s { - case ServingModeStarting: - return "STARTING" - case ServingModeServing: - return "SERVING" - case ServingModeNotServing: - return "NOT_SERVING" - default: - logger.Errorf("unknown serving mode: %d", s) - return "INVALID_MODE" - } -} diff --git a/vendor/google.golang.org/grpc/credentials/credentials.go b/vendor/google.golang.org/grpc/credentials/credentials.go deleted file mode 100644 index 96ff1877..00000000 --- a/vendor/google.golang.org/grpc/credentials/credentials.go +++ /dev/null @@ -1,291 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 credentials implements various credentials supported by gRPC library, -// which encapsulate all the state needed by a client to authenticate with a -// server and make various assertions, e.g., about the client's identity, role, -// or whether it is authorized to make a particular call. -package credentials // import "google.golang.org/grpc/credentials" - -import ( - "context" - "errors" - "fmt" - "net" - - "github.com/golang/protobuf/proto" - "google.golang.org/grpc/attributes" - icredentials "google.golang.org/grpc/internal/credentials" -) - -// PerRPCCredentials defines the common interface for the credentials which need to -// attach security information to every RPC (e.g., oauth2). -type PerRPCCredentials interface { - // GetRequestMetadata gets the current request metadata, refreshing - // tokens if required. This should be called by the transport layer on - // each request, and the data should be populated in headers or other - // context. If a status code is returned, it will be used as the status - // for the RPC. uri is the URI of the entry point for the request. - // When supported by the underlying implementation, ctx can be used for - // timeout and cancellation. Additionally, RequestInfo data will be - // available via ctx to this call. - // TODO(zhaoq): Define the set of the qualified keys instead of leaving - // it as an arbitrary string. - GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) - // RequireTransportSecurity indicates whether the credentials requires - // transport security. - RequireTransportSecurity() bool -} - -// SecurityLevel defines the protection level on an established connection. -// -// This API is experimental. -type SecurityLevel int - -const ( - // InvalidSecurityLevel indicates an invalid security level. - // The zero SecurityLevel value is invalid for backward compatibility. - InvalidSecurityLevel SecurityLevel = iota - // NoSecurity indicates a connection is insecure. - NoSecurity - // IntegrityOnly indicates a connection only provides integrity protection. - IntegrityOnly - // PrivacyAndIntegrity indicates a connection provides both privacy and integrity protection. - PrivacyAndIntegrity -) - -// String returns SecurityLevel in a string format. -func (s SecurityLevel) String() string { - switch s { - case NoSecurity: - return "NoSecurity" - case IntegrityOnly: - return "IntegrityOnly" - case PrivacyAndIntegrity: - return "PrivacyAndIntegrity" - } - return fmt.Sprintf("invalid SecurityLevel: %v", int(s)) -} - -// CommonAuthInfo contains authenticated information common to AuthInfo implementations. -// It should be embedded in a struct implementing AuthInfo to provide additional information -// about the credentials. -// -// This API is experimental. -type CommonAuthInfo struct { - SecurityLevel SecurityLevel -} - -// GetCommonAuthInfo returns the pointer to CommonAuthInfo struct. -func (c CommonAuthInfo) GetCommonAuthInfo() CommonAuthInfo { - return c -} - -// ProtocolInfo provides information regarding the gRPC wire protocol version, -// security protocol, security protocol version in use, server name, etc. -type ProtocolInfo struct { - // ProtocolVersion is the gRPC wire protocol version. - ProtocolVersion string - // SecurityProtocol is the security protocol in use. - SecurityProtocol string - // SecurityVersion is the security protocol version. It is a static version string from the - // credentials, not a value that reflects per-connection protocol negotiation. To retrieve - // details about the credentials used for a connection, use the Peer's AuthInfo field instead. - // - // Deprecated: please use Peer.AuthInfo. - SecurityVersion string - // ServerName is the user-configured server name. - ServerName string -} - -// AuthInfo defines the common interface for the auth information the users are interested in. -// A struct that implements AuthInfo should embed CommonAuthInfo by including additional -// information about the credentials in it. -type AuthInfo interface { - AuthType() string -} - -// ErrConnDispatched indicates that rawConn has been dispatched out of gRPC -// and the caller should not close rawConn. -var ErrConnDispatched = errors.New("credentials: rawConn is dispatched out of gRPC") - -// TransportCredentials defines the common interface for all the live gRPC wire -// protocols and supported transport security protocols (e.g., TLS, SSL). -type TransportCredentials interface { - // ClientHandshake does the authentication handshake specified by the - // corresponding authentication protocol on rawConn for clients. It returns - // the authenticated connection and the corresponding auth information - // about the connection. The auth information should embed CommonAuthInfo - // to return additional information about the credentials. Implementations - // must use the provided context to implement timely cancellation. gRPC - // will try to reconnect if the error returned is a temporary error - // (io.EOF, context.DeadlineExceeded or err.Temporary() == true). If the - // returned error is a wrapper error, implementations should make sure that - // the error implements Temporary() to have the correct retry behaviors. - // Additionally, ClientHandshakeInfo data will be available via the context - // passed to this call. - // - // The second argument to this method is the `:authority` header value used - // while creating new streams on this connection after authentication - // succeeds. Implementations must use this as the server name during the - // authentication handshake. - // - // If the returned net.Conn is closed, it MUST close the net.Conn provided. - ClientHandshake(context.Context, string, net.Conn) (net.Conn, AuthInfo, error) - // ServerHandshake does the authentication handshake for servers. It returns - // the authenticated connection and the corresponding auth information about - // the connection. The auth information should embed CommonAuthInfo to return additional information - // about the credentials. - // - // If the returned net.Conn is closed, it MUST close the net.Conn provided. - ServerHandshake(net.Conn) (net.Conn, AuthInfo, error) - // Info provides the ProtocolInfo of this TransportCredentials. - Info() ProtocolInfo - // Clone makes a copy of this TransportCredentials. - Clone() TransportCredentials - // OverrideServerName specifies the value used for the following: - // - verifying the hostname on the returned certificates - // - as SNI in the client's handshake to support virtual hosting - // - as the value for `:authority` header at stream creation time - // - // Deprecated: use grpc.WithAuthority instead. Will be supported - // throughout 1.x. - OverrideServerName(string) error -} - -// Bundle is a combination of TransportCredentials and PerRPCCredentials. -// -// It also contains a mode switching method, so it can be used as a combination -// of different credential policies. -// -// Bundle cannot be used together with individual TransportCredentials. -// PerRPCCredentials from Bundle will be appended to other PerRPCCredentials. -// -// This API is experimental. -type Bundle interface { - // TransportCredentials returns the transport credentials from the Bundle. - // - // Implementations must return non-nil transport credentials. If transport - // security is not needed by the Bundle, implementations may choose to - // return insecure.NewCredentials(). - TransportCredentials() TransportCredentials - - // PerRPCCredentials returns the per-RPC credentials from the Bundle. - // - // May be nil if per-RPC credentials are not needed. - PerRPCCredentials() PerRPCCredentials - - // NewWithMode should make a copy of Bundle, and switch mode. Modifying the - // existing Bundle may cause races. - // - // NewWithMode returns nil if the requested mode is not supported. - NewWithMode(mode string) (Bundle, error) -} - -// RequestInfo contains request data attached to the context passed to GetRequestMetadata calls. -// -// This API is experimental. -type RequestInfo struct { - // The method passed to Invoke or NewStream for this RPC. (For proto methods, this has the format "/some.Service/Method") - Method string - // AuthInfo contains the information from a security handshake (TransportCredentials.ClientHandshake, TransportCredentials.ServerHandshake) - AuthInfo AuthInfo -} - -// RequestInfoFromContext extracts the RequestInfo from the context if it exists. -// -// This API is experimental. -func RequestInfoFromContext(ctx context.Context) (ri RequestInfo, ok bool) { - ri, ok = icredentials.RequestInfoFromContext(ctx).(RequestInfo) - return ri, ok -} - -// ClientHandshakeInfo holds data to be passed to ClientHandshake. This makes -// it possible to pass arbitrary data to the handshaker from gRPC, resolver, -// balancer etc. Individual credential implementations control the actual -// format of the data that they are willing to receive. -// -// This API is experimental. -type ClientHandshakeInfo struct { - // Attributes contains the attributes for the address. It could be provided - // by the gRPC, resolver, balancer etc. - Attributes *attributes.Attributes -} - -// ClientHandshakeInfoFromContext returns the ClientHandshakeInfo struct stored -// in ctx. -// -// This API is experimental. -func ClientHandshakeInfoFromContext(ctx context.Context) ClientHandshakeInfo { - chi, _ := icredentials.ClientHandshakeInfoFromContext(ctx).(ClientHandshakeInfo) - return chi -} - -// CheckSecurityLevel checks if a connection's security level is greater than or equal to the specified one. -// It returns success if 1) the condition is satisified or 2) AuthInfo struct does not implement GetCommonAuthInfo() method -// or 3) CommonAuthInfo.SecurityLevel has an invalid zero value. For 2) and 3), it is for the purpose of backward-compatibility. -// -// This API is experimental. -func CheckSecurityLevel(ai AuthInfo, level SecurityLevel) error { - type internalInfo interface { - GetCommonAuthInfo() CommonAuthInfo - } - if ai == nil { - return errors.New("AuthInfo is nil") - } - if ci, ok := ai.(internalInfo); ok { - // CommonAuthInfo.SecurityLevel has an invalid value. - if ci.GetCommonAuthInfo().SecurityLevel == InvalidSecurityLevel { - return nil - } - if ci.GetCommonAuthInfo().SecurityLevel < level { - return fmt.Errorf("requires SecurityLevel %v; connection has %v", level, ci.GetCommonAuthInfo().SecurityLevel) - } - } - // The condition is satisfied or AuthInfo struct does not implement GetCommonAuthInfo() method. - return nil -} - -// ChannelzSecurityInfo defines the interface that security protocols should implement -// in order to provide security info to channelz. -// -// This API is experimental. -type ChannelzSecurityInfo interface { - GetSecurityValue() ChannelzSecurityValue -} - -// ChannelzSecurityValue defines the interface that GetSecurityValue() return value -// should satisfy. This interface should only be satisfied by *TLSChannelzSecurityValue -// and *OtherChannelzSecurityValue. -// -// This API is experimental. -type ChannelzSecurityValue interface { - isChannelzSecurityValue() -} - -// OtherChannelzSecurityValue defines the struct that non-TLS protocol should return -// from GetSecurityValue(), which contains protocol specific security info. Note -// the Value field will be sent to users of channelz requesting channel info, and -// thus sensitive info should better be avoided. -// -// This API is experimental. -type OtherChannelzSecurityValue struct { - ChannelzSecurityValue - Name string - Value proto.Message -} diff --git a/vendor/google.golang.org/grpc/credentials/insecure/insecure.go b/vendor/google.golang.org/grpc/credentials/insecure/insecure.go deleted file mode 100644 index 82bee144..00000000 --- a/vendor/google.golang.org/grpc/credentials/insecure/insecure.go +++ /dev/null @@ -1,98 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 insecure provides an implementation of the -// credentials.TransportCredentials interface which disables transport security. -package insecure - -import ( - "context" - "net" - - "google.golang.org/grpc/credentials" -) - -// NewCredentials returns a credentials which disables transport security. -// -// Note that using this credentials with per-RPC credentials which require -// transport security is incompatible and will cause grpc.Dial() to fail. -func NewCredentials() credentials.TransportCredentials { - return insecureTC{} -} - -// insecureTC implements the insecure transport credentials. The handshake -// methods simply return the passed in net.Conn and set the security level to -// NoSecurity. -type insecureTC struct{} - -func (insecureTC) ClientHandshake(ctx context.Context, _ string, conn net.Conn) (net.Conn, credentials.AuthInfo, error) { - return conn, info{credentials.CommonAuthInfo{SecurityLevel: credentials.NoSecurity}}, nil -} - -func (insecureTC) ServerHandshake(conn net.Conn) (net.Conn, credentials.AuthInfo, error) { - return conn, info{credentials.CommonAuthInfo{SecurityLevel: credentials.NoSecurity}}, nil -} - -func (insecureTC) Info() credentials.ProtocolInfo { - return credentials.ProtocolInfo{SecurityProtocol: "insecure"} -} - -func (insecureTC) Clone() credentials.TransportCredentials { - return insecureTC{} -} - -func (insecureTC) OverrideServerName(string) error { - return nil -} - -// info contains the auth information for an insecure connection. -// It implements the AuthInfo interface. -type info struct { - credentials.CommonAuthInfo -} - -// AuthType returns the type of info as a string. -func (info) AuthType() string { - return "insecure" -} - -// insecureBundle implements an insecure bundle. -// An insecure bundle provides a thin wrapper around insecureTC to support -// the credentials.Bundle interface. -type insecureBundle struct{} - -// NewBundle returns a bundle with disabled transport security and no per rpc credential. -func NewBundle() credentials.Bundle { - return insecureBundle{} -} - -// NewWithMode returns a new insecure Bundle. The mode is ignored. -func (insecureBundle) NewWithMode(string) (credentials.Bundle, error) { - return insecureBundle{}, nil -} - -// PerRPCCredentials returns an nil implementation as insecure -// bundle does not support a per rpc credential. -func (insecureBundle) PerRPCCredentials() credentials.PerRPCCredentials { - return nil -} - -// TransportCredentials returns the underlying insecure transport credential. -func (insecureBundle) TransportCredentials() credentials.TransportCredentials { - return NewCredentials() -} diff --git a/vendor/google.golang.org/grpc/credentials/tls.go b/vendor/google.golang.org/grpc/credentials/tls.go deleted file mode 100644 index 784822d0..00000000 --- a/vendor/google.golang.org/grpc/credentials/tls.go +++ /dev/null @@ -1,236 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 credentials - -import ( - "context" - "crypto/tls" - "crypto/x509" - "fmt" - "io/ioutil" - "net" - "net/url" - - credinternal "google.golang.org/grpc/internal/credentials" -) - -// TLSInfo contains the auth information for a TLS authenticated connection. -// It implements the AuthInfo interface. -type TLSInfo struct { - State tls.ConnectionState - CommonAuthInfo - // This API is experimental. - SPIFFEID *url.URL -} - -// AuthType returns the type of TLSInfo as a string. -func (t TLSInfo) AuthType() string { - return "tls" -} - -// GetSecurityValue returns security info requested by channelz. -func (t TLSInfo) GetSecurityValue() ChannelzSecurityValue { - v := &TLSChannelzSecurityValue{ - StandardName: cipherSuiteLookup[t.State.CipherSuite], - } - // Currently there's no way to get LocalCertificate info from tls package. - if len(t.State.PeerCertificates) > 0 { - v.RemoteCertificate = t.State.PeerCertificates[0].Raw - } - return v -} - -// tlsCreds is the credentials required for authenticating a connection using TLS. -type tlsCreds struct { - // TLS configuration - config *tls.Config -} - -func (c tlsCreds) Info() ProtocolInfo { - return ProtocolInfo{ - SecurityProtocol: "tls", - SecurityVersion: "1.2", - ServerName: c.config.ServerName, - } -} - -func (c *tlsCreds) ClientHandshake(ctx context.Context, authority string, rawConn net.Conn) (_ net.Conn, _ AuthInfo, err error) { - // use local cfg to avoid clobbering ServerName if using multiple endpoints - cfg := credinternal.CloneTLSConfig(c.config) - if cfg.ServerName == "" { - serverName, _, err := net.SplitHostPort(authority) - if err != nil { - // If the authority had no host port or if the authority cannot be parsed, use it as-is. - serverName = authority - } - cfg.ServerName = serverName - } - conn := tls.Client(rawConn, cfg) - errChannel := make(chan error, 1) - go func() { - errChannel <- conn.Handshake() - close(errChannel) - }() - select { - case err := <-errChannel: - if err != nil { - conn.Close() - return nil, nil, err - } - case <-ctx.Done(): - conn.Close() - return nil, nil, ctx.Err() - } - tlsInfo := TLSInfo{ - State: conn.ConnectionState(), - CommonAuthInfo: CommonAuthInfo{ - SecurityLevel: PrivacyAndIntegrity, - }, - } - id := credinternal.SPIFFEIDFromState(conn.ConnectionState()) - if id != nil { - tlsInfo.SPIFFEID = id - } - return credinternal.WrapSyscallConn(rawConn, conn), tlsInfo, nil -} - -func (c *tlsCreds) ServerHandshake(rawConn net.Conn) (net.Conn, AuthInfo, error) { - conn := tls.Server(rawConn, c.config) - if err := conn.Handshake(); err != nil { - conn.Close() - return nil, nil, err - } - tlsInfo := TLSInfo{ - State: conn.ConnectionState(), - CommonAuthInfo: CommonAuthInfo{ - SecurityLevel: PrivacyAndIntegrity, - }, - } - id := credinternal.SPIFFEIDFromState(conn.ConnectionState()) - if id != nil { - tlsInfo.SPIFFEID = id - } - return credinternal.WrapSyscallConn(rawConn, conn), tlsInfo, nil -} - -func (c *tlsCreds) Clone() TransportCredentials { - return NewTLS(c.config) -} - -func (c *tlsCreds) OverrideServerName(serverNameOverride string) error { - c.config.ServerName = serverNameOverride - return nil -} - -// NewTLS uses c to construct a TransportCredentials based on TLS. -func NewTLS(c *tls.Config) TransportCredentials { - tc := &tlsCreds{credinternal.CloneTLSConfig(c)} - tc.config.NextProtos = credinternal.AppendH2ToNextProtos(tc.config.NextProtos) - return tc -} - -// NewClientTLSFromCert constructs TLS credentials from the provided root -// certificate authority certificate(s) to validate server connections. If -// certificates to establish the identity of the client need to be included in -// the credentials (eg: for mTLS), use NewTLS instead, where a complete -// tls.Config can be specified. -// serverNameOverride is for testing only. If set to a non empty string, -// it will override the virtual host name of authority (e.g. :authority header -// field) in requests. -func NewClientTLSFromCert(cp *x509.CertPool, serverNameOverride string) TransportCredentials { - return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp}) -} - -// NewClientTLSFromFile constructs TLS credentials from the provided root -// certificate authority certificate file(s) to validate server connections. If -// certificates to establish the identity of the client need to be included in -// the credentials (eg: for mTLS), use NewTLS instead, where a complete -// tls.Config can be specified. -// serverNameOverride is for testing only. If set to a non empty string, -// it will override the virtual host name of authority (e.g. :authority header -// field) in requests. -func NewClientTLSFromFile(certFile, serverNameOverride string) (TransportCredentials, error) { - b, err := ioutil.ReadFile(certFile) - if err != nil { - return nil, err - } - cp := x509.NewCertPool() - if !cp.AppendCertsFromPEM(b) { - return nil, fmt.Errorf("credentials: failed to append certificates") - } - return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp}), nil -} - -// NewServerTLSFromCert constructs TLS credentials from the input certificate for server. -func NewServerTLSFromCert(cert *tls.Certificate) TransportCredentials { - return NewTLS(&tls.Config{Certificates: []tls.Certificate{*cert}}) -} - -// NewServerTLSFromFile constructs TLS credentials from the input certificate file and key -// file for server. -func NewServerTLSFromFile(certFile, keyFile string) (TransportCredentials, error) { - cert, err := tls.LoadX509KeyPair(certFile, keyFile) - if err != nil { - return nil, err - } - return NewTLS(&tls.Config{Certificates: []tls.Certificate{cert}}), nil -} - -// TLSChannelzSecurityValue defines the struct that TLS protocol should return -// from GetSecurityValue(), containing security info like cipher and certificate used. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type TLSChannelzSecurityValue struct { - ChannelzSecurityValue - StandardName string - LocalCertificate []byte - RemoteCertificate []byte -} - -var cipherSuiteLookup = map[uint16]string{ - tls.TLS_RSA_WITH_RC4_128_SHA: "TLS_RSA_WITH_RC4_128_SHA", - tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA: "TLS_RSA_WITH_3DES_EDE_CBC_SHA", - tls.TLS_RSA_WITH_AES_128_CBC_SHA: "TLS_RSA_WITH_AES_128_CBC_SHA", - tls.TLS_RSA_WITH_AES_256_CBC_SHA: "TLS_RSA_WITH_AES_256_CBC_SHA", - tls.TLS_RSA_WITH_AES_128_GCM_SHA256: "TLS_RSA_WITH_AES_128_GCM_SHA256", - tls.TLS_RSA_WITH_AES_256_GCM_SHA384: "TLS_RSA_WITH_AES_256_GCM_SHA384", - tls.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", - tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", - tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", - tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA: "TLS_ECDHE_RSA_WITH_RC4_128_SHA", - tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", - tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", - tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", - tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", - tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", - tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", - tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", - tls.TLS_FALLBACK_SCSV: "TLS_FALLBACK_SCSV", - tls.TLS_RSA_WITH_AES_128_CBC_SHA256: "TLS_RSA_WITH_AES_128_CBC_SHA256", - tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", - tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", - tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305", - tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305", - tls.TLS_AES_128_GCM_SHA256: "TLS_AES_128_GCM_SHA256", - tls.TLS_AES_256_GCM_SHA384: "TLS_AES_256_GCM_SHA384", - tls.TLS_CHACHA20_POLY1305_SHA256: "TLS_CHACHA20_POLY1305_SHA256", -} diff --git a/vendor/google.golang.org/grpc/dialoptions.go b/vendor/google.golang.org/grpc/dialoptions.go deleted file mode 100644 index 60403bc1..00000000 --- a/vendor/google.golang.org/grpc/dialoptions.go +++ /dev/null @@ -1,609 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 grpc - -import ( - "context" - "net" - "time" - - "google.golang.org/grpc/backoff" - "google.golang.org/grpc/channelz" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/credentials/insecure" - "google.golang.org/grpc/internal" - internalbackoff "google.golang.org/grpc/internal/backoff" - "google.golang.org/grpc/internal/transport" - "google.golang.org/grpc/keepalive" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/stats" -) - -func init() { - internal.AddExtraDialOptions = func(opt ...DialOption) { - extraDialOptions = append(extraDialOptions, opt...) - } - internal.ClearExtraDialOptions = func() { - extraDialOptions = nil - } -} - -// dialOptions configure a Dial call. dialOptions are set by the DialOption -// values passed to Dial. -type dialOptions struct { - unaryInt UnaryClientInterceptor - streamInt StreamClientInterceptor - - chainUnaryInts []UnaryClientInterceptor - chainStreamInts []StreamClientInterceptor - - cp Compressor - dc Decompressor - bs internalbackoff.Strategy - block bool - returnLastError bool - timeout time.Duration - scChan <-chan ServiceConfig - authority string - copts transport.ConnectOptions - callOptions []CallOption - channelzParentID *channelz.Identifier - disableServiceConfig bool - disableRetry bool - disableHealthCheck bool - healthCheckFunc internal.HealthChecker - minConnectTimeout func() time.Duration - defaultServiceConfig *ServiceConfig // defaultServiceConfig is parsed from defaultServiceConfigRawJSON. - defaultServiceConfigRawJSON *string - resolvers []resolver.Builder -} - -// DialOption configures how we set up the connection. -type DialOption interface { - apply(*dialOptions) -} - -var extraDialOptions []DialOption - -// EmptyDialOption does not alter the dial configuration. It can be embedded in -// another structure to build custom dial options. -// -// # Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type EmptyDialOption struct{} - -func (EmptyDialOption) apply(*dialOptions) {} - -// funcDialOption wraps a function that modifies dialOptions into an -// implementation of the DialOption interface. -type funcDialOption struct { - f func(*dialOptions) -} - -func (fdo *funcDialOption) apply(do *dialOptions) { - fdo.f(do) -} - -func newFuncDialOption(f func(*dialOptions)) *funcDialOption { - return &funcDialOption{ - f: f, - } -} - -// WithWriteBufferSize determines how much data can be batched before doing a -// write on the wire. The corresponding memory allocation for this buffer will -// be twice the size to keep syscalls low. The default value for this buffer is -// 32KB. -// -// Zero will disable the write buffer such that each write will be on underlying -// connection. Note: A Send call may not directly translate to a write. -func WithWriteBufferSize(s int) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.WriteBufferSize = s - }) -} - -// WithReadBufferSize lets you set the size of read buffer, this determines how -// much data can be read at most for each read syscall. -// -// The default value for this buffer is 32KB. Zero will disable read buffer for -// a connection so data framer can access the underlying conn directly. -func WithReadBufferSize(s int) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.ReadBufferSize = s - }) -} - -// WithInitialWindowSize returns a DialOption which sets the value for initial -// window size on a stream. The lower bound for window size is 64K and any value -// smaller than that will be ignored. -func WithInitialWindowSize(s int32) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.InitialWindowSize = s - }) -} - -// WithInitialConnWindowSize returns a DialOption which sets the value for -// initial window size on a connection. The lower bound for window size is 64K -// and any value smaller than that will be ignored. -func WithInitialConnWindowSize(s int32) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.InitialConnWindowSize = s - }) -} - -// WithMaxMsgSize returns a DialOption which sets the maximum message size the -// client can receive. -// -// Deprecated: use WithDefaultCallOptions(MaxCallRecvMsgSize(s)) instead. Will -// be supported throughout 1.x. -func WithMaxMsgSize(s int) DialOption { - return WithDefaultCallOptions(MaxCallRecvMsgSize(s)) -} - -// WithDefaultCallOptions returns a DialOption which sets the default -// CallOptions for calls over the connection. -func WithDefaultCallOptions(cos ...CallOption) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.callOptions = append(o.callOptions, cos...) - }) -} - -// WithCodec returns a DialOption which sets a codec for message marshaling and -// unmarshaling. -// -// Deprecated: use WithDefaultCallOptions(ForceCodec(_)) instead. Will be -// supported throughout 1.x. -func WithCodec(c Codec) DialOption { - return WithDefaultCallOptions(CallCustomCodec(c)) -} - -// WithCompressor returns a DialOption which sets a Compressor to use for -// message compression. It has lower priority than the compressor set by the -// UseCompressor CallOption. -// -// Deprecated: use UseCompressor instead. Will be supported throughout 1.x. -func WithCompressor(cp Compressor) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.cp = cp - }) -} - -// WithDecompressor returns a DialOption which sets a Decompressor to use for -// incoming message decompression. If incoming response messages are encoded -// using the decompressor's Type(), it will be used. Otherwise, the message -// encoding will be used to look up the compressor registered via -// encoding.RegisterCompressor, which will then be used to decompress the -// message. If no compressor is registered for the encoding, an Unimplemented -// status error will be returned. -// -// Deprecated: use encoding.RegisterCompressor instead. Will be supported -// throughout 1.x. -func WithDecompressor(dc Decompressor) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.dc = dc - }) -} - -// WithServiceConfig returns a DialOption which has a channel to read the -// service configuration. -// -// Deprecated: service config should be received through name resolver or via -// WithDefaultServiceConfig, as specified at -// https://github.com/grpc/grpc/blob/master/doc/service_config.md. Will be -// removed in a future 1.x release. -func WithServiceConfig(c <-chan ServiceConfig) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.scChan = c - }) -} - -// WithConnectParams configures the ClientConn to use the provided ConnectParams -// for creating and maintaining connections to servers. -// -// The backoff configuration specified as part of the ConnectParams overrides -// all defaults specified in -// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. Consider -// using the backoff.DefaultConfig as a base, in cases where you want to -// override only a subset of the backoff configuration. -func WithConnectParams(p ConnectParams) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.bs = internalbackoff.Exponential{Config: p.Backoff} - o.minConnectTimeout = func() time.Duration { - return p.MinConnectTimeout - } - }) -} - -// WithBackoffMaxDelay configures the dialer to use the provided maximum delay -// when backing off after failed connection attempts. -// -// Deprecated: use WithConnectParams instead. Will be supported throughout 1.x. -func WithBackoffMaxDelay(md time.Duration) DialOption { - return WithBackoffConfig(BackoffConfig{MaxDelay: md}) -} - -// WithBackoffConfig configures the dialer to use the provided backoff -// parameters after connection failures. -// -// Deprecated: use WithConnectParams instead. Will be supported throughout 1.x. -func WithBackoffConfig(b BackoffConfig) DialOption { - bc := backoff.DefaultConfig - bc.MaxDelay = b.MaxDelay - return withBackoff(internalbackoff.Exponential{Config: bc}) -} - -// withBackoff sets the backoff strategy used for connectRetryNum after a failed -// connection attempt. -// -// This can be exported if arbitrary backoff strategies are allowed by gRPC. -func withBackoff(bs internalbackoff.Strategy) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.bs = bs - }) -} - -// WithBlock returns a DialOption which makes callers of Dial block until the -// underlying connection is up. Without this, Dial returns immediately and -// connecting the server happens in background. -func WithBlock() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.block = true - }) -} - -// WithReturnConnectionError returns a DialOption which makes the client connection -// return a string containing both the last connection error that occurred and -// the context.DeadlineExceeded error. -// Implies WithBlock() -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func WithReturnConnectionError() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.block = true - o.returnLastError = true - }) -} - -// WithInsecure returns a DialOption which disables transport security for this -// ClientConn. Under the hood, it uses insecure.NewCredentials(). -// -// Note that using this DialOption with per-RPC credentials (through -// WithCredentialsBundle or WithPerRPCCredentials) which require transport -// security is incompatible and will cause grpc.Dial() to fail. -// -// Deprecated: use WithTransportCredentials and insecure.NewCredentials() -// instead. Will be supported throughout 1.x. -func WithInsecure() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.TransportCredentials = insecure.NewCredentials() - }) -} - -// WithNoProxy returns a DialOption which disables the use of proxies for this -// ClientConn. This is ignored if WithDialer or WithContextDialer are used. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func WithNoProxy() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.UseProxy = false - }) -} - -// WithTransportCredentials returns a DialOption which configures a connection -// level security credentials (e.g., TLS/SSL). This should not be used together -// with WithCredentialsBundle. -func WithTransportCredentials(creds credentials.TransportCredentials) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.TransportCredentials = creds - }) -} - -// WithPerRPCCredentials returns a DialOption which sets credentials and places -// auth state on each outbound RPC. -func WithPerRPCCredentials(creds credentials.PerRPCCredentials) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.PerRPCCredentials = append(o.copts.PerRPCCredentials, creds) - }) -} - -// WithCredentialsBundle returns a DialOption to set a credentials bundle for -// the ClientConn.WithCreds. This should not be used together with -// WithTransportCredentials. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func WithCredentialsBundle(b credentials.Bundle) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.CredsBundle = b - }) -} - -// WithTimeout returns a DialOption that configures a timeout for dialing a -// ClientConn initially. This is valid if and only if WithBlock() is present. -// -// Deprecated: use DialContext instead of Dial and context.WithTimeout -// instead. Will be supported throughout 1.x. -func WithTimeout(d time.Duration) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.timeout = d - }) -} - -// WithContextDialer returns a DialOption that sets a dialer to create -// connections. If FailOnNonTempDialError() is set to true, and an error is -// returned by f, gRPC checks the error's Temporary() method to decide if it -// should try to reconnect to the network address. -func WithContextDialer(f func(context.Context, string) (net.Conn, error)) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.Dialer = f - }) -} - -func init() { - internal.WithHealthCheckFunc = withHealthCheckFunc -} - -// WithDialer returns a DialOption that specifies a function to use for dialing -// network addresses. If FailOnNonTempDialError() is set to true, and an error -// is returned by f, gRPC checks the error's Temporary() method to decide if it -// should try to reconnect to the network address. -// -// Deprecated: use WithContextDialer instead. Will be supported throughout -// 1.x. -func WithDialer(f func(string, time.Duration) (net.Conn, error)) DialOption { - return WithContextDialer( - func(ctx context.Context, addr string) (net.Conn, error) { - if deadline, ok := ctx.Deadline(); ok { - return f(addr, time.Until(deadline)) - } - return f(addr, 0) - }) -} - -// WithStatsHandler returns a DialOption that specifies the stats handler for -// all the RPCs and underlying network connections in this ClientConn. -func WithStatsHandler(h stats.Handler) DialOption { - return newFuncDialOption(func(o *dialOptions) { - if h == nil { - logger.Error("ignoring nil parameter in grpc.WithStatsHandler ClientOption") - // Do not allow a nil stats handler, which would otherwise cause - // panics. - return - } - o.copts.StatsHandlers = append(o.copts.StatsHandlers, h) - }) -} - -// FailOnNonTempDialError returns a DialOption that specifies if gRPC fails on -// non-temporary dial errors. If f is true, and dialer returns a non-temporary -// error, gRPC will fail the connection to the network address and won't try to -// reconnect. The default value of FailOnNonTempDialError is false. -// -// FailOnNonTempDialError only affects the initial dial, and does not do -// anything useful unless you are also using WithBlock(). -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func FailOnNonTempDialError(f bool) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.FailOnNonTempDialError = f - }) -} - -// WithUserAgent returns a DialOption that specifies a user agent string for all -// the RPCs. -func WithUserAgent(s string) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.UserAgent = s - }) -} - -// WithKeepaliveParams returns a DialOption that specifies keepalive parameters -// for the client transport. -func WithKeepaliveParams(kp keepalive.ClientParameters) DialOption { - if kp.Time < internal.KeepaliveMinPingTime { - logger.Warningf("Adjusting keepalive ping interval to minimum period of %v", internal.KeepaliveMinPingTime) - kp.Time = internal.KeepaliveMinPingTime - } - return newFuncDialOption(func(o *dialOptions) { - o.copts.KeepaliveParams = kp - }) -} - -// WithUnaryInterceptor returns a DialOption that specifies the interceptor for -// unary RPCs. -func WithUnaryInterceptor(f UnaryClientInterceptor) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.unaryInt = f - }) -} - -// WithChainUnaryInterceptor returns a DialOption that specifies the chained -// interceptor for unary RPCs. The first interceptor will be the outer most, -// while the last interceptor will be the inner most wrapper around the real call. -// All interceptors added by this method will be chained, and the interceptor -// defined by WithUnaryInterceptor will always be prepended to the chain. -func WithChainUnaryInterceptor(interceptors ...UnaryClientInterceptor) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.chainUnaryInts = append(o.chainUnaryInts, interceptors...) - }) -} - -// WithStreamInterceptor returns a DialOption that specifies the interceptor for -// streaming RPCs. -func WithStreamInterceptor(f StreamClientInterceptor) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.streamInt = f - }) -} - -// WithChainStreamInterceptor returns a DialOption that specifies the chained -// interceptor for streaming RPCs. The first interceptor will be the outer most, -// while the last interceptor will be the inner most wrapper around the real call. -// All interceptors added by this method will be chained, and the interceptor -// defined by WithStreamInterceptor will always be prepended to the chain. -func WithChainStreamInterceptor(interceptors ...StreamClientInterceptor) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.chainStreamInts = append(o.chainStreamInts, interceptors...) - }) -} - -// WithAuthority returns a DialOption that specifies the value to be used as the -// :authority pseudo-header and as the server name in authentication handshake. -func WithAuthority(a string) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.authority = a - }) -} - -// WithChannelzParentID returns a DialOption that specifies the channelz ID of -// current ClientConn's parent. This function is used in nested channel creation -// (e.g. grpclb dial). -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func WithChannelzParentID(id *channelz.Identifier) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.channelzParentID = id - }) -} - -// WithDisableServiceConfig returns a DialOption that causes gRPC to ignore any -// service config provided by the resolver and provides a hint to the resolver -// to not fetch service configs. -// -// Note that this dial option only disables service config from resolver. If -// default service config is provided, gRPC will use the default service config. -func WithDisableServiceConfig() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.disableServiceConfig = true - }) -} - -// WithDefaultServiceConfig returns a DialOption that configures the default -// service config, which will be used in cases where: -// -// 1. WithDisableServiceConfig is also used, or -// -// 2. The name resolver does not provide a service config or provides an -// invalid service config. -// -// The parameter s is the JSON representation of the default service config. -// For more information about service configs, see: -// https://github.com/grpc/grpc/blob/master/doc/service_config.md -// For a simple example of usage, see: -// examples/features/load_balancing/client/main.go -func WithDefaultServiceConfig(s string) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.defaultServiceConfigRawJSON = &s - }) -} - -// WithDisableRetry returns a DialOption that disables retries, even if the -// service config enables them. This does not impact transparent retries, which -// will happen automatically if no data is written to the wire or if the RPC is -// unprocessed by the remote server. -func WithDisableRetry() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.disableRetry = true - }) -} - -// WithMaxHeaderListSize returns a DialOption that specifies the maximum -// (uncompressed) size of header list that the client is prepared to accept. -func WithMaxHeaderListSize(s uint32) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.copts.MaxHeaderListSize = &s - }) -} - -// WithDisableHealthCheck disables the LB channel health checking for all -// SubConns of this ClientConn. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func WithDisableHealthCheck() DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.disableHealthCheck = true - }) -} - -// withHealthCheckFunc replaces the default health check function with the -// provided one. It makes tests easier to change the health check function. -// -// For testing purpose only. -func withHealthCheckFunc(f internal.HealthChecker) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.healthCheckFunc = f - }) -} - -func defaultDialOptions() dialOptions { - return dialOptions{ - healthCheckFunc: internal.HealthCheckFunc, - copts: transport.ConnectOptions{ - WriteBufferSize: defaultWriteBufSize, - ReadBufferSize: defaultReadBufSize, - UseProxy: true, - }, - } -} - -// withGetMinConnectDeadline specifies the function that clientconn uses to -// get minConnectDeadline. This can be used to make connection attempts happen -// faster/slower. -// -// For testing purpose only. -func withMinConnectDeadline(f func() time.Duration) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.minConnectTimeout = f - }) -} - -// WithResolvers allows a list of resolver implementations to be registered -// locally with the ClientConn without needing to be globally registered via -// resolver.Register. They will be matched against the scheme used for the -// current Dial only, and will take precedence over the global registry. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func WithResolvers(rs ...resolver.Builder) DialOption { - return newFuncDialOption(func(o *dialOptions) { - o.resolvers = append(o.resolvers, rs...) - }) -} diff --git a/vendor/google.golang.org/grpc/doc.go b/vendor/google.golang.org/grpc/doc.go deleted file mode 100644 index 0022859a..00000000 --- a/vendor/google.golang.org/grpc/doc.go +++ /dev/null @@ -1,26 +0,0 @@ -/* - * - * Copyright 2015 gRPC 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. - * - */ - -//go:generate ./regenerate.sh - -/* -Package grpc implements an RPC system called gRPC. - -See grpc.io for more information about gRPC. -*/ -package grpc // import "google.golang.org/grpc" diff --git a/vendor/google.golang.org/grpc/encoding/encoding.go b/vendor/google.golang.org/grpc/encoding/encoding.go deleted file mode 100644 index 18e530fc..00000000 --- a/vendor/google.golang.org/grpc/encoding/encoding.go +++ /dev/null @@ -1,130 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 encoding defines the interface for the compressor and codec, and -// functions to register and retrieve compressors and codecs. -// -// Experimental -// -// Notice: This package is EXPERIMENTAL and may be changed or removed in a -// later release. -package encoding - -import ( - "io" - "strings" -) - -// Identity specifies the optional encoding for uncompressed streams. -// It is intended for grpc internal use only. -const Identity = "identity" - -// Compressor is used for compressing and decompressing when sending or -// receiving messages. -type Compressor interface { - // Compress writes the data written to wc to w after compressing it. If an - // error occurs while initializing the compressor, that error is returned - // instead. - Compress(w io.Writer) (io.WriteCloser, error) - // Decompress reads data from r, decompresses it, and provides the - // uncompressed data via the returned io.Reader. If an error occurs while - // initializing the decompressor, that error is returned instead. - Decompress(r io.Reader) (io.Reader, error) - // Name is the name of the compression codec and is used to set the content - // coding header. The result must be static; the result cannot change - // between calls. - Name() string - // If a Compressor implements - // DecompressedSize(compressedBytes []byte) int, gRPC will call it - // to determine the size of the buffer allocated for the result of decompression. - // Return -1 to indicate unknown size. - // - // Experimental - // - // Notice: This API is EXPERIMENTAL and may be changed or removed in a - // later release. -} - -var registeredCompressor = make(map[string]Compressor) - -// RegisterCompressor registers the compressor with gRPC by its name. It can -// be activated when sending an RPC via grpc.UseCompressor(). It will be -// automatically accessed when receiving a message based on the content coding -// header. Servers also use it to send a response with the same encoding as -// the request. -// -// NOTE: this function must only be called during initialization time (i.e. in -// an init() function), and is not thread-safe. If multiple Compressors are -// registered with the same name, the one registered last will take effect. -func RegisterCompressor(c Compressor) { - registeredCompressor[c.Name()] = c -} - -// GetCompressor returns Compressor for the given compressor name. -func GetCompressor(name string) Compressor { - return registeredCompressor[name] -} - -// Codec defines the interface gRPC uses to encode and decode messages. Note -// that implementations of this interface must be thread safe; a Codec's -// methods can be called from concurrent goroutines. -type Codec interface { - // Marshal returns the wire format of v. - Marshal(v interface{}) ([]byte, error) - // Unmarshal parses the wire format into v. - Unmarshal(data []byte, v interface{}) error - // Name returns the name of the Codec implementation. The returned string - // will be used as part of content type in transmission. The result must be - // static; the result cannot change between calls. - Name() string -} - -var registeredCodecs = make(map[string]Codec) - -// RegisterCodec registers the provided Codec for use with all gRPC clients and -// servers. -// -// The Codec will be stored and looked up by result of its Name() method, which -// should match the content-subtype of the encoding handled by the Codec. This -// is case-insensitive, and is stored and looked up as lowercase. If the -// result of calling Name() is an empty string, RegisterCodec will panic. See -// Content-Type on -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests for -// more details. -// -// NOTE: this function must only be called during initialization time (i.e. in -// an init() function), and is not thread-safe. If multiple Codecs are -// registered with the same name, the one registered last will take effect. -func RegisterCodec(codec Codec) { - if codec == nil { - panic("cannot register a nil Codec") - } - if codec.Name() == "" { - panic("cannot register Codec with empty string result for Name()") - } - contentSubtype := strings.ToLower(codec.Name()) - registeredCodecs[contentSubtype] = codec -} - -// GetCodec gets a registered Codec by content-subtype, or nil if no Codec is -// registered for the content-subtype. -// -// The content-subtype is expected to be lowercase. -func GetCodec(contentSubtype string) Codec { - return registeredCodecs[contentSubtype] -} diff --git a/vendor/google.golang.org/grpc/encoding/proto/proto.go b/vendor/google.golang.org/grpc/encoding/proto/proto.go deleted file mode 100644 index 3009b35a..00000000 --- a/vendor/google.golang.org/grpc/encoding/proto/proto.go +++ /dev/null @@ -1,58 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 proto defines the protobuf codec. Importing this package will -// register the codec. -package proto - -import ( - "fmt" - - "github.com/golang/protobuf/proto" - "google.golang.org/grpc/encoding" -) - -// Name is the name registered for the proto compressor. -const Name = "proto" - -func init() { - encoding.RegisterCodec(codec{}) -} - -// codec is a Codec implementation with protobuf. It is the default codec for gRPC. -type codec struct{} - -func (codec) Marshal(v interface{}) ([]byte, error) { - vv, ok := v.(proto.Message) - if !ok { - return nil, fmt.Errorf("failed to marshal, message is %T, want proto.Message", v) - } - return proto.Marshal(vv) -} - -func (codec) Unmarshal(data []byte, v interface{}) error { - vv, ok := v.(proto.Message) - if !ok { - return fmt.Errorf("failed to unmarshal, message is %T, want proto.Message", v) - } - return proto.Unmarshal(data, vv) -} - -func (codec) Name() string { - return Name -} diff --git a/vendor/google.golang.org/grpc/grpclog/component.go b/vendor/google.golang.org/grpc/grpclog/component.go deleted file mode 100644 index 8358dd6e..00000000 --- a/vendor/google.golang.org/grpc/grpclog/component.go +++ /dev/null @@ -1,117 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 grpclog - -import ( - "fmt" - - "google.golang.org/grpc/internal/grpclog" -) - -// componentData records the settings for a component. -type componentData struct { - name string -} - -var cache = map[string]*componentData{} - -func (c *componentData) InfoDepth(depth int, args ...interface{}) { - args = append([]interface{}{"[" + string(c.name) + "]"}, args...) - grpclog.InfoDepth(depth+1, args...) -} - -func (c *componentData) WarningDepth(depth int, args ...interface{}) { - args = append([]interface{}{"[" + string(c.name) + "]"}, args...) - grpclog.WarningDepth(depth+1, args...) -} - -func (c *componentData) ErrorDepth(depth int, args ...interface{}) { - args = append([]interface{}{"[" + string(c.name) + "]"}, args...) - grpclog.ErrorDepth(depth+1, args...) -} - -func (c *componentData) FatalDepth(depth int, args ...interface{}) { - args = append([]interface{}{"[" + string(c.name) + "]"}, args...) - grpclog.FatalDepth(depth+1, args...) -} - -func (c *componentData) Info(args ...interface{}) { - c.InfoDepth(1, args...) -} - -func (c *componentData) Warning(args ...interface{}) { - c.WarningDepth(1, args...) -} - -func (c *componentData) Error(args ...interface{}) { - c.ErrorDepth(1, args...) -} - -func (c *componentData) Fatal(args ...interface{}) { - c.FatalDepth(1, args...) -} - -func (c *componentData) Infof(format string, args ...interface{}) { - c.InfoDepth(1, fmt.Sprintf(format, args...)) -} - -func (c *componentData) Warningf(format string, args ...interface{}) { - c.WarningDepth(1, fmt.Sprintf(format, args...)) -} - -func (c *componentData) Errorf(format string, args ...interface{}) { - c.ErrorDepth(1, fmt.Sprintf(format, args...)) -} - -func (c *componentData) Fatalf(format string, args ...interface{}) { - c.FatalDepth(1, fmt.Sprintf(format, args...)) -} - -func (c *componentData) Infoln(args ...interface{}) { - c.InfoDepth(1, args...) -} - -func (c *componentData) Warningln(args ...interface{}) { - c.WarningDepth(1, args...) -} - -func (c *componentData) Errorln(args ...interface{}) { - c.ErrorDepth(1, args...) -} - -func (c *componentData) Fatalln(args ...interface{}) { - c.FatalDepth(1, args...) -} - -func (c *componentData) V(l int) bool { - return V(l) -} - -// Component creates a new component and returns it for logging. If a component -// with the name already exists, nothing will be created and it will be -// returned. SetLoggerV2 will panic if it is called with a logger created by -// Component. -func Component(componentName string) DepthLoggerV2 { - if cData, ok := cache[componentName]; ok { - return cData - } - c := &componentData{componentName} - cache[componentName] = c - return c -} diff --git a/vendor/google.golang.org/grpc/grpclog/grpclog.go b/vendor/google.golang.org/grpc/grpclog/grpclog.go deleted file mode 100644 index c8bb2be3..00000000 --- a/vendor/google.golang.org/grpc/grpclog/grpclog.go +++ /dev/null @@ -1,132 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpclog defines logging for grpc. -// -// All logs in transport and grpclb packages only go to verbose level 2. -// All logs in other packages in grpc are logged in spite of the verbosity level. -// -// In the default logger, -// severity level can be set by environment variable GRPC_GO_LOG_SEVERITY_LEVEL, -// verbosity level can be set by GRPC_GO_LOG_VERBOSITY_LEVEL. -package grpclog // import "google.golang.org/grpc/grpclog" - -import ( - "os" - - "google.golang.org/grpc/internal/grpclog" -) - -func init() { - SetLoggerV2(newLoggerV2()) -} - -// V reports whether verbosity level l is at least the requested verbose level. -func V(l int) bool { - return grpclog.Logger.V(l) -} - -// Info logs to the INFO log. -func Info(args ...interface{}) { - grpclog.Logger.Info(args...) -} - -// Infof logs to the INFO log. Arguments are handled in the manner of fmt.Printf. -func Infof(format string, args ...interface{}) { - grpclog.Logger.Infof(format, args...) -} - -// Infoln logs to the INFO log. Arguments are handled in the manner of fmt.Println. -func Infoln(args ...interface{}) { - grpclog.Logger.Infoln(args...) -} - -// Warning logs to the WARNING log. -func Warning(args ...interface{}) { - grpclog.Logger.Warning(args...) -} - -// Warningf logs to the WARNING log. Arguments are handled in the manner of fmt.Printf. -func Warningf(format string, args ...interface{}) { - grpclog.Logger.Warningf(format, args...) -} - -// Warningln logs to the WARNING log. Arguments are handled in the manner of fmt.Println. -func Warningln(args ...interface{}) { - grpclog.Logger.Warningln(args...) -} - -// Error logs to the ERROR log. -func Error(args ...interface{}) { - grpclog.Logger.Error(args...) -} - -// Errorf logs to the ERROR log. Arguments are handled in the manner of fmt.Printf. -func Errorf(format string, args ...interface{}) { - grpclog.Logger.Errorf(format, args...) -} - -// Errorln logs to the ERROR log. Arguments are handled in the manner of fmt.Println. -func Errorln(args ...interface{}) { - grpclog.Logger.Errorln(args...) -} - -// Fatal logs to the FATAL log. Arguments are handled in the manner of fmt.Print. -// It calls os.Exit() with exit code 1. -func Fatal(args ...interface{}) { - grpclog.Logger.Fatal(args...) - // Make sure fatal logs will exit. - os.Exit(1) -} - -// Fatalf logs to the FATAL log. Arguments are handled in the manner of fmt.Printf. -// It calls os.Exit() with exit code 1. -func Fatalf(format string, args ...interface{}) { - grpclog.Logger.Fatalf(format, args...) - // Make sure fatal logs will exit. - os.Exit(1) -} - -// Fatalln logs to the FATAL log. Arguments are handled in the manner of fmt.Println. -// It calle os.Exit()) with exit code 1. -func Fatalln(args ...interface{}) { - grpclog.Logger.Fatalln(args...) - // Make sure fatal logs will exit. - os.Exit(1) -} - -// Print prints to the logger. Arguments are handled in the manner of fmt.Print. -// -// Deprecated: use Info. -func Print(args ...interface{}) { - grpclog.Logger.Info(args...) -} - -// Printf prints to the logger. Arguments are handled in the manner of fmt.Printf. -// -// Deprecated: use Infof. -func Printf(format string, args ...interface{}) { - grpclog.Logger.Infof(format, args...) -} - -// Println prints to the logger. Arguments are handled in the manner of fmt.Println. -// -// Deprecated: use Infoln. -func Println(args ...interface{}) { - grpclog.Logger.Infoln(args...) -} diff --git a/vendor/google.golang.org/grpc/grpclog/logger.go b/vendor/google.golang.org/grpc/grpclog/logger.go deleted file mode 100644 index ef06a482..00000000 --- a/vendor/google.golang.org/grpc/grpclog/logger.go +++ /dev/null @@ -1,87 +0,0 @@ -/* - * - * Copyright 2015 gRPC 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 grpclog - -import "google.golang.org/grpc/internal/grpclog" - -// Logger mimics golang's standard Logger as an interface. -// -// Deprecated: use LoggerV2. -type Logger interface { - Fatal(args ...interface{}) - Fatalf(format string, args ...interface{}) - Fatalln(args ...interface{}) - Print(args ...interface{}) - Printf(format string, args ...interface{}) - Println(args ...interface{}) -} - -// SetLogger sets the logger that is used in grpc. Call only from -// init() functions. -// -// Deprecated: use SetLoggerV2. -func SetLogger(l Logger) { - grpclog.Logger = &loggerWrapper{Logger: l} -} - -// loggerWrapper wraps Logger into a LoggerV2. -type loggerWrapper struct { - Logger -} - -func (g *loggerWrapper) Info(args ...interface{}) { - g.Logger.Print(args...) -} - -func (g *loggerWrapper) Infoln(args ...interface{}) { - g.Logger.Println(args...) -} - -func (g *loggerWrapper) Infof(format string, args ...interface{}) { - g.Logger.Printf(format, args...) -} - -func (g *loggerWrapper) Warning(args ...interface{}) { - g.Logger.Print(args...) -} - -func (g *loggerWrapper) Warningln(args ...interface{}) { - g.Logger.Println(args...) -} - -func (g *loggerWrapper) Warningf(format string, args ...interface{}) { - g.Logger.Printf(format, args...) -} - -func (g *loggerWrapper) Error(args ...interface{}) { - g.Logger.Print(args...) -} - -func (g *loggerWrapper) Errorln(args ...interface{}) { - g.Logger.Println(args...) -} - -func (g *loggerWrapper) Errorf(format string, args ...interface{}) { - g.Logger.Printf(format, args...) -} - -func (g *loggerWrapper) V(l int) bool { - // Returns true for all verbose level. - return true -} diff --git a/vendor/google.golang.org/grpc/grpclog/loggerv2.go b/vendor/google.golang.org/grpc/grpclog/loggerv2.go deleted file mode 100644 index 7c1f6640..00000000 --- a/vendor/google.golang.org/grpc/grpclog/loggerv2.go +++ /dev/null @@ -1,259 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpclog - -import ( - "encoding/json" - "fmt" - "io" - "io/ioutil" - "log" - "os" - "strconv" - "strings" - - "google.golang.org/grpc/internal/grpclog" -) - -// LoggerV2 does underlying logging work for grpclog. -type LoggerV2 interface { - // Info logs to INFO log. Arguments are handled in the manner of fmt.Print. - Info(args ...interface{}) - // Infoln logs to INFO log. Arguments are handled in the manner of fmt.Println. - Infoln(args ...interface{}) - // Infof logs to INFO log. Arguments are handled in the manner of fmt.Printf. - Infof(format string, args ...interface{}) - // Warning logs to WARNING log. Arguments are handled in the manner of fmt.Print. - Warning(args ...interface{}) - // Warningln logs to WARNING log. Arguments are handled in the manner of fmt.Println. - Warningln(args ...interface{}) - // Warningf logs to WARNING log. Arguments are handled in the manner of fmt.Printf. - Warningf(format string, args ...interface{}) - // Error logs to ERROR log. Arguments are handled in the manner of fmt.Print. - Error(args ...interface{}) - // Errorln logs to ERROR log. Arguments are handled in the manner of fmt.Println. - Errorln(args ...interface{}) - // Errorf logs to ERROR log. Arguments are handled in the manner of fmt.Printf. - Errorf(format string, args ...interface{}) - // Fatal logs to ERROR log. Arguments are handled in the manner of fmt.Print. - // gRPC ensures that all Fatal logs will exit with os.Exit(1). - // Implementations may also call os.Exit() with a non-zero exit code. - Fatal(args ...interface{}) - // Fatalln logs to ERROR log. Arguments are handled in the manner of fmt.Println. - // gRPC ensures that all Fatal logs will exit with os.Exit(1). - // Implementations may also call os.Exit() with a non-zero exit code. - Fatalln(args ...interface{}) - // Fatalf logs to ERROR log. Arguments are handled in the manner of fmt.Printf. - // gRPC ensures that all Fatal logs will exit with os.Exit(1). - // Implementations may also call os.Exit() with a non-zero exit code. - Fatalf(format string, args ...interface{}) - // V reports whether verbosity level l is at least the requested verbose level. - V(l int) bool -} - -// SetLoggerV2 sets logger that is used in grpc to a V2 logger. -// Not mutex-protected, should be called before any gRPC functions. -func SetLoggerV2(l LoggerV2) { - if _, ok := l.(*componentData); ok { - panic("cannot use component logger as grpclog logger") - } - grpclog.Logger = l - grpclog.DepthLogger, _ = l.(grpclog.DepthLoggerV2) -} - -const ( - // infoLog indicates Info severity. - infoLog int = iota - // warningLog indicates Warning severity. - warningLog - // errorLog indicates Error severity. - errorLog - // fatalLog indicates Fatal severity. - fatalLog -) - -// severityName contains the string representation of each severity. -var severityName = []string{ - infoLog: "INFO", - warningLog: "WARNING", - errorLog: "ERROR", - fatalLog: "FATAL", -} - -// loggerT is the default logger used by grpclog. -type loggerT struct { - m []*log.Logger - v int - jsonFormat bool -} - -// NewLoggerV2 creates a loggerV2 with the provided writers. -// Fatal logs will be written to errorW, warningW, infoW, followed by exit(1). -// Error logs will be written to errorW, warningW and infoW. -// Warning logs will be written to warningW and infoW. -// Info logs will be written to infoW. -func NewLoggerV2(infoW, warningW, errorW io.Writer) LoggerV2 { - return newLoggerV2WithConfig(infoW, warningW, errorW, loggerV2Config{}) -} - -// NewLoggerV2WithVerbosity creates a loggerV2 with the provided writers and -// verbosity level. -func NewLoggerV2WithVerbosity(infoW, warningW, errorW io.Writer, v int) LoggerV2 { - return newLoggerV2WithConfig(infoW, warningW, errorW, loggerV2Config{verbose: v}) -} - -type loggerV2Config struct { - verbose int - jsonFormat bool -} - -func newLoggerV2WithConfig(infoW, warningW, errorW io.Writer, c loggerV2Config) LoggerV2 { - var m []*log.Logger - flag := log.LstdFlags - if c.jsonFormat { - flag = 0 - } - m = append(m, log.New(infoW, "", flag)) - m = append(m, log.New(io.MultiWriter(infoW, warningW), "", flag)) - ew := io.MultiWriter(infoW, warningW, errorW) // ew will be used for error and fatal. - m = append(m, log.New(ew, "", flag)) - m = append(m, log.New(ew, "", flag)) - return &loggerT{m: m, v: c.verbose, jsonFormat: c.jsonFormat} -} - -// newLoggerV2 creates a loggerV2 to be used as default logger. -// All logs are written to stderr. -func newLoggerV2() LoggerV2 { - errorW := ioutil.Discard - warningW := ioutil.Discard - infoW := ioutil.Discard - - logLevel := os.Getenv("GRPC_GO_LOG_SEVERITY_LEVEL") - switch logLevel { - case "", "ERROR", "error": // If env is unset, set level to ERROR. - errorW = os.Stderr - case "WARNING", "warning": - warningW = os.Stderr - case "INFO", "info": - infoW = os.Stderr - } - - var v int - vLevel := os.Getenv("GRPC_GO_LOG_VERBOSITY_LEVEL") - if vl, err := strconv.Atoi(vLevel); err == nil { - v = vl - } - - jsonFormat := strings.EqualFold(os.Getenv("GRPC_GO_LOG_FORMATTER"), "json") - - return newLoggerV2WithConfig(infoW, warningW, errorW, loggerV2Config{ - verbose: v, - jsonFormat: jsonFormat, - }) -} - -func (g *loggerT) output(severity int, s string) { - sevStr := severityName[severity] - if !g.jsonFormat { - g.m[severity].Output(2, fmt.Sprintf("%v: %v", sevStr, s)) - return - } - // TODO: we can also include the logging component, but that needs more - // (API) changes. - b, _ := json.Marshal(map[string]string{ - "severity": sevStr, - "message": s, - }) - g.m[severity].Output(2, string(b)) -} - -func (g *loggerT) Info(args ...interface{}) { - g.output(infoLog, fmt.Sprint(args...)) -} - -func (g *loggerT) Infoln(args ...interface{}) { - g.output(infoLog, fmt.Sprintln(args...)) -} - -func (g *loggerT) Infof(format string, args ...interface{}) { - g.output(infoLog, fmt.Sprintf(format, args...)) -} - -func (g *loggerT) Warning(args ...interface{}) { - g.output(warningLog, fmt.Sprint(args...)) -} - -func (g *loggerT) Warningln(args ...interface{}) { - g.output(warningLog, fmt.Sprintln(args...)) -} - -func (g *loggerT) Warningf(format string, args ...interface{}) { - g.output(warningLog, fmt.Sprintf(format, args...)) -} - -func (g *loggerT) Error(args ...interface{}) { - g.output(errorLog, fmt.Sprint(args...)) -} - -func (g *loggerT) Errorln(args ...interface{}) { - g.output(errorLog, fmt.Sprintln(args...)) -} - -func (g *loggerT) Errorf(format string, args ...interface{}) { - g.output(errorLog, fmt.Sprintf(format, args...)) -} - -func (g *loggerT) Fatal(args ...interface{}) { - g.output(fatalLog, fmt.Sprint(args...)) - os.Exit(1) -} - -func (g *loggerT) Fatalln(args ...interface{}) { - g.output(fatalLog, fmt.Sprintln(args...)) - os.Exit(1) -} - -func (g *loggerT) Fatalf(format string, args ...interface{}) { - g.output(fatalLog, fmt.Sprintf(format, args...)) - os.Exit(1) -} - -func (g *loggerT) V(l int) bool { - return l <= g.v -} - -// DepthLoggerV2 logs at a specified call frame. If a LoggerV2 also implements -// DepthLoggerV2, the below functions will be called with the appropriate stack -// depth set for trivial functions the logger may ignore. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type DepthLoggerV2 interface { - LoggerV2 - // InfoDepth logs to INFO log at the specified depth. Arguments are handled in the manner of fmt.Println. - InfoDepth(depth int, args ...interface{}) - // WarningDepth logs to WARNING log at the specified depth. Arguments are handled in the manner of fmt.Println. - WarningDepth(depth int, args ...interface{}) - // ErrorDepth logs to ERROR log at the specified depth. Arguments are handled in the manner of fmt.Println. - ErrorDepth(depth int, args ...interface{}) - // FatalDepth logs to FATAL log at the specified depth. Arguments are handled in the manner of fmt.Println. - FatalDepth(depth int, args ...interface{}) -} diff --git a/vendor/google.golang.org/grpc/interceptor.go b/vendor/google.golang.org/grpc/interceptor.go deleted file mode 100644 index bb96ef57..00000000 --- a/vendor/google.golang.org/grpc/interceptor.go +++ /dev/null @@ -1,104 +0,0 @@ -/* - * - * Copyright 2016 gRPC 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 grpc - -import ( - "context" -) - -// UnaryInvoker is called by UnaryClientInterceptor to complete RPCs. -type UnaryInvoker func(ctx context.Context, method string, req, reply interface{}, cc *ClientConn, opts ...CallOption) error - -// UnaryClientInterceptor intercepts the execution of a unary RPC on the client. -// Unary interceptors can be specified as a DialOption, using -// WithUnaryInterceptor() or WithChainUnaryInterceptor(), when creating a -// ClientConn. When a unary interceptor(s) is set on a ClientConn, gRPC -// delegates all unary RPC invocations to the interceptor, and it is the -// responsibility of the interceptor to call invoker to complete the processing -// of the RPC. -// -// method is the RPC name. req and reply are the corresponding request and -// response messages. cc is the ClientConn on which the RPC was invoked. invoker -// is the handler to complete the RPC and it is the responsibility of the -// interceptor to call it. opts contain all applicable call options, including -// defaults from the ClientConn as well as per-call options. -// -// The returned error must be compatible with the status package. -type UnaryClientInterceptor func(ctx context.Context, method string, req, reply interface{}, cc *ClientConn, invoker UnaryInvoker, opts ...CallOption) error - -// Streamer is called by StreamClientInterceptor to create a ClientStream. -type Streamer func(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (ClientStream, error) - -// StreamClientInterceptor intercepts the creation of a ClientStream. Stream -// interceptors can be specified as a DialOption, using WithStreamInterceptor() -// or WithChainStreamInterceptor(), when creating a ClientConn. When a stream -// interceptor(s) is set on the ClientConn, gRPC delegates all stream creations -// to the interceptor, and it is the responsibility of the interceptor to call -// streamer. -// -// desc contains a description of the stream. cc is the ClientConn on which the -// RPC was invoked. streamer is the handler to create a ClientStream and it is -// the responsibility of the interceptor to call it. opts contain all applicable -// call options, including defaults from the ClientConn as well as per-call -// options. -// -// StreamClientInterceptor may return a custom ClientStream to intercept all I/O -// operations. The returned error must be compatible with the status package. -type StreamClientInterceptor func(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, streamer Streamer, opts ...CallOption) (ClientStream, error) - -// UnaryServerInfo consists of various information about a unary RPC on -// server side. All per-rpc information may be mutated by the interceptor. -type UnaryServerInfo struct { - // Server is the service implementation the user provides. This is read-only. - Server interface{} - // FullMethod is the full RPC method string, i.e., /package.service/method. - FullMethod string -} - -// UnaryHandler defines the handler invoked by UnaryServerInterceptor to complete the normal -// execution of a unary RPC. -// -// If a UnaryHandler returns an error, it should either be produced by the -// status package, or be one of the context errors. Otherwise, gRPC will use -// codes.Unknown as the status code and err.Error() as the status message of the -// RPC. -type UnaryHandler func(ctx context.Context, req interface{}) (interface{}, error) - -// UnaryServerInterceptor provides a hook to intercept the execution of a unary RPC on the server. info -// contains all the information of this RPC the interceptor can operate on. And handler is the wrapper -// of the service method implementation. It is the responsibility of the interceptor to invoke handler -// to complete the RPC. -type UnaryServerInterceptor func(ctx context.Context, req interface{}, info *UnaryServerInfo, handler UnaryHandler) (resp interface{}, err error) - -// StreamServerInfo consists of various information about a streaming RPC on -// server side. All per-rpc information may be mutated by the interceptor. -type StreamServerInfo struct { - // FullMethod is the full RPC method string, i.e., /package.service/method. - FullMethod string - // IsClientStream indicates whether the RPC is a client streaming RPC. - IsClientStream bool - // IsServerStream indicates whether the RPC is a server streaming RPC. - IsServerStream bool -} - -// StreamServerInterceptor provides a hook to intercept the execution of a streaming RPC on the server. -// info contains all the information of this RPC the interceptor can operate on. And handler is the -// service method implementation. It is the responsibility of the interceptor to invoke handler to -// complete the RPC. -type StreamServerInterceptor func(srv interface{}, ss ServerStream, info *StreamServerInfo, handler StreamHandler) error diff --git a/vendor/google.golang.org/grpc/internal/backoff/backoff.go b/vendor/google.golang.org/grpc/internal/backoff/backoff.go deleted file mode 100644 index 5fc0ee3d..00000000 --- a/vendor/google.golang.org/grpc/internal/backoff/backoff.go +++ /dev/null @@ -1,73 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 backoff implement the backoff strategy for gRPC. -// -// This is kept in internal until the gRPC project decides whether or not to -// allow alternative backoff strategies. -package backoff - -import ( - "time" - - grpcbackoff "google.golang.org/grpc/backoff" - "google.golang.org/grpc/internal/grpcrand" -) - -// Strategy defines the methodology for backing off after a grpc connection -// failure. -type Strategy interface { - // Backoff returns the amount of time to wait before the next retry given - // the number of consecutive failures. - Backoff(retries int) time.Duration -} - -// DefaultExponential is an exponential backoff implementation using the -// default values for all the configurable knobs defined in -// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. -var DefaultExponential = Exponential{Config: grpcbackoff.DefaultConfig} - -// Exponential implements exponential backoff algorithm as defined in -// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. -type Exponential struct { - // Config contains all options to configure the backoff algorithm. - Config grpcbackoff.Config -} - -// Backoff returns the amount of time to wait before the next retry given the -// number of retries. -func (bc Exponential) Backoff(retries int) time.Duration { - if retries == 0 { - return bc.Config.BaseDelay - } - backoff, max := float64(bc.Config.BaseDelay), float64(bc.Config.MaxDelay) - for backoff < max && retries > 0 { - backoff *= bc.Config.Multiplier - retries-- - } - if backoff > max { - backoff = max - } - // Randomize backoff delays so that if a cluster of requests start at - // the same time, they won't operate in lockstep. - backoff *= 1 + bc.Config.Jitter*(grpcrand.Float64()*2-1) - if backoff < 0 { - return 0 - } - return time.Duration(backoff) -} diff --git a/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go b/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go deleted file mode 100644 index 08666f62..00000000 --- a/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go +++ /dev/null @@ -1,384 +0,0 @@ -/* - * - * Copyright 2022 gRPC 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 gracefulswitch implements a graceful switch load balancer. -package gracefulswitch - -import ( - "errors" - "fmt" - "sync" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/balancer/base" - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/resolver" -) - -var errBalancerClosed = errors.New("gracefulSwitchBalancer is closed") -var _ balancer.Balancer = (*Balancer)(nil) - -// NewBalancer returns a graceful switch Balancer. -func NewBalancer(cc balancer.ClientConn, opts balancer.BuildOptions) *Balancer { - return &Balancer{ - cc: cc, - bOpts: opts, - } -} - -// Balancer is a utility to gracefully switch from one balancer to -// a new balancer. It implements the balancer.Balancer interface. -type Balancer struct { - bOpts balancer.BuildOptions - cc balancer.ClientConn - - // mu protects the following fields and all fields within balancerCurrent - // and balancerPending. mu does not need to be held when calling into the - // child balancers, as all calls into these children happen only as a direct - // result of a call into the gracefulSwitchBalancer, which are also - // guaranteed to be synchronous. There is one exception: an UpdateState call - // from a child balancer when current and pending are populated can lead to - // calling Close() on the current. To prevent that racing with an - // UpdateSubConnState from the channel, we hold currentMu during Close and - // UpdateSubConnState calls. - mu sync.Mutex - balancerCurrent *balancerWrapper - balancerPending *balancerWrapper - closed bool // set to true when this balancer is closed - - // currentMu must be locked before mu. This mutex guards against this - // sequence of events: UpdateSubConnState() called, finds the - // balancerCurrent, gives up lock, updateState comes in, causes Close() on - // balancerCurrent before the UpdateSubConnState is called on the - // balancerCurrent. - currentMu sync.Mutex -} - -// swap swaps out the current lb with the pending lb and updates the ClientConn. -// The caller must hold gsb.mu. -func (gsb *Balancer) swap() { - gsb.cc.UpdateState(gsb.balancerPending.lastState) - cur := gsb.balancerCurrent - gsb.balancerCurrent = gsb.balancerPending - gsb.balancerPending = nil - go func() { - gsb.currentMu.Lock() - defer gsb.currentMu.Unlock() - cur.Close() - }() -} - -// Helper function that checks if the balancer passed in is current or pending. -// The caller must hold gsb.mu. -func (gsb *Balancer) balancerCurrentOrPending(bw *balancerWrapper) bool { - return bw == gsb.balancerCurrent || bw == gsb.balancerPending -} - -// SwitchTo initializes the graceful switch process, which completes based on -// connectivity state changes on the current/pending balancer. Thus, the switch -// process is not complete when this method returns. This method must be called -// synchronously alongside the rest of the balancer.Balancer methods this -// Graceful Switch Balancer implements. -func (gsb *Balancer) SwitchTo(builder balancer.Builder) error { - gsb.mu.Lock() - if gsb.closed { - gsb.mu.Unlock() - return errBalancerClosed - } - bw := &balancerWrapper{ - gsb: gsb, - lastState: balancer.State{ - ConnectivityState: connectivity.Connecting, - Picker: base.NewErrPicker(balancer.ErrNoSubConnAvailable), - }, - subconns: make(map[balancer.SubConn]bool), - } - balToClose := gsb.balancerPending // nil if there is no pending balancer - if gsb.balancerCurrent == nil { - gsb.balancerCurrent = bw - } else { - gsb.balancerPending = bw - } - gsb.mu.Unlock() - balToClose.Close() - // This function takes a builder instead of a balancer because builder.Build - // can call back inline, and this utility needs to handle the callbacks. - newBalancer := builder.Build(bw, gsb.bOpts) - if newBalancer == nil { - // This is illegal and should never happen; we clear the balancerWrapper - // we were constructing if it happens to avoid a potential panic. - gsb.mu.Lock() - if gsb.balancerPending != nil { - gsb.balancerPending = nil - } else { - gsb.balancerCurrent = nil - } - gsb.mu.Unlock() - return balancer.ErrBadResolverState - } - - // This write doesn't need to take gsb.mu because this field never gets read - // or written to on any calls from the current or pending. Calls from grpc - // to this balancer are guaranteed to be called synchronously, so this - // bw.Balancer field will never be forwarded to until this SwitchTo() - // function returns. - bw.Balancer = newBalancer - return nil -} - -// Returns nil if the graceful switch balancer is closed. -func (gsb *Balancer) latestBalancer() *balancerWrapper { - gsb.mu.Lock() - defer gsb.mu.Unlock() - if gsb.balancerPending != nil { - return gsb.balancerPending - } - return gsb.balancerCurrent -} - -// UpdateClientConnState forwards the update to the latest balancer created. -func (gsb *Balancer) UpdateClientConnState(state balancer.ClientConnState) error { - // The resolver data is only relevant to the most recent LB Policy. - balToUpdate := gsb.latestBalancer() - if balToUpdate == nil { - return errBalancerClosed - } - // Perform this call without gsb.mu to prevent deadlocks if the child calls - // back into the channel. The latest balancer can never be closed during a - // call from the channel, even without gsb.mu held. - return balToUpdate.UpdateClientConnState(state) -} - -// ResolverError forwards the error to the latest balancer created. -func (gsb *Balancer) ResolverError(err error) { - // The resolver data is only relevant to the most recent LB Policy. - balToUpdate := gsb.latestBalancer() - if balToUpdate == nil { - return - } - // Perform this call without gsb.mu to prevent deadlocks if the child calls - // back into the channel. The latest balancer can never be closed during a - // call from the channel, even without gsb.mu held. - balToUpdate.ResolverError(err) -} - -// ExitIdle forwards the call to the latest balancer created. -// -// If the latest balancer does not support ExitIdle, the subConns are -// re-connected to manually. -func (gsb *Balancer) ExitIdle() { - balToUpdate := gsb.latestBalancer() - if balToUpdate == nil { - return - } - // There is no need to protect this read with a mutex, as the write to the - // Balancer field happens in SwitchTo, which completes before this can be - // called. - if ei, ok := balToUpdate.Balancer.(balancer.ExitIdler); ok { - ei.ExitIdle() - return - } - gsb.mu.Lock() - defer gsb.mu.Unlock() - for sc := range balToUpdate.subconns { - sc.Connect() - } -} - -// UpdateSubConnState forwards the update to the appropriate child. -func (gsb *Balancer) UpdateSubConnState(sc balancer.SubConn, state balancer.SubConnState) { - gsb.currentMu.Lock() - defer gsb.currentMu.Unlock() - gsb.mu.Lock() - // Forward update to the appropriate child. Even if there is a pending - // balancer, the current balancer should continue to get SubConn updates to - // maintain the proper state while the pending is still connecting. - var balToUpdate *balancerWrapper - if gsb.balancerCurrent != nil && gsb.balancerCurrent.subconns[sc] { - balToUpdate = gsb.balancerCurrent - } else if gsb.balancerPending != nil && gsb.balancerPending.subconns[sc] { - balToUpdate = gsb.balancerPending - } - gsb.mu.Unlock() - if balToUpdate == nil { - // SubConn belonged to a stale lb policy that has not yet fully closed, - // or the balancer was already closed. - return - } - balToUpdate.UpdateSubConnState(sc, state) -} - -// Close closes any active child balancers. -func (gsb *Balancer) Close() { - gsb.mu.Lock() - gsb.closed = true - currentBalancerToClose := gsb.balancerCurrent - gsb.balancerCurrent = nil - pendingBalancerToClose := gsb.balancerPending - gsb.balancerPending = nil - gsb.mu.Unlock() - - currentBalancerToClose.Close() - pendingBalancerToClose.Close() -} - -// balancerWrapper wraps a balancer.Balancer, and overrides some Balancer -// methods to help cleanup SubConns created by the wrapped balancer. -// -// It implements the balancer.ClientConn interface and is passed down in that -// capacity to the wrapped balancer. It maintains a set of subConns created by -// the wrapped balancer and calls from the latter to create/update/remove -// SubConns update this set before being forwarded to the parent ClientConn. -// State updates from the wrapped balancer can result in invocation of the -// graceful switch logic. -type balancerWrapper struct { - balancer.Balancer - gsb *Balancer - - lastState balancer.State - subconns map[balancer.SubConn]bool // subconns created by this balancer -} - -func (bw *balancerWrapper) UpdateSubConnState(sc balancer.SubConn, state balancer.SubConnState) { - if state.ConnectivityState == connectivity.Shutdown { - bw.gsb.mu.Lock() - delete(bw.subconns, sc) - bw.gsb.mu.Unlock() - } - // There is no need to protect this read with a mutex, as the write to the - // Balancer field happens in SwitchTo, which completes before this can be - // called. - bw.Balancer.UpdateSubConnState(sc, state) -} - -// Close closes the underlying LB policy and removes the subconns it created. bw -// must not be referenced via balancerCurrent or balancerPending in gsb when -// called. gsb.mu must not be held. Does not panic with a nil receiver. -func (bw *balancerWrapper) Close() { - // before Close is called. - if bw == nil { - return - } - // There is no need to protect this read with a mutex, as Close() is - // impossible to be called concurrently with the write in SwitchTo(). The - // callsites of Close() for this balancer in Graceful Switch Balancer will - // never be called until SwitchTo() returns. - bw.Balancer.Close() - bw.gsb.mu.Lock() - for sc := range bw.subconns { - bw.gsb.cc.RemoveSubConn(sc) - } - bw.gsb.mu.Unlock() -} - -func (bw *balancerWrapper) UpdateState(state balancer.State) { - // Hold the mutex for this entire call to ensure it cannot occur - // concurrently with other updateState() calls. This causes updates to - // lastState and calls to cc.UpdateState to happen atomically. - bw.gsb.mu.Lock() - defer bw.gsb.mu.Unlock() - bw.lastState = state - - if !bw.gsb.balancerCurrentOrPending(bw) { - return - } - - if bw == bw.gsb.balancerCurrent { - // In the case that the current balancer exits READY, and there is a pending - // balancer, you can forward the pending balancer's cached State up to - // ClientConn and swap the pending into the current. This is because there - // is no reason to gracefully switch from and keep using the old policy as - // the ClientConn is not connected to any backends. - if state.ConnectivityState != connectivity.Ready && bw.gsb.balancerPending != nil { - bw.gsb.swap() - return - } - // Even if there is a pending balancer waiting to be gracefully switched to, - // continue to forward current balancer updates to the Client Conn. Ignoring - // state + picker from the current would cause undefined behavior/cause the - // system to behave incorrectly from the current LB policies perspective. - // Also, the current LB is still being used by grpc to choose SubConns per - // RPC, and thus should use the most updated form of the current balancer. - bw.gsb.cc.UpdateState(state) - return - } - // This method is now dealing with a state update from the pending balancer. - // If the current balancer is currently in a state other than READY, the new - // policy can be swapped into place immediately. This is because there is no - // reason to gracefully switch from and keep using the old policy as the - // ClientConn is not connected to any backends. - if state.ConnectivityState != connectivity.Connecting || bw.gsb.balancerCurrent.lastState.ConnectivityState != connectivity.Ready { - bw.gsb.swap() - } -} - -func (bw *balancerWrapper) NewSubConn(addrs []resolver.Address, opts balancer.NewSubConnOptions) (balancer.SubConn, error) { - bw.gsb.mu.Lock() - if !bw.gsb.balancerCurrentOrPending(bw) { - bw.gsb.mu.Unlock() - return nil, fmt.Errorf("%T at address %p that called NewSubConn is deleted", bw, bw) - } - bw.gsb.mu.Unlock() - - sc, err := bw.gsb.cc.NewSubConn(addrs, opts) - if err != nil { - return nil, err - } - bw.gsb.mu.Lock() - if !bw.gsb.balancerCurrentOrPending(bw) { // balancer was closed during this call - bw.gsb.cc.RemoveSubConn(sc) - bw.gsb.mu.Unlock() - return nil, fmt.Errorf("%T at address %p that called NewSubConn is deleted", bw, bw) - } - bw.subconns[sc] = true - bw.gsb.mu.Unlock() - return sc, nil -} - -func (bw *balancerWrapper) ResolveNow(opts resolver.ResolveNowOptions) { - // Ignore ResolveNow requests from anything other than the most recent - // balancer, because older balancers were already removed from the config. - if bw != bw.gsb.latestBalancer() { - return - } - bw.gsb.cc.ResolveNow(opts) -} - -func (bw *balancerWrapper) RemoveSubConn(sc balancer.SubConn) { - bw.gsb.mu.Lock() - if !bw.gsb.balancerCurrentOrPending(bw) { - bw.gsb.mu.Unlock() - return - } - bw.gsb.mu.Unlock() - bw.gsb.cc.RemoveSubConn(sc) -} - -func (bw *balancerWrapper) UpdateAddresses(sc balancer.SubConn, addrs []resolver.Address) { - bw.gsb.mu.Lock() - if !bw.gsb.balancerCurrentOrPending(bw) { - bw.gsb.mu.Unlock() - return - } - bw.gsb.mu.Unlock() - bw.gsb.cc.UpdateAddresses(sc, addrs) -} - -func (bw *balancerWrapper) Target() string { - return bw.gsb.cc.Target() -} diff --git a/vendor/google.golang.org/grpc/internal/balancerload/load.go b/vendor/google.golang.org/grpc/internal/balancerload/load.go deleted file mode 100644 index 3a905d96..00000000 --- a/vendor/google.golang.org/grpc/internal/balancerload/load.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2019 gRPC 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 balancerload defines APIs to parse server loads in trailers. The -// parsed loads are sent to balancers in DoneInfo. -package balancerload - -import ( - "google.golang.org/grpc/metadata" -) - -// Parser converts loads from metadata into a concrete type. -type Parser interface { - // Parse parses loads from metadata. - Parse(md metadata.MD) interface{} -} - -var parser Parser - -// SetParser sets the load parser. -// -// Not mutex-protected, should be called before any gRPC functions. -func SetParser(lr Parser) { - parser = lr -} - -// Parse calls parser.Read(). -func Parse(md metadata.MD) interface{} { - if parser == nil { - return nil - } - return parser.Parse(md) -} diff --git a/vendor/google.golang.org/grpc/internal/binarylog/binarylog.go b/vendor/google.golang.org/grpc/internal/binarylog/binarylog.go deleted file mode 100644 index e3dfe204..00000000 --- a/vendor/google.golang.org/grpc/internal/binarylog/binarylog.go +++ /dev/null @@ -1,189 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 binarylog implementation binary logging as defined in -// https://github.com/grpc/proposal/blob/master/A16-binary-logging.md. -package binarylog - -import ( - "fmt" - "os" - - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/internal/grpcutil" -) - -// Logger is the global binary logger. It can be used to get binary logger for -// each method. -type Logger interface { - GetMethodLogger(methodName string) MethodLogger -} - -// binLogger is the global binary logger for the binary. One of this should be -// built at init time from the configuration (environment variable or flags). -// -// It is used to get a methodLogger for each individual method. -var binLogger Logger - -var grpclogLogger = grpclog.Component("binarylog") - -// SetLogger sets the binary logger. -// -// Only call this at init time. -func SetLogger(l Logger) { - binLogger = l -} - -// GetLogger gets the binary logger. -// -// Only call this at init time. -func GetLogger() Logger { - return binLogger -} - -// GetMethodLogger returns the methodLogger for the given methodName. -// -// methodName should be in the format of "/service/method". -// -// Each methodLogger returned by this method is a new instance. This is to -// generate sequence id within the call. -func GetMethodLogger(methodName string) MethodLogger { - if binLogger == nil { - return nil - } - return binLogger.GetMethodLogger(methodName) -} - -func init() { - const envStr = "GRPC_BINARY_LOG_FILTER" - configStr := os.Getenv(envStr) - binLogger = NewLoggerFromConfigString(configStr) -} - -// MethodLoggerConfig contains the setting for logging behavior of a method -// logger. Currently, it contains the max length of header and message. -type MethodLoggerConfig struct { - // Max length of header and message. - Header, Message uint64 -} - -// LoggerConfig contains the config for loggers to create method loggers. -type LoggerConfig struct { - All *MethodLoggerConfig - Services map[string]*MethodLoggerConfig - Methods map[string]*MethodLoggerConfig - - Blacklist map[string]struct{} -} - -type logger struct { - config LoggerConfig -} - -// NewLoggerFromConfig builds a logger with the given LoggerConfig. -func NewLoggerFromConfig(config LoggerConfig) Logger { - return &logger{config: config} -} - -// newEmptyLogger creates an empty logger. The map fields need to be filled in -// using the set* functions. -func newEmptyLogger() *logger { - return &logger{} -} - -// Set method logger for "*". -func (l *logger) setDefaultMethodLogger(ml *MethodLoggerConfig) error { - if l.config.All != nil { - return fmt.Errorf("conflicting global rules found") - } - l.config.All = ml - return nil -} - -// Set method logger for "service/*". -// -// New methodLogger with same service overrides the old one. -func (l *logger) setServiceMethodLogger(service string, ml *MethodLoggerConfig) error { - if _, ok := l.config.Services[service]; ok { - return fmt.Errorf("conflicting service rules for service %v found", service) - } - if l.config.Services == nil { - l.config.Services = make(map[string]*MethodLoggerConfig) - } - l.config.Services[service] = ml - return nil -} - -// Set method logger for "service/method". -// -// New methodLogger with same method overrides the old one. -func (l *logger) setMethodMethodLogger(method string, ml *MethodLoggerConfig) error { - if _, ok := l.config.Blacklist[method]; ok { - return fmt.Errorf("conflicting blacklist rules for method %v found", method) - } - if _, ok := l.config.Methods[method]; ok { - return fmt.Errorf("conflicting method rules for method %v found", method) - } - if l.config.Methods == nil { - l.config.Methods = make(map[string]*MethodLoggerConfig) - } - l.config.Methods[method] = ml - return nil -} - -// Set blacklist method for "-service/method". -func (l *logger) setBlacklist(method string) error { - if _, ok := l.config.Blacklist[method]; ok { - return fmt.Errorf("conflicting blacklist rules for method %v found", method) - } - if _, ok := l.config.Methods[method]; ok { - return fmt.Errorf("conflicting method rules for method %v found", method) - } - if l.config.Blacklist == nil { - l.config.Blacklist = make(map[string]struct{}) - } - l.config.Blacklist[method] = struct{}{} - return nil -} - -// getMethodLogger returns the methodLogger for the given methodName. -// -// methodName should be in the format of "/service/method". -// -// Each methodLogger returned by this method is a new instance. This is to -// generate sequence id within the call. -func (l *logger) GetMethodLogger(methodName string) MethodLogger { - s, m, err := grpcutil.ParseMethod(methodName) - if err != nil { - grpclogLogger.Infof("binarylogging: failed to parse %q: %v", methodName, err) - return nil - } - if ml, ok := l.config.Methods[s+"/"+m]; ok { - return newMethodLogger(ml.Header, ml.Message) - } - if _, ok := l.config.Blacklist[s+"/"+m]; ok { - return nil - } - if ml, ok := l.config.Services[s]; ok { - return newMethodLogger(ml.Header, ml.Message) - } - if l.config.All == nil { - return nil - } - return newMethodLogger(l.config.All.Header, l.config.All.Message) -} diff --git a/vendor/google.golang.org/grpc/internal/binarylog/binarylog_testutil.go b/vendor/google.golang.org/grpc/internal/binarylog/binarylog_testutil.go deleted file mode 100644 index 1ee00a39..00000000 --- a/vendor/google.golang.org/grpc/internal/binarylog/binarylog_testutil.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * - * Copyright 2018 gRPC authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -// This file contains exported variables/functions that are exported for testing -// only. -// -// An ideal way for this would be to put those in a *_test.go but in binarylog -// package. But this doesn't work with staticcheck with go module. Error was: -// "MdToMetadataProto not declared by package binarylog". This could be caused -// by the way staticcheck looks for files for a certain package, which doesn't -// support *_test.go files. -// -// Move those to binary_test.go when staticcheck is fixed. - -package binarylog - -var ( - // AllLogger is a logger that logs all headers/messages for all RPCs. It's - // for testing only. - AllLogger = NewLoggerFromConfigString("*") - // MdToMetadataProto converts metadata to a binary logging proto message. - // It's for testing only. - MdToMetadataProto = mdToMetadataProto - // AddrToProto converts an address to a binary logging proto message. It's - // for testing only. - AddrToProto = addrToProto -) diff --git a/vendor/google.golang.org/grpc/internal/binarylog/env_config.go b/vendor/google.golang.org/grpc/internal/binarylog/env_config.go deleted file mode 100644 index ab589a76..00000000 --- a/vendor/google.golang.org/grpc/internal/binarylog/env_config.go +++ /dev/null @@ -1,208 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 binarylog - -import ( - "errors" - "fmt" - "regexp" - "strconv" - "strings" -) - -// NewLoggerFromConfigString reads the string and build a logger. It can be used -// to build a new logger and assign it to binarylog.Logger. -// -// Example filter config strings: -// - "" Nothing will be logged -// - "*" All headers and messages will be fully logged. -// - "*{h}" Only headers will be logged. -// - "*{m:256}" Only the first 256 bytes of each message will be logged. -// - "Foo/*" Logs every method in service Foo -// - "Foo/*,-Foo/Bar" Logs every method in service Foo except method /Foo/Bar -// - "Foo/*,Foo/Bar{m:256}" Logs the first 256 bytes of each message in method -// /Foo/Bar, logs all headers and messages in every other method in service -// Foo. -// -// If two configs exist for one certain method or service, the one specified -// later overrides the previous config. -func NewLoggerFromConfigString(s string) Logger { - if s == "" { - return nil - } - l := newEmptyLogger() - methods := strings.Split(s, ",") - for _, method := range methods { - if err := l.fillMethodLoggerWithConfigString(method); err != nil { - grpclogLogger.Warningf("failed to parse binary log config: %v", err) - return nil - } - } - return l -} - -// fillMethodLoggerWithConfigString parses config, creates methodLogger and adds -// it to the right map in the logger. -func (l *logger) fillMethodLoggerWithConfigString(config string) error { - // "" is invalid. - if config == "" { - return errors.New("empty string is not a valid method binary logging config") - } - - // "-service/method", blacklist, no * or {} allowed. - if config[0] == '-' { - s, m, suffix, err := parseMethodConfigAndSuffix(config[1:]) - if err != nil { - return fmt.Errorf("invalid config: %q, %v", config, err) - } - if m == "*" { - return fmt.Errorf("invalid config: %q, %v", config, "* not allowed in blacklist config") - } - if suffix != "" { - return fmt.Errorf("invalid config: %q, %v", config, "header/message limit not allowed in blacklist config") - } - if err := l.setBlacklist(s + "/" + m); err != nil { - return fmt.Errorf("invalid config: %v", err) - } - return nil - } - - // "*{h:256;m:256}" - if config[0] == '*' { - hdr, msg, err := parseHeaderMessageLengthConfig(config[1:]) - if err != nil { - return fmt.Errorf("invalid config: %q, %v", config, err) - } - if err := l.setDefaultMethodLogger(&MethodLoggerConfig{Header: hdr, Message: msg}); err != nil { - return fmt.Errorf("invalid config: %v", err) - } - return nil - } - - s, m, suffix, err := parseMethodConfigAndSuffix(config) - if err != nil { - return fmt.Errorf("invalid config: %q, %v", config, err) - } - hdr, msg, err := parseHeaderMessageLengthConfig(suffix) - if err != nil { - return fmt.Errorf("invalid header/message length config: %q, %v", suffix, err) - } - if m == "*" { - if err := l.setServiceMethodLogger(s, &MethodLoggerConfig{Header: hdr, Message: msg}); err != nil { - return fmt.Errorf("invalid config: %v", err) - } - } else { - if err := l.setMethodMethodLogger(s+"/"+m, &MethodLoggerConfig{Header: hdr, Message: msg}); err != nil { - return fmt.Errorf("invalid config: %v", err) - } - } - return nil -} - -const ( - // TODO: this const is only used by env_config now. But could be useful for - // other config. Move to binarylog.go if necessary. - maxUInt = ^uint64(0) - - // For "p.s/m" plus any suffix. Suffix will be parsed again. See test for - // expected output. - longMethodConfigRegexpStr = `^([\w./]+)/((?:\w+)|[*])(.+)?$` - - // For suffix from above, "{h:123,m:123}". See test for expected output. - optionalLengthRegexpStr = `(?::(\d+))?` // Optional ":123". - headerConfigRegexpStr = `^{h` + optionalLengthRegexpStr + `}$` - messageConfigRegexpStr = `^{m` + optionalLengthRegexpStr + `}$` - headerMessageConfigRegexpStr = `^{h` + optionalLengthRegexpStr + `;m` + optionalLengthRegexpStr + `}$` -) - -var ( - longMethodConfigRegexp = regexp.MustCompile(longMethodConfigRegexpStr) - headerConfigRegexp = regexp.MustCompile(headerConfigRegexpStr) - messageConfigRegexp = regexp.MustCompile(messageConfigRegexpStr) - headerMessageConfigRegexp = regexp.MustCompile(headerMessageConfigRegexpStr) -) - -// Turn "service/method{h;m}" into "service", "method", "{h;m}". -func parseMethodConfigAndSuffix(c string) (service, method, suffix string, _ error) { - // Regexp result: - // - // in: "p.s/m{h:123,m:123}", - // out: []string{"p.s/m{h:123,m:123}", "p.s", "m", "{h:123,m:123}"}, - match := longMethodConfigRegexp.FindStringSubmatch(c) - if match == nil { - return "", "", "", fmt.Errorf("%q contains invalid substring", c) - } - service = match[1] - method = match[2] - suffix = match[3] - return -} - -// Turn "{h:123;m:345}" into 123, 345. -// -// Return maxUInt if length is unspecified. -func parseHeaderMessageLengthConfig(c string) (hdrLenStr, msgLenStr uint64, err error) { - if c == "" { - return maxUInt, maxUInt, nil - } - // Header config only. - if match := headerConfigRegexp.FindStringSubmatch(c); match != nil { - if s := match[1]; s != "" { - hdrLenStr, err = strconv.ParseUint(s, 10, 64) - if err != nil { - return 0, 0, fmt.Errorf("failed to convert %q to uint", s) - } - return hdrLenStr, 0, nil - } - return maxUInt, 0, nil - } - - // Message config only. - if match := messageConfigRegexp.FindStringSubmatch(c); match != nil { - if s := match[1]; s != "" { - msgLenStr, err = strconv.ParseUint(s, 10, 64) - if err != nil { - return 0, 0, fmt.Errorf("failed to convert %q to uint", s) - } - return 0, msgLenStr, nil - } - return 0, maxUInt, nil - } - - // Header and message config both. - if match := headerMessageConfigRegexp.FindStringSubmatch(c); match != nil { - // Both hdr and msg are specified, but one or two of them might be empty. - hdrLenStr = maxUInt - msgLenStr = maxUInt - if s := match[1]; s != "" { - hdrLenStr, err = strconv.ParseUint(s, 10, 64) - if err != nil { - return 0, 0, fmt.Errorf("failed to convert %q to uint", s) - } - } - if s := match[2]; s != "" { - msgLenStr, err = strconv.ParseUint(s, 10, 64) - if err != nil { - return 0, 0, fmt.Errorf("failed to convert %q to uint", s) - } - } - return hdrLenStr, msgLenStr, nil - } - return 0, 0, fmt.Errorf("%q contains invalid substring", c) -} diff --git a/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go b/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go deleted file mode 100644 index 24df0a1a..00000000 --- a/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go +++ /dev/null @@ -1,432 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 binarylog - -import ( - "net" - "strings" - "sync/atomic" - "time" - - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes" - pb "google.golang.org/grpc/binarylog/grpc_binarylog_v1" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/status" -) - -type callIDGenerator struct { - id uint64 -} - -func (g *callIDGenerator) next() uint64 { - id := atomic.AddUint64(&g.id, 1) - return id -} - -// reset is for testing only, and doesn't need to be thread safe. -func (g *callIDGenerator) reset() { - g.id = 0 -} - -var idGen callIDGenerator - -// MethodLogger is the sub-logger for each method. -type MethodLogger interface { - Log(LogEntryConfig) -} - -type methodLogger struct { - headerMaxLen, messageMaxLen uint64 - - callID uint64 - idWithinCallGen *callIDGenerator - - sink Sink // TODO(blog): make this plugable. -} - -func newMethodLogger(h, m uint64) *methodLogger { - return &methodLogger{ - headerMaxLen: h, - messageMaxLen: m, - - callID: idGen.next(), - idWithinCallGen: &callIDGenerator{}, - - sink: DefaultSink, // TODO(blog): make it plugable. - } -} - -// Build is an internal only method for building the proto message out of the -// input event. It's made public to enable other library to reuse as much logic -// in methodLogger as possible. -func (ml *methodLogger) Build(c LogEntryConfig) *pb.GrpcLogEntry { - m := c.toProto() - timestamp, _ := ptypes.TimestampProto(time.Now()) - m.Timestamp = timestamp - m.CallId = ml.callID - m.SequenceIdWithinCall = ml.idWithinCallGen.next() - - switch pay := m.Payload.(type) { - case *pb.GrpcLogEntry_ClientHeader: - m.PayloadTruncated = ml.truncateMetadata(pay.ClientHeader.GetMetadata()) - case *pb.GrpcLogEntry_ServerHeader: - m.PayloadTruncated = ml.truncateMetadata(pay.ServerHeader.GetMetadata()) - case *pb.GrpcLogEntry_Message: - m.PayloadTruncated = ml.truncateMessage(pay.Message) - } - return m -} - -// Log creates a proto binary log entry, and logs it to the sink. -func (ml *methodLogger) Log(c LogEntryConfig) { - ml.sink.Write(ml.Build(c)) -} - -func (ml *methodLogger) truncateMetadata(mdPb *pb.Metadata) (truncated bool) { - if ml.headerMaxLen == maxUInt { - return false - } - var ( - bytesLimit = ml.headerMaxLen - index int - ) - // At the end of the loop, index will be the first entry where the total - // size is greater than the limit: - // - // len(entry[:index]) <= ml.hdr && len(entry[:index+1]) > ml.hdr. - for ; index < len(mdPb.Entry); index++ { - entry := mdPb.Entry[index] - if entry.Key == "grpc-trace-bin" { - // "grpc-trace-bin" is a special key. It's kept in the log entry, - // but not counted towards the size limit. - continue - } - currentEntryLen := uint64(len(entry.Value)) - if currentEntryLen > bytesLimit { - break - } - bytesLimit -= currentEntryLen - } - truncated = index < len(mdPb.Entry) - mdPb.Entry = mdPb.Entry[:index] - return truncated -} - -func (ml *methodLogger) truncateMessage(msgPb *pb.Message) (truncated bool) { - if ml.messageMaxLen == maxUInt { - return false - } - if ml.messageMaxLen >= uint64(len(msgPb.Data)) { - return false - } - msgPb.Data = msgPb.Data[:ml.messageMaxLen] - return true -} - -// LogEntryConfig represents the configuration for binary log entry. -type LogEntryConfig interface { - toProto() *pb.GrpcLogEntry -} - -// ClientHeader configs the binary log entry to be a ClientHeader entry. -type ClientHeader struct { - OnClientSide bool - Header metadata.MD - MethodName string - Authority string - Timeout time.Duration - // PeerAddr is required only when it's on server side. - PeerAddr net.Addr -} - -func (c *ClientHeader) toProto() *pb.GrpcLogEntry { - // This function doesn't need to set all the fields (e.g. seq ID). The Log - // function will set the fields when necessary. - clientHeader := &pb.ClientHeader{ - Metadata: mdToMetadataProto(c.Header), - MethodName: c.MethodName, - Authority: c.Authority, - } - if c.Timeout > 0 { - clientHeader.Timeout = ptypes.DurationProto(c.Timeout) - } - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER, - Payload: &pb.GrpcLogEntry_ClientHeader{ - ClientHeader: clientHeader, - }, - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - if c.PeerAddr != nil { - ret.Peer = addrToProto(c.PeerAddr) - } - return ret -} - -// ServerHeader configs the binary log entry to be a ServerHeader entry. -type ServerHeader struct { - OnClientSide bool - Header metadata.MD - // PeerAddr is required only when it's on client side. - PeerAddr net.Addr -} - -func (c *ServerHeader) toProto() *pb.GrpcLogEntry { - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_SERVER_HEADER, - Payload: &pb.GrpcLogEntry_ServerHeader{ - ServerHeader: &pb.ServerHeader{ - Metadata: mdToMetadataProto(c.Header), - }, - }, - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - if c.PeerAddr != nil { - ret.Peer = addrToProto(c.PeerAddr) - } - return ret -} - -// ClientMessage configs the binary log entry to be a ClientMessage entry. -type ClientMessage struct { - OnClientSide bool - // Message can be a proto.Message or []byte. Other messages formats are not - // supported. - Message interface{} -} - -func (c *ClientMessage) toProto() *pb.GrpcLogEntry { - var ( - data []byte - err error - ) - if m, ok := c.Message.(proto.Message); ok { - data, err = proto.Marshal(m) - if err != nil { - grpclogLogger.Infof("binarylogging: failed to marshal proto message: %v", err) - } - } else if b, ok := c.Message.([]byte); ok { - data = b - } else { - grpclogLogger.Infof("binarylogging: message to log is neither proto.message nor []byte") - } - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_CLIENT_MESSAGE, - Payload: &pb.GrpcLogEntry_Message{ - Message: &pb.Message{ - Length: uint32(len(data)), - Data: data, - }, - }, - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - return ret -} - -// ServerMessage configs the binary log entry to be a ServerMessage entry. -type ServerMessage struct { - OnClientSide bool - // Message can be a proto.Message or []byte. Other messages formats are not - // supported. - Message interface{} -} - -func (c *ServerMessage) toProto() *pb.GrpcLogEntry { - var ( - data []byte - err error - ) - if m, ok := c.Message.(proto.Message); ok { - data, err = proto.Marshal(m) - if err != nil { - grpclogLogger.Infof("binarylogging: failed to marshal proto message: %v", err) - } - } else if b, ok := c.Message.([]byte); ok { - data = b - } else { - grpclogLogger.Infof("binarylogging: message to log is neither proto.message nor []byte") - } - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_SERVER_MESSAGE, - Payload: &pb.GrpcLogEntry_Message{ - Message: &pb.Message{ - Length: uint32(len(data)), - Data: data, - }, - }, - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - return ret -} - -// ClientHalfClose configs the binary log entry to be a ClientHalfClose entry. -type ClientHalfClose struct { - OnClientSide bool -} - -func (c *ClientHalfClose) toProto() *pb.GrpcLogEntry { - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_CLIENT_HALF_CLOSE, - Payload: nil, // No payload here. - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - return ret -} - -// ServerTrailer configs the binary log entry to be a ServerTrailer entry. -type ServerTrailer struct { - OnClientSide bool - Trailer metadata.MD - // Err is the status error. - Err error - // PeerAddr is required only when it's on client side and the RPC is trailer - // only. - PeerAddr net.Addr -} - -func (c *ServerTrailer) toProto() *pb.GrpcLogEntry { - st, ok := status.FromError(c.Err) - if !ok { - grpclogLogger.Info("binarylogging: error in trailer is not a status error") - } - var ( - detailsBytes []byte - err error - ) - stProto := st.Proto() - if stProto != nil && len(stProto.Details) != 0 { - detailsBytes, err = proto.Marshal(stProto) - if err != nil { - grpclogLogger.Infof("binarylogging: failed to marshal status proto: %v", err) - } - } - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_SERVER_TRAILER, - Payload: &pb.GrpcLogEntry_Trailer{ - Trailer: &pb.Trailer{ - Metadata: mdToMetadataProto(c.Trailer), - StatusCode: uint32(st.Code()), - StatusMessage: st.Message(), - StatusDetails: detailsBytes, - }, - }, - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - if c.PeerAddr != nil { - ret.Peer = addrToProto(c.PeerAddr) - } - return ret -} - -// Cancel configs the binary log entry to be a Cancel entry. -type Cancel struct { - OnClientSide bool -} - -func (c *Cancel) toProto() *pb.GrpcLogEntry { - ret := &pb.GrpcLogEntry{ - Type: pb.GrpcLogEntry_EVENT_TYPE_CANCEL, - Payload: nil, - } - if c.OnClientSide { - ret.Logger = pb.GrpcLogEntry_LOGGER_CLIENT - } else { - ret.Logger = pb.GrpcLogEntry_LOGGER_SERVER - } - return ret -} - -// metadataKeyOmit returns whether the metadata entry with this key should be -// omitted. -func metadataKeyOmit(key string) bool { - switch key { - case "lb-token", ":path", ":authority", "content-encoding", "content-type", "user-agent", "te": - return true - case "grpc-trace-bin": // grpc-trace-bin is special because it's visiable to users. - return false - } - return strings.HasPrefix(key, "grpc-") -} - -func mdToMetadataProto(md metadata.MD) *pb.Metadata { - ret := &pb.Metadata{} - for k, vv := range md { - if metadataKeyOmit(k) { - continue - } - for _, v := range vv { - ret.Entry = append(ret.Entry, - &pb.MetadataEntry{ - Key: k, - Value: []byte(v), - }, - ) - } - } - return ret -} - -func addrToProto(addr net.Addr) *pb.Address { - ret := &pb.Address{} - switch a := addr.(type) { - case *net.TCPAddr: - if a.IP.To4() != nil { - ret.Type = pb.Address_TYPE_IPV4 - } else if a.IP.To16() != nil { - ret.Type = pb.Address_TYPE_IPV6 - } else { - ret.Type = pb.Address_TYPE_UNKNOWN - // Do not set address and port fields. - break - } - ret.Address = a.IP.String() - ret.IpPort = uint32(a.Port) - case *net.UnixAddr: - ret.Type = pb.Address_TYPE_UNIX - ret.Address = a.String() - default: - ret.Type = pb.Address_TYPE_UNKNOWN - } - return ret -} diff --git a/vendor/google.golang.org/grpc/internal/binarylog/sink.go b/vendor/google.golang.org/grpc/internal/binarylog/sink.go deleted file mode 100644 index c2fdd58b..00000000 --- a/vendor/google.golang.org/grpc/internal/binarylog/sink.go +++ /dev/null @@ -1,170 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 binarylog - -import ( - "bufio" - "encoding/binary" - "io" - "sync" - "time" - - "github.com/golang/protobuf/proto" - pb "google.golang.org/grpc/binarylog/grpc_binarylog_v1" -) - -var ( - // DefaultSink is the sink where the logs will be written to. It's exported - // for the binarylog package to update. - DefaultSink Sink = &noopSink{} // TODO(blog): change this default (file in /tmp). -) - -// Sink writes log entry into the binary log sink. -// -// sink is a copy of the exported binarylog.Sink, to avoid circular dependency. -type Sink interface { - // Write will be called to write the log entry into the sink. - // - // It should be thread-safe so it can be called in parallel. - Write(*pb.GrpcLogEntry) error - // Close will be called when the Sink is replaced by a new Sink. - Close() error -} - -type noopSink struct{} - -func (ns *noopSink) Write(*pb.GrpcLogEntry) error { return nil } -func (ns *noopSink) Close() error { return nil } - -// newWriterSink creates a binary log sink with the given writer. -// -// Write() marshals the proto message and writes it to the given writer. Each -// message is prefixed with a 4 byte big endian unsigned integer as the length. -// -// No buffer is done, Close() doesn't try to close the writer. -func newWriterSink(w io.Writer) Sink { - return &writerSink{out: w} -} - -type writerSink struct { - out io.Writer -} - -func (ws *writerSink) Write(e *pb.GrpcLogEntry) error { - b, err := proto.Marshal(e) - if err != nil { - grpclogLogger.Errorf("binary logging: failed to marshal proto message: %v", err) - return err - } - hdr := make([]byte, 4) - binary.BigEndian.PutUint32(hdr, uint32(len(b))) - if _, err := ws.out.Write(hdr); err != nil { - return err - } - if _, err := ws.out.Write(b); err != nil { - return err - } - return nil -} - -func (ws *writerSink) Close() error { return nil } - -type bufferedSink struct { - mu sync.Mutex - closer io.Closer - out Sink // out is built on buf. - buf *bufio.Writer // buf is kept for flush. - flusherStarted bool - - writeTicker *time.Ticker - done chan struct{} -} - -func (fs *bufferedSink) Write(e *pb.GrpcLogEntry) error { - fs.mu.Lock() - defer fs.mu.Unlock() - if !fs.flusherStarted { - // Start the write loop when Write is called. - fs.startFlushGoroutine() - fs.flusherStarted = true - } - if err := fs.out.Write(e); err != nil { - return err - } - return nil -} - -const ( - bufFlushDuration = 60 * time.Second -) - -func (fs *bufferedSink) startFlushGoroutine() { - fs.writeTicker = time.NewTicker(bufFlushDuration) - go func() { - for { - select { - case <-fs.done: - return - case <-fs.writeTicker.C: - } - fs.mu.Lock() - if err := fs.buf.Flush(); err != nil { - grpclogLogger.Warningf("failed to flush to Sink: %v", err) - } - fs.mu.Unlock() - } - }() -} - -func (fs *bufferedSink) Close() error { - fs.mu.Lock() - defer fs.mu.Unlock() - if fs.writeTicker != nil { - fs.writeTicker.Stop() - } - close(fs.done) - if err := fs.buf.Flush(); err != nil { - grpclogLogger.Warningf("failed to flush to Sink: %v", err) - } - if err := fs.closer.Close(); err != nil { - grpclogLogger.Warningf("failed to close the underlying WriterCloser: %v", err) - } - if err := fs.out.Close(); err != nil { - grpclogLogger.Warningf("failed to close the Sink: %v", err) - } - return nil -} - -// NewBufferedSink creates a binary log sink with the given WriteCloser. -// -// Write() marshals the proto message and writes it to the given writer. Each -// message is prefixed with a 4 byte big endian unsigned integer as the length. -// -// Content is kept in a buffer, and is flushed every 60 seconds. -// -// Close closes the WriteCloser. -func NewBufferedSink(o io.WriteCloser) Sink { - bufW := bufio.NewWriter(o) - return &bufferedSink{ - closer: o, - out: newWriterSink(bufW), - buf: bufW, - done: make(chan struct{}), - } -} diff --git a/vendor/google.golang.org/grpc/internal/buffer/unbounded.go b/vendor/google.golang.org/grpc/internal/buffer/unbounded.go deleted file mode 100644 index 9f6a0c12..00000000 --- a/vendor/google.golang.org/grpc/internal/buffer/unbounded.go +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2019 gRPC 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 buffer provides an implementation of an unbounded buffer. -package buffer - -import "sync" - -// Unbounded is an implementation of an unbounded buffer which does not use -// extra goroutines. This is typically used for passing updates from one entity -// to another within gRPC. -// -// All methods on this type are thread-safe and don't block on anything except -// the underlying mutex used for synchronization. -// -// Unbounded supports values of any type to be stored in it by using a channel -// of `interface{}`. This means that a call to Put() incurs an extra memory -// allocation, and also that users need a type assertion while reading. For -// performance critical code paths, using Unbounded is strongly discouraged and -// defining a new type specific implementation of this buffer is preferred. See -// internal/transport/transport.go for an example of this. -type Unbounded struct { - c chan interface{} - mu sync.Mutex - backlog []interface{} -} - -// NewUnbounded returns a new instance of Unbounded. -func NewUnbounded() *Unbounded { - return &Unbounded{c: make(chan interface{}, 1)} -} - -// Put adds t to the unbounded buffer. -func (b *Unbounded) Put(t interface{}) { - b.mu.Lock() - if len(b.backlog) == 0 { - select { - case b.c <- t: - b.mu.Unlock() - return - default: - } - } - b.backlog = append(b.backlog, t) - b.mu.Unlock() -} - -// Load sends the earliest buffered data, if any, onto the read channel -// returned by Get(). Users are expected to call this every time they read a -// value from the read channel. -func (b *Unbounded) Load() { - b.mu.Lock() - if len(b.backlog) > 0 { - select { - case b.c <- b.backlog[0]: - b.backlog[0] = nil - b.backlog = b.backlog[1:] - default: - } - } - b.mu.Unlock() -} - -// Get returns a read channel on which values added to the buffer, via Put(), -// are sent on. -// -// Upon reading a value from this channel, users are expected to call Load() to -// send the next buffered value onto the channel if there is any. -func (b *Unbounded) Get() <-chan interface{} { - return b.c -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/funcs.go b/vendor/google.golang.org/grpc/internal/channelz/funcs.go deleted file mode 100644 index 777cbcd7..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/funcs.go +++ /dev/null @@ -1,789 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 channelz defines APIs for enabling channelz service, entry -// registration/deletion, and accessing channelz data. It also defines channelz -// metric struct formats. -// -// All APIs in this package are experimental. -package channelz - -import ( - "context" - "errors" - "fmt" - "sort" - "sync" - "sync/atomic" - "time" - - "google.golang.org/grpc/grpclog" -) - -const ( - defaultMaxTraceEntry int32 = 30 -) - -var ( - db dbWrapper - idGen idGenerator - // EntryPerPage defines the number of channelz entries to be shown on a web page. - EntryPerPage = int64(50) - curState int32 - maxTraceEntry = defaultMaxTraceEntry -) - -// TurnOn turns on channelz data collection. -func TurnOn() { - if !IsOn() { - db.set(newChannelMap()) - idGen.reset() - atomic.StoreInt32(&curState, 1) - } -} - -// IsOn returns whether channelz data collection is on. -func IsOn() bool { - return atomic.CompareAndSwapInt32(&curState, 1, 1) -} - -// SetMaxTraceEntry sets maximum number of trace entry per entity (i.e. channel/subchannel). -// Setting it to 0 will disable channel tracing. -func SetMaxTraceEntry(i int32) { - atomic.StoreInt32(&maxTraceEntry, i) -} - -// ResetMaxTraceEntryToDefault resets the maximum number of trace entry per entity to default. -func ResetMaxTraceEntryToDefault() { - atomic.StoreInt32(&maxTraceEntry, defaultMaxTraceEntry) -} - -func getMaxTraceEntry() int { - i := atomic.LoadInt32(&maxTraceEntry) - return int(i) -} - -// dbWarpper wraps around a reference to internal channelz data storage, and -// provide synchronized functionality to set and get the reference. -type dbWrapper struct { - mu sync.RWMutex - DB *channelMap -} - -func (d *dbWrapper) set(db *channelMap) { - d.mu.Lock() - d.DB = db - d.mu.Unlock() -} - -func (d *dbWrapper) get() *channelMap { - d.mu.RLock() - defer d.mu.RUnlock() - return d.DB -} - -// NewChannelzStorageForTesting initializes channelz data storage and id -// generator for testing purposes. -// -// Returns a cleanup function to be invoked by the test, which waits for up to -// 10s for all channelz state to be reset by the grpc goroutines when those -// entities get closed. This cleanup function helps with ensuring that tests -// don't mess up each other. -func NewChannelzStorageForTesting() (cleanup func() error) { - db.set(newChannelMap()) - idGen.reset() - - return func() error { - cm := db.get() - if cm == nil { - return nil - } - - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) - defer cancel() - ticker := time.NewTicker(10 * time.Millisecond) - defer ticker.Stop() - for { - cm.mu.RLock() - topLevelChannels, servers, channels, subChannels, listenSockets, normalSockets := len(cm.topLevelChannels), len(cm.servers), len(cm.channels), len(cm.subChannels), len(cm.listenSockets), len(cm.normalSockets) - cm.mu.RUnlock() - - if err := ctx.Err(); err != nil { - return fmt.Errorf("after 10s the channelz map has not been cleaned up yet, topchannels: %d, servers: %d, channels: %d, subchannels: %d, listen sockets: %d, normal sockets: %d", topLevelChannels, servers, channels, subChannels, listenSockets, normalSockets) - } - if topLevelChannels == 0 && servers == 0 && channels == 0 && subChannels == 0 && listenSockets == 0 && normalSockets == 0 { - return nil - } - <-ticker.C - } - } -} - -// GetTopChannels returns a slice of top channel's ChannelMetric, along with a -// boolean indicating whether there's more top channels to be queried for. -// -// The arg id specifies that only top channel with id at or above it will be included -// in the result. The returned slice is up to a length of the arg maxResults or -// EntryPerPage if maxResults is zero, and is sorted in ascending id order. -func GetTopChannels(id int64, maxResults int64) ([]*ChannelMetric, bool) { - return db.get().GetTopChannels(id, maxResults) -} - -// GetServers returns a slice of server's ServerMetric, along with a -// boolean indicating whether there's more servers to be queried for. -// -// The arg id specifies that only server with id at or above it will be included -// in the result. The returned slice is up to a length of the arg maxResults or -// EntryPerPage if maxResults is zero, and is sorted in ascending id order. -func GetServers(id int64, maxResults int64) ([]*ServerMetric, bool) { - return db.get().GetServers(id, maxResults) -} - -// GetServerSockets returns a slice of server's (identified by id) normal socket's -// SocketMetric, along with a boolean indicating whether there's more sockets to -// be queried for. -// -// The arg startID specifies that only sockets with id at or above it will be -// included in the result. The returned slice is up to a length of the arg maxResults -// or EntryPerPage if maxResults is zero, and is sorted in ascending id order. -func GetServerSockets(id int64, startID int64, maxResults int64) ([]*SocketMetric, bool) { - return db.get().GetServerSockets(id, startID, maxResults) -} - -// GetChannel returns the ChannelMetric for the channel (identified by id). -func GetChannel(id int64) *ChannelMetric { - return db.get().GetChannel(id) -} - -// GetSubChannel returns the SubChannelMetric for the subchannel (identified by id). -func GetSubChannel(id int64) *SubChannelMetric { - return db.get().GetSubChannel(id) -} - -// GetSocket returns the SocketInternalMetric for the socket (identified by id). -func GetSocket(id int64) *SocketMetric { - return db.get().GetSocket(id) -} - -// GetServer returns the ServerMetric for the server (identified by id). -func GetServer(id int64) *ServerMetric { - return db.get().GetServer(id) -} - -// RegisterChannel registers the given channel c in the channelz database with -// ref as its reference name, and adds it to the child list of its parent -// (identified by pid). pid == nil means no parent. -// -// Returns a unique channelz identifier assigned to this channel. -// -// If channelz is not turned ON, the channelz database is not mutated. -func RegisterChannel(c Channel, pid *Identifier, ref string) *Identifier { - id := idGen.genID() - var parent int64 - isTopChannel := true - if pid != nil { - isTopChannel = false - parent = pid.Int() - } - - if !IsOn() { - return newIdentifer(RefChannel, id, pid) - } - - cn := &channel{ - refName: ref, - c: c, - subChans: make(map[int64]string), - nestedChans: make(map[int64]string), - id: id, - pid: parent, - trace: &channelTrace{createdTime: time.Now(), events: make([]*TraceEvent, 0, getMaxTraceEntry())}, - } - db.get().addChannel(id, cn, isTopChannel, parent) - return newIdentifer(RefChannel, id, pid) -} - -// RegisterSubChannel registers the given subChannel c in the channelz database -// with ref as its reference name, and adds it to the child list of its parent -// (identified by pid). -// -// Returns a unique channelz identifier assigned to this subChannel. -// -// If channelz is not turned ON, the channelz database is not mutated. -func RegisterSubChannel(c Channel, pid *Identifier, ref string) (*Identifier, error) { - if pid == nil { - return nil, errors.New("a SubChannel's parent id cannot be nil") - } - id := idGen.genID() - if !IsOn() { - return newIdentifer(RefSubChannel, id, pid), nil - } - - sc := &subChannel{ - refName: ref, - c: c, - sockets: make(map[int64]string), - id: id, - pid: pid.Int(), - trace: &channelTrace{createdTime: time.Now(), events: make([]*TraceEvent, 0, getMaxTraceEntry())}, - } - db.get().addSubChannel(id, sc, pid.Int()) - return newIdentifer(RefSubChannel, id, pid), nil -} - -// RegisterServer registers the given server s in channelz database. It returns -// the unique channelz tracking id assigned to this server. -// -// If channelz is not turned ON, the channelz database is not mutated. -func RegisterServer(s Server, ref string) *Identifier { - id := idGen.genID() - if !IsOn() { - return newIdentifer(RefServer, id, nil) - } - - svr := &server{ - refName: ref, - s: s, - sockets: make(map[int64]string), - listenSockets: make(map[int64]string), - id: id, - } - db.get().addServer(id, svr) - return newIdentifer(RefServer, id, nil) -} - -// RegisterListenSocket registers the given listen socket s in channelz database -// with ref as its reference name, and add it to the child list of its parent -// (identified by pid). It returns the unique channelz tracking id assigned to -// this listen socket. -// -// If channelz is not turned ON, the channelz database is not mutated. -func RegisterListenSocket(s Socket, pid *Identifier, ref string) (*Identifier, error) { - if pid == nil { - return nil, errors.New("a ListenSocket's parent id cannot be 0") - } - id := idGen.genID() - if !IsOn() { - return newIdentifer(RefListenSocket, id, pid), nil - } - - ls := &listenSocket{refName: ref, s: s, id: id, pid: pid.Int()} - db.get().addListenSocket(id, ls, pid.Int()) - return newIdentifer(RefListenSocket, id, pid), nil -} - -// RegisterNormalSocket registers the given normal socket s in channelz database -// with ref as its reference name, and adds it to the child list of its parent -// (identified by pid). It returns the unique channelz tracking id assigned to -// this normal socket. -// -// If channelz is not turned ON, the channelz database is not mutated. -func RegisterNormalSocket(s Socket, pid *Identifier, ref string) (*Identifier, error) { - if pid == nil { - return nil, errors.New("a NormalSocket's parent id cannot be 0") - } - id := idGen.genID() - if !IsOn() { - return newIdentifer(RefNormalSocket, id, pid), nil - } - - ns := &normalSocket{refName: ref, s: s, id: id, pid: pid.Int()} - db.get().addNormalSocket(id, ns, pid.Int()) - return newIdentifer(RefNormalSocket, id, pid), nil -} - -// RemoveEntry removes an entry with unique channelz tracking id to be id from -// channelz database. -// -// If channelz is not turned ON, this function is a no-op. -func RemoveEntry(id *Identifier) { - if !IsOn() { - return - } - db.get().removeEntry(id.Int()) -} - -// TraceEventDesc is what the caller of AddTraceEvent should provide to describe -// the event to be added to the channel trace. -// -// The Parent field is optional. It is used for an event that will be recorded -// in the entity's parent trace. -type TraceEventDesc struct { - Desc string - Severity Severity - Parent *TraceEventDesc -} - -// AddTraceEvent adds trace related to the entity with specified id, using the -// provided TraceEventDesc. -// -// If channelz is not turned ON, this will simply log the event descriptions. -func AddTraceEvent(l grpclog.DepthLoggerV2, id *Identifier, depth int, desc *TraceEventDesc) { - // Log only the trace description associated with the bottom most entity. - switch desc.Severity { - case CtUnknown, CtInfo: - l.InfoDepth(depth+1, withParens(id)+desc.Desc) - case CtWarning: - l.WarningDepth(depth+1, withParens(id)+desc.Desc) - case CtError: - l.ErrorDepth(depth+1, withParens(id)+desc.Desc) - } - - if getMaxTraceEntry() == 0 { - return - } - if IsOn() { - db.get().traceEvent(id.Int(), desc) - } -} - -// channelMap is the storage data structure for channelz. -// Methods of channelMap can be divided in two two categories with respect to locking. -// 1. Methods acquire the global lock. -// 2. Methods that can only be called when global lock is held. -// A second type of method need always to be called inside a first type of method. -type channelMap struct { - mu sync.RWMutex - topLevelChannels map[int64]struct{} - servers map[int64]*server - channels map[int64]*channel - subChannels map[int64]*subChannel - listenSockets map[int64]*listenSocket - normalSockets map[int64]*normalSocket -} - -func newChannelMap() *channelMap { - return &channelMap{ - topLevelChannels: make(map[int64]struct{}), - channels: make(map[int64]*channel), - listenSockets: make(map[int64]*listenSocket), - normalSockets: make(map[int64]*normalSocket), - servers: make(map[int64]*server), - subChannels: make(map[int64]*subChannel), - } -} - -func (c *channelMap) addServer(id int64, s *server) { - c.mu.Lock() - s.cm = c - c.servers[id] = s - c.mu.Unlock() -} - -func (c *channelMap) addChannel(id int64, cn *channel, isTopChannel bool, pid int64) { - c.mu.Lock() - cn.cm = c - cn.trace.cm = c - c.channels[id] = cn - if isTopChannel { - c.topLevelChannels[id] = struct{}{} - } else { - c.findEntry(pid).addChild(id, cn) - } - c.mu.Unlock() -} - -func (c *channelMap) addSubChannel(id int64, sc *subChannel, pid int64) { - c.mu.Lock() - sc.cm = c - sc.trace.cm = c - c.subChannels[id] = sc - c.findEntry(pid).addChild(id, sc) - c.mu.Unlock() -} - -func (c *channelMap) addListenSocket(id int64, ls *listenSocket, pid int64) { - c.mu.Lock() - ls.cm = c - c.listenSockets[id] = ls - c.findEntry(pid).addChild(id, ls) - c.mu.Unlock() -} - -func (c *channelMap) addNormalSocket(id int64, ns *normalSocket, pid int64) { - c.mu.Lock() - ns.cm = c - c.normalSockets[id] = ns - c.findEntry(pid).addChild(id, ns) - c.mu.Unlock() -} - -// removeEntry triggers the removal of an entry, which may not indeed delete the entry, if it has to -// wait on the deletion of its children and until no other entity's channel trace references it. -// It may lead to a chain of entry deletion. For example, deleting the last socket of a gracefully -// shutting down server will lead to the server being also deleted. -func (c *channelMap) removeEntry(id int64) { - c.mu.Lock() - c.findEntry(id).triggerDelete() - c.mu.Unlock() -} - -// c.mu must be held by the caller -func (c *channelMap) decrTraceRefCount(id int64) { - e := c.findEntry(id) - if v, ok := e.(tracedChannel); ok { - v.decrTraceRefCount() - e.deleteSelfIfReady() - } -} - -// c.mu must be held by the caller. -func (c *channelMap) findEntry(id int64) entry { - var v entry - var ok bool - if v, ok = c.channels[id]; ok { - return v - } - if v, ok = c.subChannels[id]; ok { - return v - } - if v, ok = c.servers[id]; ok { - return v - } - if v, ok = c.listenSockets[id]; ok { - return v - } - if v, ok = c.normalSockets[id]; ok { - return v - } - return &dummyEntry{idNotFound: id} -} - -// c.mu must be held by the caller -// deleteEntry simply deletes an entry from the channelMap. Before calling this -// method, caller must check this entry is ready to be deleted, i.e removeEntry() -// has been called on it, and no children still exist. -// Conditionals are ordered by the expected frequency of deletion of each entity -// type, in order to optimize performance. -func (c *channelMap) deleteEntry(id int64) { - var ok bool - if _, ok = c.normalSockets[id]; ok { - delete(c.normalSockets, id) - return - } - if _, ok = c.subChannels[id]; ok { - delete(c.subChannels, id) - return - } - if _, ok = c.channels[id]; ok { - delete(c.channels, id) - delete(c.topLevelChannels, id) - return - } - if _, ok = c.listenSockets[id]; ok { - delete(c.listenSockets, id) - return - } - if _, ok = c.servers[id]; ok { - delete(c.servers, id) - return - } -} - -func (c *channelMap) traceEvent(id int64, desc *TraceEventDesc) { - c.mu.Lock() - child := c.findEntry(id) - childTC, ok := child.(tracedChannel) - if !ok { - c.mu.Unlock() - return - } - childTC.getChannelTrace().append(&TraceEvent{Desc: desc.Desc, Severity: desc.Severity, Timestamp: time.Now()}) - if desc.Parent != nil { - parent := c.findEntry(child.getParentID()) - var chanType RefChannelType - switch child.(type) { - case *channel: - chanType = RefChannel - case *subChannel: - chanType = RefSubChannel - } - if parentTC, ok := parent.(tracedChannel); ok { - parentTC.getChannelTrace().append(&TraceEvent{ - Desc: desc.Parent.Desc, - Severity: desc.Parent.Severity, - Timestamp: time.Now(), - RefID: id, - RefName: childTC.getRefName(), - RefType: chanType, - }) - childTC.incrTraceRefCount() - } - } - c.mu.Unlock() -} - -type int64Slice []int64 - -func (s int64Slice) Len() int { return len(s) } -func (s int64Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] } -func (s int64Slice) Less(i, j int) bool { return s[i] < s[j] } - -func copyMap(m map[int64]string) map[int64]string { - n := make(map[int64]string) - for k, v := range m { - n[k] = v - } - return n -} - -func min(a, b int64) int64 { - if a < b { - return a - } - return b -} - -func (c *channelMap) GetTopChannels(id int64, maxResults int64) ([]*ChannelMetric, bool) { - if maxResults <= 0 { - maxResults = EntryPerPage - } - c.mu.RLock() - l := int64(len(c.topLevelChannels)) - ids := make([]int64, 0, l) - cns := make([]*channel, 0, min(l, maxResults)) - - for k := range c.topLevelChannels { - ids = append(ids, k) - } - sort.Sort(int64Slice(ids)) - idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id }) - count := int64(0) - var end bool - var t []*ChannelMetric - for i, v := range ids[idx:] { - if count == maxResults { - break - } - if cn, ok := c.channels[v]; ok { - cns = append(cns, cn) - t = append(t, &ChannelMetric{ - NestedChans: copyMap(cn.nestedChans), - SubChans: copyMap(cn.subChans), - }) - count++ - } - if i == len(ids[idx:])-1 { - end = true - break - } - } - c.mu.RUnlock() - if count == 0 { - end = true - } - - for i, cn := range cns { - t[i].ChannelData = cn.c.ChannelzMetric() - t[i].ID = cn.id - t[i].RefName = cn.refName - t[i].Trace = cn.trace.dumpData() - } - return t, end -} - -func (c *channelMap) GetServers(id, maxResults int64) ([]*ServerMetric, bool) { - if maxResults <= 0 { - maxResults = EntryPerPage - } - c.mu.RLock() - l := int64(len(c.servers)) - ids := make([]int64, 0, l) - ss := make([]*server, 0, min(l, maxResults)) - for k := range c.servers { - ids = append(ids, k) - } - sort.Sort(int64Slice(ids)) - idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id }) - count := int64(0) - var end bool - var s []*ServerMetric - for i, v := range ids[idx:] { - if count == maxResults { - break - } - if svr, ok := c.servers[v]; ok { - ss = append(ss, svr) - s = append(s, &ServerMetric{ - ListenSockets: copyMap(svr.listenSockets), - }) - count++ - } - if i == len(ids[idx:])-1 { - end = true - break - } - } - c.mu.RUnlock() - if count == 0 { - end = true - } - - for i, svr := range ss { - s[i].ServerData = svr.s.ChannelzMetric() - s[i].ID = svr.id - s[i].RefName = svr.refName - } - return s, end -} - -func (c *channelMap) GetServerSockets(id int64, startID int64, maxResults int64) ([]*SocketMetric, bool) { - if maxResults <= 0 { - maxResults = EntryPerPage - } - var svr *server - var ok bool - c.mu.RLock() - if svr, ok = c.servers[id]; !ok { - // server with id doesn't exist. - c.mu.RUnlock() - return nil, true - } - svrskts := svr.sockets - l := int64(len(svrskts)) - ids := make([]int64, 0, l) - sks := make([]*normalSocket, 0, min(l, maxResults)) - for k := range svrskts { - ids = append(ids, k) - } - sort.Sort(int64Slice(ids)) - idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= startID }) - count := int64(0) - var end bool - for i, v := range ids[idx:] { - if count == maxResults { - break - } - if ns, ok := c.normalSockets[v]; ok { - sks = append(sks, ns) - count++ - } - if i == len(ids[idx:])-1 { - end = true - break - } - } - c.mu.RUnlock() - if count == 0 { - end = true - } - s := make([]*SocketMetric, 0, len(sks)) - for _, ns := range sks { - sm := &SocketMetric{} - sm.SocketData = ns.s.ChannelzMetric() - sm.ID = ns.id - sm.RefName = ns.refName - s = append(s, sm) - } - return s, end -} - -func (c *channelMap) GetChannel(id int64) *ChannelMetric { - cm := &ChannelMetric{} - var cn *channel - var ok bool - c.mu.RLock() - if cn, ok = c.channels[id]; !ok { - // channel with id doesn't exist. - c.mu.RUnlock() - return nil - } - cm.NestedChans = copyMap(cn.nestedChans) - cm.SubChans = copyMap(cn.subChans) - // cn.c can be set to &dummyChannel{} when deleteSelfFromMap is called. Save a copy of cn.c when - // holding the lock to prevent potential data race. - chanCopy := cn.c - c.mu.RUnlock() - cm.ChannelData = chanCopy.ChannelzMetric() - cm.ID = cn.id - cm.RefName = cn.refName - cm.Trace = cn.trace.dumpData() - return cm -} - -func (c *channelMap) GetSubChannel(id int64) *SubChannelMetric { - cm := &SubChannelMetric{} - var sc *subChannel - var ok bool - c.mu.RLock() - if sc, ok = c.subChannels[id]; !ok { - // subchannel with id doesn't exist. - c.mu.RUnlock() - return nil - } - cm.Sockets = copyMap(sc.sockets) - // sc.c can be set to &dummyChannel{} when deleteSelfFromMap is called. Save a copy of sc.c when - // holding the lock to prevent potential data race. - chanCopy := sc.c - c.mu.RUnlock() - cm.ChannelData = chanCopy.ChannelzMetric() - cm.ID = sc.id - cm.RefName = sc.refName - cm.Trace = sc.trace.dumpData() - return cm -} - -func (c *channelMap) GetSocket(id int64) *SocketMetric { - sm := &SocketMetric{} - c.mu.RLock() - if ls, ok := c.listenSockets[id]; ok { - c.mu.RUnlock() - sm.SocketData = ls.s.ChannelzMetric() - sm.ID = ls.id - sm.RefName = ls.refName - return sm - } - if ns, ok := c.normalSockets[id]; ok { - c.mu.RUnlock() - sm.SocketData = ns.s.ChannelzMetric() - sm.ID = ns.id - sm.RefName = ns.refName - return sm - } - c.mu.RUnlock() - return nil -} - -func (c *channelMap) GetServer(id int64) *ServerMetric { - sm := &ServerMetric{} - var svr *server - var ok bool - c.mu.RLock() - if svr, ok = c.servers[id]; !ok { - c.mu.RUnlock() - return nil - } - sm.ListenSockets = copyMap(svr.listenSockets) - c.mu.RUnlock() - sm.ID = svr.id - sm.RefName = svr.refName - sm.ServerData = svr.s.ChannelzMetric() - return sm -} - -type idGenerator struct { - id int64 -} - -func (i *idGenerator) reset() { - atomic.StoreInt64(&i.id, 0) -} - -func (i *idGenerator) genID() int64 { - return atomic.AddInt64(&i.id, 1) -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/id.go b/vendor/google.golang.org/grpc/internal/channelz/id.go deleted file mode 100644 index c9a27acd..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/id.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * - * Copyright 2022 gRPC 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 channelz - -import "fmt" - -// Identifier is an opaque identifier which uniquely identifies an entity in the -// channelz database. -type Identifier struct { - typ RefChannelType - id int64 - str string - pid *Identifier -} - -// Type returns the entity type corresponding to id. -func (id *Identifier) Type() RefChannelType { - return id.typ -} - -// Int returns the integer identifier corresponding to id. -func (id *Identifier) Int() int64 { - return id.id -} - -// String returns a string representation of the entity corresponding to id. -// -// This includes some information about the parent as well. Examples: -// Top-level channel: [Channel #channel-number] -// Nested channel: [Channel #parent-channel-number Channel #channel-number] -// Sub channel: [Channel #parent-channel SubChannel #subchannel-number] -func (id *Identifier) String() string { - return id.str -} - -// Equal returns true if other is the same as id. -func (id *Identifier) Equal(other *Identifier) bool { - if (id != nil) != (other != nil) { - return false - } - if id == nil && other == nil { - return true - } - return id.typ == other.typ && id.id == other.id && id.pid == other.pid -} - -// NewIdentifierForTesting returns a new opaque identifier to be used only for -// testing purposes. -func NewIdentifierForTesting(typ RefChannelType, id int64, pid *Identifier) *Identifier { - return newIdentifer(typ, id, pid) -} - -func newIdentifer(typ RefChannelType, id int64, pid *Identifier) *Identifier { - str := fmt.Sprintf("%s #%d", typ, id) - if pid != nil { - str = fmt.Sprintf("%s %s", pid, str) - } - return &Identifier{typ: typ, id: id, str: str, pid: pid} -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/logging.go b/vendor/google.golang.org/grpc/internal/channelz/logging.go deleted file mode 100644 index 8e13a3d2..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/logging.go +++ /dev/null @@ -1,79 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 channelz - -import ( - "fmt" - - "google.golang.org/grpc/grpclog" -) - -var logger = grpclog.Component("channelz") - -func withParens(id *Identifier) string { - return "[" + id.String() + "] " -} - -// Info logs and adds a trace event if channelz is on. -func Info(l grpclog.DepthLoggerV2, id *Identifier, args ...interface{}) { - AddTraceEvent(l, id, 1, &TraceEventDesc{ - Desc: fmt.Sprint(args...), - Severity: CtInfo, - }) -} - -// Infof logs and adds a trace event if channelz is on. -func Infof(l grpclog.DepthLoggerV2, id *Identifier, format string, args ...interface{}) { - AddTraceEvent(l, id, 1, &TraceEventDesc{ - Desc: fmt.Sprintf(format, args...), - Severity: CtInfo, - }) -} - -// Warning logs and adds a trace event if channelz is on. -func Warning(l grpclog.DepthLoggerV2, id *Identifier, args ...interface{}) { - AddTraceEvent(l, id, 1, &TraceEventDesc{ - Desc: fmt.Sprint(args...), - Severity: CtWarning, - }) -} - -// Warningf logs and adds a trace event if channelz is on. -func Warningf(l grpclog.DepthLoggerV2, id *Identifier, format string, args ...interface{}) { - AddTraceEvent(l, id, 1, &TraceEventDesc{ - Desc: fmt.Sprintf(format, args...), - Severity: CtWarning, - }) -} - -// Error logs and adds a trace event if channelz is on. -func Error(l grpclog.DepthLoggerV2, id *Identifier, args ...interface{}) { - AddTraceEvent(l, id, 1, &TraceEventDesc{ - Desc: fmt.Sprint(args...), - Severity: CtError, - }) -} - -// Errorf logs and adds a trace event if channelz is on. -func Errorf(l grpclog.DepthLoggerV2, id *Identifier, format string, args ...interface{}) { - AddTraceEvent(l, id, 1, &TraceEventDesc{ - Desc: fmt.Sprintf(format, args...), - Severity: CtError, - }) -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/types.go b/vendor/google.golang.org/grpc/internal/channelz/types.go deleted file mode 100644 index ad0ce4da..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/types.go +++ /dev/null @@ -1,722 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 channelz - -import ( - "net" - "sync" - "sync/atomic" - "time" - - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/credentials" -) - -// entry represents a node in the channelz database. -type entry interface { - // addChild adds a child e, whose channelz id is id to child list - addChild(id int64, e entry) - // deleteChild deletes a child with channelz id to be id from child list - deleteChild(id int64) - // triggerDelete tries to delete self from channelz database. However, if child - // list is not empty, then deletion from the database is on hold until the last - // child is deleted from database. - triggerDelete() - // deleteSelfIfReady check whether triggerDelete() has been called before, and whether child - // list is now empty. If both conditions are met, then delete self from database. - deleteSelfIfReady() - // getParentID returns parent ID of the entry. 0 value parent ID means no parent. - getParentID() int64 -} - -// dummyEntry is a fake entry to handle entry not found case. -type dummyEntry struct { - idNotFound int64 -} - -func (d *dummyEntry) addChild(id int64, e entry) { - // Note: It is possible for a normal program to reach here under race condition. - // For example, there could be a race between ClientConn.Close() info being propagated - // to addrConn and http2Client. ClientConn.Close() cancel the context and result - // in http2Client to error. The error info is then caught by transport monitor - // and before addrConn.tearDown() is called in side ClientConn.Close(). Therefore, - // the addrConn will create a new transport. And when registering the new transport in - // channelz, its parent addrConn could have already been torn down and deleted - // from channelz tracking, and thus reach the code here. - logger.Infof("attempt to add child of type %T with id %d to a parent (id=%d) that doesn't currently exist", e, id, d.idNotFound) -} - -func (d *dummyEntry) deleteChild(id int64) { - // It is possible for a normal program to reach here under race condition. - // Refer to the example described in addChild(). - logger.Infof("attempt to delete child with id %d from a parent (id=%d) that doesn't currently exist", id, d.idNotFound) -} - -func (d *dummyEntry) triggerDelete() { - logger.Warningf("attempt to delete an entry (id=%d) that doesn't currently exist", d.idNotFound) -} - -func (*dummyEntry) deleteSelfIfReady() { - // code should not reach here. deleteSelfIfReady is always called on an existing entry. -} - -func (*dummyEntry) getParentID() int64 { - return 0 -} - -// ChannelMetric defines the info channelz provides for a specific Channel, which -// includes ChannelInternalMetric and channelz-specific data, such as channelz id, -// child list, etc. -type ChannelMetric struct { - // ID is the channelz id of this channel. - ID int64 - // RefName is the human readable reference string of this channel. - RefName string - // ChannelData contains channel internal metric reported by the channel through - // ChannelzMetric(). - ChannelData *ChannelInternalMetric - // NestedChans tracks the nested channel type children of this channel in the format of - // a map from nested channel channelz id to corresponding reference string. - NestedChans map[int64]string - // SubChans tracks the subchannel type children of this channel in the format of a - // map from subchannel channelz id to corresponding reference string. - SubChans map[int64]string - // Sockets tracks the socket type children of this channel in the format of a map - // from socket channelz id to corresponding reference string. - // Note current grpc implementation doesn't allow channel having sockets directly, - // therefore, this is field is unused. - Sockets map[int64]string - // Trace contains the most recent traced events. - Trace *ChannelTrace -} - -// SubChannelMetric defines the info channelz provides for a specific SubChannel, -// which includes ChannelInternalMetric and channelz-specific data, such as -// channelz id, child list, etc. -type SubChannelMetric struct { - // ID is the channelz id of this subchannel. - ID int64 - // RefName is the human readable reference string of this subchannel. - RefName string - // ChannelData contains subchannel internal metric reported by the subchannel - // through ChannelzMetric(). - ChannelData *ChannelInternalMetric - // NestedChans tracks the nested channel type children of this subchannel in the format of - // a map from nested channel channelz id to corresponding reference string. - // Note current grpc implementation doesn't allow subchannel to have nested channels - // as children, therefore, this field is unused. - NestedChans map[int64]string - // SubChans tracks the subchannel type children of this subchannel in the format of a - // map from subchannel channelz id to corresponding reference string. - // Note current grpc implementation doesn't allow subchannel to have subchannels - // as children, therefore, this field is unused. - SubChans map[int64]string - // Sockets tracks the socket type children of this subchannel in the format of a map - // from socket channelz id to corresponding reference string. - Sockets map[int64]string - // Trace contains the most recent traced events. - Trace *ChannelTrace -} - -// ChannelInternalMetric defines the struct that the implementor of Channel interface -// should return from ChannelzMetric(). -type ChannelInternalMetric struct { - // current connectivity state of the channel. - State connectivity.State - // The target this channel originally tried to connect to. May be absent - Target string - // The number of calls started on the channel. - CallsStarted int64 - // The number of calls that have completed with an OK status. - CallsSucceeded int64 - // The number of calls that have a completed with a non-OK status. - CallsFailed int64 - // The last time a call was started on the channel. - LastCallStartedTimestamp time.Time -} - -// ChannelTrace stores traced events on a channel/subchannel and related info. -type ChannelTrace struct { - // EventNum is the number of events that ever got traced (i.e. including those that have been deleted) - EventNum int64 - // CreationTime is the creation time of the trace. - CreationTime time.Time - // Events stores the most recent trace events (up to $maxTraceEntry, newer event will overwrite the - // oldest one) - Events []*TraceEvent -} - -// TraceEvent represent a single trace event -type TraceEvent struct { - // Desc is a simple description of the trace event. - Desc string - // Severity states the severity of this trace event. - Severity Severity - // Timestamp is the event time. - Timestamp time.Time - // RefID is the id of the entity that gets referenced in the event. RefID is 0 if no other entity is - // involved in this event. - // e.g. SubChannel (id: 4[]) Created. --> RefID = 4, RefName = "" (inside []) - RefID int64 - // RefName is the reference name for the entity that gets referenced in the event. - RefName string - // RefType indicates the referenced entity type, i.e Channel or SubChannel. - RefType RefChannelType -} - -// Channel is the interface that should be satisfied in order to be tracked by -// channelz as Channel or SubChannel. -type Channel interface { - ChannelzMetric() *ChannelInternalMetric -} - -type dummyChannel struct{} - -func (d *dummyChannel) ChannelzMetric() *ChannelInternalMetric { - return &ChannelInternalMetric{} -} - -type channel struct { - refName string - c Channel - closeCalled bool - nestedChans map[int64]string - subChans map[int64]string - id int64 - pid int64 - cm *channelMap - trace *channelTrace - // traceRefCount is the number of trace events that reference this channel. - // Non-zero traceRefCount means the trace of this channel cannot be deleted. - traceRefCount int32 -} - -func (c *channel) addChild(id int64, e entry) { - switch v := e.(type) { - case *subChannel: - c.subChans[id] = v.refName - case *channel: - c.nestedChans[id] = v.refName - default: - logger.Errorf("cannot add a child (id = %d) of type %T to a channel", id, e) - } -} - -func (c *channel) deleteChild(id int64) { - delete(c.subChans, id) - delete(c.nestedChans, id) - c.deleteSelfIfReady() -} - -func (c *channel) triggerDelete() { - c.closeCalled = true - c.deleteSelfIfReady() -} - -func (c *channel) getParentID() int64 { - return c.pid -} - -// deleteSelfFromTree tries to delete the channel from the channelz entry relation tree, which means -// deleting the channel reference from its parent's child list. -// -// In order for a channel to be deleted from the tree, it must meet the criteria that, removal of the -// corresponding grpc object has been invoked, and the channel does not have any children left. -// -// The returned boolean value indicates whether the channel has been successfully deleted from tree. -func (c *channel) deleteSelfFromTree() (deleted bool) { - if !c.closeCalled || len(c.subChans)+len(c.nestedChans) != 0 { - return false - } - // not top channel - if c.pid != 0 { - c.cm.findEntry(c.pid).deleteChild(c.id) - } - return true -} - -// deleteSelfFromMap checks whether it is valid to delete the channel from the map, which means -// deleting the channel from channelz's tracking entirely. Users can no longer use id to query the -// channel, and its memory will be garbage collected. -// -// The trace reference count of the channel must be 0 in order to be deleted from the map. This is -// specified in the channel tracing gRFC that as long as some other trace has reference to an entity, -// the trace of the referenced entity must not be deleted. In order to release the resource allocated -// by grpc, the reference to the grpc object is reset to a dummy object. -// -// deleteSelfFromMap must be called after deleteSelfFromTree returns true. -// -// It returns a bool to indicate whether the channel can be safely deleted from map. -func (c *channel) deleteSelfFromMap() (delete bool) { - if c.getTraceRefCount() != 0 { - c.c = &dummyChannel{} - return false - } - return true -} - -// deleteSelfIfReady tries to delete the channel itself from the channelz database. -// The delete process includes two steps: -// 1. delete the channel from the entry relation tree, i.e. delete the channel reference from its -// parent's child list. -// 2. delete the channel from the map, i.e. delete the channel entirely from channelz. Lookup by id -// will return entry not found error. -func (c *channel) deleteSelfIfReady() { - if !c.deleteSelfFromTree() { - return - } - if !c.deleteSelfFromMap() { - return - } - c.cm.deleteEntry(c.id) - c.trace.clear() -} - -func (c *channel) getChannelTrace() *channelTrace { - return c.trace -} - -func (c *channel) incrTraceRefCount() { - atomic.AddInt32(&c.traceRefCount, 1) -} - -func (c *channel) decrTraceRefCount() { - atomic.AddInt32(&c.traceRefCount, -1) -} - -func (c *channel) getTraceRefCount() int { - i := atomic.LoadInt32(&c.traceRefCount) - return int(i) -} - -func (c *channel) getRefName() string { - return c.refName -} - -type subChannel struct { - refName string - c Channel - closeCalled bool - sockets map[int64]string - id int64 - pid int64 - cm *channelMap - trace *channelTrace - traceRefCount int32 -} - -func (sc *subChannel) addChild(id int64, e entry) { - if v, ok := e.(*normalSocket); ok { - sc.sockets[id] = v.refName - } else { - logger.Errorf("cannot add a child (id = %d) of type %T to a subChannel", id, e) - } -} - -func (sc *subChannel) deleteChild(id int64) { - delete(sc.sockets, id) - sc.deleteSelfIfReady() -} - -func (sc *subChannel) triggerDelete() { - sc.closeCalled = true - sc.deleteSelfIfReady() -} - -func (sc *subChannel) getParentID() int64 { - return sc.pid -} - -// deleteSelfFromTree tries to delete the subchannel from the channelz entry relation tree, which -// means deleting the subchannel reference from its parent's child list. -// -// In order for a subchannel to be deleted from the tree, it must meet the criteria that, removal of -// the corresponding grpc object has been invoked, and the subchannel does not have any children left. -// -// The returned boolean value indicates whether the channel has been successfully deleted from tree. -func (sc *subChannel) deleteSelfFromTree() (deleted bool) { - if !sc.closeCalled || len(sc.sockets) != 0 { - return false - } - sc.cm.findEntry(sc.pid).deleteChild(sc.id) - return true -} - -// deleteSelfFromMap checks whether it is valid to delete the subchannel from the map, which means -// deleting the subchannel from channelz's tracking entirely. Users can no longer use id to query -// the subchannel, and its memory will be garbage collected. -// -// The trace reference count of the subchannel must be 0 in order to be deleted from the map. This is -// specified in the channel tracing gRFC that as long as some other trace has reference to an entity, -// the trace of the referenced entity must not be deleted. In order to release the resource allocated -// by grpc, the reference to the grpc object is reset to a dummy object. -// -// deleteSelfFromMap must be called after deleteSelfFromTree returns true. -// -// It returns a bool to indicate whether the channel can be safely deleted from map. -func (sc *subChannel) deleteSelfFromMap() (delete bool) { - if sc.getTraceRefCount() != 0 { - // free the grpc struct (i.e. addrConn) - sc.c = &dummyChannel{} - return false - } - return true -} - -// deleteSelfIfReady tries to delete the subchannel itself from the channelz database. -// The delete process includes two steps: -// 1. delete the subchannel from the entry relation tree, i.e. delete the subchannel reference from -// its parent's child list. -// 2. delete the subchannel from the map, i.e. delete the subchannel entirely from channelz. Lookup -// by id will return entry not found error. -func (sc *subChannel) deleteSelfIfReady() { - if !sc.deleteSelfFromTree() { - return - } - if !sc.deleteSelfFromMap() { - return - } - sc.cm.deleteEntry(sc.id) - sc.trace.clear() -} - -func (sc *subChannel) getChannelTrace() *channelTrace { - return sc.trace -} - -func (sc *subChannel) incrTraceRefCount() { - atomic.AddInt32(&sc.traceRefCount, 1) -} - -func (sc *subChannel) decrTraceRefCount() { - atomic.AddInt32(&sc.traceRefCount, -1) -} - -func (sc *subChannel) getTraceRefCount() int { - i := atomic.LoadInt32(&sc.traceRefCount) - return int(i) -} - -func (sc *subChannel) getRefName() string { - return sc.refName -} - -// SocketMetric defines the info channelz provides for a specific Socket, which -// includes SocketInternalMetric and channelz-specific data, such as channelz id, etc. -type SocketMetric struct { - // ID is the channelz id of this socket. - ID int64 - // RefName is the human readable reference string of this socket. - RefName string - // SocketData contains socket internal metric reported by the socket through - // ChannelzMetric(). - SocketData *SocketInternalMetric -} - -// SocketInternalMetric defines the struct that the implementor of Socket interface -// should return from ChannelzMetric(). -type SocketInternalMetric struct { - // The number of streams that have been started. - StreamsStarted int64 - // The number of streams that have ended successfully: - // On client side, receiving frame with eos bit set. - // On server side, sending frame with eos bit set. - StreamsSucceeded int64 - // The number of streams that have ended unsuccessfully: - // On client side, termination without receiving frame with eos bit set. - // On server side, termination without sending frame with eos bit set. - StreamsFailed int64 - // The number of messages successfully sent on this socket. - MessagesSent int64 - MessagesReceived int64 - // The number of keep alives sent. This is typically implemented with HTTP/2 - // ping messages. - KeepAlivesSent int64 - // The last time a stream was created by this endpoint. Usually unset for - // servers. - LastLocalStreamCreatedTimestamp time.Time - // The last time a stream was created by the remote endpoint. Usually unset - // for clients. - LastRemoteStreamCreatedTimestamp time.Time - // The last time a message was sent by this endpoint. - LastMessageSentTimestamp time.Time - // The last time a message was received by this endpoint. - LastMessageReceivedTimestamp time.Time - // The amount of window, granted to the local endpoint by the remote endpoint. - // This may be slightly out of date due to network latency. This does NOT - // include stream level or TCP level flow control info. - LocalFlowControlWindow int64 - // The amount of window, granted to the remote endpoint by the local endpoint. - // This may be slightly out of date due to network latency. This does NOT - // include stream level or TCP level flow control info. - RemoteFlowControlWindow int64 - // The locally bound address. - LocalAddr net.Addr - // The remote bound address. May be absent. - RemoteAddr net.Addr - // Optional, represents the name of the remote endpoint, if different than - // the original target name. - RemoteName string - SocketOptions *SocketOptionData - Security credentials.ChannelzSecurityValue -} - -// Socket is the interface that should be satisfied in order to be tracked by -// channelz as Socket. -type Socket interface { - ChannelzMetric() *SocketInternalMetric -} - -type listenSocket struct { - refName string - s Socket - id int64 - pid int64 - cm *channelMap -} - -func (ls *listenSocket) addChild(id int64, e entry) { - logger.Errorf("cannot add a child (id = %d) of type %T to a listen socket", id, e) -} - -func (ls *listenSocket) deleteChild(id int64) { - logger.Errorf("cannot delete a child (id = %d) from a listen socket", id) -} - -func (ls *listenSocket) triggerDelete() { - ls.cm.deleteEntry(ls.id) - ls.cm.findEntry(ls.pid).deleteChild(ls.id) -} - -func (ls *listenSocket) deleteSelfIfReady() { - logger.Errorf("cannot call deleteSelfIfReady on a listen socket") -} - -func (ls *listenSocket) getParentID() int64 { - return ls.pid -} - -type normalSocket struct { - refName string - s Socket - id int64 - pid int64 - cm *channelMap -} - -func (ns *normalSocket) addChild(id int64, e entry) { - logger.Errorf("cannot add a child (id = %d) of type %T to a normal socket", id, e) -} - -func (ns *normalSocket) deleteChild(id int64) { - logger.Errorf("cannot delete a child (id = %d) from a normal socket", id) -} - -func (ns *normalSocket) triggerDelete() { - ns.cm.deleteEntry(ns.id) - ns.cm.findEntry(ns.pid).deleteChild(ns.id) -} - -func (ns *normalSocket) deleteSelfIfReady() { - logger.Errorf("cannot call deleteSelfIfReady on a normal socket") -} - -func (ns *normalSocket) getParentID() int64 { - return ns.pid -} - -// ServerMetric defines the info channelz provides for a specific Server, which -// includes ServerInternalMetric and channelz-specific data, such as channelz id, -// child list, etc. -type ServerMetric struct { - // ID is the channelz id of this server. - ID int64 - // RefName is the human readable reference string of this server. - RefName string - // ServerData contains server internal metric reported by the server through - // ChannelzMetric(). - ServerData *ServerInternalMetric - // ListenSockets tracks the listener socket type children of this server in the - // format of a map from socket channelz id to corresponding reference string. - ListenSockets map[int64]string -} - -// ServerInternalMetric defines the struct that the implementor of Server interface -// should return from ChannelzMetric(). -type ServerInternalMetric struct { - // The number of incoming calls started on the server. - CallsStarted int64 - // The number of incoming calls that have completed with an OK status. - CallsSucceeded int64 - // The number of incoming calls that have a completed with a non-OK status. - CallsFailed int64 - // The last time a call was started on the server. - LastCallStartedTimestamp time.Time -} - -// Server is the interface to be satisfied in order to be tracked by channelz as -// Server. -type Server interface { - ChannelzMetric() *ServerInternalMetric -} - -type server struct { - refName string - s Server - closeCalled bool - sockets map[int64]string - listenSockets map[int64]string - id int64 - cm *channelMap -} - -func (s *server) addChild(id int64, e entry) { - switch v := e.(type) { - case *normalSocket: - s.sockets[id] = v.refName - case *listenSocket: - s.listenSockets[id] = v.refName - default: - logger.Errorf("cannot add a child (id = %d) of type %T to a server", id, e) - } -} - -func (s *server) deleteChild(id int64) { - delete(s.sockets, id) - delete(s.listenSockets, id) - s.deleteSelfIfReady() -} - -func (s *server) triggerDelete() { - s.closeCalled = true - s.deleteSelfIfReady() -} - -func (s *server) deleteSelfIfReady() { - if !s.closeCalled || len(s.sockets)+len(s.listenSockets) != 0 { - return - } - s.cm.deleteEntry(s.id) -} - -func (s *server) getParentID() int64 { - return 0 -} - -type tracedChannel interface { - getChannelTrace() *channelTrace - incrTraceRefCount() - decrTraceRefCount() - getRefName() string -} - -type channelTrace struct { - cm *channelMap - createdTime time.Time - eventCount int64 - mu sync.Mutex - events []*TraceEvent -} - -func (c *channelTrace) append(e *TraceEvent) { - c.mu.Lock() - if len(c.events) == getMaxTraceEntry() { - del := c.events[0] - c.events = c.events[1:] - if del.RefID != 0 { - // start recursive cleanup in a goroutine to not block the call originated from grpc. - go func() { - // need to acquire c.cm.mu lock to call the unlocked attemptCleanup func. - c.cm.mu.Lock() - c.cm.decrTraceRefCount(del.RefID) - c.cm.mu.Unlock() - }() - } - } - e.Timestamp = time.Now() - c.events = append(c.events, e) - c.eventCount++ - c.mu.Unlock() -} - -func (c *channelTrace) clear() { - c.mu.Lock() - for _, e := range c.events { - if e.RefID != 0 { - // caller should have already held the c.cm.mu lock. - c.cm.decrTraceRefCount(e.RefID) - } - } - c.mu.Unlock() -} - -// Severity is the severity level of a trace event. -// The canonical enumeration of all valid values is here: -// https://github.com/grpc/grpc-proto/blob/9b13d199cc0d4703c7ea26c9c330ba695866eb23/grpc/channelz/v1/channelz.proto#L126. -type Severity int - -const ( - // CtUnknown indicates unknown severity of a trace event. - CtUnknown Severity = iota - // CtInfo indicates info level severity of a trace event. - CtInfo - // CtWarning indicates warning level severity of a trace event. - CtWarning - // CtError indicates error level severity of a trace event. - CtError -) - -// RefChannelType is the type of the entity being referenced in a trace event. -type RefChannelType int - -const ( - // RefUnknown indicates an unknown entity type, the zero value for this type. - RefUnknown RefChannelType = iota - // RefChannel indicates the referenced entity is a Channel. - RefChannel - // RefSubChannel indicates the referenced entity is a SubChannel. - RefSubChannel - // RefServer indicates the referenced entity is a Server. - RefServer - // RefListenSocket indicates the referenced entity is a ListenSocket. - RefListenSocket - // RefNormalSocket indicates the referenced entity is a NormalSocket. - RefNormalSocket -) - -var refChannelTypeToString = map[RefChannelType]string{ - RefUnknown: "Unknown", - RefChannel: "Channel", - RefSubChannel: "SubChannel", - RefServer: "Server", - RefListenSocket: "ListenSocket", - RefNormalSocket: "NormalSocket", -} - -func (r RefChannelType) String() string { - return refChannelTypeToString[r] -} - -func (c *channelTrace) dumpData() *ChannelTrace { - c.mu.Lock() - ct := &ChannelTrace{EventNum: c.eventCount, CreationTime: c.createdTime} - ct.Events = c.events[:len(c.events)] - c.mu.Unlock() - return ct -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/types_linux.go b/vendor/google.golang.org/grpc/internal/channelz/types_linux.go deleted file mode 100644 index 1b1c4cce..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/types_linux.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 channelz - -import ( - "syscall" - - "golang.org/x/sys/unix" -) - -// SocketOptionData defines the struct to hold socket option data, and related -// getter function to obtain info from fd. -type SocketOptionData struct { - Linger *unix.Linger - RecvTimeout *unix.Timeval - SendTimeout *unix.Timeval - TCPInfo *unix.TCPInfo -} - -// Getsockopt defines the function to get socket options requested by channelz. -// It is to be passed to syscall.RawConn.Control(). -func (s *SocketOptionData) Getsockopt(fd uintptr) { - if v, err := unix.GetsockoptLinger(int(fd), syscall.SOL_SOCKET, syscall.SO_LINGER); err == nil { - s.Linger = v - } - if v, err := unix.GetsockoptTimeval(int(fd), syscall.SOL_SOCKET, syscall.SO_RCVTIMEO); err == nil { - s.RecvTimeout = v - } - if v, err := unix.GetsockoptTimeval(int(fd), syscall.SOL_SOCKET, syscall.SO_SNDTIMEO); err == nil { - s.SendTimeout = v - } - if v, err := unix.GetsockoptTCPInfo(int(fd), syscall.SOL_TCP, syscall.TCP_INFO); err == nil { - s.TCPInfo = v - } -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go b/vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go deleted file mode 100644 index 8b06eed1..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go +++ /dev/null @@ -1,43 +0,0 @@ -//go:build !linux -// +build !linux - -/* - * - * Copyright 2018 gRPC 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 channelz - -import ( - "sync" -) - -var once sync.Once - -// SocketOptionData defines the struct to hold socket option data, and related -// getter function to obtain info from fd. -// Windows OS doesn't support Socket Option -type SocketOptionData struct { -} - -// Getsockopt defines the function to get socket options requested by channelz. -// It is to be passed to syscall.RawConn.Control(). -// Windows OS doesn't support Socket Option -func (s *SocketOptionData) Getsockopt(fd uintptr) { - once.Do(func() { - logger.Warning("Channelz: socket options are not supported on non-linux environments") - }) -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/util_linux.go b/vendor/google.golang.org/grpc/internal/channelz/util_linux.go deleted file mode 100644 index 8d194e44..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/util_linux.go +++ /dev/null @@ -1,37 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 channelz - -import ( - "syscall" -) - -// GetSocketOption gets the socket option info of the conn. -func GetSocketOption(socket interface{}) *SocketOptionData { - c, ok := socket.(syscall.Conn) - if !ok { - return nil - } - data := &SocketOptionData{} - if rawConn, err := c.SyscallConn(); err == nil { - rawConn.Control(data.Getsockopt) - return data - } - return nil -} diff --git a/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go b/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go deleted file mode 100644 index 837ddc40..00000000 --- a/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go +++ /dev/null @@ -1,27 +0,0 @@ -//go:build !linux -// +build !linux - -/* - * - * Copyright 2018 gRPC 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 channelz - -// GetSocketOption gets the socket option info of the conn. -func GetSocketOption(c interface{}) *SocketOptionData { - return nil -} diff --git a/vendor/google.golang.org/grpc/internal/credentials/credentials.go b/vendor/google.golang.org/grpc/internal/credentials/credentials.go deleted file mode 100644 index 32c9b590..00000000 --- a/vendor/google.golang.org/grpc/internal/credentials/credentials.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2021 gRPC 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 credentials - -import ( - "context" -) - -// requestInfoKey is a struct to be used as the key to store RequestInfo in a -// context. -type requestInfoKey struct{} - -// NewRequestInfoContext creates a context with ri. -func NewRequestInfoContext(ctx context.Context, ri interface{}) context.Context { - return context.WithValue(ctx, requestInfoKey{}, ri) -} - -// RequestInfoFromContext extracts the RequestInfo from ctx. -func RequestInfoFromContext(ctx context.Context) interface{} { - return ctx.Value(requestInfoKey{}) -} - -// clientHandshakeInfoKey is a struct used as the key to store -// ClientHandshakeInfo in a context. -type clientHandshakeInfoKey struct{} - -// ClientHandshakeInfoFromContext extracts the ClientHandshakeInfo from ctx. -func ClientHandshakeInfoFromContext(ctx context.Context) interface{} { - return ctx.Value(clientHandshakeInfoKey{}) -} - -// NewClientHandshakeInfoContext creates a context with chi. -func NewClientHandshakeInfoContext(ctx context.Context, chi interface{}) context.Context { - return context.WithValue(ctx, clientHandshakeInfoKey{}, chi) -} diff --git a/vendor/google.golang.org/grpc/internal/credentials/spiffe.go b/vendor/google.golang.org/grpc/internal/credentials/spiffe.go deleted file mode 100644 index 25ade623..00000000 --- a/vendor/google.golang.org/grpc/internal/credentials/spiffe.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 credentials defines APIs for parsing SPIFFE ID. -// -// All APIs in this package are experimental. -package credentials - -import ( - "crypto/tls" - "crypto/x509" - "net/url" - - "google.golang.org/grpc/grpclog" -) - -var logger = grpclog.Component("credentials") - -// SPIFFEIDFromState parses the SPIFFE ID from State. If the SPIFFE ID format -// is invalid, return nil with warning. -func SPIFFEIDFromState(state tls.ConnectionState) *url.URL { - if len(state.PeerCertificates) == 0 || len(state.PeerCertificates[0].URIs) == 0 { - return nil - } - return SPIFFEIDFromCert(state.PeerCertificates[0]) -} - -// SPIFFEIDFromCert parses the SPIFFE ID from x509.Certificate. If the SPIFFE -// ID format is invalid, return nil with warning. -func SPIFFEIDFromCert(cert *x509.Certificate) *url.URL { - if cert == nil || cert.URIs == nil { - return nil - } - var spiffeID *url.URL - for _, uri := range cert.URIs { - if uri == nil || uri.Scheme != "spiffe" || uri.Opaque != "" || (uri.User != nil && uri.User.Username() != "") { - continue - } - // From this point, we assume the uri is intended for a SPIFFE ID. - if len(uri.String()) > 2048 { - logger.Warning("invalid SPIFFE ID: total ID length larger than 2048 bytes") - return nil - } - if len(uri.Host) == 0 || len(uri.Path) == 0 { - logger.Warning("invalid SPIFFE ID: domain or workload ID is empty") - return nil - } - if len(uri.Host) > 255 { - logger.Warning("invalid SPIFFE ID: domain length larger than 255 characters") - return nil - } - // A valid SPIFFE certificate can only have exactly one URI SAN field. - if len(cert.URIs) > 1 { - logger.Warning("invalid SPIFFE ID: multiple URI SANs") - return nil - } - spiffeID = uri - } - return spiffeID -} diff --git a/vendor/google.golang.org/grpc/internal/credentials/syscallconn.go b/vendor/google.golang.org/grpc/internal/credentials/syscallconn.go deleted file mode 100644 index 2919632d..00000000 --- a/vendor/google.golang.org/grpc/internal/credentials/syscallconn.go +++ /dev/null @@ -1,58 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 credentials - -import ( - "net" - "syscall" -) - -type sysConn = syscall.Conn - -// syscallConn keeps reference of rawConn to support syscall.Conn for channelz. -// SyscallConn() (the method in interface syscall.Conn) is explicitly -// implemented on this type, -// -// Interface syscall.Conn is implemented by most net.Conn implementations (e.g. -// TCPConn, UnixConn), but is not part of net.Conn interface. So wrapper conns -// that embed net.Conn don't implement syscall.Conn. (Side note: tls.Conn -// doesn't embed net.Conn, so even if syscall.Conn is part of net.Conn, it won't -// help here). -type syscallConn struct { - net.Conn - // sysConn is a type alias of syscall.Conn. It's necessary because the name - // `Conn` collides with `net.Conn`. - sysConn -} - -// WrapSyscallConn tries to wrap rawConn and newConn into a net.Conn that -// implements syscall.Conn. rawConn will be used to support syscall, and newConn -// will be used for read/write. -// -// This function returns newConn if rawConn doesn't implement syscall.Conn. -func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn { - sysConn, ok := rawConn.(syscall.Conn) - if !ok { - return newConn - } - return &syscallConn{ - Conn: newConn, - sysConn: sysConn, - } -} diff --git a/vendor/google.golang.org/grpc/internal/credentials/util.go b/vendor/google.golang.org/grpc/internal/credentials/util.go deleted file mode 100644 index f792fd22..00000000 --- a/vendor/google.golang.org/grpc/internal/credentials/util.go +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 credentials - -import ( - "crypto/tls" -) - -const alpnProtoStrH2 = "h2" - -// AppendH2ToNextProtos appends h2 to next protos. -func AppendH2ToNextProtos(ps []string) []string { - for _, p := range ps { - if p == alpnProtoStrH2 { - return ps - } - } - ret := make([]string, 0, len(ps)+1) - ret = append(ret, ps...) - return append(ret, alpnProtoStrH2) -} - -// CloneTLSConfig returns a shallow clone of the exported -// fields of cfg, ignoring the unexported sync.Once, which -// contains a mutex and must not be copied. -// -// If cfg is nil, a new zero tls.Config is returned. -// -// TODO: inline this function if possible. -func CloneTLSConfig(cfg *tls.Config) *tls.Config { - if cfg == nil { - return &tls.Config{} - } - - return cfg.Clone() -} diff --git a/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go b/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go deleted file mode 100644 index 6f027254..00000000 --- a/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 envconfig contains grpc settings configured by environment variables. -package envconfig - -import ( - "os" - "strings" -) - -const ( - prefix = "GRPC_GO_" - txtErrIgnoreStr = prefix + "IGNORE_TXT_ERRORS" -) - -var ( - // TXTErrIgnore is set if TXT errors should be ignored ("GRPC_GO_IGNORE_TXT_ERRORS" is not "false"). - TXTErrIgnore = !strings.EqualFold(os.Getenv(txtErrIgnoreStr), "false") -) diff --git a/vendor/google.golang.org/grpc/internal/envconfig/xds.go b/vendor/google.golang.org/grpc/internal/envconfig/xds.go deleted file mode 100644 index a83b26bb..00000000 --- a/vendor/google.golang.org/grpc/internal/envconfig/xds.go +++ /dev/null @@ -1,100 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 envconfig - -import ( - "os" - "strings" -) - -const ( - // XDSBootstrapFileNameEnv is the env variable to set bootstrap file name. - // Do not use this and read from env directly. Its value is read and kept in - // variable XDSBootstrapFileName. - // - // When both bootstrap FileName and FileContent are set, FileName is used. - XDSBootstrapFileNameEnv = "GRPC_XDS_BOOTSTRAP" - // XDSBootstrapFileContentEnv is the env variable to set bootstrap file - // content. Do not use this and read from env directly. Its value is read - // and kept in variable XDSBootstrapFileContent. - // - // When both bootstrap FileName and FileContent are set, FileName is used. - XDSBootstrapFileContentEnv = "GRPC_XDS_BOOTSTRAP_CONFIG" - - ringHashSupportEnv = "GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH" - clientSideSecuritySupportEnv = "GRPC_XDS_EXPERIMENTAL_SECURITY_SUPPORT" - aggregateAndDNSSupportEnv = "GRPC_XDS_EXPERIMENTAL_ENABLE_AGGREGATE_AND_LOGICAL_DNS_CLUSTER" - rbacSupportEnv = "GRPC_XDS_EXPERIMENTAL_RBAC" - federationEnv = "GRPC_EXPERIMENTAL_XDS_FEDERATION" - rlsInXDSEnv = "GRPC_EXPERIMENTAL_XDS_RLS_LB" - - c2pResolverTestOnlyTrafficDirectorURIEnv = "GRPC_TEST_ONLY_GOOGLE_C2P_RESOLVER_TRAFFIC_DIRECTOR_URI" -) - -var ( - // XDSBootstrapFileName holds the name of the file which contains xDS - // bootstrap configuration. Users can specify the location of the bootstrap - // file by setting the environment variable "GRPC_XDS_BOOTSTRAP". - // - // When both bootstrap FileName and FileContent are set, FileName is used. - XDSBootstrapFileName = os.Getenv(XDSBootstrapFileNameEnv) - // XDSBootstrapFileContent holds the content of the xDS bootstrap - // configuration. Users can specify the bootstrap config by setting the - // environment variable "GRPC_XDS_BOOTSTRAP_CONFIG". - // - // When both bootstrap FileName and FileContent are set, FileName is used. - XDSBootstrapFileContent = os.Getenv(XDSBootstrapFileContentEnv) - // XDSRingHash indicates whether ring hash support is enabled, which can be - // disabled by setting the environment variable - // "GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH" to "false". - XDSRingHash = !strings.EqualFold(os.Getenv(ringHashSupportEnv), "false") - // XDSClientSideSecurity is used to control processing of security - // configuration on the client-side. - // - // Note that there is no env var protection for the server-side because we - // have a brand new API on the server-side and users explicitly need to use - // the new API to get security integration on the server. - XDSClientSideSecurity = !strings.EqualFold(os.Getenv(clientSideSecuritySupportEnv), "false") - // XDSAggregateAndDNS indicates whether processing of aggregated cluster - // and DNS cluster is enabled, which can be enabled by setting the - // environment variable - // "GRPC_XDS_EXPERIMENTAL_ENABLE_AGGREGATE_AND_LOGICAL_DNS_CLUSTER" to - // "true". - XDSAggregateAndDNS = !strings.EqualFold(os.Getenv(aggregateAndDNSSupportEnv), "false") - - // XDSRBAC indicates whether xDS configured RBAC HTTP Filter is enabled, - // which can be disabled by setting the environment variable - // "GRPC_XDS_EXPERIMENTAL_RBAC" to "false". - XDSRBAC = !strings.EqualFold(os.Getenv(rbacSupportEnv), "false") - // XDSOutlierDetection indicates whether outlier detection support is - // enabled, which can be enabled by setting the environment variable - // "GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION" to "true". - XDSOutlierDetection = false - // XDSFederation indicates whether federation support is enabled. - XDSFederation = strings.EqualFold(os.Getenv(federationEnv), "true") - - // XDSRLS indicates whether processing of Cluster Specifier plugins and - // support for the RLS CLuster Specifier is enabled, which can be enabled by - // setting the environment variable "GRPC_EXPERIMENTAL_XDS_RLS_LB" to - // "true". - XDSRLS = strings.EqualFold(os.Getenv(rlsInXDSEnv), "true") - - // C2PResolverTestOnlyTrafficDirectorURI is the TD URI for testing. - C2PResolverTestOnlyTrafficDirectorURI = os.Getenv(c2pResolverTestOnlyTrafficDirectorURIEnv) -) diff --git a/vendor/google.golang.org/grpc/internal/grpclog/grpclog.go b/vendor/google.golang.org/grpc/internal/grpclog/grpclog.go deleted file mode 100644 index 30a3b425..00000000 --- a/vendor/google.golang.org/grpc/internal/grpclog/grpclog.go +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 grpclog (internal) defines depth logging for grpc. -package grpclog - -import ( - "os" -) - -// Logger is the logger used for the non-depth log functions. -var Logger LoggerV2 - -// DepthLogger is the logger used for the depth log functions. -var DepthLogger DepthLoggerV2 - -// InfoDepth logs to the INFO log at the specified depth. -func InfoDepth(depth int, args ...interface{}) { - if DepthLogger != nil { - DepthLogger.InfoDepth(depth, args...) - } else { - Logger.Infoln(args...) - } -} - -// WarningDepth logs to the WARNING log at the specified depth. -func WarningDepth(depth int, args ...interface{}) { - if DepthLogger != nil { - DepthLogger.WarningDepth(depth, args...) - } else { - Logger.Warningln(args...) - } -} - -// ErrorDepth logs to the ERROR log at the specified depth. -func ErrorDepth(depth int, args ...interface{}) { - if DepthLogger != nil { - DepthLogger.ErrorDepth(depth, args...) - } else { - Logger.Errorln(args...) - } -} - -// FatalDepth logs to the FATAL log at the specified depth. -func FatalDepth(depth int, args ...interface{}) { - if DepthLogger != nil { - DepthLogger.FatalDepth(depth, args...) - } else { - Logger.Fatalln(args...) - } - os.Exit(1) -} - -// LoggerV2 does underlying logging work for grpclog. -// This is a copy of the LoggerV2 defined in the external grpclog package. It -// is defined here to avoid a circular dependency. -type LoggerV2 interface { - // Info logs to INFO log. Arguments are handled in the manner of fmt.Print. - Info(args ...interface{}) - // Infoln logs to INFO log. Arguments are handled in the manner of fmt.Println. - Infoln(args ...interface{}) - // Infof logs to INFO log. Arguments are handled in the manner of fmt.Printf. - Infof(format string, args ...interface{}) - // Warning logs to WARNING log. Arguments are handled in the manner of fmt.Print. - Warning(args ...interface{}) - // Warningln logs to WARNING log. Arguments are handled in the manner of fmt.Println. - Warningln(args ...interface{}) - // Warningf logs to WARNING log. Arguments are handled in the manner of fmt.Printf. - Warningf(format string, args ...interface{}) - // Error logs to ERROR log. Arguments are handled in the manner of fmt.Print. - Error(args ...interface{}) - // Errorln logs to ERROR log. Arguments are handled in the manner of fmt.Println. - Errorln(args ...interface{}) - // Errorf logs to ERROR log. Arguments are handled in the manner of fmt.Printf. - Errorf(format string, args ...interface{}) - // Fatal logs to ERROR log. Arguments are handled in the manner of fmt.Print. - // gRPC ensures that all Fatal logs will exit with os.Exit(1). - // Implementations may also call os.Exit() with a non-zero exit code. - Fatal(args ...interface{}) - // Fatalln logs to ERROR log. Arguments are handled in the manner of fmt.Println. - // gRPC ensures that all Fatal logs will exit with os.Exit(1). - // Implementations may also call os.Exit() with a non-zero exit code. - Fatalln(args ...interface{}) - // Fatalf logs to ERROR log. Arguments are handled in the manner of fmt.Printf. - // gRPC ensures that all Fatal logs will exit with os.Exit(1). - // Implementations may also call os.Exit() with a non-zero exit code. - Fatalf(format string, args ...interface{}) - // V reports whether verbosity level l is at least the requested verbose level. - V(l int) bool -} - -// DepthLoggerV2 logs at a specified call frame. If a LoggerV2 also implements -// DepthLoggerV2, the below functions will be called with the appropriate stack -// depth set for trivial functions the logger may ignore. -// This is a copy of the DepthLoggerV2 defined in the external grpclog package. -// It is defined here to avoid a circular dependency. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type DepthLoggerV2 interface { - // InfoDepth logs to INFO log at the specified depth. Arguments are handled in the manner of fmt.Println. - InfoDepth(depth int, args ...interface{}) - // WarningDepth logs to WARNING log at the specified depth. Arguments are handled in the manner of fmt.Println. - WarningDepth(depth int, args ...interface{}) - // ErrorDepth logs to ERROR log at the specified depth. Arguments are handled in the manner of fmt.Println. - ErrorDepth(depth int, args ...interface{}) - // FatalDepth logs to FATAL log at the specified depth. Arguments are handled in the manner of fmt.Println. - FatalDepth(depth int, args ...interface{}) -} diff --git a/vendor/google.golang.org/grpc/internal/grpclog/prefixLogger.go b/vendor/google.golang.org/grpc/internal/grpclog/prefixLogger.go deleted file mode 100644 index 82af70e9..00000000 --- a/vendor/google.golang.org/grpc/internal/grpclog/prefixLogger.go +++ /dev/null @@ -1,81 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 grpclog - -import ( - "fmt" -) - -// PrefixLogger does logging with a prefix. -// -// Logging method on a nil logs without any prefix. -type PrefixLogger struct { - logger DepthLoggerV2 - prefix string -} - -// Infof does info logging. -func (pl *PrefixLogger) Infof(format string, args ...interface{}) { - if pl != nil { - // Handle nil, so the tests can pass in a nil logger. - format = pl.prefix + format - pl.logger.InfoDepth(1, fmt.Sprintf(format, args...)) - return - } - InfoDepth(1, fmt.Sprintf(format, args...)) -} - -// Warningf does warning logging. -func (pl *PrefixLogger) Warningf(format string, args ...interface{}) { - if pl != nil { - format = pl.prefix + format - pl.logger.WarningDepth(1, fmt.Sprintf(format, args...)) - return - } - WarningDepth(1, fmt.Sprintf(format, args...)) -} - -// Errorf does error logging. -func (pl *PrefixLogger) Errorf(format string, args ...interface{}) { - if pl != nil { - format = pl.prefix + format - pl.logger.ErrorDepth(1, fmt.Sprintf(format, args...)) - return - } - ErrorDepth(1, fmt.Sprintf(format, args...)) -} - -// Debugf does info logging at verbose level 2. -func (pl *PrefixLogger) Debugf(format string, args ...interface{}) { - if !Logger.V(2) { - return - } - if pl != nil { - // Handle nil, so the tests can pass in a nil logger. - format = pl.prefix + format - pl.logger.InfoDepth(1, fmt.Sprintf(format, args...)) - return - } - InfoDepth(1, fmt.Sprintf(format, args...)) -} - -// NewPrefixLogger creates a prefix logger with the given prefix. -func NewPrefixLogger(logger DepthLoggerV2, prefix string) *PrefixLogger { - return &PrefixLogger{logger: logger, prefix: prefix} -} diff --git a/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go b/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go deleted file mode 100644 index 740f83c2..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 grpcrand implements math/rand functions in a concurrent-safe way -// with a global random source, independent of math/rand's global source. -package grpcrand - -import ( - "math/rand" - "sync" - "time" -) - -var ( - r = rand.New(rand.NewSource(time.Now().UnixNano())) - mu sync.Mutex -) - -// Int implements rand.Int on the grpcrand global source. -func Int() int { - mu.Lock() - defer mu.Unlock() - return r.Int() -} - -// Int63n implements rand.Int63n on the grpcrand global source. -func Int63n(n int64) int64 { - mu.Lock() - defer mu.Unlock() - return r.Int63n(n) -} - -// Intn implements rand.Intn on the grpcrand global source. -func Intn(n int) int { - mu.Lock() - defer mu.Unlock() - return r.Intn(n) -} - -// Float64 implements rand.Float64 on the grpcrand global source. -func Float64() float64 { - mu.Lock() - defer mu.Unlock() - return r.Float64() -} - -// Uint64 implements rand.Uint64 on the grpcrand global source. -func Uint64() uint64 { - mu.Lock() - defer mu.Unlock() - return r.Uint64() -} diff --git a/vendor/google.golang.org/grpc/internal/grpcsync/event.go b/vendor/google.golang.org/grpc/internal/grpcsync/event.go deleted file mode 100644 index fbe697c3..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcsync/event.go +++ /dev/null @@ -1,61 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 grpcsync implements additional synchronization primitives built upon -// the sync package. -package grpcsync - -import ( - "sync" - "sync/atomic" -) - -// Event represents a one-time event that may occur in the future. -type Event struct { - fired int32 - c chan struct{} - o sync.Once -} - -// Fire causes e to complete. It is safe to call multiple times, and -// concurrently. It returns true iff this call to Fire caused the signaling -// channel returned by Done to close. -func (e *Event) Fire() bool { - ret := false - e.o.Do(func() { - atomic.StoreInt32(&e.fired, 1) - close(e.c) - ret = true - }) - return ret -} - -// Done returns a channel that will be closed when Fire is called. -func (e *Event) Done() <-chan struct{} { - return e.c -} - -// HasFired returns true if Fire has been called. -func (e *Event) HasFired() bool { - return atomic.LoadInt32(&e.fired) == 1 -} - -// NewEvent returns a new, ready-to-use Event. -func NewEvent() *Event { - return &Event{c: make(chan struct{})} -} diff --git a/vendor/google.golang.org/grpc/internal/grpcutil/encode_duration.go b/vendor/google.golang.org/grpc/internal/grpcutil/encode_duration.go deleted file mode 100644 index b25b0bae..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcutil/encode_duration.go +++ /dev/null @@ -1,63 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 grpcutil - -import ( - "strconv" - "time" -) - -const maxTimeoutValue int64 = 100000000 - 1 - -// div does integer division and round-up the result. Note that this is -// equivalent to (d+r-1)/r but has less chance to overflow. -func div(d, r time.Duration) int64 { - if d%r > 0 { - return int64(d/r + 1) - } - return int64(d / r) -} - -// EncodeDuration encodes the duration to the format grpc-timeout header -// accepts. -// -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests -func EncodeDuration(t time.Duration) string { - // TODO: This is simplistic and not bandwidth efficient. Improve it. - if t <= 0 { - return "0n" - } - if d := div(t, time.Nanosecond); d <= maxTimeoutValue { - return strconv.FormatInt(d, 10) + "n" - } - if d := div(t, time.Microsecond); d <= maxTimeoutValue { - return strconv.FormatInt(d, 10) + "u" - } - if d := div(t, time.Millisecond); d <= maxTimeoutValue { - return strconv.FormatInt(d, 10) + "m" - } - if d := div(t, time.Second); d <= maxTimeoutValue { - return strconv.FormatInt(d, 10) + "S" - } - if d := div(t, time.Minute); d <= maxTimeoutValue { - return strconv.FormatInt(d, 10) + "M" - } - // Note that maxTimeoutValue * time.Hour > MaxInt64. - return strconv.FormatInt(div(t, time.Hour), 10) + "H" -} diff --git a/vendor/google.golang.org/grpc/internal/grpcutil/grpcutil.go b/vendor/google.golang.org/grpc/internal/grpcutil/grpcutil.go deleted file mode 100644 index e2f948e8..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcutil/grpcutil.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * - * Copyright 2021 gRPC 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 grpcutil provides utility functions used across the gRPC codebase. -package grpcutil diff --git a/vendor/google.golang.org/grpc/internal/grpcutil/metadata.go b/vendor/google.golang.org/grpc/internal/grpcutil/metadata.go deleted file mode 100644 index 6f22bd89..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcutil/metadata.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 grpcutil - -import ( - "context" - - "google.golang.org/grpc/metadata" -) - -type mdExtraKey struct{} - -// WithExtraMetadata creates a new context with incoming md attached. -func WithExtraMetadata(ctx context.Context, md metadata.MD) context.Context { - return context.WithValue(ctx, mdExtraKey{}, md) -} - -// ExtraMetadata returns the incoming metadata in ctx if it exists. The -// returned MD should not be modified. Writing to it may cause races. -// Modification should be made to copies of the returned MD. -func ExtraMetadata(ctx context.Context) (md metadata.MD, ok bool) { - md, ok = ctx.Value(mdExtraKey{}).(metadata.MD) - return -} diff --git a/vendor/google.golang.org/grpc/internal/grpcutil/method.go b/vendor/google.golang.org/grpc/internal/grpcutil/method.go deleted file mode 100644 index e9c4af64..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcutil/method.go +++ /dev/null @@ -1,89 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 grpcutil - -import ( - "errors" - "strings" -) - -// ParseMethod splits service and method from the input. It expects format -// "/service/method". -// -func ParseMethod(methodName string) (service, method string, _ error) { - if !strings.HasPrefix(methodName, "/") { - return "", "", errors.New("invalid method name: should start with /") - } - methodName = methodName[1:] - - pos := strings.LastIndex(methodName, "/") - if pos < 0 { - return "", "", errors.New("invalid method name: suffix /method is missing") - } - return methodName[:pos], methodName[pos+1:], nil -} - -// baseContentType is the base content-type for gRPC. This is a valid -// content-type on it's own, but can also include a content-subtype such as -// "proto" as a suffix after "+" or ";". See -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests -// for more details. -const baseContentType = "application/grpc" - -// ContentSubtype returns the content-subtype for the given content-type. The -// given content-type must be a valid content-type that starts with -// "application/grpc". A content-subtype will follow "application/grpc" after a -// "+" or ";". See -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests for -// more details. -// -// If contentType is not a valid content-type for gRPC, the boolean -// will be false, otherwise true. If content-type == "application/grpc", -// "application/grpc+", or "application/grpc;", the boolean will be true, -// but no content-subtype will be returned. -// -// contentType is assumed to be lowercase already. -func ContentSubtype(contentType string) (string, bool) { - if contentType == baseContentType { - return "", true - } - if !strings.HasPrefix(contentType, baseContentType) { - return "", false - } - // guaranteed since != baseContentType and has baseContentType prefix - switch contentType[len(baseContentType)] { - case '+', ';': - // this will return true for "application/grpc+" or "application/grpc;" - // which the previous validContentType function tested to be valid, so we - // just say that no content-subtype is specified in this case - return contentType[len(baseContentType)+1:], true - default: - return "", false - } -} - -// ContentType builds full content type with the given sub-type. -// -// contentSubtype is assumed to be lowercase -func ContentType(contentSubtype string) string { - if contentSubtype == "" { - return baseContentType - } - return baseContentType + "+" + contentSubtype -} diff --git a/vendor/google.golang.org/grpc/internal/grpcutil/regex.go b/vendor/google.golang.org/grpc/internal/grpcutil/regex.go deleted file mode 100644 index 7a092b2b..00000000 --- a/vendor/google.golang.org/grpc/internal/grpcutil/regex.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * - * Copyright 2021 gRPC 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 grpcutil - -import "regexp" - -// FullMatchWithRegex returns whether the full text matches the regex provided. -func FullMatchWithRegex(re *regexp.Regexp, text string) bool { - if len(text) == 0 { - return re.MatchString(text) - } - re.Longest() - rem := re.FindString(text) - return len(rem) == len(text) -} diff --git a/vendor/google.golang.org/grpc/internal/internal.go b/vendor/google.golang.org/grpc/internal/internal.go deleted file mode 100644 index 83018be7..00000000 --- a/vendor/google.golang.org/grpc/internal/internal.go +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Copyright 2016 gRPC 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 internal contains gRPC-internal code, to avoid polluting -// the godoc of the top-level grpc package. It must not import any grpc -// symbols to avoid circular dependencies. -package internal - -import ( - "context" - "time" - - "google.golang.org/grpc/connectivity" - "google.golang.org/grpc/serviceconfig" -) - -var ( - // WithHealthCheckFunc is set by dialoptions.go - WithHealthCheckFunc interface{} // func (HealthChecker) DialOption - // HealthCheckFunc is used to provide client-side LB channel health checking - HealthCheckFunc HealthChecker - // BalancerUnregister is exported by package balancer to unregister a balancer. - BalancerUnregister func(name string) - // KeepaliveMinPingTime is the minimum ping interval. This must be 10s by - // default, but tests may wish to set it lower for convenience. - KeepaliveMinPingTime = 10 * time.Second - // ParseServiceConfig parses a JSON representation of the service config. - ParseServiceConfig interface{} // func(string) *serviceconfig.ParseResult - // EqualServiceConfigForTesting is for testing service config generation and - // parsing. Both a and b should be returned by ParseServiceConfig. - // This function compares the config without rawJSON stripped, in case the - // there's difference in white space. - EqualServiceConfigForTesting func(a, b serviceconfig.Config) bool - // GetCertificateProviderBuilder returns the registered builder for the - // given name. This is set by package certprovider for use from xDS - // bootstrap code while parsing certificate provider configs in the - // bootstrap file. - GetCertificateProviderBuilder interface{} // func(string) certprovider.Builder - // GetXDSHandshakeInfoForTesting returns a pointer to the xds.HandshakeInfo - // stored in the passed in attributes. This is set by - // credentials/xds/xds.go. - GetXDSHandshakeInfoForTesting interface{} // func (*attributes.Attributes) *xds.HandshakeInfo - // GetServerCredentials returns the transport credentials configured on a - // gRPC server. An xDS-enabled server needs to know what type of credentials - // is configured on the underlying gRPC server. This is set by server.go. - GetServerCredentials interface{} // func (*grpc.Server) credentials.TransportCredentials - // DrainServerTransports initiates a graceful close of existing connections - // on a gRPC server accepted on the provided listener address. An - // xDS-enabled server invokes this method on a grpc.Server when a particular - // listener moves to "not-serving" mode. - DrainServerTransports interface{} // func(*grpc.Server, string) - // AddExtraServerOptions adds an array of ServerOption that will be - // effective globally for newly created servers. The priority will be: 1. - // user-provided; 2. this method; 3. default values. - AddExtraServerOptions interface{} // func(opt ...ServerOption) - // ClearExtraServerOptions clears the array of extra ServerOption. This - // method is useful in testing and benchmarking. - ClearExtraServerOptions func() - // AddExtraDialOptions adds an array of DialOption that will be effective - // globally for newly created client channels. The priority will be: 1. - // user-provided; 2. this method; 3. default values. - AddExtraDialOptions interface{} // func(opt ...DialOption) - // ClearExtraDialOptions clears the array of extra DialOption. This - // method is useful in testing and benchmarking. - ClearExtraDialOptions func() - - // NewXDSResolverWithConfigForTesting creates a new xds resolver builder using - // the provided xds bootstrap config instead of the global configuration from - // the supported environment variables. The resolver.Builder is meant to be - // used in conjunction with the grpc.WithResolvers DialOption. - // - // Testing Only - // - // This function should ONLY be used for testing and may not work with some - // other features, including the CSDS service. - NewXDSResolverWithConfigForTesting interface{} // func([]byte) (resolver.Builder, error) - - // RegisterRLSClusterSpecifierPluginForTesting registers the RLS Cluster - // Specifier Plugin for testing purposes, regardless of the XDSRLS environment - // variable. - // - // TODO: Remove this function once the RLS env var is removed. - RegisterRLSClusterSpecifierPluginForTesting func() - - // UnregisterRLSClusterSpecifierPluginForTesting unregisters the RLS Cluster - // Specifier Plugin for testing purposes. This is needed because there is no way - // to unregister the RLS Cluster Specifier Plugin after registering it solely - // for testing purposes using RegisterRLSClusterSpecifierPluginForTesting(). - // - // TODO: Remove this function once the RLS env var is removed. - UnregisterRLSClusterSpecifierPluginForTesting func() - - // RegisterRBACHTTPFilterForTesting registers the RBAC HTTP Filter for testing - // purposes, regardless of the RBAC environment variable. - // - // TODO: Remove this function once the RBAC env var is removed. - RegisterRBACHTTPFilterForTesting func() - - // UnregisterRBACHTTPFilterForTesting unregisters the RBAC HTTP Filter for - // testing purposes. This is needed because there is no way to unregister the - // HTTP Filter after registering it solely for testing purposes using - // RegisterRBACHTTPFilterForTesting(). - // - // TODO: Remove this function once the RBAC env var is removed. - UnregisterRBACHTTPFilterForTesting func() - - // RegisterOutlierDetectionBalancerForTesting registers the Outlier - // Detection Balancer for testing purposes, regardless of the Outlier - // Detection environment variable. - // - // TODO: Remove this function once the Outlier Detection env var is removed. - RegisterOutlierDetectionBalancerForTesting func() - - // UnregisterOutlierDetectionBalancerForTesting unregisters the Outlier - // Detection Balancer for testing purposes. This is needed because there is - // no way to unregister the Outlier Detection Balancer after registering it - // solely for testing purposes using - // RegisterOutlierDetectionBalancerForTesting(). - // - // TODO: Remove this function once the Outlier Detection env var is removed. - UnregisterOutlierDetectionBalancerForTesting func() -) - -// HealthChecker defines the signature of the client-side LB channel health checking function. -// -// The implementation is expected to create a health checking RPC stream by -// calling newStream(), watch for the health status of serviceName, and report -// it's health back by calling setConnectivityState(). -// -// The health checking protocol is defined at: -// https://github.com/grpc/grpc/blob/master/doc/health-checking.md -type HealthChecker func(ctx context.Context, newStream func(string) (interface{}, error), setConnectivityState func(connectivity.State, error), serviceName string) error - -const ( - // CredsBundleModeFallback switches GoogleDefaultCreds to fallback mode. - CredsBundleModeFallback = "fallback" - // CredsBundleModeBalancer switches GoogleDefaultCreds to grpclb balancer - // mode. - CredsBundleModeBalancer = "balancer" - // CredsBundleModeBackendFromBalancer switches GoogleDefaultCreds to mode - // that supports backend returned by grpclb balancer. - CredsBundleModeBackendFromBalancer = "backend-from-balancer" -) - -// RLSLoadBalancingPolicyName is the name of the RLS LB policy. -// -// It currently has an experimental suffix which would be removed once -// end-to-end testing of the policy is completed. -const RLSLoadBalancingPolicyName = "rls_experimental" diff --git a/vendor/google.golang.org/grpc/internal/metadata/metadata.go b/vendor/google.golang.org/grpc/internal/metadata/metadata.go deleted file mode 100644 index b2980f8a..00000000 --- a/vendor/google.golang.org/grpc/internal/metadata/metadata.go +++ /dev/null @@ -1,120 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 metadata contains functions to set and get metadata from addresses. -// -// This package is experimental. -package metadata - -import ( - "fmt" - "strings" - - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/resolver" -) - -type mdKeyType string - -const mdKey = mdKeyType("grpc.internal.address.metadata") - -type mdValue metadata.MD - -func (m mdValue) Equal(o interface{}) bool { - om, ok := o.(mdValue) - if !ok { - return false - } - if len(m) != len(om) { - return false - } - for k, v := range m { - ov := om[k] - if len(ov) != len(v) { - return false - } - for i, ve := range v { - if ov[i] != ve { - return false - } - } - } - return true -} - -// Get returns the metadata of addr. -func Get(addr resolver.Address) metadata.MD { - attrs := addr.Attributes - if attrs == nil { - return nil - } - md, _ := attrs.Value(mdKey).(mdValue) - return metadata.MD(md) -} - -// Set sets (overrides) the metadata in addr. -// -// When a SubConn is created with this address, the RPCs sent on it will all -// have this metadata. -func Set(addr resolver.Address, md metadata.MD) resolver.Address { - addr.Attributes = addr.Attributes.WithValue(mdKey, mdValue(md)) - return addr -} - -// Validate returns an error if the input md contains invalid keys or values. -// -// If the header is not a pseudo-header, the following items are checked: -// - header names must contain one or more characters from this set [0-9 a-z _ - .]. -// - if the header-name ends with a "-bin" suffix, no validation of the header value is performed. -// - otherwise, the header value must contain one or more characters from the set [%x20-%x7E]. -func Validate(md metadata.MD) error { - for k, vals := range md { - // pseudo-header will be ignored - if k[0] == ':' { - continue - } - // check key, for i that saving a conversion if not using for range - for i := 0; i < len(k); i++ { - r := k[i] - if !(r >= 'a' && r <= 'z') && !(r >= '0' && r <= '9') && r != '.' && r != '-' && r != '_' { - return fmt.Errorf("header key %q contains illegal characters not in [0-9a-z-_.]", k) - } - } - if strings.HasSuffix(k, "-bin") { - continue - } - // check value - for _, val := range vals { - if hasNotPrintable(val) { - return fmt.Errorf("header key %q contains value with non-printable ASCII characters", k) - } - } - } - return nil -} - -// hasNotPrintable return true if msg contains any characters which are not in %x20-%x7E -func hasNotPrintable(msg string) bool { - // for i that saving a conversion if not using for range - for i := 0; i < len(msg); i++ { - if msg[i] < 0x20 || msg[i] > 0x7E { - return true - } - } - return false -} diff --git a/vendor/google.golang.org/grpc/internal/pretty/pretty.go b/vendor/google.golang.org/grpc/internal/pretty/pretty.go deleted file mode 100644 index 0177af4b..00000000 --- a/vendor/google.golang.org/grpc/internal/pretty/pretty.go +++ /dev/null @@ -1,82 +0,0 @@ -/* - * - * Copyright 2021 gRPC 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 pretty defines helper functions to pretty-print structs for logging. -package pretty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/golang/protobuf/jsonpb" - protov1 "github.com/golang/protobuf/proto" - "google.golang.org/protobuf/encoding/protojson" - protov2 "google.golang.org/protobuf/proto" -) - -const jsonIndent = " " - -// ToJSON marshals the input into a json string. -// -// If marshal fails, it falls back to fmt.Sprintf("%+v"). -func ToJSON(e interface{}) string { - switch ee := e.(type) { - case protov1.Message: - mm := jsonpb.Marshaler{Indent: jsonIndent} - ret, err := mm.MarshalToString(ee) - if err != nil { - // This may fail for proto.Anys, e.g. for xDS v2, LDS, the v2 - // messages are not imported, and this will fail because the message - // is not found. - return fmt.Sprintf("%+v", ee) - } - return ret - case protov2.Message: - mm := protojson.MarshalOptions{ - Multiline: true, - Indent: jsonIndent, - } - ret, err := mm.Marshal(ee) - if err != nil { - // This may fail for proto.Anys, e.g. for xDS v2, LDS, the v2 - // messages are not imported, and this will fail because the message - // is not found. - return fmt.Sprintf("%+v", ee) - } - return string(ret) - default: - ret, err := json.MarshalIndent(ee, "", jsonIndent) - if err != nil { - return fmt.Sprintf("%+v", ee) - } - return string(ret) - } -} - -// FormatJSON formats the input json bytes with indentation. -// -// If Indent fails, it returns the unchanged input as string. -func FormatJSON(b []byte) string { - var out bytes.Buffer - err := json.Indent(&out, b, "", jsonIndent) - if err != nil { - return string(b) - } - return out.String() -} diff --git a/vendor/google.golang.org/grpc/internal/resolver/config_selector.go b/vendor/google.golang.org/grpc/internal/resolver/config_selector.go deleted file mode 100644 index c7a18a94..00000000 --- a/vendor/google.golang.org/grpc/internal/resolver/config_selector.go +++ /dev/null @@ -1,167 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 resolver provides internal resolver-related functionality. -package resolver - -import ( - "context" - "sync" - - "google.golang.org/grpc/internal/serviceconfig" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/resolver" -) - -// ConfigSelector controls what configuration to use for every RPC. -type ConfigSelector interface { - // Selects the configuration for the RPC, or terminates it using the error. - // This error will be converted by the gRPC library to a status error with - // code UNKNOWN if it is not returned as a status error. - SelectConfig(RPCInfo) (*RPCConfig, error) -} - -// RPCInfo contains RPC information needed by a ConfigSelector. -type RPCInfo struct { - // Context is the user's context for the RPC and contains headers and - // application timeout. It is passed for interception purposes and for - // efficiency reasons. SelectConfig should not be blocking. - Context context.Context - Method string // i.e. "/Service/Method" -} - -// RPCConfig describes the configuration to use for each RPC. -type RPCConfig struct { - // The context to use for the remainder of the RPC; can pass info to LB - // policy or affect timeout or metadata. - Context context.Context - MethodConfig serviceconfig.MethodConfig // configuration to use for this RPC - OnCommitted func() // Called when the RPC has been committed (retries no longer possible) - Interceptor ClientInterceptor -} - -// ClientStream is the same as grpc.ClientStream, but defined here for circular -// dependency reasons. -type ClientStream interface { - // Header returns the header metadata received from the server if there - // is any. It blocks if the metadata is not ready to read. - Header() (metadata.MD, error) - // Trailer returns the trailer metadata from the server, if there is any. - // It must only be called after stream.CloseAndRecv has returned, or - // stream.Recv has returned a non-nil error (including io.EOF). - Trailer() metadata.MD - // CloseSend closes the send direction of the stream. It closes the stream - // when non-nil error is met. It is also not safe to call CloseSend - // concurrently with SendMsg. - CloseSend() error - // Context returns the context for this stream. - // - // It should not be called until after Header or RecvMsg has returned. Once - // called, subsequent client-side retries are disabled. - Context() context.Context - // SendMsg is generally called by generated code. On error, SendMsg aborts - // the stream. If the error was generated by the client, the status is - // returned directly; otherwise, io.EOF is returned and the status of - // the stream may be discovered using RecvMsg. - // - // SendMsg blocks until: - // - There is sufficient flow control to schedule m with the transport, or - // - The stream is done, or - // - The stream breaks. - // - // SendMsg does not wait until the message is received by the server. An - // untimely stream closure may result in lost messages. To ensure delivery, - // users should ensure the RPC completed successfully using RecvMsg. - // - // It is safe to have a goroutine calling SendMsg and another goroutine - // calling RecvMsg on the same stream at the same time, but it is not safe - // to call SendMsg on the same stream in different goroutines. It is also - // not safe to call CloseSend concurrently with SendMsg. - SendMsg(m interface{}) error - // RecvMsg blocks until it receives a message into m or the stream is - // done. It returns io.EOF when the stream completes successfully. On - // any other error, the stream is aborted and the error contains the RPC - // status. - // - // It is safe to have a goroutine calling SendMsg and another goroutine - // calling RecvMsg on the same stream at the same time, but it is not - // safe to call RecvMsg on the same stream in different goroutines. - RecvMsg(m interface{}) error -} - -// ClientInterceptor is an interceptor for gRPC client streams. -type ClientInterceptor interface { - // NewStream produces a ClientStream for an RPC which may optionally use - // the provided function to produce a stream for delegation. Note: - // RPCInfo.Context should not be used (will be nil). - // - // done is invoked when the RPC is finished using its connection, or could - // not be assigned a connection. RPC operations may still occur on - // ClientStream after done is called, since the interceptor is invoked by - // application-layer operations. done must never be nil when called. - NewStream(ctx context.Context, ri RPCInfo, done func(), newStream func(ctx context.Context, done func()) (ClientStream, error)) (ClientStream, error) -} - -// ServerInterceptor is an interceptor for incoming RPC's on gRPC server side. -type ServerInterceptor interface { - // AllowRPC checks if an incoming RPC is allowed to proceed based on - // information about connection RPC was received on, and HTTP Headers. This - // information will be piped into context. - AllowRPC(ctx context.Context) error // TODO: Make this a real interceptor for filters such as rate limiting. -} - -type csKeyType string - -const csKey = csKeyType("grpc.internal.resolver.configSelector") - -// SetConfigSelector sets the config selector in state and returns the new -// state. -func SetConfigSelector(state resolver.State, cs ConfigSelector) resolver.State { - state.Attributes = state.Attributes.WithValue(csKey, cs) - return state -} - -// GetConfigSelector retrieves the config selector from state, if present, and -// returns it or nil if absent. -func GetConfigSelector(state resolver.State) ConfigSelector { - cs, _ := state.Attributes.Value(csKey).(ConfigSelector) - return cs -} - -// SafeConfigSelector allows for safe switching of ConfigSelector -// implementations such that previous values are guaranteed to not be in use -// when UpdateConfigSelector returns. -type SafeConfigSelector struct { - mu sync.RWMutex - cs ConfigSelector -} - -// UpdateConfigSelector swaps to the provided ConfigSelector and blocks until -// all uses of the previous ConfigSelector have completed. -func (scs *SafeConfigSelector) UpdateConfigSelector(cs ConfigSelector) { - scs.mu.Lock() - defer scs.mu.Unlock() - scs.cs = cs -} - -// SelectConfig defers to the current ConfigSelector in scs. -func (scs *SafeConfigSelector) SelectConfig(r RPCInfo) (*RPCConfig, error) { - scs.mu.RLock() - defer scs.mu.RUnlock() - return scs.cs.SelectConfig(r) -} diff --git a/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go b/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go deleted file mode 100644 index 75301c51..00000000 --- a/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go +++ /dev/null @@ -1,458 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 dns implements a dns resolver to be installed as the default resolver -// in grpc. -package dns - -import ( - "context" - "encoding/json" - "errors" - "fmt" - "net" - "os" - "strconv" - "strings" - "sync" - "time" - - grpclbstate "google.golang.org/grpc/balancer/grpclb/state" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/internal/backoff" - "google.golang.org/grpc/internal/envconfig" - "google.golang.org/grpc/internal/grpcrand" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/serviceconfig" -) - -// EnableSRVLookups controls whether the DNS resolver attempts to fetch gRPCLB -// addresses from SRV records. Must not be changed after init time. -var EnableSRVLookups = false - -var logger = grpclog.Component("dns") - -// Globals to stub out in tests. TODO: Perhaps these two can be combined into a -// single variable for testing the resolver? -var ( - newTimer = time.NewTimer - newTimerDNSResRate = time.NewTimer -) - -func init() { - resolver.Register(NewBuilder()) -} - -const ( - defaultPort = "443" - defaultDNSSvrPort = "53" - golang = "GO" - // txtPrefix is the prefix string to be prepended to the host name for txt record lookup. - txtPrefix = "_grpc_config." - // In DNS, service config is encoded in a TXT record via the mechanism - // described in RFC-1464 using the attribute name grpc_config. - txtAttribute = "grpc_config=" -) - -var ( - errMissingAddr = errors.New("dns resolver: missing address") - - // Addresses ending with a colon that is supposed to be the separator - // between host and port is not allowed. E.g. "::" is a valid address as - // it is an IPv6 address (host only) and "[::]:" is invalid as it ends with - // a colon as the host and port separator - errEndsWithColon = errors.New("dns resolver: missing port after port-separator colon") -) - -var ( - defaultResolver netResolver = net.DefaultResolver - // To prevent excessive re-resolution, we enforce a rate limit on DNS - // resolution requests. - minDNSResRate = 30 * time.Second -) - -var customAuthorityDialler = func(authority string) func(ctx context.Context, network, address string) (net.Conn, error) { - return func(ctx context.Context, network, address string) (net.Conn, error) { - var dialer net.Dialer - return dialer.DialContext(ctx, network, authority) - } -} - -var customAuthorityResolver = func(authority string) (netResolver, error) { - host, port, err := parseTarget(authority, defaultDNSSvrPort) - if err != nil { - return nil, err - } - - authorityWithPort := net.JoinHostPort(host, port) - - return &net.Resolver{ - PreferGo: true, - Dial: customAuthorityDialler(authorityWithPort), - }, nil -} - -// NewBuilder creates a dnsBuilder which is used to factory DNS resolvers. -func NewBuilder() resolver.Builder { - return &dnsBuilder{} -} - -type dnsBuilder struct{} - -// Build creates and starts a DNS resolver that watches the name resolution of the target. -func (b *dnsBuilder) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error) { - host, port, err := parseTarget(target.Endpoint, defaultPort) - if err != nil { - return nil, err - } - - // IP address. - if ipAddr, ok := formatIP(host); ok { - addr := []resolver.Address{{Addr: ipAddr + ":" + port}} - cc.UpdateState(resolver.State{Addresses: addr}) - return deadResolver{}, nil - } - - // DNS address (non-IP). - ctx, cancel := context.WithCancel(context.Background()) - d := &dnsResolver{ - host: host, - port: port, - ctx: ctx, - cancel: cancel, - cc: cc, - rn: make(chan struct{}, 1), - disableServiceConfig: opts.DisableServiceConfig, - } - - if target.Authority == "" { - d.resolver = defaultResolver - } else { - d.resolver, err = customAuthorityResolver(target.Authority) - if err != nil { - return nil, err - } - } - - d.wg.Add(1) - go d.watcher() - return d, nil -} - -// Scheme returns the naming scheme of this resolver builder, which is "dns". -func (b *dnsBuilder) Scheme() string { - return "dns" -} - -type netResolver interface { - LookupHost(ctx context.Context, host string) (addrs []string, err error) - LookupSRV(ctx context.Context, service, proto, name string) (cname string, addrs []*net.SRV, err error) - LookupTXT(ctx context.Context, name string) (txts []string, err error) -} - -// deadResolver is a resolver that does nothing. -type deadResolver struct{} - -func (deadResolver) ResolveNow(resolver.ResolveNowOptions) {} - -func (deadResolver) Close() {} - -// dnsResolver watches for the name resolution update for a non-IP target. -type dnsResolver struct { - host string - port string - resolver netResolver - ctx context.Context - cancel context.CancelFunc - cc resolver.ClientConn - // rn channel is used by ResolveNow() to force an immediate resolution of the target. - rn chan struct{} - // wg is used to enforce Close() to return after the watcher() goroutine has finished. - // Otherwise, data race will be possible. [Race Example] in dns_resolver_test we - // replace the real lookup functions with mocked ones to facilitate testing. - // If Close() doesn't wait for watcher() goroutine finishes, race detector sometimes - // will warns lookup (READ the lookup function pointers) inside watcher() goroutine - // has data race with replaceNetFunc (WRITE the lookup function pointers). - wg sync.WaitGroup - disableServiceConfig bool -} - -// ResolveNow invoke an immediate resolution of the target that this dnsResolver watches. -func (d *dnsResolver) ResolveNow(resolver.ResolveNowOptions) { - select { - case d.rn <- struct{}{}: - default: - } -} - -// Close closes the dnsResolver. -func (d *dnsResolver) Close() { - d.cancel() - d.wg.Wait() -} - -func (d *dnsResolver) watcher() { - defer d.wg.Done() - backoffIndex := 1 - for { - state, err := d.lookup() - if err != nil { - // Report error to the underlying grpc.ClientConn. - d.cc.ReportError(err) - } else { - err = d.cc.UpdateState(*state) - } - - var timer *time.Timer - if err == nil { - // Success resolving, wait for the next ResolveNow. However, also wait 30 seconds at the very least - // to prevent constantly re-resolving. - backoffIndex = 1 - timer = newTimerDNSResRate(minDNSResRate) - select { - case <-d.ctx.Done(): - timer.Stop() - return - case <-d.rn: - } - } else { - // Poll on an error found in DNS Resolver or an error received from ClientConn. - timer = newTimer(backoff.DefaultExponential.Backoff(backoffIndex)) - backoffIndex++ - } - select { - case <-d.ctx.Done(): - timer.Stop() - return - case <-timer.C: - } - } -} - -func (d *dnsResolver) lookupSRV() ([]resolver.Address, error) { - if !EnableSRVLookups { - return nil, nil - } - var newAddrs []resolver.Address - _, srvs, err := d.resolver.LookupSRV(d.ctx, "grpclb", "tcp", d.host) - if err != nil { - err = handleDNSError(err, "SRV") // may become nil - return nil, err - } - for _, s := range srvs { - lbAddrs, err := d.resolver.LookupHost(d.ctx, s.Target) - if err != nil { - err = handleDNSError(err, "A") // may become nil - if err == nil { - // If there are other SRV records, look them up and ignore this - // one that does not exist. - continue - } - return nil, err - } - for _, a := range lbAddrs { - ip, ok := formatIP(a) - if !ok { - return nil, fmt.Errorf("dns: error parsing A record IP address %v", a) - } - addr := ip + ":" + strconv.Itoa(int(s.Port)) - newAddrs = append(newAddrs, resolver.Address{Addr: addr, ServerName: s.Target}) - } - } - return newAddrs, nil -} - -func handleDNSError(err error, lookupType string) error { - if dnsErr, ok := err.(*net.DNSError); ok && !dnsErr.IsTimeout && !dnsErr.IsTemporary { - // Timeouts and temporary errors should be communicated to gRPC to - // attempt another DNS query (with backoff). Other errors should be - // suppressed (they may represent the absence of a TXT record). - return nil - } - if err != nil { - err = fmt.Errorf("dns: %v record lookup error: %v", lookupType, err) - logger.Info(err) - } - return err -} - -func (d *dnsResolver) lookupTXT() *serviceconfig.ParseResult { - ss, err := d.resolver.LookupTXT(d.ctx, txtPrefix+d.host) - if err != nil { - if envconfig.TXTErrIgnore { - return nil - } - if err = handleDNSError(err, "TXT"); err != nil { - return &serviceconfig.ParseResult{Err: err} - } - return nil - } - var res string - for _, s := range ss { - res += s - } - - // TXT record must have "grpc_config=" attribute in order to be used as service config. - if !strings.HasPrefix(res, txtAttribute) { - logger.Warningf("dns: TXT record %v missing %v attribute", res, txtAttribute) - // This is not an error; it is the equivalent of not having a service config. - return nil - } - sc := canaryingSC(strings.TrimPrefix(res, txtAttribute)) - return d.cc.ParseServiceConfig(sc) -} - -func (d *dnsResolver) lookupHost() ([]resolver.Address, error) { - addrs, err := d.resolver.LookupHost(d.ctx, d.host) - if err != nil { - err = handleDNSError(err, "A") - return nil, err - } - newAddrs := make([]resolver.Address, 0, len(addrs)) - for _, a := range addrs { - ip, ok := formatIP(a) - if !ok { - return nil, fmt.Errorf("dns: error parsing A record IP address %v", a) - } - addr := ip + ":" + d.port - newAddrs = append(newAddrs, resolver.Address{Addr: addr}) - } - return newAddrs, nil -} - -func (d *dnsResolver) lookup() (*resolver.State, error) { - srv, srvErr := d.lookupSRV() - addrs, hostErr := d.lookupHost() - if hostErr != nil && (srvErr != nil || len(srv) == 0) { - return nil, hostErr - } - - state := resolver.State{Addresses: addrs} - if len(srv) > 0 { - state = grpclbstate.Set(state, &grpclbstate.State{BalancerAddresses: srv}) - } - if !d.disableServiceConfig { - state.ServiceConfig = d.lookupTXT() - } - return &state, nil -} - -// formatIP returns ok = false if addr is not a valid textual representation of an IP address. -// If addr is an IPv4 address, return the addr and ok = true. -// If addr is an IPv6 address, return the addr enclosed in square brackets and ok = true. -func formatIP(addr string) (addrIP string, ok bool) { - ip := net.ParseIP(addr) - if ip == nil { - return "", false - } - if ip.To4() != nil { - return addr, true - } - return "[" + addr + "]", true -} - -// parseTarget takes the user input target string and default port, returns formatted host and port info. -// If target doesn't specify a port, set the port to be the defaultPort. -// If target is in IPv6 format and host-name is enclosed in square brackets, brackets -// are stripped when setting the host. -// examples: -// target: "www.google.com" defaultPort: "443" returns host: "www.google.com", port: "443" -// target: "ipv4-host:80" defaultPort: "443" returns host: "ipv4-host", port: "80" -// target: "[ipv6-host]" defaultPort: "443" returns host: "ipv6-host", port: "443" -// target: ":80" defaultPort: "443" returns host: "localhost", port: "80" -func parseTarget(target, defaultPort string) (host, port string, err error) { - if target == "" { - return "", "", errMissingAddr - } - if ip := net.ParseIP(target); ip != nil { - // target is an IPv4 or IPv6(without brackets) address - return target, defaultPort, nil - } - if host, port, err = net.SplitHostPort(target); err == nil { - if port == "" { - // If the port field is empty (target ends with colon), e.g. "[::1]:", this is an error. - return "", "", errEndsWithColon - } - // target has port, i.e ipv4-host:port, [ipv6-host]:port, host-name:port - if host == "" { - // Keep consistent with net.Dial(): If the host is empty, as in ":80", the local system is assumed. - host = "localhost" - } - return host, port, nil - } - if host, port, err = net.SplitHostPort(target + ":" + defaultPort); err == nil { - // target doesn't have port - return host, port, nil - } - return "", "", fmt.Errorf("invalid target address %v, error info: %v", target, err) -} - -type rawChoice struct { - ClientLanguage *[]string `json:"clientLanguage,omitempty"` - Percentage *int `json:"percentage,omitempty"` - ClientHostName *[]string `json:"clientHostName,omitempty"` - ServiceConfig *json.RawMessage `json:"serviceConfig,omitempty"` -} - -func containsString(a *[]string, b string) bool { - if a == nil { - return true - } - for _, c := range *a { - if c == b { - return true - } - } - return false -} - -func chosenByPercentage(a *int) bool { - if a == nil { - return true - } - return grpcrand.Intn(100)+1 <= *a -} - -func canaryingSC(js string) string { - if js == "" { - return "" - } - var rcs []rawChoice - err := json.Unmarshal([]byte(js), &rcs) - if err != nil { - logger.Warningf("dns: error parsing service config json: %v", err) - return "" - } - cliHostname, err := os.Hostname() - if err != nil { - logger.Warningf("dns: error getting client hostname: %v", err) - return "" - } - var sc string - for _, c := range rcs { - if !containsString(c.ClientLanguage, golang) || - !chosenByPercentage(c.Percentage) || - !containsString(c.ClientHostName, cliHostname) || - c.ServiceConfig == nil { - continue - } - sc = string(*c.ServiceConfig) - break - } - return sc -} diff --git a/vendor/google.golang.org/grpc/internal/resolver/passthrough/passthrough.go b/vendor/google.golang.org/grpc/internal/resolver/passthrough/passthrough.go deleted file mode 100644 index 520d9229..00000000 --- a/vendor/google.golang.org/grpc/internal/resolver/passthrough/passthrough.go +++ /dev/null @@ -1,57 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 passthrough implements a pass-through resolver. It sends the target -// name without scheme back to gRPC as resolved address. -package passthrough - -import "google.golang.org/grpc/resolver" - -const scheme = "passthrough" - -type passthroughBuilder struct{} - -func (*passthroughBuilder) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error) { - r := &passthroughResolver{ - target: target, - cc: cc, - } - r.start() - return r, nil -} - -func (*passthroughBuilder) Scheme() string { - return scheme -} - -type passthroughResolver struct { - target resolver.Target - cc resolver.ClientConn -} - -func (r *passthroughResolver) start() { - r.cc.UpdateState(resolver.State{Addresses: []resolver.Address{{Addr: r.target.Endpoint}}}) -} - -func (*passthroughResolver) ResolveNow(o resolver.ResolveNowOptions) {} - -func (*passthroughResolver) Close() {} - -func init() { - resolver.Register(&passthroughBuilder{}) -} diff --git a/vendor/google.golang.org/grpc/internal/resolver/unix/unix.go b/vendor/google.golang.org/grpc/internal/resolver/unix/unix.go deleted file mode 100644 index 20852e59..00000000 --- a/vendor/google.golang.org/grpc/internal/resolver/unix/unix.go +++ /dev/null @@ -1,73 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 unix implements a resolver for unix targets. -package unix - -import ( - "fmt" - - "google.golang.org/grpc/internal/transport/networktype" - "google.golang.org/grpc/resolver" -) - -const unixScheme = "unix" -const unixAbstractScheme = "unix-abstract" - -type builder struct { - scheme string -} - -func (b *builder) Build(target resolver.Target, cc resolver.ClientConn, _ resolver.BuildOptions) (resolver.Resolver, error) { - if target.Authority != "" { - return nil, fmt.Errorf("invalid (non-empty) authority: %v", target.Authority) - } - - // gRPC was parsing the dial target manually before PR #4817, and we - // switched to using url.Parse() in that PR. To avoid breaking existing - // resolver implementations we ended up stripping the leading "/" from the - // endpoint. This obviously does not work for the "unix" scheme. Hence we - // end up using the parsed URL instead. - endpoint := target.URL.Path - if endpoint == "" { - endpoint = target.URL.Opaque - } - addr := resolver.Address{Addr: endpoint} - if b.scheme == unixAbstractScheme { - // prepend "\x00" to address for unix-abstract - addr.Addr = "\x00" + addr.Addr - } - cc.UpdateState(resolver.State{Addresses: []resolver.Address{networktype.Set(addr, "unix")}}) - return &nopResolver{}, nil -} - -func (b *builder) Scheme() string { - return b.scheme -} - -type nopResolver struct { -} - -func (*nopResolver) ResolveNow(resolver.ResolveNowOptions) {} - -func (*nopResolver) Close() {} - -func init() { - resolver.Register(&builder{scheme: unixScheme}) - resolver.Register(&builder{scheme: unixAbstractScheme}) -} diff --git a/vendor/google.golang.org/grpc/internal/serviceconfig/serviceconfig.go b/vendor/google.golang.org/grpc/internal/serviceconfig/serviceconfig.go deleted file mode 100644 index badbdbf5..00000000 --- a/vendor/google.golang.org/grpc/internal/serviceconfig/serviceconfig.go +++ /dev/null @@ -1,180 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 serviceconfig contains utility functions to parse service config. -package serviceconfig - -import ( - "encoding/json" - "fmt" - "time" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - externalserviceconfig "google.golang.org/grpc/serviceconfig" -) - -var logger = grpclog.Component("core") - -// BalancerConfig wraps the name and config associated with one load balancing -// policy. It corresponds to a single entry of the loadBalancingConfig field -// from ServiceConfig. -// -// It implements the json.Unmarshaler interface. -// -// https://github.com/grpc/grpc-proto/blob/54713b1e8bc6ed2d4f25fb4dff527842150b91b2/grpc/service_config/service_config.proto#L247 -type BalancerConfig struct { - Name string - Config externalserviceconfig.LoadBalancingConfig -} - -type intermediateBalancerConfig []map[string]json.RawMessage - -// MarshalJSON implements the json.Marshaler interface. -// -// It marshals the balancer and config into a length-1 slice -// ([]map[string]config). -func (bc *BalancerConfig) MarshalJSON() ([]byte, error) { - if bc.Config == nil { - // If config is nil, return empty config `{}`. - return []byte(fmt.Sprintf(`[{%q: %v}]`, bc.Name, "{}")), nil - } - c, err := json.Marshal(bc.Config) - if err != nil { - return nil, err - } - return []byte(fmt.Sprintf(`[{%q: %s}]`, bc.Name, c)), nil -} - -// UnmarshalJSON implements the json.Unmarshaler interface. -// -// ServiceConfig contains a list of loadBalancingConfigs, each with a name and -// config. This method iterates through that list in order, and stops at the -// first policy that is supported. -// - If the config for the first supported policy is invalid, the whole service -// config is invalid. -// - If the list doesn't contain any supported policy, the whole service config -// is invalid. -func (bc *BalancerConfig) UnmarshalJSON(b []byte) error { - var ir intermediateBalancerConfig - err := json.Unmarshal(b, &ir) - if err != nil { - return err - } - - var names []string - for i, lbcfg := range ir { - if len(lbcfg) != 1 { - return fmt.Errorf("invalid loadBalancingConfig: entry %v does not contain exactly 1 policy/config pair: %q", i, lbcfg) - } - - var ( - name string - jsonCfg json.RawMessage - ) - // Get the key:value pair from the map. We have already made sure that - // the map contains a single entry. - for name, jsonCfg = range lbcfg { - } - - names = append(names, name) - builder := balancer.Get(name) - if builder == nil { - // If the balancer is not registered, move on to the next config. - // This is not an error. - continue - } - bc.Name = name - - parser, ok := builder.(balancer.ConfigParser) - if !ok { - if string(jsonCfg) != "{}" { - logger.Warningf("non-empty balancer configuration %q, but balancer does not implement ParseConfig", string(jsonCfg)) - } - // Stop at this, though the builder doesn't support parsing config. - return nil - } - - cfg, err := parser.ParseConfig(jsonCfg) - if err != nil { - return fmt.Errorf("error parsing loadBalancingConfig for policy %q: %v", name, err) - } - bc.Config = cfg - return nil - } - // This is reached when the for loop iterates over all entries, but didn't - // return. This means we had a loadBalancingConfig slice but did not - // encounter a registered policy. The config is considered invalid in this - // case. - return fmt.Errorf("invalid loadBalancingConfig: no supported policies found in %v", names) -} - -// MethodConfig defines the configuration recommended by the service providers for a -// particular method. -type MethodConfig struct { - // WaitForReady indicates whether RPCs sent to this method should wait until - // the connection is ready by default (!failfast). The value specified via the - // gRPC client API will override the value set here. - WaitForReady *bool - // Timeout is the default timeout for RPCs sent to this method. The actual - // deadline used will be the minimum of the value specified here and the value - // set by the application via the gRPC client API. If either one is not set, - // then the other will be used. If neither is set, then the RPC has no deadline. - Timeout *time.Duration - // MaxReqSize is the maximum allowed payload size for an individual request in a - // stream (client->server) in bytes. The size which is measured is the serialized - // payload after per-message compression (but before stream compression) in bytes. - // The actual value used is the minimum of the value specified here and the value set - // by the application via the gRPC client API. If either one is not set, then the other - // will be used. If neither is set, then the built-in default is used. - MaxReqSize *int - // MaxRespSize is the maximum allowed payload size for an individual response in a - // stream (server->client) in bytes. - MaxRespSize *int - // RetryPolicy configures retry options for the method. - RetryPolicy *RetryPolicy -} - -// RetryPolicy defines the go-native version of the retry policy defined by the -// service config here: -// https://github.com/grpc/proposal/blob/master/A6-client-retries.md#integration-with-service-config -type RetryPolicy struct { - // MaxAttempts is the maximum number of attempts, including the original RPC. - // - // This field is required and must be two or greater. - MaxAttempts int - - // Exponential backoff parameters. The initial retry attempt will occur at - // random(0, initialBackoff). In general, the nth attempt will occur at - // random(0, - // min(initialBackoff*backoffMultiplier**(n-1), maxBackoff)). - // - // These fields are required and must be greater than zero. - InitialBackoff time.Duration - MaxBackoff time.Duration - BackoffMultiplier float64 - - // The set of status codes which may be retried. - // - // Status codes are specified as strings, e.g., "UNAVAILABLE". - // - // This field is required and must be non-empty. - // Note: a set is used to store this for easy lookup. - RetryableStatusCodes map[codes.Code]bool -} diff --git a/vendor/google.golang.org/grpc/internal/status/status.go b/vendor/google.golang.org/grpc/internal/status/status.go deleted file mode 100644 index e5c6513e..00000000 --- a/vendor/google.golang.org/grpc/internal/status/status.go +++ /dev/null @@ -1,166 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 status implements errors returned by gRPC. These errors are -// serialized and transmitted on the wire between server and client, and allow -// for additional data to be transmitted via the Details field in the status -// proto. gRPC service handlers should return an error created by this -// package, and gRPC clients should expect a corresponding error to be -// returned from the RPC call. -// -// This package upholds the invariants that a non-nil error may not -// contain an OK code, and an OK code must result in a nil error. -package status - -import ( - "errors" - "fmt" - - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes" - spb "google.golang.org/genproto/googleapis/rpc/status" - "google.golang.org/grpc/codes" -) - -// Status represents an RPC status code, message, and details. It is immutable -// and should be created with New, Newf, or FromProto. -type Status struct { - s *spb.Status -} - -// New returns a Status representing c and msg. -func New(c codes.Code, msg string) *Status { - return &Status{s: &spb.Status{Code: int32(c), Message: msg}} -} - -// Newf returns New(c, fmt.Sprintf(format, a...)). -func Newf(c codes.Code, format string, a ...interface{}) *Status { - return New(c, fmt.Sprintf(format, a...)) -} - -// FromProto returns a Status representing s. -func FromProto(s *spb.Status) *Status { - return &Status{s: proto.Clone(s).(*spb.Status)} -} - -// Err returns an error representing c and msg. If c is OK, returns nil. -func Err(c codes.Code, msg string) error { - return New(c, msg).Err() -} - -// Errorf returns Error(c, fmt.Sprintf(format, a...)). -func Errorf(c codes.Code, format string, a ...interface{}) error { - return Err(c, fmt.Sprintf(format, a...)) -} - -// Code returns the status code contained in s. -func (s *Status) Code() codes.Code { - if s == nil || s.s == nil { - return codes.OK - } - return codes.Code(s.s.Code) -} - -// Message returns the message contained in s. -func (s *Status) Message() string { - if s == nil || s.s == nil { - return "" - } - return s.s.Message -} - -// Proto returns s's status as an spb.Status proto message. -func (s *Status) Proto() *spb.Status { - if s == nil { - return nil - } - return proto.Clone(s.s).(*spb.Status) -} - -// Err returns an immutable error representing s; returns nil if s.Code() is OK. -func (s *Status) Err() error { - if s.Code() == codes.OK { - return nil - } - return &Error{s: s} -} - -// WithDetails returns a new status with the provided details messages appended to the status. -// If any errors are encountered, it returns nil and the first error encountered. -func (s *Status) WithDetails(details ...proto.Message) (*Status, error) { - if s.Code() == codes.OK { - return nil, errors.New("no error details for status with code OK") - } - // s.Code() != OK implies that s.Proto() != nil. - p := s.Proto() - for _, detail := range details { - any, err := ptypes.MarshalAny(detail) - if err != nil { - return nil, err - } - p.Details = append(p.Details, any) - } - return &Status{s: p}, nil -} - -// Details returns a slice of details messages attached to the status. -// If a detail cannot be decoded, the error is returned in place of the detail. -func (s *Status) Details() []interface{} { - if s == nil || s.s == nil { - return nil - } - details := make([]interface{}, 0, len(s.s.Details)) - for _, any := range s.s.Details { - detail := &ptypes.DynamicAny{} - if err := ptypes.UnmarshalAny(any, detail); err != nil { - details = append(details, err) - continue - } - details = append(details, detail.Message) - } - return details -} - -func (s *Status) String() string { - return fmt.Sprintf("rpc error: code = %s desc = %s", s.Code(), s.Message()) -} - -// Error wraps a pointer of a status proto. It implements error and Status, -// and a nil *Error should never be returned by this package. -type Error struct { - s *Status -} - -func (e *Error) Error() string { - return e.s.String() -} - -// GRPCStatus returns the Status represented by se. -func (e *Error) GRPCStatus() *Status { - return e.s -} - -// Is implements future error.Is functionality. -// A Error is equivalent if the code and message are identical. -func (e *Error) Is(target error) bool { - tse, ok := target.(*Error) - if !ok { - return false - } - return proto.Equal(e.s.s, tse.s.s) -} diff --git a/vendor/google.golang.org/grpc/internal/syscall/syscall_linux.go b/vendor/google.golang.org/grpc/internal/syscall/syscall_linux.go deleted file mode 100644 index b3a72276..00000000 --- a/vendor/google.golang.org/grpc/internal/syscall/syscall_linux.go +++ /dev/null @@ -1,112 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 syscall provides functionalities that grpc uses to get low-level operating system -// stats/info. -package syscall - -import ( - "fmt" - "net" - "syscall" - "time" - - "golang.org/x/sys/unix" - "google.golang.org/grpc/grpclog" -) - -var logger = grpclog.Component("core") - -// GetCPUTime returns the how much CPU time has passed since the start of this process. -func GetCPUTime() int64 { - var ts unix.Timespec - if err := unix.ClockGettime(unix.CLOCK_PROCESS_CPUTIME_ID, &ts); err != nil { - logger.Fatal(err) - } - return ts.Nano() -} - -// Rusage is an alias for syscall.Rusage under linux environment. -type Rusage = syscall.Rusage - -// GetRusage returns the resource usage of current process. -func GetRusage() *Rusage { - rusage := new(Rusage) - syscall.Getrusage(syscall.RUSAGE_SELF, rusage) - return rusage -} - -// CPUTimeDiff returns the differences of user CPU time and system CPU time used -// between two Rusage structs. -func CPUTimeDiff(first *Rusage, latest *Rusage) (float64, float64) { - var ( - utimeDiffs = latest.Utime.Sec - first.Utime.Sec - utimeDiffus = latest.Utime.Usec - first.Utime.Usec - stimeDiffs = latest.Stime.Sec - first.Stime.Sec - stimeDiffus = latest.Stime.Usec - first.Stime.Usec - ) - - uTimeElapsed := float64(utimeDiffs) + float64(utimeDiffus)*1.0e-6 - sTimeElapsed := float64(stimeDiffs) + float64(stimeDiffus)*1.0e-6 - - return uTimeElapsed, sTimeElapsed -} - -// SetTCPUserTimeout sets the TCP user timeout on a connection's socket -func SetTCPUserTimeout(conn net.Conn, timeout time.Duration) error { - tcpconn, ok := conn.(*net.TCPConn) - if !ok { - // not a TCP connection. exit early - return nil - } - rawConn, err := tcpconn.SyscallConn() - if err != nil { - return fmt.Errorf("error getting raw connection: %v", err) - } - err = rawConn.Control(func(fd uintptr) { - err = syscall.SetsockoptInt(int(fd), syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, int(timeout/time.Millisecond)) - }) - if err != nil { - return fmt.Errorf("error setting option on socket: %v", err) - } - - return nil -} - -// GetTCPUserTimeout gets the TCP user timeout on a connection's socket -func GetTCPUserTimeout(conn net.Conn) (opt int, err error) { - tcpconn, ok := conn.(*net.TCPConn) - if !ok { - err = fmt.Errorf("conn is not *net.TCPConn. got %T", conn) - return - } - rawConn, err := tcpconn.SyscallConn() - if err != nil { - err = fmt.Errorf("error getting raw connection: %v", err) - return - } - err = rawConn.Control(func(fd uintptr) { - opt, err = syscall.GetsockoptInt(int(fd), syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT) - }) - if err != nil { - err = fmt.Errorf("error getting option on socket: %v", err) - return - } - - return -} diff --git a/vendor/google.golang.org/grpc/internal/syscall/syscall_nonlinux.go b/vendor/google.golang.org/grpc/internal/syscall/syscall_nonlinux.go deleted file mode 100644 index 999f52cd..00000000 --- a/vendor/google.golang.org/grpc/internal/syscall/syscall_nonlinux.go +++ /dev/null @@ -1,77 +0,0 @@ -//go:build !linux -// +build !linux - -/* - * - * Copyright 2018 gRPC 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 syscall provides functionalities that grpc uses to get low-level -// operating system stats/info. -package syscall - -import ( - "net" - "sync" - "time" - - "google.golang.org/grpc/grpclog" -) - -var once sync.Once -var logger = grpclog.Component("core") - -func log() { - once.Do(func() { - logger.Info("CPU time info is unavailable on non-linux environments.") - }) -} - -// GetCPUTime returns the how much CPU time has passed since the start of this -// process. It always returns 0 under non-linux environments. -func GetCPUTime() int64 { - log() - return 0 -} - -// Rusage is an empty struct under non-linux environments. -type Rusage struct{} - -// GetRusage is a no-op function under non-linux environments. -func GetRusage() *Rusage { - log() - return nil -} - -// CPUTimeDiff returns the differences of user CPU time and system CPU time used -// between two Rusage structs. It a no-op function for non-linux environments. -func CPUTimeDiff(first *Rusage, latest *Rusage) (float64, float64) { - log() - return 0, 0 -} - -// SetTCPUserTimeout is a no-op function under non-linux environments. -func SetTCPUserTimeout(conn net.Conn, timeout time.Duration) error { - log() - return nil -} - -// GetTCPUserTimeout is a no-op function under non-linux environments. -// A negative return value indicates the operation is not supported -func GetTCPUserTimeout(conn net.Conn) (int, error) { - log() - return -1, nil -} diff --git a/vendor/google.golang.org/grpc/internal/transport/bdp_estimator.go b/vendor/google.golang.org/grpc/internal/transport/bdp_estimator.go deleted file mode 100644 index 070680ed..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/bdp_estimator.go +++ /dev/null @@ -1,141 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 transport - -import ( - "sync" - "time" -) - -const ( - // bdpLimit is the maximum value the flow control windows will be increased - // to. TCP typically limits this to 4MB, but some systems go up to 16MB. - // Since this is only a limit, it is safe to make it optimistic. - bdpLimit = (1 << 20) * 16 - // alpha is a constant factor used to keep a moving average - // of RTTs. - alpha = 0.9 - // If the current bdp sample is greater than or equal to - // our beta * our estimated bdp and the current bandwidth - // sample is the maximum bandwidth observed so far, we - // increase our bbp estimate by a factor of gamma. - beta = 0.66 - // To put our bdp to be smaller than or equal to twice the real BDP, - // we should multiply our current sample with 4/3, however to round things out - // we use 2 as the multiplication factor. - gamma = 2 -) - -// Adding arbitrary data to ping so that its ack can be identified. -// Easter-egg: what does the ping message say? -var bdpPing = &ping{data: [8]byte{2, 4, 16, 16, 9, 14, 7, 7}} - -type bdpEstimator struct { - // sentAt is the time when the ping was sent. - sentAt time.Time - - mu sync.Mutex - // bdp is the current bdp estimate. - bdp uint32 - // sample is the number of bytes received in one measurement cycle. - sample uint32 - // bwMax is the maximum bandwidth noted so far (bytes/sec). - bwMax float64 - // bool to keep track of the beginning of a new measurement cycle. - isSent bool - // Callback to update the window sizes. - updateFlowControl func(n uint32) - // sampleCount is the number of samples taken so far. - sampleCount uint64 - // round trip time (seconds) - rtt float64 -} - -// timesnap registers the time bdp ping was sent out so that -// network rtt can be calculated when its ack is received. -// It is called (by controller) when the bdpPing is -// being written on the wire. -func (b *bdpEstimator) timesnap(d [8]byte) { - if bdpPing.data != d { - return - } - b.sentAt = time.Now() -} - -// add adds bytes to the current sample for calculating bdp. -// It returns true only if a ping must be sent. This can be used -// by the caller (handleData) to make decision about batching -// a window update with it. -func (b *bdpEstimator) add(n uint32) bool { - b.mu.Lock() - defer b.mu.Unlock() - if b.bdp == bdpLimit { - return false - } - if !b.isSent { - b.isSent = true - b.sample = n - b.sentAt = time.Time{} - b.sampleCount++ - return true - } - b.sample += n - return false -} - -// calculate is called when an ack for a bdp ping is received. -// Here we calculate the current bdp and bandwidth sample and -// decide if the flow control windows should go up. -func (b *bdpEstimator) calculate(d [8]byte) { - // Check if the ping acked for was the bdp ping. - if bdpPing.data != d { - return - } - b.mu.Lock() - rttSample := time.Since(b.sentAt).Seconds() - if b.sampleCount < 10 { - // Bootstrap rtt with an average of first 10 rtt samples. - b.rtt += (rttSample - b.rtt) / float64(b.sampleCount) - } else { - // Heed to the recent past more. - b.rtt += (rttSample - b.rtt) * float64(alpha) - } - b.isSent = false - // The number of bytes accumulated so far in the sample is smaller - // than or equal to 1.5 times the real BDP on a saturated connection. - bwCurrent := float64(b.sample) / (b.rtt * float64(1.5)) - if bwCurrent > b.bwMax { - b.bwMax = bwCurrent - } - // If the current sample (which is smaller than or equal to the 1.5 times the real BDP) is - // greater than or equal to 2/3rd our perceived bdp AND this is the maximum bandwidth seen so far, we - // should update our perception of the network BDP. - if float64(b.sample) >= beta*float64(b.bdp) && bwCurrent == b.bwMax && b.bdp != bdpLimit { - sampleFloat := float64(b.sample) - b.bdp = uint32(gamma * sampleFloat) - if b.bdp > bdpLimit { - b.bdp = bdpLimit - } - bdp := b.bdp - b.mu.Unlock() - b.updateFlowControl(bdp) - return - } - b.mu.Unlock() -} diff --git a/vendor/google.golang.org/grpc/internal/transport/controlbuf.go b/vendor/google.golang.org/grpc/internal/transport/controlbuf.go deleted file mode 100644 index 244f4b08..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/controlbuf.go +++ /dev/null @@ -1,990 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 transport - -import ( - "bytes" - "errors" - "fmt" - "runtime" - "strconv" - "sync" - "sync/atomic" - - "golang.org/x/net/http2" - "golang.org/x/net/http2/hpack" - "google.golang.org/grpc/internal/grpcutil" - "google.golang.org/grpc/status" -) - -var updateHeaderTblSize = func(e *hpack.Encoder, v uint32) { - e.SetMaxDynamicTableSizeLimit(v) -} - -type itemNode struct { - it interface{} - next *itemNode -} - -type itemList struct { - head *itemNode - tail *itemNode -} - -func (il *itemList) enqueue(i interface{}) { - n := &itemNode{it: i} - if il.tail == nil { - il.head, il.tail = n, n - return - } - il.tail.next = n - il.tail = n -} - -// peek returns the first item in the list without removing it from the -// list. -func (il *itemList) peek() interface{} { - return il.head.it -} - -func (il *itemList) dequeue() interface{} { - if il.head == nil { - return nil - } - i := il.head.it - il.head = il.head.next - if il.head == nil { - il.tail = nil - } - return i -} - -func (il *itemList) dequeueAll() *itemNode { - h := il.head - il.head, il.tail = nil, nil - return h -} - -func (il *itemList) isEmpty() bool { - return il.head == nil -} - -// The following defines various control items which could flow through -// the control buffer of transport. They represent different aspects of -// control tasks, e.g., flow control, settings, streaming resetting, etc. - -// maxQueuedTransportResponseFrames is the most queued "transport response" -// frames we will buffer before preventing new reads from occurring on the -// transport. These are control frames sent in response to client requests, -// such as RST_STREAM due to bad headers or settings acks. -const maxQueuedTransportResponseFrames = 50 - -type cbItem interface { - isTransportResponseFrame() bool -} - -// registerStream is used to register an incoming stream with loopy writer. -type registerStream struct { - streamID uint32 - wq *writeQuota -} - -func (*registerStream) isTransportResponseFrame() bool { return false } - -// headerFrame is also used to register stream on the client-side. -type headerFrame struct { - streamID uint32 - hf []hpack.HeaderField - endStream bool // Valid on server side. - initStream func(uint32) error // Used only on the client side. - onWrite func() - wq *writeQuota // write quota for the stream created. - cleanup *cleanupStream // Valid on the server side. - onOrphaned func(error) // Valid on client-side -} - -func (h *headerFrame) isTransportResponseFrame() bool { - return h.cleanup != nil && h.cleanup.rst // Results in a RST_STREAM -} - -type cleanupStream struct { - streamID uint32 - rst bool - rstCode http2.ErrCode - onWrite func() -} - -func (c *cleanupStream) isTransportResponseFrame() bool { return c.rst } // Results in a RST_STREAM - -type earlyAbortStream struct { - httpStatus uint32 - streamID uint32 - contentSubtype string - status *status.Status - rst bool -} - -func (*earlyAbortStream) isTransportResponseFrame() bool { return false } - -type dataFrame struct { - streamID uint32 - endStream bool - h []byte - d []byte - // onEachWrite is called every time - // a part of d is written out. - onEachWrite func() -} - -func (*dataFrame) isTransportResponseFrame() bool { return false } - -type incomingWindowUpdate struct { - streamID uint32 - increment uint32 -} - -func (*incomingWindowUpdate) isTransportResponseFrame() bool { return false } - -type outgoingWindowUpdate struct { - streamID uint32 - increment uint32 -} - -func (*outgoingWindowUpdate) isTransportResponseFrame() bool { - return false // window updates are throttled by thresholds -} - -type incomingSettings struct { - ss []http2.Setting -} - -func (*incomingSettings) isTransportResponseFrame() bool { return true } // Results in a settings ACK - -type outgoingSettings struct { - ss []http2.Setting -} - -func (*outgoingSettings) isTransportResponseFrame() bool { return false } - -type incomingGoAway struct { -} - -func (*incomingGoAway) isTransportResponseFrame() bool { return false } - -type goAway struct { - code http2.ErrCode - debugData []byte - headsUp bool - closeConn bool -} - -func (*goAway) isTransportResponseFrame() bool { return false } - -type ping struct { - ack bool - data [8]byte -} - -func (*ping) isTransportResponseFrame() bool { return true } - -type outFlowControlSizeRequest struct { - resp chan uint32 -} - -func (*outFlowControlSizeRequest) isTransportResponseFrame() bool { return false } - -type outStreamState int - -const ( - active outStreamState = iota - empty - waitingOnStreamQuota -) - -type outStream struct { - id uint32 - state outStreamState - itl *itemList - bytesOutStanding int - wq *writeQuota - - next *outStream - prev *outStream -} - -func (s *outStream) deleteSelf() { - if s.prev != nil { - s.prev.next = s.next - } - if s.next != nil { - s.next.prev = s.prev - } - s.next, s.prev = nil, nil -} - -type outStreamList struct { - // Following are sentinel objects that mark the - // beginning and end of the list. They do not - // contain any item lists. All valid objects are - // inserted in between them. - // This is needed so that an outStream object can - // deleteSelf() in O(1) time without knowing which - // list it belongs to. - head *outStream - tail *outStream -} - -func newOutStreamList() *outStreamList { - head, tail := new(outStream), new(outStream) - head.next = tail - tail.prev = head - return &outStreamList{ - head: head, - tail: tail, - } -} - -func (l *outStreamList) enqueue(s *outStream) { - e := l.tail.prev - e.next = s - s.prev = e - s.next = l.tail - l.tail.prev = s -} - -// remove from the beginning of the list. -func (l *outStreamList) dequeue() *outStream { - b := l.head.next - if b == l.tail { - return nil - } - b.deleteSelf() - return b -} - -// controlBuffer is a way to pass information to loopy. -// Information is passed as specific struct types called control frames. -// A control frame not only represents data, messages or headers to be sent out -// but can also be used to instruct loopy to update its internal state. -// It shouldn't be confused with an HTTP2 frame, although some of the control frames -// like dataFrame and headerFrame do go out on wire as HTTP2 frames. -type controlBuffer struct { - ch chan struct{} - done <-chan struct{} - mu sync.Mutex - consumerWaiting bool - list *itemList - err error - - // transportResponseFrames counts the number of queued items that represent - // the response of an action initiated by the peer. trfChan is created - // when transportResponseFrames >= maxQueuedTransportResponseFrames and is - // closed and nilled when transportResponseFrames drops below the - // threshold. Both fields are protected by mu. - transportResponseFrames int - trfChan atomic.Value // chan struct{} -} - -func newControlBuffer(done <-chan struct{}) *controlBuffer { - return &controlBuffer{ - ch: make(chan struct{}, 1), - list: &itemList{}, - done: done, - } -} - -// throttle blocks if there are too many incomingSettings/cleanupStreams in the -// controlbuf. -func (c *controlBuffer) throttle() { - ch, _ := c.trfChan.Load().(chan struct{}) - if ch != nil { - select { - case <-ch: - case <-c.done: - } - } -} - -func (c *controlBuffer) put(it cbItem) error { - _, err := c.executeAndPut(nil, it) - return err -} - -func (c *controlBuffer) executeAndPut(f func(it interface{}) bool, it cbItem) (bool, error) { - var wakeUp bool - c.mu.Lock() - if c.err != nil { - c.mu.Unlock() - return false, c.err - } - if f != nil { - if !f(it) { // f wasn't successful - c.mu.Unlock() - return false, nil - } - } - if c.consumerWaiting { - wakeUp = true - c.consumerWaiting = false - } - c.list.enqueue(it) - if it.isTransportResponseFrame() { - c.transportResponseFrames++ - if c.transportResponseFrames == maxQueuedTransportResponseFrames { - // We are adding the frame that puts us over the threshold; create - // a throttling channel. - c.trfChan.Store(make(chan struct{})) - } - } - c.mu.Unlock() - if wakeUp { - select { - case c.ch <- struct{}{}: - default: - } - } - return true, nil -} - -// Note argument f should never be nil. -func (c *controlBuffer) execute(f func(it interface{}) bool, it interface{}) (bool, error) { - c.mu.Lock() - if c.err != nil { - c.mu.Unlock() - return false, c.err - } - if !f(it) { // f wasn't successful - c.mu.Unlock() - return false, nil - } - c.mu.Unlock() - return true, nil -} - -func (c *controlBuffer) get(block bool) (interface{}, error) { - for { - c.mu.Lock() - if c.err != nil { - c.mu.Unlock() - return nil, c.err - } - if !c.list.isEmpty() { - h := c.list.dequeue().(cbItem) - if h.isTransportResponseFrame() { - if c.transportResponseFrames == maxQueuedTransportResponseFrames { - // We are removing the frame that put us over the - // threshold; close and clear the throttling channel. - ch := c.trfChan.Load().(chan struct{}) - close(ch) - c.trfChan.Store((chan struct{})(nil)) - } - c.transportResponseFrames-- - } - c.mu.Unlock() - return h, nil - } - if !block { - c.mu.Unlock() - return nil, nil - } - c.consumerWaiting = true - c.mu.Unlock() - select { - case <-c.ch: - case <-c.done: - return nil, ErrConnClosing - } - } -} - -func (c *controlBuffer) finish() { - c.mu.Lock() - if c.err != nil { - c.mu.Unlock() - return - } - c.err = ErrConnClosing - // There may be headers for streams in the control buffer. - // These streams need to be cleaned out since the transport - // is still not aware of these yet. - for head := c.list.dequeueAll(); head != nil; head = head.next { - hdr, ok := head.it.(*headerFrame) - if !ok { - continue - } - if hdr.onOrphaned != nil { // It will be nil on the server-side. - hdr.onOrphaned(ErrConnClosing) - } - } - // In case throttle() is currently in flight, it needs to be unblocked. - // Otherwise, the transport may not close, since the transport is closed by - // the reader encountering the connection error. - ch, _ := c.trfChan.Load().(chan struct{}) - if ch != nil { - close(ch) - } - c.trfChan.Store((chan struct{})(nil)) - c.mu.Unlock() -} - -type side int - -const ( - clientSide side = iota - serverSide -) - -// Loopy receives frames from the control buffer. -// Each frame is handled individually; most of the work done by loopy goes -// into handling data frames. Loopy maintains a queue of active streams, and each -// stream maintains a queue of data frames; as loopy receives data frames -// it gets added to the queue of the relevant stream. -// Loopy goes over this list of active streams by processing one node every iteration, -// thereby closely resemebling to a round-robin scheduling over all streams. While -// processing a stream, loopy writes out data bytes from this stream capped by the min -// of http2MaxFrameLen, connection-level flow control and stream-level flow control. -type loopyWriter struct { - side side - cbuf *controlBuffer - sendQuota uint32 - oiws uint32 // outbound initial window size. - // estdStreams is map of all established streams that are not cleaned-up yet. - // On client-side, this is all streams whose headers were sent out. - // On server-side, this is all streams whose headers were received. - estdStreams map[uint32]*outStream // Established streams. - // activeStreams is a linked-list of all streams that have data to send and some - // stream-level flow control quota. - // Each of these streams internally have a list of data items(and perhaps trailers - // on the server-side) to be sent out. - activeStreams *outStreamList - framer *framer - hBuf *bytes.Buffer // The buffer for HPACK encoding. - hEnc *hpack.Encoder // HPACK encoder. - bdpEst *bdpEstimator - draining bool - - // Side-specific handlers - ssGoAwayHandler func(*goAway) (bool, error) -} - -func newLoopyWriter(s side, fr *framer, cbuf *controlBuffer, bdpEst *bdpEstimator) *loopyWriter { - var buf bytes.Buffer - l := &loopyWriter{ - side: s, - cbuf: cbuf, - sendQuota: defaultWindowSize, - oiws: defaultWindowSize, - estdStreams: make(map[uint32]*outStream), - activeStreams: newOutStreamList(), - framer: fr, - hBuf: &buf, - hEnc: hpack.NewEncoder(&buf), - bdpEst: bdpEst, - } - return l -} - -const minBatchSize = 1000 - -// run should be run in a separate goroutine. -// It reads control frames from controlBuf and processes them by: -// 1. Updating loopy's internal state, or/and -// 2. Writing out HTTP2 frames on the wire. -// -// Loopy keeps all active streams with data to send in a linked-list. -// All streams in the activeStreams linked-list must have both: -// 1. Data to send, and -// 2. Stream level flow control quota available. -// -// In each iteration of run loop, other than processing the incoming control -// frame, loopy calls processData, which processes one node from the activeStreams linked-list. -// This results in writing of HTTP2 frames into an underlying write buffer. -// When there's no more control frames to read from controlBuf, loopy flushes the write buffer. -// As an optimization, to increase the batch size for each flush, loopy yields the processor, once -// if the batch size is too low to give stream goroutines a chance to fill it up. -func (l *loopyWriter) run() (err error) { - defer func() { - if err == ErrConnClosing { - // Don't log ErrConnClosing as error since it happens - // 1. When the connection is closed by some other known issue. - // 2. User closed the connection. - // 3. A graceful close of connection. - if logger.V(logLevel) { - logger.Infof("transport: loopyWriter.run returning. %v", err) - } - err = nil - } - }() - for { - it, err := l.cbuf.get(true) - if err != nil { - return err - } - if err = l.handle(it); err != nil { - return err - } - if _, err = l.processData(); err != nil { - return err - } - gosched := true - hasdata: - for { - it, err := l.cbuf.get(false) - if err != nil { - return err - } - if it != nil { - if err = l.handle(it); err != nil { - return err - } - if _, err = l.processData(); err != nil { - return err - } - continue hasdata - } - isEmpty, err := l.processData() - if err != nil { - return err - } - if !isEmpty { - continue hasdata - } - if gosched { - gosched = false - if l.framer.writer.offset < minBatchSize { - runtime.Gosched() - continue hasdata - } - } - l.framer.writer.Flush() - break hasdata - - } - } -} - -func (l *loopyWriter) outgoingWindowUpdateHandler(w *outgoingWindowUpdate) error { - return l.framer.fr.WriteWindowUpdate(w.streamID, w.increment) -} - -func (l *loopyWriter) incomingWindowUpdateHandler(w *incomingWindowUpdate) error { - // Otherwise update the quota. - if w.streamID == 0 { - l.sendQuota += w.increment - return nil - } - // Find the stream and update it. - if str, ok := l.estdStreams[w.streamID]; ok { - str.bytesOutStanding -= int(w.increment) - if strQuota := int(l.oiws) - str.bytesOutStanding; strQuota > 0 && str.state == waitingOnStreamQuota { - str.state = active - l.activeStreams.enqueue(str) - return nil - } - } - return nil -} - -func (l *loopyWriter) outgoingSettingsHandler(s *outgoingSettings) error { - return l.framer.fr.WriteSettings(s.ss...) -} - -func (l *loopyWriter) incomingSettingsHandler(s *incomingSettings) error { - if err := l.applySettings(s.ss); err != nil { - return err - } - return l.framer.fr.WriteSettingsAck() -} - -func (l *loopyWriter) registerStreamHandler(h *registerStream) error { - str := &outStream{ - id: h.streamID, - state: empty, - itl: &itemList{}, - wq: h.wq, - } - l.estdStreams[h.streamID] = str - return nil -} - -func (l *loopyWriter) headerHandler(h *headerFrame) error { - if l.side == serverSide { - str, ok := l.estdStreams[h.streamID] - if !ok { - if logger.V(logLevel) { - logger.Warningf("transport: loopy doesn't recognize the stream: %d", h.streamID) - } - return nil - } - // Case 1.A: Server is responding back with headers. - if !h.endStream { - return l.writeHeader(h.streamID, h.endStream, h.hf, h.onWrite) - } - // else: Case 1.B: Server wants to close stream. - - if str.state != empty { // either active or waiting on stream quota. - // add it str's list of items. - str.itl.enqueue(h) - return nil - } - if err := l.writeHeader(h.streamID, h.endStream, h.hf, h.onWrite); err != nil { - return err - } - return l.cleanupStreamHandler(h.cleanup) - } - // Case 2: Client wants to originate stream. - str := &outStream{ - id: h.streamID, - state: empty, - itl: &itemList{}, - wq: h.wq, - } - str.itl.enqueue(h) - return l.originateStream(str) -} - -func (l *loopyWriter) originateStream(str *outStream) error { - hdr := str.itl.dequeue().(*headerFrame) - if err := hdr.initStream(str.id); err != nil { - if err == ErrConnClosing { - return err - } - // Other errors(errStreamDrain) need not close transport. - return nil - } - if err := l.writeHeader(str.id, hdr.endStream, hdr.hf, hdr.onWrite); err != nil { - return err - } - l.estdStreams[str.id] = str - return nil -} - -func (l *loopyWriter) writeHeader(streamID uint32, endStream bool, hf []hpack.HeaderField, onWrite func()) error { - if onWrite != nil { - onWrite() - } - l.hBuf.Reset() - for _, f := range hf { - if err := l.hEnc.WriteField(f); err != nil { - if logger.V(logLevel) { - logger.Warningf("transport: loopyWriter.writeHeader encountered error while encoding headers: %v", err) - } - } - } - var ( - err error - endHeaders, first bool - ) - first = true - for !endHeaders { - size := l.hBuf.Len() - if size > http2MaxFrameLen { - size = http2MaxFrameLen - } else { - endHeaders = true - } - if first { - first = false - err = l.framer.fr.WriteHeaders(http2.HeadersFrameParam{ - StreamID: streamID, - BlockFragment: l.hBuf.Next(size), - EndStream: endStream, - EndHeaders: endHeaders, - }) - } else { - err = l.framer.fr.WriteContinuation( - streamID, - endHeaders, - l.hBuf.Next(size), - ) - } - if err != nil { - return err - } - } - return nil -} - -func (l *loopyWriter) preprocessData(df *dataFrame) error { - str, ok := l.estdStreams[df.streamID] - if !ok { - return nil - } - // If we got data for a stream it means that - // stream was originated and the headers were sent out. - str.itl.enqueue(df) - if str.state == empty { - str.state = active - l.activeStreams.enqueue(str) - } - return nil -} - -func (l *loopyWriter) pingHandler(p *ping) error { - if !p.ack { - l.bdpEst.timesnap(p.data) - } - return l.framer.fr.WritePing(p.ack, p.data) - -} - -func (l *loopyWriter) outFlowControlSizeRequestHandler(o *outFlowControlSizeRequest) error { - o.resp <- l.sendQuota - return nil -} - -func (l *loopyWriter) cleanupStreamHandler(c *cleanupStream) error { - c.onWrite() - if str, ok := l.estdStreams[c.streamID]; ok { - // On the server side it could be a trailers-only response or - // a RST_STREAM before stream initialization thus the stream might - // not be established yet. - delete(l.estdStreams, c.streamID) - str.deleteSelf() - } - if c.rst { // If RST_STREAM needs to be sent. - if err := l.framer.fr.WriteRSTStream(c.streamID, c.rstCode); err != nil { - return err - } - } - if l.side == clientSide && l.draining && len(l.estdStreams) == 0 { - return ErrConnClosing - } - return nil -} - -func (l *loopyWriter) earlyAbortStreamHandler(eas *earlyAbortStream) error { - if l.side == clientSide { - return errors.New("earlyAbortStream not handled on client") - } - // In case the caller forgets to set the http status, default to 200. - if eas.httpStatus == 0 { - eas.httpStatus = 200 - } - headerFields := []hpack.HeaderField{ - {Name: ":status", Value: strconv.Itoa(int(eas.httpStatus))}, - {Name: "content-type", Value: grpcutil.ContentType(eas.contentSubtype)}, - {Name: "grpc-status", Value: strconv.Itoa(int(eas.status.Code()))}, - {Name: "grpc-message", Value: encodeGrpcMessage(eas.status.Message())}, - } - - if err := l.writeHeader(eas.streamID, true, headerFields, nil); err != nil { - return err - } - if eas.rst { - if err := l.framer.fr.WriteRSTStream(eas.streamID, http2.ErrCodeNo); err != nil { - return err - } - } - return nil -} - -func (l *loopyWriter) incomingGoAwayHandler(*incomingGoAway) error { - if l.side == clientSide { - l.draining = true - if len(l.estdStreams) == 0 { - return ErrConnClosing - } - } - return nil -} - -func (l *loopyWriter) goAwayHandler(g *goAway) error { - // Handling of outgoing GoAway is very specific to side. - if l.ssGoAwayHandler != nil { - draining, err := l.ssGoAwayHandler(g) - if err != nil { - return err - } - l.draining = draining - } - return nil -} - -func (l *loopyWriter) handle(i interface{}) error { - switch i := i.(type) { - case *incomingWindowUpdate: - return l.incomingWindowUpdateHandler(i) - case *outgoingWindowUpdate: - return l.outgoingWindowUpdateHandler(i) - case *incomingSettings: - return l.incomingSettingsHandler(i) - case *outgoingSettings: - return l.outgoingSettingsHandler(i) - case *headerFrame: - return l.headerHandler(i) - case *registerStream: - return l.registerStreamHandler(i) - case *cleanupStream: - return l.cleanupStreamHandler(i) - case *earlyAbortStream: - return l.earlyAbortStreamHandler(i) - case *incomingGoAway: - return l.incomingGoAwayHandler(i) - case *dataFrame: - return l.preprocessData(i) - case *ping: - return l.pingHandler(i) - case *goAway: - return l.goAwayHandler(i) - case *outFlowControlSizeRequest: - return l.outFlowControlSizeRequestHandler(i) - default: - return fmt.Errorf("transport: unknown control message type %T", i) - } -} - -func (l *loopyWriter) applySettings(ss []http2.Setting) error { - for _, s := range ss { - switch s.ID { - case http2.SettingInitialWindowSize: - o := l.oiws - l.oiws = s.Val - if o < l.oiws { - // If the new limit is greater make all depleted streams active. - for _, stream := range l.estdStreams { - if stream.state == waitingOnStreamQuota { - stream.state = active - l.activeStreams.enqueue(stream) - } - } - } - case http2.SettingHeaderTableSize: - updateHeaderTblSize(l.hEnc, s.Val) - } - } - return nil -} - -// processData removes the first stream from active streams, writes out at most 16KB -// of its data and then puts it at the end of activeStreams if there's still more data -// to be sent and stream has some stream-level flow control. -func (l *loopyWriter) processData() (bool, error) { - if l.sendQuota == 0 { - return true, nil - } - str := l.activeStreams.dequeue() // Remove the first stream. - if str == nil { - return true, nil - } - dataItem := str.itl.peek().(*dataFrame) // Peek at the first data item this stream. - // A data item is represented by a dataFrame, since it later translates into - // multiple HTTP2 data frames. - // Every dataFrame has two buffers; h that keeps grpc-message header and d that is acutal data. - // As an optimization to keep wire traffic low, data from d is copied to h to make as big as the - // maximum possilbe HTTP2 frame size. - - if len(dataItem.h) == 0 && len(dataItem.d) == 0 { // Empty data frame - // Client sends out empty data frame with endStream = true - if err := l.framer.fr.WriteData(dataItem.streamID, dataItem.endStream, nil); err != nil { - return false, err - } - str.itl.dequeue() // remove the empty data item from stream - if str.itl.isEmpty() { - str.state = empty - } else if trailer, ok := str.itl.peek().(*headerFrame); ok { // the next item is trailers. - if err := l.writeHeader(trailer.streamID, trailer.endStream, trailer.hf, trailer.onWrite); err != nil { - return false, err - } - if err := l.cleanupStreamHandler(trailer.cleanup); err != nil { - return false, nil - } - } else { - l.activeStreams.enqueue(str) - } - return false, nil - } - var ( - buf []byte - ) - // Figure out the maximum size we can send - maxSize := http2MaxFrameLen - if strQuota := int(l.oiws) - str.bytesOutStanding; strQuota <= 0 { // stream-level flow control. - str.state = waitingOnStreamQuota - return false, nil - } else if maxSize > strQuota { - maxSize = strQuota - } - if maxSize > int(l.sendQuota) { // connection-level flow control. - maxSize = int(l.sendQuota) - } - // Compute how much of the header and data we can send within quota and max frame length - hSize := min(maxSize, len(dataItem.h)) - dSize := min(maxSize-hSize, len(dataItem.d)) - if hSize != 0 { - if dSize == 0 { - buf = dataItem.h - } else { - // We can add some data to grpc message header to distribute bytes more equally across frames. - // Copy on the stack to avoid generating garbage - var localBuf [http2MaxFrameLen]byte - copy(localBuf[:hSize], dataItem.h) - copy(localBuf[hSize:], dataItem.d[:dSize]) - buf = localBuf[:hSize+dSize] - } - } else { - buf = dataItem.d - } - - size := hSize + dSize - - // Now that outgoing flow controls are checked we can replenish str's write quota - str.wq.replenish(size) - var endStream bool - // If this is the last data message on this stream and all of it can be written in this iteration. - if dataItem.endStream && len(dataItem.h)+len(dataItem.d) <= size { - endStream = true - } - if dataItem.onEachWrite != nil { - dataItem.onEachWrite() - } - if err := l.framer.fr.WriteData(dataItem.streamID, endStream, buf[:size]); err != nil { - return false, err - } - str.bytesOutStanding += size - l.sendQuota -= uint32(size) - dataItem.h = dataItem.h[hSize:] - dataItem.d = dataItem.d[dSize:] - - if len(dataItem.h) == 0 && len(dataItem.d) == 0 { // All the data from that message was written out. - str.itl.dequeue() - } - if str.itl.isEmpty() { - str.state = empty - } else if trailer, ok := str.itl.peek().(*headerFrame); ok { // The next item is trailers. - if err := l.writeHeader(trailer.streamID, trailer.endStream, trailer.hf, trailer.onWrite); err != nil { - return false, err - } - if err := l.cleanupStreamHandler(trailer.cleanup); err != nil { - return false, err - } - } else if int(l.oiws)-str.bytesOutStanding <= 0 { // Ran out of stream quota. - str.state = waitingOnStreamQuota - } else { // Otherwise add it back to the list of active streams. - l.activeStreams.enqueue(str) - } - return false, nil -} - -func min(a, b int) int { - if a < b { - return a - } - return b -} diff --git a/vendor/google.golang.org/grpc/internal/transport/defaults.go b/vendor/google.golang.org/grpc/internal/transport/defaults.go deleted file mode 100644 index 9fa306b2..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/defaults.go +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 transport - -import ( - "math" - "time" -) - -const ( - // The default value of flow control window size in HTTP2 spec. - defaultWindowSize = 65535 - // The initial window size for flow control. - initialWindowSize = defaultWindowSize // for an RPC - infinity = time.Duration(math.MaxInt64) - defaultClientKeepaliveTime = infinity - defaultClientKeepaliveTimeout = 20 * time.Second - defaultMaxStreamsClient = 100 - defaultMaxConnectionIdle = infinity - defaultMaxConnectionAge = infinity - defaultMaxConnectionAgeGrace = infinity - defaultServerKeepaliveTime = 2 * time.Hour - defaultServerKeepaliveTimeout = 20 * time.Second - defaultKeepalivePolicyMinTime = 5 * time.Minute - // max window limit set by HTTP2 Specs. - maxWindowSize = math.MaxInt32 - // defaultWriteQuota is the default value for number of data - // bytes that each stream can schedule before some of it being - // flushed out. - defaultWriteQuota = 64 * 1024 - defaultClientMaxHeaderListSize = uint32(16 << 20) - defaultServerMaxHeaderListSize = uint32(16 << 20) -) diff --git a/vendor/google.golang.org/grpc/internal/transport/flowcontrol.go b/vendor/google.golang.org/grpc/internal/transport/flowcontrol.go deleted file mode 100644 index 97198c51..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/flowcontrol.go +++ /dev/null @@ -1,215 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 transport - -import ( - "fmt" - "math" - "sync" - "sync/atomic" -) - -// writeQuota is a soft limit on the amount of data a stream can -// schedule before some of it is written out. -type writeQuota struct { - quota int32 - // get waits on read from when quota goes less than or equal to zero. - // replenish writes on it when quota goes positive again. - ch chan struct{} - // done is triggered in error case. - done <-chan struct{} - // replenish is called by loopyWriter to give quota back to. - // It is implemented as a field so that it can be updated - // by tests. - replenish func(n int) -} - -func newWriteQuota(sz int32, done <-chan struct{}) *writeQuota { - w := &writeQuota{ - quota: sz, - ch: make(chan struct{}, 1), - done: done, - } - w.replenish = w.realReplenish - return w -} - -func (w *writeQuota) get(sz int32) error { - for { - if atomic.LoadInt32(&w.quota) > 0 { - atomic.AddInt32(&w.quota, -sz) - return nil - } - select { - case <-w.ch: - continue - case <-w.done: - return errStreamDone - } - } -} - -func (w *writeQuota) realReplenish(n int) { - sz := int32(n) - a := atomic.AddInt32(&w.quota, sz) - b := a - sz - if b <= 0 && a > 0 { - select { - case w.ch <- struct{}{}: - default: - } - } -} - -type trInFlow struct { - limit uint32 - unacked uint32 - effectiveWindowSize uint32 -} - -func (f *trInFlow) newLimit(n uint32) uint32 { - d := n - f.limit - f.limit = n - f.updateEffectiveWindowSize() - return d -} - -func (f *trInFlow) onData(n uint32) uint32 { - f.unacked += n - if f.unacked >= f.limit/4 { - w := f.unacked - f.unacked = 0 - f.updateEffectiveWindowSize() - return w - } - f.updateEffectiveWindowSize() - return 0 -} - -func (f *trInFlow) reset() uint32 { - w := f.unacked - f.unacked = 0 - f.updateEffectiveWindowSize() - return w -} - -func (f *trInFlow) updateEffectiveWindowSize() { - atomic.StoreUint32(&f.effectiveWindowSize, f.limit-f.unacked) -} - -func (f *trInFlow) getSize() uint32 { - return atomic.LoadUint32(&f.effectiveWindowSize) -} - -// TODO(mmukhi): Simplify this code. -// inFlow deals with inbound flow control -type inFlow struct { - mu sync.Mutex - // The inbound flow control limit for pending data. - limit uint32 - // pendingData is the overall data which have been received but not been - // consumed by applications. - pendingData uint32 - // The amount of data the application has consumed but grpc has not sent - // window update for them. Used to reduce window update frequency. - pendingUpdate uint32 - // delta is the extra window update given by receiver when an application - // is reading data bigger in size than the inFlow limit. - delta uint32 -} - -// newLimit updates the inflow window to a new value n. -// It assumes that n is always greater than the old limit. -func (f *inFlow) newLimit(n uint32) { - f.mu.Lock() - f.limit = n - f.mu.Unlock() -} - -func (f *inFlow) maybeAdjust(n uint32) uint32 { - if n > uint32(math.MaxInt32) { - n = uint32(math.MaxInt32) - } - f.mu.Lock() - defer f.mu.Unlock() - // estSenderQuota is the receiver's view of the maximum number of bytes the sender - // can send without a window update. - estSenderQuota := int32(f.limit - (f.pendingData + f.pendingUpdate)) - // estUntransmittedData is the maximum number of bytes the sends might not have put - // on the wire yet. A value of 0 or less means that we have already received all or - // more bytes than the application is requesting to read. - estUntransmittedData := int32(n - f.pendingData) // Casting into int32 since it could be negative. - // This implies that unless we send a window update, the sender won't be able to send all the bytes - // for this message. Therefore we must send an update over the limit since there's an active read - // request from the application. - if estUntransmittedData > estSenderQuota { - // Sender's window shouldn't go more than 2^31 - 1 as specified in the HTTP spec. - if f.limit+n > maxWindowSize { - f.delta = maxWindowSize - f.limit - } else { - // Send a window update for the whole message and not just the difference between - // estUntransmittedData and estSenderQuota. This will be helpful in case the message - // is padded; We will fallback on the current available window(at least a 1/4th of the limit). - f.delta = n - } - return f.delta - } - return 0 -} - -// onData is invoked when some data frame is received. It updates pendingData. -func (f *inFlow) onData(n uint32) error { - f.mu.Lock() - f.pendingData += n - if f.pendingData+f.pendingUpdate > f.limit+f.delta { - limit := f.limit - rcvd := f.pendingData + f.pendingUpdate - f.mu.Unlock() - return fmt.Errorf("received %d-bytes data exceeding the limit %d bytes", rcvd, limit) - } - f.mu.Unlock() - return nil -} - -// onRead is invoked when the application reads the data. It returns the window size -// to be sent to the peer. -func (f *inFlow) onRead(n uint32) uint32 { - f.mu.Lock() - if f.pendingData == 0 { - f.mu.Unlock() - return 0 - } - f.pendingData -= n - if n > f.delta { - n -= f.delta - f.delta = 0 - } else { - f.delta -= n - n = 0 - } - f.pendingUpdate += n - if f.pendingUpdate >= f.limit/4 { - wu := f.pendingUpdate - f.pendingUpdate = 0 - f.mu.Unlock() - return wu - } - f.mu.Unlock() - return 0 -} diff --git a/vendor/google.golang.org/grpc/internal/transport/handler_server.go b/vendor/google.golang.org/grpc/internal/transport/handler_server.go deleted file mode 100644 index 09012092..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/handler_server.go +++ /dev/null @@ -1,462 +0,0 @@ -/* - * - * Copyright 2016 gRPC authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -// This file is the implementation of a gRPC server using HTTP/2 which -// uses the standard Go http2 Server implementation (via the -// http.Handler interface), rather than speaking low-level HTTP/2 -// frames itself. It is the implementation of *grpc.Server.ServeHTTP. - -package transport - -import ( - "bytes" - "context" - "errors" - "fmt" - "io" - "net" - "net/http" - "strings" - "sync" - "time" - - "github.com/golang/protobuf/proto" - "golang.org/x/net/http2" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/grpcutil" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/peer" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" -) - -// NewServerHandlerTransport returns a ServerTransport handling gRPC -// from inside an http.Handler. It requires that the http Server -// supports HTTP/2. -func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request, stats []stats.Handler) (ServerTransport, error) { - if r.ProtoMajor != 2 { - return nil, errors.New("gRPC requires HTTP/2") - } - if r.Method != "POST" { - return nil, errors.New("invalid gRPC request method") - } - contentType := r.Header.Get("Content-Type") - // TODO: do we assume contentType is lowercase? we did before - contentSubtype, validContentType := grpcutil.ContentSubtype(contentType) - if !validContentType { - return nil, errors.New("invalid gRPC request content-type") - } - if _, ok := w.(http.Flusher); !ok { - return nil, errors.New("gRPC requires a ResponseWriter supporting http.Flusher") - } - - st := &serverHandlerTransport{ - rw: w, - req: r, - closedCh: make(chan struct{}), - writes: make(chan func()), - contentType: contentType, - contentSubtype: contentSubtype, - stats: stats, - } - - if v := r.Header.Get("grpc-timeout"); v != "" { - to, err := decodeTimeout(v) - if err != nil { - return nil, status.Errorf(codes.Internal, "malformed time-out: %v", err) - } - st.timeoutSet = true - st.timeout = to - } - - metakv := []string{"content-type", contentType} - if r.Host != "" { - metakv = append(metakv, ":authority", r.Host) - } - for k, vv := range r.Header { - k = strings.ToLower(k) - if isReservedHeader(k) && !isWhitelistedHeader(k) { - continue - } - for _, v := range vv { - v, err := decodeMetadataHeader(k, v) - if err != nil { - return nil, status.Errorf(codes.Internal, "malformed binary metadata: %v", err) - } - metakv = append(metakv, k, v) - } - } - st.headerMD = metadata.Pairs(metakv...) - - return st, nil -} - -// serverHandlerTransport is an implementation of ServerTransport -// which replies to exactly one gRPC request (exactly one HTTP request), -// using the net/http.Handler interface. This http.Handler is guaranteed -// at this point to be speaking over HTTP/2, so it's able to speak valid -// gRPC. -type serverHandlerTransport struct { - rw http.ResponseWriter - req *http.Request - timeoutSet bool - timeout time.Duration - - headerMD metadata.MD - - closeOnce sync.Once - closedCh chan struct{} // closed on Close - - // writes is a channel of code to run serialized in the - // ServeHTTP (HandleStreams) goroutine. The channel is closed - // when WriteStatus is called. - writes chan func() - - // block concurrent WriteStatus calls - // e.g. grpc/(*serverStream).SendMsg/RecvMsg - writeStatusMu sync.Mutex - - // we just mirror the request content-type - contentType string - // we store both contentType and contentSubtype so we don't keep recreating them - // TODO make sure this is consistent across handler_server and http2_server - contentSubtype string - - stats []stats.Handler -} - -func (ht *serverHandlerTransport) Close() { - ht.closeOnce.Do(ht.closeCloseChanOnce) -} - -func (ht *serverHandlerTransport) closeCloseChanOnce() { close(ht.closedCh) } - -func (ht *serverHandlerTransport) RemoteAddr() net.Addr { return strAddr(ht.req.RemoteAddr) } - -// strAddr is a net.Addr backed by either a TCP "ip:port" string, or -// the empty string if unknown. -type strAddr string - -func (a strAddr) Network() string { - if a != "" { - // Per the documentation on net/http.Request.RemoteAddr, if this is - // set, it's set to the IP:port of the peer (hence, TCP): - // https://golang.org/pkg/net/http/#Request - // - // If we want to support Unix sockets later, we can - // add our own grpc-specific convention within the - // grpc codebase to set RemoteAddr to a different - // format, or probably better: we can attach it to the - // context and use that from serverHandlerTransport.RemoteAddr. - return "tcp" - } - return "" -} - -func (a strAddr) String() string { return string(a) } - -// do runs fn in the ServeHTTP goroutine. -func (ht *serverHandlerTransport) do(fn func()) error { - select { - case <-ht.closedCh: - return ErrConnClosing - case ht.writes <- fn: - return nil - } -} - -func (ht *serverHandlerTransport) WriteStatus(s *Stream, st *status.Status) error { - ht.writeStatusMu.Lock() - defer ht.writeStatusMu.Unlock() - - headersWritten := s.updateHeaderSent() - err := ht.do(func() { - if !headersWritten { - ht.writePendingHeaders(s) - } - - // And flush, in case no header or body has been sent yet. - // This forces a separation of headers and trailers if this is the - // first call (for example, in end2end tests's TestNoService). - ht.rw.(http.Flusher).Flush() - - h := ht.rw.Header() - h.Set("Grpc-Status", fmt.Sprintf("%d", st.Code())) - if m := st.Message(); m != "" { - h.Set("Grpc-Message", encodeGrpcMessage(m)) - } - - if p := st.Proto(); p != nil && len(p.Details) > 0 { - stBytes, err := proto.Marshal(p) - if err != nil { - // TODO: return error instead, when callers are able to handle it. - panic(err) - } - - h.Set("Grpc-Status-Details-Bin", encodeBinHeader(stBytes)) - } - - if md := s.Trailer(); len(md) > 0 { - for k, vv := range md { - // Clients don't tolerate reading restricted headers after some non restricted ones were sent. - if isReservedHeader(k) { - continue - } - for _, v := range vv { - // http2 ResponseWriter mechanism to send undeclared Trailers after - // the headers have possibly been written. - h.Add(http2.TrailerPrefix+k, encodeMetadataHeader(k, v)) - } - } - } - }) - - if err == nil { // transport has not been closed - // Note: The trailer fields are compressed with hpack after this call returns. - // No WireLength field is set here. - for _, sh := range ht.stats { - sh.HandleRPC(s.Context(), &stats.OutTrailer{ - Trailer: s.trailer.Copy(), - }) - } - } - ht.Close() - return err -} - -// writePendingHeaders sets common and custom headers on the first -// write call (Write, WriteHeader, or WriteStatus) -func (ht *serverHandlerTransport) writePendingHeaders(s *Stream) { - ht.writeCommonHeaders(s) - ht.writeCustomHeaders(s) -} - -// writeCommonHeaders sets common headers on the first write -// call (Write, WriteHeader, or WriteStatus). -func (ht *serverHandlerTransport) writeCommonHeaders(s *Stream) { - h := ht.rw.Header() - h["Date"] = nil // suppress Date to make tests happy; TODO: restore - h.Set("Content-Type", ht.contentType) - - // Predeclare trailers we'll set later in WriteStatus (after the body). - // This is a SHOULD in the HTTP RFC, and the way you add (known) - // Trailers per the net/http.ResponseWriter contract. - // See https://golang.org/pkg/net/http/#ResponseWriter - // and https://golang.org/pkg/net/http/#example_ResponseWriter_trailers - h.Add("Trailer", "Grpc-Status") - h.Add("Trailer", "Grpc-Message") - h.Add("Trailer", "Grpc-Status-Details-Bin") - - if s.sendCompress != "" { - h.Set("Grpc-Encoding", s.sendCompress) - } -} - -// writeCustomHeaders sets custom headers set on the stream via SetHeader -// on the first write call (Write, WriteHeader, or WriteStatus). -func (ht *serverHandlerTransport) writeCustomHeaders(s *Stream) { - h := ht.rw.Header() - - s.hdrMu.Lock() - for k, vv := range s.header { - if isReservedHeader(k) { - continue - } - for _, v := range vv { - h.Add(k, encodeMetadataHeader(k, v)) - } - } - - s.hdrMu.Unlock() -} - -func (ht *serverHandlerTransport) Write(s *Stream, hdr []byte, data []byte, opts *Options) error { - headersWritten := s.updateHeaderSent() - return ht.do(func() { - if !headersWritten { - ht.writePendingHeaders(s) - } - ht.rw.Write(hdr) - ht.rw.Write(data) - ht.rw.(http.Flusher).Flush() - }) -} - -func (ht *serverHandlerTransport) WriteHeader(s *Stream, md metadata.MD) error { - if err := s.SetHeader(md); err != nil { - return err - } - - headersWritten := s.updateHeaderSent() - err := ht.do(func() { - if !headersWritten { - ht.writePendingHeaders(s) - } - - ht.rw.WriteHeader(200) - ht.rw.(http.Flusher).Flush() - }) - - if err == nil { - for _, sh := range ht.stats { - // Note: The header fields are compressed with hpack after this call returns. - // No WireLength field is set here. - sh.HandleRPC(s.Context(), &stats.OutHeader{ - Header: md.Copy(), - Compression: s.sendCompress, - }) - } - } - return err -} - -func (ht *serverHandlerTransport) HandleStreams(startStream func(*Stream), traceCtx func(context.Context, string) context.Context) { - // With this transport type there will be exactly 1 stream: this HTTP request. - - ctx := ht.req.Context() - var cancel context.CancelFunc - if ht.timeoutSet { - ctx, cancel = context.WithTimeout(ctx, ht.timeout) - } else { - ctx, cancel = context.WithCancel(ctx) - } - - // requestOver is closed when the status has been written via WriteStatus. - requestOver := make(chan struct{}) - go func() { - select { - case <-requestOver: - case <-ht.closedCh: - case <-ht.req.Context().Done(): - } - cancel() - ht.Close() - }() - - req := ht.req - - s := &Stream{ - id: 0, // irrelevant - requestRead: func(int) {}, - cancel: cancel, - buf: newRecvBuffer(), - st: ht, - method: req.URL.Path, - recvCompress: req.Header.Get("grpc-encoding"), - contentSubtype: ht.contentSubtype, - } - pr := &peer.Peer{ - Addr: ht.RemoteAddr(), - } - if req.TLS != nil { - pr.AuthInfo = credentials.TLSInfo{State: *req.TLS, CommonAuthInfo: credentials.CommonAuthInfo{SecurityLevel: credentials.PrivacyAndIntegrity}} - } - ctx = metadata.NewIncomingContext(ctx, ht.headerMD) - s.ctx = peer.NewContext(ctx, pr) - for _, sh := range ht.stats { - s.ctx = sh.TagRPC(s.ctx, &stats.RPCTagInfo{FullMethodName: s.method}) - inHeader := &stats.InHeader{ - FullMethod: s.method, - RemoteAddr: ht.RemoteAddr(), - Compression: s.recvCompress, - } - sh.HandleRPC(s.ctx, inHeader) - } - s.trReader = &transportReader{ - reader: &recvBufferReader{ctx: s.ctx, ctxDone: s.ctx.Done(), recv: s.buf, freeBuffer: func(*bytes.Buffer) {}}, - windowHandler: func(int) {}, - } - - // readerDone is closed when the Body.Read-ing goroutine exits. - readerDone := make(chan struct{}) - go func() { - defer close(readerDone) - - // TODO: minimize garbage, optimize recvBuffer code/ownership - const readSize = 8196 - for buf := make([]byte, readSize); ; { - n, err := req.Body.Read(buf) - if n > 0 { - s.buf.put(recvMsg{buffer: bytes.NewBuffer(buf[:n:n])}) - buf = buf[n:] - } - if err != nil { - s.buf.put(recvMsg{err: mapRecvMsgError(err)}) - return - } - if len(buf) == 0 { - buf = make([]byte, readSize) - } - } - }() - - // startStream is provided by the *grpc.Server's serveStreams. - // It starts a goroutine serving s and exits immediately. - // The goroutine that is started is the one that then calls - // into ht, calling WriteHeader, Write, WriteStatus, Close, etc. - startStream(s) - - ht.runStream() - close(requestOver) - - // Wait for reading goroutine to finish. - req.Body.Close() - <-readerDone -} - -func (ht *serverHandlerTransport) runStream() { - for { - select { - case fn := <-ht.writes: - fn() - case <-ht.closedCh: - return - } - } -} - -func (ht *serverHandlerTransport) IncrMsgSent() {} - -func (ht *serverHandlerTransport) IncrMsgRecv() {} - -func (ht *serverHandlerTransport) Drain() { - panic("Drain() is not implemented") -} - -// mapRecvMsgError returns the non-nil err into the appropriate -// error value as expected by callers of *grpc.parser.recvMsg. -// In particular, in can only be: -// * io.EOF -// * io.ErrUnexpectedEOF -// * of type transport.ConnectionError -// * an error from the status package -func mapRecvMsgError(err error) error { - if err == io.EOF || err == io.ErrUnexpectedEOF { - return err - } - if se, ok := err.(http2.StreamError); ok { - if code, ok := http2ErrConvTab[se.Code]; ok { - return status.Error(code, se.Error()) - } - } - if strings.Contains(err.Error(), "body closed by handler") { - return status.Error(codes.Canceled, err.Error()) - } - return connectionErrorf(true, err, err.Error()) -} diff --git a/vendor/google.golang.org/grpc/internal/transport/http2_client.go b/vendor/google.golang.org/grpc/internal/transport/http2_client.go deleted file mode 100644 index 28c77af7..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/http2_client.go +++ /dev/null @@ -1,1700 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 transport - -import ( - "context" - "fmt" - "io" - "math" - "net" - "net/http" - "path/filepath" - "strconv" - "strings" - "sync" - "sync/atomic" - "time" - - "golang.org/x/net/http2" - "golang.org/x/net/http2/hpack" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/channelz" - icredentials "google.golang.org/grpc/internal/credentials" - "google.golang.org/grpc/internal/grpcutil" - imetadata "google.golang.org/grpc/internal/metadata" - "google.golang.org/grpc/internal/syscall" - "google.golang.org/grpc/internal/transport/networktype" - "google.golang.org/grpc/keepalive" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/peer" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" -) - -// clientConnectionCounter counts the number of connections a client has -// initiated (equal to the number of http2Clients created). Must be accessed -// atomically. -var clientConnectionCounter uint64 - -// http2Client implements the ClientTransport interface with HTTP2. -type http2Client struct { - lastRead int64 // Keep this field 64-bit aligned. Accessed atomically. - ctx context.Context - cancel context.CancelFunc - ctxDone <-chan struct{} // Cache the ctx.Done() chan. - userAgent string - md metadata.MD - conn net.Conn // underlying communication channel - loopy *loopyWriter - remoteAddr net.Addr - localAddr net.Addr - authInfo credentials.AuthInfo // auth info about the connection - - readerDone chan struct{} // sync point to enable testing. - writerDone chan struct{} // sync point to enable testing. - // goAway is closed to notify the upper layer (i.e., addrConn.transportMonitor) - // that the server sent GoAway on this transport. - goAway chan struct{} - - framer *framer - // controlBuf delivers all the control related tasks (e.g., window - // updates, reset streams, and various settings) to the controller. - // Do not access controlBuf with mu held. - controlBuf *controlBuffer - fc *trInFlow - // The scheme used: https if TLS is on, http otherwise. - scheme string - - isSecure bool - - perRPCCreds []credentials.PerRPCCredentials - - kp keepalive.ClientParameters - keepaliveEnabled bool - - statsHandlers []stats.Handler - - initialWindowSize int32 - - // configured by peer through SETTINGS_MAX_HEADER_LIST_SIZE - maxSendHeaderListSize *uint32 - - bdpEst *bdpEstimator - // onPrefaceReceipt is a callback that client transport calls upon - // receiving server preface to signal that a succefull HTTP2 - // connection was established. - onPrefaceReceipt func() - - maxConcurrentStreams uint32 - streamQuota int64 - streamsQuotaAvailable chan struct{} - waitingStreams uint32 - nextID uint32 - - // Do not access controlBuf with mu held. - mu sync.Mutex // guard the following variables - state transportState - activeStreams map[uint32]*Stream - // prevGoAway ID records the Last-Stream-ID in the previous GOAway frame. - prevGoAwayID uint32 - // goAwayReason records the http2.ErrCode and debug data received with the - // GoAway frame. - goAwayReason GoAwayReason - // goAwayDebugMessage contains a detailed human readable string about a - // GoAway frame, useful for error messages. - goAwayDebugMessage string - // A condition variable used to signal when the keepalive goroutine should - // go dormant. The condition for dormancy is based on the number of active - // streams and the `PermitWithoutStream` keepalive client parameter. And - // since the number of active streams is guarded by the above mutex, we use - // the same for this condition variable as well. - kpDormancyCond *sync.Cond - // A boolean to track whether the keepalive goroutine is dormant or not. - // This is checked before attempting to signal the above condition - // variable. - kpDormant bool - - // Fields below are for channelz metric collection. - channelzID *channelz.Identifier - czData *channelzData - - onGoAway func(GoAwayReason) - onClose func() - - bufferPool *bufferPool - - connectionID uint64 -} - -func dial(ctx context.Context, fn func(context.Context, string) (net.Conn, error), addr resolver.Address, useProxy bool, grpcUA string) (net.Conn, error) { - address := addr.Addr - networkType, ok := networktype.Get(addr) - if fn != nil { - // Special handling for unix scheme with custom dialer. Back in the day, - // we did not have a unix resolver and therefore targets with a unix - // scheme would end up using the passthrough resolver. So, user's used a - // custom dialer in this case and expected the original dial target to - // be passed to the custom dialer. Now, we have a unix resolver. But if - // a custom dialer is specified, we want to retain the old behavior in - // terms of the address being passed to the custom dialer. - if networkType == "unix" && !strings.HasPrefix(address, "\x00") { - // Supported unix targets are either "unix://absolute-path" or - // "unix:relative-path". - if filepath.IsAbs(address) { - return fn(ctx, "unix://"+address) - } - return fn(ctx, "unix:"+address) - } - return fn(ctx, address) - } - if !ok { - networkType, address = parseDialTarget(address) - } - if networkType == "tcp" && useProxy { - return proxyDial(ctx, address, grpcUA) - } - return (&net.Dialer{}).DialContext(ctx, networkType, address) -} - -func isTemporary(err error) bool { - switch err := err.(type) { - case interface { - Temporary() bool - }: - return err.Temporary() - case interface { - Timeout() bool - }: - // Timeouts may be resolved upon retry, and are thus treated as - // temporary. - return err.Timeout() - } - return true -} - -// newHTTP2Client constructs a connected ClientTransport to addr based on HTTP2 -// and starts to receive messages on it. Non-nil error returns if construction -// fails. -func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts ConnectOptions, onPrefaceReceipt func(), onGoAway func(GoAwayReason), onClose func()) (_ *http2Client, err error) { - scheme := "http" - ctx, cancel := context.WithCancel(ctx) - defer func() { - if err != nil { - cancel() - } - }() - - // gRPC, resolver, balancer etc. can specify arbitrary data in the - // Attributes field of resolver.Address, which is shoved into connectCtx - // and passed to the dialer and credential handshaker. This makes it possible for - // address specific arbitrary data to reach custom dialers and credential handshakers. - connectCtx = icredentials.NewClientHandshakeInfoContext(connectCtx, credentials.ClientHandshakeInfo{Attributes: addr.Attributes}) - - conn, err := dial(connectCtx, opts.Dialer, addr, opts.UseProxy, opts.UserAgent) - if err != nil { - if opts.FailOnNonTempDialError { - return nil, connectionErrorf(isTemporary(err), err, "transport: error while dialing: %v", err) - } - return nil, connectionErrorf(true, err, "transport: Error while dialing %v", err) - } - // Any further errors will close the underlying connection - defer func(conn net.Conn) { - if err != nil { - conn.Close() - } - }(conn) - kp := opts.KeepaliveParams - // Validate keepalive parameters. - if kp.Time == 0 { - kp.Time = defaultClientKeepaliveTime - } - if kp.Timeout == 0 { - kp.Timeout = defaultClientKeepaliveTimeout - } - keepaliveEnabled := false - if kp.Time != infinity { - if err = syscall.SetTCPUserTimeout(conn, kp.Timeout); err != nil { - return nil, connectionErrorf(false, err, "transport: failed to set TCP_USER_TIMEOUT: %v", err) - } - keepaliveEnabled = true - } - var ( - isSecure bool - authInfo credentials.AuthInfo - ) - transportCreds := opts.TransportCredentials - perRPCCreds := opts.PerRPCCredentials - - if b := opts.CredsBundle; b != nil { - if t := b.TransportCredentials(); t != nil { - transportCreds = t - } - if t := b.PerRPCCredentials(); t != nil { - perRPCCreds = append(perRPCCreds, t) - } - } - if transportCreds != nil { - rawConn := conn - // Pull the deadline from the connectCtx, which will be used for - // timeouts in the authentication protocol handshake. Can ignore the - // boolean as the deadline will return the zero value, which will make - // the conn not timeout on I/O operations. - deadline, _ := connectCtx.Deadline() - rawConn.SetDeadline(deadline) - conn, authInfo, err = transportCreds.ClientHandshake(connectCtx, addr.ServerName, rawConn) - rawConn.SetDeadline(time.Time{}) - if err != nil { - return nil, connectionErrorf(isTemporary(err), err, "transport: authentication handshake failed: %v", err) - } - for _, cd := range perRPCCreds { - if cd.RequireTransportSecurity() { - if ci, ok := authInfo.(interface { - GetCommonAuthInfo() credentials.CommonAuthInfo - }); ok { - secLevel := ci.GetCommonAuthInfo().SecurityLevel - if secLevel != credentials.InvalidSecurityLevel && secLevel < credentials.PrivacyAndIntegrity { - return nil, connectionErrorf(true, nil, "transport: cannot send secure credentials on an insecure connection") - } - } - } - } - isSecure = true - if transportCreds.Info().SecurityProtocol == "tls" { - scheme = "https" - } - } - dynamicWindow := true - icwz := int32(initialWindowSize) - if opts.InitialConnWindowSize >= defaultWindowSize { - icwz = opts.InitialConnWindowSize - dynamicWindow = false - } - writeBufSize := opts.WriteBufferSize - readBufSize := opts.ReadBufferSize - maxHeaderListSize := defaultClientMaxHeaderListSize - if opts.MaxHeaderListSize != nil { - maxHeaderListSize = *opts.MaxHeaderListSize - } - t := &http2Client{ - ctx: ctx, - ctxDone: ctx.Done(), // Cache Done chan. - cancel: cancel, - userAgent: opts.UserAgent, - conn: conn, - remoteAddr: conn.RemoteAddr(), - localAddr: conn.LocalAddr(), - authInfo: authInfo, - readerDone: make(chan struct{}), - writerDone: make(chan struct{}), - goAway: make(chan struct{}), - framer: newFramer(conn, writeBufSize, readBufSize, maxHeaderListSize), - fc: &trInFlow{limit: uint32(icwz)}, - scheme: scheme, - activeStreams: make(map[uint32]*Stream), - isSecure: isSecure, - perRPCCreds: perRPCCreds, - kp: kp, - statsHandlers: opts.StatsHandlers, - initialWindowSize: initialWindowSize, - onPrefaceReceipt: onPrefaceReceipt, - nextID: 1, - maxConcurrentStreams: defaultMaxStreamsClient, - streamQuota: defaultMaxStreamsClient, - streamsQuotaAvailable: make(chan struct{}, 1), - czData: new(channelzData), - onGoAway: onGoAway, - onClose: onClose, - keepaliveEnabled: keepaliveEnabled, - bufferPool: newBufferPool(), - } - - if md, ok := addr.Metadata.(*metadata.MD); ok { - t.md = *md - } else if md := imetadata.Get(addr); md != nil { - t.md = md - } - t.controlBuf = newControlBuffer(t.ctxDone) - if opts.InitialWindowSize >= defaultWindowSize { - t.initialWindowSize = opts.InitialWindowSize - dynamicWindow = false - } - if dynamicWindow { - t.bdpEst = &bdpEstimator{ - bdp: initialWindowSize, - updateFlowControl: t.updateFlowControl, - } - } - for _, sh := range t.statsHandlers { - t.ctx = sh.TagConn(t.ctx, &stats.ConnTagInfo{ - RemoteAddr: t.remoteAddr, - LocalAddr: t.localAddr, - }) - connBegin := &stats.ConnBegin{ - Client: true, - } - sh.HandleConn(t.ctx, connBegin) - } - t.channelzID, err = channelz.RegisterNormalSocket(t, opts.ChannelzParentID, fmt.Sprintf("%s -> %s", t.localAddr, t.remoteAddr)) - if err != nil { - return nil, err - } - if t.keepaliveEnabled { - t.kpDormancyCond = sync.NewCond(&t.mu) - go t.keepalive() - } - // Start the reader goroutine for incoming message. Each transport has - // a dedicated goroutine which reads HTTP2 frame from network. Then it - // dispatches the frame to the corresponding stream entity. - go t.reader() - - // Send connection preface to server. - n, err := t.conn.Write(clientPreface) - if err != nil { - err = connectionErrorf(true, err, "transport: failed to write client preface: %v", err) - t.Close(err) - return nil, err - } - if n != len(clientPreface) { - err = connectionErrorf(true, nil, "transport: preface mismatch, wrote %d bytes; want %d", n, len(clientPreface)) - t.Close(err) - return nil, err - } - var ss []http2.Setting - - if t.initialWindowSize != defaultWindowSize { - ss = append(ss, http2.Setting{ - ID: http2.SettingInitialWindowSize, - Val: uint32(t.initialWindowSize), - }) - } - if opts.MaxHeaderListSize != nil { - ss = append(ss, http2.Setting{ - ID: http2.SettingMaxHeaderListSize, - Val: *opts.MaxHeaderListSize, - }) - } - err = t.framer.fr.WriteSettings(ss...) - if err != nil { - err = connectionErrorf(true, err, "transport: failed to write initial settings frame: %v", err) - t.Close(err) - return nil, err - } - // Adjust the connection flow control window if needed. - if delta := uint32(icwz - defaultWindowSize); delta > 0 { - if err := t.framer.fr.WriteWindowUpdate(0, delta); err != nil { - err = connectionErrorf(true, err, "transport: failed to write window update: %v", err) - t.Close(err) - return nil, err - } - } - - t.connectionID = atomic.AddUint64(&clientConnectionCounter, 1) - - if err := t.framer.writer.Flush(); err != nil { - return nil, err - } - go func() { - t.loopy = newLoopyWriter(clientSide, t.framer, t.controlBuf, t.bdpEst) - err := t.loopy.run() - if err != nil { - if logger.V(logLevel) { - logger.Errorf("transport: loopyWriter.run returning. Err: %v", err) - } - } - // Do not close the transport. Let reader goroutine handle it since - // there might be data in the buffers. - t.conn.Close() - t.controlBuf.finish() - close(t.writerDone) - }() - return t, nil -} - -func (t *http2Client) newStream(ctx context.Context, callHdr *CallHdr) *Stream { - // TODO(zhaoq): Handle uint32 overflow of Stream.id. - s := &Stream{ - ct: t, - done: make(chan struct{}), - method: callHdr.Method, - sendCompress: callHdr.SendCompress, - buf: newRecvBuffer(), - headerChan: make(chan struct{}), - contentSubtype: callHdr.ContentSubtype, - doneFunc: callHdr.DoneFunc, - } - s.wq = newWriteQuota(defaultWriteQuota, s.done) - s.requestRead = func(n int) { - t.adjustWindow(s, uint32(n)) - } - // The client side stream context should have exactly the same life cycle with the user provided context. - // That means, s.ctx should be read-only. And s.ctx is done iff ctx is done. - // So we use the original context here instead of creating a copy. - s.ctx = ctx - s.trReader = &transportReader{ - reader: &recvBufferReader{ - ctx: s.ctx, - ctxDone: s.ctx.Done(), - recv: s.buf, - closeStream: func(err error) { - t.CloseStream(s, err) - }, - freeBuffer: t.bufferPool.put, - }, - windowHandler: func(n int) { - t.updateWindow(s, uint32(n)) - }, - } - return s -} - -func (t *http2Client) getPeer() *peer.Peer { - return &peer.Peer{ - Addr: t.remoteAddr, - AuthInfo: t.authInfo, - } -} - -func (t *http2Client) createHeaderFields(ctx context.Context, callHdr *CallHdr) ([]hpack.HeaderField, error) { - aud := t.createAudience(callHdr) - ri := credentials.RequestInfo{ - Method: callHdr.Method, - AuthInfo: t.authInfo, - } - ctxWithRequestInfo := icredentials.NewRequestInfoContext(ctx, ri) - authData, err := t.getTrAuthData(ctxWithRequestInfo, aud) - if err != nil { - return nil, err - } - callAuthData, err := t.getCallAuthData(ctxWithRequestInfo, aud, callHdr) - if err != nil { - return nil, err - } - // TODO(mmukhi): Benchmark if the performance gets better if count the metadata and other header fields - // first and create a slice of that exact size. - // Make the slice of certain predictable size to reduce allocations made by append. - hfLen := 7 // :method, :scheme, :path, :authority, content-type, user-agent, te - hfLen += len(authData) + len(callAuthData) - headerFields := make([]hpack.HeaderField, 0, hfLen) - headerFields = append(headerFields, hpack.HeaderField{Name: ":method", Value: "POST"}) - headerFields = append(headerFields, hpack.HeaderField{Name: ":scheme", Value: t.scheme}) - headerFields = append(headerFields, hpack.HeaderField{Name: ":path", Value: callHdr.Method}) - headerFields = append(headerFields, hpack.HeaderField{Name: ":authority", Value: callHdr.Host}) - headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(callHdr.ContentSubtype)}) - headerFields = append(headerFields, hpack.HeaderField{Name: "user-agent", Value: t.userAgent}) - headerFields = append(headerFields, hpack.HeaderField{Name: "te", Value: "trailers"}) - if callHdr.PreviousAttempts > 0 { - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-previous-rpc-attempts", Value: strconv.Itoa(callHdr.PreviousAttempts)}) - } - - if callHdr.SendCompress != "" { - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: callHdr.SendCompress}) - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-accept-encoding", Value: callHdr.SendCompress}) - } - if dl, ok := ctx.Deadline(); ok { - // Send out timeout regardless its value. The server can detect timeout context by itself. - // TODO(mmukhi): Perhaps this field should be updated when actually writing out to the wire. - timeout := time.Until(dl) - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-timeout", Value: grpcutil.EncodeDuration(timeout)}) - } - for k, v := range authData { - headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)}) - } - for k, v := range callAuthData { - headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)}) - } - if b := stats.OutgoingTags(ctx); b != nil { - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-tags-bin", Value: encodeBinHeader(b)}) - } - if b := stats.OutgoingTrace(ctx); b != nil { - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-trace-bin", Value: encodeBinHeader(b)}) - } - - if md, added, ok := metadata.FromOutgoingContextRaw(ctx); ok { - var k string - for k, vv := range md { - // HTTP doesn't allow you to set pseudoheaders after non pseudoheaders were set. - if isReservedHeader(k) { - continue - } - for _, v := range vv { - headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)}) - } - } - for _, vv := range added { - for i, v := range vv { - if i%2 == 0 { - k = strings.ToLower(v) - continue - } - // HTTP doesn't allow you to set pseudoheaders after non pseudoheaders were set. - if isReservedHeader(k) { - continue - } - headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)}) - } - } - } - for k, vv := range t.md { - if isReservedHeader(k) { - continue - } - for _, v := range vv { - headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)}) - } - } - return headerFields, nil -} - -func (t *http2Client) createAudience(callHdr *CallHdr) string { - // Create an audience string only if needed. - if len(t.perRPCCreds) == 0 && callHdr.Creds == nil { - return "" - } - // Construct URI required to get auth request metadata. - // Omit port if it is the default one. - host := strings.TrimSuffix(callHdr.Host, ":443") - pos := strings.LastIndex(callHdr.Method, "/") - if pos == -1 { - pos = len(callHdr.Method) - } - return "https://" + host + callHdr.Method[:pos] -} - -func (t *http2Client) getTrAuthData(ctx context.Context, audience string) (map[string]string, error) { - if len(t.perRPCCreds) == 0 { - return nil, nil - } - authData := map[string]string{} - for _, c := range t.perRPCCreds { - data, err := c.GetRequestMetadata(ctx, audience) - if err != nil { - if _, ok := status.FromError(err); ok { - return nil, err - } - - return nil, status.Errorf(codes.Unauthenticated, "transport: per-RPC creds failed due to error: %v", err) - } - for k, v := range data { - // Capital header names are illegal in HTTP/2. - k = strings.ToLower(k) - authData[k] = v - } - } - return authData, nil -} - -func (t *http2Client) getCallAuthData(ctx context.Context, audience string, callHdr *CallHdr) (map[string]string, error) { - var callAuthData map[string]string - // Check if credentials.PerRPCCredentials were provided via call options. - // Note: if these credentials are provided both via dial options and call - // options, then both sets of credentials will be applied. - if callCreds := callHdr.Creds; callCreds != nil { - if callCreds.RequireTransportSecurity() { - ri, _ := credentials.RequestInfoFromContext(ctx) - if !t.isSecure || credentials.CheckSecurityLevel(ri.AuthInfo, credentials.PrivacyAndIntegrity) != nil { - return nil, status.Error(codes.Unauthenticated, "transport: cannot send secure credentials on an insecure connection") - } - } - data, err := callCreds.GetRequestMetadata(ctx, audience) - if err != nil { - return nil, status.Errorf(codes.Internal, "transport: %v", err) - } - callAuthData = make(map[string]string, len(data)) - for k, v := range data { - // Capital header names are illegal in HTTP/2 - k = strings.ToLower(k) - callAuthData[k] = v - } - } - return callAuthData, nil -} - -// NewStreamError wraps an error and reports additional information. Typically -// NewStream errors result in transparent retry, as they mean nothing went onto -// the wire. However, there are two notable exceptions: -// -// 1. If the stream headers violate the max header list size allowed by the -// server. It's possible this could succeed on another transport, even if -// it's unlikely, but do not transparently retry. -// 2. If the credentials errored when requesting their headers. In this case, -// it's possible a retry can fix the problem, but indefinitely transparently -// retrying is not appropriate as it is likely the credentials, if they can -// eventually succeed, would need I/O to do so. -type NewStreamError struct { - Err error - - AllowTransparentRetry bool -} - -func (e NewStreamError) Error() string { - return e.Err.Error() -} - -// NewStream creates a stream and registers it into the transport as "active" -// streams. All non-nil errors returned will be *NewStreamError. -func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (*Stream, error) { - ctx = peer.NewContext(ctx, t.getPeer()) - headerFields, err := t.createHeaderFields(ctx, callHdr) - if err != nil { - return nil, &NewStreamError{Err: err, AllowTransparentRetry: false} - } - s := t.newStream(ctx, callHdr) - cleanup := func(err error) { - if s.swapState(streamDone) == streamDone { - // If it was already done, return. - return - } - // The stream was unprocessed by the server. - atomic.StoreUint32(&s.unprocessed, 1) - s.write(recvMsg{err: err}) - close(s.done) - // If headerChan isn't closed, then close it. - if atomic.CompareAndSwapUint32(&s.headerChanClosed, 0, 1) { - close(s.headerChan) - } - } - hdr := &headerFrame{ - hf: headerFields, - endStream: false, - initStream: func(id uint32) error { - t.mu.Lock() - if state := t.state; state != reachable { - t.mu.Unlock() - // Do a quick cleanup. - err := error(errStreamDrain) - if state == closing { - err = ErrConnClosing - } - cleanup(err) - return err - } - if channelz.IsOn() { - atomic.AddInt64(&t.czData.streamsStarted, 1) - atomic.StoreInt64(&t.czData.lastStreamCreatedTime, time.Now().UnixNano()) - } - // If the keepalive goroutine has gone dormant, wake it up. - if t.kpDormant { - t.kpDormancyCond.Signal() - } - t.mu.Unlock() - return nil - }, - onOrphaned: cleanup, - wq: s.wq, - } - firstTry := true - var ch chan struct{} - checkForStreamQuota := func(it interface{}) bool { - if t.streamQuota <= 0 { // Can go negative if server decreases it. - if firstTry { - t.waitingStreams++ - } - ch = t.streamsQuotaAvailable - return false - } - if !firstTry { - t.waitingStreams-- - } - t.streamQuota-- - h := it.(*headerFrame) - h.streamID = t.nextID - t.nextID += 2 - s.id = h.streamID - s.fc = &inFlow{limit: uint32(t.initialWindowSize)} - t.mu.Lock() - if t.activeStreams == nil { // Can be niled from Close(). - t.mu.Unlock() - return false // Don't create a stream if the transport is already closed. - } - t.activeStreams[s.id] = s - t.mu.Unlock() - if t.streamQuota > 0 && t.waitingStreams > 0 { - select { - case t.streamsQuotaAvailable <- struct{}{}: - default: - } - } - return true - } - var hdrListSizeErr error - checkForHeaderListSize := func(it interface{}) bool { - if t.maxSendHeaderListSize == nil { - return true - } - hdrFrame := it.(*headerFrame) - var sz int64 - for _, f := range hdrFrame.hf { - if sz += int64(f.Size()); sz > int64(*t.maxSendHeaderListSize) { - hdrListSizeErr = status.Errorf(codes.Internal, "header list size to send violates the maximum size (%d bytes) set by server", *t.maxSendHeaderListSize) - return false - } - } - return true - } - for { - success, err := t.controlBuf.executeAndPut(func(it interface{}) bool { - return checkForHeaderListSize(it) && checkForStreamQuota(it) - }, hdr) - if err != nil { - // Connection closed. - return nil, &NewStreamError{Err: err, AllowTransparentRetry: true} - } - if success { - break - } - if hdrListSizeErr != nil { - return nil, &NewStreamError{Err: hdrListSizeErr} - } - firstTry = false - select { - case <-ch: - case <-ctx.Done(): - return nil, &NewStreamError{Err: ContextErr(ctx.Err())} - case <-t.goAway: - return nil, &NewStreamError{Err: errStreamDrain, AllowTransparentRetry: true} - case <-t.ctx.Done(): - return nil, &NewStreamError{Err: ErrConnClosing, AllowTransparentRetry: true} - } - } - if len(t.statsHandlers) != 0 { - header, ok := metadata.FromOutgoingContext(ctx) - if ok { - header.Set("user-agent", t.userAgent) - } else { - header = metadata.Pairs("user-agent", t.userAgent) - } - for _, sh := range t.statsHandlers { - // Note: The header fields are compressed with hpack after this call returns. - // No WireLength field is set here. - // Note: Creating a new stats object to prevent pollution. - outHeader := &stats.OutHeader{ - Client: true, - FullMethod: callHdr.Method, - RemoteAddr: t.remoteAddr, - LocalAddr: t.localAddr, - Compression: callHdr.SendCompress, - Header: header, - } - sh.HandleRPC(s.ctx, outHeader) - } - } - return s, nil -} - -// CloseStream clears the footprint of a stream when the stream is not needed any more. -// This must not be executed in reader's goroutine. -func (t *http2Client) CloseStream(s *Stream, err error) { - var ( - rst bool - rstCode http2.ErrCode - ) - if err != nil { - rst = true - rstCode = http2.ErrCodeCancel - } - t.closeStream(s, err, rst, rstCode, status.Convert(err), nil, false) -} - -func (t *http2Client) closeStream(s *Stream, err error, rst bool, rstCode http2.ErrCode, st *status.Status, mdata map[string][]string, eosReceived bool) { - // Set stream status to done. - if s.swapState(streamDone) == streamDone { - // If it was already done, return. If multiple closeStream calls - // happen simultaneously, wait for the first to finish. - <-s.done - return - } - // status and trailers can be updated here without any synchronization because the stream goroutine will - // only read it after it sees an io.EOF error from read or write and we'll write those errors - // only after updating this. - s.status = st - if len(mdata) > 0 { - s.trailer = mdata - } - if err != nil { - // This will unblock reads eventually. - s.write(recvMsg{err: err}) - } - // If headerChan isn't closed, then close it. - if atomic.CompareAndSwapUint32(&s.headerChanClosed, 0, 1) { - s.noHeaders = true - close(s.headerChan) - } - cleanup := &cleanupStream{ - streamID: s.id, - onWrite: func() { - t.mu.Lock() - if t.activeStreams != nil { - delete(t.activeStreams, s.id) - } - t.mu.Unlock() - if channelz.IsOn() { - if eosReceived { - atomic.AddInt64(&t.czData.streamsSucceeded, 1) - } else { - atomic.AddInt64(&t.czData.streamsFailed, 1) - } - } - }, - rst: rst, - rstCode: rstCode, - } - addBackStreamQuota := func(interface{}) bool { - t.streamQuota++ - if t.streamQuota > 0 && t.waitingStreams > 0 { - select { - case t.streamsQuotaAvailable <- struct{}{}: - default: - } - } - return true - } - t.controlBuf.executeAndPut(addBackStreamQuota, cleanup) - // This will unblock write. - close(s.done) - if s.doneFunc != nil { - s.doneFunc() - } -} - -// Close kicks off the shutdown process of the transport. This should be called -// only once on a transport. Once it is called, the transport should not be -// accessed any more. -// -// This method blocks until the addrConn that initiated this transport is -// re-connected. This happens because t.onClose() begins reconnect logic at the -// addrConn level and blocks until the addrConn is successfully connected. -func (t *http2Client) Close(err error) { - t.mu.Lock() - // Make sure we only Close once. - if t.state == closing { - t.mu.Unlock() - return - } - // Call t.onClose before setting the state to closing to prevent the client - // from attempting to create new streams ASAP. - t.onClose() - t.state = closing - streams := t.activeStreams - t.activeStreams = nil - if t.kpDormant { - // If the keepalive goroutine is blocked on this condition variable, we - // should unblock it so that the goroutine eventually exits. - t.kpDormancyCond.Signal() - } - t.mu.Unlock() - t.controlBuf.finish() - t.cancel() - t.conn.Close() - channelz.RemoveEntry(t.channelzID) - // Append info about previous goaways if there were any, since this may be important - // for understanding the root cause for this connection to be closed. - _, goAwayDebugMessage := t.GetGoAwayReason() - - var st *status.Status - if len(goAwayDebugMessage) > 0 { - st = status.Newf(codes.Unavailable, "closing transport due to: %v, received prior goaway: %v", err, goAwayDebugMessage) - err = st.Err() - } else { - st = status.New(codes.Unavailable, err.Error()) - } - - // Notify all active streams. - for _, s := range streams { - t.closeStream(s, err, false, http2.ErrCodeNo, st, nil, false) - } - for _, sh := range t.statsHandlers { - connEnd := &stats.ConnEnd{ - Client: true, - } - sh.HandleConn(t.ctx, connEnd) - } -} - -// GracefulClose sets the state to draining, which prevents new streams from -// being created and causes the transport to be closed when the last active -// stream is closed. If there are no active streams, the transport is closed -// immediately. This does nothing if the transport is already draining or -// closing. -func (t *http2Client) GracefulClose() { - t.mu.Lock() - // Make sure we move to draining only from active. - if t.state == draining || t.state == closing { - t.mu.Unlock() - return - } - t.state = draining - active := len(t.activeStreams) - t.mu.Unlock() - if active == 0 { - t.Close(ErrConnClosing) - return - } - t.controlBuf.put(&incomingGoAway{}) -} - -// Write formats the data into HTTP2 data frame(s) and sends it out. The caller -// should proceed only if Write returns nil. -func (t *http2Client) Write(s *Stream, hdr []byte, data []byte, opts *Options) error { - if opts.Last { - // If it's the last message, update stream state. - if !s.compareAndSwapState(streamActive, streamWriteDone) { - return errStreamDone - } - } else if s.getState() != streamActive { - return errStreamDone - } - df := &dataFrame{ - streamID: s.id, - endStream: opts.Last, - h: hdr, - d: data, - } - if hdr != nil || data != nil { // If it's not an empty data frame, check quota. - if err := s.wq.get(int32(len(hdr) + len(data))); err != nil { - return err - } - } - return t.controlBuf.put(df) -} - -func (t *http2Client) getStream(f http2.Frame) *Stream { - t.mu.Lock() - s := t.activeStreams[f.Header().StreamID] - t.mu.Unlock() - return s -} - -// adjustWindow sends out extra window update over the initial window size -// of stream if the application is requesting data larger in size than -// the window. -func (t *http2Client) adjustWindow(s *Stream, n uint32) { - if w := s.fc.maybeAdjust(n); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{streamID: s.id, increment: w}) - } -} - -// updateWindow adjusts the inbound quota for the stream. -// Window updates will be sent out when the cumulative quota -// exceeds the corresponding threshold. -func (t *http2Client) updateWindow(s *Stream, n uint32) { - if w := s.fc.onRead(n); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{streamID: s.id, increment: w}) - } -} - -// updateFlowControl updates the incoming flow control windows -// for the transport and the stream based on the current bdp -// estimation. -func (t *http2Client) updateFlowControl(n uint32) { - updateIWS := func(interface{}) bool { - t.initialWindowSize = int32(n) - t.mu.Lock() - for _, s := range t.activeStreams { - s.fc.newLimit(n) - } - t.mu.Unlock() - return true - } - t.controlBuf.executeAndPut(updateIWS, &outgoingWindowUpdate{streamID: 0, increment: t.fc.newLimit(n)}) - t.controlBuf.put(&outgoingSettings{ - ss: []http2.Setting{ - { - ID: http2.SettingInitialWindowSize, - Val: n, - }, - }, - }) -} - -func (t *http2Client) handleData(f *http2.DataFrame) { - size := f.Header().Length - var sendBDPPing bool - if t.bdpEst != nil { - sendBDPPing = t.bdpEst.add(size) - } - // Decouple connection's flow control from application's read. - // An update on connection's flow control should not depend on - // whether user application has read the data or not. Such a - // restriction is already imposed on the stream's flow control, - // and therefore the sender will be blocked anyways. - // Decoupling the connection flow control will prevent other - // active(fast) streams from starving in presence of slow or - // inactive streams. - // - if w := t.fc.onData(size); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{ - streamID: 0, - increment: w, - }) - } - if sendBDPPing { - // Avoid excessive ping detection (e.g. in an L7 proxy) - // by sending a window update prior to the BDP ping. - - if w := t.fc.reset(); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{ - streamID: 0, - increment: w, - }) - } - - t.controlBuf.put(bdpPing) - } - // Select the right stream to dispatch. - s := t.getStream(f) - if s == nil { - return - } - if size > 0 { - if err := s.fc.onData(size); err != nil { - t.closeStream(s, io.EOF, true, http2.ErrCodeFlowControl, status.New(codes.Internal, err.Error()), nil, false) - return - } - if f.Header().Flags.Has(http2.FlagDataPadded) { - if w := s.fc.onRead(size - uint32(len(f.Data()))); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{s.id, w}) - } - } - // TODO(bradfitz, zhaoq): A copy is required here because there is no - // guarantee f.Data() is consumed before the arrival of next frame. - // Can this copy be eliminated? - if len(f.Data()) > 0 { - buffer := t.bufferPool.get() - buffer.Reset() - buffer.Write(f.Data()) - s.write(recvMsg{buffer: buffer}) - } - } - // The server has closed the stream without sending trailers. Record that - // the read direction is closed, and set the status appropriately. - if f.StreamEnded() { - t.closeStream(s, io.EOF, false, http2.ErrCodeNo, status.New(codes.Internal, "server closed the stream without sending trailers"), nil, true) - } -} - -func (t *http2Client) handleRSTStream(f *http2.RSTStreamFrame) { - s := t.getStream(f) - if s == nil { - return - } - if f.ErrCode == http2.ErrCodeRefusedStream { - // The stream was unprocessed by the server. - atomic.StoreUint32(&s.unprocessed, 1) - } - statusCode, ok := http2ErrConvTab[f.ErrCode] - if !ok { - if logger.V(logLevel) { - logger.Warningf("transport: http2Client.handleRSTStream found no mapped gRPC status for the received http2 error %v", f.ErrCode) - } - statusCode = codes.Unknown - } - if statusCode == codes.Canceled { - if d, ok := s.ctx.Deadline(); ok && !d.After(time.Now()) { - // Our deadline was already exceeded, and that was likely the cause - // of this cancelation. Alter the status code accordingly. - statusCode = codes.DeadlineExceeded - } - } - t.closeStream(s, io.EOF, false, http2.ErrCodeNo, status.Newf(statusCode, "stream terminated by RST_STREAM with error code: %v", f.ErrCode), nil, false) -} - -func (t *http2Client) handleSettings(f *http2.SettingsFrame, isFirst bool) { - if f.IsAck() { - return - } - var maxStreams *uint32 - var ss []http2.Setting - var updateFuncs []func() - f.ForeachSetting(func(s http2.Setting) error { - switch s.ID { - case http2.SettingMaxConcurrentStreams: - maxStreams = new(uint32) - *maxStreams = s.Val - case http2.SettingMaxHeaderListSize: - updateFuncs = append(updateFuncs, func() { - t.maxSendHeaderListSize = new(uint32) - *t.maxSendHeaderListSize = s.Val - }) - default: - ss = append(ss, s) - } - return nil - }) - if isFirst && maxStreams == nil { - maxStreams = new(uint32) - *maxStreams = math.MaxUint32 - } - sf := &incomingSettings{ - ss: ss, - } - if maxStreams != nil { - updateStreamQuota := func() { - delta := int64(*maxStreams) - int64(t.maxConcurrentStreams) - t.maxConcurrentStreams = *maxStreams - t.streamQuota += delta - if delta > 0 && t.waitingStreams > 0 { - close(t.streamsQuotaAvailable) // wake all of them up. - t.streamsQuotaAvailable = make(chan struct{}, 1) - } - } - updateFuncs = append(updateFuncs, updateStreamQuota) - } - t.controlBuf.executeAndPut(func(interface{}) bool { - for _, f := range updateFuncs { - f() - } - return true - }, sf) -} - -func (t *http2Client) handlePing(f *http2.PingFrame) { - if f.IsAck() { - // Maybe it's a BDP ping. - if t.bdpEst != nil { - t.bdpEst.calculate(f.Data) - } - return - } - pingAck := &ping{ack: true} - copy(pingAck.data[:], f.Data[:]) - t.controlBuf.put(pingAck) -} - -func (t *http2Client) handleGoAway(f *http2.GoAwayFrame) { - t.mu.Lock() - if t.state == closing { - t.mu.Unlock() - return - } - if f.ErrCode == http2.ErrCodeEnhanceYourCalm { - if logger.V(logLevel) { - logger.Infof("Client received GoAway with http2.ErrCodeEnhanceYourCalm.") - } - } - id := f.LastStreamID - if id > 0 && id%2 == 0 { - t.mu.Unlock() - t.Close(connectionErrorf(true, nil, "received goaway with non-zero even-numbered numbered stream id: %v", id)) - return - } - // A client can receive multiple GoAways from the server (see - // https://github.com/grpc/grpc-go/issues/1387). The idea is that the first - // GoAway will be sent with an ID of MaxInt32 and the second GoAway will be - // sent after an RTT delay with the ID of the last stream the server will - // process. - // - // Therefore, when we get the first GoAway we don't necessarily close any - // streams. While in case of second GoAway we close all streams created after - // the GoAwayId. This way streams that were in-flight while the GoAway from - // server was being sent don't get killed. - select { - case <-t.goAway: // t.goAway has been closed (i.e.,multiple GoAways). - // If there are multiple GoAways the first one should always have an ID greater than the following ones. - if id > t.prevGoAwayID { - t.mu.Unlock() - t.Close(connectionErrorf(true, nil, "received goaway with stream id: %v, which exceeds stream id of previous goaway: %v", id, t.prevGoAwayID)) - return - } - default: - t.setGoAwayReason(f) - close(t.goAway) - defer t.controlBuf.put(&incomingGoAway{}) // Defer as t.mu is currently held. - // Notify the clientconn about the GOAWAY before we set the state to - // draining, to allow the client to stop attempting to create streams - // before disallowing new streams on this connection. - t.onGoAway(t.goAwayReason) - t.state = draining - } - // All streams with IDs greater than the GoAwayId - // and smaller than the previous GoAway ID should be killed. - upperLimit := t.prevGoAwayID - if upperLimit == 0 { // This is the first GoAway Frame. - upperLimit = math.MaxUint32 // Kill all streams after the GoAway ID. - } - for streamID, stream := range t.activeStreams { - if streamID > id && streamID <= upperLimit { - // The stream was unprocessed by the server. - atomic.StoreUint32(&stream.unprocessed, 1) - t.closeStream(stream, errStreamDrain, false, http2.ErrCodeNo, statusGoAway, nil, false) - } - } - t.prevGoAwayID = id - active := len(t.activeStreams) - t.mu.Unlock() - if active == 0 { - t.Close(connectionErrorf(true, nil, "received goaway and there are no active streams")) - } -} - -// setGoAwayReason sets the value of t.goAwayReason based -// on the GoAway frame received. -// It expects a lock on transport's mutext to be held by -// the caller. -func (t *http2Client) setGoAwayReason(f *http2.GoAwayFrame) { - t.goAwayReason = GoAwayNoReason - switch f.ErrCode { - case http2.ErrCodeEnhanceYourCalm: - if string(f.DebugData()) == "too_many_pings" { - t.goAwayReason = GoAwayTooManyPings - } - } - if len(f.DebugData()) == 0 { - t.goAwayDebugMessage = fmt.Sprintf("code: %s", f.ErrCode) - } else { - t.goAwayDebugMessage = fmt.Sprintf("code: %s, debug data: %q", f.ErrCode, string(f.DebugData())) - } -} - -func (t *http2Client) GetGoAwayReason() (GoAwayReason, string) { - t.mu.Lock() - defer t.mu.Unlock() - return t.goAwayReason, t.goAwayDebugMessage -} - -func (t *http2Client) handleWindowUpdate(f *http2.WindowUpdateFrame) { - t.controlBuf.put(&incomingWindowUpdate{ - streamID: f.Header().StreamID, - increment: f.Increment, - }) -} - -// operateHeaders takes action on the decoded headers. -func (t *http2Client) operateHeaders(frame *http2.MetaHeadersFrame) { - s := t.getStream(frame) - if s == nil { - return - } - endStream := frame.StreamEnded() - atomic.StoreUint32(&s.bytesReceived, 1) - initialHeader := atomic.LoadUint32(&s.headerChanClosed) == 0 - - if !initialHeader && !endStream { - // As specified by gRPC over HTTP2, a HEADERS frame (and associated CONTINUATION frames) can only appear at the start or end of a stream. Therefore, second HEADERS frame must have EOS bit set. - st := status.New(codes.Internal, "a HEADERS frame cannot appear in the middle of a stream") - t.closeStream(s, st.Err(), true, http2.ErrCodeProtocol, st, nil, false) - return - } - - // frame.Truncated is set to true when framer detects that the current header - // list size hits MaxHeaderListSize limit. - if frame.Truncated { - se := status.New(codes.Internal, "peer header list size exceeded limit") - t.closeStream(s, se.Err(), true, http2.ErrCodeFrameSize, se, nil, endStream) - return - } - - var ( - // If a gRPC Response-Headers has already been received, then it means - // that the peer is speaking gRPC and we are in gRPC mode. - isGRPC = !initialHeader - mdata = make(map[string][]string) - contentTypeErr = "malformed header: missing HTTP content-type" - grpcMessage string - statusGen *status.Status - recvCompress string - httpStatusCode *int - httpStatusErr string - rawStatusCode = codes.Unknown - // headerError is set if an error is encountered while parsing the headers - headerError string - ) - - if initialHeader { - httpStatusErr = "malformed header: missing HTTP status" - } - - for _, hf := range frame.Fields { - switch hf.Name { - case "content-type": - if _, validContentType := grpcutil.ContentSubtype(hf.Value); !validContentType { - contentTypeErr = fmt.Sprintf("transport: received unexpected content-type %q", hf.Value) - break - } - contentTypeErr = "" - mdata[hf.Name] = append(mdata[hf.Name], hf.Value) - isGRPC = true - case "grpc-encoding": - recvCompress = hf.Value - case "grpc-status": - code, err := strconv.ParseInt(hf.Value, 10, 32) - if err != nil { - se := status.New(codes.Internal, fmt.Sprintf("transport: malformed grpc-status: %v", err)) - t.closeStream(s, se.Err(), true, http2.ErrCodeProtocol, se, nil, endStream) - return - } - rawStatusCode = codes.Code(uint32(code)) - case "grpc-message": - grpcMessage = decodeGrpcMessage(hf.Value) - case "grpc-status-details-bin": - var err error - statusGen, err = decodeGRPCStatusDetails(hf.Value) - if err != nil { - headerError = fmt.Sprintf("transport: malformed grpc-status-details-bin: %v", err) - } - case ":status": - if hf.Value == "200" { - httpStatusErr = "" - statusCode := 200 - httpStatusCode = &statusCode - break - } - - c, err := strconv.ParseInt(hf.Value, 10, 32) - if err != nil { - se := status.New(codes.Internal, fmt.Sprintf("transport: malformed http-status: %v", err)) - t.closeStream(s, se.Err(), true, http2.ErrCodeProtocol, se, nil, endStream) - return - } - statusCode := int(c) - httpStatusCode = &statusCode - - httpStatusErr = fmt.Sprintf( - "unexpected HTTP status code received from server: %d (%s)", - statusCode, - http.StatusText(statusCode), - ) - default: - if isReservedHeader(hf.Name) && !isWhitelistedHeader(hf.Name) { - break - } - v, err := decodeMetadataHeader(hf.Name, hf.Value) - if err != nil { - headerError = fmt.Sprintf("transport: malformed %s: %v", hf.Name, err) - logger.Warningf("Failed to decode metadata header (%q, %q): %v", hf.Name, hf.Value, err) - break - } - mdata[hf.Name] = append(mdata[hf.Name], v) - } - } - - if !isGRPC || httpStatusErr != "" { - var code = codes.Internal // when header does not include HTTP status, return INTERNAL - - if httpStatusCode != nil { - var ok bool - code, ok = HTTPStatusConvTab[*httpStatusCode] - if !ok { - code = codes.Unknown - } - } - var errs []string - if httpStatusErr != "" { - errs = append(errs, httpStatusErr) - } - if contentTypeErr != "" { - errs = append(errs, contentTypeErr) - } - // Verify the HTTP response is a 200. - se := status.New(code, strings.Join(errs, "; ")) - t.closeStream(s, se.Err(), true, http2.ErrCodeProtocol, se, nil, endStream) - return - } - - if headerError != "" { - se := status.New(codes.Internal, headerError) - t.closeStream(s, se.Err(), true, http2.ErrCodeProtocol, se, nil, endStream) - return - } - - isHeader := false - - // If headerChan hasn't been closed yet - if atomic.CompareAndSwapUint32(&s.headerChanClosed, 0, 1) { - s.headerValid = true - if !endStream { - // HEADERS frame block carries a Response-Headers. - isHeader = true - // These values can be set without any synchronization because - // stream goroutine will read it only after seeing a closed - // headerChan which we'll close after setting this. - s.recvCompress = recvCompress - if len(mdata) > 0 { - s.header = mdata - } - } else { - // HEADERS frame block carries a Trailers-Only. - s.noHeaders = true - } - close(s.headerChan) - } - - for _, sh := range t.statsHandlers { - if isHeader { - inHeader := &stats.InHeader{ - Client: true, - WireLength: int(frame.Header().Length), - Header: metadata.MD(mdata).Copy(), - Compression: s.recvCompress, - } - sh.HandleRPC(s.ctx, inHeader) - } else { - inTrailer := &stats.InTrailer{ - Client: true, - WireLength: int(frame.Header().Length), - Trailer: metadata.MD(mdata).Copy(), - } - sh.HandleRPC(s.ctx, inTrailer) - } - } - - if !endStream { - return - } - - if statusGen == nil { - statusGen = status.New(rawStatusCode, grpcMessage) - } - - // if client received END_STREAM from server while stream was still active, send RST_STREAM - rst := s.getState() == streamActive - t.closeStream(s, io.EOF, rst, http2.ErrCodeNo, statusGen, mdata, true) -} - -// reader runs as a separate goroutine in charge of reading data from network -// connection. -// -// TODO(zhaoq): currently one reader per transport. Investigate whether this is -// optimal. -// TODO(zhaoq): Check the validity of the incoming frame sequence. -func (t *http2Client) reader() { - defer close(t.readerDone) - // Check the validity of server preface. - frame, err := t.framer.fr.ReadFrame() - if err != nil { - err = connectionErrorf(true, err, "error reading server preface: %v", err) - t.Close(err) // this kicks off resetTransport, so must be last before return - return - } - t.conn.SetReadDeadline(time.Time{}) // reset deadline once we get the settings frame (we didn't time out, yay!) - if t.keepaliveEnabled { - atomic.StoreInt64(&t.lastRead, time.Now().UnixNano()) - } - sf, ok := frame.(*http2.SettingsFrame) - if !ok { - // this kicks off resetTransport, so must be last before return - t.Close(connectionErrorf(true, nil, "initial http2 frame from server is not a settings frame: %T", frame)) - return - } - t.onPrefaceReceipt() - t.handleSettings(sf, true) - - // loop to keep reading incoming messages on this transport. - for { - t.controlBuf.throttle() - frame, err := t.framer.fr.ReadFrame() - if t.keepaliveEnabled { - atomic.StoreInt64(&t.lastRead, time.Now().UnixNano()) - } - if err != nil { - // Abort an active stream if the http2.Framer returns a - // http2.StreamError. This can happen only if the server's response - // is malformed http2. - if se, ok := err.(http2.StreamError); ok { - t.mu.Lock() - s := t.activeStreams[se.StreamID] - t.mu.Unlock() - if s != nil { - // use error detail to provide better err message - code := http2ErrConvTab[se.Code] - errorDetail := t.framer.fr.ErrorDetail() - var msg string - if errorDetail != nil { - msg = errorDetail.Error() - } else { - msg = "received invalid frame" - } - t.closeStream(s, status.Error(code, msg), true, http2.ErrCodeProtocol, status.New(code, msg), nil, false) - } - continue - } else { - // Transport error. - t.Close(connectionErrorf(true, err, "error reading from server: %v", err)) - return - } - } - switch frame := frame.(type) { - case *http2.MetaHeadersFrame: - t.operateHeaders(frame) - case *http2.DataFrame: - t.handleData(frame) - case *http2.RSTStreamFrame: - t.handleRSTStream(frame) - case *http2.SettingsFrame: - t.handleSettings(frame, false) - case *http2.PingFrame: - t.handlePing(frame) - case *http2.GoAwayFrame: - t.handleGoAway(frame) - case *http2.WindowUpdateFrame: - t.handleWindowUpdate(frame) - default: - if logger.V(logLevel) { - logger.Errorf("transport: http2Client.reader got unhandled frame type %v.", frame) - } - } - } -} - -func minTime(a, b time.Duration) time.Duration { - if a < b { - return a - } - return b -} - -// keepalive running in a separate goroutine makes sure the connection is alive by sending pings. -func (t *http2Client) keepalive() { - p := &ping{data: [8]byte{}} - // True iff a ping has been sent, and no data has been received since then. - outstandingPing := false - // Amount of time remaining before which we should receive an ACK for the - // last sent ping. - timeoutLeft := time.Duration(0) - // Records the last value of t.lastRead before we go block on the timer. - // This is required to check for read activity since then. - prevNano := time.Now().UnixNano() - timer := time.NewTimer(t.kp.Time) - for { - select { - case <-timer.C: - lastRead := atomic.LoadInt64(&t.lastRead) - if lastRead > prevNano { - // There has been read activity since the last time we were here. - outstandingPing = false - // Next timer should fire at kp.Time seconds from lastRead time. - timer.Reset(time.Duration(lastRead) + t.kp.Time - time.Duration(time.Now().UnixNano())) - prevNano = lastRead - continue - } - if outstandingPing && timeoutLeft <= 0 { - t.Close(connectionErrorf(true, nil, "keepalive ping failed to receive ACK within timeout")) - return - } - t.mu.Lock() - if t.state == closing { - // If the transport is closing, we should exit from the - // keepalive goroutine here. If not, we could have a race - // between the call to Signal() from Close() and the call to - // Wait() here, whereby the keepalive goroutine ends up - // blocking on the condition variable which will never be - // signalled again. - t.mu.Unlock() - return - } - if len(t.activeStreams) < 1 && !t.kp.PermitWithoutStream { - // If a ping was sent out previously (because there were active - // streams at that point) which wasn't acked and its timeout - // hadn't fired, but we got here and are about to go dormant, - // we should make sure that we unconditionally send a ping once - // we awaken. - outstandingPing = false - t.kpDormant = true - t.kpDormancyCond.Wait() - } - t.kpDormant = false - t.mu.Unlock() - - // We get here either because we were dormant and a new stream was - // created which unblocked the Wait() call, or because the - // keepalive timer expired. In both cases, we need to send a ping. - if !outstandingPing { - if channelz.IsOn() { - atomic.AddInt64(&t.czData.kpCount, 1) - } - t.controlBuf.put(p) - timeoutLeft = t.kp.Timeout - outstandingPing = true - } - // The amount of time to sleep here is the minimum of kp.Time and - // timeoutLeft. This will ensure that we wait only for kp.Time - // before sending out the next ping (for cases where the ping is - // acked). - sleepDuration := minTime(t.kp.Time, timeoutLeft) - timeoutLeft -= sleepDuration - timer.Reset(sleepDuration) - case <-t.ctx.Done(): - if !timer.Stop() { - <-timer.C - } - return - } - } -} - -func (t *http2Client) Error() <-chan struct{} { - return t.ctx.Done() -} - -func (t *http2Client) GoAway() <-chan struct{} { - return t.goAway -} - -func (t *http2Client) ChannelzMetric() *channelz.SocketInternalMetric { - s := channelz.SocketInternalMetric{ - StreamsStarted: atomic.LoadInt64(&t.czData.streamsStarted), - StreamsSucceeded: atomic.LoadInt64(&t.czData.streamsSucceeded), - StreamsFailed: atomic.LoadInt64(&t.czData.streamsFailed), - MessagesSent: atomic.LoadInt64(&t.czData.msgSent), - MessagesReceived: atomic.LoadInt64(&t.czData.msgRecv), - KeepAlivesSent: atomic.LoadInt64(&t.czData.kpCount), - LastLocalStreamCreatedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastStreamCreatedTime)), - LastMessageSentTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgSentTime)), - LastMessageReceivedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgRecvTime)), - LocalFlowControlWindow: int64(t.fc.getSize()), - SocketOptions: channelz.GetSocketOption(t.conn), - LocalAddr: t.localAddr, - RemoteAddr: t.remoteAddr, - // RemoteName : - } - if au, ok := t.authInfo.(credentials.ChannelzSecurityInfo); ok { - s.Security = au.GetSecurityValue() - } - s.RemoteFlowControlWindow = t.getOutFlowWindow() - return &s -} - -func (t *http2Client) RemoteAddr() net.Addr { return t.remoteAddr } - -func (t *http2Client) IncrMsgSent() { - atomic.AddInt64(&t.czData.msgSent, 1) - atomic.StoreInt64(&t.czData.lastMsgSentTime, time.Now().UnixNano()) -} - -func (t *http2Client) IncrMsgRecv() { - atomic.AddInt64(&t.czData.msgRecv, 1) - atomic.StoreInt64(&t.czData.lastMsgRecvTime, time.Now().UnixNano()) -} - -func (t *http2Client) getOutFlowWindow() int64 { - resp := make(chan uint32, 1) - timer := time.NewTimer(time.Second) - defer timer.Stop() - t.controlBuf.put(&outFlowControlSizeRequest{resp}) - select { - case sz := <-resp: - return int64(sz) - case <-t.ctxDone: - return -1 - case <-timer.C: - return -2 - } -} diff --git a/vendor/google.golang.org/grpc/internal/transport/http2_server.go b/vendor/google.golang.org/grpc/internal/transport/http2_server.go deleted file mode 100644 index 28bcba0a..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/http2_server.go +++ /dev/null @@ -1,1442 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 transport - -import ( - "bytes" - "context" - "fmt" - "io" - "math" - "net" - "net/http" - "strconv" - "sync" - "sync/atomic" - "time" - - "github.com/golang/protobuf/proto" - "golang.org/x/net/http2" - "golang.org/x/net/http2/hpack" - "google.golang.org/grpc/internal/grpcutil" - "google.golang.org/grpc/internal/syscall" - - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/grpcrand" - "google.golang.org/grpc/keepalive" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/peer" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" - "google.golang.org/grpc/tap" -) - -var ( - // ErrIllegalHeaderWrite indicates that setting header is illegal because of - // the stream's state. - ErrIllegalHeaderWrite = status.Error(codes.Internal, "transport: SendHeader called multiple times") - // ErrHeaderListSizeLimitViolation indicates that the header list size is larger - // than the limit set by peer. - ErrHeaderListSizeLimitViolation = status.Error(codes.Internal, "transport: trying to send header list size larger than the limit set by peer") -) - -// serverConnectionCounter counts the number of connections a server has seen -// (equal to the number of http2Servers created). Must be accessed atomically. -var serverConnectionCounter uint64 - -// http2Server implements the ServerTransport interface with HTTP2. -type http2Server struct { - lastRead int64 // Keep this field 64-bit aligned. Accessed atomically. - ctx context.Context - done chan struct{} - conn net.Conn - loopy *loopyWriter - readerDone chan struct{} // sync point to enable testing. - writerDone chan struct{} // sync point to enable testing. - remoteAddr net.Addr - localAddr net.Addr - authInfo credentials.AuthInfo // auth info about the connection - inTapHandle tap.ServerInHandle - framer *framer - // The max number of concurrent streams. - maxStreams uint32 - // controlBuf delivers all the control related tasks (e.g., window - // updates, reset streams, and various settings) to the controller. - controlBuf *controlBuffer - fc *trInFlow - stats []stats.Handler - // Keepalive and max-age parameters for the server. - kp keepalive.ServerParameters - // Keepalive enforcement policy. - kep keepalive.EnforcementPolicy - // The time instance last ping was received. - lastPingAt time.Time - // Number of times the client has violated keepalive ping policy so far. - pingStrikes uint8 - // Flag to signify that number of ping strikes should be reset to 0. - // This is set whenever data or header frames are sent. - // 1 means yes. - resetPingStrikes uint32 // Accessed atomically. - initialWindowSize int32 - bdpEst *bdpEstimator - maxSendHeaderListSize *uint32 - - mu sync.Mutex // guard the following - - // drainChan is initialized when Drain() is called the first time. - // After which the server writes out the first GoAway(with ID 2^31-1) frame. - // Then an independent goroutine will be launched to later send the second GoAway. - // During this time we don't want to write another first GoAway(with ID 2^31 -1) frame. - // Thus call to Drain() will be a no-op if drainChan is already initialized since draining is - // already underway. - drainChan chan struct{} - state transportState - activeStreams map[uint32]*Stream - // idle is the time instant when the connection went idle. - // This is either the beginning of the connection or when the number of - // RPCs go down to 0. - // When the connection is busy, this value is set to 0. - idle time.Time - - // Fields below are for channelz metric collection. - channelzID *channelz.Identifier - czData *channelzData - bufferPool *bufferPool - - connectionID uint64 - - // maxStreamMu guards the maximum stream ID - // This lock may not be taken if mu is already held. - maxStreamMu sync.Mutex - maxStreamID uint32 // max stream ID ever seen -} - -// NewServerTransport creates a http2 transport with conn and configuration -// options from config. -// -// It returns a non-nil transport and a nil error on success. On failure, it -// returns a nil transport and a non-nil error. For a special case where the -// underlying conn gets closed before the client preface could be read, it -// returns a nil transport and a nil error. -func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport, err error) { - var authInfo credentials.AuthInfo - rawConn := conn - if config.Credentials != nil { - var err error - conn, authInfo, err = config.Credentials.ServerHandshake(rawConn) - if err != nil { - // ErrConnDispatched means that the connection was dispatched away - // from gRPC; those connections should be left open. io.EOF means - // the connection was closed before handshaking completed, which can - // happen naturally from probers. Return these errors directly. - if err == credentials.ErrConnDispatched || err == io.EOF { - return nil, err - } - return nil, connectionErrorf(false, err, "ServerHandshake(%q) failed: %v", rawConn.RemoteAddr(), err) - } - } - writeBufSize := config.WriteBufferSize - readBufSize := config.ReadBufferSize - maxHeaderListSize := defaultServerMaxHeaderListSize - if config.MaxHeaderListSize != nil { - maxHeaderListSize = *config.MaxHeaderListSize - } - framer := newFramer(conn, writeBufSize, readBufSize, maxHeaderListSize) - // Send initial settings as connection preface to client. - isettings := []http2.Setting{{ - ID: http2.SettingMaxFrameSize, - Val: http2MaxFrameLen, - }} - // TODO(zhaoq): Have a better way to signal "no limit" because 0 is - // permitted in the HTTP2 spec. - maxStreams := config.MaxStreams - if maxStreams == 0 { - maxStreams = math.MaxUint32 - } else { - isettings = append(isettings, http2.Setting{ - ID: http2.SettingMaxConcurrentStreams, - Val: maxStreams, - }) - } - dynamicWindow := true - iwz := int32(initialWindowSize) - if config.InitialWindowSize >= defaultWindowSize { - iwz = config.InitialWindowSize - dynamicWindow = false - } - icwz := int32(initialWindowSize) - if config.InitialConnWindowSize >= defaultWindowSize { - icwz = config.InitialConnWindowSize - dynamicWindow = false - } - if iwz != defaultWindowSize { - isettings = append(isettings, http2.Setting{ - ID: http2.SettingInitialWindowSize, - Val: uint32(iwz)}) - } - if config.MaxHeaderListSize != nil { - isettings = append(isettings, http2.Setting{ - ID: http2.SettingMaxHeaderListSize, - Val: *config.MaxHeaderListSize, - }) - } - if config.HeaderTableSize != nil { - isettings = append(isettings, http2.Setting{ - ID: http2.SettingHeaderTableSize, - Val: *config.HeaderTableSize, - }) - } - if err := framer.fr.WriteSettings(isettings...); err != nil { - return nil, connectionErrorf(false, err, "transport: %v", err) - } - // Adjust the connection flow control window if needed. - if delta := uint32(icwz - defaultWindowSize); delta > 0 { - if err := framer.fr.WriteWindowUpdate(0, delta); err != nil { - return nil, connectionErrorf(false, err, "transport: %v", err) - } - } - kp := config.KeepaliveParams - if kp.MaxConnectionIdle == 0 { - kp.MaxConnectionIdle = defaultMaxConnectionIdle - } - if kp.MaxConnectionAge == 0 { - kp.MaxConnectionAge = defaultMaxConnectionAge - } - // Add a jitter to MaxConnectionAge. - kp.MaxConnectionAge += getJitter(kp.MaxConnectionAge) - if kp.MaxConnectionAgeGrace == 0 { - kp.MaxConnectionAgeGrace = defaultMaxConnectionAgeGrace - } - if kp.Time == 0 { - kp.Time = defaultServerKeepaliveTime - } - if kp.Timeout == 0 { - kp.Timeout = defaultServerKeepaliveTimeout - } - if kp.Time != infinity { - if err = syscall.SetTCPUserTimeout(conn, kp.Timeout); err != nil { - return nil, connectionErrorf(false, err, "transport: failed to set TCP_USER_TIMEOUT: %v", err) - } - } - kep := config.KeepalivePolicy - if kep.MinTime == 0 { - kep.MinTime = defaultKeepalivePolicyMinTime - } - - done := make(chan struct{}) - t := &http2Server{ - ctx: setConnection(context.Background(), rawConn), - done: done, - conn: conn, - remoteAddr: conn.RemoteAddr(), - localAddr: conn.LocalAddr(), - authInfo: authInfo, - framer: framer, - readerDone: make(chan struct{}), - writerDone: make(chan struct{}), - maxStreams: maxStreams, - inTapHandle: config.InTapHandle, - fc: &trInFlow{limit: uint32(icwz)}, - state: reachable, - activeStreams: make(map[uint32]*Stream), - stats: config.StatsHandlers, - kp: kp, - idle: time.Now(), - kep: kep, - initialWindowSize: iwz, - czData: new(channelzData), - bufferPool: newBufferPool(), - } - t.controlBuf = newControlBuffer(t.done) - if dynamicWindow { - t.bdpEst = &bdpEstimator{ - bdp: initialWindowSize, - updateFlowControl: t.updateFlowControl, - } - } - for _, sh := range t.stats { - t.ctx = sh.TagConn(t.ctx, &stats.ConnTagInfo{ - RemoteAddr: t.remoteAddr, - LocalAddr: t.localAddr, - }) - connBegin := &stats.ConnBegin{} - sh.HandleConn(t.ctx, connBegin) - } - t.channelzID, err = channelz.RegisterNormalSocket(t, config.ChannelzParentID, fmt.Sprintf("%s -> %s", t.remoteAddr, t.localAddr)) - if err != nil { - return nil, err - } - - t.connectionID = atomic.AddUint64(&serverConnectionCounter, 1) - t.framer.writer.Flush() - - defer func() { - if err != nil { - t.Close() - } - }() - - // Check the validity of client preface. - preface := make([]byte, len(clientPreface)) - if _, err := io.ReadFull(t.conn, preface); err != nil { - // In deployments where a gRPC server runs behind a cloud load balancer - // which performs regular TCP level health checks, the connection is - // closed immediately by the latter. Returning io.EOF here allows the - // grpc server implementation to recognize this scenario and suppress - // logging to reduce spam. - if err == io.EOF { - return nil, io.EOF - } - return nil, connectionErrorf(false, err, "transport: http2Server.HandleStreams failed to receive the preface from client: %v", err) - } - if !bytes.Equal(preface, clientPreface) { - return nil, connectionErrorf(false, nil, "transport: http2Server.HandleStreams received bogus greeting from client: %q", preface) - } - - frame, err := t.framer.fr.ReadFrame() - if err == io.EOF || err == io.ErrUnexpectedEOF { - return nil, err - } - if err != nil { - return nil, connectionErrorf(false, err, "transport: http2Server.HandleStreams failed to read initial settings frame: %v", err) - } - atomic.StoreInt64(&t.lastRead, time.Now().UnixNano()) - sf, ok := frame.(*http2.SettingsFrame) - if !ok { - return nil, connectionErrorf(false, nil, "transport: http2Server.HandleStreams saw invalid preface type %T from client", frame) - } - t.handleSettings(sf) - - go func() { - t.loopy = newLoopyWriter(serverSide, t.framer, t.controlBuf, t.bdpEst) - t.loopy.ssGoAwayHandler = t.outgoingGoAwayHandler - if err := t.loopy.run(); err != nil { - if logger.V(logLevel) { - logger.Errorf("transport: loopyWriter.run returning. Err: %v", err) - } - } - t.conn.Close() - t.controlBuf.finish() - close(t.writerDone) - }() - go t.keepalive() - return t, nil -} - -// operateHeader takes action on the decoded headers. -func (t *http2Server) operateHeaders(frame *http2.MetaHeadersFrame, handle func(*Stream), traceCtx func(context.Context, string) context.Context) (fatal bool) { - // Acquire max stream ID lock for entire duration - t.maxStreamMu.Lock() - defer t.maxStreamMu.Unlock() - - streamID := frame.Header().StreamID - - // frame.Truncated is set to true when framer detects that the current header - // list size hits MaxHeaderListSize limit. - if frame.Truncated { - t.controlBuf.put(&cleanupStream{ - streamID: streamID, - rst: true, - rstCode: http2.ErrCodeFrameSize, - onWrite: func() {}, - }) - return false - } - - if streamID%2 != 1 || streamID <= t.maxStreamID { - // illegal gRPC stream id. - if logger.V(logLevel) { - logger.Errorf("transport: http2Server.HandleStreams received an illegal stream id: %v", streamID) - } - return true - } - t.maxStreamID = streamID - - buf := newRecvBuffer() - s := &Stream{ - id: streamID, - st: t, - buf: buf, - fc: &inFlow{limit: uint32(t.initialWindowSize)}, - } - var ( - // If a gRPC Response-Headers has already been received, then it means - // that the peer is speaking gRPC and we are in gRPC mode. - isGRPC = false - mdata = make(map[string][]string) - httpMethod string - // headerError is set if an error is encountered while parsing the headers - headerError bool - - timeoutSet bool - timeout time.Duration - ) - - for _, hf := range frame.Fields { - switch hf.Name { - case "content-type": - contentSubtype, validContentType := grpcutil.ContentSubtype(hf.Value) - if !validContentType { - break - } - mdata[hf.Name] = append(mdata[hf.Name], hf.Value) - s.contentSubtype = contentSubtype - isGRPC = true - case "grpc-encoding": - s.recvCompress = hf.Value - case ":method": - httpMethod = hf.Value - case ":path": - s.method = hf.Value - case "grpc-timeout": - timeoutSet = true - var err error - if timeout, err = decodeTimeout(hf.Value); err != nil { - headerError = true - } - // "Transports must consider requests containing the Connection header - // as malformed." - A41 - case "connection": - if logger.V(logLevel) { - logger.Errorf("transport: http2Server.operateHeaders parsed a :connection header which makes a request malformed as per the HTTP/2 spec") - } - headerError = true - default: - if isReservedHeader(hf.Name) && !isWhitelistedHeader(hf.Name) { - break - } - v, err := decodeMetadataHeader(hf.Name, hf.Value) - if err != nil { - headerError = true - logger.Warningf("Failed to decode metadata header (%q, %q): %v", hf.Name, hf.Value, err) - break - } - mdata[hf.Name] = append(mdata[hf.Name], v) - } - } - - // "If multiple Host headers or multiple :authority headers are present, the - // request must be rejected with an HTTP status code 400 as required by Host - // validation in RFC 7230 §5.4, gRPC status code INTERNAL, or RST_STREAM - // with HTTP/2 error code PROTOCOL_ERROR." - A41. Since this is a HTTP/2 - // error, this takes precedence over a client not speaking gRPC. - if len(mdata[":authority"]) > 1 || len(mdata["host"]) > 1 { - errMsg := fmt.Sprintf("num values of :authority: %v, num values of host: %v, both must only have 1 value as per HTTP/2 spec", len(mdata[":authority"]), len(mdata["host"])) - if logger.V(logLevel) { - logger.Errorf("transport: %v", errMsg) - } - t.controlBuf.put(&earlyAbortStream{ - httpStatus: 400, - streamID: streamID, - contentSubtype: s.contentSubtype, - status: status.New(codes.Internal, errMsg), - rst: !frame.StreamEnded(), - }) - return false - } - - if !isGRPC || headerError { - t.controlBuf.put(&cleanupStream{ - streamID: streamID, - rst: true, - rstCode: http2.ErrCodeProtocol, - onWrite: func() {}, - }) - return false - } - - // "If :authority is missing, Host must be renamed to :authority." - A41 - if len(mdata[":authority"]) == 0 { - // No-op if host isn't present, no eventual :authority header is a valid - // RPC. - if host, ok := mdata["host"]; ok { - mdata[":authority"] = host - delete(mdata, "host") - } - } else { - // "If :authority is present, Host must be discarded" - A41 - delete(mdata, "host") - } - - if frame.StreamEnded() { - // s is just created by the caller. No lock needed. - s.state = streamReadDone - } - if timeoutSet { - s.ctx, s.cancel = context.WithTimeout(t.ctx, timeout) - } else { - s.ctx, s.cancel = context.WithCancel(t.ctx) - } - pr := &peer.Peer{ - Addr: t.remoteAddr, - } - // Attach Auth info if there is any. - if t.authInfo != nil { - pr.AuthInfo = t.authInfo - } - s.ctx = peer.NewContext(s.ctx, pr) - // Attach the received metadata to the context. - if len(mdata) > 0 { - s.ctx = metadata.NewIncomingContext(s.ctx, mdata) - if statsTags := mdata["grpc-tags-bin"]; len(statsTags) > 0 { - s.ctx = stats.SetIncomingTags(s.ctx, []byte(statsTags[len(statsTags)-1])) - } - if statsTrace := mdata["grpc-trace-bin"]; len(statsTrace) > 0 { - s.ctx = stats.SetIncomingTrace(s.ctx, []byte(statsTrace[len(statsTrace)-1])) - } - } - t.mu.Lock() - if t.state != reachable { - t.mu.Unlock() - s.cancel() - return false - } - if uint32(len(t.activeStreams)) >= t.maxStreams { - t.mu.Unlock() - t.controlBuf.put(&cleanupStream{ - streamID: streamID, - rst: true, - rstCode: http2.ErrCodeRefusedStream, - onWrite: func() {}, - }) - s.cancel() - return false - } - if httpMethod != http.MethodPost { - t.mu.Unlock() - errMsg := fmt.Sprintf("http2Server.operateHeaders parsed a :method field: %v which should be POST", httpMethod) - if logger.V(logLevel) { - logger.Infof("transport: %v", errMsg) - } - t.controlBuf.put(&earlyAbortStream{ - httpStatus: 405, - streamID: streamID, - contentSubtype: s.contentSubtype, - status: status.New(codes.Internal, errMsg), - rst: !frame.StreamEnded(), - }) - s.cancel() - return false - } - if t.inTapHandle != nil { - var err error - if s.ctx, err = t.inTapHandle(s.ctx, &tap.Info{FullMethodName: s.method}); err != nil { - t.mu.Unlock() - if logger.V(logLevel) { - logger.Infof("transport: http2Server.operateHeaders got an error from InTapHandle: %v", err) - } - stat, ok := status.FromError(err) - if !ok { - stat = status.New(codes.PermissionDenied, err.Error()) - } - t.controlBuf.put(&earlyAbortStream{ - httpStatus: 200, - streamID: s.id, - contentSubtype: s.contentSubtype, - status: stat, - rst: !frame.StreamEnded(), - }) - return false - } - } - t.activeStreams[streamID] = s - if len(t.activeStreams) == 1 { - t.idle = time.Time{} - } - t.mu.Unlock() - if channelz.IsOn() { - atomic.AddInt64(&t.czData.streamsStarted, 1) - atomic.StoreInt64(&t.czData.lastStreamCreatedTime, time.Now().UnixNano()) - } - s.requestRead = func(n int) { - t.adjustWindow(s, uint32(n)) - } - s.ctx = traceCtx(s.ctx, s.method) - for _, sh := range t.stats { - s.ctx = sh.TagRPC(s.ctx, &stats.RPCTagInfo{FullMethodName: s.method}) - inHeader := &stats.InHeader{ - FullMethod: s.method, - RemoteAddr: t.remoteAddr, - LocalAddr: t.localAddr, - Compression: s.recvCompress, - WireLength: int(frame.Header().Length), - Header: metadata.MD(mdata).Copy(), - } - sh.HandleRPC(s.ctx, inHeader) - } - s.ctxDone = s.ctx.Done() - s.wq = newWriteQuota(defaultWriteQuota, s.ctxDone) - s.trReader = &transportReader{ - reader: &recvBufferReader{ - ctx: s.ctx, - ctxDone: s.ctxDone, - recv: s.buf, - freeBuffer: t.bufferPool.put, - }, - windowHandler: func(n int) { - t.updateWindow(s, uint32(n)) - }, - } - // Register the stream with loopy. - t.controlBuf.put(®isterStream{ - streamID: s.id, - wq: s.wq, - }) - handle(s) - return false -} - -// HandleStreams receives incoming streams using the given handler. This is -// typically run in a separate goroutine. -// traceCtx attaches trace to ctx and returns the new context. -func (t *http2Server) HandleStreams(handle func(*Stream), traceCtx func(context.Context, string) context.Context) { - defer close(t.readerDone) - for { - t.controlBuf.throttle() - frame, err := t.framer.fr.ReadFrame() - atomic.StoreInt64(&t.lastRead, time.Now().UnixNano()) - if err != nil { - if se, ok := err.(http2.StreamError); ok { - if logger.V(logLevel) { - logger.Warningf("transport: http2Server.HandleStreams encountered http2.StreamError: %v", se) - } - t.mu.Lock() - s := t.activeStreams[se.StreamID] - t.mu.Unlock() - if s != nil { - t.closeStream(s, true, se.Code, false) - } else { - t.controlBuf.put(&cleanupStream{ - streamID: se.StreamID, - rst: true, - rstCode: se.Code, - onWrite: func() {}, - }) - } - continue - } - if err == io.EOF || err == io.ErrUnexpectedEOF { - t.Close() - return - } - if logger.V(logLevel) { - logger.Warningf("transport: http2Server.HandleStreams failed to read frame: %v", err) - } - t.Close() - return - } - switch frame := frame.(type) { - case *http2.MetaHeadersFrame: - if t.operateHeaders(frame, handle, traceCtx) { - t.Close() - break - } - case *http2.DataFrame: - t.handleData(frame) - case *http2.RSTStreamFrame: - t.handleRSTStream(frame) - case *http2.SettingsFrame: - t.handleSettings(frame) - case *http2.PingFrame: - t.handlePing(frame) - case *http2.WindowUpdateFrame: - t.handleWindowUpdate(frame) - case *http2.GoAwayFrame: - // TODO: Handle GoAway from the client appropriately. - default: - if logger.V(logLevel) { - logger.Errorf("transport: http2Server.HandleStreams found unhandled frame type %v.", frame) - } - } - } -} - -func (t *http2Server) getStream(f http2.Frame) (*Stream, bool) { - t.mu.Lock() - defer t.mu.Unlock() - if t.activeStreams == nil { - // The transport is closing. - return nil, false - } - s, ok := t.activeStreams[f.Header().StreamID] - if !ok { - // The stream is already done. - return nil, false - } - return s, true -} - -// adjustWindow sends out extra window update over the initial window size -// of stream if the application is requesting data larger in size than -// the window. -func (t *http2Server) adjustWindow(s *Stream, n uint32) { - if w := s.fc.maybeAdjust(n); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{streamID: s.id, increment: w}) - } - -} - -// updateWindow adjusts the inbound quota for the stream and the transport. -// Window updates will deliver to the controller for sending when -// the cumulative quota exceeds the corresponding threshold. -func (t *http2Server) updateWindow(s *Stream, n uint32) { - if w := s.fc.onRead(n); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{streamID: s.id, - increment: w, - }) - } -} - -// updateFlowControl updates the incoming flow control windows -// for the transport and the stream based on the current bdp -// estimation. -func (t *http2Server) updateFlowControl(n uint32) { - t.mu.Lock() - for _, s := range t.activeStreams { - s.fc.newLimit(n) - } - t.initialWindowSize = int32(n) - t.mu.Unlock() - t.controlBuf.put(&outgoingWindowUpdate{ - streamID: 0, - increment: t.fc.newLimit(n), - }) - t.controlBuf.put(&outgoingSettings{ - ss: []http2.Setting{ - { - ID: http2.SettingInitialWindowSize, - Val: n, - }, - }, - }) - -} - -func (t *http2Server) handleData(f *http2.DataFrame) { - size := f.Header().Length - var sendBDPPing bool - if t.bdpEst != nil { - sendBDPPing = t.bdpEst.add(size) - } - // Decouple connection's flow control from application's read. - // An update on connection's flow control should not depend on - // whether user application has read the data or not. Such a - // restriction is already imposed on the stream's flow control, - // and therefore the sender will be blocked anyways. - // Decoupling the connection flow control will prevent other - // active(fast) streams from starving in presence of slow or - // inactive streams. - if w := t.fc.onData(size); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{ - streamID: 0, - increment: w, - }) - } - if sendBDPPing { - // Avoid excessive ping detection (e.g. in an L7 proxy) - // by sending a window update prior to the BDP ping. - if w := t.fc.reset(); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{ - streamID: 0, - increment: w, - }) - } - t.controlBuf.put(bdpPing) - } - // Select the right stream to dispatch. - s, ok := t.getStream(f) - if !ok { - return - } - if s.getState() == streamReadDone { - t.closeStream(s, true, http2.ErrCodeStreamClosed, false) - return - } - if size > 0 { - if err := s.fc.onData(size); err != nil { - t.closeStream(s, true, http2.ErrCodeFlowControl, false) - return - } - if f.Header().Flags.Has(http2.FlagDataPadded) { - if w := s.fc.onRead(size - uint32(len(f.Data()))); w > 0 { - t.controlBuf.put(&outgoingWindowUpdate{s.id, w}) - } - } - // TODO(bradfitz, zhaoq): A copy is required here because there is no - // guarantee f.Data() is consumed before the arrival of next frame. - // Can this copy be eliminated? - if len(f.Data()) > 0 { - buffer := t.bufferPool.get() - buffer.Reset() - buffer.Write(f.Data()) - s.write(recvMsg{buffer: buffer}) - } - } - if f.StreamEnded() { - // Received the end of stream from the client. - s.compareAndSwapState(streamActive, streamReadDone) - s.write(recvMsg{err: io.EOF}) - } -} - -func (t *http2Server) handleRSTStream(f *http2.RSTStreamFrame) { - // If the stream is not deleted from the transport's active streams map, then do a regular close stream. - if s, ok := t.getStream(f); ok { - t.closeStream(s, false, 0, false) - return - } - // If the stream is already deleted from the active streams map, then put a cleanupStream item into controlbuf to delete the stream from loopy writer's established streams map. - t.controlBuf.put(&cleanupStream{ - streamID: f.Header().StreamID, - rst: false, - rstCode: 0, - onWrite: func() {}, - }) -} - -func (t *http2Server) handleSettings(f *http2.SettingsFrame) { - if f.IsAck() { - return - } - var ss []http2.Setting - var updateFuncs []func() - f.ForeachSetting(func(s http2.Setting) error { - switch s.ID { - case http2.SettingMaxHeaderListSize: - updateFuncs = append(updateFuncs, func() { - t.maxSendHeaderListSize = new(uint32) - *t.maxSendHeaderListSize = s.Val - }) - default: - ss = append(ss, s) - } - return nil - }) - t.controlBuf.executeAndPut(func(interface{}) bool { - for _, f := range updateFuncs { - f() - } - return true - }, &incomingSettings{ - ss: ss, - }) -} - -const ( - maxPingStrikes = 2 - defaultPingTimeout = 2 * time.Hour -) - -func (t *http2Server) handlePing(f *http2.PingFrame) { - if f.IsAck() { - if f.Data == goAwayPing.data && t.drainChan != nil { - close(t.drainChan) - return - } - // Maybe it's a BDP ping. - if t.bdpEst != nil { - t.bdpEst.calculate(f.Data) - } - return - } - pingAck := &ping{ack: true} - copy(pingAck.data[:], f.Data[:]) - t.controlBuf.put(pingAck) - - now := time.Now() - defer func() { - t.lastPingAt = now - }() - // A reset ping strikes means that we don't need to check for policy - // violation for this ping and the pingStrikes counter should be set - // to 0. - if atomic.CompareAndSwapUint32(&t.resetPingStrikes, 1, 0) { - t.pingStrikes = 0 - return - } - t.mu.Lock() - ns := len(t.activeStreams) - t.mu.Unlock() - if ns < 1 && !t.kep.PermitWithoutStream { - // Keepalive shouldn't be active thus, this new ping should - // have come after at least defaultPingTimeout. - if t.lastPingAt.Add(defaultPingTimeout).After(now) { - t.pingStrikes++ - } - } else { - // Check if keepalive policy is respected. - if t.lastPingAt.Add(t.kep.MinTime).After(now) { - t.pingStrikes++ - } - } - - if t.pingStrikes > maxPingStrikes { - // Send goaway and close the connection. - if logger.V(logLevel) { - logger.Errorf("transport: Got too many pings from the client, closing the connection.") - } - t.controlBuf.put(&goAway{code: http2.ErrCodeEnhanceYourCalm, debugData: []byte("too_many_pings"), closeConn: true}) - } -} - -func (t *http2Server) handleWindowUpdate(f *http2.WindowUpdateFrame) { - t.controlBuf.put(&incomingWindowUpdate{ - streamID: f.Header().StreamID, - increment: f.Increment, - }) -} - -func appendHeaderFieldsFromMD(headerFields []hpack.HeaderField, md metadata.MD) []hpack.HeaderField { - for k, vv := range md { - if isReservedHeader(k) { - // Clients don't tolerate reading restricted headers after some non restricted ones were sent. - continue - } - for _, v := range vv { - headerFields = append(headerFields, hpack.HeaderField{Name: k, Value: encodeMetadataHeader(k, v)}) - } - } - return headerFields -} - -func (t *http2Server) checkForHeaderListSize(it interface{}) bool { - if t.maxSendHeaderListSize == nil { - return true - } - hdrFrame := it.(*headerFrame) - var sz int64 - for _, f := range hdrFrame.hf { - if sz += int64(f.Size()); sz > int64(*t.maxSendHeaderListSize) { - if logger.V(logLevel) { - logger.Errorf("header list size to send violates the maximum size (%d bytes) set by client", *t.maxSendHeaderListSize) - } - return false - } - } - return true -} - -func (t *http2Server) streamContextErr(s *Stream) error { - select { - case <-t.done: - return ErrConnClosing - default: - } - return ContextErr(s.ctx.Err()) -} - -// WriteHeader sends the header metadata md back to the client. -func (t *http2Server) WriteHeader(s *Stream, md metadata.MD) error { - s.hdrMu.Lock() - defer s.hdrMu.Unlock() - if s.getState() == streamDone { - return t.streamContextErr(s) - } - - if s.updateHeaderSent() { - return ErrIllegalHeaderWrite - } - - if md.Len() > 0 { - if s.header.Len() > 0 { - s.header = metadata.Join(s.header, md) - } else { - s.header = md - } - } - if err := t.writeHeaderLocked(s); err != nil { - return status.Convert(err).Err() - } - return nil -} - -func (t *http2Server) setResetPingStrikes() { - atomic.StoreUint32(&t.resetPingStrikes, 1) -} - -func (t *http2Server) writeHeaderLocked(s *Stream) error { - // TODO(mmukhi): Benchmark if the performance gets better if count the metadata and other header fields - // first and create a slice of that exact size. - headerFields := make([]hpack.HeaderField, 0, 2) // at least :status, content-type will be there if none else. - headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"}) - headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(s.contentSubtype)}) - if s.sendCompress != "" { - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: s.sendCompress}) - } - headerFields = appendHeaderFieldsFromMD(headerFields, s.header) - success, err := t.controlBuf.executeAndPut(t.checkForHeaderListSize, &headerFrame{ - streamID: s.id, - hf: headerFields, - endStream: false, - onWrite: t.setResetPingStrikes, - }) - if !success { - if err != nil { - return err - } - t.closeStream(s, true, http2.ErrCodeInternal, false) - return ErrHeaderListSizeLimitViolation - } - for _, sh := range t.stats { - // Note: Headers are compressed with hpack after this call returns. - // No WireLength field is set here. - outHeader := &stats.OutHeader{ - Header: s.header.Copy(), - Compression: s.sendCompress, - } - sh.HandleRPC(s.Context(), outHeader) - } - return nil -} - -// WriteStatus sends stream status to the client and terminates the stream. -// There is no further I/O operations being able to perform on this stream. -// TODO(zhaoq): Now it indicates the end of entire stream. Revisit if early -// OK is adopted. -func (t *http2Server) WriteStatus(s *Stream, st *status.Status) error { - s.hdrMu.Lock() - defer s.hdrMu.Unlock() - - if s.getState() == streamDone { - return nil - } - - // TODO(mmukhi): Benchmark if the performance gets better if count the metadata and other header fields - // first and create a slice of that exact size. - headerFields := make([]hpack.HeaderField, 0, 2) // grpc-status and grpc-message will be there if none else. - if !s.updateHeaderSent() { // No headers have been sent. - if len(s.header) > 0 { // Send a separate header frame. - if err := t.writeHeaderLocked(s); err != nil { - return err - } - } else { // Send a trailer only response. - headerFields = append(headerFields, hpack.HeaderField{Name: ":status", Value: "200"}) - headerFields = append(headerFields, hpack.HeaderField{Name: "content-type", Value: grpcutil.ContentType(s.contentSubtype)}) - } - } - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status", Value: strconv.Itoa(int(st.Code()))}) - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-message", Value: encodeGrpcMessage(st.Message())}) - - if p := st.Proto(); p != nil && len(p.Details) > 0 { - stBytes, err := proto.Marshal(p) - if err != nil { - // TODO: return error instead, when callers are able to handle it. - logger.Errorf("transport: failed to marshal rpc status: %v, error: %v", p, err) - } else { - headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-status-details-bin", Value: encodeBinHeader(stBytes)}) - } - } - - // Attach the trailer metadata. - headerFields = appendHeaderFieldsFromMD(headerFields, s.trailer) - trailingHeader := &headerFrame{ - streamID: s.id, - hf: headerFields, - endStream: true, - onWrite: t.setResetPingStrikes, - } - - success, err := t.controlBuf.execute(t.checkForHeaderListSize, trailingHeader) - if !success { - if err != nil { - return err - } - t.closeStream(s, true, http2.ErrCodeInternal, false) - return ErrHeaderListSizeLimitViolation - } - // Send a RST_STREAM after the trailers if the client has not already half-closed. - rst := s.getState() == streamActive - t.finishStream(s, rst, http2.ErrCodeNo, trailingHeader, true) - for _, sh := range t.stats { - // Note: The trailer fields are compressed with hpack after this call returns. - // No WireLength field is set here. - sh.HandleRPC(s.Context(), &stats.OutTrailer{ - Trailer: s.trailer.Copy(), - }) - } - return nil -} - -// Write converts the data into HTTP2 data frame and sends it out. Non-nil error -// is returns if it fails (e.g., framing error, transport error). -func (t *http2Server) Write(s *Stream, hdr []byte, data []byte, opts *Options) error { - if !s.isHeaderSent() { // Headers haven't been written yet. - if err := t.WriteHeader(s, nil); err != nil { - return err - } - } else { - // Writing headers checks for this condition. - if s.getState() == streamDone { - return t.streamContextErr(s) - } - } - df := &dataFrame{ - streamID: s.id, - h: hdr, - d: data, - onEachWrite: t.setResetPingStrikes, - } - if err := s.wq.get(int32(len(hdr) + len(data))); err != nil { - return t.streamContextErr(s) - } - return t.controlBuf.put(df) -} - -// keepalive running in a separate goroutine does the following: -// 1. Gracefully closes an idle connection after a duration of keepalive.MaxConnectionIdle. -// 2. Gracefully closes any connection after a duration of keepalive.MaxConnectionAge. -// 3. Forcibly closes a connection after an additive period of keepalive.MaxConnectionAgeGrace over keepalive.MaxConnectionAge. -// 4. Makes sure a connection is alive by sending pings with a frequency of keepalive.Time and closes a non-responsive connection -// after an additional duration of keepalive.Timeout. -func (t *http2Server) keepalive() { - p := &ping{} - // True iff a ping has been sent, and no data has been received since then. - outstandingPing := false - // Amount of time remaining before which we should receive an ACK for the - // last sent ping. - kpTimeoutLeft := time.Duration(0) - // Records the last value of t.lastRead before we go block on the timer. - // This is required to check for read activity since then. - prevNano := time.Now().UnixNano() - // Initialize the different timers to their default values. - idleTimer := time.NewTimer(t.kp.MaxConnectionIdle) - ageTimer := time.NewTimer(t.kp.MaxConnectionAge) - kpTimer := time.NewTimer(t.kp.Time) - defer func() { - // We need to drain the underlying channel in these timers after a call - // to Stop(), only if we are interested in resetting them. Clearly we - // are not interested in resetting them here. - idleTimer.Stop() - ageTimer.Stop() - kpTimer.Stop() - }() - - for { - select { - case <-idleTimer.C: - t.mu.Lock() - idle := t.idle - if idle.IsZero() { // The connection is non-idle. - t.mu.Unlock() - idleTimer.Reset(t.kp.MaxConnectionIdle) - continue - } - val := t.kp.MaxConnectionIdle - time.Since(idle) - t.mu.Unlock() - if val <= 0 { - // The connection has been idle for a duration of keepalive.MaxConnectionIdle or more. - // Gracefully close the connection. - t.Drain() - return - } - idleTimer.Reset(val) - case <-ageTimer.C: - t.Drain() - ageTimer.Reset(t.kp.MaxConnectionAgeGrace) - select { - case <-ageTimer.C: - // Close the connection after grace period. - if logger.V(logLevel) { - logger.Infof("transport: closing server transport due to maximum connection age.") - } - t.Close() - case <-t.done: - } - return - case <-kpTimer.C: - lastRead := atomic.LoadInt64(&t.lastRead) - if lastRead > prevNano { - // There has been read activity since the last time we were - // here. Setup the timer to fire at kp.Time seconds from - // lastRead time and continue. - outstandingPing = false - kpTimer.Reset(time.Duration(lastRead) + t.kp.Time - time.Duration(time.Now().UnixNano())) - prevNano = lastRead - continue - } - if outstandingPing && kpTimeoutLeft <= 0 { - if logger.V(logLevel) { - logger.Infof("transport: closing server transport due to idleness.") - } - t.Close() - return - } - if !outstandingPing { - if channelz.IsOn() { - atomic.AddInt64(&t.czData.kpCount, 1) - } - t.controlBuf.put(p) - kpTimeoutLeft = t.kp.Timeout - outstandingPing = true - } - // The amount of time to sleep here is the minimum of kp.Time and - // timeoutLeft. This will ensure that we wait only for kp.Time - // before sending out the next ping (for cases where the ping is - // acked). - sleepDuration := minTime(t.kp.Time, kpTimeoutLeft) - kpTimeoutLeft -= sleepDuration - kpTimer.Reset(sleepDuration) - case <-t.done: - return - } - } -} - -// Close starts shutting down the http2Server transport. -// TODO(zhaoq): Now the destruction is not blocked on any pending streams. This -// could cause some resource issue. Revisit this later. -func (t *http2Server) Close() { - t.mu.Lock() - if t.state == closing { - t.mu.Unlock() - return - } - t.state = closing - streams := t.activeStreams - t.activeStreams = nil - t.mu.Unlock() - t.controlBuf.finish() - close(t.done) - if err := t.conn.Close(); err != nil && logger.V(logLevel) { - logger.Infof("transport: error closing conn during Close: %v", err) - } - channelz.RemoveEntry(t.channelzID) - // Cancel all active streams. - for _, s := range streams { - s.cancel() - } - for _, sh := range t.stats { - connEnd := &stats.ConnEnd{} - sh.HandleConn(t.ctx, connEnd) - } -} - -// deleteStream deletes the stream s from transport's active streams. -func (t *http2Server) deleteStream(s *Stream, eosReceived bool) { - - t.mu.Lock() - if _, ok := t.activeStreams[s.id]; ok { - delete(t.activeStreams, s.id) - if len(t.activeStreams) == 0 { - t.idle = time.Now() - } - } - t.mu.Unlock() - - if channelz.IsOn() { - if eosReceived { - atomic.AddInt64(&t.czData.streamsSucceeded, 1) - } else { - atomic.AddInt64(&t.czData.streamsFailed, 1) - } - } -} - -// finishStream closes the stream and puts the trailing headerFrame into controlbuf. -func (t *http2Server) finishStream(s *Stream, rst bool, rstCode http2.ErrCode, hdr *headerFrame, eosReceived bool) { - // In case stream sending and receiving are invoked in separate - // goroutines (e.g., bi-directional streaming), cancel needs to be - // called to interrupt the potential blocking on other goroutines. - s.cancel() - - oldState := s.swapState(streamDone) - if oldState == streamDone { - // If the stream was already done, return. - return - } - - hdr.cleanup = &cleanupStream{ - streamID: s.id, - rst: rst, - rstCode: rstCode, - onWrite: func() { - t.deleteStream(s, eosReceived) - }, - } - t.controlBuf.put(hdr) -} - -// closeStream clears the footprint of a stream when the stream is not needed any more. -func (t *http2Server) closeStream(s *Stream, rst bool, rstCode http2.ErrCode, eosReceived bool) { - // In case stream sending and receiving are invoked in separate - // goroutines (e.g., bi-directional streaming), cancel needs to be - // called to interrupt the potential blocking on other goroutines. - s.cancel() - - s.swapState(streamDone) - t.deleteStream(s, eosReceived) - - t.controlBuf.put(&cleanupStream{ - streamID: s.id, - rst: rst, - rstCode: rstCode, - onWrite: func() {}, - }) -} - -func (t *http2Server) RemoteAddr() net.Addr { - return t.remoteAddr -} - -func (t *http2Server) Drain() { - t.mu.Lock() - defer t.mu.Unlock() - if t.drainChan != nil { - return - } - t.drainChan = make(chan struct{}) - t.controlBuf.put(&goAway{code: http2.ErrCodeNo, debugData: []byte{}, headsUp: true}) -} - -var goAwayPing = &ping{data: [8]byte{1, 6, 1, 8, 0, 3, 3, 9}} - -// Handles outgoing GoAway and returns true if loopy needs to put itself -// in draining mode. -func (t *http2Server) outgoingGoAwayHandler(g *goAway) (bool, error) { - t.maxStreamMu.Lock() - t.mu.Lock() - if t.state == closing { // TODO(mmukhi): This seems unnecessary. - t.mu.Unlock() - t.maxStreamMu.Unlock() - // The transport is closing. - return false, ErrConnClosing - } - if !g.headsUp { - // Stop accepting more streams now. - t.state = draining - sid := t.maxStreamID - if len(t.activeStreams) == 0 { - g.closeConn = true - } - t.mu.Unlock() - t.maxStreamMu.Unlock() - if err := t.framer.fr.WriteGoAway(sid, g.code, g.debugData); err != nil { - return false, err - } - if g.closeConn { - // Abruptly close the connection following the GoAway (via - // loopywriter). But flush out what's inside the buffer first. - t.framer.writer.Flush() - return false, fmt.Errorf("transport: Connection closing") - } - return true, nil - } - t.mu.Unlock() - t.maxStreamMu.Unlock() - // For a graceful close, send out a GoAway with stream ID of MaxUInt32, - // Follow that with a ping and wait for the ack to come back or a timer - // to expire. During this time accept new streams since they might have - // originated before the GoAway reaches the client. - // After getting the ack or timer expiration send out another GoAway this - // time with an ID of the max stream server intends to process. - if err := t.framer.fr.WriteGoAway(math.MaxUint32, http2.ErrCodeNo, []byte{}); err != nil { - return false, err - } - if err := t.framer.fr.WritePing(false, goAwayPing.data); err != nil { - return false, err - } - go func() { - timer := time.NewTimer(time.Minute) - defer timer.Stop() - select { - case <-t.drainChan: - case <-timer.C: - case <-t.done: - return - } - t.controlBuf.put(&goAway{code: g.code, debugData: g.debugData}) - }() - return false, nil -} - -func (t *http2Server) ChannelzMetric() *channelz.SocketInternalMetric { - s := channelz.SocketInternalMetric{ - StreamsStarted: atomic.LoadInt64(&t.czData.streamsStarted), - StreamsSucceeded: atomic.LoadInt64(&t.czData.streamsSucceeded), - StreamsFailed: atomic.LoadInt64(&t.czData.streamsFailed), - MessagesSent: atomic.LoadInt64(&t.czData.msgSent), - MessagesReceived: atomic.LoadInt64(&t.czData.msgRecv), - KeepAlivesSent: atomic.LoadInt64(&t.czData.kpCount), - LastRemoteStreamCreatedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastStreamCreatedTime)), - LastMessageSentTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgSentTime)), - LastMessageReceivedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgRecvTime)), - LocalFlowControlWindow: int64(t.fc.getSize()), - SocketOptions: channelz.GetSocketOption(t.conn), - LocalAddr: t.localAddr, - RemoteAddr: t.remoteAddr, - // RemoteName : - } - if au, ok := t.authInfo.(credentials.ChannelzSecurityInfo); ok { - s.Security = au.GetSecurityValue() - } - s.RemoteFlowControlWindow = t.getOutFlowWindow() - return &s -} - -func (t *http2Server) IncrMsgSent() { - atomic.AddInt64(&t.czData.msgSent, 1) - atomic.StoreInt64(&t.czData.lastMsgSentTime, time.Now().UnixNano()) -} - -func (t *http2Server) IncrMsgRecv() { - atomic.AddInt64(&t.czData.msgRecv, 1) - atomic.StoreInt64(&t.czData.lastMsgRecvTime, time.Now().UnixNano()) -} - -func (t *http2Server) getOutFlowWindow() int64 { - resp := make(chan uint32, 1) - timer := time.NewTimer(time.Second) - defer timer.Stop() - t.controlBuf.put(&outFlowControlSizeRequest{resp}) - select { - case sz := <-resp: - return int64(sz) - case <-t.done: - return -1 - case <-timer.C: - return -2 - } -} - -func getJitter(v time.Duration) time.Duration { - if v == infinity { - return 0 - } - // Generate a jitter between +/- 10% of the value. - r := int64(v / 10) - j := grpcrand.Int63n(2*r) - r - return time.Duration(j) -} - -type connectionKey struct{} - -// GetConnection gets the connection from the context. -func GetConnection(ctx context.Context) net.Conn { - conn, _ := ctx.Value(connectionKey{}).(net.Conn) - return conn -} - -// SetConnection adds the connection to the context to be able to get -// information about the destination ip and port for an incoming RPC. This also -// allows any unary or streaming interceptors to see the connection. -func setConnection(ctx context.Context, conn net.Conn) context.Context { - return context.WithValue(ctx, connectionKey{}, conn) -} diff --git a/vendor/google.golang.org/grpc/internal/transport/http_util.go b/vendor/google.golang.org/grpc/internal/transport/http_util.go deleted file mode 100644 index 56e95788..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/http_util.go +++ /dev/null @@ -1,413 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 transport - -import ( - "bufio" - "bytes" - "encoding/base64" - "fmt" - "io" - "math" - "net" - "net/http" - "net/url" - "strconv" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/proto" - "golang.org/x/net/http2" - "golang.org/x/net/http2/hpack" - spb "google.golang.org/genproto/googleapis/rpc/status" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/status" -) - -const ( - // http2MaxFrameLen specifies the max length of a HTTP2 frame. - http2MaxFrameLen = 16384 // 16KB frame - // http://http2.github.io/http2-spec/#SettingValues - http2InitHeaderTableSize = 4096 -) - -var ( - clientPreface = []byte(http2.ClientPreface) - http2ErrConvTab = map[http2.ErrCode]codes.Code{ - http2.ErrCodeNo: codes.Internal, - http2.ErrCodeProtocol: codes.Internal, - http2.ErrCodeInternal: codes.Internal, - http2.ErrCodeFlowControl: codes.ResourceExhausted, - http2.ErrCodeSettingsTimeout: codes.Internal, - http2.ErrCodeStreamClosed: codes.Internal, - http2.ErrCodeFrameSize: codes.Internal, - http2.ErrCodeRefusedStream: codes.Unavailable, - http2.ErrCodeCancel: codes.Canceled, - http2.ErrCodeCompression: codes.Internal, - http2.ErrCodeConnect: codes.Internal, - http2.ErrCodeEnhanceYourCalm: codes.ResourceExhausted, - http2.ErrCodeInadequateSecurity: codes.PermissionDenied, - http2.ErrCodeHTTP11Required: codes.Internal, - } - // HTTPStatusConvTab is the HTTP status code to gRPC error code conversion table. - HTTPStatusConvTab = map[int]codes.Code{ - // 400 Bad Request - INTERNAL. - http.StatusBadRequest: codes.Internal, - // 401 Unauthorized - UNAUTHENTICATED. - http.StatusUnauthorized: codes.Unauthenticated, - // 403 Forbidden - PERMISSION_DENIED. - http.StatusForbidden: codes.PermissionDenied, - // 404 Not Found - UNIMPLEMENTED. - http.StatusNotFound: codes.Unimplemented, - // 429 Too Many Requests - UNAVAILABLE. - http.StatusTooManyRequests: codes.Unavailable, - // 502 Bad Gateway - UNAVAILABLE. - http.StatusBadGateway: codes.Unavailable, - // 503 Service Unavailable - UNAVAILABLE. - http.StatusServiceUnavailable: codes.Unavailable, - // 504 Gateway timeout - UNAVAILABLE. - http.StatusGatewayTimeout: codes.Unavailable, - } - logger = grpclog.Component("transport") -) - -// isReservedHeader checks whether hdr belongs to HTTP2 headers -// reserved by gRPC protocol. Any other headers are classified as the -// user-specified metadata. -func isReservedHeader(hdr string) bool { - if hdr != "" && hdr[0] == ':' { - return true - } - switch hdr { - case "content-type", - "user-agent", - "grpc-message-type", - "grpc-encoding", - "grpc-message", - "grpc-status", - "grpc-timeout", - "grpc-status-details-bin", - // Intentionally exclude grpc-previous-rpc-attempts and - // grpc-retry-pushback-ms, which are "reserved", but their API - // intentionally works via metadata. - "te": - return true - default: - return false - } -} - -// isWhitelistedHeader checks whether hdr should be propagated into metadata -// visible to users, even though it is classified as "reserved", above. -func isWhitelistedHeader(hdr string) bool { - switch hdr { - case ":authority", "user-agent": - return true - default: - return false - } -} - -const binHdrSuffix = "-bin" - -func encodeBinHeader(v []byte) string { - return base64.RawStdEncoding.EncodeToString(v) -} - -func decodeBinHeader(v string) ([]byte, error) { - if len(v)%4 == 0 { - // Input was padded, or padding was not necessary. - return base64.StdEncoding.DecodeString(v) - } - return base64.RawStdEncoding.DecodeString(v) -} - -func encodeMetadataHeader(k, v string) string { - if strings.HasSuffix(k, binHdrSuffix) { - return encodeBinHeader(([]byte)(v)) - } - return v -} - -func decodeMetadataHeader(k, v string) (string, error) { - if strings.HasSuffix(k, binHdrSuffix) { - b, err := decodeBinHeader(v) - return string(b), err - } - return v, nil -} - -func decodeGRPCStatusDetails(rawDetails string) (*status.Status, error) { - v, err := decodeBinHeader(rawDetails) - if err != nil { - return nil, err - } - st := &spb.Status{} - if err = proto.Unmarshal(v, st); err != nil { - return nil, err - } - return status.FromProto(st), nil -} - -type timeoutUnit uint8 - -const ( - hour timeoutUnit = 'H' - minute timeoutUnit = 'M' - second timeoutUnit = 'S' - millisecond timeoutUnit = 'm' - microsecond timeoutUnit = 'u' - nanosecond timeoutUnit = 'n' -) - -func timeoutUnitToDuration(u timeoutUnit) (d time.Duration, ok bool) { - switch u { - case hour: - return time.Hour, true - case minute: - return time.Minute, true - case second: - return time.Second, true - case millisecond: - return time.Millisecond, true - case microsecond: - return time.Microsecond, true - case nanosecond: - return time.Nanosecond, true - default: - } - return -} - -func decodeTimeout(s string) (time.Duration, error) { - size := len(s) - if size < 2 { - return 0, fmt.Errorf("transport: timeout string is too short: %q", s) - } - if size > 9 { - // Spec allows for 8 digits plus the unit. - return 0, fmt.Errorf("transport: timeout string is too long: %q", s) - } - unit := timeoutUnit(s[size-1]) - d, ok := timeoutUnitToDuration(unit) - if !ok { - return 0, fmt.Errorf("transport: timeout unit is not recognized: %q", s) - } - t, err := strconv.ParseInt(s[:size-1], 10, 64) - if err != nil { - return 0, err - } - const maxHours = math.MaxInt64 / int64(time.Hour) - if d == time.Hour && t > maxHours { - // This timeout would overflow math.MaxInt64; clamp it. - return time.Duration(math.MaxInt64), nil - } - return d * time.Duration(t), nil -} - -const ( - spaceByte = ' ' - tildeByte = '~' - percentByte = '%' -) - -// encodeGrpcMessage is used to encode status code in header field -// "grpc-message". It does percent encoding and also replaces invalid utf-8 -// characters with Unicode replacement character. -// -// It checks to see if each individual byte in msg is an allowable byte, and -// then either percent encoding or passing it through. When percent encoding, -// the byte is converted into hexadecimal notation with a '%' prepended. -func encodeGrpcMessage(msg string) string { - if msg == "" { - return "" - } - lenMsg := len(msg) - for i := 0; i < lenMsg; i++ { - c := msg[i] - if !(c >= spaceByte && c <= tildeByte && c != percentByte) { - return encodeGrpcMessageUnchecked(msg) - } - } - return msg -} - -func encodeGrpcMessageUnchecked(msg string) string { - var buf bytes.Buffer - for len(msg) > 0 { - r, size := utf8.DecodeRuneInString(msg) - for _, b := range []byte(string(r)) { - if size > 1 { - // If size > 1, r is not ascii. Always do percent encoding. - buf.WriteString(fmt.Sprintf("%%%02X", b)) - continue - } - - // The for loop is necessary even if size == 1. r could be - // utf8.RuneError. - // - // fmt.Sprintf("%%%02X", utf8.RuneError) gives "%FFFD". - if b >= spaceByte && b <= tildeByte && b != percentByte { - buf.WriteByte(b) - } else { - buf.WriteString(fmt.Sprintf("%%%02X", b)) - } - } - msg = msg[size:] - } - return buf.String() -} - -// decodeGrpcMessage decodes the msg encoded by encodeGrpcMessage. -func decodeGrpcMessage(msg string) string { - if msg == "" { - return "" - } - lenMsg := len(msg) - for i := 0; i < lenMsg; i++ { - if msg[i] == percentByte && i+2 < lenMsg { - return decodeGrpcMessageUnchecked(msg) - } - } - return msg -} - -func decodeGrpcMessageUnchecked(msg string) string { - var buf bytes.Buffer - lenMsg := len(msg) - for i := 0; i < lenMsg; i++ { - c := msg[i] - if c == percentByte && i+2 < lenMsg { - parsed, err := strconv.ParseUint(msg[i+1:i+3], 16, 8) - if err != nil { - buf.WriteByte(c) - } else { - buf.WriteByte(byte(parsed)) - i += 2 - } - } else { - buf.WriteByte(c) - } - } - return buf.String() -} - -type bufWriter struct { - buf []byte - offset int - batchSize int - conn net.Conn - err error -} - -func newBufWriter(conn net.Conn, batchSize int) *bufWriter { - return &bufWriter{ - buf: make([]byte, batchSize*2), - batchSize: batchSize, - conn: conn, - } -} - -func (w *bufWriter) Write(b []byte) (n int, err error) { - if w.err != nil { - return 0, w.err - } - if w.batchSize == 0 { // Buffer has been disabled. - return w.conn.Write(b) - } - for len(b) > 0 { - nn := copy(w.buf[w.offset:], b) - b = b[nn:] - w.offset += nn - n += nn - if w.offset >= w.batchSize { - err = w.Flush() - } - } - return n, err -} - -func (w *bufWriter) Flush() error { - if w.err != nil { - return w.err - } - if w.offset == 0 { - return nil - } - _, w.err = w.conn.Write(w.buf[:w.offset]) - w.offset = 0 - return w.err -} - -type framer struct { - writer *bufWriter - fr *http2.Framer -} - -func newFramer(conn net.Conn, writeBufferSize, readBufferSize int, maxHeaderListSize uint32) *framer { - if writeBufferSize < 0 { - writeBufferSize = 0 - } - var r io.Reader = conn - if readBufferSize > 0 { - r = bufio.NewReaderSize(r, readBufferSize) - } - w := newBufWriter(conn, writeBufferSize) - f := &framer{ - writer: w, - fr: http2.NewFramer(w, r), - } - f.fr.SetMaxReadFrameSize(http2MaxFrameLen) - // Opt-in to Frame reuse API on framer to reduce garbage. - // Frames aren't safe to read from after a subsequent call to ReadFrame. - f.fr.SetReuseFrames() - f.fr.MaxHeaderListSize = maxHeaderListSize - f.fr.ReadMetaHeaders = hpack.NewDecoder(http2InitHeaderTableSize, nil) - return f -} - -// parseDialTarget returns the network and address to pass to dialer. -func parseDialTarget(target string) (string, string) { - net := "tcp" - m1 := strings.Index(target, ":") - m2 := strings.Index(target, ":/") - // handle unix:addr which will fail with url.Parse - if m1 >= 0 && m2 < 0 { - if n := target[0:m1]; n == "unix" { - return n, target[m1+1:] - } - } - if m2 >= 0 { - t, err := url.Parse(target) - if err != nil { - return net, target - } - scheme := t.Scheme - addr := t.Path - if scheme == "unix" { - if addr == "" { - addr = t.Host - } - return scheme, addr - } - } - return net, target -} diff --git a/vendor/google.golang.org/grpc/internal/transport/networktype/networktype.go b/vendor/google.golang.org/grpc/internal/transport/networktype/networktype.go deleted file mode 100644 index c11b5278..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/networktype/networktype.go +++ /dev/null @@ -1,46 +0,0 @@ -/* - * - * Copyright 2020 gRPC 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 networktype declares the network type to be used in the default -// dialer. Attribute of a resolver.Address. -package networktype - -import ( - "google.golang.org/grpc/resolver" -) - -// keyType is the key to use for storing State in Attributes. -type keyType string - -const key = keyType("grpc.internal.transport.networktype") - -// Set returns a copy of the provided address with attributes containing networkType. -func Set(address resolver.Address, networkType string) resolver.Address { - address.Attributes = address.Attributes.WithValue(key, networkType) - return address -} - -// Get returns the network type in the resolver.Address and true, or "", false -// if not present. -func Get(address resolver.Address) (string, bool) { - v := address.Attributes.Value(key) - if v == nil { - return "", false - } - return v.(string), true -} diff --git a/vendor/google.golang.org/grpc/internal/transport/proxy.go b/vendor/google.golang.org/grpc/internal/transport/proxy.go deleted file mode 100644 index 41596198..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/proxy.go +++ /dev/null @@ -1,142 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 transport - -import ( - "bufio" - "context" - "encoding/base64" - "fmt" - "io" - "net" - "net/http" - "net/http/httputil" - "net/url" -) - -const proxyAuthHeaderKey = "Proxy-Authorization" - -var ( - // The following variable will be overwritten in the tests. - httpProxyFromEnvironment = http.ProxyFromEnvironment -) - -func mapAddress(address string) (*url.URL, error) { - req := &http.Request{ - URL: &url.URL{ - Scheme: "https", - Host: address, - }, - } - url, err := httpProxyFromEnvironment(req) - if err != nil { - return nil, err - } - return url, nil -} - -// To read a response from a net.Conn, http.ReadResponse() takes a bufio.Reader. -// It's possible that this reader reads more than what's need for the response and stores -// those bytes in the buffer. -// bufConn wraps the original net.Conn and the bufio.Reader to make sure we don't lose the -// bytes in the buffer. -type bufConn struct { - net.Conn - r io.Reader -} - -func (c *bufConn) Read(b []byte) (int, error) { - return c.r.Read(b) -} - -func basicAuth(username, password string) string { - auth := username + ":" + password - return base64.StdEncoding.EncodeToString([]byte(auth)) -} - -func doHTTPConnectHandshake(ctx context.Context, conn net.Conn, backendAddr string, proxyURL *url.URL, grpcUA string) (_ net.Conn, err error) { - defer func() { - if err != nil { - conn.Close() - } - }() - - req := &http.Request{ - Method: http.MethodConnect, - URL: &url.URL{Host: backendAddr}, - Header: map[string][]string{"User-Agent": {grpcUA}}, - } - if t := proxyURL.User; t != nil { - u := t.Username() - p, _ := t.Password() - req.Header.Add(proxyAuthHeaderKey, "Basic "+basicAuth(u, p)) - } - - if err := sendHTTPRequest(ctx, req, conn); err != nil { - return nil, fmt.Errorf("failed to write the HTTP request: %v", err) - } - - r := bufio.NewReader(conn) - resp, err := http.ReadResponse(r, req) - if err != nil { - return nil, fmt.Errorf("reading server HTTP response: %v", err) - } - defer resp.Body.Close() - if resp.StatusCode != http.StatusOK { - dump, err := httputil.DumpResponse(resp, true) - if err != nil { - return nil, fmt.Errorf("failed to do connect handshake, status code: %s", resp.Status) - } - return nil, fmt.Errorf("failed to do connect handshake, response: %q", dump) - } - - return &bufConn{Conn: conn, r: r}, nil -} - -// proxyDial dials, connecting to a proxy first if necessary. Checks if a proxy -// is necessary, dials, does the HTTP CONNECT handshake, and returns the -// connection. -func proxyDial(ctx context.Context, addr string, grpcUA string) (conn net.Conn, err error) { - newAddr := addr - proxyURL, err := mapAddress(addr) - if err != nil { - return nil, err - } - if proxyURL != nil { - newAddr = proxyURL.Host - } - - conn, err = (&net.Dialer{}).DialContext(ctx, "tcp", newAddr) - if err != nil { - return - } - if proxyURL != nil { - // proxy is disabled if proxyURL is nil. - conn, err = doHTTPConnectHandshake(ctx, conn, addr, proxyURL, grpcUA) - } - return -} - -func sendHTTPRequest(ctx context.Context, req *http.Request, conn net.Conn) error { - req = req.WithContext(ctx) - if err := req.Write(conn); err != nil { - return fmt.Errorf("failed to write the HTTP request: %v", err) - } - return nil -} diff --git a/vendor/google.golang.org/grpc/internal/transport/transport.go b/vendor/google.golang.org/grpc/internal/transport/transport.go deleted file mode 100644 index 6c3ba851..00000000 --- a/vendor/google.golang.org/grpc/internal/transport/transport.go +++ /dev/null @@ -1,813 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 transport defines and implements message oriented communication -// channel to complete various transactions (e.g., an RPC). It is meant for -// grpc-internal usage and is not intended to be imported directly by users. -package transport - -import ( - "bytes" - "context" - "errors" - "fmt" - "io" - "net" - "sync" - "sync/atomic" - "time" - - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/keepalive" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" - "google.golang.org/grpc/tap" -) - -const logLevel = 2 - -type bufferPool struct { - pool sync.Pool -} - -func newBufferPool() *bufferPool { - return &bufferPool{ - pool: sync.Pool{ - New: func() interface{} { - return new(bytes.Buffer) - }, - }, - } -} - -func (p *bufferPool) get() *bytes.Buffer { - return p.pool.Get().(*bytes.Buffer) -} - -func (p *bufferPool) put(b *bytes.Buffer) { - p.pool.Put(b) -} - -// recvMsg represents the received msg from the transport. All transport -// protocol specific info has been removed. -type recvMsg struct { - buffer *bytes.Buffer - // nil: received some data - // io.EOF: stream is completed. data is nil. - // other non-nil error: transport failure. data is nil. - err error -} - -// recvBuffer is an unbounded channel of recvMsg structs. -// -// Note: recvBuffer differs from buffer.Unbounded only in the fact that it -// holds a channel of recvMsg structs instead of objects implementing "item" -// interface. recvBuffer is written to much more often and using strict recvMsg -// structs helps avoid allocation in "recvBuffer.put" -type recvBuffer struct { - c chan recvMsg - mu sync.Mutex - backlog []recvMsg - err error -} - -func newRecvBuffer() *recvBuffer { - b := &recvBuffer{ - c: make(chan recvMsg, 1), - } - return b -} - -func (b *recvBuffer) put(r recvMsg) { - b.mu.Lock() - if b.err != nil { - b.mu.Unlock() - // An error had occurred earlier, don't accept more - // data or errors. - return - } - b.err = r.err - if len(b.backlog) == 0 { - select { - case b.c <- r: - b.mu.Unlock() - return - default: - } - } - b.backlog = append(b.backlog, r) - b.mu.Unlock() -} - -func (b *recvBuffer) load() { - b.mu.Lock() - if len(b.backlog) > 0 { - select { - case b.c <- b.backlog[0]: - b.backlog[0] = recvMsg{} - b.backlog = b.backlog[1:] - default: - } - } - b.mu.Unlock() -} - -// get returns the channel that receives a recvMsg in the buffer. -// -// Upon receipt of a recvMsg, the caller should call load to send another -// recvMsg onto the channel if there is any. -func (b *recvBuffer) get() <-chan recvMsg { - return b.c -} - -// recvBufferReader implements io.Reader interface to read the data from -// recvBuffer. -type recvBufferReader struct { - closeStream func(error) // Closes the client transport stream with the given error and nil trailer metadata. - ctx context.Context - ctxDone <-chan struct{} // cache of ctx.Done() (for performance). - recv *recvBuffer - last *bytes.Buffer // Stores the remaining data in the previous calls. - err error - freeBuffer func(*bytes.Buffer) -} - -// Read reads the next len(p) bytes from last. If last is drained, it tries to -// read additional data from recv. It blocks if there no additional data available -// in recv. If Read returns any non-nil error, it will continue to return that error. -func (r *recvBufferReader) Read(p []byte) (n int, err error) { - if r.err != nil { - return 0, r.err - } - if r.last != nil { - // Read remaining data left in last call. - copied, _ := r.last.Read(p) - if r.last.Len() == 0 { - r.freeBuffer(r.last) - r.last = nil - } - return copied, nil - } - if r.closeStream != nil { - n, r.err = r.readClient(p) - } else { - n, r.err = r.read(p) - } - return n, r.err -} - -func (r *recvBufferReader) read(p []byte) (n int, err error) { - select { - case <-r.ctxDone: - return 0, ContextErr(r.ctx.Err()) - case m := <-r.recv.get(): - return r.readAdditional(m, p) - } -} - -func (r *recvBufferReader) readClient(p []byte) (n int, err error) { - // If the context is canceled, then closes the stream with nil metadata. - // closeStream writes its error parameter to r.recv as a recvMsg. - // r.readAdditional acts on that message and returns the necessary error. - select { - case <-r.ctxDone: - // Note that this adds the ctx error to the end of recv buffer, and - // reads from the head. This will delay the error until recv buffer is - // empty, thus will delay ctx cancellation in Recv(). - // - // It's done this way to fix a race between ctx cancel and trailer. The - // race was, stream.Recv() may return ctx error if ctxDone wins the - // race, but stream.Trailer() may return a non-nil md because the stream - // was not marked as done when trailer is received. This closeStream - // call will mark stream as done, thus fix the race. - // - // TODO: delaying ctx error seems like a unnecessary side effect. What - // we really want is to mark the stream as done, and return ctx error - // faster. - r.closeStream(ContextErr(r.ctx.Err())) - m := <-r.recv.get() - return r.readAdditional(m, p) - case m := <-r.recv.get(): - return r.readAdditional(m, p) - } -} - -func (r *recvBufferReader) readAdditional(m recvMsg, p []byte) (n int, err error) { - r.recv.load() - if m.err != nil { - return 0, m.err - } - copied, _ := m.buffer.Read(p) - if m.buffer.Len() == 0 { - r.freeBuffer(m.buffer) - r.last = nil - } else { - r.last = m.buffer - } - return copied, nil -} - -type streamState uint32 - -const ( - streamActive streamState = iota - streamWriteDone // EndStream sent - streamReadDone // EndStream received - streamDone // the entire stream is finished. -) - -// Stream represents an RPC in the transport layer. -type Stream struct { - id uint32 - st ServerTransport // nil for client side Stream - ct *http2Client // nil for server side Stream - ctx context.Context // the associated context of the stream - cancel context.CancelFunc // always nil for client side Stream - done chan struct{} // closed at the end of stream to unblock writers. On the client side. - doneFunc func() // invoked at the end of stream on client side. - ctxDone <-chan struct{} // same as done chan but for server side. Cache of ctx.Done() (for performance) - method string // the associated RPC method of the stream - recvCompress string - sendCompress string - buf *recvBuffer - trReader io.Reader - fc *inFlow - wq *writeQuota - - // Callback to state application's intentions to read data. This - // is used to adjust flow control, if needed. - requestRead func(int) - - headerChan chan struct{} // closed to indicate the end of header metadata. - headerChanClosed uint32 // set when headerChan is closed. Used to avoid closing headerChan multiple times. - // headerValid indicates whether a valid header was received. Only - // meaningful after headerChan is closed (always call waitOnHeader() before - // reading its value). Not valid on server side. - headerValid bool - - // hdrMu protects header and trailer metadata on the server-side. - hdrMu sync.Mutex - // On client side, header keeps the received header metadata. - // - // On server side, header keeps the header set by SetHeader(). The complete - // header will merged into this after t.WriteHeader() is called. - header metadata.MD - trailer metadata.MD // the key-value map of trailer metadata. - - noHeaders bool // set if the client never received headers (set only after the stream is done). - - // On the server-side, headerSent is atomically set to 1 when the headers are sent out. - headerSent uint32 - - state streamState - - // On client-side it is the status error received from the server. - // On server-side it is unused. - status *status.Status - - bytesReceived uint32 // indicates whether any bytes have been received on this stream - unprocessed uint32 // set if the server sends a refused stream or GOAWAY including this stream - - // contentSubtype is the content-subtype for requests. - // this must be lowercase or the behavior is undefined. - contentSubtype string -} - -// isHeaderSent is only valid on the server-side. -func (s *Stream) isHeaderSent() bool { - return atomic.LoadUint32(&s.headerSent) == 1 -} - -// updateHeaderSent updates headerSent and returns true -// if it was alreay set. It is valid only on server-side. -func (s *Stream) updateHeaderSent() bool { - return atomic.SwapUint32(&s.headerSent, 1) == 1 -} - -func (s *Stream) swapState(st streamState) streamState { - return streamState(atomic.SwapUint32((*uint32)(&s.state), uint32(st))) -} - -func (s *Stream) compareAndSwapState(oldState, newState streamState) bool { - return atomic.CompareAndSwapUint32((*uint32)(&s.state), uint32(oldState), uint32(newState)) -} - -func (s *Stream) getState() streamState { - return streamState(atomic.LoadUint32((*uint32)(&s.state))) -} - -func (s *Stream) waitOnHeader() { - if s.headerChan == nil { - // On the server headerChan is always nil since a stream originates - // only after having received headers. - return - } - select { - case <-s.ctx.Done(): - // Close the stream to prevent headers/trailers from changing after - // this function returns. - s.ct.CloseStream(s, ContextErr(s.ctx.Err())) - // headerChan could possibly not be closed yet if closeStream raced - // with operateHeaders; wait until it is closed explicitly here. - <-s.headerChan - case <-s.headerChan: - } -} - -// RecvCompress returns the compression algorithm applied to the inbound -// message. It is empty string if there is no compression applied. -func (s *Stream) RecvCompress() string { - s.waitOnHeader() - return s.recvCompress -} - -// SetSendCompress sets the compression algorithm to the stream. -func (s *Stream) SetSendCompress(str string) { - s.sendCompress = str -} - -// Done returns a channel which is closed when it receives the final status -// from the server. -func (s *Stream) Done() <-chan struct{} { - return s.done -} - -// Header returns the header metadata of the stream. -// -// On client side, it acquires the key-value pairs of header metadata once it is -// available. It blocks until i) the metadata is ready or ii) there is no header -// metadata or iii) the stream is canceled/expired. -// -// On server side, it returns the out header after t.WriteHeader is called. It -// does not block and must not be called until after WriteHeader. -func (s *Stream) Header() (metadata.MD, error) { - if s.headerChan == nil { - // On server side, return the header in stream. It will be the out - // header after t.WriteHeader is called. - return s.header.Copy(), nil - } - s.waitOnHeader() - if !s.headerValid { - return nil, s.status.Err() - } - return s.header.Copy(), nil -} - -// TrailersOnly blocks until a header or trailers-only frame is received and -// then returns true if the stream was trailers-only. If the stream ends -// before headers are received, returns true, nil. Client-side only. -func (s *Stream) TrailersOnly() bool { - s.waitOnHeader() - return s.noHeaders -} - -// Trailer returns the cached trailer metedata. Note that if it is not called -// after the entire stream is done, it could return an empty MD. Client -// side only. -// It can be safely read only after stream has ended that is either read -// or write have returned io.EOF. -func (s *Stream) Trailer() metadata.MD { - c := s.trailer.Copy() - return c -} - -// ContentSubtype returns the content-subtype for a request. For example, a -// content-subtype of "proto" will result in a content-type of -// "application/grpc+proto". This will always be lowercase. See -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests for -// more details. -func (s *Stream) ContentSubtype() string { - return s.contentSubtype -} - -// Context returns the context of the stream. -func (s *Stream) Context() context.Context { - return s.ctx -} - -// Method returns the method for the stream. -func (s *Stream) Method() string { - return s.method -} - -// Status returns the status received from the server. -// Status can be read safely only after the stream has ended, -// that is, after Done() is closed. -func (s *Stream) Status() *status.Status { - return s.status -} - -// SetHeader sets the header metadata. This can be called multiple times. -// Server side only. -// This should not be called in parallel to other data writes. -func (s *Stream) SetHeader(md metadata.MD) error { - if md.Len() == 0 { - return nil - } - if s.isHeaderSent() || s.getState() == streamDone { - return ErrIllegalHeaderWrite - } - s.hdrMu.Lock() - s.header = metadata.Join(s.header, md) - s.hdrMu.Unlock() - return nil -} - -// SendHeader sends the given header metadata. The given metadata is -// combined with any metadata set by previous calls to SetHeader and -// then written to the transport stream. -func (s *Stream) SendHeader(md metadata.MD) error { - return s.st.WriteHeader(s, md) -} - -// SetTrailer sets the trailer metadata which will be sent with the RPC status -// by the server. This can be called multiple times. Server side only. -// This should not be called parallel to other data writes. -func (s *Stream) SetTrailer(md metadata.MD) error { - if md.Len() == 0 { - return nil - } - if s.getState() == streamDone { - return ErrIllegalHeaderWrite - } - s.hdrMu.Lock() - s.trailer = metadata.Join(s.trailer, md) - s.hdrMu.Unlock() - return nil -} - -func (s *Stream) write(m recvMsg) { - s.buf.put(m) -} - -// Read reads all p bytes from the wire for this stream. -func (s *Stream) Read(p []byte) (n int, err error) { - // Don't request a read if there was an error earlier - if er := s.trReader.(*transportReader).er; er != nil { - return 0, er - } - s.requestRead(len(p)) - return io.ReadFull(s.trReader, p) -} - -// tranportReader reads all the data available for this Stream from the transport and -// passes them into the decoder, which converts them into a gRPC message stream. -// The error is io.EOF when the stream is done or another non-nil error if -// the stream broke. -type transportReader struct { - reader io.Reader - // The handler to control the window update procedure for both this - // particular stream and the associated transport. - windowHandler func(int) - er error -} - -func (t *transportReader) Read(p []byte) (n int, err error) { - n, err = t.reader.Read(p) - if err != nil { - t.er = err - return - } - t.windowHandler(n) - return -} - -// BytesReceived indicates whether any bytes have been received on this stream. -func (s *Stream) BytesReceived() bool { - return atomic.LoadUint32(&s.bytesReceived) == 1 -} - -// Unprocessed indicates whether the server did not process this stream -- -// i.e. it sent a refused stream or GOAWAY including this stream ID. -func (s *Stream) Unprocessed() bool { - return atomic.LoadUint32(&s.unprocessed) == 1 -} - -// GoString is implemented by Stream so context.String() won't -// race when printing %#v. -func (s *Stream) GoString() string { - return fmt.Sprintf("", s, s.method) -} - -// state of transport -type transportState int - -const ( - reachable transportState = iota - closing - draining -) - -// ServerConfig consists of all the configurations to establish a server transport. -type ServerConfig struct { - MaxStreams uint32 - ConnectionTimeout time.Duration - Credentials credentials.TransportCredentials - InTapHandle tap.ServerInHandle - StatsHandlers []stats.Handler - KeepaliveParams keepalive.ServerParameters - KeepalivePolicy keepalive.EnforcementPolicy - InitialWindowSize int32 - InitialConnWindowSize int32 - WriteBufferSize int - ReadBufferSize int - ChannelzParentID *channelz.Identifier - MaxHeaderListSize *uint32 - HeaderTableSize *uint32 -} - -// ConnectOptions covers all relevant options for communicating with the server. -type ConnectOptions struct { - // UserAgent is the application user agent. - UserAgent string - // Dialer specifies how to dial a network address. - Dialer func(context.Context, string) (net.Conn, error) - // FailOnNonTempDialError specifies if gRPC fails on non-temporary dial errors. - FailOnNonTempDialError bool - // PerRPCCredentials stores the PerRPCCredentials required to issue RPCs. - PerRPCCredentials []credentials.PerRPCCredentials - // TransportCredentials stores the Authenticator required to setup a client - // connection. Only one of TransportCredentials and CredsBundle is non-nil. - TransportCredentials credentials.TransportCredentials - // CredsBundle is the credentials bundle to be used. Only one of - // TransportCredentials and CredsBundle is non-nil. - CredsBundle credentials.Bundle - // KeepaliveParams stores the keepalive parameters. - KeepaliveParams keepalive.ClientParameters - // StatsHandlers stores the handler for stats. - StatsHandlers []stats.Handler - // InitialWindowSize sets the initial window size for a stream. - InitialWindowSize int32 - // InitialConnWindowSize sets the initial window size for a connection. - InitialConnWindowSize int32 - // WriteBufferSize sets the size of write buffer which in turn determines how much data can be batched before it's written on the wire. - WriteBufferSize int - // ReadBufferSize sets the size of read buffer, which in turn determines how much data can be read at most for one read syscall. - ReadBufferSize int - // ChannelzParentID sets the addrConn id which initiate the creation of this client transport. - ChannelzParentID *channelz.Identifier - // MaxHeaderListSize sets the max (uncompressed) size of header list that is prepared to be received. - MaxHeaderListSize *uint32 - // UseProxy specifies if a proxy should be used. - UseProxy bool -} - -// NewClientTransport establishes the transport with the required ConnectOptions -// and returns it to the caller. -func NewClientTransport(connectCtx, ctx context.Context, addr resolver.Address, opts ConnectOptions, onPrefaceReceipt func(), onGoAway func(GoAwayReason), onClose func()) (ClientTransport, error) { - return newHTTP2Client(connectCtx, ctx, addr, opts, onPrefaceReceipt, onGoAway, onClose) -} - -// Options provides additional hints and information for message -// transmission. -type Options struct { - // Last indicates whether this write is the last piece for - // this stream. - Last bool -} - -// CallHdr carries the information of a particular RPC. -type CallHdr struct { - // Host specifies the peer's host. - Host string - - // Method specifies the operation to perform. - Method string - - // SendCompress specifies the compression algorithm applied on - // outbound message. - SendCompress string - - // Creds specifies credentials.PerRPCCredentials for a call. - Creds credentials.PerRPCCredentials - - // ContentSubtype specifies the content-subtype for a request. For example, a - // content-subtype of "proto" will result in a content-type of - // "application/grpc+proto". The value of ContentSubtype must be all - // lowercase, otherwise the behavior is undefined. See - // https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests - // for more details. - ContentSubtype string - - PreviousAttempts int // value of grpc-previous-rpc-attempts header to set - - DoneFunc func() // called when the stream is finished -} - -// ClientTransport is the common interface for all gRPC client-side transport -// implementations. -type ClientTransport interface { - // Close tears down this transport. Once it returns, the transport - // should not be accessed any more. The caller must make sure this - // is called only once. - Close(err error) - - // GracefulClose starts to tear down the transport: the transport will stop - // accepting new RPCs and NewStream will return error. Once all streams are - // finished, the transport will close. - // - // It does not block. - GracefulClose() - - // Write sends the data for the given stream. A nil stream indicates - // the write is to be performed on the transport as a whole. - Write(s *Stream, hdr []byte, data []byte, opts *Options) error - - // NewStream creates a Stream for an RPC. - NewStream(ctx context.Context, callHdr *CallHdr) (*Stream, error) - - // CloseStream clears the footprint of a stream when the stream is - // not needed any more. The err indicates the error incurred when - // CloseStream is called. Must be called when a stream is finished - // unless the associated transport is closing. - CloseStream(stream *Stream, err error) - - // Error returns a channel that is closed when some I/O error - // happens. Typically the caller should have a goroutine to monitor - // this in order to take action (e.g., close the current transport - // and create a new one) in error case. It should not return nil - // once the transport is initiated. - Error() <-chan struct{} - - // GoAway returns a channel that is closed when ClientTransport - // receives the draining signal from the server (e.g., GOAWAY frame in - // HTTP/2). - GoAway() <-chan struct{} - - // GetGoAwayReason returns the reason why GoAway frame was received, along - // with a human readable string with debug info. - GetGoAwayReason() (GoAwayReason, string) - - // RemoteAddr returns the remote network address. - RemoteAddr() net.Addr - - // IncrMsgSent increments the number of message sent through this transport. - IncrMsgSent() - - // IncrMsgRecv increments the number of message received through this transport. - IncrMsgRecv() -} - -// ServerTransport is the common interface for all gRPC server-side transport -// implementations. -// -// Methods may be called concurrently from multiple goroutines, but -// Write methods for a given Stream will be called serially. -type ServerTransport interface { - // HandleStreams receives incoming streams using the given handler. - HandleStreams(func(*Stream), func(context.Context, string) context.Context) - - // WriteHeader sends the header metadata for the given stream. - // WriteHeader may not be called on all streams. - WriteHeader(s *Stream, md metadata.MD) error - - // Write sends the data for the given stream. - // Write may not be called on all streams. - Write(s *Stream, hdr []byte, data []byte, opts *Options) error - - // WriteStatus sends the status of a stream to the client. WriteStatus is - // the final call made on a stream and always occurs. - WriteStatus(s *Stream, st *status.Status) error - - // Close tears down the transport. Once it is called, the transport - // should not be accessed any more. All the pending streams and their - // handlers will be terminated asynchronously. - Close() - - // RemoteAddr returns the remote network address. - RemoteAddr() net.Addr - - // Drain notifies the client this ServerTransport stops accepting new RPCs. - Drain() - - // IncrMsgSent increments the number of message sent through this transport. - IncrMsgSent() - - // IncrMsgRecv increments the number of message received through this transport. - IncrMsgRecv() -} - -// connectionErrorf creates an ConnectionError with the specified error description. -func connectionErrorf(temp bool, e error, format string, a ...interface{}) ConnectionError { - return ConnectionError{ - Desc: fmt.Sprintf(format, a...), - temp: temp, - err: e, - } -} - -// ConnectionError is an error that results in the termination of the -// entire connection and the retry of all the active streams. -type ConnectionError struct { - Desc string - temp bool - err error -} - -func (e ConnectionError) Error() string { - return fmt.Sprintf("connection error: desc = %q", e.Desc) -} - -// Temporary indicates if this connection error is temporary or fatal. -func (e ConnectionError) Temporary() bool { - return e.temp -} - -// Origin returns the original error of this connection error. -func (e ConnectionError) Origin() error { - // Never return nil error here. - // If the original error is nil, return itself. - if e.err == nil { - return e - } - return e.err -} - -// Unwrap returns the original error of this connection error or nil when the -// origin is nil. -func (e ConnectionError) Unwrap() error { - return e.err -} - -var ( - // ErrConnClosing indicates that the transport is closing. - ErrConnClosing = connectionErrorf(true, nil, "transport is closing") - // errStreamDrain indicates that the stream is rejected because the - // connection is draining. This could be caused by goaway or balancer - // removing the address. - errStreamDrain = status.Error(codes.Unavailable, "the connection is draining") - // errStreamDone is returned from write at the client side to indiacte application - // layer of an error. - errStreamDone = errors.New("the stream is done") - // StatusGoAway indicates that the server sent a GOAWAY that included this - // stream's ID in unprocessed RPCs. - statusGoAway = status.New(codes.Unavailable, "the stream is rejected because server is draining the connection") -) - -// GoAwayReason contains the reason for the GoAway frame received. -type GoAwayReason uint8 - -const ( - // GoAwayInvalid indicates that no GoAway frame is received. - GoAwayInvalid GoAwayReason = 0 - // GoAwayNoReason is the default value when GoAway frame is received. - GoAwayNoReason GoAwayReason = 1 - // GoAwayTooManyPings indicates that a GoAway frame with - // ErrCodeEnhanceYourCalm was received and that the debug data said - // "too_many_pings". - GoAwayTooManyPings GoAwayReason = 2 -) - -// channelzData is used to store channelz related data for http2Client and http2Server. -// These fields cannot be embedded in the original structs (e.g. http2Client), since to do atomic -// operation on int64 variable on 32-bit machine, user is responsible to enforce memory alignment. -// Here, by grouping those int64 fields inside a struct, we are enforcing the alignment. -type channelzData struct { - kpCount int64 - // The number of streams that have started, including already finished ones. - streamsStarted int64 - // Client side: The number of streams that have ended successfully by receiving - // EoS bit set frame from server. - // Server side: The number of streams that have ended successfully by sending - // frame with EoS bit set. - streamsSucceeded int64 - streamsFailed int64 - // lastStreamCreatedTime stores the timestamp that the last stream gets created. It is of int64 type - // instead of time.Time since it's more costly to atomically update time.Time variable than int64 - // variable. The same goes for lastMsgSentTime and lastMsgRecvTime. - lastStreamCreatedTime int64 - msgSent int64 - msgRecv int64 - lastMsgSentTime int64 - lastMsgRecvTime int64 -} - -// ContextErr converts the error from context package into a status error. -func ContextErr(err error) error { - switch err { - case context.DeadlineExceeded: - return status.Error(codes.DeadlineExceeded, err.Error()) - case context.Canceled: - return status.Error(codes.Canceled, err.Error()) - } - return status.Errorf(codes.Internal, "Unexpected error from context packet: %v", err) -} diff --git a/vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go b/vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go deleted file mode 100644 index e8b49277..00000000 --- a/vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2021 gRPC 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 internal - -import ( - "google.golang.org/grpc/attributes" - "google.golang.org/grpc/resolver" -) - -// handshakeClusterNameKey is the type used as the key to store cluster name in -// the Attributes field of resolver.Address. -type handshakeClusterNameKey struct{} - -// SetXDSHandshakeClusterName returns a copy of addr in which the Attributes field -// is updated with the cluster name. -func SetXDSHandshakeClusterName(addr resolver.Address, clusterName string) resolver.Address { - addr.Attributes = addr.Attributes.WithValue(handshakeClusterNameKey{}, clusterName) - return addr -} - -// GetXDSHandshakeClusterName returns cluster name stored in attr. -func GetXDSHandshakeClusterName(attr *attributes.Attributes) (string, bool) { - v := attr.Value(handshakeClusterNameKey{}) - name, ok := v.(string) - return name, ok -} diff --git a/vendor/google.golang.org/grpc/keepalive/keepalive.go b/vendor/google.golang.org/grpc/keepalive/keepalive.go deleted file mode 100644 index 34d31b5e..00000000 --- a/vendor/google.golang.org/grpc/keepalive/keepalive.go +++ /dev/null @@ -1,85 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 keepalive defines configurable parameters for point-to-point -// healthcheck. -package keepalive - -import ( - "time" -) - -// ClientParameters is used to set keepalive parameters on the client-side. -// These configure how the client will actively probe to notice when a -// connection is broken and send pings so intermediaries will be aware of the -// liveness of the connection. Make sure these parameters are set in -// coordination with the keepalive policy on the server, as incompatible -// settings can result in closing of connection. -type ClientParameters struct { - // After a duration of this time if the client doesn't see any activity it - // pings the server to see if the transport is still alive. - // If set below 10s, a minimum value of 10s will be used instead. - Time time.Duration // The current default value is infinity. - // After having pinged for keepalive check, the client waits for a duration - // of Timeout and if no activity is seen even after that the connection is - // closed. - Timeout time.Duration // The current default value is 20 seconds. - // If true, client sends keepalive pings even with no active RPCs. If false, - // when there are no active RPCs, Time and Timeout will be ignored and no - // keepalive pings will be sent. - PermitWithoutStream bool // false by default. -} - -// ServerParameters is used to set keepalive and max-age parameters on the -// server-side. -type ServerParameters struct { - // MaxConnectionIdle is a duration for the amount of time after which an - // idle connection would be closed by sending a GoAway. Idleness duration is - // defined since the most recent time the number of outstanding RPCs became - // zero or the connection establishment. - MaxConnectionIdle time.Duration // The current default value is infinity. - // MaxConnectionAge is a duration for the maximum amount of time a - // connection may exist before it will be closed by sending a GoAway. A - // random jitter of +/-10% will be added to MaxConnectionAge to spread out - // connection storms. - MaxConnectionAge time.Duration // The current default value is infinity. - // MaxConnectionAgeGrace is an additive period after MaxConnectionAge after - // which the connection will be forcibly closed. - MaxConnectionAgeGrace time.Duration // The current default value is infinity. - // After a duration of this time if the server doesn't see any activity it - // pings the client to see if the transport is still alive. - // If set below 1s, a minimum value of 1s will be used instead. - Time time.Duration // The current default value is 2 hours. - // After having pinged for keepalive check, the server waits for a duration - // of Timeout and if no activity is seen even after that the connection is - // closed. - Timeout time.Duration // The current default value is 20 seconds. -} - -// EnforcementPolicy is used to set keepalive enforcement policy on the -// server-side. Server will close connection with a client that violates this -// policy. -type EnforcementPolicy struct { - // MinTime is the minimum amount of time a client should wait before sending - // a keepalive ping. - MinTime time.Duration // The current default value is 5 minutes. - // If true, server allows keepalive pings even when there are no active - // streams(RPCs). If false, and client sends ping when there are no active - // streams, server will send GOAWAY and close the connection. - PermitWithoutStream bool // false by default. -} diff --git a/vendor/google.golang.org/grpc/metadata/metadata.go b/vendor/google.golang.org/grpc/metadata/metadata.go deleted file mode 100644 index 8e0f6abe..00000000 --- a/vendor/google.golang.org/grpc/metadata/metadata.go +++ /dev/null @@ -1,251 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 metadata define the structure of the metadata supported by gRPC library. -// Please refer to https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md -// for more information about custom-metadata. -package metadata // import "google.golang.org/grpc/metadata" - -import ( - "context" - "fmt" - "strings" -) - -// DecodeKeyValue returns k, v, nil. -// -// Deprecated: use k and v directly instead. -func DecodeKeyValue(k, v string) (string, string, error) { - return k, v, nil -} - -// MD is a mapping from metadata keys to values. Users should use the following -// two convenience functions New and Pairs to generate MD. -type MD map[string][]string - -// New creates an MD from a given key-value map. -// -// Only the following ASCII characters are allowed in keys: -// - digits: 0-9 -// - uppercase letters: A-Z (normalized to lower) -// - lowercase letters: a-z -// - special characters: -_. -// Uppercase letters are automatically converted to lowercase. -// -// Keys beginning with "grpc-" are reserved for grpc-internal use only and may -// result in errors if set in metadata. -func New(m map[string]string) MD { - md := MD{} - for k, val := range m { - key := strings.ToLower(k) - md[key] = append(md[key], val) - } - return md -} - -// Pairs returns an MD formed by the mapping of key, value ... -// Pairs panics if len(kv) is odd. -// -// Only the following ASCII characters are allowed in keys: -// - digits: 0-9 -// - uppercase letters: A-Z (normalized to lower) -// - lowercase letters: a-z -// - special characters: -_. -// Uppercase letters are automatically converted to lowercase. -// -// Keys beginning with "grpc-" are reserved for grpc-internal use only and may -// result in errors if set in metadata. -func Pairs(kv ...string) MD { - if len(kv)%2 == 1 { - panic(fmt.Sprintf("metadata: Pairs got the odd number of input pairs for metadata: %d", len(kv))) - } - md := MD{} - for i := 0; i < len(kv); i += 2 { - key := strings.ToLower(kv[i]) - md[key] = append(md[key], kv[i+1]) - } - return md -} - -// Len returns the number of items in md. -func (md MD) Len() int { - return len(md) -} - -// Copy returns a copy of md. -func (md MD) Copy() MD { - return Join(md) -} - -// Get obtains the values for a given key. -// -// k is converted to lowercase before searching in md. -func (md MD) Get(k string) []string { - k = strings.ToLower(k) - return md[k] -} - -// Set sets the value of a given key with a slice of values. -// -// k is converted to lowercase before storing in md. -func (md MD) Set(k string, vals ...string) { - if len(vals) == 0 { - return - } - k = strings.ToLower(k) - md[k] = vals -} - -// Append adds the values to key k, not overwriting what was already stored at -// that key. -// -// k is converted to lowercase before storing in md. -func (md MD) Append(k string, vals ...string) { - if len(vals) == 0 { - return - } - k = strings.ToLower(k) - md[k] = append(md[k], vals...) -} - -// Delete removes the values for a given key k which is converted to lowercase -// before removing it from md. -func (md MD) Delete(k string) { - k = strings.ToLower(k) - delete(md, k) -} - -// Join joins any number of mds into a single MD. -// -// The order of values for each key is determined by the order in which the mds -// containing those values are presented to Join. -func Join(mds ...MD) MD { - out := MD{} - for _, md := range mds { - for k, v := range md { - out[k] = append(out[k], v...) - } - } - return out -} - -type mdIncomingKey struct{} -type mdOutgoingKey struct{} - -// NewIncomingContext creates a new context with incoming md attached. -func NewIncomingContext(ctx context.Context, md MD) context.Context { - return context.WithValue(ctx, mdIncomingKey{}, md) -} - -// NewOutgoingContext creates a new context with outgoing md attached. If used -// in conjunction with AppendToOutgoingContext, NewOutgoingContext will -// overwrite any previously-appended metadata. -func NewOutgoingContext(ctx context.Context, md MD) context.Context { - return context.WithValue(ctx, mdOutgoingKey{}, rawMD{md: md}) -} - -// AppendToOutgoingContext returns a new context with the provided kv merged -// with any existing metadata in the context. Please refer to the documentation -// of Pairs for a description of kv. -func AppendToOutgoingContext(ctx context.Context, kv ...string) context.Context { - if len(kv)%2 == 1 { - panic(fmt.Sprintf("metadata: AppendToOutgoingContext got an odd number of input pairs for metadata: %d", len(kv))) - } - md, _ := ctx.Value(mdOutgoingKey{}).(rawMD) - added := make([][]string, len(md.added)+1) - copy(added, md.added) - added[len(added)-1] = make([]string, len(kv)) - copy(added[len(added)-1], kv) - return context.WithValue(ctx, mdOutgoingKey{}, rawMD{md: md.md, added: added}) -} - -// FromIncomingContext returns the incoming metadata in ctx if it exists. -// -// All keys in the returned MD are lowercase. -func FromIncomingContext(ctx context.Context) (MD, bool) { - md, ok := ctx.Value(mdIncomingKey{}).(MD) - if !ok { - return nil, false - } - out := MD{} - for k, v := range md { - // We need to manually convert all keys to lower case, because MD is a - // map, and there's no guarantee that the MD attached to the context is - // created using our helper functions. - key := strings.ToLower(k) - s := make([]string, len(v)) - copy(s, v) - out[key] = s - } - return out, true -} - -// FromOutgoingContextRaw returns the un-merged, intermediary contents of rawMD. -// -// Remember to perform strings.ToLower on the keys, for both the returned MD (MD -// is a map, there's no guarantee it's created using our helper functions) and -// the extra kv pairs (AppendToOutgoingContext doesn't turn them into -// lowercase). -// -// This is intended for gRPC-internal use ONLY. Users should use -// FromOutgoingContext instead. -func FromOutgoingContextRaw(ctx context.Context) (MD, [][]string, bool) { - raw, ok := ctx.Value(mdOutgoingKey{}).(rawMD) - if !ok { - return nil, nil, false - } - - return raw.md, raw.added, true -} - -// FromOutgoingContext returns the outgoing metadata in ctx if it exists. -// -// All keys in the returned MD are lowercase. -func FromOutgoingContext(ctx context.Context) (MD, bool) { - raw, ok := ctx.Value(mdOutgoingKey{}).(rawMD) - if !ok { - return nil, false - } - - out := MD{} - for k, v := range raw.md { - // We need to manually convert all keys to lower case, because MD is a - // map, and there's no guarantee that the MD attached to the context is - // created using our helper functions. - key := strings.ToLower(k) - s := make([]string, len(v)) - copy(s, v) - out[key] = s - } - for _, added := range raw.added { - if len(added)%2 == 1 { - panic(fmt.Sprintf("metadata: FromOutgoingContext got an odd number of input pairs for metadata: %d", len(added))) - } - - for i := 0; i < len(added); i += 2 { - key := strings.ToLower(added[i]) - out[key] = append(out[key], added[i+1]) - } - } - return out, ok -} - -type rawMD struct { - md MD - added [][]string -} diff --git a/vendor/google.golang.org/grpc/peer/peer.go b/vendor/google.golang.org/grpc/peer/peer.go deleted file mode 100644 index e01d219f..00000000 --- a/vendor/google.golang.org/grpc/peer/peer.go +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 peer defines various peer information associated with RPCs and -// corresponding utils. -package peer - -import ( - "context" - "net" - - "google.golang.org/grpc/credentials" -) - -// Peer contains the information of the peer for an RPC, such as the address -// and authentication information. -type Peer struct { - // Addr is the peer address. - Addr net.Addr - // AuthInfo is the authentication information of the transport. - // It is nil if there is no transport security being used. - AuthInfo credentials.AuthInfo -} - -type peerKey struct{} - -// NewContext creates a new context with peer information attached. -func NewContext(ctx context.Context, p *Peer) context.Context { - return context.WithValue(ctx, peerKey{}, p) -} - -// FromContext returns the peer information in ctx if it exists. -func FromContext(ctx context.Context) (p *Peer, ok bool) { - p, ok = ctx.Value(peerKey{}).(*Peer) - return -} diff --git a/vendor/google.golang.org/grpc/picker_wrapper.go b/vendor/google.golang.org/grpc/picker_wrapper.go deleted file mode 100644 index 843633c9..00000000 --- a/vendor/google.golang.org/grpc/picker_wrapper.go +++ /dev/null @@ -1,183 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpc - -import ( - "context" - "io" - "sync" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/transport" - "google.golang.org/grpc/status" -) - -// pickerWrapper is a wrapper of balancer.Picker. It blocks on certain pick -// actions and unblock when there's a picker update. -type pickerWrapper struct { - mu sync.Mutex - done bool - blockingCh chan struct{} - picker balancer.Picker -} - -func newPickerWrapper() *pickerWrapper { - return &pickerWrapper{blockingCh: make(chan struct{})} -} - -// updatePicker is called by UpdateBalancerState. It unblocks all blocked pick. -func (pw *pickerWrapper) updatePicker(p balancer.Picker) { - pw.mu.Lock() - if pw.done { - pw.mu.Unlock() - return - } - pw.picker = p - // pw.blockingCh should never be nil. - close(pw.blockingCh) - pw.blockingCh = make(chan struct{}) - pw.mu.Unlock() -} - -func doneChannelzWrapper(acw *acBalancerWrapper, done func(balancer.DoneInfo)) func(balancer.DoneInfo) { - acw.mu.Lock() - ac := acw.ac - acw.mu.Unlock() - ac.incrCallsStarted() - return func(b balancer.DoneInfo) { - if b.Err != nil && b.Err != io.EOF { - ac.incrCallsFailed() - } else { - ac.incrCallsSucceeded() - } - if done != nil { - done(b) - } - } -} - -// pick returns the transport that will be used for the RPC. -// It may block in the following cases: -// - there's no picker -// - the current picker returns ErrNoSubConnAvailable -// - the current picker returns other errors and failfast is false. -// - the subConn returned by the current picker is not READY -// When one of these situations happens, pick blocks until the picker gets updated. -func (pw *pickerWrapper) pick(ctx context.Context, failfast bool, info balancer.PickInfo) (transport.ClientTransport, func(balancer.DoneInfo), error) { - var ch chan struct{} - - var lastPickErr error - for { - pw.mu.Lock() - if pw.done { - pw.mu.Unlock() - return nil, nil, ErrClientConnClosing - } - - if pw.picker == nil { - ch = pw.blockingCh - } - if ch == pw.blockingCh { - // This could happen when either: - // - pw.picker is nil (the previous if condition), or - // - has called pick on the current picker. - pw.mu.Unlock() - select { - case <-ctx.Done(): - var errStr string - if lastPickErr != nil { - errStr = "latest balancer error: " + lastPickErr.Error() - } else { - errStr = ctx.Err().Error() - } - switch ctx.Err() { - case context.DeadlineExceeded: - return nil, nil, status.Error(codes.DeadlineExceeded, errStr) - case context.Canceled: - return nil, nil, status.Error(codes.Canceled, errStr) - } - case <-ch: - } - continue - } - - ch = pw.blockingCh - p := pw.picker - pw.mu.Unlock() - - pickResult, err := p.Pick(info) - - if err != nil { - if err == balancer.ErrNoSubConnAvailable { - continue - } - if _, ok := status.FromError(err); ok { - // Status error: end the RPC unconditionally with this status. - return nil, nil, dropError{error: err} - } - // For all other errors, wait for ready RPCs should block and other - // RPCs should fail with unavailable. - if !failfast { - lastPickErr = err - continue - } - return nil, nil, status.Error(codes.Unavailable, err.Error()) - } - - acw, ok := pickResult.SubConn.(*acBalancerWrapper) - if !ok { - logger.Errorf("subconn returned from pick is type %T, not *acBalancerWrapper", pickResult.SubConn) - continue - } - if t := acw.getAddrConn().getReadyTransport(); t != nil { - if channelz.IsOn() { - return t, doneChannelzWrapper(acw, pickResult.Done), nil - } - return t, pickResult.Done, nil - } - if pickResult.Done != nil { - // Calling done with nil error, no bytes sent and no bytes received. - // DoneInfo with default value works. - pickResult.Done(balancer.DoneInfo{}) - } - logger.Infof("blockingPicker: the picked transport is not ready, loop back to repick") - // If ok == false, ac.state is not READY. - // A valid picker always returns READY subConn. This means the state of ac - // just changed, and picker will be updated shortly. - // continue back to the beginning of the for loop to repick. - } -} - -func (pw *pickerWrapper) close() { - pw.mu.Lock() - defer pw.mu.Unlock() - if pw.done { - return - } - pw.done = true - close(pw.blockingCh) -} - -// dropError is a wrapper error that indicates the LB policy wishes to drop the -// RPC and not retry it. -type dropError struct { - error -} diff --git a/vendor/google.golang.org/grpc/pickfirst.go b/vendor/google.golang.org/grpc/pickfirst.go deleted file mode 100644 index fb7a99e0..00000000 --- a/vendor/google.golang.org/grpc/pickfirst.go +++ /dev/null @@ -1,183 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpc - -import ( - "errors" - "fmt" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/connectivity" -) - -// PickFirstBalancerName is the name of the pick_first balancer. -const PickFirstBalancerName = "pick_first" - -func newPickfirstBuilder() balancer.Builder { - return &pickfirstBuilder{} -} - -type pickfirstBuilder struct{} - -func (*pickfirstBuilder) Build(cc balancer.ClientConn, opt balancer.BuildOptions) balancer.Balancer { - return &pickfirstBalancer{cc: cc} -} - -func (*pickfirstBuilder) Name() string { - return PickFirstBalancerName -} - -type pickfirstBalancer struct { - state connectivity.State - cc balancer.ClientConn - subConn balancer.SubConn -} - -func (b *pickfirstBalancer) ResolverError(err error) { - if logger.V(2) { - logger.Infof("pickfirstBalancer: ResolverError called with error %v", err) - } - if b.subConn == nil { - b.state = connectivity.TransientFailure - } - - if b.state != connectivity.TransientFailure { - // The picker will not change since the balancer does not currently - // report an error. - return - } - b.cc.UpdateState(balancer.State{ - ConnectivityState: connectivity.TransientFailure, - Picker: &picker{err: fmt.Errorf("name resolver error: %v", err)}, - }) -} - -func (b *pickfirstBalancer) UpdateClientConnState(state balancer.ClientConnState) error { - if len(state.ResolverState.Addresses) == 0 { - // The resolver reported an empty address list. Treat it like an error by - // calling b.ResolverError. - if b.subConn != nil { - // Remove the old subConn. All addresses were removed, so it is no longer - // valid. - b.cc.RemoveSubConn(b.subConn) - b.subConn = nil - } - b.ResolverError(errors.New("produced zero addresses")) - return balancer.ErrBadResolverState - } - - if b.subConn != nil { - b.cc.UpdateAddresses(b.subConn, state.ResolverState.Addresses) - return nil - } - - subConn, err := b.cc.NewSubConn(state.ResolverState.Addresses, balancer.NewSubConnOptions{}) - if err != nil { - if logger.V(2) { - logger.Errorf("pickfirstBalancer: failed to NewSubConn: %v", err) - } - b.state = connectivity.TransientFailure - b.cc.UpdateState(balancer.State{ - ConnectivityState: connectivity.TransientFailure, - Picker: &picker{err: fmt.Errorf("error creating connection: %v", err)}, - }) - return balancer.ErrBadResolverState - } - b.subConn = subConn - b.state = connectivity.Idle - b.cc.UpdateState(balancer.State{ - ConnectivityState: connectivity.Idle, - Picker: &picker{result: balancer.PickResult{SubConn: b.subConn}}, - }) - b.subConn.Connect() - return nil -} - -func (b *pickfirstBalancer) UpdateSubConnState(subConn balancer.SubConn, state balancer.SubConnState) { - if logger.V(2) { - logger.Infof("pickfirstBalancer: UpdateSubConnState: %p, %v", subConn, state) - } - if b.subConn != subConn { - if logger.V(2) { - logger.Infof("pickfirstBalancer: ignored state change because subConn is not recognized") - } - return - } - b.state = state.ConnectivityState - if state.ConnectivityState == connectivity.Shutdown { - b.subConn = nil - return - } - - switch state.ConnectivityState { - case connectivity.Ready: - b.cc.UpdateState(balancer.State{ - ConnectivityState: state.ConnectivityState, - Picker: &picker{result: balancer.PickResult{SubConn: subConn}}, - }) - case connectivity.Connecting: - b.cc.UpdateState(balancer.State{ - ConnectivityState: state.ConnectivityState, - Picker: &picker{err: balancer.ErrNoSubConnAvailable}, - }) - case connectivity.Idle: - b.cc.UpdateState(balancer.State{ - ConnectivityState: state.ConnectivityState, - Picker: &idlePicker{subConn: subConn}, - }) - case connectivity.TransientFailure: - b.cc.UpdateState(balancer.State{ - ConnectivityState: state.ConnectivityState, - Picker: &picker{err: state.ConnectionError}, - }) - } -} - -func (b *pickfirstBalancer) Close() { -} - -func (b *pickfirstBalancer) ExitIdle() { - if b.subConn != nil && b.state == connectivity.Idle { - b.subConn.Connect() - } -} - -type picker struct { - result balancer.PickResult - err error -} - -func (p *picker) Pick(balancer.PickInfo) (balancer.PickResult, error) { - return p.result, p.err -} - -// idlePicker is used when the SubConn is IDLE and kicks the SubConn into -// CONNECTING when Pick is called. -type idlePicker struct { - subConn balancer.SubConn -} - -func (i *idlePicker) Pick(balancer.PickInfo) (balancer.PickResult, error) { - i.subConn.Connect() - return balancer.PickResult{}, balancer.ErrNoSubConnAvailable -} - -func init() { - balancer.Register(newPickfirstBuilder()) -} diff --git a/vendor/google.golang.org/grpc/preloader.go b/vendor/google.golang.org/grpc/preloader.go deleted file mode 100644 index 0a1e975a..00000000 --- a/vendor/google.golang.org/grpc/preloader.go +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * Copyright 2019 gRPC 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 grpc - -import ( - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -// PreparedMsg is responsible for creating a Marshalled and Compressed object. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type PreparedMsg struct { - // Struct for preparing msg before sending them - encodedData []byte - hdr []byte - payload []byte -} - -// Encode marshalls and compresses the message using the codec and compressor for the stream. -func (p *PreparedMsg) Encode(s Stream, msg interface{}) error { - ctx := s.Context() - rpcInfo, ok := rpcInfoFromContext(ctx) - if !ok { - return status.Errorf(codes.Internal, "grpc: unable to get rpcInfo") - } - - // check if the context has the relevant information to prepareMsg - if rpcInfo.preloaderInfo == nil { - return status.Errorf(codes.Internal, "grpc: rpcInfo.preloaderInfo is nil") - } - if rpcInfo.preloaderInfo.codec == nil { - return status.Errorf(codes.Internal, "grpc: rpcInfo.preloaderInfo.codec is nil") - } - - // prepare the msg - data, err := encode(rpcInfo.preloaderInfo.codec, msg) - if err != nil { - return err - } - p.encodedData = data - compData, err := compress(data, rpcInfo.preloaderInfo.cp, rpcInfo.preloaderInfo.comp) - if err != nil { - return err - } - p.hdr, p.payload = msgHeader(data, compData) - return nil -} diff --git a/vendor/google.golang.org/grpc/regenerate.sh b/vendor/google.golang.org/grpc/regenerate.sh deleted file mode 100644 index 99db79fa..00000000 --- a/vendor/google.golang.org/grpc/regenerate.sh +++ /dev/null @@ -1,126 +0,0 @@ -#!/bin/bash -# Copyright 2020 gRPC 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. - -set -eu -o pipefail - -WORKDIR=$(mktemp -d) - -function finish { - rm -rf "$WORKDIR" -} -trap finish EXIT - -export GOBIN=${WORKDIR}/bin -export PATH=${GOBIN}:${PATH} -mkdir -p ${GOBIN} - -echo "remove existing generated files" -# grpc_testing_not_regenerate/*.pb.go is not re-generated, -# see grpc_testing_not_regenerate/README.md for details. -rm -f $(find . -name '*.pb.go' | grep -v 'grpc_testing_not_regenerate') - -echo "go install google.golang.org/protobuf/cmd/protoc-gen-go" -(cd test/tools && go install google.golang.org/protobuf/cmd/protoc-gen-go) - -echo "go install cmd/protoc-gen-go-grpc" -(cd cmd/protoc-gen-go-grpc && go install .) - -echo "git clone https://github.com/grpc/grpc-proto" -git clone --quiet https://github.com/grpc/grpc-proto ${WORKDIR}/grpc-proto - -echo "git clone https://github.com/protocolbuffers/protobuf" -git clone --quiet https://github.com/protocolbuffers/protobuf ${WORKDIR}/protobuf - -# Pull in code.proto as a proto dependency -mkdir -p ${WORKDIR}/googleapis/google/rpc -echo "curl https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto" -curl --silent https://raw.githubusercontent.com/googleapis/googleapis/master/google/rpc/code.proto > ${WORKDIR}/googleapis/google/rpc/code.proto - -mkdir -p ${WORKDIR}/out - -# Generates sources without the embed requirement -LEGACY_SOURCES=( - ${WORKDIR}/grpc-proto/grpc/binlog/v1/binarylog.proto - ${WORKDIR}/grpc-proto/grpc/channelz/v1/channelz.proto - ${WORKDIR}/grpc-proto/grpc/health/v1/health.proto - ${WORKDIR}/grpc-proto/grpc/lb/v1/load_balancer.proto - profiling/proto/service.proto - reflection/grpc_reflection_v1alpha/reflection.proto -) - -# Generates only the new gRPC Service symbols -SOURCES=( - $(git ls-files --exclude-standard --cached --others "*.proto" | grep -v '^\(profiling/proto/service.proto\|reflection/grpc_reflection_v1alpha/reflection.proto\)$') - ${WORKDIR}/grpc-proto/grpc/gcp/altscontext.proto - ${WORKDIR}/grpc-proto/grpc/gcp/handshaker.proto - ${WORKDIR}/grpc-proto/grpc/gcp/transport_security_common.proto - ${WORKDIR}/grpc-proto/grpc/lookup/v1/rls.proto - ${WORKDIR}/grpc-proto/grpc/lookup/v1/rls_config.proto - ${WORKDIR}/grpc-proto/grpc/testing/*.proto - ${WORKDIR}/grpc-proto/grpc/core/*.proto -) - -# These options of the form 'Mfoo.proto=bar' instruct the codegen to use an -# import path of 'bar' in the generated code when 'foo.proto' is imported in -# one of the sources. -# -# Note that the protos listed here are all for testing purposes. All protos to -# be used externally should have a go_package option (and they don't need to be -# listed here). -OPTS=Mgrpc/core/stats.proto=google.golang.org/grpc/interop/grpc_testing/core,\ -Mgrpc/testing/benchmark_service.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/stats.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/report_qps_scenario_service.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/messages.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/worker_service.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/control.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/test.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/payloads.proto=google.golang.org/grpc/interop/grpc_testing,\ -Mgrpc/testing/empty.proto=google.golang.org/grpc/interop/grpc_testing - -for src in ${SOURCES[@]}; do - echo "protoc ${src}" - protoc --go_out=${OPTS}:${WORKDIR}/out --go-grpc_out=${OPTS}:${WORKDIR}/out \ - -I"." \ - -I${WORKDIR}/grpc-proto \ - -I${WORKDIR}/googleapis \ - -I${WORKDIR}/protobuf/src \ - ${src} -done - -for src in ${LEGACY_SOURCES[@]}; do - echo "protoc ${src}" - protoc --go_out=${OPTS}:${WORKDIR}/out --go-grpc_out=${OPTS},require_unimplemented_servers=false:${WORKDIR}/out \ - -I"." \ - -I${WORKDIR}/grpc-proto \ - -I${WORKDIR}/googleapis \ - -I${WORKDIR}/protobuf/src \ - ${src} -done - -# The go_package option in grpc/lookup/v1/rls.proto doesn't match the -# current location. Move it into the right place. -mkdir -p ${WORKDIR}/out/google.golang.org/grpc/internal/proto/grpc_lookup_v1 -mv ${WORKDIR}/out/google.golang.org/grpc/lookup/grpc_lookup_v1/* ${WORKDIR}/out/google.golang.org/grpc/internal/proto/grpc_lookup_v1 - -# grpc_testing_not_regenerate/*.pb.go are not re-generated, -# see grpc_testing_not_regenerate/README.md for details. -rm ${WORKDIR}/out/google.golang.org/grpc/reflection/grpc_testing_not_regenerate/*.pb.go - -# grpc/testing does not have a go_package option. -mv ${WORKDIR}/out/grpc/testing/*.pb.go interop/grpc_testing/ -mv ${WORKDIR}/out/grpc/core/*.pb.go interop/grpc_testing/core/ - -cp -R ${WORKDIR}/out/google.golang.org/grpc/* . diff --git a/vendor/google.golang.org/grpc/resolver/map.go b/vendor/google.golang.org/grpc/resolver/map.go deleted file mode 100644 index efcb7f3e..00000000 --- a/vendor/google.golang.org/grpc/resolver/map.go +++ /dev/null @@ -1,138 +0,0 @@ -/* - * - * Copyright 2021 gRPC 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 resolver - -type addressMapEntry struct { - addr Address - value interface{} -} - -// AddressMap is a map of addresses to arbitrary values taking into account -// Attributes. BalancerAttributes are ignored, as are Metadata and Type. -// Multiple accesses may not be performed concurrently. Must be created via -// NewAddressMap; do not construct directly. -type AddressMap struct { - // The underlying map is keyed by an Address with fields that we don't care - // about being set to their zero values. The only fields that we care about - // are `Addr`, `ServerName` and `Attributes`. Since we need to be able to - // distinguish between addresses with same `Addr` and `ServerName`, but - // different `Attributes`, we cannot store the `Attributes` in the map key. - // - // The comparison operation for structs work as follows: - // Struct values are comparable if all their fields are comparable. Two - // struct values are equal if their corresponding non-blank fields are equal. - // - // The value type of the map contains a slice of addresses which match the key - // in their `Addr` and `ServerName` fields and contain the corresponding value - // associated with them. - m map[Address]addressMapEntryList -} - -func toMapKey(addr *Address) Address { - return Address{Addr: addr.Addr, ServerName: addr.ServerName} -} - -type addressMapEntryList []*addressMapEntry - -// NewAddressMap creates a new AddressMap. -func NewAddressMap() *AddressMap { - return &AddressMap{m: make(map[Address]addressMapEntryList)} -} - -// find returns the index of addr in the addressMapEntry slice, or -1 if not -// present. -func (l addressMapEntryList) find(addr Address) int { - for i, entry := range l { - // Attributes are the only thing to match on here, since `Addr` and - // `ServerName` are already equal. - if entry.addr.Attributes.Equal(addr.Attributes) { - return i - } - } - return -1 -} - -// Get returns the value for the address in the map, if present. -func (a *AddressMap) Get(addr Address) (value interface{}, ok bool) { - addrKey := toMapKey(&addr) - entryList := a.m[addrKey] - if entry := entryList.find(addr); entry != -1 { - return entryList[entry].value, true - } - return nil, false -} - -// Set updates or adds the value to the address in the map. -func (a *AddressMap) Set(addr Address, value interface{}) { - addrKey := toMapKey(&addr) - entryList := a.m[addrKey] - if entry := entryList.find(addr); entry != -1 { - entryList[entry].value = value - return - } - a.m[addrKey] = append(entryList, &addressMapEntry{addr: addr, value: value}) -} - -// Delete removes addr from the map. -func (a *AddressMap) Delete(addr Address) { - addrKey := toMapKey(&addr) - entryList := a.m[addrKey] - entry := entryList.find(addr) - if entry == -1 { - return - } - if len(entryList) == 1 { - entryList = nil - } else { - copy(entryList[entry:], entryList[entry+1:]) - entryList = entryList[:len(entryList)-1] - } - a.m[addrKey] = entryList -} - -// Len returns the number of entries in the map. -func (a *AddressMap) Len() int { - ret := 0 - for _, entryList := range a.m { - ret += len(entryList) - } - return ret -} - -// Keys returns a slice of all current map keys. -func (a *AddressMap) Keys() []Address { - ret := make([]Address, 0, a.Len()) - for _, entryList := range a.m { - for _, entry := range entryList { - ret = append(ret, entry.addr) - } - } - return ret -} - -// Values returns a slice of all current map values. -func (a *AddressMap) Values() []interface{} { - ret := make([]interface{}, 0, a.Len()) - for _, entryList := range a.m { - for _, entry := range entryList { - ret = append(ret, entry.value) - } - } - return ret -} diff --git a/vendor/google.golang.org/grpc/resolver/resolver.go b/vendor/google.golang.org/grpc/resolver/resolver.go deleted file mode 100644 index ca2e35a3..00000000 --- a/vendor/google.golang.org/grpc/resolver/resolver.go +++ /dev/null @@ -1,292 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 resolver defines APIs for name resolution in gRPC. -// All APIs in this package are experimental. -package resolver - -import ( - "context" - "net" - "net/url" - - "google.golang.org/grpc/attributes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/pretty" - "google.golang.org/grpc/serviceconfig" -) - -var ( - // m is a map from scheme to resolver builder. - m = make(map[string]Builder) - // defaultScheme is the default scheme to use. - defaultScheme = "passthrough" -) - -// TODO(bar) install dns resolver in init(){}. - -// Register registers the resolver builder to the resolver map. b.Scheme will be -// used as the scheme registered with this builder. -// -// NOTE: this function must only be called during initialization time (i.e. in -// an init() function), and is not thread-safe. If multiple Resolvers are -// registered with the same name, the one registered last will take effect. -func Register(b Builder) { - m[b.Scheme()] = b -} - -// Get returns the resolver builder registered with the given scheme. -// -// If no builder is register with the scheme, nil will be returned. -func Get(scheme string) Builder { - if b, ok := m[scheme]; ok { - return b - } - return nil -} - -// SetDefaultScheme sets the default scheme that will be used. The default -// default scheme is "passthrough". -// -// NOTE: this function must only be called during initialization time (i.e. in -// an init() function), and is not thread-safe. The scheme set last overrides -// previously set values. -func SetDefaultScheme(scheme string) { - defaultScheme = scheme -} - -// GetDefaultScheme gets the default scheme that will be used. -func GetDefaultScheme() string { - return defaultScheme -} - -// AddressType indicates the address type returned by name resolution. -// -// Deprecated: use Attributes in Address instead. -type AddressType uint8 - -const ( - // Backend indicates the address is for a backend server. - // - // Deprecated: use Attributes in Address instead. - Backend AddressType = iota - // GRPCLB indicates the address is for a grpclb load balancer. - // - // Deprecated: to select the GRPCLB load balancing policy, use a service - // config with a corresponding loadBalancingConfig. To supply balancer - // addresses to the GRPCLB load balancing policy, set State.Attributes - // using balancer/grpclb/state.Set. - GRPCLB -) - -// Address represents a server the client connects to. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type Address struct { - // Addr is the server address on which a connection will be established. - Addr string - - // ServerName is the name of this address. - // If non-empty, the ServerName is used as the transport certification authority for - // the address, instead of the hostname from the Dial target string. In most cases, - // this should not be set. - // - // If Type is GRPCLB, ServerName should be the name of the remote load - // balancer, not the name of the backend. - // - // WARNING: ServerName must only be populated with trusted values. It - // is insecure to populate it with data from untrusted inputs since untrusted - // values could be used to bypass the authority checks performed by TLS. - ServerName string - - // Attributes contains arbitrary data about this address intended for - // consumption by the SubConn. - Attributes *attributes.Attributes - - // BalancerAttributes contains arbitrary data about this address intended - // for consumption by the LB policy. These attribes do not affect SubConn - // creation, connection establishment, handshaking, etc. - BalancerAttributes *attributes.Attributes - - // Type is the type of this address. - // - // Deprecated: use Attributes instead. - Type AddressType - - // Metadata is the information associated with Addr, which may be used - // to make load balancing decision. - // - // Deprecated: use Attributes instead. - Metadata interface{} -} - -// Equal returns whether a and o are identical. Metadata is compared directly, -// not with any recursive introspection. -func (a Address) Equal(o Address) bool { - return a.Addr == o.Addr && a.ServerName == o.ServerName && - a.Attributes.Equal(o.Attributes) && - a.BalancerAttributes.Equal(o.BalancerAttributes) && - a.Type == o.Type && a.Metadata == o.Metadata -} - -// String returns JSON formatted string representation of the address. -func (a Address) String() string { - return pretty.ToJSON(a) -} - -// BuildOptions includes additional information for the builder to create -// the resolver. -type BuildOptions struct { - // DisableServiceConfig indicates whether a resolver implementation should - // fetch service config data. - DisableServiceConfig bool - // DialCreds is the transport credentials used by the ClientConn for - // communicating with the target gRPC service (set via - // WithTransportCredentials). In cases where a name resolution service - // requires the same credentials, the resolver may use this field. In most - // cases though, it is not appropriate, and this field may be ignored. - DialCreds credentials.TransportCredentials - // CredsBundle is the credentials bundle used by the ClientConn for - // communicating with the target gRPC service (set via - // WithCredentialsBundle). In cases where a name resolution service - // requires the same credentials, the resolver may use this field. In most - // cases though, it is not appropriate, and this field may be ignored. - CredsBundle credentials.Bundle - // Dialer is the custom dialer used by the ClientConn for dialling the - // target gRPC service (set via WithDialer). In cases where a name - // resolution service requires the same dialer, the resolver may use this - // field. In most cases though, it is not appropriate, and this field may - // be ignored. - Dialer func(context.Context, string) (net.Conn, error) -} - -// State contains the current Resolver state relevant to the ClientConn. -type State struct { - // Addresses is the latest set of resolved addresses for the target. - Addresses []Address - - // ServiceConfig contains the result from parsing the latest service - // config. If it is nil, it indicates no service config is present or the - // resolver does not provide service configs. - ServiceConfig *serviceconfig.ParseResult - - // Attributes contains arbitrary data about the resolver intended for - // consumption by the load balancing policy. - Attributes *attributes.Attributes -} - -// ClientConn contains the callbacks for resolver to notify any updates -// to the gRPC ClientConn. -// -// This interface is to be implemented by gRPC. Users should not need a -// brand new implementation of this interface. For the situations like -// testing, the new implementation should embed this interface. This allows -// gRPC to add new methods to this interface. -type ClientConn interface { - // UpdateState updates the state of the ClientConn appropriately. - UpdateState(State) error - // ReportError notifies the ClientConn that the Resolver encountered an - // error. The ClientConn will notify the load balancer and begin calling - // ResolveNow on the Resolver with exponential backoff. - ReportError(error) - // NewAddress is called by resolver to notify ClientConn a new list - // of resolved addresses. - // The address list should be the complete list of resolved addresses. - // - // Deprecated: Use UpdateState instead. - NewAddress(addresses []Address) - // NewServiceConfig is called by resolver to notify ClientConn a new - // service config. The service config should be provided as a json string. - // - // Deprecated: Use UpdateState instead. - NewServiceConfig(serviceConfig string) - // ParseServiceConfig parses the provided service config and returns an - // object that provides the parsed config. - ParseServiceConfig(serviceConfigJSON string) *serviceconfig.ParseResult -} - -// Target represents a target for gRPC, as specified in: -// https://github.com/grpc/grpc/blob/master/doc/naming.md. -// It is parsed from the target string that gets passed into Dial or DialContext -// by the user. And gRPC passes it to the resolver and the balancer. -// -// If the target follows the naming spec, and the parsed scheme is registered -// with gRPC, we will parse the target string according to the spec. If the -// target does not contain a scheme or if the parsed scheme is not registered -// (i.e. no corresponding resolver available to resolve the endpoint), we will -// apply the default scheme, and will attempt to reparse it. -// -// Examples: -// -// - "dns://some_authority/foo.bar" -// Target{Scheme: "dns", Authority: "some_authority", Endpoint: "foo.bar"} -// - "foo.bar" -// Target{Scheme: resolver.GetDefaultScheme(), Endpoint: "foo.bar"} -// - "unknown_scheme://authority/endpoint" -// Target{Scheme: resolver.GetDefaultScheme(), Endpoint: "unknown_scheme://authority/endpoint"} -type Target struct { - // Deprecated: use URL.Scheme instead. - Scheme string - // Deprecated: use URL.Host instead. - Authority string - // Deprecated: use URL.Path or URL.Opaque instead. The latter is set when - // the former is empty. - Endpoint string - // URL contains the parsed dial target with an optional default scheme added - // to it if the original dial target contained no scheme or contained an - // unregistered scheme. Any query params specified in the original dial - // target can be accessed from here. - URL url.URL -} - -// Builder creates a resolver that will be used to watch name resolution updates. -type Builder interface { - // Build creates a new resolver for the given target. - // - // gRPC dial calls Build synchronously, and fails if the returned error is - // not nil. - Build(target Target, cc ClientConn, opts BuildOptions) (Resolver, error) - // Scheme returns the scheme supported by this resolver. - // Scheme is defined at https://github.com/grpc/grpc/blob/master/doc/naming.md. - Scheme() string -} - -// ResolveNowOptions includes additional information for ResolveNow. -type ResolveNowOptions struct{} - -// Resolver watches for the updates on the specified target. -// Updates include address updates and service config updates. -type Resolver interface { - // ResolveNow will be called by gRPC to try to resolve the target name - // again. It's just a hint, resolver can ignore this if it's not necessary. - // - // It could be called multiple times concurrently. - ResolveNow(ResolveNowOptions) - // Close closes the resolver. - Close() -} - -// UnregisterForTesting removes the resolver builder with the given scheme from the -// resolver map. -// This function is for testing only. -func UnregisterForTesting(scheme string) { - delete(m, scheme) -} diff --git a/vendor/google.golang.org/grpc/resolver_conn_wrapper.go b/vendor/google.golang.org/grpc/resolver_conn_wrapper.go deleted file mode 100644 index 05a9d4e0..00000000 --- a/vendor/google.golang.org/grpc/resolver_conn_wrapper.go +++ /dev/null @@ -1,176 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpc - -import ( - "strings" - "sync" - - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/grpcsync" - "google.golang.org/grpc/internal/pretty" - "google.golang.org/grpc/resolver" - "google.golang.org/grpc/serviceconfig" -) - -// ccResolverWrapper is a wrapper on top of cc for resolvers. -// It implements resolver.ClientConn interface. -type ccResolverWrapper struct { - cc *ClientConn - resolverMu sync.Mutex - resolver resolver.Resolver - done *grpcsync.Event - curState resolver.State - - incomingMu sync.Mutex // Synchronizes all the incoming calls. -} - -// newCCResolverWrapper uses the resolver.Builder to build a Resolver and -// returns a ccResolverWrapper object which wraps the newly built resolver. -func newCCResolverWrapper(cc *ClientConn, rb resolver.Builder) (*ccResolverWrapper, error) { - ccr := &ccResolverWrapper{ - cc: cc, - done: grpcsync.NewEvent(), - } - - var credsClone credentials.TransportCredentials - if creds := cc.dopts.copts.TransportCredentials; creds != nil { - credsClone = creds.Clone() - } - rbo := resolver.BuildOptions{ - DisableServiceConfig: cc.dopts.disableServiceConfig, - DialCreds: credsClone, - CredsBundle: cc.dopts.copts.CredsBundle, - Dialer: cc.dopts.copts.Dialer, - } - - var err error - // We need to hold the lock here while we assign to the ccr.resolver field - // to guard against a data race caused by the following code path, - // rb.Build-->ccr.ReportError-->ccr.poll-->ccr.resolveNow, would end up - // accessing ccr.resolver which is being assigned here. - ccr.resolverMu.Lock() - defer ccr.resolverMu.Unlock() - ccr.resolver, err = rb.Build(cc.parsedTarget, ccr, rbo) - if err != nil { - return nil, err - } - return ccr, nil -} - -func (ccr *ccResolverWrapper) resolveNow(o resolver.ResolveNowOptions) { - ccr.resolverMu.Lock() - if !ccr.done.HasFired() { - ccr.resolver.ResolveNow(o) - } - ccr.resolverMu.Unlock() -} - -func (ccr *ccResolverWrapper) close() { - ccr.resolverMu.Lock() - ccr.resolver.Close() - ccr.done.Fire() - ccr.resolverMu.Unlock() -} - -func (ccr *ccResolverWrapper) UpdateState(s resolver.State) error { - ccr.incomingMu.Lock() - defer ccr.incomingMu.Unlock() - if ccr.done.HasFired() { - return nil - } - ccr.addChannelzTraceEvent(s) - ccr.curState = s - if err := ccr.cc.updateResolverState(ccr.curState, nil); err == balancer.ErrBadResolverState { - return balancer.ErrBadResolverState - } - return nil -} - -func (ccr *ccResolverWrapper) ReportError(err error) { - ccr.incomingMu.Lock() - defer ccr.incomingMu.Unlock() - if ccr.done.HasFired() { - return - } - channelz.Warningf(logger, ccr.cc.channelzID, "ccResolverWrapper: reporting error to cc: %v", err) - ccr.cc.updateResolverState(resolver.State{}, err) -} - -// NewAddress is called by the resolver implementation to send addresses to gRPC. -func (ccr *ccResolverWrapper) NewAddress(addrs []resolver.Address) { - ccr.incomingMu.Lock() - defer ccr.incomingMu.Unlock() - if ccr.done.HasFired() { - return - } - ccr.addChannelzTraceEvent(resolver.State{Addresses: addrs, ServiceConfig: ccr.curState.ServiceConfig}) - ccr.curState.Addresses = addrs - ccr.cc.updateResolverState(ccr.curState, nil) -} - -// NewServiceConfig is called by the resolver implementation to send service -// configs to gRPC. -func (ccr *ccResolverWrapper) NewServiceConfig(sc string) { - ccr.incomingMu.Lock() - defer ccr.incomingMu.Unlock() - if ccr.done.HasFired() { - return - } - channelz.Infof(logger, ccr.cc.channelzID, "ccResolverWrapper: got new service config: %s", sc) - if ccr.cc.dopts.disableServiceConfig { - channelz.Info(logger, ccr.cc.channelzID, "Service config lookups disabled; ignoring config") - return - } - scpr := parseServiceConfig(sc) - if scpr.Err != nil { - channelz.Warningf(logger, ccr.cc.channelzID, "ccResolverWrapper: error parsing service config: %v", scpr.Err) - return - } - ccr.addChannelzTraceEvent(resolver.State{Addresses: ccr.curState.Addresses, ServiceConfig: scpr}) - ccr.curState.ServiceConfig = scpr - ccr.cc.updateResolverState(ccr.curState, nil) -} - -func (ccr *ccResolverWrapper) ParseServiceConfig(scJSON string) *serviceconfig.ParseResult { - return parseServiceConfig(scJSON) -} - -func (ccr *ccResolverWrapper) addChannelzTraceEvent(s resolver.State) { - var updates []string - var oldSC, newSC *ServiceConfig - var oldOK, newOK bool - if ccr.curState.ServiceConfig != nil { - oldSC, oldOK = ccr.curState.ServiceConfig.Config.(*ServiceConfig) - } - if s.ServiceConfig != nil { - newSC, newOK = s.ServiceConfig.Config.(*ServiceConfig) - } - if oldOK != newOK || (oldOK && newOK && oldSC.rawJSONString != newSC.rawJSONString) { - updates = append(updates, "service config updated") - } - if len(ccr.curState.Addresses) > 0 && len(s.Addresses) == 0 { - updates = append(updates, "resolver returned an empty address list") - } else if len(ccr.curState.Addresses) == 0 && len(s.Addresses) > 0 { - updates = append(updates, "resolver returned new addresses") - } - channelz.Infof(logger, ccr.cc.channelzID, "Resolver state updated: %s (%v)", pretty.ToJSON(s), strings.Join(updates, "; ")) -} diff --git a/vendor/google.golang.org/grpc/rpc_util.go b/vendor/google.golang.org/grpc/rpc_util.go deleted file mode 100644 index 5d407b00..00000000 --- a/vendor/google.golang.org/grpc/rpc_util.go +++ /dev/null @@ -1,914 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 grpc - -import ( - "bytes" - "compress/gzip" - "context" - "encoding/binary" - "fmt" - "io" - "io/ioutil" - "math" - "strings" - "sync" - "time" - - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/encoding" - "google.golang.org/grpc/encoding/proto" - "google.golang.org/grpc/internal/transport" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/peer" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" -) - -// Compressor defines the interface gRPC uses to compress a message. -// -// Deprecated: use package encoding. -type Compressor interface { - // Do compresses p into w. - Do(w io.Writer, p []byte) error - // Type returns the compression algorithm the Compressor uses. - Type() string -} - -type gzipCompressor struct { - pool sync.Pool -} - -// NewGZIPCompressor creates a Compressor based on GZIP. -// -// Deprecated: use package encoding/gzip. -func NewGZIPCompressor() Compressor { - c, _ := NewGZIPCompressorWithLevel(gzip.DefaultCompression) - return c -} - -// NewGZIPCompressorWithLevel is like NewGZIPCompressor but specifies the gzip compression level instead -// of assuming DefaultCompression. -// -// The error returned will be nil if the level is valid. -// -// Deprecated: use package encoding/gzip. -func NewGZIPCompressorWithLevel(level int) (Compressor, error) { - if level < gzip.DefaultCompression || level > gzip.BestCompression { - return nil, fmt.Errorf("grpc: invalid compression level: %d", level) - } - return &gzipCompressor{ - pool: sync.Pool{ - New: func() interface{} { - w, err := gzip.NewWriterLevel(ioutil.Discard, level) - if err != nil { - panic(err) - } - return w - }, - }, - }, nil -} - -func (c *gzipCompressor) Do(w io.Writer, p []byte) error { - z := c.pool.Get().(*gzip.Writer) - defer c.pool.Put(z) - z.Reset(w) - if _, err := z.Write(p); err != nil { - return err - } - return z.Close() -} - -func (c *gzipCompressor) Type() string { - return "gzip" -} - -// Decompressor defines the interface gRPC uses to decompress a message. -// -// Deprecated: use package encoding. -type Decompressor interface { - // Do reads the data from r and uncompress them. - Do(r io.Reader) ([]byte, error) - // Type returns the compression algorithm the Decompressor uses. - Type() string -} - -type gzipDecompressor struct { - pool sync.Pool -} - -// NewGZIPDecompressor creates a Decompressor based on GZIP. -// -// Deprecated: use package encoding/gzip. -func NewGZIPDecompressor() Decompressor { - return &gzipDecompressor{} -} - -func (d *gzipDecompressor) Do(r io.Reader) ([]byte, error) { - var z *gzip.Reader - switch maybeZ := d.pool.Get().(type) { - case nil: - newZ, err := gzip.NewReader(r) - if err != nil { - return nil, err - } - z = newZ - case *gzip.Reader: - z = maybeZ - if err := z.Reset(r); err != nil { - d.pool.Put(z) - return nil, err - } - } - - defer func() { - z.Close() - d.pool.Put(z) - }() - return ioutil.ReadAll(z) -} - -func (d *gzipDecompressor) Type() string { - return "gzip" -} - -// callInfo contains all related configuration and information about an RPC. -type callInfo struct { - compressorType string - failFast bool - maxReceiveMessageSize *int - maxSendMessageSize *int - creds credentials.PerRPCCredentials - contentSubtype string - codec baseCodec - maxRetryRPCBufferSize int -} - -func defaultCallInfo() *callInfo { - return &callInfo{ - failFast: true, - maxRetryRPCBufferSize: 256 * 1024, // 256KB - } -} - -// CallOption configures a Call before it starts or extracts information from -// a Call after it completes. -type CallOption interface { - // before is called before the call is sent to any server. If before - // returns a non-nil error, the RPC fails with that error. - before(*callInfo) error - - // after is called after the call has completed. after cannot return an - // error, so any failures should be reported via output parameters. - after(*callInfo, *csAttempt) -} - -// EmptyCallOption does not alter the Call configuration. -// It can be embedded in another structure to carry satellite data for use -// by interceptors. -type EmptyCallOption struct{} - -func (EmptyCallOption) before(*callInfo) error { return nil } -func (EmptyCallOption) after(*callInfo, *csAttempt) {} - -// Header returns a CallOptions that retrieves the header metadata -// for a unary RPC. -func Header(md *metadata.MD) CallOption { - return HeaderCallOption{HeaderAddr: md} -} - -// HeaderCallOption is a CallOption for collecting response header metadata. -// The metadata field will be populated *after* the RPC completes. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type HeaderCallOption struct { - HeaderAddr *metadata.MD -} - -func (o HeaderCallOption) before(c *callInfo) error { return nil } -func (o HeaderCallOption) after(c *callInfo, attempt *csAttempt) { - *o.HeaderAddr, _ = attempt.s.Header() -} - -// Trailer returns a CallOptions that retrieves the trailer metadata -// for a unary RPC. -func Trailer(md *metadata.MD) CallOption { - return TrailerCallOption{TrailerAddr: md} -} - -// TrailerCallOption is a CallOption for collecting response trailer metadata. -// The metadata field will be populated *after* the RPC completes. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type TrailerCallOption struct { - TrailerAddr *metadata.MD -} - -func (o TrailerCallOption) before(c *callInfo) error { return nil } -func (o TrailerCallOption) after(c *callInfo, attempt *csAttempt) { - *o.TrailerAddr = attempt.s.Trailer() -} - -// Peer returns a CallOption that retrieves peer information for a unary RPC. -// The peer field will be populated *after* the RPC completes. -func Peer(p *peer.Peer) CallOption { - return PeerCallOption{PeerAddr: p} -} - -// PeerCallOption is a CallOption for collecting the identity of the remote -// peer. The peer field will be populated *after* the RPC completes. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type PeerCallOption struct { - PeerAddr *peer.Peer -} - -func (o PeerCallOption) before(c *callInfo) error { return nil } -func (o PeerCallOption) after(c *callInfo, attempt *csAttempt) { - if x, ok := peer.FromContext(attempt.s.Context()); ok { - *o.PeerAddr = *x - } -} - -// WaitForReady configures the action to take when an RPC is attempted on broken -// connections or unreachable servers. If waitForReady is false and the -// connection is in the TRANSIENT_FAILURE state, the RPC will fail -// immediately. Otherwise, the RPC client will block the call until a -// connection is available (or the call is canceled or times out) and will -// retry the call if it fails due to a transient error. gRPC will not retry if -// data was written to the wire unless the server indicates it did not process -// the data. Please refer to -// https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md. -// -// By default, RPCs don't "wait for ready". -func WaitForReady(waitForReady bool) CallOption { - return FailFastCallOption{FailFast: !waitForReady} -} - -// FailFast is the opposite of WaitForReady. -// -// Deprecated: use WaitForReady. -func FailFast(failFast bool) CallOption { - return FailFastCallOption{FailFast: failFast} -} - -// FailFastCallOption is a CallOption for indicating whether an RPC should fail -// fast or not. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type FailFastCallOption struct { - FailFast bool -} - -func (o FailFastCallOption) before(c *callInfo) error { - c.failFast = o.FailFast - return nil -} -func (o FailFastCallOption) after(c *callInfo, attempt *csAttempt) {} - -// MaxCallRecvMsgSize returns a CallOption which sets the maximum message size -// in bytes the client can receive. -func MaxCallRecvMsgSize(bytes int) CallOption { - return MaxRecvMsgSizeCallOption{MaxRecvMsgSize: bytes} -} - -// MaxRecvMsgSizeCallOption is a CallOption that indicates the maximum message -// size in bytes the client can receive. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type MaxRecvMsgSizeCallOption struct { - MaxRecvMsgSize int -} - -func (o MaxRecvMsgSizeCallOption) before(c *callInfo) error { - c.maxReceiveMessageSize = &o.MaxRecvMsgSize - return nil -} -func (o MaxRecvMsgSizeCallOption) after(c *callInfo, attempt *csAttempt) {} - -// MaxCallSendMsgSize returns a CallOption which sets the maximum message size -// in bytes the client can send. -func MaxCallSendMsgSize(bytes int) CallOption { - return MaxSendMsgSizeCallOption{MaxSendMsgSize: bytes} -} - -// MaxSendMsgSizeCallOption is a CallOption that indicates the maximum message -// size in bytes the client can send. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type MaxSendMsgSizeCallOption struct { - MaxSendMsgSize int -} - -func (o MaxSendMsgSizeCallOption) before(c *callInfo) error { - c.maxSendMessageSize = &o.MaxSendMsgSize - return nil -} -func (o MaxSendMsgSizeCallOption) after(c *callInfo, attempt *csAttempt) {} - -// PerRPCCredentials returns a CallOption that sets credentials.PerRPCCredentials -// for a call. -func PerRPCCredentials(creds credentials.PerRPCCredentials) CallOption { - return PerRPCCredsCallOption{Creds: creds} -} - -// PerRPCCredsCallOption is a CallOption that indicates the per-RPC -// credentials to use for the call. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type PerRPCCredsCallOption struct { - Creds credentials.PerRPCCredentials -} - -func (o PerRPCCredsCallOption) before(c *callInfo) error { - c.creds = o.Creds - return nil -} -func (o PerRPCCredsCallOption) after(c *callInfo, attempt *csAttempt) {} - -// UseCompressor returns a CallOption which sets the compressor used when -// sending the request. If WithCompressor is also set, UseCompressor has -// higher priority. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func UseCompressor(name string) CallOption { - return CompressorCallOption{CompressorType: name} -} - -// CompressorCallOption is a CallOption that indicates the compressor to use. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type CompressorCallOption struct { - CompressorType string -} - -func (o CompressorCallOption) before(c *callInfo) error { - c.compressorType = o.CompressorType - return nil -} -func (o CompressorCallOption) after(c *callInfo, attempt *csAttempt) {} - -// CallContentSubtype returns a CallOption that will set the content-subtype -// for a call. For example, if content-subtype is "json", the Content-Type over -// the wire will be "application/grpc+json". The content-subtype is converted -// to lowercase before being included in Content-Type. See Content-Type on -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests for -// more details. -// -// If ForceCodec is not also used, the content-subtype will be used to look up -// the Codec to use in the registry controlled by RegisterCodec. See the -// documentation on RegisterCodec for details on registration. The lookup of -// content-subtype is case-insensitive. If no such Codec is found, the call -// will result in an error with code codes.Internal. -// -// If ForceCodec is also used, that Codec will be used for all request and -// response messages, with the content-subtype set to the given contentSubtype -// here for requests. -func CallContentSubtype(contentSubtype string) CallOption { - return ContentSubtypeCallOption{ContentSubtype: strings.ToLower(contentSubtype)} -} - -// ContentSubtypeCallOption is a CallOption that indicates the content-subtype -// used for marshaling messages. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type ContentSubtypeCallOption struct { - ContentSubtype string -} - -func (o ContentSubtypeCallOption) before(c *callInfo) error { - c.contentSubtype = o.ContentSubtype - return nil -} -func (o ContentSubtypeCallOption) after(c *callInfo, attempt *csAttempt) {} - -// ForceCodec returns a CallOption that will set codec to be used for all -// request and response messages for a call. The result of calling Name() will -// be used as the content-subtype after converting to lowercase, unless -// CallContentSubtype is also used. -// -// See Content-Type on -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests for -// more details. Also see the documentation on RegisterCodec and -// CallContentSubtype for more details on the interaction between Codec and -// content-subtype. -// -// This function is provided for advanced users; prefer to use only -// CallContentSubtype to select a registered codec instead. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func ForceCodec(codec encoding.Codec) CallOption { - return ForceCodecCallOption{Codec: codec} -} - -// ForceCodecCallOption is a CallOption that indicates the codec used for -// marshaling messages. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type ForceCodecCallOption struct { - Codec encoding.Codec -} - -func (o ForceCodecCallOption) before(c *callInfo) error { - c.codec = o.Codec - return nil -} -func (o ForceCodecCallOption) after(c *callInfo, attempt *csAttempt) {} - -// CallCustomCodec behaves like ForceCodec, but accepts a grpc.Codec instead of -// an encoding.Codec. -// -// Deprecated: use ForceCodec instead. -func CallCustomCodec(codec Codec) CallOption { - return CustomCodecCallOption{Codec: codec} -} - -// CustomCodecCallOption is a CallOption that indicates the codec used for -// marshaling messages. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type CustomCodecCallOption struct { - Codec Codec -} - -func (o CustomCodecCallOption) before(c *callInfo) error { - c.codec = o.Codec - return nil -} -func (o CustomCodecCallOption) after(c *callInfo, attempt *csAttempt) {} - -// MaxRetryRPCBufferSize returns a CallOption that limits the amount of memory -// used for buffering this RPC's requests for retry purposes. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func MaxRetryRPCBufferSize(bytes int) CallOption { - return MaxRetryRPCBufferSizeCallOption{bytes} -} - -// MaxRetryRPCBufferSizeCallOption is a CallOption indicating the amount of -// memory to be used for caching this RPC for retry purposes. -// -// Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type MaxRetryRPCBufferSizeCallOption struct { - MaxRetryRPCBufferSize int -} - -func (o MaxRetryRPCBufferSizeCallOption) before(c *callInfo) error { - c.maxRetryRPCBufferSize = o.MaxRetryRPCBufferSize - return nil -} -func (o MaxRetryRPCBufferSizeCallOption) after(c *callInfo, attempt *csAttempt) {} - -// The format of the payload: compressed or not? -type payloadFormat uint8 - -const ( - compressionNone payloadFormat = 0 // no compression - compressionMade payloadFormat = 1 // compressed -) - -// parser reads complete gRPC messages from the underlying reader. -type parser struct { - // r is the underlying reader. - // See the comment on recvMsg for the permissible - // error types. - r io.Reader - - // The header of a gRPC message. Find more detail at - // https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md - header [5]byte -} - -// recvMsg reads a complete gRPC message from the stream. -// -// It returns the message and its payload (compression/encoding) -// format. The caller owns the returned msg memory. -// -// If there is an error, possible values are: -// * io.EOF, when no messages remain -// * io.ErrUnexpectedEOF -// * of type transport.ConnectionError -// * an error from the status package -// No other error values or types must be returned, which also means -// that the underlying io.Reader must not return an incompatible -// error. -func (p *parser) recvMsg(maxReceiveMessageSize int) (pf payloadFormat, msg []byte, err error) { - if _, err := p.r.Read(p.header[:]); err != nil { - return 0, nil, err - } - - pf = payloadFormat(p.header[0]) - length := binary.BigEndian.Uint32(p.header[1:]) - - if length == 0 { - return pf, nil, nil - } - if int64(length) > int64(maxInt) { - return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max length allowed on current machine (%d vs. %d)", length, maxInt) - } - if int(length) > maxReceiveMessageSize { - return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max (%d vs. %d)", length, maxReceiveMessageSize) - } - // TODO(bradfitz,zhaoq): garbage. reuse buffer after proto decoding instead - // of making it for each message: - msg = make([]byte, int(length)) - if _, err := p.r.Read(msg); err != nil { - if err == io.EOF { - err = io.ErrUnexpectedEOF - } - return 0, nil, err - } - return pf, msg, nil -} - -// encode serializes msg and returns a buffer containing the message, or an -// error if it is too large to be transmitted by grpc. If msg is nil, it -// generates an empty message. -func encode(c baseCodec, msg interface{}) ([]byte, error) { - if msg == nil { // NOTE: typed nils will not be caught by this check - return nil, nil - } - b, err := c.Marshal(msg) - if err != nil { - return nil, status.Errorf(codes.Internal, "grpc: error while marshaling: %v", err.Error()) - } - if uint(len(b)) > math.MaxUint32 { - return nil, status.Errorf(codes.ResourceExhausted, "grpc: message too large (%d bytes)", len(b)) - } - return b, nil -} - -// compress returns the input bytes compressed by compressor or cp. If both -// compressors are nil, returns nil. -// -// TODO(dfawley): eliminate cp parameter by wrapping Compressor in an encoding.Compressor. -func compress(in []byte, cp Compressor, compressor encoding.Compressor) ([]byte, error) { - if compressor == nil && cp == nil { - return nil, nil - } - wrapErr := func(err error) error { - return status.Errorf(codes.Internal, "grpc: error while compressing: %v", err.Error()) - } - cbuf := &bytes.Buffer{} - if compressor != nil { - z, err := compressor.Compress(cbuf) - if err != nil { - return nil, wrapErr(err) - } - if _, err := z.Write(in); err != nil { - return nil, wrapErr(err) - } - if err := z.Close(); err != nil { - return nil, wrapErr(err) - } - } else { - if err := cp.Do(cbuf, in); err != nil { - return nil, wrapErr(err) - } - } - return cbuf.Bytes(), nil -} - -const ( - payloadLen = 1 - sizeLen = 4 - headerLen = payloadLen + sizeLen -) - -// msgHeader returns a 5-byte header for the message being transmitted and the -// payload, which is compData if non-nil or data otherwise. -func msgHeader(data, compData []byte) (hdr []byte, payload []byte) { - hdr = make([]byte, headerLen) - if compData != nil { - hdr[0] = byte(compressionMade) - data = compData - } else { - hdr[0] = byte(compressionNone) - } - - // Write length of payload into buf - binary.BigEndian.PutUint32(hdr[payloadLen:], uint32(len(data))) - return hdr, data -} - -func outPayload(client bool, msg interface{}, data, payload []byte, t time.Time) *stats.OutPayload { - return &stats.OutPayload{ - Client: client, - Payload: msg, - Data: data, - Length: len(data), - WireLength: len(payload) + headerLen, - SentTime: t, - } -} - -func checkRecvPayload(pf payloadFormat, recvCompress string, haveCompressor bool) *status.Status { - switch pf { - case compressionNone: - case compressionMade: - if recvCompress == "" || recvCompress == encoding.Identity { - return status.New(codes.Internal, "grpc: compressed flag set with identity or empty encoding") - } - if !haveCompressor { - return status.Newf(codes.Unimplemented, "grpc: Decompressor is not installed for grpc-encoding %q", recvCompress) - } - default: - return status.Newf(codes.Internal, "grpc: received unexpected payload format %d", pf) - } - return nil -} - -type payloadInfo struct { - wireLength int // The compressed length got from wire. - uncompressedBytes []byte -} - -func recvAndDecompress(p *parser, s *transport.Stream, dc Decompressor, maxReceiveMessageSize int, payInfo *payloadInfo, compressor encoding.Compressor) ([]byte, error) { - pf, d, err := p.recvMsg(maxReceiveMessageSize) - if err != nil { - return nil, err - } - if payInfo != nil { - payInfo.wireLength = len(d) - } - - if st := checkRecvPayload(pf, s.RecvCompress(), compressor != nil || dc != nil); st != nil { - return nil, st.Err() - } - - var size int - if pf == compressionMade { - // To match legacy behavior, if the decompressor is set by WithDecompressor or RPCDecompressor, - // use this decompressor as the default. - if dc != nil { - d, err = dc.Do(bytes.NewReader(d)) - size = len(d) - } else { - d, size, err = decompress(compressor, d, maxReceiveMessageSize) - } - if err != nil { - return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message %v", err) - } - if size > maxReceiveMessageSize { - // TODO: Revisit the error code. Currently keep it consistent with java - // implementation. - return nil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max (%d vs. %d)", size, maxReceiveMessageSize) - } - } - return d, nil -} - -// Using compressor, decompress d, returning data and size. -// Optionally, if data will be over maxReceiveMessageSize, just return the size. -func decompress(compressor encoding.Compressor, d []byte, maxReceiveMessageSize int) ([]byte, int, error) { - dcReader, err := compressor.Decompress(bytes.NewReader(d)) - if err != nil { - return nil, 0, err - } - if sizer, ok := compressor.(interface { - DecompressedSize(compressedBytes []byte) int - }); ok { - if size := sizer.DecompressedSize(d); size >= 0 { - if size > maxReceiveMessageSize { - return nil, size, nil - } - // size is used as an estimate to size the buffer, but we - // will read more data if available. - // +MinRead so ReadFrom will not reallocate if size is correct. - buf := bytes.NewBuffer(make([]byte, 0, size+bytes.MinRead)) - bytesRead, err := buf.ReadFrom(io.LimitReader(dcReader, int64(maxReceiveMessageSize)+1)) - return buf.Bytes(), int(bytesRead), err - } - } - // Read from LimitReader with limit max+1. So if the underlying - // reader is over limit, the result will be bigger than max. - d, err = ioutil.ReadAll(io.LimitReader(dcReader, int64(maxReceiveMessageSize)+1)) - return d, len(d), err -} - -// For the two compressor parameters, both should not be set, but if they are, -// dc takes precedence over compressor. -// TODO(dfawley): wrap the old compressor/decompressor using the new API? -func recv(p *parser, c baseCodec, s *transport.Stream, dc Decompressor, m interface{}, maxReceiveMessageSize int, payInfo *payloadInfo, compressor encoding.Compressor) error { - d, err := recvAndDecompress(p, s, dc, maxReceiveMessageSize, payInfo, compressor) - if err != nil { - return err - } - if err := c.Unmarshal(d, m); err != nil { - return status.Errorf(codes.Internal, "grpc: failed to unmarshal the received message %v", err) - } - if payInfo != nil { - payInfo.uncompressedBytes = d - } - return nil -} - -// Information about RPC -type rpcInfo struct { - failfast bool - preloaderInfo *compressorInfo -} - -// Information about Preloader -// Responsible for storing codec, and compressors -// If stream (s) has context s.Context which stores rpcInfo that has non nil -// pointers to codec, and compressors, then we can use preparedMsg for Async message prep -// and reuse marshalled bytes -type compressorInfo struct { - codec baseCodec - cp Compressor - comp encoding.Compressor -} - -type rpcInfoContextKey struct{} - -func newContextWithRPCInfo(ctx context.Context, failfast bool, codec baseCodec, cp Compressor, comp encoding.Compressor) context.Context { - return context.WithValue(ctx, rpcInfoContextKey{}, &rpcInfo{ - failfast: failfast, - preloaderInfo: &compressorInfo{ - codec: codec, - cp: cp, - comp: comp, - }, - }) -} - -func rpcInfoFromContext(ctx context.Context) (s *rpcInfo, ok bool) { - s, ok = ctx.Value(rpcInfoContextKey{}).(*rpcInfo) - return -} - -// Code returns the error code for err if it was produced by the rpc system. -// Otherwise, it returns codes.Unknown. -// -// Deprecated: use status.Code instead. -func Code(err error) codes.Code { - return status.Code(err) -} - -// ErrorDesc returns the error description of err if it was produced by the rpc system. -// Otherwise, it returns err.Error() or empty string when err is nil. -// -// Deprecated: use status.Convert and Message method instead. -func ErrorDesc(err error) string { - return status.Convert(err).Message() -} - -// Errorf returns an error containing an error code and a description; -// Errorf returns nil if c is OK. -// -// Deprecated: use status.Errorf instead. -func Errorf(c codes.Code, format string, a ...interface{}) error { - return status.Errorf(c, format, a...) -} - -// toRPCErr converts an error into an error from the status package. -func toRPCErr(err error) error { - switch err { - case nil, io.EOF: - return err - case context.DeadlineExceeded: - return status.Error(codes.DeadlineExceeded, err.Error()) - case context.Canceled: - return status.Error(codes.Canceled, err.Error()) - case io.ErrUnexpectedEOF: - return status.Error(codes.Internal, err.Error()) - } - - switch e := err.(type) { - case transport.ConnectionError: - return status.Error(codes.Unavailable, e.Desc) - case *transport.NewStreamError: - return toRPCErr(e.Err) - } - - if _, ok := status.FromError(err); ok { - return err - } - - return status.Error(codes.Unknown, err.Error()) -} - -// setCallInfoCodec should only be called after CallOptions have been applied. -func setCallInfoCodec(c *callInfo) error { - if c.codec != nil { - // codec was already set by a CallOption; use it, but set the content - // subtype if it is not set. - if c.contentSubtype == "" { - // c.codec is a baseCodec to hide the difference between grpc.Codec and - // encoding.Codec (Name vs. String method name). We only support - // setting content subtype from encoding.Codec to avoid a behavior - // change with the deprecated version. - if ec, ok := c.codec.(encoding.Codec); ok { - c.contentSubtype = strings.ToLower(ec.Name()) - } - } - return nil - } - - if c.contentSubtype == "" { - // No codec specified in CallOptions; use proto by default. - c.codec = encoding.GetCodec(proto.Name) - return nil - } - - // c.contentSubtype is already lowercased in CallContentSubtype - c.codec = encoding.GetCodec(c.contentSubtype) - if c.codec == nil { - return status.Errorf(codes.Internal, "no codec registered for content-subtype %s", c.contentSubtype) - } - return nil -} - -// channelzData is used to store channelz related data for ClientConn, addrConn and Server. -// These fields cannot be embedded in the original structs (e.g. ClientConn), since to do atomic -// operation on int64 variable on 32-bit machine, user is responsible to enforce memory alignment. -// Here, by grouping those int64 fields inside a struct, we are enforcing the alignment. -type channelzData struct { - callsStarted int64 - callsFailed int64 - callsSucceeded int64 - // lastCallStartedTime stores the timestamp that last call starts. It is of int64 type instead of - // time.Time since it's more costly to atomically update time.Time variable than int64 variable. - lastCallStartedTime int64 -} - -// The SupportPackageIsVersion variables are referenced from generated protocol -// buffer files to ensure compatibility with the gRPC version used. The latest -// support package version is 7. -// -// Older versions are kept for compatibility. -// -// These constants should not be referenced from any other code. -const ( - SupportPackageIsVersion3 = true - SupportPackageIsVersion4 = true - SupportPackageIsVersion5 = true - SupportPackageIsVersion6 = true - SupportPackageIsVersion7 = true -) - -const grpcUA = "grpc-go/" + Version diff --git a/vendor/google.golang.org/grpc/server.go b/vendor/google.golang.org/grpc/server.go deleted file mode 100644 index 2ad9da7b..00000000 --- a/vendor/google.golang.org/grpc/server.go +++ /dev/null @@ -1,1909 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 grpc - -import ( - "context" - "errors" - "fmt" - "io" - "math" - "net" - "net/http" - "reflect" - "runtime" - "strings" - "sync" - "sync/atomic" - "time" - - "golang.org/x/net/trace" - - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/encoding" - "google.golang.org/grpc/encoding/proto" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/internal" - "google.golang.org/grpc/internal/binarylog" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/grpcrand" - "google.golang.org/grpc/internal/grpcsync" - "google.golang.org/grpc/internal/transport" - "google.golang.org/grpc/keepalive" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/peer" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" - "google.golang.org/grpc/tap" -) - -const ( - defaultServerMaxReceiveMessageSize = 1024 * 1024 * 4 - defaultServerMaxSendMessageSize = math.MaxInt32 - - // Server transports are tracked in a map which is keyed on listener - // address. For regular gRPC traffic, connections are accepted in Serve() - // through a call to Accept(), and we use the actual listener address as key - // when we add it to the map. But for connections received through - // ServeHTTP(), we do not have a listener and hence use this dummy value. - listenerAddressForServeHTTP = "listenerAddressForServeHTTP" -) - -func init() { - internal.GetServerCredentials = func(srv *Server) credentials.TransportCredentials { - return srv.opts.creds - } - internal.DrainServerTransports = func(srv *Server, addr string) { - srv.drainServerTransports(addr) - } - internal.AddExtraServerOptions = func(opt ...ServerOption) { - extraServerOptions = opt - } - internal.ClearExtraServerOptions = func() { - extraServerOptions = nil - } -} - -var statusOK = status.New(codes.OK, "") -var logger = grpclog.Component("core") - -type methodHandler func(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor UnaryServerInterceptor) (interface{}, error) - -// MethodDesc represents an RPC service's method specification. -type MethodDesc struct { - MethodName string - Handler methodHandler -} - -// ServiceDesc represents an RPC service's specification. -type ServiceDesc struct { - ServiceName string - // The pointer to the service interface. Used to check whether the user - // provided implementation satisfies the interface requirements. - HandlerType interface{} - Methods []MethodDesc - Streams []StreamDesc - Metadata interface{} -} - -// serviceInfo wraps information about a service. It is very similar to -// ServiceDesc and is constructed from it for internal purposes. -type serviceInfo struct { - // Contains the implementation for the methods in this service. - serviceImpl interface{} - methods map[string]*MethodDesc - streams map[string]*StreamDesc - mdata interface{} -} - -type serverWorkerData struct { - st transport.ServerTransport - wg *sync.WaitGroup - stream *transport.Stream -} - -// Server is a gRPC server to serve RPC requests. -type Server struct { - opts serverOptions - - mu sync.Mutex // guards following - lis map[net.Listener]bool - // conns contains all active server transports. It is a map keyed on a - // listener address with the value being the set of active transports - // belonging to that listener. - conns map[string]map[transport.ServerTransport]bool - serve bool - drain bool - cv *sync.Cond // signaled when connections close for GracefulStop - services map[string]*serviceInfo // service name -> service info - events trace.EventLog - - quit *grpcsync.Event - done *grpcsync.Event - channelzRemoveOnce sync.Once - serveWG sync.WaitGroup // counts active Serve goroutines for GracefulStop - - channelzID *channelz.Identifier - czData *channelzData - - serverWorkerChannels []chan *serverWorkerData -} - -type serverOptions struct { - creds credentials.TransportCredentials - codec baseCodec - cp Compressor - dc Decompressor - unaryInt UnaryServerInterceptor - streamInt StreamServerInterceptor - chainUnaryInts []UnaryServerInterceptor - chainStreamInts []StreamServerInterceptor - inTapHandle tap.ServerInHandle - statsHandlers []stats.Handler - maxConcurrentStreams uint32 - maxReceiveMessageSize int - maxSendMessageSize int - unknownStreamDesc *StreamDesc - keepaliveParams keepalive.ServerParameters - keepalivePolicy keepalive.EnforcementPolicy - initialWindowSize int32 - initialConnWindowSize int32 - writeBufferSize int - readBufferSize int - connectionTimeout time.Duration - maxHeaderListSize *uint32 - headerTableSize *uint32 - numServerWorkers uint32 -} - -var defaultServerOptions = serverOptions{ - maxReceiveMessageSize: defaultServerMaxReceiveMessageSize, - maxSendMessageSize: defaultServerMaxSendMessageSize, - connectionTimeout: 120 * time.Second, - writeBufferSize: defaultWriteBufSize, - readBufferSize: defaultReadBufSize, -} -var extraServerOptions []ServerOption - -// A ServerOption sets options such as credentials, codec and keepalive parameters, etc. -type ServerOption interface { - apply(*serverOptions) -} - -// EmptyServerOption does not alter the server configuration. It can be embedded -// in another structure to build custom server options. -// -// # Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type EmptyServerOption struct{} - -func (EmptyServerOption) apply(*serverOptions) {} - -// funcServerOption wraps a function that modifies serverOptions into an -// implementation of the ServerOption interface. -type funcServerOption struct { - f func(*serverOptions) -} - -func (fdo *funcServerOption) apply(do *serverOptions) { - fdo.f(do) -} - -func newFuncServerOption(f func(*serverOptions)) *funcServerOption { - return &funcServerOption{ - f: f, - } -} - -// WriteBufferSize determines how much data can be batched before doing a write on the wire. -// The corresponding memory allocation for this buffer will be twice the size to keep syscalls low. -// The default value for this buffer is 32KB. -// Zero will disable the write buffer such that each write will be on underlying connection. -// Note: A Send call may not directly translate to a write. -func WriteBufferSize(s int) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.writeBufferSize = s - }) -} - -// ReadBufferSize lets you set the size of read buffer, this determines how much data can be read at most -// for one read syscall. -// The default value for this buffer is 32KB. -// Zero will disable read buffer for a connection so data framer can access the underlying -// conn directly. -func ReadBufferSize(s int) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.readBufferSize = s - }) -} - -// InitialWindowSize returns a ServerOption that sets window size for stream. -// The lower bound for window size is 64K and any value smaller than that will be ignored. -func InitialWindowSize(s int32) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.initialWindowSize = s - }) -} - -// InitialConnWindowSize returns a ServerOption that sets window size for a connection. -// The lower bound for window size is 64K and any value smaller than that will be ignored. -func InitialConnWindowSize(s int32) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.initialConnWindowSize = s - }) -} - -// KeepaliveParams returns a ServerOption that sets keepalive and max-age parameters for the server. -func KeepaliveParams(kp keepalive.ServerParameters) ServerOption { - if kp.Time > 0 && kp.Time < time.Second { - logger.Warning("Adjusting keepalive ping interval to minimum period of 1s") - kp.Time = time.Second - } - - return newFuncServerOption(func(o *serverOptions) { - o.keepaliveParams = kp - }) -} - -// KeepaliveEnforcementPolicy returns a ServerOption that sets keepalive enforcement policy for the server. -func KeepaliveEnforcementPolicy(kep keepalive.EnforcementPolicy) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.keepalivePolicy = kep - }) -} - -// CustomCodec returns a ServerOption that sets a codec for message marshaling and unmarshaling. -// -// This will override any lookups by content-subtype for Codecs registered with RegisterCodec. -// -// Deprecated: register codecs using encoding.RegisterCodec. The server will -// automatically use registered codecs based on the incoming requests' headers. -// See also -// https://github.com/grpc/grpc-go/blob/master/Documentation/encoding.md#using-a-codec. -// Will be supported throughout 1.x. -func CustomCodec(codec Codec) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.codec = codec - }) -} - -// ForceServerCodec returns a ServerOption that sets a codec for message -// marshaling and unmarshaling. -// -// This will override any lookups by content-subtype for Codecs registered -// with RegisterCodec. -// -// See Content-Type on -// https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests for -// more details. Also see the documentation on RegisterCodec and -// CallContentSubtype for more details on the interaction between encoding.Codec -// and content-subtype. -// -// This function is provided for advanced users; prefer to register codecs -// using encoding.RegisterCodec. -// The server will automatically use registered codecs based on the incoming -// requests' headers. See also -// https://github.com/grpc/grpc-go/blob/master/Documentation/encoding.md#using-a-codec. -// Will be supported throughout 1.x. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func ForceServerCodec(codec encoding.Codec) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.codec = codec - }) -} - -// RPCCompressor returns a ServerOption that sets a compressor for outbound -// messages. For backward compatibility, all outbound messages will be sent -// using this compressor, regardless of incoming message compression. By -// default, server messages will be sent using the same compressor with which -// request messages were sent. -// -// Deprecated: use encoding.RegisterCompressor instead. Will be supported -// throughout 1.x. -func RPCCompressor(cp Compressor) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.cp = cp - }) -} - -// RPCDecompressor returns a ServerOption that sets a decompressor for inbound -// messages. It has higher priority than decompressors registered via -// encoding.RegisterCompressor. -// -// Deprecated: use encoding.RegisterCompressor instead. Will be supported -// throughout 1.x. -func RPCDecompressor(dc Decompressor) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.dc = dc - }) -} - -// MaxMsgSize returns a ServerOption to set the max message size in bytes the server can receive. -// If this is not set, gRPC uses the default limit. -// -// Deprecated: use MaxRecvMsgSize instead. Will be supported throughout 1.x. -func MaxMsgSize(m int) ServerOption { - return MaxRecvMsgSize(m) -} - -// MaxRecvMsgSize returns a ServerOption to set the max message size in bytes the server can receive. -// If this is not set, gRPC uses the default 4MB. -func MaxRecvMsgSize(m int) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.maxReceiveMessageSize = m - }) -} - -// MaxSendMsgSize returns a ServerOption to set the max message size in bytes the server can send. -// If this is not set, gRPC uses the default `math.MaxInt32`. -func MaxSendMsgSize(m int) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.maxSendMessageSize = m - }) -} - -// MaxConcurrentStreams returns a ServerOption that will apply a limit on the number -// of concurrent streams to each ServerTransport. -func MaxConcurrentStreams(n uint32) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.maxConcurrentStreams = n - }) -} - -// Creds returns a ServerOption that sets credentials for server connections. -func Creds(c credentials.TransportCredentials) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.creds = c - }) -} - -// UnaryInterceptor returns a ServerOption that sets the UnaryServerInterceptor for the -// server. Only one unary interceptor can be installed. The construction of multiple -// interceptors (e.g., chaining) can be implemented at the caller. -func UnaryInterceptor(i UnaryServerInterceptor) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - if o.unaryInt != nil { - panic("The unary server interceptor was already set and may not be reset.") - } - o.unaryInt = i - }) -} - -// ChainUnaryInterceptor returns a ServerOption that specifies the chained interceptor -// for unary RPCs. The first interceptor will be the outer most, -// while the last interceptor will be the inner most wrapper around the real call. -// All unary interceptors added by this method will be chained. -func ChainUnaryInterceptor(interceptors ...UnaryServerInterceptor) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.chainUnaryInts = append(o.chainUnaryInts, interceptors...) - }) -} - -// StreamInterceptor returns a ServerOption that sets the StreamServerInterceptor for the -// server. Only one stream interceptor can be installed. -func StreamInterceptor(i StreamServerInterceptor) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - if o.streamInt != nil { - panic("The stream server interceptor was already set and may not be reset.") - } - o.streamInt = i - }) -} - -// ChainStreamInterceptor returns a ServerOption that specifies the chained interceptor -// for streaming RPCs. The first interceptor will be the outer most, -// while the last interceptor will be the inner most wrapper around the real call. -// All stream interceptors added by this method will be chained. -func ChainStreamInterceptor(interceptors ...StreamServerInterceptor) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.chainStreamInts = append(o.chainStreamInts, interceptors...) - }) -} - -// InTapHandle returns a ServerOption that sets the tap handle for all the server -// transport to be created. Only one can be installed. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func InTapHandle(h tap.ServerInHandle) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - if o.inTapHandle != nil { - panic("The tap handle was already set and may not be reset.") - } - o.inTapHandle = h - }) -} - -// StatsHandler returns a ServerOption that sets the stats handler for the server. -func StatsHandler(h stats.Handler) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - if h == nil { - logger.Error("ignoring nil parameter in grpc.StatsHandler ServerOption") - // Do not allow a nil stats handler, which would otherwise cause - // panics. - return - } - o.statsHandlers = append(o.statsHandlers, h) - }) -} - -// UnknownServiceHandler returns a ServerOption that allows for adding a custom -// unknown service handler. The provided method is a bidi-streaming RPC service -// handler that will be invoked instead of returning the "unimplemented" gRPC -// error whenever a request is received for an unregistered service or method. -// The handling function and stream interceptor (if set) have full access to -// the ServerStream, including its Context. -func UnknownServiceHandler(streamHandler StreamHandler) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.unknownStreamDesc = &StreamDesc{ - StreamName: "unknown_service_handler", - Handler: streamHandler, - // We need to assume that the users of the streamHandler will want to use both. - ClientStreams: true, - ServerStreams: true, - } - }) -} - -// ConnectionTimeout returns a ServerOption that sets the timeout for -// connection establishment (up to and including HTTP/2 handshaking) for all -// new connections. If this is not set, the default is 120 seconds. A zero or -// negative value will result in an immediate timeout. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func ConnectionTimeout(d time.Duration) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.connectionTimeout = d - }) -} - -// MaxHeaderListSize returns a ServerOption that sets the max (uncompressed) size -// of header list that the server is prepared to accept. -func MaxHeaderListSize(s uint32) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.maxHeaderListSize = &s - }) -} - -// HeaderTableSize returns a ServerOption that sets the size of dynamic -// header table for stream. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func HeaderTableSize(s uint32) ServerOption { - return newFuncServerOption(func(o *serverOptions) { - o.headerTableSize = &s - }) -} - -// NumStreamWorkers returns a ServerOption that sets the number of worker -// goroutines that should be used to process incoming streams. Setting this to -// zero (default) will disable workers and spawn a new goroutine for each -// stream. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func NumStreamWorkers(numServerWorkers uint32) ServerOption { - // TODO: If/when this API gets stabilized (i.e. stream workers become the - // only way streams are processed), change the behavior of the zero value to - // a sane default. Preliminary experiments suggest that a value equal to the - // number of CPUs available is most performant; requires thorough testing. - return newFuncServerOption(func(o *serverOptions) { - o.numServerWorkers = numServerWorkers - }) -} - -// serverWorkerResetThreshold defines how often the stack must be reset. Every -// N requests, by spawning a new goroutine in its place, a worker can reset its -// stack so that large stacks don't live in memory forever. 2^16 should allow -// each goroutine stack to live for at least a few seconds in a typical -// workload (assuming a QPS of a few thousand requests/sec). -const serverWorkerResetThreshold = 1 << 16 - -// serverWorkers blocks on a *transport.Stream channel forever and waits for -// data to be fed by serveStreams. This allows different requests to be -// processed by the same goroutine, removing the need for expensive stack -// re-allocations (see the runtime.morestack problem [1]). -// -// [1] https://github.com/golang/go/issues/18138 -func (s *Server) serverWorker(ch chan *serverWorkerData) { - // To make sure all server workers don't reset at the same time, choose a - // random number of iterations before resetting. - threshold := serverWorkerResetThreshold + grpcrand.Intn(serverWorkerResetThreshold) - for completed := 0; completed < threshold; completed++ { - data, ok := <-ch - if !ok { - return - } - s.handleStream(data.st, data.stream, s.traceInfo(data.st, data.stream)) - data.wg.Done() - } - go s.serverWorker(ch) -} - -// initServerWorkers creates worker goroutines and channels to process incoming -// connections to reduce the time spent overall on runtime.morestack. -func (s *Server) initServerWorkers() { - s.serverWorkerChannels = make([]chan *serverWorkerData, s.opts.numServerWorkers) - for i := uint32(0); i < s.opts.numServerWorkers; i++ { - s.serverWorkerChannels[i] = make(chan *serverWorkerData) - go s.serverWorker(s.serverWorkerChannels[i]) - } -} - -func (s *Server) stopServerWorkers() { - for i := uint32(0); i < s.opts.numServerWorkers; i++ { - close(s.serverWorkerChannels[i]) - } -} - -// NewServer creates a gRPC server which has no service registered and has not -// started to accept requests yet. -func NewServer(opt ...ServerOption) *Server { - opts := defaultServerOptions - for _, o := range extraServerOptions { - o.apply(&opts) - } - for _, o := range opt { - o.apply(&opts) - } - s := &Server{ - lis: make(map[net.Listener]bool), - opts: opts, - conns: make(map[string]map[transport.ServerTransport]bool), - services: make(map[string]*serviceInfo), - quit: grpcsync.NewEvent(), - done: grpcsync.NewEvent(), - czData: new(channelzData), - } - chainUnaryServerInterceptors(s) - chainStreamServerInterceptors(s) - s.cv = sync.NewCond(&s.mu) - if EnableTracing { - _, file, line, _ := runtime.Caller(1) - s.events = trace.NewEventLog("grpc.Server", fmt.Sprintf("%s:%d", file, line)) - } - - if s.opts.numServerWorkers > 0 { - s.initServerWorkers() - } - - s.channelzID = channelz.RegisterServer(&channelzServer{s}, "") - channelz.Info(logger, s.channelzID, "Server created") - return s -} - -// printf records an event in s's event log, unless s has been stopped. -// REQUIRES s.mu is held. -func (s *Server) printf(format string, a ...interface{}) { - if s.events != nil { - s.events.Printf(format, a...) - } -} - -// errorf records an error in s's event log, unless s has been stopped. -// REQUIRES s.mu is held. -func (s *Server) errorf(format string, a ...interface{}) { - if s.events != nil { - s.events.Errorf(format, a...) - } -} - -// ServiceRegistrar wraps a single method that supports service registration. It -// enables users to pass concrete types other than grpc.Server to the service -// registration methods exported by the IDL generated code. -type ServiceRegistrar interface { - // RegisterService registers a service and its implementation to the - // concrete type implementing this interface. It may not be called - // once the server has started serving. - // desc describes the service and its methods and handlers. impl is the - // service implementation which is passed to the method handlers. - RegisterService(desc *ServiceDesc, impl interface{}) -} - -// RegisterService registers a service and its implementation to the gRPC -// server. It is called from the IDL generated code. This must be called before -// invoking Serve. If ss is non-nil (for legacy code), its type is checked to -// ensure it implements sd.HandlerType. -func (s *Server) RegisterService(sd *ServiceDesc, ss interface{}) { - if ss != nil { - ht := reflect.TypeOf(sd.HandlerType).Elem() - st := reflect.TypeOf(ss) - if !st.Implements(ht) { - logger.Fatalf("grpc: Server.RegisterService found the handler of type %v that does not satisfy %v", st, ht) - } - } - s.register(sd, ss) -} - -func (s *Server) register(sd *ServiceDesc, ss interface{}) { - s.mu.Lock() - defer s.mu.Unlock() - s.printf("RegisterService(%q)", sd.ServiceName) - if s.serve { - logger.Fatalf("grpc: Server.RegisterService after Server.Serve for %q", sd.ServiceName) - } - if _, ok := s.services[sd.ServiceName]; ok { - logger.Fatalf("grpc: Server.RegisterService found duplicate service registration for %q", sd.ServiceName) - } - info := &serviceInfo{ - serviceImpl: ss, - methods: make(map[string]*MethodDesc), - streams: make(map[string]*StreamDesc), - mdata: sd.Metadata, - } - for i := range sd.Methods { - d := &sd.Methods[i] - info.methods[d.MethodName] = d - } - for i := range sd.Streams { - d := &sd.Streams[i] - info.streams[d.StreamName] = d - } - s.services[sd.ServiceName] = info -} - -// MethodInfo contains the information of an RPC including its method name and type. -type MethodInfo struct { - // Name is the method name only, without the service name or package name. - Name string - // IsClientStream indicates whether the RPC is a client streaming RPC. - IsClientStream bool - // IsServerStream indicates whether the RPC is a server streaming RPC. - IsServerStream bool -} - -// ServiceInfo contains unary RPC method info, streaming RPC method info and metadata for a service. -type ServiceInfo struct { - Methods []MethodInfo - // Metadata is the metadata specified in ServiceDesc when registering service. - Metadata interface{} -} - -// GetServiceInfo returns a map from service names to ServiceInfo. -// Service names include the package names, in the form of .. -func (s *Server) GetServiceInfo() map[string]ServiceInfo { - ret := make(map[string]ServiceInfo) - for n, srv := range s.services { - methods := make([]MethodInfo, 0, len(srv.methods)+len(srv.streams)) - for m := range srv.methods { - methods = append(methods, MethodInfo{ - Name: m, - IsClientStream: false, - IsServerStream: false, - }) - } - for m, d := range srv.streams { - methods = append(methods, MethodInfo{ - Name: m, - IsClientStream: d.ClientStreams, - IsServerStream: d.ServerStreams, - }) - } - - ret[n] = ServiceInfo{ - Methods: methods, - Metadata: srv.mdata, - } - } - return ret -} - -// ErrServerStopped indicates that the operation is now illegal because of -// the server being stopped. -var ErrServerStopped = errors.New("grpc: the server has been stopped") - -type listenSocket struct { - net.Listener - channelzID *channelz.Identifier -} - -func (l *listenSocket) ChannelzMetric() *channelz.SocketInternalMetric { - return &channelz.SocketInternalMetric{ - SocketOptions: channelz.GetSocketOption(l.Listener), - LocalAddr: l.Listener.Addr(), - } -} - -func (l *listenSocket) Close() error { - err := l.Listener.Close() - channelz.RemoveEntry(l.channelzID) - channelz.Info(logger, l.channelzID, "ListenSocket deleted") - return err -} - -// Serve accepts incoming connections on the listener lis, creating a new -// ServerTransport and service goroutine for each. The service goroutines -// read gRPC requests and then call the registered handlers to reply to them. -// Serve returns when lis.Accept fails with fatal errors. lis will be closed when -// this method returns. -// Serve will return a non-nil error unless Stop or GracefulStop is called. -func (s *Server) Serve(lis net.Listener) error { - s.mu.Lock() - s.printf("serving") - s.serve = true - if s.lis == nil { - // Serve called after Stop or GracefulStop. - s.mu.Unlock() - lis.Close() - return ErrServerStopped - } - - s.serveWG.Add(1) - defer func() { - s.serveWG.Done() - if s.quit.HasFired() { - // Stop or GracefulStop called; block until done and return nil. - <-s.done.Done() - } - }() - - ls := &listenSocket{Listener: lis} - s.lis[ls] = true - - defer func() { - s.mu.Lock() - if s.lis != nil && s.lis[ls] { - ls.Close() - delete(s.lis, ls) - } - s.mu.Unlock() - }() - - var err error - ls.channelzID, err = channelz.RegisterListenSocket(ls, s.channelzID, lis.Addr().String()) - if err != nil { - s.mu.Unlock() - return err - } - s.mu.Unlock() - channelz.Info(logger, ls.channelzID, "ListenSocket created") - - var tempDelay time.Duration // how long to sleep on accept failure - for { - rawConn, err := lis.Accept() - if err != nil { - if ne, ok := err.(interface { - Temporary() bool - }); ok && ne.Temporary() { - if tempDelay == 0 { - tempDelay = 5 * time.Millisecond - } else { - tempDelay *= 2 - } - if max := 1 * time.Second; tempDelay > max { - tempDelay = max - } - s.mu.Lock() - s.printf("Accept error: %v; retrying in %v", err, tempDelay) - s.mu.Unlock() - timer := time.NewTimer(tempDelay) - select { - case <-timer.C: - case <-s.quit.Done(): - timer.Stop() - return nil - } - continue - } - s.mu.Lock() - s.printf("done serving; Accept = %v", err) - s.mu.Unlock() - - if s.quit.HasFired() { - return nil - } - return err - } - tempDelay = 0 - // Start a new goroutine to deal with rawConn so we don't stall this Accept - // loop goroutine. - // - // Make sure we account for the goroutine so GracefulStop doesn't nil out - // s.conns before this conn can be added. - s.serveWG.Add(1) - go func() { - s.handleRawConn(lis.Addr().String(), rawConn) - s.serveWG.Done() - }() - } -} - -// handleRawConn forks a goroutine to handle a just-accepted connection that -// has not had any I/O performed on it yet. -func (s *Server) handleRawConn(lisAddr string, rawConn net.Conn) { - if s.quit.HasFired() { - rawConn.Close() - return - } - rawConn.SetDeadline(time.Now().Add(s.opts.connectionTimeout)) - - // Finish handshaking (HTTP2) - st := s.newHTTP2Transport(rawConn) - rawConn.SetDeadline(time.Time{}) - if st == nil { - return - } - - if !s.addConn(lisAddr, st) { - return - } - go func() { - s.serveStreams(st) - s.removeConn(lisAddr, st) - }() -} - -func (s *Server) drainServerTransports(addr string) { - s.mu.Lock() - conns := s.conns[addr] - for st := range conns { - st.Drain() - } - s.mu.Unlock() -} - -// newHTTP2Transport sets up a http/2 transport (using the -// gRPC http2 server transport in transport/http2_server.go). -func (s *Server) newHTTP2Transport(c net.Conn) transport.ServerTransport { - config := &transport.ServerConfig{ - MaxStreams: s.opts.maxConcurrentStreams, - ConnectionTimeout: s.opts.connectionTimeout, - Credentials: s.opts.creds, - InTapHandle: s.opts.inTapHandle, - StatsHandlers: s.opts.statsHandlers, - KeepaliveParams: s.opts.keepaliveParams, - KeepalivePolicy: s.opts.keepalivePolicy, - InitialWindowSize: s.opts.initialWindowSize, - InitialConnWindowSize: s.opts.initialConnWindowSize, - WriteBufferSize: s.opts.writeBufferSize, - ReadBufferSize: s.opts.readBufferSize, - ChannelzParentID: s.channelzID, - MaxHeaderListSize: s.opts.maxHeaderListSize, - HeaderTableSize: s.opts.headerTableSize, - } - st, err := transport.NewServerTransport(c, config) - if err != nil { - s.mu.Lock() - s.errorf("NewServerTransport(%q) failed: %v", c.RemoteAddr(), err) - s.mu.Unlock() - // ErrConnDispatched means that the connection was dispatched away from - // gRPC; those connections should be left open. - if err != credentials.ErrConnDispatched { - // Don't log on ErrConnDispatched and io.EOF to prevent log spam. - if err != io.EOF { - channelz.Info(logger, s.channelzID, "grpc: Server.Serve failed to create ServerTransport: ", err) - } - c.Close() - } - return nil - } - - return st -} - -func (s *Server) serveStreams(st transport.ServerTransport) { - defer st.Close() - var wg sync.WaitGroup - - var roundRobinCounter uint32 - st.HandleStreams(func(stream *transport.Stream) { - wg.Add(1) - if s.opts.numServerWorkers > 0 { - data := &serverWorkerData{st: st, wg: &wg, stream: stream} - select { - case s.serverWorkerChannels[atomic.AddUint32(&roundRobinCounter, 1)%s.opts.numServerWorkers] <- data: - default: - // If all stream workers are busy, fallback to the default code path. - go func() { - s.handleStream(st, stream, s.traceInfo(st, stream)) - wg.Done() - }() - } - } else { - go func() { - defer wg.Done() - s.handleStream(st, stream, s.traceInfo(st, stream)) - }() - } - }, func(ctx context.Context, method string) context.Context { - if !EnableTracing { - return ctx - } - tr := trace.New("grpc.Recv."+methodFamily(method), method) - return trace.NewContext(ctx, tr) - }) - wg.Wait() -} - -var _ http.Handler = (*Server)(nil) - -// ServeHTTP implements the Go standard library's http.Handler -// interface by responding to the gRPC request r, by looking up -// the requested gRPC method in the gRPC server s. -// -// The provided HTTP request must have arrived on an HTTP/2 -// connection. When using the Go standard library's server, -// practically this means that the Request must also have arrived -// over TLS. -// -// To share one port (such as 443 for https) between gRPC and an -// existing http.Handler, use a root http.Handler such as: -// -// if r.ProtoMajor == 2 && strings.HasPrefix( -// r.Header.Get("Content-Type"), "application/grpc") { -// grpcServer.ServeHTTP(w, r) -// } else { -// yourMux.ServeHTTP(w, r) -// } -// -// Note that ServeHTTP uses Go's HTTP/2 server implementation which is totally -// separate from grpc-go's HTTP/2 server. Performance and features may vary -// between the two paths. ServeHTTP does not support some gRPC features -// available through grpc-go's HTTP/2 server. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { - st, err := transport.NewServerHandlerTransport(w, r, s.opts.statsHandlers) - if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) - return - } - if !s.addConn(listenerAddressForServeHTTP, st) { - return - } - defer s.removeConn(listenerAddressForServeHTTP, st) - s.serveStreams(st) -} - -// traceInfo returns a traceInfo and associates it with stream, if tracing is enabled. -// If tracing is not enabled, it returns nil. -func (s *Server) traceInfo(st transport.ServerTransport, stream *transport.Stream) (trInfo *traceInfo) { - if !EnableTracing { - return nil - } - tr, ok := trace.FromContext(stream.Context()) - if !ok { - return nil - } - - trInfo = &traceInfo{ - tr: tr, - firstLine: firstLine{ - client: false, - remoteAddr: st.RemoteAddr(), - }, - } - if dl, ok := stream.Context().Deadline(); ok { - trInfo.firstLine.deadline = time.Until(dl) - } - return trInfo -} - -func (s *Server) addConn(addr string, st transport.ServerTransport) bool { - s.mu.Lock() - defer s.mu.Unlock() - if s.conns == nil { - st.Close() - return false - } - if s.drain { - // Transport added after we drained our existing conns: drain it - // immediately. - st.Drain() - } - - if s.conns[addr] == nil { - // Create a map entry if this is the first connection on this listener. - s.conns[addr] = make(map[transport.ServerTransport]bool) - } - s.conns[addr][st] = true - return true -} - -func (s *Server) removeConn(addr string, st transport.ServerTransport) { - s.mu.Lock() - defer s.mu.Unlock() - - conns := s.conns[addr] - if conns != nil { - delete(conns, st) - if len(conns) == 0 { - // If the last connection for this address is being removed, also - // remove the map entry corresponding to the address. This is used - // in GracefulStop() when waiting for all connections to be closed. - delete(s.conns, addr) - } - s.cv.Broadcast() - } -} - -func (s *Server) channelzMetric() *channelz.ServerInternalMetric { - return &channelz.ServerInternalMetric{ - CallsStarted: atomic.LoadInt64(&s.czData.callsStarted), - CallsSucceeded: atomic.LoadInt64(&s.czData.callsSucceeded), - CallsFailed: atomic.LoadInt64(&s.czData.callsFailed), - LastCallStartedTimestamp: time.Unix(0, atomic.LoadInt64(&s.czData.lastCallStartedTime)), - } -} - -func (s *Server) incrCallsStarted() { - atomic.AddInt64(&s.czData.callsStarted, 1) - atomic.StoreInt64(&s.czData.lastCallStartedTime, time.Now().UnixNano()) -} - -func (s *Server) incrCallsSucceeded() { - atomic.AddInt64(&s.czData.callsSucceeded, 1) -} - -func (s *Server) incrCallsFailed() { - atomic.AddInt64(&s.czData.callsFailed, 1) -} - -func (s *Server) sendResponse(t transport.ServerTransport, stream *transport.Stream, msg interface{}, cp Compressor, opts *transport.Options, comp encoding.Compressor) error { - data, err := encode(s.getCodec(stream.ContentSubtype()), msg) - if err != nil { - channelz.Error(logger, s.channelzID, "grpc: server failed to encode response: ", err) - return err - } - compData, err := compress(data, cp, comp) - if err != nil { - channelz.Error(logger, s.channelzID, "grpc: server failed to compress response: ", err) - return err - } - hdr, payload := msgHeader(data, compData) - // TODO(dfawley): should we be checking len(data) instead? - if len(payload) > s.opts.maxSendMessageSize { - return status.Errorf(codes.ResourceExhausted, "grpc: trying to send message larger than max (%d vs. %d)", len(payload), s.opts.maxSendMessageSize) - } - err = t.Write(stream, hdr, payload, opts) - if err == nil { - for _, sh := range s.opts.statsHandlers { - sh.HandleRPC(stream.Context(), outPayload(false, msg, data, payload, time.Now())) - } - } - return err -} - -// chainUnaryServerInterceptors chains all unary server interceptors into one. -func chainUnaryServerInterceptors(s *Server) { - // Prepend opts.unaryInt to the chaining interceptors if it exists, since unaryInt will - // be executed before any other chained interceptors. - interceptors := s.opts.chainUnaryInts - if s.opts.unaryInt != nil { - interceptors = append([]UnaryServerInterceptor{s.opts.unaryInt}, s.opts.chainUnaryInts...) - } - - var chainedInt UnaryServerInterceptor - if len(interceptors) == 0 { - chainedInt = nil - } else if len(interceptors) == 1 { - chainedInt = interceptors[0] - } else { - chainedInt = chainUnaryInterceptors(interceptors) - } - - s.opts.unaryInt = chainedInt -} - -func chainUnaryInterceptors(interceptors []UnaryServerInterceptor) UnaryServerInterceptor { - return func(ctx context.Context, req interface{}, info *UnaryServerInfo, handler UnaryHandler) (interface{}, error) { - // the struct ensures the variables are allocated together, rather than separately, since we - // know they should be garbage collected together. This saves 1 allocation and decreases - // time/call by about 10% on the microbenchmark. - var state struct { - i int - next UnaryHandler - } - state.next = func(ctx context.Context, req interface{}) (interface{}, error) { - if state.i == len(interceptors)-1 { - return interceptors[state.i](ctx, req, info, handler) - } - state.i++ - return interceptors[state.i-1](ctx, req, info, state.next) - } - return state.next(ctx, req) - } -} - -func (s *Server) processUnaryRPC(t transport.ServerTransport, stream *transport.Stream, info *serviceInfo, md *MethodDesc, trInfo *traceInfo) (err error) { - shs := s.opts.statsHandlers - if len(shs) != 0 || trInfo != nil || channelz.IsOn() { - if channelz.IsOn() { - s.incrCallsStarted() - } - var statsBegin *stats.Begin - for _, sh := range shs { - beginTime := time.Now() - statsBegin = &stats.Begin{ - BeginTime: beginTime, - IsClientStream: false, - IsServerStream: false, - } - sh.HandleRPC(stream.Context(), statsBegin) - } - if trInfo != nil { - trInfo.tr.LazyLog(&trInfo.firstLine, false) - } - // The deferred error handling for tracing, stats handler and channelz are - // combined into one function to reduce stack usage -- a defer takes ~56-64 - // bytes on the stack, so overflowing the stack will require a stack - // re-allocation, which is expensive. - // - // To maintain behavior similar to separate deferred statements, statements - // should be executed in the reverse order. That is, tracing first, stats - // handler second, and channelz last. Note that panics *within* defers will - // lead to different behavior, but that's an acceptable compromise; that - // would be undefined behavior territory anyway. - defer func() { - if trInfo != nil { - if err != nil && err != io.EOF { - trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true) - trInfo.tr.SetError() - } - trInfo.tr.Finish() - } - - for _, sh := range shs { - end := &stats.End{ - BeginTime: statsBegin.BeginTime, - EndTime: time.Now(), - } - if err != nil && err != io.EOF { - end.Error = toRPCErr(err) - } - sh.HandleRPC(stream.Context(), end) - } - - if channelz.IsOn() { - if err != nil && err != io.EOF { - s.incrCallsFailed() - } else { - s.incrCallsSucceeded() - } - } - }() - } - - binlog := binarylog.GetMethodLogger(stream.Method()) - if binlog != nil { - ctx := stream.Context() - md, _ := metadata.FromIncomingContext(ctx) - logEntry := &binarylog.ClientHeader{ - Header: md, - MethodName: stream.Method(), - PeerAddr: nil, - } - if deadline, ok := ctx.Deadline(); ok { - logEntry.Timeout = time.Until(deadline) - if logEntry.Timeout < 0 { - logEntry.Timeout = 0 - } - } - if a := md[":authority"]; len(a) > 0 { - logEntry.Authority = a[0] - } - if peer, ok := peer.FromContext(ctx); ok { - logEntry.PeerAddr = peer.Addr - } - binlog.Log(logEntry) - } - - // comp and cp are used for compression. decomp and dc are used for - // decompression. If comp and decomp are both set, they are the same; - // however they are kept separate to ensure that at most one of the - // compressor/decompressor variable pairs are set for use later. - var comp, decomp encoding.Compressor - var cp Compressor - var dc Decompressor - - // If dc is set and matches the stream's compression, use it. Otherwise, try - // to find a matching registered compressor for decomp. - if rc := stream.RecvCompress(); s.opts.dc != nil && s.opts.dc.Type() == rc { - dc = s.opts.dc - } else if rc != "" && rc != encoding.Identity { - decomp = encoding.GetCompressor(rc) - if decomp == nil { - st := status.Newf(codes.Unimplemented, "grpc: Decompressor is not installed for grpc-encoding %q", rc) - t.WriteStatus(stream, st) - return st.Err() - } - } - - // If cp is set, use it. Otherwise, attempt to compress the response using - // the incoming message compression method. - // - // NOTE: this needs to be ahead of all handling, https://github.com/grpc/grpc-go/issues/686. - if s.opts.cp != nil { - cp = s.opts.cp - stream.SetSendCompress(cp.Type()) - } else if rc := stream.RecvCompress(); rc != "" && rc != encoding.Identity { - // Legacy compressor not specified; attempt to respond with same encoding. - comp = encoding.GetCompressor(rc) - if comp != nil { - stream.SetSendCompress(rc) - } - } - - var payInfo *payloadInfo - if len(shs) != 0 || binlog != nil { - payInfo = &payloadInfo{} - } - d, err := recvAndDecompress(&parser{r: stream}, stream, dc, s.opts.maxReceiveMessageSize, payInfo, decomp) - if err != nil { - if e := t.WriteStatus(stream, status.Convert(err)); e != nil { - channelz.Warningf(logger, s.channelzID, "grpc: Server.processUnaryRPC failed to write status %v", e) - } - return err - } - if channelz.IsOn() { - t.IncrMsgRecv() - } - df := func(v interface{}) error { - if err := s.getCodec(stream.ContentSubtype()).Unmarshal(d, v); err != nil { - return status.Errorf(codes.Internal, "grpc: error unmarshalling request: %v", err) - } - for _, sh := range shs { - sh.HandleRPC(stream.Context(), &stats.InPayload{ - RecvTime: time.Now(), - Payload: v, - WireLength: payInfo.wireLength + headerLen, - Data: d, - Length: len(d), - }) - } - if binlog != nil { - binlog.Log(&binarylog.ClientMessage{ - Message: d, - }) - } - if trInfo != nil { - trInfo.tr.LazyLog(&payload{sent: false, msg: v}, true) - } - return nil - } - ctx := NewContextWithServerTransportStream(stream.Context(), stream) - reply, appErr := md.Handler(info.serviceImpl, ctx, df, s.opts.unaryInt) - if appErr != nil { - appStatus, ok := status.FromError(appErr) - if !ok { - // Convert non-status application error to a status error with code - // Unknown, but handle context errors specifically. - appStatus = status.FromContextError(appErr) - appErr = appStatus.Err() - } - if trInfo != nil { - trInfo.tr.LazyLog(stringer(appStatus.Message()), true) - trInfo.tr.SetError() - } - if e := t.WriteStatus(stream, appStatus); e != nil { - channelz.Warningf(logger, s.channelzID, "grpc: Server.processUnaryRPC failed to write status: %v", e) - } - if binlog != nil { - if h, _ := stream.Header(); h.Len() > 0 { - // Only log serverHeader if there was header. Otherwise it can - // be trailer only. - binlog.Log(&binarylog.ServerHeader{ - Header: h, - }) - } - binlog.Log(&binarylog.ServerTrailer{ - Trailer: stream.Trailer(), - Err: appErr, - }) - } - return appErr - } - if trInfo != nil { - trInfo.tr.LazyLog(stringer("OK"), false) - } - opts := &transport.Options{Last: true} - - if err := s.sendResponse(t, stream, reply, cp, opts, comp); err != nil { - if err == io.EOF { - // The entire stream is done (for unary RPC only). - return err - } - if sts, ok := status.FromError(err); ok { - if e := t.WriteStatus(stream, sts); e != nil { - channelz.Warningf(logger, s.channelzID, "grpc: Server.processUnaryRPC failed to write status: %v", e) - } - } else { - switch st := err.(type) { - case transport.ConnectionError: - // Nothing to do here. - default: - panic(fmt.Sprintf("grpc: Unexpected error (%T) from sendResponse: %v", st, st)) - } - } - if binlog != nil { - h, _ := stream.Header() - binlog.Log(&binarylog.ServerHeader{ - Header: h, - }) - binlog.Log(&binarylog.ServerTrailer{ - Trailer: stream.Trailer(), - Err: appErr, - }) - } - return err - } - if binlog != nil { - h, _ := stream.Header() - binlog.Log(&binarylog.ServerHeader{ - Header: h, - }) - binlog.Log(&binarylog.ServerMessage{ - Message: reply, - }) - } - if channelz.IsOn() { - t.IncrMsgSent() - } - if trInfo != nil { - trInfo.tr.LazyLog(&payload{sent: true, msg: reply}, true) - } - // TODO: Should we be logging if writing status failed here, like above? - // Should the logging be in WriteStatus? Should we ignore the WriteStatus - // error or allow the stats handler to see it? - err = t.WriteStatus(stream, statusOK) - if binlog != nil { - binlog.Log(&binarylog.ServerTrailer{ - Trailer: stream.Trailer(), - Err: appErr, - }) - } - return err -} - -// chainStreamServerInterceptors chains all stream server interceptors into one. -func chainStreamServerInterceptors(s *Server) { - // Prepend opts.streamInt to the chaining interceptors if it exists, since streamInt will - // be executed before any other chained interceptors. - interceptors := s.opts.chainStreamInts - if s.opts.streamInt != nil { - interceptors = append([]StreamServerInterceptor{s.opts.streamInt}, s.opts.chainStreamInts...) - } - - var chainedInt StreamServerInterceptor - if len(interceptors) == 0 { - chainedInt = nil - } else if len(interceptors) == 1 { - chainedInt = interceptors[0] - } else { - chainedInt = chainStreamInterceptors(interceptors) - } - - s.opts.streamInt = chainedInt -} - -func chainStreamInterceptors(interceptors []StreamServerInterceptor) StreamServerInterceptor { - return func(srv interface{}, ss ServerStream, info *StreamServerInfo, handler StreamHandler) error { - // the struct ensures the variables are allocated together, rather than separately, since we - // know they should be garbage collected together. This saves 1 allocation and decreases - // time/call by about 10% on the microbenchmark. - var state struct { - i int - next StreamHandler - } - state.next = func(srv interface{}, ss ServerStream) error { - if state.i == len(interceptors)-1 { - return interceptors[state.i](srv, ss, info, handler) - } - state.i++ - return interceptors[state.i-1](srv, ss, info, state.next) - } - return state.next(srv, ss) - } -} - -func (s *Server) processStreamingRPC(t transport.ServerTransport, stream *transport.Stream, info *serviceInfo, sd *StreamDesc, trInfo *traceInfo) (err error) { - if channelz.IsOn() { - s.incrCallsStarted() - } - shs := s.opts.statsHandlers - var statsBegin *stats.Begin - if len(shs) != 0 { - beginTime := time.Now() - statsBegin = &stats.Begin{ - BeginTime: beginTime, - IsClientStream: sd.ClientStreams, - IsServerStream: sd.ServerStreams, - } - for _, sh := range shs { - sh.HandleRPC(stream.Context(), statsBegin) - } - } - ctx := NewContextWithServerTransportStream(stream.Context(), stream) - ss := &serverStream{ - ctx: ctx, - t: t, - s: stream, - p: &parser{r: stream}, - codec: s.getCodec(stream.ContentSubtype()), - maxReceiveMessageSize: s.opts.maxReceiveMessageSize, - maxSendMessageSize: s.opts.maxSendMessageSize, - trInfo: trInfo, - statsHandler: shs, - } - - if len(shs) != 0 || trInfo != nil || channelz.IsOn() { - // See comment in processUnaryRPC on defers. - defer func() { - if trInfo != nil { - ss.mu.Lock() - if err != nil && err != io.EOF { - ss.trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true) - ss.trInfo.tr.SetError() - } - ss.trInfo.tr.Finish() - ss.trInfo.tr = nil - ss.mu.Unlock() - } - - if len(shs) != 0 { - end := &stats.End{ - BeginTime: statsBegin.BeginTime, - EndTime: time.Now(), - } - if err != nil && err != io.EOF { - end.Error = toRPCErr(err) - } - for _, sh := range shs { - sh.HandleRPC(stream.Context(), end) - } - } - - if channelz.IsOn() { - if err != nil && err != io.EOF { - s.incrCallsFailed() - } else { - s.incrCallsSucceeded() - } - } - }() - } - - ss.binlog = binarylog.GetMethodLogger(stream.Method()) - if ss.binlog != nil { - md, _ := metadata.FromIncomingContext(ctx) - logEntry := &binarylog.ClientHeader{ - Header: md, - MethodName: stream.Method(), - PeerAddr: nil, - } - if deadline, ok := ctx.Deadline(); ok { - logEntry.Timeout = time.Until(deadline) - if logEntry.Timeout < 0 { - logEntry.Timeout = 0 - } - } - if a := md[":authority"]; len(a) > 0 { - logEntry.Authority = a[0] - } - if peer, ok := peer.FromContext(ss.Context()); ok { - logEntry.PeerAddr = peer.Addr - } - ss.binlog.Log(logEntry) - } - - // If dc is set and matches the stream's compression, use it. Otherwise, try - // to find a matching registered compressor for decomp. - if rc := stream.RecvCompress(); s.opts.dc != nil && s.opts.dc.Type() == rc { - ss.dc = s.opts.dc - } else if rc != "" && rc != encoding.Identity { - ss.decomp = encoding.GetCompressor(rc) - if ss.decomp == nil { - st := status.Newf(codes.Unimplemented, "grpc: Decompressor is not installed for grpc-encoding %q", rc) - t.WriteStatus(ss.s, st) - return st.Err() - } - } - - // If cp is set, use it. Otherwise, attempt to compress the response using - // the incoming message compression method. - // - // NOTE: this needs to be ahead of all handling, https://github.com/grpc/grpc-go/issues/686. - if s.opts.cp != nil { - ss.cp = s.opts.cp - stream.SetSendCompress(s.opts.cp.Type()) - } else if rc := stream.RecvCompress(); rc != "" && rc != encoding.Identity { - // Legacy compressor not specified; attempt to respond with same encoding. - ss.comp = encoding.GetCompressor(rc) - if ss.comp != nil { - stream.SetSendCompress(rc) - } - } - - ss.ctx = newContextWithRPCInfo(ss.ctx, false, ss.codec, ss.cp, ss.comp) - - if trInfo != nil { - trInfo.tr.LazyLog(&trInfo.firstLine, false) - } - var appErr error - var server interface{} - if info != nil { - server = info.serviceImpl - } - if s.opts.streamInt == nil { - appErr = sd.Handler(server, ss) - } else { - info := &StreamServerInfo{ - FullMethod: stream.Method(), - IsClientStream: sd.ClientStreams, - IsServerStream: sd.ServerStreams, - } - appErr = s.opts.streamInt(server, ss, info, sd.Handler) - } - if appErr != nil { - appStatus, ok := status.FromError(appErr) - if !ok { - // Convert non-status application error to a status error with code - // Unknown, but handle context errors specifically. - appStatus = status.FromContextError(appErr) - appErr = appStatus.Err() - } - if trInfo != nil { - ss.mu.Lock() - ss.trInfo.tr.LazyLog(stringer(appStatus.Message()), true) - ss.trInfo.tr.SetError() - ss.mu.Unlock() - } - t.WriteStatus(ss.s, appStatus) - if ss.binlog != nil { - ss.binlog.Log(&binarylog.ServerTrailer{ - Trailer: ss.s.Trailer(), - Err: appErr, - }) - } - // TODO: Should we log an error from WriteStatus here and below? - return appErr - } - if trInfo != nil { - ss.mu.Lock() - ss.trInfo.tr.LazyLog(stringer("OK"), false) - ss.mu.Unlock() - } - err = t.WriteStatus(ss.s, statusOK) - if ss.binlog != nil { - ss.binlog.Log(&binarylog.ServerTrailer{ - Trailer: ss.s.Trailer(), - Err: appErr, - }) - } - return err -} - -func (s *Server) handleStream(t transport.ServerTransport, stream *transport.Stream, trInfo *traceInfo) { - sm := stream.Method() - if sm != "" && sm[0] == '/' { - sm = sm[1:] - } - pos := strings.LastIndex(sm, "/") - if pos == -1 { - if trInfo != nil { - trInfo.tr.LazyLog(&fmtStringer{"Malformed method name %q", []interface{}{sm}}, true) - trInfo.tr.SetError() - } - errDesc := fmt.Sprintf("malformed method name: %q", stream.Method()) - if err := t.WriteStatus(stream, status.New(codes.Unimplemented, errDesc)); err != nil { - if trInfo != nil { - trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true) - trInfo.tr.SetError() - } - channelz.Warningf(logger, s.channelzID, "grpc: Server.handleStream failed to write status: %v", err) - } - if trInfo != nil { - trInfo.tr.Finish() - } - return - } - service := sm[:pos] - method := sm[pos+1:] - - srv, knownService := s.services[service] - if knownService { - if md, ok := srv.methods[method]; ok { - s.processUnaryRPC(t, stream, srv, md, trInfo) - return - } - if sd, ok := srv.streams[method]; ok { - s.processStreamingRPC(t, stream, srv, sd, trInfo) - return - } - } - // Unknown service, or known server unknown method. - if unknownDesc := s.opts.unknownStreamDesc; unknownDesc != nil { - s.processStreamingRPC(t, stream, nil, unknownDesc, trInfo) - return - } - var errDesc string - if !knownService { - errDesc = fmt.Sprintf("unknown service %v", service) - } else { - errDesc = fmt.Sprintf("unknown method %v for service %v", method, service) - } - if trInfo != nil { - trInfo.tr.LazyPrintf("%s", errDesc) - trInfo.tr.SetError() - } - if err := t.WriteStatus(stream, status.New(codes.Unimplemented, errDesc)); err != nil { - if trInfo != nil { - trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true) - trInfo.tr.SetError() - } - channelz.Warningf(logger, s.channelzID, "grpc: Server.handleStream failed to write status: %v", err) - } - if trInfo != nil { - trInfo.tr.Finish() - } -} - -// The key to save ServerTransportStream in the context. -type streamKey struct{} - -// NewContextWithServerTransportStream creates a new context from ctx and -// attaches stream to it. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func NewContextWithServerTransportStream(ctx context.Context, stream ServerTransportStream) context.Context { - return context.WithValue(ctx, streamKey{}, stream) -} - -// ServerTransportStream is a minimal interface that a transport stream must -// implement. This can be used to mock an actual transport stream for tests of -// handler code that use, for example, grpc.SetHeader (which requires some -// stream to be in context). -// -// See also NewContextWithServerTransportStream. -// -// # Experimental -// -// Notice: This type is EXPERIMENTAL and may be changed or removed in a -// later release. -type ServerTransportStream interface { - Method() string - SetHeader(md metadata.MD) error - SendHeader(md metadata.MD) error - SetTrailer(md metadata.MD) error -} - -// ServerTransportStreamFromContext returns the ServerTransportStream saved in -// ctx. Returns nil if the given context has no stream associated with it -// (which implies it is not an RPC invocation context). -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -func ServerTransportStreamFromContext(ctx context.Context) ServerTransportStream { - s, _ := ctx.Value(streamKey{}).(ServerTransportStream) - return s -} - -// Stop stops the gRPC server. It immediately closes all open -// connections and listeners. -// It cancels all active RPCs on the server side and the corresponding -// pending RPCs on the client side will get notified by connection -// errors. -func (s *Server) Stop() { - s.quit.Fire() - - defer func() { - s.serveWG.Wait() - s.done.Fire() - }() - - s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelzID) }) - - s.mu.Lock() - listeners := s.lis - s.lis = nil - conns := s.conns - s.conns = nil - // interrupt GracefulStop if Stop and GracefulStop are called concurrently. - s.cv.Broadcast() - s.mu.Unlock() - - for lis := range listeners { - lis.Close() - } - for _, cs := range conns { - for st := range cs { - st.Close() - } - } - if s.opts.numServerWorkers > 0 { - s.stopServerWorkers() - } - - s.mu.Lock() - if s.events != nil { - s.events.Finish() - s.events = nil - } - s.mu.Unlock() -} - -// GracefulStop stops the gRPC server gracefully. It stops the server from -// accepting new connections and RPCs and blocks until all the pending RPCs are -// finished. -func (s *Server) GracefulStop() { - s.quit.Fire() - defer s.done.Fire() - - s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelzID) }) - s.mu.Lock() - if s.conns == nil { - s.mu.Unlock() - return - } - - for lis := range s.lis { - lis.Close() - } - s.lis = nil - if !s.drain { - for _, conns := range s.conns { - for st := range conns { - st.Drain() - } - } - s.drain = true - } - - // Wait for serving threads to be ready to exit. Only then can we be sure no - // new conns will be created. - s.mu.Unlock() - s.serveWG.Wait() - s.mu.Lock() - - for len(s.conns) != 0 { - s.cv.Wait() - } - s.conns = nil - if s.events != nil { - s.events.Finish() - s.events = nil - } - s.mu.Unlock() -} - -// contentSubtype must be lowercase -// cannot return nil -func (s *Server) getCodec(contentSubtype string) baseCodec { - if s.opts.codec != nil { - return s.opts.codec - } - if contentSubtype == "" { - return encoding.GetCodec(proto.Name) - } - codec := encoding.GetCodec(contentSubtype) - if codec == nil { - return encoding.GetCodec(proto.Name) - } - return codec -} - -// SetHeader sets the header metadata to be sent from the server to the client. -// The context provided must be the context passed to the server's handler. -// -// Streaming RPCs should prefer the SetHeader method of the ServerStream. -// -// When called multiple times, all the provided metadata will be merged. All -// the metadata will be sent out when one of the following happens: -// -// - grpc.SendHeader is called, or for streaming handlers, stream.SendHeader. -// - The first response message is sent. For unary handlers, this occurs when -// the handler returns; for streaming handlers, this can happen when stream's -// SendMsg method is called. -// - An RPC status is sent out (error or success). This occurs when the handler -// returns. -// -// SetHeader will fail if called after any of the events above. -// -// The error returned is compatible with the status package. However, the -// status code will often not match the RPC status as seen by the client -// application, and therefore, should not be relied upon for this purpose. -func SetHeader(ctx context.Context, md metadata.MD) error { - if md.Len() == 0 { - return nil - } - stream := ServerTransportStreamFromContext(ctx) - if stream == nil { - return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx) - } - return stream.SetHeader(md) -} - -// SendHeader sends header metadata. It may be called at most once, and may not -// be called after any event that causes headers to be sent (see SetHeader for -// a complete list). The provided md and headers set by SetHeader() will be -// sent. -// -// The error returned is compatible with the status package. However, the -// status code will often not match the RPC status as seen by the client -// application, and therefore, should not be relied upon for this purpose. -func SendHeader(ctx context.Context, md metadata.MD) error { - stream := ServerTransportStreamFromContext(ctx) - if stream == nil { - return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx) - } - if err := stream.SendHeader(md); err != nil { - return toRPCErr(err) - } - return nil -} - -// SetTrailer sets the trailer metadata that will be sent when an RPC returns. -// When called more than once, all the provided metadata will be merged. -// -// The error returned is compatible with the status package. However, the -// status code will often not match the RPC status as seen by the client -// application, and therefore, should not be relied upon for this purpose. -func SetTrailer(ctx context.Context, md metadata.MD) error { - if md.Len() == 0 { - return nil - } - stream := ServerTransportStreamFromContext(ctx) - if stream == nil { - return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx) - } - return stream.SetTrailer(md) -} - -// Method returns the method string for the server context. The returned -// string is in the format of "/service/method". -func Method(ctx context.Context) (string, bool) { - s := ServerTransportStreamFromContext(ctx) - if s == nil { - return "", false - } - return s.Method(), true -} - -type channelzServer struct { - s *Server -} - -func (c *channelzServer) ChannelzMetric() *channelz.ServerInternalMetric { - return c.s.channelzMetric() -} diff --git a/vendor/google.golang.org/grpc/service_config.go b/vendor/google.golang.org/grpc/service_config.go deleted file mode 100644 index 01bbb202..00000000 --- a/vendor/google.golang.org/grpc/service_config.go +++ /dev/null @@ -1,406 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 grpc - -import ( - "encoding/json" - "errors" - "fmt" - "reflect" - "strconv" - "strings" - "time" - - "google.golang.org/grpc/codes" - "google.golang.org/grpc/internal" - internalserviceconfig "google.golang.org/grpc/internal/serviceconfig" - "google.golang.org/grpc/serviceconfig" -) - -const maxInt = int(^uint(0) >> 1) - -// MethodConfig defines the configuration recommended by the service providers for a -// particular method. -// -// Deprecated: Users should not use this struct. Service config should be received -// through name resolver, as specified here -// https://github.com/grpc/grpc/blob/master/doc/service_config.md -type MethodConfig = internalserviceconfig.MethodConfig - -type lbConfig struct { - name string - cfg serviceconfig.LoadBalancingConfig -} - -// ServiceConfig is provided by the service provider and contains parameters for how -// clients that connect to the service should behave. -// -// Deprecated: Users should not use this struct. Service config should be received -// through name resolver, as specified here -// https://github.com/grpc/grpc/blob/master/doc/service_config.md -type ServiceConfig struct { - serviceconfig.Config - - // LB is the load balancer the service providers recommends. This is - // deprecated; lbConfigs is preferred. If lbConfig and LB are both present, - // lbConfig will be used. - LB *string - - // lbConfig is the service config's load balancing configuration. If - // lbConfig and LB are both present, lbConfig will be used. - lbConfig *lbConfig - - // Methods contains a map for the methods in this service. If there is an - // exact match for a method (i.e. /service/method) in the map, use the - // corresponding MethodConfig. If there's no exact match, look for the - // default config for the service (/service/) and use the corresponding - // MethodConfig if it exists. Otherwise, the method has no MethodConfig to - // use. - Methods map[string]MethodConfig - - // If a retryThrottlingPolicy is provided, gRPC will automatically throttle - // retry attempts and hedged RPCs when the client’s ratio of failures to - // successes exceeds a threshold. - // - // For each server name, the gRPC client will maintain a token_count which is - // initially set to maxTokens, and can take values between 0 and maxTokens. - // - // Every outgoing RPC (regardless of service or method invoked) will change - // token_count as follows: - // - // - Every failed RPC will decrement the token_count by 1. - // - Every successful RPC will increment the token_count by tokenRatio. - // - // If token_count is less than or equal to maxTokens / 2, then RPCs will not - // be retried and hedged RPCs will not be sent. - retryThrottling *retryThrottlingPolicy - // healthCheckConfig must be set as one of the requirement to enable LB channel - // health check. - healthCheckConfig *healthCheckConfig - // rawJSONString stores service config json string that get parsed into - // this service config struct. - rawJSONString string -} - -// healthCheckConfig defines the go-native version of the LB channel health check config. -type healthCheckConfig struct { - // serviceName is the service name to use in the health-checking request. - ServiceName string -} - -type jsonRetryPolicy struct { - MaxAttempts int - InitialBackoff string - MaxBackoff string - BackoffMultiplier float64 - RetryableStatusCodes []codes.Code -} - -// retryThrottlingPolicy defines the go-native version of the retry throttling -// policy defined by the service config here: -// https://github.com/grpc/proposal/blob/master/A6-client-retries.md#integration-with-service-config -type retryThrottlingPolicy struct { - // The number of tokens starts at maxTokens. The token_count will always be - // between 0 and maxTokens. - // - // This field is required and must be greater than zero. - MaxTokens float64 - // The amount of tokens to add on each successful RPC. Typically this will - // be some number between 0 and 1, e.g., 0.1. - // - // This field is required and must be greater than zero. Up to 3 decimal - // places are supported. - TokenRatio float64 -} - -func parseDuration(s *string) (*time.Duration, error) { - if s == nil { - return nil, nil - } - if !strings.HasSuffix(*s, "s") { - return nil, fmt.Errorf("malformed duration %q", *s) - } - ss := strings.SplitN((*s)[:len(*s)-1], ".", 3) - if len(ss) > 2 { - return nil, fmt.Errorf("malformed duration %q", *s) - } - // hasDigits is set if either the whole or fractional part of the number is - // present, since both are optional but one is required. - hasDigits := false - var d time.Duration - if len(ss[0]) > 0 { - i, err := strconv.ParseInt(ss[0], 10, 32) - if err != nil { - return nil, fmt.Errorf("malformed duration %q: %v", *s, err) - } - d = time.Duration(i) * time.Second - hasDigits = true - } - if len(ss) == 2 && len(ss[1]) > 0 { - if len(ss[1]) > 9 { - return nil, fmt.Errorf("malformed duration %q", *s) - } - f, err := strconv.ParseInt(ss[1], 10, 64) - if err != nil { - return nil, fmt.Errorf("malformed duration %q: %v", *s, err) - } - for i := 9; i > len(ss[1]); i-- { - f *= 10 - } - d += time.Duration(f) - hasDigits = true - } - if !hasDigits { - return nil, fmt.Errorf("malformed duration %q", *s) - } - - return &d, nil -} - -type jsonName struct { - Service string - Method string -} - -var ( - errDuplicatedName = errors.New("duplicated name") - errEmptyServiceNonEmptyMethod = errors.New("cannot combine empty 'service' and non-empty 'method'") -) - -func (j jsonName) generatePath() (string, error) { - if j.Service == "" { - if j.Method != "" { - return "", errEmptyServiceNonEmptyMethod - } - return "", nil - } - res := "/" + j.Service + "/" - if j.Method != "" { - res += j.Method - } - return res, nil -} - -// TODO(lyuxuan): delete this struct after cleaning up old service config implementation. -type jsonMC struct { - Name *[]jsonName - WaitForReady *bool - Timeout *string - MaxRequestMessageBytes *int64 - MaxResponseMessageBytes *int64 - RetryPolicy *jsonRetryPolicy -} - -// TODO(lyuxuan): delete this struct after cleaning up old service config implementation. -type jsonSC struct { - LoadBalancingPolicy *string - LoadBalancingConfig *internalserviceconfig.BalancerConfig - MethodConfig *[]jsonMC - RetryThrottling *retryThrottlingPolicy - HealthCheckConfig *healthCheckConfig -} - -func init() { - internal.ParseServiceConfig = parseServiceConfig -} -func parseServiceConfig(js string) *serviceconfig.ParseResult { - if len(js) == 0 { - return &serviceconfig.ParseResult{Err: fmt.Errorf("no JSON service config provided")} - } - var rsc jsonSC - err := json.Unmarshal([]byte(js), &rsc) - if err != nil { - logger.Warningf("grpc: parseServiceConfig error unmarshaling %s due to %v", js, err) - return &serviceconfig.ParseResult{Err: err} - } - sc := ServiceConfig{ - LB: rsc.LoadBalancingPolicy, - Methods: make(map[string]MethodConfig), - retryThrottling: rsc.RetryThrottling, - healthCheckConfig: rsc.HealthCheckConfig, - rawJSONString: js, - } - if c := rsc.LoadBalancingConfig; c != nil { - sc.lbConfig = &lbConfig{ - name: c.Name, - cfg: c.Config, - } - } - - if rsc.MethodConfig == nil { - return &serviceconfig.ParseResult{Config: &sc} - } - - paths := map[string]struct{}{} - for _, m := range *rsc.MethodConfig { - if m.Name == nil { - continue - } - d, err := parseDuration(m.Timeout) - if err != nil { - logger.Warningf("grpc: parseServiceConfig error unmarshaling %s due to %v", js, err) - return &serviceconfig.ParseResult{Err: err} - } - - mc := MethodConfig{ - WaitForReady: m.WaitForReady, - Timeout: d, - } - if mc.RetryPolicy, err = convertRetryPolicy(m.RetryPolicy); err != nil { - logger.Warningf("grpc: parseServiceConfig error unmarshaling %s due to %v", js, err) - return &serviceconfig.ParseResult{Err: err} - } - if m.MaxRequestMessageBytes != nil { - if *m.MaxRequestMessageBytes > int64(maxInt) { - mc.MaxReqSize = newInt(maxInt) - } else { - mc.MaxReqSize = newInt(int(*m.MaxRequestMessageBytes)) - } - } - if m.MaxResponseMessageBytes != nil { - if *m.MaxResponseMessageBytes > int64(maxInt) { - mc.MaxRespSize = newInt(maxInt) - } else { - mc.MaxRespSize = newInt(int(*m.MaxResponseMessageBytes)) - } - } - for i, n := range *m.Name { - path, err := n.generatePath() - if err != nil { - logger.Warningf("grpc: parseServiceConfig error unmarshaling %s due to methodConfig[%d]: %v", js, i, err) - return &serviceconfig.ParseResult{Err: err} - } - - if _, ok := paths[path]; ok { - err = errDuplicatedName - logger.Warningf("grpc: parseServiceConfig error unmarshaling %s due to methodConfig[%d]: %v", js, i, err) - return &serviceconfig.ParseResult{Err: err} - } - paths[path] = struct{}{} - sc.Methods[path] = mc - } - } - - if sc.retryThrottling != nil { - if mt := sc.retryThrottling.MaxTokens; mt <= 0 || mt > 1000 { - return &serviceconfig.ParseResult{Err: fmt.Errorf("invalid retry throttling config: maxTokens (%v) out of range (0, 1000]", mt)} - } - if tr := sc.retryThrottling.TokenRatio; tr <= 0 { - return &serviceconfig.ParseResult{Err: fmt.Errorf("invalid retry throttling config: tokenRatio (%v) may not be negative", tr)} - } - } - return &serviceconfig.ParseResult{Config: &sc} -} - -func convertRetryPolicy(jrp *jsonRetryPolicy) (p *internalserviceconfig.RetryPolicy, err error) { - if jrp == nil { - return nil, nil - } - ib, err := parseDuration(&jrp.InitialBackoff) - if err != nil { - return nil, err - } - mb, err := parseDuration(&jrp.MaxBackoff) - if err != nil { - return nil, err - } - - if jrp.MaxAttempts <= 1 || - *ib <= 0 || - *mb <= 0 || - jrp.BackoffMultiplier <= 0 || - len(jrp.RetryableStatusCodes) == 0 { - logger.Warningf("grpc: ignoring retry policy %v due to illegal configuration", jrp) - return nil, nil - } - - rp := &internalserviceconfig.RetryPolicy{ - MaxAttempts: jrp.MaxAttempts, - InitialBackoff: *ib, - MaxBackoff: *mb, - BackoffMultiplier: jrp.BackoffMultiplier, - RetryableStatusCodes: make(map[codes.Code]bool), - } - if rp.MaxAttempts > 5 { - // TODO(retry): Make the max maxAttempts configurable. - rp.MaxAttempts = 5 - } - for _, code := range jrp.RetryableStatusCodes { - rp.RetryableStatusCodes[code] = true - } - return rp, nil -} - -func min(a, b *int) *int { - if *a < *b { - return a - } - return b -} - -func getMaxSize(mcMax, doptMax *int, defaultVal int) *int { - if mcMax == nil && doptMax == nil { - return &defaultVal - } - if mcMax != nil && doptMax != nil { - return min(mcMax, doptMax) - } - if mcMax != nil { - return mcMax - } - return doptMax -} - -func newInt(b int) *int { - return &b -} - -func init() { - internal.EqualServiceConfigForTesting = equalServiceConfig -} - -// equalServiceConfig compares two configs. The rawJSONString field is ignored, -// because they may diff in white spaces. -// -// If any of them is NOT *ServiceConfig, return false. -func equalServiceConfig(a, b serviceconfig.Config) bool { - if a == nil && b == nil { - return true - } - aa, ok := a.(*ServiceConfig) - if !ok { - return false - } - bb, ok := b.(*ServiceConfig) - if !ok { - return false - } - aaRaw := aa.rawJSONString - aa.rawJSONString = "" - bbRaw := bb.rawJSONString - bb.rawJSONString = "" - defer func() { - aa.rawJSONString = aaRaw - bb.rawJSONString = bbRaw - }() - // Using reflect.DeepEqual instead of cmp.Equal because many balancer - // configs are unexported, and cmp.Equal cannot compare unexported fields - // from unexported structs. - return reflect.DeepEqual(aa, bb) -} diff --git a/vendor/google.golang.org/grpc/serviceconfig/serviceconfig.go b/vendor/google.golang.org/grpc/serviceconfig/serviceconfig.go deleted file mode 100644 index 73a2f926..00000000 --- a/vendor/google.golang.org/grpc/serviceconfig/serviceconfig.go +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Copyright 2019 gRPC 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 serviceconfig defines types and methods for operating on gRPC -// service configs. -// -// Experimental -// -// Notice: This package is EXPERIMENTAL and may be changed or removed in a -// later release. -package serviceconfig - -// Config represents an opaque data structure holding a service config. -type Config interface { - isServiceConfig() -} - -// LoadBalancingConfig represents an opaque data structure holding a load -// balancing config. -type LoadBalancingConfig interface { - isLoadBalancingConfig() -} - -// ParseResult contains a service config or an error. Exactly one must be -// non-nil. -type ParseResult struct { - Config Config - Err error -} diff --git a/vendor/google.golang.org/grpc/stats/handlers.go b/vendor/google.golang.org/grpc/stats/handlers.go deleted file mode 100644 index dc03731e..00000000 --- a/vendor/google.golang.org/grpc/stats/handlers.go +++ /dev/null @@ -1,63 +0,0 @@ -/* - * - * Copyright 2016 gRPC 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 stats - -import ( - "context" - "net" -) - -// ConnTagInfo defines the relevant information needed by connection context tagger. -type ConnTagInfo struct { - // RemoteAddr is the remote address of the corresponding connection. - RemoteAddr net.Addr - // LocalAddr is the local address of the corresponding connection. - LocalAddr net.Addr -} - -// RPCTagInfo defines the relevant information needed by RPC context tagger. -type RPCTagInfo struct { - // FullMethodName is the RPC method in the format of /package.service/method. - FullMethodName string - // FailFast indicates if this RPC is failfast. - // This field is only valid on client side, it's always false on server side. - FailFast bool -} - -// Handler defines the interface for the related stats handling (e.g., RPCs, connections). -type Handler interface { - // TagRPC can attach some information to the given context. - // The context used for the rest lifetime of the RPC will be derived from - // the returned context. - TagRPC(context.Context, *RPCTagInfo) context.Context - // HandleRPC processes the RPC stats. - HandleRPC(context.Context, RPCStats) - - // TagConn can attach some information to the given context. - // The returned context will be used for stats handling. - // For conn stats handling, the context used in HandleConn for this - // connection will be derived from the context returned. - // For RPC stats handling, - // - On server side, the context used in HandleRPC for all RPCs on this - // connection will be derived from the context returned. - // - On client side, the context is not derived from the context returned. - TagConn(context.Context, *ConnTagInfo) context.Context - // HandleConn processes the Conn stats. - HandleConn(context.Context, ConnStats) -} diff --git a/vendor/google.golang.org/grpc/stats/stats.go b/vendor/google.golang.org/grpc/stats/stats.go deleted file mode 100644 index 0285dcc6..00000000 --- a/vendor/google.golang.org/grpc/stats/stats.go +++ /dev/null @@ -1,319 +0,0 @@ -/* - * - * Copyright 2016 gRPC 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 stats is for collecting and reporting various network and RPC stats. -// This package is for monitoring purpose only. All fields are read-only. -// All APIs are experimental. -package stats // import "google.golang.org/grpc/stats" - -import ( - "context" - "net" - "time" - - "google.golang.org/grpc/metadata" -) - -// RPCStats contains stats information about RPCs. -type RPCStats interface { - isRPCStats() - // IsClient returns true if this RPCStats is from client side. - IsClient() bool -} - -// Begin contains stats when an RPC attempt begins. -// FailFast is only valid if this Begin is from client side. -type Begin struct { - // Client is true if this Begin is from client side. - Client bool - // BeginTime is the time when the RPC attempt begins. - BeginTime time.Time - // FailFast indicates if this RPC is failfast. - FailFast bool - // IsClientStream indicates whether the RPC is a client streaming RPC. - IsClientStream bool - // IsServerStream indicates whether the RPC is a server streaming RPC. - IsServerStream bool - // IsTransparentRetryAttempt indicates whether this attempt was initiated - // due to transparently retrying a previous attempt. - IsTransparentRetryAttempt bool -} - -// IsClient indicates if the stats information is from client side. -func (s *Begin) IsClient() bool { return s.Client } - -func (s *Begin) isRPCStats() {} - -// InPayload contains the information for an incoming payload. -type InPayload struct { - // Client is true if this InPayload is from client side. - Client bool - // Payload is the payload with original type. - Payload interface{} - // Data is the serialized message payload. - Data []byte - // Length is the length of uncompressed data. - Length int - // WireLength is the length of data on wire (compressed, signed, encrypted). - WireLength int - // RecvTime is the time when the payload is received. - RecvTime time.Time -} - -// IsClient indicates if the stats information is from client side. -func (s *InPayload) IsClient() bool { return s.Client } - -func (s *InPayload) isRPCStats() {} - -// InHeader contains stats when a header is received. -type InHeader struct { - // Client is true if this InHeader is from client side. - Client bool - // WireLength is the wire length of header. - WireLength int - // Compression is the compression algorithm used for the RPC. - Compression string - // Header contains the header metadata received. - Header metadata.MD - - // The following fields are valid only if Client is false. - // FullMethod is the full RPC method string, i.e., /package.service/method. - FullMethod string - // RemoteAddr is the remote address of the corresponding connection. - RemoteAddr net.Addr - // LocalAddr is the local address of the corresponding connection. - LocalAddr net.Addr -} - -// IsClient indicates if the stats information is from client side. -func (s *InHeader) IsClient() bool { return s.Client } - -func (s *InHeader) isRPCStats() {} - -// InTrailer contains stats when a trailer is received. -type InTrailer struct { - // Client is true if this InTrailer is from client side. - Client bool - // WireLength is the wire length of trailer. - WireLength int - // Trailer contains the trailer metadata received from the server. This - // field is only valid if this InTrailer is from the client side. - Trailer metadata.MD -} - -// IsClient indicates if the stats information is from client side. -func (s *InTrailer) IsClient() bool { return s.Client } - -func (s *InTrailer) isRPCStats() {} - -// OutPayload contains the information for an outgoing payload. -type OutPayload struct { - // Client is true if this OutPayload is from client side. - Client bool - // Payload is the payload with original type. - Payload interface{} - // Data is the serialized message payload. - Data []byte - // Length is the length of uncompressed data. - Length int - // WireLength is the length of data on wire (compressed, signed, encrypted). - WireLength int - // SentTime is the time when the payload is sent. - SentTime time.Time -} - -// IsClient indicates if this stats information is from client side. -func (s *OutPayload) IsClient() bool { return s.Client } - -func (s *OutPayload) isRPCStats() {} - -// OutHeader contains stats when a header is sent. -type OutHeader struct { - // Client is true if this OutHeader is from client side. - Client bool - // Compression is the compression algorithm used for the RPC. - Compression string - // Header contains the header metadata sent. - Header metadata.MD - - // The following fields are valid only if Client is true. - // FullMethod is the full RPC method string, i.e., /package.service/method. - FullMethod string - // RemoteAddr is the remote address of the corresponding connection. - RemoteAddr net.Addr - // LocalAddr is the local address of the corresponding connection. - LocalAddr net.Addr -} - -// IsClient indicates if this stats information is from client side. -func (s *OutHeader) IsClient() bool { return s.Client } - -func (s *OutHeader) isRPCStats() {} - -// OutTrailer contains stats when a trailer is sent. -type OutTrailer struct { - // Client is true if this OutTrailer is from client side. - Client bool - // WireLength is the wire length of trailer. - // - // Deprecated: This field is never set. The length is not known when this message is - // emitted because the trailer fields are compressed with hpack after that. - WireLength int - // Trailer contains the trailer metadata sent to the client. This - // field is only valid if this OutTrailer is from the server side. - Trailer metadata.MD -} - -// IsClient indicates if this stats information is from client side. -func (s *OutTrailer) IsClient() bool { return s.Client } - -func (s *OutTrailer) isRPCStats() {} - -// End contains stats when an RPC ends. -type End struct { - // Client is true if this End is from client side. - Client bool - // BeginTime is the time when the RPC began. - BeginTime time.Time - // EndTime is the time when the RPC ends. - EndTime time.Time - // Trailer contains the trailer metadata received from the server. This - // field is only valid if this End is from the client side. - // Deprecated: use Trailer in InTrailer instead. - Trailer metadata.MD - // Error is the error the RPC ended with. It is an error generated from - // status.Status and can be converted back to status.Status using - // status.FromError if non-nil. - Error error -} - -// IsClient indicates if this is from client side. -func (s *End) IsClient() bool { return s.Client } - -func (s *End) isRPCStats() {} - -// ConnStats contains stats information about connections. -type ConnStats interface { - isConnStats() - // IsClient returns true if this ConnStats is from client side. - IsClient() bool -} - -// ConnBegin contains the stats of a connection when it is established. -type ConnBegin struct { - // Client is true if this ConnBegin is from client side. - Client bool -} - -// IsClient indicates if this is from client side. -func (s *ConnBegin) IsClient() bool { return s.Client } - -func (s *ConnBegin) isConnStats() {} - -// ConnEnd contains the stats of a connection when it ends. -type ConnEnd struct { - // Client is true if this ConnEnd is from client side. - Client bool -} - -// IsClient indicates if this is from client side. -func (s *ConnEnd) IsClient() bool { return s.Client } - -func (s *ConnEnd) isConnStats() {} - -type incomingTagsKey struct{} -type outgoingTagsKey struct{} - -// SetTags attaches stats tagging data to the context, which will be sent in -// the outgoing RPC with the header grpc-tags-bin. Subsequent calls to -// SetTags will overwrite the values from earlier calls. -// -// NOTE: this is provided only for backward compatibility with existing clients -// and will likely be removed in an upcoming release. New uses should transmit -// this type of data using metadata with a different, non-reserved (i.e. does -// not begin with "grpc-") header name. -func SetTags(ctx context.Context, b []byte) context.Context { - return context.WithValue(ctx, outgoingTagsKey{}, b) -} - -// Tags returns the tags from the context for the inbound RPC. -// -// NOTE: this is provided only for backward compatibility with existing clients -// and will likely be removed in an upcoming release. New uses should transmit -// this type of data using metadata with a different, non-reserved (i.e. does -// not begin with "grpc-") header name. -func Tags(ctx context.Context) []byte { - b, _ := ctx.Value(incomingTagsKey{}).([]byte) - return b -} - -// SetIncomingTags attaches stats tagging data to the context, to be read by -// the application (not sent in outgoing RPCs). -// -// This is intended for gRPC-internal use ONLY. -func SetIncomingTags(ctx context.Context, b []byte) context.Context { - return context.WithValue(ctx, incomingTagsKey{}, b) -} - -// OutgoingTags returns the tags from the context for the outbound RPC. -// -// This is intended for gRPC-internal use ONLY. -func OutgoingTags(ctx context.Context) []byte { - b, _ := ctx.Value(outgoingTagsKey{}).([]byte) - return b -} - -type incomingTraceKey struct{} -type outgoingTraceKey struct{} - -// SetTrace attaches stats tagging data to the context, which will be sent in -// the outgoing RPC with the header grpc-trace-bin. Subsequent calls to -// SetTrace will overwrite the values from earlier calls. -// -// NOTE: this is provided only for backward compatibility with existing clients -// and will likely be removed in an upcoming release. New uses should transmit -// this type of data using metadata with a different, non-reserved (i.e. does -// not begin with "grpc-") header name. -func SetTrace(ctx context.Context, b []byte) context.Context { - return context.WithValue(ctx, outgoingTraceKey{}, b) -} - -// Trace returns the trace from the context for the inbound RPC. -// -// NOTE: this is provided only for backward compatibility with existing clients -// and will likely be removed in an upcoming release. New uses should transmit -// this type of data using metadata with a different, non-reserved (i.e. does -// not begin with "grpc-") header name. -func Trace(ctx context.Context) []byte { - b, _ := ctx.Value(incomingTraceKey{}).([]byte) - return b -} - -// SetIncomingTrace attaches stats tagging data to the context, to be read by -// the application (not sent in outgoing RPCs). It is intended for -// gRPC-internal use. -func SetIncomingTrace(ctx context.Context, b []byte) context.Context { - return context.WithValue(ctx, incomingTraceKey{}, b) -} - -// OutgoingTrace returns the trace from the context for the outbound RPC. It is -// intended for gRPC-internal use. -func OutgoingTrace(ctx context.Context) []byte { - b, _ := ctx.Value(outgoingTraceKey{}).([]byte) - return b -} diff --git a/vendor/google.golang.org/grpc/status/status.go b/vendor/google.golang.org/grpc/status/status.go deleted file mode 100644 index 6d163b6e..00000000 --- a/vendor/google.golang.org/grpc/status/status.go +++ /dev/null @@ -1,135 +0,0 @@ -/* - * - * Copyright 2017 gRPC 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 status implements errors returned by gRPC. These errors are -// serialized and transmitted on the wire between server and client, and allow -// for additional data to be transmitted via the Details field in the status -// proto. gRPC service handlers should return an error created by this -// package, and gRPC clients should expect a corresponding error to be -// returned from the RPC call. -// -// This package upholds the invariants that a non-nil error may not -// contain an OK code, and an OK code must result in a nil error. -package status - -import ( - "context" - "errors" - "fmt" - - spb "google.golang.org/genproto/googleapis/rpc/status" - - "google.golang.org/grpc/codes" - "google.golang.org/grpc/internal/status" -) - -// Status references google.golang.org/grpc/internal/status. It represents an -// RPC status code, message, and details. It is immutable and should be -// created with New, Newf, or FromProto. -// https://godoc.org/google.golang.org/grpc/internal/status -type Status = status.Status - -// New returns a Status representing c and msg. -func New(c codes.Code, msg string) *Status { - return status.New(c, msg) -} - -// Newf returns New(c, fmt.Sprintf(format, a...)). -func Newf(c codes.Code, format string, a ...interface{}) *Status { - return New(c, fmt.Sprintf(format, a...)) -} - -// Error returns an error representing c and msg. If c is OK, returns nil. -func Error(c codes.Code, msg string) error { - return New(c, msg).Err() -} - -// Errorf returns Error(c, fmt.Sprintf(format, a...)). -func Errorf(c codes.Code, format string, a ...interface{}) error { - return Error(c, fmt.Sprintf(format, a...)) -} - -// ErrorProto returns an error representing s. If s.Code is OK, returns nil. -func ErrorProto(s *spb.Status) error { - return FromProto(s).Err() -} - -// FromProto returns a Status representing s. -func FromProto(s *spb.Status) *Status { - return status.FromProto(s) -} - -// FromError returns a Status representation of err. -// -// - If err was produced by this package or implements the method `GRPCStatus() -// *Status`, the appropriate Status is returned. -// -// - If err is nil, a Status is returned with codes.OK and no message. -// -// - Otherwise, err is an error not compatible with this package. In this -// case, a Status is returned with codes.Unknown and err's Error() message, -// and ok is false. -func FromError(err error) (s *Status, ok bool) { - if err == nil { - return nil, true - } - if se, ok := err.(interface { - GRPCStatus() *Status - }); ok { - return se.GRPCStatus(), true - } - return New(codes.Unknown, err.Error()), false -} - -// Convert is a convenience function which removes the need to handle the -// boolean return value from FromError. -func Convert(err error) *Status { - s, _ := FromError(err) - return s -} - -// Code returns the Code of the error if it is a Status error, codes.OK if err -// is nil, or codes.Unknown otherwise. -func Code(err error) codes.Code { - // Don't use FromError to avoid allocation of OK status. - if err == nil { - return codes.OK - } - if se, ok := err.(interface { - GRPCStatus() *Status - }); ok { - return se.GRPCStatus().Code() - } - return codes.Unknown -} - -// FromContextError converts a context error or wrapped context error into a -// Status. It returns a Status with codes.OK if err is nil, or a Status with -// codes.Unknown if err is non-nil and not a context error. -func FromContextError(err error) *Status { - if err == nil { - return nil - } - if errors.Is(err, context.DeadlineExceeded) { - return New(codes.DeadlineExceeded, err.Error()) - } - if errors.Is(err, context.Canceled) { - return New(codes.Canceled, err.Error()) - } - return New(codes.Unknown, err.Error()) -} diff --git a/vendor/google.golang.org/grpc/stream.go b/vendor/google.golang.org/grpc/stream.go deleted file mode 100644 index 446a91e3..00000000 --- a/vendor/google.golang.org/grpc/stream.go +++ /dev/null @@ -1,1661 +0,0 @@ -/* - * - * Copyright 2014 gRPC 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 grpc - -import ( - "context" - "errors" - "io" - "math" - "strconv" - "sync" - "time" - - "golang.org/x/net/trace" - "google.golang.org/grpc/balancer" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/encoding" - "google.golang.org/grpc/internal/balancerload" - "google.golang.org/grpc/internal/binarylog" - "google.golang.org/grpc/internal/channelz" - "google.golang.org/grpc/internal/grpcrand" - "google.golang.org/grpc/internal/grpcutil" - imetadata "google.golang.org/grpc/internal/metadata" - iresolver "google.golang.org/grpc/internal/resolver" - "google.golang.org/grpc/internal/serviceconfig" - "google.golang.org/grpc/internal/transport" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/peer" - "google.golang.org/grpc/stats" - "google.golang.org/grpc/status" -) - -// StreamHandler defines the handler called by gRPC server to complete the -// execution of a streaming RPC. -// -// If a StreamHandler returns an error, it should either be produced by the -// status package, or be one of the context errors. Otherwise, gRPC will use -// codes.Unknown as the status code and err.Error() as the status message of the -// RPC. -type StreamHandler func(srv interface{}, stream ServerStream) error - -// StreamDesc represents a streaming RPC service's method specification. Used -// on the server when registering services and on the client when initiating -// new streams. -type StreamDesc struct { - // StreamName and Handler are only used when registering handlers on a - // server. - StreamName string // the name of the method excluding the service - Handler StreamHandler // the handler called for the method - - // ServerStreams and ClientStreams are used for registering handlers on a - // server as well as defining RPC behavior when passed to NewClientStream - // and ClientConn.NewStream. At least one must be true. - ServerStreams bool // indicates the server can perform streaming sends - ClientStreams bool // indicates the client can perform streaming sends -} - -// Stream defines the common interface a client or server stream has to satisfy. -// -// Deprecated: See ClientStream and ServerStream documentation instead. -type Stream interface { - // Deprecated: See ClientStream and ServerStream documentation instead. - Context() context.Context - // Deprecated: See ClientStream and ServerStream documentation instead. - SendMsg(m interface{}) error - // Deprecated: See ClientStream and ServerStream documentation instead. - RecvMsg(m interface{}) error -} - -// ClientStream defines the client-side behavior of a streaming RPC. -// -// All errors returned from ClientStream methods are compatible with the -// status package. -type ClientStream interface { - // Header returns the header metadata received from the server if there - // is any. It blocks if the metadata is not ready to read. - Header() (metadata.MD, error) - // Trailer returns the trailer metadata from the server, if there is any. - // It must only be called after stream.CloseAndRecv has returned, or - // stream.Recv has returned a non-nil error (including io.EOF). - Trailer() metadata.MD - // CloseSend closes the send direction of the stream. It closes the stream - // when non-nil error is met. It is also not safe to call CloseSend - // concurrently with SendMsg. - CloseSend() error - // Context returns the context for this stream. - // - // It should not be called until after Header or RecvMsg has returned. Once - // called, subsequent client-side retries are disabled. - Context() context.Context - // SendMsg is generally called by generated code. On error, SendMsg aborts - // the stream. If the error was generated by the client, the status is - // returned directly; otherwise, io.EOF is returned and the status of - // the stream may be discovered using RecvMsg. - // - // SendMsg blocks until: - // - There is sufficient flow control to schedule m with the transport, or - // - The stream is done, or - // - The stream breaks. - // - // SendMsg does not wait until the message is received by the server. An - // untimely stream closure may result in lost messages. To ensure delivery, - // users should ensure the RPC completed successfully using RecvMsg. - // - // It is safe to have a goroutine calling SendMsg and another goroutine - // calling RecvMsg on the same stream at the same time, but it is not safe - // to call SendMsg on the same stream in different goroutines. It is also - // not safe to call CloseSend concurrently with SendMsg. - SendMsg(m interface{}) error - // RecvMsg blocks until it receives a message into m or the stream is - // done. It returns io.EOF when the stream completes successfully. On - // any other error, the stream is aborted and the error contains the RPC - // status. - // - // It is safe to have a goroutine calling SendMsg and another goroutine - // calling RecvMsg on the same stream at the same time, but it is not - // safe to call RecvMsg on the same stream in different goroutines. - RecvMsg(m interface{}) error -} - -// NewStream creates a new Stream for the client side. This is typically -// called by generated code. ctx is used for the lifetime of the stream. -// -// To ensure resources are not leaked due to the stream returned, one of the following -// actions must be performed: -// -// 1. Call Close on the ClientConn. -// 2. Cancel the context provided. -// 3. Call RecvMsg until a non-nil error is returned. A protobuf-generated -// client-streaming RPC, for instance, might use the helper function -// CloseAndRecv (note that CloseSend does not Recv, therefore is not -// guaranteed to release all resources). -// 4. Receive a non-nil, non-io.EOF error from Header or SendMsg. -// -// If none of the above happen, a goroutine and a context will be leaked, and grpc -// will not call the optionally-configured stats handler with a stats.End message. -func (cc *ClientConn) NewStream(ctx context.Context, desc *StreamDesc, method string, opts ...CallOption) (ClientStream, error) { - // allow interceptor to see all applicable call options, which means those - // configured as defaults from dial option as well as per-call options - opts = combine(cc.dopts.callOptions, opts) - - if cc.dopts.streamInt != nil { - return cc.dopts.streamInt(ctx, desc, cc, method, newClientStream, opts...) - } - return newClientStream(ctx, desc, cc, method, opts...) -} - -// NewClientStream is a wrapper for ClientConn.NewStream. -func NewClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (ClientStream, error) { - return cc.NewStream(ctx, desc, method, opts...) -} - -func newClientStream(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, opts ...CallOption) (_ ClientStream, err error) { - if md, _, ok := metadata.FromOutgoingContextRaw(ctx); ok { - if err := imetadata.Validate(md); err != nil { - return nil, status.Error(codes.Internal, err.Error()) - } - } - if channelz.IsOn() { - cc.incrCallsStarted() - defer func() { - if err != nil { - cc.incrCallsFailed() - } - }() - } - // Provide an opportunity for the first RPC to see the first service config - // provided by the resolver. - if err := cc.waitForResolvedAddrs(ctx); err != nil { - return nil, err - } - - var mc serviceconfig.MethodConfig - var onCommit func() - var newStream = func(ctx context.Context, done func()) (iresolver.ClientStream, error) { - return newClientStreamWithParams(ctx, desc, cc, method, mc, onCommit, done, opts...) - } - - rpcInfo := iresolver.RPCInfo{Context: ctx, Method: method} - rpcConfig, err := cc.safeConfigSelector.SelectConfig(rpcInfo) - if err != nil { - return nil, toRPCErr(err) - } - - if rpcConfig != nil { - if rpcConfig.Context != nil { - ctx = rpcConfig.Context - } - mc = rpcConfig.MethodConfig - onCommit = rpcConfig.OnCommitted - if rpcConfig.Interceptor != nil { - rpcInfo.Context = nil - ns := newStream - newStream = func(ctx context.Context, done func()) (iresolver.ClientStream, error) { - cs, err := rpcConfig.Interceptor.NewStream(ctx, rpcInfo, done, ns) - if err != nil { - return nil, toRPCErr(err) - } - return cs, nil - } - } - } - - return newStream(ctx, func() {}) -} - -func newClientStreamWithParams(ctx context.Context, desc *StreamDesc, cc *ClientConn, method string, mc serviceconfig.MethodConfig, onCommit, doneFunc func(), opts ...CallOption) (_ iresolver.ClientStream, err error) { - c := defaultCallInfo() - if mc.WaitForReady != nil { - c.failFast = !*mc.WaitForReady - } - - // Possible context leak: - // The cancel function for the child context we create will only be called - // when RecvMsg returns a non-nil error, if the ClientConn is closed, or if - // an error is generated by SendMsg. - // https://github.com/grpc/grpc-go/issues/1818. - var cancel context.CancelFunc - if mc.Timeout != nil && *mc.Timeout >= 0 { - ctx, cancel = context.WithTimeout(ctx, *mc.Timeout) - } else { - ctx, cancel = context.WithCancel(ctx) - } - defer func() { - if err != nil { - cancel() - } - }() - - for _, o := range opts { - if err := o.before(c); err != nil { - return nil, toRPCErr(err) - } - } - c.maxSendMessageSize = getMaxSize(mc.MaxReqSize, c.maxSendMessageSize, defaultClientMaxSendMessageSize) - c.maxReceiveMessageSize = getMaxSize(mc.MaxRespSize, c.maxReceiveMessageSize, defaultClientMaxReceiveMessageSize) - if err := setCallInfoCodec(c); err != nil { - return nil, err - } - - callHdr := &transport.CallHdr{ - Host: cc.authority, - Method: method, - ContentSubtype: c.contentSubtype, - DoneFunc: doneFunc, - } - - // Set our outgoing compression according to the UseCompressor CallOption, if - // set. In that case, also find the compressor from the encoding package. - // Otherwise, use the compressor configured by the WithCompressor DialOption, - // if set. - var cp Compressor - var comp encoding.Compressor - if ct := c.compressorType; ct != "" { - callHdr.SendCompress = ct - if ct != encoding.Identity { - comp = encoding.GetCompressor(ct) - if comp == nil { - return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct) - } - } - } else if cc.dopts.cp != nil { - callHdr.SendCompress = cc.dopts.cp.Type() - cp = cc.dopts.cp - } - if c.creds != nil { - callHdr.Creds = c.creds - } - - cs := &clientStream{ - callHdr: callHdr, - ctx: ctx, - methodConfig: &mc, - opts: opts, - callInfo: c, - cc: cc, - desc: desc, - codec: c.codec, - cp: cp, - comp: comp, - cancel: cancel, - firstAttempt: true, - onCommit: onCommit, - } - if !cc.dopts.disableRetry { - cs.retryThrottler = cc.retryThrottler.Load().(*retryThrottler) - } - cs.binlog = binarylog.GetMethodLogger(method) - - // Pick the transport to use and create a new stream on the transport. - // Assign cs.attempt upon success. - op := func(a *csAttempt) error { - if err := a.getTransport(); err != nil { - return err - } - if err := a.newStream(); err != nil { - return err - } - // Because this operation is always called either here (while creating - // the clientStream) or by the retry code while locked when replaying - // the operation, it is safe to access cs.attempt directly. - cs.attempt = a - return nil - } - if err := cs.withRetry(op, func() { cs.bufferForRetryLocked(0, op) }); err != nil { - return nil, err - } - - if cs.binlog != nil { - md, _ := metadata.FromOutgoingContext(ctx) - logEntry := &binarylog.ClientHeader{ - OnClientSide: true, - Header: md, - MethodName: method, - Authority: cs.cc.authority, - } - if deadline, ok := ctx.Deadline(); ok { - logEntry.Timeout = time.Until(deadline) - if logEntry.Timeout < 0 { - logEntry.Timeout = 0 - } - } - cs.binlog.Log(logEntry) - } - - if desc != unaryStreamDesc { - // Listen on cc and stream contexts to cleanup when the user closes the - // ClientConn or cancels the stream context. In all other cases, an error - // should already be injected into the recv buffer by the transport, which - // the client will eventually receive, and then we will cancel the stream's - // context in clientStream.finish. - go func() { - select { - case <-cc.ctx.Done(): - cs.finish(ErrClientConnClosing) - case <-ctx.Done(): - cs.finish(toRPCErr(ctx.Err())) - } - }() - } - return cs, nil -} - -// newAttemptLocked creates a new csAttempt without a transport or stream. -func (cs *clientStream) newAttemptLocked(isTransparent bool) (*csAttempt, error) { - if err := cs.ctx.Err(); err != nil { - return nil, toRPCErr(err) - } - if err := cs.cc.ctx.Err(); err != nil { - return nil, ErrClientConnClosing - } - - ctx := newContextWithRPCInfo(cs.ctx, cs.callInfo.failFast, cs.callInfo.codec, cs.cp, cs.comp) - method := cs.callHdr.Method - var beginTime time.Time - shs := cs.cc.dopts.copts.StatsHandlers - for _, sh := range shs { - ctx = sh.TagRPC(ctx, &stats.RPCTagInfo{FullMethodName: method, FailFast: cs.callInfo.failFast}) - beginTime = time.Now() - begin := &stats.Begin{ - Client: true, - BeginTime: beginTime, - FailFast: cs.callInfo.failFast, - IsClientStream: cs.desc.ClientStreams, - IsServerStream: cs.desc.ServerStreams, - IsTransparentRetryAttempt: isTransparent, - } - sh.HandleRPC(ctx, begin) - } - - var trInfo *traceInfo - if EnableTracing { - trInfo = &traceInfo{ - tr: trace.New("grpc.Sent."+methodFamily(method), method), - firstLine: firstLine{ - client: true, - }, - } - if deadline, ok := ctx.Deadline(); ok { - trInfo.firstLine.deadline = time.Until(deadline) - } - trInfo.tr.LazyLog(&trInfo.firstLine, false) - ctx = trace.NewContext(ctx, trInfo.tr) - } - - if cs.cc.parsedTarget.Scheme == "xds" { - // Add extra metadata (metadata that will be added by transport) to context - // so the balancer can see them. - ctx = grpcutil.WithExtraMetadata(ctx, metadata.Pairs( - "content-type", grpcutil.ContentType(cs.callHdr.ContentSubtype), - )) - } - - return &csAttempt{ - ctx: ctx, - beginTime: beginTime, - cs: cs, - dc: cs.cc.dopts.dc, - statsHandlers: shs, - trInfo: trInfo, - }, nil -} - -func (a *csAttempt) getTransport() error { - cs := a.cs - - var err error - a.t, a.done, err = cs.cc.getTransport(a.ctx, cs.callInfo.failFast, cs.callHdr.Method) - if err != nil { - if de, ok := err.(dropError); ok { - err = de.error - a.drop = true - } - return err - } - if a.trInfo != nil { - a.trInfo.firstLine.SetRemoteAddr(a.t.RemoteAddr()) - } - return nil -} - -func (a *csAttempt) newStream() error { - cs := a.cs - cs.callHdr.PreviousAttempts = cs.numRetries - s, err := a.t.NewStream(a.ctx, cs.callHdr) - if err != nil { - nse, ok := err.(*transport.NewStreamError) - if !ok { - // Unexpected. - return err - } - - if nse.AllowTransparentRetry { - a.allowTransparentRetry = true - } - - // Unwrap and convert error. - return toRPCErr(nse.Err) - } - a.s = s - a.p = &parser{r: s} - return nil -} - -// clientStream implements a client side Stream. -type clientStream struct { - callHdr *transport.CallHdr - opts []CallOption - callInfo *callInfo - cc *ClientConn - desc *StreamDesc - - codec baseCodec - cp Compressor - comp encoding.Compressor - - cancel context.CancelFunc // cancels all attempts - - sentLast bool // sent an end stream - - methodConfig *MethodConfig - - ctx context.Context // the application's context, wrapped by stats/tracing - - retryThrottler *retryThrottler // The throttler active when the RPC began. - - binlog binarylog.MethodLogger // Binary logger, can be nil. - // serverHeaderBinlogged is a boolean for whether server header has been - // logged. Server header will be logged when the first time one of those - // happens: stream.Header(), stream.Recv(). - // - // It's only read and used by Recv() and Header(), so it doesn't need to be - // synchronized. - serverHeaderBinlogged bool - - mu sync.Mutex - firstAttempt bool // if true, transparent retry is valid - numRetries int // exclusive of transparent retry attempt(s) - numRetriesSincePushback int // retries since pushback; to reset backoff - finished bool // TODO: replace with atomic cmpxchg or sync.Once? - // attempt is the active client stream attempt. - // The only place where it is written is the newAttemptLocked method and this method never writes nil. - // So, attempt can be nil only inside newClientStream function when clientStream is first created. - // One of the first things done after clientStream's creation, is to call newAttemptLocked which either - // assigns a non nil value to the attempt or returns an error. If an error is returned from newAttemptLocked, - // then newClientStream calls finish on the clientStream and returns. So, finish method is the only - // place where we need to check if the attempt is nil. - attempt *csAttempt - // TODO(hedging): hedging will have multiple attempts simultaneously. - committed bool // active attempt committed for retry? - onCommit func() - buffer []func(a *csAttempt) error // operations to replay on retry - bufferSize int // current size of buffer -} - -// csAttempt implements a single transport stream attempt within a -// clientStream. -type csAttempt struct { - ctx context.Context - cs *clientStream - t transport.ClientTransport - s *transport.Stream - p *parser - done func(balancer.DoneInfo) - - finished bool - dc Decompressor - decomp encoding.Compressor - decompSet bool - - mu sync.Mutex // guards trInfo.tr - // trInfo may be nil (if EnableTracing is false). - // trInfo.tr is set when created (if EnableTracing is true), - // and cleared when the finish method is called. - trInfo *traceInfo - - statsHandlers []stats.Handler - beginTime time.Time - - // set for newStream errors that may be transparently retried - allowTransparentRetry bool - // set for pick errors that are returned as a status - drop bool -} - -func (cs *clientStream) commitAttemptLocked() { - if !cs.committed && cs.onCommit != nil { - cs.onCommit() - } - cs.committed = true - cs.buffer = nil -} - -func (cs *clientStream) commitAttempt() { - cs.mu.Lock() - cs.commitAttemptLocked() - cs.mu.Unlock() -} - -// shouldRetry returns nil if the RPC should be retried; otherwise it returns -// the error that should be returned by the operation. If the RPC should be -// retried, the bool indicates whether it is being retried transparently. -func (a *csAttempt) shouldRetry(err error) (bool, error) { - cs := a.cs - - if cs.finished || cs.committed || a.drop { - // RPC is finished or committed or was dropped by the picker; cannot retry. - return false, err - } - if a.s == nil && a.allowTransparentRetry { - return true, nil - } - // Wait for the trailers. - unprocessed := false - if a.s != nil { - <-a.s.Done() - unprocessed = a.s.Unprocessed() - } - if cs.firstAttempt && unprocessed { - // First attempt, stream unprocessed: transparently retry. - return true, nil - } - if cs.cc.dopts.disableRetry { - return false, err - } - - pushback := 0 - hasPushback := false - if a.s != nil { - if !a.s.TrailersOnly() { - return false, err - } - - // TODO(retry): Move down if the spec changes to not check server pushback - // before considering this a failure for throttling. - sps := a.s.Trailer()["grpc-retry-pushback-ms"] - if len(sps) == 1 { - var e error - if pushback, e = strconv.Atoi(sps[0]); e != nil || pushback < 0 { - channelz.Infof(logger, cs.cc.channelzID, "Server retry pushback specified to abort (%q).", sps[0]) - cs.retryThrottler.throttle() // This counts as a failure for throttling. - return false, err - } - hasPushback = true - } else if len(sps) > 1 { - channelz.Warningf(logger, cs.cc.channelzID, "Server retry pushback specified multiple values (%q); not retrying.", sps) - cs.retryThrottler.throttle() // This counts as a failure for throttling. - return false, err - } - } - - var code codes.Code - if a.s != nil { - code = a.s.Status().Code() - } else { - code = status.Code(err) - } - - rp := cs.methodConfig.RetryPolicy - if rp == nil || !rp.RetryableStatusCodes[code] { - return false, err - } - - // Note: the ordering here is important; we count this as a failure - // only if the code matched a retryable code. - if cs.retryThrottler.throttle() { - return false, err - } - if cs.numRetries+1 >= rp.MaxAttempts { - return false, err - } - - var dur time.Duration - if hasPushback { - dur = time.Millisecond * time.Duration(pushback) - cs.numRetriesSincePushback = 0 - } else { - fact := math.Pow(rp.BackoffMultiplier, float64(cs.numRetriesSincePushback)) - cur := float64(rp.InitialBackoff) * fact - if max := float64(rp.MaxBackoff); cur > max { - cur = max - } - dur = time.Duration(grpcrand.Int63n(int64(cur))) - cs.numRetriesSincePushback++ - } - - // TODO(dfawley): we could eagerly fail here if dur puts us past the - // deadline, but unsure if it is worth doing. - t := time.NewTimer(dur) - select { - case <-t.C: - cs.numRetries++ - return false, nil - case <-cs.ctx.Done(): - t.Stop() - return false, status.FromContextError(cs.ctx.Err()).Err() - } -} - -// Returns nil if a retry was performed and succeeded; error otherwise. -func (cs *clientStream) retryLocked(attempt *csAttempt, lastErr error) error { - for { - attempt.finish(toRPCErr(lastErr)) - isTransparent, err := attempt.shouldRetry(lastErr) - if err != nil { - cs.commitAttemptLocked() - return err - } - cs.firstAttempt = false - attempt, err = cs.newAttemptLocked(isTransparent) - if err != nil { - // Only returns error if the clientconn is closed or the context of - // the stream is canceled. - return err - } - // Note that the first op in the replay buffer always sets cs.attempt - // if it is able to pick a transport and create a stream. - if lastErr = cs.replayBufferLocked(attempt); lastErr == nil { - return nil - } - } -} - -func (cs *clientStream) Context() context.Context { - cs.commitAttempt() - // No need to lock before using attempt, since we know it is committed and - // cannot change. - if cs.attempt.s != nil { - return cs.attempt.s.Context() - } - return cs.ctx -} - -func (cs *clientStream) withRetry(op func(a *csAttempt) error, onSuccess func()) error { - cs.mu.Lock() - for { - if cs.committed { - cs.mu.Unlock() - // toRPCErr is used in case the error from the attempt comes from - // NewClientStream, which intentionally doesn't return a status - // error to allow for further inspection; all other errors should - // already be status errors. - return toRPCErr(op(cs.attempt)) - } - if len(cs.buffer) == 0 { - // For the first op, which controls creation of the stream and - // assigns cs.attempt, we need to create a new attempt inline - // before executing the first op. On subsequent ops, the attempt - // is created immediately before replaying the ops. - var err error - if cs.attempt, err = cs.newAttemptLocked(false /* isTransparent */); err != nil { - cs.mu.Unlock() - cs.finish(err) - return err - } - } - a := cs.attempt - cs.mu.Unlock() - err := op(a) - cs.mu.Lock() - if a != cs.attempt { - // We started another attempt already. - continue - } - if err == io.EOF { - <-a.s.Done() - } - if err == nil || (err == io.EOF && a.s.Status().Code() == codes.OK) { - onSuccess() - cs.mu.Unlock() - return err - } - if err := cs.retryLocked(a, err); err != nil { - cs.mu.Unlock() - return err - } - } -} - -func (cs *clientStream) Header() (metadata.MD, error) { - var m metadata.MD - err := cs.withRetry(func(a *csAttempt) error { - var err error - m, err = a.s.Header() - return toRPCErr(err) - }, cs.commitAttemptLocked) - if err != nil { - cs.finish(err) - return nil, err - } - if cs.binlog != nil && !cs.serverHeaderBinlogged { - // Only log if binary log is on and header has not been logged. - logEntry := &binarylog.ServerHeader{ - OnClientSide: true, - Header: m, - PeerAddr: nil, - } - if peer, ok := peer.FromContext(cs.Context()); ok { - logEntry.PeerAddr = peer.Addr - } - cs.binlog.Log(logEntry) - cs.serverHeaderBinlogged = true - } - return m, nil -} - -func (cs *clientStream) Trailer() metadata.MD { - // On RPC failure, we never need to retry, because usage requires that - // RecvMsg() returned a non-nil error before calling this function is valid. - // We would have retried earlier if necessary. - // - // Commit the attempt anyway, just in case users are not following those - // directions -- it will prevent races and should not meaningfully impact - // performance. - cs.commitAttempt() - if cs.attempt.s == nil { - return nil - } - return cs.attempt.s.Trailer() -} - -func (cs *clientStream) replayBufferLocked(attempt *csAttempt) error { - for _, f := range cs.buffer { - if err := f(attempt); err != nil { - return err - } - } - return nil -} - -func (cs *clientStream) bufferForRetryLocked(sz int, op func(a *csAttempt) error) { - // Note: we still will buffer if retry is disabled (for transparent retries). - if cs.committed { - return - } - cs.bufferSize += sz - if cs.bufferSize > cs.callInfo.maxRetryRPCBufferSize { - cs.commitAttemptLocked() - return - } - cs.buffer = append(cs.buffer, op) -} - -func (cs *clientStream) SendMsg(m interface{}) (err error) { - defer func() { - if err != nil && err != io.EOF { - // Call finish on the client stream for errors generated by this SendMsg - // call, as these indicate problems created by this client. (Transport - // errors are converted to an io.EOF error in csAttempt.sendMsg; the real - // error will be returned from RecvMsg eventually in that case, or be - // retried.) - cs.finish(err) - } - }() - if cs.sentLast { - return status.Errorf(codes.Internal, "SendMsg called after CloseSend") - } - if !cs.desc.ClientStreams { - cs.sentLast = true - } - - // load hdr, payload, data - hdr, payload, data, err := prepareMsg(m, cs.codec, cs.cp, cs.comp) - if err != nil { - return err - } - - // TODO(dfawley): should we be checking len(data) instead? - if len(payload) > *cs.callInfo.maxSendMessageSize { - return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", len(payload), *cs.callInfo.maxSendMessageSize) - } - op := func(a *csAttempt) error { - return a.sendMsg(m, hdr, payload, data) - } - err = cs.withRetry(op, func() { cs.bufferForRetryLocked(len(hdr)+len(payload), op) }) - if cs.binlog != nil && err == nil { - cs.binlog.Log(&binarylog.ClientMessage{ - OnClientSide: true, - Message: data, - }) - } - return err -} - -func (cs *clientStream) RecvMsg(m interface{}) error { - if cs.binlog != nil && !cs.serverHeaderBinlogged { - // Call Header() to binary log header if it's not already logged. - cs.Header() - } - var recvInfo *payloadInfo - if cs.binlog != nil { - recvInfo = &payloadInfo{} - } - err := cs.withRetry(func(a *csAttempt) error { - return a.recvMsg(m, recvInfo) - }, cs.commitAttemptLocked) - if cs.binlog != nil && err == nil { - cs.binlog.Log(&binarylog.ServerMessage{ - OnClientSide: true, - Message: recvInfo.uncompressedBytes, - }) - } - if err != nil || !cs.desc.ServerStreams { - // err != nil or non-server-streaming indicates end of stream. - cs.finish(err) - - if cs.binlog != nil { - // finish will not log Trailer. Log Trailer here. - logEntry := &binarylog.ServerTrailer{ - OnClientSide: true, - Trailer: cs.Trailer(), - Err: err, - } - if logEntry.Err == io.EOF { - logEntry.Err = nil - } - if peer, ok := peer.FromContext(cs.Context()); ok { - logEntry.PeerAddr = peer.Addr - } - cs.binlog.Log(logEntry) - } - } - return err -} - -func (cs *clientStream) CloseSend() error { - if cs.sentLast { - // TODO: return an error and finish the stream instead, due to API misuse? - return nil - } - cs.sentLast = true - op := func(a *csAttempt) error { - a.t.Write(a.s, nil, nil, &transport.Options{Last: true}) - // Always return nil; io.EOF is the only error that might make sense - // instead, but there is no need to signal the client to call RecvMsg - // as the only use left for the stream after CloseSend is to call - // RecvMsg. This also matches historical behavior. - return nil - } - cs.withRetry(op, func() { cs.bufferForRetryLocked(0, op) }) - if cs.binlog != nil { - cs.binlog.Log(&binarylog.ClientHalfClose{ - OnClientSide: true, - }) - } - // We never returned an error here for reasons. - return nil -} - -func (cs *clientStream) finish(err error) { - if err == io.EOF { - // Ending a stream with EOF indicates a success. - err = nil - } - cs.mu.Lock() - if cs.finished { - cs.mu.Unlock() - return - } - cs.finished = true - cs.commitAttemptLocked() - if cs.attempt != nil { - cs.attempt.finish(err) - // after functions all rely upon having a stream. - if cs.attempt.s != nil { - for _, o := range cs.opts { - o.after(cs.callInfo, cs.attempt) - } - } - } - cs.mu.Unlock() - // For binary logging. only log cancel in finish (could be caused by RPC ctx - // canceled or ClientConn closed). Trailer will be logged in RecvMsg. - // - // Only one of cancel or trailer needs to be logged. In the cases where - // users don't call RecvMsg, users must have already canceled the RPC. - if cs.binlog != nil && status.Code(err) == codes.Canceled { - cs.binlog.Log(&binarylog.Cancel{ - OnClientSide: true, - }) - } - if err == nil { - cs.retryThrottler.successfulRPC() - } - if channelz.IsOn() { - if err != nil { - cs.cc.incrCallsFailed() - } else { - cs.cc.incrCallsSucceeded() - } - } - cs.cancel() -} - -func (a *csAttempt) sendMsg(m interface{}, hdr, payld, data []byte) error { - cs := a.cs - if a.trInfo != nil { - a.mu.Lock() - if a.trInfo.tr != nil { - a.trInfo.tr.LazyLog(&payload{sent: true, msg: m}, true) - } - a.mu.Unlock() - } - if err := a.t.Write(a.s, hdr, payld, &transport.Options{Last: !cs.desc.ClientStreams}); err != nil { - if !cs.desc.ClientStreams { - // For non-client-streaming RPCs, we return nil instead of EOF on error - // because the generated code requires it. finish is not called; RecvMsg() - // will call it with the stream's status independently. - return nil - } - return io.EOF - } - for _, sh := range a.statsHandlers { - sh.HandleRPC(a.ctx, outPayload(true, m, data, payld, time.Now())) - } - if channelz.IsOn() { - a.t.IncrMsgSent() - } - return nil -} - -func (a *csAttempt) recvMsg(m interface{}, payInfo *payloadInfo) (err error) { - cs := a.cs - if len(a.statsHandlers) != 0 && payInfo == nil { - payInfo = &payloadInfo{} - } - - if !a.decompSet { - // Block until we receive headers containing received message encoding. - if ct := a.s.RecvCompress(); ct != "" && ct != encoding.Identity { - if a.dc == nil || a.dc.Type() != ct { - // No configured decompressor, or it does not match the incoming - // message encoding; attempt to find a registered compressor that does. - a.dc = nil - a.decomp = encoding.GetCompressor(ct) - } - } else { - // No compression is used; disable our decompressor. - a.dc = nil - } - // Only initialize this state once per stream. - a.decompSet = true - } - err = recv(a.p, cs.codec, a.s, a.dc, m, *cs.callInfo.maxReceiveMessageSize, payInfo, a.decomp) - if err != nil { - if err == io.EOF { - if statusErr := a.s.Status().Err(); statusErr != nil { - return statusErr - } - return io.EOF // indicates successful end of stream. - } - return toRPCErr(err) - } - if a.trInfo != nil { - a.mu.Lock() - if a.trInfo.tr != nil { - a.trInfo.tr.LazyLog(&payload{sent: false, msg: m}, true) - } - a.mu.Unlock() - } - for _, sh := range a.statsHandlers { - sh.HandleRPC(a.ctx, &stats.InPayload{ - Client: true, - RecvTime: time.Now(), - Payload: m, - // TODO truncate large payload. - Data: payInfo.uncompressedBytes, - WireLength: payInfo.wireLength + headerLen, - Length: len(payInfo.uncompressedBytes), - }) - } - if channelz.IsOn() { - a.t.IncrMsgRecv() - } - if cs.desc.ServerStreams { - // Subsequent messages should be received by subsequent RecvMsg calls. - return nil - } - // Special handling for non-server-stream rpcs. - // This recv expects EOF or errors, so we don't collect inPayload. - err = recv(a.p, cs.codec, a.s, a.dc, m, *cs.callInfo.maxReceiveMessageSize, nil, a.decomp) - if err == nil { - return toRPCErr(errors.New("grpc: client streaming protocol violation: get , want ")) - } - if err == io.EOF { - return a.s.Status().Err() // non-server streaming Recv returns nil on success - } - return toRPCErr(err) -} - -func (a *csAttempt) finish(err error) { - a.mu.Lock() - if a.finished { - a.mu.Unlock() - return - } - a.finished = true - if err == io.EOF { - // Ending a stream with EOF indicates a success. - err = nil - } - var tr metadata.MD - if a.s != nil { - a.t.CloseStream(a.s, err) - tr = a.s.Trailer() - } - - if a.done != nil { - br := false - if a.s != nil { - br = a.s.BytesReceived() - } - a.done(balancer.DoneInfo{ - Err: err, - Trailer: tr, - BytesSent: a.s != nil, - BytesReceived: br, - ServerLoad: balancerload.Parse(tr), - }) - } - for _, sh := range a.statsHandlers { - end := &stats.End{ - Client: true, - BeginTime: a.beginTime, - EndTime: time.Now(), - Trailer: tr, - Error: err, - } - sh.HandleRPC(a.ctx, end) - } - if a.trInfo != nil && a.trInfo.tr != nil { - if err == nil { - a.trInfo.tr.LazyPrintf("RPC: [OK]") - } else { - a.trInfo.tr.LazyPrintf("RPC: [%v]", err) - a.trInfo.tr.SetError() - } - a.trInfo.tr.Finish() - a.trInfo.tr = nil - } - a.mu.Unlock() -} - -// newClientStream creates a ClientStream with the specified transport, on the -// given addrConn. -// -// It's expected that the given transport is either the same one in addrConn, or -// is already closed. To avoid race, transport is specified separately, instead -// of using ac.transpot. -// -// Main difference between this and ClientConn.NewStream: -// - no retry -// - no service config (or wait for service config) -// - no tracing or stats -func newNonRetryClientStream(ctx context.Context, desc *StreamDesc, method string, t transport.ClientTransport, ac *addrConn, opts ...CallOption) (_ ClientStream, err error) { - if t == nil { - // TODO: return RPC error here? - return nil, errors.New("transport provided is nil") - } - // defaultCallInfo contains unnecessary info(i.e. failfast, maxRetryRPCBufferSize), so we just initialize an empty struct. - c := &callInfo{} - - // Possible context leak: - // The cancel function for the child context we create will only be called - // when RecvMsg returns a non-nil error, if the ClientConn is closed, or if - // an error is generated by SendMsg. - // https://github.com/grpc/grpc-go/issues/1818. - ctx, cancel := context.WithCancel(ctx) - defer func() { - if err != nil { - cancel() - } - }() - - for _, o := range opts { - if err := o.before(c); err != nil { - return nil, toRPCErr(err) - } - } - c.maxReceiveMessageSize = getMaxSize(nil, c.maxReceiveMessageSize, defaultClientMaxReceiveMessageSize) - c.maxSendMessageSize = getMaxSize(nil, c.maxSendMessageSize, defaultServerMaxSendMessageSize) - if err := setCallInfoCodec(c); err != nil { - return nil, err - } - - callHdr := &transport.CallHdr{ - Host: ac.cc.authority, - Method: method, - ContentSubtype: c.contentSubtype, - } - - // Set our outgoing compression according to the UseCompressor CallOption, if - // set. In that case, also find the compressor from the encoding package. - // Otherwise, use the compressor configured by the WithCompressor DialOption, - // if set. - var cp Compressor - var comp encoding.Compressor - if ct := c.compressorType; ct != "" { - callHdr.SendCompress = ct - if ct != encoding.Identity { - comp = encoding.GetCompressor(ct) - if comp == nil { - return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct) - } - } - } else if ac.cc.dopts.cp != nil { - callHdr.SendCompress = ac.cc.dopts.cp.Type() - cp = ac.cc.dopts.cp - } - if c.creds != nil { - callHdr.Creds = c.creds - } - - // Use a special addrConnStream to avoid retry. - as := &addrConnStream{ - callHdr: callHdr, - ac: ac, - ctx: ctx, - cancel: cancel, - opts: opts, - callInfo: c, - desc: desc, - codec: c.codec, - cp: cp, - comp: comp, - t: t, - } - - s, err := as.t.NewStream(as.ctx, as.callHdr) - if err != nil { - err = toRPCErr(err) - return nil, err - } - as.s = s - as.p = &parser{r: s} - ac.incrCallsStarted() - if desc != unaryStreamDesc { - // Listen on cc and stream contexts to cleanup when the user closes the - // ClientConn or cancels the stream context. In all other cases, an error - // should already be injected into the recv buffer by the transport, which - // the client will eventually receive, and then we will cancel the stream's - // context in clientStream.finish. - go func() { - select { - case <-ac.ctx.Done(): - as.finish(status.Error(codes.Canceled, "grpc: the SubConn is closing")) - case <-ctx.Done(): - as.finish(toRPCErr(ctx.Err())) - } - }() - } - return as, nil -} - -type addrConnStream struct { - s *transport.Stream - ac *addrConn - callHdr *transport.CallHdr - cancel context.CancelFunc - opts []CallOption - callInfo *callInfo - t transport.ClientTransport - ctx context.Context - sentLast bool - desc *StreamDesc - codec baseCodec - cp Compressor - comp encoding.Compressor - decompSet bool - dc Decompressor - decomp encoding.Compressor - p *parser - mu sync.Mutex - finished bool -} - -func (as *addrConnStream) Header() (metadata.MD, error) { - m, err := as.s.Header() - if err != nil { - as.finish(toRPCErr(err)) - } - return m, err -} - -func (as *addrConnStream) Trailer() metadata.MD { - return as.s.Trailer() -} - -func (as *addrConnStream) CloseSend() error { - if as.sentLast { - // TODO: return an error and finish the stream instead, due to API misuse? - return nil - } - as.sentLast = true - - as.t.Write(as.s, nil, nil, &transport.Options{Last: true}) - // Always return nil; io.EOF is the only error that might make sense - // instead, but there is no need to signal the client to call RecvMsg - // as the only use left for the stream after CloseSend is to call - // RecvMsg. This also matches historical behavior. - return nil -} - -func (as *addrConnStream) Context() context.Context { - return as.s.Context() -} - -func (as *addrConnStream) SendMsg(m interface{}) (err error) { - defer func() { - if err != nil && err != io.EOF { - // Call finish on the client stream for errors generated by this SendMsg - // call, as these indicate problems created by this client. (Transport - // errors are converted to an io.EOF error in csAttempt.sendMsg; the real - // error will be returned from RecvMsg eventually in that case, or be - // retried.) - as.finish(err) - } - }() - if as.sentLast { - return status.Errorf(codes.Internal, "SendMsg called after CloseSend") - } - if !as.desc.ClientStreams { - as.sentLast = true - } - - // load hdr, payload, data - hdr, payld, _, err := prepareMsg(m, as.codec, as.cp, as.comp) - if err != nil { - return err - } - - // TODO(dfawley): should we be checking len(data) instead? - if len(payld) > *as.callInfo.maxSendMessageSize { - return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", len(payld), *as.callInfo.maxSendMessageSize) - } - - if err := as.t.Write(as.s, hdr, payld, &transport.Options{Last: !as.desc.ClientStreams}); err != nil { - if !as.desc.ClientStreams { - // For non-client-streaming RPCs, we return nil instead of EOF on error - // because the generated code requires it. finish is not called; RecvMsg() - // will call it with the stream's status independently. - return nil - } - return io.EOF - } - - if channelz.IsOn() { - as.t.IncrMsgSent() - } - return nil -} - -func (as *addrConnStream) RecvMsg(m interface{}) (err error) { - defer func() { - if err != nil || !as.desc.ServerStreams { - // err != nil or non-server-streaming indicates end of stream. - as.finish(err) - } - }() - - if !as.decompSet { - // Block until we receive headers containing received message encoding. - if ct := as.s.RecvCompress(); ct != "" && ct != encoding.Identity { - if as.dc == nil || as.dc.Type() != ct { - // No configured decompressor, or it does not match the incoming - // message encoding; attempt to find a registered compressor that does. - as.dc = nil - as.decomp = encoding.GetCompressor(ct) - } - } else { - // No compression is used; disable our decompressor. - as.dc = nil - } - // Only initialize this state once per stream. - as.decompSet = true - } - err = recv(as.p, as.codec, as.s, as.dc, m, *as.callInfo.maxReceiveMessageSize, nil, as.decomp) - if err != nil { - if err == io.EOF { - if statusErr := as.s.Status().Err(); statusErr != nil { - return statusErr - } - return io.EOF // indicates successful end of stream. - } - return toRPCErr(err) - } - - if channelz.IsOn() { - as.t.IncrMsgRecv() - } - if as.desc.ServerStreams { - // Subsequent messages should be received by subsequent RecvMsg calls. - return nil - } - - // Special handling for non-server-stream rpcs. - // This recv expects EOF or errors, so we don't collect inPayload. - err = recv(as.p, as.codec, as.s, as.dc, m, *as.callInfo.maxReceiveMessageSize, nil, as.decomp) - if err == nil { - return toRPCErr(errors.New("grpc: client streaming protocol violation: get , want ")) - } - if err == io.EOF { - return as.s.Status().Err() // non-server streaming Recv returns nil on success - } - return toRPCErr(err) -} - -func (as *addrConnStream) finish(err error) { - as.mu.Lock() - if as.finished { - as.mu.Unlock() - return - } - as.finished = true - if err == io.EOF { - // Ending a stream with EOF indicates a success. - err = nil - } - if as.s != nil { - as.t.CloseStream(as.s, err) - } - - if err != nil { - as.ac.incrCallsFailed() - } else { - as.ac.incrCallsSucceeded() - } - as.cancel() - as.mu.Unlock() -} - -// ServerStream defines the server-side behavior of a streaming RPC. -// -// Errors returned from ServerStream methods are compatible with the status -// package. However, the status code will often not match the RPC status as -// seen by the client application, and therefore, should not be relied upon for -// this purpose. -type ServerStream interface { - // SetHeader sets the header metadata. It may be called multiple times. - // When call multiple times, all the provided metadata will be merged. - // All the metadata will be sent out when one of the following happens: - // - ServerStream.SendHeader() is called; - // - The first response is sent out; - // - An RPC status is sent out (error or success). - SetHeader(metadata.MD) error - // SendHeader sends the header metadata. - // The provided md and headers set by SetHeader() will be sent. - // It fails if called multiple times. - SendHeader(metadata.MD) error - // SetTrailer sets the trailer metadata which will be sent with the RPC status. - // When called more than once, all the provided metadata will be merged. - SetTrailer(metadata.MD) - // Context returns the context for this stream. - Context() context.Context - // SendMsg sends a message. On error, SendMsg aborts the stream and the - // error is returned directly. - // - // SendMsg blocks until: - // - There is sufficient flow control to schedule m with the transport, or - // - The stream is done, or - // - The stream breaks. - // - // SendMsg does not wait until the message is received by the client. An - // untimely stream closure may result in lost messages. - // - // It is safe to have a goroutine calling SendMsg and another goroutine - // calling RecvMsg on the same stream at the same time, but it is not safe - // to call SendMsg on the same stream in different goroutines. - SendMsg(m interface{}) error - // RecvMsg blocks until it receives a message into m or the stream is - // done. It returns io.EOF when the client has performed a CloseSend. On - // any non-EOF error, the stream is aborted and the error contains the - // RPC status. - // - // It is safe to have a goroutine calling SendMsg and another goroutine - // calling RecvMsg on the same stream at the same time, but it is not - // safe to call RecvMsg on the same stream in different goroutines. - RecvMsg(m interface{}) error -} - -// serverStream implements a server side Stream. -type serverStream struct { - ctx context.Context - t transport.ServerTransport - s *transport.Stream - p *parser - codec baseCodec - - cp Compressor - dc Decompressor - comp encoding.Compressor - decomp encoding.Compressor - - maxReceiveMessageSize int - maxSendMessageSize int - trInfo *traceInfo - - statsHandler []stats.Handler - - binlog binarylog.MethodLogger - // serverHeaderBinlogged indicates whether server header has been logged. It - // will happen when one of the following two happens: stream.SendHeader(), - // stream.Send(). - // - // It's only checked in send and sendHeader, doesn't need to be - // synchronized. - serverHeaderBinlogged bool - - mu sync.Mutex // protects trInfo.tr after the service handler runs. -} - -func (ss *serverStream) Context() context.Context { - return ss.ctx -} - -func (ss *serverStream) SetHeader(md metadata.MD) error { - if md.Len() == 0 { - return nil - } - err := imetadata.Validate(md) - if err != nil { - return status.Error(codes.Internal, err.Error()) - } - return ss.s.SetHeader(md) -} - -func (ss *serverStream) SendHeader(md metadata.MD) error { - err := imetadata.Validate(md) - if err != nil { - return status.Error(codes.Internal, err.Error()) - } - - err = ss.t.WriteHeader(ss.s, md) - if ss.binlog != nil && !ss.serverHeaderBinlogged { - h, _ := ss.s.Header() - ss.binlog.Log(&binarylog.ServerHeader{ - Header: h, - }) - ss.serverHeaderBinlogged = true - } - return err -} - -func (ss *serverStream) SetTrailer(md metadata.MD) { - if md.Len() == 0 { - return - } - if err := imetadata.Validate(md); err != nil { - logger.Errorf("stream: failed to validate md when setting trailer, err: %v", err) - } - ss.s.SetTrailer(md) -} - -func (ss *serverStream) SendMsg(m interface{}) (err error) { - defer func() { - if ss.trInfo != nil { - ss.mu.Lock() - if ss.trInfo.tr != nil { - if err == nil { - ss.trInfo.tr.LazyLog(&payload{sent: true, msg: m}, true) - } else { - ss.trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true) - ss.trInfo.tr.SetError() - } - } - ss.mu.Unlock() - } - if err != nil && err != io.EOF { - st, _ := status.FromError(toRPCErr(err)) - ss.t.WriteStatus(ss.s, st) - // Non-user specified status was sent out. This should be an error - // case (as a server side Cancel maybe). - // - // This is not handled specifically now. User will return a final - // status from the service handler, we will log that error instead. - // This behavior is similar to an interceptor. - } - if channelz.IsOn() && err == nil { - ss.t.IncrMsgSent() - } - }() - - // load hdr, payload, data - hdr, payload, data, err := prepareMsg(m, ss.codec, ss.cp, ss.comp) - if err != nil { - return err - } - - // TODO(dfawley): should we be checking len(data) instead? - if len(payload) > ss.maxSendMessageSize { - return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", len(payload), ss.maxSendMessageSize) - } - if err := ss.t.Write(ss.s, hdr, payload, &transport.Options{Last: false}); err != nil { - return toRPCErr(err) - } - if ss.binlog != nil { - if !ss.serverHeaderBinlogged { - h, _ := ss.s.Header() - ss.binlog.Log(&binarylog.ServerHeader{ - Header: h, - }) - ss.serverHeaderBinlogged = true - } - ss.binlog.Log(&binarylog.ServerMessage{ - Message: data, - }) - } - if len(ss.statsHandler) != 0 { - for _, sh := range ss.statsHandler { - sh.HandleRPC(ss.s.Context(), outPayload(false, m, data, payload, time.Now())) - } - } - return nil -} - -func (ss *serverStream) RecvMsg(m interface{}) (err error) { - defer func() { - if ss.trInfo != nil { - ss.mu.Lock() - if ss.trInfo.tr != nil { - if err == nil { - ss.trInfo.tr.LazyLog(&payload{sent: false, msg: m}, true) - } else if err != io.EOF { - ss.trInfo.tr.LazyLog(&fmtStringer{"%v", []interface{}{err}}, true) - ss.trInfo.tr.SetError() - } - } - ss.mu.Unlock() - } - if err != nil && err != io.EOF { - st, _ := status.FromError(toRPCErr(err)) - ss.t.WriteStatus(ss.s, st) - // Non-user specified status was sent out. This should be an error - // case (as a server side Cancel maybe). - // - // This is not handled specifically now. User will return a final - // status from the service handler, we will log that error instead. - // This behavior is similar to an interceptor. - } - if channelz.IsOn() && err == nil { - ss.t.IncrMsgRecv() - } - }() - var payInfo *payloadInfo - if len(ss.statsHandler) != 0 || ss.binlog != nil { - payInfo = &payloadInfo{} - } - if err := recv(ss.p, ss.codec, ss.s, ss.dc, m, ss.maxReceiveMessageSize, payInfo, ss.decomp); err != nil { - if err == io.EOF { - if ss.binlog != nil { - ss.binlog.Log(&binarylog.ClientHalfClose{}) - } - return err - } - if err == io.ErrUnexpectedEOF { - err = status.Errorf(codes.Internal, io.ErrUnexpectedEOF.Error()) - } - return toRPCErr(err) - } - if len(ss.statsHandler) != 0 { - for _, sh := range ss.statsHandler { - sh.HandleRPC(ss.s.Context(), &stats.InPayload{ - RecvTime: time.Now(), - Payload: m, - // TODO truncate large payload. - Data: payInfo.uncompressedBytes, - WireLength: payInfo.wireLength + headerLen, - Length: len(payInfo.uncompressedBytes), - }) - } - } - if ss.binlog != nil { - ss.binlog.Log(&binarylog.ClientMessage{ - Message: payInfo.uncompressedBytes, - }) - } - return nil -} - -// MethodFromServerStream returns the method string for the input stream. -// The returned string is in the format of "/service/method". -func MethodFromServerStream(stream ServerStream) (string, bool) { - return Method(stream.Context()) -} - -// prepareMsg returns the hdr, payload and data -// using the compressors passed or using the -// passed preparedmsg -func prepareMsg(m interface{}, codec baseCodec, cp Compressor, comp encoding.Compressor) (hdr, payload, data []byte, err error) { - if preparedMsg, ok := m.(*PreparedMsg); ok { - return preparedMsg.hdr, preparedMsg.payload, preparedMsg.encodedData, nil - } - // The input interface is not a prepared msg. - // Marshal and Compress the data at this point - data, err = encode(codec, m) - if err != nil { - return nil, nil, nil, err - } - compData, err := compress(data, cp, comp) - if err != nil { - return nil, nil, nil, err - } - hdr, payload = msgHeader(data, compData) - return hdr, payload, data, nil -} diff --git a/vendor/google.golang.org/grpc/tap/tap.go b/vendor/google.golang.org/grpc/tap/tap.go deleted file mode 100644 index dbf34e6b..00000000 --- a/vendor/google.golang.org/grpc/tap/tap.go +++ /dev/null @@ -1,56 +0,0 @@ -/* - * - * Copyright 2016 gRPC 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 tap defines the function handles which are executed on the transport -// layer of gRPC-Go and related information. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. -package tap - -import ( - "context" -) - -// Info defines the relevant information needed by the handles. -type Info struct { - // FullMethodName is the string of grpc method (in the format of - // /package.service/method). - FullMethodName string - // TODO: More to be added. -} - -// ServerInHandle defines the function which runs before a new stream is -// created on the server side. If it returns a non-nil error, the stream will -// not be created and an error will be returned to the client. If the error -// returned is a status error, that status code and message will be used, -// otherwise PermissionDenied will be the code and err.Error() will be the -// message. -// -// It's intended to be used in situations where you don't want to waste the -// resources to accept the new stream (e.g. rate-limiting). For other general -// usages, please use interceptors. -// -// Note that it is executed in the per-connection I/O goroutine(s) instead of -// per-RPC goroutine. Therefore, users should NOT have any -// blocking/time-consuming work in this handle. Otherwise all the RPCs would -// slow down. Also, for the same reason, this handle won't be called -// concurrently by gRPC. -type ServerInHandle func(ctx context.Context, info *Info) (context.Context, error) diff --git a/vendor/google.golang.org/grpc/trace.go b/vendor/google.golang.org/grpc/trace.go deleted file mode 100644 index 07a2d26b..00000000 --- a/vendor/google.golang.org/grpc/trace.go +++ /dev/null @@ -1,123 +0,0 @@ -/* - * - * Copyright 2015 gRPC 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 grpc - -import ( - "bytes" - "fmt" - "io" - "net" - "strings" - "sync" - "time" - - "golang.org/x/net/trace" -) - -// EnableTracing controls whether to trace RPCs using the golang.org/x/net/trace package. -// This should only be set before any RPCs are sent or received by this program. -var EnableTracing bool - -// methodFamily returns the trace family for the given method. -// It turns "/pkg.Service/GetFoo" into "pkg.Service". -func methodFamily(m string) string { - m = strings.TrimPrefix(m, "/") // remove leading slash - if i := strings.Index(m, "/"); i >= 0 { - m = m[:i] // remove everything from second slash - } - return m -} - -// traceInfo contains tracing information for an RPC. -type traceInfo struct { - tr trace.Trace - firstLine firstLine -} - -// firstLine is the first line of an RPC trace. -// It may be mutated after construction; remoteAddr specifically may change -// during client-side use. -type firstLine struct { - mu sync.Mutex - client bool // whether this is a client (outgoing) RPC - remoteAddr net.Addr - deadline time.Duration // may be zero -} - -func (f *firstLine) SetRemoteAddr(addr net.Addr) { - f.mu.Lock() - f.remoteAddr = addr - f.mu.Unlock() -} - -func (f *firstLine) String() string { - f.mu.Lock() - defer f.mu.Unlock() - - var line bytes.Buffer - io.WriteString(&line, "RPC: ") - if f.client { - io.WriteString(&line, "to") - } else { - io.WriteString(&line, "from") - } - fmt.Fprintf(&line, " %v deadline:", f.remoteAddr) - if f.deadline != 0 { - fmt.Fprint(&line, f.deadline) - } else { - io.WriteString(&line, "none") - } - return line.String() -} - -const truncateSize = 100 - -func truncate(x string, l int) string { - if l > len(x) { - return x - } - return x[:l] -} - -// payload represents an RPC request or response payload. -type payload struct { - sent bool // whether this is an outgoing payload - msg interface{} // e.g. a proto.Message - // TODO(dsymonds): add stringifying info to codec, and limit how much we hold here? -} - -func (p payload) String() string { - if p.sent { - return truncate(fmt.Sprintf("sent: %v", p.msg), truncateSize) - } - return truncate(fmt.Sprintf("recv: %v", p.msg), truncateSize) -} - -type fmtStringer struct { - format string - a []interface{} -} - -func (f *fmtStringer) String() string { - return fmt.Sprintf(f.format, f.a...) -} - -type stringer string - -func (s stringer) String() string { return string(s) } diff --git a/vendor/google.golang.org/grpc/version.go b/vendor/google.golang.org/grpc/version.go deleted file mode 100644 index 8934f06b..00000000 --- a/vendor/google.golang.org/grpc/version.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - * - * Copyright 2018 gRPC 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 grpc - -// Version is the current grpc version. -const Version = "1.49.0" diff --git a/vendor/google.golang.org/grpc/vet.sh b/vendor/google.golang.org/grpc/vet.sh deleted file mode 100644 index c3fc8253..00000000 --- a/vendor/google.golang.org/grpc/vet.sh +++ /dev/null @@ -1,210 +0,0 @@ -#!/bin/bash - -set -ex # Exit on error; debugging enabled. -set -o pipefail # Fail a pipe if any sub-command fails. - -# not makes sure the command passed to it does not exit with a return code of 0. -not() { - # This is required instead of the earlier (! $COMMAND) because subshells and - # pipefail don't work the same on Darwin as in Linux. - ! "$@" -} - -die() { - echo "$@" >&2 - exit 1 -} - -fail_on_output() { - tee /dev/stderr | not read -} - -# Check to make sure it's safe to modify the user's git repo. -git status --porcelain | fail_on_output - -# Undo any edits made by this script. -cleanup() { - git reset --hard HEAD -} -trap cleanup EXIT - -PATH="${HOME}/go/bin:${GOROOT}/bin:${PATH}" -go version - -if [[ "$1" = "-install" ]]; then - # Install the pinned versions as defined in module tools. - pushd ./test/tools - go install \ - golang.org/x/lint/golint \ - golang.org/x/tools/cmd/goimports \ - honnef.co/go/tools/cmd/staticcheck \ - github.com/client9/misspell/cmd/misspell - popd - if [[ -z "${VET_SKIP_PROTO}" ]]; then - if [[ "${TRAVIS}" = "true" ]]; then - PROTOBUF_VERSION=3.14.0 - PROTOC_FILENAME=protoc-${PROTOBUF_VERSION}-linux-x86_64.zip - pushd /home/travis - wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/${PROTOC_FILENAME} - unzip ${PROTOC_FILENAME} - bin/protoc --version - popd - elif [[ "${GITHUB_ACTIONS}" = "true" ]]; then - PROTOBUF_VERSION=3.14.0 - PROTOC_FILENAME=protoc-${PROTOBUF_VERSION}-linux-x86_64.zip - pushd /home/runner/go - wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/${PROTOC_FILENAME} - unzip ${PROTOC_FILENAME} - bin/protoc --version - popd - elif not which protoc > /dev/null; then - die "Please install protoc into your path" - fi - fi - exit 0 -elif [[ "$#" -ne 0 ]]; then - die "Unknown argument(s): $*" -fi - -# - Ensure all source files contain a copyright message. -not git grep -L "\(Copyright [0-9]\{4,\} gRPC authors\)\|DO NOT EDIT" -- '*.go' - -# - Make sure all tests in grpc and grpc/test use leakcheck via Teardown. -not grep 'func Test[^(]' *_test.go -not grep 'func Test[^(]' test/*.go - -# - Do not import x/net/context. -not git grep -l 'x/net/context' -- "*.go" - -# - Do not import math/rand for real library code. Use internal/grpcrand for -# thread safety. -git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^stress\|grpcrand\|^benchmark\|wrr_test' - -# - Do not call grpclog directly. Use grpclog.Component instead. -git grep -l 'grpclog.I\|grpclog.W\|grpclog.E\|grpclog.F\|grpclog.V' -- "*.go" | not grep -v '^grpclog/component.go\|^internal/grpctest/tlogger_test.go' - -# - Ensure all ptypes proto packages are renamed when importing. -not git grep "\(import \|^\s*\)\"github.com/golang/protobuf/ptypes/" -- "*.go" - -# - Ensure all xds proto imports are renamed to *pb or *grpc. -git grep '"github.com/envoyproxy/go-control-plane/envoy' -- '*.go' ':(exclude)*.pb.go' | not grep -v 'pb "\|grpc "' - -misspell -error . - -# - Check that generated proto files are up to date. -if [[ -z "${VET_SKIP_PROTO}" ]]; then - PATH="/home/travis/bin:${PATH}" make proto && \ - git status --porcelain 2>&1 | fail_on_output || \ - (git status; git --no-pager diff; exit 1) -fi - -# - gofmt, goimports, golint (with exceptions for generated code), go vet, -# go mod tidy. -# Perform these checks on each module inside gRPC. -for MOD_FILE in $(find . -name 'go.mod'); do - MOD_DIR=$(dirname ${MOD_FILE}) - pushd ${MOD_DIR} - go vet -all ./... | fail_on_output - gofmt -s -d -l . 2>&1 | fail_on_output - goimports -l . 2>&1 | not grep -vE "\.pb\.go" - golint ./... 2>&1 | not grep -vE "/grpc_testing_not_regenerate/.*\.pb\.go:" - - go mod tidy - git status --porcelain 2>&1 | fail_on_output || \ - (git status; git --no-pager diff; exit 1) - popd -done - -# - Collection of static analysis checks -# -# TODO(dfawley): don't use deprecated functions in examples or first-party -# plugins. -SC_OUT="$(mktemp)" -staticcheck -go 1.9 -checks 'inherit,-ST1015' ./... > "${SC_OUT}" || true -# Error if anything other than deprecation warnings are printed. -not grep -v "is deprecated:.*SA1019" "${SC_OUT}" -# Only ignore the following deprecated types/fields/functions. -not grep -Fv '.CredsBundle -.HeaderMap -.Metadata is deprecated: use Attributes -.NewAddress -.NewServiceConfig -.Type is deprecated: use Attributes -BuildVersion is deprecated -balancer.ErrTransientFailure -balancer.Picker -extDesc.Filename is deprecated -github.com/golang/protobuf/jsonpb is deprecated -grpc.CallCustomCodec -grpc.Code -grpc.Compressor -grpc.CustomCodec -grpc.Decompressor -grpc.MaxMsgSize -grpc.MethodConfig -grpc.NewGZIPCompressor -grpc.NewGZIPDecompressor -grpc.RPCCompressor -grpc.RPCDecompressor -grpc.ServiceConfig -grpc.WithCompressor -grpc.WithDecompressor -grpc.WithDialer -grpc.WithMaxMsgSize -grpc.WithServiceConfig -grpc.WithTimeout -http.CloseNotifier -info.SecurityVersion -proto is deprecated -proto.InternalMessageInfo is deprecated -proto.EnumName is deprecated -proto.ErrInternalBadWireType is deprecated -proto.FileDescriptor is deprecated -proto.Marshaler is deprecated -proto.MessageType is deprecated -proto.RegisterEnum is deprecated -proto.RegisterFile is deprecated -proto.RegisterType is deprecated -proto.RegisterExtension is deprecated -proto.RegisteredExtension is deprecated -proto.RegisteredExtensions is deprecated -proto.RegisterMapType is deprecated -proto.Unmarshaler is deprecated -resolver.Backend -resolver.GRPCLB -Target is deprecated: Use the Target field in the BuildOptions instead. -xxx_messageInfo_ -' "${SC_OUT}" - -# - special golint on package comments. -lint_package_comment_per_package() { - # Number of files in this go package. - fileCount=$(go list -f '{{len .GoFiles}}' $1) - if [ ${fileCount} -eq 0 ]; then - return 0 - fi - # Number of package errors generated by golint. - lintPackageCommentErrorsCount=$(golint --min_confidence 0 $1 | grep -c "should have a package comment") - # golint complains about every file that's missing the package comment. If the - # number of files for this package is greater than the number of errors, there's - # at least one file with package comment, good. Otherwise, fail. - if [ ${fileCount} -le ${lintPackageCommentErrorsCount} ]; then - echo "Package $1 (with ${fileCount} files) is missing package comment" - return 1 - fi -} -lint_package_comment() { - set +ex - - count=0 - for i in $(go list ./...); do - lint_package_comment_per_package "$i" - ((count += $?)) - done - - set -ex - return $count -} -lint_package_comment - -echo SUCCESS diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go deleted file mode 100644 index 5f28148d..00000000 --- a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go +++ /dev/null @@ -1,665 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package protojson - -import ( - "encoding/base64" - "fmt" - "math" - "strconv" - "strings" - - "google.golang.org/protobuf/internal/encoding/json" - "google.golang.org/protobuf/internal/encoding/messageset" - "google.golang.org/protobuf/internal/errors" - "google.golang.org/protobuf/internal/flags" - "google.golang.org/protobuf/internal/genid" - "google.golang.org/protobuf/internal/pragma" - "google.golang.org/protobuf/internal/set" - "google.golang.org/protobuf/proto" - "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" -) - -// Unmarshal reads the given []byte into the given proto.Message. -// The provided message must be mutable (e.g., a non-nil pointer to a message). -func Unmarshal(b []byte, m proto.Message) error { - return UnmarshalOptions{}.Unmarshal(b, m) -} - -// UnmarshalOptions is a configurable JSON format parser. -type UnmarshalOptions struct { - pragma.NoUnkeyedLiterals - - // If AllowPartial is set, input for messages that will result in missing - // required fields will not return an error. - AllowPartial bool - - // If DiscardUnknown is set, unknown fields are ignored. - DiscardUnknown bool - - // Resolver is used for looking up types when unmarshaling - // google.protobuf.Any messages or extension fields. - // If nil, this defaults to using protoregistry.GlobalTypes. - Resolver interface { - protoregistry.MessageTypeResolver - protoregistry.ExtensionTypeResolver - } -} - -// Unmarshal reads the given []byte and populates the given proto.Message -// using options in the UnmarshalOptions object. -// It will clear the message first before setting the fields. -// If it returns an error, the given message may be partially set. -// The provided message must be mutable (e.g., a non-nil pointer to a message). -func (o UnmarshalOptions) Unmarshal(b []byte, m proto.Message) error { - return o.unmarshal(b, m) -} - -// unmarshal is a centralized function that all unmarshal operations go through. -// For profiling purposes, avoid changing the name of this function or -// introducing other code paths for unmarshal that do not go through this. -func (o UnmarshalOptions) unmarshal(b []byte, m proto.Message) error { - proto.Reset(m) - - if o.Resolver == nil { - o.Resolver = protoregistry.GlobalTypes - } - - dec := decoder{json.NewDecoder(b), o} - if err := dec.unmarshalMessage(m.ProtoReflect(), false); err != nil { - return err - } - - // Check for EOF. - tok, err := dec.Read() - if err != nil { - return err - } - if tok.Kind() != json.EOF { - return dec.unexpectedTokenError(tok) - } - - if o.AllowPartial { - return nil - } - return proto.CheckInitialized(m) -} - -type decoder struct { - *json.Decoder - opts UnmarshalOptions -} - -// newError returns an error object with position info. -func (d decoder) newError(pos int, f string, x ...interface{}) error { - line, column := d.Position(pos) - head := fmt.Sprintf("(line %d:%d): ", line, column) - return errors.New(head+f, x...) -} - -// unexpectedTokenError returns a syntax error for the given unexpected token. -func (d decoder) unexpectedTokenError(tok json.Token) error { - return d.syntaxError(tok.Pos(), "unexpected token %s", tok.RawString()) -} - -// syntaxError returns a syntax error for given position. -func (d decoder) syntaxError(pos int, f string, x ...interface{}) error { - line, column := d.Position(pos) - head := fmt.Sprintf("syntax error (line %d:%d): ", line, column) - return errors.New(head+f, x...) -} - -// unmarshalMessage unmarshals a message into the given protoreflect.Message. -func (d decoder) unmarshalMessage(m protoreflect.Message, skipTypeURL bool) error { - if unmarshal := wellKnownTypeUnmarshaler(m.Descriptor().FullName()); unmarshal != nil { - return unmarshal(d, m) - } - - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.ObjectOpen { - return d.unexpectedTokenError(tok) - } - - messageDesc := m.Descriptor() - if !flags.ProtoLegacy && messageset.IsMessageSet(messageDesc) { - return errors.New("no support for proto1 MessageSets") - } - - var seenNums set.Ints - var seenOneofs set.Ints - fieldDescs := messageDesc.Fields() - for { - // Read field name. - tok, err := d.Read() - if err != nil { - return err - } - switch tok.Kind() { - default: - return d.unexpectedTokenError(tok) - case json.ObjectClose: - return nil - case json.Name: - // Continue below. - } - - name := tok.Name() - // Unmarshaling a non-custom embedded message in Any will contain the - // JSON field "@type" which should be skipped because it is not a field - // of the embedded message, but simply an artifact of the Any format. - if skipTypeURL && name == "@type" { - d.Read() - continue - } - - // Get the FieldDescriptor. - var fd protoreflect.FieldDescriptor - if strings.HasPrefix(name, "[") && strings.HasSuffix(name, "]") { - // Only extension names are in [name] format. - extName := protoreflect.FullName(name[1 : len(name)-1]) - extType, err := d.opts.Resolver.FindExtensionByName(extName) - if err != nil && err != protoregistry.NotFound { - return d.newError(tok.Pos(), "unable to resolve %s: %v", tok.RawString(), err) - } - if extType != nil { - fd = extType.TypeDescriptor() - if !messageDesc.ExtensionRanges().Has(fd.Number()) || fd.ContainingMessage().FullName() != messageDesc.FullName() { - return d.newError(tok.Pos(), "message %v cannot be extended by %v", messageDesc.FullName(), fd.FullName()) - } - } - } else { - // The name can either be the JSON name or the proto field name. - fd = fieldDescs.ByJSONName(name) - if fd == nil { - fd = fieldDescs.ByTextName(name) - } - } - if flags.ProtoLegacy { - if fd != nil && fd.IsWeak() && fd.Message().IsPlaceholder() { - fd = nil // reset since the weak reference is not linked in - } - } - - if fd == nil { - // Field is unknown. - if d.opts.DiscardUnknown { - if err := d.skipJSONValue(); err != nil { - return err - } - continue - } - return d.newError(tok.Pos(), "unknown field %v", tok.RawString()) - } - - // Do not allow duplicate fields. - num := uint64(fd.Number()) - if seenNums.Has(num) { - return d.newError(tok.Pos(), "duplicate field %v", tok.RawString()) - } - seenNums.Set(num) - - // No need to set values for JSON null unless the field type is - // google.protobuf.Value or google.protobuf.NullValue. - if tok, _ := d.Peek(); tok.Kind() == json.Null && !isKnownValue(fd) && !isNullValue(fd) { - d.Read() - continue - } - - switch { - case fd.IsList(): - list := m.Mutable(fd).List() - if err := d.unmarshalList(list, fd); err != nil { - return err - } - case fd.IsMap(): - mmap := m.Mutable(fd).Map() - if err := d.unmarshalMap(mmap, fd); err != nil { - return err - } - default: - // If field is a oneof, check if it has already been set. - if od := fd.ContainingOneof(); od != nil { - idx := uint64(od.Index()) - if seenOneofs.Has(idx) { - return d.newError(tok.Pos(), "error parsing %s, oneof %v is already set", tok.RawString(), od.FullName()) - } - seenOneofs.Set(idx) - } - - // Required or optional fields. - if err := d.unmarshalSingular(m, fd); err != nil { - return err - } - } - } -} - -func isKnownValue(fd protoreflect.FieldDescriptor) bool { - md := fd.Message() - return md != nil && md.FullName() == genid.Value_message_fullname -} - -func isNullValue(fd protoreflect.FieldDescriptor) bool { - ed := fd.Enum() - return ed != nil && ed.FullName() == genid.NullValue_enum_fullname -} - -// unmarshalSingular unmarshals to the non-repeated field specified -// by the given FieldDescriptor. -func (d decoder) unmarshalSingular(m protoreflect.Message, fd protoreflect.FieldDescriptor) error { - var val protoreflect.Value - var err error - switch fd.Kind() { - case protoreflect.MessageKind, protoreflect.GroupKind: - val = m.NewField(fd) - err = d.unmarshalMessage(val.Message(), false) - default: - val, err = d.unmarshalScalar(fd) - } - - if err != nil { - return err - } - m.Set(fd, val) - return nil -} - -// unmarshalScalar unmarshals to a scalar/enum protoreflect.Value specified by -// the given FieldDescriptor. -func (d decoder) unmarshalScalar(fd protoreflect.FieldDescriptor) (protoreflect.Value, error) { - const b32 int = 32 - const b64 int = 64 - - tok, err := d.Read() - if err != nil { - return protoreflect.Value{}, err - } - - kind := fd.Kind() - switch kind { - case protoreflect.BoolKind: - if tok.Kind() == json.Bool { - return protoreflect.ValueOfBool(tok.Bool()), nil - } - - case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind: - if v, ok := unmarshalInt(tok, b32); ok { - return v, nil - } - - case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind: - if v, ok := unmarshalInt(tok, b64); ok { - return v, nil - } - - case protoreflect.Uint32Kind, protoreflect.Fixed32Kind: - if v, ok := unmarshalUint(tok, b32); ok { - return v, nil - } - - case protoreflect.Uint64Kind, protoreflect.Fixed64Kind: - if v, ok := unmarshalUint(tok, b64); ok { - return v, nil - } - - case protoreflect.FloatKind: - if v, ok := unmarshalFloat(tok, b32); ok { - return v, nil - } - - case protoreflect.DoubleKind: - if v, ok := unmarshalFloat(tok, b64); ok { - return v, nil - } - - case protoreflect.StringKind: - if tok.Kind() == json.String { - return protoreflect.ValueOfString(tok.ParsedString()), nil - } - - case protoreflect.BytesKind: - if v, ok := unmarshalBytes(tok); ok { - return v, nil - } - - case protoreflect.EnumKind: - if v, ok := unmarshalEnum(tok, fd); ok { - return v, nil - } - - default: - panic(fmt.Sprintf("unmarshalScalar: invalid scalar kind %v", kind)) - } - - return protoreflect.Value{}, d.newError(tok.Pos(), "invalid value for %v type: %v", kind, tok.RawString()) -} - -func unmarshalInt(tok json.Token, bitSize int) (protoreflect.Value, bool) { - switch tok.Kind() { - case json.Number: - return getInt(tok, bitSize) - - case json.String: - // Decode number from string. - s := strings.TrimSpace(tok.ParsedString()) - if len(s) != len(tok.ParsedString()) { - return protoreflect.Value{}, false - } - dec := json.NewDecoder([]byte(s)) - tok, err := dec.Read() - if err != nil { - return protoreflect.Value{}, false - } - return getInt(tok, bitSize) - } - return protoreflect.Value{}, false -} - -func getInt(tok json.Token, bitSize int) (protoreflect.Value, bool) { - n, ok := tok.Int(bitSize) - if !ok { - return protoreflect.Value{}, false - } - if bitSize == 32 { - return protoreflect.ValueOfInt32(int32(n)), true - } - return protoreflect.ValueOfInt64(n), true -} - -func unmarshalUint(tok json.Token, bitSize int) (protoreflect.Value, bool) { - switch tok.Kind() { - case json.Number: - return getUint(tok, bitSize) - - case json.String: - // Decode number from string. - s := strings.TrimSpace(tok.ParsedString()) - if len(s) != len(tok.ParsedString()) { - return protoreflect.Value{}, false - } - dec := json.NewDecoder([]byte(s)) - tok, err := dec.Read() - if err != nil { - return protoreflect.Value{}, false - } - return getUint(tok, bitSize) - } - return protoreflect.Value{}, false -} - -func getUint(tok json.Token, bitSize int) (protoreflect.Value, bool) { - n, ok := tok.Uint(bitSize) - if !ok { - return protoreflect.Value{}, false - } - if bitSize == 32 { - return protoreflect.ValueOfUint32(uint32(n)), true - } - return protoreflect.ValueOfUint64(n), true -} - -func unmarshalFloat(tok json.Token, bitSize int) (protoreflect.Value, bool) { - switch tok.Kind() { - case json.Number: - return getFloat(tok, bitSize) - - case json.String: - s := tok.ParsedString() - switch s { - case "NaN": - if bitSize == 32 { - return protoreflect.ValueOfFloat32(float32(math.NaN())), true - } - return protoreflect.ValueOfFloat64(math.NaN()), true - case "Infinity": - if bitSize == 32 { - return protoreflect.ValueOfFloat32(float32(math.Inf(+1))), true - } - return protoreflect.ValueOfFloat64(math.Inf(+1)), true - case "-Infinity": - if bitSize == 32 { - return protoreflect.ValueOfFloat32(float32(math.Inf(-1))), true - } - return protoreflect.ValueOfFloat64(math.Inf(-1)), true - } - - // Decode number from string. - if len(s) != len(strings.TrimSpace(s)) { - return protoreflect.Value{}, false - } - dec := json.NewDecoder([]byte(s)) - tok, err := dec.Read() - if err != nil { - return protoreflect.Value{}, false - } - return getFloat(tok, bitSize) - } - return protoreflect.Value{}, false -} - -func getFloat(tok json.Token, bitSize int) (protoreflect.Value, bool) { - n, ok := tok.Float(bitSize) - if !ok { - return protoreflect.Value{}, false - } - if bitSize == 32 { - return protoreflect.ValueOfFloat32(float32(n)), true - } - return protoreflect.ValueOfFloat64(n), true -} - -func unmarshalBytes(tok json.Token) (protoreflect.Value, bool) { - if tok.Kind() != json.String { - return protoreflect.Value{}, false - } - - s := tok.ParsedString() - enc := base64.StdEncoding - if strings.ContainsAny(s, "-_") { - enc = base64.URLEncoding - } - if len(s)%4 != 0 { - enc = enc.WithPadding(base64.NoPadding) - } - b, err := enc.DecodeString(s) - if err != nil { - return protoreflect.Value{}, false - } - return protoreflect.ValueOfBytes(b), true -} - -func unmarshalEnum(tok json.Token, fd protoreflect.FieldDescriptor) (protoreflect.Value, bool) { - switch tok.Kind() { - case json.String: - // Lookup EnumNumber based on name. - s := tok.ParsedString() - if enumVal := fd.Enum().Values().ByName(protoreflect.Name(s)); enumVal != nil { - return protoreflect.ValueOfEnum(enumVal.Number()), true - } - - case json.Number: - if n, ok := tok.Int(32); ok { - return protoreflect.ValueOfEnum(protoreflect.EnumNumber(n)), true - } - - case json.Null: - // This is only valid for google.protobuf.NullValue. - if isNullValue(fd) { - return protoreflect.ValueOfEnum(0), true - } - } - - return protoreflect.Value{}, false -} - -func (d decoder) unmarshalList(list protoreflect.List, fd protoreflect.FieldDescriptor) error { - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.ArrayOpen { - return d.unexpectedTokenError(tok) - } - - switch fd.Kind() { - case protoreflect.MessageKind, protoreflect.GroupKind: - for { - tok, err := d.Peek() - if err != nil { - return err - } - - if tok.Kind() == json.ArrayClose { - d.Read() - return nil - } - - val := list.NewElement() - if err := d.unmarshalMessage(val.Message(), false); err != nil { - return err - } - list.Append(val) - } - default: - for { - tok, err := d.Peek() - if err != nil { - return err - } - - if tok.Kind() == json.ArrayClose { - d.Read() - return nil - } - - val, err := d.unmarshalScalar(fd) - if err != nil { - return err - } - list.Append(val) - } - } - - return nil -} - -func (d decoder) unmarshalMap(mmap protoreflect.Map, fd protoreflect.FieldDescriptor) error { - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.ObjectOpen { - return d.unexpectedTokenError(tok) - } - - // Determine ahead whether map entry is a scalar type or a message type in - // order to call the appropriate unmarshalMapValue func inside the for loop - // below. - var unmarshalMapValue func() (protoreflect.Value, error) - switch fd.MapValue().Kind() { - case protoreflect.MessageKind, protoreflect.GroupKind: - unmarshalMapValue = func() (protoreflect.Value, error) { - val := mmap.NewValue() - if err := d.unmarshalMessage(val.Message(), false); err != nil { - return protoreflect.Value{}, err - } - return val, nil - } - default: - unmarshalMapValue = func() (protoreflect.Value, error) { - return d.unmarshalScalar(fd.MapValue()) - } - } - -Loop: - for { - // Read field name. - tok, err := d.Read() - if err != nil { - return err - } - switch tok.Kind() { - default: - return d.unexpectedTokenError(tok) - case json.ObjectClose: - break Loop - case json.Name: - // Continue. - } - - // Unmarshal field name. - pkey, err := d.unmarshalMapKey(tok, fd.MapKey()) - if err != nil { - return err - } - - // Check for duplicate field name. - if mmap.Has(pkey) { - return d.newError(tok.Pos(), "duplicate map key %v", tok.RawString()) - } - - // Read and unmarshal field value. - pval, err := unmarshalMapValue() - if err != nil { - return err - } - - mmap.Set(pkey, pval) - } - - return nil -} - -// unmarshalMapKey converts given token of Name kind into a protoreflect.MapKey. -// A map key type is any integral or string type. -func (d decoder) unmarshalMapKey(tok json.Token, fd protoreflect.FieldDescriptor) (protoreflect.MapKey, error) { - const b32 = 32 - const b64 = 64 - const base10 = 10 - - name := tok.Name() - kind := fd.Kind() - switch kind { - case protoreflect.StringKind: - return protoreflect.ValueOfString(name).MapKey(), nil - - case protoreflect.BoolKind: - switch name { - case "true": - return protoreflect.ValueOfBool(true).MapKey(), nil - case "false": - return protoreflect.ValueOfBool(false).MapKey(), nil - } - - case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind: - if n, err := strconv.ParseInt(name, base10, b32); err == nil { - return protoreflect.ValueOfInt32(int32(n)).MapKey(), nil - } - - case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind: - if n, err := strconv.ParseInt(name, base10, b64); err == nil { - return protoreflect.ValueOfInt64(int64(n)).MapKey(), nil - } - - case protoreflect.Uint32Kind, protoreflect.Fixed32Kind: - if n, err := strconv.ParseUint(name, base10, b32); err == nil { - return protoreflect.ValueOfUint32(uint32(n)).MapKey(), nil - } - - case protoreflect.Uint64Kind, protoreflect.Fixed64Kind: - if n, err := strconv.ParseUint(name, base10, b64); err == nil { - return protoreflect.ValueOfUint64(uint64(n)).MapKey(), nil - } - - default: - panic(fmt.Sprintf("invalid kind for map key: %v", kind)) - } - - return protoreflect.MapKey{}, d.newError(tok.Pos(), "invalid value for %v key: %s", kind, tok.RawString()) -} diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/doc.go b/vendor/google.golang.org/protobuf/encoding/protojson/doc.go deleted file mode 100644 index 00ea2fec..00000000 --- a/vendor/google.golang.org/protobuf/encoding/protojson/doc.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Package protojson marshals and unmarshals protocol buffer messages as JSON -// format. It follows the guide at -// https://developers.google.com/protocol-buffers/docs/proto3#json. -// -// This package produces a different output than the standard "encoding/json" -// package, which does not operate correctly on protocol buffer messages. -package protojson diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/encode.go b/vendor/google.golang.org/protobuf/encoding/protojson/encode.go deleted file mode 100644 index d09d22e1..00000000 --- a/vendor/google.golang.org/protobuf/encoding/protojson/encode.go +++ /dev/null @@ -1,343 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package protojson - -import ( - "encoding/base64" - "fmt" - - "google.golang.org/protobuf/internal/encoding/json" - "google.golang.org/protobuf/internal/encoding/messageset" - "google.golang.org/protobuf/internal/errors" - "google.golang.org/protobuf/internal/filedesc" - "google.golang.org/protobuf/internal/flags" - "google.golang.org/protobuf/internal/genid" - "google.golang.org/protobuf/internal/order" - "google.golang.org/protobuf/internal/pragma" - "google.golang.org/protobuf/proto" - "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" -) - -const defaultIndent = " " - -// Format formats the message as a multiline string. -// This function is only intended for human consumption and ignores errors. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. -func Format(m proto.Message) string { - return MarshalOptions{Multiline: true}.Format(m) -} - -// Marshal writes the given proto.Message in JSON format using default options. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. -func Marshal(m proto.Message) ([]byte, error) { - return MarshalOptions{}.Marshal(m) -} - -// MarshalOptions is a configurable JSON format marshaler. -type MarshalOptions struct { - pragma.NoUnkeyedLiterals - - // Multiline specifies whether the marshaler should format the output in - // indented-form with every textual element on a new line. - // If Indent is an empty string, then an arbitrary indent is chosen. - Multiline bool - - // Indent specifies the set of indentation characters to use in a multiline - // formatted output such that every entry is preceded by Indent and - // terminated by a newline. If non-empty, then Multiline is treated as true. - // Indent can only be composed of space or tab characters. - Indent string - - // AllowPartial allows messages that have missing required fields to marshal - // without returning an error. If AllowPartial is false (the default), - // Marshal will return error if there are any missing required fields. - AllowPartial bool - - // UseProtoNames uses proto field name instead of lowerCamelCase name in JSON - // field names. - UseProtoNames bool - - // UseEnumNumbers emits enum values as numbers. - UseEnumNumbers bool - - // EmitUnpopulated specifies whether to emit unpopulated fields. It does not - // emit unpopulated oneof fields or unpopulated extension fields. - // The JSON value emitted for unpopulated fields are as follows: - // ╔═══════╤════════════════════════════╗ - // ║ JSON │ Protobuf field ║ - // ╠═══════╪════════════════════════════╣ - // ║ false │ proto3 boolean fields ║ - // ║ 0 │ proto3 numeric fields ║ - // ║ "" │ proto3 string/bytes fields ║ - // ║ null │ proto2 scalar fields ║ - // ║ null │ message fields ║ - // ║ [] │ list fields ║ - // ║ {} │ map fields ║ - // ╚═══════╧════════════════════════════╝ - EmitUnpopulated bool - - // Resolver is used for looking up types when expanding google.protobuf.Any - // messages. If nil, this defaults to using protoregistry.GlobalTypes. - Resolver interface { - protoregistry.ExtensionTypeResolver - protoregistry.MessageTypeResolver - } -} - -// Format formats the message as a string. -// This method is only intended for human consumption and ignores errors. -// Do not depend on the output being stable. It may change over time across -// different versions of the program. -func (o MarshalOptions) Format(m proto.Message) string { - if m == nil || !m.ProtoReflect().IsValid() { - return "" // invalid syntax, but okay since this is for debugging - } - o.AllowPartial = true - b, _ := o.Marshal(m) - return string(b) -} - -// Marshal marshals the given proto.Message in the JSON format using options in -// MarshalOptions. Do not depend on the output being stable. It may change over -// time across different versions of the program. -func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) { - return o.marshal(m) -} - -// marshal is a centralized function that all marshal operations go through. -// For profiling purposes, avoid changing the name of this function or -// introducing other code paths for marshal that do not go through this. -func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) { - if o.Multiline && o.Indent == "" { - o.Indent = defaultIndent - } - if o.Resolver == nil { - o.Resolver = protoregistry.GlobalTypes - } - - internalEnc, err := json.NewEncoder(o.Indent) - if err != nil { - return nil, err - } - - // Treat nil message interface as an empty message, - // in which case the output in an empty JSON object. - if m == nil { - return []byte("{}"), nil - } - - enc := encoder{internalEnc, o} - if err := enc.marshalMessage(m.ProtoReflect(), ""); err != nil { - return nil, err - } - if o.AllowPartial { - return enc.Bytes(), nil - } - return enc.Bytes(), proto.CheckInitialized(m) -} - -type encoder struct { - *json.Encoder - opts MarshalOptions -} - -// typeFieldDesc is a synthetic field descriptor used for the "@type" field. -var typeFieldDesc = func() protoreflect.FieldDescriptor { - var fd filedesc.Field - fd.L0.FullName = "@type" - fd.L0.Index = -1 - fd.L1.Cardinality = protoreflect.Optional - fd.L1.Kind = protoreflect.StringKind - return &fd -}() - -// typeURLFieldRanger wraps a protoreflect.Message and modifies its Range method -// to additionally iterate over a synthetic field for the type URL. -type typeURLFieldRanger struct { - order.FieldRanger - typeURL string -} - -func (m typeURLFieldRanger) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if !f(typeFieldDesc, protoreflect.ValueOfString(m.typeURL)) { - return - } - m.FieldRanger.Range(f) -} - -// unpopulatedFieldRanger wraps a protoreflect.Message and modifies its Range -// method to additionally iterate over unpopulated fields. -type unpopulatedFieldRanger struct{ protoreflect.Message } - -func (m unpopulatedFieldRanger) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - fds := m.Descriptor().Fields() - for i := 0; i < fds.Len(); i++ { - fd := fds.Get(i) - if m.Has(fd) || fd.ContainingOneof() != nil { - continue // ignore populated fields and fields within a oneofs - } - - v := m.Get(fd) - isProto2Scalar := fd.Syntax() == protoreflect.Proto2 && fd.Default().IsValid() - isSingularMessage := fd.Cardinality() != protoreflect.Repeated && fd.Message() != nil - if isProto2Scalar || isSingularMessage { - v = protoreflect.Value{} // use invalid value to emit null - } - if !f(fd, v) { - return - } - } - m.Message.Range(f) -} - -// marshalMessage marshals the fields in the given protoreflect.Message. -// If the typeURL is non-empty, then a synthetic "@type" field is injected -// containing the URL as the value. -func (e encoder) marshalMessage(m protoreflect.Message, typeURL string) error { - if !flags.ProtoLegacy && messageset.IsMessageSet(m.Descriptor()) { - return errors.New("no support for proto1 MessageSets") - } - - if marshal := wellKnownTypeMarshaler(m.Descriptor().FullName()); marshal != nil { - return marshal(e, m) - } - - e.StartObject() - defer e.EndObject() - - var fields order.FieldRanger = m - if e.opts.EmitUnpopulated { - fields = unpopulatedFieldRanger{m} - } - if typeURL != "" { - fields = typeURLFieldRanger{fields, typeURL} - } - - var err error - order.RangeFields(fields, order.IndexNameFieldOrder, func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool { - name := fd.JSONName() - if e.opts.UseProtoNames { - name = fd.TextName() - } - - if err = e.WriteName(name); err != nil { - return false - } - if err = e.marshalValue(v, fd); err != nil { - return false - } - return true - }) - return err -} - -// marshalValue marshals the given protoreflect.Value. -func (e encoder) marshalValue(val protoreflect.Value, fd protoreflect.FieldDescriptor) error { - switch { - case fd.IsList(): - return e.marshalList(val.List(), fd) - case fd.IsMap(): - return e.marshalMap(val.Map(), fd) - default: - return e.marshalSingular(val, fd) - } -} - -// marshalSingular marshals the given non-repeated field value. This includes -// all scalar types, enums, messages, and groups. -func (e encoder) marshalSingular(val protoreflect.Value, fd protoreflect.FieldDescriptor) error { - if !val.IsValid() { - e.WriteNull() - return nil - } - - switch kind := fd.Kind(); kind { - case protoreflect.BoolKind: - e.WriteBool(val.Bool()) - - case protoreflect.StringKind: - if e.WriteString(val.String()) != nil { - return errors.InvalidUTF8(string(fd.FullName())) - } - - case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind: - e.WriteInt(val.Int()) - - case protoreflect.Uint32Kind, protoreflect.Fixed32Kind: - e.WriteUint(val.Uint()) - - case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Uint64Kind, - protoreflect.Sfixed64Kind, protoreflect.Fixed64Kind: - // 64-bit integers are written out as JSON string. - e.WriteString(val.String()) - - case protoreflect.FloatKind: - // Encoder.WriteFloat handles the special numbers NaN and infinites. - e.WriteFloat(val.Float(), 32) - - case protoreflect.DoubleKind: - // Encoder.WriteFloat handles the special numbers NaN and infinites. - e.WriteFloat(val.Float(), 64) - - case protoreflect.BytesKind: - e.WriteString(base64.StdEncoding.EncodeToString(val.Bytes())) - - case protoreflect.EnumKind: - if fd.Enum().FullName() == genid.NullValue_enum_fullname { - e.WriteNull() - } else { - desc := fd.Enum().Values().ByNumber(val.Enum()) - if e.opts.UseEnumNumbers || desc == nil { - e.WriteInt(int64(val.Enum())) - } else { - e.WriteString(string(desc.Name())) - } - } - - case protoreflect.MessageKind, protoreflect.GroupKind: - if err := e.marshalMessage(val.Message(), ""); err != nil { - return err - } - - default: - panic(fmt.Sprintf("%v has unknown kind: %v", fd.FullName(), kind)) - } - return nil -} - -// marshalList marshals the given protoreflect.List. -func (e encoder) marshalList(list protoreflect.List, fd protoreflect.FieldDescriptor) error { - e.StartArray() - defer e.EndArray() - - for i := 0; i < list.Len(); i++ { - item := list.Get(i) - if err := e.marshalSingular(item, fd); err != nil { - return err - } - } - return nil -} - -// marshalMap marshals given protoreflect.Map. -func (e encoder) marshalMap(mmap protoreflect.Map, fd protoreflect.FieldDescriptor) error { - e.StartObject() - defer e.EndObject() - - var err error - order.RangeEntries(mmap, order.GenericKeyOrder, func(k protoreflect.MapKey, v protoreflect.Value) bool { - if err = e.WriteName(k.String()); err != nil { - return false - } - if err = e.marshalSingular(v, fd.MapValue()); err != nil { - return false - } - return true - }) - return err -} diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go b/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go deleted file mode 100644 index c85f8469..00000000 --- a/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go +++ /dev/null @@ -1,889 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package protojson - -import ( - "bytes" - "fmt" - "math" - "strconv" - "strings" - "time" - - "google.golang.org/protobuf/internal/encoding/json" - "google.golang.org/protobuf/internal/errors" - "google.golang.org/protobuf/internal/genid" - "google.golang.org/protobuf/internal/strs" - "google.golang.org/protobuf/proto" - "google.golang.org/protobuf/reflect/protoreflect" -) - -type marshalFunc func(encoder, protoreflect.Message) error - -// wellKnownTypeMarshaler returns a marshal function if the message type -// has specialized serialization behavior. It returns nil otherwise. -func wellKnownTypeMarshaler(name protoreflect.FullName) marshalFunc { - if name.Parent() == genid.GoogleProtobuf_package { - switch name.Name() { - case genid.Any_message_name: - return encoder.marshalAny - case genid.Timestamp_message_name: - return encoder.marshalTimestamp - case genid.Duration_message_name: - return encoder.marshalDuration - case genid.BoolValue_message_name, - genid.Int32Value_message_name, - genid.Int64Value_message_name, - genid.UInt32Value_message_name, - genid.UInt64Value_message_name, - genid.FloatValue_message_name, - genid.DoubleValue_message_name, - genid.StringValue_message_name, - genid.BytesValue_message_name: - return encoder.marshalWrapperType - case genid.Struct_message_name: - return encoder.marshalStruct - case genid.ListValue_message_name: - return encoder.marshalListValue - case genid.Value_message_name: - return encoder.marshalKnownValue - case genid.FieldMask_message_name: - return encoder.marshalFieldMask - case genid.Empty_message_name: - return encoder.marshalEmpty - } - } - return nil -} - -type unmarshalFunc func(decoder, protoreflect.Message) error - -// wellKnownTypeUnmarshaler returns a unmarshal function if the message type -// has specialized serialization behavior. It returns nil otherwise. -func wellKnownTypeUnmarshaler(name protoreflect.FullName) unmarshalFunc { - if name.Parent() == genid.GoogleProtobuf_package { - switch name.Name() { - case genid.Any_message_name: - return decoder.unmarshalAny - case genid.Timestamp_message_name: - return decoder.unmarshalTimestamp - case genid.Duration_message_name: - return decoder.unmarshalDuration - case genid.BoolValue_message_name, - genid.Int32Value_message_name, - genid.Int64Value_message_name, - genid.UInt32Value_message_name, - genid.UInt64Value_message_name, - genid.FloatValue_message_name, - genid.DoubleValue_message_name, - genid.StringValue_message_name, - genid.BytesValue_message_name: - return decoder.unmarshalWrapperType - case genid.Struct_message_name: - return decoder.unmarshalStruct - case genid.ListValue_message_name: - return decoder.unmarshalListValue - case genid.Value_message_name: - return decoder.unmarshalKnownValue - case genid.FieldMask_message_name: - return decoder.unmarshalFieldMask - case genid.Empty_message_name: - return decoder.unmarshalEmpty - } - } - return nil -} - -// The JSON representation of an Any message uses the regular representation of -// the deserialized, embedded message, with an additional field `@type` which -// contains the type URL. If the embedded message type is well-known and has a -// custom JSON representation, that representation will be embedded adding a -// field `value` which holds the custom JSON in addition to the `@type` field. - -func (e encoder) marshalAny(m protoreflect.Message) error { - fds := m.Descriptor().Fields() - fdType := fds.ByNumber(genid.Any_TypeUrl_field_number) - fdValue := fds.ByNumber(genid.Any_Value_field_number) - - if !m.Has(fdType) { - if !m.Has(fdValue) { - // If message is empty, marshal out empty JSON object. - e.StartObject() - e.EndObject() - return nil - } else { - // Return error if type_url field is not set, but value is set. - return errors.New("%s: %v is not set", genid.Any_message_fullname, genid.Any_TypeUrl_field_name) - } - } - - typeVal := m.Get(fdType) - valueVal := m.Get(fdValue) - - // Resolve the type in order to unmarshal value field. - typeURL := typeVal.String() - emt, err := e.opts.Resolver.FindMessageByURL(typeURL) - if err != nil { - return errors.New("%s: unable to resolve %q: %v", genid.Any_message_fullname, typeURL, err) - } - - em := emt.New() - err = proto.UnmarshalOptions{ - AllowPartial: true, // never check required fields inside an Any - Resolver: e.opts.Resolver, - }.Unmarshal(valueVal.Bytes(), em.Interface()) - if err != nil { - return errors.New("%s: unable to unmarshal %q: %v", genid.Any_message_fullname, typeURL, err) - } - - // If type of value has custom JSON encoding, marshal out a field "value" - // with corresponding custom JSON encoding of the embedded message as a - // field. - if marshal := wellKnownTypeMarshaler(emt.Descriptor().FullName()); marshal != nil { - e.StartObject() - defer e.EndObject() - - // Marshal out @type field. - e.WriteName("@type") - if err := e.WriteString(typeURL); err != nil { - return err - } - - e.WriteName("value") - return marshal(e, em) - } - - // Else, marshal out the embedded message's fields in this Any object. - if err := e.marshalMessage(em, typeURL); err != nil { - return err - } - - return nil -} - -func (d decoder) unmarshalAny(m protoreflect.Message) error { - // Peek to check for json.ObjectOpen to avoid advancing a read. - start, err := d.Peek() - if err != nil { - return err - } - if start.Kind() != json.ObjectOpen { - return d.unexpectedTokenError(start) - } - - // Use another decoder to parse the unread bytes for @type field. This - // avoids advancing a read from current decoder because the current JSON - // object may contain the fields of the embedded type. - dec := decoder{d.Clone(), UnmarshalOptions{}} - tok, err := findTypeURL(dec) - switch err { - case errEmptyObject: - // An empty JSON object translates to an empty Any message. - d.Read() // Read json.ObjectOpen. - d.Read() // Read json.ObjectClose. - return nil - - case errMissingType: - if d.opts.DiscardUnknown { - // Treat all fields as unknowns, similar to an empty object. - return d.skipJSONValue() - } - // Use start.Pos() for line position. - return d.newError(start.Pos(), err.Error()) - - default: - if err != nil { - return err - } - } - - typeURL := tok.ParsedString() - emt, err := d.opts.Resolver.FindMessageByURL(typeURL) - if err != nil { - return d.newError(tok.Pos(), "unable to resolve %v: %q", tok.RawString(), err) - } - - // Create new message for the embedded message type and unmarshal into it. - em := emt.New() - if unmarshal := wellKnownTypeUnmarshaler(emt.Descriptor().FullName()); unmarshal != nil { - // If embedded message is a custom type, - // unmarshal the JSON "value" field into it. - if err := d.unmarshalAnyValue(unmarshal, em); err != nil { - return err - } - } else { - // Else unmarshal the current JSON object into it. - if err := d.unmarshalMessage(em, true); err != nil { - return err - } - } - // Serialize the embedded message and assign the resulting bytes to the - // proto value field. - b, err := proto.MarshalOptions{ - AllowPartial: true, // No need to check required fields inside an Any. - Deterministic: true, - }.Marshal(em.Interface()) - if err != nil { - return d.newError(start.Pos(), "error in marshaling Any.value field: %v", err) - } - - fds := m.Descriptor().Fields() - fdType := fds.ByNumber(genid.Any_TypeUrl_field_number) - fdValue := fds.ByNumber(genid.Any_Value_field_number) - - m.Set(fdType, protoreflect.ValueOfString(typeURL)) - m.Set(fdValue, protoreflect.ValueOfBytes(b)) - return nil -} - -var errEmptyObject = fmt.Errorf(`empty object`) -var errMissingType = fmt.Errorf(`missing "@type" field`) - -// findTypeURL returns the token for the "@type" field value from the given -// JSON bytes. It is expected that the given bytes start with json.ObjectOpen. -// It returns errEmptyObject if the JSON object is empty or errMissingType if -// @type field does not exist. It returns other error if the @type field is not -// valid or other decoding issues. -func findTypeURL(d decoder) (json.Token, error) { - var typeURL string - var typeTok json.Token - numFields := 0 - // Skip start object. - d.Read() - -Loop: - for { - tok, err := d.Read() - if err != nil { - return json.Token{}, err - } - - switch tok.Kind() { - case json.ObjectClose: - if typeURL == "" { - // Did not find @type field. - if numFields > 0 { - return json.Token{}, errMissingType - } - return json.Token{}, errEmptyObject - } - break Loop - - case json.Name: - numFields++ - if tok.Name() != "@type" { - // Skip value. - if err := d.skipJSONValue(); err != nil { - return json.Token{}, err - } - continue - } - - // Return error if this was previously set already. - if typeURL != "" { - return json.Token{}, d.newError(tok.Pos(), `duplicate "@type" field`) - } - // Read field value. - tok, err := d.Read() - if err != nil { - return json.Token{}, err - } - if tok.Kind() != json.String { - return json.Token{}, d.newError(tok.Pos(), `@type field value is not a string: %v`, tok.RawString()) - } - typeURL = tok.ParsedString() - if typeURL == "" { - return json.Token{}, d.newError(tok.Pos(), `@type field contains empty value`) - } - typeTok = tok - } - } - - return typeTok, nil -} - -// skipJSONValue parses a JSON value (null, boolean, string, number, object and -// array) in order to advance the read to the next JSON value. It relies on -// the decoder returning an error if the types are not in valid sequence. -func (d decoder) skipJSONValue() error { - tok, err := d.Read() - if err != nil { - return err - } - // Only need to continue reading for objects and arrays. - switch tok.Kind() { - case json.ObjectOpen: - for { - tok, err := d.Read() - if err != nil { - return err - } - switch tok.Kind() { - case json.ObjectClose: - return nil - case json.Name: - // Skip object field value. - if err := d.skipJSONValue(); err != nil { - return err - } - } - } - - case json.ArrayOpen: - for { - tok, err := d.Peek() - if err != nil { - return err - } - switch tok.Kind() { - case json.ArrayClose: - d.Read() - return nil - default: - // Skip array item. - if err := d.skipJSONValue(); err != nil { - return err - } - } - } - } - return nil -} - -// unmarshalAnyValue unmarshals the given custom-type message from the JSON -// object's "value" field. -func (d decoder) unmarshalAnyValue(unmarshal unmarshalFunc, m protoreflect.Message) error { - // Skip ObjectOpen, and start reading the fields. - d.Read() - - var found bool // Used for detecting duplicate "value". - for { - tok, err := d.Read() - if err != nil { - return err - } - switch tok.Kind() { - case json.ObjectClose: - if !found { - return d.newError(tok.Pos(), `missing "value" field`) - } - return nil - - case json.Name: - switch tok.Name() { - case "@type": - // Skip the value as this was previously parsed already. - d.Read() - - case "value": - if found { - return d.newError(tok.Pos(), `duplicate "value" field`) - } - // Unmarshal the field value into the given message. - if err := unmarshal(d, m); err != nil { - return err - } - found = true - - default: - if d.opts.DiscardUnknown { - if err := d.skipJSONValue(); err != nil { - return err - } - continue - } - return d.newError(tok.Pos(), "unknown field %v", tok.RawString()) - } - } - } -} - -// Wrapper types are encoded as JSON primitives like string, number or boolean. - -func (e encoder) marshalWrapperType(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.WrapperValue_Value_field_number) - val := m.Get(fd) - return e.marshalSingular(val, fd) -} - -func (d decoder) unmarshalWrapperType(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.WrapperValue_Value_field_number) - val, err := d.unmarshalScalar(fd) - if err != nil { - return err - } - m.Set(fd, val) - return nil -} - -// The JSON representation for Empty is an empty JSON object. - -func (e encoder) marshalEmpty(protoreflect.Message) error { - e.StartObject() - e.EndObject() - return nil -} - -func (d decoder) unmarshalEmpty(protoreflect.Message) error { - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.ObjectOpen { - return d.unexpectedTokenError(tok) - } - - for { - tok, err := d.Read() - if err != nil { - return err - } - switch tok.Kind() { - case json.ObjectClose: - return nil - - case json.Name: - if d.opts.DiscardUnknown { - if err := d.skipJSONValue(); err != nil { - return err - } - continue - } - return d.newError(tok.Pos(), "unknown field %v", tok.RawString()) - - default: - return d.unexpectedTokenError(tok) - } - } -} - -// The JSON representation for Struct is a JSON object that contains the encoded -// Struct.fields map and follows the serialization rules for a map. - -func (e encoder) marshalStruct(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.Struct_Fields_field_number) - return e.marshalMap(m.Get(fd).Map(), fd) -} - -func (d decoder) unmarshalStruct(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.Struct_Fields_field_number) - return d.unmarshalMap(m.Mutable(fd).Map(), fd) -} - -// The JSON representation for ListValue is JSON array that contains the encoded -// ListValue.values repeated field and follows the serialization rules for a -// repeated field. - -func (e encoder) marshalListValue(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.ListValue_Values_field_number) - return e.marshalList(m.Get(fd).List(), fd) -} - -func (d decoder) unmarshalListValue(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.ListValue_Values_field_number) - return d.unmarshalList(m.Mutable(fd).List(), fd) -} - -// The JSON representation for a Value is dependent on the oneof field that is -// set. Each of the field in the oneof has its own custom serialization rule. A -// Value message needs to be a oneof field set, else it is an error. - -func (e encoder) marshalKnownValue(m protoreflect.Message) error { - od := m.Descriptor().Oneofs().ByName(genid.Value_Kind_oneof_name) - fd := m.WhichOneof(od) - if fd == nil { - return errors.New("%s: none of the oneof fields is set", genid.Value_message_fullname) - } - if fd.Number() == genid.Value_NumberValue_field_number { - if v := m.Get(fd).Float(); math.IsNaN(v) || math.IsInf(v, 0) { - return errors.New("%s: invalid %v value", genid.Value_NumberValue_field_fullname, v) - } - } - return e.marshalSingular(m.Get(fd), fd) -} - -func (d decoder) unmarshalKnownValue(m protoreflect.Message) error { - tok, err := d.Peek() - if err != nil { - return err - } - - var fd protoreflect.FieldDescriptor - var val protoreflect.Value - switch tok.Kind() { - case json.Null: - d.Read() - fd = m.Descriptor().Fields().ByNumber(genid.Value_NullValue_field_number) - val = protoreflect.ValueOfEnum(0) - - case json.Bool: - tok, err := d.Read() - if err != nil { - return err - } - fd = m.Descriptor().Fields().ByNumber(genid.Value_BoolValue_field_number) - val = protoreflect.ValueOfBool(tok.Bool()) - - case json.Number: - tok, err := d.Read() - if err != nil { - return err - } - fd = m.Descriptor().Fields().ByNumber(genid.Value_NumberValue_field_number) - var ok bool - val, ok = unmarshalFloat(tok, 64) - if !ok { - return d.newError(tok.Pos(), "invalid %v: %v", genid.Value_message_fullname, tok.RawString()) - } - - case json.String: - // A JSON string may have been encoded from the number_value field, - // e.g. "NaN", "Infinity", etc. Parsing a proto double type also allows - // for it to be in JSON string form. Given this custom encoding spec, - // however, there is no way to identify that and hence a JSON string is - // always assigned to the string_value field, which means that certain - // encoding cannot be parsed back to the same field. - tok, err := d.Read() - if err != nil { - return err - } - fd = m.Descriptor().Fields().ByNumber(genid.Value_StringValue_field_number) - val = protoreflect.ValueOfString(tok.ParsedString()) - - case json.ObjectOpen: - fd = m.Descriptor().Fields().ByNumber(genid.Value_StructValue_field_number) - val = m.NewField(fd) - if err := d.unmarshalStruct(val.Message()); err != nil { - return err - } - - case json.ArrayOpen: - fd = m.Descriptor().Fields().ByNumber(genid.Value_ListValue_field_number) - val = m.NewField(fd) - if err := d.unmarshalListValue(val.Message()); err != nil { - return err - } - - default: - return d.newError(tok.Pos(), "invalid %v: %v", genid.Value_message_fullname, tok.RawString()) - } - - m.Set(fd, val) - return nil -} - -// The JSON representation for a Duration is a JSON string that ends in the -// suffix "s" (indicating seconds) and is preceded by the number of seconds, -// with nanoseconds expressed as fractional seconds. -// -// Durations less than one second are represented with a 0 seconds field and a -// positive or negative nanos field. For durations of one second or more, a -// non-zero value for the nanos field must be of the same sign as the seconds -// field. -// -// Duration.seconds must be from -315,576,000,000 to +315,576,000,000 inclusive. -// Duration.nanos must be from -999,999,999 to +999,999,999 inclusive. - -const ( - secondsInNanos = 999999999 - maxSecondsInDuration = 315576000000 -) - -func (e encoder) marshalDuration(m protoreflect.Message) error { - fds := m.Descriptor().Fields() - fdSeconds := fds.ByNumber(genid.Duration_Seconds_field_number) - fdNanos := fds.ByNumber(genid.Duration_Nanos_field_number) - - secsVal := m.Get(fdSeconds) - nanosVal := m.Get(fdNanos) - secs := secsVal.Int() - nanos := nanosVal.Int() - if secs < -maxSecondsInDuration || secs > maxSecondsInDuration { - return errors.New("%s: seconds out of range %v", genid.Duration_message_fullname, secs) - } - if nanos < -secondsInNanos || nanos > secondsInNanos { - return errors.New("%s: nanos out of range %v", genid.Duration_message_fullname, nanos) - } - if (secs > 0 && nanos < 0) || (secs < 0 && nanos > 0) { - return errors.New("%s: signs of seconds and nanos do not match", genid.Duration_message_fullname) - } - // Generated output always contains 0, 3, 6, or 9 fractional digits, - // depending on required precision, followed by the suffix "s". - var sign string - if secs < 0 || nanos < 0 { - sign, secs, nanos = "-", -1*secs, -1*nanos - } - x := fmt.Sprintf("%s%d.%09d", sign, secs, nanos) - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, ".000") - e.WriteString(x + "s") - return nil -} - -func (d decoder) unmarshalDuration(m protoreflect.Message) error { - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.String { - return d.unexpectedTokenError(tok) - } - - secs, nanos, ok := parseDuration(tok.ParsedString()) - if !ok { - return d.newError(tok.Pos(), "invalid %v value %v", genid.Duration_message_fullname, tok.RawString()) - } - // Validate seconds. No need to validate nanos because parseDuration would - // have covered that already. - if secs < -maxSecondsInDuration || secs > maxSecondsInDuration { - return d.newError(tok.Pos(), "%v value out of range: %v", genid.Duration_message_fullname, tok.RawString()) - } - - fds := m.Descriptor().Fields() - fdSeconds := fds.ByNumber(genid.Duration_Seconds_field_number) - fdNanos := fds.ByNumber(genid.Duration_Nanos_field_number) - - m.Set(fdSeconds, protoreflect.ValueOfInt64(secs)) - m.Set(fdNanos, protoreflect.ValueOfInt32(nanos)) - return nil -} - -// parseDuration parses the given input string for seconds and nanoseconds value -// for the Duration JSON format. The format is a decimal number with a suffix -// 's'. It can have optional plus/minus sign. There needs to be at least an -// integer or fractional part. Fractional part is limited to 9 digits only for -// nanoseconds precision, regardless of whether there are trailing zero digits. -// Example values are 1s, 0.1s, 1.s, .1s, +1s, -1s, -.1s. -func parseDuration(input string) (int64, int32, bool) { - b := []byte(input) - size := len(b) - if size < 2 { - return 0, 0, false - } - if b[size-1] != 's' { - return 0, 0, false - } - b = b[:size-1] - - // Read optional plus/minus symbol. - var neg bool - switch b[0] { - case '-': - neg = true - b = b[1:] - case '+': - b = b[1:] - } - if len(b) == 0 { - return 0, 0, false - } - - // Read the integer part. - var intp []byte - switch { - case b[0] == '0': - b = b[1:] - - case '1' <= b[0] && b[0] <= '9': - intp = b[0:] - b = b[1:] - n := 1 - for len(b) > 0 && '0' <= b[0] && b[0] <= '9' { - n++ - b = b[1:] - } - intp = intp[:n] - - case b[0] == '.': - // Continue below. - - default: - return 0, 0, false - } - - hasFrac := false - var frac [9]byte - if len(b) > 0 { - if b[0] != '.' { - return 0, 0, false - } - // Read the fractional part. - b = b[1:] - n := 0 - for len(b) > 0 && n < 9 && '0' <= b[0] && b[0] <= '9' { - frac[n] = b[0] - n++ - b = b[1:] - } - // It is not valid if there are more bytes left. - if len(b) > 0 { - return 0, 0, false - } - // Pad fractional part with 0s. - for i := n; i < 9; i++ { - frac[i] = '0' - } - hasFrac = true - } - - var secs int64 - if len(intp) > 0 { - var err error - secs, err = strconv.ParseInt(string(intp), 10, 64) - if err != nil { - return 0, 0, false - } - } - - var nanos int64 - if hasFrac { - nanob := bytes.TrimLeft(frac[:], "0") - if len(nanob) > 0 { - var err error - nanos, err = strconv.ParseInt(string(nanob), 10, 32) - if err != nil { - return 0, 0, false - } - } - } - - if neg { - if secs > 0 { - secs = -secs - } - if nanos > 0 { - nanos = -nanos - } - } - return secs, int32(nanos), true -} - -// The JSON representation for a Timestamp is a JSON string in the RFC 3339 -// format, i.e. "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" where -// {year} is always expressed using four digits while {month}, {day}, {hour}, -// {min}, and {sec} are zero-padded to two digits each. The fractional seconds, -// which can go up to 9 digits, up to 1 nanosecond resolution, is optional. The -// "Z" suffix indicates the timezone ("UTC"); the timezone is required. Encoding -// should always use UTC (as indicated by "Z") and a decoder should be able to -// accept both UTC and other timezones (as indicated by an offset). -// -// Timestamp.seconds must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z -// inclusive. -// Timestamp.nanos must be from 0 to 999,999,999 inclusive. - -const ( - maxTimestampSeconds = 253402300799 - minTimestampSeconds = -62135596800 -) - -func (e encoder) marshalTimestamp(m protoreflect.Message) error { - fds := m.Descriptor().Fields() - fdSeconds := fds.ByNumber(genid.Timestamp_Seconds_field_number) - fdNanos := fds.ByNumber(genid.Timestamp_Nanos_field_number) - - secsVal := m.Get(fdSeconds) - nanosVal := m.Get(fdNanos) - secs := secsVal.Int() - nanos := nanosVal.Int() - if secs < minTimestampSeconds || secs > maxTimestampSeconds { - return errors.New("%s: seconds out of range %v", genid.Timestamp_message_fullname, secs) - } - if nanos < 0 || nanos > secondsInNanos { - return errors.New("%s: nanos out of range %v", genid.Timestamp_message_fullname, nanos) - } - // Uses RFC 3339, where generated output will be Z-normalized and uses 0, 3, - // 6 or 9 fractional digits. - t := time.Unix(secs, nanos).UTC() - x := t.Format("2006-01-02T15:04:05.000000000") - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, "000") - x = strings.TrimSuffix(x, ".000") - e.WriteString(x + "Z") - return nil -} - -func (d decoder) unmarshalTimestamp(m protoreflect.Message) error { - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.String { - return d.unexpectedTokenError(tok) - } - - t, err := time.Parse(time.RFC3339Nano, tok.ParsedString()) - if err != nil { - return d.newError(tok.Pos(), "invalid %v value %v", genid.Timestamp_message_fullname, tok.RawString()) - } - // Validate seconds. No need to validate nanos because time.Parse would have - // covered that already. - secs := t.Unix() - if secs < minTimestampSeconds || secs > maxTimestampSeconds { - return d.newError(tok.Pos(), "%v value out of range: %v", genid.Timestamp_message_fullname, tok.RawString()) - } - - fds := m.Descriptor().Fields() - fdSeconds := fds.ByNumber(genid.Timestamp_Seconds_field_number) - fdNanos := fds.ByNumber(genid.Timestamp_Nanos_field_number) - - m.Set(fdSeconds, protoreflect.ValueOfInt64(secs)) - m.Set(fdNanos, protoreflect.ValueOfInt32(int32(t.Nanosecond()))) - return nil -} - -// The JSON representation for a FieldMask is a JSON string where paths are -// separated by a comma. Fields name in each path are converted to/from -// lower-camel naming conventions. Encoding should fail if the path name would -// end up differently after a round-trip. - -func (e encoder) marshalFieldMask(m protoreflect.Message) error { - fd := m.Descriptor().Fields().ByNumber(genid.FieldMask_Paths_field_number) - list := m.Get(fd).List() - paths := make([]string, 0, list.Len()) - - for i := 0; i < list.Len(); i++ { - s := list.Get(i).String() - if !protoreflect.FullName(s).IsValid() { - return errors.New("%s contains invalid path: %q", genid.FieldMask_Paths_field_fullname, s) - } - // Return error if conversion to camelCase is not reversible. - cc := strs.JSONCamelCase(s) - if s != strs.JSONSnakeCase(cc) { - return errors.New("%s contains irreversible value %q", genid.FieldMask_Paths_field_fullname, s) - } - paths = append(paths, cc) - } - - e.WriteString(strings.Join(paths, ",")) - return nil -} - -func (d decoder) unmarshalFieldMask(m protoreflect.Message) error { - tok, err := d.Read() - if err != nil { - return err - } - if tok.Kind() != json.String { - return d.unexpectedTokenError(tok) - } - str := strings.TrimSpace(tok.ParsedString()) - if str == "" { - return nil - } - paths := strings.Split(str, ",") - - fd := m.Descriptor().Fields().ByNumber(genid.FieldMask_Paths_field_number) - list := m.Mutable(fd).List() - - for _, s0 := range paths { - s := strs.JSONSnakeCase(s0) - if strings.Contains(s0, "_") || !protoreflect.FullName(s).IsValid() { - return d.newError(tok.Pos(), "%v contains invalid path: %q", genid.FieldMask_Paths_field_fullname, s0) - } - list.Append(protoreflect.ValueOfString(s)) - } - return nil -} diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go b/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go deleted file mode 100644 index b13fd29e..00000000 --- a/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go +++ /dev/null @@ -1,340 +0,0 @@ -// Copyright 2018 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package json - -import ( - "bytes" - "fmt" - "io" - "regexp" - "unicode/utf8" - - "google.golang.org/protobuf/internal/errors" -) - -// call specifies which Decoder method was invoked. -type call uint8 - -const ( - readCall call = iota - peekCall -) - -const unexpectedFmt = "unexpected token %s" - -// ErrUnexpectedEOF means that EOF was encountered in the middle of the input. -var ErrUnexpectedEOF = errors.New("%v", io.ErrUnexpectedEOF) - -// Decoder is a token-based JSON decoder. -type Decoder struct { - // lastCall is last method called, either readCall or peekCall. - // Initial value is readCall. - lastCall call - - // lastToken contains the last read token. - lastToken Token - - // lastErr contains the last read error. - lastErr error - - // openStack is a stack containing ObjectOpen and ArrayOpen values. The - // top of stack represents the object or the array the current value is - // directly located in. - openStack []Kind - - // orig is used in reporting line and column. - orig []byte - // in contains the unconsumed input. - in []byte -} - -// NewDecoder returns a Decoder to read the given []byte. -func NewDecoder(b []byte) *Decoder { - return &Decoder{orig: b, in: b} -} - -// Peek looks ahead and returns the next token kind without advancing a read. -func (d *Decoder) Peek() (Token, error) { - defer func() { d.lastCall = peekCall }() - if d.lastCall == readCall { - d.lastToken, d.lastErr = d.Read() - } - return d.lastToken, d.lastErr -} - -// Read returns the next JSON token. -// It will return an error if there is no valid token. -func (d *Decoder) Read() (Token, error) { - const scalar = Null | Bool | Number | String - - defer func() { d.lastCall = readCall }() - if d.lastCall == peekCall { - return d.lastToken, d.lastErr - } - - tok, err := d.parseNext() - if err != nil { - return Token{}, err - } - - switch tok.kind { - case EOF: - if len(d.openStack) != 0 || - d.lastToken.kind&scalar|ObjectClose|ArrayClose == 0 { - return Token{}, ErrUnexpectedEOF - } - - case Null: - if !d.isValueNext() { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - - case Bool, Number: - if !d.isValueNext() { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - - case String: - if d.isValueNext() { - break - } - // This string token should only be for a field name. - if d.lastToken.kind&(ObjectOpen|comma) == 0 { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - if len(d.in) == 0 { - return Token{}, ErrUnexpectedEOF - } - if c := d.in[0]; c != ':' { - return Token{}, d.newSyntaxError(d.currPos(), `unexpected character %s, missing ":" after field name`, string(c)) - } - tok.kind = Name - d.consume(1) - - case ObjectOpen, ArrayOpen: - if !d.isValueNext() { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - d.openStack = append(d.openStack, tok.kind) - - case ObjectClose: - if len(d.openStack) == 0 || - d.lastToken.kind == comma || - d.openStack[len(d.openStack)-1] != ObjectOpen { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - d.openStack = d.openStack[:len(d.openStack)-1] - - case ArrayClose: - if len(d.openStack) == 0 || - d.lastToken.kind == comma || - d.openStack[len(d.openStack)-1] != ArrayOpen { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - d.openStack = d.openStack[:len(d.openStack)-1] - - case comma: - if len(d.openStack) == 0 || - d.lastToken.kind&(scalar|ObjectClose|ArrayClose) == 0 { - return Token{}, d.newSyntaxError(tok.pos, unexpectedFmt, tok.RawString()) - } - } - - // Update d.lastToken only after validating token to be in the right sequence. - d.lastToken = tok - - if d.lastToken.kind == comma { - return d.Read() - } - return tok, nil -} - -// Any sequence that looks like a non-delimiter (for error reporting). -var errRegexp = regexp.MustCompile(`^([-+._a-zA-Z0-9]{1,32}|.)`) - -// parseNext parses for the next JSON token. It returns a Token object for -// different types, except for Name. It does not handle whether the next token -// is in a valid sequence or not. -func (d *Decoder) parseNext() (Token, error) { - // Trim leading spaces. - d.consume(0) - - in := d.in - if len(in) == 0 { - return d.consumeToken(EOF, 0), nil - } - - switch in[0] { - case 'n': - if n := matchWithDelim("null", in); n != 0 { - return d.consumeToken(Null, n), nil - } - - case 't': - if n := matchWithDelim("true", in); n != 0 { - return d.consumeBoolToken(true, n), nil - } - - case 'f': - if n := matchWithDelim("false", in); n != 0 { - return d.consumeBoolToken(false, n), nil - } - - case '-', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9': - if n, ok := parseNumber(in); ok { - return d.consumeToken(Number, n), nil - } - - case '"': - s, n, err := d.parseString(in) - if err != nil { - return Token{}, err - } - return d.consumeStringToken(s, n), nil - - case '{': - return d.consumeToken(ObjectOpen, 1), nil - - case '}': - return d.consumeToken(ObjectClose, 1), nil - - case '[': - return d.consumeToken(ArrayOpen, 1), nil - - case ']': - return d.consumeToken(ArrayClose, 1), nil - - case ',': - return d.consumeToken(comma, 1), nil - } - return Token{}, d.newSyntaxError(d.currPos(), "invalid value %s", errRegexp.Find(in)) -} - -// newSyntaxError returns an error with line and column information useful for -// syntax errors. -func (d *Decoder) newSyntaxError(pos int, f string, x ...interface{}) error { - e := errors.New(f, x...) - line, column := d.Position(pos) - return errors.New("syntax error (line %d:%d): %v", line, column, e) -} - -// Position returns line and column number of given index of the original input. -// It will panic if index is out of range. -func (d *Decoder) Position(idx int) (line int, column int) { - b := d.orig[:idx] - line = bytes.Count(b, []byte("\n")) + 1 - if i := bytes.LastIndexByte(b, '\n'); i >= 0 { - b = b[i+1:] - } - column = utf8.RuneCount(b) + 1 // ignore multi-rune characters - return line, column -} - -// currPos returns the current index position of d.in from d.orig. -func (d *Decoder) currPos() int { - return len(d.orig) - len(d.in) -} - -// matchWithDelim matches s with the input b and verifies that the match -// terminates with a delimiter of some form (e.g., r"[^-+_.a-zA-Z0-9]"). -// As a special case, EOF is considered a delimiter. It returns the length of s -// if there is a match, else 0. -func matchWithDelim(s string, b []byte) int { - if !bytes.HasPrefix(b, []byte(s)) { - return 0 - } - - n := len(s) - if n < len(b) && isNotDelim(b[n]) { - return 0 - } - return n -} - -// isNotDelim returns true if given byte is a not delimiter character. -func isNotDelim(c byte) bool { - return (c == '-' || c == '+' || c == '.' || c == '_' || - ('a' <= c && c <= 'z') || - ('A' <= c && c <= 'Z') || - ('0' <= c && c <= '9')) -} - -// consume consumes n bytes of input and any subsequent whitespace. -func (d *Decoder) consume(n int) { - d.in = d.in[n:] - for len(d.in) > 0 { - switch d.in[0] { - case ' ', '\n', '\r', '\t': - d.in = d.in[1:] - default: - return - } - } -} - -// isValueNext returns true if next type should be a JSON value: Null, -// Number, String or Bool. -func (d *Decoder) isValueNext() bool { - if len(d.openStack) == 0 { - return d.lastToken.kind == 0 - } - - start := d.openStack[len(d.openStack)-1] - switch start { - case ObjectOpen: - return d.lastToken.kind&Name != 0 - case ArrayOpen: - return d.lastToken.kind&(ArrayOpen|comma) != 0 - } - panic(fmt.Sprintf( - "unreachable logic in Decoder.isValueNext, lastToken.kind: %v, openStack: %v", - d.lastToken.kind, start)) -} - -// consumeToken constructs a Token for given Kind with raw value derived from -// current d.in and given size, and consumes the given size-lenght of it. -func (d *Decoder) consumeToken(kind Kind, size int) Token { - tok := Token{ - kind: kind, - raw: d.in[:size], - pos: len(d.orig) - len(d.in), - } - d.consume(size) - return tok -} - -// consumeBoolToken constructs a Token for a Bool kind with raw value derived from -// current d.in and given size. -func (d *Decoder) consumeBoolToken(b bool, size int) Token { - tok := Token{ - kind: Bool, - raw: d.in[:size], - pos: len(d.orig) - len(d.in), - boo: b, - } - d.consume(size) - return tok -} - -// consumeStringToken constructs a Token for a String kind with raw value derived -// from current d.in and given size. -func (d *Decoder) consumeStringToken(s string, size int) Token { - tok := Token{ - kind: String, - raw: d.in[:size], - pos: len(d.orig) - len(d.in), - str: s, - } - d.consume(size) - return tok -} - -// Clone returns a copy of the Decoder for use in reading ahead the next JSON -// object, array or other values without affecting current Decoder. -func (d *Decoder) Clone() *Decoder { - ret := *d - ret.openStack = append([]Kind(nil), ret.openStack...) - return &ret -} diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_number.go b/vendor/google.golang.org/protobuf/internal/encoding/json/decode_number.go deleted file mode 100644 index 2999d713..00000000 --- a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_number.go +++ /dev/null @@ -1,254 +0,0 @@ -// Copyright 2018 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package json - -import ( - "bytes" - "strconv" -) - -// parseNumber reads the given []byte for a valid JSON number. If it is valid, -// it returns the number of bytes. Parsing logic follows the definition in -// https://tools.ietf.org/html/rfc7159#section-6, and is based off -// encoding/json.isValidNumber function. -func parseNumber(input []byte) (int, bool) { - var n int - - s := input - if len(s) == 0 { - return 0, false - } - - // Optional - - if s[0] == '-' { - s = s[1:] - n++ - if len(s) == 0 { - return 0, false - } - } - - // Digits - switch { - case s[0] == '0': - s = s[1:] - n++ - - case '1' <= s[0] && s[0] <= '9': - s = s[1:] - n++ - for len(s) > 0 && '0' <= s[0] && s[0] <= '9' { - s = s[1:] - n++ - } - - default: - return 0, false - } - - // . followed by 1 or more digits. - if len(s) >= 2 && s[0] == '.' && '0' <= s[1] && s[1] <= '9' { - s = s[2:] - n += 2 - for len(s) > 0 && '0' <= s[0] && s[0] <= '9' { - s = s[1:] - n++ - } - } - - // e or E followed by an optional - or + and - // 1 or more digits. - if len(s) >= 2 && (s[0] == 'e' || s[0] == 'E') { - s = s[1:] - n++ - if s[0] == '+' || s[0] == '-' { - s = s[1:] - n++ - if len(s) == 0 { - return 0, false - } - } - for len(s) > 0 && '0' <= s[0] && s[0] <= '9' { - s = s[1:] - n++ - } - } - - // Check that next byte is a delimiter or it is at the end. - if n < len(input) && isNotDelim(input[n]) { - return 0, false - } - - return n, true -} - -// numberParts is the result of parsing out a valid JSON number. It contains -// the parts of a number. The parts are used for integer conversion. -type numberParts struct { - neg bool - intp []byte - frac []byte - exp []byte -} - -// parseNumber constructs numberParts from given []byte. The logic here is -// similar to consumeNumber above with the difference of having to construct -// numberParts. The slice fields in numberParts are subslices of the input. -func parseNumberParts(input []byte) (numberParts, bool) { - var neg bool - var intp []byte - var frac []byte - var exp []byte - - s := input - if len(s) == 0 { - return numberParts{}, false - } - - // Optional - - if s[0] == '-' { - neg = true - s = s[1:] - if len(s) == 0 { - return numberParts{}, false - } - } - - // Digits - switch { - case s[0] == '0': - // Skip first 0 and no need to store. - s = s[1:] - - case '1' <= s[0] && s[0] <= '9': - intp = s - n := 1 - s = s[1:] - for len(s) > 0 && '0' <= s[0] && s[0] <= '9' { - s = s[1:] - n++ - } - intp = intp[:n] - - default: - return numberParts{}, false - } - - // . followed by 1 or more digits. - if len(s) >= 2 && s[0] == '.' && '0' <= s[1] && s[1] <= '9' { - frac = s[1:] - n := 1 - s = s[2:] - for len(s) > 0 && '0' <= s[0] && s[0] <= '9' { - s = s[1:] - n++ - } - frac = frac[:n] - } - - // e or E followed by an optional - or + and - // 1 or more digits. - if len(s) >= 2 && (s[0] == 'e' || s[0] == 'E') { - s = s[1:] - exp = s - n := 0 - if s[0] == '+' || s[0] == '-' { - s = s[1:] - n++ - if len(s) == 0 { - return numberParts{}, false - } - } - for len(s) > 0 && '0' <= s[0] && s[0] <= '9' { - s = s[1:] - n++ - } - exp = exp[:n] - } - - return numberParts{ - neg: neg, - intp: intp, - frac: bytes.TrimRight(frac, "0"), // Remove unnecessary 0s to the right. - exp: exp, - }, true -} - -// normalizeToIntString returns an integer string in normal form without the -// E-notation for given numberParts. It will return false if it is not an -// integer or if the exponent exceeds than max/min int value. -func normalizeToIntString(n numberParts) (string, bool) { - intpSize := len(n.intp) - fracSize := len(n.frac) - - if intpSize == 0 && fracSize == 0 { - return "0", true - } - - var exp int - if len(n.exp) > 0 { - i, err := strconv.ParseInt(string(n.exp), 10, 32) - if err != nil { - return "", false - } - exp = int(i) - } - - var num []byte - if exp >= 0 { - // For positive E, shift fraction digits into integer part and also pad - // with zeroes as needed. - - // If there are more digits in fraction than the E value, then the - // number is not an integer. - if fracSize > exp { - return "", false - } - - // Make sure resulting digits are within max value limit to avoid - // unnecessarily constructing a large byte slice that may simply fail - // later on. - const maxDigits = 20 // Max uint64 value has 20 decimal digits. - if intpSize+exp > maxDigits { - return "", false - } - - // Set cap to make a copy of integer part when appended. - num = n.intp[:len(n.intp):len(n.intp)] - num = append(num, n.frac...) - for i := 0; i < exp-fracSize; i++ { - num = append(num, '0') - } - } else { - // For negative E, shift digits in integer part out. - - // If there are fractions, then the number is not an integer. - if fracSize > 0 { - return "", false - } - - // index is where the decimal point will be after adjusting for negative - // exponent. - index := intpSize + exp - if index < 0 { - return "", false - } - - num = n.intp - // If any of the digits being shifted to the right of the decimal point - // is non-zero, then the number is not an integer. - for i := index; i < intpSize; i++ { - if num[i] != '0' { - return "", false - } - } - num = num[:index] - } - - if n.neg { - return "-" + string(num), true - } - return string(num), true -} diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_string.go b/vendor/google.golang.org/protobuf/internal/encoding/json/decode_string.go deleted file mode 100644 index f7fea7d8..00000000 --- a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_string.go +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2018 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package json - -import ( - "strconv" - "unicode" - "unicode/utf16" - "unicode/utf8" - - "google.golang.org/protobuf/internal/strs" -) - -func (d *Decoder) parseString(in []byte) (string, int, error) { - in0 := in - if len(in) == 0 { - return "", 0, ErrUnexpectedEOF - } - if in[0] != '"' { - return "", 0, d.newSyntaxError(d.currPos(), "invalid character %q at start of string", in[0]) - } - in = in[1:] - i := indexNeedEscapeInBytes(in) - in, out := in[i:], in[:i:i] // set cap to prevent mutations - for len(in) > 0 { - switch r, n := utf8.DecodeRune(in); { - case r == utf8.RuneError && n == 1: - return "", 0, d.newSyntaxError(d.currPos(), "invalid UTF-8 in string") - case r < ' ': - return "", 0, d.newSyntaxError(d.currPos(), "invalid character %q in string", r) - case r == '"': - in = in[1:] - n := len(in0) - len(in) - return string(out), n, nil - case r == '\\': - if len(in) < 2 { - return "", 0, ErrUnexpectedEOF - } - switch r := in[1]; r { - case '"', '\\', '/': - in, out = in[2:], append(out, r) - case 'b': - in, out = in[2:], append(out, '\b') - case 'f': - in, out = in[2:], append(out, '\f') - case 'n': - in, out = in[2:], append(out, '\n') - case 'r': - in, out = in[2:], append(out, '\r') - case 't': - in, out = in[2:], append(out, '\t') - case 'u': - if len(in) < 6 { - return "", 0, ErrUnexpectedEOF - } - v, err := strconv.ParseUint(string(in[2:6]), 16, 16) - if err != nil { - return "", 0, d.newSyntaxError(d.currPos(), "invalid escape code %q in string", in[:6]) - } - in = in[6:] - - r := rune(v) - if utf16.IsSurrogate(r) { - if len(in) < 6 { - return "", 0, ErrUnexpectedEOF - } - v, err := strconv.ParseUint(string(in[2:6]), 16, 16) - r = utf16.DecodeRune(r, rune(v)) - if in[0] != '\\' || in[1] != 'u' || - r == unicode.ReplacementChar || err != nil { - return "", 0, d.newSyntaxError(d.currPos(), "invalid escape code %q in string", in[:6]) - } - in = in[6:] - } - out = append(out, string(r)...) - default: - return "", 0, d.newSyntaxError(d.currPos(), "invalid escape code %q in string", in[:2]) - } - default: - i := indexNeedEscapeInBytes(in[n:]) - in, out = in[n+i:], append(out, in[:n+i]...) - } - } - return "", 0, ErrUnexpectedEOF -} - -// indexNeedEscapeInBytes returns the index of the character that needs -// escaping. If no characters need escaping, this returns the input length. -func indexNeedEscapeInBytes(b []byte) int { return indexNeedEscapeInString(strs.UnsafeString(b)) } diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_token.go b/vendor/google.golang.org/protobuf/internal/encoding/json/decode_token.go deleted file mode 100644 index 50578d65..00000000 --- a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_token.go +++ /dev/null @@ -1,192 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package json - -import ( - "bytes" - "fmt" - "strconv" -) - -// Kind represents a token kind expressible in the JSON format. -type Kind uint16 - -const ( - Invalid Kind = (1 << iota) / 2 - EOF - Null - Bool - Number - String - Name - ObjectOpen - ObjectClose - ArrayOpen - ArrayClose - - // comma is only for parsing in between tokens and - // does not need to be exported. - comma -) - -func (k Kind) String() string { - switch k { - case EOF: - return "eof" - case Null: - return "null" - case Bool: - return "bool" - case Number: - return "number" - case String: - return "string" - case ObjectOpen: - return "{" - case ObjectClose: - return "}" - case Name: - return "name" - case ArrayOpen: - return "[" - case ArrayClose: - return "]" - case comma: - return "," - } - return "" -} - -// Token provides a parsed token kind and value. -// -// Values are provided by the difference accessor methods. The accessor methods -// Name, Bool, and ParsedString will panic if called on the wrong kind. There -// are different accessor methods for the Number kind for converting to the -// appropriate Go numeric type and those methods have the ok return value. -type Token struct { - // Token kind. - kind Kind - // pos provides the position of the token in the original input. - pos int - // raw bytes of the serialized token. - // This is a subslice into the original input. - raw []byte - // boo is parsed boolean value. - boo bool - // str is parsed string value. - str string -} - -// Kind returns the token kind. -func (t Token) Kind() Kind { - return t.kind -} - -// RawString returns the read value in string. -func (t Token) RawString() string { - return string(t.raw) -} - -// Pos returns the token position from the input. -func (t Token) Pos() int { - return t.pos -} - -// Name returns the object name if token is Name, else it panics. -func (t Token) Name() string { - if t.kind == Name { - return t.str - } - panic(fmt.Sprintf("Token is not a Name: %v", t.RawString())) -} - -// Bool returns the bool value if token kind is Bool, else it panics. -func (t Token) Bool() bool { - if t.kind == Bool { - return t.boo - } - panic(fmt.Sprintf("Token is not a Bool: %v", t.RawString())) -} - -// ParsedString returns the string value for a JSON string token or the read -// value in string if token is not a string. -func (t Token) ParsedString() string { - if t.kind == String { - return t.str - } - panic(fmt.Sprintf("Token is not a String: %v", t.RawString())) -} - -// Float returns the floating-point number if token kind is Number. -// -// The floating-point precision is specified by the bitSize parameter: 32 for -// float32 or 64 for float64. If bitSize=32, the result still has type float64, -// but it will be convertible to float32 without changing its value. It will -// return false if the number exceeds the floating point limits for given -// bitSize. -func (t Token) Float(bitSize int) (float64, bool) { - if t.kind != Number { - return 0, false - } - f, err := strconv.ParseFloat(t.RawString(), bitSize) - if err != nil { - return 0, false - } - return f, true -} - -// Int returns the signed integer number if token is Number. -// -// The given bitSize specifies the integer type that the result must fit into. -// It returns false if the number is not an integer value or if the result -// exceeds the limits for given bitSize. -func (t Token) Int(bitSize int) (int64, bool) { - s, ok := t.getIntStr() - if !ok { - return 0, false - } - n, err := strconv.ParseInt(s, 10, bitSize) - if err != nil { - return 0, false - } - return n, true -} - -// Uint returns the signed integer number if token is Number. -// -// The given bitSize specifies the unsigned integer type that the result must -// fit into. It returns false if the number is not an unsigned integer value -// or if the result exceeds the limits for given bitSize. -func (t Token) Uint(bitSize int) (uint64, bool) { - s, ok := t.getIntStr() - if !ok { - return 0, false - } - n, err := strconv.ParseUint(s, 10, bitSize) - if err != nil { - return 0, false - } - return n, true -} - -func (t Token) getIntStr() (string, bool) { - if t.kind != Number { - return "", false - } - parts, ok := parseNumberParts(t.raw) - if !ok { - return "", false - } - return normalizeToIntString(parts) -} - -// TokenEquals returns true if given Tokens are equal, else false. -func TokenEquals(x, y Token) bool { - return x.kind == y.kind && - x.pos == y.pos && - bytes.Equal(x.raw, y.raw) && - x.boo == y.boo && - x.str == y.str -} diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/encode.go b/vendor/google.golang.org/protobuf/internal/encoding/json/encode.go deleted file mode 100644 index fbdf3487..00000000 --- a/vendor/google.golang.org/protobuf/internal/encoding/json/encode.go +++ /dev/null @@ -1,276 +0,0 @@ -// Copyright 2018 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package json - -import ( - "math" - "math/bits" - "strconv" - "strings" - "unicode/utf8" - - "google.golang.org/protobuf/internal/detrand" - "google.golang.org/protobuf/internal/errors" -) - -// kind represents an encoding type. -type kind uint8 - -const ( - _ kind = (1 << iota) / 2 - name - scalar - objectOpen - objectClose - arrayOpen - arrayClose -) - -// Encoder provides methods to write out JSON constructs and values. The user is -// responsible for producing valid sequences of JSON constructs and values. -type Encoder struct { - indent string - lastKind kind - indents []byte - out []byte -} - -// NewEncoder returns an Encoder. -// -// If indent is a non-empty string, it causes every entry for an Array or Object -// to be preceded by the indent and trailed by a newline. -func NewEncoder(indent string) (*Encoder, error) { - e := &Encoder{} - if len(indent) > 0 { - if strings.Trim(indent, " \t") != "" { - return nil, errors.New("indent may only be composed of space or tab characters") - } - e.indent = indent - } - return e, nil -} - -// Bytes returns the content of the written bytes. -func (e *Encoder) Bytes() []byte { - return e.out -} - -// WriteNull writes out the null value. -func (e *Encoder) WriteNull() { - e.prepareNext(scalar) - e.out = append(e.out, "null"...) -} - -// WriteBool writes out the given boolean value. -func (e *Encoder) WriteBool(b bool) { - e.prepareNext(scalar) - if b { - e.out = append(e.out, "true"...) - } else { - e.out = append(e.out, "false"...) - } -} - -// WriteString writes out the given string in JSON string value. Returns error -// if input string contains invalid UTF-8. -func (e *Encoder) WriteString(s string) error { - e.prepareNext(scalar) - var err error - if e.out, err = appendString(e.out, s); err != nil { - return err - } - return nil -} - -// Sentinel error used for indicating invalid UTF-8. -var errInvalidUTF8 = errors.New("invalid UTF-8") - -func appendString(out []byte, in string) ([]byte, error) { - out = append(out, '"') - i := indexNeedEscapeInString(in) - in, out = in[i:], append(out, in[:i]...) - for len(in) > 0 { - switch r, n := utf8.DecodeRuneInString(in); { - case r == utf8.RuneError && n == 1: - return out, errInvalidUTF8 - case r < ' ' || r == '"' || r == '\\': - out = append(out, '\\') - switch r { - case '"', '\\': - out = append(out, byte(r)) - case '\b': - out = append(out, 'b') - case '\f': - out = append(out, 'f') - case '\n': - out = append(out, 'n') - case '\r': - out = append(out, 'r') - case '\t': - out = append(out, 't') - default: - out = append(out, 'u') - out = append(out, "0000"[1+(bits.Len32(uint32(r))-1)/4:]...) - out = strconv.AppendUint(out, uint64(r), 16) - } - in = in[n:] - default: - i := indexNeedEscapeInString(in[n:]) - in, out = in[n+i:], append(out, in[:n+i]...) - } - } - out = append(out, '"') - return out, nil -} - -// indexNeedEscapeInString returns the index of the character that needs -// escaping. If no characters need escaping, this returns the input length. -func indexNeedEscapeInString(s string) int { - for i, r := range s { - if r < ' ' || r == '\\' || r == '"' || r == utf8.RuneError { - return i - } - } - return len(s) -} - -// WriteFloat writes out the given float and bitSize in JSON number value. -func (e *Encoder) WriteFloat(n float64, bitSize int) { - e.prepareNext(scalar) - e.out = appendFloat(e.out, n, bitSize) -} - -// appendFloat formats given float in bitSize, and appends to the given []byte. -func appendFloat(out []byte, n float64, bitSize int) []byte { - switch { - case math.IsNaN(n): - return append(out, `"NaN"`...) - case math.IsInf(n, +1): - return append(out, `"Infinity"`...) - case math.IsInf(n, -1): - return append(out, `"-Infinity"`...) - } - - // JSON number formatting logic based on encoding/json. - // See floatEncoder.encode for reference. - fmt := byte('f') - if abs := math.Abs(n); abs != 0 { - if bitSize == 64 && (abs < 1e-6 || abs >= 1e21) || - bitSize == 32 && (float32(abs) < 1e-6 || float32(abs) >= 1e21) { - fmt = 'e' - } - } - out = strconv.AppendFloat(out, n, fmt, -1, bitSize) - if fmt == 'e' { - n := len(out) - if n >= 4 && out[n-4] == 'e' && out[n-3] == '-' && out[n-2] == '0' { - out[n-2] = out[n-1] - out = out[:n-1] - } - } - return out -} - -// WriteInt writes out the given signed integer in JSON number value. -func (e *Encoder) WriteInt(n int64) { - e.prepareNext(scalar) - e.out = append(e.out, strconv.FormatInt(n, 10)...) -} - -// WriteUint writes out the given unsigned integer in JSON number value. -func (e *Encoder) WriteUint(n uint64) { - e.prepareNext(scalar) - e.out = append(e.out, strconv.FormatUint(n, 10)...) -} - -// StartObject writes out the '{' symbol. -func (e *Encoder) StartObject() { - e.prepareNext(objectOpen) - e.out = append(e.out, '{') -} - -// EndObject writes out the '}' symbol. -func (e *Encoder) EndObject() { - e.prepareNext(objectClose) - e.out = append(e.out, '}') -} - -// WriteName writes out the given string in JSON string value and the name -// separator ':'. Returns error if input string contains invalid UTF-8, which -// should not be likely as protobuf field names should be valid. -func (e *Encoder) WriteName(s string) error { - e.prepareNext(name) - var err error - // Append to output regardless of error. - e.out, err = appendString(e.out, s) - e.out = append(e.out, ':') - return err -} - -// StartArray writes out the '[' symbol. -func (e *Encoder) StartArray() { - e.prepareNext(arrayOpen) - e.out = append(e.out, '[') -} - -// EndArray writes out the ']' symbol. -func (e *Encoder) EndArray() { - e.prepareNext(arrayClose) - e.out = append(e.out, ']') -} - -// prepareNext adds possible comma and indentation for the next value based -// on last type and indent option. It also updates lastKind to next. -func (e *Encoder) prepareNext(next kind) { - defer func() { - // Set lastKind to next. - e.lastKind = next - }() - - if len(e.indent) == 0 { - // Need to add comma on the following condition. - if e.lastKind&(scalar|objectClose|arrayClose) != 0 && - next&(name|scalar|objectOpen|arrayOpen) != 0 { - e.out = append(e.out, ',') - // For single-line output, add a random extra space after each - // comma to make output unstable. - if detrand.Bool() { - e.out = append(e.out, ' ') - } - } - return - } - - switch { - case e.lastKind&(objectOpen|arrayOpen) != 0: - // If next type is NOT closing, add indent and newline. - if next&(objectClose|arrayClose) == 0 { - e.indents = append(e.indents, e.indent...) - e.out = append(e.out, '\n') - e.out = append(e.out, e.indents...) - } - - case e.lastKind&(scalar|objectClose|arrayClose) != 0: - switch { - // If next type is either a value or name, add comma and newline. - case next&(name|scalar|objectOpen|arrayOpen) != 0: - e.out = append(e.out, ',', '\n') - - // If next type is a closing object or array, adjust indentation. - case next&(objectClose|arrayClose) != 0: - e.indents = e.indents[:len(e.indents)-len(e.indent)] - e.out = append(e.out, '\n') - } - e.out = append(e.out, e.indents...) - - case e.lastKind&name != 0: - e.out = append(e.out, ' ') - // For multi-line output, add a random extra space after key: to make - // output unstable. - if detrand.Bool() { - e.out = append(e.out, ' ') - } - } -} diff --git a/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go b/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go deleted file mode 100644 index 58669052..00000000 --- a/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go +++ /dev/null @@ -1,810 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: google/protobuf/struct.proto - -// Package structpb contains generated types for google/protobuf/struct.proto. -// -// The messages (i.e., Value, Struct, and ListValue) defined in struct.proto are -// used to represent arbitrary JSON. The Value message represents a JSON value, -// the Struct message represents a JSON object, and the ListValue message -// represents a JSON array. See https://json.org for more information. -// -// The Value, Struct, and ListValue types have generated MarshalJSON and -// UnmarshalJSON methods such that they serialize JSON equivalent to what the -// messages themselves represent. Use of these types with the -// "google.golang.org/protobuf/encoding/protojson" package -// ensures that they will be serialized as their JSON equivalent. -// -// -// Conversion to and from a Go interface -// -// The standard Go "encoding/json" package has functionality to serialize -// arbitrary types to a large degree. The Value.AsInterface, Struct.AsMap, and -// ListValue.AsSlice methods can convert the protobuf message representation into -// a form represented by interface{}, map[string]interface{}, and []interface{}. -// This form can be used with other packages that operate on such data structures -// and also directly with the standard json package. -// -// In order to convert the interface{}, map[string]interface{}, and []interface{} -// forms back as Value, Struct, and ListValue messages, use the NewStruct, -// NewList, and NewValue constructor functions. -// -// -// Example usage -// -// Consider the following example JSON object: -// -// { -// "firstName": "John", -// "lastName": "Smith", -// "isAlive": true, -// "age": 27, -// "address": { -// "streetAddress": "21 2nd Street", -// "city": "New York", -// "state": "NY", -// "postalCode": "10021-3100" -// }, -// "phoneNumbers": [ -// { -// "type": "home", -// "number": "212 555-1234" -// }, -// { -// "type": "office", -// "number": "646 555-4567" -// } -// ], -// "children": [], -// "spouse": null -// } -// -// To construct a Value message representing the above JSON object: -// -// m, err := structpb.NewValue(map[string]interface{}{ -// "firstName": "John", -// "lastName": "Smith", -// "isAlive": true, -// "age": 27, -// "address": map[string]interface{}{ -// "streetAddress": "21 2nd Street", -// "city": "New York", -// "state": "NY", -// "postalCode": "10021-3100", -// }, -// "phoneNumbers": []interface{}{ -// map[string]interface{}{ -// "type": "home", -// "number": "212 555-1234", -// }, -// map[string]interface{}{ -// "type": "office", -// "number": "646 555-4567", -// }, -// }, -// "children": []interface{}{}, -// "spouse": nil, -// }) -// if err != nil { -// ... // handle error -// } -// ... // make use of m as a *structpb.Value -// -package structpb - -import ( - base64 "encoding/base64" - protojson "google.golang.org/protobuf/encoding/protojson" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - math "math" - reflect "reflect" - sync "sync" - utf8 "unicode/utf8" -) - -// `NullValue` is a singleton enumeration to represent the null value for the -// `Value` type union. -// -// The JSON representation for `NullValue` is JSON `null`. -type NullValue int32 - -const ( - // Null value. - NullValue_NULL_VALUE NullValue = 0 -) - -// Enum value maps for NullValue. -var ( - NullValue_name = map[int32]string{ - 0: "NULL_VALUE", - } - NullValue_value = map[string]int32{ - "NULL_VALUE": 0, - } -) - -func (x NullValue) Enum() *NullValue { - p := new(NullValue) - *p = x - return p -} - -func (x NullValue) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NullValue) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_struct_proto_enumTypes[0].Descriptor() -} - -func (NullValue) Type() protoreflect.EnumType { - return &file_google_protobuf_struct_proto_enumTypes[0] -} - -func (x NullValue) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use NullValue.Descriptor instead. -func (NullValue) EnumDescriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0} -} - -// `Struct` represents a structured data value, consisting of fields -// which map to dynamically typed values. In some languages, `Struct` -// might be supported by a native representation. For example, in -// scripting languages like JS a struct is represented as an -// object. The details of that representation are described together -// with the proto support for the language. -// -// The JSON representation for `Struct` is JSON object. -type Struct struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Unordered map of dynamically typed values. - Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -// NewStruct constructs a Struct from a general-purpose Go map. -// The map keys must be valid UTF-8. -// The map values are converted using NewValue. -func NewStruct(v map[string]interface{}) (*Struct, error) { - x := &Struct{Fields: make(map[string]*Value, len(v))} - for k, v := range v { - if !utf8.ValidString(k) { - return nil, protoimpl.X.NewError("invalid UTF-8 in string: %q", k) - } - var err error - x.Fields[k], err = NewValue(v) - if err != nil { - return nil, err - } - } - return x, nil -} - -// AsMap converts x to a general-purpose Go map. -// The map values are converted by calling Value.AsInterface. -func (x *Struct) AsMap() map[string]interface{} { - vs := make(map[string]interface{}) - for k, v := range x.GetFields() { - vs[k] = v.AsInterface() - } - return vs -} - -func (x *Struct) MarshalJSON() ([]byte, error) { - return protojson.Marshal(x) -} - -func (x *Struct) UnmarshalJSON(b []byte) error { - return protojson.Unmarshal(b, x) -} - -func (x *Struct) Reset() { - *x = Struct{} - if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_struct_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Struct) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Struct) ProtoMessage() {} - -func (x *Struct) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_struct_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Struct.ProtoReflect.Descriptor instead. -func (*Struct) Descriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0} -} - -func (x *Struct) GetFields() map[string]*Value { - if x != nil { - return x.Fields - } - return nil -} - -// `Value` represents a dynamically typed value which can be either -// null, a number, a string, a boolean, a recursive struct value, or a -// list of values. A producer of value is expected to set one of that -// variants, absence of any variant indicates an error. -// -// The JSON representation for `Value` is JSON value. -type Value struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The kind of value. - // - // Types that are assignable to Kind: - // *Value_NullValue - // *Value_NumberValue - // *Value_StringValue - // *Value_BoolValue - // *Value_StructValue - // *Value_ListValue - Kind isValue_Kind `protobuf_oneof:"kind"` -} - -// NewValue constructs a Value from a general-purpose Go interface. -// -// ╔════════════════════════╤════════════════════════════════════════════╗ -// ║ Go type │ Conversion ║ -// ╠════════════════════════╪════════════════════════════════════════════╣ -// ║ nil │ stored as NullValue ║ -// ║ bool │ stored as BoolValue ║ -// ║ int, int32, int64 │ stored as NumberValue ║ -// ║ uint, uint32, uint64 │ stored as NumberValue ║ -// ║ float32, float64 │ stored as NumberValue ║ -// ║ string │ stored as StringValue; must be valid UTF-8 ║ -// ║ []byte │ stored as StringValue; base64-encoded ║ -// ║ map[string]interface{} │ stored as StructValue ║ -// ║ []interface{} │ stored as ListValue ║ -// ╚════════════════════════╧════════════════════════════════════════════╝ -// -// When converting an int64 or uint64 to a NumberValue, numeric precision loss -// is possible since they are stored as a float64. -func NewValue(v interface{}) (*Value, error) { - switch v := v.(type) { - case nil: - return NewNullValue(), nil - case bool: - return NewBoolValue(v), nil - case int: - return NewNumberValue(float64(v)), nil - case int32: - return NewNumberValue(float64(v)), nil - case int64: - return NewNumberValue(float64(v)), nil - case uint: - return NewNumberValue(float64(v)), nil - case uint32: - return NewNumberValue(float64(v)), nil - case uint64: - return NewNumberValue(float64(v)), nil - case float32: - return NewNumberValue(float64(v)), nil - case float64: - return NewNumberValue(float64(v)), nil - case string: - if !utf8.ValidString(v) { - return nil, protoimpl.X.NewError("invalid UTF-8 in string: %q", v) - } - return NewStringValue(v), nil - case []byte: - s := base64.StdEncoding.EncodeToString(v) - return NewStringValue(s), nil - case map[string]interface{}: - v2, err := NewStruct(v) - if err != nil { - return nil, err - } - return NewStructValue(v2), nil - case []interface{}: - v2, err := NewList(v) - if err != nil { - return nil, err - } - return NewListValue(v2), nil - default: - return nil, protoimpl.X.NewError("invalid type: %T", v) - } -} - -// NewNullValue constructs a new null Value. -func NewNullValue() *Value { - return &Value{Kind: &Value_NullValue{NullValue: NullValue_NULL_VALUE}} -} - -// NewBoolValue constructs a new boolean Value. -func NewBoolValue(v bool) *Value { - return &Value{Kind: &Value_BoolValue{BoolValue: v}} -} - -// NewNumberValue constructs a new number Value. -func NewNumberValue(v float64) *Value { - return &Value{Kind: &Value_NumberValue{NumberValue: v}} -} - -// NewStringValue constructs a new string Value. -func NewStringValue(v string) *Value { - return &Value{Kind: &Value_StringValue{StringValue: v}} -} - -// NewStructValue constructs a new struct Value. -func NewStructValue(v *Struct) *Value { - return &Value{Kind: &Value_StructValue{StructValue: v}} -} - -// NewListValue constructs a new list Value. -func NewListValue(v *ListValue) *Value { - return &Value{Kind: &Value_ListValue{ListValue: v}} -} - -// AsInterface converts x to a general-purpose Go interface. -// -// Calling Value.MarshalJSON and "encoding/json".Marshal on this output produce -// semantically equivalent JSON (assuming no errors occur). -// -// Floating-point values (i.e., "NaN", "Infinity", and "-Infinity") are -// converted as strings to remain compatible with MarshalJSON. -func (x *Value) AsInterface() interface{} { - switch v := x.GetKind().(type) { - case *Value_NumberValue: - if v != nil { - switch { - case math.IsNaN(v.NumberValue): - return "NaN" - case math.IsInf(v.NumberValue, +1): - return "Infinity" - case math.IsInf(v.NumberValue, -1): - return "-Infinity" - default: - return v.NumberValue - } - } - case *Value_StringValue: - if v != nil { - return v.StringValue - } - case *Value_BoolValue: - if v != nil { - return v.BoolValue - } - case *Value_StructValue: - if v != nil { - return v.StructValue.AsMap() - } - case *Value_ListValue: - if v != nil { - return v.ListValue.AsSlice() - } - } - return nil -} - -func (x *Value) MarshalJSON() ([]byte, error) { - return protojson.Marshal(x) -} - -func (x *Value) UnmarshalJSON(b []byte) error { - return protojson.Unmarshal(b, x) -} - -func (x *Value) Reset() { - *x = Value{} - if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_struct_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Value) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Value) ProtoMessage() {} - -func (x *Value) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_struct_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Value.ProtoReflect.Descriptor instead. -func (*Value) Descriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{1} -} - -func (m *Value) GetKind() isValue_Kind { - if m != nil { - return m.Kind - } - return nil -} - -func (x *Value) GetNullValue() NullValue { - if x, ok := x.GetKind().(*Value_NullValue); ok { - return x.NullValue - } - return NullValue_NULL_VALUE -} - -func (x *Value) GetNumberValue() float64 { - if x, ok := x.GetKind().(*Value_NumberValue); ok { - return x.NumberValue - } - return 0 -} - -func (x *Value) GetStringValue() string { - if x, ok := x.GetKind().(*Value_StringValue); ok { - return x.StringValue - } - return "" -} - -func (x *Value) GetBoolValue() bool { - if x, ok := x.GetKind().(*Value_BoolValue); ok { - return x.BoolValue - } - return false -} - -func (x *Value) GetStructValue() *Struct { - if x, ok := x.GetKind().(*Value_StructValue); ok { - return x.StructValue - } - return nil -} - -func (x *Value) GetListValue() *ListValue { - if x, ok := x.GetKind().(*Value_ListValue); ok { - return x.ListValue - } - return nil -} - -type isValue_Kind interface { - isValue_Kind() -} - -type Value_NullValue struct { - // Represents a null value. - NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` -} - -type Value_NumberValue struct { - // Represents a double value. - NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"` -} - -type Value_StringValue struct { - // Represents a string value. - StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` -} - -type Value_BoolValue struct { - // Represents a boolean value. - BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` -} - -type Value_StructValue struct { - // Represents a structured value. - StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"` -} - -type Value_ListValue struct { - // Represents a repeated `Value`. - ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"` -} - -func (*Value_NullValue) isValue_Kind() {} - -func (*Value_NumberValue) isValue_Kind() {} - -func (*Value_StringValue) isValue_Kind() {} - -func (*Value_BoolValue) isValue_Kind() {} - -func (*Value_StructValue) isValue_Kind() {} - -func (*Value_ListValue) isValue_Kind() {} - -// `ListValue` is a wrapper around a repeated field of values. -// -// The JSON representation for `ListValue` is JSON array. -type ListValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repeated field of dynamically typed values. - Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` -} - -// NewList constructs a ListValue from a general-purpose Go slice. -// The slice elements are converted using NewValue. -func NewList(v []interface{}) (*ListValue, error) { - x := &ListValue{Values: make([]*Value, len(v))} - for i, v := range v { - var err error - x.Values[i], err = NewValue(v) - if err != nil { - return nil, err - } - } - return x, nil -} - -// AsSlice converts x to a general-purpose Go slice. -// The slice elements are converted by calling Value.AsInterface. -func (x *ListValue) AsSlice() []interface{} { - vs := make([]interface{}, len(x.GetValues())) - for i, v := range x.GetValues() { - vs[i] = v.AsInterface() - } - return vs -} - -func (x *ListValue) MarshalJSON() ([]byte, error) { - return protojson.Marshal(x) -} - -func (x *ListValue) UnmarshalJSON(b []byte) error { - return protojson.Unmarshal(b, x) -} - -func (x *ListValue) Reset() { - *x = ListValue{} - if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_struct_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListValue) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListValue) ProtoMessage() {} - -func (x *ListValue) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_struct_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListValue.ProtoReflect.Descriptor instead. -func (*ListValue) Descriptor() ([]byte, []int) { - return file_google_protobuf_struct_proto_rawDescGZIP(), []int{2} -} - -func (x *ListValue) GetValues() []*Value { - if x != nil { - return x.Values - } - return nil -} - -var File_google_protobuf_struct_proto protoreflect.FileDescriptor - -var file_google_protobuf_struct_proto_rawDesc = []byte{ - 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, - 0x98, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x51, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x02, 0x0a, 0x05, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, - 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, - 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, - 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6c, 0x69, - 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, - 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, - 0x3b, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x06, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x1b, 0x0a, 0x09, - 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x55, 0x4c, - 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x42, 0x7f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x42, 0x0b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, - 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x70, 0x62, - 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, - 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_google_protobuf_struct_proto_rawDescOnce sync.Once - file_google_protobuf_struct_proto_rawDescData = file_google_protobuf_struct_proto_rawDesc -) - -func file_google_protobuf_struct_proto_rawDescGZIP() []byte { - file_google_protobuf_struct_proto_rawDescOnce.Do(func() { - file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_struct_proto_rawDescData) - }) - return file_google_protobuf_struct_proto_rawDescData -} - -var file_google_protobuf_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_google_protobuf_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_google_protobuf_struct_proto_goTypes = []interface{}{ - (NullValue)(0), // 0: google.protobuf.NullValue - (*Struct)(nil), // 1: google.protobuf.Struct - (*Value)(nil), // 2: google.protobuf.Value - (*ListValue)(nil), // 3: google.protobuf.ListValue - nil, // 4: google.protobuf.Struct.FieldsEntry -} -var file_google_protobuf_struct_proto_depIdxs = []int32{ - 4, // 0: google.protobuf.Struct.fields:type_name -> google.protobuf.Struct.FieldsEntry - 0, // 1: google.protobuf.Value.null_value:type_name -> google.protobuf.NullValue - 1, // 2: google.protobuf.Value.struct_value:type_name -> google.protobuf.Struct - 3, // 3: google.protobuf.Value.list_value:type_name -> google.protobuf.ListValue - 2, // 4: google.protobuf.ListValue.values:type_name -> google.protobuf.Value - 2, // 5: google.protobuf.Struct.FieldsEntry.value:type_name -> google.protobuf.Value - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name -} - -func init() { file_google_protobuf_struct_proto_init() } -func file_google_protobuf_struct_proto_init() { - if File_google_protobuf_struct_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_google_protobuf_struct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Struct); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_protobuf_struct_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Value); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_google_protobuf_struct_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []interface{}{ - (*Value_NullValue)(nil), - (*Value_NumberValue)(nil), - (*Value_StringValue)(nil), - (*Value_BoolValue)(nil), - (*Value_StructValue)(nil), - (*Value_ListValue)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_struct_proto_rawDesc, - NumEnums: 1, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_google_protobuf_struct_proto_goTypes, - DependencyIndexes: file_google_protobuf_struct_proto_depIdxs, - EnumInfos: file_google_protobuf_struct_proto_enumTypes, - MessageInfos: file_google_protobuf_struct_proto_msgTypes, - }.Build() - File_google_protobuf_struct_proto = out.File - file_google_protobuf_struct_proto_rawDesc = nil - file_google_protobuf_struct_proto_goTypes = nil - file_google_protobuf_struct_proto_depIdxs = nil -} diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/doc.go b/vendor/k8s.io/api/imagepolicy/v1alpha1/doc.go deleted file mode 100644 index 5db6d52d..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/doc.go +++ /dev/null @@ -1,23 +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. -*/ - -// +k8s:deepcopy-gen=package -// +k8s:protobuf-gen=package -// +k8s:openapi-gen=true - -// +groupName=imagepolicy.k8s.io - -package v1alpha1 // import "k8s.io/api/imagepolicy/v1alpha1" diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.pb.go b/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.pb.go deleted file mode 100644 index 990f11c0..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.pb.go +++ /dev/null @@ -1,1375 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: k8s.io/kubernetes/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto - -package v1alpha1 - -import ( - fmt "fmt" - - io "io" - - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - - math "math" - math_bits "math/bits" - reflect "reflect" - strings "strings" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func (m *ImageReview) Reset() { *m = ImageReview{} } -func (*ImageReview) ProtoMessage() {} -func (*ImageReview) Descriptor() ([]byte, []int) { - return fileDescriptor_834793af728657a5, []int{0} -} -func (m *ImageReview) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ImageReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *ImageReview) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageReview.Merge(m, src) -} -func (m *ImageReview) XXX_Size() int { - return m.Size() -} -func (m *ImageReview) XXX_DiscardUnknown() { - xxx_messageInfo_ImageReview.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageReview proto.InternalMessageInfo - -func (m *ImageReviewContainerSpec) Reset() { *m = ImageReviewContainerSpec{} } -func (*ImageReviewContainerSpec) ProtoMessage() {} -func (*ImageReviewContainerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_834793af728657a5, []int{1} -} -func (m *ImageReviewContainerSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ImageReviewContainerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *ImageReviewContainerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageReviewContainerSpec.Merge(m, src) -} -func (m *ImageReviewContainerSpec) XXX_Size() int { - return m.Size() -} -func (m *ImageReviewContainerSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ImageReviewContainerSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageReviewContainerSpec proto.InternalMessageInfo - -func (m *ImageReviewSpec) Reset() { *m = ImageReviewSpec{} } -func (*ImageReviewSpec) ProtoMessage() {} -func (*ImageReviewSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_834793af728657a5, []int{2} -} -func (m *ImageReviewSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ImageReviewSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *ImageReviewSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageReviewSpec.Merge(m, src) -} -func (m *ImageReviewSpec) XXX_Size() int { - return m.Size() -} -func (m *ImageReviewSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ImageReviewSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageReviewSpec proto.InternalMessageInfo - -func (m *ImageReviewStatus) Reset() { *m = ImageReviewStatus{} } -func (*ImageReviewStatus) ProtoMessage() {} -func (*ImageReviewStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_834793af728657a5, []int{3} -} -func (m *ImageReviewStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ImageReviewStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *ImageReviewStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImageReviewStatus.Merge(m, src) -} -func (m *ImageReviewStatus) XXX_Size() int { - return m.Size() -} -func (m *ImageReviewStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ImageReviewStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ImageReviewStatus proto.InternalMessageInfo - -func init() { - proto.RegisterType((*ImageReview)(nil), "k8s.io.api.imagepolicy.v1alpha1.ImageReview") - proto.RegisterType((*ImageReviewContainerSpec)(nil), "k8s.io.api.imagepolicy.v1alpha1.ImageReviewContainerSpec") - proto.RegisterType((*ImageReviewSpec)(nil), "k8s.io.api.imagepolicy.v1alpha1.ImageReviewSpec") - proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.imagepolicy.v1alpha1.ImageReviewSpec.AnnotationsEntry") - proto.RegisterType((*ImageReviewStatus)(nil), "k8s.io.api.imagepolicy.v1alpha1.ImageReviewStatus") - proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.imagepolicy.v1alpha1.ImageReviewStatus.AuditAnnotationsEntry") -} - -func init() { - proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto", fileDescriptor_834793af728657a5) -} - -var fileDescriptor_834793af728657a5 = []byte{ - // 609 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcf, 0x6e, 0xd3, 0x4c, - 0x14, 0xc5, 0xe3, 0xa4, 0xff, 0x32, 0xf9, 0x3e, 0x9a, 0x0e, 0x20, 0x59, 0x59, 0x38, 0x55, 0x90, - 0x50, 0x59, 0x30, 0x43, 0x2b, 0x84, 0x0a, 0x0b, 0x50, 0x5c, 0x55, 0x2a, 0x0b, 0x40, 0x1a, 0x76, - 0x5d, 0x31, 0x71, 0x2e, 0x8e, 0x49, 0x3c, 0x63, 0x79, 0xc6, 0x29, 0xd9, 0xf1, 0x04, 0x88, 0x37, - 0xe0, 0x45, 0x78, 0x80, 0x2e, 0xbb, 0xec, 0xaa, 0xa2, 0x61, 0xc9, 0x4b, 0x20, 0x8f, 0x9d, 0xd8, - 0x24, 0x45, 0x55, 0x76, 0xbe, 0xf7, 0xce, 0xf9, 0xdd, 0xe3, 0xe3, 0x91, 0xd1, 0xc9, 0xf0, 0x50, - 0x91, 0x40, 0xd2, 0x61, 0xd2, 0x83, 0x58, 0x80, 0x06, 0x45, 0xc7, 0x20, 0xfa, 0x32, 0xa6, 0xf9, - 0x80, 0x47, 0x01, 0x0d, 0x42, 0xee, 0x43, 0x24, 0x47, 0x81, 0x37, 0xa1, 0xe3, 0x7d, 0x3e, 0x8a, - 0x06, 0x7c, 0x9f, 0xfa, 0x20, 0x20, 0xe6, 0x1a, 0xfa, 0x24, 0x8a, 0xa5, 0x96, 0xb8, 0x9d, 0x09, - 0x08, 0x8f, 0x02, 0x52, 0x12, 0x90, 0x99, 0xa0, 0xf5, 0xd8, 0x0f, 0xf4, 0x20, 0xe9, 0x11, 0x4f, - 0x86, 0xd4, 0x97, 0xbe, 0xa4, 0x46, 0xd7, 0x4b, 0x3e, 0x9a, 0xca, 0x14, 0xe6, 0x29, 0xe3, 0xb5, - 0x9e, 0x16, 0x06, 0x42, 0xee, 0x0d, 0x02, 0x01, 0xf1, 0x84, 0x46, 0x43, 0x3f, 0x6d, 0x28, 0x1a, - 0x82, 0xe6, 0x74, 0xbc, 0xe4, 0xa2, 0x45, 0xff, 0xa5, 0x8a, 0x13, 0xa1, 0x83, 0x10, 0x96, 0x04, - 0xcf, 0x6e, 0x13, 0x28, 0x6f, 0x00, 0x21, 0x5f, 0xd4, 0x75, 0xbe, 0x57, 0x51, 0xe3, 0x75, 0xfa, - 0x9a, 0x0c, 0xc6, 0x01, 0x9c, 0xe1, 0x0f, 0x68, 0x2b, 0xf5, 0xd4, 0xe7, 0x9a, 0xdb, 0xd6, 0xae, - 0xb5, 0xd7, 0x38, 0x78, 0x42, 0x8a, 0x44, 0xe6, 0x68, 0x12, 0x0d, 0xfd, 0xb4, 0xa1, 0x48, 0x7a, - 0x9a, 0x8c, 0xf7, 0xc9, 0xbb, 0xde, 0x27, 0xf0, 0xf4, 0x1b, 0xd0, 0xdc, 0xc5, 0xe7, 0x57, 0xed, - 0xca, 0xf4, 0xaa, 0x8d, 0x8a, 0x1e, 0x9b, 0x53, 0x31, 0x43, 0x6b, 0x2a, 0x02, 0xcf, 0xae, 0x2e, - 0xd1, 0x6f, 0xcc, 0x9b, 0x94, 0xdc, 0xbd, 0x8f, 0xc0, 0x73, 0xff, 0xcb, 0xe9, 0x6b, 0x69, 0xc5, - 0x0c, 0x0b, 0x9f, 0xa2, 0x0d, 0xa5, 0xb9, 0x4e, 0x94, 0x5d, 0x33, 0xd4, 0x83, 0x95, 0xa8, 0x46, - 0xe9, 0xde, 0xc9, 0xb9, 0x1b, 0x59, 0xcd, 0x72, 0x62, 0xe7, 0x15, 0xb2, 0x4b, 0x87, 0x8f, 0xa4, - 0xd0, 0x3c, 0x8d, 0x20, 0xdd, 0x8e, 0x1f, 0xa0, 0x75, 0x43, 0x37, 0x51, 0xd5, 0xdd, 0xff, 0x73, - 0xc4, 0x7a, 0x26, 0xc8, 0x66, 0x9d, 0xdf, 0x55, 0xb4, 0xbd, 0xf0, 0x12, 0x38, 0x44, 0xc8, 0x9b, - 0x91, 0x94, 0x6d, 0xed, 0xd6, 0xf6, 0x1a, 0x07, 0xcf, 0x57, 0x31, 0xfd, 0x97, 0x8f, 0x22, 0xf1, - 0x79, 0x5b, 0xb1, 0xd2, 0x02, 0xfc, 0x19, 0x35, 0xb8, 0x10, 0x52, 0x73, 0x1d, 0x48, 0xa1, 0xec, - 0xaa, 0xd9, 0xd7, 0x5d, 0x35, 0x7a, 0xd2, 0x2d, 0x18, 0xc7, 0x42, 0xc7, 0x13, 0xf7, 0x6e, 0xbe, - 0xb7, 0x51, 0x9a, 0xb0, 0xf2, 0x2a, 0x4c, 0x51, 0x5d, 0xf0, 0x10, 0x54, 0xc4, 0x3d, 0x30, 0x1f, - 0xa7, 0xee, 0xee, 0xe4, 0xa2, 0xfa, 0xdb, 0xd9, 0x80, 0x15, 0x67, 0x5a, 0x2f, 0x51, 0x73, 0x71, - 0x0d, 0x6e, 0xa2, 0xda, 0x10, 0x26, 0x59, 0xc8, 0x2c, 0x7d, 0xc4, 0xf7, 0xd0, 0xfa, 0x98, 0x8f, - 0x12, 0x30, 0xb7, 0xa8, 0xce, 0xb2, 0xe2, 0x45, 0xf5, 0xd0, 0xea, 0xfc, 0xa8, 0xa2, 0x9d, 0xa5, - 0x8f, 0x8b, 0x1f, 0xa1, 0x4d, 0x3e, 0x1a, 0xc9, 0x33, 0xe8, 0x1b, 0xca, 0x96, 0xbb, 0x9d, 0x9b, - 0xd8, 0xec, 0x66, 0x6d, 0x36, 0x9b, 0xe3, 0x87, 0x68, 0x23, 0x06, 0xae, 0xa4, 0xc8, 0xd8, 0xc5, - 0xbd, 0x60, 0xa6, 0xcb, 0xf2, 0x29, 0xfe, 0x6a, 0xa1, 0x26, 0x4f, 0xfa, 0x81, 0x2e, 0xd9, 0xb5, - 0x6b, 0x26, 0xd9, 0x93, 0xd5, 0xaf, 0x1f, 0xe9, 0x2e, 0xa0, 0xb2, 0x80, 0xed, 0x7c, 0x79, 0x73, - 0x71, 0xcc, 0x96, 0x76, 0xb7, 0x8e, 0xd0, 0xfd, 0x1b, 0x21, 0xab, 0xc4, 0xe7, 0x1e, 0x9f, 0x5f, - 0x3b, 0x95, 0x8b, 0x6b, 0xa7, 0x72, 0x79, 0xed, 0x54, 0xbe, 0x4c, 0x1d, 0xeb, 0x7c, 0xea, 0x58, - 0x17, 0x53, 0xc7, 0xba, 0x9c, 0x3a, 0xd6, 0xcf, 0xa9, 0x63, 0x7d, 0xfb, 0xe5, 0x54, 0x4e, 0xdb, - 0xb7, 0xfc, 0x55, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x2c, 0xa6, 0xdf, 0x90, 0x05, 0x00, - 0x00, -} - -func (m *ImageReview) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ImageReview) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ImageReview) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - { - size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *ImageReviewContainerSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ImageReviewContainerSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ImageReviewContainerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - i -= len(m.Image) - copy(dAtA[i:], m.Image) - i = encodeVarintGenerated(dAtA, i, uint64(len(m.Image))) - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *ImageReviewSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ImageReviewSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ImageReviewSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x1a - if len(m.Annotations) > 0 { - keysForAnnotations := make([]string, 0, len(m.Annotations)) - for k := range m.Annotations { - keysForAnnotations = append(keysForAnnotations, string(k)) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) - for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- { - v := m.Annotations[string(keysForAnnotations[iNdEx])] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintGenerated(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(keysForAnnotations[iNdEx]) - copy(dAtA[i:], keysForAnnotations[iNdEx]) - i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx]))) - i-- - dAtA[i] = 0xa - i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Containers) > 0 { - for iNdEx := len(m.Containers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Containers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *ImageReviewStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ImageReviewStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ImageReviewStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AuditAnnotations) > 0 { - keysForAuditAnnotations := make([]string, 0, len(m.AuditAnnotations)) - for k := range m.AuditAnnotations { - keysForAuditAnnotations = append(keysForAuditAnnotations, string(k)) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForAuditAnnotations) - for iNdEx := len(keysForAuditAnnotations) - 1; iNdEx >= 0; iNdEx-- { - v := m.AuditAnnotations[string(keysForAuditAnnotations[iNdEx])] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintGenerated(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(keysForAuditAnnotations[iNdEx]) - copy(dAtA[i:], keysForAuditAnnotations[iNdEx]) - i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAuditAnnotations[iNdEx]))) - i-- - dAtA[i] = 0xa - i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x12 - i-- - if m.Allowed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - return len(dAtA) - i, nil -} - -func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { - offset -= sovGenerated(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *ImageReview) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.ObjectMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Spec.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Status.Size() - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func (m *ImageReviewContainerSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Image) - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func (m *ImageReviewSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Containers) > 0 { - for _, e := range m.Containers { - l = e.Size() - n += 1 + l + sovGenerated(uint64(l)) - } - } - if len(m.Annotations) > 0 { - for k, v := range m.Annotations { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) - } - } - l = len(m.Namespace) - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func (m *ImageReviewStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - n += 2 - l = len(m.Reason) - n += 1 + l + sovGenerated(uint64(l)) - if len(m.AuditAnnotations) > 0 { - for k, v := range m.AuditAnnotations { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) - n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) - } - } - return n -} - -func sovGenerated(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenerated(x uint64) (n int) { - return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *ImageReview) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ImageReview{`, - `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ImageReviewSpec", "ImageReviewSpec", 1), `&`, ``, 1) + `,`, - `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ImageReviewStatus", "ImageReviewStatus", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func (this *ImageReviewContainerSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ImageReviewContainerSpec{`, - `Image:` + fmt.Sprintf("%v", this.Image) + `,`, - `}`, - }, "") - return s -} -func (this *ImageReviewSpec) String() string { - if this == nil { - return "nil" - } - repeatedStringForContainers := "[]ImageReviewContainerSpec{" - for _, f := range this.Containers { - repeatedStringForContainers += strings.Replace(strings.Replace(f.String(), "ImageReviewContainerSpec", "ImageReviewContainerSpec", 1), `&`, ``, 1) + "," - } - repeatedStringForContainers += "}" - keysForAnnotations := make([]string, 0, len(this.Annotations)) - for k := range this.Annotations { - keysForAnnotations = append(keysForAnnotations, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) - mapStringForAnnotations := "map[string]string{" - for _, k := range keysForAnnotations { - mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k]) - } - mapStringForAnnotations += "}" - s := strings.Join([]string{`&ImageReviewSpec{`, - `Containers:` + repeatedStringForContainers + `,`, - `Annotations:` + mapStringForAnnotations + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `}`, - }, "") - return s -} -func (this *ImageReviewStatus) String() string { - if this == nil { - return "nil" - } - keysForAuditAnnotations := make([]string, 0, len(this.AuditAnnotations)) - for k := range this.AuditAnnotations { - keysForAuditAnnotations = append(keysForAuditAnnotations, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForAuditAnnotations) - mapStringForAuditAnnotations := "map[string]string{" - for _, k := range keysForAuditAnnotations { - mapStringForAuditAnnotations += fmt.Sprintf("%v: %v,", k, this.AuditAnnotations[k]) - } - mapStringForAuditAnnotations += "}" - s := strings.Join([]string{`&ImageReviewStatus{`, - `Allowed:` + fmt.Sprintf("%v", this.Allowed) + `,`, - `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, - `AuditAnnotations:` + mapStringForAuditAnnotations + `,`, - `}`, - }, "") - return s -} -func valueToStringGenerated(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *ImageReview) 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: ImageReview: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ImageReview: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ImageReviewContainerSpec) 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: ImageReviewContainerSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ImageReviewContainerSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Image", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Image = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ImageReviewSpec) 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: ImageReviewSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ImageReviewSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Containers", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Containers = append(m.Containers, ImageReviewContainerSpec{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Annotations", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Annotations == nil { - m.Annotations = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := 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) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthGenerated - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthGenerated - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Annotations[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ImageReviewStatus) 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: ImageReviewStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ImageReviewStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Allowed", 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.Allowed = bool(v != 0) - case 2: - 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuditAnnotations", 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 < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AuditAnnotations == nil { - m.AuditAnnotations = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := 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) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthGenerated - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthGenerated - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthGenerated - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.AuditAnnotations[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGenerated(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthGenerated - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupGenerated - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthGenerated - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") -) diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto b/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto deleted file mode 100644 index 51328dde..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/generated.proto +++ /dev/null @@ -1,88 +0,0 @@ -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - - -// This file was autogenerated by go-to-protobuf. Do not edit it manually! - -syntax = "proto2"; - -package k8s.io.api.imagepolicy.v1alpha1; - -import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/apimachinery/pkg/runtime/generated.proto"; -import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; - -// Package-wide variables from generator "generated". -option go_package = "k8s.io/api/imagepolicy/v1alpha1"; - -// ImageReview checks if the set of images in a pod are allowed. -message ImageReview { - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; - - // Spec holds information about the pod being evaluated - optional ImageReviewSpec spec = 2; - - // Status is filled in by the backend and indicates whether the pod should be allowed. - // +optional - optional ImageReviewStatus status = 3; -} - -// ImageReviewContainerSpec is a description of a container within the pod creation request. -message ImageReviewContainerSpec { - // This can be in the form image:tag or image@SHA:012345679abcdef. - // +optional - optional string image = 1; -} - -// ImageReviewSpec is a description of the pod creation request. -message ImageReviewSpec { - // Containers is a list of a subset of the information in each container of the Pod being created. - // +optional - repeated ImageReviewContainerSpec containers = 1; - - // Annotations is a list of key-value pairs extracted from the Pod's annotations. - // It only includes keys which match the pattern `*.image-policy.k8s.io/*`. - // It is up to each webhook backend to determine how to interpret these annotations, if at all. - // +optional - map annotations = 2; - - // Namespace is the namespace the pod is being created in. - // +optional - optional string namespace = 3; -} - -// ImageReviewStatus is the result of the review for the pod creation request. -message ImageReviewStatus { - // Allowed indicates that all images were allowed to be run. - optional bool allowed = 1; - - // Reason should be empty unless Allowed is false in which case it - // may contain a short description of what is wrong. Kubernetes - // may truncate excessively long errors when displaying to the user. - // +optional - optional string reason = 2; - - // AuditAnnotations will be added to the attributes object of the - // admission controller request using 'AddAnnotation'. The keys should - // be prefix-less (i.e., the admission controller will add an - // appropriate prefix). - // +optional - map auditAnnotations = 3; -} - diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/register.go b/vendor/k8s.io/api/imagepolicy/v1alpha1/register.go deleted file mode 100644 index 477571bb..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/register.go +++ /dev/null @@ -1,51 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1alpha1 - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name for this API. -const GroupName = "imagepolicy.k8s.io" - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. - // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - localSchemeBuilder = &SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -// Adds the list of known types to the given scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &ImageReview{}, - ) - metav1.AddToGroupVersion(scheme, SchemeGroupVersion) - return nil -} diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/types.go b/vendor/k8s.io/api/imagepolicy/v1alpha1/types.go deleted file mode 100644 index 151ffb1e..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/types.go +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1alpha1 - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// +genclient -// +genclient:nonNamespaced -// +genclient:noVerbs -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// ImageReview checks if the set of images in a pod are allowed. -type ImageReview struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Spec holds information about the pod being evaluated - Spec ImageReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` - - // Status is filled in by the backend and indicates whether the pod should be allowed. - // +optional - Status ImageReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` -} - -// ImageReviewSpec is a description of the pod creation request. -type ImageReviewSpec struct { - // Containers is a list of a subset of the information in each container of the Pod being created. - // +optional - Containers []ImageReviewContainerSpec `json:"containers,omitempty" protobuf:"bytes,1,rep,name=containers"` - // Annotations is a list of key-value pairs extracted from the Pod's annotations. - // It only includes keys which match the pattern `*.image-policy.k8s.io/*`. - // It is up to each webhook backend to determine how to interpret these annotations, if at all. - // +optional - Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,2,rep,name=annotations"` - // Namespace is the namespace the pod is being created in. - // +optional - Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` -} - -// ImageReviewContainerSpec is a description of a container within the pod creation request. -type ImageReviewContainerSpec struct { - // This can be in the form image:tag or image@SHA:012345679abcdef. - // +optional - Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"` - // In future, we may add command line overrides, exec health check command lines, and so on. -} - -// ImageReviewStatus is the result of the review for the pod creation request. -type ImageReviewStatus struct { - // Allowed indicates that all images were allowed to be run. - Allowed bool `json:"allowed" protobuf:"varint,1,opt,name=allowed"` - // Reason should be empty unless Allowed is false in which case it - // may contain a short description of what is wrong. Kubernetes - // may truncate excessively long errors when displaying to the user. - // +optional - Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"` - // AuditAnnotations will be added to the attributes object of the - // admission controller request using 'AddAnnotation'. The keys should - // be prefix-less (i.e., the admission controller will add an - // appropriate prefix). - // +optional - AuditAnnotations map[string]string `json:"auditAnnotations,omitempty" protobuf:"bytes,3,rep,name=auditAnnotations"` -} diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go b/vendor/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go deleted file mode 100644 index 8d51e77a..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go +++ /dev/null @@ -1,72 +0,0 @@ -/* -Copyright The 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 - -// This file contains a collection of methods that can be used from go-restful to -// generate Swagger API documentation for its models. Please read this PR for more -// information on the implementation: https://github.com/emicklei/go-restful/pull/215 -// -// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if -// they are on one line! For multiple line or blocks that you want to ignore use ---. -// Any context after a --- is ignored. -// -// Those methods can be generated by using hack/update-generated-swagger-docs.sh - -// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT. -var map_ImageReview = map[string]string{ - "": "ImageReview checks if the set of images in a pod are allowed.", - "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "spec": "Spec holds information about the pod being evaluated", - "status": "Status is filled in by the backend and indicates whether the pod should be allowed.", -} - -func (ImageReview) SwaggerDoc() map[string]string { - return map_ImageReview -} - -var map_ImageReviewContainerSpec = map[string]string{ - "": "ImageReviewContainerSpec is a description of a container within the pod creation request.", - "image": "This can be in the form image:tag or image@SHA:012345679abcdef.", -} - -func (ImageReviewContainerSpec) SwaggerDoc() map[string]string { - return map_ImageReviewContainerSpec -} - -var map_ImageReviewSpec = map[string]string{ - "": "ImageReviewSpec is a description of the pod creation request.", - "containers": "Containers is a list of a subset of the information in each container of the Pod being created.", - "annotations": "Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all.", - "namespace": "Namespace is the namespace the pod is being created in.", -} - -func (ImageReviewSpec) SwaggerDoc() map[string]string { - return map_ImageReviewSpec -} - -var map_ImageReviewStatus = map[string]string{ - "": "ImageReviewStatus is the result of the review for the pod creation request.", - "allowed": "Allowed indicates that all images were allowed to be run.", - "reason": "Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.", - "auditAnnotations": "AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).", -} - -func (ImageReviewStatus) SwaggerDoc() map[string]string { - return map_ImageReviewStatus -} - -// AUTO-GENERATED FUNCTIONS END HERE diff --git a/vendor/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go b/vendor/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go deleted file mode 100644 index f230656f..00000000 --- a/vendor/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go +++ /dev/null @@ -1,121 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by deepcopy-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - runtime "k8s.io/apimachinery/pkg/runtime" -) - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageReview) DeepCopyInto(out *ImageReview) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. -func (in *ImageReview) DeepCopy() *ImageReview { - if in == nil { - return nil - } - out := new(ImageReview) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ImageReview) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. -func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { - if in == nil { - return nil - } - out := new(ImageReviewContainerSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) { - *out = *in - if in.Containers != nil { - in, out := &in.Containers, &out.Containers - *out = make([]ImageReviewContainerSpec, len(*in)) - copy(*out, *in) - } - if in.Annotations != nil { - in, out := &in.Annotations, &out.Annotations - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. -func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec { - if in == nil { - return nil - } - out := new(ImageReviewSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) { - *out = *in - if in.AuditAnnotations != nil { - in, out := &in.AuditAnnotations, &out.AuditAnnotations - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. -func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus { - if in == nil { - return nil - } - out := new(ImageReviewStatus) - in.DeepCopyInto(out) - return out -} diff --git a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme/scheme.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme/scheme.go deleted file mode 100644 index cff91d3d..00000000 --- a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme/scheme.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Copyright 2018 The 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 unstructuredscheme - -import ( - "fmt" - - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/apimachinery/pkg/runtime/serializer/json" - "k8s.io/apimachinery/pkg/runtime/serializer/versioning" -) - -var scheme = runtime.NewScheme() - -// NewUnstructuredNegotiatedSerializer returns a simple, negotiated serializer -func NewUnstructuredNegotiatedSerializer() runtime.NegotiatedSerializer { - return unstructuredNegotiatedSerializer{ - scheme: scheme, - typer: NewUnstructuredObjectTyper(), - creator: NewUnstructuredCreator(), - } -} - -type unstructuredNegotiatedSerializer struct { - scheme *runtime.Scheme - typer runtime.ObjectTyper - creator runtime.ObjectCreater -} - -func (s unstructuredNegotiatedSerializer) SupportedMediaTypes() []runtime.SerializerInfo { - return []runtime.SerializerInfo{ - { - MediaType: "application/json", - MediaTypeType: "application", - MediaTypeSubType: "json", - EncodesAsText: true, - Serializer: json.NewSerializer(json.DefaultMetaFactory, s.creator, s.typer, false), - PrettySerializer: json.NewSerializer(json.DefaultMetaFactory, s.creator, s.typer, true), - StreamSerializer: &runtime.StreamSerializerInfo{ - EncodesAsText: true, - Serializer: json.NewSerializer(json.DefaultMetaFactory, s.creator, s.typer, false), - Framer: json.Framer, - }, - }, - { - MediaType: "application/yaml", - MediaTypeType: "application", - MediaTypeSubType: "yaml", - EncodesAsText: true, - Serializer: json.NewYAMLSerializer(json.DefaultMetaFactory, s.creator, s.typer), - }, - } -} - -func (s unstructuredNegotiatedSerializer) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { - return versioning.NewDefaultingCodecForScheme(s.scheme, encoder, nil, gv, nil) -} - -func (s unstructuredNegotiatedSerializer) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder { - return versioning.NewDefaultingCodecForScheme(s.scheme, nil, decoder, nil, gv) -} - -type unstructuredObjectTyper struct { -} - -// NewUnstructuredObjectTyper returns an object typer that can deal with unstructured things -func NewUnstructuredObjectTyper() runtime.ObjectTyper { - return unstructuredObjectTyper{} -} - -func (t unstructuredObjectTyper) ObjectKinds(obj runtime.Object) ([]schema.GroupVersionKind, bool, error) { - // Delegate for things other than Unstructured. - if _, ok := obj.(runtime.Unstructured); !ok { - return nil, false, fmt.Errorf("cannot type %T", obj) - } - gvk := obj.GetObjectKind().GroupVersionKind() - if len(gvk.Kind) == 0 { - return nil, false, runtime.NewMissingKindErr("object has no kind field ") - } - if len(gvk.Version) == 0 { - return nil, false, runtime.NewMissingVersionErr("object has no apiVersion field") - } - - return []schema.GroupVersionKind{obj.GetObjectKind().GroupVersionKind()}, false, nil -} - -func (t unstructuredObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { - return true -} - -type unstructuredCreator struct{} - -// NewUnstructuredCreator returns a simple object creator that always returns an unstructured -func NewUnstructuredCreator() runtime.ObjectCreater { - return unstructuredCreator{} -} - -func (c unstructuredCreator) New(kind schema.GroupVersionKind) (runtime.Object, error) { - ret := &unstructured.Unstructured{} - ret.SetGroupVersionKind(kind) - return ret, nil -} - -type unstructuredDefaulter struct { -} - -// NewUnstructuredDefaulter returns defaulter suitable for unstructured types that doesn't default anything -func NewUnstructuredDefaulter() runtime.ObjectDefaulter { - return unstructuredDefaulter{} -} - -func (d unstructuredDefaulter) Default(in runtime.Object) { -} diff --git a/vendor/k8s.io/apimachinery/pkg/util/duration/duration.go b/vendor/k8s.io/apimachinery/pkg/util/duration/duration.go deleted file mode 100644 index 1bc1e3c8..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/duration/duration.go +++ /dev/null @@ -1,93 +0,0 @@ -/* -Copyright 2018 The 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 duration - -import ( - "fmt" - "time" -) - -// ShortHumanDuration returns a succint representation of the provided duration -// with limited precision for consumption by humans. -func ShortHumanDuration(d time.Duration) string { - // Allow deviation no more than 2 seconds(excluded) to tolerate machine time - // inconsistence, it can be considered as almost now. - if seconds := int(d.Seconds()); seconds < -1 { - return fmt.Sprintf("") - } else if seconds < 0 { - return fmt.Sprintf("0s") - } else if seconds < 60 { - return fmt.Sprintf("%ds", seconds) - } else if minutes := int(d.Minutes()); minutes < 60 { - return fmt.Sprintf("%dm", minutes) - } else if hours := int(d.Hours()); hours < 24 { - return fmt.Sprintf("%dh", hours) - } else if hours < 24*365 { - return fmt.Sprintf("%dd", hours/24) - } - return fmt.Sprintf("%dy", int(d.Hours()/24/365)) -} - -// HumanDuration returns a succint representation of the provided duration -// with limited precision for consumption by humans. It provides ~2-3 significant -// figures of duration. -func HumanDuration(d time.Duration) string { - // Allow deviation no more than 2 seconds(excluded) to tolerate machine time - // inconsistence, it can be considered as almost now. - if seconds := int(d.Seconds()); seconds < -1 { - return fmt.Sprintf("") - } else if seconds < 0 { - return fmt.Sprintf("0s") - } else if seconds < 60*2 { - return fmt.Sprintf("%ds", seconds) - } - minutes := int(d / time.Minute) - if minutes < 10 { - s := int(d/time.Second) % 60 - if s == 0 { - return fmt.Sprintf("%dm", minutes) - } - return fmt.Sprintf("%dm%ds", minutes, s) - } else if minutes < 60*3 { - return fmt.Sprintf("%dm", minutes) - } - hours := int(d / time.Hour) - if hours < 8 { - m := int(d/time.Minute) % 60 - if m == 0 { - return fmt.Sprintf("%dh", hours) - } - return fmt.Sprintf("%dh%dm", hours, m) - } else if hours < 48 { - return fmt.Sprintf("%dh", hours) - } else if hours < 24*8 { - h := hours % 24 - if h == 0 { - return fmt.Sprintf("%dd", hours/24) - } - return fmt.Sprintf("%dd%dh", hours/24, h) - } else if hours < 24*365*2 { - return fmt.Sprintf("%dd", hours/24) - } else if hours < 24*365*8 { - dy := int(hours/24) % 365 - if dy == 0 { - return fmt.Sprintf("%dy", hours/24/365) - } - return fmt.Sprintf("%dy%dd", hours/24/365, dy) - } - return fmt.Sprintf("%dy", int(hours/24/365)) -} diff --git a/vendor/k8s.io/apimachinery/pkg/util/httpstream/doc.go b/vendor/k8s.io/apimachinery/pkg/util/httpstream/doc.go deleted file mode 100644 index 5893df5b..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/httpstream/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package httpstream adds multiplexed streaming support to HTTP requests and -// responses via connection upgrades. -package httpstream // import "k8s.io/apimachinery/pkg/util/httpstream" diff --git a/vendor/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go b/vendor/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go deleted file mode 100644 index 32f07578..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go +++ /dev/null @@ -1,159 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package httpstream - -import ( - "fmt" - "io" - "net/http" - "strings" - "time" -) - -const ( - HeaderConnection = "Connection" - HeaderUpgrade = "Upgrade" - HeaderProtocolVersion = "X-Stream-Protocol-Version" - HeaderAcceptedProtocolVersions = "X-Accepted-Stream-Protocol-Versions" -) - -// NewStreamHandler defines a function that is called when a new Stream is -// received. If no error is returned, the Stream is accepted; otherwise, -// the stream is rejected. After the reply frame has been sent, replySent is closed. -type NewStreamHandler func(stream Stream, replySent <-chan struct{}) error - -// NoOpNewStreamHandler is a stream handler that accepts a new stream and -// performs no other logic. -func NoOpNewStreamHandler(stream Stream, replySent <-chan struct{}) error { return nil } - -// Dialer knows how to open a streaming connection to a server. -type Dialer interface { - - // Dial opens a streaming connection to a server using one of the protocols - // specified (in order of most preferred to least preferred). - Dial(protocols ...string) (Connection, string, error) -} - -// UpgradeRoundTripper is a type of http.RoundTripper that is able to upgrade -// HTTP requests to support multiplexed bidirectional streams. After RoundTrip() -// is invoked, if the upgrade is successful, clients may retrieve the upgraded -// connection by calling UpgradeRoundTripper.Connection(). -type UpgradeRoundTripper interface { - http.RoundTripper - // NewConnection validates the response and creates a new Connection. - NewConnection(resp *http.Response) (Connection, error) -} - -// ResponseUpgrader knows how to upgrade HTTP requests and responses to -// add streaming support to them. -type ResponseUpgrader interface { - // UpgradeResponse upgrades an HTTP response to one that supports multiplexed - // streams. newStreamHandler will be called asynchronously whenever the - // other end of the upgraded connection creates a new stream. - UpgradeResponse(w http.ResponseWriter, req *http.Request, newStreamHandler NewStreamHandler) Connection -} - -// Connection represents an upgraded HTTP connection. -type Connection interface { - // CreateStream creates a new Stream with the supplied headers. - CreateStream(headers http.Header) (Stream, error) - // Close resets all streams and closes the connection. - Close() error - // CloseChan returns a channel that is closed when the underlying connection is closed. - CloseChan() <-chan bool - // SetIdleTimeout sets the amount of time the connection may remain idle before - // it is automatically closed. - SetIdleTimeout(timeout time.Duration) - // RemoveStreams can be used to remove a set of streams from the Connection. - RemoveStreams(streams ...Stream) -} - -// Stream represents a bidirectional communications channel that is part of an -// upgraded connection. -type Stream interface { - io.ReadWriteCloser - // Reset closes both directions of the stream, indicating that neither client - // or server can use it any more. - Reset() error - // Headers returns the headers used to create the stream. - Headers() http.Header - // Identifier returns the stream's ID. - Identifier() uint32 -} - -// IsUpgradeRequest returns true if the given request is a connection upgrade request -func IsUpgradeRequest(req *http.Request) bool { - for _, h := range req.Header[http.CanonicalHeaderKey(HeaderConnection)] { - if strings.Contains(strings.ToLower(h), strings.ToLower(HeaderUpgrade)) { - return true - } - } - return false -} - -func negotiateProtocol(clientProtocols, serverProtocols []string) string { - for i := range clientProtocols { - for j := range serverProtocols { - if clientProtocols[i] == serverProtocols[j] { - return clientProtocols[i] - } - } - } - return "" -} - -func commaSeparatedHeaderValues(header []string) []string { - var parsedClientProtocols []string - for i := range header { - for _, clientProtocol := range strings.Split(header[i], ",") { - if proto := strings.Trim(clientProtocol, " "); len(proto) > 0 { - parsedClientProtocols = append(parsedClientProtocols, proto) - } - } - } - return parsedClientProtocols -} - -// Handshake performs a subprotocol negotiation. If the client did request a -// subprotocol, Handshake will select the first common value found in -// serverProtocols. If a match is found, Handshake adds a response header -// indicating the chosen subprotocol. If no match is found, HTTP forbidden is -// returned, along with a response header containing the list of protocols the -// server can accept. -func Handshake(req *http.Request, w http.ResponseWriter, serverProtocols []string) (string, error) { - clientProtocols := commaSeparatedHeaderValues(req.Header[http.CanonicalHeaderKey(HeaderProtocolVersion)]) - if len(clientProtocols) == 0 { - return "", fmt.Errorf("unable to upgrade: %s is required", HeaderProtocolVersion) - } - - if len(serverProtocols) == 0 { - panic(fmt.Errorf("unable to upgrade: serverProtocols is required")) - } - - negotiatedProtocol := negotiateProtocol(clientProtocols, serverProtocols) - if len(negotiatedProtocol) == 0 { - for i := range serverProtocols { - w.Header().Add(HeaderAcceptedProtocolVersions, serverProtocols[i]) - } - err := fmt.Errorf("unable to upgrade: unable to negotiate protocol: client supports %v, server accepts %v", clientProtocols, serverProtocols) - http.Error(w, err.Error(), http.StatusForbidden) - return "", err - } - - w.Header().Add(HeaderProtocolVersion, negotiatedProtocol) - return negotiatedProtocol, nil -} diff --git a/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go b/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go deleted file mode 100644 index d4ceab84..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection.go +++ /dev/null @@ -1,204 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package spdy - -import ( - "net" - "net/http" - "sync" - "time" - - "github.com/moby/spdystream" - "k8s.io/apimachinery/pkg/util/httpstream" - "k8s.io/klog/v2" -) - -// connection maintains state about a spdystream.Connection and its associated -// streams. -type connection struct { - conn *spdystream.Connection - streams map[uint32]httpstream.Stream - streamLock sync.Mutex - newStreamHandler httpstream.NewStreamHandler - ping func() (time.Duration, error) -} - -// NewClientConnection creates a new SPDY client connection. -func NewClientConnection(conn net.Conn) (httpstream.Connection, error) { - return NewClientConnectionWithPings(conn, 0) -} - -// NewClientConnectionWithPings creates a new SPDY client connection. -// -// If pingPeriod is non-zero, a background goroutine will send periodic Ping -// frames to the server. Use this to keep idle connections through certain load -// balancers alive longer. -func NewClientConnectionWithPings(conn net.Conn, pingPeriod time.Duration) (httpstream.Connection, error) { - spdyConn, err := spdystream.NewConnection(conn, false) - if err != nil { - defer conn.Close() - return nil, err - } - - return newConnection(spdyConn, httpstream.NoOpNewStreamHandler, pingPeriod, spdyConn.Ping), nil -} - -// NewServerConnection creates a new SPDY server connection. newStreamHandler -// will be invoked when the server receives a newly created stream from the -// client. -func NewServerConnection(conn net.Conn, newStreamHandler httpstream.NewStreamHandler) (httpstream.Connection, error) { - return NewServerConnectionWithPings(conn, newStreamHandler, 0) -} - -// NewServerConnectionWithPings creates a new SPDY server connection. -// newStreamHandler will be invoked when the server receives a newly created -// stream from the client. -// -// If pingPeriod is non-zero, a background goroutine will send periodic Ping -// frames to the server. Use this to keep idle connections through certain load -// balancers alive longer. -func NewServerConnectionWithPings(conn net.Conn, newStreamHandler httpstream.NewStreamHandler, pingPeriod time.Duration) (httpstream.Connection, error) { - spdyConn, err := spdystream.NewConnection(conn, true) - if err != nil { - defer conn.Close() - return nil, err - } - - return newConnection(spdyConn, newStreamHandler, pingPeriod, spdyConn.Ping), nil -} - -// newConnection returns a new connection wrapping conn. newStreamHandler -// will be invoked when the server receives a newly created stream from the -// client. -func newConnection(conn *spdystream.Connection, newStreamHandler httpstream.NewStreamHandler, pingPeriod time.Duration, pingFn func() (time.Duration, error)) httpstream.Connection { - c := &connection{ - conn: conn, - newStreamHandler: newStreamHandler, - ping: pingFn, - streams: make(map[uint32]httpstream.Stream), - } - go conn.Serve(c.newSpdyStream) - if pingPeriod > 0 && pingFn != nil { - go c.sendPings(pingPeriod) - } - return c -} - -// createStreamResponseTimeout indicates how long to wait for the other side to -// acknowledge the new stream before timing out. -const createStreamResponseTimeout = 30 * time.Second - -// Close first sends a reset for all of the connection's streams, and then -// closes the underlying spdystream.Connection. -func (c *connection) Close() error { - c.streamLock.Lock() - for _, s := range c.streams { - // calling Reset instead of Close ensures that all streams are fully torn down - s.Reset() - } - c.streams = make(map[uint32]httpstream.Stream, 0) - c.streamLock.Unlock() - - // now that all streams are fully torn down, it's safe to call close on the underlying connection, - // which should be able to terminate immediately at this point, instead of waiting for any - // remaining graceful stream termination. - return c.conn.Close() -} - -// RemoveStreams can be used to removes a set of streams from the Connection. -func (c *connection) RemoveStreams(streams ...httpstream.Stream) { - c.streamLock.Lock() - for _, stream := range streams { - // It may be possible that the provided stream is nil if timed out. - if stream != nil { - delete(c.streams, stream.Identifier()) - } - } - c.streamLock.Unlock() -} - -// CreateStream creates a new stream with the specified headers and registers -// it with the connection. -func (c *connection) CreateStream(headers http.Header) (httpstream.Stream, error) { - stream, err := c.conn.CreateStream(headers, nil, false) - if err != nil { - return nil, err - } - if err = stream.WaitTimeout(createStreamResponseTimeout); err != nil { - return nil, err - } - - c.registerStream(stream) - return stream, nil -} - -// registerStream adds the stream s to the connection's list of streams that -// it owns. -func (c *connection) registerStream(s httpstream.Stream) { - c.streamLock.Lock() - c.streams[s.Identifier()] = s - c.streamLock.Unlock() -} - -// CloseChan returns a channel that, when closed, indicates that the underlying -// spdystream.Connection has been closed. -func (c *connection) CloseChan() <-chan bool { - return c.conn.CloseChan() -} - -// newSpdyStream is the internal new stream handler used by spdystream.Connection.Serve. -// It calls connection's newStreamHandler, giving it the opportunity to accept or reject -// the stream. If newStreamHandler returns an error, the stream is rejected. If not, the -// stream is accepted and registered with the connection. -func (c *connection) newSpdyStream(stream *spdystream.Stream) { - replySent := make(chan struct{}) - err := c.newStreamHandler(stream, replySent) - rejectStream := (err != nil) - if rejectStream { - klog.Warningf("Stream rejected: %v", err) - stream.Reset() - return - } - - c.registerStream(stream) - stream.SendReply(http.Header{}, rejectStream) - close(replySent) -} - -// SetIdleTimeout sets the amount of time the connection may remain idle before -// it is automatically closed. -func (c *connection) SetIdleTimeout(timeout time.Duration) { - c.conn.SetIdleTimeout(timeout) -} - -func (c *connection) sendPings(period time.Duration) { - t := time.NewTicker(period) - defer t.Stop() - for { - select { - case <-c.conn.CloseChan(): - return - case <-t.C: - } - if _, err := c.ping(); err != nil { - klog.V(3).Infof("SPDY Ping failed: %v", err) - // Continue, in case this is a transient failure. - // c.conn.CloseChan above will tell us when the connection is - // actually closed. - } - } -} diff --git a/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go b/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go deleted file mode 100644 index 9ec36850..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go +++ /dev/null @@ -1,418 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package spdy - -import ( - "bufio" - "bytes" - "context" - "crypto/tls" - "encoding/base64" - "errors" - "fmt" - "io" - "io/ioutil" - "net" - "net/http" - "net/http/httputil" - "net/url" - "strings" - "time" - - "golang.org/x/net/proxy" - apierrors "k8s.io/apimachinery/pkg/api/errors" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/serializer" - "k8s.io/apimachinery/pkg/util/httpstream" - utilnet "k8s.io/apimachinery/pkg/util/net" - "k8s.io/apimachinery/third_party/forked/golang/netutil" -) - -// SpdyRoundTripper knows how to upgrade an HTTP request to one that supports -// multiplexed streams. After RoundTrip() is invoked, Conn will be set -// and usable. SpdyRoundTripper implements the UpgradeRoundTripper interface. -type SpdyRoundTripper struct { - //tlsConfig holds the TLS configuration settings to use when connecting - //to the remote server. - tlsConfig *tls.Config - - /* TODO according to http://golang.org/pkg/net/http/#RoundTripper, a RoundTripper - must be safe for use by multiple concurrent goroutines. If this is absolutely - necessary, we could keep a map from http.Request to net.Conn. In practice, - a client will create an http.Client, set the transport to a new insteace of - SpdyRoundTripper, and use it a single time, so this hopefully won't be an issue. - */ - // conn is the underlying network connection to the remote server. - conn net.Conn - - // Dialer is the dialer used to connect. Used if non-nil. - Dialer *net.Dialer - - // proxier knows which proxy to use given a request, defaults to http.ProxyFromEnvironment - // Used primarily for mocking the proxy discovery in tests. - proxier func(req *http.Request) (*url.URL, error) - - // pingPeriod is a period for sending Ping frames over established - // connections. - pingPeriod time.Duration -} - -var _ utilnet.TLSClientConfigHolder = &SpdyRoundTripper{} -var _ httpstream.UpgradeRoundTripper = &SpdyRoundTripper{} -var _ utilnet.Dialer = &SpdyRoundTripper{} - -// NewRoundTripper creates a new SpdyRoundTripper that will use the specified -// tlsConfig. -func NewRoundTripper(tlsConfig *tls.Config) *SpdyRoundTripper { - return NewRoundTripperWithConfig(RoundTripperConfig{ - TLS: tlsConfig, - }) -} - -// NewRoundTripperWithProxy creates a new SpdyRoundTripper that will use the -// specified tlsConfig and proxy func. -func NewRoundTripperWithProxy(tlsConfig *tls.Config, proxier func(*http.Request) (*url.URL, error)) *SpdyRoundTripper { - return NewRoundTripperWithConfig(RoundTripperConfig{ - TLS: tlsConfig, - Proxier: proxier, - }) -} - -// NewRoundTripperWithConfig creates a new SpdyRoundTripper with the specified -// configuration. -func NewRoundTripperWithConfig(cfg RoundTripperConfig) *SpdyRoundTripper { - if cfg.Proxier == nil { - cfg.Proxier = utilnet.NewProxierWithNoProxyCIDR(http.ProxyFromEnvironment) - } - return &SpdyRoundTripper{ - tlsConfig: cfg.TLS, - proxier: cfg.Proxier, - pingPeriod: cfg.PingPeriod, - } -} - -// RoundTripperConfig is a set of options for an SpdyRoundTripper. -type RoundTripperConfig struct { - // TLS configuration used by the round tripper. - TLS *tls.Config - // Proxier is a proxy function invoked on each request. Optional. - Proxier func(*http.Request) (*url.URL, error) - // PingPeriod is a period for sending SPDY Pings on the connection. - // Optional. - PingPeriod time.Duration -} - -// TLSClientConfig implements pkg/util/net.TLSClientConfigHolder for proper TLS checking during -// proxying with a spdy roundtripper. -func (s *SpdyRoundTripper) TLSClientConfig() *tls.Config { - return s.tlsConfig -} - -// Dial implements k8s.io/apimachinery/pkg/util/net.Dialer. -func (s *SpdyRoundTripper) Dial(req *http.Request) (net.Conn, error) { - conn, err := s.dial(req) - if err != nil { - return nil, err - } - - if err := req.Write(conn); err != nil { - conn.Close() - return nil, err - } - - return conn, nil -} - -// dial dials the host specified by req, using TLS if appropriate, optionally -// using a proxy server if one is configured via environment variables. -func (s *SpdyRoundTripper) dial(req *http.Request) (net.Conn, error) { - proxyURL, err := s.proxier(req) - if err != nil { - return nil, err - } - - if proxyURL == nil { - return s.dialWithoutProxy(req.Context(), req.URL) - } - - switch proxyURL.Scheme { - case "socks5": - return s.dialWithSocks5Proxy(req, proxyURL) - case "https", "http", "": - return s.dialWithHttpProxy(req, proxyURL) - } - - return nil, fmt.Errorf("proxy URL scheme not supported: %s", proxyURL.Scheme) -} - -// dialWithHttpProxy dials the host specified by url through an http or an https proxy. -func (s *SpdyRoundTripper) dialWithHttpProxy(req *http.Request, proxyURL *url.URL) (net.Conn, error) { - // ensure we use a canonical host with proxyReq - targetHost := netutil.CanonicalAddr(req.URL) - - // proxying logic adapted from http://blog.h6t.eu/post/74098062923/golang-websocket-with-http-proxy-support - proxyReq := http.Request{ - Method: "CONNECT", - URL: &url.URL{}, - Host: targetHost, - } - - proxyReq = *proxyReq.WithContext(req.Context()) - - if pa := s.proxyAuth(proxyURL); pa != "" { - proxyReq.Header = http.Header{} - proxyReq.Header.Set("Proxy-Authorization", pa) - } - - proxyDialConn, err := s.dialWithoutProxy(proxyReq.Context(), proxyURL) - if err != nil { - return nil, err - } - - //nolint:staticcheck // SA1019 ignore deprecated httputil.NewProxyClientConn - proxyClientConn := httputil.NewProxyClientConn(proxyDialConn, nil) - _, err = proxyClientConn.Do(&proxyReq) - //nolint:staticcheck // SA1019 ignore deprecated httputil.ErrPersistEOF: it might be - // returned from the invocation of proxyClientConn.Do - if err != nil && err != httputil.ErrPersistEOF { - return nil, err - } - - rwc, _ := proxyClientConn.Hijack() - - if req.URL.Scheme == "https" { - return s.tlsConn(proxyReq.Context(), rwc, targetHost) - } - return rwc, nil -} - -// dialWithSocks5Proxy dials the host specified by url through a socks5 proxy. -func (s *SpdyRoundTripper) dialWithSocks5Proxy(req *http.Request, proxyURL *url.URL) (net.Conn, error) { - // ensure we use a canonical host with proxyReq - targetHost := netutil.CanonicalAddr(req.URL) - proxyDialAddr := netutil.CanonicalAddr(proxyURL) - - var auth *proxy.Auth - if proxyURL.User != nil { - pass, _ := proxyURL.User.Password() - auth = &proxy.Auth{ - User: proxyURL.User.Username(), - Password: pass, - } - } - - dialer := s.Dialer - if dialer == nil { - dialer = &net.Dialer{ - Timeout: 30 * time.Second, - } - } - - proxyDialer, err := proxy.SOCKS5("tcp", proxyDialAddr, auth, dialer) - if err != nil { - return nil, err - } - - // According to the implementation of proxy.SOCKS5, the type assertion will always succeed - contextDialer, ok := proxyDialer.(proxy.ContextDialer) - if !ok { - return nil, errors.New("SOCKS5 Dialer must implement ContextDialer") - } - - proxyDialConn, err := contextDialer.DialContext(req.Context(), "tcp", targetHost) - if err != nil { - return nil, err - } - - if req.URL.Scheme == "https" { - return s.tlsConn(req.Context(), proxyDialConn, targetHost) - } - return proxyDialConn, nil -} - -// tlsConn returns a TLS client side connection using rwc as the underlying transport. -func (s *SpdyRoundTripper) tlsConn(ctx context.Context, rwc net.Conn, targetHost string) (net.Conn, error) { - - host, _, err := net.SplitHostPort(targetHost) - if err != nil { - return nil, err - } - - tlsConfig := s.tlsConfig - switch { - case tlsConfig == nil: - tlsConfig = &tls.Config{ServerName: host} - case len(tlsConfig.ServerName) == 0: - tlsConfig = tlsConfig.Clone() - tlsConfig.ServerName = host - } - - tlsConn := tls.Client(rwc, tlsConfig) - - // need to manually call Handshake() so we can call VerifyHostname() below - if err := tlsConn.HandshakeContext(ctx); err != nil { - return nil, err - } - - // Return if we were configured to skip validation - if tlsConfig.InsecureSkipVerify { - return tlsConn, nil - } - - if err := tlsConn.VerifyHostname(tlsConfig.ServerName); err != nil { - return nil, err - } - - return tlsConn, nil -} - -// dialWithoutProxy dials the host specified by url, using TLS if appropriate. -func (s *SpdyRoundTripper) dialWithoutProxy(ctx context.Context, url *url.URL) (net.Conn, error) { - dialAddr := netutil.CanonicalAddr(url) - - if url.Scheme == "http" { - if s.Dialer == nil { - var d net.Dialer - return d.DialContext(ctx, "tcp", dialAddr) - } else { - return s.Dialer.DialContext(ctx, "tcp", dialAddr) - } - } - - // TODO validate the TLSClientConfig is set up? - var conn *tls.Conn - var err error - if s.Dialer == nil { - conn, err = tls.Dial("tcp", dialAddr, s.tlsConfig) - } else { - conn, err = tls.DialWithDialer(s.Dialer, "tcp", dialAddr, s.tlsConfig) - } - if err != nil { - return nil, err - } - - // Return if we were configured to skip validation - if s.tlsConfig != nil && s.tlsConfig.InsecureSkipVerify { - return conn, nil - } - - host, _, err := net.SplitHostPort(dialAddr) - if err != nil { - return nil, err - } - if s.tlsConfig != nil && len(s.tlsConfig.ServerName) > 0 { - host = s.tlsConfig.ServerName - } - err = conn.VerifyHostname(host) - if err != nil { - return nil, err - } - - return conn, nil -} - -// proxyAuth returns, for a given proxy URL, the value to be used for the Proxy-Authorization header -func (s *SpdyRoundTripper) proxyAuth(proxyURL *url.URL) string { - if proxyURL == nil || proxyURL.User == nil { - return "" - } - credentials := proxyURL.User.String() - encodedAuth := base64.StdEncoding.EncodeToString([]byte(credentials)) - return fmt.Sprintf("Basic %s", encodedAuth) -} - -// RoundTrip executes the Request and upgrades it. After a successful upgrade, -// clients may call SpdyRoundTripper.Connection() to retrieve the upgraded -// connection. -func (s *SpdyRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { - header := utilnet.CloneHeader(req.Header) - header.Add(httpstream.HeaderConnection, httpstream.HeaderUpgrade) - header.Add(httpstream.HeaderUpgrade, HeaderSpdy31) - - var ( - conn net.Conn - rawResponse []byte - err error - ) - - clone := utilnet.CloneRequest(req) - clone.Header = header - conn, err = s.Dial(clone) - if err != nil { - return nil, err - } - - responseReader := bufio.NewReader( - io.MultiReader( - bytes.NewBuffer(rawResponse), - conn, - ), - ) - - resp, err := http.ReadResponse(responseReader, nil) - if err != nil { - if conn != nil { - conn.Close() - } - return nil, err - } - - s.conn = conn - - return resp, nil -} - -// NewConnection validates the upgrade response, creating and returning a new -// httpstream.Connection if there were no errors. -func (s *SpdyRoundTripper) NewConnection(resp *http.Response) (httpstream.Connection, error) { - connectionHeader := strings.ToLower(resp.Header.Get(httpstream.HeaderConnection)) - upgradeHeader := strings.ToLower(resp.Header.Get(httpstream.HeaderUpgrade)) - if (resp.StatusCode != http.StatusSwitchingProtocols) || !strings.Contains(connectionHeader, strings.ToLower(httpstream.HeaderUpgrade)) || !strings.Contains(upgradeHeader, strings.ToLower(HeaderSpdy31)) { - defer resp.Body.Close() - responseError := "" - responseErrorBytes, err := ioutil.ReadAll(resp.Body) - if err != nil { - responseError = "unable to read error from server response" - } else { - // TODO: I don't belong here, I should be abstracted from this class - if obj, _, err := statusCodecs.UniversalDecoder().Decode(responseErrorBytes, nil, &metav1.Status{}); err == nil { - if status, ok := obj.(*metav1.Status); ok { - return nil, &apierrors.StatusError{ErrStatus: *status} - } - } - responseError = string(responseErrorBytes) - responseError = strings.TrimSpace(responseError) - } - - return nil, fmt.Errorf("unable to upgrade connection: %s", responseError) - } - - return NewClientConnectionWithPings(s.conn, s.pingPeriod) -} - -// statusScheme is private scheme for the decoding here until someone fixes the TODO in NewConnection -var statusScheme = runtime.NewScheme() - -// ParameterCodec knows about query parameters used with the meta v1 API spec. -var statusCodecs = serializer.NewCodecFactory(statusScheme) - -func init() { - statusScheme.AddUnversionedTypes(metav1.SchemeGroupVersion, - &metav1.Status{}, - ) -} diff --git a/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go b/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go deleted file mode 100644 index f17eb09e..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go +++ /dev/null @@ -1,120 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package spdy - -import ( - "bufio" - "fmt" - "io" - "net" - "net/http" - "strings" - "sync/atomic" - "time" - - "k8s.io/apimachinery/pkg/util/httpstream" - "k8s.io/apimachinery/pkg/util/runtime" -) - -const HeaderSpdy31 = "SPDY/3.1" - -// responseUpgrader knows how to upgrade HTTP responses. It -// implements the httpstream.ResponseUpgrader interface. -type responseUpgrader struct { - pingPeriod time.Duration -} - -// connWrapper is used to wrap a hijacked connection and its bufio.Reader. All -// calls will be handled directly by the underlying net.Conn with the exception -// of Read and Close calls, which will consider data in the bufio.Reader. This -// ensures that data already inside the used bufio.Reader instance is also -// read. -type connWrapper struct { - net.Conn - closed int32 - bufReader *bufio.Reader -} - -func (w *connWrapper) Read(b []byte) (n int, err error) { - if atomic.LoadInt32(&w.closed) == 1 { - return 0, io.EOF - } - return w.bufReader.Read(b) -} - -func (w *connWrapper) Close() error { - err := w.Conn.Close() - atomic.StoreInt32(&w.closed, 1) - return err -} - -// NewResponseUpgrader returns a new httpstream.ResponseUpgrader that is -// capable of upgrading HTTP responses using SPDY/3.1 via the -// spdystream package. -func NewResponseUpgrader() httpstream.ResponseUpgrader { - return NewResponseUpgraderWithPings(0) -} - -// NewResponseUpgraderWithPings returns a new httpstream.ResponseUpgrader that -// is capable of upgrading HTTP responses using SPDY/3.1 via the spdystream -// package. -// -// If pingPeriod is non-zero, for each incoming connection a background -// goroutine will send periodic Ping frames to the server. Use this to keep -// idle connections through certain load balancers alive longer. -func NewResponseUpgraderWithPings(pingPeriod time.Duration) httpstream.ResponseUpgrader { - return responseUpgrader{pingPeriod: pingPeriod} -} - -// UpgradeResponse upgrades an HTTP response to one that supports multiplexed -// streams. newStreamHandler will be called synchronously whenever the -// other end of the upgraded connection creates a new stream. -func (u responseUpgrader) UpgradeResponse(w http.ResponseWriter, req *http.Request, newStreamHandler httpstream.NewStreamHandler) httpstream.Connection { - connectionHeader := strings.ToLower(req.Header.Get(httpstream.HeaderConnection)) - upgradeHeader := strings.ToLower(req.Header.Get(httpstream.HeaderUpgrade)) - if !strings.Contains(connectionHeader, strings.ToLower(httpstream.HeaderUpgrade)) || !strings.Contains(upgradeHeader, strings.ToLower(HeaderSpdy31)) { - errorMsg := fmt.Sprintf("unable to upgrade: missing upgrade headers in request: %#v", req.Header) - http.Error(w, errorMsg, http.StatusBadRequest) - return nil - } - - hijacker, ok := w.(http.Hijacker) - if !ok { - errorMsg := fmt.Sprintf("unable to upgrade: unable to hijack response") - http.Error(w, errorMsg, http.StatusInternalServerError) - return nil - } - - w.Header().Add(httpstream.HeaderConnection, httpstream.HeaderUpgrade) - w.Header().Add(httpstream.HeaderUpgrade, HeaderSpdy31) - w.WriteHeader(http.StatusSwitchingProtocols) - - conn, bufrw, err := hijacker.Hijack() - if err != nil { - runtime.HandleError(fmt.Errorf("unable to upgrade: error hijacking response: %v", err)) - return nil - } - - connWithBuf := &connWrapper{Conn: conn, bufReader: bufrw.Reader} - spdyConn, err := NewServerConnectionWithPings(connWithBuf, newStreamHandler, u.pingPeriod) - if err != nil { - runtime.HandleError(fmt.Errorf("unable to upgrade: error creating SPDY server connection: %v", err)) - return nil - } - - return spdyConn -} diff --git a/vendor/k8s.io/apimachinery/pkg/util/remotecommand/constants.go b/vendor/k8s.io/apimachinery/pkg/util/remotecommand/constants.go deleted file mode 100644 index acfeb827..00000000 --- a/vendor/k8s.io/apimachinery/pkg/util/remotecommand/constants.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 remotecommand - -import ( - "time" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -const ( - DefaultStreamCreationTimeout = 30 * time.Second - - // The SPDY subprotocol "channel.k8s.io" is used for remote command - // attachment/execution. This represents the initial unversioned subprotocol, - // which has the known bugs http://issues.k8s.io/13394 and - // http://issues.k8s.io/13395. - StreamProtocolV1Name = "channel.k8s.io" - - // The SPDY subprotocol "v2.channel.k8s.io" is used for remote command - // attachment/execution. It is the second version of the subprotocol and - // resolves the issues present in the first version. - StreamProtocolV2Name = "v2.channel.k8s.io" - - // The SPDY subprotocol "v3.channel.k8s.io" is used for remote command - // attachment/execution. It is the third version of the subprotocol and - // adds support for resizing container terminals. - StreamProtocolV3Name = "v3.channel.k8s.io" - - // The SPDY subprotocol "v4.channel.k8s.io" is used for remote command - // attachment/execution. It is the 4th version of the subprotocol and - // adds support for exit codes. - StreamProtocolV4Name = "v4.channel.k8s.io" - - NonZeroExitCodeReason = metav1.StatusReason("NonZeroExitCode") - ExitCodeCauseType = metav1.CauseType("ExitCode") -) - -var SupportedStreamingProtocols = []string{StreamProtocolV4Name, StreamProtocolV3Name, StreamProtocolV2Name, StreamProtocolV1Name} diff --git a/vendor/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go b/vendor/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go deleted file mode 100644 index bd26f427..00000000 --- a/vendor/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go +++ /dev/null @@ -1,28 +0,0 @@ -package netutil - -import ( - "net/url" - "strings" -) - -// FROM: http://golang.org/src/net/http/client.go -// Given a string of the form "host", "host:port", or "[ipv6::address]:port", -// return true if the string includes a port. -func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") } - -// FROM: http://golang.org/src/net/http/transport.go -var portMap = map[string]string{ - "http": "80", - "https": "443", - "socks5": "1080", -} - -// FROM: http://golang.org/src/net/http/transport.go -// canonicalAddr returns url.Host but always with a ":port" suffix -func CanonicalAddr(url *url.URL) string { - addr := url.Host - if !hasPort(addr) { - return addr + ":" + portMap[url.Scheme] - } - return addr -} diff --git a/vendor/k8s.io/cli-runtime/LICENSE b/vendor/k8s.io/cli-runtime/LICENSE deleted file mode 100644 index d6456956..00000000 --- a/vendor/k8s.io/cli-runtime/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 [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go deleted file mode 100644 index acf576a3..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags.go +++ /dev/null @@ -1,231 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "github.com/spf13/pflag" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/cli-runtime/pkg/resource" -) - -// ResourceBuilderFlags are flags for finding resources -// TODO(juanvallejo): wire --local flag from commands through -type ResourceBuilderFlags struct { - FileNameFlags *FileNameFlags - - LabelSelector *string - FieldSelector *string - AllNamespaces *bool - All *bool - Local *bool - - Scheme *runtime.Scheme - Latest bool - StopOnFirstError bool -} - -// NewResourceBuilderFlags returns a default ResourceBuilderFlags -func NewResourceBuilderFlags() *ResourceBuilderFlags { - filenames := []string{} - - return &ResourceBuilderFlags{ - FileNameFlags: &FileNameFlags{ - Usage: "identifying the resource.", - Filenames: &filenames, - Recursive: boolPtr(true), - }, - } -} - -// WithFile sets the FileNameFlags. -// If recurse is set, it will process directory recursively. Useful when you want to manage related manifests -// organized within the same directory. -func (o *ResourceBuilderFlags) WithFile(recurse bool, files ...string) *ResourceBuilderFlags { - o.FileNameFlags = &FileNameFlags{ - Usage: "identifying the resource.", - Filenames: &files, - Recursive: boolPtr(recurse), - } - - return o -} - -// WithLabelSelector sets the LabelSelector flag -func (o *ResourceBuilderFlags) WithLabelSelector(selector string) *ResourceBuilderFlags { - o.LabelSelector = &selector - return o -} - -// WithFieldSelector sets the FieldSelector flag -func (o *ResourceBuilderFlags) WithFieldSelector(selector string) *ResourceBuilderFlags { - o.FieldSelector = &selector - return o -} - -// WithAllNamespaces sets the AllNamespaces flag -func (o *ResourceBuilderFlags) WithAllNamespaces(defaultVal bool) *ResourceBuilderFlags { - o.AllNamespaces = &defaultVal - return o -} - -// WithAll sets the All flag -func (o *ResourceBuilderFlags) WithAll(defaultVal bool) *ResourceBuilderFlags { - o.All = &defaultVal - return o -} - -// WithLocal sets the Local flag -func (o *ResourceBuilderFlags) WithLocal(defaultVal bool) *ResourceBuilderFlags { - o.Local = &defaultVal - return o -} - -// WithScheme sets the Scheme flag -func (o *ResourceBuilderFlags) WithScheme(scheme *runtime.Scheme) *ResourceBuilderFlags { - o.Scheme = scheme - return o -} - -// WithLatest sets the Latest flag -func (o *ResourceBuilderFlags) WithLatest() *ResourceBuilderFlags { - o.Latest = true - return o -} - -// StopOnError sets the StopOnFirstError flag -func (o *ResourceBuilderFlags) StopOnError() *ResourceBuilderFlags { - o.StopOnFirstError = true - return o -} - -// AddFlags registers flags for finding resources -func (o *ResourceBuilderFlags) AddFlags(flagset *pflag.FlagSet) { - o.FileNameFlags.AddFlags(flagset) - - if o.LabelSelector != nil { - flagset.StringVarP(o.LabelSelector, "selector", "l", *o.LabelSelector, "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)") - } - if o.FieldSelector != nil { - flagset.StringVar(o.FieldSelector, "field-selector", *o.FieldSelector, "Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.") - } - if o.AllNamespaces != nil { - flagset.BoolVarP(o.AllNamespaces, "all-namespaces", "A", *o.AllNamespaces, "If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.") - } - if o.All != nil { - flagset.BoolVar(o.All, "all", *o.All, "Select all resources in the namespace of the specified resource types") - } - if o.Local != nil { - flagset.BoolVar(o.Local, "local", *o.Local, "If true, annotation will NOT contact api-server but run locally.") - } -} - -// ToBuilder gives you back a resource finder to visit resources that are located -func (o *ResourceBuilderFlags) ToBuilder(restClientGetter RESTClientGetter, resources []string) ResourceFinder { - namespace, enforceNamespace, namespaceErr := restClientGetter.ToRawKubeConfigLoader().Namespace() - - builder := resource.NewBuilder(restClientGetter). - NamespaceParam(namespace).DefaultNamespace() - - if o.AllNamespaces != nil { - builder.AllNamespaces(*o.AllNamespaces) - } - - if o.Scheme != nil { - builder.WithScheme(o.Scheme, o.Scheme.PrioritizedVersionsAllGroups()...) - } else { - builder.Unstructured() - } - - if o.FileNameFlags != nil { - opts := o.FileNameFlags.ToOptions() - builder.FilenameParam(enforceNamespace, &opts) - } - - if o.Local == nil || !*o.Local { - // resource type/name tuples only work non-local - if o.All != nil { - builder.ResourceTypeOrNameArgs(*o.All, resources...) - } else { - builder.ResourceTypeOrNameArgs(false, resources...) - } - // label selectors only work non-local (for now) - if o.LabelSelector != nil { - builder.LabelSelectorParam(*o.LabelSelector) - } - // field selectors only work non-local (forever) - if o.FieldSelector != nil { - builder.FieldSelectorParam(*o.FieldSelector) - } - // latest only works non-local (forever) - if o.Latest { - builder.Latest() - } - - } else { - builder.Local() - - if len(resources) > 0 { - builder.AddError(resource.LocalResourceError) - } - } - - if !o.StopOnFirstError { - builder.ContinueOnError() - } - - return &ResourceFindBuilderWrapper{ - builder: builder. - Flatten(). // I think we're going to recommend this everywhere - AddError(namespaceErr), - } -} - -// ResourceFindBuilderWrapper wraps a builder in an interface -type ResourceFindBuilderWrapper struct { - builder *resource.Builder -} - -// Do finds you resources to check -func (b *ResourceFindBuilderWrapper) Do() resource.Visitor { - return b.builder.Do() -} - -// ResourceFinder allows mocking the resource builder -// TODO resource builders needs to become more interfacey -type ResourceFinder interface { - Do() resource.Visitor -} - -// ResourceFinderFunc is a handy way to make a ResourceFinder -type ResourceFinderFunc func() resource.Visitor - -// Do implements ResourceFinder -func (fn ResourceFinderFunc) Do() resource.Visitor { - return fn() -} - -// ResourceFinderForResult skins a visitor for re-use as a ResourceFinder -func ResourceFinderForResult(result resource.Visitor) ResourceFinder { - return ResourceFinderFunc(func() resource.Visitor { - return result - }) -} - -func boolPtr(val bool) *bool { - return &val -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go deleted file mode 100644 index d43b0c25..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "k8s.io/cli-runtime/pkg/resource" -) - -// NewSimpleFakeResourceFinder builds a super simple ResourceFinder that just iterates over the objects you provided -func NewSimpleFakeResourceFinder(infos ...*resource.Info) ResourceFinder { - return &fakeResourceFinder{ - Infos: infos, - } -} - -type fakeResourceFinder struct { - Infos []*resource.Info -} - -// Do implements the interface -func (f *fakeResourceFinder) Do() resource.Visitor { - return &fakeResourceResult{ - Infos: f.Infos, - } -} - -type fakeResourceResult struct { - Infos []*resource.Info -} - -// Visit just iterates over info -func (r *fakeResourceResult) Visit(fn resource.VisitorFunc) error { - for _, info := range r.Infos { - err := fn(info, nil) - if err != nil { - return err - } - } - return nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/client_config.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/client_config.go deleted file mode 100644 index 0e22d714..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/client_config.go +++ /dev/null @@ -1,72 +0,0 @@ -/* -Copyright 2020 The 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 genericclioptions - -import ( - restclient "k8s.io/client-go/rest" - "k8s.io/client-go/tools/clientcmd" - clientcmdapi "k8s.io/client-go/tools/clientcmd/api" -) - -var ( - // ErrEmptyConfig is the error message to be displayed if the configuration info is missing or incomplete - ErrEmptyConfig = clientcmd.NewEmptyConfigError(`Missing or incomplete configuration info. Please point to an existing, complete config file: - - - 1. Via the command-line flag --kubeconfig - 2. Via the KUBECONFIG environment variable - 3. In your home directory as ~/.kube/config - -To view or setup config directly use the 'config' command.`) -) - -var _ = clientcmd.ClientConfig(&clientConfig{}) - -type clientConfig struct { - defaultClientConfig clientcmd.ClientConfig -} - -func (c *clientConfig) RawConfig() (clientcmdapi.Config, error) { - config, err := c.defaultClientConfig.RawConfig() - // replace client-go's ErrEmptyConfig error with our custom, more verbose version - if clientcmd.IsEmptyConfig(err) { - return config, ErrEmptyConfig - } - return config, err -} - -func (c *clientConfig) ClientConfig() (*restclient.Config, error) { - config, err := c.defaultClientConfig.ClientConfig() - // replace client-go's ErrEmptyConfig error with our custom, more verbose version - if clientcmd.IsEmptyConfig(err) { - return config, ErrEmptyConfig - } - return config, err -} - -func (c *clientConfig) Namespace() (string, bool, error) { - namespace, ok, err := c.defaultClientConfig.Namespace() - // replace client-go's ErrEmptyConfig error with our custom, more verbose version - if clientcmd.IsEmptyConfig(err) { - return namespace, ok, ErrEmptyConfig - } - return namespace, ok, err -} - -func (c *clientConfig) ConfigAccess() clientcmd.ConfigAccess { - return c.defaultClientConfig.ConfigAccess() -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/command_headers.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/command_headers.go deleted file mode 100644 index 0eea122f..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/command_headers.go +++ /dev/null @@ -1,91 +0,0 @@ -/* -Copyright 2021 The 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 genericclioptions - -import ( - "net/http" - "strings" - - "github.com/google/uuid" - "github.com/spf13/cobra" -) - -const ( - kubectlCommandHeader = "Kubectl-Command" - kubectlSessionHeader = "Kubectl-Session" -) - -// CommandHeaderRoundTripper adds a layer around the standard -// round tripper to add Request headers before delegation. Implements -// the go standard library "http.RoundTripper" interface. -type CommandHeaderRoundTripper struct { - Delegate http.RoundTripper - Headers map[string]string -} - -// CommandHeaderRoundTripper adds Request headers before delegating to standard -// round tripper. These headers are kubectl command headers which -// detail the kubectl command. See SIG CLI KEP 859: -// https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/859-kubectl-headers -func (c *CommandHeaderRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { - for header, value := range c.Headers { - req.Header.Set(header, value) - } - return c.Delegate.RoundTrip(req) -} - -// ParseCommandHeaders fills in a map of custom headers into the CommandHeaderRoundTripper. These -// headers are then filled into each request. For details on the custom headers see: -// https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/859-kubectl-headers -// Each call overwrites the previously parsed command headers (not additive). -// TODO(seans3): Parse/add flags removing PII from flag values. -func (c *CommandHeaderRoundTripper) ParseCommandHeaders(cmd *cobra.Command, args []string) { - if cmd == nil { - return - } - // Overwrites previously parsed command headers (headers not additive). - c.Headers = map[string]string{} - // Session identifier to aggregate multiple Requests from single kubectl command. - uid := uuid.New().String() - c.Headers[kubectlSessionHeader] = uid - // Iterate up the hierarchy of commands from the leaf command to create - // the full command string. Example: kubectl create secret generic - cmdStrs := []string{} - for cmd.HasParent() { - parent := cmd.Parent() - currName := strings.TrimSpace(cmd.Name()) - cmdStrs = append([]string{currName}, cmdStrs...) - cmd = parent - } - currName := strings.TrimSpace(cmd.Name()) - cmdStrs = append([]string{currName}, cmdStrs...) - if len(cmdStrs) > 0 { - c.Headers[kubectlCommandHeader] = strings.Join(cmdStrs, " ") - } -} - -// CancelRequest is propagated to the Delegate RoundTripper within -// if the wrapped RoundTripper implements this function. -func (c *CommandHeaderRoundTripper) CancelRequest(req *http.Request) { - type canceler interface { - CancelRequest(*http.Request) - } - // If possible, call "CancelRequest" on the wrapped Delegate RoundTripper. - if cr, ok := c.Delegate.(canceler); ok { - cr.CancelRequest(req) - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go deleted file mode 100644 index 0d604b9c..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go +++ /dev/null @@ -1,456 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "os" - "path/filepath" - "regexp" - "strings" - "sync" - "time" - - "github.com/spf13/pflag" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/client-go/discovery" - diskcached "k8s.io/client-go/discovery/cached/disk" - "k8s.io/client-go/rest" - "k8s.io/client-go/restmapper" - "k8s.io/client-go/tools/clientcmd" - "k8s.io/client-go/util/homedir" - utilpointer "k8s.io/utils/pointer" -) - -const ( - flagClusterName = "cluster" - flagAuthInfoName = "user" - flagContext = "context" - flagNamespace = "namespace" - flagAPIServer = "server" - flagTLSServerName = "tls-server-name" - flagInsecure = "insecure-skip-tls-verify" - flagCertFile = "client-certificate" - flagKeyFile = "client-key" - flagCAFile = "certificate-authority" - flagBearerToken = "token" - flagImpersonate = "as" - flagImpersonateUID = "as-uid" - flagImpersonateGroup = "as-group" - flagUsername = "username" - flagPassword = "password" - flagTimeout = "request-timeout" - flagCacheDir = "cache-dir" -) - -var ( - defaultCacheDir = filepath.Join(homedir.HomeDir(), ".kube", "cache") -) - -// RESTClientGetter is an interface that the ConfigFlags describe to provide an easier way to mock for commands -// and eliminate the direct coupling to a struct type. Users may wish to duplicate this type in their own packages -// as per the golang type overlapping. -type RESTClientGetter interface { - // ToRESTConfig returns restconfig - ToRESTConfig() (*rest.Config, error) - // ToDiscoveryClient returns discovery client - ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) - // ToRESTMapper returns a restmapper - ToRESTMapper() (meta.RESTMapper, error) - // ToRawKubeConfigLoader return kubeconfig loader as-is - ToRawKubeConfigLoader() clientcmd.ClientConfig -} - -var _ RESTClientGetter = &ConfigFlags{} - -// ConfigFlags composes the set of values necessary -// for obtaining a REST client config -type ConfigFlags struct { - CacheDir *string - KubeConfig *string - - // config flags - ClusterName *string - AuthInfoName *string - Context *string - Namespace *string - APIServer *string - TLSServerName *string - Insecure *bool - CertFile *string - KeyFile *string - CAFile *string - BearerToken *string - Impersonate *string - ImpersonateUID *string - ImpersonateGroup *[]string - Username *string - Password *string - Timeout *string - // If non-nil, wrap config function can transform the Config - // before it is returned in ToRESTConfig function. - WrapConfigFn func(*rest.Config) *rest.Config - - clientConfig clientcmd.ClientConfig - clientConfigLock sync.Mutex - - restMapper meta.RESTMapper - restMapperLock sync.Mutex - - discoveryClient discovery.CachedDiscoveryInterface - discoveryClientLock sync.Mutex - - // If set to true, will use persistent client config, rest mapper, discovery client, and - // propagate them to the places that need them, rather than - // instantiating them multiple times. - usePersistentConfig bool - // Allows increasing burst used for discovery, this is useful - // in clusters with many registered resources - discoveryBurst int - // Allows increasing qps used for discovery, this is useful - // in clusters with many registered resources - discoveryQPS float32 -} - -// ToRESTConfig implements RESTClientGetter. -// Returns a REST client configuration based on a provided path -// to a .kubeconfig file, loading rules, and config flag overrides. -// Expects the AddFlags method to have been called. If WrapConfigFn -// is non-nil this function can transform config before return. -func (f *ConfigFlags) ToRESTConfig() (*rest.Config, error) { - c, err := f.ToRawKubeConfigLoader().ClientConfig() - if err != nil { - return nil, err - } - if f.WrapConfigFn != nil { - return f.WrapConfigFn(c), nil - } - return c, nil -} - -// ToRawKubeConfigLoader binds config flag values to config overrides -// Returns an interactive clientConfig if the password flag is enabled, -// or a non-interactive clientConfig otherwise. -func (f *ConfigFlags) ToRawKubeConfigLoader() clientcmd.ClientConfig { - if f.usePersistentConfig { - return f.toRawKubePersistentConfigLoader() - } - return f.toRawKubeConfigLoader() -} - -func (f *ConfigFlags) toRawKubeConfigLoader() clientcmd.ClientConfig { - loadingRules := clientcmd.NewDefaultClientConfigLoadingRules() - // use the standard defaults for this client command - // DEPRECATED: remove and replace with something more accurate - loadingRules.DefaultClientConfig = &clientcmd.DefaultClientConfig - - if f.KubeConfig != nil { - loadingRules.ExplicitPath = *f.KubeConfig - } - - overrides := &clientcmd.ConfigOverrides{ClusterDefaults: clientcmd.ClusterDefaults} - - // bind auth info flag values to overrides - if f.CertFile != nil { - overrides.AuthInfo.ClientCertificate = *f.CertFile - } - if f.KeyFile != nil { - overrides.AuthInfo.ClientKey = *f.KeyFile - } - if f.BearerToken != nil { - overrides.AuthInfo.Token = *f.BearerToken - } - if f.Impersonate != nil { - overrides.AuthInfo.Impersonate = *f.Impersonate - } - if f.ImpersonateUID != nil { - overrides.AuthInfo.ImpersonateUID = *f.ImpersonateUID - } - if f.ImpersonateGroup != nil { - overrides.AuthInfo.ImpersonateGroups = *f.ImpersonateGroup - } - if f.Username != nil { - overrides.AuthInfo.Username = *f.Username - } - if f.Password != nil { - overrides.AuthInfo.Password = *f.Password - } - - // bind cluster flags - if f.APIServer != nil { - overrides.ClusterInfo.Server = *f.APIServer - } - if f.TLSServerName != nil { - overrides.ClusterInfo.TLSServerName = *f.TLSServerName - } - if f.CAFile != nil { - overrides.ClusterInfo.CertificateAuthority = *f.CAFile - } - if f.Insecure != nil { - overrides.ClusterInfo.InsecureSkipTLSVerify = *f.Insecure - } - - // bind context flags - if f.Context != nil { - overrides.CurrentContext = *f.Context - } - if f.ClusterName != nil { - overrides.Context.Cluster = *f.ClusterName - } - if f.AuthInfoName != nil { - overrides.Context.AuthInfo = *f.AuthInfoName - } - if f.Namespace != nil { - overrides.Context.Namespace = *f.Namespace - } - - if f.Timeout != nil { - overrides.Timeout = *f.Timeout - } - - // we only have an interactive prompt when a password is allowed - if f.Password == nil { - return &clientConfig{clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, overrides)} - } - return &clientConfig{clientcmd.NewInteractiveDeferredLoadingClientConfig(loadingRules, overrides, os.Stdin)} -} - -// toRawKubePersistentConfigLoader binds config flag values to config overrides -// Returns a persistent clientConfig for propagation. -func (f *ConfigFlags) toRawKubePersistentConfigLoader() clientcmd.ClientConfig { - f.clientConfigLock.Lock() - defer f.clientConfigLock.Unlock() - - if f.clientConfig == nil { - f.clientConfig = f.toRawKubeConfigLoader() - } - - return f.clientConfig -} - -// ToDiscoveryClient implements RESTClientGetter. -// Expects the AddFlags method to have been called. -// Returns a CachedDiscoveryInterface using a computed RESTConfig. -func (f *ConfigFlags) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - if f.usePersistentConfig { - return f.toPersistentDiscoveryClient() - } - return f.toDiscoveryClient() -} - -func (f *ConfigFlags) toPersistentDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - f.discoveryClientLock.Lock() - defer f.discoveryClientLock.Unlock() - - if f.discoveryClient == nil { - discoveryClient, err := f.toDiscoveryClient() - if err != nil { - return nil, err - } - f.discoveryClient = discoveryClient - } - return f.discoveryClient, nil -} - -func (f *ConfigFlags) toDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - config, err := f.ToRESTConfig() - if err != nil { - return nil, err - } - - config.Burst = f.discoveryBurst - config.QPS = f.discoveryQPS - - cacheDir := defaultCacheDir - - // retrieve a user-provided value for the "cache-dir" - // override httpCacheDir and discoveryCacheDir if user-value is given. - if f.CacheDir != nil { - cacheDir = *f.CacheDir - } - httpCacheDir := filepath.Join(cacheDir, "http") - discoveryCacheDir := computeDiscoverCacheDir(filepath.Join(cacheDir, "discovery"), config.Host) - - return diskcached.NewCachedDiscoveryClientForConfig(config, discoveryCacheDir, httpCacheDir, time.Duration(6*time.Hour)) -} - -// ToRESTMapper returns a mapper. -func (f *ConfigFlags) ToRESTMapper() (meta.RESTMapper, error) { - if f.usePersistentConfig { - return f.toPersistentRESTMapper() - } - return f.toRESTMapper() -} - -func (f *ConfigFlags) toPersistentRESTMapper() (meta.RESTMapper, error) { - f.restMapperLock.Lock() - defer f.restMapperLock.Unlock() - - if f.restMapper == nil { - restMapper, err := f.toRESTMapper() - if err != nil { - return nil, err - } - f.restMapper = restMapper - } - return f.restMapper, nil -} - -func (f *ConfigFlags) toRESTMapper() (meta.RESTMapper, error) { - discoveryClient, err := f.ToDiscoveryClient() - if err != nil { - return nil, err - } - - mapper := restmapper.NewDeferredDiscoveryRESTMapper(discoveryClient) - expander := restmapper.NewShortcutExpander(mapper, discoveryClient) - return expander, nil -} - -// AddFlags binds client configuration flags to a given flagset -func (f *ConfigFlags) AddFlags(flags *pflag.FlagSet) { - if f.KubeConfig != nil { - flags.StringVar(f.KubeConfig, "kubeconfig", *f.KubeConfig, "Path to the kubeconfig file to use for CLI requests.") - } - if f.CacheDir != nil { - flags.StringVar(f.CacheDir, flagCacheDir, *f.CacheDir, "Default cache directory") - } - - // add config options - if f.CertFile != nil { - flags.StringVar(f.CertFile, flagCertFile, *f.CertFile, "Path to a client certificate file for TLS") - } - if f.KeyFile != nil { - flags.StringVar(f.KeyFile, flagKeyFile, *f.KeyFile, "Path to a client key file for TLS") - } - if f.BearerToken != nil { - flags.StringVar(f.BearerToken, flagBearerToken, *f.BearerToken, "Bearer token for authentication to the API server") - } - if f.Impersonate != nil { - flags.StringVar(f.Impersonate, flagImpersonate, *f.Impersonate, "Username to impersonate for the operation. User could be a regular user or a service account in a namespace.") - } - if f.ImpersonateUID != nil { - flags.StringVar(f.ImpersonateUID, flagImpersonateUID, *f.ImpersonateUID, "UID to impersonate for the operation.") - } - if f.ImpersonateGroup != nil { - flags.StringArrayVar(f.ImpersonateGroup, flagImpersonateGroup, *f.ImpersonateGroup, "Group to impersonate for the operation, this flag can be repeated to specify multiple groups.") - } - if f.Username != nil { - flags.StringVar(f.Username, flagUsername, *f.Username, "Username for basic authentication to the API server") - } - if f.Password != nil { - flags.StringVar(f.Password, flagPassword, *f.Password, "Password for basic authentication to the API server") - } - if f.ClusterName != nil { - flags.StringVar(f.ClusterName, flagClusterName, *f.ClusterName, "The name of the kubeconfig cluster to use") - } - if f.AuthInfoName != nil { - flags.StringVar(f.AuthInfoName, flagAuthInfoName, *f.AuthInfoName, "The name of the kubeconfig user to use") - } - if f.Namespace != nil { - flags.StringVarP(f.Namespace, flagNamespace, "n", *f.Namespace, "If present, the namespace scope for this CLI request") - } - if f.Context != nil { - flags.StringVar(f.Context, flagContext, *f.Context, "The name of the kubeconfig context to use") - } - - if f.APIServer != nil { - flags.StringVarP(f.APIServer, flagAPIServer, "s", *f.APIServer, "The address and port of the Kubernetes API server") - } - if f.TLSServerName != nil { - flags.StringVar(f.TLSServerName, flagTLSServerName, *f.TLSServerName, "Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used") - } - if f.Insecure != nil { - flags.BoolVar(f.Insecure, flagInsecure, *f.Insecure, "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure") - } - if f.CAFile != nil { - flags.StringVar(f.CAFile, flagCAFile, *f.CAFile, "Path to a cert file for the certificate authority") - } - if f.Timeout != nil { - flags.StringVar(f.Timeout, flagTimeout, *f.Timeout, "The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.") - } -} - -// WithDeprecatedPasswordFlag enables the username and password config flags -func (f *ConfigFlags) WithDeprecatedPasswordFlag() *ConfigFlags { - f.Username = utilpointer.String("") - f.Password = utilpointer.String("") - return f -} - -// WithDiscoveryBurst sets the RESTClient burst for discovery. -func (f *ConfigFlags) WithDiscoveryBurst(discoveryBurst int) *ConfigFlags { - f.discoveryBurst = discoveryBurst - return f -} - -// WithDiscoveryQPS sets the RESTClient QPS for discovery. -func (f *ConfigFlags) WithDiscoveryQPS(discoveryQPS float32) *ConfigFlags { - f.discoveryQPS = discoveryQPS - return f -} - -// WithWrapConfigFn allows providing a wrapper function for the client Config. -func (f *ConfigFlags) WithWrapConfigFn(wrapConfigFn func(*rest.Config) *rest.Config) *ConfigFlags { - f.WrapConfigFn = wrapConfigFn - return f -} - -// NewConfigFlags returns ConfigFlags with default values set -func NewConfigFlags(usePersistentConfig bool) *ConfigFlags { - impersonateGroup := []string{} - insecure := false - - return &ConfigFlags{ - Insecure: &insecure, - Timeout: utilpointer.String("0"), - KubeConfig: utilpointer.String(""), - - CacheDir: utilpointer.String(defaultCacheDir), - ClusterName: utilpointer.String(""), - AuthInfoName: utilpointer.String(""), - Context: utilpointer.String(""), - Namespace: utilpointer.String(""), - APIServer: utilpointer.String(""), - TLSServerName: utilpointer.String(""), - CertFile: utilpointer.String(""), - KeyFile: utilpointer.String(""), - CAFile: utilpointer.String(""), - BearerToken: utilpointer.String(""), - Impersonate: utilpointer.String(""), - ImpersonateUID: utilpointer.String(""), - ImpersonateGroup: &impersonateGroup, - - usePersistentConfig: usePersistentConfig, - // The more groups you have, the more discovery requests you need to make. - // given 25 groups (our groups + a few custom resources) with one-ish version each, discovery needs to make 50 requests - // double it just so we don't end up here again for a while. This config is only used for discovery. - discoveryBurst: 100, - } -} - -// overlyCautiousIllegalFileCharacters matches characters that *might* not be supported. Windows is really restrictive, so this is really restrictive -var overlyCautiousIllegalFileCharacters = regexp.MustCompile(`[^(\w/.)]`) - -// computeDiscoverCacheDir takes the parentDir and the host and comes up with a "usually non-colliding" name. -func computeDiscoverCacheDir(parentDir, host string) string { - // strip the optional scheme from host if its there: - schemelessHost := strings.Replace(strings.Replace(host, "https://", "", 1), "http://", "", 1) - // now do a simple collapse of non-AZ09 characters. Collisions are possible but unlikely. Even if we do collide the problem is short lived - safeHost := overlyCautiousIllegalFileCharacters.ReplaceAllString(schemelessHost, "_") - return filepath.Join(parentDir, safeHost) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go deleted file mode 100644 index 7a964815..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go +++ /dev/null @@ -1,127 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "fmt" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/client-go/discovery" - "k8s.io/client-go/rest" - "k8s.io/client-go/restmapper" - "k8s.io/client-go/tools/clientcmd" - clientcmdapi "k8s.io/client-go/tools/clientcmd/api" -) - -// TestConfigFlags contains clientConfig struct -// and interfaces that implements RESTClientGetter -type TestConfigFlags struct { - clientConfig clientcmd.ClientConfig - discoveryClient discovery.CachedDiscoveryInterface - restMapper meta.RESTMapper -} - -// ToRawKubeConfigLoader implements RESTClientGetter -// Returns a clientconfig if it's set -func (f *TestConfigFlags) ToRawKubeConfigLoader() clientcmd.ClientConfig { - if f.clientConfig == nil { - panic("attempt to obtain a test RawKubeConfigLoader with no clientConfig specified") - } - return f.clientConfig -} - -// ToRESTConfig implements RESTClientGetter. -// Returns a REST client configuration based on a provided path -// to a .kubeconfig file, loading rules, and config flag overrides. -// Expects the AddFlags method to have been called. -func (f *TestConfigFlags) ToRESTConfig() (*rest.Config, error) { - return f.ToRawKubeConfigLoader().ClientConfig() -} - -// ToDiscoveryClient implements RESTClientGetter. -// Returns a CachedDiscoveryInterface -func (f *TestConfigFlags) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - return f.discoveryClient, nil -} - -// ToRESTMapper implements RESTClientGetter. -// Returns a mapper. -func (f *TestConfigFlags) ToRESTMapper() (meta.RESTMapper, error) { - if f.restMapper != nil { - return f.restMapper, nil - } - if f.discoveryClient != nil { - mapper := restmapper.NewDeferredDiscoveryRESTMapper(f.discoveryClient) - expander := restmapper.NewShortcutExpander(mapper, f.discoveryClient) - return expander, nil - } - return nil, fmt.Errorf("no restmapper") -} - -// WithClientConfig sets the clientConfig flag -func (f *TestConfigFlags) WithClientConfig(clientConfig clientcmd.ClientConfig) *TestConfigFlags { - f.clientConfig = clientConfig - return f -} - -// WithRESTMapper sets the restMapper flag -func (f *TestConfigFlags) WithRESTMapper(mapper meta.RESTMapper) *TestConfigFlags { - f.restMapper = mapper - return f -} - -// WithDiscoveryClient sets the discoveryClient flag -func (f *TestConfigFlags) WithDiscoveryClient(c discovery.CachedDiscoveryInterface) *TestConfigFlags { - f.discoveryClient = c - return f -} - -// WithNamespace sets the clientConfig flag by modifying delagate and namespace -func (f *TestConfigFlags) WithNamespace(ns string) *TestConfigFlags { - if f.clientConfig == nil { - panic("attempt to obtain a test RawKubeConfigLoader with no clientConfig specified") - } - f.clientConfig = &namespacedClientConfig{ - delegate: f.clientConfig, - namespace: ns, - } - return f -} - -// NewTestConfigFlags builds a TestConfigFlags struct to test ConfigFlags -func NewTestConfigFlags() *TestConfigFlags { - return &TestConfigFlags{} -} - -type namespacedClientConfig struct { - delegate clientcmd.ClientConfig - namespace string -} - -func (c *namespacedClientConfig) Namespace() (string, bool, error) { - return c.namespace, len(c.namespace) > 0, nil -} - -func (c *namespacedClientConfig) RawConfig() (clientcmdapi.Config, error) { - return c.delegate.RawConfig() -} -func (c *namespacedClientConfig) ClientConfig() (*rest.Config, error) { - return c.delegate.ClientConfig() -} -func (c *namespacedClientConfig) ConfigAccess() clientcmd.ConfigAccess { - return c.delegate.ConfigAccess() -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/doc.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/doc.go deleted file mode 100644 index 303da330..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions contains flags which can be added to your command, bound, completed, and produce -// useful helper functions. Nothing in this package can depend on kube/kube -package genericclioptions // import "k8s.io/cli-runtime/pkg/genericclioptions" diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go deleted file mode 100644 index 74259e41..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/filename_flags.go +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "strings" - - "github.com/spf13/cobra" - "github.com/spf13/pflag" - - "k8s.io/cli-runtime/pkg/resource" -) - -// FileNameFlags are flags for processing files. -// Usage of this struct by itself is discouraged. -// These flags are composed by ResourceBuilderFlags -// which should be used instead. -type FileNameFlags struct { - Usage string - - Filenames *[]string - Kustomize *string - Recursive *bool -} - -// ToOptions creates a new FileNameOptions struct and sets FilenameOptions based on FileNameflags -func (o *FileNameFlags) ToOptions() resource.FilenameOptions { - options := resource.FilenameOptions{} - - if o == nil { - return options - } - - if o.Recursive != nil { - options.Recursive = *o.Recursive - } - if o.Filenames != nil { - options.Filenames = *o.Filenames - } - if o.Kustomize != nil { - options.Kustomize = *o.Kustomize - } - - return options -} - -// AddFlags binds file name flags to a given flagset -func (o *FileNameFlags) AddFlags(flags *pflag.FlagSet) { - if o == nil { - return - } - - if o.Recursive != nil { - flags.BoolVarP(o.Recursive, "recursive", "R", *o.Recursive, "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.") - } - if o.Filenames != nil { - flags.StringSliceVarP(o.Filenames, "filename", "f", *o.Filenames, o.Usage) - annotations := make([]string, 0, len(resource.FileExtensions)) - for _, ext := range resource.FileExtensions { - annotations = append(annotations, strings.TrimLeft(ext, ".")) - } - flags.SetAnnotation("filename", cobra.BashCompFilenameExt, annotations) - } - if o.Kustomize != nil { - flags.StringVarP(o.Kustomize, "kustomize", "k", *o.Kustomize, - "Process a kustomization directory. This flag can't be used together with -f or -R.") - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/io_options.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/io_options.go deleted file mode 100644 index 4fc3a77b..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/io_options.go +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "bytes" - "io" - "io/ioutil" -) - -// IOStreams provides the standard names for iostreams. This is useful for embedding and for unit testing. -// Inconsistent and different names make it hard to read and review code -type IOStreams struct { - // In think, os.Stdin - In io.Reader - // Out think, os.Stdout - Out io.Writer - // ErrOut think, os.Stderr - ErrOut io.Writer -} - -// NewTestIOStreams returns a valid IOStreams and in, out, errout buffers for unit tests -func NewTestIOStreams() (IOStreams, *bytes.Buffer, *bytes.Buffer, *bytes.Buffer) { - in := &bytes.Buffer{} - out := &bytes.Buffer{} - errOut := &bytes.Buffer{} - - return IOStreams{ - In: in, - Out: out, - ErrOut: errOut, - }, in, out, errOut -} - -// NewTestIOStreamsDiscard returns a valid IOStreams that just discards -func NewTestIOStreamsDiscard() IOStreams { - in := &bytes.Buffer{} - return IOStreams{ - In: in, - Out: ioutil.Discard, - ErrOut: ioutil.Discard, - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags.go deleted file mode 100644 index ea878961..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/json_yaml_flags.go +++ /dev/null @@ -1,79 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "strings" - - "github.com/spf13/cobra" - - "k8s.io/cli-runtime/pkg/printers" -) - -// AllowedFormats returns slice of string of allowed JSONYaml printing format -func (f *JSONYamlPrintFlags) AllowedFormats() []string { - if f == nil { - return []string{} - } - return []string{"json", "yaml"} -} - -// JSONYamlPrintFlags provides default flags necessary for json/yaml printing. -// Given the following flag values, a printer can be requested that knows -// how to handle printing based on these values. -type JSONYamlPrintFlags struct { - ShowManagedFields bool -} - -// ToPrinter receives an outputFormat and returns a printer capable of -// handling --output=(yaml|json) printing. -// Returns false if the specified outputFormat does not match a supported format. -// Supported Format types can be found in pkg/printers/printers.go -func (f *JSONYamlPrintFlags) ToPrinter(outputFormat string) (printers.ResourcePrinter, error) { - var printer printers.ResourcePrinter - - outputFormat = strings.ToLower(outputFormat) - switch outputFormat { - case "json": - printer = &printers.JSONPrinter{} - case "yaml": - printer = &printers.YAMLPrinter{} - default: - return nil, NoCompatiblePrinterError{OutputFormat: &outputFormat, AllowedFormats: f.AllowedFormats()} - } - - if !f.ShowManagedFields { - printer = &printers.OmitManagedFieldsPrinter{Delegate: printer} - } - return printer, nil -} - -// AddFlags receives a *cobra.Command reference and binds -// flags related to JSON or Yaml printing to it -func (f *JSONYamlPrintFlags) AddFlags(c *cobra.Command) { - if f == nil { - return - } - - c.Flags().BoolVar(&f.ShowManagedFields, "show-managed-fields", f.ShowManagedFields, "If true, keep the managedFields when printing objects in JSON or YAML format.") -} - -// NewJSONYamlPrintFlags returns flags associated with -// yaml or json printing, with default values set. -func NewJSONYamlPrintFlags() *JSONYamlPrintFlags { - return &JSONYamlPrintFlags{} -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go deleted file mode 100644 index 06bef474..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go +++ /dev/null @@ -1,137 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "fmt" - "io/ioutil" - "sort" - "strings" - - "github.com/spf13/cobra" - - "k8s.io/cli-runtime/pkg/printers" -) - -// templates are logically optional for specifying a format. -// this allows a user to specify a template format value -// as --output=jsonpath= -var jsonFormats = map[string]bool{ - "jsonpath": true, - "jsonpath-file": true, - "jsonpath-as-json": true, -} - -// JSONPathPrintFlags provides default flags necessary for template printing. -// Given the following flag values, a printer can be requested that knows -// how to handle printing based on these values. -type JSONPathPrintFlags struct { - // indicates if it is OK to ignore missing keys for rendering - // an output template. - AllowMissingKeys *bool - TemplateArgument *string -} - -// AllowedFormats returns slice of string of allowed JSONPath printing format -func (f *JSONPathPrintFlags) AllowedFormats() []string { - formats := make([]string, 0, len(jsonFormats)) - for format := range jsonFormats { - formats = append(formats, format) - } - sort.Strings(formats) - return formats -} - -// ToPrinter receives an templateFormat and returns a printer capable of -// handling --template format printing. -// Returns false if the specified templateFormat does not match a template format. -func (f *JSONPathPrintFlags) ToPrinter(templateFormat string) (printers.ResourcePrinter, error) { - if (f.TemplateArgument == nil || len(*f.TemplateArgument) == 0) && len(templateFormat) == 0 { - return nil, NoCompatiblePrinterError{Options: f, OutputFormat: &templateFormat} - } - - templateValue := "" - - if f.TemplateArgument == nil || len(*f.TemplateArgument) == 0 { - for format := range jsonFormats { - format = format + "=" - if strings.HasPrefix(templateFormat, format) { - templateValue = templateFormat[len(format):] - templateFormat = format[:len(format)-1] - break - } - } - } else { - templateValue = *f.TemplateArgument - } - - if _, supportedFormat := jsonFormats[templateFormat]; !supportedFormat { - return nil, NoCompatiblePrinterError{OutputFormat: &templateFormat, AllowedFormats: f.AllowedFormats()} - } - - if len(templateValue) == 0 { - return nil, fmt.Errorf("template format specified but no template given") - } - - if templateFormat == "jsonpath-file" { - data, err := ioutil.ReadFile(templateValue) - if err != nil { - return nil, fmt.Errorf("error reading --template %s, %v", templateValue, err) - } - - templateValue = string(data) - } - - p, err := printers.NewJSONPathPrinter(templateValue) - if err != nil { - return nil, fmt.Errorf("error parsing jsonpath %s, %v", templateValue, err) - } - - allowMissingKeys := true - if f.AllowMissingKeys != nil { - allowMissingKeys = *f.AllowMissingKeys - } - - p.AllowMissingKeys(allowMissingKeys) - - if templateFormat == "jsonpath-as-json" { - p.EnableJSONOutput(true) - } - - return p, nil -} - -// AddFlags receives a *cobra.Command reference and binds -// flags related to template printing to it -func (f *JSONPathPrintFlags) AddFlags(c *cobra.Command) { - if f.TemplateArgument != nil { - c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when --output=jsonpath, --output=jsonpath-file.") - c.MarkFlagFilename("template") - } - if f.AllowMissingKeys != nil { - c.Flags().BoolVar(f.AllowMissingKeys, "allow-missing-template-keys", *f.AllowMissingKeys, "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.") - } -} - -// NewJSONPathPrintFlags returns flags associated with -// --template printing, with default values set. -func NewJSONPathPrintFlags(templateValue string, allowMissingKeys bool) *JSONPathPrintFlags { - return &JSONPathPrintFlags{ - TemplateArgument: &templateValue, - AllowMissingKeys: &allowMissingKeys, - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go deleted file mode 100644 index 518a20ac..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go +++ /dev/null @@ -1,94 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "github.com/spf13/cobra" - - "k8s.io/cli-runtime/pkg/printers" -) - -// KubeTemplatePrintFlags composes print flags that provide both a JSONPath and a go-template printer. -// This is necessary if dealing with cases that require support both both printers, since both sets of flags -// require overlapping flags. -type KubeTemplatePrintFlags struct { - GoTemplatePrintFlags *GoTemplatePrintFlags - JSONPathPrintFlags *JSONPathPrintFlags - - AllowMissingKeys *bool - TemplateArgument *string -} - -// AllowedFormats returns slice of string of allowed GoTemplete and JSONPathPrint printing formats -func (f *KubeTemplatePrintFlags) AllowedFormats() []string { - if f == nil { - return []string{} - } - return append(f.GoTemplatePrintFlags.AllowedFormats(), f.JSONPathPrintFlags.AllowedFormats()...) -} - -// ToPrinter receives an outputFormat and returns a printer capable of -// handling --template printing. -// Returns false if the specified outputFormat does not match a supported format. -// Supported Format types can be found in pkg/printers/printers.go -func (f *KubeTemplatePrintFlags) ToPrinter(outputFormat string) (printers.ResourcePrinter, error) { - if f == nil { - return nil, NoCompatiblePrinterError{} - } - - if p, err := f.JSONPathPrintFlags.ToPrinter(outputFormat); !IsNoCompatiblePrinterError(err) { - return p, err - } - return f.GoTemplatePrintFlags.ToPrinter(outputFormat) -} - -// AddFlags receives a *cobra.Command reference and binds -// flags related to template printing to it -func (f *KubeTemplatePrintFlags) AddFlags(c *cobra.Command) { - if f == nil { - return - } - - if f.TemplateArgument != nil { - c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].") - c.MarkFlagFilename("template") - } - if f.AllowMissingKeys != nil { - c.Flags().BoolVar(f.AllowMissingKeys, "allow-missing-template-keys", *f.AllowMissingKeys, "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.") - } -} - -// NewKubeTemplatePrintFlags returns flags associated with -// --template printing, with default values set. -func NewKubeTemplatePrintFlags() *KubeTemplatePrintFlags { - allowMissingKeysPtr := true - templateArgPtr := "" - - return &KubeTemplatePrintFlags{ - GoTemplatePrintFlags: &GoTemplatePrintFlags{ - TemplateArgument: &templateArgPtr, - AllowMissingKeys: &allowMissingKeysPtr, - }, - JSONPathPrintFlags: &JSONPathPrintFlags{ - TemplateArgument: &templateArgPtr, - AllowMissingKeys: &allowMissingKeysPtr, - }, - - TemplateArgument: &templateArgPtr, - AllowMissingKeys: &allowMissingKeysPtr, - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/name_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/name_flags.go deleted file mode 100644 index 02f400a0..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/name_flags.go +++ /dev/null @@ -1,83 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "fmt" - "strings" - - "github.com/spf13/cobra" - - "k8s.io/cli-runtime/pkg/printers" -) - -// NamePrintFlags provides default flags necessary for printing -// a resource's fully-qualified Kind.group/name, or a successful -// message about that resource if an Operation is provided. -type NamePrintFlags struct { - // Operation describes the name of the action that - // took place on an object, to be included in the - // finalized "successful" message. - Operation string -} - -// Complete sets NamePrintFlags operation flag from sucessTemplate -func (f *NamePrintFlags) Complete(successTemplate string) error { - f.Operation = fmt.Sprintf(successTemplate, f.Operation) - return nil -} - -// AllowedFormats returns slice of string of allowed Name printing format -func (f *NamePrintFlags) AllowedFormats() []string { - if f == nil { - return []string{} - } - return []string{"name"} -} - -// ToPrinter receives an outputFormat and returns a printer capable of -// handling --output=name printing. -// Returns false if the specified outputFormat does not match a supported format. -// Supported format types can be found in pkg/printers/printers.go -func (f *NamePrintFlags) ToPrinter(outputFormat string) (printers.ResourcePrinter, error) { - namePrinter := &printers.NamePrinter{ - Operation: f.Operation, - } - - outputFormat = strings.ToLower(outputFormat) - switch outputFormat { - case "name": - namePrinter.ShortOutput = true - fallthrough - case "": - return namePrinter, nil - default: - return nil, NoCompatiblePrinterError{OutputFormat: &outputFormat, AllowedFormats: f.AllowedFormats()} - } -} - -// AddFlags receives a *cobra.Command reference and binds -// flags related to name printing to it -func (f *NamePrintFlags) AddFlags(c *cobra.Command) {} - -// NewNamePrintFlags returns flags associated with -// --name printing, with default values set. -func NewNamePrintFlags(operation string) *NamePrintFlags { - return &NamePrintFlags{ - Operation: operation, - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/print_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/print_flags.go deleted file mode 100644 index 0a69aad8..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/print_flags.go +++ /dev/null @@ -1,171 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "fmt" - "sort" - "strings" - - "github.com/spf13/cobra" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/cli-runtime/pkg/printers" -) - -// NoCompatiblePrinterError is a struct that contains error information. -// It will be constructed when a invalid printing format is provided -type NoCompatiblePrinterError struct { - OutputFormat *string - AllowedFormats []string - Options interface{} -} - -func (e NoCompatiblePrinterError) Error() string { - output := "" - if e.OutputFormat != nil { - output = *e.OutputFormat - } - - sort.Strings(e.AllowedFormats) - return fmt.Sprintf("unable to match a printer suitable for the output format %q, allowed formats are: %s", output, strings.Join(e.AllowedFormats, ",")) -} - -// IsNoCompatiblePrinterError returns true if it is a not a compatible printer -// otherwise it will return false -func IsNoCompatiblePrinterError(err error) bool { - if err == nil { - return false - } - - _, ok := err.(NoCompatiblePrinterError) - return ok -} - -// PrintFlags composes common printer flag structs -// used across all commands, and provides a method -// of retrieving a known printer based on flag values provided. -type PrintFlags struct { - JSONYamlPrintFlags *JSONYamlPrintFlags - NamePrintFlags *NamePrintFlags - TemplatePrinterFlags *KubeTemplatePrintFlags - - TypeSetterPrinter *printers.TypeSetterPrinter - - OutputFormat *string - - // OutputFlagSpecified indicates whether the user specifically requested a certain kind of output. - // Using this function allows a sophisticated caller to change the flag binding logic if they so desire. - OutputFlagSpecified func() bool -} - -// Complete sets NamePrintFlags operation flag from sucessTemplate -func (f *PrintFlags) Complete(successTemplate string) error { - return f.NamePrintFlags.Complete(successTemplate) -} - -// AllowedFormats returns slice of string of allowed JSONYaml/Name/Template printing format -func (f *PrintFlags) AllowedFormats() []string { - ret := []string{} - ret = append(ret, f.JSONYamlPrintFlags.AllowedFormats()...) - ret = append(ret, f.NamePrintFlags.AllowedFormats()...) - ret = append(ret, f.TemplatePrinterFlags.AllowedFormats()...) - return ret -} - -// ToPrinter returns a printer capable of -// handling --output or --template printing. -// Returns false if the specified outputFormat does not match a supported format. -// Supported format types can be found in pkg/printers/printers.go -func (f *PrintFlags) ToPrinter() (printers.ResourcePrinter, error) { - outputFormat := "" - if f.OutputFormat != nil { - outputFormat = *f.OutputFormat - } - // For backwards compatibility we want to support a --template argument given, even when no --output format is provided. - // If no explicit output format has been provided via the --output flag, fallback - // to honoring the --template argument. - templateFlagSpecified := f.TemplatePrinterFlags != nil && - f.TemplatePrinterFlags.TemplateArgument != nil && - len(*f.TemplatePrinterFlags.TemplateArgument) > 0 - outputFlagSpecified := f.OutputFlagSpecified != nil && f.OutputFlagSpecified() - if templateFlagSpecified && !outputFlagSpecified { - outputFormat = "go-template" - } - - if f.JSONYamlPrintFlags != nil { - if p, err := f.JSONYamlPrintFlags.ToPrinter(outputFormat); !IsNoCompatiblePrinterError(err) { - return f.TypeSetterPrinter.WrapToPrinter(p, err) - } - } - - if f.NamePrintFlags != nil { - if p, err := f.NamePrintFlags.ToPrinter(outputFormat); !IsNoCompatiblePrinterError(err) { - return f.TypeSetterPrinter.WrapToPrinter(p, err) - } - } - - if f.TemplatePrinterFlags != nil { - if p, err := f.TemplatePrinterFlags.ToPrinter(outputFormat); !IsNoCompatiblePrinterError(err) { - return f.TypeSetterPrinter.WrapToPrinter(p, err) - } - } - - return nil, NoCompatiblePrinterError{OutputFormat: f.OutputFormat, AllowedFormats: f.AllowedFormats()} -} - -// AddFlags receives a *cobra.Command reference and binds -// flags related to JSON/Yaml/Name/Template printing to it -func (f *PrintFlags) AddFlags(cmd *cobra.Command) { - f.JSONYamlPrintFlags.AddFlags(cmd) - f.NamePrintFlags.AddFlags(cmd) - f.TemplatePrinterFlags.AddFlags(cmd) - - if f.OutputFormat != nil { - cmd.Flags().StringVarP(f.OutputFormat, "output", "o", *f.OutputFormat, fmt.Sprintf(`Output format. One of: (%s).`, strings.Join(f.AllowedFormats(), ", "))) - if f.OutputFlagSpecified == nil { - f.OutputFlagSpecified = func() bool { - return cmd.Flag("output").Changed - } - } - } -} - -// WithDefaultOutput sets a default output format if one is not provided through a flag value -func (f *PrintFlags) WithDefaultOutput(output string) *PrintFlags { - f.OutputFormat = &output - return f -} - -// WithTypeSetter sets a wrapper than will surround the returned printer with a printer to type resources -func (f *PrintFlags) WithTypeSetter(scheme *runtime.Scheme) *PrintFlags { - f.TypeSetterPrinter = printers.NewTypeSetter(scheme) - return f -} - -// NewPrintFlags returns a default *PrintFlags -func NewPrintFlags(operation string) *PrintFlags { - outputFormat := "" - - return &PrintFlags{ - OutputFormat: &outputFormat, - - JSONYamlPrintFlags: NewJSONYamlPrintFlags(), - NamePrintFlags: NewNamePrintFlags(operation), - TemplatePrinterFlags: NewKubeTemplatePrintFlags(), - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go deleted file mode 100644 index a5f307de..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go +++ /dev/null @@ -1,201 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "os" - "path/filepath" - "strings" - - jsonpatch "github.com/evanphx/json-patch" - "github.com/spf13/cobra" - "github.com/spf13/pflag" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/util/json" -) - -// ChangeCauseAnnotation is the annotation indicating a guess at "why" something was changed -const ChangeCauseAnnotation = "kubernetes.io/change-cause" - -// RecordFlags contains all flags associated with the "--record" operation -type RecordFlags struct { - // Record indicates the state of the recording flag. It is a pointer so a caller can opt out or rebind - Record *bool - - changeCause string -} - -// ToRecorder returns a ChangeCause recorder if --record=false was not -// explicitly given by the user -func (f *RecordFlags) ToRecorder() (Recorder, error) { - if f == nil { - return NoopRecorder{}, nil - } - - shouldRecord := false - if f.Record != nil { - shouldRecord = *f.Record - } - - // if flag was explicitly set to false by the user, - // do not record - if !shouldRecord { - return NoopRecorder{}, nil - } - - return &ChangeCauseRecorder{ - changeCause: f.changeCause, - }, nil -} - -// Complete is called before the command is run, but after it is invoked to finish the state of the struct before use. -func (f *RecordFlags) Complete(cmd *cobra.Command) error { - if f == nil { - return nil - } - - f.changeCause = parseCommandArguments(cmd) - return nil -} - -// CompleteWithChangeCause alters changeCause value with a new cause -func (f *RecordFlags) CompleteWithChangeCause(cause string) error { - if f == nil { - return nil - } - - f.changeCause = cause - return nil -} - -// AddFlags binds the requested flags to the provided flagset -// TODO have this only take a flagset -func (f *RecordFlags) AddFlags(cmd *cobra.Command) { - if f == nil { - return - } - - if f.Record != nil { - cmd.Flags().BoolVar(f.Record, "record", *f.Record, "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.") - cmd.Flags().MarkDeprecated("record", "--record will be removed in the future") - } -} - -// NewRecordFlags provides a RecordFlags with reasonable default values set for use -func NewRecordFlags() *RecordFlags { - record := false - - return &RecordFlags{ - Record: &record, - } -} - -// Recorder is used to record why a runtime.Object was changed in an annotation. -type Recorder interface { - // Record records why a runtime.Object was changed in an annotation. - Record(runtime.Object) error - MakeRecordMergePatch(runtime.Object) ([]byte, error) -} - -// NoopRecorder does nothing. It is a "do nothing" that can be returned so code doesn't switch on it. -type NoopRecorder struct{} - -// Record implements Recorder -func (r NoopRecorder) Record(obj runtime.Object) error { - return nil -} - -// MakeRecordMergePatch implements Recorder -func (r NoopRecorder) MakeRecordMergePatch(obj runtime.Object) ([]byte, error) { - return nil, nil -} - -// ChangeCauseRecorder annotates a "change-cause" to an input runtime object -type ChangeCauseRecorder struct { - changeCause string -} - -// Record annotates a "change-cause" to a given info if either "shouldRecord" is true, -// or the resource info previously contained a "change-cause" annotation. -func (r *ChangeCauseRecorder) Record(obj runtime.Object) error { - accessor, err := meta.Accessor(obj) - if err != nil { - return err - } - annotations := accessor.GetAnnotations() - if annotations == nil { - annotations = make(map[string]string) - } - annotations[ChangeCauseAnnotation] = r.changeCause - accessor.SetAnnotations(annotations) - return nil -} - -// MakeRecordMergePatch produces a merge patch for updating the recording annotation. -func (r *ChangeCauseRecorder) MakeRecordMergePatch(obj runtime.Object) ([]byte, error) { - // copy so we don't mess with the original - objCopy := obj.DeepCopyObject() - if err := r.Record(objCopy); err != nil { - return nil, err - } - - oldData, err := json.Marshal(obj) - if err != nil { - return nil, err - } - newData, err := json.Marshal(objCopy) - if err != nil { - return nil, err - } - - return jsonpatch.CreateMergePatch(oldData, newData) -} - -// parseCommandArguments will stringify and return all environment arguments ie. a command run by a client -// using the factory. -// Set showSecrets false to filter out stuff like secrets. -func parseCommandArguments(cmd *cobra.Command) string { - if len(os.Args) == 0 { - return "" - } - - flags := "" - parseFunc := func(flag *pflag.Flag, value string) error { - flags = flags + " --" + flag.Name - if set, ok := flag.Annotations["classified"]; !ok || len(set) == 0 { - flags = flags + "=" + value - } else { - flags = flags + "=CLASSIFIED" - } - return nil - } - var err error - err = cmd.Flags().ParseAll(os.Args[1:], parseFunc) - if err != nil || !cmd.Flags().Parsed() { - return "" - } - - args := "" - if arguments := cmd.Flags().Args(); len(arguments) > 0 { - args = " " + strings.Join(arguments, " ") - } - - base := filepath.Base(os.Args[0]) - return base + args + flags -} diff --git a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go b/vendor/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go deleted file mode 100644 index 4502061e..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go +++ /dev/null @@ -1,136 +0,0 @@ -/* -Copyright 2018 The 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 genericclioptions - -import ( - "fmt" - "io/ioutil" - "sort" - "strings" - - "github.com/spf13/cobra" - - "k8s.io/cli-runtime/pkg/printers" -) - -// templates are logically optional for specifying a format. -// this allows a user to specify a template format value -// as --output=go-template= -var templateFormats = map[string]bool{ - "template": true, - "go-template": true, - "go-template-file": true, - "templatefile": true, -} - -// GoTemplatePrintFlags provides default flags necessary for template printing. -// Given the following flag values, a printer can be requested that knows -// how to handle printing based on these values. -type GoTemplatePrintFlags struct { - // indicates if it is OK to ignore missing keys for rendering - // an output template. - AllowMissingKeys *bool - TemplateArgument *string -} - -// AllowedFormats returns slice of string of allowed GoTemplatePrint printing format -func (f *GoTemplatePrintFlags) AllowedFormats() []string { - formats := make([]string, 0, len(templateFormats)) - for format := range templateFormats { - formats = append(formats, format) - } - sort.Strings(formats) - return formats -} - -// ToPrinter receives an templateFormat and returns a printer capable of -// handling --template format printing. -// Returns false if the specified templateFormat does not match a template format. -func (f *GoTemplatePrintFlags) ToPrinter(templateFormat string) (printers.ResourcePrinter, error) { - if (f.TemplateArgument == nil || len(*f.TemplateArgument) == 0) && len(templateFormat) == 0 { - return nil, NoCompatiblePrinterError{Options: f, OutputFormat: &templateFormat} - } - - templateValue := "" - - if f.TemplateArgument == nil || len(*f.TemplateArgument) == 0 { - for format := range templateFormats { - format = format + "=" - if strings.HasPrefix(templateFormat, format) { - templateValue = templateFormat[len(format):] - templateFormat = format[:len(format)-1] - break - } - } - } else { - templateValue = *f.TemplateArgument - } - - if _, supportedFormat := templateFormats[templateFormat]; !supportedFormat { - return nil, NoCompatiblePrinterError{OutputFormat: &templateFormat, AllowedFormats: f.AllowedFormats()} - } - - if len(templateValue) == 0 { - return nil, fmt.Errorf("template format specified but no template given") - } - - if templateFormat == "templatefile" || templateFormat == "go-template-file" { - data, err := ioutil.ReadFile(templateValue) - if err != nil { - return nil, fmt.Errorf("error reading --template %s, %v", templateValue, err) - } - - templateValue = string(data) - } - - p, err := printers.NewGoTemplatePrinter([]byte(templateValue)) - if err != nil { - return nil, fmt.Errorf("error parsing template %s, %v", templateValue, err) - } - - allowMissingKeys := true - if f.AllowMissingKeys != nil { - allowMissingKeys = *f.AllowMissingKeys - } - - p.AllowMissingKeys(allowMissingKeys) - return p, nil -} - -// AddFlags receives a *cobra.Command reference and binds -// flags related to template printing to it -func (f *GoTemplatePrintFlags) AddFlags(c *cobra.Command) { - if f.TemplateArgument != nil { - c.Flags().StringVar(f.TemplateArgument, "template", *f.TemplateArgument, "Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].") - c.MarkFlagFilename("template") - } - if f.AllowMissingKeys != nil { - c.Flags().BoolVar(f.AllowMissingKeys, "allow-missing-template-keys", *f.AllowMissingKeys, "If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.") - } -} - -// NewGoTemplatePrintFlags returns flags associated with -// --template printing, with default values set. -func NewGoTemplatePrintFlags() *GoTemplatePrintFlags { - allowMissingKeysPtr := true - templateValuePtr := "" - - return &GoTemplatePrintFlags{ - TemplateArgument: &templateValuePtr, - AllowMissingKeys: &allowMissingKeysPtr, - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/discard.go b/vendor/k8s.io/cli-runtime/pkg/printers/discard.go deleted file mode 100644 index cd934976..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/discard.go +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2018 The 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 printers - -import ( - "io" - - "k8s.io/apimachinery/pkg/runtime" -) - -// NewDiscardingPrinter is a printer that discards all objects -func NewDiscardingPrinter() ResourcePrinterFunc { - return ResourcePrinterFunc(func(runtime.Object, io.Writer) error { - return nil - }) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/doc.go b/vendor/k8s.io/cli-runtime/pkg/printers/doc.go deleted file mode 100644 index ee205371..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2019 The 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 printers is helper for formatting and printing runtime objects into -// primitives io.writer. -package printers // import "k8s.io/cli-runtime/pkg/printers" diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/interface.go b/vendor/k8s.io/cli-runtime/pkg/printers/interface.go deleted file mode 100644 index e88ff63a..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/interface.go +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2018 The 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 printers - -import ( - "io" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// ResourcePrinterFunc is a function that can print objects -type ResourcePrinterFunc func(runtime.Object, io.Writer) error - -// PrintObj implements ResourcePrinter -func (fn ResourcePrinterFunc) PrintObj(obj runtime.Object, w io.Writer) error { - return fn(obj, w) -} - -// ResourcePrinter is an interface that knows how to print runtime objects. -type ResourcePrinter interface { - // PrintObj receives a runtime object, formats it and prints it to a writer. - PrintObj(runtime.Object, io.Writer) error -} - -// PrintOptions struct defines a struct for various print options -type PrintOptions struct { - NoHeaders bool - WithNamespace bool - WithKind bool - Wide bool - ShowLabels bool - Kind schema.GroupKind - ColumnLabels []string - - SortBy string - - // indicates if it is OK to ignore missing keys for rendering an output template. - AllowMissingKeys bool -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/json.go b/vendor/k8s.io/cli-runtime/pkg/printers/json.go deleted file mode 100644 index 8ab2235f..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/json.go +++ /dev/null @@ -1,79 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package printers - -import ( - "bytes" - "encoding/json" - "fmt" - "io" - "reflect" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" -) - -// JSONPrinter is an implementation of ResourcePrinter which outputs an object as JSON. -type JSONPrinter struct{} - -// PrintObj is an implementation of ResourcePrinter.PrintObj which simply writes the object to the Writer. -func (p *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error { - // we use reflect.Indirect here in order to obtain the actual value from a pointer. - // we need an actual value in order to retrieve the package path for an object. - // using reflect.Indirect indiscriminately is valid here, as all runtime.Objects are supposed to be pointers. - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - - switch obj := obj.(type) { - case *metav1.WatchEvent: - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj.Object.Object)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - data, err := json.Marshal(obj) - if err != nil { - return err - } - _, err = w.Write(data) - if err != nil { - return err - } - _, err = w.Write([]byte{'\n'}) - return err - case *runtime.Unknown: - var buf bytes.Buffer - err := json.Indent(&buf, obj.Raw, "", " ") - if err != nil { - return err - } - buf.WriteRune('\n') - _, err = buf.WriteTo(w) - return err - } - - if obj.GetObjectKind().GroupVersionKind().Empty() { - return fmt.Errorf("missing apiVersion or kind; try GetObjectKind().SetGroupVersionKind() if you know the type") - } - - data, err := json.MarshalIndent(obj, "", " ") - if err != nil { - return err - } - data = append(data, '\n') - _, err = w.Write(data) - return err -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/jsonpath.go b/vendor/k8s.io/cli-runtime/pkg/printers/jsonpath.go deleted file mode 100644 index 333b9c33..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/jsonpath.go +++ /dev/null @@ -1,147 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package printers - -import ( - "bytes" - "encoding/json" - "fmt" - "io" - "reflect" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/client-go/util/jsonpath" -) - -// exists returns true if it would be possible to call the index function -// with these arguments. -// -// TODO: how to document this for users? -// -// index returns the result of indexing its first argument by the following -// arguments. Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each -// indexed item must be a map, slice, or array. -func exists(item interface{}, indices ...interface{}) bool { - v := reflect.ValueOf(item) - for _, i := range indices { - index := reflect.ValueOf(i) - var isNil bool - if v, isNil = indirect(v); isNil { - return false - } - switch v.Kind() { - case reflect.Array, reflect.Slice, reflect.String: - var x int64 - switch index.Kind() { - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - x = index.Int() - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - x = int64(index.Uint()) - default: - return false - } - if x < 0 || x >= int64(v.Len()) { - return false - } - v = v.Index(int(x)) - case reflect.Map: - if !index.IsValid() { - index = reflect.Zero(v.Type().Key()) - } - if !index.Type().AssignableTo(v.Type().Key()) { - return false - } - if x := v.MapIndex(index); x.IsValid() { - v = x - } else { - v = reflect.Zero(v.Type().Elem()) - } - default: - return false - } - } - if _, isNil := indirect(v); isNil { - return false - } - return true -} - -// stolen from text/template -// indirect returns the item at the end of indirection, and a bool to indicate if it's nil. -// We indirect through pointers and empty interfaces (only) because -// non-empty interfaces have methods we might need. -func indirect(v reflect.Value) (rv reflect.Value, isNil bool) { - for ; v.Kind() == reflect.Ptr || v.Kind() == reflect.Interface; v = v.Elem() { - if v.IsNil() { - return v, true - } - if v.Kind() == reflect.Interface && v.NumMethod() > 0 { - break - } - } - return v, false -} - -// JSONPathPrinter is an implementation of ResourcePrinter which formats data with jsonpath expression. -type JSONPathPrinter struct { - rawTemplate string - *jsonpath.JSONPath -} - -func NewJSONPathPrinter(tmpl string) (*JSONPathPrinter, error) { - j := jsonpath.New("out") - if err := j.Parse(tmpl); err != nil { - return nil, err - } - return &JSONPathPrinter{ - rawTemplate: tmpl, - JSONPath: j, - }, nil -} - -// PrintObj formats the obj with the JSONPath Template. -func (j *JSONPathPrinter) PrintObj(obj runtime.Object, w io.Writer) error { - // we use reflect.Indirect here in order to obtain the actual value from a pointer. - // we need an actual value in order to retrieve the package path for an object. - // using reflect.Indirect indiscriminately is valid here, as all runtime.Objects are supposed to be pointers. - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - - var queryObj interface{} = obj - if unstructured, ok := obj.(runtime.Unstructured); ok { - queryObj = unstructured.UnstructuredContent() - } else { - data, err := json.Marshal(obj) - if err != nil { - return err - } - queryObj = map[string]interface{}{} - if err := json.Unmarshal(data, &queryObj); err != nil { - return err - } - } - - if err := j.JSONPath.Execute(w, queryObj); err != nil { - buf := bytes.NewBuffer(nil) - fmt.Fprintf(buf, "Error executing template: %v. Printing more information for debugging the template:\n", err) - fmt.Fprintf(buf, "\ttemplate was:\n\t\t%v\n", j.rawTemplate) - fmt.Fprintf(buf, "\tobject given to jsonpath engine was:\n\t\t%#v\n\n", queryObj) - return fmt.Errorf("error executing jsonpath %q: %v\n", j.rawTemplate, buf.String()) - } - return nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/managedfields.go b/vendor/k8s.io/cli-runtime/pkg/printers/managedfields.go deleted file mode 100644 index cab54d05..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/managedfields.go +++ /dev/null @@ -1,59 +0,0 @@ -/* -Copyright 2021 The 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 printers - -import ( - "io" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/apimachinery/pkg/runtime" -) - -// OmitManagedFieldsPrinter wraps an existing printer and omits the managed fields from the object -// before printing it. -type OmitManagedFieldsPrinter struct { - Delegate ResourcePrinter -} - -var _ ResourcePrinter = (*OmitManagedFieldsPrinter)(nil) - -func omitManagedFields(o runtime.Object) runtime.Object { - a, err := meta.Accessor(o) - if err != nil { - // The object is not a `metav1.Object`, ignore it. - return o - } - a.SetManagedFields(nil) - return o -} - -// PrintObj copies the object and omits the managed fields from the copied object before printing it. -func (p *OmitManagedFieldsPrinter) PrintObj(obj runtime.Object, w io.Writer) error { - if obj == nil { - return p.Delegate.PrintObj(obj, w) - } - if meta.IsListType(obj) { - obj = obj.DeepCopyObject() - _ = meta.EachListItem(obj, func(item runtime.Object) error { - omitManagedFields(item) - return nil - }) - } else if _, err := meta.Accessor(obj); err == nil { - obj = omitManagedFields(obj.DeepCopyObject()) - } - return p.Delegate.PrintObj(obj, w) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/name.go b/vendor/k8s.io/cli-runtime/pkg/printers/name.go deleted file mode 100644 index 086166af..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/name.go +++ /dev/null @@ -1,130 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package printers - -import ( - "fmt" - "io" - "reflect" - "strings" - - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// NamePrinter is an implementation of ResourcePrinter which outputs "resource/name" pair of an object. -type NamePrinter struct { - // ShortOutput indicates whether an operation should be - // printed along side the "resource/name" pair for an object. - ShortOutput bool - // Operation describes the name of the action that - // took place on an object, to be included in the - // finalized "successful" message. - Operation string -} - -// PrintObj is an implementation of ResourcePrinter.PrintObj which decodes the object -// and print "resource/name" pair. If the object is a List, print all items in it. -func (p *NamePrinter) PrintObj(obj runtime.Object, w io.Writer) error { - switch castObj := obj.(type) { - case *metav1.WatchEvent: - obj = castObj.Object.Object - } - - // we use reflect.Indirect here in order to obtain the actual value from a pointer. - // using reflect.Indirect indiscriminately is valid here, as all runtime.Objects are supposed to be pointers. - // we need an actual value in order to retrieve the package path for an object. - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - - if meta.IsListType(obj) { - // we allow unstructured lists for now because they always contain the GVK information. We should chase down - // callers and stop them from passing unflattened lists - // TODO chase the caller that is setting this and remove it. - if _, ok := obj.(*unstructured.UnstructuredList); !ok { - return fmt.Errorf("list types are not supported by name printing: %T", obj) - } - - items, err := meta.ExtractList(obj) - if err != nil { - return err - } - for _, obj := range items { - if err := p.PrintObj(obj, w); err != nil { - return err - } - } - return nil - } - - if obj.GetObjectKind().GroupVersionKind().Empty() { - return fmt.Errorf("missing apiVersion or kind; try GetObjectKind().SetGroupVersionKind() if you know the type") - } - - name := "" - if acc, err := meta.Accessor(obj); err == nil { - if n := acc.GetName(); len(n) > 0 { - name = n - } - } - - return printObj(w, name, p.Operation, p.ShortOutput, GetObjectGroupKind(obj)) -} - -func GetObjectGroupKind(obj runtime.Object) schema.GroupKind { - if obj == nil { - return schema.GroupKind{Kind: ""} - } - groupVersionKind := obj.GetObjectKind().GroupVersionKind() - if len(groupVersionKind.Kind) > 0 { - return groupVersionKind.GroupKind() - } - - if uns, ok := obj.(*unstructured.Unstructured); ok { - if len(uns.GroupVersionKind().Kind) > 0 { - return uns.GroupVersionKind().GroupKind() - } - } - - return schema.GroupKind{Kind: ""} -} - -func printObj(w io.Writer, name string, operation string, shortOutput bool, groupKind schema.GroupKind) error { - if len(groupKind.Kind) == 0 { - return fmt.Errorf("missing kind for resource with name %v", name) - } - - if len(operation) > 0 { - operation = " " + operation - } - - if shortOutput { - operation = "" - } - - if len(groupKind.Group) == 0 { - fmt.Fprintf(w, "%s/%s%s\n", strings.ToLower(groupKind.Kind), name, operation) - return nil - } - - fmt.Fprintf(w, "%s.%s/%s%s\n", strings.ToLower(groupKind.Kind), groupKind.Group, name, operation) - return nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/sourcechecker.go b/vendor/k8s.io/cli-runtime/pkg/printers/sourcechecker.go deleted file mode 100644 index e360c8fe..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/sourcechecker.go +++ /dev/null @@ -1,60 +0,0 @@ -/* -Copyright 2018 The 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 printers - -import ( - "strings" -) - -var ( - InternalObjectPrinterErr = "a versioned object must be passed to a printer" - - // disallowedPackagePrefixes contains regular expression templates - // for object package paths that are not allowed by printers. - disallowedPackagePrefixes = []string{ - "k8s.io/kubernetes/pkg/apis/", - } -) - -var InternalObjectPreventer = &illegalPackageSourceChecker{disallowedPackagePrefixes} - -func IsInternalObjectError(err error) bool { - if err == nil { - return false - } - - return err.Error() == InternalObjectPrinterErr -} - -// illegalPackageSourceChecker compares a given -// object's package path, and determines if the -// object originates from a disallowed source. -type illegalPackageSourceChecker struct { - // disallowedPrefixes is a slice of disallowed package path - // prefixes for a given runtime.Object that we are printing. - disallowedPrefixes []string -} - -func (c *illegalPackageSourceChecker) IsForbidden(pkgPath string) bool { - for _, forbiddenPrefix := range c.disallowedPrefixes { - if strings.HasPrefix(pkgPath, forbiddenPrefix) || strings.Contains(pkgPath, "/vendor/"+forbiddenPrefix) { - return true - } - } - - return false -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/tableprinter.go b/vendor/k8s.io/cli-runtime/pkg/printers/tableprinter.go deleted file mode 100644 index 87bc3f41..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/tableprinter.go +++ /dev/null @@ -1,588 +0,0 @@ -/* -Copyright 2019 The 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 printers - -import ( - "fmt" - "io" - "reflect" - "strings" - "time" - - "github.com/liggitt/tabwriter" - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/util/duration" - "k8s.io/apimachinery/pkg/watch" -) - -var _ ResourcePrinter = &HumanReadablePrinter{} - -type printHandler struct { - columnDefinitions []metav1.TableColumnDefinition - printFunc reflect.Value -} - -var ( - statusHandlerEntry = &printHandler{ - columnDefinitions: statusColumnDefinitions, - printFunc: reflect.ValueOf(printStatus), - } - - statusColumnDefinitions = []metav1.TableColumnDefinition{ - {Name: "Status", Type: "string"}, - {Name: "Reason", Type: "string"}, - {Name: "Message", Type: "string"}, - } - - defaultHandlerEntry = &printHandler{ - columnDefinitions: objectMetaColumnDefinitions, - printFunc: reflect.ValueOf(printObjectMeta), - } - - objectMetaColumnDefinitions = []metav1.TableColumnDefinition{ - {Name: "Name", Type: "string", Format: "name", Description: metav1.ObjectMeta{}.SwaggerDoc()["name"]}, - {Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]}, - } - - withEventTypePrefixColumns = []string{"EVENT"} - withNamespacePrefixColumns = []string{"NAMESPACE"} // TODO(erictune): print cluster name too. -) - -// HumanReadablePrinter is an implementation of ResourcePrinter which attempts to provide -// more elegant output. It is not threadsafe, but you may call PrintObj repeatedly; headers -// will only be printed if the object type changes. This makes it useful for printing items -// received from watches. -type HumanReadablePrinter struct { - options PrintOptions - lastType interface{} - lastColumns []metav1.TableColumnDefinition - printedHeaders bool -} - -// NewTablePrinter creates a printer suitable for calling PrintObj(). -func NewTablePrinter(options PrintOptions) ResourcePrinter { - printer := &HumanReadablePrinter{ - options: options, - } - return printer -} - -func printHeader(columnNames []string, w io.Writer) error { - if _, err := fmt.Fprintf(w, "%s\n", strings.Join(columnNames, "\t")); err != nil { - return err - } - return nil -} - -// PrintObj prints the obj in a human-friendly format according to the type of the obj. -func (h *HumanReadablePrinter) PrintObj(obj runtime.Object, output io.Writer) error { - - if _, found := output.(*tabwriter.Writer); !found { - w := GetNewTabWriter(output) - output = w - defer w.Flush() - } - - var eventType string - if event, isEvent := obj.(*metav1.WatchEvent); isEvent { - eventType = event.Type - obj = event.Object.Object - } - - // Parameter "obj" is a table from server; print it. - // display tables following the rules of options - if table, ok := obj.(*metav1.Table); ok { - // Do not print headers if this table has no column definitions, or they are the same as the last ones we printed - localOptions := h.options - if h.printedHeaders && (len(table.ColumnDefinitions) == 0 || reflect.DeepEqual(table.ColumnDefinitions, h.lastColumns)) { - localOptions.NoHeaders = true - } - - if len(table.ColumnDefinitions) == 0 { - // If this table has no column definitions, use the columns from the last table we printed for decoration and layout. - // This is done when receiving tables in watch events to save bandwidth. - table.ColumnDefinitions = h.lastColumns - } else if !reflect.DeepEqual(table.ColumnDefinitions, h.lastColumns) { - // If this table has column definitions, remember them for future use. - h.lastColumns = table.ColumnDefinitions - h.printedHeaders = false - } - - if len(table.Rows) > 0 { - h.printedHeaders = true - } - - if err := decorateTable(table, localOptions); err != nil { - return err - } - if len(eventType) > 0 { - if err := addColumns(beginning, table, - []metav1.TableColumnDefinition{{Name: "Event", Type: "string"}}, - []cellValueFunc{func(metav1.TableRow) (interface{}, error) { return formatEventType(eventType), nil }}, - ); err != nil { - return err - } - } - return printTable(table, output, localOptions) - } - - // Could not find print handler for "obj"; use the default or status print handler. - // Print with the default or status handler, and use the columns from the last time - var handler *printHandler - if _, isStatus := obj.(*metav1.Status); isStatus { - handler = statusHandlerEntry - } else { - handler = defaultHandlerEntry - } - - includeHeaders := h.lastType != handler && !h.options.NoHeaders - - if h.lastType != nil && h.lastType != handler && !h.options.NoHeaders { - fmt.Fprintln(output) - } - - if err := printRowsForHandlerEntry(output, handler, eventType, obj, h.options, includeHeaders); err != nil { - return err - } - h.lastType = handler - - return nil -} - -// printTable prints a table to the provided output respecting the filtering rules for options -// for wide columns and filtered rows. It filters out rows that are Completed. You should call -// decorateTable if you receive a table from a remote server before calling printTable. -func printTable(table *metav1.Table, output io.Writer, options PrintOptions) error { - if !options.NoHeaders { - // avoid printing headers if we have no rows to display - if len(table.Rows) == 0 { - return nil - } - - first := true - for _, column := range table.ColumnDefinitions { - if !options.Wide && column.Priority != 0 { - continue - } - if first { - first = false - } else { - fmt.Fprint(output, "\t") - } - fmt.Fprint(output, strings.ToUpper(column.Name)) - } - fmt.Fprintln(output) - } - for _, row := range table.Rows { - first := true - for i, cell := range row.Cells { - if i >= len(table.ColumnDefinitions) { - // https://issue.k8s.io/66379 - // don't panic in case of bad output from the server, with more cells than column definitions - break - } - column := table.ColumnDefinitions[i] - if !options.Wide && column.Priority != 0 { - continue - } - if first { - first = false - } else { - fmt.Fprint(output, "\t") - } - if cell != nil { - switch val := cell.(type) { - case string: - print := val - truncated := false - // truncate at newlines - newline := strings.Index(print, "\n") - if newline >= 0 { - truncated = true - print = print[:newline] - } - fmt.Fprint(output, print) - if truncated { - fmt.Fprint(output, "...") - } - default: - fmt.Fprint(output, val) - } - } - } - fmt.Fprintln(output) - } - return nil -} - -type cellValueFunc func(metav1.TableRow) (interface{}, error) - -type columnAddPosition int - -const ( - beginning columnAddPosition = 1 - end columnAddPosition = 2 -) - -func addColumns(pos columnAddPosition, table *metav1.Table, columns []metav1.TableColumnDefinition, valueFuncs []cellValueFunc) error { - if len(columns) != len(valueFuncs) { - return fmt.Errorf("cannot prepend columns, unmatched value functions") - } - if len(columns) == 0 { - return nil - } - - // Compute the new rows - newRows := make([][]interface{}, len(table.Rows)) - for i := range table.Rows { - newCells := make([]interface{}, 0, len(columns)+len(table.Rows[i].Cells)) - - if pos == end { - // If we're appending, start with the existing cells, - // then add nil cells to match the number of columns - newCells = append(newCells, table.Rows[i].Cells...) - for len(newCells) < len(table.ColumnDefinitions) { - newCells = append(newCells, nil) - } - } - - // Compute cells for new columns - for _, f := range valueFuncs { - newCell, err := f(table.Rows[i]) - if err != nil { - return err - } - newCells = append(newCells, newCell) - } - - if pos == beginning { - // If we're prepending, add existing cells - newCells = append(newCells, table.Rows[i].Cells...) - } - - // Remember the new cells for this row - newRows[i] = newCells - } - - // All cells successfully computed, now replace columns and rows - newColumns := make([]metav1.TableColumnDefinition, 0, len(columns)+len(table.ColumnDefinitions)) - switch pos { - case beginning: - newColumns = append(newColumns, columns...) - newColumns = append(newColumns, table.ColumnDefinitions...) - case end: - newColumns = append(newColumns, table.ColumnDefinitions...) - newColumns = append(newColumns, columns...) - default: - return fmt.Errorf("invalid column add position: %v", pos) - } - table.ColumnDefinitions = newColumns - for i := range table.Rows { - table.Rows[i].Cells = newRows[i] - } - - return nil -} - -// decorateTable takes a table and attempts to add label columns and the -// namespace column. It will fill empty columns with nil (if the object -// does not expose metadata). It returns an error if the table cannot -// be decorated. -func decorateTable(table *metav1.Table, options PrintOptions) error { - width := len(table.ColumnDefinitions) + len(options.ColumnLabels) - if options.WithNamespace { - width++ - } - if options.ShowLabels { - width++ - } - - columns := table.ColumnDefinitions - - nameColumn := -1 - if options.WithKind && !options.Kind.Empty() { - for i := range columns { - if columns[i].Format == "name" && columns[i].Type == "string" { - nameColumn = i - break - } - } - } - - if width != len(table.ColumnDefinitions) { - columns = make([]metav1.TableColumnDefinition, 0, width) - if options.WithNamespace { - columns = append(columns, metav1.TableColumnDefinition{ - Name: "Namespace", - Type: "string", - }) - } - columns = append(columns, table.ColumnDefinitions...) - for _, label := range formatLabelHeaders(options.ColumnLabels) { - columns = append(columns, metav1.TableColumnDefinition{ - Name: label, - Type: "string", - }) - } - if options.ShowLabels { - columns = append(columns, metav1.TableColumnDefinition{ - Name: "Labels", - Type: "string", - }) - } - } - - rows := table.Rows - - includeLabels := len(options.ColumnLabels) > 0 || options.ShowLabels - if includeLabels || options.WithNamespace || nameColumn != -1 { - for i := range rows { - row := rows[i] - - if nameColumn != -1 { - row.Cells[nameColumn] = fmt.Sprintf("%s/%s", strings.ToLower(options.Kind.String()), row.Cells[nameColumn]) - } - - var m metav1.Object - if obj := row.Object.Object; obj != nil { - if acc, err := meta.Accessor(obj); err == nil { - m = acc - } - } - // if we can't get an accessor, fill out the appropriate columns with empty spaces - if m == nil { - if options.WithNamespace { - r := make([]interface{}, 1, width) - row.Cells = append(r, row.Cells...) - } - for j := 0; j < width-len(row.Cells); j++ { - row.Cells = append(row.Cells, nil) - } - rows[i] = row - continue - } - - if options.WithNamespace { - r := make([]interface{}, 1, width) - r[0] = m.GetNamespace() - row.Cells = append(r, row.Cells...) - } - if includeLabels { - row.Cells = appendLabelCells(row.Cells, m.GetLabels(), options) - } - rows[i] = row - } - } - - table.ColumnDefinitions = columns - table.Rows = rows - return nil -} - -// printRowsForHandlerEntry prints the incremental table output (headers if the current type is -// different from lastType) including all the rows in the object. It returns the current type -// or an error, if any. -func printRowsForHandlerEntry(output io.Writer, handler *printHandler, eventType string, obj runtime.Object, options PrintOptions, includeHeaders bool) error { - var results []reflect.Value - - args := []reflect.Value{reflect.ValueOf(obj), reflect.ValueOf(options)} - results = handler.printFunc.Call(args) - if !results[1].IsNil() { - return results[1].Interface().(error) - } - - if includeHeaders { - var headers []string - for _, column := range handler.columnDefinitions { - if column.Priority != 0 && !options.Wide { - continue - } - headers = append(headers, strings.ToUpper(column.Name)) - } - headers = append(headers, formatLabelHeaders(options.ColumnLabels)...) - // LABELS is always the last column. - headers = append(headers, formatShowLabelsHeader(options.ShowLabels)...) - // prepend namespace header - if options.WithNamespace { - headers = append(withNamespacePrefixColumns, headers...) - } - // prepend event type header - if len(eventType) > 0 { - headers = append(withEventTypePrefixColumns, headers...) - } - printHeader(headers, output) - } - - if results[1].IsNil() { - rows := results[0].Interface().([]metav1.TableRow) - printRows(output, eventType, rows, options) - return nil - } - return results[1].Interface().(error) -} - -var formattedEventType = map[string]string{ - string(watch.Added): "ADDED ", - string(watch.Modified): "MODIFIED", - string(watch.Deleted): "DELETED ", - string(watch.Error): "ERROR ", -} - -func formatEventType(eventType string) string { - if formatted, ok := formattedEventType[eventType]; ok { - return formatted - } - return eventType -} - -// printRows writes the provided rows to output. -func printRows(output io.Writer, eventType string, rows []metav1.TableRow, options PrintOptions) { - for _, row := range rows { - if len(eventType) > 0 { - fmt.Fprint(output, formatEventType(eventType)) - fmt.Fprint(output, "\t") - } - if options.WithNamespace { - if obj := row.Object.Object; obj != nil { - if m, err := meta.Accessor(obj); err == nil { - fmt.Fprint(output, m.GetNamespace()) - } - } - fmt.Fprint(output, "\t") - } - - for i, cell := range row.Cells { - if i != 0 { - fmt.Fprint(output, "\t") - } else { - // TODO: remove this once we drop the legacy printers - if options.WithKind && !options.Kind.Empty() { - fmt.Fprintf(output, "%s/%s", strings.ToLower(options.Kind.String()), cell) - continue - } - } - fmt.Fprint(output, cell) - } - - hasLabels := len(options.ColumnLabels) > 0 - if obj := row.Object.Object; obj != nil && (hasLabels || options.ShowLabels) { - if m, err := meta.Accessor(obj); err == nil { - for _, value := range labelValues(m.GetLabels(), options) { - output.Write([]byte("\t")) - output.Write([]byte(value)) - } - } - } - - output.Write([]byte("\n")) - } -} - -func formatLabelHeaders(columnLabels []string) []string { - formHead := make([]string, len(columnLabels)) - for i, l := range columnLabels { - p := strings.Split(l, "/") - formHead[i] = strings.ToUpper(p[len(p)-1]) - } - return formHead -} - -// headers for --show-labels=true -func formatShowLabelsHeader(showLabels bool) []string { - if showLabels { - return []string{"LABELS"} - } - return nil -} - -// labelValues returns a slice of value columns matching the requested print options. -func labelValues(itemLabels map[string]string, opts PrintOptions) []string { - var values []string - for _, key := range opts.ColumnLabels { - values = append(values, itemLabels[key]) - } - if opts.ShowLabels { - values = append(values, labels.FormatLabels(itemLabels)) - } - return values -} - -// appendLabelCells returns a slice of value columns matching the requested print options. -// Intended for use with tables. -func appendLabelCells(values []interface{}, itemLabels map[string]string, opts PrintOptions) []interface{} { - for _, key := range opts.ColumnLabels { - values = append(values, itemLabels[key]) - } - if opts.ShowLabels { - values = append(values, labels.FormatLabels(itemLabels)) - } - return values -} - -func printStatus(obj runtime.Object, options PrintOptions) ([]metav1.TableRow, error) { - status, ok := obj.(*metav1.Status) - if !ok { - return nil, fmt.Errorf("expected *v1.Status, got %T", obj) - } - return []metav1.TableRow{{ - Object: runtime.RawExtension{Object: obj}, - Cells: []interface{}{status.Status, status.Reason, status.Message}, - }}, nil -} - -func printObjectMeta(obj runtime.Object, options PrintOptions) ([]metav1.TableRow, error) { - if meta.IsListType(obj) { - rows := make([]metav1.TableRow, 0, 16) - err := meta.EachListItem(obj, func(obj runtime.Object) error { - nestedRows, err := printObjectMeta(obj, options) - if err != nil { - return err - } - rows = append(rows, nestedRows...) - return nil - }) - if err != nil { - return nil, err - } - return rows, nil - } - - rows := make([]metav1.TableRow, 0, 1) - m, err := meta.Accessor(obj) - if err != nil { - return nil, err - } - row := metav1.TableRow{ - Object: runtime.RawExtension{Object: obj}, - } - row.Cells = append(row.Cells, m.GetName(), translateTimestampSince(m.GetCreationTimestamp())) - rows = append(rows, row) - return rows, nil -} - -// translateTimestampSince returns the elapsed time since timestamp in -// human-readable approximation. -func translateTimestampSince(timestamp metav1.Time) string { - if timestamp.IsZero() { - return "" - } - - return duration.HumanDuration(time.Since(timestamp.Time)) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/tabwriter.go b/vendor/k8s.io/cli-runtime/pkg/printers/tabwriter.go deleted file mode 100644 index 21d60e1c..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/tabwriter.go +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package printers - -import ( - "io" - - "github.com/liggitt/tabwriter" -) - -const ( - tabwriterMinWidth = 6 - tabwriterWidth = 4 - tabwriterPadding = 3 - tabwriterPadChar = ' ' - tabwriterFlags = tabwriter.RememberWidths -) - -// GetNewTabWriter returns a tabwriter that translates tabbed columns in input into properly aligned text. -func GetNewTabWriter(output io.Writer) *tabwriter.Writer { - return tabwriter.NewWriter(output, tabwriterMinWidth, tabwriterWidth, tabwriterPadding, tabwriterPadChar, tabwriterFlags) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/template.go b/vendor/k8s.io/cli-runtime/pkg/printers/template.go deleted file mode 100644 index ccff5422..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/template.go +++ /dev/null @@ -1,118 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package printers - -import ( - "encoding/base64" - "fmt" - "io" - "reflect" - "text/template" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/util/json" -) - -// GoTemplatePrinter is an implementation of ResourcePrinter which formats data with a Go Template. -type GoTemplatePrinter struct { - rawTemplate string - template *template.Template -} - -func NewGoTemplatePrinter(tmpl []byte) (*GoTemplatePrinter, error) { - t, err := template.New("output"). - Funcs(template.FuncMap{ - "exists": exists, - "base64decode": base64decode, - }). - Parse(string(tmpl)) - if err != nil { - return nil, err - } - return &GoTemplatePrinter{ - rawTemplate: string(tmpl), - template: t, - }, nil -} - -// AllowMissingKeys tells the template engine if missing keys are allowed. -func (p *GoTemplatePrinter) AllowMissingKeys(allow bool) { - if allow { - p.template.Option("missingkey=default") - } else { - p.template.Option("missingkey=error") - } -} - -// PrintObj formats the obj with the Go Template. -func (p *GoTemplatePrinter) PrintObj(obj runtime.Object, w io.Writer) error { - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - - var data []byte - var err error - data, err = json.Marshal(obj) - if err != nil { - return err - } - - out := map[string]interface{}{} - if err := json.Unmarshal(data, &out); err != nil { - return err - } - if err = p.safeExecute(w, out); err != nil { - // It is way easier to debug this stuff when it shows up in - // stdout instead of just stdin. So in addition to returning - // a nice error, also print useful stuff with the writer. - fmt.Fprintf(w, "Error executing template: %v. Printing more information for debugging the template:\n", err) - fmt.Fprintf(w, "\ttemplate was:\n\t\t%v\n", p.rawTemplate) - fmt.Fprintf(w, "\traw data was:\n\t\t%v\n", string(data)) - fmt.Fprintf(w, "\tobject given to template engine was:\n\t\t%+v\n\n", out) - return fmt.Errorf("error executing template %q: %v", p.rawTemplate, err) - } - return nil -} - -// safeExecute tries to execute the template, but catches panics and returns an error -// should the template engine panic. -func (p *GoTemplatePrinter) safeExecute(w io.Writer, obj interface{}) error { - var panicErr error - // Sorry for the double anonymous function. There's probably a clever way - // to do this that has the defer'd func setting the value to be returned, but - // that would be even less obvious. - retErr := func() error { - defer func() { - if x := recover(); x != nil { - panicErr = fmt.Errorf("caught panic: %+v", x) - } - }() - return p.template.Execute(w, obj) - }() - if panicErr != nil { - return panicErr - } - return retErr -} - -func base64decode(v string) (string, error) { - data, err := base64.StdEncoding.DecodeString(v) - if err != nil { - return "", fmt.Errorf("base64 decode failed: %v", err) - } - return string(data), nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/typesetter.go b/vendor/k8s.io/cli-runtime/pkg/printers/typesetter.go deleted file mode 100644 index 8d2d9b56..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/typesetter.go +++ /dev/null @@ -1,95 +0,0 @@ -/* -Copyright 2018 The 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 printers - -import ( - "fmt" - "io" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// TypeSetterPrinter is an implementation of ResourcePrinter wraps another printer with types set on the objects -type TypeSetterPrinter struct { - Delegate ResourcePrinter - - Typer runtime.ObjectTyper -} - -// NewTypeSetter constructs a wrapping printer with required params -func NewTypeSetter(typer runtime.ObjectTyper) *TypeSetterPrinter { - return &TypeSetterPrinter{Typer: typer} -} - -// PrintObj is an implementation of ResourcePrinter.PrintObj which sets type information on the obj for the duration -// of printing. It is NOT threadsafe. -func (p *TypeSetterPrinter) PrintObj(obj runtime.Object, w io.Writer) error { - if obj == nil { - return p.Delegate.PrintObj(obj, w) - } - if !obj.GetObjectKind().GroupVersionKind().Empty() { - return p.Delegate.PrintObj(obj, w) - } - - // we were empty coming in, make sure we're empty going out. This makes the call thread-unsafe - defer func() { - obj.GetObjectKind().SetGroupVersionKind(schema.GroupVersionKind{}) - }() - - gvks, _, err := p.Typer.ObjectKinds(obj) - if err != nil { - // printers wrapped by us expect to find the type information present - return fmt.Errorf("missing apiVersion or kind and cannot assign it; %v", err) - } - - for _, gvk := range gvks { - if len(gvk.Kind) == 0 { - continue - } - if len(gvk.Version) == 0 || gvk.Version == runtime.APIVersionInternal { - continue - } - obj.GetObjectKind().SetGroupVersionKind(gvk) - break - } - - return p.Delegate.PrintObj(obj, w) -} - -// ToPrinter returns a printer (not threadsafe!) that has been wrapped -func (p *TypeSetterPrinter) ToPrinter(delegate ResourcePrinter) ResourcePrinter { - if p == nil { - return delegate - } - - p.Delegate = delegate - return p -} - -// WrapToPrinter wraps the common ToPrinter method -func (p *TypeSetterPrinter) WrapToPrinter(delegate ResourcePrinter, err error) (ResourcePrinter, error) { - if err != nil { - return delegate, err - } - if p == nil { - return delegate, nil - } - - p.Delegate = delegate - return p, nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/printers/yaml.go b/vendor/k8s.io/cli-runtime/pkg/printers/yaml.go deleted file mode 100644 index 1d636ba7..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/printers/yaml.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Copyright 2021 The 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 printers - -import ( - "encoding/json" - "fmt" - "io" - "reflect" - "sync/atomic" - - "sigs.k8s.io/yaml" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" -) - -// YAMLPrinter is an implementation of ResourcePrinter which outputs an object as YAML. -// The input object is assumed to be in the internal version of an API and is converted -// to the given version first. -// If PrintObj() is called multiple times, objects are separated with a '---' separator. -type YAMLPrinter struct { - printCount int64 -} - -// PrintObj prints the data as YAML. -func (p *YAMLPrinter) PrintObj(obj runtime.Object, w io.Writer) error { - // we use reflect.Indirect here in order to obtain the actual value from a pointer. - // we need an actual value in order to retrieve the package path for an object. - // using reflect.Indirect indiscriminately is valid here, as all runtime.Objects are supposed to be pointers. - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - - count := atomic.AddInt64(&p.printCount, 1) - if count > 1 { - if _, err := w.Write([]byte("---\n")); err != nil { - return err - } - } - - switch obj := obj.(type) { - case *metav1.WatchEvent: - if InternalObjectPreventer.IsForbidden(reflect.Indirect(reflect.ValueOf(obj.Object.Object)).Type().PkgPath()) { - return fmt.Errorf(InternalObjectPrinterErr) - } - data, err := json.Marshal(obj) - if err != nil { - return err - } - data, err = yaml.JSONToYAML(data) - if err != nil { - return err - } - _, err = w.Write(data) - return err - case *runtime.Unknown: - data, err := yaml.JSONToYAML(obj.Raw) - if err != nil { - return err - } - _, err = w.Write(data) - return err - } - - if obj.GetObjectKind().GroupVersionKind().Empty() { - return fmt.Errorf("missing apiVersion or kind; try GetObjectKind().SetGroupVersionKind() if you know the type") - } - - output, err := yaml.Marshal(obj) - if err != nil { - return err - } - _, err = fmt.Fprint(w, string(output)) - return err -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/builder.go b/vendor/k8s.io/cli-runtime/pkg/resource/builder.go deleted file mode 100644 index 4f4b3143..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/builder.go +++ /dev/null @@ -1,1246 +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 resource - -import ( - "errors" - "fmt" - "io" - "net/url" - "os" - "path/filepath" - "strings" - "sync" - - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/apimachinery/pkg/runtime/serializer" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/apimachinery/pkg/util/sets" - "k8s.io/client-go/discovery" - "k8s.io/client-go/rest" - "k8s.io/client-go/restmapper" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -var FileExtensions = []string{".json", ".yaml", ".yml"} -var InputExtensions = append(FileExtensions, "stdin") - -const defaultHttpGetAttempts int = 3 - -// Builder provides convenience functions for taking arguments and parameters -// from the command line and converting them to a list of resources to iterate -// over using the Visitor interface. -type Builder struct { - categoryExpanderFn CategoryExpanderFunc - - // mapper is set explicitly by resource builders - mapper *mapper - - // clientConfigFn is a function to produce a client, *if* you need one - clientConfigFn ClientConfigFunc - - restMapperFn RESTMapperFunc - - // objectTyper is statically determinant per-command invocation based on your internal or unstructured choice - // it does not ever need to rely upon discovery. - objectTyper runtime.ObjectTyper - - // codecFactory describes which codecs you want to use - negotiatedSerializer runtime.NegotiatedSerializer - - // local indicates that we cannot make server calls - local bool - - errs []error - - paths []Visitor - stream bool - stdinInUse bool - dir bool - - labelSelector *string - fieldSelector *string - selectAll bool - limitChunks int64 - requestTransforms []RequestTransform - - resources []string - subresource string - - namespace string - allNamespace bool - names []string - - resourceTuples []resourceTuple - - defaultNamespace bool - requireNamespace bool - - flatten bool - latest bool - - requireObject bool - - singleResourceType bool - continueOnError bool - - singleItemImplied bool - - schema ContentValidator - - // fakeClientFn is used for testing - fakeClientFn FakeClientFunc -} - -var missingResourceError = fmt.Errorf(`You must provide one or more resources by argument or filename. -Example resource specifications include: - '-f rsrc.yaml' - '--filename=rsrc.json' - ' ' - ''`) - -var LocalResourceError = errors.New(`error: you must specify resources by --filename when --local is set. -Example resource specifications include: - '-f rsrc.yaml' - '--filename=rsrc.json'`) - -var StdinMultiUseError = errors.New("standard input cannot be used for multiple arguments") - -// TODO: expand this to include other errors. -func IsUsageError(err error) bool { - if err == nil { - return false - } - return err == missingResourceError -} - -type FilenameOptions struct { - Filenames []string - Kustomize string - Recursive bool -} - -func (o *FilenameOptions) validate() []error { - var errs []error - if len(o.Filenames) > 0 && len(o.Kustomize) > 0 { - errs = append(errs, fmt.Errorf("only one of -f or -k can be specified")) - } - if len(o.Kustomize) > 0 && o.Recursive { - errs = append(errs, fmt.Errorf("the -k flag can't be used with -f or -R")) - } - return errs -} - -func (o *FilenameOptions) RequireFilenameOrKustomize() error { - if len(o.Filenames) == 0 && len(o.Kustomize) == 0 { - return fmt.Errorf("must specify one of -f and -k") - } - return nil -} - -type resourceTuple struct { - Resource string - Name string -} - -type FakeClientFunc func(version schema.GroupVersion) (RESTClient, error) - -func NewFakeBuilder(fakeClientFn FakeClientFunc, restMapper RESTMapperFunc, categoryExpander CategoryExpanderFunc) *Builder { - ret := newBuilder(nil, restMapper, categoryExpander) - ret.fakeClientFn = fakeClientFn - return ret -} - -// NewBuilder creates a builder that operates on generic objects. At least one of -// internal or unstructured must be specified. -// TODO: Add versioned client (although versioned is still lossy) -// TODO remove internal and unstructured mapper and instead have them set the negotiated serializer for use in the client -func newBuilder(clientConfigFn ClientConfigFunc, restMapper RESTMapperFunc, categoryExpander CategoryExpanderFunc) *Builder { - return &Builder{ - clientConfigFn: clientConfigFn, - restMapperFn: restMapper, - categoryExpanderFn: categoryExpander, - requireObject: true, - } -} - -// noopClientGetter implements RESTClientGetter returning only errors. -// used as a dummy getter in a local-only builder. -type noopClientGetter struct{} - -func (noopClientGetter) ToRESTConfig() (*rest.Config, error) { - return nil, fmt.Errorf("local operation only") -} -func (noopClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - return nil, fmt.Errorf("local operation only") -} -func (noopClientGetter) ToRESTMapper() (meta.RESTMapper, error) { - return nil, fmt.Errorf("local operation only") -} - -// NewLocalBuilder returns a builder that is configured not to create REST clients and avoids asking the server for results. -func NewLocalBuilder() *Builder { - return NewBuilder(noopClientGetter{}).Local() -} - -func NewBuilder(restClientGetter RESTClientGetter) *Builder { - categoryExpanderFn := func() (restmapper.CategoryExpander, error) { - discoveryClient, err := restClientGetter.ToDiscoveryClient() - if err != nil { - return nil, err - } - return restmapper.NewDiscoveryCategoryExpander(discoveryClient), err - } - - return newBuilder( - restClientGetter.ToRESTConfig, - restClientGetter.ToRESTMapper, - (&cachingCategoryExpanderFunc{delegate: categoryExpanderFn}).ToCategoryExpander, - ) -} - -func (b *Builder) Schema(schema ContentValidator) *Builder { - b.schema = schema - return b -} - -func (b *Builder) AddError(err error) *Builder { - if err == nil { - return b - } - b.errs = append(b.errs, err) - return b -} - -// FilenameParam groups input in two categories: URLs and files (files, directories, STDIN) -// If enforceNamespace is false, namespaces in the specs will be allowed to -// override the default namespace. If it is true, namespaces that don't match -// will cause an error. -// If ContinueOnError() is set prior to this method, objects on the path that are not -// recognized will be ignored (but logged at V(2)). -func (b *Builder) FilenameParam(enforceNamespace bool, filenameOptions *FilenameOptions) *Builder { - if errs := filenameOptions.validate(); len(errs) > 0 { - b.errs = append(b.errs, errs...) - return b - } - recursive := filenameOptions.Recursive - paths := filenameOptions.Filenames - for _, s := range paths { - switch { - case s == "-": - b.Stdin() - case strings.Index(s, "http://") == 0 || strings.Index(s, "https://") == 0: - url, err := url.Parse(s) - if err != nil { - b.errs = append(b.errs, fmt.Errorf("the URL passed to filename %q is not valid: %v", s, err)) - continue - } - b.URL(defaultHttpGetAttempts, url) - default: - matches, err := expandIfFilePattern(s) - if err != nil { - b.errs = append(b.errs, err) - continue - } - if !recursive && len(matches) == 1 { - b.singleItemImplied = true - } - b.Path(recursive, matches...) - } - } - if filenameOptions.Kustomize != "" { - b.paths = append( - b.paths, - &KustomizeVisitor{ - mapper: b.mapper, - dirPath: filenameOptions.Kustomize, - schema: b.schema, - fSys: filesys.MakeFsOnDisk(), - }) - } - - if enforceNamespace { - b.RequireNamespace() - } - - return b -} - -// Unstructured updates the builder so that it will request and send unstructured -// objects. Unstructured objects preserve all fields sent by the server in a map format -// based on the object's JSON structure which means no data is lost when the client -// reads and then writes an object. Use this mode in preference to Internal unless you -// are working with Go types directly. -func (b *Builder) Unstructured() *Builder { - if b.mapper != nil { - b.errs = append(b.errs, fmt.Errorf("another mapper was already selected, cannot use unstructured types")) - return b - } - b.objectTyper = unstructuredscheme.NewUnstructuredObjectTyper() - b.mapper = &mapper{ - localFn: b.isLocal, - restMapperFn: b.restMapperFn, - clientFn: b.getClient, - decoder: &metadataValidatingDecoder{unstructured.UnstructuredJSONScheme}, - } - - return b -} - -// WithScheme uses the scheme to manage typing, conversion (optional), and decoding. If decodingVersions -// is empty, then you can end up with internal types. You have been warned. -func (b *Builder) WithScheme(scheme *runtime.Scheme, decodingVersions ...schema.GroupVersion) *Builder { - if b.mapper != nil { - b.errs = append(b.errs, fmt.Errorf("another mapper was already selected, cannot use internal types")) - return b - } - b.objectTyper = scheme - codecFactory := serializer.NewCodecFactory(scheme) - negotiatedSerializer := runtime.NegotiatedSerializer(codecFactory) - // if you specified versions, you're specifying a desire for external types, which you don't want to round-trip through - // internal types - if len(decodingVersions) > 0 { - negotiatedSerializer = codecFactory.WithoutConversion() - } - b.negotiatedSerializer = negotiatedSerializer - - b.mapper = &mapper{ - localFn: b.isLocal, - restMapperFn: b.restMapperFn, - clientFn: b.getClient, - decoder: codecFactory.UniversalDecoder(decodingVersions...), - } - - return b -} - -// LocalParam calls Local() if local is true. -func (b *Builder) LocalParam(local bool) *Builder { - if local { - b.Local() - } - return b -} - -// Local will avoid asking the server for results. -func (b *Builder) Local() *Builder { - b.local = true - return b -} - -func (b *Builder) isLocal() bool { - return b.local -} - -// Mapper returns a copy of the current mapper. -func (b *Builder) Mapper() *mapper { - mapper := *b.mapper - return &mapper -} - -// URL accepts a number of URLs directly. -func (b *Builder) URL(httpAttemptCount int, urls ...*url.URL) *Builder { - for _, u := range urls { - b.paths = append(b.paths, &URLVisitor{ - URL: u, - StreamVisitor: NewStreamVisitor(nil, b.mapper, u.String(), b.schema), - HttpAttemptCount: httpAttemptCount, - }) - } - return b -} - -// Stdin will read objects from the standard input. If ContinueOnError() is set -// prior to this method being called, objects in the stream that are unrecognized -// will be ignored (but logged at V(2)). If StdinInUse() is set prior to this method -// being called, an error will be recorded as there are multiple entities trying to use -// the single standard input stream. -func (b *Builder) Stdin() *Builder { - b.stream = true - if b.stdinInUse { - b.errs = append(b.errs, StdinMultiUseError) - } - b.stdinInUse = true - b.paths = append(b.paths, FileVisitorForSTDIN(b.mapper, b.schema)) - return b -} - -// StdinInUse will mark standard input as in use by this Builder, and therefore standard -// input should not be used by another entity. If Stdin() is set prior to this method -// being called, an error will be recorded as there are multiple entities trying to use -// the single standard input stream. -func (b *Builder) StdinInUse() *Builder { - if b.stdinInUse { - b.errs = append(b.errs, StdinMultiUseError) - } - b.stdinInUse = true - return b -} - -// Stream will read objects from the provided reader, and if an error occurs will -// include the name string in the error message. If ContinueOnError() is set -// prior to this method being called, objects in the stream that are unrecognized -// will be ignored (but logged at V(2)). -func (b *Builder) Stream(r io.Reader, name string) *Builder { - b.stream = true - b.paths = append(b.paths, NewStreamVisitor(r, b.mapper, name, b.schema)) - return b -} - -// Path accepts a set of paths that may be files, directories (all can containing -// one or more resources). Creates a FileVisitor for each file and then each -// FileVisitor is streaming the content to a StreamVisitor. If ContinueOnError() is set -// prior to this method being called, objects on the path that are unrecognized will be -// ignored (but logged at V(2)). -func (b *Builder) Path(recursive bool, paths ...string) *Builder { - for _, p := range paths { - _, err := os.Stat(p) - if os.IsNotExist(err) { - b.errs = append(b.errs, fmt.Errorf("the path %q does not exist", p)) - continue - } - if err != nil { - b.errs = append(b.errs, fmt.Errorf("the path %q cannot be accessed: %v", p, err)) - continue - } - - visitors, err := ExpandPathsToFileVisitors(b.mapper, p, recursive, FileExtensions, b.schema) - if err != nil { - b.errs = append(b.errs, fmt.Errorf("error reading %q: %v", p, err)) - } - if len(visitors) > 1 { - b.dir = true - } - - b.paths = append(b.paths, visitors...) - } - if len(b.paths) == 0 && len(b.errs) == 0 { - b.errs = append(b.errs, fmt.Errorf("error reading %v: recognized file extensions are %v", paths, FileExtensions)) - } - return b -} - -// ResourceTypes is a list of types of resources to operate on, when listing objects on -// the server or retrieving objects that match a selector. -func (b *Builder) ResourceTypes(types ...string) *Builder { - b.resources = append(b.resources, types...) - return b -} - -// ResourceNames accepts a default type and one or more names, and creates tuples of -// resources -func (b *Builder) ResourceNames(resource string, names ...string) *Builder { - for _, name := range names { - // See if this input string is of type/name format - tuple, ok, err := splitResourceTypeName(name) - if err != nil { - b.errs = append(b.errs, err) - return b - } - - if ok { - b.resourceTuples = append(b.resourceTuples, tuple) - continue - } - if len(resource) == 0 { - b.errs = append(b.errs, fmt.Errorf("the argument %q must be RESOURCE/NAME", name)) - continue - } - - // Use the given default type to create a resource tuple - b.resourceTuples = append(b.resourceTuples, resourceTuple{Resource: resource, Name: name}) - } - return b -} - -// LabelSelectorParam defines a selector that should be applied to the object types to load. -// This will not affect files loaded from disk or URL. If the parameter is empty it is -// a no-op - to select all resources invoke `b.LabelSelector(labels.Everything.String)`. -func (b *Builder) LabelSelectorParam(s string) *Builder { - selector := strings.TrimSpace(s) - if len(selector) == 0 { - return b - } - if b.selectAll { - b.errs = append(b.errs, fmt.Errorf("found non-empty label selector %q with previously set 'all' parameter. ", s)) - return b - } - return b.LabelSelector(selector) -} - -// LabelSelector accepts a selector directly and will filter the resulting list by that object. -// Use LabelSelectorParam instead for user input. -func (b *Builder) LabelSelector(selector string) *Builder { - if len(selector) == 0 { - return b - } - - b.labelSelector = &selector - return b -} - -// FieldSelectorParam defines a selector that should be applied to the object types to load. -// This will not affect files loaded from disk or URL. If the parameter is empty it is -// a no-op - to select all resources. -func (b *Builder) FieldSelectorParam(s string) *Builder { - s = strings.TrimSpace(s) - if len(s) == 0 { - return b - } - if b.selectAll { - b.errs = append(b.errs, fmt.Errorf("found non-empty field selector %q with previously set 'all' parameter. ", s)) - return b - } - b.fieldSelector = &s - return b -} - -// NamespaceParam accepts the namespace that these resources should be -// considered under from - used by DefaultNamespace() and RequireNamespace() -func (b *Builder) NamespaceParam(namespace string) *Builder { - b.namespace = namespace - return b -} - -// DefaultNamespace instructs the builder to set the namespace value for any object found -// to NamespaceParam() if empty. -func (b *Builder) DefaultNamespace() *Builder { - b.defaultNamespace = true - return b -} - -// AllNamespaces instructs the builder to metav1.NamespaceAll as a namespace to request resources -// across all of the namespace. This overrides the namespace set by NamespaceParam(). -func (b *Builder) AllNamespaces(allNamespace bool) *Builder { - if allNamespace { - b.namespace = metav1.NamespaceAll - } - b.allNamespace = allNamespace - return b -} - -// RequireNamespace instructs the builder to set the namespace value for any object found -// to NamespaceParam() if empty, and if the value on the resource does not match -// NamespaceParam() an error will be returned. -func (b *Builder) RequireNamespace() *Builder { - b.requireNamespace = true - return b -} - -// RequestChunksOf attempts to load responses from the server in batches of size limit -// to avoid long delays loading and transferring very large lists. If unset defaults to -// no chunking. -func (b *Builder) RequestChunksOf(chunkSize int64) *Builder { - b.limitChunks = chunkSize - return b -} - -// TransformRequests alters API calls made by clients requested from this builder. Pass -// an empty list to clear modifiers. -func (b *Builder) TransformRequests(opts ...RequestTransform) *Builder { - b.requestTransforms = opts - return b -} - -// Subresource instructs the builder to retrieve the object at the -// subresource path instead of the main resource path. -func (b *Builder) Subresource(subresource string) *Builder { - b.subresource = subresource - return b -} - -// SelectEverythingParam -func (b *Builder) SelectAllParam(selectAll bool) *Builder { - if selectAll && (b.labelSelector != nil || b.fieldSelector != nil) { - b.errs = append(b.errs, fmt.Errorf("setting 'all' parameter but found a non empty selector. ")) - return b - } - b.selectAll = selectAll - return b -} - -// ResourceTypeOrNameArgs indicates that the builder should accept arguments -// of the form `([,,...]| [,,...])`. When one argument is -// received, the types provided will be retrieved from the server (and be comma delimited). -// When two or more arguments are received, they must be a single type and resource name(s). -// The allowEmptySelector permits to select all the resources (via Everything func). -func (b *Builder) ResourceTypeOrNameArgs(allowEmptySelector bool, args ...string) *Builder { - args = normalizeMultipleResourcesArgs(args) - if ok, err := hasCombinedTypeArgs(args); ok { - if err != nil { - b.errs = append(b.errs, err) - return b - } - for _, s := range args { - tuple, ok, err := splitResourceTypeName(s) - if err != nil { - b.errs = append(b.errs, err) - return b - } - if ok { - b.resourceTuples = append(b.resourceTuples, tuple) - } - } - return b - } - if len(args) > 0 { - // Try replacing aliases only in types - args[0] = b.ReplaceAliases(args[0]) - } - switch { - case len(args) > 2: - b.names = append(b.names, args[1:]...) - b.ResourceTypes(SplitResourceArgument(args[0])...) - case len(args) == 2: - b.names = append(b.names, args[1]) - b.ResourceTypes(SplitResourceArgument(args[0])...) - case len(args) == 1: - b.ResourceTypes(SplitResourceArgument(args[0])...) - if b.labelSelector == nil && allowEmptySelector { - selector := labels.Everything().String() - b.labelSelector = &selector - } - case len(args) == 0: - default: - b.errs = append(b.errs, fmt.Errorf("arguments must consist of a resource or a resource and name")) - } - return b -} - -// ReplaceAliases accepts an argument and tries to expand any existing -// aliases found in it -func (b *Builder) ReplaceAliases(input string) string { - replaced := []string{} - for _, arg := range strings.Split(input, ",") { - if b.categoryExpanderFn == nil { - continue - } - categoryExpander, err := b.categoryExpanderFn() - if err != nil { - b.AddError(err) - continue - } - - if resources, ok := categoryExpander.Expand(arg); ok { - asStrings := []string{} - for _, resource := range resources { - if len(resource.Group) == 0 { - asStrings = append(asStrings, resource.Resource) - continue - } - asStrings = append(asStrings, resource.Resource+"."+resource.Group) - } - arg = strings.Join(asStrings, ",") - } - replaced = append(replaced, arg) - } - return strings.Join(replaced, ",") -} - -func hasCombinedTypeArgs(args []string) (bool, error) { - hasSlash := 0 - for _, s := range args { - if strings.Contains(s, "/") { - hasSlash++ - } - } - switch { - case hasSlash > 0 && hasSlash == len(args): - return true, nil - case hasSlash > 0 && hasSlash != len(args): - baseCmd := "cmd" - if len(os.Args) > 0 { - baseCmdSlice := strings.Split(os.Args[0], "/") - baseCmd = baseCmdSlice[len(baseCmdSlice)-1] - } - return true, fmt.Errorf("there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. '%s get resource/' instead of '%s get resource resource/'", baseCmd, baseCmd) - default: - return false, nil - } -} - -// Normalize args convert multiple resources to resource tuples, a,b,c d -// as a transform to a/d b/d c/d -func normalizeMultipleResourcesArgs(args []string) []string { - if len(args) >= 2 { - resources := []string{} - resources = append(resources, SplitResourceArgument(args[0])...) - if len(resources) > 1 { - names := []string{} - names = append(names, args[1:]...) - newArgs := []string{} - for _, resource := range resources { - for _, name := range names { - newArgs = append(newArgs, strings.Join([]string{resource, name}, "/")) - } - } - return newArgs - } - } - return args -} - -// splitResourceTypeName handles type/name resource formats and returns a resource tuple -// (empty or not), whether it successfully found one, and an error -func splitResourceTypeName(s string) (resourceTuple, bool, error) { - if !strings.Contains(s, "/") { - return resourceTuple{}, false, nil - } - seg := strings.Split(s, "/") - if len(seg) != 2 { - return resourceTuple{}, false, fmt.Errorf("arguments in resource/name form may not have more than one slash") - } - resource, name := seg[0], seg[1] - if len(resource) == 0 || len(name) == 0 || len(SplitResourceArgument(resource)) != 1 { - return resourceTuple{}, false, fmt.Errorf("arguments in resource/name form must have a single resource and name") - } - return resourceTuple{Resource: resource, Name: name}, true, nil -} - -// Flatten will convert any objects with a field named "Items" that is an array of runtime.Object -// compatible types into individual entries and give them their own items. The original object -// is not passed to any visitors. -func (b *Builder) Flatten() *Builder { - b.flatten = true - return b -} - -// Latest will fetch the latest copy of any objects loaded from URLs or files from the server. -func (b *Builder) Latest() *Builder { - b.latest = true - return b -} - -// RequireObject ensures that resulting infos have an object set. If false, resulting info may not have an object set. -func (b *Builder) RequireObject(require bool) *Builder { - b.requireObject = require - return b -} - -// ContinueOnError will attempt to load and visit as many objects as possible, even if some visits -// return errors or some objects cannot be loaded. The default behavior is to terminate after -// the first error is returned from a VisitorFunc. -func (b *Builder) ContinueOnError() *Builder { - b.continueOnError = true - return b -} - -// SingleResourceType will cause the builder to error if the user specifies more than a single type -// of resource. -func (b *Builder) SingleResourceType() *Builder { - b.singleResourceType = true - return b -} - -// mappingFor returns the RESTMapping for the Kind given, or the Kind referenced by the resource. -// Prefers a fully specified GroupVersionResource match. If one is not found, we match on a fully -// specified GroupVersionKind, or fallback to a match on GroupKind. -func (b *Builder) mappingFor(resourceOrKindArg string) (*meta.RESTMapping, error) { - fullySpecifiedGVR, groupResource := schema.ParseResourceArg(resourceOrKindArg) - gvk := schema.GroupVersionKind{} - restMapper, err := b.restMapperFn() - if err != nil { - return nil, err - } - - if fullySpecifiedGVR != nil { - gvk, _ = restMapper.KindFor(*fullySpecifiedGVR) - } - if gvk.Empty() { - gvk, _ = restMapper.KindFor(groupResource.WithVersion("")) - } - if !gvk.Empty() { - return restMapper.RESTMapping(gvk.GroupKind(), gvk.Version) - } - - fullySpecifiedGVK, groupKind := schema.ParseKindArg(resourceOrKindArg) - if fullySpecifiedGVK == nil { - gvk := groupKind.WithVersion("") - fullySpecifiedGVK = &gvk - } - - if !fullySpecifiedGVK.Empty() { - if mapping, err := restMapper.RESTMapping(fullySpecifiedGVK.GroupKind(), fullySpecifiedGVK.Version); err == nil { - return mapping, nil - } - } - - mapping, err := restMapper.RESTMapping(groupKind, gvk.Version) - if err != nil { - // if we error out here, it is because we could not match a resource or a kind - // for the given argument. To maintain consistency with previous behavior, - // announce that a resource type could not be found. - // if the error is _not_ a *meta.NoKindMatchError, then we had trouble doing discovery, - // so we should return the original error since it may help a user diagnose what is actually wrong - if meta.IsNoMatchError(err) { - return nil, fmt.Errorf("the server doesn't have a resource type %q", groupResource.Resource) - } - return nil, err - } - - return mapping, nil -} - -func (b *Builder) resourceMappings() ([]*meta.RESTMapping, error) { - if len(b.resources) > 1 && b.singleResourceType { - return nil, fmt.Errorf("you may only specify a single resource type") - } - mappings := []*meta.RESTMapping{} - seen := map[schema.GroupVersionKind]bool{} - for _, r := range b.resources { - mapping, err := b.mappingFor(r) - if err != nil { - return nil, err - } - // This ensures the mappings for resources(shortcuts, plural) unique - if seen[mapping.GroupVersionKind] { - continue - } - seen[mapping.GroupVersionKind] = true - - mappings = append(mappings, mapping) - } - return mappings, nil -} - -func (b *Builder) resourceTupleMappings() (map[string]*meta.RESTMapping, error) { - mappings := make(map[string]*meta.RESTMapping) - canonical := make(map[schema.GroupVersionResource]struct{}) - for _, r := range b.resourceTuples { - if _, ok := mappings[r.Resource]; ok { - continue - } - mapping, err := b.mappingFor(r.Resource) - if err != nil { - return nil, err - } - - mappings[r.Resource] = mapping - canonical[mapping.Resource] = struct{}{} - } - if len(canonical) > 1 && b.singleResourceType { - return nil, fmt.Errorf("you may only specify a single resource type") - } - return mappings, nil -} - -func (b *Builder) visitorResult() *Result { - if len(b.errs) > 0 { - return &Result{err: utilerrors.NewAggregate(b.errs)} - } - - if b.selectAll { - selector := labels.Everything().String() - b.labelSelector = &selector - } - - // visit items specified by paths - if len(b.paths) != 0 { - return b.visitByPaths() - } - - // visit selectors - if b.labelSelector != nil || b.fieldSelector != nil { - return b.visitBySelector() - } - - // visit items specified by resource and name - if len(b.resourceTuples) != 0 { - return b.visitByResource() - } - - // visit items specified by name - if len(b.names) != 0 { - return b.visitByName() - } - - if len(b.resources) != 0 { - for _, r := range b.resources { - _, err := b.mappingFor(r) - if err != nil { - return &Result{err: err} - } - } - return &Result{err: fmt.Errorf("resource(s) were provided, but no name was specified")} - } - return &Result{err: missingResourceError} -} - -func (b *Builder) visitBySelector() *Result { - result := &Result{ - targetsSingleItems: false, - } - - if len(b.names) != 0 { - return result.withError(fmt.Errorf("name cannot be provided when a selector is specified")) - } - if len(b.resourceTuples) != 0 { - return result.withError(fmt.Errorf("selectors and the all flag cannot be used when passing resource/name arguments")) - } - if len(b.resources) == 0 { - return result.withError(fmt.Errorf("at least one resource must be specified to use a selector")) - } - if len(b.subresource) != 0 { - return result.withError(fmt.Errorf("subresource cannot be used when bulk resources are specified")) - } - - mappings, err := b.resourceMappings() - if err != nil { - result.err = err - return result - } - - var labelSelector, fieldSelector string - if b.labelSelector != nil { - labelSelector = *b.labelSelector - } - if b.fieldSelector != nil { - fieldSelector = *b.fieldSelector - } - - visitors := []Visitor{} - for _, mapping := range mappings { - client, err := b.getClient(mapping.GroupVersionKind.GroupVersion()) - if err != nil { - result.err = err - return result - } - selectorNamespace := b.namespace - if mapping.Scope.Name() != meta.RESTScopeNameNamespace { - selectorNamespace = "" - } - visitors = append(visitors, NewSelector(client, mapping, selectorNamespace, labelSelector, fieldSelector, b.limitChunks)) - } - if b.continueOnError { - result.visitor = EagerVisitorList(visitors) - } else { - result.visitor = VisitorList(visitors) - } - result.sources = visitors - return result -} - -func (b *Builder) getClient(gv schema.GroupVersion) (RESTClient, error) { - var ( - client RESTClient - err error - ) - - switch { - case b.fakeClientFn != nil: - client, err = b.fakeClientFn(gv) - case b.negotiatedSerializer != nil: - client, err = b.clientConfigFn.withStdinUnavailable(b.stdinInUse).clientForGroupVersion(gv, b.negotiatedSerializer) - default: - client, err = b.clientConfigFn.withStdinUnavailable(b.stdinInUse).unstructuredClientForGroupVersion(gv) - } - - if err != nil { - return nil, err - } - - return NewClientWithOptions(client, b.requestTransforms...), nil -} - -func (b *Builder) visitByResource() *Result { - // if b.singleItemImplied is false, this could be by default, so double-check length - // of resourceTuples to determine if in fact it is singleItemImplied or not - isSingleItemImplied := b.singleItemImplied - if !isSingleItemImplied { - isSingleItemImplied = len(b.resourceTuples) == 1 - } - - result := &Result{ - singleItemImplied: isSingleItemImplied, - targetsSingleItems: true, - } - - if len(b.resources) != 0 { - return result.withError(fmt.Errorf("you may not specify individual resources and bulk resources in the same call")) - } - - // retrieve one client for each resource - mappings, err := b.resourceTupleMappings() - if err != nil { - result.err = err - return result - } - clients := make(map[string]RESTClient) - for _, mapping := range mappings { - s := fmt.Sprintf("%s/%s", mapping.GroupVersionKind.GroupVersion().String(), mapping.Resource.Resource) - if _, ok := clients[s]; ok { - continue - } - client, err := b.getClient(mapping.GroupVersionKind.GroupVersion()) - if err != nil { - result.err = err - return result - } - clients[s] = client - } - - items := []Visitor{} - for _, tuple := range b.resourceTuples { - mapping, ok := mappings[tuple.Resource] - if !ok { - return result.withError(fmt.Errorf("resource %q is not recognized: %v", tuple.Resource, mappings)) - } - s := fmt.Sprintf("%s/%s", mapping.GroupVersionKind.GroupVersion().String(), mapping.Resource.Resource) - client, ok := clients[s] - if !ok { - return result.withError(fmt.Errorf("could not find a client for resource %q", tuple.Resource)) - } - - selectorNamespace := b.namespace - if mapping.Scope.Name() != meta.RESTScopeNameNamespace { - selectorNamespace = "" - } else { - if len(b.namespace) == 0 { - errMsg := "namespace may not be empty when retrieving a resource by name" - if b.allNamespace { - errMsg = "a resource cannot be retrieved by name across all namespaces" - } - return result.withError(fmt.Errorf(errMsg)) - } - } - - info := &Info{ - Client: client, - Mapping: mapping, - Namespace: selectorNamespace, - Name: tuple.Name, - Subresource: b.subresource, - } - items = append(items, info) - } - - var visitors Visitor - if b.continueOnError { - visitors = EagerVisitorList(items) - } else { - visitors = VisitorList(items) - } - result.visitor = visitors - result.sources = items - return result -} - -func (b *Builder) visitByName() *Result { - result := &Result{ - singleItemImplied: len(b.names) == 1, - targetsSingleItems: true, - } - - if len(b.paths) != 0 { - return result.withError(fmt.Errorf("when paths, URLs, or stdin is provided as input, you may not specify a resource by arguments as well")) - } - if len(b.resources) == 0 { - return result.withError(fmt.Errorf("you must provide a resource and a resource name together")) - } - if len(b.resources) > 1 { - return result.withError(fmt.Errorf("you must specify only one resource")) - } - - mappings, err := b.resourceMappings() - if err != nil { - result.err = err - return result - } - mapping := mappings[0] - - client, err := b.getClient(mapping.GroupVersionKind.GroupVersion()) - if err != nil { - result.err = err - return result - } - - selectorNamespace := b.namespace - if mapping.Scope.Name() != meta.RESTScopeNameNamespace { - selectorNamespace = "" - } else { - if len(b.namespace) == 0 { - errMsg := "namespace may not be empty when retrieving a resource by name" - if b.allNamespace { - errMsg = "a resource cannot be retrieved by name across all namespaces" - } - return result.withError(fmt.Errorf(errMsg)) - } - } - - visitors := []Visitor{} - for _, name := range b.names { - info := &Info{ - Client: client, - Mapping: mapping, - Namespace: selectorNamespace, - Name: name, - Subresource: b.subresource, - } - visitors = append(visitors, info) - } - result.visitor = VisitorList(visitors) - result.sources = visitors - return result -} - -func (b *Builder) visitByPaths() *Result { - result := &Result{ - singleItemImplied: !b.dir && !b.stream && len(b.paths) == 1, - targetsSingleItems: true, - } - - if len(b.resources) != 0 { - return result.withError(fmt.Errorf("when paths, URLs, or stdin is provided as input, you may not specify resource arguments as well")) - } - if len(b.names) != 0 { - return result.withError(fmt.Errorf("name cannot be provided when a path is specified")) - } - if len(b.resourceTuples) != 0 { - return result.withError(fmt.Errorf("resource/name arguments cannot be provided when a path is specified")) - } - - var visitors Visitor - if b.continueOnError { - visitors = EagerVisitorList(b.paths) - } else { - visitors = VisitorList(b.paths) - } - - if b.flatten { - visitors = NewFlattenListVisitor(visitors, b.objectTyper, b.mapper) - } - - // only items from disk can be refetched - if b.latest { - // must set namespace prior to fetching - if b.defaultNamespace { - visitors = NewDecoratedVisitor(visitors, SetNamespace(b.namespace)) - } - visitors = NewDecoratedVisitor(visitors, RetrieveLatest) - } - if b.labelSelector != nil { - selector, err := labels.Parse(*b.labelSelector) - if err != nil { - return result.withError(fmt.Errorf("the provided selector %q is not valid: %v", *b.labelSelector, err)) - } - visitors = NewFilteredVisitor(visitors, FilterByLabelSelector(selector)) - } - result.visitor = visitors - result.sources = b.paths - return result -} - -// Do returns a Result object with a Visitor for the resources identified by the Builder. -// The visitor will respect the error behavior specified by ContinueOnError. Note that stream -// inputs are consumed by the first execution - use Infos() or Object() on the Result to capture a list -// for further iteration. -func (b *Builder) Do() *Result { - r := b.visitorResult() - r.mapper = b.Mapper() - if r.err != nil { - return r - } - if b.flatten { - r.visitor = NewFlattenListVisitor(r.visitor, b.objectTyper, b.mapper) - } - helpers := []VisitorFunc{} - if b.defaultNamespace { - helpers = append(helpers, SetNamespace(b.namespace)) - } - if b.requireNamespace { - helpers = append(helpers, RequireNamespace(b.namespace)) - } - helpers = append(helpers, FilterNamespace) - if b.requireObject { - helpers = append(helpers, RetrieveLazy) - } - if b.continueOnError { - r.visitor = ContinueOnErrorVisitor{Visitor: r.visitor} - } - r.visitor = NewDecoratedVisitor(r.visitor, helpers...) - return r -} - -// SplitResourceArgument splits the argument with commas and returns unique -// strings in the original order. -func SplitResourceArgument(arg string) []string { - out := []string{} - set := sets.NewString() - for _, s := range strings.Split(arg, ",") { - if set.Has(s) { - continue - } - set.Insert(s) - out = append(out, s) - } - return out -} - -// HasNames returns true if the provided args contain resource names -func HasNames(args []string) (bool, error) { - args = normalizeMultipleResourcesArgs(args) - hasCombinedTypes, err := hasCombinedTypeArgs(args) - if err != nil { - return false, err - } - return hasCombinedTypes || len(args) > 1, nil -} - -// expandIfFilePattern returns all the filenames that match the input pattern -// or the filename if it is a specific filename and not a pattern. -// If the input is a pattern and it yields no result it will result in an error. -func expandIfFilePattern(pattern string) ([]string, error) { - if _, err := os.Stat(pattern); os.IsNotExist(err) { - matches, err := filepath.Glob(pattern) - if err == nil && len(matches) == 0 { - return nil, fmt.Errorf("the path %q does not exist", pattern) - } - if err == filepath.ErrBadPattern { - return nil, fmt.Errorf("pattern %q is not valid: %v", pattern, err) - } - return matches, err - } - return []string{pattern}, nil -} - -type cachingCategoryExpanderFunc struct { - delegate CategoryExpanderFunc - - lock sync.Mutex - cached restmapper.CategoryExpander -} - -func (c *cachingCategoryExpanderFunc) ToCategoryExpander() (restmapper.CategoryExpander, error) { - c.lock.Lock() - defer c.lock.Unlock() - if c.cached != nil { - return c.cached, nil - } - - ret, err := c.delegate() - if err != nil { - return nil, err - } - c.cached = ret - return c.cached, nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/client.go b/vendor/k8s.io/cli-runtime/pkg/resource/client.go deleted file mode 100644 index cd52c304..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/client.go +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright 2018 The 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 resource - -import ( - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/client-go/rest" -) - -// TODO require negotiatedSerializer. leaving it optional lets us plumb current behavior and deal with the difference after major plumbing is complete -func (clientConfigFn ClientConfigFunc) clientForGroupVersion(gv schema.GroupVersion, negotiatedSerializer runtime.NegotiatedSerializer) (RESTClient, error) { - cfg, err := clientConfigFn() - if err != nil { - return nil, err - } - if negotiatedSerializer != nil { - cfg.ContentConfig.NegotiatedSerializer = negotiatedSerializer - } - cfg.GroupVersion = &gv - if len(gv.Group) == 0 { - cfg.APIPath = "/api" - } else { - cfg.APIPath = "/apis" - } - - return rest.RESTClientFor(cfg) -} - -func (clientConfigFn ClientConfigFunc) unstructuredClientForGroupVersion(gv schema.GroupVersion) (RESTClient, error) { - cfg, err := clientConfigFn() - if err != nil { - return nil, err - } - cfg.ContentConfig = UnstructuredPlusDefaultContentConfig() - cfg.GroupVersion = &gv - if len(gv.Group) == 0 { - cfg.APIPath = "/api" - } else { - cfg.APIPath = "/apis" - } - - return rest.RESTClientFor(cfg) -} - -func (clientConfigFn ClientConfigFunc) withStdinUnavailable(stdinUnavailable bool) ClientConfigFunc { - return func() (*rest.Config, error) { - cfg, err := clientConfigFn() - if stdinUnavailable && cfg != nil && cfg.ExecProvider != nil { - cfg.ExecProvider.StdinUnavailable = stdinUnavailable - cfg.ExecProvider.StdinUnavailableMessage = "used by stdin resource manifest reader" - } - return cfg, err - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/crd_finder.go b/vendor/k8s.io/cli-runtime/pkg/resource/crd_finder.go deleted file mode 100644 index 4694f779..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/crd_finder.go +++ /dev/null @@ -1,110 +0,0 @@ -/* -Copyright 2018 The 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 resource - -import ( - "context" - "fmt" - "reflect" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/client-go/dynamic" -) - -// CRDGetter is a function that can download the list of GVK for all -// CRDs. -type CRDGetter func() ([]schema.GroupKind, error) - -func CRDFromDynamic(client dynamic.Interface) CRDGetter { - return func() ([]schema.GroupKind, error) { - list, err := client.Resource(schema.GroupVersionResource{ - Group: "apiextensions.k8s.io", - Version: "v1", - Resource: "customresourcedefinitions", - }).List(context.TODO(), metav1.ListOptions{}) - if err != nil { - return nil, fmt.Errorf("failed to list CRDs: %v", err) - } - if list == nil { - return nil, nil - } - - gks := []schema.GroupKind{} - - // We need to parse the list to get the gvk, I guess that's fine. - for _, crd := range (*list).Items { - // Look for group, version, and kind - group, _, _ := unstructured.NestedString(crd.Object, "spec", "group") - kind, _, _ := unstructured.NestedString(crd.Object, "spec", "names", "kind") - - gks = append(gks, schema.GroupKind{ - Group: group, - Kind: kind, - }) - } - - return gks, nil - } -} - -// CRDFinder keeps a cache of known CRDs and finds a given GVK in the -// list. -type CRDFinder interface { - HasCRD(gvk schema.GroupKind) (bool, error) -} - -func NewCRDFinder(getter CRDGetter) CRDFinder { - return &crdFinder{ - getter: getter, - } -} - -type crdFinder struct { - getter CRDGetter - cache *[]schema.GroupKind -} - -func (f *crdFinder) cacheCRDs() error { - if f.cache != nil { - return nil - } - - list, err := f.getter() - if err != nil { - return err - } - f.cache = &list - return nil -} - -func (f *crdFinder) findCRD(gvk schema.GroupKind) bool { - for _, crd := range *f.cache { - if reflect.DeepEqual(gvk, crd) { - return true - } - } - return false -} - -func (f *crdFinder) HasCRD(gvk schema.GroupKind) (bool, error) { - if err := f.cacheCRDs(); err != nil { - return false, err - } - return f.findCRD(gvk), nil -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/doc.go b/vendor/k8s.io/cli-runtime/pkg/resource/doc.go deleted file mode 100644 index f83fdcbf..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/doc.go +++ /dev/null @@ -1,24 +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 resource assists clients in dealing with RESTful objects that match the -// Kubernetes API conventions. The Helper object provides simple CRUD operations -// on resources. The Visitor interface makes it easy to deal with multiple resources -// in bulk for retrieval and operation. The Builder object simplifies converting -// standard command line arguments and parameters into a Visitor that can iterate -// over all of the identified resources, whether on the server or on the local -// filesystem. -package resource // import "k8s.io/cli-runtime/pkg/resource" diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/fake.go b/vendor/k8s.io/cli-runtime/pkg/resource/fake.go deleted file mode 100644 index 276c343e..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/fake.go +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package resource - -import ( - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/client-go/restmapper" -) - -// FakeCategoryExpander is for testing only -var FakeCategoryExpander restmapper.CategoryExpander = restmapper.SimpleCategoryExpander{ - Expansions: map[string][]schema.GroupResource{ - "all": { - {Group: "", Resource: "pods"}, - {Group: "", Resource: "replicationcontrollers"}, - {Group: "", Resource: "services"}, - {Group: "apps", Resource: "statefulsets"}, - {Group: "autoscaling", Resource: "horizontalpodautoscalers"}, - {Group: "batch", Resource: "jobs"}, - {Group: "batch", Resource: "cronjobs"}, - {Group: "extensions", Resource: "daemonsets"}, - {Group: "extensions", Resource: "deployments"}, - {Group: "extensions", Resource: "replicasets"}, - }, - }, -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/helper.go b/vendor/k8s.io/cli-runtime/pkg/resource/helper.go deleted file mode 100644 index aa400ae0..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/helper.go +++ /dev/null @@ -1,321 +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 resource - -import ( - "context" - "fmt" - - apierrors "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - - "k8s.io/apimachinery/pkg/fields" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/types" - "k8s.io/apimachinery/pkg/watch" -) - -var metadataAccessor = meta.NewAccessor() - -// Helper provides methods for retrieving or mutating a RESTful -// resource. -type Helper struct { - // The name of this resource as the server would recognize it - Resource string - // The name of the subresource as the server would recognize it - Subresource string - // A RESTClient capable of mutating this resource. - RESTClient RESTClient - // True if the resource type is scoped to namespaces - NamespaceScoped bool - // If true, then use server-side dry-run to not persist changes to storage - // for verbs and resources that support server-side dry-run. - // - // Note this should only be used against an apiserver with dry-run enabled, - // and on resources that support dry-run. If the apiserver or the resource - // does not support dry-run, then the change will be persisted to storage. - ServerDryRun bool - - // FieldManager is the name associated with the actor or entity that is making - // changes. - FieldManager string - - // FieldValidation is the directive used to indicate how the server should perform - // field validation (Ignore, Warn, or Strict) - FieldValidation string -} - -// NewHelper creates a Helper from a ResourceMapping -func NewHelper(client RESTClient, mapping *meta.RESTMapping) *Helper { - return &Helper{ - Resource: mapping.Resource.Resource, - RESTClient: client, - NamespaceScoped: mapping.Scope.Name() == meta.RESTScopeNameNamespace, - } -} - -// DryRun, if true, will use server-side dry-run to not persist changes to storage. -// Otherwise, changes will be persisted to storage. -func (m *Helper) DryRun(dryRun bool) *Helper { - m.ServerDryRun = dryRun - return m -} - -// WithFieldManager sets the field manager option to indicate the actor or entity -// that is making changes in a create or update operation. -func (m *Helper) WithFieldManager(fieldManager string) *Helper { - m.FieldManager = fieldManager - return m -} - -// WithFieldValidation sets the field validation option to indicate -// how the server should perform field validation (Ignore, Warn, or Strict). -func (m *Helper) WithFieldValidation(validationDirective string) *Helper { - m.FieldValidation = validationDirective - return m -} - -// Subresource sets the helper to access (/[ns//]/) -func (m *Helper) WithSubresource(subresource string) *Helper { - m.Subresource = subresource - return m -} - -func (m *Helper) Get(namespace, name string) (runtime.Object, error) { - req := m.RESTClient.Get(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(m.Resource). - Name(name). - SubResource(m.Subresource) - return req.Do(context.TODO()).Get() -} - -func (m *Helper) List(namespace, apiVersion string, options *metav1.ListOptions) (runtime.Object, error) { - req := m.RESTClient.Get(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(m.Resource). - VersionedParams(options, metav1.ParameterCodec) - return req.Do(context.TODO()).Get() -} - -// FollowContinue handles the continue parameter returned by the API server when using list -// chunking. To take advantage of this, the initial ListOptions provided by the consumer -// should include a non-zero Limit parameter. -func FollowContinue(initialOpts *metav1.ListOptions, - listFunc func(metav1.ListOptions) (runtime.Object, error)) error { - opts := initialOpts - for { - list, err := listFunc(*opts) - if err != nil { - return err - } - nextContinueToken, _ := metadataAccessor.Continue(list) - if len(nextContinueToken) == 0 { - return nil - } - opts.Continue = nextContinueToken - } -} - -// EnhanceListError augments errors typically returned by List operations with additional context, -// making sure to retain the StatusError type when applicable. -func EnhanceListError(err error, opts metav1.ListOptions, subj string) error { - if apierrors.IsResourceExpired(err) { - return err - } - if apierrors.IsBadRequest(err) || apierrors.IsNotFound(err) { - if se, ok := err.(*apierrors.StatusError); ok { - // modify the message without hiding this is an API error - if len(opts.LabelSelector) == 0 && len(opts.FieldSelector) == 0 { - se.ErrStatus.Message = fmt.Sprintf("Unable to list %q: %v", subj, - se.ErrStatus.Message) - } else { - se.ErrStatus.Message = fmt.Sprintf( - "Unable to find %q that match label selector %q, field selector %q: %v", subj, - opts.LabelSelector, - opts.FieldSelector, se.ErrStatus.Message) - } - return se - } - if len(opts.LabelSelector) == 0 && len(opts.FieldSelector) == 0 { - return fmt.Errorf("Unable to list %q: %v", subj, err) - } - return fmt.Errorf("Unable to find %q that match label selector %q, field selector %q: %v", - subj, opts.LabelSelector, opts.FieldSelector, err) - } - return err -} - -func (m *Helper) Watch(namespace, apiVersion string, options *metav1.ListOptions) (watch.Interface, error) { - options.Watch = true - return m.RESTClient.Get(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(m.Resource). - VersionedParams(options, metav1.ParameterCodec). - Watch(context.TODO()) -} - -func (m *Helper) WatchSingle(namespace, name, resourceVersion string) (watch.Interface, error) { - return m.RESTClient.Get(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(m.Resource). - VersionedParams(&metav1.ListOptions{ - ResourceVersion: resourceVersion, - Watch: true, - FieldSelector: fields.OneTermEqualSelector("metadata.name", name).String(), - }, metav1.ParameterCodec). - Watch(context.TODO()) -} - -func (m *Helper) Delete(namespace, name string) (runtime.Object, error) { - return m.DeleteWithOptions(namespace, name, nil) -} - -func (m *Helper) DeleteWithOptions(namespace, name string, options *metav1.DeleteOptions) (runtime.Object, error) { - if options == nil { - options = &metav1.DeleteOptions{} - } - if m.ServerDryRun { - options.DryRun = []string{metav1.DryRunAll} - } - - return m.RESTClient.Delete(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(m.Resource). - Name(name). - Body(options). - Do(context.TODO()). - Get() -} - -func (m *Helper) Create(namespace string, modify bool, obj runtime.Object) (runtime.Object, error) { - return m.CreateWithOptions(namespace, modify, obj, nil) -} - -func (m *Helper) CreateWithOptions(namespace string, modify bool, obj runtime.Object, options *metav1.CreateOptions) (runtime.Object, error) { - if options == nil { - options = &metav1.CreateOptions{} - } - if m.ServerDryRun { - options.DryRun = []string{metav1.DryRunAll} - } - if m.FieldManager != "" { - options.FieldManager = m.FieldManager - } - if m.FieldValidation != "" { - options.FieldValidation = m.FieldValidation - } - if modify { - // Attempt to version the object based on client logic. - version, err := metadataAccessor.ResourceVersion(obj) - if err != nil { - // We don't know how to clear the version on this object, so send it to the server as is - return m.createResource(m.RESTClient, m.Resource, namespace, obj, options) - } - if version != "" { - if err := metadataAccessor.SetResourceVersion(obj, ""); err != nil { - return nil, err - } - } - } - - return m.createResource(m.RESTClient, m.Resource, namespace, obj, options) -} - -func (m *Helper) createResource(c RESTClient, resource, namespace string, obj runtime.Object, options *metav1.CreateOptions) (runtime.Object, error) { - return c.Post(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(resource). - VersionedParams(options, metav1.ParameterCodec). - Body(obj). - Do(context.TODO()). - Get() -} -func (m *Helper) Patch(namespace, name string, pt types.PatchType, data []byte, options *metav1.PatchOptions) (runtime.Object, error) { - if options == nil { - options = &metav1.PatchOptions{} - } - if m.ServerDryRun { - options.DryRun = []string{metav1.DryRunAll} - } - if m.FieldManager != "" { - options.FieldManager = m.FieldManager - } - if m.FieldValidation != "" { - options.FieldValidation = m.FieldValidation - } - return m.RESTClient.Patch(pt). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(m.Resource). - Name(name). - SubResource(m.Subresource). - VersionedParams(options, metav1.ParameterCodec). - Body(data). - Do(context.TODO()). - Get() -} - -func (m *Helper) Replace(namespace, name string, overwrite bool, obj runtime.Object) (runtime.Object, error) { - c := m.RESTClient - var options = &metav1.UpdateOptions{} - if m.ServerDryRun { - options.DryRun = []string{metav1.DryRunAll} - } - if m.FieldManager != "" { - options.FieldManager = m.FieldManager - } - if m.FieldValidation != "" { - options.FieldValidation = m.FieldValidation - } - - // Attempt to version the object based on client logic. - version, err := metadataAccessor.ResourceVersion(obj) - if err != nil { - // We don't know how to version this object, so send it to the server as is - return m.replaceResource(c, m.Resource, namespace, name, obj, options) - } - if version == "" && overwrite { - // Retrieve the current version of the object to overwrite the server object - serverObj, err := c.Get().NamespaceIfScoped(namespace, m.NamespaceScoped).Resource(m.Resource).Name(name).SubResource(m.Subresource).Do(context.TODO()).Get() - if err != nil { - // The object does not exist, but we want it to be created - return m.replaceResource(c, m.Resource, namespace, name, obj, options) - } - serverVersion, err := metadataAccessor.ResourceVersion(serverObj) - if err != nil { - return nil, err - } - if err := metadataAccessor.SetResourceVersion(obj, serverVersion); err != nil { - return nil, err - } - } - - return m.replaceResource(c, m.Resource, namespace, name, obj, options) -} - -func (m *Helper) replaceResource(c RESTClient, resource, namespace, name string, obj runtime.Object, options *metav1.UpdateOptions) (runtime.Object, error) { - return c.Put(). - NamespaceIfScoped(namespace, m.NamespaceScoped). - Resource(resource). - Name(name). - SubResource(m.Subresource). - VersionedParams(options, metav1.ParameterCodec). - Body(obj). - Do(context.TODO()). - Get() -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/interfaces.go b/vendor/k8s.io/cli-runtime/pkg/resource/interfaces.go deleted file mode 100644 index 29d7b34a..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/interfaces.go +++ /dev/null @@ -1,103 +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 resource - -import ( - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/apimachinery/pkg/types" - "k8s.io/client-go/discovery" - "k8s.io/client-go/rest" - "k8s.io/client-go/restmapper" -) - -type RESTClientGetter interface { - ToRESTConfig() (*rest.Config, error) - ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) - ToRESTMapper() (meta.RESTMapper, error) -} - -type ClientConfigFunc func() (*rest.Config, error) -type RESTMapperFunc func() (meta.RESTMapper, error) -type CategoryExpanderFunc func() (restmapper.CategoryExpander, error) - -// RESTClient is a client helper for dealing with RESTful resources -// in a generic way. -type RESTClient interface { - Get() *rest.Request - Post() *rest.Request - Patch(types.PatchType) *rest.Request - Delete() *rest.Request - Put() *rest.Request -} - -// RequestTransform is a function that is given a chance to modify the outgoing request. -type RequestTransform func(*rest.Request) - -// NewClientWithOptions wraps the provided RESTClient and invokes each transform on each -// newly created request. -func NewClientWithOptions(c RESTClient, transforms ...RequestTransform) RESTClient { - if len(transforms) == 0 { - return c - } - return &clientOptions{c: c, transforms: transforms} -} - -type clientOptions struct { - c RESTClient - transforms []RequestTransform -} - -func (c *clientOptions) modify(req *rest.Request) *rest.Request { - for _, transform := range c.transforms { - transform(req) - } - return req -} - -func (c *clientOptions) Get() *rest.Request { - return c.modify(c.c.Get()) -} - -func (c *clientOptions) Post() *rest.Request { - return c.modify(c.c.Post()) -} -func (c *clientOptions) Patch(t types.PatchType) *rest.Request { - return c.modify(c.c.Patch(t)) -} -func (c *clientOptions) Delete() *rest.Request { - return c.modify(c.c.Delete()) -} -func (c *clientOptions) Put() *rest.Request { - return c.modify(c.c.Put()) -} - -// ContentValidator is an interface that knows how to validate an API object serialized to a byte array. -type ContentValidator interface { - ValidateBytes(data []byte) error -} - -// Visitor lets clients walk a list of resources. -type Visitor interface { - Visit(VisitorFunc) error -} - -// VisitorFunc implements the Visitor interface for a matching function. -// If there was a problem walking a list of resources, the incoming error -// will describe the problem and the function can decide how to handle that error. -// A nil returned indicates to accept an error to continue loops even when errors happen. -// This is useful for ignoring certain kinds of errors or aggregating errors in some way. -type VisitorFunc func(*Info, error) error diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/kustomizevisitor.go b/vendor/k8s.io/cli-runtime/pkg/resource/kustomizevisitor.go deleted file mode 100644 index 164891b8..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/kustomizevisitor.go +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2019 The 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 resource - -import ( - "bytes" - - "sigs.k8s.io/kustomize/api/krusty" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// KustomizeVisitor handles kustomization.yaml files. -type KustomizeVisitor struct { - mapper *mapper - schema ContentValidator - // Directory expected to contain a kustomization file. - dirPath string - // File system containing dirPath. - fSys filesys.FileSystem - // Holds result of kustomize build, retained for tests. - yml []byte -} - -// Visit passes the result of a kustomize build to a StreamVisitor. -func (v *KustomizeVisitor) Visit(fn VisitorFunc) error { - kOpts := krusty.MakeDefaultOptions() - kOpts.DoLegacyResourceSort = true - k := krusty.MakeKustomizer(kOpts) - m, err := k.Run(v.fSys, v.dirPath) - if err != nil { - return err - } - v.yml, err = m.AsYaml() - if err != nil { - return err - } - sv := NewStreamVisitor( - bytes.NewReader(v.yml), v.mapper, v.dirPath, v.schema) - return sv.Visit(fn) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/mapper.go b/vendor/k8s.io/cli-runtime/pkg/resource/mapper.go deleted file mode 100644 index 5180610e..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/mapper.go +++ /dev/null @@ -1,166 +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 resource - -import ( - "fmt" - "reflect" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// Mapper is a convenience struct for holding references to the interfaces -// needed to create Info for arbitrary objects. -type mapper struct { - // localFn indicates the call can't make server requests - localFn func() bool - - restMapperFn RESTMapperFunc - clientFn func(version schema.GroupVersion) (RESTClient, error) - decoder runtime.Decoder -} - -// InfoForData creates an Info object for the given data. An error is returned -// if any of the decoding or client lookup steps fail. Name and namespace will be -// set into Info if the mapping's MetadataAccessor can retrieve them. -func (m *mapper) infoForData(data []byte, source string) (*Info, error) { - obj, gvk, err := m.decoder.Decode(data, nil, nil) - if err != nil { - return nil, fmt.Errorf("unable to decode %q: %v", source, err) - } - - name, _ := metadataAccessor.Name(obj) - namespace, _ := metadataAccessor.Namespace(obj) - resourceVersion, _ := metadataAccessor.ResourceVersion(obj) - - ret := &Info{ - Source: source, - Namespace: namespace, - Name: name, - ResourceVersion: resourceVersion, - - Object: obj, - } - - if m.localFn == nil || !m.localFn() { - restMapper, err := m.restMapperFn() - if err != nil { - return nil, err - } - mapping, err := restMapper.RESTMapping(gvk.GroupKind(), gvk.Version) - if err != nil { - if _, ok := err.(*meta.NoKindMatchError); ok { - return nil, fmt.Errorf("resource mapping not found for name: %q namespace: %q from %q: %v\nensure CRDs are installed first", - name, namespace, source, err) - } - return nil, fmt.Errorf("unable to recognize %q: %v", source, err) - } - ret.Mapping = mapping - - client, err := m.clientFn(gvk.GroupVersion()) - if err != nil { - return nil, fmt.Errorf("unable to connect to a server to handle %q: %v", mapping.Resource, err) - } - ret.Client = client - } - - return ret, nil -} - -// InfoForObject creates an Info object for the given Object. An error is returned -// if the object cannot be introspected. Name and namespace will be set into Info -// if the mapping's MetadataAccessor can retrieve them. -func (m *mapper) infoForObject(obj runtime.Object, typer runtime.ObjectTyper, preferredGVKs []schema.GroupVersionKind) (*Info, error) { - groupVersionKinds, _, err := typer.ObjectKinds(obj) - if err != nil { - return nil, fmt.Errorf("unable to get type info from the object %q: %v", reflect.TypeOf(obj), err) - } - - gvk := groupVersionKinds[0] - if len(groupVersionKinds) > 1 && len(preferredGVKs) > 0 { - gvk = preferredObjectKind(groupVersionKinds, preferredGVKs) - } - - name, _ := metadataAccessor.Name(obj) - namespace, _ := metadataAccessor.Namespace(obj) - resourceVersion, _ := metadataAccessor.ResourceVersion(obj) - ret := &Info{ - Namespace: namespace, - Name: name, - ResourceVersion: resourceVersion, - - Object: obj, - } - - if m.localFn == nil || !m.localFn() { - restMapper, err := m.restMapperFn() - if err != nil { - return nil, err - } - mapping, err := restMapper.RESTMapping(gvk.GroupKind(), gvk.Version) - if err != nil { - return nil, fmt.Errorf("unable to recognize %v", err) - } - ret.Mapping = mapping - - client, err := m.clientFn(gvk.GroupVersion()) - if err != nil { - return nil, fmt.Errorf("unable to connect to a server to handle %q: %v", mapping.Resource, err) - } - ret.Client = client - } - - return ret, nil -} - -// preferredObjectKind picks the possibility that most closely matches the priority list in this order: -// GroupVersionKind matches (exact match) -// GroupKind matches -// Group matches -func preferredObjectKind(possibilities []schema.GroupVersionKind, preferences []schema.GroupVersionKind) schema.GroupVersionKind { - // Exact match - for _, priority := range preferences { - for _, possibility := range possibilities { - if possibility == priority { - return possibility - } - } - } - - // GroupKind match - for _, priority := range preferences { - for _, possibility := range possibilities { - if possibility.GroupKind() == priority.GroupKind() { - return possibility - } - } - } - - // Group match - for _, priority := range preferences { - for _, possibility := range possibilities { - if possibility.Group == priority.Group { - return possibility - } - } - } - - // Just pick the first - return possibilities[0] -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/metadata_decoder.go b/vendor/k8s.io/cli-runtime/pkg/resource/metadata_decoder.go deleted file mode 100644 index d688c3a0..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/metadata_decoder.go +++ /dev/null @@ -1,56 +0,0 @@ -/* -Copyright 2019 The 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 resource - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - utiljson "k8s.io/apimachinery/pkg/util/json" -) - -// metadataValidatingDecoder wraps a decoder and additionally ensures metadata schema fields decode before returning an unstructured object -type metadataValidatingDecoder struct { - decoder runtime.Decoder -} - -func (m *metadataValidatingDecoder) Decode(data []byte, defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { - obj, gvk, err := m.decoder.Decode(data, defaults, into) - - // if we already errored, return - if err != nil { - return obj, gvk, err - } - - // if we're not unstructured, return - if _, isUnstructured := obj.(runtime.Unstructured); !isUnstructured { - return obj, gvk, err - } - - // make sure the data can decode into ObjectMeta before we return, - // so we don't silently truncate schema errors in metadata later with accesser get/set calls - v := &metadataOnlyObject{} - if typedErr := utiljson.Unmarshal(data, v); typedErr != nil { - return obj, gvk, typedErr - } - return obj, gvk, err -} - -type metadataOnlyObject struct { - metav1.TypeMeta `json:",inline"` - metav1.ObjectMeta `json:"metadata,omitempty"` -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go b/vendor/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go deleted file mode 100644 index ab2e8d30..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/query_param_verifier.go +++ /dev/null @@ -1,166 +0,0 @@ -/* -Copyright 2019 The 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 resource - -import ( - "errors" - "fmt" - - openapi_v2 "github.com/google/gnostic/openapiv2" - yaml "gopkg.in/yaml.v2" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/client-go/discovery" - "k8s.io/client-go/dynamic" -) - -func NewQueryParamVerifier(dynamicClient dynamic.Interface, openAPIGetter discovery.OpenAPISchemaInterface, queryParam VerifiableQueryParam) *QueryParamVerifier { - return &QueryParamVerifier{ - finder: NewCRDFinder(CRDFromDynamic(dynamicClient)), - openAPIGetter: openAPIGetter, - queryParam: queryParam, - } -} - -// QueryParamVerifier verifies if a given group-version-kind supports a -// given VerifiableQueryParam against the current server. -// -// Currently supported query params are: -// 1. dryRun -// 2. fieldValidation -// -// Support for each of these query params needs to be verified because: -// -// 1. Sending dryRun requests to apiserver that -// don't support it will result in objects being unwillingly persisted. -// -// 2. We determine whether or not to perform server-side or client-side -// schema validation based on whether the fieldValidation query param is -// supported or not. -// -// It reads the OpenAPI to see if the given GVK supports the given query param. -// If the GVK can not be found, we assume that CRDs will have the same level of -// support as "namespaces", and non-CRDs will not be supported. We -// delay the check for CRDs as much as possible though, since it -// requires an extra round-trip to the server. -type QueryParamVerifier struct { - finder CRDFinder - openAPIGetter discovery.OpenAPISchemaInterface - queryParam VerifiableQueryParam -} - -// Verifier is the generic verifier interface used for testing QueryParamVerifier -type Verifier interface { - HasSupport(gvk schema.GroupVersionKind) error -} - -// VerifiableQueryParam is a query parameter who's enablement on the -// apiserver can be determined by evaluating the OpenAPI for a specific -// GVK. -type VerifiableQueryParam string - -const ( - QueryParamDryRun VerifiableQueryParam = "dryRun" - QueryParamFieldValidation VerifiableQueryParam = "fieldValidation" -) - -// HasSupport checks if the given gvk supports the query param configured on v -func (v *QueryParamVerifier) HasSupport(gvk schema.GroupVersionKind) error { - oapi, err := v.openAPIGetter.OpenAPISchema() - if err != nil { - return fmt.Errorf("failed to download openapi: %v", err) - } - supports, err := supportsQueryParam(oapi, gvk, v.queryParam) - if err != nil { - // We assume that we couldn't find the type, then check for namespace: - supports, _ = supportsQueryParam(oapi, schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Namespace"}, v.queryParam) - // If namespace supports the query param, then we will support the query param for CRDs only. - if supports { - supports, err = v.finder.HasCRD(gvk.GroupKind()) - if err != nil { - return fmt.Errorf("failed to check CRD: %v", err) - } - } - } - if !supports { - return NewParamUnsupportedError(gvk, v.queryParam) - } - return nil -} - -type paramUnsupportedError struct { - gvk schema.GroupVersionKind - param VerifiableQueryParam -} - -func NewParamUnsupportedError(gvk schema.GroupVersionKind, param VerifiableQueryParam) error { - return ¶mUnsupportedError{ - gvk: gvk, - param: param, - } -} - -func (e *paramUnsupportedError) Error() string { - return fmt.Sprintf("%v doesn't support %s", e.gvk, e.param) -} - -func IsParamUnsupportedError(err error) bool { - if err == nil { - return false - } - _, ok := err.(*paramUnsupportedError) - return ok -} - -func hasGVKExtension(extensions []*openapi_v2.NamedAny, gvk schema.GroupVersionKind) bool { - for _, extension := range extensions { - if extension.GetValue().GetYaml() == "" || - extension.GetName() != "x-kubernetes-group-version-kind" { - continue - } - var value map[string]string - err := yaml.Unmarshal([]byte(extension.GetValue().GetYaml()), &value) - if err != nil { - continue - } - - if value["group"] == gvk.Group && value["kind"] == gvk.Kind && value["version"] == gvk.Version { - return true - } - return false - } - return false -} - -// supportsQueryParam is a method that let's us look in the OpenAPI if the -// specific group-version-kind supports the specific query parameter for -// the PATCH end-point. -func supportsQueryParam(doc *openapi_v2.Document, gvk schema.GroupVersionKind, queryParam VerifiableQueryParam) (bool, error) { - for _, path := range doc.GetPaths().GetPath() { - // Is this describing the gvk we're looking for? - if !hasGVKExtension(path.GetValue().GetPatch().GetVendorExtension(), gvk) { - continue - } - for _, param := range path.GetValue().GetPatch().GetParameters() { - if param.GetParameter().GetNonBodyParameter().GetQueryParameterSubSchema().GetName() == string(queryParam) { - return true, nil - } - } - return false, nil - } - - return false, errors.New("couldn't find GVK in openapi") -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/result.go b/vendor/k8s.io/cli-runtime/pkg/resource/result.go deleted file mode 100644 index b8722afe..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/result.go +++ /dev/null @@ -1,242 +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 resource - -import ( - "fmt" - "reflect" - - "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/apimachinery/pkg/util/sets" - "k8s.io/apimachinery/pkg/watch" -) - -// ErrMatchFunc can be used to filter errors that may not be true failures. -type ErrMatchFunc func(error) bool - -// Result contains helper methods for dealing with the outcome of a Builder. -type Result struct { - err error - visitor Visitor - - sources []Visitor - singleItemImplied bool - targetsSingleItems bool - - mapper *mapper - ignoreErrors []utilerrors.Matcher - - // populated by a call to Infos - info []*Info -} - -// withError allows a fluent style for internal result code. -func (r *Result) withError(err error) *Result { - r.err = err - return r -} - -// TargetsSingleItems returns true if any of the builder arguments pointed -// to non-list calls (if the user explicitly asked for any object by name). -// This includes directories, streams, URLs, and resource name tuples. -func (r *Result) TargetsSingleItems() bool { - return r.targetsSingleItems -} - -// IgnoreErrors will filter errors that occur when by visiting the result -// (but not errors that occur by creating the result in the first place), -// eliminating any that match fns. This is best used in combination with -// Builder.ContinueOnError(), where the visitors accumulate errors and return -// them after visiting as a slice of errors. If no errors remain after -// filtering, the various visitor methods on Result will return nil for -// err. -func (r *Result) IgnoreErrors(fns ...ErrMatchFunc) *Result { - for _, fn := range fns { - r.ignoreErrors = append(r.ignoreErrors, utilerrors.Matcher(fn)) - } - return r -} - -// Mapper returns a copy of the builder's mapper. -func (r *Result) Mapper() *mapper { - return r.mapper -} - -// Err returns one or more errors (via a util.ErrorList) that occurred prior -// to visiting the elements in the visitor. To see all errors including those -// that occur during visitation, invoke Infos(). -func (r *Result) Err() error { - return r.err -} - -// Visit implements the Visitor interface on the items described in the Builder. -// Note that some visitor sources are not traversable more than once, or may -// return different results. If you wish to operate on the same set of resources -// multiple times, use the Infos() method. -func (r *Result) Visit(fn VisitorFunc) error { - if r.err != nil { - return r.err - } - err := r.visitor.Visit(fn) - return utilerrors.FilterOut(err, r.ignoreErrors...) -} - -// IntoSingleItemImplied sets the provided boolean pointer to true if the Builder input -// implies a single item, or multiple. -func (r *Result) IntoSingleItemImplied(b *bool) *Result { - *b = r.singleItemImplied - return r -} - -// Infos returns an array of all of the resource infos retrieved via traversal. -// Will attempt to traverse the entire set of visitors only once, and will return -// a cached list on subsequent calls. -func (r *Result) Infos() ([]*Info, error) { - if r.err != nil { - return nil, r.err - } - if r.info != nil { - return r.info, nil - } - - infos := []*Info{} - err := r.visitor.Visit(func(info *Info, err error) error { - if err != nil { - return err - } - infos = append(infos, info) - return nil - }) - err = utilerrors.FilterOut(err, r.ignoreErrors...) - - r.info, r.err = infos, err - return infos, err -} - -// Object returns a single object representing the output of a single visit to all -// found resources. If the Builder was a singular context (expected to return a -// single resource by user input) and only a single resource was found, the resource -// will be returned as is. Otherwise, the returned resources will be part of an -// v1.List. The ResourceVersion of the v1.List will be set only if it is identical -// across all infos returned. -func (r *Result) Object() (runtime.Object, error) { - infos, err := r.Infos() - if err != nil { - return nil, err - } - - versions := sets.String{} - objects := []runtime.Object{} - for _, info := range infos { - if info.Object != nil { - objects = append(objects, info.Object) - versions.Insert(info.ResourceVersion) - } - } - - if len(objects) == 1 { - if r.singleItemImplied { - return objects[0], nil - } - // if the item is a list already, don't create another list - if meta.IsListType(objects[0]) { - return objects[0], nil - } - } - - version := "" - if len(versions) == 1 { - version = versions.List()[0] - } - - return toV1List(objects, version), err -} - -// Compile time check to enforce that list implements the necessary interface -var _ metav1.ListInterface = &v1.List{} -var _ metav1.ListMetaAccessor = &v1.List{} - -// toV1List takes a slice of Objects + their version, and returns -// a v1.List Object containing the objects in the Items field -func toV1List(objects []runtime.Object, version string) runtime.Object { - raw := []runtime.RawExtension{} - for _, o := range objects { - raw = append(raw, runtime.RawExtension{Object: o}) - } - return &v1.List{ - ListMeta: metav1.ListMeta{ - ResourceVersion: version, - }, - Items: raw, - } -} - -// ResourceMapping returns a single meta.RESTMapping representing the -// resources located by the builder, or an error if more than one -// mapping was found. -func (r *Result) ResourceMapping() (*meta.RESTMapping, error) { - if r.err != nil { - return nil, r.err - } - mappings := map[schema.GroupVersionResource]*meta.RESTMapping{} - for i := range r.sources { - m, ok := r.sources[i].(ResourceMapping) - if !ok { - return nil, fmt.Errorf("a resource mapping could not be loaded from %v", reflect.TypeOf(r.sources[i])) - } - mapping := m.ResourceMapping() - mappings[mapping.Resource] = mapping - } - if len(mappings) != 1 { - return nil, fmt.Errorf("expected only a single resource type") - } - for _, mapping := range mappings { - return mapping, nil - } - return nil, nil -} - -// Watch retrieves changes that occur on the server to the specified resource. -// It currently supports watching a single source - if the resource source -// (selectors or pure types) can be watched, they will be, otherwise the list -// will be visited (equivalent to the Infos() call) and if there is a single -// resource present, it will be watched, otherwise an error will be returned. -func (r *Result) Watch(resourceVersion string) (watch.Interface, error) { - if r.err != nil { - return nil, r.err - } - if len(r.sources) != 1 { - return nil, fmt.Errorf("you may only watch a single resource or type of resource at a time") - } - w, ok := r.sources[0].(Watchable) - if !ok { - info, err := r.Infos() - if err != nil { - return nil, err - } - if len(info) != 1 { - return nil, fmt.Errorf("watch is only supported on individual resources and resource collections - %d resources were found", len(info)) - } - return info[0].Watch(resourceVersion) - } - return w.Watch(resourceVersion) -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/scheme.go b/vendor/k8s.io/cli-runtime/pkg/resource/scheme.go deleted file mode 100644 index 0a47d159..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/scheme.go +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright 2018 The 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 resource - -import ( - "encoding/json" - "io" - "strings" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/apimachinery/pkg/runtime/serializer" - "k8s.io/client-go/kubernetes/scheme" - "k8s.io/client-go/rest" -) - -// dynamicCodec is a codec that wraps the standard unstructured codec -// with special handling for Status objects. -// Deprecated only used by test code and its wrong -type dynamicCodec struct{} - -func (dynamicCodec) Decode(data []byte, gvk *schema.GroupVersionKind, obj runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { - obj, gvk, err := unstructured.UnstructuredJSONScheme.Decode(data, gvk, obj) - if err != nil { - return nil, nil, err - } - - if strings.ToLower(gvk.Kind) == "status" && gvk.Version == "v1" && (gvk.Group == "" || gvk.Group == "meta.k8s.io") { - if _, ok := obj.(*metav1.Status); !ok { - obj = &metav1.Status{} - err := json.Unmarshal(data, obj) - if err != nil { - return nil, nil, err - } - } - } - - return obj, gvk, nil -} - -func (dynamicCodec) Encode(obj runtime.Object, w io.Writer) error { - // There is no need to handle runtime.CacheableObject, as we only - // fallback to other encoders here. - return unstructured.UnstructuredJSONScheme.Encode(obj, w) -} - -// Identifier implements runtime.Encoder interface. -func (dynamicCodec) Identifier() runtime.Identifier { - return unstructured.UnstructuredJSONScheme.Identifier() -} - -// UnstructuredPlusDefaultContentConfig returns a rest.ContentConfig for dynamic types. It includes enough codecs to act as a "normal" -// serializer for the rest.client with options, status and the like. -func UnstructuredPlusDefaultContentConfig() rest.ContentConfig { - // TODO: scheme.Codecs here should become "pkg/apis/server/scheme" which is the minimal core you need - // to talk to a kubernetes server - jsonInfo, _ := runtime.SerializerInfoForMediaType(scheme.Codecs.SupportedMediaTypes(), runtime.ContentTypeJSON) - - jsonInfo.Serializer = dynamicCodec{} - jsonInfo.PrettySerializer = nil - return rest.ContentConfig{ - AcceptContentTypes: runtime.ContentTypeJSON, - ContentType: runtime.ContentTypeJSON, - NegotiatedSerializer: serializer.NegotiatedSerializerWrapper(jsonInfo), - } -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/selector.go b/vendor/k8s.io/cli-runtime/pkg/resource/selector.go deleted file mode 100644 index 2a283d4e..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/selector.go +++ /dev/null @@ -1,92 +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 resource - -import ( - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/watch" -) - -// Selector is a Visitor for resources that match a label selector. -type Selector struct { - Client RESTClient - Mapping *meta.RESTMapping - Namespace string - LabelSelector string - FieldSelector string - LimitChunks int64 -} - -// NewSelector creates a resource selector which hides details of getting items by their label selector. -func NewSelector(client RESTClient, mapping *meta.RESTMapping, namespace, labelSelector, fieldSelector string, limitChunks int64) *Selector { - return &Selector{ - Client: client, - Mapping: mapping, - Namespace: namespace, - LabelSelector: labelSelector, - FieldSelector: fieldSelector, - LimitChunks: limitChunks, - } -} - -// Visit implements Visitor and uses request chunking by default. -func (r *Selector) Visit(fn VisitorFunc) error { - helper := NewHelper(r.Client, r.Mapping) - initialOpts := metav1.ListOptions{ - LabelSelector: r.LabelSelector, - FieldSelector: r.FieldSelector, - Limit: r.LimitChunks, - } - return FollowContinue(&initialOpts, func(options metav1.ListOptions) (runtime.Object, error) { - list, err := helper.List( - r.Namespace, - r.ResourceMapping().GroupVersionKind.GroupVersion().String(), - &options, - ) - if err != nil { - return nil, EnhanceListError(err, options, r.Mapping.Resource.String()) - } - resourceVersion, _ := metadataAccessor.ResourceVersion(list) - - info := &Info{ - Client: r.Client, - Mapping: r.Mapping, - - Namespace: r.Namespace, - ResourceVersion: resourceVersion, - - Object: list, - } - - if err := fn(info, nil); err != nil { - return nil, err - } - return list, nil - }) -} - -func (r *Selector) Watch(resourceVersion string) (watch.Interface, error) { - return NewHelper(r.Client, r.Mapping).Watch(r.Namespace, r.ResourceMapping().GroupVersionKind.GroupVersion().String(), - &metav1.ListOptions{ResourceVersion: resourceVersion, LabelSelector: r.LabelSelector, FieldSelector: r.FieldSelector}) -} - -// ResourceMapping returns the mapping for this resource and implements ResourceMapping -func (r *Selector) ResourceMapping() *meta.RESTMapping { - return r.Mapping -} diff --git a/vendor/k8s.io/cli-runtime/pkg/resource/visitor.go b/vendor/k8s.io/cli-runtime/pkg/resource/visitor.go deleted file mode 100644 index d5df9f3d..00000000 --- a/vendor/k8s.io/cli-runtime/pkg/resource/visitor.go +++ /dev/null @@ -1,742 +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 resource - -import ( - "bytes" - "context" - "fmt" - "io" - "net/http" - "net/url" - "os" - "path/filepath" - "strings" - "time" - - "golang.org/x/text/encoding/unicode" - "golang.org/x/text/transform" - "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/apimachinery/pkg/util/yaml" - "k8s.io/apimachinery/pkg/watch" -) - -const ( - constSTDINstr = "STDIN" - stopValidateMessage = "if you choose to ignore these errors, turn validation off with --validate=false" -) - -// Watchable describes a resource that can be watched for changes that occur on the server, -// beginning after the provided resource version. -type Watchable interface { - Watch(resourceVersion string) (watch.Interface, error) -} - -// ResourceMapping allows an object to return the resource mapping associated with -// the resource or resources it represents. -type ResourceMapping interface { - ResourceMapping() *meta.RESTMapping -} - -// Info contains temporary info to execute a REST call, or show the results -// of an already completed REST call. -type Info struct { - // Client will only be present if this builder was not local - Client RESTClient - // Mapping will only be present if this builder was not local - Mapping *meta.RESTMapping - - // Namespace will be set if the object is namespaced and has a specified value. - Namespace string - Name string - - // Optional, Source is the filename or URL to template file (.json or .yaml), - // or stdin to use to handle the resource - Source string - // Optional, this is the most recent value returned by the server if available. It will - // typically be in unstructured or internal forms, depending on how the Builder was - // defined. If retrieved from the server, the Builder expects the mapping client to - // decide the final form. Use the AsVersioned, AsUnstructured, and AsInternal helpers - // to alter the object versions. - // If Subresource is specified, this will be the object for the subresource. - Object runtime.Object - // Optional, this is the most recent resource version the server knows about for - // this type of resource. It may not match the resource version of the object, - // but if set it should be equal to or newer than the resource version of the - // object (however the server defines resource version). - ResourceVersion string - // Optional, if specified, the object is the most recent value of the subresource - // returned by the server if available. - Subresource string -} - -// Visit implements Visitor -func (i *Info) Visit(fn VisitorFunc) error { - return fn(i, nil) -} - -// Get retrieves the object from the Namespace and Name fields -func (i *Info) Get() (err error) { - obj, err := NewHelper(i.Client, i.Mapping).WithSubresource(i.Subresource).Get(i.Namespace, i.Name) - if err != nil { - if errors.IsNotFound(err) && len(i.Namespace) > 0 && i.Namespace != metav1.NamespaceDefault && i.Namespace != metav1.NamespaceAll { - err2 := i.Client.Get().AbsPath("api", "v1", "namespaces", i.Namespace).Do(context.TODO()).Error() - if err2 != nil && errors.IsNotFound(err2) { - return err2 - } - } - return err - } - i.Object = obj - i.ResourceVersion, _ = metadataAccessor.ResourceVersion(obj) - return nil -} - -// Refresh updates the object with another object. If ignoreError is set -// the Object will be updated even if name, namespace, or resourceVersion -// attributes cannot be loaded from the object. -func (i *Info) Refresh(obj runtime.Object, ignoreError bool) error { - name, err := metadataAccessor.Name(obj) - if err != nil { - if !ignoreError { - return err - } - } else { - i.Name = name - } - namespace, err := metadataAccessor.Namespace(obj) - if err != nil { - if !ignoreError { - return err - } - } else { - i.Namespace = namespace - } - version, err := metadataAccessor.ResourceVersion(obj) - if err != nil { - if !ignoreError { - return err - } - } else { - i.ResourceVersion = version - } - i.Object = obj - return nil -} - -// ObjectName returns an approximate form of the resource's kind/name. -func (i *Info) ObjectName() string { - if i.Mapping != nil { - return fmt.Sprintf("%s/%s", i.Mapping.Resource.Resource, i.Name) - } - gvk := i.Object.GetObjectKind().GroupVersionKind() - if len(gvk.Group) == 0 { - return fmt.Sprintf("%s/%s", strings.ToLower(gvk.Kind), i.Name) - } - return fmt.Sprintf("%s.%s/%s\n", strings.ToLower(gvk.Kind), gvk.Group, i.Name) -} - -// String returns the general purpose string representation -func (i *Info) String() string { - basicInfo := fmt.Sprintf("Name: %q, Namespace: %q", i.Name, i.Namespace) - if i.Mapping != nil { - mappingInfo := fmt.Sprintf("Resource: %q, GroupVersionKind: %q", i.Mapping.Resource.String(), - i.Mapping.GroupVersionKind.String()) - return fmt.Sprint(mappingInfo, "\n", basicInfo) - } - return basicInfo -} - -// Namespaced returns true if the object belongs to a namespace -func (i *Info) Namespaced() bool { - if i.Mapping != nil { - // if we have RESTMapper info, use it - return i.Mapping.Scope.Name() == meta.RESTScopeNameNamespace - } - // otherwise, use the presence of a namespace in the info as an indicator - return len(i.Namespace) > 0 -} - -// Watch returns server changes to this object after it was retrieved. -func (i *Info) Watch(resourceVersion string) (watch.Interface, error) { - return NewHelper(i.Client, i.Mapping).WatchSingle(i.Namespace, i.Name, resourceVersion) -} - -// ResourceMapping returns the mapping for this resource and implements ResourceMapping -func (i *Info) ResourceMapping() *meta.RESTMapping { - return i.Mapping -} - -// VisitorList implements Visit for the sub visitors it contains. The first error -// returned from a child Visitor will terminate iteration. -type VisitorList []Visitor - -// Visit implements Visitor -func (l VisitorList) Visit(fn VisitorFunc) error { - for i := range l { - if err := l[i].Visit(fn); err != nil { - return err - } - } - return nil -} - -// EagerVisitorList implements Visit for the sub visitors it contains. All errors -// will be captured and returned at the end of iteration. -type EagerVisitorList []Visitor - -// Visit implements Visitor, and gathers errors that occur during processing until -// all sub visitors have been visited. -func (l EagerVisitorList) Visit(fn VisitorFunc) error { - var errs []error - for i := range l { - err := l[i].Visit(func(info *Info, err error) error { - if err != nil { - errs = append(errs, err) - return nil - } - if err := fn(info, nil); err != nil { - errs = append(errs, err) - } - return nil - }) - if err != nil { - errs = append(errs, err) - } - } - return utilerrors.NewAggregate(errs) -} - -func ValidateSchema(data []byte, schema ContentValidator) error { - if schema == nil { - return nil - } - if err := schema.ValidateBytes(data); err != nil { - return fmt.Errorf("error validating data: %v; %s", err, stopValidateMessage) - } - return nil -} - -// URLVisitor downloads the contents of a URL, and if successful, returns -// an info object representing the downloaded object. -type URLVisitor struct { - URL *url.URL - *StreamVisitor - HttpAttemptCount int -} - -func (v *URLVisitor) Visit(fn VisitorFunc) error { - body, err := readHttpWithRetries(httpgetImpl, time.Second, v.URL.String(), v.HttpAttemptCount) - if err != nil { - return err - } - defer body.Close() - v.StreamVisitor.Reader = body - return v.StreamVisitor.Visit(fn) -} - -// readHttpWithRetries tries to http.Get the v.URL retries times before giving up. -func readHttpWithRetries(get httpget, duration time.Duration, u string, attempts int) (io.ReadCloser, error) { - var err error - if attempts <= 0 { - return nil, fmt.Errorf("http attempts must be greater than 0, was %d", attempts) - } - for i := 0; i < attempts; i++ { - var ( - statusCode int - status string - body io.ReadCloser - ) - if i > 0 { - time.Sleep(duration) - } - - // Try to get the URL - statusCode, status, body, err = get(u) - - // Retry Errors - if err != nil { - continue - } - - if statusCode == http.StatusOK { - return body, nil - } - body.Close() - // Error - Set the error condition from the StatusCode - err = fmt.Errorf("unable to read URL %q, server reported %s, status code=%d", u, status, statusCode) - - if statusCode >= 500 && statusCode < 600 { - // Retry 500's - continue - } else { - // Don't retry other StatusCodes - break - } - } - return nil, err -} - -// httpget Defines function to retrieve a url and return the results. Exists for unit test stubbing. -type httpget func(url string) (int, string, io.ReadCloser, error) - -// httpgetImpl Implements a function to retrieve a url and return the results. -func httpgetImpl(url string) (int, string, io.ReadCloser, error) { - resp, err := http.Get(url) - if err != nil { - return 0, "", nil, err - } - return resp.StatusCode, resp.Status, resp.Body, nil -} - -// DecoratedVisitor will invoke the decorators in order prior to invoking the visitor function -// passed to Visit. An error will terminate the visit. -type DecoratedVisitor struct { - visitor Visitor - decorators []VisitorFunc -} - -// NewDecoratedVisitor will create a visitor that invokes the provided visitor functions before -// the user supplied visitor function is invoked, giving them the opportunity to mutate the Info -// object or terminate early with an error. -func NewDecoratedVisitor(v Visitor, fn ...VisitorFunc) Visitor { - if len(fn) == 0 { - return v - } - return DecoratedVisitor{v, fn} -} - -// Visit implements Visitor -func (v DecoratedVisitor) Visit(fn VisitorFunc) error { - return v.visitor.Visit(func(info *Info, err error) error { - if err != nil { - return err - } - for i := range v.decorators { - if err := v.decorators[i](info, nil); err != nil { - return err - } - } - return fn(info, nil) - }) -} - -// ContinueOnErrorVisitor visits each item and, if an error occurs on -// any individual item, returns an aggregate error after all items -// are visited. -type ContinueOnErrorVisitor struct { - Visitor -} - -// Visit returns nil if no error occurs during traversal, a regular -// error if one occurs, or if multiple errors occur, an aggregate -// error. If the provided visitor fails on any individual item it -// will not prevent the remaining items from being visited. An error -// returned by the visitor directly may still result in some items -// not being visited. -func (v ContinueOnErrorVisitor) Visit(fn VisitorFunc) error { - var errs []error - err := v.Visitor.Visit(func(info *Info, err error) error { - if err != nil { - errs = append(errs, err) - return nil - } - if err := fn(info, nil); err != nil { - errs = append(errs, err) - } - return nil - }) - if err != nil { - errs = append(errs, err) - } - if len(errs) == 1 { - return errs[0] - } - return utilerrors.NewAggregate(errs) -} - -// FlattenListVisitor flattens any objects that runtime.ExtractList recognizes as a list -// - has an "Items" public field that is a slice of runtime.Objects or objects satisfying -// that interface - into multiple Infos. Returns nil in the case of no errors. -// When an error is hit on sub items (for instance, if a List contains an object that does -// not have a registered client or resource), returns an aggregate error. -type FlattenListVisitor struct { - visitor Visitor - typer runtime.ObjectTyper - mapper *mapper -} - -// NewFlattenListVisitor creates a visitor that will expand list style runtime.Objects -// into individual items and then visit them individually. -func NewFlattenListVisitor(v Visitor, typer runtime.ObjectTyper, mapper *mapper) Visitor { - return FlattenListVisitor{v, typer, mapper} -} - -func (v FlattenListVisitor) Visit(fn VisitorFunc) error { - return v.visitor.Visit(func(info *Info, err error) error { - if err != nil { - return err - } - if info.Object == nil { - return fn(info, nil) - } - if !meta.IsListType(info.Object) { - return fn(info, nil) - } - - items := []runtime.Object{} - itemsToProcess := []runtime.Object{info.Object} - - for i := 0; i < len(itemsToProcess); i++ { - currObj := itemsToProcess[i] - if !meta.IsListType(currObj) { - items = append(items, currObj) - continue - } - - currItems, err := meta.ExtractList(currObj) - if err != nil { - return err - } - if errs := runtime.DecodeList(currItems, v.mapper.decoder); len(errs) > 0 { - return utilerrors.NewAggregate(errs) - } - itemsToProcess = append(itemsToProcess, currItems...) - } - - // If we have a GroupVersionKind on the list, prioritize that when asking for info on the objects contained in the list - var preferredGVKs []schema.GroupVersionKind - if info.Mapping != nil && !info.Mapping.GroupVersionKind.Empty() { - preferredGVKs = append(preferredGVKs, info.Mapping.GroupVersionKind) - } - var errs []error - for i := range items { - item, err := v.mapper.infoForObject(items[i], v.typer, preferredGVKs) - if err != nil { - errs = append(errs, err) - continue - } - if len(info.ResourceVersion) != 0 { - item.ResourceVersion = info.ResourceVersion - } - // propagate list source to items source - if len(info.Source) != 0 { - item.Source = info.Source - } - if err := fn(item, nil); err != nil { - errs = append(errs, err) - } - } - return utilerrors.NewAggregate(errs) - }) -} - -func ignoreFile(path string, extensions []string) bool { - if len(extensions) == 0 { - return false - } - ext := filepath.Ext(path) - for _, s := range extensions { - if s == ext { - return false - } - } - return true -} - -// FileVisitorForSTDIN return a special FileVisitor just for STDIN -func FileVisitorForSTDIN(mapper *mapper, schema ContentValidator) Visitor { - return &FileVisitor{ - Path: constSTDINstr, - StreamVisitor: NewStreamVisitor(nil, mapper, constSTDINstr, schema), - } -} - -// ExpandPathsToFileVisitors will return a slice of FileVisitors that will handle files from the provided path. -// After FileVisitors open the files, they will pass an io.Reader to a StreamVisitor to do the reading. (stdin -// is also taken care of). Paths argument also accepts a single file, and will return a single visitor -func ExpandPathsToFileVisitors(mapper *mapper, paths string, recursive bool, extensions []string, schema ContentValidator) ([]Visitor, error) { - var visitors []Visitor - err := filepath.Walk(paths, func(path string, fi os.FileInfo, err error) error { - if err != nil { - return err - } - - if fi.IsDir() { - if path != paths && !recursive { - return filepath.SkipDir - } - return nil - } - // Don't check extension if the filepath was passed explicitly - if path != paths && ignoreFile(path, extensions) { - return nil - } - - visitor := &FileVisitor{ - Path: path, - StreamVisitor: NewStreamVisitor(nil, mapper, path, schema), - } - - visitors = append(visitors, visitor) - return nil - }) - - if err != nil { - return nil, err - } - return visitors, nil -} - -// FileVisitor is wrapping around a StreamVisitor, to handle open/close files -type FileVisitor struct { - Path string - *StreamVisitor -} - -// Visit in a FileVisitor is just taking care of opening/closing files -func (v *FileVisitor) Visit(fn VisitorFunc) error { - var f *os.File - if v.Path == constSTDINstr { - f = os.Stdin - } else { - var err error - f, err = os.Open(v.Path) - if err != nil { - return err - } - defer f.Close() - } - - // TODO: Consider adding a flag to force to UTF16, apparently some - // Windows tools don't write the BOM - utf16bom := unicode.BOMOverride(unicode.UTF8.NewDecoder()) - v.StreamVisitor.Reader = transform.NewReader(f, utf16bom) - - return v.StreamVisitor.Visit(fn) -} - -// StreamVisitor reads objects from an io.Reader and walks them. A stream visitor can only be -// visited once. -// TODO: depends on objects being in JSON format before being passed to decode - need to implement -// a stream decoder method on runtime.Codec to properly handle this. -type StreamVisitor struct { - io.Reader - *mapper - - Source string - Schema ContentValidator -} - -// NewStreamVisitor is a helper function that is useful when we want to change the fields of the struct but keep calls the same. -func NewStreamVisitor(r io.Reader, mapper *mapper, source string, schema ContentValidator) *StreamVisitor { - return &StreamVisitor{ - Reader: r, - mapper: mapper, - Source: source, - Schema: schema, - } -} - -// Visit implements Visitor over a stream. StreamVisitor is able to distinct multiple resources in one stream. -func (v *StreamVisitor) Visit(fn VisitorFunc) error { - d := yaml.NewYAMLOrJSONDecoder(v.Reader, 4096) - for { - ext := runtime.RawExtension{} - if err := d.Decode(&ext); err != nil { - if err == io.EOF { - return nil - } - return fmt.Errorf("error parsing %s: %v", v.Source, err) - } - // TODO: This needs to be able to handle object in other encodings and schemas. - ext.Raw = bytes.TrimSpace(ext.Raw) - if len(ext.Raw) == 0 || bytes.Equal(ext.Raw, []byte("null")) { - continue - } - if err := ValidateSchema(ext.Raw, v.Schema); err != nil { - return fmt.Errorf("error validating %q: %v", v.Source, err) - } - info, err := v.infoForData(ext.Raw, v.Source) - if err != nil { - if fnErr := fn(info, err); fnErr != nil { - return fnErr - } - continue - } - if err := fn(info, nil); err != nil { - return err - } - } -} - -func UpdateObjectNamespace(info *Info, err error) error { - if err != nil { - return err - } - if info.Object != nil { - return metadataAccessor.SetNamespace(info.Object, info.Namespace) - } - return nil -} - -// FilterNamespace omits the namespace if the object is not namespace scoped -func FilterNamespace(info *Info, err error) error { - if err != nil { - return err - } - if !info.Namespaced() { - info.Namespace = "" - UpdateObjectNamespace(info, nil) - } - return nil -} - -// SetNamespace ensures that every Info object visited will have a namespace -// set. If info.Object is set, it will be mutated as well. -func SetNamespace(namespace string) VisitorFunc { - return func(info *Info, err error) error { - if err != nil { - return err - } - if !info.Namespaced() { - return nil - } - if len(info.Namespace) == 0 { - info.Namespace = namespace - UpdateObjectNamespace(info, nil) - } - return nil - } -} - -// RequireNamespace will either set a namespace if none is provided on the -// Info object, or if the namespace is set and does not match the provided -// value, returns an error. This is intended to guard against administrators -// accidentally operating on resources outside their namespace. -func RequireNamespace(namespace string) VisitorFunc { - return func(info *Info, err error) error { - if err != nil { - return err - } - if !info.Namespaced() { - return nil - } - if len(info.Namespace) == 0 { - info.Namespace = namespace - UpdateObjectNamespace(info, nil) - return nil - } - if info.Namespace != namespace { - return fmt.Errorf("the namespace from the provided object %q does not match the namespace %q. You must pass '--namespace=%s' to perform this operation.", info.Namespace, namespace, info.Namespace) - } - return nil - } -} - -// RetrieveLatest updates the Object on each Info by invoking a standard client -// Get. -func RetrieveLatest(info *Info, err error) error { - if err != nil { - return err - } - if meta.IsListType(info.Object) { - return fmt.Errorf("watch is only supported on individual resources and resource collections, but a list of resources is found") - } - if len(info.Name) == 0 { - return nil - } - if info.Namespaced() && len(info.Namespace) == 0 { - return fmt.Errorf("no namespace set on resource %s %q", info.Mapping.Resource, info.Name) - } - return info.Get() -} - -// RetrieveLazy updates the object if it has not been loaded yet. -func RetrieveLazy(info *Info, err error) error { - if err != nil { - return err - } - if info.Object == nil { - return info.Get() - } - return nil -} - -type FilterFunc func(info *Info, err error) (bool, error) - -type FilteredVisitor struct { - visitor Visitor - filters []FilterFunc -} - -func NewFilteredVisitor(v Visitor, fn ...FilterFunc) Visitor { - if len(fn) == 0 { - return v - } - return FilteredVisitor{v, fn} -} - -func (v FilteredVisitor) Visit(fn VisitorFunc) error { - return v.visitor.Visit(func(info *Info, err error) error { - if err != nil { - return err - } - for _, filter := range v.filters { - ok, err := filter(info, nil) - if err != nil { - return err - } - if !ok { - return nil - } - } - return fn(info, nil) - }) -} - -func FilterByLabelSelector(s labels.Selector) FilterFunc { - return func(info *Info, err error) (bool, error) { - if err != nil { - return false, err - } - a, err := meta.Accessor(info.Object) - if err != nil { - return false, err - } - if !s.Matches(labels.Set(a.GetLabels())) { - return false, nil - } - return true, nil - } -} - -type InfoListVisitor []*Info - -func (infos InfoListVisitor) Visit(fn VisitorFunc) error { - var err error - for _, i := range infos { - err = fn(i, err) - } - return err -} diff --git a/vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go b/vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go deleted file mode 100644 index d3082d1e..00000000 --- a/vendor/k8s.io/client-go/discovery/cached/disk/cached_discovery.go +++ /dev/null @@ -1,312 +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 disk - -import ( - "errors" - "io/ioutil" - "net/http" - "os" - "path/filepath" - "sync" - "time" - - openapi_v2 "github.com/google/gnostic/openapiv2" - "k8s.io/klog/v2" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/version" - "k8s.io/client-go/discovery" - "k8s.io/client-go/kubernetes/scheme" - "k8s.io/client-go/openapi" - cachedopenapi "k8s.io/client-go/openapi/cached" - restclient "k8s.io/client-go/rest" -) - -// CachedDiscoveryClient implements the functions that discovery server-supported API groups, -// versions and resources. -type CachedDiscoveryClient struct { - delegate discovery.DiscoveryInterface - - // cacheDirectory is the directory where discovery docs are held. It must be unique per host:port combination to work well. - cacheDirectory string - - // ttl is how long the cache should be considered valid - ttl time.Duration - - // mutex protects the variables below - mutex sync.Mutex - - // ourFiles are all filenames of cache files created by this process - ourFiles map[string]struct{} - // invalidated is true if all cache files should be ignored that are not ours (e.g. after Invalidate() was called) - invalidated bool - // fresh is true if all used cache files were ours - fresh bool - - // caching openapi v3 client which wraps the delegate's client - openapiClient openapi.Client -} - -var _ discovery.CachedDiscoveryInterface = &CachedDiscoveryClient{} - -// ServerResourcesForGroupVersion returns the supported resources for a group and version. -func (d *CachedDiscoveryClient) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error) { - filename := filepath.Join(d.cacheDirectory, groupVersion, "serverresources.json") - cachedBytes, err := d.getCachedFile(filename) - // don't fail on errors, we either don't have a file or won't be able to run the cached check. Either way we can fallback. - if err == nil { - cachedResources := &metav1.APIResourceList{} - if err := runtime.DecodeInto(scheme.Codecs.UniversalDecoder(), cachedBytes, cachedResources); err == nil { - klog.V(10).Infof("returning cached discovery info from %v", filename) - return cachedResources, nil - } - } - - liveResources, err := d.delegate.ServerResourcesForGroupVersion(groupVersion) - if err != nil { - klog.V(3).Infof("skipped caching discovery info due to %v", err) - return liveResources, err - } - if liveResources == nil || len(liveResources.APIResources) == 0 { - klog.V(3).Infof("skipped caching discovery info, no resources found") - return liveResources, err - } - - if err := d.writeCachedFile(filename, liveResources); err != nil { - klog.V(1).Infof("failed to write cache to %v due to %v", filename, err) - } - - return liveResources, nil -} - -// ServerGroupsAndResources returns the supported groups and resources for all groups and versions. -func (d *CachedDiscoveryClient) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error) { - return discovery.ServerGroupsAndResources(d) -} - -// ServerGroups returns the supported groups, with information like supported versions and the -// preferred version. -func (d *CachedDiscoveryClient) ServerGroups() (*metav1.APIGroupList, error) { - filename := filepath.Join(d.cacheDirectory, "servergroups.json") - cachedBytes, err := d.getCachedFile(filename) - // don't fail on errors, we either don't have a file or won't be able to run the cached check. Either way we can fallback. - if err == nil { - cachedGroups := &metav1.APIGroupList{} - if err := runtime.DecodeInto(scheme.Codecs.UniversalDecoder(), cachedBytes, cachedGroups); err == nil { - klog.V(10).Infof("returning cached discovery info from %v", filename) - return cachedGroups, nil - } - } - - liveGroups, err := d.delegate.ServerGroups() - if err != nil { - klog.V(3).Infof("skipped caching discovery info due to %v", err) - return liveGroups, err - } - if liveGroups == nil || len(liveGroups.Groups) == 0 { - klog.V(3).Infof("skipped caching discovery info, no groups found") - return liveGroups, err - } - - if err := d.writeCachedFile(filename, liveGroups); err != nil { - klog.V(1).Infof("failed to write cache to %v due to %v", filename, err) - } - - return liveGroups, nil -} - -func (d *CachedDiscoveryClient) getCachedFile(filename string) ([]byte, error) { - // after invalidation ignore cache files not created by this process - d.mutex.Lock() - _, ourFile := d.ourFiles[filename] - if d.invalidated && !ourFile { - d.mutex.Unlock() - return nil, errors.New("cache invalidated") - } - d.mutex.Unlock() - - file, err := os.Open(filename) - if err != nil { - return nil, err - } - defer file.Close() - - fileInfo, err := file.Stat() - if err != nil { - return nil, err - } - - if time.Now().After(fileInfo.ModTime().Add(d.ttl)) { - return nil, errors.New("cache expired") - } - - // the cache is present and its valid. Try to read and use it. - cachedBytes, err := ioutil.ReadAll(file) - if err != nil { - return nil, err - } - - d.mutex.Lock() - defer d.mutex.Unlock() - d.fresh = d.fresh && ourFile - - return cachedBytes, nil -} - -func (d *CachedDiscoveryClient) writeCachedFile(filename string, obj runtime.Object) error { - if err := os.MkdirAll(filepath.Dir(filename), 0750); err != nil { - return err - } - - bytes, err := runtime.Encode(scheme.Codecs.LegacyCodec(), obj) - if err != nil { - return err - } - - f, err := ioutil.TempFile(filepath.Dir(filename), filepath.Base(filename)+".") - if err != nil { - return err - } - defer os.Remove(f.Name()) - _, err = f.Write(bytes) - if err != nil { - return err - } - - err = os.Chmod(f.Name(), 0660) - if err != nil { - return err - } - - name := f.Name() - err = f.Close() - if err != nil { - return err - } - - // atomic rename - d.mutex.Lock() - defer d.mutex.Unlock() - err = os.Rename(name, filename) - if err == nil { - d.ourFiles[filename] = struct{}{} - } - return err -} - -// RESTClient returns a RESTClient that is used to communicate with API server -// by this client implementation. -func (d *CachedDiscoveryClient) RESTClient() restclient.Interface { - return d.delegate.RESTClient() -} - -// ServerPreferredResources returns the supported resources with the version preferred by the -// server. -func (d *CachedDiscoveryClient) ServerPreferredResources() ([]*metav1.APIResourceList, error) { - return discovery.ServerPreferredResources(d) -} - -// ServerPreferredNamespacedResources returns the supported namespaced resources with the -// version preferred by the server. -func (d *CachedDiscoveryClient) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error) { - return discovery.ServerPreferredNamespacedResources(d) -} - -// ServerVersion retrieves and parses the server's version (git version). -func (d *CachedDiscoveryClient) ServerVersion() (*version.Info, error) { - return d.delegate.ServerVersion() -} - -// OpenAPISchema retrieves and parses the swagger API schema the server supports. -func (d *CachedDiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error) { - return d.delegate.OpenAPISchema() -} - -// OpenAPIV3 retrieves and parses the OpenAPIV3 specs exposed by the server -func (d *CachedDiscoveryClient) OpenAPIV3() openapi.Client { - // Must take lock since Invalidate call may modify openapiClient - d.mutex.Lock() - defer d.mutex.Unlock() - - if d.openapiClient == nil { - // Delegate is discovery client created with special HTTP client which - // respects E-Tag cache responses to serve cache from disk. - d.openapiClient = cachedopenapi.NewClient(d.delegate.OpenAPIV3()) - } - - return d.openapiClient -} - -// Fresh is supposed to tell the caller whether or not to retry if the cache -// fails to find something (false = retry, true = no need to retry). -func (d *CachedDiscoveryClient) Fresh() bool { - d.mutex.Lock() - defer d.mutex.Unlock() - - return d.fresh -} - -// Invalidate enforces that no cached data is used in the future that is older than the current time. -func (d *CachedDiscoveryClient) Invalidate() { - d.mutex.Lock() - defer d.mutex.Unlock() - - d.ourFiles = map[string]struct{}{} - d.fresh = true - d.invalidated = true - d.openapiClient = nil -} - -// NewCachedDiscoveryClientForConfig creates a new DiscoveryClient for the given config, and wraps -// the created client in a CachedDiscoveryClient. The provided configuration is updated with a -// custom transport that understands cache responses. -// We receive two distinct cache directories for now, in order to preserve old behavior -// which makes use of the --cache-dir flag value for storing cache data from the CacheRoundTripper, -// and makes use of the hardcoded destination (~/.kube/cache/discovery/...) for storing -// CachedDiscoveryClient cache data. If httpCacheDir is empty, the restconfig's transport will not -// be updated with a roundtripper that understands cache responses. -// If discoveryCacheDir is empty, cached server resource data will be looked up in the current directory. -func NewCachedDiscoveryClientForConfig(config *restclient.Config, discoveryCacheDir, httpCacheDir string, ttl time.Duration) (*CachedDiscoveryClient, error) { - if len(httpCacheDir) > 0 { - // update the given restconfig with a custom roundtripper that - // understands how to handle cache responses. - config = restclient.CopyConfig(config) - config.Wrap(func(rt http.RoundTripper) http.RoundTripper { - return newCacheRoundTripper(httpCacheDir, rt) - }) - } - - discoveryClient, err := discovery.NewDiscoveryClientForConfig(config) - if err != nil { - return nil, err - } - - return newCachedDiscoveryClient(discoveryClient, discoveryCacheDir, ttl), nil -} - -// NewCachedDiscoveryClient creates a new DiscoveryClient. cacheDirectory is the directory where discovery docs are held. It must be unique per host:port combination to work well. -func newCachedDiscoveryClient(delegate discovery.DiscoveryInterface, cacheDirectory string, ttl time.Duration) *CachedDiscoveryClient { - return &CachedDiscoveryClient{ - delegate: delegate, - cacheDirectory: cacheDirectory, - ttl: ttl, - ourFiles: map[string]struct{}{}, - fresh: true, - } -} diff --git a/vendor/k8s.io/client-go/discovery/cached/disk/round_tripper.go b/vendor/k8s.io/client-go/discovery/cached/disk/round_tripper.go deleted file mode 100644 index bda2e5cf..00000000 --- a/vendor/k8s.io/client-go/discovery/cached/disk/round_tripper.go +++ /dev/null @@ -1,65 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package disk - -import ( - "net/http" - "os" - "path/filepath" - - "github.com/gregjones/httpcache" - "github.com/gregjones/httpcache/diskcache" - "github.com/peterbourgon/diskv" - "k8s.io/klog/v2" -) - -type cacheRoundTripper struct { - rt *httpcache.Transport -} - -// newCacheRoundTripper creates a roundtripper that reads the ETag on -// response headers and send the If-None-Match header on subsequent -// corresponding requests. -func newCacheRoundTripper(cacheDir string, rt http.RoundTripper) http.RoundTripper { - d := diskv.New(diskv.Options{ - PathPerm: os.FileMode(0750), - FilePerm: os.FileMode(0660), - BasePath: cacheDir, - TempDir: filepath.Join(cacheDir, ".diskv-temp"), - }) - t := httpcache.NewTransport(diskcache.NewWithDiskv(d)) - t.Transport = rt - - return &cacheRoundTripper{rt: t} -} - -func (rt *cacheRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { - return rt.rt.RoundTrip(req) -} - -func (rt *cacheRoundTripper) CancelRequest(req *http.Request) { - type canceler interface { - CancelRequest(*http.Request) - } - if cr, ok := rt.rt.Transport.(canceler); ok { - cr.CancelRequest(req) - } else { - klog.Errorf("CancelRequest not implemented by %T", rt.rt.Transport) - } -} - -func (rt *cacheRoundTripper) WrappedRoundTripper() http.RoundTripper { return rt.rt.Transport } diff --git a/vendor/k8s.io/client-go/openapi/cached/client.go b/vendor/k8s.io/client-go/openapi/cached/client.go deleted file mode 100644 index 17f63ed2..00000000 --- a/vendor/k8s.io/client-go/openapi/cached/client.go +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package cached - -import ( - "sync" - - "k8s.io/client-go/openapi" -) - -type client struct { - delegate openapi.Client - - once sync.Once - result map[string]openapi.GroupVersion - err error -} - -func NewClient(other openapi.Client) openapi.Client { - return &client{ - delegate: other, - } -} - -func (c *client) Paths() (map[string]openapi.GroupVersion, error) { - c.once.Do(func() { - uncached, err := c.delegate.Paths() - if err != nil { - c.err = err - return - } - - result := make(map[string]openapi.GroupVersion, len(uncached)) - for k, v := range uncached { - result[k] = newGroupVersion(v) - } - c.result = result - }) - return c.result, c.err -} diff --git a/vendor/k8s.io/client-go/openapi/cached/groupversion.go b/vendor/k8s.io/client-go/openapi/cached/groupversion.go deleted file mode 100644 index ba78b048..00000000 --- a/vendor/k8s.io/client-go/openapi/cached/groupversion.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package cached - -import ( - "sync" - - openapi_v3 "github.com/google/gnostic/openapiv3" - "k8s.io/client-go/openapi" -) - -type groupversion struct { - delegate openapi.GroupVersion - once sync.Once - doc *openapi_v3.Document - err error -} - -func newGroupVersion(delegate openapi.GroupVersion) *groupversion { - return &groupversion{ - delegate: delegate, - } -} - -func (g *groupversion) Schema() (*openapi_v3.Document, error) { - g.once.Do(func() { - g.doc, g.err = g.delegate.Schema() - }) - - return g.doc, g.err -} diff --git a/vendor/k8s.io/client-go/scale/client.go b/vendor/k8s.io/client-go/scale/client.go deleted file mode 100644 index 1306b37d..00000000 --- a/vendor/k8s.io/client-go/scale/client.go +++ /dev/null @@ -1,238 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package scale - -import ( - "context" - "fmt" - - autoscaling "k8s.io/api/autoscaling/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - "k8s.io/apimachinery/pkg/types" - "k8s.io/client-go/dynamic" - restclient "k8s.io/client-go/rest" -) - -var scaleConverter = NewScaleConverter() -var codecs = serializer.NewCodecFactory(scaleConverter.Scheme()) -var parameterScheme = runtime.NewScheme() -var dynamicParameterCodec = runtime.NewParameterCodec(parameterScheme) - -var versionV1 = schema.GroupVersion{Version: "v1"} - -func init() { - metav1.AddToGroupVersion(parameterScheme, versionV1) -} - -// scaleClient is an implementation of ScalesGetter -// which makes use of a RESTMapper and a generic REST -// client to support an discoverable resource. -// It behaves somewhat similarly to the dynamic ClientPool, -// but is more specifically scoped to Scale. -type scaleClient struct { - mapper PreferredResourceMapper - - apiPathResolverFunc dynamic.APIPathResolverFunc - scaleKindResolver ScaleKindResolver - clientBase restclient.Interface -} - -// NewForConfig creates a new ScalesGetter which resolves kinds -// to resources using the given RESTMapper, and API paths using -// the given dynamic.APIPathResolverFunc. -func NewForConfig(cfg *restclient.Config, mapper PreferredResourceMapper, resolver dynamic.APIPathResolverFunc, scaleKindResolver ScaleKindResolver) (ScalesGetter, error) { - // so that the RESTClientFor doesn't complain - cfg.GroupVersion = &schema.GroupVersion{} - - cfg.NegotiatedSerializer = codecs.WithoutConversion() - if len(cfg.UserAgent) == 0 { - cfg.UserAgent = restclient.DefaultKubernetesUserAgent() - } - - client, err := restclient.RESTClientFor(cfg) - if err != nil { - return nil, err - } - - return New(client, mapper, resolver, scaleKindResolver), nil -} - -// New creates a new ScalesGetter using the given client to make requests. -// The GroupVersion on the client is ignored. -func New(baseClient restclient.Interface, mapper PreferredResourceMapper, resolver dynamic.APIPathResolverFunc, scaleKindResolver ScaleKindResolver) ScalesGetter { - return &scaleClient{ - mapper: mapper, - - apiPathResolverFunc: resolver, - scaleKindResolver: scaleKindResolver, - clientBase: baseClient, - } -} - -// apiPathFor returns the absolute api path for the given GroupVersion -func (c *scaleClient) apiPathFor(groupVer schema.GroupVersion) string { - // we need to set the API path based on GroupVersion (defaulting to the legacy path if none is set) - // TODO: we "cheat" here since the API path really only depends on group ATM, but this should - // *probably* take GroupVersionResource and not GroupVersionKind. - apiPath := c.apiPathResolverFunc(groupVer.WithKind("")) - if apiPath == "" { - apiPath = "/api" - } - - return restclient.DefaultVersionedAPIPath(apiPath, groupVer) -} - -// pathAndVersionFor returns the appropriate base path and the associated full GroupVersionResource -// for the given GroupResource -func (c *scaleClient) pathAndVersionFor(resource schema.GroupResource) (string, schema.GroupVersionResource, error) { - gvr, err := c.mapper.ResourceFor(resource.WithVersion("")) - if err != nil { - return "", gvr, fmt.Errorf("unable to get full preferred group-version-resource for %s: %v", resource.String(), err) - } - - groupVer := gvr.GroupVersion() - - return c.apiPathFor(groupVer), gvr, nil -} - -// namespacedScaleClient is an ScaleInterface for fetching -// Scales in a given namespace. -type namespacedScaleClient struct { - client *scaleClient - namespace string -} - -// convertToScale converts the response body to autoscaling/v1.Scale -func convertToScale(result *restclient.Result) (*autoscaling.Scale, error) { - scaleBytes, err := result.Raw() - if err != nil { - return nil, err - } - decoder := scaleConverter.codecs.UniversalDecoder(scaleConverter.ScaleVersions()...) - rawScaleObj, err := runtime.Decode(decoder, scaleBytes) - if err != nil { - return nil, err - } - - // convert whatever this is to autoscaling/v1.Scale - scaleObj, err := scaleConverter.ConvertToVersion(rawScaleObj, autoscaling.SchemeGroupVersion) - if err != nil { - return nil, fmt.Errorf("received an object from a /scale endpoint which was not convertible to autoscaling Scale: %v", err) - } - - return scaleObj.(*autoscaling.Scale), nil -} - -func (c *scaleClient) Scales(namespace string) ScaleInterface { - return &namespacedScaleClient{ - client: c, - namespace: namespace, - } -} - -func (c *namespacedScaleClient) Get(ctx context.Context, resource schema.GroupResource, name string, opts metav1.GetOptions) (*autoscaling.Scale, error) { - // Currently, a /scale endpoint can return different scale types. - // Until we have support for the alternative API representations proposal, - // we need to deal with accepting different API versions. - // In practice, this is autoscaling/v1.Scale and extensions/v1beta1.Scale - - path, gvr, err := c.client.pathAndVersionFor(resource) - if err != nil { - return nil, fmt.Errorf("unable to get client for %s: %v", resource.String(), err) - } - - result := c.client.clientBase.Get(). - AbsPath(path). - NamespaceIfScoped(c.namespace, c.namespace != ""). - Resource(gvr.Resource). - Name(name). - SubResource("scale"). - SpecificallyVersionedParams(&opts, dynamicParameterCodec, versionV1). - Do(ctx) - if err := result.Error(); err != nil { - return nil, err - } - - return convertToScale(&result) -} - -func (c *namespacedScaleClient) Update(ctx context.Context, resource schema.GroupResource, scale *autoscaling.Scale, opts metav1.UpdateOptions) (*autoscaling.Scale, error) { - path, gvr, err := c.client.pathAndVersionFor(resource) - if err != nil { - return nil, fmt.Errorf("unable to get client for %s: %v", resource.String(), err) - } - - // Currently, a /scale endpoint can receive and return different scale types. - // Until we have support for the alternative API representations proposal, - // we need to deal with sending and accepting different API versions. - - // figure out what scale we actually need here - desiredGVK, err := c.client.scaleKindResolver.ScaleForResource(gvr) - if err != nil { - return nil, fmt.Errorf("could not find proper group-version for scale subresource of %s: %v", gvr.String(), err) - } - - // convert this to whatever this endpoint wants - scaleUpdate, err := scaleConverter.ConvertToVersion(scale, desiredGVK.GroupVersion()) - if err != nil { - return nil, fmt.Errorf("could not convert scale update to external Scale: %v", err) - } - encoder := scaleConverter.codecs.LegacyCodec(desiredGVK.GroupVersion()) - scaleUpdateBytes, err := runtime.Encode(encoder, scaleUpdate) - if err != nil { - return nil, fmt.Errorf("could not encode scale update to external Scale: %v", err) - } - - result := c.client.clientBase.Put(). - AbsPath(path). - NamespaceIfScoped(c.namespace, c.namespace != ""). - Resource(gvr.Resource). - Name(scale.Name). - SubResource("scale"). - SpecificallyVersionedParams(&opts, dynamicParameterCodec, versionV1). - Body(scaleUpdateBytes). - Do(ctx) - if err := result.Error(); err != nil { - // propagate "raw" error from the API - // this allows callers to interpret underlying Reason field - // for example: errors.IsConflict(err) - return nil, err - } - - return convertToScale(&result) -} - -func (c *namespacedScaleClient) Patch(ctx context.Context, gvr schema.GroupVersionResource, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions) (*autoscaling.Scale, error) { - groupVersion := gvr.GroupVersion() - result := c.client.clientBase.Patch(pt). - AbsPath(c.client.apiPathFor(groupVersion)). - NamespaceIfScoped(c.namespace, c.namespace != ""). - Resource(gvr.Resource). - Name(name). - SubResource("scale"). - SpecificallyVersionedParams(&opts, dynamicParameterCodec, versionV1). - Body(data). - Do(ctx) - if err := result.Error(); err != nil { - return nil, err - } - - return convertToScale(&result) -} diff --git a/vendor/k8s.io/client-go/scale/doc.go b/vendor/k8s.io/client-go/scale/doc.go deleted file mode 100644 index b6fa3f5f..00000000 --- a/vendor/k8s.io/client-go/scale/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package scale provides a polymorphic scale client capable of fetching -// and updating Scale for any resource which implements the `scale` subresource, -// as long as that subresource operates on a version of scale convertable to -// autoscaling.Scale. -package scale // import "k8s.io/client-go/scale" diff --git a/vendor/k8s.io/client-go/scale/interfaces.go b/vendor/k8s.io/client-go/scale/interfaces.go deleted file mode 100644 index a7bb3e6c..00000000 --- a/vendor/k8s.io/client-go/scale/interfaces.go +++ /dev/null @@ -1,47 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package scale - -import ( - "context" - - autoscalingapi "k8s.io/api/autoscaling/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/apimachinery/pkg/types" -) - -// ScalesGetter can produce a ScaleInterface -type ScalesGetter interface { - // Scales produces a ScaleInterface for a particular namespace. - // Set namespace to the empty string for non-namespaced resources. - Scales(namespace string) ScaleInterface -} - -// ScaleInterface can fetch and update scales for -// resources in a particular namespace which implement -// the scale subresource. -type ScaleInterface interface { - // Get fetches the scale of the given scalable resource. - Get(ctx context.Context, resource schema.GroupResource, name string, opts metav1.GetOptions) (*autoscalingapi.Scale, error) - - // Update updates the scale of the given scalable resource. - Update(ctx context.Context, resource schema.GroupResource, scale *autoscalingapi.Scale, opts metav1.UpdateOptions) (*autoscalingapi.Scale, error) - - // Patch patches the scale of the given scalable resource. - Patch(ctx context.Context, gvr schema.GroupVersionResource, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions) (*autoscalingapi.Scale, error) -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsint/doc.go b/vendor/k8s.io/client-go/scale/scheme/appsint/doc.go deleted file mode 100644 index 16f29e2a..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsint/doc.go +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package appsint contains the necessary scaffolding of the -// internal version of extensions as required by conversion logic. -// It doesn't have any of its own types -- it's just necessary to -// get the expected behavior out of runtime.Scheme.ConvertToVersion -// and associated methods. -package appsint diff --git a/vendor/k8s.io/client-go/scale/scheme/appsint/register.go b/vendor/k8s.io/client-go/scale/scheme/appsint/register.go deleted file mode 100644 index d3a76b51..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsint/register.go +++ /dev/null @@ -1,55 +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 appsint - -import ( - appsv1beta2 "k8s.io/api/apps/v1beta2" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - scalescheme "k8s.io/client-go/scale/scheme" -) - -// GroupName is the group name use in this package -const GroupName = appsv1beta2.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal} - -// Kind takes an unqualified kind and returns a Group qualified GroupKind -func Kind(kind string) schema.GroupKind { - return SchemeGroupVersion.WithKind(kind).GroupKind() -} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - // SchemeBuilder points to a list of functions added to Scheme. - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - // AddToScheme applies all the stored functions to the scheme. - AddToScheme = SchemeBuilder.AddToScheme -) - -// Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &scalescheme.Scale{}, - ) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/conversion.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/conversion.go deleted file mode 100644 index f271c825..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/conversion.go +++ /dev/null @@ -1,73 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package appsv1beta1 - -import ( - "fmt" - - v1beta1 "k8s.io/api/apps/v1beta1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/conversion" - scheme "k8s.io/client-go/scale/scheme" -) - -func Convert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(in *scheme.ScaleStatus, out *v1beta1.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - out.Selector = nil - out.TargetSelector = "" - if in.Selector != nil { - if in.Selector.MatchExpressions == nil || len(in.Selector.MatchExpressions) == 0 { - out.Selector = in.Selector.MatchLabels - } - - selector, err := metav1.LabelSelectorAsSelector(in.Selector) - if err != nil { - return fmt.Errorf("invalid label selector: %v", err) - } - out.TargetSelector = selector.String() - } - - return nil -} - -func Convert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(in *v1beta1.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - - // Normally when 2 fields map to the same internal value we favor the old field, since - // old clients can't be expected to know about new fields but clients that know about the - // new field can be expected to know about the old field (though that's not quite true, due - // to kubectl apply). However, these fields are readonly, so any non-nil value should work. - if in.TargetSelector != "" { - labelSelector, err := metav1.ParseToLabelSelector(in.TargetSelector) - if err != nil { - out.Selector = nil - return fmt.Errorf("failed to parse target selector: %v", err) - } - out.Selector = labelSelector - } else if in.Selector != nil { - out.Selector = new(metav1.LabelSelector) - selector := make(map[string]string) - for key, val := range in.Selector { - selector[key] = val - } - out.Selector.MatchLabels = selector - } else { - out.Selector = nil - } - - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/doc.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/doc.go deleted file mode 100644 index 830619b4..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:conversion-gen=k8s.io/kubernetes/vendor/k8s.io/client-go/scale/scheme -// +k8s:conversion-gen-external-types=k8s.io/api/apps/v1beta1 - -package appsv1beta1 // import "k8s.io/client-go/scale/scheme/appsv1beta1" diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/register.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/register.go deleted file mode 100644 index f11fcbd0..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/register.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package appsv1beta1 - -import ( - appsapiv1beta1 "k8s.io/api/apps/v1beta1" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = appsapiv1beta1.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - localSchemeBuilder = &appsapiv1beta1.SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - localSchemeBuilder.Register() -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/zz_generated.conversion.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/zz_generated.conversion.go deleted file mode 100644 index d56861ea..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta1/zz_generated.conversion.go +++ /dev/null @@ -1,134 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by conversion-gen. DO NOT EDIT. - -package appsv1beta1 - -import ( - v1beta1 "k8s.io/api/apps/v1beta1" - conversion "k8s.io/apimachinery/pkg/conversion" - runtime "k8s.io/apimachinery/pkg/runtime" - scheme "k8s.io/client-go/scale/scheme" -) - -func init() { - localSchemeBuilder.Register(RegisterConversions) -} - -// RegisterConversions adds conversion functions to the given scheme. -// Public to allow building arbitrary schemes. -func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*v1beta1.Scale)(nil), (*scheme.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_Scale_To_scheme_Scale(a.(*v1beta1.Scale), b.(*scheme.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.Scale)(nil), (*v1beta1.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_Scale_To_v1beta1_Scale(a.(*scheme.Scale), b.(*v1beta1.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v1beta1.ScaleSpec)(nil), (*scheme.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(a.(*v1beta1.ScaleSpec), b.(*scheme.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.ScaleSpec)(nil), (*v1beta1.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(a.(*scheme.ScaleSpec), b.(*v1beta1.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*scheme.ScaleStatus)(nil), (*v1beta1.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(a.(*scheme.ScaleStatus), b.(*v1beta1.ScaleStatus), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*v1beta1.ScaleStatus)(nil), (*scheme.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(a.(*v1beta1.ScaleStatus), b.(*scheme.ScaleStatus), scope) - }); err != nil { - return err - } - return nil -} - -func autoConvert_v1beta1_Scale_To_scheme_Scale(in *v1beta1.Scale, out *scheme.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_v1beta1_Scale_To_scheme_Scale is an autogenerated conversion function. -func Convert_v1beta1_Scale_To_scheme_Scale(in *v1beta1.Scale, out *scheme.Scale, s conversion.Scope) error { - return autoConvert_v1beta1_Scale_To_scheme_Scale(in, out, s) -} - -func autoConvert_scheme_Scale_To_v1beta1_Scale(in *scheme.Scale, out *v1beta1.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_scheme_Scale_To_v1beta1_Scale is an autogenerated conversion function. -func Convert_scheme_Scale_To_v1beta1_Scale(in *scheme.Scale, out *v1beta1.Scale, s conversion.Scope) error { - return autoConvert_scheme_Scale_To_v1beta1_Scale(in, out, s) -} - -func autoConvert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(in *v1beta1.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec is an autogenerated conversion function. -func Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(in *v1beta1.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - return autoConvert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(in, out, s) -} - -func autoConvert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(in *scheme.ScaleSpec, out *v1beta1.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec is an autogenerated conversion function. -func Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(in *scheme.ScaleSpec, out *v1beta1.ScaleSpec, s conversion.Scope) error { - return autoConvert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(in, out, s) -} - -func autoConvert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(in *v1beta1.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (map[string]string vs *k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector) - // WARNING: in.TargetSelector requires manual conversion: does not exist in peer-type - return nil -} - -func autoConvert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(in *scheme.ScaleStatus, out *v1beta1.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector vs map[string]string) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/conversion.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/conversion.go deleted file mode 100644 index 35d15c30..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/conversion.go +++ /dev/null @@ -1,73 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package appsv1beta2 - -import ( - "fmt" - - v1beta2 "k8s.io/api/apps/v1beta2" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/conversion" - scheme "k8s.io/client-go/scale/scheme" -) - -func Convert_scheme_ScaleStatus_To_v1beta2_ScaleStatus(in *scheme.ScaleStatus, out *v1beta2.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - out.Selector = nil - out.TargetSelector = "" - if in.Selector != nil { - if in.Selector.MatchExpressions == nil || len(in.Selector.MatchExpressions) == 0 { - out.Selector = in.Selector.MatchLabels - } - - selector, err := metav1.LabelSelectorAsSelector(in.Selector) - if err != nil { - return fmt.Errorf("invalid label selector: %v", err) - } - out.TargetSelector = selector.String() - } - - return nil -} - -func Convert_v1beta2_ScaleStatus_To_scheme_ScaleStatus(in *v1beta2.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - - // Normally when 2 fields map to the same internal value we favor the old field, since - // old clients can't be expected to know about new fields but clients that know about the - // new field can be expected to know about the old field (though that's not quite true, due - // to kubectl apply). However, these fields are readonly, so any non-nil value should work. - if in.TargetSelector != "" { - labelSelector, err := metav1.ParseToLabelSelector(in.TargetSelector) - if err != nil { - out.Selector = nil - return fmt.Errorf("failed to parse target selector: %v", err) - } - out.Selector = labelSelector - } else if in.Selector != nil { - out.Selector = new(metav1.LabelSelector) - selector := make(map[string]string) - for key, val := range in.Selector { - selector[key] = val - } - out.Selector.MatchLabels = selector - } else { - out.Selector = nil - } - - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/doc.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/doc.go deleted file mode 100644 index c21a56d5..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:conversion-gen=k8s.io/kubernetes/vendor/k8s.io/client-go/scale/scheme -// +k8s:conversion-gen-external-types=k8s.io/api/apps/v1beta2 - -package appsv1beta2 // import "k8s.io/client-go/scale/scheme/appsv1beta2" diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/register.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/register.go deleted file mode 100644 index 5e8a5d20..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/register.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package appsv1beta2 - -import ( - appsapiv1beta2 "k8s.io/api/apps/v1beta2" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = appsapiv1beta2.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta2"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - localSchemeBuilder = &appsapiv1beta2.SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - localSchemeBuilder.Register() -} diff --git a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/zz_generated.conversion.go b/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/zz_generated.conversion.go deleted file mode 100644 index 09c17420..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/appsv1beta2/zz_generated.conversion.go +++ /dev/null @@ -1,134 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by conversion-gen. DO NOT EDIT. - -package appsv1beta2 - -import ( - v1beta2 "k8s.io/api/apps/v1beta2" - conversion "k8s.io/apimachinery/pkg/conversion" - runtime "k8s.io/apimachinery/pkg/runtime" - scheme "k8s.io/client-go/scale/scheme" -) - -func init() { - localSchemeBuilder.Register(RegisterConversions) -} - -// RegisterConversions adds conversion functions to the given scheme. -// Public to allow building arbitrary schemes. -func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*v1beta2.Scale)(nil), (*scheme.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta2_Scale_To_scheme_Scale(a.(*v1beta2.Scale), b.(*scheme.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.Scale)(nil), (*v1beta2.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_Scale_To_v1beta2_Scale(a.(*scheme.Scale), b.(*v1beta2.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v1beta2.ScaleSpec)(nil), (*scheme.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta2_ScaleSpec_To_scheme_ScaleSpec(a.(*v1beta2.ScaleSpec), b.(*scheme.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.ScaleSpec)(nil), (*v1beta2.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleSpec_To_v1beta2_ScaleSpec(a.(*scheme.ScaleSpec), b.(*v1beta2.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*scheme.ScaleStatus)(nil), (*v1beta2.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleStatus_To_v1beta2_ScaleStatus(a.(*scheme.ScaleStatus), b.(*v1beta2.ScaleStatus), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*v1beta2.ScaleStatus)(nil), (*scheme.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta2_ScaleStatus_To_scheme_ScaleStatus(a.(*v1beta2.ScaleStatus), b.(*scheme.ScaleStatus), scope) - }); err != nil { - return err - } - return nil -} - -func autoConvert_v1beta2_Scale_To_scheme_Scale(in *v1beta2.Scale, out *scheme.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v1beta2_ScaleSpec_To_scheme_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_v1beta2_ScaleStatus_To_scheme_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_v1beta2_Scale_To_scheme_Scale is an autogenerated conversion function. -func Convert_v1beta2_Scale_To_scheme_Scale(in *v1beta2.Scale, out *scheme.Scale, s conversion.Scope) error { - return autoConvert_v1beta2_Scale_To_scheme_Scale(in, out, s) -} - -func autoConvert_scheme_Scale_To_v1beta2_Scale(in *scheme.Scale, out *v1beta2.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_scheme_ScaleSpec_To_v1beta2_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_scheme_ScaleStatus_To_v1beta2_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_scheme_Scale_To_v1beta2_Scale is an autogenerated conversion function. -func Convert_scheme_Scale_To_v1beta2_Scale(in *scheme.Scale, out *v1beta2.Scale, s conversion.Scope) error { - return autoConvert_scheme_Scale_To_v1beta2_Scale(in, out, s) -} - -func autoConvert_v1beta2_ScaleSpec_To_scheme_ScaleSpec(in *v1beta2.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_v1beta2_ScaleSpec_To_scheme_ScaleSpec is an autogenerated conversion function. -func Convert_v1beta2_ScaleSpec_To_scheme_ScaleSpec(in *v1beta2.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - return autoConvert_v1beta2_ScaleSpec_To_scheme_ScaleSpec(in, out, s) -} - -func autoConvert_scheme_ScaleSpec_To_v1beta2_ScaleSpec(in *scheme.ScaleSpec, out *v1beta2.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_scheme_ScaleSpec_To_v1beta2_ScaleSpec is an autogenerated conversion function. -func Convert_scheme_ScaleSpec_To_v1beta2_ScaleSpec(in *scheme.ScaleSpec, out *v1beta2.ScaleSpec, s conversion.Scope) error { - return autoConvert_scheme_ScaleSpec_To_v1beta2_ScaleSpec(in, out, s) -} - -func autoConvert_v1beta2_ScaleStatus_To_scheme_ScaleStatus(in *v1beta2.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (map[string]string vs *k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector) - // WARNING: in.TargetSelector requires manual conversion: does not exist in peer-type - return nil -} - -func autoConvert_scheme_ScaleStatus_To_v1beta2_ScaleStatus(in *scheme.ScaleStatus, out *v1beta2.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector vs map[string]string) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/conversion.go b/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/conversion.go deleted file mode 100644 index 36ef82b9..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/conversion.go +++ /dev/null @@ -1,54 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package autoscalingv1 - -import ( - "fmt" - - v1 "k8s.io/api/autoscaling/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/conversion" - scheme "k8s.io/client-go/scale/scheme" -) - -func Convert_scheme_ScaleStatus_To_v1_ScaleStatus(in *scheme.ScaleStatus, out *v1.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - out.Selector = "" - if in.Selector != nil { - selector, err := metav1.LabelSelectorAsSelector(in.Selector) - if err != nil { - return fmt.Errorf("invalid label selector: %v", err) - } - out.Selector = selector.String() - } - - return nil -} - -func Convert_v1_ScaleStatus_To_scheme_ScaleStatus(in *v1.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - if in.Selector != "" { - labelSelector, err := metav1.ParseToLabelSelector(in.Selector) - if err != nil { - out.Selector = nil - return fmt.Errorf("failed to parse target selector: %v", err) - } - out.Selector = labelSelector - } - - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/doc.go b/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/doc.go deleted file mode 100644 index 03684dd9..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:conversion-gen=k8s.io/kubernetes/vendor/k8s.io/client-go/scale/scheme -// +k8s:conversion-gen-external-types=k8s.io/api/autoscaling/v1 - -package autoscalingv1 // import "k8s.io/client-go/scale/scheme/autoscalingv1" diff --git a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/register.go b/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/register.go deleted file mode 100644 index 4339376c..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/register.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package autoscalingv1 - -import ( - autoscalingapiv1 "k8s.io/api/autoscaling/v1" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = autoscalingapiv1.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - localSchemeBuilder = &autoscalingapiv1.SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - localSchemeBuilder.Register() -} diff --git a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/zz_generated.conversion.go b/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/zz_generated.conversion.go deleted file mode 100644 index 09e73584..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/autoscalingv1/zz_generated.conversion.go +++ /dev/null @@ -1,133 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by conversion-gen. DO NOT EDIT. - -package autoscalingv1 - -import ( - v1 "k8s.io/api/autoscaling/v1" - conversion "k8s.io/apimachinery/pkg/conversion" - runtime "k8s.io/apimachinery/pkg/runtime" - scheme "k8s.io/client-go/scale/scheme" -) - -func init() { - localSchemeBuilder.Register(RegisterConversions) -} - -// RegisterConversions adds conversion functions to the given scheme. -// Public to allow building arbitrary schemes. -func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*v1.Scale)(nil), (*scheme.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1_Scale_To_scheme_Scale(a.(*v1.Scale), b.(*scheme.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.Scale)(nil), (*v1.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_Scale_To_v1_Scale(a.(*scheme.Scale), b.(*v1.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v1.ScaleSpec)(nil), (*scheme.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1_ScaleSpec_To_scheme_ScaleSpec(a.(*v1.ScaleSpec), b.(*scheme.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.ScaleSpec)(nil), (*v1.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleSpec_To_v1_ScaleSpec(a.(*scheme.ScaleSpec), b.(*v1.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*scheme.ScaleStatus)(nil), (*v1.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleStatus_To_v1_ScaleStatus(a.(*scheme.ScaleStatus), b.(*v1.ScaleStatus), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*v1.ScaleStatus)(nil), (*scheme.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1_ScaleStatus_To_scheme_ScaleStatus(a.(*v1.ScaleStatus), b.(*scheme.ScaleStatus), scope) - }); err != nil { - return err - } - return nil -} - -func autoConvert_v1_Scale_To_scheme_Scale(in *v1.Scale, out *scheme.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v1_ScaleSpec_To_scheme_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_v1_ScaleStatus_To_scheme_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_v1_Scale_To_scheme_Scale is an autogenerated conversion function. -func Convert_v1_Scale_To_scheme_Scale(in *v1.Scale, out *scheme.Scale, s conversion.Scope) error { - return autoConvert_v1_Scale_To_scheme_Scale(in, out, s) -} - -func autoConvert_scheme_Scale_To_v1_Scale(in *scheme.Scale, out *v1.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_scheme_ScaleSpec_To_v1_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_scheme_ScaleStatus_To_v1_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_scheme_Scale_To_v1_Scale is an autogenerated conversion function. -func Convert_scheme_Scale_To_v1_Scale(in *scheme.Scale, out *v1.Scale, s conversion.Scope) error { - return autoConvert_scheme_Scale_To_v1_Scale(in, out, s) -} - -func autoConvert_v1_ScaleSpec_To_scheme_ScaleSpec(in *v1.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_v1_ScaleSpec_To_scheme_ScaleSpec is an autogenerated conversion function. -func Convert_v1_ScaleSpec_To_scheme_ScaleSpec(in *v1.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - return autoConvert_v1_ScaleSpec_To_scheme_ScaleSpec(in, out, s) -} - -func autoConvert_scheme_ScaleSpec_To_v1_ScaleSpec(in *scheme.ScaleSpec, out *v1.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_scheme_ScaleSpec_To_v1_ScaleSpec is an autogenerated conversion function. -func Convert_scheme_ScaleSpec_To_v1_ScaleSpec(in *scheme.ScaleSpec, out *v1.ScaleSpec, s conversion.Scope) error { - return autoConvert_scheme_ScaleSpec_To_v1_ScaleSpec(in, out, s) -} - -func autoConvert_v1_ScaleStatus_To_scheme_ScaleStatus(in *v1.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (string vs *k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector) - return nil -} - -func autoConvert_scheme_ScaleStatus_To_v1_ScaleStatus(in *scheme.ScaleStatus, out *v1.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector vs string) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/doc.go b/vendor/k8s.io/client-go/scale/scheme/doc.go deleted file mode 100644 index 0203d6d5..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/doc.go +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:deepcopy-gen=package - -// Package scheme contains a runtime.Scheme to be used for serializing -// and deserializing different versions of Scale, and for converting -// in between them. -package scheme diff --git a/vendor/k8s.io/client-go/scale/scheme/extensionsint/doc.go b/vendor/k8s.io/client-go/scale/scheme/extensionsint/doc.go deleted file mode 100644 index 9aaac608..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/extensionsint/doc.go +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package extensionsint contains the necessary scaffolding of the -// internal version of extensions as required by conversion logic. -// It doesn't have any of its own types -- it's just necessary to -// get the expected behavior out of runtime.Scheme.ConvertToVersion -// and associated methods. -package extensionsint diff --git a/vendor/k8s.io/client-go/scale/scheme/extensionsint/register.go b/vendor/k8s.io/client-go/scale/scheme/extensionsint/register.go deleted file mode 100644 index 570a8a54..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/extensionsint/register.go +++ /dev/null @@ -1,55 +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 extensionsint - -import ( - extensionsv1beta1 "k8s.io/api/extensions/v1beta1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - scalescheme "k8s.io/client-go/scale/scheme" -) - -// GroupName is the group name use in this package -const GroupName = extensionsv1beta1.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal} - -// Kind takes an unqualified kind and returns a Group qualified GroupKind -func Kind(kind string) schema.GroupKind { - return SchemeGroupVersion.WithKind(kind).GroupKind() -} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - // SchemeBuilder points to a list of functions added to Scheme. - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - // AddToScheme applies all the stored functions to the scheme. - AddToScheme = SchemeBuilder.AddToScheme -) - -// Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &scalescheme.Scale{}, - ) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/conversion.go b/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/conversion.go deleted file mode 100644 index 821eb33d..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/conversion.go +++ /dev/null @@ -1,73 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package extensionsv1beta1 - -import ( - "fmt" - - v1beta1 "k8s.io/api/extensions/v1beta1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/conversion" - scheme "k8s.io/client-go/scale/scheme" -) - -func Convert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(in *scheme.ScaleStatus, out *v1beta1.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - out.Selector = nil - out.TargetSelector = "" - if in.Selector != nil { - if in.Selector.MatchExpressions == nil || len(in.Selector.MatchExpressions) == 0 { - out.Selector = in.Selector.MatchLabels - } - - selector, err := metav1.LabelSelectorAsSelector(in.Selector) - if err != nil { - return fmt.Errorf("invalid label selector: %v", err) - } - out.TargetSelector = selector.String() - } - - return nil -} - -func Convert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(in *v1beta1.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - - // Normally when 2 fields map to the same internal value we favor the old field, since - // old clients can't be expected to know about new fields but clients that know about the - // new field can be expected to know about the old field (though that's not quite true, due - // to kubectl apply). However, these fields are readonly, so any non-nil value should work. - if in.TargetSelector != "" { - labelSelector, err := metav1.ParseToLabelSelector(in.TargetSelector) - if err != nil { - out.Selector = nil - return fmt.Errorf("failed to parse target selector: %v", err) - } - out.Selector = labelSelector - } else if in.Selector != nil { - out.Selector = new(metav1.LabelSelector) - selector := make(map[string]string) - for key, val := range in.Selector { - selector[key] = val - } - out.Selector.MatchLabels = selector - } else { - out.Selector = nil - } - - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/doc.go b/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/doc.go deleted file mode 100644 index 1e719884..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:conversion-gen=k8s.io/kubernetes/vendor/k8s.io/client-go/scale/scheme -// +k8s:conversion-gen-external-types=k8s.io/api/extensions/v1beta1 - -package extensionsv1beta1 // import "k8s.io/client-go/scale/scheme/extensionsv1beta1" diff --git a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/register.go b/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/register.go deleted file mode 100644 index 248a0071..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/register.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package extensionsv1beta1 - -import ( - extensionsapiv1beta1 "k8s.io/api/extensions/v1beta1" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = extensionsapiv1beta1.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - localSchemeBuilder = &extensionsapiv1beta1.SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - localSchemeBuilder.Register() -} diff --git a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/zz_generated.conversion.go b/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/zz_generated.conversion.go deleted file mode 100644 index 46b29f17..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/extensionsv1beta1/zz_generated.conversion.go +++ /dev/null @@ -1,134 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by conversion-gen. DO NOT EDIT. - -package extensionsv1beta1 - -import ( - v1beta1 "k8s.io/api/extensions/v1beta1" - conversion "k8s.io/apimachinery/pkg/conversion" - runtime "k8s.io/apimachinery/pkg/runtime" - scheme "k8s.io/client-go/scale/scheme" -) - -func init() { - localSchemeBuilder.Register(RegisterConversions) -} - -// RegisterConversions adds conversion functions to the given scheme. -// Public to allow building arbitrary schemes. -func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*v1beta1.Scale)(nil), (*scheme.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_Scale_To_scheme_Scale(a.(*v1beta1.Scale), b.(*scheme.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.Scale)(nil), (*v1beta1.Scale)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_Scale_To_v1beta1_Scale(a.(*scheme.Scale), b.(*v1beta1.Scale), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*v1beta1.ScaleSpec)(nil), (*scheme.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(a.(*v1beta1.ScaleSpec), b.(*scheme.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*scheme.ScaleSpec)(nil), (*v1beta1.ScaleSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(a.(*scheme.ScaleSpec), b.(*v1beta1.ScaleSpec), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*scheme.ScaleStatus)(nil), (*v1beta1.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(a.(*scheme.ScaleStatus), b.(*v1beta1.ScaleStatus), scope) - }); err != nil { - return err - } - if err := s.AddConversionFunc((*v1beta1.ScaleStatus)(nil), (*scheme.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(a.(*v1beta1.ScaleStatus), b.(*scheme.ScaleStatus), scope) - }); err != nil { - return err - } - return nil -} - -func autoConvert_v1beta1_Scale_To_scheme_Scale(in *v1beta1.Scale, out *scheme.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_v1beta1_Scale_To_scheme_Scale is an autogenerated conversion function. -func Convert_v1beta1_Scale_To_scheme_Scale(in *v1beta1.Scale, out *scheme.Scale, s conversion.Scope) error { - return autoConvert_v1beta1_Scale_To_scheme_Scale(in, out, s) -} - -func autoConvert_scheme_Scale_To_v1beta1_Scale(in *scheme.Scale, out *v1beta1.Scale, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(&in.Spec, &out.Spec, s); err != nil { - return err - } - if err := Convert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(&in.Status, &out.Status, s); err != nil { - return err - } - return nil -} - -// Convert_scheme_Scale_To_v1beta1_Scale is an autogenerated conversion function. -func Convert_scheme_Scale_To_v1beta1_Scale(in *scheme.Scale, out *v1beta1.Scale, s conversion.Scope) error { - return autoConvert_scheme_Scale_To_v1beta1_Scale(in, out, s) -} - -func autoConvert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(in *v1beta1.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec is an autogenerated conversion function. -func Convert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(in *v1beta1.ScaleSpec, out *scheme.ScaleSpec, s conversion.Scope) error { - return autoConvert_v1beta1_ScaleSpec_To_scheme_ScaleSpec(in, out, s) -} - -func autoConvert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(in *scheme.ScaleSpec, out *v1beta1.ScaleSpec, s conversion.Scope) error { - out.Replicas = in.Replicas - return nil -} - -// Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec is an autogenerated conversion function. -func Convert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(in *scheme.ScaleSpec, out *v1beta1.ScaleSpec, s conversion.Scope) error { - return autoConvert_scheme_ScaleSpec_To_v1beta1_ScaleSpec(in, out, s) -} - -func autoConvert_v1beta1_ScaleStatus_To_scheme_ScaleStatus(in *v1beta1.ScaleStatus, out *scheme.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (map[string]string vs *k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector) - // WARNING: in.TargetSelector requires manual conversion: does not exist in peer-type - return nil -} - -func autoConvert_scheme_ScaleStatus_To_v1beta1_ScaleStatus(in *scheme.ScaleStatus, out *v1beta1.ScaleStatus, s conversion.Scope) error { - out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector vs map[string]string) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/register.go b/vendor/k8s.io/client-go/scale/scheme/register.go deleted file mode 100644 index 4339e617..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/register.go +++ /dev/null @@ -1,54 +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 scheme - -import ( - autoscalingv1 "k8s.io/api/autoscaling/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package -const GroupName = autoscalingv1.GroupName - -// SchemeGroupVersion is group version used to register these objects -var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal} - -// Kind takes an unqualified kind and returns a Group qualified GroupKind -func Kind(kind string) schema.GroupKind { - return SchemeGroupVersion.WithKind(kind).GroupKind() -} - -// Resource takes an unqualified resource and returns a Group qualified GroupResource -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -var ( - // SchemeBuilder points to a list of functions added to Scheme. - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - // AddToScheme applies all the stored functions to the scheme. - AddToScheme = SchemeBuilder.AddToScheme -) - -// Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &Scale{}, - ) - return nil -} diff --git a/vendor/k8s.io/client-go/scale/scheme/types.go b/vendor/k8s.io/client-go/scale/scheme/types.go deleted file mode 100644 index 5c5d0a6f..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/types.go +++ /dev/null @@ -1,60 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package scheme - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// This file contains our own "internal" version of scale that we use for conversions, -// since we can't use the main Kubernetes internal versions. - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// Scale represents a scaling request for a resource. -type Scale struct { - metav1.TypeMeta - // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. - // +optional - metav1.ObjectMeta - - // defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. - // +optional - Spec ScaleSpec - - // current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. - // +optional - Status ScaleStatus -} - -// ScaleSpec describes the attributes of a scale subresource. -type ScaleSpec struct { - // desired number of instances for the scaled object. - // +optional - Replicas int32 -} - -// ScaleStatus represents the current status of a scale subresource. -type ScaleStatus struct { - // actual number of observed instances of the scaled object. - Replicas int32 - - // label query over pods that should match the replicas count. - // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors - // +optional - Selector *metav1.LabelSelector -} diff --git a/vendor/k8s.io/client-go/scale/scheme/zz_generated.deepcopy.go b/vendor/k8s.io/client-go/scale/scheme/zz_generated.deepcopy.go deleted file mode 100644 index 6ee3c207..00000000 --- a/vendor/k8s.io/client-go/scale/scheme/zz_generated.deepcopy.go +++ /dev/null @@ -1,92 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by deepcopy-gen. DO NOT EDIT. - -package scheme - -import ( - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" -) - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Scale) DeepCopyInto(out *Scale) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - in.Status.DeepCopyInto(&out.Status) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (in *Scale) DeepCopy() *Scale { - if in == nil { - return nil - } - out := new(Scale) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Scale) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (in *ScaleSpec) DeepCopy() *ScaleSpec { - if in == nil { - return nil - } - out := new(ScaleSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { - *out = *in - if in.Selector != nil { - in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (in *ScaleStatus) DeepCopy() *ScaleStatus { - if in == nil { - return nil - } - out := new(ScaleStatus) - in.DeepCopyInto(out) - return out -} diff --git a/vendor/k8s.io/client-go/scale/util.go b/vendor/k8s.io/client-go/scale/util.go deleted file mode 100644 index 2f43a7a7..00000000 --- a/vendor/k8s.io/client-go/scale/util.go +++ /dev/null @@ -1,197 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package scale - -import ( - "fmt" - "strings" - "sync" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/client-go/discovery" - scalescheme "k8s.io/client-go/scale/scheme" - scaleappsint "k8s.io/client-go/scale/scheme/appsint" - scaleappsv1beta1 "k8s.io/client-go/scale/scheme/appsv1beta1" - scaleappsv1beta2 "k8s.io/client-go/scale/scheme/appsv1beta2" - scaleautoscaling "k8s.io/client-go/scale/scheme/autoscalingv1" - scaleextint "k8s.io/client-go/scale/scheme/extensionsint" - scaleext "k8s.io/client-go/scale/scheme/extensionsv1beta1" -) - -// PreferredResourceMapper determines the preferred version of a resource to scale -type PreferredResourceMapper interface { - // ResourceFor takes a partial resource and returns the preferred resource. - ResourceFor(resource schema.GroupVersionResource) (preferredResource schema.GroupVersionResource, err error) -} - -// Ensure a RESTMapper satisfies the PreferredResourceMapper interface -var _ PreferredResourceMapper = meta.RESTMapper(nil) - -// ScaleKindResolver knows about the relationship between -// resources and the GroupVersionKind of their scale subresources. -type ScaleKindResolver interface { - // ScaleForResource returns the GroupVersionKind of the - // scale subresource for the given GroupVersionResource. - ScaleForResource(resource schema.GroupVersionResource) (scaleVersion schema.GroupVersionKind, err error) -} - -// discoveryScaleResolver is a ScaleKindResolver that uses -// a DiscoveryInterface to associate resources with their -// scale-kinds -type discoveryScaleResolver struct { - discoveryClient discovery.ServerResourcesInterface -} - -func (r *discoveryScaleResolver) ScaleForResource(inputRes schema.GroupVersionResource) (scaleVersion schema.GroupVersionKind, err error) { - groupVerResources, err := r.discoveryClient.ServerResourcesForGroupVersion(inputRes.GroupVersion().String()) - if err != nil { - return schema.GroupVersionKind{}, fmt.Errorf("unable to fetch discovery information for %s: %v", inputRes.String(), err) - } - - for _, resource := range groupVerResources.APIResources { - resourceParts := strings.SplitN(resource.Name, "/", 2) - if len(resourceParts) != 2 || resourceParts[0] != inputRes.Resource || resourceParts[1] != "scale" { - // skip non-scale resources, or scales for resources that we're not looking for - continue - } - - scaleGV := inputRes.GroupVersion() - if resource.Group != "" && resource.Version != "" { - scaleGV = schema.GroupVersion{ - Group: resource.Group, - Version: resource.Version, - } - } - - return scaleGV.WithKind(resource.Kind), nil - } - - return schema.GroupVersionKind{}, fmt.Errorf("could not find scale subresource for %s in discovery information", inputRes.String()) -} - -// cachedScaleKindResolver is a ScaleKindResolver that caches results -// from another ScaleKindResolver, re-fetching on cache misses. -type cachedScaleKindResolver struct { - base ScaleKindResolver - - cache map[schema.GroupVersionResource]schema.GroupVersionKind - mu sync.RWMutex -} - -func (r *cachedScaleKindResolver) ScaleForResource(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) { - r.mu.RLock() - gvk, isCached := r.cache[resource] - r.mu.RUnlock() - if isCached { - return gvk, nil - } - - // we could have multiple fetches of the same resources, but that's probably - // better than limiting to only one reader at once (mu.Mutex), - // or blocking checks for other resources while we fetch - // (mu.Lock before fetch). - gvk, err := r.base.ScaleForResource(resource) - if err != nil { - return schema.GroupVersionKind{}, err - } - - r.mu.Lock() - defer r.mu.Unlock() - r.cache[resource] = gvk - - return gvk, nil -} - -// NewDiscoveryScaleKindResolver creates a new ScaleKindResolver which uses information from the given -// disovery client to resolve the correct Scale GroupVersionKind for different resources. -func NewDiscoveryScaleKindResolver(client discovery.ServerResourcesInterface) ScaleKindResolver { - base := &discoveryScaleResolver{ - discoveryClient: client, - } - - return &cachedScaleKindResolver{ - base: base, - cache: make(map[schema.GroupVersionResource]schema.GroupVersionKind), - } -} - -// ScaleConverter knows how to convert between external scale versions. -type ScaleConverter struct { - scheme *runtime.Scheme - codecs serializer.CodecFactory - internalVersioner runtime.GroupVersioner -} - -// NewScaleConverter creates a new ScaleConverter for converting between -// Scales in autoscaling/v1 and extensions/v1beta1. -func NewScaleConverter() *ScaleConverter { - scheme := runtime.NewScheme() - utilruntime.Must(scaleautoscaling.AddToScheme(scheme)) - utilruntime.Must(scalescheme.AddToScheme(scheme)) - utilruntime.Must(scaleext.AddToScheme(scheme)) - utilruntime.Must(scaleextint.AddToScheme(scheme)) - utilruntime.Must(scaleappsint.AddToScheme(scheme)) - utilruntime.Must(scaleappsv1beta1.AddToScheme(scheme)) - utilruntime.Must(scaleappsv1beta2.AddToScheme(scheme)) - - return &ScaleConverter{ - scheme: scheme, - codecs: serializer.NewCodecFactory(scheme), - internalVersioner: runtime.NewMultiGroupVersioner( - scalescheme.SchemeGroupVersion, - schema.GroupKind{Group: scaleext.GroupName, Kind: "Scale"}, - schema.GroupKind{Group: scaleautoscaling.GroupName, Kind: "Scale"}, - schema.GroupKind{Group: scaleappsv1beta1.GroupName, Kind: "Scale"}, - schema.GroupKind{Group: scaleappsv1beta2.GroupName, Kind: "Scale"}, - ), - } -} - -// Scheme returns the scheme used by this scale converter. -func (c *ScaleConverter) Scheme() *runtime.Scheme { - return c.scheme -} - -func (c *ScaleConverter) Codecs() serializer.CodecFactory { - return c.codecs -} - -func (c *ScaleConverter) ScaleVersions() []schema.GroupVersion { - return []schema.GroupVersion{ - scaleautoscaling.SchemeGroupVersion, - scalescheme.SchemeGroupVersion, - scaleext.SchemeGroupVersion, - scaleextint.SchemeGroupVersion, - scaleappsint.SchemeGroupVersion, - scaleappsv1beta1.SchemeGroupVersion, - scaleappsv1beta2.SchemeGroupVersion, - } -} - -// ConvertToVersion converts the given *external* input object to the given output *external* output group-version. -func (c *ScaleConverter) ConvertToVersion(in runtime.Object, outVersion schema.GroupVersion) (runtime.Object, error) { - scaleInt, err := c.scheme.ConvertToVersion(in, c.internalVersioner) - if err != nil { - return nil, err - } - - return c.scheme.ConvertToVersion(scaleInt, outVersion) -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/doc.go b/vendor/k8s.io/client-go/tools/remotecommand/doc.go deleted file mode 100644 index ac06a9cd..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package remotecommand adds support for executing commands in containers, -// with support for separate stdin, stdout, and stderr streams, as well as -// TTY. -package remotecommand // import "k8s.io/client-go/tools/remotecommand" diff --git a/vendor/k8s.io/client-go/tools/remotecommand/errorstream.go b/vendor/k8s.io/client-go/tools/remotecommand/errorstream.go deleted file mode 100644 index 360276b6..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/errorstream.go +++ /dev/null @@ -1,55 +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 remotecommand - -import ( - "fmt" - "io" - "io/ioutil" - - "k8s.io/apimachinery/pkg/util/runtime" -) - -// errorStreamDecoder interprets the data on the error channel and creates a go error object from it. -type errorStreamDecoder interface { - decode(message []byte) error -} - -// watchErrorStream watches the errorStream for remote command error data, -// decodes it with the given errorStreamDecoder, sends the decoded error (or nil if the remote -// command exited successfully) to the returned error channel, and closes it. -// This function returns immediately. -func watchErrorStream(errorStream io.Reader, d errorStreamDecoder) chan error { - errorChan := make(chan error) - - go func() { - defer runtime.HandleCrash() - - message, err := ioutil.ReadAll(errorStream) - switch { - case err != nil && err != io.EOF: - errorChan <- fmt.Errorf("error reading from error stream: %s", err) - case len(message) > 0: - errorChan <- d.decode(message) - default: - errorChan <- nil - } - close(errorChan) - }() - - return errorChan -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/reader.go b/vendor/k8s.io/client-go/tools/remotecommand/reader.go deleted file mode 100644 index d1f1be34..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/reader.go +++ /dev/null @@ -1,41 +0,0 @@ -/* -Copyright 2018 The 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 remotecommand - -import ( - "io" -) - -// readerWrapper delegates to an io.Reader so that only the io.Reader interface is implemented, -// to keep io.Copy from doing things we don't want when copying from the reader to the data stream. -// -// If the Stdin io.Reader provided to remotecommand implements a WriteTo function (like bytes.Buffer does[1]), -// io.Copy calls that method[2] to attempt to write the entire buffer to the stream in one call. -// That results in an oversized call to spdystream.Stream#Write [3], -// which results in a single oversized data frame[4] that is too large. -// -// [1] https://golang.org/pkg/bytes/#Buffer.WriteTo -// [2] https://golang.org/pkg/io/#Copy -// [3] https://github.com/kubernetes/kubernetes/blob/90295640ef87db9daa0144c5617afe889e7992b2/vendor/github.com/docker/spdystream/stream.go#L66-L73 -// [4] https://github.com/kubernetes/kubernetes/blob/90295640ef87db9daa0144c5617afe889e7992b2/vendor/github.com/docker/spdystream/spdy/write.go#L302-L304 -type readerWrapper struct { - reader io.Reader -} - -func (r readerWrapper) Read(p []byte) (int, error) { - return r.reader.Read(p) -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/remotecommand.go b/vendor/k8s.io/client-go/tools/remotecommand/remotecommand.go deleted file mode 100644 index cb39faf7..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/remotecommand.go +++ /dev/null @@ -1,142 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package remotecommand - -import ( - "fmt" - "io" - "net/http" - "net/url" - - "k8s.io/klog/v2" - - "k8s.io/apimachinery/pkg/util/httpstream" - "k8s.io/apimachinery/pkg/util/remotecommand" - restclient "k8s.io/client-go/rest" - spdy "k8s.io/client-go/transport/spdy" -) - -// StreamOptions holds information pertaining to the current streaming session: -// input/output streams, if the client is requesting a TTY, and a terminal size queue to -// support terminal resizing. -type StreamOptions struct { - Stdin io.Reader - Stdout io.Writer - Stderr io.Writer - Tty bool - TerminalSizeQueue TerminalSizeQueue -} - -// Executor is an interface for transporting shell-style streams. -type Executor interface { - // Stream initiates the transport of the standard shell streams. It will transport any - // non-nil stream to a remote system, and return an error if a problem occurs. If tty - // is set, the stderr stream is not used (raw TTY manages stdout and stderr over the - // stdout stream). - Stream(options StreamOptions) error -} - -type streamCreator interface { - CreateStream(headers http.Header) (httpstream.Stream, error) -} - -type streamProtocolHandler interface { - stream(conn streamCreator) error -} - -// streamExecutor handles transporting standard shell streams over an httpstream connection. -type streamExecutor struct { - upgrader spdy.Upgrader - transport http.RoundTripper - - method string - url *url.URL - protocols []string -} - -// NewSPDYExecutor connects to the provided server and upgrades the connection to -// multiplexed bidirectional streams. -func NewSPDYExecutor(config *restclient.Config, method string, url *url.URL) (Executor, error) { - wrapper, upgradeRoundTripper, err := spdy.RoundTripperFor(config) - if err != nil { - return nil, err - } - return NewSPDYExecutorForTransports(wrapper, upgradeRoundTripper, method, url) -} - -// NewSPDYExecutorForTransports connects to the provided server using the given transport, -// upgrades the response using the given upgrader to multiplexed bidirectional streams. -func NewSPDYExecutorForTransports(transport http.RoundTripper, upgrader spdy.Upgrader, method string, url *url.URL) (Executor, error) { - return NewSPDYExecutorForProtocols( - transport, upgrader, method, url, - remotecommand.StreamProtocolV4Name, - remotecommand.StreamProtocolV3Name, - remotecommand.StreamProtocolV2Name, - remotecommand.StreamProtocolV1Name, - ) -} - -// NewSPDYExecutorForProtocols connects to the provided server and upgrades the connection to -// multiplexed bidirectional streams using only the provided protocols. Exposed for testing, most -// callers should use NewSPDYExecutor or NewSPDYExecutorForTransports. -func NewSPDYExecutorForProtocols(transport http.RoundTripper, upgrader spdy.Upgrader, method string, url *url.URL, protocols ...string) (Executor, error) { - return &streamExecutor{ - upgrader: upgrader, - transport: transport, - method: method, - url: url, - protocols: protocols, - }, nil -} - -// Stream opens a protocol streamer to the server and streams until a client closes -// the connection or the server disconnects. -func (e *streamExecutor) Stream(options StreamOptions) error { - req, err := http.NewRequest(e.method, e.url.String(), nil) - if err != nil { - return fmt.Errorf("error creating request: %v", err) - } - - conn, protocol, err := spdy.Negotiate( - e.upgrader, - &http.Client{Transport: e.transport}, - req, - e.protocols..., - ) - if err != nil { - return err - } - defer conn.Close() - - var streamer streamProtocolHandler - - switch protocol { - case remotecommand.StreamProtocolV4Name: - streamer = newStreamProtocolV4(options) - case remotecommand.StreamProtocolV3Name: - streamer = newStreamProtocolV3(options) - case remotecommand.StreamProtocolV2Name: - streamer = newStreamProtocolV2(options) - case "": - klog.V(4).Infof("The server did not negotiate a streaming protocol version. Falling back to %s", remotecommand.StreamProtocolV1Name) - fallthrough - case remotecommand.StreamProtocolV1Name: - streamer = newStreamProtocolV1(options) - } - - return streamer.stream(conn) -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/resize.go b/vendor/k8s.io/client-go/tools/remotecommand/resize.go deleted file mode 100644 index c838f21b..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/resize.go +++ /dev/null @@ -1,33 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package remotecommand - -// TerminalSize and TerminalSizeQueue was a part of k8s.io/kubernetes/pkg/util/term -// and were moved in order to decouple client from other term dependencies - -// TerminalSize represents the width and height of a terminal. -type TerminalSize struct { - Width uint16 - Height uint16 -} - -// TerminalSizeQueue is capable of returning terminal resize events as they occur. -type TerminalSizeQueue interface { - // Next returns the new terminal size after the terminal has been resized. It returns nil when - // monitoring has been stopped. - Next() *TerminalSize -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/v1.go b/vendor/k8s.io/client-go/tools/remotecommand/v1.go deleted file mode 100644 index ff0fbd2d..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/v1.go +++ /dev/null @@ -1,160 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package remotecommand - -import ( - "fmt" - "io" - "io/ioutil" - "net/http" - - "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/util/httpstream" - "k8s.io/klog/v2" -) - -// streamProtocolV1 implements the first version of the streaming exec & attach -// protocol. This version has some bugs, such as not being able to detect when -// non-interactive stdin data has ended. See http://issues.k8s.io/13394 and -// http://issues.k8s.io/13395 for more details. -type streamProtocolV1 struct { - StreamOptions - - errorStream httpstream.Stream - remoteStdin httpstream.Stream - remoteStdout httpstream.Stream - remoteStderr httpstream.Stream -} - -var _ streamProtocolHandler = &streamProtocolV1{} - -func newStreamProtocolV1(options StreamOptions) streamProtocolHandler { - return &streamProtocolV1{ - StreamOptions: options, - } -} - -func (p *streamProtocolV1) stream(conn streamCreator) error { - doneChan := make(chan struct{}, 2) - errorChan := make(chan error) - - cp := func(s string, dst io.Writer, src io.Reader) { - klog.V(6).Infof("Copying %s", s) - defer klog.V(6).Infof("Done copying %s", s) - if _, err := io.Copy(dst, src); err != nil && err != io.EOF { - klog.Errorf("Error copying %s: %v", s, err) - } - if s == v1.StreamTypeStdout || s == v1.StreamTypeStderr { - doneChan <- struct{}{} - } - } - - // set up all the streams first - var err error - headers := http.Header{} - headers.Set(v1.StreamType, v1.StreamTypeError) - p.errorStream, err = conn.CreateStream(headers) - if err != nil { - return err - } - defer p.errorStream.Reset() - - // Create all the streams first, then start the copy goroutines. The server doesn't start its copy - // goroutines until it's received all of the streams. If the client creates the stdin stream and - // immediately begins copying stdin data to the server, it's possible to overwhelm and wedge the - // spdy frame handler in the server so that it is full of unprocessed frames. The frames aren't - // getting processed because the server hasn't started its copying, and it won't do that until it - // gets all the streams. By creating all the streams first, we ensure that the server is ready to - // process data before the client starts sending any. See https://issues.k8s.io/16373 for more info. - if p.Stdin != nil { - headers.Set(v1.StreamType, v1.StreamTypeStdin) - p.remoteStdin, err = conn.CreateStream(headers) - if err != nil { - return err - } - defer p.remoteStdin.Reset() - } - - if p.Stdout != nil { - headers.Set(v1.StreamType, v1.StreamTypeStdout) - p.remoteStdout, err = conn.CreateStream(headers) - if err != nil { - return err - } - defer p.remoteStdout.Reset() - } - - if p.Stderr != nil && !p.Tty { - headers.Set(v1.StreamType, v1.StreamTypeStderr) - p.remoteStderr, err = conn.CreateStream(headers) - if err != nil { - return err - } - defer p.remoteStderr.Reset() - } - - // now that all the streams have been created, proceed with reading & copying - - // always read from errorStream - go func() { - message, err := ioutil.ReadAll(p.errorStream) - if err != nil && err != io.EOF { - errorChan <- fmt.Errorf("Error reading from error stream: %s", err) - return - } - if len(message) > 0 { - errorChan <- fmt.Errorf("Error executing remote command: %s", message) - return - } - }() - - if p.Stdin != nil { - // TODO this goroutine will never exit cleanly (the io.Copy never unblocks) - // because stdin is not closed until the process exits. If we try to call - // stdin.Close(), it returns no error but doesn't unblock the copy. It will - // exit when the process exits, instead. - go cp(v1.StreamTypeStdin, p.remoteStdin, readerWrapper{p.Stdin}) - } - - waitCount := 0 - completedStreams := 0 - - if p.Stdout != nil { - waitCount++ - go cp(v1.StreamTypeStdout, p.Stdout, p.remoteStdout) - } - - if p.Stderr != nil && !p.Tty { - waitCount++ - go cp(v1.StreamTypeStderr, p.Stderr, p.remoteStderr) - } - -Loop: - for { - select { - case <-doneChan: - completedStreams++ - if completedStreams == waitCount { - break Loop - } - case err := <-errorChan: - return err - } - } - - return nil -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/v2.go b/vendor/k8s.io/client-go/tools/remotecommand/v2.go deleted file mode 100644 index 2f5561c9..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/v2.go +++ /dev/null @@ -1,200 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package remotecommand - -import ( - "fmt" - "io" - "io/ioutil" - "net/http" - "sync" - - "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/util/runtime" -) - -// streamProtocolV2 implements version 2 of the streaming protocol for attach -// and exec. The original streaming protocol was metav1. As a result, this -// version is referred to as version 2, even though it is the first actual -// numbered version. -type streamProtocolV2 struct { - StreamOptions - - errorStream io.Reader - remoteStdin io.ReadWriteCloser - remoteStdout io.Reader - remoteStderr io.Reader -} - -var _ streamProtocolHandler = &streamProtocolV2{} - -func newStreamProtocolV2(options StreamOptions) streamProtocolHandler { - return &streamProtocolV2{ - StreamOptions: options, - } -} - -func (p *streamProtocolV2) createStreams(conn streamCreator) error { - var err error - headers := http.Header{} - - // set up error stream - headers.Set(v1.StreamType, v1.StreamTypeError) - p.errorStream, err = conn.CreateStream(headers) - if err != nil { - return err - } - - // set up stdin stream - if p.Stdin != nil { - headers.Set(v1.StreamType, v1.StreamTypeStdin) - p.remoteStdin, err = conn.CreateStream(headers) - if err != nil { - return err - } - } - - // set up stdout stream - if p.Stdout != nil { - headers.Set(v1.StreamType, v1.StreamTypeStdout) - p.remoteStdout, err = conn.CreateStream(headers) - if err != nil { - return err - } - } - - // set up stderr stream - if p.Stderr != nil && !p.Tty { - headers.Set(v1.StreamType, v1.StreamTypeStderr) - p.remoteStderr, err = conn.CreateStream(headers) - if err != nil { - return err - } - } - return nil -} - -func (p *streamProtocolV2) copyStdin() { - if p.Stdin != nil { - var once sync.Once - - // copy from client's stdin to container's stdin - go func() { - defer runtime.HandleCrash() - - // if p.stdin is noninteractive, p.g. `echo abc | kubectl exec -i -- cat`, make sure - // we close remoteStdin as soon as the copy from p.stdin to remoteStdin finishes. Otherwise - // the executed command will remain running. - defer once.Do(func() { p.remoteStdin.Close() }) - - if _, err := io.Copy(p.remoteStdin, readerWrapper{p.Stdin}); err != nil { - runtime.HandleError(err) - } - }() - - // read from remoteStdin until the stream is closed. this is essential to - // be able to exit interactive sessions cleanly and not leak goroutines or - // hang the client's terminal. - // - // TODO we aren't using go-dockerclient any more; revisit this to determine if it's still - // required by engine-api. - // - // go-dockerclient's current hijack implementation - // (https://github.com/fsouza/go-dockerclient/blob/89f3d56d93788dfe85f864a44f85d9738fca0670/client.go#L564) - // waits for all three streams (stdin/stdout/stderr) to finish copying - // before returning. When hijack finishes copying stdout/stderr, it calls - // Close() on its side of remoteStdin, which allows this copy to complete. - // When that happens, we must Close() on our side of remoteStdin, to - // allow the copy in hijack to complete, and hijack to return. - go func() { - defer runtime.HandleCrash() - defer once.Do(func() { p.remoteStdin.Close() }) - - // this "copy" doesn't actually read anything - it's just here to wait for - // the server to close remoteStdin. - if _, err := io.Copy(ioutil.Discard, p.remoteStdin); err != nil { - runtime.HandleError(err) - } - }() - } -} - -func (p *streamProtocolV2) copyStdout(wg *sync.WaitGroup) { - if p.Stdout == nil { - return - } - - wg.Add(1) - go func() { - defer runtime.HandleCrash() - defer wg.Done() - // make sure, packet in queue can be consumed. - // block in queue may lead to deadlock in conn.server - // issue: https://github.com/kubernetes/kubernetes/issues/96339 - defer io.Copy(ioutil.Discard, p.remoteStdout) - - if _, err := io.Copy(p.Stdout, p.remoteStdout); err != nil { - runtime.HandleError(err) - } - }() -} - -func (p *streamProtocolV2) copyStderr(wg *sync.WaitGroup) { - if p.Stderr == nil || p.Tty { - return - } - - wg.Add(1) - go func() { - defer runtime.HandleCrash() - defer wg.Done() - defer io.Copy(ioutil.Discard, p.remoteStderr) - - if _, err := io.Copy(p.Stderr, p.remoteStderr); err != nil { - runtime.HandleError(err) - } - }() -} - -func (p *streamProtocolV2) stream(conn streamCreator) error { - if err := p.createStreams(conn); err != nil { - return err - } - - // now that all the streams have been created, proceed with reading & copying - - errorChan := watchErrorStream(p.errorStream, &errorDecoderV2{}) - - p.copyStdin() - - var wg sync.WaitGroup - p.copyStdout(&wg) - p.copyStderr(&wg) - - // we're waiting for stdout/stderr to finish copying - wg.Wait() - - // waits for errorStream to finish reading with an error or nil - return <-errorChan -} - -// errorDecoderV2 interprets the error channel data as plain text. -type errorDecoderV2 struct{} - -func (d *errorDecoderV2) decode(message []byte) error { - return fmt.Errorf("error executing remote command: %s", message) -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/v3.go b/vendor/k8s.io/client-go/tools/remotecommand/v3.go deleted file mode 100644 index 846dd24a..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/v3.go +++ /dev/null @@ -1,111 +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 remotecommand - -import ( - "encoding/json" - "io" - "net/http" - "sync" - - "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/util/runtime" -) - -// streamProtocolV3 implements version 3 of the streaming protocol for attach -// and exec. This version adds support for resizing the container's terminal. -type streamProtocolV3 struct { - *streamProtocolV2 - - resizeStream io.Writer -} - -var _ streamProtocolHandler = &streamProtocolV3{} - -func newStreamProtocolV3(options StreamOptions) streamProtocolHandler { - return &streamProtocolV3{ - streamProtocolV2: newStreamProtocolV2(options).(*streamProtocolV2), - } -} - -func (p *streamProtocolV3) createStreams(conn streamCreator) error { - // set up the streams from v2 - if err := p.streamProtocolV2.createStreams(conn); err != nil { - return err - } - - // set up resize stream - if p.Tty { - headers := http.Header{} - headers.Set(v1.StreamType, v1.StreamTypeResize) - var err error - p.resizeStream, err = conn.CreateStream(headers) - if err != nil { - return err - } - } - - return nil -} - -func (p *streamProtocolV3) handleResizes() { - if p.resizeStream == nil || p.TerminalSizeQueue == nil { - return - } - go func() { - defer runtime.HandleCrash() - - encoder := json.NewEncoder(p.resizeStream) - for { - size := p.TerminalSizeQueue.Next() - if size == nil { - return - } - if err := encoder.Encode(&size); err != nil { - runtime.HandleError(err) - } - } - }() -} - -func (p *streamProtocolV3) stream(conn streamCreator) error { - if err := p.createStreams(conn); err != nil { - return err - } - - // now that all the streams have been created, proceed with reading & copying - - errorChan := watchErrorStream(p.errorStream, &errorDecoderV3{}) - - p.handleResizes() - - p.copyStdin() - - var wg sync.WaitGroup - p.copyStdout(&wg) - p.copyStderr(&wg) - - // we're waiting for stdout/stderr to finish copying - wg.Wait() - - // waits for errorStream to finish reading with an error or nil - return <-errorChan -} - -type errorDecoderV3 struct { - errorDecoderV2 -} diff --git a/vendor/k8s.io/client-go/tools/remotecommand/v4.go b/vendor/k8s.io/client-go/tools/remotecommand/v4.go deleted file mode 100644 index 69ca934a..00000000 --- a/vendor/k8s.io/client-go/tools/remotecommand/v4.go +++ /dev/null @@ -1,119 +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 remotecommand - -import ( - "encoding/json" - "errors" - "fmt" - "strconv" - "sync" - - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/util/remotecommand" - "k8s.io/client-go/util/exec" -) - -// streamProtocolV4 implements version 4 of the streaming protocol for attach -// and exec. This version adds support for exit codes on the error stream through -// the use of metav1.Status instead of plain text messages. -type streamProtocolV4 struct { - *streamProtocolV3 -} - -var _ streamProtocolHandler = &streamProtocolV4{} - -func newStreamProtocolV4(options StreamOptions) streamProtocolHandler { - return &streamProtocolV4{ - streamProtocolV3: newStreamProtocolV3(options).(*streamProtocolV3), - } -} - -func (p *streamProtocolV4) createStreams(conn streamCreator) error { - return p.streamProtocolV3.createStreams(conn) -} - -func (p *streamProtocolV4) handleResizes() { - p.streamProtocolV3.handleResizes() -} - -func (p *streamProtocolV4) stream(conn streamCreator) error { - if err := p.createStreams(conn); err != nil { - return err - } - - // now that all the streams have been created, proceed with reading & copying - - errorChan := watchErrorStream(p.errorStream, &errorDecoderV4{}) - - p.handleResizes() - - p.copyStdin() - - var wg sync.WaitGroup - p.copyStdout(&wg) - p.copyStderr(&wg) - - // we're waiting for stdout/stderr to finish copying - wg.Wait() - - // waits for errorStream to finish reading with an error or nil - return <-errorChan -} - -// errorDecoderV4 interprets the json-marshaled metav1.Status on the error channel -// and creates an exec.ExitError from it. -type errorDecoderV4 struct{} - -func (d *errorDecoderV4) decode(message []byte) error { - status := metav1.Status{} - err := json.Unmarshal(message, &status) - if err != nil { - return fmt.Errorf("error stream protocol error: %v in %q", err, string(message)) - } - switch status.Status { - case metav1.StatusSuccess: - return nil - case metav1.StatusFailure: - if status.Reason == remotecommand.NonZeroExitCodeReason { - if status.Details == nil { - return errors.New("error stream protocol error: details must be set") - } - for i := range status.Details.Causes { - c := &status.Details.Causes[i] - if c.Type != remotecommand.ExitCodeCauseType { - continue - } - - rc, err := strconv.ParseUint(c.Message, 10, 8) - if err != nil { - return fmt.Errorf("error stream protocol error: invalid exit code value %q", c.Message) - } - return exec.CodeExitError{ - Err: fmt.Errorf("command terminated with exit code %d", rc), - Code: int(rc), - } - } - - return fmt.Errorf("error stream protocol error: no %s cause given", remotecommand.ExitCodeCauseType) - } - default: - return errors.New("error stream protocol error: unknown error") - } - - return fmt.Errorf(status.Message) -} diff --git a/vendor/k8s.io/client-go/transport/spdy/spdy.go b/vendor/k8s.io/client-go/transport/spdy/spdy.go deleted file mode 100644 index f50b68e5..00000000 --- a/vendor/k8s.io/client-go/transport/spdy/spdy.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package spdy - -import ( - "fmt" - "net/http" - "net/url" - "time" - - "k8s.io/apimachinery/pkg/util/httpstream" - "k8s.io/apimachinery/pkg/util/httpstream/spdy" - restclient "k8s.io/client-go/rest" -) - -// Upgrader validates a response from the server after a SPDY upgrade. -type Upgrader interface { - // NewConnection validates the response and creates a new Connection. - NewConnection(resp *http.Response) (httpstream.Connection, error) -} - -// RoundTripperFor returns a round tripper and upgrader to use with SPDY. -func RoundTripperFor(config *restclient.Config) (http.RoundTripper, Upgrader, error) { - tlsConfig, err := restclient.TLSConfigFor(config) - if err != nil { - return nil, nil, err - } - proxy := http.ProxyFromEnvironment - if config.Proxy != nil { - proxy = config.Proxy - } - upgradeRoundTripper := spdy.NewRoundTripperWithConfig(spdy.RoundTripperConfig{ - TLS: tlsConfig, - Proxier: proxy, - PingPeriod: time.Second * 5, - }) - wrapper, err := restclient.HTTPWrappersForConfig(config, upgradeRoundTripper) - if err != nil { - return nil, nil, err - } - return wrapper, upgradeRoundTripper, nil -} - -// dialer implements the httpstream.Dialer interface. -type dialer struct { - client *http.Client - upgrader Upgrader - method string - url *url.URL -} - -var _ httpstream.Dialer = &dialer{} - -// NewDialer will create a dialer that connects to the provided URL and upgrades the connection to SPDY. -func NewDialer(upgrader Upgrader, client *http.Client, method string, url *url.URL) httpstream.Dialer { - return &dialer{ - client: client, - upgrader: upgrader, - method: method, - url: url, - } -} - -func (d *dialer) Dial(protocols ...string) (httpstream.Connection, string, error) { - req, err := http.NewRequest(d.method, d.url.String(), nil) - if err != nil { - return nil, "", fmt.Errorf("error creating request: %v", err) - } - return Negotiate(d.upgrader, d.client, req, protocols...) -} - -// Negotiate opens a connection to a remote server and attempts to negotiate -// a SPDY connection. Upon success, it returns the connection and the protocol selected by -// the server. The client transport must use the upgradeRoundTripper - see RoundTripperFor. -func Negotiate(upgrader Upgrader, client *http.Client, req *http.Request, protocols ...string) (httpstream.Connection, string, error) { - for i := range protocols { - req.Header.Add(httpstream.HeaderProtocolVersion, protocols[i]) - } - resp, err := client.Do(req) - if err != nil { - return nil, "", fmt.Errorf("error sending request: %v", err) - } - defer resp.Body.Close() - conn, err := upgrader.NewConnection(resp) - if err != nil { - return nil, "", err - } - return conn, resp.Header.Get(httpstream.HeaderProtocolVersion), nil -} diff --git a/vendor/k8s.io/client-go/util/exec/exec.go b/vendor/k8s.io/client-go/util/exec/exec.go deleted file mode 100644 index d170badb..00000000 --- a/vendor/k8s.io/client-go/util/exec/exec.go +++ /dev/null @@ -1,52 +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 exec - -// ExitError is an interface that presents an API similar to os.ProcessState, which is -// what ExitError from os/exec is. This is designed to make testing a bit easier and -// probably loses some of the cross-platform properties of the underlying library. -type ExitError interface { - String() string - Error() string - Exited() bool - ExitStatus() int -} - -// CodeExitError is an implementation of ExitError consisting of an error object -// and an exit code (the upper bits of os.exec.ExitStatus). -type CodeExitError struct { - Err error - Code int -} - -var _ ExitError = CodeExitError{} - -func (e CodeExitError) Error() string { - return e.Err.Error() -} - -func (e CodeExitError) String() string { - return e.Err.Error() -} - -func (e CodeExitError) Exited() bool { - return true -} - -func (e CodeExitError) ExitStatus() int { - return e.Code -} diff --git a/vendor/k8s.io/component-base/version/OWNERS b/vendor/k8s.io/component-base/version/OWNERS deleted file mode 100644 index 08c7aea9..00000000 --- a/vendor/k8s.io/component-base/version/OWNERS +++ /dev/null @@ -1,16 +0,0 @@ -# See the OWNERS docs at https://go.k8s.io/owners - -# Currently assigned this directory to sig-api-machinery since this is -# an interface to the version definition in "k8s.io/apimachinery/pkg/version", -# and also to sig-release since this version information is set up for -# each release. - -approvers: - - sig-api-machinery-api-approvers - - release-engineering-approvers -reviewers: - - sig-api-machinery-api-reviewers - - release-managers -labels: - - sig/api-machinery - - sig/release diff --git a/vendor/k8s.io/component-base/version/base.go b/vendor/k8s.io/component-base/version/base.go deleted file mode 100644 index b753b7d1..00000000 --- a/vendor/k8s.io/component-base/version/base.go +++ /dev/null @@ -1,63 +0,0 @@ -/* -Copyright 2019 The 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 version - -// Base version information. -// -// This is the fallback data used when version information from git is not -// provided via go ldflags. It provides an approximation of the Kubernetes -// version for ad-hoc builds (e.g. `go build`) that cannot get the version -// information from git. -// -// If you are looking at these fields in the git tree, they look -// strange. They are modified on the fly by the build process. The -// in-tree values are dummy values used for "git archive", which also -// works for GitHub tar downloads. -// -// When releasing a new Kubernetes version, this file is updated by -// build/mark_new_version.sh to reflect the new version, and then a -// git annotated tag (using format vX.Y where X == Major version and Y -// == Minor version) is created to point to the commit that updates -// component-base/version/base.go -var ( - // TODO: Deprecate gitMajor and gitMinor, use only gitVersion - // instead. First step in deprecation, keep the fields but make - // them irrelevant. (Next we'll take it out, which may muck with - // scripts consuming the kubectl version output - but most of - // these should be looking at gitVersion already anyways.) - gitMajor string // major version, always numeric - gitMinor string // minor version, numeric possibly followed by "+" - - // semantic version, derived by build scripts (see - // https://github.com/kubernetes/community/blob/master/contributors/design-proposals/release/versioning.md - // for a detailed discussion of this field) - // - // TODO: This field is still called "gitVersion" for legacy - // reasons. For prerelease versions, the build metadata on the - // semantic version is a git hash, but the version itself is no - // longer the direct output of "git describe", but a slight - // translation to be semver compliant. - - // NOTE: The $Format strings are replaced during 'git archive' thanks to the - // companion .gitattributes file containing 'export-subst' in this same - // directory. See also https://git-scm.com/docs/gitattributes - gitVersion = "v0.0.0-master+$Format:%H$" - gitCommit = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) - gitTreeState = "" // state of git tree, either "clean" or "dirty" - - buildDate = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') -) diff --git a/vendor/k8s.io/component-base/version/version.go b/vendor/k8s.io/component-base/version/version.go deleted file mode 100644 index d1e76dc0..00000000 --- a/vendor/k8s.io/component-base/version/version.go +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2019 The 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 version - -import ( - "fmt" - "runtime" - - apimachineryversion "k8s.io/apimachinery/pkg/version" -) - -// Get returns the overall codebase version. It's for detecting -// what code a binary was built from. -func Get() apimachineryversion.Info { - // These variables typically come from -ldflags settings and in - // their absence fallback to the settings in ./base.go - return apimachineryversion.Info{ - Major: gitMajor, - Minor: gitMinor, - GitVersion: gitVersion, - GitCommit: gitCommit, - GitTreeState: gitTreeState, - BuildDate: buildDate, - GoVersion: runtime.Version(), - Compiler: runtime.Compiler, - Platform: fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH), - } -} diff --git a/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/errors.go b/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/errors.go deleted file mode 100644 index b1aa8c00..00000000 --- a/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/errors.go +++ /dev/null @@ -1,79 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package validation - -import ( - "fmt" -) - -type errors struct { - errors []error -} - -func (e *errors) Errors() []error { - return e.errors -} - -func (e *errors) AppendErrors(err ...error) { - e.errors = append(e.errors, err...) -} - -type ValidationError struct { - Path string - Err error -} - -func (e ValidationError) Error() string { - return fmt.Sprintf("ValidationError(%s): %v", e.Path, e.Err) -} - -type InvalidTypeError struct { - Path string - Expected string - Actual string -} - -func (e InvalidTypeError) Error() string { - return fmt.Sprintf("invalid type for %s: got %q, expected %q", e.Path, e.Actual, e.Expected) -} - -type MissingRequiredFieldError struct { - Path string - Field string -} - -func (e MissingRequiredFieldError) Error() string { - return fmt.Sprintf("missing required field %q in %s", e.Field, e.Path) -} - -type UnknownFieldError struct { - Path string - Field string -} - -func (e UnknownFieldError) Error() string { - return fmt.Sprintf("unknown field %q in %s", e.Field, e.Path) -} - -type InvalidObjectTypeError struct { - Path string - Type string -} - -func (e InvalidObjectTypeError) Error() string { - return fmt.Sprintf("unknown object type %q in %s", e.Type, e.Path) -} diff --git a/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/types.go b/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/types.go deleted file mode 100644 index e66342a7..00000000 --- a/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/types.go +++ /dev/null @@ -1,299 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package validation - -import ( - "reflect" - "sort" - - "k8s.io/kube-openapi/pkg/util/proto" -) - -type validationItem interface { - proto.SchemaVisitor - - Errors() []error - Path() *proto.Path -} - -type baseItem struct { - errors errors - path proto.Path -} - -// Errors returns the list of errors found for this item. -func (item *baseItem) Errors() []error { - return item.errors.Errors() -} - -// AddValidationError wraps the given error into a ValidationError and -// attaches it to this item. -func (item *baseItem) AddValidationError(err error) { - item.errors.AppendErrors(ValidationError{Path: item.path.String(), Err: err}) -} - -// AddError adds a regular (non-validation related) error to the list. -func (item *baseItem) AddError(err error) { - item.errors.AppendErrors(err) -} - -// CopyErrors adds a list of errors to this item. This is useful to copy -// errors from subitems. -func (item *baseItem) CopyErrors(errs []error) { - item.errors.AppendErrors(errs...) -} - -// Path returns the path of this item, helps print useful errors. -func (item *baseItem) Path() *proto.Path { - return &item.path -} - -// mapItem represents a map entry in the yaml. -type mapItem struct { - baseItem - - Map map[string]interface{} -} - -func (item *mapItem) sortedKeys() []string { - sortedKeys := []string{} - for key := range item.Map { - sortedKeys = append(sortedKeys, key) - } - sort.Strings(sortedKeys) - return sortedKeys -} - -var _ validationItem = &mapItem{} - -func (item *mapItem) VisitPrimitive(schema *proto.Primitive) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: schema.Type, Actual: "map"}) -} - -func (item *mapItem) VisitArray(schema *proto.Array) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: "array", Actual: "map"}) -} - -func (item *mapItem) VisitMap(schema *proto.Map) { - for _, key := range item.sortedKeys() { - subItem, err := itemFactory(item.Path().FieldPath(key), item.Map[key]) - if err != nil { - item.AddError(err) - continue - } - schema.SubType.Accept(subItem) - item.CopyErrors(subItem.Errors()) - } -} - -func (item *mapItem) VisitKind(schema *proto.Kind) { - // Verify each sub-field. - for _, key := range item.sortedKeys() { - if item.Map[key] == nil { - continue - } - subItem, err := itemFactory(item.Path().FieldPath(key), item.Map[key]) - if err != nil { - item.AddError(err) - continue - } - if _, ok := schema.Fields[key]; !ok { - item.AddValidationError(UnknownFieldError{Path: schema.GetPath().String(), Field: key}) - continue - } - schema.Fields[key].Accept(subItem) - item.CopyErrors(subItem.Errors()) - } - - // Verify that all required fields are present. - for _, required := range schema.RequiredFields { - if v, ok := item.Map[required]; !ok || v == nil { - item.AddValidationError(MissingRequiredFieldError{Path: schema.GetPath().String(), Field: required}) - } - } -} - -func (item *mapItem) VisitArbitrary(schema *proto.Arbitrary) { -} - -func (item *mapItem) VisitReference(schema proto.Reference) { - // passthrough - schema.SubSchema().Accept(item) -} - -// arrayItem represents a yaml array. -type arrayItem struct { - baseItem - - Array []interface{} -} - -var _ validationItem = &arrayItem{} - -func (item *arrayItem) VisitPrimitive(schema *proto.Primitive) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: schema.Type, Actual: "array"}) -} - -func (item *arrayItem) VisitArray(schema *proto.Array) { - for i, v := range item.Array { - path := item.Path().ArrayPath(i) - if v == nil { - item.AddValidationError(InvalidObjectTypeError{Type: "nil", Path: path.String()}) - continue - } - subItem, err := itemFactory(path, v) - if err != nil { - item.AddError(err) - continue - } - schema.SubType.Accept(subItem) - item.CopyErrors(subItem.Errors()) - } -} - -func (item *arrayItem) VisitMap(schema *proto.Map) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: "map", Actual: "array"}) -} - -func (item *arrayItem) VisitKind(schema *proto.Kind) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: "map", Actual: "array"}) -} - -func (item *arrayItem) VisitArbitrary(schema *proto.Arbitrary) { -} - -func (item *arrayItem) VisitReference(schema proto.Reference) { - // passthrough - schema.SubSchema().Accept(item) -} - -// primitiveItem represents a yaml value. -type primitiveItem struct { - baseItem - - Value interface{} - Kind string -} - -var _ validationItem = &primitiveItem{} - -func (item *primitiveItem) VisitPrimitive(schema *proto.Primitive) { - // Some types of primitives can match more than one (a number - // can be a string, but not the other way around). Return from - // the switch if we have a valid possible type conversion - // NOTE(apelisse): This logic is blindly copied from the - // existing swagger logic, and I'm not sure I agree with it. - switch schema.Type { - case proto.Boolean: - switch item.Kind { - case proto.Boolean: - return - } - case proto.Integer: - switch item.Kind { - case proto.Integer, proto.Number: - return - } - case proto.Number: - switch item.Kind { - case proto.Integer, proto.Number: - return - } - case proto.String: - return - } - // TODO(wrong): this misses "null" - - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: schema.Type, Actual: item.Kind}) -} - -func (item *primitiveItem) VisitArray(schema *proto.Array) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: "array", Actual: item.Kind}) -} - -func (item *primitiveItem) VisitMap(schema *proto.Map) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: "map", Actual: item.Kind}) -} - -func (item *primitiveItem) VisitKind(schema *proto.Kind) { - item.AddValidationError(InvalidTypeError{Path: schema.GetPath().String(), Expected: "map", Actual: item.Kind}) -} - -func (item *primitiveItem) VisitArbitrary(schema *proto.Arbitrary) { -} - -func (item *primitiveItem) VisitReference(schema proto.Reference) { - // passthrough - schema.SubSchema().Accept(item) -} - -// itemFactory creates the relevant item type/visitor based on the current yaml type. -func itemFactory(path proto.Path, v interface{}) (validationItem, error) { - // We need to special case for no-type fields in yaml (e.g. empty item in list) - if v == nil { - return nil, InvalidObjectTypeError{Type: "nil", Path: path.String()} - } - kind := reflect.TypeOf(v).Kind() - switch kind { - case reflect.Bool: - return &primitiveItem{ - baseItem: baseItem{path: path}, - Value: v, - Kind: proto.Boolean, - }, nil - case reflect.Int, - reflect.Int8, - reflect.Int16, - reflect.Int32, - reflect.Int64, - reflect.Uint, - reflect.Uint8, - reflect.Uint16, - reflect.Uint32, - reflect.Uint64: - return &primitiveItem{ - baseItem: baseItem{path: path}, - Value: v, - Kind: proto.Integer, - }, nil - case reflect.Float32, - reflect.Float64: - return &primitiveItem{ - baseItem: baseItem{path: path}, - Value: v, - Kind: proto.Number, - }, nil - case reflect.String: - return &primitiveItem{ - baseItem: baseItem{path: path}, - Value: v, - Kind: proto.String, - }, nil - case reflect.Array, - reflect.Slice: - return &arrayItem{ - baseItem: baseItem{path: path}, - Array: v.([]interface{}), - }, nil - case reflect.Map: - return &mapItem{ - baseItem: baseItem{path: path}, - Map: v.(map[string]interface{}), - }, nil - } - return nil, InvalidObjectTypeError{Type: kind.String(), Path: path.String()} -} diff --git a/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/validation.go b/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/validation.go deleted file mode 100644 index 35310f63..00000000 --- a/vendor/k8s.io/kube-openapi/pkg/util/proto/validation/validation.go +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package validation - -import ( - "k8s.io/kube-openapi/pkg/util/proto" -) - -func ValidateModel(obj interface{}, schema proto.Schema, name string) []error { - rootValidation, err := itemFactory(proto.NewPath(name), obj) - if err != nil { - return []error{err} - } - schema.Accept(rootValidation) - return rootValidation.Errors() -} diff --git a/vendor/k8s.io/kubectl/LICENSE b/vendor/k8s.io/kubectl/LICENSE deleted file mode 100644 index 8dada3ed..00000000 --- a/vendor/k8s.io/kubectl/LICENSE +++ /dev/null @@ -1,201 +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 {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/env_file.go b/vendor/k8s.io/kubectl/pkg/cmd/util/env_file.go deleted file mode 100644 index ed125583..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/env_file.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package util - -import ( - "bufio" - "bytes" - "fmt" - "os" - "strings" - "unicode" - "unicode/utf8" - - "k8s.io/apimachinery/pkg/util/validation" -) - -var utf8bom = []byte{0xEF, 0xBB, 0xBF} - -// processEnvFileLine returns a blank key if the line is empty or a comment. -// The value will be retrieved from the environment if necessary. -func processEnvFileLine(line []byte, filePath string, - currentLine int) (key, value string, err error) { - - if !utf8.Valid(line) { - return ``, ``, fmt.Errorf("env file %s contains invalid utf8 bytes at line %d: %v", - filePath, currentLine+1, line) - } - - // We trim UTF8 BOM from the first line of the file but no others - if currentLine == 0 { - line = bytes.TrimPrefix(line, utf8bom) - } - - // trim the line from all leading whitespace first - line = bytes.TrimLeftFunc(line, unicode.IsSpace) - - // If the line is empty or a comment, we return a blank key/value pair. - if len(line) == 0 || line[0] == '#' { - return ``, ``, nil - } - - data := strings.SplitN(string(line), "=", 2) - key = data[0] - if errs := validation.IsEnvVarName(key); len(errs) != 0 { - return ``, ``, fmt.Errorf("%q is not a valid key name: %s", key, strings.Join(errs, ";")) - } - - if len(data) == 2 { - value = data[1] - } else { - // No value (no `=` in the line) is a signal to obtain the value - // from the environment. - value = os.Getenv(key) - } - return -} - -// AddFromEnvFile processes an env file allows a generic addTo to handle the -// collection of key value pairs or returns an error. -func AddFromEnvFile(filePath string, addTo func(key, value string) error) error { - f, err := os.Open(filePath) - if err != nil { - return err - } - defer f.Close() - - scanner := bufio.NewScanner(f) - currentLine := 0 - for scanner.Scan() { - // Process the current line, retrieving a key/value pair if - // possible. - scannedBytes := scanner.Bytes() - key, value, err := processEnvFileLine(scannedBytes, filePath, currentLine) - if err != nil { - return err - } - currentLine++ - - if len(key) == 0 { - // no key means line was empty or a comment - continue - } - - if err = addTo(key, value); err != nil { - return err - } - } - return nil -} diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/factory.go b/vendor/k8s.io/kubectl/pkg/cmd/util/factory.go deleted file mode 100644 index 45331477..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/factory.go +++ /dev/null @@ -1,69 +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 - -import ( - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/cli-runtime/pkg/genericclioptions" - "k8s.io/cli-runtime/pkg/resource" - "k8s.io/client-go/discovery" - "k8s.io/client-go/dynamic" - "k8s.io/client-go/kubernetes" - restclient "k8s.io/client-go/rest" - "k8s.io/kubectl/pkg/util/openapi" - "k8s.io/kubectl/pkg/validation" -) - -// Factory provides abstractions that allow the Kubectl command to be extended across multiple types -// of resources and different API sets. -// The rings are here for a reason. In order for composers to be able to provide alternative factory implementations -// they need to provide low level pieces of *certain* functions so that when the factory calls back into itself -// it uses the custom version of the function. Rather than try to enumerate everything that someone would want to override -// we split the factory into rings, where each ring can depend on methods in an earlier ring, but cannot depend -// upon peer methods in its own ring. -// TODO: make the functions interfaces -// TODO: pass the various interfaces on the factory directly into the command constructors (so the -// commands are decoupled from the factory). -type Factory interface { - genericclioptions.RESTClientGetter - - // DynamicClient returns a dynamic client ready for use - DynamicClient() (dynamic.Interface, error) - - // KubernetesClientSet gives you back an external clientset - KubernetesClientSet() (*kubernetes.Clientset, error) - - // Returns a RESTClient for accessing Kubernetes resources or an error. - RESTClient() (*restclient.RESTClient, error) - - // NewBuilder returns an object that assists in loading objects from both disk and the server - // and which implements the common patterns for CLI interactions with generic resources. - NewBuilder() *resource.Builder - - // Returns a RESTClient for working with the specified RESTMapping or an error. This is intended - // for working with arbitrary resources and is not guaranteed to point to a Kubernetes APIServer. - ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) - // Returns a RESTClient for working with Unstructured objects. - UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) - - // Returns a schema that can validate objects stored on disk. - Validator(validationDirective string, verifier *resource.QueryParamVerifier) (validation.Schema, error) - // OpenAPISchema returns the parsed openapi schema definition - OpenAPISchema() (openapi.Resources, error) - // OpenAPIGetter returns a getter for the openapi schema document - OpenAPIGetter() discovery.OpenAPISchemaInterface -} diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/factory_client_access.go b/vendor/k8s.io/kubectl/pkg/cmd/util/factory_client_access.go deleted file mode 100644 index acf9daf5..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/factory_client_access.go +++ /dev/null @@ -1,196 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// this file contains factories with no other dependencies - -package util - -import ( - "errors" - "sync" - - corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/cli-runtime/pkg/genericclioptions" - "k8s.io/cli-runtime/pkg/resource" - "k8s.io/client-go/discovery" - "k8s.io/client-go/dynamic" - "k8s.io/client-go/kubernetes" - restclient "k8s.io/client-go/rest" - "k8s.io/client-go/tools/clientcmd" - "k8s.io/kubectl/pkg/util/openapi" - openapivalidation "k8s.io/kubectl/pkg/util/openapi/validation" - "k8s.io/kubectl/pkg/validation" -) - -type factoryImpl struct { - clientGetter genericclioptions.RESTClientGetter - - // Caches OpenAPI document and parsed resources - openAPIParser *openapi.CachedOpenAPIParser - openAPIGetter *openapi.CachedOpenAPIGetter - parser sync.Once - getter sync.Once -} - -func NewFactory(clientGetter genericclioptions.RESTClientGetter) Factory { - if clientGetter == nil { - panic("attempt to instantiate client_access_factory with nil clientGetter") - } - f := &factoryImpl{ - clientGetter: clientGetter, - } - - return f -} - -func (f *factoryImpl) ToRESTConfig() (*restclient.Config, error) { - return f.clientGetter.ToRESTConfig() -} - -func (f *factoryImpl) ToRESTMapper() (meta.RESTMapper, error) { - return f.clientGetter.ToRESTMapper() -} - -func (f *factoryImpl) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - return f.clientGetter.ToDiscoveryClient() -} - -func (f *factoryImpl) ToRawKubeConfigLoader() clientcmd.ClientConfig { - return f.clientGetter.ToRawKubeConfigLoader() -} - -func (f *factoryImpl) KubernetesClientSet() (*kubernetes.Clientset, error) { - clientConfig, err := f.ToRESTConfig() - if err != nil { - return nil, err - } - return kubernetes.NewForConfig(clientConfig) -} - -func (f *factoryImpl) DynamicClient() (dynamic.Interface, error) { - clientConfig, err := f.ToRESTConfig() - if err != nil { - return nil, err - } - return dynamic.NewForConfig(clientConfig) -} - -// NewBuilder returns a new resource builder for structured api objects. -func (f *factoryImpl) NewBuilder() *resource.Builder { - return resource.NewBuilder(f.clientGetter) -} - -func (f *factoryImpl) RESTClient() (*restclient.RESTClient, error) { - clientConfig, err := f.ToRESTConfig() - if err != nil { - return nil, err - } - setKubernetesDefaults(clientConfig) - return restclient.RESTClientFor(clientConfig) -} - -func (f *factoryImpl) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) { - cfg, err := f.clientGetter.ToRESTConfig() - if err != nil { - return nil, err - } - if err := setKubernetesDefaults(cfg); err != nil { - return nil, err - } - gvk := mapping.GroupVersionKind - switch gvk.Group { - case corev1.GroupName: - cfg.APIPath = "/api" - default: - cfg.APIPath = "/apis" - } - gv := gvk.GroupVersion() - cfg.GroupVersion = &gv - return restclient.RESTClientFor(cfg) -} - -func (f *factoryImpl) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) { - cfg, err := f.clientGetter.ToRESTConfig() - if err != nil { - return nil, err - } - if err := restclient.SetKubernetesDefaults(cfg); err != nil { - return nil, err - } - cfg.APIPath = "/apis" - if mapping.GroupVersionKind.Group == corev1.GroupName { - cfg.APIPath = "/api" - } - gv := mapping.GroupVersionKind.GroupVersion() - cfg.ContentConfig = resource.UnstructuredPlusDefaultContentConfig() - cfg.GroupVersion = &gv - return restclient.RESTClientFor(cfg) -} - -func (f *factoryImpl) Validator(validationDirective string, verifier *resource.QueryParamVerifier) (validation.Schema, error) { - // client-side schema validation is only performed - // when the validationDirective is strict. - // If the directive is warn, we rely on the ParamVerifyingSchema - // to ignore the client-side validation and provide a warning - // to the user that attempting warn validation when SS validation - // is unsupported is inert. - if validationDirective == metav1.FieldValidationIgnore { - return validation.NullSchema{}, nil - } - - resources, err := f.OpenAPISchema() - if err != nil { - return nil, err - } - - schema := validation.ConjunctiveSchema{ - openapivalidation.NewSchemaValidation(resources), - validation.NoDoubleKeySchema{}, - } - return validation.NewParamVerifyingSchema(schema, verifier, string(validationDirective)), nil -} - -// OpenAPISchema returns metadata and structural information about -// Kubernetes object definitions. -func (f *factoryImpl) OpenAPISchema() (openapi.Resources, error) { - openAPIGetter := f.OpenAPIGetter() - if openAPIGetter == nil { - return nil, errors.New("no openapi getter") - } - - // Lazily initialize the OpenAPIParser once - f.parser.Do(func() { - // Create the caching OpenAPIParser - f.openAPIParser = openapi.NewOpenAPIParser(f.OpenAPIGetter()) - }) - - // Delegate to the OpenAPIPArser - return f.openAPIParser.Parse() -} - -func (f *factoryImpl) OpenAPIGetter() discovery.OpenAPISchemaInterface { - discovery, err := f.clientGetter.ToDiscoveryClient() - if err != nil { - return nil - } - f.getter.Do(func() { - f.openAPIGetter = openapi.NewOpenAPIGetter(discovery) - }) - - return f.openAPIGetter -} diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/helpers.go b/vendor/k8s.io/kubectl/pkg/cmd/util/helpers.go deleted file mode 100644 index 00d6ac98..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/helpers.go +++ /dev/null @@ -1,846 +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 - -import ( - "bytes" - "errors" - "fmt" - "io" - "net/url" - "os" - "strconv" - "strings" - "time" - - jsonpatch "github.com/evanphx/json-patch" - "github.com/spf13/cobra" - "github.com/spf13/pflag" - - apierrors "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/api/meta" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/apimachinery/pkg/util/sets" - "k8s.io/apimachinery/pkg/util/strategicpatch" - "k8s.io/apimachinery/pkg/util/yaml" - "k8s.io/cli-runtime/pkg/genericclioptions" - "k8s.io/cli-runtime/pkg/resource" - "k8s.io/client-go/dynamic" - "k8s.io/client-go/rest" - "k8s.io/client-go/scale" - "k8s.io/client-go/tools/clientcmd" - "k8s.io/klog/v2" - utilexec "k8s.io/utils/exec" -) - -const ( - ApplyAnnotationsFlag = "save-config" - DefaultErrorExitCode = 1 - DefaultChunkSize = 500 -) - -type debugError interface { - DebugError() (msg string, args []interface{}) -} - -// AddSourceToErr adds handleResourcePrefix and source string to error message. -// verb is the string like "creating", "deleting" etc. -// source is the filename or URL to the template file(*.json or *.yaml), or stdin to use to handle the resource. -func AddSourceToErr(verb string, source string, err error) error { - if source != "" { - if statusError, ok := err.(apierrors.APIStatus); ok { - status := statusError.Status() - status.Message = fmt.Sprintf("error when %s %q: %v", verb, source, status.Message) - return &apierrors.StatusError{ErrStatus: status} - } - return fmt.Errorf("error when %s %q: %v", verb, source, err) - } - return err -} - -var fatalErrHandler = fatal - -// BehaviorOnFatal allows you to override the default behavior when a fatal -// error occurs, which is to call os.Exit(code). You can pass 'panic' as a function -// here if you prefer the panic() over os.Exit(1). -func BehaviorOnFatal(f func(string, int)) { - fatalErrHandler = f -} - -// DefaultBehaviorOnFatal allows you to undo any previous override. Useful in -// tests. -func DefaultBehaviorOnFatal() { - fatalErrHandler = fatal -} - -// fatal prints the message (if provided) and then exits. If V(99) or greater, -// klog.Fatal is invoked for extended information. This is intended for maintainer -// debugging and out of a reasonable range for users. -func fatal(msg string, code int) { - // nolint:logcheck // Not using the result of klog.V(99) inside the if - // branch is okay, we just use it to determine how to terminate. - if klog.V(99).Enabled() { - klog.FatalDepth(2, msg) - } - if len(msg) > 0 { - // add newline if needed - if !strings.HasSuffix(msg, "\n") { - msg += "\n" - } - fmt.Fprint(os.Stderr, msg) - } - os.Exit(code) -} - -// ErrExit may be passed to CheckError to instruct it to output nothing but exit with -// status code 1. -var ErrExit = fmt.Errorf("exit") - -// CheckErr prints a user friendly error to STDERR and exits with a non-zero -// exit code. Unrecognized errors will be printed with an "error: " prefix. -// -// This method is generic to the command in use and may be used by non-Kubectl -// commands. -func CheckErr(err error) { - checkErr(err, fatalErrHandler) -} - -// CheckDiffErr prints a user friendly error to STDERR and exits with a -// non-zero and non-one exit code. Unrecognized errors will be printed -// with an "error: " prefix. -// -// This method is meant specifically for `kubectl diff` and may be used -// by other commands. -func CheckDiffErr(err error) { - checkErr(err, func(msg string, code int) { - fatalErrHandler(msg, code+1) - }) -} - -// checkErr formats a given error as a string and calls the passed handleErr -// func with that string and an kubectl exit code. -func checkErr(err error, handleErr func(string, int)) { - // unwrap aggregates of 1 - if agg, ok := err.(utilerrors.Aggregate); ok && len(agg.Errors()) == 1 { - err = agg.Errors()[0] - } - - if err == nil { - return - } - - switch { - case err == ErrExit: - handleErr("", DefaultErrorExitCode) - case apierrors.IsInvalid(err): - details := err.(*apierrors.StatusError).Status().Details - s := "The request is invalid" - if details == nil { - handleErr(s, DefaultErrorExitCode) - return - } - if len(details.Kind) != 0 || len(details.Name) != 0 { - s = fmt.Sprintf("The %s %q is invalid", details.Kind, details.Name) - } - if len(details.Causes) > 0 { - errs := statusCausesToAggrError(details.Causes) - handleErr(MultilineError(s+": ", errs), DefaultErrorExitCode) - } else { - handleErr(s, DefaultErrorExitCode) - } - case clientcmd.IsConfigurationInvalid(err): - handleErr(MultilineError("Error in configuration: ", err), DefaultErrorExitCode) - default: - switch err := err.(type) { - case *meta.NoResourceMatchError: - switch { - case len(err.PartialResource.Group) > 0 && len(err.PartialResource.Version) > 0: - handleErr(fmt.Sprintf("the server doesn't have a resource type %q in group %q and version %q", err.PartialResource.Resource, err.PartialResource.Group, err.PartialResource.Version), DefaultErrorExitCode) - case len(err.PartialResource.Group) > 0: - handleErr(fmt.Sprintf("the server doesn't have a resource type %q in group %q", err.PartialResource.Resource, err.PartialResource.Group), DefaultErrorExitCode) - case len(err.PartialResource.Version) > 0: - handleErr(fmt.Sprintf("the server doesn't have a resource type %q in version %q", err.PartialResource.Resource, err.PartialResource.Version), DefaultErrorExitCode) - default: - handleErr(fmt.Sprintf("the server doesn't have a resource type %q", err.PartialResource.Resource), DefaultErrorExitCode) - } - case utilerrors.Aggregate: - handleErr(MultipleErrors(``, err.Errors()), DefaultErrorExitCode) - case utilexec.ExitError: - handleErr(err.Error(), err.ExitStatus()) - default: // for any other error type - msg, ok := StandardErrorMessage(err) - if !ok { - msg = err.Error() - if !strings.HasPrefix(msg, "error: ") { - msg = fmt.Sprintf("error: %s", msg) - } - } - handleErr(msg, DefaultErrorExitCode) - } - } -} - -func statusCausesToAggrError(scs []metav1.StatusCause) utilerrors.Aggregate { - errs := make([]error, 0, len(scs)) - errorMsgs := sets.NewString() - for _, sc := range scs { - // check for duplicate error messages and skip them - msg := fmt.Sprintf("%s: %s", sc.Field, sc.Message) - if errorMsgs.Has(msg) { - continue - } - errorMsgs.Insert(msg) - errs = append(errs, errors.New(msg)) - } - return utilerrors.NewAggregate(errs) -} - -// StandardErrorMessage translates common errors into a human readable message, or returns -// false if the error is not one of the recognized types. It may also log extended -// information to klog. -// -// This method is generic to the command in use and may be used by non-Kubectl -// commands. -func StandardErrorMessage(err error) (string, bool) { - if debugErr, ok := err.(debugError); ok { - klog.V(4).Infof(debugErr.DebugError()) - } - status, isStatus := err.(apierrors.APIStatus) - switch { - case isStatus: - switch s := status.Status(); { - case s.Reason == metav1.StatusReasonUnauthorized: - return fmt.Sprintf("error: You must be logged in to the server (%s)", s.Message), true - case len(s.Reason) > 0: - return fmt.Sprintf("Error from server (%s): %s", s.Reason, err.Error()), true - default: - return fmt.Sprintf("Error from server: %s", err.Error()), true - } - case apierrors.IsUnexpectedObjectError(err): - return fmt.Sprintf("Server returned an unexpected response: %s", err.Error()), true - } - switch t := err.(type) { - case *url.Error: - klog.V(4).Infof("Connection error: %s %s: %v", t.Op, t.URL, t.Err) - switch { - case strings.Contains(t.Err.Error(), "connection refused"): - host := t.URL - if server, err := url.Parse(t.URL); err == nil { - host = server.Host - } - return fmt.Sprintf("The connection to the server %s was refused - did you specify the right host or port?", host), true - } - return fmt.Sprintf("Unable to connect to the server: %v", t.Err), true - } - return "", false -} - -// MultilineError returns a string representing an error that splits sub errors into their own -// lines. The returned string will end with a newline. -func MultilineError(prefix string, err error) string { - if agg, ok := err.(utilerrors.Aggregate); ok { - errs := utilerrors.Flatten(agg).Errors() - buf := &bytes.Buffer{} - switch len(errs) { - case 0: - return fmt.Sprintf("%s%v\n", prefix, err) - case 1: - return fmt.Sprintf("%s%v\n", prefix, messageForError(errs[0])) - default: - fmt.Fprintln(buf, prefix) - for _, err := range errs { - fmt.Fprintf(buf, "* %v\n", messageForError(err)) - } - return buf.String() - } - } - return fmt.Sprintf("%s%s\n", prefix, err) -} - -// PrintErrorWithCauses prints an error's kind, name, and each of the error's causes in a new line. -// The returned string will end with a newline. -// Returns true if a case exists to handle the error type, or false otherwise. -func PrintErrorWithCauses(err error, errOut io.Writer) bool { - switch t := err.(type) { - case *apierrors.StatusError: - errorDetails := t.Status().Details - if errorDetails != nil { - fmt.Fprintf(errOut, "error: %s %q is invalid\n\n", errorDetails.Kind, errorDetails.Name) - for _, cause := range errorDetails.Causes { - fmt.Fprintf(errOut, "* %s: %s\n", cause.Field, cause.Message) - } - return true - } - } - - fmt.Fprintf(errOut, "error: %v\n", err) - return false -} - -// MultipleErrors returns a newline delimited string containing -// the prefix and referenced errors in standard form. -func MultipleErrors(prefix string, errs []error) string { - buf := &bytes.Buffer{} - for _, err := range errs { - fmt.Fprintf(buf, "%s%v\n", prefix, messageForError(err)) - } - return buf.String() -} - -// messageForError returns the string representing the error. -func messageForError(err error) string { - msg, ok := StandardErrorMessage(err) - if !ok { - msg = err.Error() - } - return msg -} - -func UsageErrorf(cmd *cobra.Command, format string, args ...interface{}) error { - msg := fmt.Sprintf(format, args...) - return fmt.Errorf("%s\nSee '%s -h' for help and examples", msg, cmd.CommandPath()) -} - -func IsFilenameSliceEmpty(filenames []string, directory string) bool { - return len(filenames) == 0 && directory == "" -} - -func GetFlagString(cmd *cobra.Command, flag string) string { - s, err := cmd.Flags().GetString(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return s -} - -// GetFlagStringSlice can be used to accept multiple argument with flag repetition (e.g. -f arg1,arg2 -f arg3 ...) -func GetFlagStringSlice(cmd *cobra.Command, flag string) []string { - s, err := cmd.Flags().GetStringSlice(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return s -} - -// GetFlagStringArray can be used to accept multiple argument with flag repetition (e.g. -f arg1 -f arg2 ...) -func GetFlagStringArray(cmd *cobra.Command, flag string) []string { - s, err := cmd.Flags().GetStringArray(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return s -} - -func GetFlagBool(cmd *cobra.Command, flag string) bool { - b, err := cmd.Flags().GetBool(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return b -} - -// Assumes the flag has a default value. -func GetFlagInt(cmd *cobra.Command, flag string) int { - i, err := cmd.Flags().GetInt(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return i -} - -// Assumes the flag has a default value. -func GetFlagInt32(cmd *cobra.Command, flag string) int32 { - i, err := cmd.Flags().GetInt32(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return i -} - -// Assumes the flag has a default value. -func GetFlagInt64(cmd *cobra.Command, flag string) int64 { - i, err := cmd.Flags().GetInt64(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return i -} - -func GetFlagDuration(cmd *cobra.Command, flag string) time.Duration { - d, err := cmd.Flags().GetDuration(flag) - if err != nil { - klog.Fatalf("error accessing flag %s for command %s: %v", flag, cmd.Name(), err) - } - return d -} - -func GetPodRunningTimeoutFlag(cmd *cobra.Command) (time.Duration, error) { - timeout := GetFlagDuration(cmd, "pod-running-timeout") - if timeout <= 0 { - return timeout, fmt.Errorf("--pod-running-timeout must be higher than zero") - } - return timeout, nil -} - -func AddValidateFlags(cmd *cobra.Command) { - cmd.Flags().String( - "validate", - "strict", - `Must be one of: strict (or true), warn, ignore (or false). - "true" or "strict" will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. - "warn" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as "ignore" otherwise. - "false" or "ignore" will not perform any schema validation, silently dropping any unknown or duplicate fields.`, - ) -} - -func AddFilenameOptionFlags(cmd *cobra.Command, options *resource.FilenameOptions, usage string) { - AddJsonFilenameFlag(cmd.Flags(), &options.Filenames, "Filename, directory, or URL to files "+usage) - AddKustomizeFlag(cmd.Flags(), &options.Kustomize) - cmd.Flags().BoolVarP(&options.Recursive, "recursive", "R", options.Recursive, "Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.") -} - -func AddJsonFilenameFlag(flags *pflag.FlagSet, value *[]string, usage string) { - flags.StringSliceVarP(value, "filename", "f", *value, usage) - annotations := make([]string, 0, len(resource.FileExtensions)) - for _, ext := range resource.FileExtensions { - annotations = append(annotations, strings.TrimLeft(ext, ".")) - } - flags.SetAnnotation("filename", cobra.BashCompFilenameExt, annotations) -} - -// AddKustomizeFlag adds kustomize flag to a command -func AddKustomizeFlag(flags *pflag.FlagSet, value *string) { - flags.StringVarP(value, "kustomize", "k", *value, "Process the kustomization directory. This flag can't be used together with -f or -R.") -} - -// AddDryRunFlag adds dry-run flag to a command. Usually used by mutations. -func AddDryRunFlag(cmd *cobra.Command) { - cmd.Flags().String( - "dry-run", - "none", - `Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.`, - ) - cmd.Flags().Lookup("dry-run").NoOptDefVal = "unchanged" -} - -func AddFieldManagerFlagVar(cmd *cobra.Command, p *string, defaultFieldManager string) { - cmd.Flags().StringVar(p, "field-manager", defaultFieldManager, "Name of the manager used to track field ownership.") -} - -func AddContainerVarFlags(cmd *cobra.Command, p *string, containerName string) { - cmd.Flags().StringVarP(p, "container", "c", containerName, "Container name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen") -} - -func AddServerSideApplyFlags(cmd *cobra.Command) { - cmd.Flags().Bool("server-side", false, "If true, apply runs in the server instead of the client.") - cmd.Flags().Bool("force-conflicts", false, "If true, server-side apply will force the changes against conflicts.") -} - -func AddPodRunningTimeoutFlag(cmd *cobra.Command, defaultTimeout time.Duration) { - cmd.Flags().Duration("pod-running-timeout", defaultTimeout, "The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one pod is running") -} - -func AddApplyAnnotationFlags(cmd *cobra.Command) { - cmd.Flags().Bool(ApplyAnnotationsFlag, false, "If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.") -} - -func AddApplyAnnotationVarFlags(cmd *cobra.Command, applyAnnotation *bool) { - cmd.Flags().BoolVar(applyAnnotation, ApplyAnnotationsFlag, *applyAnnotation, "If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.") -} - -func AddChunkSizeFlag(cmd *cobra.Command, value *int64) { - cmd.Flags().Int64Var(value, "chunk-size", *value, - "Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.") -} - -func AddLabelSelectorFlagVar(cmd *cobra.Command, p *string) { - cmd.Flags().StringVarP(p, "selector", "l", *p, "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Matching objects must satisfy all of the specified label constraints.") -} - -func AddSubresourceFlags(cmd *cobra.Command, subresource *string, usage string, allowedSubresources ...string) { - cmd.Flags().StringVar(subresource, "subresource", "", fmt.Sprintf("%s Must be one of %v. This flag is alpha and may change in the future.", usage, allowedSubresources)) -} - -type ValidateOptions struct { - ValidationDirective string -} - -// Merge converts the passed in object to JSON, merges the fragment into it using an RFC7396 JSON Merge Patch, -// and returns the resulting object -// TODO: merge assumes JSON serialization, and does not properly abstract API retrieval -func Merge(codec runtime.Codec, dst runtime.Object, fragment string) (runtime.Object, error) { - // encode dst into versioned json and apply fragment directly too it - target, err := runtime.Encode(codec, dst) - if err != nil { - return nil, err - } - patched, err := jsonpatch.MergePatch(target, []byte(fragment)) - if err != nil { - return nil, err - } - out, err := runtime.Decode(codec, patched) - if err != nil { - return nil, err - } - return out, nil -} - -// StrategicMerge converts the passed in object to JSON, merges the fragment into it using a Strategic Merge Patch, -// and returns the resulting object -func StrategicMerge(codec runtime.Codec, dst runtime.Object, fragment string, dataStruct runtime.Object) (runtime.Object, error) { - target, err := runtime.Encode(codec, dst) - if err != nil { - return nil, err - } - patched, err := strategicpatch.StrategicMergePatch(target, []byte(fragment), dataStruct) - if err != nil { - return nil, err - } - out, err := runtime.Decode(codec, patched) - if err != nil { - return nil, err - } - return out, nil -} - -// JSONPatch converts the passed in object to JSON, performs an RFC6902 JSON Patch using operations specified in the -// fragment, and returns the resulting object -func JSONPatch(codec runtime.Codec, dst runtime.Object, fragment string) (runtime.Object, error) { - target, err := runtime.Encode(codec, dst) - if err != nil { - return nil, err - } - patch, err := jsonpatch.DecodePatch([]byte(fragment)) - if err != nil { - return nil, err - } - patched, err := patch.Apply(target) - if err != nil { - return nil, err - } - out, err := runtime.Decode(codec, patched) - if err != nil { - return nil, err - } - return out, nil -} - -// DumpReaderToFile writes all data from the given io.Reader to the specified file -// (usually for temporary use). -func DumpReaderToFile(reader io.Reader, filename string) error { - f, err := os.OpenFile(filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600) - if err != nil { - return err - } - defer f.Close() - - buffer := make([]byte, 1024) - for { - count, err := reader.Read(buffer) - if err == io.EOF { - break - } - if err != nil { - return err - } - _, err = f.Write(buffer[:count]) - if err != nil { - return err - } - } - return nil -} - -func GetServerSideApplyFlag(cmd *cobra.Command) bool { - return GetFlagBool(cmd, "server-side") -} - -func GetForceConflictsFlag(cmd *cobra.Command) bool { - return GetFlagBool(cmd, "force-conflicts") -} - -func GetFieldManagerFlag(cmd *cobra.Command) string { - return GetFlagString(cmd, "field-manager") -} - -func GetValidationDirective(cmd *cobra.Command) (string, error) { - var validateFlag = GetFlagString(cmd, "validate") - b, err := strconv.ParseBool(validateFlag) - if err != nil { - switch validateFlag { - case cmd.Flag("validate").NoOptDefVal: - return metav1.FieldValidationStrict, nil - case "strict": - return metav1.FieldValidationStrict, nil - case "warn": - return metav1.FieldValidationWarn, nil - case "ignore": - return metav1.FieldValidationIgnore, nil - default: - return metav1.FieldValidationStrict, fmt.Errorf(`invalid - validate option %q; must be one of: strict (or true), warn, ignore (or false)`, validateFlag) - } - } - // The flag was a boolean - if b { - return metav1.FieldValidationStrict, nil - } - return metav1.FieldValidationIgnore, nil -} - -type DryRunStrategy int - -const ( - // DryRunNone indicates the client will make all mutating calls - DryRunNone DryRunStrategy = iota - - // DryRunClient, or client-side dry-run, indicates the client will prevent - // making mutating calls such as CREATE, PATCH, and DELETE - DryRunClient - - // DryRunServer, or server-side dry-run, indicates the client will send - // mutating calls to the APIServer with the dry-run parameter to prevent - // persisting changes. - // - // Note that clients sending server-side dry-run calls should verify that - // the APIServer and the resource supports server-side dry-run, and otherwise - // clients should fail early. - // - // If a client sends a server-side dry-run call to an APIServer that doesn't - // support server-side dry-run, then the APIServer will persist changes inadvertently. - DryRunServer -) - -func GetDryRunStrategy(cmd *cobra.Command) (DryRunStrategy, error) { - var dryRunFlag = GetFlagString(cmd, "dry-run") - b, err := strconv.ParseBool(dryRunFlag) - // The flag is not a boolean - if err != nil { - switch dryRunFlag { - case cmd.Flag("dry-run").NoOptDefVal: - klog.Warning(`--dry-run is deprecated and can be replaced with --dry-run=client.`) - return DryRunClient, nil - case "client": - return DryRunClient, nil - case "server": - return DryRunServer, nil - case "none": - return DryRunNone, nil - default: - return DryRunNone, fmt.Errorf(`Invalid dry-run value (%v). Must be "none", "server", or "client".`, dryRunFlag) - } - } - // The flag was a boolean - if b { - klog.Warningf(`--dry-run=%v is deprecated (boolean value) and can be replaced with --dry-run=%s.`, dryRunFlag, "client") - return DryRunClient, nil - } - klog.Warningf(`--dry-run=%v is deprecated (boolean value) and can be replaced with --dry-run=%s.`, dryRunFlag, "none") - return DryRunNone, nil -} - -// PrintFlagsWithDryRunStrategy sets a success message at print time for the dry run strategy -// -// TODO(juanvallejo): This can be cleaned up even further by creating -// a PrintFlags struct that binds the --dry-run flag, and whose -// ToPrinter method returns a printer that understands how to print -// this success message. -func PrintFlagsWithDryRunStrategy(printFlags *genericclioptions.PrintFlags, dryRunStrategy DryRunStrategy) *genericclioptions.PrintFlags { - switch dryRunStrategy { - case DryRunClient: - printFlags.Complete("%s (dry run)") - case DryRunServer: - printFlags.Complete("%s (server dry run)") - } - return printFlags -} - -// GetResourcesAndPairs retrieves resources and "KEY=VALUE or KEY-" pair args from given args -func GetResourcesAndPairs(args []string, pairType string) (resources []string, pairArgs []string, err error) { - foundPair := false - for _, s := range args { - nonResource := (strings.Contains(s, "=") && s[0] != '=') || (strings.HasSuffix(s, "-") && s != "-") - switch { - case !foundPair && nonResource: - foundPair = true - fallthrough - case foundPair && nonResource: - pairArgs = append(pairArgs, s) - case !foundPair && !nonResource: - resources = append(resources, s) - case foundPair && !nonResource: - err = fmt.Errorf("all resources must be specified before %s changes: %s", pairType, s) - return - } - } - return -} - -// ParsePairs retrieves new and remove pairs (if supportRemove is true) from "KEY=VALUE or KEY-" pair args -func ParsePairs(pairArgs []string, pairType string, supportRemove bool) (newPairs map[string]string, removePairs []string, err error) { - newPairs = map[string]string{} - if supportRemove { - removePairs = []string{} - } - var invalidBuf bytes.Buffer - var invalidBufNonEmpty bool - for _, pairArg := range pairArgs { - if strings.Contains(pairArg, "=") && pairArg[0] != '=' { - parts := strings.SplitN(pairArg, "=", 2) - if len(parts) != 2 { - if invalidBufNonEmpty { - invalidBuf.WriteString(", ") - } - invalidBuf.WriteString(pairArg) - invalidBufNonEmpty = true - } else { - newPairs[parts[0]] = parts[1] - } - } else if supportRemove && strings.HasSuffix(pairArg, "-") && pairArg != "-" { - removePairs = append(removePairs, pairArg[:len(pairArg)-1]) - } else { - if invalidBufNonEmpty { - invalidBuf.WriteString(", ") - } - invalidBuf.WriteString(pairArg) - invalidBufNonEmpty = true - } - } - if invalidBufNonEmpty { - err = fmt.Errorf("invalid %s format: %s", pairType, invalidBuf.String()) - return - } - - return -} - -// IsSiblingCommandExists receives a pointer to a cobra command and a target string. -// Returns true if the target string is found in the list of sibling commands. -func IsSiblingCommandExists(cmd *cobra.Command, targetCmdName string) bool { - for _, c := range cmd.Parent().Commands() { - if c.Name() == targetCmdName { - return true - } - } - - return false -} - -// DefaultSubCommandRun prints a command's help string to the specified output if no -// arguments (sub-commands) are provided, or a usage error otherwise. -func DefaultSubCommandRun(out io.Writer) func(c *cobra.Command, args []string) { - return func(c *cobra.Command, args []string) { - c.SetOutput(out) - RequireNoArguments(c, args) - c.Help() - CheckErr(ErrExit) - } -} - -// RequireNoArguments exits with a usage error if extra arguments are provided. -func RequireNoArguments(c *cobra.Command, args []string) { - if len(args) > 0 { - CheckErr(UsageErrorf(c, "unknown command %q", strings.Join(args, " "))) - } -} - -// StripComments will transform a YAML file into JSON, thus dropping any comments -// in it. Note that if the given file has a syntax error, the transformation will -// fail and we will manually drop all comments from the file. -func StripComments(file []byte) []byte { - stripped := file - stripped, err := yaml.ToJSON(stripped) - if err != nil { - stripped = ManualStrip(file) - } - return stripped -} - -// ManualStrip is used for dropping comments from a YAML file -func ManualStrip(file []byte) []byte { - stripped := []byte{} - lines := bytes.Split(file, []byte("\n")) - for i, line := range lines { - trimline := bytes.TrimSpace(line) - - if bytes.HasPrefix(trimline, []byte("#")) && !bytes.HasPrefix(trimline, []byte("#!")) { - continue - } - stripped = append(stripped, line...) - if i < len(lines)-1 { - stripped = append(stripped, '\n') - } - } - return stripped -} - -// ScaleClientFunc provides a ScalesGetter -type ScaleClientFunc func(genericclioptions.RESTClientGetter) (scale.ScalesGetter, error) - -// ScaleClientFn gives a way to easily override the function for unit testing if needed. -var ScaleClientFn ScaleClientFunc = scaleClient - -// scaleClient gives you back scale getter -func scaleClient(restClientGetter genericclioptions.RESTClientGetter) (scale.ScalesGetter, error) { - discoveryClient, err := restClientGetter.ToDiscoveryClient() - if err != nil { - return nil, err - } - - clientConfig, err := restClientGetter.ToRESTConfig() - if err != nil { - return nil, err - } - - setKubernetesDefaults(clientConfig) - restClient, err := rest.RESTClientFor(clientConfig) - if err != nil { - return nil, err - } - resolver := scale.NewDiscoveryScaleKindResolver(discoveryClient) - mapper, err := restClientGetter.ToRESTMapper() - if err != nil { - return nil, err - } - - return scale.New(restClient, mapper, dynamic.LegacyAPIPathResolverFunc, resolver), nil -} - -func Warning(cmdErr io.Writer, newGeneratorName, oldGeneratorName string) { - fmt.Fprintf(cmdErr, "WARNING: New generator %q specified, "+ - "but it isn't available. "+ - "Falling back to %q.\n", - newGeneratorName, - oldGeneratorName, - ) -} - -// Difference removes any elements of subArray from fullArray and returns the result -func Difference(fullArray []string, subArray []string) []string { - exclude := make(map[string]bool, len(subArray)) - for _, elem := range subArray { - exclude[elem] = true - } - var result []string - for _, elem := range fullArray { - if _, found := exclude[elem]; !found { - result = append(result, elem) - } - } - return result -} diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/kubectl_match_version.go b/vendor/k8s.io/kubectl/pkg/cmd/util/kubectl_match_version.go deleted file mode 100644 index 74308bc5..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/kubectl_match_version.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Copyright 2018 The 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 - -import ( - "sync" - - "github.com/spf13/pflag" - - "k8s.io/apimachinery/pkg/api/meta" - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/client-go/discovery" - "k8s.io/client-go/rest" - "k8s.io/client-go/tools/clientcmd" - "k8s.io/kubectl/pkg/scheme" - - "k8s.io/cli-runtime/pkg/genericclioptions" - "k8s.io/component-base/version" -) - -const ( - flagMatchBinaryVersion = "match-server-version" -) - -// MatchVersionFlags is for setting the "match server version" function. -type MatchVersionFlags struct { - Delegate genericclioptions.RESTClientGetter - - RequireMatchedServerVersion bool - checkServerVersion sync.Once - matchesServerVersionErr error -} - -var _ genericclioptions.RESTClientGetter = &MatchVersionFlags{} - -func (f *MatchVersionFlags) checkMatchingServerVersion() error { - f.checkServerVersion.Do(func() { - if !f.RequireMatchedServerVersion { - return - } - discoveryClient, err := f.Delegate.ToDiscoveryClient() - if err != nil { - f.matchesServerVersionErr = err - return - } - f.matchesServerVersionErr = discovery.MatchesServerVersion(version.Get(), discoveryClient) - }) - - return f.matchesServerVersionErr -} - -// ToRESTConfig implements RESTClientGetter. -// Returns a REST client configuration based on a provided path -// to a .kubeconfig file, loading rules, and config flag overrides. -// Expects the AddFlags method to have been called. -func (f *MatchVersionFlags) ToRESTConfig() (*rest.Config, error) { - if err := f.checkMatchingServerVersion(); err != nil { - return nil, err - } - clientConfig, err := f.Delegate.ToRESTConfig() - if err != nil { - return nil, err - } - // TODO we should not have to do this. It smacks of something going wrong. - setKubernetesDefaults(clientConfig) - return clientConfig, nil -} - -func (f *MatchVersionFlags) ToRawKubeConfigLoader() clientcmd.ClientConfig { - return f.Delegate.ToRawKubeConfigLoader() -} - -func (f *MatchVersionFlags) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) { - if err := f.checkMatchingServerVersion(); err != nil { - return nil, err - } - return f.Delegate.ToDiscoveryClient() -} - -// ToRESTMapper returns a mapper. -func (f *MatchVersionFlags) ToRESTMapper() (meta.RESTMapper, error) { - if err := f.checkMatchingServerVersion(); err != nil { - return nil, err - } - return f.Delegate.ToRESTMapper() -} - -func (f *MatchVersionFlags) AddFlags(flags *pflag.FlagSet) { - flags.BoolVar(&f.RequireMatchedServerVersion, flagMatchBinaryVersion, f.RequireMatchedServerVersion, "Require server version to match client version") -} - -func NewMatchVersionFlags(delegate genericclioptions.RESTClientGetter) *MatchVersionFlags { - return &MatchVersionFlags{ - Delegate: delegate, - } -} - -// setKubernetesDefaults sets default values on the provided client config for accessing the -// Kubernetes API or returns an error if any of the defaults are impossible or invalid. -// TODO this isn't what we want. Each clientset should be setting defaults as it sees fit. -func setKubernetesDefaults(config *rest.Config) error { - // TODO remove this hack. This is allowing the GetOptions to be serialized. - config.GroupVersion = &schema.GroupVersion{Group: "", Version: "v1"} - - if config.APIPath == "" { - config.APIPath = "/api" - } - if config.NegotiatedSerializer == nil { - // This codec factory ensures the resources are not converted. Therefore, resources - // will not be round-tripped through internal versions. Defaulting does not happen - // on the client. - config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() - } - return rest.SetKubernetesDefaults(config) -} diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/override_options.go b/vendor/k8s.io/kubectl/pkg/cmd/util/override_options.go deleted file mode 100644 index 1e63bc78..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/override_options.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Copyright 2021 The 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 - -import ( - "fmt" - - "github.com/spf13/cobra" - - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/kubectl/pkg/scheme" - "k8s.io/kubectl/pkg/util/i18n" -) - -type OverrideType string - -const ( - // OverrideTypeJSON will use an RFC6902 JSON Patch to alter the generated output - OverrideTypeJSON OverrideType = "json" - - // OverrideTypeMerge will use an RFC7396 JSON Merge Patch to alter the generated output - OverrideTypeMerge OverrideType = "merge" - - // OverrideTypeStrategic will use a Strategic Merge Patch to alter the generated output - OverrideTypeStrategic OverrideType = "strategic" -) - -const DefaultOverrideType = OverrideTypeMerge - -type OverrideOptions struct { - Overrides string - OverrideType OverrideType -} - -func (o *OverrideOptions) AddOverrideFlags(cmd *cobra.Command) { - cmd.Flags().StringVar(&o.Overrides, "overrides", "", i18n.T("An inline JSON override for the generated object. If this is non-empty, it is used to override the generated object. Requires that the object supply a valid apiVersion field.")) - cmd.Flags().StringVar((*string)(&o.OverrideType), "override-type", string(DefaultOverrideType), fmt.Sprintf("The method used to override the generated object: %s, %s, or %s.", OverrideTypeJSON, OverrideTypeMerge, OverrideTypeStrategic)) -} - -func (o *OverrideOptions) NewOverrider(dataStruct runtime.Object) *Overrider { - return &Overrider{ - Options: o, - DataStruct: dataStruct, - } -} - -type Overrider struct { - Options *OverrideOptions - DataStruct runtime.Object -} - -func (o *Overrider) Apply(obj runtime.Object) (runtime.Object, error) { - if len(o.Options.Overrides) == 0 { - return obj, nil - } - - codec := runtime.NewCodec(scheme.DefaultJSONEncoder(), scheme.Codecs.UniversalDecoder(scheme.Scheme.PrioritizedVersionsAllGroups()...)) - - var overrideType OverrideType - if len(o.Options.OverrideType) == 0 { - overrideType = DefaultOverrideType - } else { - overrideType = o.Options.OverrideType - } - - switch overrideType { - case OverrideTypeJSON: - return JSONPatch(codec, obj, o.Options.Overrides) - case OverrideTypeMerge: - return Merge(codec, obj, o.Options.Overrides) - case OverrideTypeStrategic: - return StrategicMerge(codec, obj, o.Options.Overrides, o.DataStruct) - default: - return nil, fmt.Errorf("invalid override type: %v", overrideType) - } -} diff --git a/vendor/k8s.io/kubectl/pkg/cmd/util/printing.go b/vendor/k8s.io/kubectl/pkg/cmd/util/printing.go deleted file mode 100644 index ebd22882..00000000 --- a/vendor/k8s.io/kubectl/pkg/cmd/util/printing.go +++ /dev/null @@ -1,29 +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 - -import ( - "fmt" - - "k8s.io/kubectl/pkg/util/templates" -) - -// SuggestAPIResources returns a suggestion to use the "api-resources" command -// to retrieve a supported list of resources -func SuggestAPIResources(parent string) string { - return templates.LongDesc(fmt.Sprintf("Use \"%s api-resources\" for a complete list of supported resources.", parent)) -} diff --git a/vendor/k8s.io/kubectl/pkg/drain/cordon.go b/vendor/k8s.io/kubectl/pkg/drain/cordon.go deleted file mode 100644 index 006eef76..00000000 --- a/vendor/k8s.io/kubectl/pkg/drain/cordon.go +++ /dev/null @@ -1,111 +0,0 @@ -/* -Copyright 2019 The 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 drain - -import ( - "context" - "fmt" - - corev1 "k8s.io/api/core/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - - "k8s.io/apimachinery/pkg/types" - "k8s.io/apimachinery/pkg/util/json" - "k8s.io/apimachinery/pkg/util/strategicpatch" - "k8s.io/client-go/kubernetes" -) - -// CordonHelper wraps functionality to cordon/uncordon nodes -type CordonHelper struct { - node *corev1.Node - desired bool -} - -// NewCordonHelper returns a new CordonHelper -func NewCordonHelper(node *corev1.Node) *CordonHelper { - return &CordonHelper{ - node: node, - } -} - -// NewCordonHelperFromRuntimeObject returns a new CordonHelper, or an error if given object is not a -// node or cannot be encoded as JSON -func NewCordonHelperFromRuntimeObject(nodeObject runtime.Object, scheme *runtime.Scheme, gvk schema.GroupVersionKind) (*CordonHelper, error) { - nodeObject, err := scheme.ConvertToVersion(nodeObject, gvk.GroupVersion()) - if err != nil { - return nil, err - } - - node, ok := nodeObject.(*corev1.Node) - if !ok { - return nil, fmt.Errorf("unexpected type %T", nodeObject) - } - - return NewCordonHelper(node), nil -} - -// UpdateIfRequired returns true if c.node.Spec.Unschedulable isn't already set, -// or false when no change is needed -func (c *CordonHelper) UpdateIfRequired(desired bool) bool { - c.desired = desired - - return c.node.Spec.Unschedulable != c.desired -} - -// PatchOrReplace uses given clientset to update the node status, either by patching or -// updating the given node object; it may return error if the object cannot be encoded as -// JSON, or if either patch or update calls fail; it will also return a second error -// whenever creating a patch has failed -func (c *CordonHelper) PatchOrReplace(clientset kubernetes.Interface, serverDryRun bool) (error, error) { - return c.PatchOrReplaceWithContext(context.TODO(), clientset, serverDryRun) -} - -// PatchOrReplaceWithContext provides the option to pass a custom context while updating -// the node status -func (c *CordonHelper) PatchOrReplaceWithContext(clientCtx context.Context, clientset kubernetes.Interface, serverDryRun bool) (error, error) { - client := clientset.CoreV1().Nodes() - - oldData, err := json.Marshal(c.node) - if err != nil { - return err, nil - } - - c.node.Spec.Unschedulable = c.desired - - newData, err := json.Marshal(c.node) - if err != nil { - return err, nil - } - - patchBytes, patchErr := strategicpatch.CreateTwoWayMergePatch(oldData, newData, c.node) - if patchErr == nil { - patchOptions := metav1.PatchOptions{} - if serverDryRun { - patchOptions.DryRun = []string{metav1.DryRunAll} - } - _, err = client.Patch(clientCtx, c.node.Name, types.StrategicMergePatchType, patchBytes, patchOptions) - } else { - updateOptions := metav1.UpdateOptions{} - if serverDryRun { - updateOptions.DryRun = []string{metav1.DryRunAll} - } - _, err = client.Update(clientCtx, c.node, updateOptions) - } - return err, patchErr -} diff --git a/vendor/k8s.io/kubectl/pkg/drain/default.go b/vendor/k8s.io/kubectl/pkg/drain/default.go deleted file mode 100644 index ed70ffbe..00000000 --- a/vendor/k8s.io/kubectl/pkg/drain/default.go +++ /dev/null @@ -1,75 +0,0 @@ -/* -Copyright 2019 The 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 drain - -import ( - "fmt" - - corev1 "k8s.io/api/core/v1" - utilerrors "k8s.io/apimachinery/pkg/util/errors" -) - -// This file contains default implementations of how to -// drain/cordon/uncordon nodes. These functions may be called -// directly, or their functionality copied into your own code, for -// example if you want different output behaviour. - -// RunNodeDrain shows the canonical way to drain a node. -// You should first cordon the node, e.g. using RunCordonOrUncordon -func RunNodeDrain(drainer *Helper, nodeName string) error { - // TODO(justinsb): Ensure we have adequate e2e coverage of this function in library consumers - list, errs := drainer.GetPodsForDeletion(nodeName) - if errs != nil { - return utilerrors.NewAggregate(errs) - } - if warnings := list.Warnings(); warnings != "" { - fmt.Fprintf(drainer.ErrOut, "WARNING: %s\n", warnings) - } - - if err := drainer.DeleteOrEvictPods(list.Pods()); err != nil { - // Maybe warn about non-deleted pods here - return err - } - return nil -} - -// RunCordonOrUncordon demonstrates the canonical way to cordon or uncordon a Node -func RunCordonOrUncordon(drainer *Helper, node *corev1.Node, desired bool) error { - if drainer.Ctx == nil { - return fmt.Errorf("RunCordonOrUncordon error: drainer.Ctx can't be nil") - } - if drainer.Client == nil { - return fmt.Errorf("RunCordonOrUncordon error: drainer.Client can't be nil") - } - // TODO(justinsb): Ensure we have adequate e2e coverage of this function in library consumers - c := NewCordonHelper(node) - - if updateRequired := c.UpdateIfRequired(desired); !updateRequired { - // Already done - return nil - } - - err, patchErr := c.PatchOrReplaceWithContext(drainer.Ctx, drainer.Client, false) - if err != nil { - if patchErr != nil { - return fmt.Errorf("cordon error: %s; merge patch error: %w", err.Error(), patchErr) - } - return fmt.Errorf("cordon error: %w", err) - } - - return nil -} diff --git a/vendor/k8s.io/kubectl/pkg/drain/drain.go b/vendor/k8s.io/kubectl/pkg/drain/drain.go deleted file mode 100644 index b36692eb..00000000 --- a/vendor/k8s.io/kubectl/pkg/drain/drain.go +++ /dev/null @@ -1,453 +0,0 @@ -/* -Copyright 2019 The 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 drain - -import ( - "context" - "fmt" - "io" - "math" - "time" - - corev1 "k8s.io/api/core/v1" - policyv1 "k8s.io/api/policy/v1" - policyv1beta1 "k8s.io/api/policy/v1beta1" - apierrors "k8s.io/apimachinery/pkg/api/errors" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/fields" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/apimachinery/pkg/util/wait" - "k8s.io/cli-runtime/pkg/resource" - "k8s.io/client-go/kubernetes" - cmdutil "k8s.io/kubectl/pkg/cmd/util" -) - -const ( - // EvictionKind represents the kind of evictions object - EvictionKind = "Eviction" - // EvictionSubresource represents the kind of evictions object as pod's subresource - EvictionSubresource = "pods/eviction" - podSkipMsgTemplate = "pod %q has DeletionTimestamp older than %v seconds, skipping\n" -) - -// Helper contains the parameters to control the behaviour of drainer -type Helper struct { - Ctx context.Context - Client kubernetes.Interface - Force bool - - // GracePeriodSeconds is how long to wait for a pod to terminate. - // IMPORTANT: 0 means "delete immediately"; set to a negative value - // to use the pod's terminationGracePeriodSeconds. - GracePeriodSeconds int - - IgnoreAllDaemonSets bool - Timeout time.Duration - DeleteEmptyDirData bool - Selector string - PodSelector string - ChunkSize int64 - - // DisableEviction forces drain to use delete rather than evict - DisableEviction bool - - // SkipWaitForDeleteTimeoutSeconds ignores pods that have a - // DeletionTimeStamp > N seconds. It's up to the user to decide when this - // option is appropriate; examples include the Node is unready and the pods - // won't drain otherwise - SkipWaitForDeleteTimeoutSeconds int - - // AdditionalFilters are applied sequentially after base drain filters to - // exclude pods using custom logic. Any filter that returns PodDeleteStatus - // with Delete == false will immediately stop execution of further filters. - AdditionalFilters []PodFilter - - Out io.Writer - ErrOut io.Writer - - DryRunStrategy cmdutil.DryRunStrategy - DryRunVerifier *resource.QueryParamVerifier - - // OnPodDeletedOrEvicted is called when a pod is evicted/deleted; for printing progress output - OnPodDeletedOrEvicted func(pod *corev1.Pod, usingEviction bool) -} - -type waitForDeleteParams struct { - ctx context.Context - pods []corev1.Pod - interval time.Duration - timeout time.Duration - usingEviction bool - getPodFn func(string, string) (*corev1.Pod, error) - onDoneFn func(pod *corev1.Pod, usingEviction bool) - globalTimeout time.Duration - skipWaitForDeleteTimeoutSeconds int - out io.Writer -} - -// CheckEvictionSupport uses Discovery API to find out if the server support -// eviction subresource If support, it will return its groupVersion; Otherwise, -// it will return an empty GroupVersion -func CheckEvictionSupport(clientset kubernetes.Interface) (schema.GroupVersion, error) { - discoveryClient := clientset.Discovery() - - // version info available in subresources since v1.8.0 in https://github.com/kubernetes/kubernetes/pull/49971 - resourceList, err := discoveryClient.ServerResourcesForGroupVersion("v1") - if err != nil { - return schema.GroupVersion{}, err - } - for _, resource := range resourceList.APIResources { - if resource.Name == EvictionSubresource && resource.Kind == EvictionKind && len(resource.Group) > 0 && len(resource.Version) > 0 { - return schema.GroupVersion{Group: resource.Group, Version: resource.Version}, nil - } - } - return schema.GroupVersion{}, nil -} - -func (d *Helper) makeDeleteOptions() metav1.DeleteOptions { - deleteOptions := metav1.DeleteOptions{} - if d.GracePeriodSeconds >= 0 { - gracePeriodSeconds := int64(d.GracePeriodSeconds) - deleteOptions.GracePeriodSeconds = &gracePeriodSeconds - } - if d.DryRunStrategy == cmdutil.DryRunServer { - deleteOptions.DryRun = []string{metav1.DryRunAll} - } - return deleteOptions -} - -// DeletePod will delete the given pod, or return an error if it couldn't -func (d *Helper) DeletePod(pod corev1.Pod) error { - if d.DryRunStrategy == cmdutil.DryRunServer { - if err := d.DryRunVerifier.HasSupport(pod.GroupVersionKind()); err != nil { - return err - } - } - return d.Client.CoreV1().Pods(pod.Namespace).Delete(d.getContext(), pod.Name, d.makeDeleteOptions()) -} - -// EvictPod will evict the given pod, or return an error if it couldn't -func (d *Helper) EvictPod(pod corev1.Pod, evictionGroupVersion schema.GroupVersion) error { - if d.DryRunStrategy == cmdutil.DryRunServer { - if err := d.DryRunVerifier.HasSupport(pod.GroupVersionKind()); err != nil { - return err - } - } - - delOpts := d.makeDeleteOptions() - - switch evictionGroupVersion { - case policyv1.SchemeGroupVersion: - // send policy/v1 if the server supports it - eviction := &policyv1.Eviction{ - ObjectMeta: metav1.ObjectMeta{ - Name: pod.Name, - Namespace: pod.Namespace, - }, - DeleteOptions: &delOpts, - } - return d.Client.PolicyV1().Evictions(eviction.Namespace).Evict(context.TODO(), eviction) - - default: - // otherwise, fall back to policy/v1beta1, supported by all servers that support the eviction subresource - eviction := &policyv1beta1.Eviction{ - ObjectMeta: metav1.ObjectMeta{ - Name: pod.Name, - Namespace: pod.Namespace, - }, - DeleteOptions: &delOpts, - } - return d.Client.PolicyV1beta1().Evictions(eviction.Namespace).Evict(context.TODO(), eviction) - } -} - -// GetPodsForDeletion receives resource info for a node, and returns those pods as PodDeleteList, -// or error if it cannot list pods. All pods that are ready to be deleted can be obtained with .Pods(), -// and string with all warning can be obtained with .Warnings(), and .Errors() for all errors that -// occurred during deletion. -func (d *Helper) GetPodsForDeletion(nodeName string) (*PodDeleteList, []error) { - labelSelector, err := labels.Parse(d.PodSelector) - if err != nil { - return nil, []error{err} - } - - podList := &corev1.PodList{} - initialOpts := &metav1.ListOptions{ - LabelSelector: labelSelector.String(), - FieldSelector: fields.SelectorFromSet(fields.Set{"spec.nodeName": nodeName}).String(), - Limit: d.ChunkSize, - } - - err = resource.FollowContinue(initialOpts, func(options metav1.ListOptions) (runtime.Object, error) { - newPods, err := d.Client.CoreV1().Pods(metav1.NamespaceAll).List(d.getContext(), options) - if err != nil { - podR := corev1.SchemeGroupVersion.WithResource(corev1.ResourcePods.String()) - return nil, resource.EnhanceListError(err, options, podR.String()) - } - podList.Items = append(podList.Items, newPods.Items...) - return newPods, nil - }) - - if err != nil { - return nil, []error{err} - } - - list := filterPods(podList, d.makeFilters()) - if errs := list.errors(); len(errs) > 0 { - return list, errs - } - - return list, nil -} - -func filterPods(podList *corev1.PodList, filters []PodFilter) *PodDeleteList { - pods := []PodDelete{} - for _, pod := range podList.Items { - var status PodDeleteStatus - for _, filter := range filters { - status = filter(pod) - if !status.Delete { - // short-circuit as soon as pod is filtered out - // at that point, there is no reason to run pod - // through any additional filters - break - } - } - // Add the pod to PodDeleteList no matter what PodDeleteStatus is, - // those pods whose PodDeleteStatus is false like DaemonSet will - // be catched by list.errors() - pod.Kind = "Pod" - pod.APIVersion = "v1" - pods = append(pods, PodDelete{ - Pod: pod, - Status: status, - }) - } - list := &PodDeleteList{items: pods} - return list -} - -// DeleteOrEvictPods deletes or evicts the pods on the api server -func (d *Helper) DeleteOrEvictPods(pods []corev1.Pod) error { - if len(pods) == 0 { - return nil - } - - // TODO(justinsb): unnecessary? - getPodFn := func(namespace, name string) (*corev1.Pod, error) { - return d.Client.CoreV1().Pods(namespace).Get(d.getContext(), name, metav1.GetOptions{}) - } - - if !d.DisableEviction { - evictionGroupVersion, err := CheckEvictionSupport(d.Client) - if err != nil { - return err - } - - if !evictionGroupVersion.Empty() { - return d.evictPods(pods, evictionGroupVersion, getPodFn) - } - } - - return d.deletePods(pods, getPodFn) -} - -func (d *Helper) evictPods(pods []corev1.Pod, evictionGroupVersion schema.GroupVersion, getPodFn func(namespace, name string) (*corev1.Pod, error)) error { - returnCh := make(chan error, 1) - // 0 timeout means infinite, we use MaxInt64 to represent it. - var globalTimeout time.Duration - if d.Timeout == 0 { - globalTimeout = time.Duration(math.MaxInt64) - } else { - globalTimeout = d.Timeout - } - ctx, cancel := context.WithTimeout(d.getContext(), globalTimeout) - defer cancel() - for _, pod := range pods { - go func(pod corev1.Pod, returnCh chan error) { - refreshPod := false - for { - switch d.DryRunStrategy { - case cmdutil.DryRunServer: - fmt.Fprintf(d.Out, "evicting pod %s/%s (server dry run)\n", pod.Namespace, pod.Name) - default: - fmt.Fprintf(d.Out, "evicting pod %s/%s\n", pod.Namespace, pod.Name) - } - select { - case <-ctx.Done(): - // return here or we'll leak a goroutine. - returnCh <- fmt.Errorf("error when evicting pods/%q -n %q: global timeout reached: %v", pod.Name, pod.Namespace, globalTimeout) - return - default: - } - - // Create a temporary pod so we don't mutate the pod in the loop. - activePod := pod - if refreshPod { - freshPod, err := getPodFn(pod.Namespace, pod.Name) - // We ignore errors and let eviction sort it out with - // the original pod. - if err == nil { - activePod = *freshPod - } - refreshPod = false - } - - err := d.EvictPod(activePod, evictionGroupVersion) - if err == nil { - break - } else if apierrors.IsNotFound(err) { - returnCh <- nil - return - } else if apierrors.IsTooManyRequests(err) { - fmt.Fprintf(d.ErrOut, "error when evicting pods/%q -n %q (will retry after 5s): %v\n", activePod.Name, activePod.Namespace, err) - time.Sleep(5 * time.Second) - } else if !activePod.ObjectMeta.DeletionTimestamp.IsZero() && apierrors.IsForbidden(err) && apierrors.HasStatusCause(err, corev1.NamespaceTerminatingCause) { - // an eviction request in a deleting namespace will throw a forbidden error, - // if the pod is already marked deleted, we can ignore this error, an eviction - // request will never succeed, but we will waitForDelete for this pod. - break - } else if apierrors.IsForbidden(err) && apierrors.HasStatusCause(err, corev1.NamespaceTerminatingCause) { - // an eviction request in a deleting namespace will throw a forbidden error, - // if the pod is not marked deleted, we retry until it is. - fmt.Fprintf(d.ErrOut, "error when evicting pod %q (will retry after 5s): %v\n", activePod.Name, err) - time.Sleep(5 * time.Second) - } else { - returnCh <- fmt.Errorf("error when evicting pods/%q -n %q: %v", activePod.Name, activePod.Namespace, err) - return - } - } - if d.DryRunStrategy == cmdutil.DryRunServer { - returnCh <- nil - return - } - params := waitForDeleteParams{ - ctx: ctx, - pods: []corev1.Pod{pod}, - interval: 1 * time.Second, - timeout: time.Duration(math.MaxInt64), - usingEviction: true, - getPodFn: getPodFn, - onDoneFn: d.OnPodDeletedOrEvicted, - globalTimeout: globalTimeout, - skipWaitForDeleteTimeoutSeconds: d.SkipWaitForDeleteTimeoutSeconds, - out: d.Out, - } - _, err := waitForDelete(params) - if err == nil { - returnCh <- nil - } else { - returnCh <- fmt.Errorf("error when waiting for pod %q terminating: %v", pod.Name, err) - } - }(pod, returnCh) - } - - doneCount := 0 - var errors []error - - numPods := len(pods) - for doneCount < numPods { - select { - case err := <-returnCh: - doneCount++ - if err != nil { - errors = append(errors, err) - } - } - } - - return utilerrors.NewAggregate(errors) -} - -func (d *Helper) deletePods(pods []corev1.Pod, getPodFn func(namespace, name string) (*corev1.Pod, error)) error { - // 0 timeout means infinite, we use MaxInt64 to represent it. - var globalTimeout time.Duration - if d.Timeout == 0 { - globalTimeout = time.Duration(math.MaxInt64) - } else { - globalTimeout = d.Timeout - } - for _, pod := range pods { - err := d.DeletePod(pod) - if err != nil && !apierrors.IsNotFound(err) { - return err - } - } - ctx := d.getContext() - params := waitForDeleteParams{ - ctx: ctx, - pods: pods, - interval: 1 * time.Second, - timeout: globalTimeout, - usingEviction: false, - getPodFn: getPodFn, - onDoneFn: d.OnPodDeletedOrEvicted, - globalTimeout: globalTimeout, - skipWaitForDeleteTimeoutSeconds: d.SkipWaitForDeleteTimeoutSeconds, - out: d.Out, - } - _, err := waitForDelete(params) - return err -} - -func waitForDelete(params waitForDeleteParams) ([]corev1.Pod, error) { - pods := params.pods - err := wait.PollImmediate(params.interval, params.timeout, func() (bool, error) { - pendingPods := []corev1.Pod{} - for i, pod := range pods { - p, err := params.getPodFn(pod.Namespace, pod.Name) - if apierrors.IsNotFound(err) || (p != nil && p.ObjectMeta.UID != pod.ObjectMeta.UID) { - if params.onDoneFn != nil { - params.onDoneFn(&pod, params.usingEviction) - } - continue - } else if err != nil { - return false, err - } else { - if shouldSkipPod(*p, params.skipWaitForDeleteTimeoutSeconds) { - fmt.Fprintf(params.out, podSkipMsgTemplate, pod.Name, params.skipWaitForDeleteTimeoutSeconds) - continue - } - pendingPods = append(pendingPods, pods[i]) - } - } - pods = pendingPods - if len(pendingPods) > 0 { - select { - case <-params.ctx.Done(): - return false, fmt.Errorf("global timeout reached: %v", params.globalTimeout) - default: - return false, nil - } - } - return true, nil - }) - return pods, err -} - -// Since Helper does not have a constructor, we can't enforce Helper.Ctx != nil -// Multiple public methods prevent us from initializing the context in a single -// place as well. -func (d *Helper) getContext() context.Context { - if d.Ctx != nil { - return d.Ctx - } - return context.Background() -} diff --git a/vendor/k8s.io/kubectl/pkg/drain/filters.go b/vendor/k8s.io/kubectl/pkg/drain/filters.go deleted file mode 100644 index 4e9a21b8..00000000 --- a/vendor/k8s.io/kubectl/pkg/drain/filters.go +++ /dev/null @@ -1,258 +0,0 @@ -/* -Copyright 2019 The 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 drain - -import ( - "context" - "fmt" - "strings" - "time" - - appsv1 "k8s.io/api/apps/v1" - corev1 "k8s.io/api/core/v1" - apierrors "k8s.io/apimachinery/pkg/api/errors" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -const ( - daemonSetFatal = "DaemonSet-managed Pods (use --ignore-daemonsets to ignore)" - daemonSetWarning = "ignoring DaemonSet-managed Pods" - localStorageFatal = "Pods with local storage (use --delete-emptydir-data to override)" - localStorageWarning = "deleting Pods with local storage" - unmanagedFatal = "Pods declare no controller (use --force to override)" - unmanagedWarning = "deleting Pods that declare no controller" -) - -// PodDelete informs filtering logic whether a pod should be deleted or not -type PodDelete struct { - Pod corev1.Pod - Status PodDeleteStatus -} - -// PodDeleteList is a wrapper around []PodDelete -type PodDeleteList struct { - items []PodDelete -} - -// Pods returns a list of all pods marked for deletion after filtering. -func (l *PodDeleteList) Pods() []corev1.Pod { - pods := []corev1.Pod{} - for _, i := range l.items { - if i.Status.Delete { - pods = append(pods, i.Pod) - } - } - return pods -} - -// Warnings returns all warning messages concatenated into a string. -func (l *PodDeleteList) Warnings() string { - ps := make(map[string][]string) - for _, i := range l.items { - if i.Status.Reason == PodDeleteStatusTypeWarning { - ps[i.Status.Message] = append(ps[i.Status.Message], fmt.Sprintf("%s/%s", i.Pod.Namespace, i.Pod.Name)) - } - } - - msgs := []string{} - for key, pods := range ps { - msgs = append(msgs, fmt.Sprintf("%s: %s", key, strings.Join(pods, ", "))) - } - return strings.Join(msgs, "; ") -} - -func (l *PodDeleteList) errors() []error { - failedPods := make(map[string][]string) - for _, i := range l.items { - if i.Status.Reason == PodDeleteStatusTypeError { - msg := i.Status.Message - if msg == "" { - msg = "unexpected error" - } - failedPods[msg] = append(failedPods[msg], fmt.Sprintf("%s/%s", i.Pod.Namespace, i.Pod.Name)) - } - } - errs := make([]error, 0, len(failedPods)) - for msg, pods := range failedPods { - errs = append(errs, fmt.Errorf("cannot delete %s: %s", msg, strings.Join(pods, ", "))) - } - return errs -} - -// PodDeleteStatus informs filters if a pod should be deleted -type PodDeleteStatus struct { - Delete bool - Reason string - Message string -} - -// PodFilter takes a pod and returns a PodDeleteStatus -type PodFilter func(corev1.Pod) PodDeleteStatus - -const ( - // PodDeleteStatusTypeOkay is "Okay" - PodDeleteStatusTypeOkay = "Okay" - // PodDeleteStatusTypeSkip is "Skip" - PodDeleteStatusTypeSkip = "Skip" - // PodDeleteStatusTypeWarning is "Warning" - PodDeleteStatusTypeWarning = "Warning" - // PodDeleteStatusTypeError is "Error" - PodDeleteStatusTypeError = "Error" -) - -// MakePodDeleteStatusOkay is a helper method to return the corresponding PodDeleteStatus -func MakePodDeleteStatusOkay() PodDeleteStatus { - return PodDeleteStatus{ - Delete: true, - Reason: PodDeleteStatusTypeOkay, - } -} - -// MakePodDeleteStatusSkip is a helper method to return the corresponding PodDeleteStatus -func MakePodDeleteStatusSkip() PodDeleteStatus { - return PodDeleteStatus{ - Delete: false, - Reason: PodDeleteStatusTypeSkip, - } -} - -// MakePodDeleteStatusWithWarning is a helper method to return the corresponding PodDeleteStatus -func MakePodDeleteStatusWithWarning(delete bool, message string) PodDeleteStatus { - return PodDeleteStatus{ - Delete: delete, - Reason: PodDeleteStatusTypeWarning, - Message: message, - } -} - -// MakePodDeleteStatusWithError is a helper method to return the corresponding PodDeleteStatus -func MakePodDeleteStatusWithError(message string) PodDeleteStatus { - return PodDeleteStatus{ - Delete: false, - Reason: PodDeleteStatusTypeError, - Message: message, - } -} - -// The filters are applied in a specific order, only the last filter's -// message will be retained if there are any warnings. -func (d *Helper) makeFilters() []PodFilter { - baseFilters := []PodFilter{ - d.skipDeletedFilter, - d.daemonSetFilter, - d.mirrorPodFilter, - d.localStorageFilter, - d.unreplicatedFilter, - } - return append(baseFilters, d.AdditionalFilters...) -} - -func hasLocalStorage(pod corev1.Pod) bool { - for _, volume := range pod.Spec.Volumes { - if volume.EmptyDir != nil { - return true - } - } - - return false -} - -func (d *Helper) daemonSetFilter(pod corev1.Pod) PodDeleteStatus { - // Note that we return false in cases where the pod is DaemonSet managed, - // regardless of flags. - // - // The exception is for pods that are orphaned (the referencing - // management resource - including DaemonSet - is not found). - // Such pods will be deleted if --force is used. - controllerRef := metav1.GetControllerOf(&pod) - if controllerRef == nil || controllerRef.Kind != appsv1.SchemeGroupVersion.WithKind("DaemonSet").Kind { - return MakePodDeleteStatusOkay() - } - // Any finished pod can be removed. - if pod.Status.Phase == corev1.PodSucceeded || pod.Status.Phase == corev1.PodFailed { - return MakePodDeleteStatusOkay() - } - - if _, err := d.Client.AppsV1().DaemonSets(pod.Namespace).Get(context.TODO(), controllerRef.Name, metav1.GetOptions{}); err != nil { - // remove orphaned pods with a warning if --force is used - if apierrors.IsNotFound(err) && d.Force { - return MakePodDeleteStatusWithWarning(true, err.Error()) - } - - return MakePodDeleteStatusWithError(err.Error()) - } - - if !d.IgnoreAllDaemonSets { - return MakePodDeleteStatusWithError(daemonSetFatal) - } - - return MakePodDeleteStatusWithWarning(false, daemonSetWarning) -} - -func (d *Helper) mirrorPodFilter(pod corev1.Pod) PodDeleteStatus { - if _, found := pod.ObjectMeta.Annotations[corev1.MirrorPodAnnotationKey]; found { - return MakePodDeleteStatusSkip() - } - return MakePodDeleteStatusOkay() -} - -func (d *Helper) localStorageFilter(pod corev1.Pod) PodDeleteStatus { - if !hasLocalStorage(pod) { - return MakePodDeleteStatusOkay() - } - // Any finished pod can be removed. - if pod.Status.Phase == corev1.PodSucceeded || pod.Status.Phase == corev1.PodFailed { - return MakePodDeleteStatusOkay() - } - if !d.DeleteEmptyDirData { - return MakePodDeleteStatusWithError(localStorageFatal) - } - - // TODO: this warning gets dropped by subsequent filters; - // consider accounting for multiple warning conditions or at least - // preserving the last warning message. - return MakePodDeleteStatusWithWarning(true, localStorageWarning) -} - -func (d *Helper) unreplicatedFilter(pod corev1.Pod) PodDeleteStatus { - // any finished pod can be removed - if pod.Status.Phase == corev1.PodSucceeded || pod.Status.Phase == corev1.PodFailed { - return MakePodDeleteStatusOkay() - } - - controllerRef := metav1.GetControllerOf(&pod) - if controllerRef != nil { - return MakePodDeleteStatusOkay() - } - if d.Force { - return MakePodDeleteStatusWithWarning(true, unmanagedWarning) - } - return MakePodDeleteStatusWithError(unmanagedFatal) -} - -func shouldSkipPod(pod corev1.Pod, skipDeletedTimeoutSeconds int) bool { - return skipDeletedTimeoutSeconds > 0 && - !pod.ObjectMeta.DeletionTimestamp.IsZero() && - int(time.Now().Sub(pod.ObjectMeta.GetDeletionTimestamp().Time).Seconds()) > skipDeletedTimeoutSeconds -} - -func (d *Helper) skipDeletedFilter(pod corev1.Pod) PodDeleteStatus { - if shouldSkipPod(pod, d.SkipWaitForDeleteTimeoutSeconds) { - return MakePodDeleteStatusSkip() - } - return MakePodDeleteStatusOkay() -} diff --git a/vendor/k8s.io/kubectl/pkg/scheme/install.go b/vendor/k8s.io/kubectl/pkg/scheme/install.go deleted file mode 100644 index 0aa436ee..00000000 --- a/vendor/k8s.io/kubectl/pkg/scheme/install.go +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package scheme - -import ( - admissionv1 "k8s.io/api/admission/v1" - admissionv1beta1 "k8s.io/api/admission/v1beta1" - admissionregistrationv1 "k8s.io/api/admissionregistration/v1" - admissionregistrationv1beta1 "k8s.io/api/admissionregistration/v1beta1" - appsv1 "k8s.io/api/apps/v1" - appsv1beta1 "k8s.io/api/apps/v1beta1" - appsv1beta2 "k8s.io/api/apps/v1beta2" - authenticationv1 "k8s.io/api/authentication/v1" - authenticationv1beta1 "k8s.io/api/authentication/v1beta1" - authorizationv1 "k8s.io/api/authorization/v1" - authorizationv1beta1 "k8s.io/api/authorization/v1beta1" - autoscalingv1 "k8s.io/api/autoscaling/v1" - autoscalingv2beta1 "k8s.io/api/autoscaling/v2beta1" - batchv1 "k8s.io/api/batch/v1" - batchv1beta1 "k8s.io/api/batch/v1beta1" - certificatesv1 "k8s.io/api/certificates/v1" - certificatesv1beta1 "k8s.io/api/certificates/v1beta1" - corev1 "k8s.io/api/core/v1" - extensionsv1beta1 "k8s.io/api/extensions/v1beta1" - imagepolicyv1alpha1 "k8s.io/api/imagepolicy/v1alpha1" - networkingv1 "k8s.io/api/networking/v1" - policyv1 "k8s.io/api/policy/v1" - policyv1beta1 "k8s.io/api/policy/v1beta1" - rbacv1 "k8s.io/api/rbac/v1" - rbacv1alpha1 "k8s.io/api/rbac/v1alpha1" - rbacv1beta1 "k8s.io/api/rbac/v1beta1" - schedulingv1alpha1 "k8s.io/api/scheduling/v1alpha1" - storagev1 "k8s.io/api/storage/v1" - storagev1beta1 "k8s.io/api/storage/v1beta1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1" - "k8s.io/apimachinery/pkg/runtime/schema" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/client-go/kubernetes/scheme" -) - -// Register all groups in the kubectl's registry, but no componentconfig group since it's not in k8s.io/api -// The code in this file mostly duplicate the install under k8s.io/kubernetes/pkg/api and k8s.io/kubernetes/pkg/apis, -// but does NOT register the internal types. -func init() { - // Register external types for Scheme - metav1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"}) - utilruntime.Must(metav1beta1.AddMetaToScheme(Scheme)) - utilruntime.Must(metav1.AddMetaToScheme(Scheme)) - utilruntime.Must(scheme.AddToScheme(Scheme)) - - utilruntime.Must(Scheme.SetVersionPriority(corev1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(admissionv1beta1.SchemeGroupVersion, admissionv1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(admissionregistrationv1beta1.SchemeGroupVersion, admissionregistrationv1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(appsv1beta1.SchemeGroupVersion, appsv1beta2.SchemeGroupVersion, appsv1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(authenticationv1.SchemeGroupVersion, authenticationv1beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(authorizationv1.SchemeGroupVersion, authorizationv1beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(autoscalingv1.SchemeGroupVersion, autoscalingv2beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(batchv1.SchemeGroupVersion, batchv1beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(certificatesv1.SchemeGroupVersion, certificatesv1beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(extensionsv1beta1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(imagepolicyv1alpha1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(networkingv1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(policyv1beta1.SchemeGroupVersion, policyv1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(rbacv1.SchemeGroupVersion, rbacv1beta1.SchemeGroupVersion, rbacv1alpha1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(schedulingv1alpha1.SchemeGroupVersion)) - utilruntime.Must(Scheme.SetVersionPriority(storagev1.SchemeGroupVersion, storagev1beta1.SchemeGroupVersion)) -} diff --git a/vendor/k8s.io/kubectl/pkg/scheme/scheme.go b/vendor/k8s.io/kubectl/pkg/scheme/scheme.go deleted file mode 100644 index d1d7847b..00000000 --- a/vendor/k8s.io/kubectl/pkg/scheme/scheme.go +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package scheme - -import ( - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/serializer" -) - -// All kubectl code should eventually switch to use this Registry and Scheme instead of the global ones. - -// Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. -var Scheme = runtime.NewScheme() - -// Codecs provides access to encoding and decoding for the scheme -var Codecs = serializer.NewCodecFactory(Scheme) - -// ParameterCodec handles versioning of objects that are converted to query parameters. -var ParameterCodec = runtime.NewParameterCodec(Scheme) - -// DefaultJSONEncoder returns a default encoder for our scheme -func DefaultJSONEncoder() runtime.Encoder { - return unstructured.NewJSONFallbackEncoder(Codecs.LegacyCodec(Scheme.PrioritizedVersionsAllGroups()...)) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/i18n.go b/vendor/k8s.io/kubectl/pkg/util/i18n/i18n.go deleted file mode 100644 index 526389ae..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/i18n.go +++ /dev/null @@ -1,150 +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 i18n - -import ( - "archive/zip" - "bytes" - "embed" - "errors" - "fmt" - "os" - "strings" - - "github.com/chai2010/gettext-go/gettext" - "k8s.io/klog/v2" -) - -//go:embed translations -var translations embed.FS - -var knownTranslations = map[string][]string{ - "kubectl": { - "default", - "en_US", - "fr_FR", - "zh_CN", - "ja_JP", - "zh_TW", - "it_IT", - "de_DE", - "ko_KR", - "pt_BR", - }, - // only used for unit tests. - "test": { - "default", - "en_US", - }, -} - -func loadSystemLanguage() string { - // Implements the following locale priority order: LC_ALL, LC_MESSAGES, LANG - // Similarly to: https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html - langStr := os.Getenv("LC_ALL") - if langStr == "" { - langStr = os.Getenv("LC_MESSAGES") - } - if langStr == "" { - langStr = os.Getenv("LANG") - } - - if langStr == "" { - klog.V(3).Infof("Couldn't find the LC_ALL, LC_MESSAGES or LANG environment variables, defaulting to en_US") - return "default" - } - pieces := strings.Split(langStr, ".") - if len(pieces) != 2 { - klog.V(3).Infof("Unexpected system language (%s), defaulting to en_US", langStr) - return "default" - } - return pieces[0] -} - -func findLanguage(root string, getLanguageFn func() string) string { - langStr := getLanguageFn() - - translations := knownTranslations[root] - for ix := range translations { - if translations[ix] == langStr { - return langStr - } - } - klog.V(3).Infof("Couldn't find translations for %s, using default", langStr) - return "default" -} - -// LoadTranslations loads translation files. getLanguageFn should return a language -// string (e.g. 'en-US'). If getLanguageFn is nil, then the loadSystemLanguage function -// is used, which uses the 'LANG' environment variable. -func LoadTranslations(root string, getLanguageFn func() string) error { - if getLanguageFn == nil { - getLanguageFn = loadSystemLanguage - } - - langStr := findLanguage(root, getLanguageFn) - translationFiles := []string{ - fmt.Sprintf("%s/%s/LC_MESSAGES/k8s.po", root, langStr), - fmt.Sprintf("%s/%s/LC_MESSAGES/k8s.mo", root, langStr), - } - - klog.V(3).Infof("Setting language to %s", langStr) - // TODO: list the directory and load all files. - buf := new(bytes.Buffer) - w := zip.NewWriter(buf) - - // Make sure to check the error on Close. - for _, file := range translationFiles { - filename := "translations/" + file - f, err := w.Create(file) - if err != nil { - return err - } - data, err := translations.ReadFile(filename) - if err != nil { - return err - } - if _, err := f.Write(data); err != nil { - return nil - } - } - if err := w.Close(); err != nil { - return err - } - gettext.BindTextdomain("k8s", root+".zip", buf.Bytes()) - gettext.Textdomain("k8s") - gettext.SetLocale(langStr) - return nil -} - -// T translates a string, possibly substituting arguments into it along -// the way. If len(args) is > 0, args1 is assumed to be the plural value -// and plural translation is used. -func T(defaultValue string, args ...int) string { - if len(args) == 0 { - return gettext.PGettext("", defaultValue) - } - return fmt.Sprintf(gettext.PNGettext("", defaultValue, defaultValue+".plural", args[0]), - args[0]) -} - -// Errorf produces an error with a translated error string. -// Substitution is performed via the `T` function above, following -// the same rules. -func Errorf(defaultValue string, args ...int) error { - return errors.New(T(defaultValue, args...)) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/OWNERS b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/OWNERS deleted file mode 100644 index 610dc59f..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/OWNERS +++ /dev/null @@ -1,7 +0,0 @@ -# See the OWNERS docs at https://go.k8s.io/owners - -reviewers: [] -approvers: - - sig-cli-maintainers -emeritus_approvers: - - brendandburns diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/README.md b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/README.md deleted file mode 100644 index 6318ffe6..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# Translations README - -This is a basic sketch of the workflow needed to add translations: - -# Adding/Updating Translations - -## New languages -Create `staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl//LC_MESSAGES/k8s.po`. There's -no need to update `translations/test/...` which is only used for unit tests. - -There is an example [PR here](https://github.com/kubernetes/kubernetes/pull/40645) which adds support for French. - -Once you've added a new language, you'll need to register it in -`staging/src/k8s.io/kubectl/pkg/util/i18n/i18n.go` by adding it to the `knownTranslations` map. - -## Wrapping strings -There is a simple script in `staging/src/k8s.io/kubectl/pkg/util/i18n/translations/extract.py` that performs -simple regular expression based wrapping of strings. It can always -use improvements to understand additional strings. - -## Extracting strings -Once the strings are wrapped, you can extract strings from go files using -the `go-xgettext` command which can be installed with: - -```console -go get github.com/gosexy/gettext/go-xgettext -``` - -Once that's installed you can run `./hack/update-translations.sh`, which -will extract and sort any new strings. - -## Adding new translations -Edit the appropriate `k8s.po` file, `poedit` is a popular open source tool -for translations. You can load the `staging/src/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/template.pot` file -to find messages that might be missing. - -Once you are done with your `k8s.po` file, generate the corresponding `k8s.mo` -file. `poedit` does this automatically on save, but you can also run -`./hack/update-translations.sh` to perform the `po` to `mo` translation. - -We use the English translation as the `msgid`. - -## Regenerating the bindata file - -> Note: Regeneration of bindata is no more necessary for Kubernetes 1.22+ as -> the translations are now embedded into the binary at compile time. -> See: https://github.com/kubernetes/kubernetes/pull/99829 - -With the `mo` files up to date, you can now convert the generated files -into code using `go-bindata` command which can be installed with: - -```console -go get github.com/go-bindata/go-bindata/... -``` - -Run `./hack/generate-bindata.sh`, this will turn the translation files -into generated code which will in turn be packaged into the Kubernetes -binaries. - -## Extracting strings - -There is a script in `staging/src/k8s.io/kubectl/pkg/util/i18n/translations/extract.py` that knows how to do some -simple extraction. It needs a lot of work. - -# Using translations - -To use translations, you simply need to add: -```go -import pkg/i18n -... -// Get a translated string -translated := i18n.T("Your message in english here") - -// Get a translated plural string -translated := i18n.T("You had % items", items) - -// Translated error -return i18n.Error("Something bad happened") - -// Translated plural error -return i18n.Error("%d bad things happened") -``` diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py deleted file mode 100644 index f4c3398a..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/extract.py +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env python - -# Copyright 2017 The Kubernetes Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Extract strings from command files and externalize into translation files. -Expects to be run from the root directory of the repository. - -Usage: - extract.py pkg/kubectl/cmd/apply.go - -""" -import fileinput -import sys -import re - -class MatchHandler(object): - """ Simple holder for a regular expression and a function - to run if that regular expression matches a line. - The function should expect (re.match, file, linenumber) as parameters - """ - def __init__(self, regex, replace_fn): - self.regex = re.compile(regex) - self.replace_fn = replace_fn - -def short_replace(match, file, line_number): - """Replace a Short: ... cobra command description with an internationalization - """ - sys.stdout.write('{}i18n.T({}),\n'.format(match.group(1), match.group(2))) - -SHORT_MATCH = MatchHandler(r'(\s+Short:\s+)("[^"]+"),', short_replace) - -def import_replace(match, file, line_number): - """Add an extra import for the i18n library. - Doesn't try to be smart and detect if it's already present, assumes a - gofmt round wil fix things. - """ - sys.stdout.write('{}\n"k8s.io/kubectl/pkg/util/i18n"\n'.format(match.group(1))) - -IMPORT_MATCH = MatchHandler('(.*"k8s.io/kubectl/pkg/cmd/util")', import_replace) - - -def string_flag_replace(match, file, line_number): - """Replace a cmd.Flags().String("...", "", "...") with an internationalization - """ - sys.stdout.write('{}i18n.T("{})"))\n'.format(match.group(1), match.group(2))) - -STRING_FLAG_MATCH = MatchHandler('(\s+cmd\.Flags\(\).String\("[^"]*", "[^"]*", )"([^"]*)"\)', string_flag_replace) - - -def long_string_replace(match, file, line_number): - return '{}i18n.T({}){}'.format(match.group(1), match.group(2), match.group(3)) - -LONG_DESC_MATCH = MatchHandler('(LongDesc\()(`[^`]+`)([^\n]\n)', long_string_replace) - -EXAMPLE_MATCH = MatchHandler('(Examples\()(`[^`]+`)([^\n]\n)', long_string_replace) - -def replace(filename, matchers, multiline_matchers): - """Given a file and a set of matchers, run those matchers - across the file and replace it with the results. - """ - # Run all the matchers - line_number = 0 - for line in fileinput.input(filename, inplace=True): - line_number += 1 - matched = False - for matcher in matchers: - match = matcher.regex.match(line) - if match: - matcher.replace_fn(match, filename, line_number) - matched = True - break - if not matched: - sys.stdout.write(line) - sys.stdout.flush() - with open(filename, 'r') as datafile: - content = datafile.read() - for matcher in multiline_matchers: - match = matcher.regex.search(content) - while match: - rep = matcher.replace_fn(match, filename, 0) - # Escape back references in the replacement string - # (And escape for Python) - # (And escape for regex) - rep = re.sub('\\\\(\\d)', '\\\\\\\\\\1', rep) - content = matcher.regex.sub(rep, content, 1) - match = matcher.regex.search(content) - sys.stdout.write(content) - - # gofmt the file again - from subprocess import call - call(["goimports", "-w", filename]) - -replace(sys.argv[1], [SHORT_MATCH, IMPORT_MATCH, STRING_FLAG_MATCH], [LONG_DESC_MATCH, EXAMPLE_MATCH]) diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/OWNERS b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/OWNERS deleted file mode 100644 index 56cbb7f7..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/OWNERS +++ /dev/null @@ -1,6 +0,0 @@ -# See the OWNERS docs at https://go.k8s.io/owners - -approvers: - - sig-cli-maintainers -reviewers: - - sig-cli-reviewers diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.mo deleted file mode 100644 index ee64eb7a8d1128957e8e49473ef694f5e5daf259..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17420 zcmcJWdyE}dea9yd9@$VJJj45h6l{a<^&>zW2d7zk*NO42y?E_7I7HFxy|cSFd+*H6 z%v^7FD_S0ZP@$?tRi7#$TB=G_tEv*}=leTn z=FYv|UAsYDdG@z6bI$La^LszW|M0roe=FkWNv^kZ-Tu-j`eoq1yo_J`{P-17v<>_x z;Pb%lE2HScz_;8HMa#g)fV%%Ouyb1!{Uh*s;Q2eFsLk`}=c4G{fFr;U051Wx&S!z| z1U?6R8RK_=k8}Swua2S&`0m$4(QQ2c4d8X|fAh6bR08k3D~i6w^G^aFeUUj}M_?#)ru0$u^$ z2mB21IPhygP)Gj^d>`*A0UdA+DE|Hmza9YoQMmsBQ0I!?6-D;~-U|FQ@FC!%z;6PDcgAs6;4$EjfWHHr z2Y%unf1Vv6Ta4ZVadpnqz*E3$K+)lMfuM@M4ivuc0d?NnSrn0ojskVQdEl3CLk57K z<=%0aZvy`qcmen{ldl5*5~%g>f(RRozY6>};0}kD-26FA6}}$>b>6#K43yC&AgH42 zz@GxY0K5kL{lif-1pX)Rb>LY;=yLA25vuFJe+B-S=UtG_a=!=@H2&9tnlGXJMZgol z?*so9DExnc&`Q3(#-;|q9|AdgwDdt_23P=30$&2NCEurjzW{s&sQrHhD0=~?L@@e8;KzY~1^hhl9S?eb{V9-t z(SPs@l14{A?D0PZ+~ofEfZFF>2oFbz=7GBZ1W=9Sfu96E1-uIUK2Ya9@i4pxJ_-B@@Y_Jq>v@>|H1M|5 zUXJ=e$NlGllEbe6#h?EIir)v%c>P@l>KvZ~z7hD>K%M8iz}tXt=DN(KXB;Vdm`n80 zp7rw>*URiLGu>w69rxn-BA0k}iAz6{d;Mq~%zkv2ZursuwZ|DQj%h#d=J(6FWFrtM z`#BpREHIn<2=F}DOSw2!{Uf^SjQWvm=tsP~z=hZwKdu4q;d&+4$GAkBk8-_+3syuN zf8s|xcvE=tHsI^IAbI^G8ondkeI&rQ0ACmW77$E~5kFR{P;FUjcRTyNkyz;!RzlU(vC zlG|wJjys&Y*DbGSn{JSld9PEr)hu^$zwgqln-n%+W3-ZV%DyYJp*@}1bDCT0T~AU! zNT{c0x(gTQ=AXJSyEw07~4v zmTt8luNAJBt|xh~OuBAm%c$1L1_Son++{Y@sU{}t%$X?jE2K3*LG%?&eixD^WtHzRW0Ku@5*}-l(Tu>B&+eLU%E6N zB*if9Bn@KIG`c>U# z5971~d!&Z!h>1nn<)s8x6bmP4yNfAQiBmT!64%O{*F$!|jLv$Tt|giquwv`VUTXHI zZA{A(c7uti1(JnfiD{X)B&@BMlf(0@pZJkQFJ0sBeAJ&BB5m)u;ucUe8?CLo1C>$N z7Pnk$)qPkiJaoWqGAJLVhgnOc5~ppt@WknsLsKxG!#MXl6Nj>ur;&MaM(*uQ&C6u7 z!A~)->jqn6o1@{?HadRNnElOxyCI%tYmGjrYUbQ4^DzhGI%&y)x)WO4U&+>g@^a#t~+W_N$3ut`&bRE_I1d8L{R zrx}hzDm%kdAN&@KnLp$u6;JZ}cXY@?%=PbTxBbX3vD} z?~mz-=y0UWjs(iLY>oXfvuAHPTeW{VwFjQ&9xSj#ZY_{78M&2Xuox4^dP=b8*<$A+ zw8PTjt!iC0#Cz;U6KmE?(~E@~NP^=ztl_O<3!xm``msF|E3I|A%FJF$8_jx=Y;}`< zZ(!kNIN~!S3^k4*8%lAdN&}R|B2RCplNinP=FgRR+}XgyVbWz3ZEkyS+*L4q>X}iT zmc0^fk9$&NE#u=L{NZ|>cb)A@sC-ORBz+4pB$jfvQp<83x3Dtm5)jA}qksu``=D*D z#09&mC*`~#Mp69lLz_B^y@eHmTD|xs6t^UUA*VekA_blw!t`Mvjc)ZuSMzLOPx1sW z8qA%XB2K^0U``$0NFv*ZqSw|4qV96 zpg;2OSz-zx-2!g?{>?7C@v3glbr0sk}0k)=SZW&oLUWEZVsO`ejL+q@@ zVEeQ7fKl_!`!QUeAk%-*VMzk)%NM~!ZPRM%;or5Z3_1aQO865 zRO74+fEl*f&1KjhDa9J@KHs`w_((BwBR?ocE5Q{vhu%`O9L-^aDIzA5$&7WJZ z%<^08yT=5dY40(CNMnB`m`jRI-a`(Na|sp7t>DD6_ad6>6@)uH@TyS+qe^kZXWGrp zg`tCljH=t%HcYbMoFJSsP2;HJ$tD8zV$GdY7M`u-s+*|9qs51qtvKWYvfTq-66q_z ziRLj8EL2TZm{uuPl1K9l?Hk*tc|HGZ(!nx`U?DMOA>CA}dp65AvcENRzcsRLZsxix^LvQCe?t~Wux z;?&?I)2N1Im}onOwp8)9DqFPOB_EK4$VY6dg7E3F5X&dWxYX-$e`MOkSz!y}Tadbt z`}=yKq1mhCr)a}!JJ7Z0A}Z$Ru)i?=sxQ5cnH&k}cLCg$hs$i@nj^2!*GWuk&{RhD|o2>J?} zk6#NL;I$;gm%JOBqR0x4Aye};i5gqYC`hqJh&0su>LG|#@HWh3QzI*A=q@LY!^}j> zTWOYV4UCZFW>(c|Nt2_?jPi#Tku|5G)S1c@?Z%j)QpsV4_~MtR$6FxRPgco>6@Dsi ztEI?NYek1B;@F#oIKELh4$&&&9^M7YYMX;z+8c}pl|f?pVL~+>^DCB7{l1RrRxQbr zdcV4l*CCWe-hL>ancDuLioq7{Fb6CX;%pefyMP+hJsa^b;as_V+M!pp*Uh0WmEaR z0mo`N(r#6Wk|GMTMTlm}a?&a^23dA$NE=q8@m@)UiiTL65U(i+vBp<)1p?KQe-pR$ zSdYSDIHE&~Rc((fLZE9V1Hn5E60+?gOGZigc=en)Od?VU zovp=Ut=Dax9<3Fv%h^dczc_ntVP@%K>k@=k^QbikrB1rzM~~g#I{HBC=y7-S*vb1o z^!}sAj~<;_Pzm^Q9;XHL%<_|NxlCw3q;9#hPMKlbeV7`D9uQ9H{^9kkRDjp+CJ!+= zT^nILT9=b}@ZzSPB;tK)ZhmI*+~WNBkjL6bXU-@_PT3qqx|4AH+46|B_8wHFJ}2fq zb>;He)`{^r9fHiNHLoZEF+J%{tn|v6r9L(7e(NmG6qQehc3Ye}{vd@$y*YI-b@!Zd z#|}L>^LXnKpYDnfOIe~g_gMQx`~LPZ-uVZuW$Qqm@q0Mw{3fVHT3z{C(!-Q4s&Bdh z5m$F!u+C}XF5I+ry4%z)IM$N2WQA>|hQrpWLVOE#JQj& zG*Qz^Dz3T~I^*+)j1UXUp0Cg`NeHph#u^hXRzoKQXDr-mVYRw$*+Py==vYQIqv>-MHcXdat`J zVzj^lL4tu>c#(Zqcnbf@p27kC9{0NnOfn>H+Kl-94DL%U8>@>!>0K7Qq7l<6)~;ymmw=3S|!!$yR5EWTlh z^qUVbcp_olsCQ0qXk8d5ix%q(0L>C*>iT<-(T3>=!q|3KlT;n%#9c#Gt8pp4o6_l6 zbU@A8;A)kJ3-c&l+j*g1(x%3X5ya?)5TuEUe2ELFrHPwKO6=`V&4}faniKgv3bY2p z{M2|vY!I5W15ZzX5b0T1z3mp!^bH)kt>p7v^=qp&tn)`8+ocaU>#@u9xK(zvO?Qu|Jbq5!9!O2szwLUL8IhK2f zzKTYr?p!LD!Jj1Ll1#O6=b-LN(oLw@z<6j~?28G@Nin~W;2W#?mVonQEBo|ujpaDW zbxj#z!PU{t*0CH&j+FFrLc^C`749N=#Riet_Q-5>Sjn?Y?YJo}NIEAN{xkG+cSSwT z<{KKcFS4mSwOF%L+X`z2>757-OnPt9*+oU5vl(XJ+9f)mvpZ{zT@ncrU(AW#Q~2^- zUFlaUwZ;ly@rV$iYLfTk(F!7=p+t(IR1arDX8GNhf7dLP}tRJ~%w*0SxICtb3+Xc{T1WrDc< zc674^s|vxmQ@j*Ya3Q!+tN=6AB_?5a3+i684&Tt3l`zykphKPd*!V1G68o^^Ngn>R zwT#(OIwHKT!YqXcZFhm*BHvUIz^u#4sFCbxL0GUEulG0fDJJAet7*+h{bp-7jNAXi z;yxDRp#6kjs_Py!%_d?xRK;1msE7i824rq^n_0273JeS}yBS`of*P-^K}il?Mp%oT z=gMvBjq5ZuE3;1vHdy`C9kgK1B0xz%qa2}VOL=5Pa(1P$;!S1q>wp$g6>Mf4VAAqq z6{JpzIB@5EgtL}}=Cs1d!y&|L;M;jYof56WWJRL|^)8FYeS&uwjP-$p-SP}XKzX|{ zzV=5gHL8`*Q@6kfXdCVfY7)BDt!3Y>rcC0y)mM`qd!Dm#%HlP=ZdkLD5t*_BaTX$G zma1xA%Zq4U+UQ`{zTw~ouNohFP??~I?N`&J0bfjvD6q)d*ZC4htGdJImMXFjYO-&S z){;${xJ>bM3B*5(^w=M z^D1EyL0U8mos>j{Jd3FF2rQ|IeK3U~O>^vMeRFVYeK((jrgkKIr4W;dJd$9_kebtG z!^DDdO5rPs$YE%SH&=w?+C{xsouILm<dh^sAko6kS0Nt?4I{^hE1n|Z zK4`NT$~VaC87wlMfzj}_l3k}H3g;zM`)MC0D>_Z5JVZWT22JAziRx39uB!%^M7}r> z1kXz%%#=|YZ?yI=bd&h_BFsTtK#ZRp4{Xib_l*5MEa6PHqO8yOaLvIcO97dkXkv#| zRV|GcFzD>qOx|Hfo@#@y;sC|@>sh|7=9dg~%Bka=sFq#XpbClE7sa{aWkOfIwPPcrcc4v4uTVYlLG~gtd4(q1>qsJE4-ck#bAFR8#WkQ6g`;Jz7~2 zM74x<&P~OFZJ)|scYQyRxsFGO9c` z^wzWY!f3!J6i5gq7CW;^PlH_YF}$X_&~Qv*Jw0~gSunQaHoO}(?xt%XkXR+F!Z_LjZ-bYdh--PyjHZ|_fdxxa^ zsnDn$M08m#`qr7cMbDpV(TkB&GHxSXXwqw$W}BY>*iucI4ZZo*o>Dvsvl22*n3l<< zRlX568e6Zvbw1f@UGv^|L;qi)H*j?HL+Ol$xQ1^-A3Eb|-D^C$t)1|&5{(psnF9xf z1+WCBk7cNj%Kh4nZL|`Js)OX9FVpt+c4{owd~;|Ge+3iLnP8Wr z@mOd{AB)DnIC;MA`nPb`7F=Lq{9bEap?we<|HA4EKca%Kae=Q6iS=Gb9Je%r=vV1H zJoE2s)lJ+HejCz@O=u^lxu_{3-$_EJ= z=V|yijJB-}UU*}+R}`dzf<#+MRu(ao^lojCJBwm~!V;C*JvWFDR>>)4suWQ%v#uFq zD<(FBXmA!QSzGKac~rWC5=fa(xb#RPF`Ma6Ai*DTqv*qj5d?#5GN6J1|Zx*PYXc({nJ@;^TE zoV-c;t&mFp=@N;rwRCn|jvm{+)V^au1?#U1nij^QY($!NcJ+C|1QuEPaaElI?P7jz zm|(3cZwaO>)eS>0`)>~_tOKurAxsKh4; Z^p~ufpjZpSH|qecVAF{}^<8=%{V$3K83_OY diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.po deleted file mode 100644 index cd5d53c8..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/de_DE/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,2920 +0,0 @@ -# German translation. -# Copyright (C) 2017 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR steffenschmitz@hotmail.de, 2017. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: kubernetes\n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2017-09-02 01:36+0200\n" -"Last-Translator: Steffen Schmitz \n" -"Language-Team: Steffen Schmitz \n" -"Language: de_DE\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.7.1\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # Zeige Metriken für alle Nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Zeige Metriken für den gegebenen Node\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# Erhalte die Dokumentation einer Resource und ihrer Felder\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Erhalte die Dokumentation eines speziellen Felds einer Resource\n" -"\t\tkubectl explain pods.spec.containers" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# Gebe Optionen aus, die an alle Kommandos vererbt werden\n" -"\t\tkubectl options" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# Gebe die Client- und Server-Versionen des aktuellen Kontexts aus\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# Gebe die unterstützten API Versionen aus\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# Zeige Metriken für alle Pods im Namespace default\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Zeige Metriken für alle Pods im gegebenen namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Zeige Metriken für den gebenen Pod und seine Container\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Zeige Metriken für Pods mit dem Label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\tKonvertiere Konfigurationsdateien zwischen API Versionen. Sowohl YAML-\n" -"\t\talsauch JSON-Formate werden akzeptiert.\n" -"\n" -"\t\tDer Befehlt akzeptiert Dateinamen, Ordner oder URL als Parameter und " -"konvertiert es ins Format\n" -"\t\tder mit --output-version gegebenen Version. Wenn die Zielversion nicht \n" -"\t\tangegeben wird oder ungültig ist, wird die neueste Version verwendet.\n" -"\n" -"\t\tDie Standardausgabe wird auf stdout im YAML-Format ausgegeben. Man kann " -"die Option -o verwenden,\n" -"\t\tum das Ausgabeziel festzulegen." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\tErstelle einen Namespace mit dem gegebenen Namen." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\tErstelle eine Role mit einer einzelnen Rule." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\tErstelle einen ServiceAccount mit dem gegebenen Namen." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\tMarkiere Knoten als schedulable." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\tMarkiere Knoten als unschedulable." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tSetze die aktuelle Annotation Last-Applied-Configuration auf den Inhalt " -"der Datei.\n" -"\t\tDas bedeutet, dass Last-Applied-Configuration aktualisiert wird, als ob " -"'kubectl apply -f ' ausgeführt wurde,\n" -"\t\tohne andere Teile des Objekts zu aktualisieren." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # Erstelle einen neuen Namespace my-namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Erstelle einen neuen ServiceAccount my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tErstelle einen ExternalName-Service mit den gegebenen Namen.\n" -"\n" -"\tExternalName service referenziert eine externe DNS Adresse statt\n" -"\teines pods, was Anwendungsautoren erlaubt, einen Service zu " -"referenzieren,\n" -"\tder abseits der Platform, auf anderen Clustern oder lokal exisiert." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp hilft bei jedem Befehl in der Anwendung.\n" -"\tGib einfach kubectl help [path to command] für alle Details ein." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # Erstelle einen neuen LoadBalancer-Service my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # Schreibe den aktuellen Cluster-Zustand auf stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Schreibe aktuellen Cluster-Zustand in /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Schreibe alle Namespaces auf stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Schreibe eine Menge an Namespaces in /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" Erstelle einen LoadBalancer-Service mit dem gegebenen Namen." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"Eine komma-separierte Menge von Quota-Scopes, die zu jedem Object passen " -"muss, dass von der Quota betroffen ist." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"Eine komma-separierte Menge von resource=quantity Paaren, die ein hartes " -"Limit definieren." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"Ein Label-Selektor, der für das Budget benutzt werden kann. Nur gleichheits-" -"basierte Auswahlkriterien werden unterstützt." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"Ein Label-Selektor, der für den Service benutzt werden kann. Nur gleichheits-" -"basierte Auswahlkriterien werden unterstützt. Wenn er leer ist (standard), " -"wird der Selektor vom ReplicationController oder ReplicaSet abgeleitet" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Zusätzliche, externe IP Adressen (die nicht von Kubernetes verwaltet " -"werden), die der Service akzeptieren soll. Wenn diese IP zu einem Knoten " -"gerouted wird, kann der Service über die IP angesprochen werden, zusätzlich " -"zu seiner generierten Service-IP." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "Genehmige eine Certificate-Signing-Request" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Weise Deine eigene ClusterIP zu oder setze sie auf 'None' für einen " -"'headless'-Service (kein LoadBalancing)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Weise einem laufenden Container zu" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP, die dem Service zugewiesen werden soll. Freilassen, für " -"automatische Zuweisung oder auf 'None' setzen für einen headless-Service." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRole, die das ClusterRoleBinding referenzieren soll" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "ClusterRole, die das RoleBinding referenzieren soll" - -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "Konvertiere Config-Dateien zwischen verschiedenen API Versionen" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "Kopiere Dateien und Ordner aus/in Container(n)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "Erstelle ein TLS-Secret" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "Erstelle einen Namespace mit dem gegebenen Namen" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "Erstelle ein Secret für die Benutzung mit einer Docker-Registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "Erstelle ein Secret mit dem angegebenen Sub-Befehl" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "Erstelle einen ServiceAccount mit dem gegebenen Namen" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "Lösche das angegebene Cluster aus der kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "Lösche den angegebenen Kontext aus der kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "Lehne eine Certificate-Signing-Request ab" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "Beschreibe einen oder mehrere Kontexte" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "Zeige Cluster, die in der kubeconfig definiert sind" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "" -"Zeige vereinte kubeconfig-Einstellungen oder die angegebene kubeconfig-Datei" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "Zeige eine oder mehrere Resourcen" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Leere Knoten, um eine Wartung vorzubereiten" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "Bearbeite eine Resource auf dem Server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "E-Mail für Docker-Registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "Führe einen Befehl im Container aus" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Leite einen oder mehrere lokale Ports an einen Pod weiter" - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Hilfe für jeden Befehl" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "Markiere Knoten als schedulable" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "Markiere Knoten als unschedulable" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "Markiere die gegebene Resource als pausiert" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "Verändere Certificate-Resources" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "Verändere kubeconfig Dateien" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Name oder Nummer des Ports in dem Container, zu dem der Service Daten leiten " -"soll. Optional." - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Zeige nur Logs nach einem bestimmten Datum (RFC3339) an. Zeigt standardmäßig " -"alle logs. Es kann entweder since-time oder since benutzt werden." - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Zeige Shell-Completion-Code für die angegebene Shell (bash oder zsh)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Passwort für die Authentifizierung bei der Docker-Registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Pfad des Public-Key-Zertifikats im PEM-Format." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Pfad zum Private-Key, der zum gegebenen Zertifikat passt." - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Vorbedingung für Resource-Version. Verlangt, dass die aktuelle Resource-" -"Version diesen Wert erfüllt, um zu skalieren." - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "Schreibt die Client- und Server-Versionsinformation" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "Schreibt die Liste von Optionen, die alle Befehle erben" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "Schreibt die Logs für einen Container in einem Pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "Setze eine pausierte Resource fort" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "Role, die dieses RoleBinding referenzieren soll" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "Starte ein bestimmtes Image auf dem Cluster" - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "Starte einen Proxy zum Kubernetes-API-Server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "Setze bestimmte Features auf Objekten" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "Setze den Selektor auf einer Resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "Zeige Details zu einer bestimmten Resource oder Gruppe von Resourcen" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "Zeige den Status des Rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Synonym für --target-port" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "Das Image, dass auf dem Container gestartet werden soll." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"Die Image-Pull-Policy für den Container. Wenn leer, wird der Wert nicht vom " -"Client gesetzt, sondern standardmäßig vom Server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" -"Die minimale Anzahl oder Prozentzahl von verfügbaren Pods, die das Budget " -"voraussetzt." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "Der Name des neu erstellten Objekts." - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" -"Der Name des neu erstellten Objekts. Falls nicht angegeben, wird der Name " -"der Input-Resource verwendet." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"Der Name des zu verwendenden API-Generators. Es gibt zwei Generatoren: " -"'service/v1' und 'service/v2'. Der einzige Unterschied ist, dass der " -"Serviceport in v1 'default' heißt, während er in v2 unbenannt bleibt. " -"Standard ist 'service/v2'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "" -"Das Netzwerkprotokoll, für den zu erstellenden Service. Standard ist 'TCP'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" -"Der Port auf den der Service hören soll. Wird von der angebotenen Resource " -"kopiert, falls nicht angegeben" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "Der Typ des zu erstellenden Secrets" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "Widerrufe ein vorheriges Rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "Aktualisiere Resourcen requests/limits auf Objekten mit Pod-Templates" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "Aktualisiere die Annotationen auf einer Resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "Aktualisiere die Labels auf einer Resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "Aktualisiere die Taints auf einem oder mehreren Knoten" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Username für Authentifizierung bei der Docker-Registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "Zeige rollout-Verlauf" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl kontrolliert den Kubernetes-Cluster-Manager" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Erstellt ein ClusterRoleBinding für user1, user2 und group1 mit " -#~ "der ClusterRole cluster-admin\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a RoleBinding for user1, user2, and group1 using the admin " -#~ "ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Erstellt ein RoleBinding für user1, user2 und group1 mit der " -#~ "ClusterRole admin\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config based on folder bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with key1=config1 and " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Erstellt eine neue ConfigMap mit dem Namen my-config basierend " -#~ "auf dem Ordner bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Erstellt eine neue ConfigMap mit dem Namen my-config mit den " -#~ "angegebenen Keys statt des Dateinamens auf der Festplatte.\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Erstellt eine neue ConfigMap mit dem Namen my-config mit " -#~ "key1=config1 und key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" - -#~ msgid "" -#~ "\n" -#~ "\t\t # If you don't already have a .dockercfg file, you can create a " -#~ "dockercfg secret directly by using:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Wenn keine .dockercfg Datei existiert, kann direkt ein dockercfg " -#~ "Secret erstellen mit:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Apply the configuration in pod.json to a pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Apply the JSON passed into stdin to a pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune is still in Alpha\n" -#~ "\t\t# Apply the configuration in manifest.yaml that matches label " -#~ "app=nginx and delete all the other resources that are not in the file and " -#~ "match label app=nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " -#~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Wende die Konfiguration in pod.json auf einen Pod an.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Wende die JSON-Daten von stdin auf einen Pod an.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Hinweis: --prune ist noch in Alpha\n" -#~ "\t\t# Wende die Konfiguration, mit dem Label app=nginx, im manifest.yaml " -#~ "an und lösche alle Resourcen, die nicht in der Datei sind oder nicht das " -#~ "Label app=nginx besitzen.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Wende die Konfiguration im manifest.yaml an und lösche alle " -#~ "ConfigMaps, die nicht in der Datei sind.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 " -#~ "and 10, no target CPU utilization specified so a default autoscaling " -#~ "policy will be used:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Auto-skaliere ein Deployment \"foo\", mit einer Anzahl an Pods " -#~ "zwischen 2 und 10, eine Ziel-CPU-Auslastung ist angegeben, sodass eine " -#~ "Standard-autoskalierungsregel verwendet wird:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto-skaliere einen Replication-Controller \"foo\", mit einer " -#~ "Anzahl an Pods zwischen 1 und 5, mit einer Ziel-CPU-Auslastung von 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Convert the live state of the resource specified by 'pod.yaml' to " -#~ "the latest version\n" -#~ "\t\t# and print to stdout in json format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Convert all files under current directory to latest version and " -#~ "create them all.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Konvertiere 'pod.yaml' zur neuesten Version und schreibe auf " -#~ "stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Konvertiere den aktuellen Zustand der Resource, die in 'pod.yaml' " -#~ "angegeben ist, zur neuesten Version\n" -#~ "\t\t# und schreibe auf stdout im JSON-Format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Konvertiere alle Dateien im aktuellen Ordner zur neuesten Version " -#~ "und erstelle sie.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" that allows user to " -#~ "perform \"get\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName " -#~ "specified\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erstellt eine ClusterRole \"pod-reader\", die es Nutzern erlaubt " -#~ "\"get\", \"watch\" und \"list\" auf den Pods auszuführen\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Erstellt eine ClusterRole \"pod-reader\" mit dem angegebenen " -#~ "ResourceName\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" that allows user to perform \"get" -#~ "\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" with ResourceName specified\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erstellt eine Role \"pod-reader\", die es dem Nutzer erlaubt \"get" -#~ "\", \"watch\" und \"list\" auf den Pods auszuführen\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Erstellt eine Role \"pod-reader\" mit dem angegebenen ResourceName\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Create a new resourcequota named best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erstellt eine neue ResourceQuota my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Erstellt eine neue ResourceQuota best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=rails label\n" -#~ "\t\t# and require at least one of them being available at any point in " -#~ "time.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=nginx label\n" -#~ "\t\t# and require at least half of the pods selected to be available at " -#~ "any point in time.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erstellt ein Pod-Disruption-Budget my-pdb, dass alle Pods mit dem " -#~ "Label app=rails auswählt\n" -#~ "\t\t# und sicherstellt, dass mindestens einer von ihnen zu jedem " -#~ "Zeitpunkt verfügbar ist.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Erstellt ein Pod-Disruption-Budget my-pdb, dass alle Pods mit dem " -#~ "Label app=nginx auswählt\n" -#~ "\t\t# und sicherstellt, dass mindestens die Hälfte der gewählten Pods zu " -#~ "jedem Zeitpunkt verfügbar ist.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod using the data in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Create a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API " -#~ "format then create the resource using the edited data.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erstellt einen Pod mit den Daten in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Erstellt einen Pod basierend auf den JSON-Daten von stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Verändert die Daten in docker-registry.yaml in JSON mit dem v1 API " -#~ "Format und erstellt eine Resource mit den veränderten Daten.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -#~ "the name \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Create a second service based on the above service, exposing the " -#~ "container port 8443 as port 443 with the name \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx using replica set, which " -#~ "serves on port 80 and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for an nginx deployment, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erstellt einen Service für einen replizierten nginx, der auf Port " -#~ "80 hört und verbindet sich mit den Containern auf Port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Erstellt einen Service für einen Replication-Controller, der über " -#~ "type und name in \"nginx-controller.yaml\" identifiziert wird, auf Port " -#~ "80 hört und verbindet sich mit den Containern auf Port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Erstellt einen Service, mit dem Namen \"frontend\", für einen Pod " -#~ "valid-pod, der auf port 444 hört\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Erstellt einen zweiten Service basierend auf dem vorherigen " -#~ "Service, der den Container Port 8443 auf Port 443 mit dem Namen \"nginx-" -#~ "https\" anbietet\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Erstellt einen Service für eine Replicated-Streaming-Application " -#~ "auf Port 4100, die UDP-Traffic verarbeitet und 'video-stream' heißt.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Erstellt einen Service für einen replizierten nginx mit einem " -#~ "Replica-Set, dass auf Port 80 hört und verbindet sich mit den Containern " -#~ "auf Port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Erstellt einen Service für ein nginx Deployment, dass auf Port 80 " -#~ "hört und verbindet sich mit den Containern auf Port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Delete a pod using the type and name specified in pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Delete a pod based on the type and name in the JSON passed into " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Delete pods and services with label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Delete a pod with minimal delay\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Force delete a pod on a dead node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Delete all pods\n" -#~ "\t\tkubectl delete pods --all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Löscht einen Pod mit type und name aus pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Löscht einen Pod mit dem type und name aus den JSON-Daten von " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Löscht Pods und Services mit den Namen \"baz\" und \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Löscht Pods und Services mit dem Label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Löscht einen Pod mit minimaler Verzögerung\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Erzwingt das Löschen eines Pods auf einem toten Node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Löscht alle Pods\n" -#~ "\t\tkubectl delete pods --all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Describe a node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Describe a pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Describe all pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Describe pods by label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Describe all pods managed by the 'frontend' replication controller " -#~ "(rc-created pods\n" -#~ "\t\t# get the name of the rc as a prefix in the pod the name).\n" -#~ "\t\tkubectl describe pods frontend" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Beschreibt einen Knoten\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Beschreibt einen Pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Beschreibt einen Pod mit type und name aus \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Beschreibt alle Pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Beschreibt Pods mit dem Label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Beschreibt alle Pods, die vom ReplicationController 'frontend' " -#~ "verwaltet werden (rc-erstellte Pods\n" -#~ "\t\t# bekommen den Namen des rc als Prefix im Podnamen).\n" -#~ "\t\tkubectl describe pods frontend" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", even if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# As above, but abort if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use " -#~ "a grace period of 15 minutes.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Leere den Knoten \"foo\", selbst wenn er Pods enthält, die nicht " -#~ "von einem ReplicationController, ReplicaSet, Job, DaemonSet oder " -#~ "StatefulSet verwaltet werden.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# Wie zuvor, aber es wird abgebrochen, wenn er Pods enthält, die " -#~ "nicht von einem ReplicationController, ReplicaSet, Job, DaemonSet oder " -#~ "StatefulSet verwaltet werden und mit einer Schonfrist von 15 Minuten.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Edit the service named 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Use an alternative editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -#~ "config in its annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Bearbeite den Service 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Benutze einen anderen Editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Bearbeite den Job 'myjob' in JSON mit dem v1 API Format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Bearbeite das Deployment 'mydeployment' in YAML und speichere die " -#~ "veränderte Konfiguration in ihrer Annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Get output from running 'date' in ruby-container from pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erhalte die Ausgabe vom Aufruf von 'date' auf dem Pod 123456-7890, " -#~ "mit dem ersten Container als Standard\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Erhalte die Ausgabe vom Aufruf von 'date' im Ruby-Container aus dem " -#~ "Pod 123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Wechsle in den Terminal-Modus und sende stdin zu 'bash' im Ruby-" -#~ "Container aus dem Pod 123456-7890\n" -#~ "\t\t# und sende stdout/stderr von 'bash' zurück zum Client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running pod 123456-7890, using the first container " -#~ "by default\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Get output from ruby-container from pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Get output from the first pod of a ReplicaSet named nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Erhalte die Ausgabe vom laufenden Pod 123456-7890, mit dem ersten " -#~ "Container als Standard\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Erhalte die Ausgabe vom Ruby-Container aus dem Pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Wechsle in den Terminal-Modus und sende stdin zu 'bash' im Ruby-" -#~ "Container aus dem Pod 123456-7890\n" -#~ "\t\t# und sende stdout/stderr von 'bash' zurück zum Client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Erhalte die Ausgabe vom ersten Pod eines ReplicaSets nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Install bash completion on a Mac using homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for bash into the current shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Write bash completion code to a file and source if from ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -#~ "\t\tsource <(kubectl completion zsh)" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Installiere bash completion auf einem Mac mit homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Lade den kubectl-Completion-Code für bash in der aktuellen Shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Schreibe den Bash-Completion-Code in eine Datei und source sie im ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Lade den kubectl-Completion-Code für zsh[1] in die aktuelle Shell\n" -#~ "\t\tsource <(kubectl completion zsh)" - -#~ msgid "" -#~ "\n" -#~ "\t\t# List all pods in ps output format.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# List all pods in ps output format with more information (such as " -#~ "node name).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# List a single replication controller with specified NAME in ps " -#~ "output format.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# List a single pod in JSON output format.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -#~ "JSON output format.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Return only the phase value of the specified pod.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# List all replication controllers and services together in ps output " -#~ "format.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# List one or more resources by their type and names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List all resources with different types.\n" -#~ "\t\tkubectl get all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Liste alle Pods im ps-Format auf.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# Liste alle Pods im ps-Format mit zusätzlichen Informationen (wie " -#~ "dem Knotennamen) auf.\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# Liste alle einzelnen ReplicationController mit dem angegebenen " -#~ "Namen im ps-Format auf.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# Liste einen einzelnen Pod im JSON-Format auf.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# Liste einen Pod mit Typ und Namen aus \"pod.yaml\" im JSON-Format " -#~ "auf.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Gib nur den phase-Wert des angegebenen Pods zurück.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# Liste alle ReplicationController und Services im ps-Format auf.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# Liste eine oder mehrere Resourcen über ihren Typ und Namen auf.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# Liste alle Resourcen mit verschiedenen Typen auf.\n" -#~ "\t\tkubectl get all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 0:5000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Hört lokal auf Port 5000 und 6000 und leitet Daten zum/vom Port " -#~ "5000 und 6000 weiter an den Pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Hört lokal auf Port 8888 und leitet an Port 5000 des Pods weiter\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Hört auf einen zufälligen lokalen Port und leitet an Port 5000 des " -#~ "Pods weiter\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Hört auf einen zufälligen lokalen Port und leitet an Port 5000 des " -#~ "Pods weiter\n" -#~ "\t\tkubectl port-forward mypod 0:5000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Markiere Knoten \"foo\" als schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as unschedulable.\n" -#~ "\t\tkubectl cordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Markiere Knoten \"foo\" als unschedulable.\n" -#~ "\t\tkubectl cordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Partially update a node using strategic merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image; spec.containers[*].name is required " -#~ "because it's a merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image using a json patch with positional " -#~ "arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aktualisiere einen Knoten teilweise mit einem Strategic-Merge-" -#~ "Patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Aktualisiere einen Knoten, mit type und name aus \"node.json\", mit " -#~ "einem Strategic-Merge-Patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Aktualisiere das Image eines Containers; spec.containers[*].name " -#~ "ist erforderlich, da es der Merge-Key ist\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Aktualisiere das Image eines Containers mit einem JSON-Patch mit " -#~ "Positional-Arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Print the address of the master and cluster services\n" -#~ "\t\tkubectl cluster-info" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Gebe die Adresse des Masters und des Cluster-Services aus\n" -#~ "\t\tkubectl cluster-info" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Replace a pod using the data in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Replace a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Update a single-container pod's image version (tag) to v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Force replace, delete and then re-create the resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Ersetze einen Pod mit den Daten aus pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Ersetze einen Pod mit den JSON-Daten von stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Setze die Pod-Image-Version (tag) eines einzelnen Containers zu v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Erzwinge das Ersetzen, Löschen und Neu-Erstellen der Resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Return snapshot logs from pod nginx with only one container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs for the pods defined by label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Gib die Snapshot-Logs des Pods nginx mit nur einem Container " -#~ "zurück\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Gib die Snapshot-Logs für die Pods mit dem Label app=nginx zurück\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Gib die Snapshot-Logs des zuvor gelöschten Ruby-Containers des Pods " -#~ "web-1 zurück\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Starte das Streaming der Logs vom Ruby-Container im Pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Zeige die letzten 20 Zeilen der Ausgabe des Pods nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Zeige alle Logs der letzten Stunde des Pods nginx an\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Gib die Snapshot-Logs des ersten Containers des Jobs hello zurück\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Gib die Snapshot-Logs des Containers nginx-1 eines Deployments " -#~ "nginx zurück\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " -#~ "content from ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" -#~ "\t\t# The chosen port for the server will be output to stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" -#~ "api\n" -#~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Starte einen Proxy zum Kubernetes-Apiserver auf Port 8011 und sende " -#~ "statische Inhalte von ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Starte einen Proxy zum Kubernetes-Apiserver auf einem zufälligen " -#~ "lokalen Port.\n" -#~ "\t\t# Der gewählte Port für den Server wird im stdout zurückgegeben.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Starte einen Proxy zum Kubernetes-Apiserver und ändere das API-" -#~ "Prefix zu k8s-api\n" -#~ "\t\t# Damit ist die Pods-API bspw. unter localhost:8001/k8s-api/v1/pods/ " -#~ "erreichbar\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Scale a replicaset named 'foo' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " -#~ "3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale multiple replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale job named 'cron' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Skaliere ein ReplicaSet 'foo' auf 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Skaliere eine Resource mit type und name aus \"foo.yaml\" auf 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# Wenn die aktuelle Größe des Deployments mysql 2 ist, skaliere mysql " -#~ "auf 3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Skaliere mehrere MultiplicationController.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Skaliere den Job cron auf 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file, will create the annotation if it does not already " -#~ "exist.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Setze die Last-Applied-Configuration einer Resource auf den Inhalt " -#~ "einer Datei.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Führe Set-Last-Applied auf jeder Konfigurationsdatei in einem " -#~ "Ordner aus.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Setze die Last-Applied-Configuration einer Resource auf den Inhalt " -#~ "einer Datei; erstellt die Annotation, wenn sie noch nicht existiert.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Stoppe foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stoppe Pods und Services mit dem Label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Stoppe den in service.json definierten Service\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Stoppe alle Resourcen im Ordner path/to/resources\n" -#~ "\t\tkubectl stop -f path/to/resources" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Starte eine einzelne Instanz von nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Starte eine einzelne Instanz von hazelcast und öffne Port 5701 auf " -#~ "dem Container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Starte eine einzelne Instanz von hazelcast und setze die Umgebungs-" -#~ "variablen \"DNS_DOMAIN=cluster\" und \"POD_NAMESPACE=default\" im " -#~ "Container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Starte eine replizierte Instanz von nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Testlauf. Zeige die zugehörigen API Objekte ohne sie zu erstellen.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Starte eine einzelne Instanz von nginx, aber überlade die Spec des " -#~ "Deployments mit einer Teilmenge von JSON-Werten.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Starte einen busybox Pod und lass ihn im Vordergrund laufen; starte " -#~ "ihn nicht neu, wenn er existiert.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Starte einen nginx-Container mit dem Standardkommando, aber " -#~ "übergebe die Parameter (arg1 .. argN) an das Kommando.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Starte den nginx-Container mit einem anderen Kommando und " -#~ "Parametern.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Starte den perl-Container, um π auf 2000 Stellen zu berechnen und " -#~ "gib es aus.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Starte den cron-Job, um π auf 2000 Stellen zu berechnen und gib sie " -#~ "alle 5 Minuten aus.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aktualisiere Knoten 'foo' mit einem Taint mit dem Key 'dedicated', " -#~ "dem Value 'special-user' und dem Effect 'NoSchedule'.\n" -#~ "\t\t# Wenn ein Taint mit dem Key und Effect schon existiert, wird sein " -#~ "Value mit den gegebenen Werten ersetzt.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Entferne vom Knoten 'foo' den Taint mit dem Key 'dedicated' und dem " -#~ "Effect 'NoSchedule', wenn er existiert.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Entferne vom Knoten 'foo' alle Tains mit dem Key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aktualisiere den Pod 'foo' mit dem Label 'unhealthy' und dem Value " -#~ "'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Aktualisiere den Pod 'foo' mit dem Label 'status' und dem Value " -#~ "'unhealthy' und überschreibe alle bisherigen Values.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Aktualisiere alle Pods im Namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Aktualisiere den Pod mit type und name aus \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Aktualisiere den Pod 'foo', wenn die Resource sich nicht von " -#~ "version 1 unterscheidet.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Aktualisiere den Pod 'foo', indem das Label 'bar' gelöscht wird, " -#~ "wenn es existiert.\n" -#~ "\t\t# Benötigt kein --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aktualisiere die Pods in frontend-v1 mit den neuen Replication-" -#~ "Controller Daten in frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Aktualisiere die Pods in frontend-v1 mit den JSON-Daten von stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Aktualisiere die Pods von frontend-v1 auf frontend-v2, indem das " -#~ "Image geändert wird und\n" -#~ "\t\t# der Name des ReplicationControllers.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Aktualisiere die Pods in frontend, indem das Image geändert, aber " -#~ "der alte Name beibehalten wird.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Breche ein laufendes Rollout (von frontend-v1 zu frontend-v2) ab " -#~ "und mache es rückgängig.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" - -#~ msgid "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Zeige die Annotation Last-Applied-Configuration mit type/name in " -#~ "YAML an.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# Zeige die Annotation Last-applied-configuration mit der Datei in " -#~ "JSON an\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#~ msgid "" -#~ "\n" -#~ "\t\tApply a configuration to a resource by filename or stdin.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." -#~ msgstr "" -#~ "\n" -#~ "\t\tWende eine Konfiguration auf eine Resource mit Dateinamen oder stdin " -#~ "an.\n" -#~ "\t\tDie Resource wird erstellt, wenn sie noch nicht existiert.\n" -#~ "\t\tUm 'apply' zu benutzen, muss die Resource initital mit 'apply' oder " -#~ "'create --save-config' erstellt werden.\n" -#~ "\n" -#~ "\t\tJSON- und YAML-Formate werden akzeptiert.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: Die --prune Funktion ist noch nicht fertig. Benutze " -#~ "sie nicht, wenn der aktuelle Zustand nicht bekannt ist. Siehe https://" -#~ "issues.k8s.io/34274." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle eine ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle ein ClusterRoleBinding für eine bestimmte ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle ein RoleBinding für eine bestimmte ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a TLS secret from the given public/private key pair.\n" -#~ "\n" -#~ "\t\tThe public/private key pair must exist before hand. The public key " -#~ "certificate must be .PEM encoded and match the given private key." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle ein TLS-Secret vom gegebenen Public/Private-Schlüsselpaar.\n" -#~ "\n" -#~ "\t\tDas Public/Private-Schlüsselpaar muss vorab bestehen. Das Public-Key-" -#~ "Zertifikat muss im PEM-Format sein und zum gegebenen Private-Key passen." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle eine ConfigMap basierend auf einer Datei, einem Order oder " -#~ "einem gegebenen Wert.\n" -#~ "\n" -#~ "\t\tEine einzelne ConfigMap kann eins oder mehr Key/Value-Paare " -#~ "beinhalten.\n" -#~ "\n" -#~ "\t\tWenn man eine ConfigMap von einer Datei erstellt, wird der Key " -#~ "standardmäßig der Name der Datei, und der Wert wird\n" -#~ "\t\tstandardmäßig der Dateiinhalt. Wenn der Dateiname ein ungültiger Key " -#~ "ist, kann ein anderer Key angegeben werden.\n" -#~ "\n" -#~ "\t\tWenn man eine ConfigMap von einem Ordner erstellt, wird jede Datei, " -#~ "deren Name ein gültiger Key ist\n" -#~ "\t\tin die ConfigMap aufgenommen. Jegliche Einträge im Ordner, die keine " -#~ "regulären Dateien sind, werden ignoriert (z.B. SubDirectories, \n" -#~ "\t\tSymLinks, Devices, Pipes, usw)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle ein Secret für die Benutzung mit Docker-Registries.\n" -#~ "\n" -#~ "\t\tDockercfg Secrets werden für die Authentifizierung bei Docker-" -#~ "Registries benutzt.\n" -#~ "\n" -#~ "\t\tWenn die Docker-command -line zum pushen von Images benutzt wird, " -#~ "kann man sich bei einer gegebenen Registry authentifizieren mit\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " Dies produziert eine ~/.dockercfg Datei, die für folgende 'docker " -#~ "push' und 'docker pull' Befehle genutzt wird,\n" -#~ "\t\tum sich an der Registry zu authentifizieren. Die E-Mail-Adresse ist " -#~ "optional.\n" -#~ "\n" -#~ "\t\tBei der Erstellung von Applikationen, kann eine Docker-Registry eine " -#~ "Authentifizierung verlangen. Damit\n" -#~ "\t\tdeine Knoten in deinem Namen Images herunterladen können, benötigen " -#~ "sie die Credentials. Man kann diese Information bereitstellen\n" -#~ "\t\tindem man ein dockercfg secret erstellt und zu seinem ServiceAccount " -#~ "hinzufügt." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle ein Pod-Disruption-Budget mit dem gegebenen name, selector " -#~ "und der gewünschten Mindestanzahl verfügbarer Pods" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle eine Resource mit Dateinamen oder stdin.\n" -#~ "\n" -#~ "\t\tJSON- und YAML-Formate werden akzeptiert." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle eine ResourceQuota mit dem gegebenen name, hard limits und " -#~ "optional scopes" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle ein Secret basierend auf einer Datei, einem Ordner oder " -#~ "einem gegebenen Wert.\n" -#~ "\n" -#~ "\t\tEin einzelnes Secret kann eins oder mehr Key/Value-Paare beinhalten.\n" -#~ "\n" -#~ "\t\tWenn man ein Secret von einer Datei erstellt, wird der Key " -#~ "standardmäßig der Name der Datei, und der Wert wird\n" -#~ "\t\tstandardmäßig der Dateiinhalt. Wenn der Dateiname ein ungültiger Key " -#~ "ist, kann ein anderer Key angegeben werden.\n" -#~ "\n" -#~ "\t\tWenn man ein Secret von einem Ordner erstellt, wird jede Datei, deren " -#~ "Name ein gültiger Key ist\n" -#~ "\t\tin das Secret aufgenommen. Jegliche Einträge im Ordner, die keine " -#~ "regulären Dateien sind, werden ignoriert (z.B. SubDirectories, \n" -#~ "\t\tSymLinks, Devices, Pipes, usw)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstelle und starte ein bestimmtes Image, möglicherweise repliziert.\n" -#~ "\n" -#~ "\t\tErstellt ein Deployment oder Job, um den/die erstellten Container zu " -#~ "verwalten." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." -#~ msgstr "" -#~ "\n" -#~ "\t\tErstellt einen AutoScaler der die Anzahl der Pods, die im Kubernetes-" -#~ "Cluster laufen, automatisch wählt und anpasst.\n" -#~ "\n" -#~ "\t\tSucht ein Deployment, ReplicaSet oder ReplicationController mit Namen " -#~ "name und erstellt einen AutoScaler, der die Resource als Referenz nimmt.\n" -#~ "\t\tEin AutoScaler kann die Anzahl der im System deployten Pods nach " -#~ "Bedarf erhöhen oder verringern." - -#~ msgid "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." -#~ msgstr "" -#~ "\n" -#~ "\t\tLöscht die Resourcen mit Dateinamen, stdin, resources- und names- " -#~ "oder mit resources- und label-Selektor.\n" -#~ "\n" -#~ "\t\tJSON- und YAML-Formate werden akzeptiert. Nur einer der Parameter " -#~ "darf verwendet werden: Dateiname,\n" -#~ "\t\tresources- und names-, oder resources- und label-Selektor.\n" -#~ "\n" -#~ "\t\tManche Resourcen, zum Beispiel Pods, unterstützen graziöses Löschen. " -#~ "Sie definieren einen Standardzeitraum\n" -#~ "\t\tbevor das Löschen erzwungen wird (grace-period), aber dieser Wert " -#~ "kann überschrieben werden mit\n" -#~ "\t\tder --grace-period Option, oder mit --now, das die grace-period auf 1 " -#~ "setzt. Da diese Resourcen\n" -#~ "\t\thäufig Einheiten im Cluster sind, kann das Löschen nicht immer direkt " -#~ "bestätigt werden. Wenn der Knoten\n" -#~ "\t\tauf dem der Pod läuft nicht verfügbar ist, oder den API Server nicht " -#~ "erreichen kann, kann das Löschen bedeutend länger dauern\n" -#~ "\t\tals die grace-period. Um das Löschen zu erzwingen, muss eine grace-" -#~ "period von 0 übergeben werden\n" -#~ "\t\tund die --force Option gesetzt sein.\n" -#~ "\n" -#~ "\t\tWICHTIG: Ein erzwungenes Löschen wartet nicht auf die Bestätigung, " -#~ "dass der Prozess\n" -#~ "\t\tbeendet wurde, was den Prozess am Leben erhalten kann, bis der Knoten " -#~ "die Löschung erkennt\n" -#~ "\t\tund das graziöse Löschen beendet. Wenn Prozesse Shared-Storage oder " -#~ "eine Remote-API verwenden und\n" -#~ "\t\tden Namen des Pods brauchen, um sich selbst zu identifizieren, kann " -#~ "das erzwungene Löschen dazu führen, dass\n" -#~ "\t\tmehrere Prozesse auf der gleichen Maschine die gleiche Identität " -#~ "verwenden, was zu\n" -#~ "\t\tDatenkorruption oder Inkonsistenz führen kann. Erzwinge nur ein " -#~ "Löschen, wenn sichergestellt ist, dass der Pod\n" -#~ "\t\tgelöscht ist, oder wenn die Anwendung mehrere gleichzeitig laufende " -#~ "Kopien verarbeiten kann.\n" -#~ "\t\tAußerdem kann es passieren, dass der Scheduler neue Pods auf dem " -#~ "Knoten plaziert, bevor der Knoten\n" -#~ "\t\tdie Resourcen freigegeben hat, sodass diese Pods direkt entfernt " -#~ "werden.\n" -#~ "\n" -#~ "\t\tBerücksichtige außerdem, dass der Delete-Befehl KEINE versionen " -#~ "prüft, sodass, wenn jemand\n" -#~ "\t\tein Update einer Resource gleichzeitig mit Deinem delete anstößt, " -#~ "dessen Update\n" -#~ "\t\tmit dem Rest der Resource entfernt wird." - -#~ msgid "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." -#~ msgstr "" -#~ "\n" -#~ "\t\tVeraltet: Fahre eine Resource mit Namen oder Dateinamen graziös " -#~ "heruter.\n" -#~ "\n" -#~ "\t\tDer Stop-Befehl ist veraltet und alle Funktioneren werden mit dem " -#~ "Delete-Befehl abgedeckt.\n" -#~ "\t\tSiehe 'kubectl delete --help' für mehr Details.\n" -#~ "\n" -#~ "\t\tVersucht eine Resource, die graziöses Löschen unterstützt, " -#~ "herunterzufahren und zu löschen.\n" -#~ "\t\tWenn die Resource skaliert werden kann, wird sie vor dem Löschen auf " -#~ "0 skaliert." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." -#~ msgstr "" -#~ "\n" -#~ "\t\tZeigt die Resourcennutzung (CPU/Memory/Storage) von Knoten.\n" -#~ "\n" -#~ "\t\tDer top-node-Befehl erlaubt es, die Resourcennutzung von Knoten zu " -#~ "betrachten." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." -#~ msgstr "" -#~ "\n" -#~ "\t\tZeigt die Resourcennutzung (CPU/Memory/Storage) von Pods.\n" -#~ "\n" -#~ "\t\tDer 'top pod'-Befehl erlaubt es, die Resourcennutzung von Pods zu " -#~ "betrachten.\n" -#~ "\n" -#~ "\t\tAufgrund der Metrik-Pipeline-Verzögerung, können sie für ein paar " -#~ "Minuten nicht verfügbar sein,\n" -#~ "\t\tnach der Pod-Erstellung." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " -#~ msgstr "" -#~ "\n" -#~ "\t\tZeige Resourcennutzung (CPU/Memory/Storage).\n" -#~ "\n" -#~ "\t\tDer top-Befehl erlaubt es, die Resourcennutzung von Knoten oder Pods " -#~ "zu betrachten.\n" -#~ "\n" -#~ "\t\tDieser Befehl benötigt eine korrekt konfigurierte und funktionierende " -#~ "Heapster-Installation auf dem Server. " - -#~ msgid "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tLeere Knoten, um eine Wartung vorzubereiten.\n" -#~ "\n" -#~ "\t\tDer gegebene Knoten wird als unschedulable markiert, um die Zuordnung " -#~ "von neuen Pods zu verhindern.\n" -#~ "\t\t'drain' entfernt den Pod, falls der API-Server die Entfernung " -#~ "unterstützt\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Wenn nicht, wird ein " -#~ "normales DELETE verwendet,\n" -#~ "\t\tum die Pods zu löschen.\n" -#~ "\t\t'drain' entfernt oder löscht alle Pods mit der Ausnahme von Mirror-" -#~ "Pods (welche vom API Server nicht gelöscht werden können)\n" -#~ "\t\tWenn DaemonSet-verwaltete Pods existieren, wird 'drain' nicht " -#~ "fortgesetzt\n" -#~ "\t\tohne die --ignore-daemonsets Option, und es wird in keinem Fall\n" -#~ "\t\tDaemonSet-verwaltete Pods löschen, weil diese Pods direkt ersetzt " -#~ "würden durch den\n" -#~ "\t\tDaemonSet-Controller, der unschedulable Markierungen ignoriert. Wenn " -#~ "es irgendwelche\n" -#~ "\t\tPods gibt, die weder Mirror-Pods sind, noch von einem " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet oder Job verwaltet werden, wird " -#~ "drain keine Pods löschen, außer die\n" -#~ "\t\t--force Option ist gesetzt. --force lässt das Löschen selbst zu, " -#~ "wenn die verwaltende Resource von einem\n" -#~ "\t\toder mehreren Pods fehlt.\n" -#~ "\n" -#~ "\t\t'drain' wartet auf eine graziöse Löschung. Man sollte auf der " -#~ "Maschine nichts tun, während\n" -#~ "\t\tder Befehl läuft.\n" -#~ "\n" -#~ "\t\tWenn der Knoten wieder bereit ist die Arbeit aufzunehmen, benutze " -#~ "kubectl uncordon,\n" -#~ "\t\twas den Knoten als schedulable markiert.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag --windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." -#~ msgstr "" -#~ "\n" -#~ "\t\tBearbeite eine Resource mit dem Standardeditor.\n" -#~ "\n" -#~ "\t\tDer edit-Befehl erlaubt es jede API Resource direkt zu bearbeiten, " -#~ "wenn sie mit den\n" -#~ "\t\tCommand-Line-Tools erreichbar ist. Er öffnet den Editor, der in der " -#~ "KUBE_EDITOR oder EDITOR\n" -#~ "\t\tUmgebunsvariable festgelegt ist, oder 'vi' auf Linux und 'notepad' " -#~ "auf Windows.\n" -#~ "\t\tEs ist möglich mehrere Objekte zu bearbeiten, aber die Änderungen " -#~ "werden nacheinander angewendet. Der Befehl\n" -#~ "\t\takzeptiert Dateinamen und Command-Line-Parameter, aber die " -#~ "verwendeten Dateien müssen\n" -#~ "\t\tvorab gespeicherte Versionen von Resourcen sein.\n" -#~ "\n" -#~ "\t\tDie Bearbeitung verwendet die API Version, die genutzt wurde, um die " -#~ "Resource zu lesen.\n" -#~ "\t\tUm eine spezifische API Version zu verwenden, muss die vollständige " -#~ "Resource, Version und Group angegeben werden.\n" -#~ "\n" -#~ "\t\tDas Standardformat ist YAML. Um mit JSON zu arbeiten, setze \"-o json" -#~ "\".\n" -#~ "\n" -#~ "\t\tDie Option --windows-line-endings kann benutzt werden, um Windows " -#~ "Zeilen-umbrüche zu verwenden,\n" -#~ "\t\tansonsten wird der Standard des Betriebssystems verwendet.\n" -#~ "\n" -#~ "\t\tFalls beim Update ein Fehler auftritt, wird eine temporäre Datei auf " -#~ "der Festplatte angelegt,\n" -#~ "\t\tdie die nicht verarbeiteten Änderungen enthält. Der häufigste Fehler " -#~ "beim Bearbeiten einer Resource\n" -#~ "\t\tist ein anderer Editor, der die Resource auf dem Server ändert. Wenn " -#~ "das auftritt, muss man\n" -#~ "\t\tseine Änderungen auf die neue Version anwenden oder seine temporäre\n" -#~ "\t\tgespeicherte Kopie mit der neuesten Resourcenversion aktualisieren." - -#~ msgid "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" -#~ msgstr "" -#~ "\n" -#~ "\t\tGibt den Shell-Completion-Code für die angegebene Shell aus (bash " -#~ "oder zsh).\n" -#~ "\t\tDer Shell-Code muss für eine interaktive Vervollständigung von " -#~ "kubectl \n" -#~ "\t\tausgewertet werden. Das ist möglich, indem man\n" -#~ "\t\tdie .bash_profile Datei sourcet.\n" -#~ "\n" -#~ "\t\tHinweis: Dies setzt das Bash-Completion-Framework voraus, das auf dem " -#~ "Mac nicht standardmäßig installiert ist. \n" -#~ "\t\tEs kann mit homebrew installiert werden:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tSobald es installiert ist, muss bash_completion ausgewertet werden. " -#~ "Dies wird erreicht, indem man\n" -#~ "\t\tdie folgende Zeile zur .bash_profile-Datei hinzufügt\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tHinweis für zsh Nutzer: [1] zsh completions werden nur in Versionen " -#~ "von zsh >= 5.2 unterstützt" - -#~ msgid "" -#~ "\n" -#~ "\t\tPerform a rolling update of the given ReplicationController.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tFühre ein Rolling-Update des gegebenen ReplicationControllers aus.\n" -#~ "\n" -#~ "\t\tErsetzt den gegebenen ReplicationController mit einem neuen " -#~ "Replication-Controller, indem die neue PodTampleta Pod für Pod\n" -#~ "\t\tangewendet wird. Die new-controller.json muss den gleichen Namespace " -#~ "wie\n" -#~ "\t\tder aktuelle ReplicationController besitzen und mindestens ein " -#~ "gemeinsames Label im ReplicaSelector überschreiben.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tErsetze eine Resource mit Dateinamen oder stdin.\n" -#~ "\n" -#~ "\t\tJSON- and YAML-Formate werden akzeptiert. Wenn eine existierende " -#~ "Resource ersetzt wird,\n" -#~ "\t\tmuss die vollständige spSpecec mitgegeben werden. Diese kann hiermit " -#~ "ausgelesen werden\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tBitte konsultiere https://htmlpreview.github.io/?https://github.com/" -#~ "kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions.html um " -#~ "zu erfahren, ob ein Feld verändert werden darf." - -#~ msgid "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." -#~ msgstr "" -#~ "\n" -#~ "\t\tSetze eine neue Größe für ein Deployment, ReplicaSet, Replication-" -#~ "Contoller oder Job.\n" -#~ "\n" -#~ "\t\tScale erlaubt es Nutzern eine oder mehr Voraussetzungen für die " -#~ "Aktion festzulegen.\n" -#~ "\n" -#~ "\t\tWenn --current-replicas oder --resource-version gegeben ist, wird es " -#~ "validiert, bevor\n" -#~ "\t\tscale versucht wird, und es wird garantiert, dass die Voraussetzungen " -#~ "erfüllt sind, wenn\n" -#~ "\t\tscale zum Server geschickt wird." - -#~ msgid "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" -#~ msgstr "" -#~ "\n" -#~ "\t\tProxy alle Teile der Kubernetes-API und sonst nichts:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tProxy nur bestimmte Teile der Kubernetes-API und einige statische " -#~ "Dateien:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tDer Befehl oben lässt dich 'curl localhost:8001/api/v1/pods' " -#~ "aufrufen.\n" -#~ "\n" -#~ "\t\tProxy alle Teile der Kubernetes-API auf einem anderen root:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tDer Befehl oben lässt dich 'curl localhost:8001/custom/api/v1/pods' " -#~ "aufrufen" - -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tAktualisiere Felder einer Resource mit einem Strategic-Merge-Patch\n" -#~ "\n" -#~ "\t\tJSON- und YAML-Formate werden akzeptiert.\n" -#~ "\n" -#~ "\t\tBitte konsultiere https://htmlpreview.github.io/?https://github.com/" -#~ "kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions.html um " -#~ "zu erfahren, ob ein Feld mutable ist." - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" -#~ msgstr "" -#~ "\n" -#~ "\t # Erstelle ein neues TLS Secret tl-secret mit dem gegebenen " -#~ "Schlüsselpaar:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" -#~ msgstr "" -#~ "\n" -#~ "\t # Erstelle ein neues Secret my-secret mit einem Key für jede Datei im " -#~ "Ordner bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Erstelle ein neues Secret my-secret mit den gegebenen Keys statt " -#~ "der Namen auf der Festplatte\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Erstelle ein neues Scret my-secret mit key1=supersecret und " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" - -#~ msgid "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" -#~ msgstr "" -#~ "\n" -#~ "\t# Erstelle einen neuen ExternalName-Service my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" - -#~ msgid "" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs (in headless mode)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" -#~ msgstr "" -#~ "\n" -#~ " # Erstelle einen neuen ClusterIP-Service my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Erstelle einen neuen ClusterIP-Service my-cs (im headless-Modus)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" - -#~ msgid "" -#~ "\n" -#~ " # Create a new deployment named my-dep that runs the busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" -#~ msgstr "" -#~ "\n" -#~ " # Erstelle ein neues Deployment my-dep, dass das busybox-Image " -#~ "nutzt.\n" -#~ " kubectl create deployment my-dep --image=busybox" - -#~ msgid "" -#~ "\n" -#~ " # Create a new nodeport service named my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" -#~ msgstr "" -#~ "\n" -#~ " # Erstelle einen neuen NodePort-Service my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" - -#~ msgid "" -#~ "\n" -#~ " Create a clusterIP service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Erstelle einen ClusterIP-Service mit dem gegebenen Namen." - -#~ msgid "" -#~ "\n" -#~ " Create a deployment with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Erstelle ein Deployment mit dem gegebenen Namen." - -#~ msgid "" -#~ "\n" -#~ " Create a nodeport service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Erstelle einen NodePort-Service mit dem gegebenen Namen." - -#~ msgid "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." -#~ msgstr "" -#~ "\n" -#~ " Zeigt Adressen des Master und von Services mit Label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " Für das weitere Debugging und die Diagnose von Clusterproblemen nutze " -#~ "'kubectl cluster-info dump'." - -#~ msgid "A schedule in the Cron format the job should be run with." -#~ msgstr "Ein Schedule im Cron Format, dass der Job nutzen soll." - -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "" -#~ "Wende eine Konfiguration auf eine Resource über den Dateinamen oder stdin " -#~ "an" - -#~ msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController" -#~ msgstr "Auto-skaliere ein Deployment, ReplicaSet oder ReplicationController" - -#~ msgid "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" -#~ msgstr "" -#~ "Name des Containers dessen Image aktualisiert wird. Nur relevant, wenn --" -#~ "image angegeben ist, sonst ignoriert. Verpflichtend, wenn --image auf " -#~ "einem Multi-Container-Pod verwendet wird" - -#~ msgid "Create a ClusterRoleBinding for a particular ClusterRole" -#~ msgstr "Erstelle ein ClusterRoleBinding für eine bestimmte ClusterRole" - -#~ msgid "Create a LoadBalancer service." -#~ msgstr "Erstelle einen LoadBalancer-Service." - -#~ msgid "Create a NodePort service." -#~ msgstr "Erstelle einen NodePort-Service." - -#~ msgid "Create a RoleBinding for a particular Role or ClusterRole" -#~ msgstr "Erstelle ein RoleBinding für eine bestimmte Role oder ClusterRole" - -#~ msgid "Create a clusterIP service." -#~ msgstr "Erstelle einen ClusterIP-Service" - -#~ msgid "Create a configmap from a local file, directory or literal value" -#~ msgstr "" -#~ "Erstelle eine ConfigMap von einer Datei, einem Ordner oder einem festen " -#~ "Wert" - -#~ msgid "Create a deployment with the specified name." -#~ msgstr "Erstelle ein Deployment mit dem gegebenen Namen." - -#~ msgid "Create a pod disruption budget with the specified name." -#~ msgstr "Erstelle ein Pod-Disruption-Budget mit dem gegebenen Namen." - -#~ msgid "Create a quota with the specified name." -#~ msgstr "Erstelle eine Quota mit dem gegebenen Namen." - -#~ msgid "Create a resource by filename or stdin" -#~ msgstr "Erstelle eine Resource von einer Datei oder stdin" - -#~ msgid "Create a secret from a local file, directory or literal value" -#~ msgstr "" -#~ "Erstelle ein Secret von einer lokalen Datei, einem Ordner oder einem " -#~ "festen Wert" - -#~ msgid "Create a service using specified subcommand." -#~ msgstr "Erstelle einen Servuce mit dem angegebenen Sub-Befehl" - -#~ msgid "Create an ExternalName service." -#~ msgstr "Erstelle einen ExternalName-Service." - -#~ msgid "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" -#~ msgstr "" -#~ "Lösche Resourcen von einer Datei, stdin, resources- und names- oder mit " -#~ "resources- und label-Selektor" - -#~ msgid "Deprecated: Gracefully shut down a resource by name or filename" -#~ msgstr "" -#~ "Veraltet: Graziöses herunterfahren einer Resource über den Namen oder " -#~ "Dateinamen" - -#~ msgid "Display Resource (CPU/Memory) usage of nodes" -#~ msgstr "Zeige Resourcennutzung (CPU/Memory) von Knoten" - -#~ msgid "Display Resource (CPU/Memory) usage of pods" -#~ msgstr "Zeige Resourcennutzung (CPU/Memory) von Pods" - -#~ msgid "Display Resource (CPU/Memory) usage." -#~ msgstr "Zeige Resourcennutzung (CPU/Memory)." - -#~ msgid "Display cluster info" -#~ msgstr "Zeige Cluster-Info" - -#~ msgid "Displays the current-context" -#~ msgstr "Zeige den aktuellen Kontext" - -#~ msgid "Documentation of resources" -#~ msgstr "Dokumentation einer Resource" - -#~ msgid "Dump lots of relevant info for debugging and diagnosis" -#~ msgstr "Zeige viele relevante Informationen für Debugging und Diagnose" - -#~ msgid "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." -#~ msgstr "" -#~ "Explizite Vorgabe, wann Container-Images gepullt werden. Verpflichtend, " -#~ "wenn --image ist gleich dem aktuellen Image ist - sonst ignoriert." - -#~ msgid "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." -#~ msgstr "" -#~ "IP, die dem Load-Balancer zugewiesen wird. Falls leer, wird eine " -#~ "temporäre IP erstellt und verwendet (Cloud-Provider spezifisch)" - -#~ msgid "Manage a deployment rollout" -#~ msgstr "Verwalte ein Deployment-Rollout" - -#~ msgid "Perform a rolling update of the given ReplicationController" -#~ msgstr "Führe ein Rolling-Update des gegebenen ReplicationControllers aus" - -#~ msgid "Replace a resource by filename or stdin" -#~ msgstr "Ersetze eine Resource von einem Dateinamen oder stdin" - -#~ msgid "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" -#~ msgstr "" -#~ "Setze eine neue Größe für ein Deployment, ReplicaSet, " -#~ "ReplicationController oder Job" - -#~ msgid "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." -#~ msgstr "" -#~ "Setze die Annotation Last-Applied-Configuration auf einem Live-Objekt auf " -#~ "den Inhalt einer Datei." - -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "Setze einen Cluster-Eintrag in der kubeconfig" - -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "Setze einen Kontext-Eintrag in der kubeconfig" - -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "Setze einen User-Eintrag in der kubeconfig" - -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "Setze einen einzelnen Value in einer kubeconfig-Datei" - -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "Setze den aktuellen Kontext in einer kubeconfig-Datei" - -#~ msgid "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" -#~ msgstr "" -#~ "Nehme einen Replication Controller, Service, Deployment oder Pod und " -#~ "biete ihn als neuen Kubernetes-Service an" - -#~ msgid "" -#~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" -#~ "guide/kubectl-conventions/#generators for a list." -#~ msgstr "" -#~ "Der Name des zu verwendenden API-Generators. Siehe http://kubernetes.io/" -#~ "docs/user-guide/kubectl-conventions/#generators für eine Übersicht." - -#~ msgid "" -#~ "The name of the API generator to use. Currently there is only 1 generator." -#~ msgstr "" -#~ "Der Name des zu verwendenden API-Generators. Zur Zeit gibt es nur einen " -#~ "Generator." - -#~ msgid "" -#~ "The name of the generator to use for creating a service. Only used if --" -#~ "expose is true" -#~ msgstr "" -#~ "Der Name des zu verwendenden Generators, um einen Service zu erstellen. " -#~ "Wird nur benutzt, wenn --expose true ist" - -#~ msgid "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." -#~ msgstr "" -#~ "Der Port, den der Container anbietet. Wenn --expose true ist, ist es " -#~ "auch der Port, den der zu erstellende Service verwendet" - -#~ msgid "" -#~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " -#~ "'ClusterIP'." -#~ msgstr "" -#~ "Typ für diesen Service: ClusterIP, NodePort oder LoadBalancer. Standard " -#~ "ist 'ClusterIP'." - -#~ msgid "Update field(s) of a resource using strategic merge patch" -#~ msgstr "Aktualisiere Felder einer Resource mit einem Strategic-Merge-Patch" - -#~ msgid "Update image of a pod template" -#~ msgstr "Aktualisiere das Image einer Pod-Template" - -#~ msgid "" -#~ "View latest last-applied-configuration annotations of a resource/object" -#~ msgstr "" -#~ "Zeige die aktuelle Annotation Last-Applied-Configuration einer Resource / " -#~ "eines Object" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/default/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/default/LC_MESSAGES/k8s.mo deleted file mode 100644 index 77b13524a32b4bc7d99134bcba351ecb07b553c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 153024 zcmeFa3!J1^S?B+DtHBI61p)*_-t+`}Ch6*)p2=nCqym$fPBLUJO;1lQh7hW&tEVed z-PNh8o|#UF+!hsCPytt5Toe&q6x3A_bVaxGNrf^tz%5Cku{-{13`^S*Cg zx~FFnbpQX41C^)it@EDqoaa2}InV8!^N~k=?e``8d*)D*d=v0TwalKed7UUX-YJcN4pJ{z2P{`6{+ zd=dQ8r6i%r@D=O)Q}srN}QOp?E#+^1fgBp(F+&UYrsKT_WtUz#NE zq5O~jXNRjVPm&3KzxI2QWQE@wub?0N{z2fo`2IbwN|L7mZ)21%2EH2Dp#0AQA${`X zS2KRV!$5{0IR)HF`)>f!<>Y;@Ns`-vdw(!VAXV}T;Bnw5fvWdu|1C*IfX@S-qTU|? zUcvW^e>h2=0Uk$y_W^(4bA1og{&EldFIq03HX5-aCJn@#Xv1{eF`C z3h%uP_+`EyqR_{HH~azo2fX|blZ2|1Rp55uHUAr$1Mdp(Z-MIn3+P-O_%DAvP z#oIaduU`JQf$yZAJ;_k=Iq>=tjqRn}ry+F94qbeCET3k_zw#fo}(X1qe$dzx?o_1ksbc@DW4FPXT`l zm;wupGs-7K>_43DnyZHV*Upx)p9c&Ec0 zP~X2je19uY^?nkldLMW3kja-DfTB+wC_ecP;1hwr3KV`H0;;`-Ji*)B1604)fO_vu zK+Vs01I5pu0jm5HpXl}62pr{m6}SWVQlRMi^S~>C9|5YK$9&UJawBjzP~&tjPc#QE^0z?AR53RJrv1&Y7^5h%HL(TMkB3ivp_-v+Dz zSAkQ&_XFF&hi@NBt_QvVcpLDYK+)?-mpVKMH2MNH58nh7e|_^)hLW3rM}Xq0}zT{hmk|V%b;8Eb~fc863biZWO>2)*kQGD+J)t~PGihq9?sCoJ>py>KH zK#lKXcR2m00(=%wZ@p94jQ%f}qw4zR}e*8o2b94ZYZ)4;z1ivFc>@6UGw z-^2H}0N)3E!9Uj&wckJ|0yKLZ@$ z`x;Q|=&OOE-`jwq>qmiez^~uq<9sLZF?@ds@Mhp^fzJbe3MjdE_Z2Q5e+VeK_(`D3 zU47+H(gMB+*aUtND0#McmG}2vpvL<{z}tZjyV~is2vom*8h8otQG17y?;Jv>07?$O z{i#EyhdyL#$n?;gfq%yHPXVQezWW-V7oWdw$n?-RJ#EPJ(C6xLoI zL+?B|WP0capD|>5=*dGvriaeX44ED}^UNXBL%(;{zrS*he)Ikx93L`0^upVi=U)eZ zeJkt11f(^;p%W*Wf0X~q@{sAF7q2qE=+EncZvZ~7#X7_9Z|9-((2GtD znI8Jc`-V&peJ4nI4-J_fdg}EUX(fQ<^z+3qK&A&8cdgvPPX?%YVa0K|! z|2brO=r~aP`G&VMf578UfsitJ$~&Mlc)speq3c7KkH0Zwdgy(0LV9T9z0iaAu7BT< z>7h^fJ>&q--vPXz=U;w5^Z=gzfX|E^w5?6Q!^4Kp^w$iV9{M{0KJpyc+4FB&#IblYQxO%HtmPa8|lsx}k;IGk-5|i+=eE;kd zy`4Y%CNDqtq+!!T-vN{!`k$UWZ2HCN?Zc)Q{S5GG-ur8y^w3K$9kzA%t=}?idg$ut zu&sZe+A(b7`K+D8riZ=&_zd3rFt7sLaoMoxq2C4kO}^iB`LM00j~E*^J#-3~^8AxP ztvlOF!?wO10N%>?yMdB_zYdfh^04t?led=vrH7sYir+s2)O^~`WE4L=6R3526(~LF z2Z4Kl?*eLl{wJXH(9*79(-WQpRQ>k>HBWy4D7pP}Klr?<97hH zZod?$_TB;%e}5FHb}!iNd@%`>++PA}y?HfI<=+8Ry`KgO@6kOz{x<-xsDVWA*o1pybBgK)wG1K;iQ?pvwORQ20LLO6Q9ipx*y!py=@D;rpYm^6&eB zs&@^jdS4G50lpt7`g{Sn7x?I_hi#ob1QdQtK(+TupxS!}PdQ1kN^p!oS- zpvwO^Q0w&vfYO&f3)H&&IE0V-@pPc{(7S0j>fM z0AB%={`5yc)%&-=6nOD9!={H$0W}|=349Ll*MP49j$Auzdg!kJD}28N<5To_8&G)t z74U7qZ@g~U^w4($#fOi3n%92_sCJiu(nG%;D86_dQ2qEVp!Cp>0agD$1Eq&P`{~1` zhyDQYdcHq=pUaOKpy>6+0RIqZ^u6Ba;a;Hl>nDIW0sj=J@!h`P>3STf-|q)%{ND^b z0{jT@D6n)O{0>zA-V7AI{s<^NG@17PJQ^te9RofEcnqj=>p+d~j{rsg-wN;(K#kY7 z8=OC9fg1mNfGO~`;rly)&*uAI1I5QT-{|t-ZlJ#ZC{W}58^9{?!$7sS@2278g}@r{ zMZix0p8;$fbUM5hD14J=44WQ03j8=6e!QrH7sZir>BnJP5pe*5%?F@MgaM22gtFBab)pNn{Q53t7P8~BWbGGEKz&*CFKTjryG z;&Ff83-GCY{xN+2lK}q@@EfU5JYELQ0HvpEt@;|i|2a_l2ks%$6J8FygOC1+ zPm2G(5WYMXC?5GvK7YmMhxx>R-^U*s*L(Rqj(YzHh^dhL2=Ex6H}lavxrWbvJ|E%p z*L=R7&olY_4xjk%D&EsSObFBYzQo_($OjYC{(XS|K83%<$Nz=T6o0=8h>4Q?B=90W z@!uqWd^exJ|2RHfKQ@~{yiM{ zbl}VQ{2rfizJC~4;q%}5NZ!7kkN%zF^GQD2_`H&j{vF`+AwGwB@9})%zt{4|RQEh0d1n@QpC0h>t_^yB7>md0j;Pd!=F?|06;C{+HG<;tKK9bM1e0GI* zf0n-=!{-E_U*Hq}J()jlk6(a~;PW)zc|P#h`NV%mdG=|(JQn!7;o-Lezm3nw`FxoV zCVBEuKKeJuXBVHJ*BAaBbddZUaELO$1pH+_p9#-D0X)F-tAMx+Y>f;*B|G>&9==Qg zU&rUa@wtTO`uA%NlAV12i}3fO`1?8heLQ@BG~XW={uX!!-+uzQo6j_VF9Cmm&rUw` zeEv6|&+_?GKEK6hm@@izFu-eopZ7=h-;4SFKl!W8XOh290^eo7plbmi!n0R|?=Jxk z^Z6G(ALR3FKL3@^1$-{!gUc~_3ve%=5kC9)+{Clr1nS?5`CP*17x`Sq^Z4)E`6K1~ zLU=F=d@r9?`2NkIY)9X>U3lSz+tYoktF7j#TDt$(Y&u$Pw@U4MPTadXsvl3T&DW}( zMp~`4I`zeRwbH4jl~6n@Nx@Llf!fOYR;yW1*}ggsHy7%Q>#4QdTv@E2NEhpkT0329 z*H=!Y?X~%8b9uS4vd~T&^^>)9Bty^(w`-lWy4GsdRyw6>bEQ)|(@B@t>JPx{-a^%@@O~?AZ17Z>4rRg@zh~<;rThQdzDo1Y+vh ze5K9z=8C8%BFvSl(tuE zRX7t=PS)1jX?=w;sesp_F^*v=%-h0rq24}uJ~&eIWO<^1>4Z?99Phwg#lBE(cYnFv zDtBIevvz$5CXJ7*0e`Uj96Qpe!>g4>xvS2AeBrm<H|{F~d1F&ue`wI?ltsiE=&yU~3bEFCw%%Mz7n&=howU+G#w@I-OBGgtN;}kz1?Z8ODKe2N+qwE@2yh^tOG~)-#k5g*X;C-2anCo z-hS7y>DgPRXX#%krao(C$AZTxkpH?`X}3=!-Q%w_`;HyE_2}$@yhLreQg6hcrw{Kt zcxd1p4cKMUFMK!N`nHKct_hzs<9D~4E9cqyTq4FHFu|!BGZ{IcwaARemYS#2j)X)|x(va* z+19B_hhN8pYP+sg&-IcFmD-tFb#z?RMNw$3uBQ{7<<*JBW)qF0S^-1V*J=7=mOS;n zlD2Bg5H4M9F6g^0SF4q3ExoqgT&|U}@7GZ+BuuM|X(_Mxx!Dk@@w8M=ODlbEh6l88 z9Wx+REoW3qX@7>wAf#P_7V#_MZe41ugH;>}$6!m%_jY27DBXp$3AA*%(}b4_NZIcL zh$^LPp|)6AYjkn~7cj4`W)!t5ob;mClno(crRRf)wDpm#L~W(o#p{uJ1sn?Fm9?Li zsyuder)ny#O_u8(7)}{?_3_ML>hu+x7(l8)D4i=WL5*Ji?`ujED-Mr~BWxK~B2%$V zey+7_#%f+Mm?ogbE){(%bP$_{*Gh}&_(Uw`een7aR0yal!YuS6=e;1bWK5jI9%wGt z@3j`k*DK2nW>{_f#JHBoiT+>v+dpX~i!G}s&p3AU2+CAj`gVNF$*Yujo?`y5w$@f^lECeb#3ps^YpgC+z{iZijR=U{RbQ;NJKi-D>&ul+6{9I_ zROV|9S%&466ZMrdrmQa18a0`Vw9up*7)lux?cGYNW&&MZp_e8aWh_~py*2jJD)fRe z>&B~8z@wLvzDyT*qWe{~Ucg#dIp+SJ%%HHG4Z!^zFf55CVHirMm(a``XhUe;t=hz? z$%*~OxrZyOfu+|pgeOzs+k*b@9FP}%m+98cF6`@pMFEWuxG&5bB1E3~YJ#oVjSM!mZ3>+F0@>uJ~g z2_+?DGXym|OC=24vTV)e%9--yt}r6SF12_=o&_ztnoTIZ4f?Ug?zv%f<=94DV`l8# z^_1e^WT>{PXiA16s9gz))z!7qD#|a^E$`js)MqfzMmy=Ke54|Tw+u@m;zx*9zdgDM1b_N z3vWOuO#6PTpm8I*`6)2$W_^%6a&fe8=3siGd|q3{ z+~?t0NZD$SZ< zluBkOmgm>n>+{VsJ)Kqwn@$y$7IPe*OJ!7^E+AY7R2uZaY72p(M#40%l=OrLBZJ$~ zsu9pu4dqaJB73i=_ws;7QIg)X*6dVrKdgQ2Z^lbO9si?LTEem|v$T~b$CfcPTkGY? z8;xnpyT{~fsiW7H_ly;m;d~WtQzo`=^|h(RT_El9m1D@$Hd2rE@>H|2wp^<=D)nWG zgk^qz9K;Q~F)w=577@ywje1fj!gyF`G~;Mw7vI~}<|^o4Pd(FCO%DMn%Bs|Et*x4V zF~7DT{l`ZO8m%tO`$A#pT)J&9Kpsu1#6ZAwp&(pz7aM>JCsoLC^7;~UToh|*g_u-Pi-2$_Oa z%33K;_Au*%M*!FCP1E0)085p|V$@$WOsS)cX36r4-k2e}RdO&ugS+qO^mhNsT~8Un z0q&*INHU!(B0ji9Z(Yv-3@`#SJ{B>vxQD76Y??uy4J@*PI^*Lsy-;`OSVSy%H=~2p zZLO%f(PZX{Rr7Ib1~-%*)u<3^tGa&XqHhE1FO~FK8g#v00=DX`5gmec4Q$Xbcb4iW zmaxG5m;Q$0FaAnbVJ5AG2Q+~-gK<$-TXmbBAF?~*NIz1`|sIA$HivS%%zpbzqg{CZ-n?cDdn4@6(_Bk2A~$dKLBmKi1ayX;r8kSR=)=$utl|d z>nLbNDeBujk}7C39{)f%x?ceSU~2`glBGJXf0e>=HA@e}e(x@`{}2}|EdEFeyd($< z=|JXREtcH1s~{{07BrPEQ1$9HIZ$J89PpR>S>gj;4;;1XG*rPSazUc4VMW?X~!?o1uthNW>9$Sz4jWLyK>ESAWWZm)cunPNnWcq#o zj3D@0tKgbLLB;hQ-EVPDTp{I}wUXGGiX1;MlXhB_MG}BA7FAk~cAC{@qpX_4m=tT8duHA*{&JcAr;GqXR(@}oRyM4Yho!Fke zpZiF^N|@#iYysn5A&QH13Jp9o{#NM-pMiuPKR!#jj|He$IvBW{X`!G&*_^wc_K6IZhKU?9SN(|noIBjyeZ$ZdkQH5=Ug zrURFYFJ|2_Jk$|uvPUai$;QCt$7x*iQvb|7)1HdIj^_{E7ap)HJZ~#msK?9+rDBx~ zu~JJ=@XJwI-GJtfYWl1dQt9yaWEc&?r!2){DM}z*5tOt=TZ}ePJ^>d zEVm9%5*q6)4e;2;9(p;-^z|@c*3DY^a74_zf47{Q36-+Hj2!mY=EIj^EBxEm0WBTE zea@Elb~@9lE!NL$JXE1W%JJzQse%1a&6incH2X%nJHsS(Pn_}(t<>%*tsk5BVeZf| zlBwj(P(lUhn5Go@CDOYqSCnxgp>wgOj7;mSDKeXk7PUx14C-Q<^0<32tbexfNeFl+ z2Nbi^J(5SACN>o{>5MR&a$SFq3o-m4#Vq)9Zo?Sf++rv5Q8Y>CFHdehRCy2&=j%zd zq)pi>4&jCfg#x8eS(FhXqNs1oHGuA$VBWpzXtFCmvD#4-Y@s&4c7m0XgkP2*sm1QG z!4o9SP6V$nlZ{%(H%qX((&=X~y(9&+OeqIOJ^oT@R@kGP=HE32PgNd{eWp8c+dQqj~ov!8jtdiG?(b2OdktN-W2?<(88TRB>>& zPEXB$+5jCb?2&MrVo_bHNV{^G6rBBzV>S+(wm+af!y=f0;E~nC^R&IRHEg7M^{w++y=(GY=el$ISfrkv0nVngH9fVp$m0#MT>aKQ_W|}dN(GI z9GQ0I0R3qQfChPeqsXhvD zuM^!^_BW9e%gr^!6cVVDPN-BLp@i4O^17inNKClYI}kEs@jwt!A_TDve0_tX>f5!Xx}3{3gt%9`r`KnFkFHRJw@Gs%~}&bu+Qz@4b}|qD%p!p5j7M z9=x-#N>;%}91;p>L9r^yT_Z!RK)g9ht}M!O7>|KFBUd z<5)VshLt-ncjCVhioR1#dGZzZt111Q=zg6sN6(wQGDRM(F>#Btu+Rm2LAi6hP=4yJ zkUN(JH=}b!OolJ1CkCmVhS57=aY)RHiJme(r;ZCdWLg7TVFf=3wt`-;Wc{0uUq5}< z^nrtOM`z0;D%VI1N}S8uD0t>*D*t9J-oEefA=7Hw+Ki)F$<_mp0Kj)?$4QWMswC1~Mqt~FLI685k!?=daCHZ*0 zIT5YHOphF;7X=Kri)u^*Wmn`HdQhx`3FdYJ+(Ak8e389l?B$FWn|iLtLdx_wmYXUn zSZ$?1fnaMG(#|mbeVg~)pcdNk{$~B$pe9*Et+nENUiUH9X*WAtmD4F4$rNG1)^3q& z=&bgrW{KLP=t4_2#@#jbW8jG;+3O6<1hv#!>{8X>go44cuRO=@tiKEFAd-Va z@h^O)^`MO%QXpOP5oRMMx|mL^wF6V;Y?IGd3S<+@Wt!G9hR;PB3%9hBkOQ?nZnKUI zq5X-cwWACk7qTopMG3GZ^@Loi#YW|X?J(7QRJX%+Ta@ZM$Ka0bws&zEAB)Q`{O1ew z2t9O1skBoyw`;2v_J`Es_A_HfS$?W^f>e1@+UTs+wXZ>HJTi@?dBOf*A6bhOSA0=n z^P01=8Kn@Yrw)&PD22|}(Cs8nV_nKWg$6^mini}rr<-dH?L!M)CRI)AO#?62j{10Q z+!~jI1_KoGE2p200QrNFqGDDYEY^mwLsbxOJMGR`w=i)FAbdu%S>ev|36Y0F6VO%3*vy zfDTpEDpMnkAUFzw^5chnFpjl`Trc7=Xa4ls9RsS-+meyAb}LDZ9NZzE&1uM=v_s_; zH#sHFLw(o~rh=j6Lw0=TvPnae8?=;Om$FA(Ke9tSvbnvFt3&Z|p-a}@N{66y_^LBT zZVtz;Sg#7$Wkmu?qnF-v^zih?Ey%J`6KOhhnM`UVxCiY<=Jz3rttChvqj z&U0*d--aeV7R22Es%C5u8q-J-KGAtD@^;xgURw>_9`HV|F(@OK-nXb&An4vdaaSl7 zQW#Co$($?_!)QCfJnFUmPJk$DVc7R^);C=VAO&A?#0^O)K|A7(baNX^$u6$qu??AU zr}1d{)b_Sg>B&UE2fHY|x%_|>ZQ7^dvvsIYnbrt*cciCl^M#i4Ro~PvGnKoDBq?E2 zdF0gONVZQdEP*2g1PIp3oVK%P7_K-}>TRKN8PzJ>ZB2J~UdjlK_2bY}Z7|5)gsjag z*{n3V=kD6og?_o)bThwUPEOi152Ebqk*#5n@BbUnp{N*`4~_kCh232k7=E%v3Iuw5_-*?|Q zQ<9xgxeXw(@|FU$gDh0FVo9+}&B z@W}M+RIieA$F4iaHMPbL9^QB3^uV7jhE+gNLZC1i%=q!y&=YLvG(k-}oWcGq(xO$( zA_0Y#Y}*K-R!N3P7V{ZXE9V__#ZG!D(yEI5*fN&sHxd1>CYQPg#`Qc+9vq*@9i=(7 z(<_yRuVwBk{SnS|7}HXFnvFwJhiq#CM>N^$H|Qn0EnT3SPgGE@P1Ryd;wG~-r>64m zKls@AG|sl3D1EleR4K4?7n-@`>9#>OMcVT{2N5o;gPsgLBl|bbEgvi?LVD_cl@ZHh zF-bBQ|1iWGAs;y)w@Z|WYWW$31u7?Yx|e?g2OPYu$LBJxs%%Pc4H{Q(3YOE9LN$iR z?I@N4lWo0CB2QjJx@+A2SKzL#VPRus(O*;V%rA+~esHFX?av3Jtmd)FUE`Ba9p61U zzI)GB@WastE;#s%AvR#9a~>2M5TEvkE3K1g^eDH!g%l4;o1+^R)(A_P8XH&OwH3}G z;A|))Ky$-a*H#9<-23VbW>uX*=VYi=x%^nw42PHjgHgcK6XX?>pmPEdA_qE0^w=pU z>k>XDSUicdZEJjy{q4C`cye!uDUuzxnvUK#qAEtF?i=aCbYx0fOz*#c)S2`_#!l}0 ztzdWQsF0i5h7YJf#VJy(*J@|MtVc6JsCBIkz54po{Q^A*W^K1e zrtY|pIM8x!WXev741s4!$y!O1-+mh#F$^iAJ*xiq{dZ;@vT>gRMJsU&ph5wrrfFY* ztXx6?l~${=URl+tVPAXho4H)_Im5}5Qf!Y31G;dC2gM^M)F!6@6qtf-Udj>d zt+TzhDp`tLmz@y`6%nee*0n`U?}m=fI=x{&4N)G1Fa=1uU4O_r4AG#YgSuL#4vvEs4BjfxwlR^n3M7=l~&$2x{kwl4gy`ea3yLbT7xuC$L z#<_T^-drOr;n7UZ9)-p7p7s!0hTmi_L0N!9$W&efey70p^m>+gIcVa(BaOY`8-z(u zJ3ie)1-XB~dq`G?hpo2MfY~h%oUAm8NRL$CjIsynZA2m&veCR=X1RgUb+Ayn8zYO6 zv=CZwnS{O$9!>TVa!w_075LPSZB&np9KkLN+Z@x=2zOa{)M_-=xdeE*b)aF?@tle! zWJk4Do?PmyIQU(XU74Y2H&n-H-Xwo?t7^xg05R^(+@LuPyqdx4cJ` zI(%E`7Mer>jKzKK9`w*v-rGPEOwD^5tTu6RZrATce`}{4d+j~30voj$-pV_xW5NnO z&zn=M?Vb>ab{b^cX+n96Q)wuJgJv_DUdf(aJChTj-D(Ez^`3g|@>$hl>XuvQqlmJt z3|D-WBrthj0v9lU;#@2tLde)y(7HelPCSgxcsj0yqL?3pr?=Ft7pH$;;83?P(to)Nw<-PiGN=S>kiP9K}X@QlrD%vCu4j1KT<) zg5@s~Bo5ExW|rb28D3nf+*@mK_OFF%thZXu;>7Yqu&`s4+2@08gP1E!#kC9kuE-Oh46RcY1bhhc~5fg{K6I&kzbUhH^~f5=;pLtx_? zcVL;ju&XaUR8bGr+|q&7B!>C%ZOkEO()@d*26K+!L8v0mSZVyw~KjQ=?+r7Ch07WniEHM23G_5SmDhrQ8m3*m0V|F z_jN`&JvkDNWp>&PLRBkj+!z}gG^+Muxg{)O1!V1ATV3Xm?|_vC($R5YI>#B9t>zi` z`vk-5<}8=j_+D-tmd+)ydacne9#Q76V%6d~@jR4rSmU#L&Eyf&#!$zA+AB(>)6wRZ zB9HIac3Ro=xShN|-8K+h6Iw?X74~NH_9*J23?39}dGFY~yK8a+Omt$dR-0lLc|`Q| z>CeUIJ7Q3SgoyoE;Y4A|LFnTO6!~KX(Din;uD7KnS=@{G7 zbM1u>`Pn*CL^HhMn9eeba9P>7qBsiQ9;yeY8r~;c;r8yDDRsTQYcdAwNMNN_GVDWktNUndlRT())%O{-^)&Ul`;qaNLXp+_+l zJQ&jS-cR4%2Kh92k>;CRWdK z#AfV9Ape1b7+Lbt(Id@c9vUJXA%4dE>#Ed}R#mfV3omtP+GN8iv(fVj%*StzY?ck8 zPAoFEr=c)Lj<7l+hc9`$5#h3x4oFVrcm>91yA3&cwhR`iAmX2e1Os}iB}#rmGZng2 zV58;$8 zuqpYr!j8o9ZE0Zu7>=nKat>>)Ug`@Era^)5{a9gMJ8N(J#(*qaIDmZ3Tb9CZ$*`d$Hh@4HIhP)+8#|+I>xBb&Zat z(z4`%6XBJjZtSElz1??wN~QQh5E#PEn<;12I=4rce~*co8GQxP7W!&F=(E%)QPsOy zQgf*5$T76Mfg2`6Kl0s@n>Usd*Hi^2oyIJ4d>||cKuhRG{T6!K5fDY2tkAzf^kP+t z6~+ipJQuZZh;eS~`W2ffmBJoP7|xhCQ(QT<1q!oOH~JPr;L`9f4x^%MgU3R+Qfb(c zcuSp#qqB1Exasi<<(>^s2Vz7fG~m*?d&14`2s%Zj-JYO=7tOR~XQuOLJi3B<433T3 z?e;*$d^exgw^o!)8zOt+h>@W0lPicw2_6O`j?V=>ViTXTC8f2BF-K)Z#uk<1jax5U z(E&J|g$!(Q^U#?N#ght*eC5nw8KdBO)h<@q$|8{(-Q6V#Q*XD|m^EUl5r1)HfGHEA zaa|P2rDUNO0}4XjfI*q&HJ1C#{ixHmi_T2Qqn%^HNzD{9-Z942MnGL(qLgoqK~~Cs zwcR@OJ5v(I(>bN-XQiUT=Z-m~R_5>1Wo9O9)AgDi12cz^$Lbq321PPg8mEcI7yX7= zt?acAX(~qN8pMXI;Z5yG91Y$^PPWLmPx?hq7R!|)WV<(EY89Cxa^h4vP%>rD6b-;HWsY_w+5Q+8P z4k>oFcl&g_X)E)`%a2WU$2&AAn zAs!`#6dR1MNm_&?<&MHY*1evxv@UXoJ}{s*&U(b|McbEv<{5rv3I&e_cvyFjP47QG zdvNY{?mnA4xPN+z;~G}k->Eq#-13TfHLp)QOhkN}lm)~=QIceptzcM{=!WasZ;isP zDPuH-_ryEe9)>WC*NkSj=SXf^+B?B?Ojw4PDzzgndq1w`o%M0zu5!!-;+s~Y8(KNR za)k|Sw)G8uVuLBN4KsrLvXWxPtKXCR39%Th%9xdR|p%4qd?ZAZjbLISoh}@>_0lUrI6CgWluGh%2S~ zXR~#~NeZ@6Vq!tano}#1Ot`e{nnRAyN5^ZWy0QV1*H_p!jcB1}*wE0Evr9W5yb;KR ztd2TNCf2kO5}m=e6+{)qwha1(vpA5L`|+(H4)T|6zq=$vmg9n<8k(o&?u%FAFl4J; zu$7}Ewe2TbHlpnub&Jr0@${&&C*W9#9#XD7H;9h$hHGkiH`Iy+hw5v?XEJ5KM`
d;&bUU9YBVT=8$#*%L$)8juZs=lnl~tQ6RR3&i7SjSCVR z@fEA8$i8uP8K0Rx4F78{iF-0F)}|iiNafgc_amE*y|@12fswDaN1Zysg2+7 z`NgIaUW8R`N&+)xfQS2fnJ?#raC5607e=vtaZd;gp=qM(v@0#{xGJWaL+T0Fee9}M zd;iw#hSH#*i}e+%sN1E#`OZ71i`)_{_I^Z!A$SfQE6j3>h8i-bb~iKf!}u<5 zX~T1Vq2&T;JggsM>1v(ZF_870>dqc!ix-z<3t`Sw8n*7zI?rND1@)>$Ah%c?3n&T& zgsKFLHFLmji4_TK+hEPt5`U_zY5g6i3NM-PVjEbt9;Pv(J-8y{@jSgR6pB7{W#>qu zt*)_G%%TxcP`Z|6U{@;?;;aP4*DQ<$*!0! zAcEc?p`jaGbu$_3f@UX;xl7E(6%UG!t3)g#%jM-P9*srQ*f^m;3yZa@4x#y5k`3k_ z6-U>;bX{U;)J>-f8<=Paikh|H@-wG>V07sUeq@FUxGiZom_MFlcToLw%v|>jl#!g@ z3q!cf?y=cmPRh5hvsSc~TFtR2TgsN5DYnMevg}S8s%`f)6fWOj3Da#K8@6B)d@S6l zaUg`;LSykhkM5eIHs}7@u)mh!F?Ar=gph9w_LOOZQL)IX_4|%CL|8Wmk$Ja_W7??_ zS&>vF-67P2?54{*<^~4WX3M;lFkIpmO|HV~ZX)nQ->Mp=x+|KwSl(o<4^=&ob$%mk zGzGreYy3f15i*sbZ;2PJC4o=Z5y?zpiwOD5ZJu7~Qvl$iEvW$geJ;@ctFruii{t;E zD}Rre*=U9rcvb3-NB%<8jnOEWX{81ysWnorjjQ2c$to#lqP z?nw-lvyD03!qOwOy7q8^UABOUxTbrjGfE+h z26|M}qM3xtlW1D@7Q!-HBW&E~;Fst&!-uh=!HeiC&x|30a=HJ?Tt0)VOOM4(G~nrV zO51_U7HU({;4VvV<;)aiE={HTKiT^=A3kJ?cECA5;0d1D~pzbNIV1F#EA{8y$T`?@LtHYcDd+>Ml$KSMqJ^hs3$A<_AJRDdstRpy{w0BFsSYa!d zBZI{OKeWsx5Q@fe99f z7aNry7M~VD2(BN(O%8nFww8fSUna37#i?tweT`msdpM!`LUSMZUOo0o9<)YbOP!;hB-W{7$2M^C2 zot@ivWNs?G!4UIdfR1R#N0iR5O91mMDxIVaZY~fx$JKcAiV&g-OPv z@eU%%7H%=MlSk$6%HInP4dMjc8J~$Lc%x$(vT7>h6BaRQXF0U6ReKJ!Y2J0FMxS62mWaq6s$D}5!? zZX`iWy~!+6v1N>mBios`RN7Tn9-!!YY>_@452&*_;W602rc(&*&rxp(f5~&iu(v?wY=BZhH2}zC(8%IC#SiEV%ufKWtu7y(#?A#nr6L%>l9!JoMhS>yM|$ zSu%A&n@8r@6fX~QzMbD0h@ezuS^ipPY*3};m>!5#d4zM6@SCcY(vh^ZW_Ju-pB=et zJWFl~zh{{x1!p3;GBUGC1Skq$8Bvnm2&C(qy9pSk)2gCka zKFJUAzy|>lE}UK88C=J1j!m} zHvaiK{Vv15+G&{0Nl{XKKq1&IGG;jM)x(mm9}J|S$wiGIe<+qiwyVSu!@0=aoKo22 zxrV(seO{}zPvfv*cs9zO9s6gFPaI~|YtiwwHVdNhk~mG9rJ~#l(^rdu@rxu}uDhz0 z_L|?;D={6UEq_P|hYCS5)|R=`57&r9Rom$?ot0t925_a8DpAKagWJYMx+PH@Pt6RA zvFmZ;sn1s52yKVE5Udk@JuHbvCEbwa247Ncz!r;W{0+(5>0adW7&K3HT!t8}d>?xp z?pODj0J=abR#x>OV_cfqFdW{{pddt*RMHsX`8ya z6_Gt(%HAjh0d#ObcA&;0GtG-tUU*^b5`ARWTFHh2*}ka7Jj7^c8JSgEegk|VS-@6^ z=;DuvyQRh8n#n{QlED(2*t9gowoOJ5rBQiI>*q(*NIy-JsgS)^Og0K;2V9qLHFOFc zC*Wl%RBQkya2>WzNkNf}=Y$3n|B$uB4j*?Ql#l|2m%vr^2bqe{2@1Ne@|lE1F&K@< z%Xx$f6^&4gidE7Z2|mYz=_o0hnNdZL!l>nk(*<)%R1tR-h9b}5iDSJ;1eL>*3WHc= z?~Ld+ZI_GFRu!0%Q=Gqc`$;zK&S4T~m7PQDg}F{LT-a)vMe?EsAS#?qgwT3c*#UMC zP+kOH4$?xgW{aJo;8X}+@Efr-ls_$LD|yUGl8ERJ-VcoAaHoWwM4;M3=&WaIs+qu> zw*8c;?o&6v)Pu!`S*_L1Y#=qVjGG5lnoDeR=^3`sVxYzqiejyk3~kq8OzIoeNk->d zs|Bh!)2FU%OD!s+3u=GVbx!9t5lH%hFwU*oXfH}Xzr!?CgwLHjVnUweV&OK0X0@#o ze&lFwPe{7Tzt*-*P7`?yusuPJ+)>(T5fve|f(6kgw`?gtG@Ql`Odpz_n^tdv#w)yh z5Iwo3rwdTc3rdd(TbYB)d%3RV&t6VltB{M_)ixr}g!t@K^+*fV5IT-jr;-hu zjfYRUtzn~>t9ymJ2IU_&VT!6r7rUy|dYj!2;}mjKmD650>B~4yi(fBM97k*1v;>o% zAsMwueukGivfF=TbL2^L1th>O{30I_w9W3Pk>{_+^G}Y4%~{Ob?jgtt=!2hUpHjcL zE!<#3Z^B>BhZMW_jUX%!%NPna^Y|_D ztvn#^W;Yj*TzS#6q4nM3^(;S9+{Fw8dd=t!x=JwL86F%P)GDTp+7QrP7$&(bRY5{h zW8w~DiHNYuOTv>M#GM?L=pz+~{2LuDPw+G-mGNA?;BKKcV{%J`RJ&G3kxMLx#Tvil z4td!Z(H=LF8J^CdOLN-s4Dh>b7{}YEPVCfbVK>ketkWzBFNPJ^a)s+9Tc-3iqeb@; zwop{DE==|1um%O9&mc~61~y{2N%2=}Z~*UV&Eo+i0j zu!}m;LoVSK+Y_6(RU{g(Heoi2cIB&3Ibv8#md;Ft)#rRcFez4StCIKvtXN>P!TbEu8UOdh7CSpk=FHz zXi28cDmsn)c^EqG2ciyWVJa+MPTLf zg)a^=uv>RjC9Kg1SG%2z{d;Zkg&Tacd8m`bxPgqah~5~dJ4Qn&5@xK7Mm==ExeU86Me%`Ta$ zlM6U=@R^RC2mf-P7Pf}B1~q=mf^R7LG0b=gAz&(DBgL9!TF9m# zt6fgmjHd@}nz1t$w3b@PN6lu0+7?qsGJ+9{B^g8X!hPaqO6KB>TWo~bSvS~BpW(n^ zRL*QsQr|oyM(*rzT1l`-jNlvOg=I!dm&rKTvJ^*Qm35_sq3k$Oqt_A|O0PB@B{Ebb zd@N&{w__XH&y+*wsdJ-Hywm+5(m|WJ(4+;OBVR_%b2f45LOg4$Mti zidnGd2e z#e^MCk7Q9u@F9!KQW8NW;}jW7^oM<+^g8qV#%^U~6!&DaRYlEAXk`4!iJPX{x|hOS zSfM-0mGnsFicl8apEAQ5zDYLWc7+) z<7NyUI0pMG>vzxyjqCiPKs@$#Yqn3C@HP(cX0>jaL)MsO$mG=(?QB_KH`vv2W`D+v z0~vi>x&<>6nt<{$l4cZ;%L=rN&=+2-T&(NHueFwskU??X9mOwqDrjy;e9$+YryyHJ z7w(!>g=E46u|sZUV+UnDcEU3SU`8o*^1!L5exkUrK3KT##Umvl*P46qWavf5K{(*d zB&kQDV1c8!2}A~0uuPFZY_2dHH|+yflOU8!#84>Sf56l!xLNvt?DEy+KMM_CRSM%O zdA6!k>)pBGXd2AJJPVq8w*7MAk}UH((#q6C5gJn%Y7vo|WB@j)nv6yGen`j<#ubGyzm^sOUJ|fSk?fci7sHI&V z3W#Qz8R`gfM#6`BG%Q^=ve`^KP(vOocB^wuTWhw79481TIeN+*c^+n{n&&2y9FhP` zj<{Hh3U==yS2cuxn|SOyO8A{1&faKGs8!}gDfs?yaaWt|iS5K95QZfqSV;-QIT5;B z#Xq)o<^i{AwVXq%!BO&n+YR-crR9*4BO>ckHc8y}RH_T)^fjl9FHRn^jM>NxYc%D} zwPm-umD4N7ciVimc&*6;KggOUe7dnl<6_`tPf6r?w&>*(Dut^Ky7xgkj+R<$T|5{T z`WhRn#CX|PPeDU=#Z5&458EV$`ycl*iyR7)x|>Y|>59lmvZJ)Rg(cJf&Ss6$I@q3% zEbKZW!d5fdlWZv-x3^rmn-;<}az87A+K)JpL!7?NSXveRB~>EozBrBxHJ^(; zlF`&*oasq!4>hqPFON+zdxRsgjuMgHVZW246c4v3xXbls;TLz6i|I-y)>s-RFe=to zzS{tt5ampQNx?s^)7f>bdti{?K9JJe@h*r!0PF5COEnMK;mR7vrbnFS)4}?E%w6&})&l_4A_3|uUIM&D=sDj@R zv%zt-)Z|KRJ9;a#wu_ZoejxqUd$Lh$tpYQMD*v{uX@r#E*l#C2mx^bO$XxOqMSd@p zo^q!J(a`QD+<^{|m85NS$yvYqu%kw2LEM)F#vN-K%(8ELUiIeHDdK3ry|SUeAHt17-K>gH<4U}k(Mc7IGxm~n(hw}w zf|o?4HTsScLNa?5scZf-Ev@X2Fu9xkD2KInj=|FwX*Mygk<<#VL9lEX4X;t)gZ zl`Cg=&CE{UaPT&XB^$DE?T@x!_&O@RQ5n82HW(Ju>m;?L+lAL{7aFcr+wd1@LzS*| zC@4u zR%)5ok+Rm~({`a{eL1rh3HFl5!la0Fc zUKV>O847-4Wl?}3kK9ckt1%^5?%Yy1g3UB|)i=0n;zPU|giwmR88roq zhuT&VSD*~5dO$#v%L|)6fgy^Y9PC`N5OxfZnV532VIC`sA-*CxFM%R|rdLuvA_aqm z?uhgfQ9k}+cxV&3n)iW$M||doloL5ANMPlaXe;=EG>TEQ*&H)-d<+HGllV;$EM%5D zcX^VNI83gFn7ZtFf&L7v@;H>lRM=Og{RREH6xPAA4v#6y8_@Gp1$kv2j<=LtoVg_K zn5?$2NEU7J6H;vLu=(p(0(JM3ro|3cRAkGPLLZXYpnl>+2G$r_cG4Om&g(H_0_y5F ztIV36Ij5jO`V>F8<+yLb8kh_w3Eo3tO-FOx4|)Nipedq-)pFzI`9VBn$%qKS!f4sz zhNoO>pEO~Ug?6TJ(LuEJcEBvQlyL;yB%#Ax7;G_^sL%brTEFwVrP}7IwG)4>7wnSp zM69#oB)YK_1Z{vNM8+PY1&aBYLknxZizY^dyS2}@5PfmEUD5b2RLRw~;bz8<*c~%z ziCbXeCIFpJ*}p?7v-p*P>E4)Qa|aF{!F#9`QGA44T3OIhKfEtA*NM!XIS;<#T}k!G zRyt--O=P6-6Qp*u*_YI}w4W0LcQ+KR;9~qD^lsqgy{y%Kre)Xt$qaMxVp{9|7Th$2 z4vUn8ed;w*>~&vlu7@W{=1usLcDG4^0}&C3I7K0xj8rSb(g_1LgxJ7H~2Rmq@> zRFo@Uz(8l_Ak9tNMP5<^mQ(TcLPlR3t2|)98I0@@*CX~cdlc5JPY*t-=Ip`=IY$}T z;AAkZfhFIg1{{#;M~04*cZg%((1$uj52Kh_0C5?1t%W^LsIxZ>f#~w4E`j0>Fm(tl4X$2e1y#V=ghFxt( zubX|Lv2k15=2>ttyDS%0wlaq4qOyVPCVC^gSl=%rmhY;f&Xv-z8118v@888fv8(T7 zq+CXTQF324uP<6c(z&XD8JBd)G0lbTI39xzY+cDz>d^^&t&KWo7X(lGI27Y98mc0?*)RG>&$fHX=3X5RCD*EO-t5r;EVAFY z1t%{!sN#TcR%@}t;Nq_K{O~}Q2R44|C{k|z7|?Kd{X~t(G>%tV4^K!(B*USkVbA)j zDh3S1W+>%)x*?~qsdQ(ArFB^n);AMuG%%ZE)^0Bmowbv@ivv?%xU1E!Fj{#ZtfU?F z-CuB=GrrHYW7INPM#V%&aSoEW=i%-$@gsk99^?*(Y?k|K4_ztzUTkRVgAzB(pbgB2 zgVKHF(m)3lA~bRy=o`0eX-r~A6bx8hYLSdrpxf5FV<~{rCst0GggOtLd9{zr$9Xt- z^4ZS1ct)=A@Pbbo`=JyL&mD+{l?Vj}yhD2h0aq}lv#HKA*USkSxU(o;Q)&C}wq^IL z2hmojgL$pD*}S?;9&tIm2hR^~(!{6o4lGyj+$*Lb85;^K4Q^nQKKY%Re!`yNu_rnm zFv)s^_r^W+T4agX)>LjXKObDW=<5od=Q~?^tl!kTWt3uNo?L79^mdQA7PaYcjLH!? zw`K3Jkuztrm3|V$GO`DC{)#ATi-=BWiw|u{(F!0dz#2WqnpdEnkxMKRQk+R`jTJ|Z zl|AYBgeM$X68kO-virx)D(@*eX(N*-O$9??2TNDsP8)M{xCy{sT5O>+#U`@#z87l~ z5Pqqngp=Q7gl>^8;TSZ71zkf4oqAD+x^;DlC4_}ajTLBPSDN?s0b+YArBe63yHatK z^07_+oc%gr1~EGr^~?#XF_g*^i?0l3i@ej_Z$i(3Y-HM~pH9PIN@~V4dt^`I5s@8& zi!CnE+b%RsR1UUyNSkST7^j4uY@c5^U`z*~H+9^t&aVnb;6w_+vgR5wlajTDQyg%+ zORvL(MA=0RBxB4EDWx4$O(SGuy_*7zm7%v$ry@PDtofIGw`IAc7P+U;C;nSgQTvli>IY&LlGi&^<98n|V+N zggpB9M+7gFLaE(NF+Aj>TAbOYZ*SAcaT5882in7?F^8-89Qvo}g+g=3YIA3HRJ8nI z@_WnTMO5r)RrxJns?r_)w;tL76B@uB3+=oDd(di=R2hTs5fWnJ@-k0t04a-mxEQxh zEt>ikxM8luS0X%49FO_vIRUw)9H&H%A5ORYi+N=&BO+9s&KB#STXx8+Nzzd$F{)5k z2x1LD0^ga$Co2k{!iF5?rukLl0>}Obw1av@?t0NT8thqwKOQG-XMp2vCdLvw8X=-o zv{IF9wKB&nnZepWPR@j;Z&sNzS~!CikuJ+fshm2A4L(%aOdiLBviq8|r9|0*lDVN_ zV~{>Sze(Z2kYEWv|i%8G0tYHu9mO7>gv7R?!A}0 zn$`7!{wle+X=AB$7A}PKQ(%^H-0VEJ_A`viBS(mLj5x>kpm2!ec&@KBbgmEy<>nxx7_%hw5cyGT4HhP54%qZ5~*C0Bn=(GWi<-IaxnYJ)mdPp3bI>0e;F&8Ei z4VHmu6Q;9(#@5}6k2z;~EwUAex8q=KUeiSM+yp|Gtc}fU250w0m9pCz${W;U6>&wY zdZWOl_|Tj{HlH~S@~qvUF<#6)K<%!6;oV2JMc;`|RkMmWz@}?ddg(<&1?+;@8Pgz^ zLV#(@-HwA8Rv*p&p39Q+IGRp^&vs+^`Dqddu5FAibK(RSLutpsXrQG_I6n@yPz_pv zNRf#=opvJSQClrlp)vwPtx?vQzRFQfMY4n%@mwm1tov~b=#{(i2?&K=hU^GG=2r)= zknUj$q=cO*aEOA!g~bC~#kip1ah(jf<%S;|@@B{CnsGy@CN$>n|?`-ssjWmCCDgLagyE$C+0 zoc+Srld@!x4R~p+nExPwXARG&=Yh15Q$0{!9&1kb%hJ_jrJ0g7I-U&7i?Z|%o$yCPI6^Eh zP)55V+RD>oEv9eMy+|bU!y)Y(Q_b@3G+A0)Q0BoaxCXt}ZV|C-m_>ho*Q}fxsWsfQ zdaIhUdoW4rL|&t9+o8@etRBBdmyg9a%t>I`b<&(*4y9||Tj{UOErl$}F?`MIQu<JGEnD`>-~ z72P@{1J27U+tP|<$>jKxO-Et-1Ee%LWmgSrdmKDN!@I2~mnI^s52JLN!R3>EKEd#h z+E6m+LEQL#cz(GZv<68Fk!!wr&X4)FLb{cXPSz=?(xO1!-W}h#?zncAIoFN6UJ|?P z23c>$#~0qnuiR5rK5g7cManaO>6|XB3xMVSrxWLgd?gw!B*Uu zosF=C7Q!q(|0a|wV~3IZwJt$v->KD%`EBeRH(Qw7TTce(Ys$+Se$jA^?@UM_wS-f= zmzh@>i#j@mnYGH?&CdM1Ig>s+O{CjZ^MRO|^U2uAh)YfI5@)l@y$R*X<;E^FE{?)2 zrp^&u@N5`k1>VxT%=Cbt-d4u2g@tYZK{QAY&M*derg2Hj!#>A-=~~T2gnUKM@+T=P zm#v)yX{m`)fLrXu&0fk|a30Nj15zu^m68ob6gM_cz%8pr?emUshRcbym()n^*x2J-{{Z&N)ABHjBgbzqEO2kNNsiyhyl;BvjJ@D~;8qO0pmG zT$`OaMnI8d4SE!#Hp`0Rk(V`oJ4;dKp9Ls%Yq&3=VP{7{&ng@a+6I+XXJ=1+iVCfc zIS`>)vrGzR9B>|Qj3@hJ#4aE3FtqtkgRGeR*Iqj%|0Pdg%AZw(N`|w$Huz~u-i8gd zq#JIC!MDB_-u38{qC!Rw6f&5vVKl~Qsk85ujA*n30&nsX$M{vT1_&LLQ}&)~NBfL9 zkrf=%-Z*CGENWy1%%NA>DwlOvY`%SfMq~Ny^8G%;sRU^|iEd(ZW=X8bQoluwHD& zTJeRL9CbESJS$_f(m6JRWA|Cdq=al5*v?DZU0B^S-es`VBi8`}i{$!Fh}5_=CxS)- zT#fU{o0j^Jo$VhC0=!7c0W`?Mma+%=#>QBE_h3X$HD1?G7E3U(b^3Yr-x;Pu(6!FdMTSs!2MLFU&P!uiwOE}U z&Vkj+_9q=j&$da=fnMR?JVREy(L@RIfZraN5yeDq+o7Kg06noWw**-+Mk^yhO! zPgcVqQn>W&9u8ag@`j7AMHws-Iwj&0+e|qT_fp!0NLwkRMN@{(mMSzC31Nt=V&NT6 z#t4I({U-L=gs@vJ2OaFP1tBRbiwu*Et}sas$jhcn@lN$#H?*8r^ELlm z4^|m{30m)23#f_*en2jjcs8G@R^p7XL?t(DF=HXQk^Xfbt0nT}q)RMY$`8_V@nN~1 z3HF?{XE*lvOQTg(aLo)3rmyU<>|$eHjG?xwDb2Y5(81wU@;Ry;i@2b3w8)S`Ooj!v zius36qhL&%9cldG83vU_+X;)F5Au<5loDx})!Wx_M8t`xv2uQ!8=zz9s2_!LaAvfp z0o756pR9Stj3I7rGTZD7#ugDmwdMbMCCo$kzvoPvh*$Ix990C8aAut(3wbELr|Ys* zv%OidlHSg%p|IcT-yg3`2VyHMQ#FJ%DqP*Gvw5fgeXepntF#>-MP@4(Y%3&7Sx>v2nLeDQi?T(h!T6Ba zT4WQ|>t(|(AS*yqUB?(Zz6I{$wc>GKLMaO6IF{pSzpu7;6^La+K*M|?Vbdb>x22U% z;znnlsYQZ@KBeuLE?XU456bE(2(@!9pRs>LQX-F`C^j4;adxm5!i2D(B^=`xmaGUW zPrJ~xajwWy(19d{%-$@N%icDAj77A!O%j;>}r5sIa3VIcBQ9IUOzEV!-^Tj11Fg zcMdp4F_v(iMkw^1{1{3oN3*?!lMiji54yE3)T4EA<7VWw*+RCz)s@Nn%$W`)U81(F zfH=0t&hshOv*2Zgw`3{#@@_7GAifzT54>7~qGZ>BcUkpWh}0B>jC<^Wsd!wKSz%ev zVi_&QzAEs0d`Ktl)N3uhgN~+3j;&(=tS_4YBR|v}%y$1kGDl$ArofewiqX)pDzeOEo9LRzX?x7XO8B-7Ya^><;t1* z^4fCLxkT<77tLTE6AWV1i#M$@5VD@2L2#~z@Htw#y2J6Zn^u*pS!bz8e*J9uW0ND>}6;@^)qhx&EbI6$>j|6=J~REen-dZibXd zKD+Z@WxEEJL~HWQ*!;onQBUbG6E&tCVFkws8JI1*sfv;ts)0?ha#*WRP3kA%WtoDu z!GMfUzxU0Pb&P3=v053uLJCN{9OvTU>|HFs8yL=Tt_r?}>grl~_pV*bW9}d<(m4mogQL#vHuXSrSp$BRwj7zq`A8yH2@M1-FT8rTlBM3TG%$@y( z`lLoaD0}0QVu;Zx|AeNa3-PpI3a16_$bu6{9XxiYBE$!S_Br7>n6ICIr2+XM$3iw;72v-ZP% z(dsGNP)TsaJt$$Z=}SJ5wVWyY%oa;eBWROEXx_Exjay}3@@CD)12Tgu88RpGtO;1p z7!BGOyJWSQi@4}e&lViC5Pv_Q$23IXm|~TcF_f(?*boAeY8P*ZwqzP)CCZJbAu$T0 zrBV5e5Ja{q2_XYgewdfbMEq5S+>oU@c_FRplAX415-`gfNeX)p%m<0_*n7C0y|LEz zlf3DKf&e;&9iRj}n?~j>w?5&?vHioS#jK6dPnS8l$iQZw5cA)b1-UYICMOzAQp(6d zHRUGL-)wWDI_AW}{a_XE@2M9eYGKx4dsqq@omf#sWjqOPJ<|f1SzfGQPDI<)b0k}d z1d#7yjUr`7`;<1W7V^n7c$%f)x5=i~@Pa164sBvZylWWolVK#8A;Nkhqzfx#EQ4DZ zL}K1}Qy1LkT{>q>dbiiwmF+#~R|HKYpXRZPxY@mJYX1)E7$EubpU@=9*LK^x=I64{e({TAB@~ z>Xr@=Qk+V6@0z^2wCl>!?km#Cy;Hj;FK1Kdu5E|d8djP^Wojb`o2{wzdTuCLV0FA6 zS8Y4JcHX~^FO1LY!P8GH>vTbsgX?&8g{uQj)Jk);%JNj2eV;-R*mn5f;pw~&ljFO# z?ROiyq@{m~1@la20J`tR12HYoR+q6aR)_)cwO!tQjlu!^ zS>CadUQ$jccV1(6$#GUoOan@}b zwz2zJW=fe?h3>EAuq+O@unC1qXqyuJzPibf|EtrR)y1xz!EyF8o4Yf!wEj=pwu;tn zk2INoWHNL@^CP@lsw`j-$8WY@-df4X?um$@v>J+efZY|a6uU~OBIVxSgiqO!q8r(l z-Fz{;%8p%M|KvLfWL+kY(CtJgrbz8s@~mvdqsID=TJsuILH_FhZSU-x<2a5qkNea9 z6tj>WAblJ_q$IDF_9%`bDVt%5WRTE$9a@J1ZzN&iZ7~EXTI>7l_j{hqs;=(o0S1)3 zzPs4H+Z8e0U6qxUm6h+=mgrKFhpMebnXx{GuYkbPV^#g+1n9XP9Ze@F1-Y*qBLCFE zd?9c7Di~dut0vq6>6XU6z4;nzZo3xVyVIo!m-p`IJyBkddRAGR=MCU)+q&fm;)gre zTu7-T?>Z>N#P2$PS~}!p3j!m z255c?a(OS5TpJ6$+qPfTCL7vAl%+q_%pa1d6vj^Q9 z2fE_R!qgriYX1$-51+OBw zfqd_*V$?$f>V>bnWv}%67?M`s*(MI8rS*cn28L$8>im=G9zSOwiA7pFtUmj3FjZtM z(9Ae?7GB#LLDd*Y*QF(}F{J;6sdTW)_5?eMggA@Xt?^vvip`9w8_=+gh0OxdX}G{B z&9S*vUW+xvc*XDtYmKajj`ngRrA&NB>j}y>{nb1o3I@{jd-LU{j4E4;PZ#I^&TqCe zYb8!q)P)8ga}Ih0j5W(3gr-|w#}MkOrZMDWx1XXEB@RyKPt#w5YXaQdlf4^wtPFyQ zQ3PV7fWxOAg~?9qM0?+LlIOM#N!sfrRlx;H^6# zr0|Y4hua_0PmPF;uqo0dDEb2jtybF^Su#~N?gO%}Be*VCmrhT+c?&ie zy^+&^CeXe+W4v1$;8ry4>I(hLJX&ma4Ag}@S#KPH+;)v;8FclSprWQCNYreqr^|LQm1jfePB+F>rqtQ``R>jhJ7=T5 zZ0cL(6~dZNr`^XcU_<#s>mh~E@HZ@yj?#j$9Oyrb)y<{FG+zg{Yc%(D24nD2(R?^) z%7HcOIgjzqRKEb%`uIFbdP=Z0!Ytq3s^1M(FDqf$+bEFI*ZErOVhAK4_+b{b1QjnpfBlFGeShNj~K7C^a+toN*p{m;nNL z6`6XN@EyAaj?VUXBSVMC!5}3`)dw?X z-xpj2Ds=&E5*u-OoSjNekl;v2|Kg&VxPv!C=n_y?o26c69Y7Yargat-lb z*D9U(t>G>D1nuZh0N;r&~W3b89T5jXEU1haL$DZ$ml+FjQ$^YVMf2m~OhtDsC}0D4(0`VHYRFq+s8P zycWqowy)ZAoNp3I(rNXXYJe4?Tt#{d!vUlhb`~cz@B^RmUBk)70hQmO6TK!xCy^aT zh~-F~;i^{YE?f8fwg`htY$v`nWEyhz=}){~?vT;>#2nsl{km1T5{T~MUrV6=_~VZ| zaZH>aRVu4Sx1x6LNpHjgn1+ZtqqFkq!nT0^T6wd7(~~rhgETjeL|nB5l3h&KaHSPE zGNz(WKmPb5=eg<+{oA}lF9zU&zE`hbpUp>LFSOAkDvdIrs`yDGhOKkz0T)&jWorKJZnF!%P|~Uh^HJ# zg$mtot3Qn`d*qqu2z;%L`uQ1*t%xqzW30a@C zy6q^C_n$lFW=n7RUq*-jb@}#HXazrk)+|6bf?#)+2*mZ2@{NbzFJDM*nPPnUJ2kov zjr=PwMtx1z`-|a_h9yq%hkonMUELp-uR*m7OZH2nQfB~mp{OS1-peehYv?Q51SRB* z*w@R~{8w#R$CgMH`5{eueZKg_1Y(gRuW8~ff=2@-zz4Q_%9(BaguaNIh)66+NSDcWP32D3@03Tf zgWDYm5M9|ttk=h<7qBT2^<+zLEg(u^lk|Sme~83eWD~*lvfgH7EOr;EZbmQ4YGO~t zhwTl`)frwhVy@2Ni=FB37PM3#aMV(4VsB+VOL>2BxdYcVpO+bl2I$QPdP1a1B z#`6{>U||#t1bdDO?qGrBh1c=*aK_jkIIZ^&D5n4V z)6KojxPUOeZCVH*ce7x=jtd|?IP!tu+pHy0qWH7s8*GNmNHA6OvQEQ`GJ_iOx@(poMs~Ir@YwYX?%DXc& zG|x%L9VSgzPr=xaLQ>czpVT+|qEQ8%g%&81G*p(hV?>lPJG!7(Ny>8zEKP4O;$6Qw zIuO{iB7`F#*%i6j^2~>)tcx6y+M&TRZm6kwnvrF=Ew~Eosw90@5q;h%IanIhc6Q`G zHfvI67@TnVQ zk*TIQ`5o%{DEu7n{vmq~QQZDSgjLCjT)QYXaJ8`DI7IfVIM=q3VT|pn5Dp>yyUw{7a+lLPxZ9jQ7TR$OiX}t@K zmveLJpcP7mlhFQ;|4_p*gXOy0nTje3YhtsI)rS!C&E}iio4c|$asO+iUf^7vqp{2} zRri-?bmwzPA#)|;NJJs^AUptwXiB;REHy&utS&=9x)J*=XtN=?L^H;guYlp=jQ&pK z8kyr9-s4guQ>P)M(cd_GLg17!L@;u2JK{-QqtRFv*R~tkpmyyw?*4<u%Oi0LMB5p;2uqCYanpiN$8@zh^^uBE`b2@x@u=Ci&C0R&NieB z&Q}vL_J1vfvV0vSZoT;%`4W_p;?*p~!)`8?v4#3%YnWOG}4S#z1|bIu)kn)6mUrdy5LRcy^%*$OwNQ+KeMN8$5>l78m7rTI}`V!lPFJRxl?)??i}A~YVJ z#??&09SI5Zi*rI;;ntbF7LeOG1%d`+g!e-sbiPABD20Pdw2Eq zSh;Q-ZXRrUav5k)KtaD^`d?4hyC2qD!K~fovZvjv!Niswk+B21z#a5Mcj0g*x>p_0YGR&$v0=GXkDa+< zM9AnSJ}rB6z{VQwVG7TVh|MKqZpyTP`M(4>gc$JX1cCL)xgI|F@Mau-(JfVpGJ8*+ zCtrR=Rw4y6-U>9I+`?Bs7sL2y^A1Nf<@``(^(`-BAfD(u9(yV?7(|gWPmFg8RU`8D z#{78m_WxXAfd3^wSAbNQHGyC`8#mXRL;7na@L8yF9tEL+2kxXoL%Mhx<8mF4!?}S_ z)*sBC1nQ8JG#Z)G>b!Vzz*MxZD-5k*5mr_>Mfs`bOXT7T)E!QO34b>E#SLRlu5;;R zH@6O6?@=>h{_5NA-OYWH%y!YE;n;#3_vK|<`Xv&*yiI{Hjn(Xhs|Uhcy7j_d{RO*| z+b4>&Jkor(fh%P1JM_{RSQz)BiD@M_dG|u}1c%L+QqekB@Bm<_<$$p^f(MGDL@6~B zCx(I)eqh4zXw0$HieVJdSP=i@w>L(H(bwXU%=SmsK@R+OIOHZ_9tPhDmDAF=%dDuT zsO4j%e9(@~Tsmn^xn!ovXA^S7^^gqlLgxM+Q-}QH0+*n`lh-(<^G{WY_(N=CtV)+# z5=?z1m$>nZ-#_{4;qn=zS!s&NWPS1(L=BN>MNHS(kssgt>LC+Pu2@hrnC^%ODWeO*ZZmUt(Hlj!Vxy4deqhPb? z?T`L)@XyV~k(;VrP415nwus773Q|wEdgw$PDi3Er{IJQ9e0?$B^bCLdTZ8Me zUQicC6;Ur6nO;!}%w8Oyv<9a<38>m6jWDfn7%y`H`Q_RDCy%%9J$n4`+1;U#^Ua5U z-qg{$_2{d6zk4|P*gmWVKrw;lFj)DC(=c#0ygmgqRh(PlaP3u3Kr>TYPO_lIHe*Jm z-a*fIGQ`OFp3ske?nu9_Vt+MX>TgWQc{)58KEbuZoaU2H6o#*B?$`Q9)^xZfi_KdS zha?U;XMz$ty4ta@s)<0dti2N z^mUL+fsT03F~sFP7{S0#rT-=a%*~P@q+i3XvhFyRbrI1x{Q1=~;0pzGdWiy29iP!$ zP#v--pYlJW8xGuF@pbl9gWc6vWBVFYL2^1$*rnf=kz9}Q6*`PS_ZH*f#T=AGM{cRpGLJ`8QZg7wt|v4ohey(!+1 zIQCr|pGYCaf|6BBmHXS!)Wr#P2&fIk=A175wAb#Z`FQy0Q#Gn()2R#o z3NQq|q{oY!0VH1x@iTc~$HiAfhV(4VPUj@2fYzVl!KUd*$s%Pw9;2Atpu}EOM0@48B4I-bQP52iZ&es*i! z5b}<4RO8=&`*Wp`RPk&_G2By!g%u9FO@Ju14IB$iqK_K&RxOc2zd5yLg!M{e0FH(8sXP?F~rcB<%ECHJMcL!?>wI9kP#d|ffrOysYc_>okLt{&CV z+})5Zop)oR2yyjwTQhfVXk0zZXOf6iVGRR>3=w#}sG99)j|e1DU|oRTY0sX!Er4_# z5ah8bT?EpbsYnsI#X5inh?e4adx%gj;B=YFYQS?|_+aum*SrigCGSXkZ+MfL4Cdio z?d13bM0JGQYNZLRxBPgtGHFv<>N3ne$WFply*}o;fzZ`5hXU1<`f>ep66M3~o@*W7 zO>zmTQ^{8iow{tJR%8UGURKE-<}MA7QH^8OCBVw97>QzK2|Ag=JN6D{w_hy`-3`0r zAPW2dak;6Q>i1`ds+w*Vk9OFE`!CLbsTk)S2Y&wD;n|cBeQ{j6K29@`yq$UZkr?qU z?o1S85sFik2_LME$6N8h)VF-_de#D#>Fw~LbgE#^GP*n6TM>pPy7Y_F+rg)vs}CR- zidY(1c8wc-1NoYCs?*6w4cgo`5Yo!msmn3JuU=yjyV25MJCFyL2arnWPfOL+Qz8JC z*W>J_ceYz?;sjOmKaRL<%H`}PY{+z!y^fXmg=LG(ue!ymOjxt>ZaVqe{v-X+frFY( zlkeM4rL9Z@&1E?KWP;6v1?oS_R`Y-U8Y_*_WwSacp<6*@8*rjkwyS(f5SXklNd=sr zau%mBZX!1JbuTo<=-`5)lH6DJD9YgJD=n)y-NP->tWKl76Io43-g;dI*OeLQ^QOnz z9;PFG;pNgM{$NMVYI|Tg?ha1USR+@OT=MExqVy+T{BK}Ix+6Ogq6;>X=MX>5{wZF5 zxyDO%AAL1m=-%Bz}dr9VpuXg@= za6}7cyK1~zU1#NBMIczs8^;>=$v=PCiZq&|8=}lpf7z=40yQ$;%=~>|W+?<5L6s#R z>9w@};PLZsA3XUAD|RX5pK3ka9Fe|+{GQu~sjZZXpW+q< zF&oejvpBcEnRXYa5Tp`0>gZ^@q>2b@Lxmum01BN9R>tV%wIoD=zBi- z+oYJup6B*v%97=BF^%ukyc}+uf+m{!fm%tNP{Sc=%X6LiQ@vxp3>$VhRgpt=wp6g1 zz_5$?yWP|8IYU9D-QPLL%w=X;Bnnj(jZMg4;kmfYiQ@(sq7Hb>J(}ruC9Z37gAlLV zEEYq}%f~m<)Idaeez_7>C%@GopZPy`J~QU@%i}D|9Jm_;RX6Gj8ox*<$O*%QGJtX= zD9Qjt?frJ|m?GZ^l{PZK31+%Y4NQ0MmGY2^*B@#uujyVp%hl=j@&`xr)-)WSqSazK zi8z#5-tl!@t2`pwOGc+14fO$t!*Pf_wqIvjvCa=Be>8WIl>#rgR^Qy(PVCEMA=`&6d9-}L}G8dm81#xfFpQb2q zfe2s!qD51j-2PQ@I*Y07S7Z&4!fFDe@#hV@H z?cb_7FwKM|6g(Aa#OA2JyA0;^POSk4NUjFq2#k?1`7Vt!AOebS|EU zM_x2z5y)in1`S>&ei6)ofOC*S#AC>A_dQ>a!<;ri`#(aP^g*G-20~3L?AXrg5*RgjUB+#|HGw;h9_bj$;l^mGyFhQ09k zo&P)gx6!F2duIaU?B6EM2CyA>pAvI;a6ZJo;NTcEh+l*X^*Tt4+T*5%(aB@edAGr6 zkHk4jlZL{D%UIOL#mTD!(t%#Ri)r*E$veDhovsic_)v<(>W7U{HV@SD*~BU@<_lBR zvFL;;DeEm3I3Zpk>Lw@sF=Jf$w`!WLuPR{Iqn6uOuygEx&^gtkJwRdA(h3m7Inw%8WZacTJ5ZIqX7d@lqm zgJwoz)0?$3+zhNjon<4!f!L8PZMbCafx9^jL2nKZ-u5j)jTOz(auCydOkPYu1BGMR zynPE)iFb=*{l^^z)23%n6tSN2KCyzZl(aAyvvC&m6G?oE5R=p@!d!nwHt4%Hll!ek zbvh-j6!P_%-x7gul_>%N+fZH66oO+g@WNz}qxi^goSPxRREj&Z0OSkA*j6}RKKsnC zj=*pQ8px;)*O`jqNd$(!QZrb}D6szeLvGof7kFwgPndiU=kp6rjn310e7IgTi-sP% z)b9=>9hYoYG4dkVO$cU8uf4oy^P_$KjWHASG{#Jhm}$p^t3<%pgq11eTYFFrst+AC zoiNj|?kXf~A^}=}NW*9m_`)!U;i}sEPBt*9$jmo+ci=KG+c0^wz6}$odK9}+cxyMT zbCYYIVJgP+0mufe`K2-vH`3bJOP`EJPxj?X5OVe=M2+E=_ywgD@9iC&A$4tv;@n|n zf@g>dJ8U8?NVQLj=T|S57cjjD8aRCI-dHkTvJUN^V!zb@JhG0oq>B?;FU(Doo`(=S zH;s6!mIoTP+T&%%CdguwkZS5(sN&$=tu52Zd=ptx$(tX2eCMA(-psvpV^4OoY4 zzk)*A3Cm~V78#`c`jp|kyurK7F1+L#*ii4Yej;boc?n3K`IIA+77gI=a-ToE|Mjy+ z+kc|>+4iIR5ARa0;f(xF-RkMk?>_CuQ-+CW=Lhk)$dt>i-*2`w~60XhM7dZrIHEjqJrfK z32aV%gPuq*h4(?kg@kfjz(oVORrCE*9bM7O{qz)g@LEH%!fDiPlW!*vhD|Z^2_CsK z)2(!+P_95ctE^&@POH|WUGIj<>5v6 z!&J7WL`Y-?yMK#_;*`N?IEw*^vtPb~|A`%RA3NXOKV6(jQ$FB=DAO}@zd23WhI-qj zu3R{&ZJ@d~itb!wi(J9xdiOA_u6``Wak4yX>A{yOS$9CrQ10wY`P9?^U>#7W)AJ_ZiDQKZNBRd@r#9=J(R1BnX%gR?S5WC#S`{lRhYCSia>eB|LWxE%)h(&i!#~ za&}0uMR@(|y_*AKqj<7IDC$Mn5tX*B|F&W+R(esN+CRDC>%?3ZrT|kFgYh&ETp&a! zaN6KOkY@a<*0k|WV1~mSv2!v%RE`?P3F43#8i;0ujab zFQ5S6t4(T4PhY5&Hy~nT4tSxYxdabHkSxvOwTGFb`{n4U7HrU!&FY58&@m{82u5re zYuG4r#^td?>o2|^@S5)CPlStaWnbd{Mk=3!HAr0IR%Vr*EQH)3rh%S#uFhoK!aAKy z7A7(8D;AX4SBY;<*%z%FOjopp@jUFAOfNeMtyQ&ZKPnM;2Cs<8moG zWXmxl^n!mR0DJTaDU_?&4s--^K022 zivy_>g1!~>DNBPzu&BdEzoVrnQRg5c?~XA{2UZFx5~_3xmmC0l>GiH_T~grkYu;}d zmXe}LE3Ez$$@ms-)xy<7(CpaqC3k%e^<(b&Wzgsd{Jrn^M%T9PhtGY$P^Os&XcB4_# zrbkp#JDSio?%*v9yJ%$9(It+@j);&3uI3mHl}CYE>O2~z149UJlr;|TaEgMqtanNf zBmRDS`zdnm>sR1YEFFO!4ww0g+-B&s@Mj_t=qV(zSE`cPFRasv1xih{@Q~nTAMQ~o z{k8f&SUAgT#j{7Go+j232S6LVj$fIuxvkt*mFvmZnEplsLF<(*0NO^{)QgI-1yGGT z=<9NON)N#3~u3lh5u4V7ZQ-u%~1-*!AMNPuwi8rl&1+%Po zghAbgUW(Za8^(z?uYmt%$0`Px>+DxH`HT-Yd0q?*z!_so+5waM2X`gG{c7?@YNjZ1 z>2B9_v6LW&2UoL>)?`u6msxJQ__T+S&Ez1 zC*wT0RM=C2l>q~&$JiShGzn;-r5t8qHV!-Q5mc=x7t=#ip4bP)rojdtGl=-c%A$|J z=FfxjWjwCLVkeSSS}SVEi895DC&WPwu9MHeJ(Sab6#lUyU7Flhkk_yv!Pvxt?YY4q zhJnkKk*v12_Wrw_tH3&KfBFux{_i7TJy(2DeT$V|s1Jw|u4y5~UpAaYp-TmN+u32= zf#U<)sbBI$i8p4VFLo}D(5+nM68wkNNn3`=0sS0m-8%-}^Ev#t+p}DlQLLO53S41qIRMzaw5}fi6-InP$GAbFWx1>|N zMkh=GvuB;s`}p6W;UvN2l^C9syCqw!pq0r{Wq$X*V`jR-$Vc1MN($ShZYzk9;YGkY z1d+`SpV~)Qv)F96COB5Sxz;J0Z3qLXU{Of1PAWSrHZ7bGFSsF3UW4DGQ{2PKXW{6? zk!dlE=4tC|TMW5uXNrna@QSf0@T|RK2XWo%tUksze;0yfE>bq69^2(sMuFolr=Lf# z6h0ucri8%d%QDd{*;HxcY2ERedi2%PC(pL;J>I@M`NDw3Hh@c!Zx`NfZ=IN=%}Vk- zX{*doG!rkwN4T=&OMpRHr`@F~ydX(5%XS=n!o*wXV(QAHvUhdgr9lHf0ldx|=Ae&# zSc^NRF;%6L5caqZ?Y5eaoiN0GE4tWLP54UDxDyrd72A99K)~Z_-3wNh$5J?mnn>jy4hVF??Yjyrk8Xu79{AF zuYsGCMMLrcwVgG|MaRn>pN@<`uqFY)7KT-ekWQrJ%b#CZSJr|h!P2x+^*Q$N+?ZO+w=h%mndkqy0HdbRMvKxWjhAe6(A@zXNx>T-h-D0o~jptqK~YWOKdZs7~(c?=ynz+_-i4m#=9Pu=h>K52H-SNGt1rQ=h|noHWa= z+GAf9LP-@L>>->G<|NCf(iU63BuPa_x;q((&tmd(z6j1ePL{|Z>U|aW3k%u%PIm@W zMTh|Rif%Hvf=mgB=?s1m#SJ7Wbl;!T%M=q$*{%417h-PPnyBrPpB7>7NSFSO7+i=; zppx-{sRq;*_)@aPggovRO<$t<$(X;E1Hz|Eowf0}_5J}zak=K$Kh{&L`vjb=;;Z*#ks7mzRPt`UDFuT<$q2g>42)ksB_#WN0X=iD-AZ>-Ki(fiq+KDN@eIiWGg zz{e?F``e70?k`y`BFsS10LH!QQs3YH^4o|1w*Bzg<9lCz`{2GujRz1C@sVEC{(j` z>L_71)hyG;lj((f41Hcp?wV$aE#Y~MENP61$PU5RQOS$;!c;JjO3RaV2A$lv&}Ggc z)krt3>8?*7^ShFRA%9(;#0Q1r1BVE`Zr|NZ({Z>09+F64Rr_MD)lAfv^D#V?@f1-n z%Qp>iC6eLW7VS(FKK5Yw4$T*}gZx9j z9HL#tj@Zr@^yZYnCd)PCh1Wpj8^<^khMyJQbL0NgueZM9);nk67jrH|(~>An$x?-H zJV0saU>tt8WGQR+M5(*?G1h?fMV!}BfK$g*}IsK~xJW+ddf<~y7!98ros;f%a zaWc4LeOQ)QajBY_mvP8(o0B-Lb2vX1^#dH*IO~Mp@NyziNj7vaLoH(3e?|LmApgYj z3Y8b9`9$S1WL%m3K#s%T1S1DPYJAa#_rl3ou4WR3^9yYXOjJRIJ>(b9sG>FtlMO7n zdIl#Oi9}J{c|$s>o34mhl@z_vI000{A3aceQC0JH$e;bJEQvL8YW?PsLYLxFD{+WL z&oY`dni}hbVZR9$@C{K+`~~pPwAfs$O!y(et;odpj0M{{5kb6-$YaHmhlr6;O_QTg zKWl@HQtg21x>Uo!(AR_rIfUx)uS`@d9THH) zF+63jU*JKdQctsqEqPa@``8}0$5sRQ*tO@^-B0SVyT&1|gI#0x=ByJ8m#LQ3lUF1F zVc{wk!t8ah2N&W*MsUemm9N>pQv{qHoEIRUlh5hbm3GqkoWzOn{$TyUTAMv3T!}!V zr|WERG_{XOn@&IFsK?QD3koYETt1v?-FB7T9b@J}l-{w_3I%L4N~Y1Gpq3j75YNA3 zYkS3*v^ItlkM5*aJF2MZbEs%bT`C*|bIGBnS(#9d`yn>)#AtMdWQw}_E@!aV1AMF_3nLiFL5E)_+?ne4&C zFCT6{)M`@V6`tGHwSW04hQ;31S0-MrR8y+rchbx>LqC~n~B_kkeb(HH1*&jhQ*Wr z(>JoRzd(9i#xo+EK}~b!r3U!7-p0-Oo0m6rTet&Fqn*|uyy8|M2=5F1)e+W8kk2`&k<%>V?NsRfT1@qE(s z_puE$TK%xHF;xnd0QC@ePusq1l|sAn4NJjas_wZSZ@?b7G02M3mGs9$>My=Uoav-9 zudmuiQmTR3kZ)wCVmK~fm11g&UXko0Te0l13Y3o^m|QgjM?`o;m4;*{DdjD}&H8T- zJHSy)e(Llya+p z7yMhf<7bur3R$u>m^B5aHEP**Jt_CSJP$B3=M%m|vpltkzg~xsH5ZojHa6BoM=b+M zilH?(sy4G=8B7vzeI_(?zbUJ&%lzw>H3}NYQa3kK5i-;JXnM}k4GlJ7p*G}+qDf9p z_mF91&qL7(I}l@l3yZK=L8(%p-L8U4I9^>u4l&?604utrJZjDdz@9`!w4lVK&Y(dn zD{N z8PL58yp`j_ufh)gFeWTkH*Nv_SmyG1PFtDTfy8{{h+%`)?RI3WR4@Fw6amz#GD;cU z!lO<=`%+s!=aMum04u|BkX3O`a2BEnd{q+EpZ#>KJmdqp`@dQ0{|78}yP<>sW?TQw zwzyLM9&8Jf;yJPf;VDOVCpCqz8qpju1>2Fh?f;MI#OlJ(swHwQ+$fS=s;JX3I2-sZ zV|UKK&ZdQ~5i`Z5fl0|BNn(i4(Jw9}=^P+>!!x=2xX=1=L1vTpx@L|?VKt~w$t+V{ zoEkJfU+~7l^gA6CP|(dfqmaI<>5xP+qENdIfqoB%d)_}*UeX23AS6;;IMPBo1ySuX z!d99dOPXL1~`DplxsGpb6k%};Uu>@lXUzkrqO{pf%l42v-F78PEYe|C5!|y3L zjL2CpB}tMI5hHVUm=)|?M3kf_#aXBOrP%5QJSz zU|venQ#s`73+G1k&wi^|tj{)o>zN-DLGjr)?H_-3(sFh&Q#}RgDr}P(r1%jkh>_Y)|@sB4cR7nEW@inUN%`8B7Zkk+Iu1M(qE&NUI@pL`b6)j9O-{czjB<;;IN zM#)MuP-*u-H&cSDL-r&}54&%gE?n8VBr?LiCBHKA)&nmrVfL8{GUrK z_OBK2yM>?qXuhRcITzDh7AEe!)A`m1_#$A2QzLAu0OAe_{aLY(U3~weXZ0x8m^BS0 zKYHFA=Zcv#Bu7YAQ#Ntj`Q3>c$m!1xGr``%Wm%$;#R$?+VAGbny3Hn^Y~JyCwZGQ< zAPQMCMI1No=-?s|lF0A%((4Y?1gd%z)(6Qrx@tYUXfQAO1A0`7@amrtf(Gv@Nks{V zlf*Fp*BD_fw;lw^ittGKC+K#|D>MFGPmRJlNY95C_DV$fHe){VmbTp9@y=hEA&*hm zSz**s;y?y**7nq4Rjij#2{Cdl1jBLDsZ>IL#)^b(eW7Jtux%YC)jG-sx^nWiOW9^% zBDe@D!!?B;FfNTf#k|_1ou{OHBi660OYrF66w&p9R&D2}e3Xoh|b*O zgWc63Fwar%F@k)eOfG9F1fmZeq3Au6<+gM-4&mM(KYsYf-iMOD{89TpFviPBk$1b6 z$pKq%c!FQJ%6*M$eicnrg~{SIr3{Mso^R^7o$RKOvC=VYkudQryj-lj2r%QJRfcAj z0C3Ke1ooXh+Zvm^fHJ<%Q+F+N5~EM3P29Q&$^|T=CMeG9;dEEhH>=)#C#gle`WN*| zQJ&=XpPoLPxcwnUVs*LD4frg=^qWO$Ifc{nG{OMOU0hTQAXapLrk3y;2Zu2hu4SFH z_Y?;vpGP#Rvzeq0FsFgRcf?!{Ba-dXYHuS}IP3XZ0s#X9er`IlQ}vdxpwbH>5nzt? z+@axT48riGJ2uzRbDceH&HwWshX0h|aYSqxOnM`Kt^ z4@MNCe7xEMl;`vR8i1@k5et+0Z6}cp@~_6#Yg>(=vYMI|SdCT!O`@FdOp!s{Vv%A2 z`wy?F2_wui1$hW-F^B~skIKoUq<3vo)dD4)xO!hY;6NN(br3A-by2)f zY|O)RVrdk=r+7GBE08TezPun#1GdGHHB%I;g5F@WX}EfID!oRfx2m??4(j;8yt+a) zXox{rQ9{Fi9cdboVjTBf>3Q1L9FY?$Vib8ko&NI8Oi%6C@n2Y^^he=apC2HS>RMLf zR{a*PFJ9xhL$e?X zggiDBz=~;YTKZR3be%|okGMb40sChwNq146V4$()CX9r70kMcjWsq7-xwKkdT!DF! zg{jGY+KrUM)A>YYI<(%SgU>d&i5dUmL{7eK-O0U#5;0JLVV7Csj zVXDN6S&USvoXL)2sgo!}HUnZ~z{sqOBdUiHh(5YVFn*S(hJE&Ufi~Wdo$9+E_{Swst>2f=Sj-;kve;=~^T|!hE+rl)+k= zW6-oc&1U1;N!{Su1V_VYdt+c|Rq-?!iGrq!ITtdJO(&Kbu8SDy>A=R)&>2Sr%mM2g|N$Ll>5G({88)OwzMmE%A zMKP35#OK9OB-_Lwv&RxJxab~BE)huOiQ!NZxu%befkuMwhkPqFn+ULmOJ@YVd=zt% zW1fC}3jsHR_(fj|mFiPh1UZSqWNIj(%MlkCzX4U}hZ390yej1vEXq=72gfQN)AAdp zjH-fsqE-kF$;FsU;Es8<-6GY{7Zp-`cli89OQ8NbnOfxFSB17J6vmd63H6AI4BRoy z9H=!QLF*-A0_>U+RGG!oKE0OHVDii0#$QJY)@U%8IQRg=I*vBok9`1B))CRg>ezT$ ze%QVmj0h8KcFUI=Y3927Bng`rx~6bzAXozw%t+-LCPMx1&H0Ag9}gJ!-k)d092oHF+-|q{EEN~Ys~ZQ2ag_S2%6{!zI3v$Qa^kzFy8_C_wPYh zd@HVA$g1d~DHy?19CCSMPF~W&)qX7k?oU*-;MRYUs~c_Jt8g(JV0!(N#cSecQe^gC zdHE}tX_^HKm2L59D4{(Cg^PtOa}OH%Luauol0)%5c&uGjNw5u28NLj@AF3V+YtDrA zovJre7THm(d;@`M=D^J}!np0c75JFR8RX7Z&!AOR`{fr3SA2@ETAcHA;qV5_gDU-~26u{A`$Y^H_6Ku9ZH(x;A2|tcpZWSx2=}Z^pgQ zihT_#(T{*pj#^z{tYyqzqLegZ{2b-p79AHCjCyi3D&438-Tdnr|<-q^y{dUQzbg0!S>A}!F1hL#}&xoRSB zRHp*6gR*yo7{y0v{7N(yOD9_*i#t96I4o!m{U?nqNlx9EC6UaV#3n?3JAjs4#tKK- zp{g{Apo&nCFva!uchbuSyhjFI>D+y`(`8bLi2RPOI;G6>u6QQ9g*O22BZw4fMWYXx zht4j6+F5o)B3}`p2v}hCik9Hq^Zm@9-_0+*Rol?B=-?koqW{IzsU^p`gc7P(OGN7+ zEFOSMB7G-C3W0@50X!iizVH1NKwdNu`rxNS)ZTED7R;bm>9N#g2e9m@y-nYQT+5C=*}XWvxU)fDb4eC zqSZI0B+DQT>}H|#xVf~^DMI8V?*YE4Wu-kS3z0M6?A1BJcn#iGUyefnB~P5ZF^75& znE7;p$~XCO{O~!muGGji4e!UH@q=j=&m9HBZ{!Oj-!Nap;2LGR9(8^T$sCtK7>i1q zN-Kjuul?1NwKZdKuJtv^tH;C<&+}&BDmIldi#5>OYLEn zQF$!mw)7psraLk_Swum3NBW@ZuL!fgL{y=z{OBu1H-NMNPx_oYufd+tB@)RHXF^-c zz=dL^PX;{s3nfd++NDAEA6_>2;MLpSnJ#E56@?pp*};a6PyxuLMHl+Mouc0NL#WLl zqN$^p6A=v9u_T$iLW?P8U;{V&1iC>dEAjp{UPrnqLQ*&}@ti-`1)=8FFL z&n$_`z?NCVVLC-QCGyI7epz6QV8U0YDtD{;RapY3UFuO~xLxn`x zMGPcjEQ*ve52B_KdGxN20rtw^En76``n|flq<<)Ty%e)|ax#fS5<45%5yPJ=R2kcl z+Ip4kcc++dB+G^6Q7i1tC5Zx>w^1VLM46_#BzRd7%#cF4n4zCgMPWrO*P# zHYy~%-k~~$YY>47)z|*@$6VFX_#_QqX-u**fb98tdcN~^y8BKgAe=yp`WKE<5N$Gl zr&GJQbko?F$!hfwA8qE>WCZ-bxt#(&oDjn0kPjkow+8ZRWU~cz#O1M=ACXolxl;R6 zu|342+RyCcJDeJNBPyXSXb+i|7_Rnr@IRUSOkmzPJH1&$mE;Ez;o7-&KDlwe$FuIL zn%szg>qi%u&<5VvpLYZJhx0i>mBsm9{)>xAMY!QZorfjZxRY9R^zFFetdvj6f4|0$ z$9aq(y-rguN1}rdqg(fft+I}Y$bl!%+A&y`i@chXZh#3lfJ`UW2oRV<#6DqY{BM(x zgGa=6)pEhn5drDoa7X5P;kPL4)x%%PNxKF()@FPxWufK2uu|blLy~Ico|r@iD}S7r zi6A)zm%zV*(9Q`TM0i&0!U5Y5&fLzC-4u>%mkq#V!ZJ4dQ3L;(3vL_FHPbj_;evs*r9*}Ohn z_voaLS5|!X< zHdfS66FUfLW8;{L6EucW#=%D7GB{k6gKdV9djM2amZxeb5+0RmsR3o=%ux%kv&=^+ zrxqwBC9`c1Kz9;PXd&y%;<2x#stmaD z#6JysYgt_@H@J$5(kdQ3p zXuy|x7_~L|nUh$0E9flmAMQ}^&BdPc(vXTt9^J9B1V67Kbx5DEeTP1tzf-7;dP5jZ z!S_4gNAYGUnkqCJq@#Mbgw1P_`9@Hd6taPbjLPAy)v{fu)y}H+`c60QYW|RFA>Yu(eGVM zQUOD$NKEi4-i*Eu32CnRaaU?hY%x6Tu11$9Q&XoFo)emzK|jtTi219 z1hqsom@=1K-`FEEc%cTosEcxyXF?pD$(65I<87iXFV0y*lC_6Rk_I(-911~4#kd-- zUIwi~*2d=AXk3(o@KoWCi7KFlJlcxW<1S`xlD!Bdi{g;}i=*ZsJ{^{G8kB|e z3aUY_br%u0VHW=5TWdM4<-0lgqo#5nOoBS$*GStg>RjCF3eTy~Qtd=!xM10!u0$Dz84FOTOWseblS3 zxmL{~9OoP=#U0{~Vt_exx}&Z`QsCl!MO*r{8cdEo*)j_051`U~%B_Z#9_OrwpWX3F zez7LB#x_c(8GnE6UK}v&quxq3J=sn4!;9v25C%ZnMXvJ}F+a9#Ww@0}C#wpoq$oi5 zx0}nyE_dgQx^Bev64>PqvN4ULCs`!1)1~E}hKgfT!tBL}Sep%c@HvX1xTRrsJs@J0 zydq3kvRO505xoFgQDd!*u)+*^ir;?d>(si2$ zrpk?;2G9cnsqe{T>q?LgO_Tt9P9|>ssGA{Zv|9~8ot&Oby%mMs_?!S+9Y*sm4)LtC z4E2G~J9z*^NC*U_vG2~=;lJWpmVDxnOo7{lA2Lr3578LhE4+{c^g=-5zAeW^$IF~T zmyl?{4GQ!nNfkm`W5le4g#`lMLt9{C5#5K!rncx66XzH-7ke(2BZ_rXcY#>6SKeY_)HK z0v>2G4aug5I$nv}LHw&&lFDFZ)@L%N`d}p(`T^5?80TafN~b(9HCE*3}&k5&N3IQ6!0EjY_8oe9=mSCb2qw2V_Ho2bf~9vPr3l6?zg=Z z$uM>wjQ=_zZo?a`4Z;jD-u1otHoQ;r3K<^=WDwtxag5TEk}FaIjyG9}i~p(}0Ys;8 zO76Kb+Mn8pEa#Z+&X8#t9m7uk?;?gYZ1?UZO~AXC^vR_Sz`Iu^j1ziP z`X621(zy9-r3S^_`JOj5V+L^h|=wlLH3SDT}n2ed}%cok;K zJwJInc*I$h;HaxWx%%x6nsMKKom)c4rH<|HO?WyEl-`LC9xU-FWPl`*&VrGinoz9p zpb-FfKt1wPhd$KW{;3dPMOu4+bE-)x`-wX?mf`!GQ7F~4u1EGIm~CDAgUuyh$f`VE zLFL*XESZAylE-zGB`kYegOjFrxhVD^YqwRur84_;&#^?dP`!f$!;$Kxajja6ba4)} zR??p&ACNW~Q4okM`3fIKNwu;cjg@TpjH=yPA3e3!cFX$1T=FW5&3Emjf1eILb%f%= zZBY^2v%ej__qvJO&k7F~3Ih}67bjD0m0U_UL|Ww?U7AvKRvOSI65J4VV8LA~W8~)6 zXCj|V5WDJo;K9un1f;YqB21RGFj;#bE1R0)y&1L}(rwYPoYrVMUvrh~t|)^E`vlgpG7NCM&4;_U#u9hu=YFF*DtFj^mM3ObF@?x(uyVX*VUnXt(D0AC14A(6l+(epQyh3{gpfMW% z$wfrW7;u}(oa_w5_6Q-`^8cH22>nOIM{(LzxQdP7i9C?FGY<)}kcBc<8Zk?y+(8*+ zxOh#J`BwjUxT*|9DlA7eT^c*I?p1A`y4BG$s}PDJBf=SZzR9pqUA!v@k2*aZ1ldMV zgS`ON({gUPOsz@|QU%X~l}-F!d-p++>J7aES$4a3m*HS2)>8LIH+m z#A@~+WbCtoSjwC0CbZG1JRT_&erEm#QedS=PScl10{NdbRL^*NU&9x^# zx~OUyLWqj+TsEozMBpW+d?vFk@I`5n@;RTHP197PQy6TF4N`PG31~!XUo*C z`+g<=0;E_TThUHjJaI1U#bmez9dL|USOk|M&%Bx1lq>W!GLX2C_08tJ>IdodVls~@ zXAW_%L%~Y#x1jewNTM5zZ#G*fS3=XeNpvgUUSB%@`wb`Xu2o=lEh>5@F4>!<`U!8^ z9oNWfOKkVg7OF_{?RZVdwP)3AtbZ-F7e5=fG8B#)2FkU3>-_Y4Ty|me{zG*NnF>P8o)<@KaN*ULSJIRuKgjov2_V@wyA+OBPbf_G3f|S> zs}s>96kfOX-u1@fOS6Ho(o}2D-=P4!J2nF&KGX(g_a9i>#xd<9Ft$!MI6LJg>Qs^{TUs?b zI(R|wm0Cv2y(!s1)c`_XmJ?Ne_-cksclTa*A*5KyrJK+46m?+!qd*8W9PfO8czki3 z1^MJOK-=AelGL6AmfLn(Wh10LfrB)zr~4c!UCSXp{L-O1G3$zfWc07sAKQ!uRy5F5 z%RJxJugSr#J*pcN9%_Hc+C&_OCu+J_4nlgBb%{5ilL?9bPet=%}D@!1iiMImW(|oiwDvap&x$$lF$c7NnC_P-435;-bP(mb#6Hq15yI~>t6{8L zO=!vRV^ZJ`apd|eyxAdnNUo!hDs;n^Vu5S<`dH<#@~lUb2(0t1r1nk{f|H`hwFA$~ z*J3N3$u2=CL$)u)HO>ZGJ6V8Gax(+?q*j%pGVpxg?K~=@V*x!sN zG4dzLja&Pgk$ks|$j?Ll*_C4O^tu-fr=7^ucWeGJaPXt;?GC=wofq4-LAexyF{ZCi zxmP4~M!=`QoyDd^c%DFa(}7;#PKaL|TUrJkQaMc*rCK{w3!F{$s#|~oj!OroecAlk zFIp=lAeR6~%!6VUmwprnS=X7O&wN=%7{Qz%LR;60HSUbOXk(!g~ay>Uc}>Au&VDEWRC?Ig1|^w@>B{XP^>z_O@tw_3mel7 z*^FRB&aHyU08|w73Z96)s)-GGbx2&u`Q9s6+cyWSaU*L@?tyKPs2#)NcK+gG9+kXV zgq#4X!p?sbfahamYq{5iCCB;0=!4vi#ZFg^Ttr}#C&ZcbwIEZ*&9#?Dr-YOdgKFWX z%5P3i)WX1nu8bV`{$N~?sEb*}_PA2DJ7u5(%H~>{^?Yw~vf{NyohZ6%#7Lg6iIYVZ zYhfuj=5Lg^+QgG-^K?pq?~\n" -"Language-Team: \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:138 -msgid "" -"\n" -"\t\t\t# Approve CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate approve csr-sqgzp\n" -"\t\t" -msgstr "" -"\n" -"\t\t\t# Approve CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate approve csr-sqgzp\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:182 -msgid "" -"\n" -"\t\t\t# Deny CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate deny csr-sqgzp\n" -"\t\t" -msgstr "" -"\n" -"\t\t\t# Deny CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate deny csr-sqgzp\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:43 -msgid "" -"\n" -"\t\t\tModify kubeconfig files using subcommands like \"kubectl config set " -"current-context my-context\"\n" -"\n" -"\t\t\tThe loading order follows these rules:\n" -"\n" -"\t\t\t1. If the --" -msgstr "" -"\n" -"\t\t\tModify kubeconfig files using subcommands like \"kubectl config set " -"current-context my-context\"\n" -"\n" -"\t\t\tThe loading order follows these rules:\n" -"\n" -"\t\t\t1. If the --" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:44 -msgid "" -"\n" -"\t\t # Create a cluster role binding for user1, user2, and group1 using the " -"cluster-admin cluster role\n" -"\t\t kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-" -"admin --user=user1 --user=user2 --group=group1" -msgstr "" -"\n" -"\t\t # Create a cluster role binding for user1, user2, and group1 using the " -"cluster-admin cluster role\n" -"\t\t kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-" -"admin --user=user1 --user=user2 --group=group1" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:58 -msgid "" -"\n" -"\t\t # Create a new config map named my-config based on folder bar\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config with specified keys instead " -"of file basenames on disk\n" -"\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/file1." -"txt --from-file=key2=/path/to/bar/file2.txt\n" -"\n" -"\t\t # Create a new config map named my-config with key1=config1 and " -"key2=config2\n" -"\t\t kubectl create configmap my-config --from-literal=key1=config1 --from-" -"literal=key2=config2\n" -"\n" -"\t\t # Create a new config map named my-config from the key=value pairs in " -"the file\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config from an env file\n" -"\t\t kubectl create configmap my-config --from-env-file=path/to/bar.env" -msgstr "" -"\n" -"\t\t # Create a new config map named my-config based on folder bar\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config with specified keys instead " -"of file basenames on disk\n" -"\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/file1." -"txt --from-file=key2=/path/to/bar/file2.txt\n" -"\n" -"\t\t # Create a new config map named my-config with key1=config1 and " -"key2=config2\n" -"\t\t kubectl create configmap my-config --from-literal=key1=config1 --from-" -"literal=key2=config2\n" -"\n" -"\t\t # Create a new config map named my-config from the key=value pairs in " -"the file\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config from an env file\n" -"\t\t kubectl create configmap my-config --from-env-file=path/to/bar.env" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:43 -msgid "" -"\n" -"\t\t # Create a role binding for user1, user2, and group1 using the admin " -"cluster role\n" -"\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -"user=user2 --group=group1" -msgstr "" -"\n" -"\t\t # Create a role binding for user1, user2, and group1 using the admin " -"cluster role\n" -"\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -"user=user2 --group=group1" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:56 -msgid "" -"\n" -"\t\t # If you don't already have a .dockercfg file, you can create a " -"dockercfg secret directly by using:\n" -"\t\t kubectl create secret docker-registry my-secret --docker-" -"server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -"password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL\n" -"\n" -"\t\t # Create a new secret named my-secret from ~/.docker/config.json\n" -"\t\t kubectl create secret docker-registry my-secret --from-file=." -"dockerconfigjson=path/to/.docker/config.json" -msgstr "" -"\n" -"\t\t # If you don't already have a .dockercfg file, you can create a " -"dockercfg secret directly by using:\n" -"\t\t kubectl create secret docker-registry my-secret --docker-" -"server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -"password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL\n" -"\n" -"\t\t # Create a new secret named my-secret from ~/.docker/config.json\n" -"\t\t kubectl create secret docker-registry my-secret --from-file=." -"dockerconfigjson=path/to/.docker/config.json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:45 -msgid "" -"\n" -"\t\t# !!!Important Note!!!\n" -"\t\t# Requires that the 'tar' binary is present in your container\n" -"\t\t# image. If 'tar' is not present, 'kubectl cp' will fail.\n" -"\t\t#\n" -"\t\t# For advanced use cases, such as symlinks, wildcard expansion or\n" -"\t\t# file mode preservation, consider using 'kubectl exec'.\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\ttar cf - /tmp/foo | kubectl exec -i -n -- " -"tar xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl exec -n -- tar cf - /tmp/foo | tar " -"xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in " -"the default namespace\n" -"\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific " -"container\n" -"\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl cp /:/tmp/foo /tmp/bar" -msgstr "" -"\n" -"\t\t# !!!Important Note!!!\n" -"\t\t# Requires that the 'tar' binary is present in your container\n" -"\t\t# image. If 'tar' is not present, 'kubectl cp' will fail.\n" -"\t\t#\n" -"\t\t# For advanced use cases, such as symlinks, wildcard expansion or\n" -"\t\t# file mode preservation, consider using 'kubectl exec'.\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\ttar cf - /tmp/foo | kubectl exec -i -n -- " -"tar xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl exec -n -- tar cf - /tmp/foo | tar " -"xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in " -"the default namespace\n" -"\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific " -"container\n" -"\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl cp /:/tmp/foo /tmp/bar" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:119 -msgid "" -"\n" -"\t\t# Apply the configuration in pod.json to a pod\n" -"\t\tkubectl apply -f ./pod.json\n" -"\n" -"\t\t# Apply resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl apply -k dir/\n" -"\n" -"\t\t# Apply the JSON passed into stdin to a pod\n" -"\t\tcat pod.json | kubectl apply -f -\n" -"\n" -"\t\t# Note: --prune is still in Alpha\n" -"\t\t# Apply the configuration in manifest.yaml that matches label app=nginx " -"and delete all other resources that are not in the file and match label " -"app=nginx\n" -"\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -"\n" -"\t\t# Apply the configuration in manifest.yaml and delete all the other " -"config maps that are not in the file\n" -"\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" -"ConfigMap" -msgstr "" -"\n" -"\t\t# Apply the configuration in pod.json to a pod\n" -"\t\tkubectl apply -f ./pod.json\n" -"\n" -"\t\t# Apply resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl apply -k dir/\n" -"\n" -"\t\t# Apply the JSON passed into stdin to a pod\n" -"\t\tcat pod.json | kubectl apply -f -\n" -"\n" -"\t\t# Note: --prune is still in Alpha\n" -"\t\t# Apply the configuration in manifest.yaml that matches label app=nginx " -"and delete all other resources that are not in the file and match label " -"app=nginx\n" -"\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -"\n" -"\t\t# Apply the configuration in manifest.yaml and delete all the other " -"config maps that are not in the file\n" -"\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" -"ConfigMap" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:48 -#, c-format -msgid "" -"\n" -"\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 and " -"10, no target CPU utilization specified so a default autoscaling policy will " -"be used\n" -"\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -"\n" -"\t\t# Auto scale a replication controller \"foo\", with the number of pods " -"between 1 and 5, target CPU utilization at 80%\n" -"\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -msgstr "" -"\n" -"\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 and " -"10, no target CPU utilization specified so a default autoscaling policy will " -"be used\n" -"\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -"\n" -"\t\t# Auto scale a replication controller \"foo\", with the number of pods " -"between 1 and 5, target CPU utilization at 80%\n" -"\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" - -#: pkg/kubectl/cmd/convert/convert.go:51 -msgid "" -"\n" -"\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -"\t\tkubectl convert -f pod.yaml\n" -"\n" -"\t\t# Convert the live state of the resource specified by 'pod.yaml' to the " -"latest version\n" -"\t\t# and print to stdout in JSON format.\n" -"\t\tkubectl convert -f pod.yaml --local -o json\n" -"\n" -"\t\t# Convert all files under current directory to latest version and create " -"them all.\n" -"\t\tkubectl convert -f . | kubectl create -f -" -msgstr "" -"\n" -"\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -"\t\tkubectl convert -f pod.yaml\n" -"\n" -"\t\t# Convert the live state of the resource specified by 'pod.yaml' to the " -"latest version\n" -"\t\t# and print to stdout in JSON format.\n" -"\t\tkubectl convert -f pod.yaml --local -o json\n" -"\n" -"\t\t# Convert all files under current directory to latest version and create " -"them all.\n" -"\t\tkubectl convert -f . | kubectl create -f -" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:41 -msgid "" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" that allows user to perform " -"\"get\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -"resource=pods\n" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" with ResourceName " -"specified\n" -"\t\tkubectl create clusterrole pod-reader --verb=get --resource=pods --" -"resource-name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with API Group specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=rs." -"extensions\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with SubResource specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=pods," -"pods/status\n" -"\n" -"\t\t# Create a cluster role name \"foo\" with NonResourceURL specified\n" -"\t\tkubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/" -"*\n" -"\n" -"\t\t# Create a cluster role name \"monitoring\" with AggregationRule " -"specified\n" -"\t\tkubectl create clusterrole monitoring --aggregation-rule=\"rbac.example." -"com/aggregate-to-monitoring=true\"" -msgstr "" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" that allows user to perform " -"\"get\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -"resource=pods\n" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" with ResourceName " -"specified\n" -"\t\tkubectl create clusterrole pod-reader --verb=get --resource=pods --" -"resource-name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with API Group specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=rs." -"extensions\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with SubResource specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=pods," -"pods/status\n" -"\n" -"\t\t# Create a cluster role name \"foo\" with NonResourceURL specified\n" -"\t\tkubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/" -"*\n" -"\n" -"\t\t# Create a cluster role name \"monitoring\" with AggregationRule " -"specified\n" -"\t\tkubectl create clusterrole monitoring --aggregation-rule=\"rbac.example." -"com/aggregate-to-monitoring=true\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:43 -msgid "" -"\n" -"\t\t# Create a job\n" -"\t\tkubectl create job my-job --image=busybox\n" -"\n" -"\t\t# Create a job with a command\n" -"\t\tkubectl create job my-job --image=busybox -- date\n" -"\n" -"\t\t# Create a job from a cron job named \"a-cronjob\"\n" -"\t\tkubectl create job test-job --from=cronjob/a-cronjob" -msgstr "" -"\n" -"\t\t# Create a job\n" -"\t\tkubectl create job my-job --image=busybox\n" -"\n" -"\t\t# Create a job with a command\n" -"\t\tkubectl create job my-job --image=busybox -- date\n" -"\n" -"\t\t# Create a job from a cron job named \"a-cronjob\"\n" -"\t\tkubectl create job test-job --from=cronjob/a-cronjob" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:44 -msgid "" -"\n" -"\t\t# Create a new resource quota named my-quota\n" -"\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," -"replicationcontrollers=2,resourcequotas=1,secrets=5," -"persistentvolumeclaims=10\n" -"\n" -"\t\t# Create a new resource quota named best-effort\n" -"\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -msgstr "" -"\n" -"\t\t# Create a new resource quota named my-quota\n" -"\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," -"replicationcontrollers=2,resourcequotas=1,secrets=5," -"persistentvolumeclaims=10\n" -"\n" -"\t\t# Create a new resource quota named best-effort\n" -"\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:44 -#, c-format -msgid "" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=rails label\n" -"\t\t# and require at least one of them being available at any point in time\n" -"\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -"available=1\n" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=nginx label\n" -"\t\t# and require at least half of the pods selected to be available at any " -"point in time\n" -"\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -msgstr "" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=rails label\n" -"\t\t# and require at least one of them being available at any point in time\n" -"\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -"available=1\n" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=nginx label\n" -"\t\t# and require at least half of the pods selected to be available at any " -"point in time\n" -"\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:76 -msgid "" -"\n" -"\t\t# Create a pod using the data in pod.json\n" -"\t\tkubectl create -f ./pod.json\n" -"\n" -"\t\t# Create a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl create -f -\n" -"\n" -"\t\t# Edit the data in docker-registry.yaml in JSON then create the resource " -"using the edited data\n" -"\t\tkubectl create -f docker-registry.yaml --edit -o json" -msgstr "" -"\n" -"\t\t# Create a pod using the data in pod.json\n" -"\t\tkubectl create -f ./pod.json\n" -"\n" -"\t\t# Create a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl create -f -\n" -"\n" -"\t\t# Edit the data in docker-registry.yaml in JSON then create the resource " -"using the edited data\n" -"\t\tkubectl create -f docker-registry.yaml --edit -o json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:43 -msgid "" -"\n" -"\t\t# Create a priority class named high-priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\"\n" -"\n" -"\t\t# Create a priority class named default-priority that is considered as " -"the global default priority\n" -"\t\tkubectl create priorityclass default-priority --value=1000 --global-" -"default=true --description=\"default priority\"\n" -"\n" -"\t\t# Create a priority class named high-priority that cannot preempt pods " -"with lower priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\" --preemption-policy=\"Never\"" -msgstr "" -"\n" -"\t\t# Create a priority class named high-priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\"\n" -"\n" -"\t\t# Create a priority class named default-priority that is considered as " -"the global default priority\n" -"\t\tkubectl create priorityclass default-priority --value=1000 --global-" -"default=true --description=\"default priority\"\n" -"\n" -"\t\t# Create a priority class named high-priority that cannot preempt pods " -"with lower priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\" --preemption-policy=\"Never\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:46 -msgid "" -"\n" -"\t\t# Create a role named \"pod-reader\" that allows user to perform \"get" -"\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -"resource=pods\n" -"\n" -"\t\t# Create a role named \"pod-reader\" with ResourceName specified\n" -"\t\tkubectl create role pod-reader --verb=get --resource=pods --resource-" -"name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a role named \"foo\" with API Group specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=rs.extensions\n" -"\n" -"\t\t# Create a role named \"foo\" with SubResource specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=pods,pods/status" -msgstr "" -"\n" -"\t\t# Create a role named \"pod-reader\" that allows user to perform \"get" -"\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -"resource=pods\n" -"\n" -"\t\t# Create a role named \"pod-reader\" with ResourceName specified\n" -"\t\tkubectl create role pod-reader --verb=get --resource=pods --resource-" -"name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a role named \"foo\" with API Group specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=rs.extensions\n" -"\n" -"\t\t# Create a role named \"foo\" with SubResource specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=pods,pods/status" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:61 -msgid "" -"\n" -"\t\t# Create a service for a replicated nginx, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a replication controller identified by type and " -"name specified in \"nginx-controller.yaml\", which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -"the name \"frontend\"\n" -"\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -"\n" -"\t\t# Create a second service based on the above service, exposing the " -"container port 8443 as port 443 with the name \"nginx-https\"\n" -"\t\tkubectl expose service nginx --port=443 --target-port=8443 --name=nginx-" -"https\n" -"\n" -"\t\t# Create a service for a replicated streaming application on port 4100 " -"balancing UDP traffic and named 'video-stream'.\n" -"\t\tkubectl expose rc streamer --port=4100 --protocol=UDP --name=video-" -"stream\n" -"\n" -"\t\t# Create a service for a replicated nginx using replica set, which " -"serves on port 80 and connects to the containers on port 8000\n" -"\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for an nginx deployment, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -msgstr "" -"\n" -"\t\t# Create a service for a replicated nginx, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a replication controller identified by type and " -"name specified in \"nginx-controller.yaml\", which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -"the name \"frontend\"\n" -"\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -"\n" -"\t\t# Create a second service based on the above service, exposing the " -"container port 8443 as port 443 with the name \"nginx-https\"\n" -"\t\tkubectl expose service nginx --port=443 --target-port=8443 --name=nginx-" -"https\n" -"\n" -"\t\t# Create a service for a replicated streaming application on port 4100 " -"balancing UDP traffic and named 'video-stream'.\n" -"\t\tkubectl expose rc streamer --port=4100 --protocol=UDP --name=video-" -"stream\n" -"\n" -"\t\t# Create a service for a replicated nginx using replica set, which " -"serves on port 80 and connects to the containers on port 8000\n" -"\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for an nginx deployment, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose deployment nginx --port=80 --target-port=8000" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:64 -msgid "" -"\n" -"\t\t# Create a single ingress called 'simple' that directs requests to foo." -"com/bar to svc\n" -"\t\t# svc1:8080 with a tls secret \"my-cert\"\n" -"\t\tkubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert" -"\"\n" -"\n" -"\t\t# Create a catch all ingress of \"/path\" pointing to service svc:port " -"and Ingress Class as \"otheringress\"\n" -"\t\tkubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:" -"port\"\n" -"\n" -"\t\t# Create an ingress with two annotations: ingress.annotation1 and " -"ingress.annotations2\n" -"\t\tkubectl create ingress annotated --class=default --rule=\"foo.com/" -"bar=svc:port\" \\n\t\t\t--annotation ingress.annotation1=foo \\n\t\t\t--" -"annotation ingress.annotation2=bla\n" -"\n" -"\t\t# Create an ingress with the same host and multiple paths\n" -"\t\tkubectl create ingress multipath --class=default \\n\t\t\t--rule=\"foo." -"com/=svc:port\" \\n\t\t\t--rule=\"foo.com/admin/=svcadmin:portadmin\"\n" -"\n" -"\t\t# Create an ingress with multiple hosts and the pathType as Prefix\n" -"\t\tkubectl create ingress ingress1 --class=default \\n\t\t\t--rule=\"foo." -"com/path*=svc:8080\" \\n\t\t\t--rule=\"bar.com/admin*=svc2:http\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using the default ingress " -"certificate and different path types\n" -"\t\tkubectl create ingress ingtls --class=default \\n\t\t --rule=\"foo.com/" -"=svc:https,tls\" \\n\t\t --rule=\"foo.com/path/subpath*=othersvc:8080\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using a specific secret and " -"pathType as Prefix\n" -"\t\tkubectl create ingress ingsecret --class=default \\n\t\t --rule=\"foo." -"com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t# Create an ingress with a default backend\n" -"\t\tkubectl create ingress ingdefault --class=default \\n\t\t --default-" -"backend=defaultsvc:http \\n\t\t --rule=\"foo.com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Create a single ingress called 'simple' that directs requests to foo." -"com/bar to svc\n" -"\t\t# svc1:8080 with a tls secret \"my-cert\"\n" -"\t\tkubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert" -"\"\n" -"\n" -"\t\t# Create a catch all ingress of \"/path\" pointing to service svc:port " -"and Ingress Class as \"otheringress\"\n" -"\t\tkubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:" -"port\"\n" -"\n" -"\t\t# Create an ingress with two annotations: ingress.annotation1 and " -"ingress.annotations2\n" -"\t\tkubectl create ingress annotated --class=default --rule=\"foo.com/" -"bar=svc:port\" \\n\t\t\t--annotation ingress.annotation1=foo \\n\t\t\t--" -"annotation ingress.annotation2=bla\n" -"\n" -"\t\t# Create an ingress with the same host and multiple paths\n" -"\t\tkubectl create ingress multipath --class=default \\n\t\t\t--rule=\"foo." -"com/=svc:port\" \\n\t\t\t--rule=\"foo.com/admin/=svcadmin:portadmin\"\n" -"\n" -"\t\t# Create an ingress with multiple hosts and the pathType as Prefix\n" -"\t\tkubectl create ingress ingress1 --class=default \\n\t\t\t--rule=\"foo." -"com/path*=svc:8080\" \\n\t\t\t--rule=\"bar.com/admin*=svc2:http\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using the default ingress " -"certificate and different path types\n" -"\t\tkubectl create ingress ingtls --class=default \\n\t\t --rule=\"foo.com/" -"=svc:https,tls\" \\n\t\t --rule=\"foo.com/path/subpath*=othersvc:8080\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using a specific secret and " -"pathType as Prefix\n" -"\t\tkubectl create ingress ingsecret --class=default \\n\t\t --rule=\"foo." -"com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t# Create an ingress with a default backend\n" -"\t\tkubectl create ingress ingdefault --class=default \\n\t\t --default-" -"backend=defaultsvc:http \\n\t\t --rule=\"foo.com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:74 -msgid "" -"\n" -"\t\t# Create an interactive debugging session in pod mypod and immediately " -"attach to it.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug mypod -it --image=busybox\n" -"\n" -"\t\t# Create a debug container named debugger using a custom automated " -"debugging image.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug --image=myproj/debug-tools -c debugger mypod\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and attach to it\n" -"\t\tkubectl debug mypod -it --image=busybox --copy-to=my-debugger\n" -"\n" -"\t\t# Create a copy of mypod changing the command of mycontainer\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- " -"sh\n" -"\n" -"\t\t# Create a copy of mypod changing all container images to busybox\n" -"\t\tkubectl debug mypod --copy-to=my-debugger --set-image=*=busybox\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and changing container " -"images\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --image=debian --set-" -"image=app=app:debug,sidecar=sidecar:debug\n" -"\n" -"\t\t# Create an interactive debugging session on a node and immediately " -"attach to it.\n" -"\t\t# The container will run in the host namespaces and the host's " -"filesystem will be mounted at /host\n" -"\t\tkubectl debug node/mynode -it --image=busybox\n" -msgstr "" -"\n" -"\t\t# Create an interactive debugging session in pod mypod and immediately " -"attach to it.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug mypod -it --image=busybox\n" -"\n" -"\t\t# Create a debug container named debugger using a custom automated " -"debugging image.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug --image=myproj/debug-tools -c debugger mypod\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and attach to it\n" -"\t\tkubectl debug mypod -it --image=busybox --copy-to=my-debugger\n" -"\n" -"\t\t# Create a copy of mypod changing the command of mycontainer\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- " -"sh\n" -"\n" -"\t\t# Create a copy of mypod changing all container images to busybox\n" -"\t\tkubectl debug mypod --copy-to=my-debugger --set-image=*=busybox\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and changing container " -"images\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --image=debian --set-" -"image=app=app:debug,sidecar=sidecar:debug\n" -"\n" -"\t\t# Create an interactive debugging session on a node and immediately " -"attach to it.\n" -"\t\t# The container will run in the host namespaces and the host's " -"filesystem will be mounted at /host\n" -"\t\tkubectl debug node/mynode -it --image=busybox\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:74 -msgid "" -"\n" -"\t\t# Delete a pod using the type and name specified in pod.json\n" -"\t\tkubectl delete -f ./pod.json\n" -"\n" -"\t\t# Delete resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl delete -k dir\n" -"\n" -"\t\t# Delete a pod based on the type and name in the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl delete -f -\n" -"\n" -"\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -"\t\tkubectl delete pod,service baz foo\n" -"\n" -"\t\t# Delete pods and services with label name=myLabel\n" -"\t\tkubectl delete pods,services -l name=myLabel\n" -"\n" -"\t\t# Delete a pod with minimal delay\n" -"\t\tkubectl delete pod foo --now\n" -"\n" -"\t\t# Force delete a pod on a dead node\n" -"\t\tkubectl delete pod foo --force\n" -"\n" -"\t\t# Delete all pods\n" -"\t\tkubectl delete pods --all" -msgstr "" -"\n" -"\t\t# Delete a pod using the type and name specified in pod.json\n" -"\t\tkubectl delete -f ./pod.json\n" -"\n" -"\t\t# Delete resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl delete -k dir\n" -"\n" -"\t\t# Delete a pod based on the type and name in the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl delete -f -\n" -"\n" -"\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -"\t\tkubectl delete pod,service baz foo\n" -"\n" -"\t\t# Delete pods and services with label name=myLabel\n" -"\t\tkubectl delete pods,services -l name=myLabel\n" -"\n" -"\t\t# Delete a pod with minimal delay\n" -"\t\tkubectl delete pod foo --now\n" -"\n" -"\t\t# Force delete a pod on a dead node\n" -"\t\tkubectl delete pod foo --force\n" -"\n" -"\t\t# Delete all pods\n" -"\t\tkubectl delete pods --all" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:51 -msgid "" -"\n" -"\t\t# Describe a node\n" -"\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -"\n" -"\t\t# Describe a pod\n" -"\t\tkubectl describe pods/nginx\n" -"\n" -"\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -"\t\tkubectl describe -f pod.json\n" -"\n" -"\t\t# Describe all pods\n" -"\t\tkubectl describe pods\n" -"\n" -"\t\t# Describe pods by label name=myLabel\n" -"\t\tkubectl describe po -l name=myLabel\n" -"\n" -"\t\t# Describe all pods managed by the 'frontend' replication controller (rc-" -"created pods\n" -"\t\t# get the name of the rc as a prefix in the pod the name)\n" -"\t\tkubectl describe pods frontend" -msgstr "" -"\n" -"\t\t# Describe a node\n" -"\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -"\n" -"\t\t# Describe a pod\n" -"\t\tkubectl describe pods/nginx\n" -"\n" -"\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -"\t\tkubectl describe -f pod.json\n" -"\n" -"\t\t# Describe all pods\n" -"\t\tkubectl describe pods\n" -"\n" -"\t\t# Describe pods by label name=myLabel\n" -"\t\tkubectl describe po -l name=myLabel\n" -"\n" -"\t\t# Describe all pods managed by the 'frontend' replication controller (rc-" -"created pods\n" -"\t\t# get the name of the rc as a prefix in the pod the name)\n" -"\t\tkubectl describe pods frontend" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:76 -msgid "" -"\n" -"\t\t# Diff resources included in pod.json\n" -"\t\tkubectl diff -f pod.json\n" -"\n" -"\t\t# Diff file read from stdin\n" -"\t\tcat service.yaml | kubectl diff -f -" -msgstr "" -"\n" -"\t\t# Diff resources included in pod.json\n" -"\t\tkubectl diff -f pod.json\n" -"\n" -"\t\t# Diff file read from stdin\n" -"\t\tcat service.yaml | kubectl diff -f -" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:138 -msgid "" -"\n" -"\t\t# Drain node \"foo\", even if there are pods not managed by a " -"replication controller, replica set, job, daemon set or stateful set on it\n" -"\t\tkubectl drain foo --force\n" -"\n" -"\t\t# As above, but abort if there are pods not managed by a replication " -"controller, replica set, job, daemon set or stateful set, and use a grace " -"period of 15 minutes\n" -"\t\tkubectl drain foo --grace-period=900" -msgstr "" -"\n" -"\t\t# Drain node \"foo\", even if there are pods not managed by a " -"replication controller, replica set, job, daemon set or stateful set on it\n" -"\t\tkubectl drain foo --force\n" -"\n" -"\t\t# As above, but abort if there are pods not managed by a replication " -"controller, replica set, job, daemon set or stateful set, and use a grace " -"period of 15 minutes\n" -"\t\tkubectl drain foo --grace-period=900" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:55 -msgid "" -"\n" -"\t\t# Edit the service named 'docker-registry'\n" -"\t\tkubectl edit svc/docker-registry\n" -"\n" -"\t\t# Use an alternative editor\n" -"\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -"\n" -"\t\t# Edit the job 'myjob' in JSON using the v1 API format\n" -"\t\tkubectl edit job.v1.batch/myjob -o json\n" -"\n" -"\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -"config in its annotation\n" -"\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -msgstr "" -"\n" -"\t\t# Edit the service named 'docker-registry'\n" -"\t\tkubectl edit svc/docker-registry\n" -"\n" -"\t\t# Use an alternative editor\n" -"\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -"\n" -"\t\t# Edit the job 'myjob' in JSON using the v1 API format\n" -"\t\tkubectl edit job.v1.batch/myjob -o json\n" -"\n" -"\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -"config in its annotation\n" -"\t\tkubectl edit deployment/mydeployment -o yaml --save-config" - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:44 -msgid "" -"\n" -"\t\t# Get output from running pod mypod; use the 'kubectl.kubernetes.io/" -"default-container' annotation\n" -"\t\t# for selecting the container to be attached or the first container in " -"the pod will be chosen\n" -"\t\tkubectl attach mypod\n" -"\n" -"\t\t# Get output from ruby-container from pod mypod\n" -"\t\tkubectl attach mypod -c ruby-container\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl attach mypod -c ruby-container -i -t\n" -"\n" -"\t\t# Get output from the first pod of a replica set named nginx\n" -"\t\tkubectl attach rs/nginx\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Get output from running pod mypod; use the 'kubectl.kubernetes.io/" -"default-container' annotation\n" -"\t\t# for selecting the container to be attached or the first container in " -"the pod will be chosen\n" -"\t\tkubectl attach mypod\n" -"\n" -"\t\t# Get output from ruby-container from pod mypod\n" -"\t\tkubectl attach mypod -c ruby-container\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl attach mypod -c ruby-container -i -t\n" -"\n" -"\t\t# Get output from the first pod of a replica set named nginx\n" -"\t\tkubectl attach rs/nginx\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:48 -msgid "" -"\n" -"\t\t# Get output from running the 'date' command from pod mypod, using the " -"first container by default\n" -"\t\tkubectl exec mypod -- date\n" -"\n" -"\t\t# Get output from running the 'date' command in ruby-container from pod " -"mypod\n" -"\t\tkubectl exec mypod -c ruby-container -- date\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl exec mypod -c ruby-container -i -t -- bash -il\n" -"\n" -"\t\t# List contents of /usr from the first container of pod mypod and sort " -"by modification time\n" -"\t\t# If the command you want to execute in the pod has any flags in common " -"(e.g. -i),\n" -"\t\t# you must use two dashes (--) to separate your command's flags/" -"arguments\n" -"\t\t# Also note, do not surround your command and its flags/arguments with " -"quotes\n" -"\t\t# unless that is how you would execute it normally (i.e., do ls -t /usr, " -"not \"ls -t /usr\")\n" -"\t\tkubectl exec mypod -i -t -- ls -t /usr\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"deployment mydeployment, using the first container by default\n" -"\t\tkubectl exec deploy/mydeployment -- date\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"service myservice, using the first container by default\n" -"\t\tkubectl exec svc/myservice -- date\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Get output from running the 'date' command from pod mypod, using the " -"first container by default\n" -"\t\tkubectl exec mypod -- date\n" -"\n" -"\t\t# Get output from running the 'date' command in ruby-container from pod " -"mypod\n" -"\t\tkubectl exec mypod -c ruby-container -- date\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl exec mypod -c ruby-container -i -t -- bash -il\n" -"\n" -"\t\t# List contents of /usr from the first container of pod mypod and sort " -"by modification time\n" -"\t\t# If the command you want to execute in the pod has any flags in common " -"(e.g. -i),\n" -"\t\t# you must use two dashes (--) to separate your command's flags/" -"arguments\n" -"\t\t# Also note, do not surround your command and its flags/arguments with " -"quotes\n" -"\t\t# unless that is how you would execute it normally (i.e., do ls -t /usr, " -"not \"ls -t /usr\")\n" -"\t\tkubectl exec mypod -i -t -- ls -t /usr\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"deployment mydeployment, using the first container by default\n" -"\t\tkubectl exec deploy/mydeployment -- date\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"service myservice, using the first container by default\n" -"\t\tkubectl exec svc/myservice -- date\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:65 -msgid "" -"\n" -"\t\t# Installing bash completion on macOS using homebrew\n" -"\t\t## If running Bash 3.2 included with macOS\n" -"\t\t brew install bash-completion\n" -"\t\t## or, if running Bash 4.1+\n" -"\t\t brew install bash-completion@2\n" -"\t\t## If kubectl is installed via homebrew, this should start working " -"immediately\n" -"\t\t## If you've installed via other means, you may need add the completion " -"to your completion directory\n" -"\t\t kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/" -"kubectl\n" -"\n" -"\n" -"\t\t# Installing bash completion on Linux\n" -"\t\t## If bash-completion is not installed on Linux, install the 'bash-" -"completion' package\n" -"\t\t## via your distribution's package manager.\n" -"\t\t## Load the kubectl completion code for bash into the current shell\n" -"\t\t source <(kubectl completion bash)\n" -"\t\t## Write bash completion code to a file and source it from ." -"bash_profile\n" -"\t\t kubectl completion bash > ~/.kube/completion.bash.inc\n" -"\t\t printf \"\n" -"\t\t # Kubectl shell completion\n" -"\t\t source '$HOME/.kube/completion.bash.inc'\n" -"\t\t \" >> $HOME/.bash_profile\n" -"\t\t source $HOME/.bash_profile\n" -"\n" -"\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -"\t\t source <(kubectl completion zsh)\n" -"\t\t# Set the kubectl completion code for zsh[1] to autoload on startup\n" -"\t\t kubectl completion zsh > \"${fpath[1]}/_kubectl\"" -msgstr "" -"\n" -"\t\t# Installing bash completion on macOS using homebrew\n" -"\t\t## If running Bash 3.2 included with macOS\n" -"\t\t brew install bash-completion\n" -"\t\t## or, if running Bash 4.1+\n" -"\t\t brew install bash-completion@2\n" -"\t\t## If kubectl is installed via homebrew, this should start working " -"immediately\n" -"\t\t## If you've installed via other means, you may need add the completion " -"to your completion directory\n" -"\t\t kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/" -"kubectl\n" -"\n" -"\n" -"\t\t# Installing bash completion on Linux\n" -"\t\t## If bash-completion is not installed on Linux, install the 'bash-" -"completion' package\n" -"\t\t## via your distribution's package manager.\n" -"\t\t## Load the kubectl completion code for bash into the current shell\n" -"\t\t source <(kubectl completion bash)\n" -"\t\t## Write bash completion code to a file and source it from ." -"bash_profile\n" -"\t\t kubectl completion bash > ~/.kube/completion.bash.inc\n" -"\t\t printf \"\n" -"\t\t # Kubectl shell completion\n" -"\t\t source '$HOME/.kube/completion.bash.inc'\n" -"\t\t \" >> $HOME/.bash_profile\n" -"\t\t source $HOME/.bash_profile\n" -"\n" -"\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -"\t\t source <(kubectl completion zsh)\n" -"\t\t# Set the kubectl completion code for zsh[1] to autoload on startup\n" -"\t\t kubectl completion zsh > \"${fpath[1]}/_kubectl\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:105 -msgid "" -"\n" -"\t\t# List all pods in ps output format\n" -"\t\tkubectl get pods\n" -"\n" -"\t\t# List all pods in ps output format with more information (such as node " -"name)\n" -"\t\tkubectl get pods -o wide\n" -"\n" -"\t\t# List a single replication controller with specified NAME in ps output " -"format\n" -"\t\tkubectl get replicationcontroller web\n" -"\n" -"\t\t# List deployments in JSON output format, in the \"v1\" version of the " -"\"apps\" API group\n" -"\t\tkubectl get deployments.v1.apps -o json\n" -"\n" -"\t\t# List a single pod in JSON output format\n" -"\t\tkubectl get -o json pod web-pod-13je7\n" -"\n" -"\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -"JSON output format\n" -"\t\tkubectl get -f pod.yaml -o json\n" -"\n" -"\t\t# List resources from a directory with kustomization.yaml - e.g. dir/" -"kustomization.yaml\n" -"\t\tkubectl get -k dir/\n" -"\n" -"\t\t# Return only the phase value of the specified pod\n" -"\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}\n" -"\n" -"\t\t# List resource information in custom columns\n" -"\t\tkubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0]." -"name,IMAGE:.spec.containers[0].image\n" -"\n" -"\t\t# List all replication controllers and services together in ps output " -"format\n" -"\t\tkubectl get rc,services\n" -"\n" -"\t\t# List one or more resources by their type and names\n" -"\t\tkubectl get rc/web service/frontend pods/web-pod-13je7" -msgstr "" -"\n" -"\t\t# List all pods in ps output format\n" -"\t\tkubectl get pods\n" -"\n" -"\t\t# List all pods in ps output format with more information (such as node " -"name)\n" -"\t\tkubectl get pods -o wide\n" -"\n" -"\t\t# List a single replication controller with specified NAME in ps output " -"format\n" -"\t\tkubectl get replicationcontroller web\n" -"\n" -"\t\t# List deployments in JSON output format, in the \"v1\" version of the " -"\"apps\" API group\n" -"\t\tkubectl get deployments.v1.apps -o json\n" -"\n" -"\t\t# List a single pod in JSON output format\n" -"\t\tkubectl get -o json pod web-pod-13je7\n" -"\n" -"\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -"JSON output format\n" -"\t\tkubectl get -f pod.yaml -o json\n" -"\n" -"\t\t# List resources from a directory with kustomization.yaml - e.g. dir/" -"kustomization.yaml\n" -"\t\tkubectl get -k dir/\n" -"\n" -"\t\t# Return only the phase value of the specified pod\n" -"\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}\n" -"\n" -"\t\t# List resource information in custom columns\n" -"\t\tkubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0]." -"name,IMAGE:.spec.containers[0].image\n" -"\n" -"\t\t# List all replication controllers and services together in ps output " -"format\n" -"\t\tkubectl get rc,services\n" -"\n" -"\t\t# List one or more resources by their type and names\n" -"\t\tkubectl get rc/web service/frontend pods/web-pod-13je7" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:72 -msgid "" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 5000 6000\n" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in a pod selected by the deployment\n" -"\t\tkubectl port-forward deployment/mydeployment 5000 6000\n" -"\n" -"\t\t# Listen on port 8443 locally, forwarding to the targetPort of the " -"service's port named \"https\" in a pod selected by the service\n" -"\t\tkubectl port-forward service/myservice 8443:https\n" -"\n" -"\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on all addresses, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on localhost and selected IP, forwarding to 5000 " -"in the pod\n" -"\t\tkubectl port-forward --address localhost,10.19.21.23 pod/mypod " -"8888:5000\n" -"\n" -"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod :5000" -msgstr "" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 5000 6000\n" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in a pod selected by the deployment\n" -"\t\tkubectl port-forward deployment/mydeployment 5000 6000\n" -"\n" -"\t\t# Listen on port 8443 locally, forwarding to the targetPort of the " -"service's port named \"https\" in a pod selected by the service\n" -"\t\tkubectl port-forward service/myservice 8443:https\n" -"\n" -"\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on all addresses, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on localhost and selected IP, forwarding to 5000 " -"in the pod\n" -"\t\tkubectl port-forward --address localhost,10.19.21.23 pod/mypod " -"8888:5000\n" -"\n" -"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod :5000" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:87 -msgid "" -"\n" -"\t\t# Mark node \"foo\" as schedulable\n" -"\t\tkubectl uncordon foo" -msgstr "" -"\n" -"\t\t# Mark node \"foo\" as schedulable\n" -"\t\tkubectl uncordon foo" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:58 -msgid "" -"\n" -"\t\t# Mark node \"foo\" as unschedulable\n" -"\t\tkubectl cordon foo" -msgstr "" -"\n" -"\t\t# Mark node \"foo\" as unschedulable\n" -"\t\tkubectl cordon foo" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:83 -msgid "" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as JSON\n" -"\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as YAML\n" -"\t\tkubectl patch node k8s-node-1 -p $'spec:\n" -" unschedulable: true'\n" -"\n" -"\t\t# Partially update a node identified by the type and name specified in " -"\"node.json\" using strategic merge patch\n" -"\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Update a container's image; spec.containers[*].name is required " -"because it's a merge key\n" -"\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -"\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -"\n" -"\t\t# Update a container's image using a JSON patch with positional arrays\n" -"\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -"\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -msgstr "" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as JSON\n" -"\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as YAML\n" -"\t\tkubectl patch node k8s-node-1 -p $'spec:\n" -" unschedulable: true'\n" -"\n" -"\t\t# Partially update a node identified by the type and name specified in " -"\"node.json\" using strategic merge patch\n" -"\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Update a container's image; spec.containers[*].name is required " -"because it's a merge key\n" -"\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -"\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -"\n" -"\t\t# Update a container's image using a JSON patch with positional arrays\n" -"\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -"\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:44 -msgid "" -"\n" -"\t\t# Print the address of the control plane and cluster services\n" -"\t\tkubectl cluster-info" -msgstr "" -"\n" -"\t\t# Print the address of the control plane and cluster services\n" -"\t\tkubectl cluster-info" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:56 -msgid "" -"\n" -"\t\t# Replace a pod using the data in pod.json\n" -"\t\tkubectl replace -f ./pod.json\n" -"\n" -"\t\t# Replace a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl replace -f -\n" -"\n" -"\t\t# Update a single-container pod's image version (tag) to v4\n" -"\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' | " -"kubectl replace -f -\n" -"\n" -"\t\t# Force replace, delete and then re-create the resource\n" -"\t\tkubectl replace --force -f ./pod.json" -msgstr "" -"\n" -"\t\t# Replace a pod using the data in pod.json\n" -"\t\tkubectl replace -f ./pod.json\n" -"\n" -"\t\t# Replace a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl replace -f -\n" -"\n" -"\t\t# Update a single-container pod's image version (tag) to v4\n" -"\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' | " -"kubectl replace -f -\n" -"\n" -"\t\t# Force replace, delete and then re-create the resource\n" -"\t\tkubectl replace --force -f ./pod.json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:53 -msgid "" -"\n" -"\t\t# Return snapshot logs from pod nginx with only one container\n" -"\t\tkubectl logs nginx\n" -"\n" -"\t\t# Return snapshot logs from pod nginx with multi containers\n" -"\t\tkubectl logs nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot of previous terminated ruby container logs from pod " -"web-1\n" -"\t\tkubectl logs -p -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -"\t\tkubectl logs -f -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -f -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Display only the most recent 20 lines of output in pod nginx\n" -"\t\tkubectl logs --tail=20 nginx\n" -"\n" -"\t\t# Show all logs from pod nginx written in the last hour\n" -"\t\tkubectl logs --since=1h nginx\n" -"\n" -"\t\t# Show logs from a kubelet with an expired serving certificate\n" -"\t\tkubectl logs --insecure-skip-tls-verify-backend nginx\n" -"\n" -"\t\t# Return snapshot logs from first container of a job named hello\n" -"\t\tkubectl logs job/hello\n" -"\n" -"\t\t# Return snapshot logs from container nginx-1 of a deployment named " -"nginx\n" -"\t\tkubectl logs deployment/nginx -c nginx-1" -msgstr "" -"\n" -"\t\t# Return snapshot logs from pod nginx with only one container\n" -"\t\tkubectl logs nginx\n" -"\n" -"\t\t# Return snapshot logs from pod nginx with multi containers\n" -"\t\tkubectl logs nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot of previous terminated ruby container logs from pod " -"web-1\n" -"\t\tkubectl logs -p -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -"\t\tkubectl logs -f -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -f -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Display only the most recent 20 lines of output in pod nginx\n" -"\t\tkubectl logs --tail=20 nginx\n" -"\n" -"\t\t# Show all logs from pod nginx written in the last hour\n" -"\t\tkubectl logs --since=1h nginx\n" -"\n" -"\t\t# Show logs from a kubelet with an expired serving certificate\n" -"\t\tkubectl logs --insecure-skip-tls-verify-backend nginx\n" -"\n" -"\t\t# Return snapshot logs from first container of a job named hello\n" -"\t\tkubectl logs job/hello\n" -"\n" -"\t\t# Return snapshot logs from container nginx-1 of a deployment named " -"nginx\n" -"\t\tkubectl logs deployment/nginx -c nginx-1" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:49 -msgid "" -"\n" -"\t\t# Scale a replica set named 'foo' to 3\n" -"\t\tkubectl scale --replicas=3 rs/foo\n" -"\n" -"\t\t# Scale a resource identified by type and name specified in \"foo.yaml\" " -"to 3\n" -"\t\tkubectl scale --replicas=3 -f foo.yaml\n" -"\n" -"\t\t# If the deployment named mysql's current size is 2, scale mysql to 3\n" -"\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -"\n" -"\t\t# Scale multiple replication controllers\n" -"\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -"\n" -"\t\t# Scale stateful set named 'web' to 3\n" -"\t\tkubectl scale --replicas=3 statefulset/web" -msgstr "" -"\n" -"\t\t# Scale a replica set named 'foo' to 3\n" -"\t\tkubectl scale --replicas=3 rs/foo\n" -"\n" -"\t\t# Scale a resource identified by type and name specified in \"foo.yaml\" " -"to 3\n" -"\t\tkubectl scale --replicas=3 -f foo.yaml\n" -"\n" -"\t\t# If the deployment named mysql's current size is 2, scale mysql to 3\n" -"\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -"\n" -"\t\t# Scale multiple replication controllers\n" -"\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -"\n" -"\t\t# Scale stateful set named 'web' to 3\n" -"\t\tkubectl scale --replicas=3 statefulset/web" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:75 -msgid "" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml\n" -"\n" -"\t\t# Execute set-last-applied against each configuration file in a " -"directory\n" -"\t\tkubectl apply set-last-applied -f path/\n" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file; will create the annotation if it does not already exist\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml --create-annotation=true\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml\n" -"\n" -"\t\t# Execute set-last-applied against each configuration file in a " -"directory\n" -"\t\tkubectl apply set-last-applied -f path/\n" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file; will create the annotation if it does not already exist\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml --create-annotation=true\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:62 -msgid "" -"\n" -"\t\t# Start a nginx pod\n" -"\t\tkubectl run nginx --image=nginx\n" -"\n" -"\t\t# Start a hazelcast pod and let the container expose port 5701\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --port=5701\n" -"\n" -"\t\t# Start a hazelcast pod and set environment variables " -"\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --env=" -"\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\"\n" -"\n" -"\t\t# Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod" -"\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --labels=" -"\"app=hazelcast,env=prod\"\n" -"\n" -"\t\t# Dry run; print the corresponding API objects without creating them\n" -"\t\tkubectl run nginx --image=nginx --dry-run=client\n" -"\n" -"\t\t# Start a nginx pod, but overload the spec with a partial set of values " -"parsed from JSON\n" -"\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " -"\"spec\": { ... } }'\n" -"\n" -"\t\t# Start a busybox pod and keep it in the foreground, don't restart it if " -"it exits\n" -"\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -"\n" -"\t\t# Start the nginx pod using the default command, but use custom " -"arguments (arg1 .. argN) for that command\n" -"\t\tkubectl run nginx --image=nginx -- ... \n" -"\n" -"\t\t# Start the nginx pod using a different command and custom arguments\n" -"\t\tkubectl run nginx --image=nginx --command -- ... " -msgstr "" -"\n" -"\t\t# Start a nginx pod\n" -"\t\tkubectl run nginx --image=nginx\n" -"\n" -"\t\t# Start a hazelcast pod and let the container expose port 5701\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --port=5701\n" -"\n" -"\t\t# Start a hazelcast pod and set environment variables " -"\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --env=" -"\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\"\n" -"\n" -"\t\t# Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod" -"\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --labels=" -"\"app=hazelcast,env=prod\"\n" -"\n" -"\t\t# Dry run; print the corresponding API objects without creating them\n" -"\t\tkubectl run nginx --image=nginx --dry-run=client\n" -"\n" -"\t\t# Start a nginx pod, but overload the spec with a partial set of values " -"parsed from JSON\n" -"\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " -"\"spec\": { ... } }'\n" -"\n" -"\t\t# Start a busybox pod and keep it in the foreground, don't restart it if " -"it exits\n" -"\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -"\n" -"\t\t# Start the nginx pod using the default command, but use custom " -"arguments (arg1 .. argN) for that command\n" -"\t\tkubectl run nginx --image=nginx -- ... \n" -"\n" -"\t\t# Start the nginx pod using a different command and custom arguments\n" -"\t\tkubectl run nginx --image=nginx --command -- ... " - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:73 -msgid "" -"\n" -"\t\t# To proxy all of the Kubernetes API and nothing else\n" -"\t\tkubectl proxy --api-prefix=/\n" -"\n" -"\t\t# To proxy only part of the Kubernetes API and also some static files\n" -"\t\t# You can get pods info with 'curl localhost:8001/api/v1/pods'\n" -"\t\tkubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/\n" -"\n" -"\t\t# To proxy the entire Kubernetes API at a different root\n" -"\t\t# You can get pods info with 'curl localhost:8001/custom/api/v1/pods'\n" -"\t\tkubectl proxy --api-prefix=/custom/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on port 8011, serving static " -"content from ./local/www/\n" -"\t\tkubectl proxy --port=8011 --www=./local/www/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on an arbitrary local port\n" -"\t\t# The chosen port for the server will be output to stdout\n" -"\t\tkubectl proxy --port=0\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server, changing the API prefix to " -"k8s-api\n" -"\t\t# This makes e.g. the pods API available at localhost:8001/k8s-api/v1/" -"pods/\n" -"\t\tkubectl proxy --api-prefix=/k8s-api" -msgstr "" -"\n" -"\t\t# To proxy all of the Kubernetes API and nothing else\n" -"\t\tkubectl proxy --api-prefix=/\n" -"\n" -"\t\t# To proxy only part of the Kubernetes API and also some static files\n" -"\t\t# You can get pods info with 'curl localhost:8001/api/v1/pods'\n" -"\t\tkubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/\n" -"\n" -"\t\t# To proxy the entire Kubernetes API at a different root\n" -"\t\t# You can get pods info with 'curl localhost:8001/custom/api/v1/pods'\n" -"\t\tkubectl proxy --api-prefix=/custom/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on port 8011, serving static " -"content from ./local/www/\n" -"\t\tkubectl proxy --port=8011 --www=./local/www/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on an arbitrary local port\n" -"\t\t# The chosen port for the server will be output to stdout\n" -"\t\tkubectl proxy --port=0\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server, changing the API prefix to " -"k8s-api\n" -"\t\t# This makes e.g. the pods API available at localhost:8001/k8s-api/v1/" -"pods/\n" -"\t\tkubectl proxy --api-prefix=/k8s-api" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:80 -msgid "" -"\n" -"\t\t# Update node 'foo' with a taint with key 'dedicated' and value 'special-" -"user' and effect 'NoSchedule'\n" -"\t\t# If a taint with that key and effect already exists, its value is " -"replaced as specified\n" -"\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -"\n" -"\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -"'NoSchedule' if one exists\n" -"\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -"\n" -"\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -"\t\tkubectl taint nodes foo dedicated-\n" -"\n" -"\t\t# Add a taint with key 'dedicated' on nodes having label mylabel=X\n" -"\t\tkubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule\n" -"\n" -"\t\t# Add to node 'foo' a taint with key 'bar' and no value\n" -"\t\tkubectl taint nodes foo bar:NoSchedule" -msgstr "" -"\n" -"\t\t# Update node 'foo' with a taint with key 'dedicated' and value 'special-" -"user' and effect 'NoSchedule'\n" -"\t\t# If a taint with that key and effect already exists, its value is " -"replaced as specified\n" -"\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -"\n" -"\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -"'NoSchedule' if one exists\n" -"\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -"\n" -"\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -"\t\tkubectl taint nodes foo dedicated-\n" -"\n" -"\t\t# Add a taint with key 'dedicated' on nodes having label mylabel=X\n" -"\t\tkubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule\n" -"\n" -"\t\t# Add to node 'foo' a taint with key 'bar' and no value\n" -"\t\tkubectl taint nodes foo bar:NoSchedule" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:95 -msgid "" -"\n" -"\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'\n" -"\t\tkubectl label pods foo unhealthy=true\n" -"\n" -"\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -"overwriting any existing value\n" -"\t\tkubectl label --overwrite pods foo status=unhealthy\n" -"\n" -"\t\t# Update all pods in the namespace\n" -"\t\tkubectl label pods --all status=unhealthy\n" -"\n" -"\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -"\t\tkubectl label -f pod.json status=unhealthy\n" -"\n" -"\t\t# Update pod 'foo' only if the resource is unchanged from version 1\n" -"\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -"\n" -"\t\t# Update pod 'foo' by removing a label named 'bar' if it exists\n" -"\t\t# Does not require the --overwrite flag\n" -"\t\tkubectl label pods foo bar-" -msgstr "" -"\n" -"\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'\n" -"\t\tkubectl label pods foo unhealthy=true\n" -"\n" -"\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -"overwriting any existing value\n" -"\t\tkubectl label --overwrite pods foo status=unhealthy\n" -"\n" -"\t\t# Update all pods in the namespace\n" -"\t\tkubectl label pods --all status=unhealthy\n" -"\n" -"\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -"\t\tkubectl label -f pod.json status=unhealthy\n" -"\n" -"\t\t# Update pod 'foo' only if the resource is unchanged from version 1\n" -"\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -"\n" -"\t\t# Update pod 'foo' by removing a label named 'bar' if it exists\n" -"\t\t# Does not require the --overwrite flag\n" -"\t\tkubectl label pods foo bar-" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:53 -msgid "" -"\n" -"\t\t# View the last-applied-configuration annotations by type/name in YAML\n" -"\t\tkubectl apply view-last-applied deployment/nginx\n" -"\n" -"\t\t# View the last-applied-configuration annotations by file in JSON\n" -"\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -msgstr "" -"\n" -"\t\t# View the last-applied-configuration annotations by type/name in YAML\n" -"\t\tkubectl apply view-last-applied deployment/nginx\n" -"\n" -"\t\t# View the last-applied-configuration annotations by file in JSON\n" -"\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:61 -msgid "" -"\n" -"\t\t# Wait for the pod \"busybox1\" to contain the status condition of type " -"\"Ready\"\n" -"\t\tkubectl wait --for=condition=Ready pod/busybox1\n" -"\n" -"\t\t# The default value of status condition is true; you can set it to " -"false\n" -"\t\tkubectl wait --for=condition=Ready=false pod/busybox1\n" -"\n" -"\t\t# Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, " -"after having issued the \"delete\" command\n" -"\t\tkubectl delete pod/busybox1\n" -"\t\tkubectl wait --for=delete pod/busybox1 --timeout=60s" -msgstr "" -"\n" -"\t\t# Wait for the pod \"busybox1\" to contain the status condition of type " -"\"Ready\"\n" -"\t\tkubectl wait --for=condition=Ready pod/busybox1\n" -"\n" -"\t\t# The default value of status condition is true; you can set it to " -"false\n" -"\t\tkubectl wait --for=condition=Ready=false pod/busybox1\n" -"\n" -"\t\t# Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, " -"after having issued the \"delete\" command\n" -"\t\tkubectl delete pod/busybox1\n" -"\t\tkubectl wait --for=delete pod/busybox1 --timeout=60s" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:110 -msgid "" -"\n" -"\t\tApply a configuration to a resource by file name or stdin.\n" -"\t\tThe resource name must be specified. This resource will be created if it " -"doesn't exist yet.\n" -"\t\tTo use 'apply', always create the resource initially with either 'apply' " -"or 'create --save-config'.\n" -"\n" -"\t\tJSON and YAML formats are accepted.\n" -"\n" -"\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do not " -"use unless you are aware of what the current state is. See https://issues." -"k8s.io/34274." -msgstr "" -"\n" -"\t\tApply a configuration to a resource by file name or stdin.\n" -"\t\tThe resource name must be specified. This resource will be created if it " -"doesn't exist yet.\n" -"\t\tTo use 'apply', always create the resource initially with either 'apply' " -"or 'create --save-config'.\n" -"\n" -"\t\tJSON and YAML formats are accepted.\n" -"\n" -"\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do not " -"use unless you are aware of what the current state is. See https://issues." -"k8s.io/34274." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:126 -msgid "" -"\n" -"\t\tApprove a certificate signing request.\n" -"\n" -"\t\tkubectl certificate approve allows a cluster admin to approve a " -"certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tissue a certificate to the requestor with the attributes requested in " -"the CSR.\n" -"\n" -"\t\tSECURITY NOTICE: Depending on the requested attributes, the issued " -"certificate\n" -"\t\tcan potentially grant a requester access to cluster resources or to " -"authenticate\n" -"\t\tas a requested identity. Before approving a CSR, ensure you understand " -"what the\n" -"\t\tsigned certificate can do.\n" -"\t\t" -msgstr "" -"\n" -"\t\tApprove a certificate signing request.\n" -"\n" -"\t\tkubectl certificate approve allows a cluster admin to approve a " -"certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tissue a certificate to the requestor with the attributes requested in " -"the CSR.\n" -"\n" -"\t\tSECURITY NOTICE: Depending on the requested attributes, the issued " -"certificate\n" -"\t\tcan potentially grant a requester access to cluster resources or to " -"authenticate\n" -"\t\tas a requested identity. Before approving a CSR, ensure you understand " -"what the\n" -"\t\tsigned certificate can do.\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:28 -msgid "" -"\n" -"\t\tConfigure application resources.\n" -"\n" -"\t\tThese commands help you make changes to existing application resources." -msgstr "" -"\n" -"\t\tConfigure application resources.\n" -"\n" -"\t\tThese commands help you make changes to existing application resources." - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:41 -msgid "" -"\n" -"\t\tCreate a TLS secret from the given public/private key pair.\n" -"\n" -"\t\tThe public/private key pair must exist beforehand. The public key " -"certificate must be .PEM encoded and match\n" -"\t\tthe given private key." -msgstr "" -"\n" -"\t\tCreate a TLS secret from the given public/private key pair.\n" -"\n" -"\t\tThe public/private key pair must exist beforehand. The public key " -"certificate must be .PEM encoded and match\n" -"\t\tthe given private key." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:41 -msgid "" -"\n" -"\t\tCreate a cluster role binding for a particular cluster role." -msgstr "" -"\n" -"\t\tCreate a cluster role binding for a particular cluster role." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:38 -msgid "" -"\n" -"\t\tCreate a cluster role." -msgstr "" -"\n" -"\t\tCreate a cluster role." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:46 -msgid "" -"\n" -"\t\tCreate a config map based on a file, directory, or specified literal " -"value.\n" -"\n" -"\t\tA single config map may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a config map based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key, you may " -"specify an alternate key.\n" -"\n" -"\t\tWhen creating a config map based on a directory, each file whose " -"basename is a valid key in the directory will be\n" -"\t\tpackaged into the config map. Any directory entries except regular " -"files are ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." -msgstr "" -"\n" -"\t\tCreate a config map based on a file, directory, or specified literal " -"value.\n" -"\n" -"\t\tA single config map may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a config map based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key, you may " -"specify an alternate key.\n" -"\n" -"\t\tWhen creating a config map based on a directory, each file whose " -"basename is a valid key in the directory will be\n" -"\t\tpackaged into the config map. Any directory entries except regular " -"files are ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go:40 -msgid "" -"\n" -"\t\tCreate a cron job with the specified name." -msgstr "" -"\n" -"\t\tCreate a cron job with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:40 -msgid "" -"\n" -"\t\tCreate a job with the specified name." -msgstr "" -"\n" -"\t\tCreate a job with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\tCreate a namespace with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:41 -msgid "" -"\n" -"\t\tCreate a new secret for use with Docker registries.\n" -"\n" -"\t\tDockercfg secrets are used to authenticate against Docker registries.\n" -"\n" -"\t\tWhen using the Docker command line to push images, you can authenticate " -"to a given registry by running:\n" -"\t\t\t'$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -"password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -"\n" -"\tThat produces a ~/.dockercfg file that is used by subsequent 'docker push' " -"and 'docker pull' commands to\n" -"\t\tauthenticate to the registry. The email address is optional.\n" -"\n" -"\t\tWhen creating applications, you may have a Docker registry that requires " -"authentication. In order for the\n" -"\t\tnodes to pull images on your behalf, they must have the credentials. " -"You can provide this information\n" -"\t\tby creating a dockercfg secret and attaching it to your service account." -msgstr "" -"\n" -"\t\tCreate a new secret for use with Docker registries.\n" -"\n" -"\t\tDockercfg secrets are used to authenticate against Docker registries.\n" -"\n" -"\t\tWhen using the Docker command line to push images, you can authenticate " -"to a given registry by running:\n" -"\t\t\t'$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -"password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -"\n" -"\tThat produces a ~/.dockercfg file that is used by subsequent 'docker push' " -"and 'docker pull' commands to\n" -"\t\tauthenticate to the registry. The email address is optional.\n" -"\n" -"\t\tWhen creating applications, you may have a Docker registry that requires " -"authentication. In order for the\n" -"\t\tnodes to pull images on your behalf, they must have the credentials. " -"You can provide this information\n" -"\t\tby creating a dockercfg secret and attaching it to your service account." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:41 -msgid "" -"\n" -"\t\tCreate a pod disruption budget with the specified name, selector, and " -"desired minimum available pods." -msgstr "" -"\n" -"\t\tCreate a pod disruption budget with the specified name, selector, and " -"desired minimum available pods." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:40 -msgid "" -"\n" -"\t\tCreate a priority class with the specified name, value, globalDefault " -"and description." -msgstr "" -"\n" -"\t\tCreate a priority class with the specified name, value, globalDefault " -"and description." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:71 -msgid "" -"\n" -"\t\tCreate a resource from a file or from stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted." -msgstr "" -"\n" -"\t\tCreate a resource from a file or from stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:41 -msgid "" -"\n" -"\t\tCreate a resource quota with the specified name, hard limits, and " -"optional scopes." -msgstr "" -"\n" -"\t\tCreate a resource quota with the specified name, hard limits, and " -"optional scopes." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:40 -msgid "" -"\n" -"\t\tCreate a role binding for a particular role or cluster role." -msgstr "" -"\n" -"\t\tCreate a role binding for a particular role or cluster role." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\tCreate a role with single rule." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:61 -msgid "" -"\n" -"\t\tCreate a secret based on a file, directory, or specified literal value.\n" -"\n" -"\t\tA single secret may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a secret based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key or you " -"wish to chose your own, you may specify\n" -"\t\tan alternate key.\n" -"\n" -"\t\tWhen creating a secret based on a directory, each file whose basename is " -"a valid key in the directory will be\n" -"\t\tpackaged into the secret. Any directory entries except regular files are " -"ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." -msgstr "" -"\n" -"\t\tCreate a secret based on a file, directory, or specified literal value.\n" -"\n" -"\t\tA single secret may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a secret based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key or you " -"wish to chose your own, you may specify\n" -"\t\tan alternate key.\n" -"\n" -"\t\tWhen creating a secret based on a directory, each file whose basename is " -"a valid key in the directory will be\n" -"\t\tpackaged into the secret. Any directory entries except regular files are " -"ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\tCreate a service account with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:67 -msgid "" -"\n" -"\t\tCreates a proxy server or application-level gateway between localhost " -"and\n" -"\t\tthe Kubernetes API server. It also allows serving static content over " -"specified\n" -"\t\tHTTP path. All incoming data enters through one port and gets forwarded " -"to\n" -"\t\tthe remote Kubernetes API server port, except for the path matching the " -"static content path." -msgstr "" -"\n" -"\t\tCreates a proxy server or application-level gateway between localhost " -"and\n" -"\t\tthe Kubernetes API server. It also allows serving static content over " -"specified\n" -"\t\tHTTP path. All incoming data enters through one port and gets forwarded " -"to\n" -"\t\tthe remote Kubernetes API server port, except for the path matching the " -"static content path." - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:42 -msgid "" -"\n" -"\t\tCreates an autoscaler that automatically chooses and sets the number of " -"pods that run in a Kubernetes cluster.\n" -"\n" -"\t\tLooks up a deployment, replica set, stateful set, or replication " -"controller by name and creates an autoscaler that uses the given resource as " -"a reference.\n" -"\t\tAn autoscaler can automatically increase or decrease number of pods " -"deployed within the system as needed." -msgstr "" -"\n" -"\t\tCreates an autoscaler that automatically chooses and sets the number of " -"pods that run in a Kubernetes cluster.\n" -"\n" -"\t\tLooks up a deployment, replica set, stateful set, or replication " -"controller by name and creates an autoscaler that uses the given resource as " -"a reference.\n" -"\t\tAn autoscaler can automatically increase or decrease number of pods " -"deployed within the system as needed." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:57 -msgid "" -"\n" -"\t\tDebug cluster resources using interactive debugging containers.\n" -"\n" -"\t\t'debug' provides automation for common debugging tasks for cluster " -"objects identified by\n" -"\t\tresource and name. Pods will be used by default if no resource is " -"specified.\n" -"\n" -"\t\tThe action taken by 'debug' varies depending on what resource is " -"specified. Supported\n" -"\t\tactions include:\n" -"\n" -"\t\t* Workload: Create a copy of an existing pod with certain attributes " -"changed,\n" -"\t for example changing the image tag to a new version.\n" -"\t\t* Workload: Add an ephemeral container to an already running pod, for " -"example to add\n" -"\t\t debugging utilities without restarting the pod.\n" -"\t\t* Node: Create a new pod that runs in the node's host namespaces and can " -"access\n" -"\t\t the node's filesystem.\n" -msgstr "" -"\n" -"\t\tDebug cluster resources using interactive debugging containers.\n" -"\n" -"\t\t'debug' provides automation for common debugging tasks for cluster " -"objects identified by\n" -"\t\tresource and name. Pods will be used by default if no resource is " -"specified.\n" -"\n" -"\t\tThe action taken by 'debug' varies depending on what resource is " -"specified. Supported\n" -"\t\tactions include:\n" -"\n" -"\t\t* Workload: Create a copy of an existing pod with certain attributes " -"changed,\n" -"\t for example changing the image tag to a new version.\n" -"\t\t* Workload: Add an ephemeral container to an already running pod, for " -"example to add\n" -"\t\t debugging utilities without restarting the pod.\n" -"\t\t* Node: Create a new pod that runs in the node's host namespaces and can " -"access\n" -"\t\t the node's filesystem.\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:45 -msgid "" -"\n" -"\t\tDelete resources by file names, stdin, resources and names, or by " -"resources and label selector.\n" -"\n" -"\t\tJSON and YAML formats are accepted. Only one type of argument may be " -"specified: file names,\n" -"\t\tresources and names, or resources and label selector.\n" -"\n" -"\t\tSome resources, such as pods, support graceful deletion. These resources " -"define a default period\n" -"\t\tbefore they are forcibly terminated (the grace period) but you may " -"override that value with\n" -"\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -"Because these resources often\n" -"\t\trepresent entities in the cluster, deletion may not be acknowledged " -"immediately. If the node\n" -"\t\thosting a pod is down or cannot reach the API server, termination may " -"take significantly longer\n" -"\t\tthan the grace period. To force delete a resource, you must specify the " -"--force flag.\n" -"\t\tNote: only a subset of resources support graceful deletion. In absence " -"of the support,\n" -"\t\tthe --grace-period flag is ignored.\n" -"\n" -"\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " -"pod's processes have been\n" -"\t\tterminated, which can leave those processes running until the node " -"detects the deletion and\n" -"\t\tcompletes graceful deletion. If your processes use shared storage or " -"talk to a remote API and\n" -"\t\tdepend on the name of the pod to identify themselves, force deleting " -"those pods may result in\n" -"\t\tmultiple processes running on different machines using the same " -"identification which may lead\n" -"\t\tto data corruption or inconsistency. Only force delete pods when you are " -"sure the pod is\n" -"\t\tterminated, or if your application can tolerate multiple copies of the " -"same pod running at once.\n" -"\t\tAlso, if you force delete pods, the scheduler may place new pods on " -"those nodes before the node\n" -"\t\thas released those resources and causing those pods to be evicted " -"immediately.\n" -"\n" -"\t\tNote that the delete command does NOT do resource version checks, so if " -"someone submits an\n" -"\t\tupdate to a resource right when you submit a delete, their update will " -"be lost along with the\n" -"\t\trest of the resource." -msgstr "" -"\n" -"\t\tDelete resources by file names, stdin, resources and names, or by " -"resources and label selector.\n" -"\n" -"\t\tJSON and YAML formats are accepted. Only one type of argument may be " -"specified: file names,\n" -"\t\tresources and names, or resources and label selector.\n" -"\n" -"\t\tSome resources, such as pods, support graceful deletion. These resources " -"define a default period\n" -"\t\tbefore they are forcibly terminated (the grace period) but you may " -"override that value with\n" -"\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -"Because these resources often\n" -"\t\trepresent entities in the cluster, deletion may not be acknowledged " -"immediately. If the node\n" -"\t\thosting a pod is down or cannot reach the API server, termination may " -"take significantly longer\n" -"\t\tthan the grace period. To force delete a resource, you must specify the " -"--force flag.\n" -"\t\tNote: only a subset of resources support graceful deletion. In absence " -"of the support,\n" -"\t\tthe --grace-period flag is ignored.\n" -"\n" -"\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " -"pod's processes have been\n" -"\t\tterminated, which can leave those processes running until the node " -"detects the deletion and\n" -"\t\tcompletes graceful deletion. If your processes use shared storage or " -"talk to a remote API and\n" -"\t\tdepend on the name of the pod to identify themselves, force deleting " -"those pods may result in\n" -"\t\tmultiple processes running on different machines using the same " -"identification which may lead\n" -"\t\tto data corruption or inconsistency. Only force delete pods when you are " -"sure the pod is\n" -"\t\tterminated, or if your application can tolerate multiple copies of the " -"same pod running at once.\n" -"\t\tAlso, if you force delete pods, the scheduler may place new pods on " -"those nodes before the node\n" -"\t\thas released those resources and causing those pods to be evicted " -"immediately.\n" -"\n" -"\t\tNote that the delete command does NOT do resource version checks, so if " -"someone submits an\n" -"\t\tupdate to a resource right when you submit a delete, their update will " -"be lost along with the\n" -"\t\trest of the resource." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:175 -msgid "" -"\n" -"\t\tDeny a certificate signing request.\n" -"\n" -"\t\tkubectl certificate deny allows a cluster admin to deny a certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tnot to issue a certificate to the requestor.\n" -"\t\t" -msgstr "" -"\n" -"\t\tDeny a certificate signing request.\n" -"\n" -"\t\tkubectl certificate deny allows a cluster admin to deny a certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tnot to issue a certificate to the requestor.\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:53 -msgid "" -"\n" -"\t\tDiff configurations specified by file name or stdin between the current " -"online\n" -"\t\tconfiguration, and the configuration as it would be if applied.\n" -"\n" -"\t\tThe output is always YAML.\n" -"\n" -"\t\tKUBECTL_EXTERNAL_DIFF environment variable can be used to select your " -"own\n" -"\t\tdiff command. Users can use external commands with params too, example:\n" -"\t\tKUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"\n" -"\n" -"\t\tBy default, the \"diff\" command available in your path will be\n" -"\t\trun with the \"-u\" (unified diff) and \"-N\" (treat absent files as " -"empty) options.\n" -"\n" -"\t\tExit status:\n" -"\t\t 0\n" -"\t\tNo differences were found.\n" -"\t\t 1\n" -"\t\tDifferences were found.\n" -"\t\t >1\n" -"\t\tKubectl or diff failed with an error.\n" -"\n" -"\t\tNote: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that " -"convention." -msgstr "" -"\n" -"\t\tDiff configurations specified by file name or stdin between the current " -"online\n" -"\t\tconfiguration, and the configuration as it would be if applied.\n" -"\n" -"\t\tThe output is always YAML.\n" -"\n" -"\t\tKUBECTL_EXTERNAL_DIFF environment variable can be used to select your " -"own\n" -"\t\tdiff command. Users can use external commands with params too, example:\n" -"\t\tKUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"\n" -"\n" -"\t\tBy default, the \"diff\" command available in your path will be\n" -"\t\trun with the \"-u\" (unified diff) and \"-N\" (treat absent files as " -"empty) options.\n" -"\n" -"\t\tExit status:\n" -"\t\t 0\n" -"\t\tNo differences were found.\n" -"\t\t 1\n" -"\t\tDifferences were found.\n" -"\t\t >1\n" -"\t\tKubectl or diff failed with an error.\n" -"\n" -"\t\tNote: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that " -"convention." - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top.go:39 -msgid "" -"\n" -"\t\tDisplay Resource (CPU/Memory) usage.\n" -"\n" -"\t\tThe top command allows you to see the resource consumption for nodes or " -"pods.\n" -"\n" -"\t\tThis command requires Metrics Server to be correctly configured and " -"working on the server. " -msgstr "" -"\n" -"\t\tDisplay Resource (CPU/Memory) usage.\n" -"\n" -"\t\tThe top command allows you to see the resource consumption for nodes or " -"pods.\n" -"\n" -"\t\tThis command requires Metrics Server to be correctly configured and " -"working on the server. " - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:54 -msgid "" -"\n" -"\t\tDisplay merged kubeconfig settings or a specified kubeconfig file.\n" -"\n" -"\t\tYou can use --output jsonpath={...} to extract specific values using a " -"jsonpath expression." -msgstr "" -"\n" -"\t\tDisplay merged kubeconfig settings or a specified kubeconfig file.\n" -"\n" -"\t\tYou can use --output jsonpath={...} to extract specific values using a " -"jsonpath expression." - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:92 -msgid "" -"\n" -"\t\tDisplay one or many resources.\n" -"\n" -"\t\tPrints a table of the most important information about the specified " -"resources.\n" -"\t\tYou can filter the list using a label selector and the --selector flag. " -"If the\n" -"\t\tdesired resource type is namespaced you will only see results in your " -"current\n" -"\t\tnamespace unless you pass --all-namespaces.\n" -"\n" -"\t\tUninitialized objects are not shown unless --include-uninitialized is " -"passed.\n" -"\n" -"\t\tBy specifying the output as 'template' and providing a Go template as " -"the value\n" -"\t\tof the --template flag, you can filter the attributes of the fetched " -"resources." -msgstr "" -"\n" -"\t\tDisplay one or many resources.\n" -"\n" -"\t\tPrints a table of the most important information about the specified " -"resources.\n" -"\t\tYou can filter the list using a label selector and the --selector flag. " -"If the\n" -"\t\tdesired resource type is namespaced you will only see results in your " -"current\n" -"\t\tnamespace unless you pass --all-namespaces.\n" -"\n" -"\t\tUninitialized objects are not shown unless --include-uninitialized is " -"passed.\n" -"\n" -"\t\tBy specifying the output as 'template' and providing a Go template as " -"the value\n" -"\t\tof the --template flag, you can filter the attributes of the fetched " -"resources." - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:57 -msgid "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of nodes.\n" -"\n" -"\t\tThe top-node command allows you to see the resource consumption of nodes." -msgstr "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of nodes.\n" -"\n" -"\t\tThe top-node command allows you to see the resource consumption of nodes." - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:67 -msgid "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of pods.\n" -"\n" -"\t\tThe 'top pod' command allows you to see the resource consumption of " -"pods.\n" -"\n" -"\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -"minutes\n" -"\t\tsince pod creation." -msgstr "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of pods.\n" -"\n" -"\t\tThe 'top pod' command allows you to see the resource consumption of " -"pods.\n" -"\n" -"\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -"minutes\n" -"\t\tsince pod creation." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/current_context.go:37 -msgid "" -"\n" -"\t\tDisplay the current-context." -msgstr "" -"\n" -"\t\tDisplay the current-context." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:113 -msgid "" -"\n" -"\t\tDrain node in preparation for maintenance.\n" -"\n" -"\t\tThe given node will be marked unschedulable to prevent new pods from " -"arriving.\n" -"\t\t'drain' evicts the pods if the API server supports\n" -"\t\t[eviction](https://kubernetes.io/docs/concepts/workloads/pods/" -"disruptions/). Otherwise, it will use normal\n" -"\t\tDELETE to delete the pods.\n" -"\t\tThe 'drain' evicts or deletes all pods except mirror pods (which cannot " -"be deleted through\n" -"\t\tthe API server). If there are daemon set-managed pods, drain will not " -"proceed\n" -"\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -"\t\tdaemon set-managed pods, because those pods would be immediately " -"replaced by the\n" -"\t\tdaemon set controller, which ignores unschedulable markings. If there " -"are any\n" -"\t\tpods that are neither mirror pods nor managed by a replication " -"controller,\n" -"\t\treplica set, daemon set, stateful set, or job, then drain will not " -"delete any pods unless you\n" -"\t\tuse --force. --force will also allow deletion to proceed if the " -"managing resource of one\n" -"\t\tor more pods is missing.\n" -"\n" -"\t\t'drain' waits for graceful termination. You should not operate on the " -"machine until\n" -"\t\tthe command completes.\n" -"\n" -"\t\tWhen you are ready to put the node back into service, use kubectl " -"uncordon, which\n" -"\t\twill make the node schedulable again.\n" -"\n" -"\t\t![Workflow](https://kubernetes.io/images/docs/kubectl_drain.svg)" -msgstr "" -"\n" -"\t\tDrain node in preparation for maintenance.\n" -"\n" -"\t\tThe given node will be marked unschedulable to prevent new pods from " -"arriving.\n" -"\t\t'drain' evicts the pods if the API server supports\n" -"\t\t[eviction](https://kubernetes.io/docs/concepts/workloads/pods/" -"disruptions/). Otherwise, it will use normal\n" -"\t\tDELETE to delete the pods.\n" -"\t\tThe 'drain' evicts or deletes all pods except mirror pods (which cannot " -"be deleted through\n" -"\t\tthe API server). If there are daemon set-managed pods, drain will not " -"proceed\n" -"\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -"\t\tdaemon set-managed pods, because those pods would be immediately " -"replaced by the\n" -"\t\tdaemon set controller, which ignores unschedulable markings. If there " -"are any\n" -"\t\tpods that are neither mirror pods nor managed by a replication " -"controller,\n" -"\t\treplica set, daemon set, stateful set, or job, then drain will not " -"delete any pods unless you\n" -"\t\tuse --force. --force will also allow deletion to proceed if the " -"managing resource of one\n" -"\t\tor more pods is missing.\n" -"\n" -"\t\t'drain' waits for graceful termination. You should not operate on the " -"machine until\n" -"\t\tthe command completes.\n" -"\n" -"\t\tWhen you are ready to put the node back into service, use kubectl " -"uncordon, which\n" -"\t\twill make the node schedulable again.\n" -"\n" -"\t\t![Workflow](https://kubernetes.io/images/docs/kubectl_drain.svg)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:31 -msgid "" -"\n" -"\t\tEdit a resource from the default editor.\n" -"\n" -"\t\tThe edit command allows you to directly edit any API resource you can " -"retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tEditing is done with the API version used to fetch the resource.\n" -"\t\tTo edit using a specific API version, fully-qualify the resource, " -"version, and group.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." -msgstr "" -"\n" -"\t\tEdit a resource from the default editor.\n" -"\n" -"\t\tThe edit command allows you to directly edit any API resource you can " -"retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tEditing is done with the API version used to fetch the resource.\n" -"\t\tTo edit using a specific API version, fully-qualify the resource, " -"version, and group.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_edit_last_applied.go:31 -msgid "" -"\n" -"\t\tEdit the latest last-applied-configuration annotations of resources from " -"the default editor.\n" -"\n" -"\t\tThe edit-last-applied command allows you to directly edit any API " -"resource you can retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." -msgstr "" -"\n" -"\t\tEdit the latest last-applied-configuration annotations of resources from " -"the default editor.\n" -"\n" -"\t\tThe edit-last-applied command allows you to directly edit any API " -"resource you can retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:49 -msgid "" -"\n" -"\t\tExperimental: Wait for a specific condition on one or many resources.\n" -"\n" -"\t\tThe command takes multiple resources and waits until the specified " -"condition\n" -"\t\tis seen in the Status field of every given resource.\n" -"\n" -"\t\tAlternatively, the command can wait for the given set of resources to be " -"deleted\n" -"\t\tby providing the \"delete\" keyword as the value to the --for flag.\n" -"\n" -"\t\tA successful message will be printed to stdout indicating when the " -"specified\n" -" condition has been met. You can use -o option to change to output " -"destination." -msgstr "" -"\n" -"\t\tExperimental: Wait for a specific condition on one or many resources.\n" -"\n" -"\t\tThe command takes multiple resources and waits until the specified " -"condition\n" -"\t\tis seen in the Status field of every given resource.\n" -"\n" -"\t\tAlternatively, the command can wait for the given set of resources to be " -"deleted\n" -"\t\tby providing the \"delete\" keyword as the value to the --for flag.\n" -"\n" -"\t\tA successful message will be printed to stdout indicating when the " -"specified\n" -" condition has been met. You can use -o option to change to output " -"destination." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:47 -msgid "" -"\n" -"\t\tExpose a resource as a new Kubernetes service.\n" -"\n" -"\t\tLooks up a deployment, service, replica set, replication controller or " -"pod by name and uses the selector\n" -"\t\tfor that resource as the selector for a new service on the specified " -"port. A deployment or replica set\n" -"\t\twill be exposed as a service only if its selector is convertible to a " -"selector that service supports,\n" -"\t\ti.e. when the selector contains only the matchLabels component. Note " -"that if no port is specified via\n" -"\t\t--port and the exposed resource has multiple ports, all will be re-used " -"by the new service. Also if no\n" -"\t\tlabels are specified, the new service will re-use the labels from the " -"resource it exposes.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\n" -"\t\t" -msgstr "" -"\n" -"\t\tExpose a resource as a new Kubernetes service.\n" -"\n" -"\t\tLooks up a deployment, service, replica set, replication controller or " -"pod by name and uses the selector\n" -"\t\tfor that resource as the selector for a new service on the specified " -"port. A deployment or replica set\n" -"\t\twill be exposed as a service only if its selector is convertible to a " -"selector that service supports,\n" -"\t\ti.e. when the selector contains only the matchLabels component. Note " -"that if no port is specified via\n" -"\t\t--port and the exposed resource has multiple ports, all will be re-used " -"by the new service. Also if no\n" -"\t\tlabels are specified, the new service will re-use the labels from the " -"resource it exposes.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:46 -msgid "" -"\n" -"\t\tList all available plugin files on a user's PATH.\n" -"\n" -"\t\tAvailable plugin files are those that are:\n" -"\t\t- executable\n" -"\t\t- anywhere on the user's PATH\n" -"\t\t- begin with \"kubectl-\"\n" -msgstr "" -"\n" -"\t\tList all available plugin files on a user's PATH.\n" -"\n" -"\t\tAvailable plugin files are those that are:\n" -"\t\t- executable\n" -"\t\t- anywhere on the user's PATH\n" -"\t\t- begin with \"kubectl-\"\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:35 -msgid "" -"\n" -"\t\tList the fields for supported resources.\n" -"\n" -"\t\tThis command describes the fields associated with each supported API " -"resource.\n" -"\t\tFields are identified via a simple JSONPath identifier:\n" -"\n" -"\t\t\t.[.]\n" -"\n" -"\t\tAdd the --recursive flag to display all of the fields at once without " -"descriptions.\n" -"\t\tInformation about each field is retrieved from the server in OpenAPI " -"format." -msgstr "" -"\n" -"\t\tList the fields for supported resources.\n" -"\n" -"\t\tThis command describes the fields associated with each supported API " -"resource.\n" -"\t\tFields are identified via a simple JSONPath identifier:\n" -"\n" -"\t\t\t.[.]\n" -"\n" -"\t\tAdd the --recursive flag to display all of the fields at once without " -"descriptions.\n" -"\t\tInformation about each field is retrieved from the server in OpenAPI " -"format." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go:30 -msgid "" -"\n" -"\t\tManage the rollout of a resource." -msgstr "" -"\n" -"\t\tManage the rollout of a resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\tMark node as schedulable." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\tMark node as unschedulable." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:57 -msgid "" -"\n" -"\t\tMark the provided resource as paused.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller.\n" -"\t\tUse \"kubectl rollout resume\" to resume a paused resource.\n" -"\t\tCurrently only deployments support being paused." -msgstr "" -"\n" -"\t\tMark the provided resource as paused.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller.\n" -"\t\tUse \"kubectl rollout resume\" to resume a paused resource.\n" -"\t\tCurrently only deployments support being paused." - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:46 -msgid "" -"\n" -"\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -"\t\tThe shell code must be evaluated to provide interactive\n" -"\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" -"\t\tthe .bash_profile.\n" -"\n" -"\t\tDetailed instructions on how to do this are available here:\n" -"\n" -" for macOS:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-" -"shell-autocompletion\n" -"\n" -" for linux:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-" -"shell-autocompletion\n" -"\n" -" for windows:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/" -"#enable-shell-autocompletion\n" -"\n" -"\t\tNote for zsh users: [1] zsh completions are only supported in versions " -"of zsh >= 5.2." -msgstr "" -"\n" -"\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -"\t\tThe shell code must be evaluated to provide interactive\n" -"\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" -"\t\tthe .bash_profile.\n" -"\n" -"\t\tDetailed instructions on how to do this are available here:\n" -"\n" -" for macOS:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-" -"shell-autocompletion\n" -"\n" -" for linux:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-" -"shell-autocompletion\n" -"\n" -" for windows:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/" -"#enable-shell-autocompletion\n" -"\n" -"\t\tNote for zsh users: [1] zsh completions are only supported in versions " -"of zsh >= 5.2." - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:49 -msgid "" -"\n" -"\t\tPrint the logs for a container in a pod or specified resource. \n" -"\t\tIf the pod has only one container, the container name is optional." -msgstr "" -"\n" -"\t\tPrint the logs for a container in a pod or specified resource. \n" -"\t\tIf the pod has only one container, the container name is optional." - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:37 -msgid "" -"\n" -"\t\tProvides utilities for interacting with plugins.\n" -"\n" -"\t\tPlugins provide extended functionality that is not part of the major " -"command-line distribution.\n" -"\t\tPlease refer to the documentation and examples for more information " -"about how write your own plugins.\n" -"\n" -"\t\tThe easiest way to discover and install plugins is via the kubernetes " -"sub-project krew.\n" -"\t\tTo install krew, visit [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/" -"user-guide/setup/install/)" -msgstr "" -"\n" -"\t\tProvides utilities for interacting with plugins.\n" -"\n" -"\t\tPlugins provide extended functionality that is not part of the major " -"command-line distribution.\n" -"\t\tPlease refer to the documentation and examples for more information " -"about how write your own plugins.\n" -"\n" -"\t\tThe easiest way to discover and install plugins is via the kubernetes " -"sub-project krew.\n" -"\t\tTo install krew, visit [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/" -"user-guide/setup/install/)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go:47 -msgid "" -"\n" -"\t\tRenames a context from the kubeconfig file.\n" -"\n" -"\t\tCONTEXT_NAME is the context name that you want to change.\n" -"\n" -"\t\tNEW_NAME is the new name you want to set.\n" -"\n" -"\t\tNote: If the context being renamed is the 'current-context', this field " -"will also be updated." -msgstr "" -"\n" -"\t\tRenames a context from the kubeconfig file.\n" -"\n" -"\t\tCONTEXT_NAME is the context name that you want to change.\n" -"\n" -"\t\tNEW_NAME is the new name you want to set.\n" -"\n" -"\t\tNote: If the context being renamed is the 'current-context', this field " -"will also be updated." - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:48 -msgid "" -"\n" -"\t\tReplace a resource by file name or stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted. If replacing an existing resource, " -"the\n" -"\t\tcomplete resource spec must be provided. This can be obtained by\n" -"\n" -"\t\t $ kubectl get TYPE NAME -o yaml" -msgstr "" -"\n" -"\t\tReplace a resource by file name or stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted. If replacing an existing resource, " -"the\n" -"\t\tcomplete resource spec must be provided. This can be obtained by\n" -"\n" -"\t\t $ kubectl get TYPE NAME -o yaml" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_restart.go:57 -msgid "" -"\n" -"\t\tRestart a resource.\n" -"\n" -"\t Resource rollout will be restarted." -msgstr "" -"\n" -"\t\tRestart a resource.\n" -"\n" -"\t Resource rollout will be restarted." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:58 -msgid "" -"\n" -"\t\tResume a paused resource.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller. By resuming a\n" -"\t\tresource, we allow it to be reconciled again.\n" -"\t\tCurrently only deployments support being resumed." -msgstr "" -"\n" -"\t\tResume a paused resource.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller. By resuming a\n" -"\t\tresource, we allow it to be reconciled again.\n" -"\t\tCurrently only deployments support being resumed." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:55 -msgid "" -"\n" -"\t\tRoll back to a previous rollout." -msgstr "" -"\n" -"\t\tRoll back to a previous rollout." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_cluster.go:47 -msgid "" -"\n" -"\t\tSet a cluster entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." -msgstr "" -"\n" -"\t\tSet a cluster entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_context.go:44 -msgid "" -"\n" -"\t\tSet a context entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." -msgstr "" -"\n" -"\t\tSet a context entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:40 -msgid "" -"\n" -"\t\tSet a new size for a deployment, replica set, replication controller, or " -"stateful set.\n" -"\n" -"\t\tScale also allows users to specify one or more preconditions for the " -"scale action.\n" -"\n" -"\t\tIf --current-replicas or --resource-version is specified, it is " -"validated before the\n" -"\t\tscale is attempted, and it is guaranteed that the precondition holds " -"true when the\n" -"\t\tscale is sent to the server." -msgstr "" -"\n" -"\t\tSet a new size for a deployment, replica set, replication controller, or " -"stateful set.\n" -"\n" -"\t\tScale also allows users to specify one or more preconditions for the " -"scale action.\n" -"\n" -"\t\tIf --current-replicas or --resource-version is specified, it is " -"validated before the\n" -"\t\tscale is attempted, and it is guaranteed that the precondition holds " -"true when the\n" -"\t\tscale is sent to the server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go:70 -#, c-format -msgid "" -"\n" -"\t\tSet a user entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values.\n" -"\n" -"\t\t Client-certificate flags:\n" -"\t\t --%v=certfile --%v=keyfile\n" -"\n" -"\t\t Bearer token flags:\n" -"\t\t\t --%v=bearer_token\n" -"\n" -"\t\t Basic auth flags:\n" -"\t\t\t --%v=basic_user --%v=basic_password\n" -"\n" -"\t\tBearer token and basic auth are mutually exclusive." -msgstr "" -"\n" -"\t\tSet a user entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values.\n" -"\n" -"\t\t Client-certificate flags:\n" -"\t\t --%v=certfile --%v=keyfile\n" -"\n" -"\t\t Bearer token flags:\n" -"\t\t\t --%v=bearer_token\n" -"\n" -"\t\t Basic auth flags:\n" -"\t\t\t --%v=basic_user --%v=basic_password\n" -"\n" -"\t\tBearer token and basic auth are mutually exclusive." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:67 -#, c-format -msgid "" -"\n" -"\t\tSet the selector on a resource. Note that the new selector will " -"overwrite the old selector if the resource had one prior to the invocation\n" -"\t\tof 'set selector'.\n" -"\n" -"\t\tA selector must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\tIf --resource-version is specified, then updates will use this resource " -"version, otherwise the existing resource-version will be used.\n" -" Note: currently selectors can only be set on Service objects." -msgstr "" -"\n" -"\t\tSet the selector on a resource. Note that the new selector will " -"overwrite the old selector if the resource had one prior to the invocation\n" -"\t\tof 'set selector'.\n" -"\n" -"\t\tA selector must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\tIf --resource-version is specified, then updates will use this resource " -"version, otherwise the existing resource-version will be used.\n" -" Note: currently selectors can only be set on Service objects." - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:39 -msgid "" -"\n" -"\t\tShow details of a specific resource or group of resources.\n" -"\n" -"\t\tPrint a detailed description of the selected resources, including " -"related resources such\n" -"\t\tas events or controllers. You may select a single object by name, all " -"objects of that\n" -"\t\ttype, provide a name prefix, or label selector. For example:\n" -"\n" -"\t\t $ kubectl describe TYPE NAME_PREFIX\n" -"\n" -"\t\twill first check for an exact match on TYPE and NAME_PREFIX. If no such " -"resource\n" -"\t\texists, it will output details for every resource that has a name " -"prefixed with NAME_PREFIX." -msgstr "" -"\n" -"\t\tShow details of a specific resource or group of resources.\n" -"\n" -"\t\tPrint a detailed description of the selected resources, including " -"related resources such\n" -"\t\tas events or controllers. You may select a single object by name, all " -"objects of that\n" -"\t\ttype, provide a name prefix, or label selector. For example:\n" -"\n" -"\t\t $ kubectl describe TYPE NAME_PREFIX\n" -"\n" -"\t\twill first check for an exact match on TYPE and NAME_PREFIX. If no such " -"resource\n" -"\t\texists, it will output details for every resource that has a name " -"prefixed with NAME_PREFIX." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:47 -msgid "" -"\n" -"\t\tShow the status of the rollout.\n" -"\n" -"\t\tBy default 'rollout status' will watch the status of the latest rollout\n" -"\t\tuntil it's done. If you don't want to wait for the rollout to finish " -"then\n" -"\t\tyou can use --watch=false. Note that if a new rollout starts in-between, " -"then\n" -"\t\t'rollout status' will continue watching the latest revision. If you want " -"to\n" -"\t\tpin to a specific revision and abort if it is rolled over by another " -"revision,\n" -"\t\tuse --revision=N where N is the revision you need to watch for." -msgstr "" -"\n" -"\t\tShow the status of the rollout.\n" -"\n" -"\t\tBy default 'rollout status' will watch the status of the latest rollout\n" -"\t\tuntil it's done. If you don't want to wait for the rollout to finish " -"then\n" -"\t\tyou can use --watch=false. Note that if a new rollout starts in-between, " -"then\n" -"\t\t'rollout status' will continue watching the latest revision. If you want " -"to\n" -"\t\tpin to a specific revision and abort if it is rolled over by another " -"revision,\n" -"\t\tuse --revision=N where N is the revision you need to watch for." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:41 -#, c-format -msgid "" -"\n" -"\t\tSpecify compute resource requirements (CPU, memory) for any resource " -"that defines a pod template. If a pod is successfully scheduled, it is " -"guaranteed the amount of resource requested, but may burst up to its " -"specified limits.\n" -"\n" -"\t\tFor each compute resource, if a limit is specified and a request is " -"omitted, the request will default to the limit.\n" -"\n" -"\t\tPossible resources include (case insensitive): %s." -msgstr "" -"\n" -"\t\tSpecify compute resource requirements (CPU, memory) for any resource " -"that defines a pod template. If a pod is successfully scheduled, it is " -"guaranteed the amount of resource requested, but may burst up to its " -"specified limits.\n" -"\n" -"\t\tFor each compute resource, if a limit is specified and a request is " -"omitted, the request will default to the limit.\n" -"\n" -"\t\tPossible resources include (case insensitive): %s." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go:50 -msgid "" -"\n" -"\t\tUpdate environment variables on a pod template.\n" -"\n" -"\t\tList environment variable definitions in one or more pods, pod " -"templates.\n" -"\t\tAdd, update, or remove container environment variable definitions in one " -"or\n" -"\t\tmore pod templates (within replication controllers or deployment " -"configurations).\n" -"\t\tView or modify the environment variable definitions on all containers in " -"the\n" -"\t\tspecified pods or pod templates, or just those that match a wildcard.\n" -"\n" -"\t\tIf \"--env -\" is passed, environment variables can be read from STDIN " -"using the standard env\n" -"\t\tsyntax.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" -msgstr "" -"\n" -"\t\tUpdate environment variables on a pod template.\n" -"\n" -"\t\tList environment variable definitions in one or more pods, pod " -"templates.\n" -"\t\tAdd, update, or remove container environment variable definitions in one " -"or\n" -"\t\tmore pod templates (within replication controllers or deployment " -"configurations).\n" -"\t\tView or modify the environment variable definitions on all containers in " -"the\n" -"\t\tspecified pods or pod templates, or just those that match a wildcard.\n" -"\n" -"\t\tIf \"--env -\" is passed, environment variables can be read from STDIN " -"using the standard env\n" -"\t\tsyntax.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:71 -msgid "" -"\n" -"\t\tUpdate existing container image(s) of resources.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" -msgstr "" -"\n" -"\t\tUpdate existing container image(s) of resources.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:78 -msgid "" -"\n" -"\t\tUpdate fields of a resource using strategic merge patch, a JSON merge " -"patch, or a JSON patch.\n" -"\n" -"\t\tJSON and YAML formats are accepted." -msgstr "" -"\n" -"\t\tUpdate fields of a resource using strategic merge patch, a JSON merge " -"patch, or a JSON patch.\n" -"\n" -"\t\tJSON and YAML formats are accepted." - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:83 -msgid "" -"\n" -"\t\tUpdate the annotations on one or more resources.\n" -"\n" -"\t\tAll Kubernetes objects support the ability to store additional data with " -"the object as\n" -"\t\tannotations. Annotations are key/value pairs that can be larger than " -"labels and include\n" -"\t\tarbitrary string values such as structured JSON. Tools and system " -"extensions may use\n" -"\t\tannotations to store their own data.\n" -"\n" -"\t\tAttempting to set an annotation that already exists will fail unless --" -"overwrite is set.\n" -"\t\tIf --resource-version is specified and does not match the current " -"resource version on\n" -"\t\tthe server the command will fail." -msgstr "" -"\n" -"\t\tUpdate the annotations on one or more resources.\n" -"\n" -"\t\tAll Kubernetes objects support the ability to store additional data with " -"the object as\n" -"\t\tannotations. Annotations are key/value pairs that can be larger than " -"labels and include\n" -"\t\tarbitrary string values such as structured JSON. Tools and system " -"extensions may use\n" -"\t\tannotations to store their own data.\n" -"\n" -"\t\tAttempting to set an annotation that already exists will fail unless --" -"overwrite is set.\n" -"\t\tIf --resource-version is specified and does not match the current " -"resource version on\n" -"\t\tthe server the command will fail." - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:87 -#, c-format -msgid "" -"\n" -"\t\tUpdate the labels on a resource.\n" -"\n" -"\t\t* A label key and value must begin with a letter or number, and may " -"contain letters, numbers, hyphens, dots, and underscores, up to %[1]d " -"characters each.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* If --overwrite is true, then existing labels can be overwritten, " -"otherwise attempting to overwrite a label will result in an error.\n" -"\t\t* If --resource-version is specified, then updates will use this " -"resource version, otherwise the existing resource-version will be used." -msgstr "" -"\n" -"\t\tUpdate the labels on a resource.\n" -"\n" -"\t\t* A label key and value must begin with a letter or number, and may " -"contain letters, numbers, hyphens, dots, and underscores, up to %[1]d " -"characters each.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* If --overwrite is true, then existing labels can be overwritten, " -"otherwise attempting to overwrite a label will result in an error.\n" -"\t\t* If --resource-version is specified, then updates will use this " -"resource version, otherwise the existing resource-version will be used." - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:70 -#, c-format -msgid "" -"\n" -"\t\tUpdate the taints on one or more nodes.\n" -"\n" -"\t\t* A taint consists of a key, value, and effect. As an argument here, it " -"is expressed as key=value:effect.\n" -"\t\t* The key must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* The value is optional. If given, it must begin with a letter or " -"number, and may contain letters, numbers, hyphens, dots, and underscores, up " -"to %[2]d characters.\n" -"\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -"\t\t* Currently taint can only apply to node." -msgstr "" -"\n" -"\t\tUpdate the taints on one or more nodes.\n" -"\n" -"\t\t* A taint consists of a key, value, and effect. As an argument here, it " -"is expressed as key=value:effect.\n" -"\t\t* The key must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* The value is optional. If given, it must begin with a letter or " -"number, and may contain letters, numbers, hyphens, dots, and underscores, up " -"to %[2]d characters.\n" -"\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -"\t\t* Currently taint can only apply to node." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:36 -msgid "" -"\n" -"\t\tView previous rollout revisions and configurations." -msgstr "" -"\n" -"\t\tView previous rollout revisions and configurations." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:47 -msgid "" -"\n" -"\t\tView the latest last-applied-configuration annotations by type/name or " -"file.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. You can use " -"the -o option\n" -"\t\tto change the output format." -msgstr "" -"\n" -"\t\tView the latest last-applied-configuration annotations by type/name or " -"file.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. You can use " -"the -o option\n" -"\t\tto change the output format." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:47 -msgid "" -"\n" -"\t # Create a new TLS secret named tls-secret with the given key pair\n" -"\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/" -"to/tls.key" -msgstr "" -"\n" -"\t # Create a new TLS secret named tls-secret with the given key pair\n" -"\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/" -"to/tls.key" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:74 -msgid "" -"\n" -"\t # Create a new secret named my-secret with keys for each file in folder " -"bar\n" -"\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -"\n" -"\t # Create a new secret named my-secret with specified keys instead of " -"names on disk\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub\n" -"\n" -"\t # Create a new secret named my-secret with key1=supersecret and " -"key2=topsecret\n" -"\t kubectl create secret generic my-secret --from-literal=key1=supersecret " -"--from-literal=key2=topsecret\n" -"\n" -"\t # Create a new secret named my-secret using a combination of a file and " -"a literal\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-literal=passphrase=topsecret\n" -"\n" -"\t # Create a new secret named my-secret from an env file\n" -"\t kubectl create secret generic my-secret --from-env-file=path/to/bar.env" -msgstr "" -"\n" -"\t # Create a new secret named my-secret with keys for each file in folder " -"bar\n" -"\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -"\n" -"\t # Create a new secret named my-secret with specified keys instead of " -"names on disk\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub\n" -"\n" -"\t # Create a new secret named my-secret with key1=supersecret and " -"key2=topsecret\n" -"\t kubectl create secret generic my-secret --from-literal=key1=supersecret " -"--from-literal=key2=topsecret\n" -"\n" -"\t # Create a new secret named my-secret using a combination of a file and " -"a literal\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-literal=passphrase=topsecret\n" -"\n" -"\t # Create a new secret named my-secret from an env file\n" -"\t kubectl create secret generic my-secret --from-env-file=path/to/bar.env" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:45 -msgid "" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image\n" -"\tkubectl create deployment my-dep --image=busybox\n" -"\n" -"\t# Create a deployment with a command\n" -"\tkubectl create deployment my-dep --image=busybox -- date\n" -"\n" -"\t# Create a deployment named my-dep that runs the nginx image with 3 " -"replicas\n" -"\tkubectl create deployment my-dep --image=nginx --replicas=3\n" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image and expose " -"port 5701\n" -"\tkubectl create deployment my-dep --image=busybox --port=5701" -msgstr "" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image\n" -"\tkubectl create deployment my-dep --image=busybox\n" -"\n" -"\t# Create a deployment with a command\n" -"\tkubectl create deployment my-dep --image=busybox -- date\n" -"\n" -"\t# Create a deployment named my-dep that runs the nginx image with 3 " -"replicas\n" -"\tkubectl create deployment my-dep --image=nginx --replicas=3\n" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image and expose " -"port 5701\n" -"\tkubectl create deployment my-dep --image=busybox --port=5701" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:351 -msgid "" -"\n" -"\t# Create a new ExternalName service named my-ns\n" -"\tkubectl create service externalname my-ns --external-name bar.com" -msgstr "" -"\n" -"\t# Create a new ExternalName service named my-ns\n" -"\tkubectl create service externalname my-ns --external-name bar.com" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:50 -msgid "" -"\n" -"\t# Set deployment nginx-deployment's service account to serviceaccount1\n" -"\tkubectl set serviceaccount deployment nginx-deployment serviceaccount1\n" -"\n" -"\t# Print the result (in YAML format) of updated nginx deployment with the " -"service account from local file, without hitting the API server\n" -"\tkubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-" -"run=client -o yaml\n" -"\t" -msgstr "" -"\n" -"\t# Set deployment nginx-deployment's service account to serviceaccount1\n" -"\tkubectl set serviceaccount deployment nginx-deployment serviceaccount1\n" -"\n" -"\t# Print the result (in YAML format) of updated nginx deployment with the " -"service account from local file, without hitting the API server\n" -"\tkubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-" -"run=client -o yaml\n" -"\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:42 -msgid "" -"\n" -"\tCreate a deployment with the specified name." -msgstr "" -"\n" -"\tCreate a deployment with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:61 -msgid "" -"\n" -"\tCreate an ingress with the specified name." -msgstr "" -"\n" -"\tCreate an ingress with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/set.go:44 -msgid "" -"\n" -"\tSet an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots.\n" -"\n" -"\tPROPERTY_VALUE is the new value you want to set. Binary fields such as " -"'certificate-authority-data' expect a base64 encoded string unless the --set-" -"raw-bytes flag is used.\n" -"\n" -"\tSpecifying an attribute name that already exists will merge new fields on " -"top of existing values." -msgstr "" -"\n" -"\tSet an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots.\n" -"\n" -"\tPROPERTY_VALUE is the new value you want to set. Binary fields such as " -"'certificate-authority-data' expect a base64 encoded string unless the --set-" -"raw-bytes flag is used.\n" -"\n" -"\tSpecifying an attribute name that already exists will merge new fields on " -"top of existing values." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/unset.go:39 -msgid "" -"\n" -"\tUnset an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots." -msgstr "" -"\n" -"\tUnset an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:43 -msgid "" -"\n" -"\tUpdate the service account of pod template resources.\n" -"\n" -"\tPossible resources (case insensitive) can be:\n" -"\n" -"\t" -msgstr "" -"\n" -"\tUpdate the service account of pod template resources.\n" -"\n" -"\tPossible resources (case insensitive) can be:\n" -"\n" -"\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go:40 -msgid "" -"\n" -"\tUpdate the user, group, or service account in a role binding or cluster " -"role binding." -msgstr "" -"\n" -"\tUpdate the user, group, or service account in a role binding or cluster " -"role binding." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:68 -msgid "" -"\n" -" \tpod (po), replicationcontroller (rc), deployment (deploy), daemonset " -"(ds), replicaset (rs)" -msgstr "" -"\n" -" \tpod (po), replicationcontroller (rc), deployment (deploy), daemonset " -"(ds), replicaset (rs)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:63 -msgid "" -"\n" -" Forward one or more local ports to a pod.\n" -"\n" -" Use resource type/name such as deployment/mydeployment to " -"select a pod. Resource type defaults to 'pod' if omitted.\n" -"\n" -" If there are multiple pods matching the criteria, a pod will " -"be selected automatically. The\n" -" forwarding session ends when the selected pod terminates, " -"and a rerun of the command is needed\n" -" to resume forwarding." -msgstr "" -"\n" -" Forward one or more local ports to a pod.\n" -"\n" -" Use resource type/name such as deployment/mydeployment to " -"select a pod. Resource type defaults to 'pod' if omitted.\n" -"\n" -" If there are multiple pods matching the criteria, a pod will " -"be selected automatically. The\n" -" forwarding session ends when the selected pod terminates, " -"and a rerun of the command is needed\n" -" to resume forwarding." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:233 -msgid "" -"\n" -" # Create a new ClusterIP service named my-cs\n" -" kubectl create service clusterip my-cs --tcp=5678:8080\n" -"\n" -" # Create a new ClusterIP service named my-cs (in headless mode)\n" -" kubectl create service clusterip my-cs --clusterip=\"None\"" -msgstr "" -"\n" -" # Create a new ClusterIP service named my-cs\n" -" kubectl create service clusterip my-cs --tcp=5678:8080\n" -"\n" -" # Create a new ClusterIP service named my-cs (in headless mode)\n" -" kubectl create service clusterip my-cs --clusterip=\"None\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:274 -msgid "" -"\n" -" # Create a new NodePort service named my-ns\n" -" kubectl create service nodeport my-ns --tcp=5678:8080" -msgstr "" -"\n" -" # Create a new NodePort service named my-ns\n" -" kubectl create service nodeport my-ns --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:95 -msgid "" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend'\n" -" # If the same annotation is set multiple times, only the last value will " -"be applied\n" -" kubectl annotate pods foo description='my frontend'\n" -"\n" -" # Update a pod identified by type and name in \"pod.json\"\n" -" kubectl annotate -f pod.json description='my frontend'\n" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend running nginx', overwriting any existing value\n" -" kubectl annotate --overwrite pods foo description='my frontend running " -"nginx'\n" -"\n" -" # Update all pods in the namespace\n" -" kubectl annotate pods --all description='my frontend running nginx'\n" -"\n" -" # Update pod 'foo' only if the resource is unchanged from version 1\n" -" kubectl annotate pods foo description='my frontend running nginx' --" -"resource-version=1\n" -"\n" -" # Update pod 'foo' by removing an annotation named 'description' if it " -"exists\n" -" # Does not require the --overwrite flag\n" -" kubectl annotate pods foo description-" -msgstr "" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend'\n" -" # If the same annotation is set multiple times, only the last value will " -"be applied\n" -" kubectl annotate pods foo description='my frontend'\n" -"\n" -" # Update a pod identified by type and name in \"pod.json\"\n" -" kubectl annotate -f pod.json description='my frontend'\n" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend running nginx', overwriting any existing value\n" -" kubectl annotate --overwrite pods foo description='my frontend running " -"nginx'\n" -"\n" -" # Update all pods in the namespace\n" -" kubectl annotate pods --all description='my frontend running nginx'\n" -"\n" -" # Update pod 'foo' only if the resource is unchanged from version 1\n" -" kubectl annotate pods foo description='my frontend running nginx' --" -"resource-version=1\n" -"\n" -" # Update pod 'foo' by removing an annotation named 'description' if it " -"exists\n" -" # Does not require the --overwrite flag\n" -" kubectl annotate pods foo description-" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:230 -msgid "" -"\n" -" Create a ClusterIP service with the specified name." -msgstr "" -"\n" -" Create a ClusterIP service with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" Create a LoadBalancer service with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:271 -msgid "" -"\n" -" Create a NodePort service with the specified name." -msgstr "" -"\n" -" Create a NodePort service with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:93 -msgid "" -"\n" -" Dump cluster information out suitable for debugging and diagnosing " -"cluster problems. By default, dumps everything to\n" -" stdout. You can optionally specify a directory with --output-directory. " -"If you specify a directory, Kubernetes will\n" -" build a set of files in that directory. By default, only dumps things " -"in the current namespace and 'kube-system' namespace, but you can\n" -" switch to a different namespace with the --namespaces flag, or specify --" -"all-namespaces to dump all namespaces.\n" -"\n" -" The command also dumps the logs of all of the pods in the cluster; these " -"logs are dumped into different directories\n" -" based on namespace and pod name." -msgstr "" -"\n" -" Dump cluster information out suitable for debugging and diagnosing " -"cluster problems. By default, dumps everything to\n" -" stdout. You can optionally specify a directory with --output-directory. " -"If you specify a directory, Kubernetes will\n" -" build a set of files in that directory. By default, only dumps things " -"in the current namespace and 'kube-system' namespace, but you can\n" -" switch to a different namespace with the --namespaces flag, or specify --" -"all-namespaces to dump all namespaces.\n" -"\n" -" The command also dumps the logs of all of the pods in the cluster; these " -"logs are dumped into different directories\n" -" based on namespace and pod name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:40 -msgid "" -"\n" -" Display addresses of the control plane and services with label kubernetes." -"io/cluster-service=true.\n" -" To further debug and diagnose cluster problems, use 'kubectl cluster-info " -"dump'." -msgstr "" -"\n" -" Display addresses of the control plane and services with label kubernetes." -"io/cluster-service=true.\n" -" To further debug and diagnose cluster problems, use 'kubectl cluster-info " -"dump'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:49 -msgid "" -" environment variable is set, then it is used as a list of paths (normal " -"path delimiting rules for your system). These paths are merged. When a value " -"is modified, it is modified in the file that defines the stanza. When a " -"value is created, it is created in the first file that exists. If no files " -"in the chain exist, then it creates the last file in the list.\n" -"\t\t\t3. Otherwise, " -msgstr "" -" environment variable is set, then it is used as a list of paths (normal " -"path delimiting rules for your system). These paths are merged. When a value " -"is modified, it is modified in the file that defines the stanza. When a " -"value is created, it is created in the first file that exists. If no files " -"in the chain exist, then it creates the last file in the list.\n" -"\t\t\t3. Otherwise, " - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:48 -msgid "" -" flag is set, then only that file is loaded. The flag may only be set once " -"and no merging takes place.\n" -"\t\t\t2. If $" -msgstr "" -" flag is set, then only that file is loaded. The flag may only be set once " -"and no merging takes place.\n" -"\t\t\t2. If $" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:50 -msgid " is used and no merging takes place." -msgstr " is used and no merging takes place." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L61 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L60 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L63 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L106 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L111 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:178 -msgid "Allocate a TTY for the debugging container." -msgstr "Allocate a TTY for the debugging container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L119 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:173 -msgid "Annotations to apply to the pod." -msgstr "Annotations to apply to the pod." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:173 -msgid "Apply a configuration to a resource by file name or stdin" -msgstr "Apply a configuration to a resource by file name or stdin" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "Approve a certificate signing request" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:106 -msgid "" -"Attach to a process that is already running inside an existing container." -msgstr "" -"Attach to a process that is already running inside an existing container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Attach to a running container" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:107 -msgid "" -"Auto-scale a deployment, replica set, stateful set, or replication controller" -msgstr "" -"Auto-scale a deployment, replica set, stateful set, or replication controller" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L115 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRole this ClusterRoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "ClusterRole this RoleBinding should reference" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:32 -msgid "Commands for features in alpha" -msgstr "Commands for features in alpha" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:170 -msgid "Container image to use for debug container." -msgstr "Container image to use for debug container." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:166 -msgid "Container name to use for debug container." -msgstr "Container name to use for debug container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67 -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "Convert config files between different API versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:105 -msgid "Copy files and directories to and from containers" -msgstr "Copy files and directories to and from containers" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "Copy files and directories to and from containers." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:248 -msgid "Create a ClusterIP service" -msgstr "Create a ClusterIP service" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:323 -msgid "Create a LoadBalancer service" -msgstr "Create a LoadBalancer service" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:286 -msgid "Create a NodePort service" -msgstr "Create a NodePort service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "Create a TLS secret" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:81 -msgid "Create a cluster role" -msgstr "Create a cluster role" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:87 -msgid "Create a cluster role binding for a particular cluster role" -msgstr "Create a cluster role binding for a particular cluster role" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:124 -msgid "Create a config map from a local file, directory or literal value" -msgstr "Create a config map from a local file, directory or literal value" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:167 -msgid "Create a copy of the target Pod with this name." -msgstr "Create a copy of the target Pod with this name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go:90 -msgid "Create a cron job with the specified name" -msgstr "Create a cron job with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:100 -msgid "Create a deployment with the specified name" -msgstr "Create a deployment with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:91 -msgid "Create a job with the specified name" -msgstr "Create a job with the specified name" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "Create a namespace with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:95 -msgid "Create a pod disruption budget with the specified name" -msgstr "Create a pod disruption budget with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:92 -msgid "Create a priority class with the specified name" -msgstr "Create a priority class with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:91 -msgid "Create a quota with the specified name" -msgstr "Create a quota with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:106 -msgid "Create a resource from a file or from stdin" -msgstr "Create a resource from a file or from stdin" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:89 -msgid "Create a role binding for a particular role or cluster role" -msgstr "Create a role binding for a particular role or cluster role" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:161 -msgid "Create a role with single rule" -msgstr "Create a role with single rule" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "Create a secret for use with a Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:137 -msgid "Create a secret from a local file, directory, or literal value" -msgstr "Create a secret from a local file, directory, or literal value" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "Create a secret using specified subcommand" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:50 -msgid "Create a secret using specified subcommand." -msgstr "Create a secret using specified subcommand." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "Create a service account with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:48 -msgid "Create a service using a specified subcommand" -msgstr "Create a service using a specified subcommand" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:49 -msgid "Create a service using a specified subcommand." -msgstr "Create a service using a specified subcommand." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:363 -msgid "Create an ExternalName service" -msgstr "Create an ExternalName service" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:145 -msgid "Create an ingress with the specified name" -msgstr "Create an ingress with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:60 -msgid "Create and run a particular image in a pod." -msgstr "Create and run a particular image in a pod." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:149 -msgid "Create debugging sessions for troubleshooting workloads and nodes" -msgstr "Create debugging sessions for troubleshooting workloads and nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:137 -msgid "" -"Delete resources by file names, stdin, resources and names, or by resources " -"and label selector" -msgstr "" -"Delete resources by file names, stdin, resources and names, or by resources " -"and label selector" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "Delete the specified cluster from the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:43 -msgid "Delete the specified cluster from the kubeconfig." -msgstr "Delete the specified cluster from the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "Delete the specified context from the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:43 -msgid "Delete the specified context from the kubeconfig." -msgstr "Delete the specified context from the kubeconfig." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_user.go:64 -msgid "Delete the specified user from the kubeconfig" -msgstr "Delete the specified user from the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_user.go:65 -msgid "Delete the specified user from the kubeconfig." -msgstr "Delete the specified user from the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "Deny a certificate signing request" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "Describe one or many contexts" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:142 -msgid "Diff the live version against a would-be applied version" -msgstr "Diff the live version against a would-be applied version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:65 -msgid "Display cluster information" -msgstr "Display cluster information" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "Display clusters defined in the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:42 -msgid "Display clusters defined in the kubeconfig." -msgstr "Display clusters defined in the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "Display merged kubeconfig settings or a specified kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:50 -msgid "Display one or many contexts from the kubeconfig file." -msgstr "Display one or many contexts from the kubeconfig file." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107 -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "Display one or many resources" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top.go:50 -msgid "Display resource (CPU/memory) usage" -msgstr "Display resource (CPU/memory) usage" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:81 -msgid "Display resource (CPU/memory) usage of nodes" -msgstr "Display resource (CPU/memory) usage of nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:100 -msgid "Display resource (CPU/memory) usage of pods" -msgstr "Display resource (CPU/memory) usage of pods" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/current_context.go:51 -msgid "Display the current-context" -msgstr "Display the current-context" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_users.go:60 -msgid "Display users defined in the kubeconfig" -msgstr "Display users defined in the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_users.go:61 -msgid "Display users defined in the kubeconfig." -msgstr "Display users defined in the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Drain node in preparation for maintenance" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:74 -msgid "Dump relevant information for debugging and diagnosis" -msgstr "Dump relevant information for debugging and diagnosis" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "Edit a resource on the server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_edit_last_applied.go:67 -msgid "Edit latest last-applied-configuration annotations of a resource/object" -msgstr "" -"Edit latest last-applied-configuration annotations of a resource/object" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L159 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "Email for Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:169 -msgid "Environment variables to set in the container." -msgstr "Environment variables to set in the container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "Execute a command in a container" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:90 -msgid "Execute a command in a container." -msgstr "Execute a command in a container." - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:115 -msgid "Experimental: Wait for a specific condition on one or many resources" -msgstr "Experimental: Wait for a specific condition on one or many resources" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:378 -msgid "External name of service" -msgstr "External name of service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75 -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Forward one or more local ports to a pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:79 -msgid "Get documentation for a resource" -msgstr "Get documentation for a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36 -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Help about any command" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:151 -msgid "" -"IP to assign to the LoadBalancer. If empty, an ephemeral IP will be created " -"and used (cloud-provider specific)." -msgstr "" -"IP to assign to the LoadBalancer. If empty, an ephemeral IP will be created " -"and used (cloud-provider specific)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/annotate.go#L135 -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L132 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:164 -msgid "" -"If specified, everything after -- will be passed to the new container as " -"Args instead of Command." -msgstr "" -"If specified, everything after -- will be passed to the new container as " -"Args instead of Command." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:198 -msgid "If true, run the container in privileged mode." -msgstr "If true, run the container in privileged mode." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:174 -msgid "If true, suppress informational messages." -msgstr "If true, suppress informational messages." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:165 -msgid "" -"If true, wait for the container to start running, and then attach as if " -"'kubectl attach ...' were called. Default false, unless '-i/--stdin' is " -"set, in which case the default is true." -msgstr "" -"If true, wait for the container to start running, and then attach as if " -"'kubectl attach ...' were called. Default false, unless '-i/--stdin' is " -"set, in which case the default is true." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:173 -msgid "" -"Keep stdin open on the container(s) in the pod, even if nothing is attached." -msgstr "" -"Keep stdin open on the container(s) in the pod, even if nothing is attached." - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:90 -msgid "List all visible plugin executables on a user's PATH" -msgstr "List all visible plugin executables on a user's PATH" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go:54 -msgid "Manage the rollout of a resource" -msgstr "Manage the rollout of a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "Mark node as schedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "Mark node as unschedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_pause.go#L73 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "Mark the provided resource as paused" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "Modify certificate resources." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "Modify kubeconfig files" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L110 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:43 -msgid "No alpha commands are available in this version of kubectl" -msgstr "No alpha commands are available in this version of kubectl" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97 -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Output shell completion code for the specified shell (bash or zsh)" - -#: pkg/kubectl/cmd/convert/convert.go:105 -msgid "" -"Output the formatted object with the given group version (for ex: " -"'extensions/v1beta1')." -msgstr "" -"Output the formatted object with the given group version (for ex: " -"'extensions/v1beta1')." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L157 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Password for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L226 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Path to PEM encoded public key certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L227 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Path to private key associated with given certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L82 -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "Print the client and server version information" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:74 -msgid "" -"Print the client and server version information for the current context." -msgstr "" -"Print the client and server version information for the current context." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "Print the list of flags inherited by all commands" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "Print the logs for a container in a pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:97 -msgid "Print the supported API resources on the server" -msgstr "Print the supported API resources on the server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:98 -msgid "Print the supported API resources on the server." -msgstr "Print the supported API resources on the server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:58 -msgid "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"" -msgstr "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:59 -msgid "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"." -msgstr "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"." - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:62 -msgid "Provides utilities for interacting with plugins" -msgstr "Provides utilities for interacting with plugins" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go:45 -msgid "Rename a context from the kubeconfig file" -msgstr "Rename a context from the kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:115 -msgid "Replace a resource by file name or stdin" -msgstr "Replace a resource by file name or stdin" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_restart.go:87 -msgid "Restart a resource" -msgstr "Restart a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_resume.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "Resume a paused resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L56 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "Role this RoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "Run a particular image on the cluster" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "Run a proxy to the Kubernetes API server" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L161 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "Server location for Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_cluster.go:73 -msgid "Set a cluster entry in kubeconfig" -msgstr "Set a cluster entry in kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_context.go:61 -msgid "Set a context entry in kubeconfig" -msgstr "Set a context entry in kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:114 -msgid "Set a new size for a deployment, replica set, or replication controller" -msgstr "" -"Set a new size for a deployment, replica set, or replication controller" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go:152 -msgid "Set a user entry in kubeconfig" -msgstr "Set a user entry in kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/set.go:74 -msgid "Set an individual value in a kubeconfig file" -msgstr "Set an individual value in a kubeconfig file" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "Set specific features on objects" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/use_context.go:52 -msgid "Set the current-context in a kubeconfig file" -msgstr "Set the current-context in a kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:101 -msgid "" -"Set the last-applied-configuration annotation on a live object to match the " -"contents of a file" -msgstr "" -"Set the last-applied-configuration annotation on a live object to match the " -"contents of a file" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "Set the selector on a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80 -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "Show details of a specific resource or group of resources" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_status.go#L57 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "Show the status of the rollout" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Synonym for --target-port" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:134 -msgid "" -"Take a replication controller, service, deployment or pod and expose it as a " -"new Kubernetes service" -msgstr "" -"Take a replication controller, service, deployment or pod and expose it as a " -"new Kubernetes service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "The image for the container to run." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L116 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:172 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server." -msgstr "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:112 -msgid "" -"The maximum number or percentage of unavailable pods this budget requires." -msgstr "" -"The maximum number or percentage of unavailable pods this budget requires." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" -"The minimum number or percentage of available pods this budget requires." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L113 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "The name for the newly created object." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L98 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L99 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "The network protocol for the service to be created. Default is 'TCP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:182 -msgid "The port that this container exposes." -msgstr "The port that this container exposes." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L131 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L130 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:190 -msgid "" -"The restart policy for this Pod. Legal values [Always, OnFailure, Never]." -msgstr "" -"The restart policy for this Pod. Legal values [Always, OnFailure, Never]." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L87 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "The type of secret to create" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:33 -msgid "" -"These commands correspond to alpha features that are not enabled in " -"Kubernetes clusters by default." -msgstr "" -"These commands correspond to alpha features that are not enabled in " -"Kubernetes clusters by default." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:150 -msgid "" -"Type for this service: ClusterIP, NodePort, LoadBalancer, or ExternalName. " -"Default is 'ClusterIP'." -msgstr "" -"Type for this service: ClusterIP, NodePort, LoadBalancer, or ExternalName. " -"Default is 'ClusterIP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_undo.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "Undo a previous rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/unset.go:59 -msgid "Unset an individual value in a kubeconfig file" -msgstr "Unset an individual value in a kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go:154 -msgid "Update environment variables on a pod template" -msgstr "Update environment variables on a pod template" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:115 -msgid "Update fields of a resource" -msgstr "Update fields of a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "Update resource requests/limits on objects with pod templates" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "Update the annotations on a resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:110 -msgid "Update the image of a pod template" -msgstr "Update the image of a pod template" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "Update the labels on a resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:102 -msgid "Update the service account of a resource" -msgstr "Update the service account of a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88 -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "Update the taints on one or more nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go:99 -msgid "" -"Update the user, group, or service account in a role binding or cluster role " -"binding" -msgstr "" -"Update the user, group, or service account in a role binding or cluster role " -"binding" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L155 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Username for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_history.go#L51 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "View rollout history" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:77 -msgid "" -"View the latest last-applied-configuration annotations of a resource/object" -msgstr "" -"View the latest last-applied-configuration annotations of a resource/object" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:171 -msgid "" -"When used with '--copy-to', a list of name=image pairs for changing " -"container images, similar to how 'kubectl set image' works." -msgstr "" -"When used with '--copy-to', a list of name=image pairs for changing " -"container images, similar to how 'kubectl set image' works." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:168 -msgid "When used with '--copy-to', delete the original Pod." -msgstr "When used with '--copy-to', delete the original Pod." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:176 -msgid "" -"When used with '--copy-to', enable process namespace sharing in the copy." -msgstr "" -"When used with '--copy-to', enable process namespace sharing in the copy." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:175 -msgid "" -"When used with '--copy-to', schedule the copy of target Pod on the same node." -msgstr "" -"When used with '--copy-to', schedule the copy of target Pod on the same node." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:177 -msgid "" -"When using an ephemeral container, target processes in this container name." -msgstr "" -"When using an ephemeral container, target processes in this container name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L45 -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:108 -msgid "" -"description is an arbitrary string that usually provides guidelines on when " -"this priority class should be used." -msgstr "" -"description is an arbitrary string that usually provides guidelines on when " -"this priority class should be used." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "dummy restart flag)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:107 -msgid "" -"global-default specifies whether this PriorityClass should be considered as " -"the default priority." -msgstr "" -"global-default specifies whether this PriorityClass should be considered as " -"the default priority." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217 -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl controls the Kubernetes cluster manager" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:45 -msgid "" -"pod (po), service (svc), replicationcontroller (rc), deployment (deploy), " -"replicaset (rs)" -msgstr "" -"pod (po), service (svc), replicationcontroller (rc), deployment (deploy), " -"replicaset (rs)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:109 -msgid "" -"preemption-policy is the policy for preempting pods with lower priority." -msgstr "" -"preemption-policy is the policy for preempting pods with lower priority." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:41 -msgid "" -"replicationcontroller (rc), deployment (deploy), daemonset (ds), job, " -"replicaset (rs), statefulset" -msgstr "" -"replicationcontroller (rc), deployment (deploy), daemonset (ds), job, " -"replicaset (rs), statefulset" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:106 -msgid "the value of this priority class." -msgstr "the value of this priority class." diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.mo deleted file mode 100644 index 9c0c708fcd319ccb43d0fe75c347c4da1da0f923..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 153024 zcmeFa37n)?S?~XLtHBJL0s#UdZ+e0~6S}&mXR-{PRA81)GGvyfrzeXcgzD<*>B>}h zb*idorV}FDMMW;SpjW(jQAG5jpk5V0uZRnZ7f=-Ry09o-P!9=lygfN$%zQ-)~QnSA2Dn zG%rt*_YEh>mvPfe2V1Rg6T$zSsRpN%KUzfk_Sb|=X*c>az(NiszFuer*< zKjfMuxsvZU?M;#n@cyYJIrue6^4aT>WbL9Pxn_Toe4cjRbW@W2F2BF-NRm7O*qTX_ zms0P`XOpB&y^lMdB(Dd)Y%WP|<@d>3lH^Og_tM*v4-%J>VR`|W~J@kX$KLC6u-@og7ljP~Z+Zg3bfv*BKDF3rSNS{3U zRg53-2#_I2P6Kz+{_BBsIeG7^ljL^b-XBa7NR@mK@C5J^K-K&7|CS^pz~=)`Q}2%e zujKosKb$1b1dpS@`+z_2TIkI0m%I+TJ|syV`D01)x0L(Lo08-YdH&}=1wHuw3;%<@ z0blX6N%AzF@A)~#n(xbRh91CA0iO)~-CszOE1=h>fnN{2^p|-T`abp7lH?J*_ZPqE z{PuSc;f<7k$Gei`Mc{GIyOZQ{zW@DuoZm0~og{&EldFO62c7_m-aCJn@#Xv1{C<-B z3h%uf_$9s{rqD-$H~azo2Yl)uCJ9w1tHABRYyUSi2i_In-vZVD7t*;p@L&FzI)Nwu zl)r(?A8>q6eTcE<`@Kx6R|0Dvf!^TpB|5EfnE9CF^NYYT&-eYM!{>jT`N;RTeUd&< z?%98nB)<)OC6FOXp8aXY9{45T^BC9J&oCGH{@%|f$>(V2>7Qdh@qN$dljIEF|2uG; z@994<|M-3kIL7y9eUb46ehctDJpVipk|)0oQ{D}H{y#bYe-g;lN%sG<%aPXtX)>vP z+1ok(uU`JQf$yN6J;_k=S@8NIjqRn}ry$O?z{@WhO0EGu7x+E&?^VFJ^8Kk74<+lo z_fa5IDtXRBhip854|oUPKM#B+@L3NVN-Dq~1ilUUWgsk({PM$x5=2k(qDKrRKLz|L zU<$nRkweMTfZqaq3h=GKTY(=2O8#B_bwkOMfG+?Z0lo&f2K;NF_Q24$G_#EInfO>!XV4d$LndEt0E#|!p!nq5fKLSeDp2@+5UBPZ@&s>h4^aJH1M0mu z0yRJ11r$Gj8mRJ5e4^KLBXE@ORp1Wb%YdTm&jYUlei*2F9`g-D$&J9>K#kMAK;ikl zz!dl!z{`Li1xh|#^rWHW@xYsbs&@gH0$&b%Ebym*nvcH;d@k^+ZyZWq4g4>_?+5OF zvh(q~fNEzfb-eBXYCgOKco=y7WzL5$1EzfcRiN7a2vGd>k3h-2OGdmOQ^3dZ{Wf3) zxC)#Cz7N<2K79L7vLEN z{x6_@|2v?@`?7BuN{#|&fyaQa1={aG(fzVfr`OHENAbM_RDZq=DE|Fnpyug2fuif* z05!gk-Qo0~3h>!Ljn}sT#h8H}{v0SeJax?R?Eq_he>L!9z@gGmG7bDIpy*#3_x^k* z@ZEfWGw{8@7fu9uwrj}rvmXSi{a*ym1D`bMx_$&W2mIPSKF)UnAH(;T0&fPs2Kap7CxMcCcVFr9@rQtti=P0h z+%;DXB`x5Kflc5SfRbm6S9^c&1!}xM2)rHmuxp%Ni$L}3r-7FNAGLQV`Su}n3ZUfh z+nzRLdgw!@hD;B=8Te;B|0Ga)=)11< zJ@n2)L#Bs*;F&|Fhn_k-WP0fA%#i7!GtU|_J@mV0{rfBD=r`~G!HFT$LodFKdHyx< z*Eh2sT*UmpYsmD_r!5Yd9y)P~`A7LLFAtd>dg&_ji~hV0_uTC6kt{x%*;5545{ zkm;e1yl=?#(02f(hrZ_pL#Btm@g+V_U-wdn9|lSfz4SYVOy7L%%fq?_JPuv1euY2( z4&YDF-aCQPLtEc9WP0cmzHi9%(DeJ^D}MjttB@!3=h^>t$n?-R{Lql;p{HLrWO~u< zKQ?4~=v8lkPbt5PN(KM`DW+CKLLu5hkpS%K))t|OMJiM7oAVu0lbCp-}p;IriZQppU(Gp14n=l z{hvdohmHfqpRa!#^9MZs6bLDkr@S3HgXe316}moz`S=?{rib1~C!~iq-UB^&Z~uFT zOb>m+?;!_x{&wK~Jpa=Bpa<~G`+fd=^B=JOK(Bj&(nDYWCqt%(zU9M1riZTlALqCG zKQ?4~=*-8F7vS+PK*{45eA4Ij>w%IxzYcsq@FPI!p>O^a-G)===W8*O|9`cF6S5e+F*n_ji77$n?-p1^B$b_x?Zp^FyYGzVr)>KX`oZAK-W3 zm%ixu{=+{GnI3u(4`0dizxy)u29K8{!!`~d93D1&roU>~^w8f4@SztCn;v@TYlm%J z`1rPA(?g&9&|%Xk(`gWl7(Es%0Vbd?pY#%ng=x2b}@ZMhorH5XA`LM0KZ~3NS(?eHB zhi(1)-NilYVXZJ@%Kl7YWJeu&KHwF$^9ju)|*!WRsQWj)%z)+@E+ac<9`G2dcLm#RnN}@ zRsPR_(jy*7YX5!! zsCw6cs`quk5#alPqR;1ndx4L>X4ux*!$9G;1XO#k1ggEa1EnVo?e+Ke0yRHx0g9jR z1*-gy1GQeiA1Hn4GeE7&k3;yVAI|_v54{_x_J0^Cz2;Yd8mEh<9M2S(^8Fa_GT({QO%MGQV1@6uV0?-mZv_gk zzXHA$`1RKhn;!Zup!o1{Pxtx{1J&*_Pu}v1*#vv1(Y88QK0JoXQ1@Z=R9NB z^w1vw?&tf%_qqI-0g7I42=EVqM&JED5BCDaUq1o73HYZ#jqmmYPS+Da{eC}Cm|^+!PIp~2Wq^w z-QfH=3)J}E15AOh3E$rid=B6L8Yn)#`9_xqcLVkPM}Zpe-vCyD9|EeqeK!p!F9Ozp zF9v=b_)K8qkkjEUK;fG_bJ+CIQQ*h;`f}hjuzj=B{}+Mk&l3+1n;yCk_+Gw0{78^z zz;EFDj-%fGG;p5pZvbi>A9l?7x;WQ0A-o``LWNXUlx_ zPrMfYY5lk%egQs>&p(Fme-hyT0e(I8iO0*p8KCrZtyN#e_df?p|G+(DdcrG!ckt0a z@k#OD=fjuB0>vZW&gZZA{4k&R@B8>e<9aWj$5HPe0WlSl9|0cc^Cmu;C)e^hz~{q! z{+iF%@_81Y-{BMgUCn#?hY4Xi-xvA&>-k_}+Q0Yn->2}m`1rr@nd0y71!AHkKMA~q zPy9E@AK%I6FZtZe?>`RI{K3pMzFy~V{abO6?C1Ge{(fHguDPRs4|kCK9q>t%(Z7cS zp8(MR{P!CEcsw6W zB$EXn3WeHVYM@;SrjZ^FYT@{Z=_!+`qt z20kyezwqty>}$f`0)JoldxF1T6uut~?_!=Mm~7d<*YVej`P>+u{6>J^0lbaRBPsh+ zz_;*uFP{dVALH{6eDv=l4s31GpAX~nRNk2d-lqrryN1t2q0N8g@5h9{Z{qJdAN|vs zf=eX(_tX4!6`vpEQz|^ai|} z?$7e~WB8op^9y|9zbEs@?ePon5qzG`J1+qKI-mIO7|%Y%m&XEsH$41i;J5Jk7@sfk z!6Z)}%18g^`0V2I^ZLTSLk^Ok0}fH;_=hNZ&$AJfVel-x6fvu6@r(_4;$HSK? z;A{E(H$Io~T>pN}L9&zYe-ZwE6n{ULzfXkkkLLU1!rubVT0Wbx|SX|KAVnK+pSXjo|E^kj_Su#YxA{g zr;%1`txkQhUafR$X(bfTN>VV?bg;IvzSU|LRJN~ z+Vz!_X?tzH+FV|)tSq$CM*UPR9mx>%!tGiot**6NwUth(+Fa?>&UVt}_4wz=HuY(4 zsg^dHl?7GUY%SDU>0-0dXr5`Oouyj4mbTVtaLS5Kj;Dtf^*Ak+)WtO2o*rn`j0$PB zvDWVJcB|Q_rStU_t8lT|0@qq=a?HT)u@q#}ldb03>SXAIstfOyDhtc?mH5qSvR1NQ zd0U~h8j9_7S5PVyij;eQ6Fy}_if&|IcJsyXDm!+4{adM>Nui;}V7aoIu2hz53xSw= zHeYG;y}2UliHP%+)(MJRys=)o#upI@1^iLFgR21ET!$$ zS{2R&l~c9#c3NLyOe)~DXpCc63iGxwU8uKDT?mfUJXxM7U^*exC&xQ*SFtaY+udJo zx5`~m->h99f=S~eYrr4uKF^Lc>hNl%QSPcUAYb@xcR5yno`azgwV6T#<qkE>uXW68l z+{z3`q^&pC(uL;AXeX^SkTDDE=~9IippuR+G^?j-t?Hr+-Z3j#g^1NC_VNPl8V@_n zs+QJ>^>lvSCEU~?LdU{ZeW_JDS#Nh*>kq)3p^Zqy;Z7Me)t_=&^&-cOBh#WLiyc zPcOUdvO~+O%~q$f(n*gtJ2f8I53{v<*5C}Ss+Eq3fYDB+HL8`e!ob(t=_v#5m?ckr zucWQoGK5Q4n+y7G%hhV7T1&5MHtGc}!ZFxV^SzzeB1(55Z2~P_?lj@00#f$- z0HR9iTBt2n)*79hzy-{!s~JVD3MakjHDyD{Sn2s7B5i$SD^XjicJX?oUIB-~cxCOU zr7DkI-Km;NYm?>r2ZmF|U41+=m^yvMCI*md5K8CEOHiYi|NENK#EQe?;s{%YmB>_V zlb>rXo3WZ#45kTau}ekY3LV6z;kD9YIzADLc^|w!1Qi0RiZBbk$ayaaEg2K1um_sU z^?R+w@%74bgBeyEKRK=?a-#p&{`OB<$zsdu$uo~1JBl*ZmcCtI0sD3bTcg+w?6SOj zxj@KzRq`q&o~M}qtF5(_nj~<$Be6+c`x>iD74R`*a3ca@chwhb?T&ZN#QJijQ^jaX z8s+mAnSLmgQMj1<1XK#)Dv5u4WTTZ-ahpv3qV9T{X5**O(c5 zcRi&zI2o#~Dw>j^2x?b>Vs&+`w2JZzb<2BqIrSL~w9!sFD!HIJJ*tVYNoYOUIculQH<6~D}iw4mT}38p|;k_XTz7!e@7 zEV-}&4&!Mq!onL+&KxisxnEp8AA!1<78Ot$fr1P@jmWVhTR}s^;HvlO2$O)RGjc}a zYs9EEqA55cFM(!Haq#+lFe(w6flTnge3|;jRKb|l$kRA>Wvk7J7cHpZpK-_00L*Ph z&jw+66cZn>m!;D4*9> zG52|R4pO$-AgIlQIw?jtTj88+z)GC`$+2Y&&DMH( z@AKzs_7vhMOl^Ft+iFt zFXq=4r2qJ6L8H}$d0!~Zf6zu_t=ghti-2>ER#+*vEu0HM(FIjsVq5OxNLgtbwF(MB z6TRA3?`0G)=}nc>yeILhLKQ+Dt4-+%QhMvl@`z?if)fjbb9@830a1Eu2sT^g93fM% zN?9xA$sT5X@Ce|Vy=nRz6JV**Sd99MhADNF(JWbh(Hk>Fw@MBMXmIx(o!;(Wwd*MZ zIKaI$8cC*eMZ^cU=&kD+fB{Be#>XON7WYtfgH1EYvw=lcP-lFcrWfk&9E*qr?`Cw6 zx~&yeH=4{mv1&d}&ESU8qZ$=LZB^ILT=Z>V{iTv#OM|Z0OTbp0HKIeXu7M32=FU?6 z=S8DHk$MJ;G%UCt2-C=eJ%8Kz^kPn=3TNythZaeO>U`Y-BdGm7Ds$= zf!3B+&E#*pkV4Bv!`*6+x@+#~&L-nQxA57jX>7HUTZHA2qcxO~-eucjA_H{W2U#n( zW|)=z>bTfUnz^*{`1e+n^NkQcFQt4_wBn>S(*V@s_XnVj7m+?sE!m0Q@iS;r<%+r1vJvZ^d4wS)z7tzCpx@wGwsS2zmg$(1XeZ#`2;{$W0xO=6q%qvAE{4}OWQPWaV zx_AY(LL7DFm3y@2*cbhsyXZ7_VYrq$oz?aL++*uezcHp#Ej?W2kE}aB9#&yrk4(Ss zpAiIKYZY8`D5$u;qx&t+i7TaCvsMy2Q;`z~XVOlqvPc3@#)1p!=xI2#S@N0)dgZEY zJ~RABmZmT{tYWPq%}%r0Y?M`V7?WacTkVC@$hEsL-5H|J20ZkDXFAG{dABcgrW4z< z_j4cVR|wO*fh}O%D?}M_tQG#t!h{-y3k?Z0+OErd$N4F@nukByh}e79u)IuYvWA#( zuc)THpr@-Q^MI36dv`(mV25|GqCyaT1kGNVWyM(#H00R4Hw%xrE1}RxIjeb$D$7|_ z-I5kPT+v>Oa(IU@&qgelXT(i0F}Uyzlb%|qY~o7R9tuP_V45#edc@pe0l7`kwq}Ey z-*n(|@x`n=hKD+0P4;MoE7=&h{5XSaUh1E@XWCQo*YW(J`@#cuh39Q03-y>ep;WAr zAy#S$3Vt~%s~gbVQB9w{LMk2Jo(!Ww_>`qsY^CJx@_eJxJ?neB&zjtp_*`nD&}nd% ziRISeNkU_tr2!t>*h4QznZ6zd%(_`CAC8E5_wSZ-Goe!UmyyH%+I;vjY=wW@I-sRP zxX;;BQ>xes`(1*jAq|RcW0QS?uk?Wp_SS_rS)U;KFl3H zPBN988A_-C9n+K|zeIX><%%*+By=v;l#ywjHAQBV(V`Yfh(TRUQyzB@hV{=DJ_!Nu z5bhbj-^;e0)X zmb58b#Ub1fp-`X{DvL5gL=^RnxdzaE6U@6;9Zh!SCssR(f-ThM*G{rhlJLtCB(>N* zHh6-h*@@uwWwKH0_+|-KS2~>vLLMPrx3JdsbVqQ^x!pg#O1w$Qj|Xy{evu^JH3HDQ zgjXsuHO-hl=b61b3p6v7Li;7TN;Y*nd+E%C2tE_<7Rr#%9bD3uFpw(DN<@xHm3Q2; zpFrR%*O}M_h}vr2Jz;I*kZ)@CRRby@Yc%hkBp64eHnEU~@xWurSc&Brx7>2FfhrEp z*6FGFPaB}4g*_5(Q!J`W6=_#4lY+C~am>bH)Ak3nXIKO?5InMac%HVGwuX&VkNia& zR#TT^ydqzioqA5vf!(KBl-s~~S8NdRIFF&pDAtSL1<=WZFm$0#u4oZYd8+wLS?|W= zkt5Tt9H2k#Cgiz90n&gVh*I*-EeGa`hCB)=V?pYRq=}}vX%aG^+RC=e*JM2(CDlg( z?scLY%l;;EV!647m_h<|(g~I7Bb4x(SY9{u28jumdIv*hjJ(i=g>(}WpMt&a>X4{1 zz+D}xkA9`ESkh9&z_ONn5W9NTCj6r2+m@)>S|KT{P0)IwR;n#`_KsJ_eF4Jx zHf~D5N~IAgpVbQ@U3i2agx`eO)PvqgH}jyufl3##S=G%Bp>8Ht{JppGL6j+A)KgqY z%7b?fR>>;Zh(kgFEhttcxoc!dyK@j}HX5B;qnYQk$Dz2RMcSxE8Oc`ik=>pu94cWb zo{WJzT$A!hN_#=beOUl!s84l$B2A_H>8_`i z9SH6Vo`Go@kZ^>;Y+=rOq%6-IlG&lkLf+6p;{gY;AV8Lh{^CJ^~4~x(=d7`EDniTG0{`T=hO*dhfHf=E3DuL!B)@focWkyivO?n0NS+w4;O2&vW>_kZV{~~PFe(PM#VI#)Pfw;wYhtj_)q64Ko$=F? zlje=*6rt)vr;_ds695$_{t<5-^m25rm2mp+yopYd7H}6681N9=3 z*9aQ<7h&TG$tBgTSOL}f9KBKOy4G2R;h4P3(vVi9M{B;DHhL{OilYd2+&wC`|lJ`k4^(>FeulK4k;dTX7}!-N5~oN4`=cqe`n9Wq2(otA`5OIvd%f zmkn4)1Gg1AY}-zv;Z(@j>h0bp7{FfV8ktN)X`4-Gt(P;9=7skEpXHDu!TP(v4k9@? z6#v3!S`XUTVFl7PA7M6PqKoOoT01ah&Nlgcr9d{ZT&8I)WB6R8v2aT}2{};P<2LKa z5Za%3Mmx&jaUsjnQzd7T-dhtVvzNukA@2!Er?%p!bB z9%V>GH|A5f2Ub|{Mq4#eX8U%fE)kj6Ij&7)xc_5}rz za4u&RGC4<4%DOAFNCMk#*)-}qrI#z~=}L{JDhqBb<-L=@iIO4`HrqxPIv24nyk%o? zeR}y0qntwL3KH#{sCBBGnb2OkD=#~~z$P<0uVb4}?#+kvFdDt0O-?Y?RTvA&B*~V% zzc7Kl!RUnH6GxgpQh0BaAW!uacBxk^id(12X=QIRMh#LQ2^$IpL#w6a0nj+isT{`V z1L#mitui&z2!f*^C_jGK2jf_4$n_!~bLLO4+cBUTy)79@Yqyfr$iW@r*_?*_Njp?t zag$TxJk*B`VJa9}K4iydE}Jwoxj{?m^(lMA^&>mPBb(d%xH=Rc7rJEat#k-Vhp#$g z$Bs;I+=47CHIb$x>Gd#?mmYwBsBcgKs@USl+}mEdWAaYe z;{wNq_ibp><3ZdFplZejp)rjV;S-(bB5#+?GE=#WNRkpZ zl}Aobj%54f!V)+_K!9Ma%xOD&hT)1srQQ}Qmr=cSC$SU(Ou)dqvyO~~53 zlFdq!d+x4XQ|OnwO*iu!=H#SJ^B~Hu9@!cO`ToBF9g2#9`Ow%OSJ+Kw%V_@w;w^74 z7FA2d&Be1dqMw{{uoCwAvilbk-;ZqxgOqm^LiLl9um~Cj0+e4TV2+%es6+9`@_qM> zGbPy>HEu23e}942vA>Wmp9>H*L`6vtTU%Z!I-J5xz|>~bh(?_e^};MbR=9lN*wMLt zhmKCqPW37|ckH@zTvKc8(2;#NP7nOqVps(PB?JnS!HgfD4L!kzP7~C$!x`+)AuU?f zED}&?$+nFUYL#S&WHFyHwQ}A;SL~#hBCV>(k1b=FeiPCEYI3Q2U|i4BeuG}3+tLNP`9uZf+EgvZByKWWb80H@ z{)3N=PvdOsiPC4gOqBvVccGa}o^BgtQ=~oLa}eReI_Sy3GqQi<-15PaBBZD8R~fN9 z7Lz1{@ef115%Q4(a=S!{sFt5mSfFxZr+fJ~aKORadVD_Ps>-JH)}V3qreHZuDO6*4 z+>T-?Fxl4IB=Y1nq`SuLe+BN^8WuKI7X3B#&is<-?1yH$*#1H=%4!~)+%-P=wDH}O znq|!QtMvrpqTS)Psv^lzAVU4hqsj+bdUR&WD z0?vj)0yH;#b!}zv%e}A8U{=)`bWVm^mCKJ+&2WerFc<|qJxN|M2|6bcA#$K|M30?v zvM%9cg2j_K+qT9R+25X9g{St0m?GJ6tLf-{BdTI#>b{XKOh=})#q|FBN1aI@WbEX= z-wJk@j|#b|ZTNr+RGcEkdaZU2%z88vgj(0y(7P{y;r0M$u-pfdyANf8W}>ORc^=d} z5l1-lEFj-(O~oDF?Qyu{3SW$6WrkEO;+SNHD9}(>@&5lj*jwVDh<`~#SRU0W3#0U=JPO{;)sd-mM9K$&IGt1=YekPHL`fYt z7B;6$?3!?-DP!tePftdD3eVW#6wzIZs$!c2Sr;XcF--}0cDbOMw#BPmd|4AQ3f{1c z1@j;UOZL4=md2wE!dg`9d-$m&ZLhap4`EmhHa@LrF`x^Fcu+iILTz#iK!GXP=A|6L z-a6ZBtCFS2b=euAP!XZZYF%5z^ls?rtkWCj(-7rB2vdNh+x3U6!w?NRI;gugjBZdt ztcs53oA**^B_zINjOi923UCakfn=O_vDfL2PUWO|yiZ?QAY9a^Lo6di2%m>4seJ#5 zXYVl1nj+R=e>{8V)c6&bPYg|+zH(x;a70HxayM8eN_dXTI;1?~SD zeYb#ER-=c;yNT=L91NKD3P=GcwL^GbxlnLez_+@hscJ6G@a<*Bgqnwu=WKoev63 zYMhIw>&-R75+2Re>`_=O?`aRAW%y0@5|jlvgiPf%;CBjaPxrIT%Rv+O9ckQ)zI^5jxq)p@lQOQIkS;ES71Q$4%Nv5sMv912V{mu&EB?2!IVC|Z_5@pT&gDpnt7o~0d2P`rz2!Zk z)ZyDgx6mXCU@Y!)_mGFK^4o`dd5Y*lX{J71*f7@K)Yg9TQgQ zdET62ZTEyYw9_ElP7}&ooJvC(95kEJ^eXo3+L@dH?N&2zulLkzm(QveQ@7kYA4QaH zWw_$2B!S8M61af*6X#+H5kkhsg4P9caN=Qf#?x^v6vg})JiVoE#h|-~B?`S$ZR=vI z5}UU=v2rb$PCgrS@7r{UD)$wxoFv?cl&EPNMK@ZOcZVb?cq6yexb)SDK+*@f^VcGZ zq_yTMM4oJ<$RTl>g(mV<;j4JMaqTQ#uPq^7pc>rhjTCmd`4S!jz5U1Mf*1;zImI<} zAy>twi)EP?aL|dmlnq20bbfEKrf@7T_RI$LfUP*yel5$@e|%=&f$5EE56Aq{LKcS> zn^{^^QJV=!rZdM5+M&OqNnVcLY)|`$ppF~reL9N}%o3mTyHeW%QZ7%&BOEP0(R>~@yp=}N0EKMXre4<0>!*TG{)@M6b<{6pS)90D8H zxC6`FgmwP`<1U8Q4EowBw=pHwxG)P)DF z8{SyCyRosX8OQe^X9hE@*LvtRumYDxv{%{wFQ=0%#^(Ipb{>SR2=p|UH^C#d+(TsN z&Bz<^+d^xd?TRZ5qb2Bdu|&qrp6N@#dB_qug zKiQI7LPu@1a3HnIqxWev>bJP@E4KncIvfaUm~Z!`B%ZOo1r;2*0=9UhuCNa#9Z(|NQljh$;C1pEi zrpRw1RYu05wH}Un4sH!6upCQqyIsudN_UXrHA!c2)SNuJGq@Va#|m$5iK^*!s^oeD zyRSFO>B-S>EVI*Y5UN^Hcz-Y&Fli z-zOMeH)pxL#`kjLuyiho)oYD*@rW{i6{{A{iRYn|!y2E}YbKAFHikL|)Lv04osKrQ z6nT8Vw$sX{$L-|(>9&F3n$SABsIWJiw?|PIW$>U-%X`P>-CdItV4@Rqwb~T3$Rna> z&YUTuJKA*}#E?sT&k&cQRmbU<<{$15;C+il3nvt_VA1rh%oBpA?BEm86lnyJvG z0vk04AXmUAcx7h?BP35vhE&*_*fTI&Ax3CqAE||1!_iZfoXn0bce+T5yT5RG-C+5) zflbM`6?P<+Z%YdUz;H~>kaJjT^-^DWFbxWX@5c)B+F6UU$Bi2XHtvH?*#bqoSX>%M zfx|^h@6_np%2JK(Kuhc1jDB&h8}(>fZY%f;HYvqo*^33IY?x3Rw)e>FvJbQ!2$5g1``N-b^{G*10{p{CiBy%;+nSw$NAeL7$^WiK^bs zlA1$ZM~bKC-j({lIWQG0>q8F=D ztT0A+;<>1OLyU7<*RR+_sTB5T!f?jCnc~W+El`-Py3w}~0+)t=aTpb48$1@ml}f{o z#9Qh_9G#VO$4!q{DEDl5IuIi=p#hi9-4kwhN6=|1?e+u}ylAE^J2PEC?k>Mt?kW_Vk*O(RzPwQHMXc6Z`^v> ziVncx9AsdNn}^PHD4tYco37XF7??SPJXYVRF({I`(l|pjzUVj1 zYGto|NK-L7*B~}z4R2~k;%M+Tanhhe)jV zc1W?az1wHvO1L?8vt z3GpZ?q}X75P0}JHDR&eGvhMYirFD@z^nn4jan>VtFWSBYG|%uWQz&>ez{9$GeEPtN z*+X-;bNAWYp##%X9M`bQ{!Yy~;g(m-t9gCeVItz&q%0r~ijpL&Yz4!rL^oX5erptV zO&OyxyeHn#_ArEDyk<1JJx6lW(%uQCW5P1TRH+?t+52%d@2rm#ca>u%5Z|;C-O$Pj zmMd&vv#oFN6B|sCeK2ukp)f3TsDQbd<_k?tUGd9-Fz2oE>wq?*SoW+5}+>dVsage`k``slWvK$u-)zCaGcVD~`hap?- zf~_1Ssck>evJq|Ps9S^{jHkzxJpso`^pJAxxj}S{H(XQGyP;MrI85GPJrN^Sgp z&o4He@FJ{gQxcdl13cW<%X~Q}gqvI4xG;+Ci+e&~2u%}Jr(J1r$5k=a98yoX?qgTA z+WWU=N6fpdC{)vjmB^*xGFFPp6uhA4D(nlsYxtT-K2h|mx2pG`de57tE6}XOqu>A7 zRUfkfUaYTBMcpp_&3E28UF4QvvG*e)48im0SYei1G}Mqeqk{(W9ti{Wz?;`}5rWy9 zPL6pA9{8bnmH5X0pQVV5(<8OC>c zOB+XidCmiSX$P3!MCRd~sS7u&$H^)QVQ?ZFipkLT%qp-}XpD?3LL zZFP;kVit{ng3`4l1G`$G5ND;>eW~%j1_^dFI%!P02KVC8%fpQeO4Wf=HoVoAZVbB4 zc9VN-`!BFHg>+6zAgb8Hnw@E;4TuX}clyGuzUSO12flDpTZ#uNNI06s`tELy{7Ivc z9oV2Ho8I*jL(?DNQ+T3D=IbqLMhl58;d zs5rXzrRx$)qi#A?*uX?XP}Hmim!CQ91EWh<@FO!+z->vx!Tj+YyMyYdW9GVNpp4}F zUKqklb5g#2owcH^)M}1J*;2ObOtCe#mSuO+P;I-Xp>X*IOPFr^*sukY;A7!V zje{ZN78;B9d34ttwK@0KhW)h+kEsK}CWL%ju%}ELjEY58t>1UFA;P*jh|IfX9Mevf z$cm&Y=?bztn(XT zqbcx}UgHnBijb)ceM`J(EeU+4j!0$-TSUlbZu87ap8^0EZAk^_?{k6nUyFf575qeLy; zJnF6k!w}ghZyeF#pbDC2J$DRI<4tpOGw8LQCFm)UjzW)w3;PvW&9G^a&txQUr;yZM zi+xH&VO%NXU|SPSc?jr*d$aS^2UE_%vSO{HUbFc_4XcYiNE>>&yn>XbL)f*d zEKjzKv3fPB1FKiQ0C*d1Qw5b{3!KG1uZ=(G{KbJV#WSJwyRX}v}0Vhw3>nu0S zbx&fboNdhM7QXJ&`!Hx|5Ml-?kNjz+{1oC!8|vFnq1~8J)U}5T?6L(+#5LVJoly#5 zG|;1(7R@AFo zT_d*{u>i%<|AOPp54u#Mw*@=Qc3}D-cCt75MH_ESh}s2j;aE)Q?_MVj87>FxbGWry zpQoqD6P*R9-7`BhIK|^MciPFGQf8#B#hg56g6I|LEK$2&ER~7}Ynp@5q_nI;e&pz1 zF|lG&;mpo(1gGLdlXCs~j!LTP>Qa-a(F#oYEEvyNR?bv=^kk8h23rw&; zyx6Gxu=unHLU8>MZgS|`Xc8XQeio*VPnjZxu{_QDT09In4rfpmW#C0;k<(dY#|RR- z)m%M_Z+;4fr7gB>$UL@?TdW0%>vC}r{~SW3@B%w)VhUU+EEmlNgQ|#6@b1{0I&@^_ z*zDZCqjOW~4ThKx1GE(T=IQMgt&@;6w~``HqM8X5wM1d$2uqe?2@I~;wDVjFFHABX zjdu`9ws4E7ojfXkSN>jbXb>mh&iG73!5baRkX2I|pRkBgJIkSkt=a=AwCJjP-T+G+ zCpa;OPM%Zx}&Po#cdz+}FwafyXUY?G+m1mPQF?BIuGkT&-w*`eccjSqngzlcqZ zKwwjbbrvBvk+NStUQJ7frNMG(rOxN561g#{>5OUQwE<IAN^eqMm_O zoq^Z|h20!koSB5y15vZCvTRENAUaf^bwk9A{l?$YgsC+>_Mxnk;bk?O)Qf@YAYJYK zkU_?&CUo1L3nk;V6FdLjQ)W~47rB7A84dj>j^a5O2AfZX9|r@^)_i2cTN@5U+F8E zb|VR5>P=>miY;Sg9NEsirP8jt@&HBGV~h0ZctD-a36H@BHl0Ffe~x-X_)DG(Pcu+9 zfYDy(QXiN*eAo1CbJMd&_Z`0L;Gr9CV8QL*{9*Hw>P_K?F0N)}ZVr%@;Gy@nU4J}1 z!IG&9+B`DHrg(Xf^X>f3Km?^K%ktMUV}mL!$Mis~$|Ibkgx^%Hl#ZsQHM?VIe|F@q z@hrI|{GMf&6r73Z4(7;|%}e8$jl^P091kg}745h;55^Ql*a_ z-1z6~^}7uJYNuf~Cq+r|0fk_<$e7{0R}V|NelU=RCKok={GnJ5*{%{t4Cf+ub4p>8 z=Nk6n^m(n;K8?eM;n^sAb{v>FF>!=duSLh#+AN61OX4(bmWpyKOkXVq#xIg^x$de~ z+G~DWuf%kaw)`O>94Z9KSX<^!KT;zSRc)uobykKY8^D!Xsze>z3~n12>6S!sJT)^c z#;(VWr#@SKBeWgvLa-eWC2?t zqKiKw?v@sVYbFzMNCr!6V$;$T+cp_Nlt$$-t)CxJBmFc@rb6~wG1(}X9dKQ~)zB$) zf`FH$P_Y4+z;)OYcHCywR-Q!EeOUQ2w-}t>iH$Ng|>@ct0?b!<`a#5`k(Dp|hT;sb&Ii z+V)eXx=-EwQV$j%X0=v3vw_seGHxDJX)dwNrDxbii-8(fD2laCF|=KWF{y7rTzJt65T|61ENIZfm-!1e?=a>r<=MO1{;3Km40+_I(o&~O?%IDL3}Zd$zw8n5v3 zLGqIV7XVR;ZGuR<uq*Bj8n)_RZe^1q%Y$*Eq=X3aU892(-KU6 zhGf(t`59j7$Zr3U&5=rcqTjWh#FgI z;eH?Uf%;WH^lXqRg-C#V$h*e|30I|XUHPbK!H0G3xqcpnBUmxm6{pqW);i}eo_ z!7l1V54nU}Y)@?BR*`7D+JxC8+LfRom*TImDZr^R*O~ObXy~;S-NM9e7QxFnHi^y zMf6;L+fmRN|3$WBXmD!^O|z)w+qFhn?-hAKklB91bu7!KsrVyV74qgHlFs zfiy+8nx&V7zf(asbV54>7lC~Ckd5R0~?B5G|%22Cq)V&G2a zK{HmwU`Rf*W8E=j-X~$6O9rZi*xa85#zfytDs%_mA`e9OYqa=GMp{CY_spH`Ho4__ z7QQ&hz;4}9jnjvxq7Lye8jM~yRslVXZP|PdzA_UBQuB>QRO`HMVMpo;=7qi9V3EVD zinYYrO?lJ|C>AQ7pR>s}ED(#;F_CpAlkkj8;q=N_P+z;ZV}(iHqj&#@Nd5nTNS!P2 z!GDOY{}5X&DPIY(g-fx8Zb5oVV=B$I5N1v^OPE6JNZq#o<2o^Oq1US=c8$`=H@jr2 zPA=fg!Dl*l9{kIFTG$%ik}n##l(J(7k7HkOkYsi%5o;goS$AHLiOGHWWsVK^8e~|> zEt7>fC1w5fzGy5$Kes_a1=}ol3hBLUJ0zKm7}WSJ3%;S~$1vk1gn+4pjTCE^X(5|} ztadqJGoBu_X~xc2&{}FCA2pj1YFkVl$p}U)mShak3-^heDVd8iZm|(!=iFd3eU<}< zQ8}|kNqzH-7`d~fkSQ7PfS==Ks|_T zVTJA}SJESyD@x(F%o(>}G8{b2qx7Um0wb^288jyASf>4Cc%e}_uEBBM#9|kDV*$CE zEqg58!HH}{(l{TKh_`NX-DwGBGFAP07uiI4o_b?VyC>ZEL8?`xxwlAenAtaXlZ%nT zWo4SVPbYd*6fY`)rEb^@N8gtq^g6Saved2NE7Weq=k4%XOJK9Z#EFBHMl8e1kku=G zjhiua;27+$tlvQ+G_LcD0`b_}t=T?l!rM5&o7K8y4q0QCA(K~Ew6kS_-C$S8nf)0v z4rKIk=@!gPXadU1NSaYVE-TP7LSKBHa5oo`P%@ zUASvj6_N=P#16TYjUANr*a^=RfElIK$pfdJ`ibJg`cUD%7mt*LTx;&Zlc5(K2jPG- zlcXMrf(4G@CJ-51!7@euh`GXS+_Vo^O@dG^5ksMP{{d5{;AZLnvCCJN|130oRVj?C zmfYUvJA^vR`e zrMjw1Ezd!eSOxFJ4VEQ>iYH)7P9bzBqZvGG-$)tkIM= z*OuMtR!*-P-)-~N;TWg>q$?sL$&S+M7M4u^JDW91>tK66 zvasuj2wTl)PqL+W+}?8KZdwS_$o;GcYCqyY4srT6V`)|NmsE+U`{Fn*+*B&1Kjexy z#(h`Tx!BfZ(pg900$l}pi(Qd$AcKo;6Ph9p=!-^GIj^SKgjo{bk?7abCBo(rF(q1Y zNJdkKai*uZJ=DaGygW9=>=BN{I!Z)(hy6~HQas$E;4asjg}s`hngB9A&TYRWMvCiiTm_SMP4 zG{{(YuK9+ES&wqj^QgcKPOUO*wvqtOe3HUmshY2`urDCiZ}TZ%7IKZzW@xss#06MR zO-LM;hvvMrZ+bnyF0Dnf`toc^(Mbw(x6e$ccKsnvV%^uL6>!$m^b4I-ccP@{S5E_s zYjHF&z*yP+toWf4CXVDu_tI~axlnZ=-S63`wwp=jKu)DIv}I{T@?DzQTTm-P#OOQ} z0xAam&=qv2ELuW`;$0Ad0M^~(mTDfd!<99TO^-Our-SwTxVz+StP89kcUst{5d7ZC z5c6xF#O*L{ToAb`??sCUh57ma3_@l+=`eiB`%U&=4K}aMYXp~N zTeF<1ew9FBqnxdoVgp~re2WDQdeqby!`(BHcqnULi77-@D>IWLy@Qkp=&+2nOy~D0 zkR4FMjLX(bOE{3k);S2K>g8FyaICk(@8r@be^2>vT2^3N9-dqyPXn>Vlr^C!Q3byt zW`pBusmYbtcJx+eZ5J!G{6PAx_hh5iS_NhhRsL;R(+DZSallS`E)~xlk-6kKiu_(G zJ>_&+zgk?!zTuJ5mngUP*HB5dENkOd_AXM%3eVfGciFGm8?3NZJC|TUdHr^m5yaoO z@9|6l)zH!J(a`QD+<^{|m85NS$yvYqu%kw2LEM)F#vN-K%(8ELUiIeHDdK3ry|SUeAHt17-K>gH<4U}k(Mc7IGxm~n(hw}w zf|o?4HTsScLNa?5scZf-Ev@X2Fu9xkD2KInj=|FwX*Mygk<<#VL9lEX4X;t)gZ zl`Cg=&CE{UaOgIPB^$DE?T@x!_&O@RQ5n82HW(Ju>m;?L+lAL{7aFcr+wd1@LzS*| zC@4u zR%)5ok+Rm~Gj^e6eL1rh3HFl5!la0Fc zUKV>O847-4Wl?}3kK9ckt1%^5?%Yy1g3UB|)i=0n;zPU|giwmR88roq zhuT&VSD*~5dO$#v%L|)6fgy^Y9PC`N5OxfZnV532VIC`sA-*CxFM%R|rdLuvDg}du z?x^$TEQ*&H)-Vhjb>llV;$EM%5D zcX^VNI83gFn7ZtFf&L7v@;H>lRM=Og{RREH6xPAA4v#6y8_@Gp1$kv2j<=LtoVg_K zn5?$2NEU7J6H;vLu=(p(0(JM3ro|3cRAkGPLLZXYpnl>+2G$r_cG4Om&g(H_0_y5F ztIV36Ij^8W`V>F8<%Dm+8kh_w3Eo3tO-FOx4|)Nipedq-)pFzI`9VBn$%qKS!f4sz zhNoO>pEO~Ug?6TJ(LuEJcEBvQlyL;yB%#Ax7;G_^sL%brTEFwVrP}7IwG)4>7wnSp zM67e-B)YK_1Z{vNM8+PY1&aBYLknxZizY^dyS2}@5PfmEUD5b2RLRw~;bz8<*c~%z ziCbXeCIFpJ*}p?7v-p*P>E4**a|aI{#e1j~QGA44T3OIhKfEtA*NM!Xy#T)AT}k!G zRyt--O=P6-6Qp*u*_YI}w4WCPcQ+KR;9~qD^lsqgy{y%Kre)Xt$qaMxVp{9|7Th$2 z4vUn8ed;w*>~&vlu7@W{=1usLcDG4^0}&C3I7K0xj8rSb(g_1LgxJ7H~2Rmq@> zRFo@Uz(8l_Ak9tNMP5<^mQ(TcLPlR3t2|)98I0@@*CX~cdlc5JPY*t-=Ip`=IY$}T z;AAkZfhFIg1{{#;M~04*cZg%((1$uj52Kh_0C5?1t%W^LsIxZ>f#~w4E`j0>Fm(tl4X$2e1y#V=ghFxt( zubX|Lv2k15=2>ttyDS%0wlaq4qOyVPCVC^gSl_Q8mhY;f&Xv-z8118v@888fv8(T7 zq+CIOQF324uP<6c(z&XD8JBd)G0lbTI39xzY+cDz>d^^&t&KWo7X(lGI27Y98mc0?*)RG>&$fHX=3X5RCD*EO-t5r;EVAFY z1t%{!sN#TcR%@}t;Nq_K{O~}Q2R44|C{k|z7|?Kd{bY^EG>%tV4^K!(B*USkVbA)j zDh3S1W+>%)x*?~qsdQ(ArFB^n);AMuG%%ZE)^0Bmowbv@ivv?%xU1E!Fj{#ZtfU?F z-CuB=GrrHaW7INPM#V%&aSoEW=i%-$@gsk90pt#cY?k|K4_ztzUTkRVgAzB(pbgB2 zgVKHF(m)3lA~bRV=o`0eX-r~A6bx8hYLSdrpxf5FV<~{rCst0Igt`End9{zr$9Xt- z^4ZS1ct)=A@Pbbo`=JyL&mD+{l?Vj}yhD2h0aq}lv#HKA*USkSxU(o;Q)&C}wq^IL z2hmojgL$pD*}S?;9&tIm2hR^~(!{6o4lGyj{41s*85;^K4Q^nQKKY%Re!`yNu_rnm zFv)s^_r^W+T4agX)>LjXzYtuy=<5od=Q~?^tl!kTWt3uNo?L79^mdQA7PaYcjLK0t zw`K3Jkuztrm3|V$GO`DC{)#ATi-=BWiw|u{(F!0dz#2WynpdEnkxMKRQk+R`jTJ|Z zl|AYBgeM$X68kO-virx)D(@*eX(N*-O$9??2TNDsP8)M{xCy{sT5O@S#U`@#z87l~ z5Pqqngp=Q7gl>^8;TSZ71zkf4oqAD+x^;DlC4_}ajTLBPSDN?s0b+YArBe63yHatK z^07_+oC7*w1~EGr^~?#XF_g*^i?0l3i@ej_Z$i(3Y-HM~pH9PIN@~V4dt^`I5s@8& zi!CnE+b%XuR1UUyNSkST7^j4uY@c5^U`z*~H+9^t&aVnb;6w_+vgR5wlajTDQyg%+ zORvL(MA=0RBxB4EDWx4$O(SGuy_*7zm7%v$ryC}Ma3|Oi@c+%>6!PI5IL5G74x(@u9pssl%{-_B zLLUA5BZ3!7q15iC7#{LbEzWGyx3_8JIEj441MOkcn8Q_k4*k>gVxhTXwYf7pDq8+9 z`MqWFA}V&Ys{EEORp}1@TMzAk2@T+mg?3(nJ!rK_s*J(+2njK9d6}m+fRx2OT#VbM z7EOH%+%Q+-D-oU`j>mlToPgX?j#DDX52suH#k{hX5fLg*XNz^vEj#4ZBlNE(eVM7jc)BLJ&fn)yz+CjY{cfIHv4fZU;ACHr^Gr;jS6Jv=TjSx{P zTB%C5TA5>(%wX*wCuc&_H>=DUEu2A%NS9@#R8F151|O%k)y;rMx0}NP&mwSJo_sRohw8Fd9RAt znBTO|I?HE1zD&0%-rMhijUJ^lGm3ThHHc0sI&DB>d9O@arY($?9umi<4suLf%!SEB zgJmGvgy}4xv30lNW6oJ#i);nr?KoJQ*EA75H-XS4Yh&}8!P$LLrR;Ww@&@%-MO@LU z-Y9S>J~Stg&1X)7JZCp(j2CkcP`j&Nc=wTQ(RZR#)vV$Tu<06=UV70`0lOe}#x#hf z5MbJJx8op&)km|x=d$EHj;52~v)x#JewxIAYa64>oH)V7P}*@Y8ffVf&X0pFRD)I^ zQe+}er=3W7)K*JXsEoi+Ym{}SuX2=Aku0G`JeLY0>weq0z#peAv?m4`PIQI zqe7A2!+Wb9V7+efutD#h&A)#3+(10OR_p>#53`fPg6*QL@>J`p= zv;2;*XvoB5AKkKc3GUBQ>d-zB`Fpr zvtRgnQkD#|0WXae^B*Metl{}J5?!b}EE@8EgbW%o6|x3nyi9EE%KuwDnZ4klN=|pkG{pU>bEiC)YP7^<3E3wJ<3K-HnPssowQb6$;y)^)~3r zb4==}YT8Dl*fCa!rcQq)W{czrN@-C5g|WU?asf@>N=wOB1xS0M!`g!E$NlESWUrZ1 z9#dCVMNSYSmZXlzXL{_xxPjUIE(}ek8=I{oHwlSf;=!PEDfA6*gye-R;YGJ7XZnn* zgJp&Cm1{glw&hxjJ_NS5>H?O7l~wkIHY}Js#)HhCQFM8$~<@l*Pz$hEh2Uev*_>dnw3){wT63E zZ&g!v4<<>S$ZNE1JJdOb)#LZ*^0D}aISDMgPMQ(Z#EB&>(rH~~#hOc>DN?*)t zbXglSe+%;r5-%x3!wTf&@#-7{(^Ragu=I&siVa`9r|W#pBy)!_okLYY-C;I+1#S4W zqFaY#z=em*COJbMZ zAnVQe_`)0cm3yknr;Qt_NO|TjeKUui<@fuQhT+x&GFI7FgbPbPtHQR3a748y*oqso zvk|t?LYT!D-h@(R>@ae_)+H$IJGGiIzm1*aW(#wB>&f7JO?g?vFB-1#oe2q~mT-#q zGV=;!QAejRvsRhA*_od=XVPbkgw=j{v>7P zvbB>SEj3XJaEqO|*-Lo~&ZBv6Kx(DAQnI0l;>P9)xMkI--To?O7{9I>xt!UMi|Fg&UVV+>?Q<+bqhEGy|~^n{FNV+08FyLI;!4oLSdr!BKt%R|mj&rw$B%ADq?MfS;wi-8KfebV@b0UmPx^k11{i=@#H{^*yRHrhBp6ckQI~v+H0rezvKx_`Lk+J$#8bp20u;7+pvL_ zbi)lX_}2HryB>W~RLJOoLI(3SjK&x(b@siI5sj8W;7wlQ7{4mk0HK3&%HDJBXrD1B zvVvpU8|ON0Myl#LF89uB&ZnWPwl;IRf|+^QO)de?3kj1Rdm_(3(vNvjDdVIb#ruyo zztXty+LkUT&dYClEpT2e6VYLeOiVK*_SMC7Mqly9##~^(^5$SpvR}=N2z&3Ocjst? zTqd!WrnMEUq&>G^_ZQbOq#N*+$+!&|E41c0N%=UD*&K|vzLqvFT9~R)BZ!#`){D(p zE4~nuqt1njXJu?wI>%;k>^|$5l#opW+j&X53#)s^y9}0kUYUb5cbbcd^-j~=Yn;*fP$vq@1p8_HUc{z7i( z$!Zux3YVVU!(r=Q-f;1?D1${pr$l^Wn<*#aUP`+VX)9&4Xv)ypQibLsAq!~v4#)lIndluWY^291VQt9PlI9=MGU{ZJN5;N46^98W@SzUH6n z!78IKLF+wd0afw956Gnw&*n4LN}LgvsN{w%W-KH((!cIwwM3qrbctn4`9WGPJ}lQW z!Jd=$?8Y8{X|#$8u9?BX^pzc!U2M#YG1OKyr5X1hIyjt4K1Y>f5f^lh78z2A$*{my zG5_#s6pU%JBaJ^i!=SQgJ7LlDK|V5$QX&nrdiz?Ah&UNFR?cs819U7M^`lS@&5ZUm zpgIcilQqwnF~rSHW}BVC*djuxw)|hOgn0=6_nb)+@rpizV~Ri$&a9JUArGbZbX}He zwl^zQ(%X486!u&F`{R}AKx~C&s)mq8g{ymYHcvLxerJ{shi8sub4A|YeJ#A~c}8J+ zz-N{9+_#%4Da0ror-2#f zDNTJHpcMmho}K~*%yai2fHtF_dBMX|u6g5>1m)T&M@Bx@^q?o}=$;SVfD|&>MoaYx zE=tqQ*2Lm0PK}d@Lr<3K#6RrVS@kz~?~K9ZtWR#Pk)Um_>6#er0_vuV_WA~ah3R6W zg7T=@gAFF%2xhQ#0NfJWTP|0tjv3GixPCAmZj*TKEa3)8HZ3IK9NXkv2boe}@FAw% zKXe^n>OZN&Ve;pviHJY^*s|n^ocE|OxB%>$<)Q{U9)HbM4EGNtN3rK*w)){PnTW7- zlV0jUOFYoRBS=!+3a4v%+yI7WBxuI+$(?_y&QMTwb7#|W_ zi)^BLy=>S8WCdud>lkClx4>PzRy^)YC`F+h$8tRF_to~U0L0LTop?1FIGxm>2O5`yV#fD=f&JOlMm=G4Ugk#*ok`+Pa zX&0I{&J}qII*_E0*_(xOSsbM6E+&&Pan7OcE?7Tgdjex-xm6In$w}OVqX% z5Xbh|c|OH@7QC$RmMkS--pvIN#5belfmdr#l#agQA^6_2YjD=h0- zEThHPR|S5L59y?xdab2*(9u-M@pTM<^<@)a5C0C>_Dl5X2b;4h=6SbKvC+F2;cYlv&l@kJTnCQErlCx}}*$ zjoKo~SGqD<;Z5lVIt{?}Wd%_chtE9R7UN{}^93QOg)F+^H{prs%+dV!Lcz(fTsd1` zUR#bjm&je?q8ZF%f*B2+s8oK1WMecQ{^l)2ebc>l_uyub(Y{3^Nv3 zv_OMdX6>E3m;&q?qildYLTxY7H!(+jMW?n!-pM0#&qQsG8Y_&pT8M$Pj3 zSbSeraJ7Wyh=}>kf6@L6Z_;{xq86er?7XtKQVz2<+gCIl*q0E)-*Rsz3%%KW)z#jJ3%mB<5Z(~>y zun*H@D$k+-RXiOt%-OLnf1Ab6qC4;?6SR9W9f(;NOsNyxAS%tR=ZFxV%dLj9ZfiUQc ztmH1cfI_UYSSaYJau63QDi#UuwQkKO^g!)|amhCL!!5ZAUaZJYYcX761VN{YxwF4e zpVY_)Wp7+^f|_h?8K6J++Rt`U43S>Diw4=H_o8W+B(Lrc$)_%Az zT0LbODhZCb2PG^veaR=XmNR9a*<$Hw1Z|QC&AS%8ajWc0-mLj}KxR-SL*_)DH391x zqd^;Em#j8(5f>fm*@A->;_nCan1%=(Q>?NwhO*TK8$v)*?c(jwmP~`JM7i-aBt~Jh zG%BAFg2*-{A!IH`dyI zk~f`D5J0D}1C)Sg)5yH#)+anUwtpD4n6)wb=`tr58QAO-V*cB*AXmoD4@*I#6Dx|Sj3>dZXIcO=%ZnAviDpVr3JLOz)WPqP&KHrdn~UeF}ip-rracMT(cGK?fML|9LRbYX>zWpE3F zNX#2=>Vn(6OXrPA@Ag`|vb_hrJcAB|6QSkykEzcf8k_gQH5ZDmRw*4?DBa?b>M4|B zjwd|ZDV=O`fJH_3G__0Y$8R*Z&DvhV(vkMb`a)^{+R1ilt~r%XAK7>4@V1#_rP*+* zZs{N)#i?}nuE}dkyY`eOuS|DOPVL!KVpHd?ZHL(!R+>X)Y9k1nt*LZBHVT8A(p;^wJe6kOr%(j89XWJlI`6~e_^xdS z+{P|x>7Qc3JlmPTt5aXO)=nmeKIId0Hf3XC^+fKLbc4%tRw~59DXr1 zSsKF@t6>)%CR=PR))9gN)^2`+f>P2YD)S^Evfg#hVRm~N(@HsnnlQa?747qN7t#pZ z*!?UsrOc~B_t$b*7KdBdghC~>O$mNq-DJrB)#=UZV%N^#IQyB+-I-Zh|0iu*MQgW5 zn#?~k89Jf)5#B9T7BGn8H`_07tz=~PM8r^94aGdb?h06nT_seJa_?`#r))^kjqJ;A zz8GF*$F8q`@|^^-E|W*-cA^tgr1mU%R<`0%WBo_1c@3%{fA#;iclOP397meR{b_%S zS;!8MJ`NyKl2=Q66i1Pi&9Fo=NNBwdtwVt~lCbc$7=je7^?mmHJx^v;SNHS)14>@s zUF_cNikR-M%F4>h%J*zbbScS0)z+fSSRcbzKw#;ys(x|;^xTe)rW2Hc+}90}f9hbq zkhgplj4sSo6K;WYOJm>Oe2q1?T?_Bs>C%MDdw2AnD6dC7tE|oQ25`4+-SPzS!<}m` zq}1N(jX73etPFomfUBa;1X0a0(=#l!pap@kYl5s#24(23g+qg+aD`eY>{?sTXUl4Y z^}%=_2C&+}Z%=%D(Ld?sw|b~=uX4hX36-Q5b^A-S{i_`(18fpL@*T##7ZHzr%WtX> zY)FU_5bF!6QioKC{SD)#*|fTyE}XIQvcDz|_9Yq$0mv|gd_oPScqZ8ihV|gd{XaZ> z_U*HWzkBq2``Mqqeg5#-zdn4%`tmic*~&(~_%$zdPZgpd&tn

AmOA|M=wDgYJz3 zUGe2{NE2fupU_qAmw%hK{`Xd*Yby?ole*t?@ftA5t!#mBG^L5xGcYn+;o3I0)7F`K zj$!bTZ_k=(4<5C-(yxUbEq<2$uKiNGjpfV9<0lUux{8se{$TP?|MX9fFm0WaQ}^1o zFMjZYXA4;`8wl?kieXkYA&Z4BZ6v+M>3<+G(hU5)b;!_Q;zPcW`2{go1(7hp)m!o` zTUodyv_AF#NI+x|5xBO8j1RRq3_}`cn$hO(j!{Iu;};@HxQTe=smJ>->MK~bnhG{K>Mhf)=`ULT)rDM!4Ezn7-wpSd8kcG((^)uUPJ z1AqIvQk{p%Z|A4S2VKdA&j1M&PWGs_-3|PoCHes95B4V0!^!ky;miDi89w6#NVS}N zuTiG=D<~p~A<)4=TliYoy`-aed{=fNAXsVo;UZQ9>07u>;<9R^EkgZ#1gWipR}tJm zzIRqJ>LCL4!q?rhSNeSnNvrQ{69>}Ldcj@;L$hCX{>gNYpEHoeBCQ=(pZz$PDl!&m zW*j>UuWgN>Y7C_7(h}Gh(*MF#I#^|Uf*nOdoJH)`c&>BBW=7QwXxPTWW`XE5Tws*u z*xV|w#TsI~Vt9nLM%F_|d%2NPCcdNf1ZA84Y90{<18Mrb`EpZ6m9536i}QcyH`|%D z5~nKaLW7Sv2R#DDnq?3|(=D%K2z6D{81k{(Pf>~z2dDF==`X=G0dDTe-VHof2EoKA z0x@$OzQ6<%OS66FSdDcMt|QNu`DRh2QLfmu$>}1BdVd`jd-imu*K}sJ`p#nxM_j~J zu7W-5!!cF1~;U_G>_>TtL{cw_%D) z?ll&%`Rkdwnc)ZAy6@S(+Br*-CVQ~-Pz0$ZhjFqF^{+>5OCvBN;xM{E!uTQZ)*TR1 zc*mN4I-d@ z0*LtZrs>(9efnWwpUprTeLYcOHWU7auA4Nc^Ca>tAX|)F3iVQ?sY*U6slGDy93xBr zxH72mPzD#JIch_}5_YNUmvUa3?Loxu1L7|umOg>;z@p>|23X^sDo#ia82+E8%AyTO7wxDiHup>e$iI5*Rio9Sh4Zz?=;*O;xnCazv5A z5YJV53Dsf;kmz6Ua~g&n=?dB!Hdm`BM(p4)^!BehWeKb1*Qc6fSmel*)s z0O!`Pt_J4#l!jw?M^0XreS1k-;!Ddf&qxtn6{v0;z}e}>n97toTR-33*<}* z4->v)x4_Za{%%|pmTMvi(qYk>A}B{UtOQDO=I{Vo&;`^Fd}(Cp5IGp6B&qsf#_aoo zi$J9=piN>UE|0TQ$q5o13F%*4G!u95W(ZvZ%4)OJ%d7*)0@k$7qJnb0^YhaoASC-M z5b$c}h}yLgHfJ0L$Y?HHzqoTNpu*WI=wO4!mmlB^m;cF!zZ{`}@E&O=Ri0YN2ex9Z zt5RApjS(fV(y@?P{T>=_Ts30{mS|*qb&gcYoGRG@me$Q;APrrsh;F=CEwTEj9L>hF zBu63G);br7i?xl8PtyST7gN?7BCzk8kF)dY@THru*tfnoQStbOH^28Xht}R<9blc{ zCX`^dt~VvPdRV*b8fIR8&lrIKBy|;(sSF^n+=s0YCN^;JN5DYUZps%|LBBA=U;+I& z1YcsqWfg_0Ou5p^`dIU_FvO<`RM7yIRD((3zHHq5SFNZ&@?bfa><7y#K?XGtfuhBV zwi{mC%VgW1SSt54oXSOUTx2H6-03g*?^T5JWq@BxD8Ce}a%g`-X}kscno_tw{n6t0 zH~=e(-K&G38>N-E2b?OU8An{osva2xa6{h}rJaS|3V*Oekw5*=S2^tBgqRfUJCWBS z8OZikdyex>B1t-}K2r^_B9yC0Z(%rq^uo^Kga&@#Grns$**Ku`J9MJggyP>JotmxfG3&OZH#*UKF;I-i)s`>kKMDpvy0J^X74)E|HRaVL(6 z^P@^-)#z5#&OPakSOC)yQD<~kK3&)r&|fQW_HTNU=5dhb#*v7tmO!$L=^C!I0!PMF z^y$YRf8;z@{h@!Gcj(0cJka;*_3N|w2<(M6dPJpB22>S4X~eK~PCeklilS@{0=E53 z^+e!&C7ekMK$Ik)%sO9KKLoUd>sqgE^7RAi17xnOEK70oZYZLU>S`Vdr`OoYh=*KF zNgN(nw@73V%rtWDNjuuAs|Xy0beG3nAwWxL=trM)9FXoo^uCmiZ_nR%HqyTnq}>E7 zKs;ok5Cy6~|CftO&99aCPBw`8BkP>p4KBk36!j#ZVGOHusqEq9n4%O$h5H<<;vR9T7QBKw! z%d;M;7{43d(1Zo|U7unR`lCcb1dkFYx^8n=4s{9Go;J<=mVsyOhjlrILksbg1F2A< z`)!q|x0vR;dXRU^)6MS3u!ZMW&F^ys3k}qqGIoB=7Av#_C)2D5t4nYmpich%git!H zJr$xccxDnTR(bQzZ1-rVf9i+Jhkee)_g|f=pb?u>`vAC3@bVSLdxV)StS}+#lUBDK z1@iuL$J}h`E&t2t@V_qKz6!12C(xP&=tdCi&JuyRo>IQ?@cZQp$t_ciPk*OI*P)Sr z<;AG4$$Eb=9MZ7FDgMxJ-MOp#S}uhw=40Vx2D~tM14z5|+_fbl@DU@CYGM*f(*F;QbQF`?rn` zyUI}Ry;k|Mg;I7rm9mQ^NdH#|KRhP0@es!s&gv}I!liR)x7G*5%y+>@2a|`TT+#hb zrq9%_v`Q7CW*W=fk=}Itk>K>BnZ5b;*$G;#ZrP~eA7t7+NgGO zR>!B#etz?NjepkiwOXnY%&rqZq2pn}BekVg^HE1MybRT+K zEiRRAtlh=zRVIm#E}v-;Zj+G3g~1kf4~Z3R;gqGC|Gn$g z-I7IaZ|8iL|BYY!h`fpwpd?2n@fG;Mc27C8ji1mLaT5`VB?;*=*{-SF$@-o0NOo|$ zBLSi-yNLDr`1ArcC8C~e>8%AsDQuG7Z~70Bc#CWzxL(%VjEu$ZBGt|4MOjVksrazH zp}9K4Yevk~Ief7*{oR6=3IvW?icRdTtY<0jFD`fBy5{pTBhdi8`9M#IRH;0t>&Eh; zH+ZtXyYts{^dpnDl6#KH5XBpY=KEJghO9D01U_jF7{r%5y9e}qt)g}}^t_A>Z;cjV z^>yA?;*2Y>21VFhfLz9zI)bMj?X)45-Iy7?a&r1M0R7^WnhbhhwOnH)pOt;}Ue9>m zq693Af`MSqQNbN7ki76Zz8=mvoUM?vx_imFvp7vY(e!f%s-B+!-W;d({sG1GUw^u} zw;2}@#DHl4cKJA1tB>FOyM`%y>=yX2GlW?wX_ptH~dMUsZf(sqo9Qf5aN^eRbtZh@ug?M1xnS4Rf| zdsc*S1SGp6H(Q?h@RW6tLsC05SjG)CHBU3L47UYWfnAlP&nlwNJ0%B8gWArH+{b23 z>I{PuE`LhWxD}~>P*EJma?v+9{${G)b>R}MQjf{O>CWCg*q98B(MpMbVvPGQ0x>ex z6eqt!Js*XiL!WjGe2_&1%zxPpTeCKM6#c zhJ`WN4~bf_HFzh^)YpQJ`~S#=QmrfKgHr|T|KaP;AAbAr!K3Xb&t~f<1TL+2f$?%~ zE*-Q≻h7|M4GcIA*Y1cRN#2MPW^B7P9&fV!qjYb9-}F)+X+MjnoUAt8+A#Ii~9V z@{I0$E-7TLWE_boq#lF^01-_|cYvivD4o@12uL?#zXfeJB$sH$*zy%HT%6J0iCiOd zoWpxuYGmp(gf#jaXHN*6lIO6g?Fvq=MpQ*Rta7AE*>H|*R0cxwD0ChiydX_ML)CXv z1uJDNb#nCl#i80Qb#JA_AfSpgwucBt4sJ(0scSSE%i`L0BOBDNorvbH>s&IDw4w8h z_PZd)=iJlL+>GwkWcs@IEmcXm*?z-f)h4$FYHuJ5z49LSM_Pm+0!!-WY|Iv;(55C{ z&4Hwc3vtGz3rVdEyfZ|ckNCl4h@KAdLJ9}Jaz8UM-4W?bTb%B^+{BR$yf`?LxBIzh zk`3Y$FeYd9l>ru%I$OwONCw=aNo@@TPCE%*v=^~8T;3%RKwekvOl46@v&q?pl)?FG zBF6r&rH~e3i%TGbNScfMU)W3!QyTk{Krf$1yps4tUre?x=1uMU;YRU7Jy=$1=DN$+ zzF=wTaLO2{4^*eZw0s(RyYds?Dx(Y<7qDDCtr+r3;t8=-rKY6`31Rn!vn{5FH*Y~5 zA2@f>{l|2xQM-z*nJZi2#&qfqR`V!)eo)fSJhwDI>PyVG2$d(Kjm3Jbdq;%E!_&B$ zDYzpcVSaH=h%4MWlh*=r8>c|fV2tp7D1^>;=m({6aEVq??GrEB^=a#pX_lz_<_Ig- zjl<1@O;0WZ4GJjeS4{uw$$Iz0dMlWzV zesFWOC+bIoTO^U=clodP160C99ikrkmh%}mr+cQLbgl-87irjsLYH|IQR=ZXSBwZ5 z-NdJ5j}F*aqdiRF*%7h1WXw&O7BK&p0EZ9*9-Sbt9y!;;2Or*y!!Np}Dp6+d$@ApP zugFTIV8&a4=963a>gQq@A8p>@sHU7Bs;s`{WemgI3bQ5!3y>RtFcuTil*sH%_cXIng zk(NiA?>2CS?0tt`8UqXCUNkYSfX5z$9 zkirj47#@u|mRd24A{q-^O>xBm=zyyxEVy|-ra zJlWj{Rx26gWZEf`$yCop(JMa37iYQbk?;A8O^?dtW_d;>i^YY6jCC5g}!CLD+3(?k;+x$adTwlEfu^l-J+fUazIj z5emgL)^P~ntaYVSWeKreWvjH>W^gIhdbzJn2cpa3C1x_&A`F9JQz5rl%4!sBHog7P zUk?7cSyz}%SC717j0m<{4T3N!D*ta}K}9gI4Na}p>g^C4xtKsq0{?31#lq^eO)h>G zJqlb}Ry#uWFCubNwX4bf5yBQxSxQ0b=~fS&h(qP!?1vvVIg+n0=9`}3Z+~lWUDgZg z!l)wZWh2uoN`cvnRLUKXDoc&W6{gfToIbD;%!9>IrCOYRgF$wAg0MsMI^? z`A&uyIo}id(a#;}w^i(~=1cvJ2{})P2g4`0R+!U#@`=LmbUCJyayu~_^I^YWPrI@5`^??*j3gY$FeRW8izl>S_XWffKD$_AgbdtnhUB! z_T*FkXLQ4X+bh1#zG|?$`f6-nV=72aM=IM(A0RR}M7H{zc%Jt6IVJPShnxO?4Rx&s zh4;$dUyFCPOCqyBditXwsw3aJ{o&^Af7!fqd-KjmtH6h$4OpL68=AT}p$-AHq1c?$rJwfN{WKpBKYgl3wQM?-p`z(ly6#H^3`zlp zz?bxRaWg>0QSH5=M31wE-9XE?Qv`9&eaAPm`E5)fNbKKznm$FM6x|CT<20*ZUIUw10a=;0X<2~3`A)?g-nTe>^Q*XwrDbNQ7Jf`3 zLu9BsRPe=45(L%c7U0v>U-Jb90M@zZ>vzBT0YA|3!TMcSiA=|{xa7f9hu_a`ts6q# zQI2Z-`)_})6ta9xiP4>s0w`C2tsTk>kd}+@e&_t0(&SgcKh+k_HdJL{gVoG7fcx}p z{qAI4!Uv8xRVt9SqMx>eNtGMRZXbi~0=?^L;CNw8i z02)|H^HLFx;h5vigPQMl&JL9#=B8Eg@w32pUca3a;*zA%+@i74LH*HCy18OttHR@T z<6fFsGVrAmW@vy2z)2ChY|6PSSe)FTQ->|yZ$54iP~_?KWni9?V)CDel8X1=`u7{A zth?BC{f~dYd3WR|dNUO%BDYuv&;Zd={B92s$_1P*Q&|mo&I=z*KIfX3fu`ggY3~hhGLykPysMoY zpMa>2a9gc3f%TRjk5(paN=sda*$3H4xT@F3TsIK9TINuono>Wme@>!&xZQKDN zA$2PGs-aVtZPbd4z|_ks*~8qW;W4UlthxkPxfLT(tSmt%Q+UVT!R+>{g`vA)cN|24 zA0RF_Ra5=`>`+zH&EnAxn{fZd888*&yyL*nzdJme5~44TOV`I~29mckFFz6^zQvu1 zVk|;&iZbDY)$w>M9+>);4_?n&z%soZK9o)s%vnZvr+X{H&_tJhae6!W)N}O#C{*X`s0br=Lu)nXo|pN7-ur&tGGuF}iG42PJeXh-?E+w90msPYD8(^(Co*^Ha{^ z6vj=&#=h=_rWhSuP*jrp${s}-Jbk5Q6{mZ+C7RV~w09z_Dal)}%iy{)1AX4~Slh#N zq%XW&+Qc91s99|fEXUo!Ng8Y9N|Q@o-Aa`H#Ebt8tVnlcCqi_=M)Dlur`bQn%P-e> zscwAmJyx%k0B^7cHO3@OmRnrm#nHQ1J{Q2awtQ`C>oQiw$Hh_R4GgNN%e#pr1po}| z_qHQNJ5$l(l5v2xKAp+b|NQB_`wy3mo@IV@#Y%3MA6jG<8SjfgPM$t_;G)06N%tNv zelS@;f);Mj7i1OzSOcFshMkxg2EOLmv1=B)fm3INug#QA$kW@#_U{P5MzUk{FG z!E9HJSF7u+9IOZgt9j#C<39Q44_lE&b96(LdFn4)^jq=z2`8(2ag%$H%q4yP(|sLqxORudR@ zF@Lvv`aNeTh_w4V2bsCdOp8RJs-m$887w>(w>fd#07KLPkGV%P-LAxSO>Pk4b(_Uv zsCoJLW||s^D9?F=>$1pm{0~#t^`FH zfT+FS?j2L)JE77>1~|b?x2b{Y?!8hTQt|pjjpa4nYiGGS-Cq9SXx^HJ<5RR+EGH3% zGRr%@j%$@iM0?5Tw4tD2JZE}+uk|25ugl#nhSn%q5PNM`)XT8^rg6qJfi2m9=%=5xxToCYs$+md2v5RV25A3BXp=rDl-NM1NrfHzIlNf2;* zupcdE!_99e1il$}1d0a~VkCNOvhn!zdH5x8M~I$L|9XQuXjLPNSL8=MNgLOmB+8h` zHhvqjku~u;amhHRq1mGVSPPNCmpI)5@XT)~kas({lJM!9Kun$~w!wmse+3FgR;nvX zc0#KPtwC=oa1A_Zm3=l2keF=+DsvMD8?y>Ba*}(57WTGdFqDpYppu?0BHgeT9>4Q{ zXa6=jm1OTsV4VHiq}c$raaoW#pFLwF{{$optf17ZO~VYXo+rM zO41qXnUj$6MiVA;9bLBM<&$;DwWz?M)1Fns2h0Kow3u#@Z^5T)thYK@v%WEWaVwPp zi-)JwMP1lpjN59z;)6mLQ)Td`af{Gah_?!^RBZvnq{kN9LOL!Df4hzHvW@SBU}ezE zNNjquc7~gQRj9LUL^u#TvZW1|%sp^7hau?A;lbO!C8)8YSy~QadXLGADQKW@EStA) zfhzHCajgHiqhQ+f?1>`QQ{E?55SEe_24gnPf_@^2PZ460T1A-a&&URS*Jg6R)u>LV zq?JOxKJ!~5@U1dMAYdD+E1E)Z3G-1iJ~rjOn$P_iTQ&&%ZHdf}X~h$q_T{m~fQ{_?oaXg?wud%0cy^qoxyP z8rEHfgiRzs3lM1-EdpN{<}h4Ud*8_hCKZ|aChrbh24)*3kJh(g0#%PBxpf$f#M&d?V8++-K(dfy(TnR$X-h`+z+!DW_l;XX;gEOSAO;MaXtW59> zQDKKoqy?$=N%8#Z#qt8C7eNDuuiYC<#!J?r{Zs6>8h}UEk(P9ELhFUOY0~o$V&|q2 zZ`JZZ!&ZB|?AQcZY!XsUy$e+wyt}n!I+<@GODcKuqmS?W^T(UHmu~FIZZ_>c=Z7zy zwkLLnKJUd8{k?q;G{@J`a)CjjiVi^o$qhP)-pq|xMIbrNiSAcW zNIPNqOxz-alwY4RoR>Fvm)V7vTmu{Geb!Ipj5;p?$upmFgwmn`9A578hxfmJ_GtT0 z^gi2ubpPR9$~Byk->F+Y9s1p;-FV6{5%PT~8^8fkoaBsDFtkc!!*|NJMqt;GF^-`< z(GFV-+y#w=Scyh=fjz?Bai*ifvc(LkjJWzeD{%49*Y7s*yUH+=$hTB7VO>1vk^Xxvx{AJd~zj8^!{b665R@4F2LDOGHJ&wb!zgS>otKB1-kA^tO``}9l%fBBy3A#R}Rc;Ly z3U}X-_&Q3+uCAe67-RQJT0|Zb4X3QMl5y3BnuF@CkbQ*kxxaUtd*61!E1F>zpc1;Y zT_&X>OhF6!T`$Ll9}>O}QXCXLjal^_SRZ_8S%GQA9;5$bZ#+%|w0L;J5Qnlsa~{bs z^BMy$GE3AF5eD!Y3u{ify`cu?tqf4ziUfgH5Yy|p2*CPfpkr4|IgzdlCDGEMlcn85 zKkPnZx#x$loP+NrHo*K|nv?_q6T+&wh~eb4n0L|#QnnCSA3nA%fb|3s$wvn=79@@2n9|X zJP6W^U)7p6z6q@Gk(pO}A5Mx#dwd|%co*K6FBKcQqI1O2&MwFmvo`_^ip0bNd$aHo zwNj{9sH-X)+De~{LI-Mt`?HN-WXA=C>Od(=yV|mhv39nX^s!xRU~7SNTS6eB*!~3+ z0DQGcZRzO?weki;Y|H^Klr)#%fe4bNS-kczb9BEP9o2#jy0Tf_5E(iK1rfoB4Py-( zWzM)fc4+;@_XA$j-TaAg@vZDj+}}v$bFc=9OWew=vXh078^kow6VKI|j9XZzlgYv) z=6%J268kFg&FQJT2WnhmiH!;cQbIhh76dP}EQPwqz{No!Sr-|Lu~}4;z{EsgwBeuo zCgqN3Eh|K!5;54&B@Kh^@s!;`^i!F+{t1+l-1UXQrL`{!Vab`4ZU4x^N^o2*Wru9J zrq~6kWz`_fu=Bx0rH_Uyfi9oH9Q@WKnqNG~60nkkn2c&*jvwxiT%@_M*Jge#+hcJc zbwbd$f<9$wum~1)*ywk(6ea2$MC9EuhUvgcAw@!!PT`URU@yJib*)PZTz<{_4Z~7W zG--v^pCTFG!mV1kdI*{wTfXG3&!K+IJ--YZ9f8019sejqgeo%Vg6&=L!nHW?+e26~ zN7x>rIJu{9PZk6KsAwe-U~$b2?*A^=f6Tb~kG%N@Y-ZUBZ)jDwNO=Cz>&9+0YTERO zN@_;f=D!;T=v<(3bU131YTH*j`gV*sZ6E?S%+p2Os`5M#TXdr04vIRifNSk_5F}47zQ3t(U zw`D#L;8O}Kw>uzNwEa?!~$$Wj83uV7KiLgi^uT|~nfnfOo{gX$J>@3TF*X-E(v z1__V+({F{pcxMjw{V3-x0YyDW3((aIOvttDJ$b4S!lIxTF|DXcm^|^O)vsWd^^P#8 z+t5ofn_?EfdM#UOi4Rna{u72B)DHq{z%OfMK0a# znl6?S#PHy1){*?;>rnbQcx~-&>Fz;=iCPui{}uYOab%bp$|hKYtVCmCG1TWKv3 zakWs{TM8hh2DsUYH`bp5$PvV~U!``L>752zC)N!6;$R(Ia*#p}-e^jia5GDB)B0qb z2bT(aDzGwO0QDGqLxUy(Ewq%wEX>AX=RJa|73E@jXv!1&px89nz+(mx-&k4n5!n2B zP`-@Em00XVvPx@34LMP!c=3cdsKIse8MudX`j5gtR-{Xl+Y0g;79<#(Sg<`e7{oAe zxiXT~_SW8iw{sO(r|nPQLDv6$1gz(ZFRE{`(hKzgQNlGXr1;B*vnX__KyN!ctUGXg zU_13oo+$CgO!URh#Syxdt6YNrusUhWFgc)~L#=y-gnGQR~Y$dn_5X>yVPw3F*3XeScf38 z+2K?B2x}Ib?bZaxiZ|CfWwQ-o02M3>Db`74hsCCa6XFFoSotg*oj5Wr zhS5B2eQk>&m+eeZQ3_r$76qQQckCdpTbY+wH9rleAe$o+oXU z8H#4&W%vkJmV5~?DC@MlG=&!=iDuc3qfeN43tdcIc~thU?z=Q-;3t6BdBYs^u@7r; z$26v@bP~cI*P-23^RW|#xNn8Gn}92hT1T8AL>^4+l#ddbP>#$+F6GxaW=BeRBGAVL zCiPwG6k90BHbHq)eBJsbM`WYQBgO$tK)qr?9}v<4#t86-SRbX zld@%^*yp z*Bi<;qZ~>x5b+%QaB{DqqQS;$%tUr0u-lMD%_O8AkXo0@wXItW)}isd3?Z|u8+*$s zM6Kg-4`H1MFOO`lR~*&JUHyGVkewU14*&8sZ36bb3Hf1^=@@Bc9dPP%SdWutxmA1Y z%R(rr;)6Ye6T+Ni`Bd6s%a>cUS-w}fgaS2p1 zJ}}jQ+5%rnwwRE|-Jh*K$Dkbg8p89=F~<;3zKF9Q((5YIUE0vsE0nB0CE- zs_JcS_woYrh21scujG{~-RMAByr~+g$g+6G;q9DT2JMa2IVgHR+tbHZx;7^?1{wG` zrE7niant=J%SD74C>p@HS6%A++h2bB@ZYu{K6`xc%Woe%`r->N+{NS%pG$_fzz<$R z%&KM%fED9m^>(IiPQK>KRD-tg%#jo?3$l`j)7ffy8>iIHvFx>+*c7E@m>z{{woV-- z?53J!`gk(EaF3zSYsp>HEU_g#uaPB0^FZaxmnt>y!APaD3npq1WxZn`t@@SHMFO39M>g%(a?{`f@&or!t-*>Sg(+ zA+AI+eA}X(iNePoEPwo&o=fqkdZH*tBN5^Q2&uP7nW5fmxFthA7{#IaqIQsf$d^O3 ztJo3S`GVe@64+$9hP?0^h( zcdQS~5-ToMGxIVIIc{?jr*#hJ$D)3KLmOwE@EcxEBr3^<4rZuDO#82B{|)4ySYDy> z;xwPAT!xG*vmeND_?uwl07#85+VEaD8Ozm7!f<|}O@WCjsIZ6p;u%%cW?`~{C0Ebj zWFwI%iaT#eCw0>m5v!7-HyS5^YWSlEYA>p4-VXV*pOq!CMoz8YJW}XVTxul_vFKSw zvqn>6oiOY-!2-S^iiy7f9-0=LYn2He0+_kPaU8+;Uim0pEiY|ty z?DY#gs8s4{HnAn|igX{_801RyM2 z#X^|94))+eoX7|+S*!9j+jok9vxD;jl{kqalI-ip`5#ArHA6RR%r-UmJX!LZQ z4UVSvF=^B3ryTV-x^6*XWrWLzQ?1*svb$r}zu;Ic;@5!1)$2a!;7&9IptW6|n!c@?SxSol7V7KvIa073K)eTOJaxL(ID}QP>PuF=K0$3SBfpxE_vC6nye{ zR_In1kTA2`1SC^lv25smx4)k2=iO0$mVS`acv_%@?zhS~K=XR)q zn56b348~eZ-ty)^?#bamABjN3->9@a&eIesOI^Jr4Q4ZuI}lRydW@zXT*R<=@_+h9 zR`wT2kIQ&QgfpmV&b-tB|JK{MIe+u=rfv&&plP(z8iZHe3Zz_Nda2ix{;as@Us2&C zMG*8m5|_m3>i(4r^;}XUEYxM!Yn*Khv zfkvwzRyL+e!4jYz;_hkNm#tE0SH58>_)FD2*W(S?12+a)ak`TJcu4)lw}>;HbmsL{ z`$$SPFdOoX>{JZL1*}p`P0=foePk<^JywD85d@Q~X5fejkEqg+%p|3}CAeAt?O~@_ z$i>{sd?J(3iiG2{Q;1C`O7SWT4ja~$b$EI)XK&QzhcbDQJY%a)*`Scv9x9!JW5>B7 zSv%vdG(i(TTQyOOKi-@&h|si+%q=P@LTk#pd+iVy-7fHIPXFVAc)1tmnUzv*74U+8 zD|h^?(qADCIl7_2CM?v3JW({s$>|<4 zjqG_SI$;N53~*r)7Aq)K3bfl*PzlGYi^w4cd*rjOh6P|{I1aKZ&I!&!6oIcwg8H+cj+KXeAb0;aOa1?VrEWKL@ZW6fzu6X7 z%HM-+VNyItwjey^=+IV4F8@j3d%g(RH=L~nQ|cOUmzKQ72@@?O`>@hGeY6)Kr!s*6*D z#^(#(SeSmNg8~Y=S!Wc|cQqZ7NJbQD*CEjF;c(CU$I45(fEk2DiVH_tNT(pGT}IeS z(_=|9uCbuI)Gi+lUlH~55;{^5hA)<24B-p&NvJ8+#92~oB-_Ousedg=uzC1B1&0wi z>!l<~G9qGR&JMGJo$F{MM);Dru&T85RK{`5QWS+&)(Zxo3PBa4 zTzSWmcR-u-SD~VmiD060Fm#VA_U!2Nod{pkH&8NBk+`Ccm-m+g5o#DCB5|N@N>i*8 zBjd0c5anw^Hf+n%2Web2%;ocR-#Z*dJ=mK4E$>U`wg~2_wDry?`cm2Cmg~Vx9(Rwvh+4k(kVTKnj9Hp8={3uRA)@&i}fk!o^IaKqDk+rJMs(#5p5?@Bcbn@+K) z$X`U?6xTw`()Uxu-FKW?-eqhdycylE@49%c9cnHnjvr*Y?g%Rbt52ehn+ZB82K?7` zr$lI~vwIG5j<(5hX!2_e;HP_s2(9ULa)eAbT&rhG1N%bUHFmE=97yS-=@!I{YXZzm zNqQ=WTz%o(i2m7c6^r%R=5IaoV=*2 z>tzuUDFD?-sFMY*W&~Khe$@1P2~SDJTI;F+L&b2A1v3>o zh2(w$g&1}1QRISB>_@Q{YAe6yG!)XBlx09Zgvq%kLj04@V!AqqzP%rA8@QbLPsb=( zX$C6o9_VIDP<6Q#|T0t#|W7t&clkTEjN{Ohy!pq%4MzF%Y6@N)sX*liN*f4 z0)Dsfvmed3G%M#~n#;n(y>~j_`T$=9%y4RiO%*`gA)!Aj_OXlafAp*#_f#vL78BtjDTyODq~Pn5}JErmezp(7N%XR_Ru&c-3!`{TzC|JeIb(w9GK-v`Ec87cB^*D^U^ z3l2~43s9tPonk|9wmSi;UtTJiuq^^Yw5v= zLX?kJTY&O>{$B%-l_z3hQorpavO)gUxO#1?5mZ)FvjVHpN}x%U^PMR&h+8aDEMWiP zH8o*`d8Qx_VJ!x+K;%(5nUwTSE|K7Hjh*vrp}Jb2gcDcqO9vc?W2+8=MZGSH7mAH} zcup*h;`bB}r)veW<;Ry7#A(2`II?DnVpY%^Y&H#7uTG`csPtCVw%b7+ADCBHs0Ix& z2rEix_^%^PBT|gxzAHUX+nOVCLPd-s&!^L0zM1K%{W|^&i!kG!vE-x?wDz5gyX1vEl$K5Y;Zei=@}@$toLJa=doM1hdU zh5}eItxZe+%8ITNN$?T(CpuvNY$fR~$`cGU*4%`VP%j`B@u&<^iz$~@%Zn>8FS0N- z*-yKXa(FtQs7!~}dvx&G1~)O|U!2IvSG3j6C5B@=oL~~L44LK+H*gON)oujy>aNVz z+M^G{ppq6QGrz9%qX$O&ts`L`(r@JmB87%)8N(xIGfAH!C{*c{+6Md}ZUgMrAvR2v zSTT!{DwQ+YQ7m;5WyoegYz!Egm2pHBvXz2uzJYNmUf>_E-jPYCcIW%2CGaN7M-d;Y z91HSIf$o>c@x*eG(t*N*C)7d(YjVTm7sLl|XOpBGc&uH?|D72v)HbTQ{b2D0hIQUjJ91sKR+L`j*fe1X+gX*aNK z`qBHw8f4)qb*ZQkHaQ9Nom^JzU!8FF?bBxuzj*X-VoTn#Z2P11i?~N6H!8w6*aq8T zxlUY5vR!`eEHq53PWUUhVaSj=x;VLNPmc|hVirD%@(o)+;DOY?-cs2PAD?zgiIXM= z?^<|1au192WM*3<=_eaStkgBHlCoa$TQ|B~93&ddaNjh z@`?Do7>Z<@7-aTX0tOe|W631~sXQ?pN+Q?vu`$p{@coc)rDhWW)^O>JpqGzgPIAoC zuWupXMi9T~OQBMI>WUyIQJ72(C3HFB0^>KJ>ike*Q<+z#{DMVU3hm%n#ba82!<11~ zkWbVK!6CUAa|zrrueMvH8v3F_iti4e-)ITcUnf(G9Q>-#R)xaYk}{zlQIUZ=hM5Dk z1|(>`L`;BPQ-Uh9c-p7eavDs28Ql2mNWmHn1``J#U|7e|ru(rEV9Giox>y|>FUt?x zSA!8@g3WIEawE-Lcb_C-^Fr4YZVg1M&jVy-rb-b|lb8-?VO(P{tM9Z7-QQg~*11i! zuK4R!klPZ0SXaU%yxF!}Y9UD3W48dY+jDT?>3cXa68@q*+s6A6e0xXxzrRPUuD6>L zzwRD0lPO(bN)mwTQ!ZvmRgGT}m|=~1zWw0Q;|xI)9l@7Q_EqYK?*-;NK>z+d=!$Q} z)eBh_T{HzFc#1-YYME z1v5>vV4<=tJ`E+br=W1LkY(;cBY)^Dc13b1z6X!Bt11b$0V>0n!S_SeBVo;%u)b6E zX38Qvij{95P|X~;d8YhHH9>P~s~19ON~{Wp0W}!O5Z6!SG=~?~+GjW)HF9k@A>(Lg zWU$o0l^@&t2UyoeER|J}=qc-{R_e{T7h18e zK_&VTFv?M@3yigl*-Mm?MvR}M+}on#;=)n(nDcan>h4w47HN$R7FK}nib@kZJI~Uz zH=%0-T^BhLk{VF?X3XQF7ZUAey@g!7_Fv)44^dHdrL-*(hVhToPq0(#n5cBf6X(lG z=Z#BCKn7JcniEaBxR!Tm*pA^bWneF*iqsoh*jkScsa=qk^i8A%deP7_gdkT<@DiM+2(N(9EdEOPzWVi4J;C%#ecH!LiTic zRAX496k}Y3vva5L55z=n*XDa{(wIqS%J9XfzQvPG{lL|x6WadF-($cDqNqe0u)%rj zPa{y&XLP~oUK|@Z;jN>#3kH@jwP!#JrWH1T#BY@%rSr$g#QFKl13c3hUYR|AAsmqi zhpD!`u2(~hY{X?CRVFS5CT)i5BC;hCekKfw!$vZ}vW>YMvibZK-dR`fZa3y||J(EV z4!hN@!Ed@Q_u`A26zsn4!WiZD3=tE-UHoPWOKGKdM>4T-cGdo zrj%qEq=DTmlpZ&iHabO!oa8;gH?^#^CuJdW2AsV*Cm656+v>}42%zMNlQ-s2?*TKP zE>QUN_CVBOkIO17;2hER9Y4)kO1IG$pe_$q(vLUz9_ym`%DSB!e&aiZT zRE!R&WCP~Ce1$QJG!dt!(#iaNVCmsE1iFZKc6e-b>RlP6GFSxHx=(L^&vmIi%rYvE zW!#p&L)dgjW+#g%DDOxgRQ(lU)|ZGXw3Q!yrRWBb7T`&rbLTbKGrB|~8RAT6YZX@6vIaM9X+B&7$c|a2(|+Gwi8u=R__^#k z_f=p9HaiY_(RaMx5_!t&C*x$%ExP|D_#7o8OQTVphRqb$EH!(iPht^~9@1RVKmVB} zQ5o1WYdB1&D5peTInOT(j1f%u>Qv=!Rlh1r;1mo&vNnxarR1)miUVeM$#tlZ2)l@Z zM2tm|QszO_G$N1Q^)bL+8N6kS23@~bcbD`JWv`cF_D)VFaY$lk13O~)bA>8n8&X@Z zviOEh<0%v;9EIC}jifw-JmwN+6RoPbxF)i>$sLuOF%P^x2cA51(!S zsRmp@4pAsTHfY3WAK`EdSda^EJe&*!*tDNH`Ak|%g~UfTys6~|@&i`Y) zlvSx2cAm-@QbGCGdtZM2u(%+^heG#id?9Qn2?U=bGdM5Qf#1biwb4WzD6kY-z}QBG zgx5P%r*I7-P@($Tzy6r3IvSs(;VX?vRtAtgUr*0>-cEPlsRV=*Xi@*daSEbM=I?ZB z7ng1t8#7t09^#|T{F;n_|2MZ&z=sn;xE%691n$;AUX5(FppLja7V{(03ME%+e=4?z zcvSnDeSC*gLvKVSv<2-U(-Ong{to^plb;F98)v6CYp9a^AR=5l*Ul$5&i8oMT~(7C z@o)X;0u$Q68~gKa0RM14C#bSG-^+h-F{ubQe5muV1RHl!i;lh>H=LF7N%`;B`0+T8 z5v12?%H>FO@L_c8{;*Zn5fM4?NzeS8JNQsHLcwlW=qELK(uJpYUH>S9cJ}x$T>`6S5C%l$OK%08<^97Q>b<$xb6y%!G0CGlR+ixBHKY#d6SnWr$Mbgzl~Hd9qbc}) z=ldw$EJag=MuT)z@0PH6Ei&H-%927h^3km}{y_}S6YpLS=)%}}X~_QJcp|Gxb;7|a zd>&#cUPXR^$d>N;dNeK9Ikq{kjE(NtMyOYY_5~K$9+lgdL|y9SHvJ`H**f~Yi%BYA zC>4n*ANuy{Vn9JVxNlQd-e$ZaYC6%VEQ}lCRMlVc*}{2JC~X-~?)7iPjga*HwuEdA zz=^}pr4-~S_lqU%kn92CO2{<}%%kc`tLPA7WQpqteU@V%lmzCmyT}((WMk_(GLxW| zhz3*UlIt6LLGdrwB^M)Ye=&8a7ogjCXYiQ=%^T1!_~{6 zRmj@dTpNvxauA*>{4o)R5XS{dX_rS^aeCavtWB~Pfn-q}(tmN(9K@%?a!!M?a9%+* z$hGbw;x^2}e|&2#$F+PnCx6sb?t@8CC;S>|+eMv=TfO{UOg{E+1m(N3TNuz4uJzZQ z#nD1js6meTXE&C@7rPOI*OtiN=A41zSF*SGg$_M2TtHw+#Y5%QCv?d-{IidG^)=V3 zIfUb!L#4Pw+))fLhfa6Ybw~L6sB*=>B$d z`Pk*|oKe?}xLyLg+(9;`ar7jMBzC&A+|y8TY)Y8D7!hl;K@UDhF%-8n%&rGStdduR z2}?GsCM}{DU@K~@wGmdBAy4u9Pod}s7bB-qIY>&O{ibd+&bNN5tFzf#zl_Ig%F3Eg zv|XDw*9ahWz$wF7RTNv{~WsbbZ9$=ZqB(2TgreC^l^T1TO z(bE8WKp^!!nQUDN(xHhGfX~UqtsiwW1dVp90jQJHlc~3&up6HfV5`Gu-o+uFm6oAC z5PByMfCveJpfvW~IXnDUJj;?#9Fi$;yYNHiso^0SgL{P+a)4e4NZhyOxafG9Q|J;B z4Y)ypz9gwaNNeo4(ep-(Il{Ns?qTzJnI-lWOn5&o54J}Gp^O35hO8D*&vIw7Q7j=F zb&nwW5kU=<>Hq`vx7J7r3hk zLbVLIb9DA7EYtl|ZAI1I70tc7k-KBq$^Tu%kcREvy`%|v_mV!jv;lbcs)TVuk4pce z%Uc>ZpRLrOxO@N7w!qzMl||55;`#&Rm~Q@$LhBtNwpk-2x0yE`y4 zmPw?gW9=7rCWG$Ri?0jFC3IyTw}h~AwunjU_MOP)RN5A1TK;NtRP%t=C>^iDOu6SL zZwHS!ixM1l6)0D~-9a<%yRUOg2)Wd;-MtA<$AQv2@xg;79)%2$B+^+h(o++P6&^GK z;0~xqe(KPNTH8Mr0<1`D4{%O3DP=!#$Hp>ze=`cDn%4Emz67(aYk#o0Z)bF#8pYA!9$QG)1kYG4cy)>>>i;*tQf!0d; zljH-^CL;<0ktJW@!zig%_M@?q4WCi9JL{vT*4l1af0#>NWwH6Lo%HY1p{I^eT(~VN zf_wJ2!}ne{ar;@}!9rnRqWt1y%B_-1>4r$FyrWA~iq1*{+C+jIq7E#$OJ$7Q-1Fx5_jeyK^C%5#!4e*sgye?gA5n1 zi89~n9}icRfk=hrsHRI}ht|ES%~Q8JdS(?uQG`T2E3*FHJIBi21pVKSQ{|OMx|w7e zW4Ii#;6sGcv9oN1q9~fzWhViD8WfTU7Y_T6)UN``tT?KnIkLz6xj+hg^iG z00HMb><56&?pG^#{z{uSsw61ZMlmw7u}&UDu#WnCr~^_)vTaNcw`i26&er(i?5D;^ zMA4I1hxk8Sc2?_6>zxTq#`?8C91x)G&(tPHSwMZfDAzX`7OIPP1>sSrhl3#72x_nw zpn6))EtjcP$w8`sn-y%ky0cEb=+&`ZyQ+{WFN_y4?LX)hFpWoAa321ynuzEl%9gEt zCF4CJ3?=}#S#BlJ&GNJpF~UBu_BgFrQ5>coMTeUVu?H@(KnsrKr0NPMJ4qFuq~G???%||(}!Qxa8Xipj@TapTU#>Gxbbdg0r>@{>Xk7LcpK{Cv$ouq zKq^eR?B(WU(N05pHQY;{s&2PgYnH~3*|~^S~rPq<=g8^=YPN91m3j@tgb~x&%`Brvs6FfO}pb7 zd2Na9{@FqmNxmJg3Ay&HnvM0ZrS{@y<5q^kQNuvFmT#S(eviv8Y~FvUP9al4%J|PM z>f7k(c#DzqzxEtq6$(q+=ScCq@L!bDuu5~$%_4B3E$ZE4f zw7>Z-Z23r`(~HI@#+bM$zH*`I(&5^ zdW6F3*513`SbS+VFjkss?fE+tfOp4cV8n;o!0i45Yuh-ceFVlf3SUhGJM@CV*;g5M zrFldr0EHts3_+C9P-uRkvU$jfq~$`4=7km>H;>n?;83%PXjS)QT}%zqRJfrjIq?+=eJjgTh1Y4_TXtY!ixU&%<9ad3`I}9zjc*ub4I8;@H+#CinMa$u?esf!o1eYTPonS!3XY_rG zU>y@JK32b@PY3}i+6~|K00~^;nxiMAgnE^c58I3IQzmDzP#AUD*gLzJ-TCmt<6B`MoPBcp&R2)*7_}ad@V!1S2D^v6*N9osk0tW5($tdE z;Sr0@e?|YxFM+(Ps0Hhz)S}p$znW0Y*1E57I=Yth;inrwC$eHNlW*=FQRkg7@FyoSzLnJ8NkVW^^tg85dHGsw zr8C(j2xZ9jrMSk~U~4A}5Nez>uk|IHT!EhFzEszt2OFEq)mjWo@gS(GSQz`8@gzq6 zB)M^GUo(>LmJ#`Rs6V?>44z*1qT#d?nfh+cKL!qdw7uQIm%8&}+cqedLNLbk^(ps? zgw6=~6u7h4lnBog=x#dD3)~6ui(^a6phGIB>7rC?hiZYdsa|ypFu-x?z_c%$Kl?>% zr3B;>;D~up%;M6I;vnlfQ}mfH%LpTw6GUk1TCv8Rk(Yeg^rb+ir3Lo{mE_PxO+b1k zG;m{bsiSF@oA!90Hnl?pQ^!a kx1?)BGEA>^%k}|yT?8EfuL-Qse{=}62W9%$+|9NB0}^|2yZ`_I diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.po deleted file mode 100644 index 90ea088d..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/en_US/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,5085 +0,0 @@ -# Test translations for unit tests. -# Copyright (C) 2016 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR brendan.d.burns@gmail.com, 2016. -# -msgid "" -msgstr "" -"Project-Id-Version: gettext-go-examples-hello\n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2017-03-14 21:33-0800\n" -"Last-Translator: Brendan Burns \n" -"Language-Team: \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:138 -msgid "" -"\n" -"\t\t\t# Approve CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate approve csr-sqgzp\n" -"\t\t" -msgstr "" -"\n" -"\t\t\t# Approve CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate approve csr-sqgzp\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:182 -msgid "" -"\n" -"\t\t\t# Deny CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate deny csr-sqgzp\n" -"\t\t" -msgstr "" -"\n" -"\t\t\t# Deny CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate deny csr-sqgzp\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:43 -msgid "" -"\n" -"\t\t\tModify kubeconfig files using subcommands like \"kubectl config set " -"current-context my-context\"\n" -"\n" -"\t\t\tThe loading order follows these rules:\n" -"\n" -"\t\t\t1. If the --" -msgstr "" -"\n" -"\t\t\tModify kubeconfig files using subcommands like \"kubectl config set " -"current-context my-context\"\n" -"\n" -"\t\t\tThe loading order follows these rules:\n" -"\n" -"\t\t\t1. If the --" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:44 -msgid "" -"\n" -"\t\t # Create a cluster role binding for user1, user2, and group1 using the " -"cluster-admin cluster role\n" -"\t\t kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-" -"admin --user=user1 --user=user2 --group=group1" -msgstr "" -"\n" -"\t\t # Create a cluster role binding for user1, user2, and group1 using the " -"cluster-admin cluster role\n" -"\t\t kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-" -"admin --user=user1 --user=user2 --group=group1" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:58 -msgid "" -"\n" -"\t\t # Create a new config map named my-config based on folder bar\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config with specified keys instead " -"of file basenames on disk\n" -"\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/file1." -"txt --from-file=key2=/path/to/bar/file2.txt\n" -"\n" -"\t\t # Create a new config map named my-config with key1=config1 and " -"key2=config2\n" -"\t\t kubectl create configmap my-config --from-literal=key1=config1 --from-" -"literal=key2=config2\n" -"\n" -"\t\t # Create a new config map named my-config from the key=value pairs in " -"the file\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config from an env file\n" -"\t\t kubectl create configmap my-config --from-env-file=path/to/bar.env" -msgstr "" -"\n" -"\t\t # Create a new config map named my-config based on folder bar\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config with specified keys instead " -"of file basenames on disk\n" -"\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/file1." -"txt --from-file=key2=/path/to/bar/file2.txt\n" -"\n" -"\t\t # Create a new config map named my-config with key1=config1 and " -"key2=config2\n" -"\t\t kubectl create configmap my-config --from-literal=key1=config1 --from-" -"literal=key2=config2\n" -"\n" -"\t\t # Create a new config map named my-config from the key=value pairs in " -"the file\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config from an env file\n" -"\t\t kubectl create configmap my-config --from-env-file=path/to/bar.env" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:43 -msgid "" -"\n" -"\t\t # Create a role binding for user1, user2, and group1 using the admin " -"cluster role\n" -"\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -"user=user2 --group=group1" -msgstr "" -"\n" -"\t\t # Create a role binding for user1, user2, and group1 using the admin " -"cluster role\n" -"\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -"user=user2 --group=group1" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:56 -msgid "" -"\n" -"\t\t # If you don't already have a .dockercfg file, you can create a " -"dockercfg secret directly by using:\n" -"\t\t kubectl create secret docker-registry my-secret --docker-" -"server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -"password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL\n" -"\n" -"\t\t # Create a new secret named my-secret from ~/.docker/config.json\n" -"\t\t kubectl create secret docker-registry my-secret --from-file=." -"dockerconfigjson=path/to/.docker/config.json" -msgstr "" -"\n" -"\t\t # If you don't already have a .dockercfg file, you can create a " -"dockercfg secret directly by using:\n" -"\t\t kubectl create secret docker-registry my-secret --docker-" -"server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -"password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL\n" -"\n" -"\t\t # Create a new secret named my-secret from ~/.docker/config.json\n" -"\t\t kubectl create secret docker-registry my-secret --from-file=." -"dockerconfigjson=path/to/.docker/config.json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:45 -msgid "" -"\n" -"\t\t# !!!Important Note!!!\n" -"\t\t# Requires that the 'tar' binary is present in your container\n" -"\t\t# image. If 'tar' is not present, 'kubectl cp' will fail.\n" -"\t\t#\n" -"\t\t# For advanced use cases, such as symlinks, wildcard expansion or\n" -"\t\t# file mode preservation, consider using 'kubectl exec'.\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\ttar cf - /tmp/foo | kubectl exec -i -n -- " -"tar xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl exec -n -- tar cf - /tmp/foo | tar " -"xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in " -"the default namespace\n" -"\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific " -"container\n" -"\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl cp /:/tmp/foo /tmp/bar" -msgstr "" -"\n" -"\t\t# !!!Important Note!!!\n" -"\t\t# Requires that the 'tar' binary is present in your container\n" -"\t\t# image. If 'tar' is not present, 'kubectl cp' will fail.\n" -"\t\t#\n" -"\t\t# For advanced use cases, such as symlinks, wildcard expansion or\n" -"\t\t# file mode preservation, consider using 'kubectl exec'.\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\ttar cf - /tmp/foo | kubectl exec -i -n -- " -"tar xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl exec -n -- tar cf - /tmp/foo | tar " -"xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in " -"the default namespace\n" -"\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific " -"container\n" -"\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl cp /:/tmp/foo /tmp/bar" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:119 -msgid "" -"\n" -"\t\t# Apply the configuration in pod.json to a pod\n" -"\t\tkubectl apply -f ./pod.json\n" -"\n" -"\t\t# Apply resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl apply -k dir/\n" -"\n" -"\t\t# Apply the JSON passed into stdin to a pod\n" -"\t\tcat pod.json | kubectl apply -f -\n" -"\n" -"\t\t# Note: --prune is still in Alpha\n" -"\t\t# Apply the configuration in manifest.yaml that matches label app=nginx " -"and delete all other resources that are not in the file and match label " -"app=nginx\n" -"\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -"\n" -"\t\t# Apply the configuration in manifest.yaml and delete all the other " -"config maps that are not in the file\n" -"\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" -"ConfigMap" -msgstr "" -"\n" -"\t\t# Apply the configuration in pod.json to a pod\n" -"\t\tkubectl apply -f ./pod.json\n" -"\n" -"\t\t# Apply resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl apply -k dir/\n" -"\n" -"\t\t# Apply the JSON passed into stdin to a pod\n" -"\t\tcat pod.json | kubectl apply -f -\n" -"\n" -"\t\t# Note: --prune is still in Alpha\n" -"\t\t# Apply the configuration in manifest.yaml that matches label app=nginx " -"and delete all other resources that are not in the file and match label " -"app=nginx\n" -"\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -"\n" -"\t\t# Apply the configuration in manifest.yaml and delete all the other " -"config maps that are not in the file\n" -"\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" -"ConfigMap" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:48 -#, c-format -msgid "" -"\n" -"\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 and " -"10, no target CPU utilization specified so a default autoscaling policy will " -"be used\n" -"\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -"\n" -"\t\t# Auto scale a replication controller \"foo\", with the number of pods " -"between 1 and 5, target CPU utilization at 80%\n" -"\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -msgstr "" -"\n" -"\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 and " -"10, no target CPU utilization specified so a default autoscaling policy will " -"be used\n" -"\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -"\n" -"\t\t# Auto scale a replication controller \"foo\", with the number of pods " -"between 1 and 5, target CPU utilization at 80%\n" -"\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" - -#: pkg/kubectl/cmd/convert/convert.go:51 -msgid "" -"\n" -"\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -"\t\tkubectl convert -f pod.yaml\n" -"\n" -"\t\t# Convert the live state of the resource specified by 'pod.yaml' to the " -"latest version\n" -"\t\t# and print to stdout in JSON format.\n" -"\t\tkubectl convert -f pod.yaml --local -o json\n" -"\n" -"\t\t# Convert all files under current directory to latest version and create " -"them all.\n" -"\t\tkubectl convert -f . | kubectl create -f -" -msgstr "" -"\n" -"\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -"\t\tkubectl convert -f pod.yaml\n" -"\n" -"\t\t# Convert the live state of the resource specified by 'pod.yaml' to the " -"latest version\n" -"\t\t# and print to stdout in JSON format.\n" -"\t\tkubectl convert -f pod.yaml --local -o json\n" -"\n" -"\t\t# Convert all files under current directory to latest version and create " -"them all.\n" -"\t\tkubectl convert -f . | kubectl create -f -" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:41 -msgid "" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" that allows user to perform " -"\"get\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -"resource=pods\n" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" with ResourceName " -"specified\n" -"\t\tkubectl create clusterrole pod-reader --verb=get --resource=pods --" -"resource-name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with API Group specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=rs." -"extensions\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with SubResource specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=pods," -"pods/status\n" -"\n" -"\t\t# Create a cluster role name \"foo\" with NonResourceURL specified\n" -"\t\tkubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/" -"*\n" -"\n" -"\t\t# Create a cluster role name \"monitoring\" with AggregationRule " -"specified\n" -"\t\tkubectl create clusterrole monitoring --aggregation-rule=\"rbac.example." -"com/aggregate-to-monitoring=true\"" -msgstr "" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" that allows user to perform " -"\"get\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -"resource=pods\n" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" with ResourceName " -"specified\n" -"\t\tkubectl create clusterrole pod-reader --verb=get --resource=pods --" -"resource-name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with API Group specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=rs." -"extensions\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with SubResource specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=pods," -"pods/status\n" -"\n" -"\t\t# Create a cluster role name \"foo\" with NonResourceURL specified\n" -"\t\tkubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/" -"*\n" -"\n" -"\t\t# Create a cluster role name \"monitoring\" with AggregationRule " -"specified\n" -"\t\tkubectl create clusterrole monitoring --aggregation-rule=\"rbac.example." -"com/aggregate-to-monitoring=true\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:43 -msgid "" -"\n" -"\t\t# Create a job\n" -"\t\tkubectl create job my-job --image=busybox\n" -"\n" -"\t\t# Create a job with a command\n" -"\t\tkubectl create job my-job --image=busybox -- date\n" -"\n" -"\t\t# Create a job from a cron job named \"a-cronjob\"\n" -"\t\tkubectl create job test-job --from=cronjob/a-cronjob" -msgstr "" -"\n" -"\t\t# Create a job\n" -"\t\tkubectl create job my-job --image=busybox\n" -"\n" -"\t\t# Create a job with a command\n" -"\t\tkubectl create job my-job --image=busybox -- date\n" -"\n" -"\t\t# Create a job from a cron job named \"a-cronjob\"\n" -"\t\tkubectl create job test-job --from=cronjob/a-cronjob" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:44 -msgid "" -"\n" -"\t\t# Create a new resource quota named my-quota\n" -"\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," -"replicationcontrollers=2,resourcequotas=1,secrets=5," -"persistentvolumeclaims=10\n" -"\n" -"\t\t# Create a new resource quota named best-effort\n" -"\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -msgstr "" -"\n" -"\t\t# Create a new resource quota named my-quota\n" -"\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," -"replicationcontrollers=2,resourcequotas=1,secrets=5," -"persistentvolumeclaims=10\n" -"\n" -"\t\t# Create a new resource quota named best-effort\n" -"\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:44 -#, c-format -msgid "" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=rails label\n" -"\t\t# and require at least one of them being available at any point in time\n" -"\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -"available=1\n" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=nginx label\n" -"\t\t# and require at least half of the pods selected to be available at any " -"point in time\n" -"\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -msgstr "" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=rails label\n" -"\t\t# and require at least one of them being available at any point in time\n" -"\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -"available=1\n" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=nginx label\n" -"\t\t# and require at least half of the pods selected to be available at any " -"point in time\n" -"\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:76 -msgid "" -"\n" -"\t\t# Create a pod using the data in pod.json\n" -"\t\tkubectl create -f ./pod.json\n" -"\n" -"\t\t# Create a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl create -f -\n" -"\n" -"\t\t# Edit the data in docker-registry.yaml in JSON then create the resource " -"using the edited data\n" -"\t\tkubectl create -f docker-registry.yaml --edit -o json" -msgstr "" -"\n" -"\t\t# Create a pod using the data in pod.json\n" -"\t\tkubectl create -f ./pod.json\n" -"\n" -"\t\t# Create a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl create -f -\n" -"\n" -"\t\t# Edit the data in docker-registry.yaml in JSON then create the resource " -"using the edited data\n" -"\t\tkubectl create -f docker-registry.yaml --edit -o json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:43 -msgid "" -"\n" -"\t\t# Create a priority class named high-priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\"\n" -"\n" -"\t\t# Create a priority class named default-priority that is considered as " -"the global default priority\n" -"\t\tkubectl create priorityclass default-priority --value=1000 --global-" -"default=true --description=\"default priority\"\n" -"\n" -"\t\t# Create a priority class named high-priority that cannot preempt pods " -"with lower priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\" --preemption-policy=\"Never\"" -msgstr "" -"\n" -"\t\t# Create a priority class named high-priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\"\n" -"\n" -"\t\t# Create a priority class named default-priority that is considered as " -"the global default priority\n" -"\t\tkubectl create priorityclass default-priority --value=1000 --global-" -"default=true --description=\"default priority\"\n" -"\n" -"\t\t# Create a priority class named high-priority that cannot preempt pods " -"with lower priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\" --preemption-policy=\"Never\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:46 -msgid "" -"\n" -"\t\t# Create a role named \"pod-reader\" that allows user to perform \"get" -"\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -"resource=pods\n" -"\n" -"\t\t# Create a role named \"pod-reader\" with ResourceName specified\n" -"\t\tkubectl create role pod-reader --verb=get --resource=pods --resource-" -"name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a role named \"foo\" with API Group specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=rs.extensions\n" -"\n" -"\t\t# Create a role named \"foo\" with SubResource specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=pods,pods/status" -msgstr "" -"\n" -"\t\t# Create a role named \"pod-reader\" that allows user to perform \"get" -"\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -"resource=pods\n" -"\n" -"\t\t# Create a role named \"pod-reader\" with ResourceName specified\n" -"\t\tkubectl create role pod-reader --verb=get --resource=pods --resource-" -"name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a role named \"foo\" with API Group specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=rs.extensions\n" -"\n" -"\t\t# Create a role named \"foo\" with SubResource specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=pods,pods/status" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:61 -msgid "" -"\n" -"\t\t# Create a service for a replicated nginx, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a replication controller identified by type and " -"name specified in \"nginx-controller.yaml\", which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -"the name \"frontend\"\n" -"\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -"\n" -"\t\t# Create a second service based on the above service, exposing the " -"container port 8443 as port 443 with the name \"nginx-https\"\n" -"\t\tkubectl expose service nginx --port=443 --target-port=8443 --name=nginx-" -"https\n" -"\n" -"\t\t# Create a service for a replicated streaming application on port 4100 " -"balancing UDP traffic and named 'video-stream'.\n" -"\t\tkubectl expose rc streamer --port=4100 --protocol=UDP --name=video-" -"stream\n" -"\n" -"\t\t# Create a service for a replicated nginx using replica set, which " -"serves on port 80 and connects to the containers on port 8000\n" -"\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for an nginx deployment, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -msgstr "" -"\n" -"\t\t# Create a service for a replicated nginx, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a replication controller identified by type and " -"name specified in \"nginx-controller.yaml\", which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -"the name \"frontend\"\n" -"\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -"\n" -"\t\t# Create a second service based on the above service, exposing the " -"container port 8443 as port 443 with the name \"nginx-https\"\n" -"\t\tkubectl expose service nginx --port=443 --target-port=8443 --name=nginx-" -"https\n" -"\n" -"\t\t# Create a service for a replicated streaming application on port 4100 " -"balancing UDP traffic and named 'video-stream'.\n" -"\t\tkubectl expose rc streamer --port=4100 --protocol=UDP --name=video-" -"stream\n" -"\n" -"\t\t# Create a service for a replicated nginx using replica set, which " -"serves on port 80 and connects to the containers on port 8000\n" -"\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for an nginx deployment, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose deployment nginx --port=80 --target-port=8000" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:64 -msgid "" -"\n" -"\t\t# Create a single ingress called 'simple' that directs requests to foo." -"com/bar to svc\n" -"\t\t# svc1:8080 with a tls secret \"my-cert\"\n" -"\t\tkubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert" -"\"\n" -"\n" -"\t\t# Create a catch all ingress of \"/path\" pointing to service svc:port " -"and Ingress Class as \"otheringress\"\n" -"\t\tkubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:" -"port\"\n" -"\n" -"\t\t# Create an ingress with two annotations: ingress.annotation1 and " -"ingress.annotations2\n" -"\t\tkubectl create ingress annotated --class=default --rule=\"foo.com/" -"bar=svc:port\" \\n\t\t\t--annotation ingress.annotation1=foo \\n\t\t\t--" -"annotation ingress.annotation2=bla\n" -"\n" -"\t\t# Create an ingress with the same host and multiple paths\n" -"\t\tkubectl create ingress multipath --class=default \\n\t\t\t--rule=\"foo." -"com/=svc:port\" \\n\t\t\t--rule=\"foo.com/admin/=svcadmin:portadmin\"\n" -"\n" -"\t\t# Create an ingress with multiple hosts and the pathType as Prefix\n" -"\t\tkubectl create ingress ingress1 --class=default \\n\t\t\t--rule=\"foo." -"com/path*=svc:8080\" \\n\t\t\t--rule=\"bar.com/admin*=svc2:http\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using the default ingress " -"certificate and different path types\n" -"\t\tkubectl create ingress ingtls --class=default \\n\t\t --rule=\"foo.com/" -"=svc:https,tls\" \\n\t\t --rule=\"foo.com/path/subpath*=othersvc:8080\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using a specific secret and " -"pathType as Prefix\n" -"\t\tkubectl create ingress ingsecret --class=default \\n\t\t --rule=\"foo." -"com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t# Create an ingress with a default backend\n" -"\t\tkubectl create ingress ingdefault --class=default \\n\t\t --default-" -"backend=defaultsvc:http \\n\t\t --rule=\"foo.com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Create a single ingress called 'simple' that directs requests to foo." -"com/bar to svc\n" -"\t\t# svc1:8080 with a tls secret \"my-cert\"\n" -"\t\tkubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert" -"\"\n" -"\n" -"\t\t# Create a catch all ingress of \"/path\" pointing to service svc:port " -"and Ingress Class as \"otheringress\"\n" -"\t\tkubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:" -"port\"\n" -"\n" -"\t\t# Create an ingress with two annotations: ingress.annotation1 and " -"ingress.annotations2\n" -"\t\tkubectl create ingress annotated --class=default --rule=\"foo.com/" -"bar=svc:port\" \\n\t\t\t--annotation ingress.annotation1=foo \\n\t\t\t--" -"annotation ingress.annotation2=bla\n" -"\n" -"\t\t# Create an ingress with the same host and multiple paths\n" -"\t\tkubectl create ingress multipath --class=default \\n\t\t\t--rule=\"foo." -"com/=svc:port\" \\n\t\t\t--rule=\"foo.com/admin/=svcadmin:portadmin\"\n" -"\n" -"\t\t# Create an ingress with multiple hosts and the pathType as Prefix\n" -"\t\tkubectl create ingress ingress1 --class=default \\n\t\t\t--rule=\"foo." -"com/path*=svc:8080\" \\n\t\t\t--rule=\"bar.com/admin*=svc2:http\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using the default ingress " -"certificate and different path types\n" -"\t\tkubectl create ingress ingtls --class=default \\n\t\t --rule=\"foo.com/" -"=svc:https,tls\" \\n\t\t --rule=\"foo.com/path/subpath*=othersvc:8080\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using a specific secret and " -"pathType as Prefix\n" -"\t\tkubectl create ingress ingsecret --class=default \\n\t\t --rule=\"foo." -"com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t# Create an ingress with a default backend\n" -"\t\tkubectl create ingress ingdefault --class=default \\n\t\t --default-" -"backend=defaultsvc:http \\n\t\t --rule=\"foo.com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:74 -msgid "" -"\n" -"\t\t# Create an interactive debugging session in pod mypod and immediately " -"attach to it.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug mypod -it --image=busybox\n" -"\n" -"\t\t# Create a debug container named debugger using a custom automated " -"debugging image.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug --image=myproj/debug-tools -c debugger mypod\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and attach to it\n" -"\t\tkubectl debug mypod -it --image=busybox --copy-to=my-debugger\n" -"\n" -"\t\t# Create a copy of mypod changing the command of mycontainer\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- " -"sh\n" -"\n" -"\t\t# Create a copy of mypod changing all container images to busybox\n" -"\t\tkubectl debug mypod --copy-to=my-debugger --set-image=*=busybox\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and changing container " -"images\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --image=debian --set-" -"image=app=app:debug,sidecar=sidecar:debug\n" -"\n" -"\t\t# Create an interactive debugging session on a node and immediately " -"attach to it.\n" -"\t\t# The container will run in the host namespaces and the host's " -"filesystem will be mounted at /host\n" -"\t\tkubectl debug node/mynode -it --image=busybox\n" -msgstr "" -"\n" -"\t\t# Create an interactive debugging session in pod mypod and immediately " -"attach to it.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug mypod -it --image=busybox\n" -"\n" -"\t\t# Create a debug container named debugger using a custom automated " -"debugging image.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug --image=myproj/debug-tools -c debugger mypod\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and attach to it\n" -"\t\tkubectl debug mypod -it --image=busybox --copy-to=my-debugger\n" -"\n" -"\t\t# Create a copy of mypod changing the command of mycontainer\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- " -"sh\n" -"\n" -"\t\t# Create a copy of mypod changing all container images to busybox\n" -"\t\tkubectl debug mypod --copy-to=my-debugger --set-image=*=busybox\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and changing container " -"images\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --image=debian --set-" -"image=app=app:debug,sidecar=sidecar:debug\n" -"\n" -"\t\t# Create an interactive debugging session on a node and immediately " -"attach to it.\n" -"\t\t# The container will run in the host namespaces and the host's " -"filesystem will be mounted at /host\n" -"\t\tkubectl debug node/mynode -it --image=busybox\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:74 -msgid "" -"\n" -"\t\t# Delete a pod using the type and name specified in pod.json\n" -"\t\tkubectl delete -f ./pod.json\n" -"\n" -"\t\t# Delete resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl delete -k dir\n" -"\n" -"\t\t# Delete a pod based on the type and name in the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl delete -f -\n" -"\n" -"\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -"\t\tkubectl delete pod,service baz foo\n" -"\n" -"\t\t# Delete pods and services with label name=myLabel\n" -"\t\tkubectl delete pods,services -l name=myLabel\n" -"\n" -"\t\t# Delete a pod with minimal delay\n" -"\t\tkubectl delete pod foo --now\n" -"\n" -"\t\t# Force delete a pod on a dead node\n" -"\t\tkubectl delete pod foo --force\n" -"\n" -"\t\t# Delete all pods\n" -"\t\tkubectl delete pods --all" -msgstr "" -"\n" -"\t\t# Delete a pod using the type and name specified in pod.json\n" -"\t\tkubectl delete -f ./pod.json\n" -"\n" -"\t\t# Delete resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl delete -k dir\n" -"\n" -"\t\t# Delete a pod based on the type and name in the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl delete -f -\n" -"\n" -"\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -"\t\tkubectl delete pod,service baz foo\n" -"\n" -"\t\t# Delete pods and services with label name=myLabel\n" -"\t\tkubectl delete pods,services -l name=myLabel\n" -"\n" -"\t\t# Delete a pod with minimal delay\n" -"\t\tkubectl delete pod foo --now\n" -"\n" -"\t\t# Force delete a pod on a dead node\n" -"\t\tkubectl delete pod foo --force\n" -"\n" -"\t\t# Delete all pods\n" -"\t\tkubectl delete pods --all" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:51 -msgid "" -"\n" -"\t\t# Describe a node\n" -"\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -"\n" -"\t\t# Describe a pod\n" -"\t\tkubectl describe pods/nginx\n" -"\n" -"\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -"\t\tkubectl describe -f pod.json\n" -"\n" -"\t\t# Describe all pods\n" -"\t\tkubectl describe pods\n" -"\n" -"\t\t# Describe pods by label name=myLabel\n" -"\t\tkubectl describe po -l name=myLabel\n" -"\n" -"\t\t# Describe all pods managed by the 'frontend' replication controller (rc-" -"created pods\n" -"\t\t# get the name of the rc as a prefix in the pod the name)\n" -"\t\tkubectl describe pods frontend" -msgstr "" -"\n" -"\t\t# Describe a node\n" -"\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -"\n" -"\t\t# Describe a pod\n" -"\t\tkubectl describe pods/nginx\n" -"\n" -"\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -"\t\tkubectl describe -f pod.json\n" -"\n" -"\t\t# Describe all pods\n" -"\t\tkubectl describe pods\n" -"\n" -"\t\t# Describe pods by label name=myLabel\n" -"\t\tkubectl describe po -l name=myLabel\n" -"\n" -"\t\t# Describe all pods managed by the 'frontend' replication controller (rc-" -"created pods\n" -"\t\t# get the name of the rc as a prefix in the pod the name)\n" -"\t\tkubectl describe pods frontend" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:76 -msgid "" -"\n" -"\t\t# Diff resources included in pod.json\n" -"\t\tkubectl diff -f pod.json\n" -"\n" -"\t\t# Diff file read from stdin\n" -"\t\tcat service.yaml | kubectl diff -f -" -msgstr "" -"\n" -"\t\t# Diff resources included in pod.json\n" -"\t\tkubectl diff -f pod.json\n" -"\n" -"\t\t# Diff file read from stdin\n" -"\t\tcat service.yaml | kubectl diff -f -" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:138 -msgid "" -"\n" -"\t\t# Drain node \"foo\", even if there are pods not managed by a " -"replication controller, replica set, job, daemon set or stateful set on it\n" -"\t\tkubectl drain foo --force\n" -"\n" -"\t\t# As above, but abort if there are pods not managed by a replication " -"controller, replica set, job, daemon set or stateful set, and use a grace " -"period of 15 minutes\n" -"\t\tkubectl drain foo --grace-period=900" -msgstr "" -"\n" -"\t\t# Drain node \"foo\", even if there are pods not managed by a " -"replication controller, replica set, job, daemon set or stateful set on it\n" -"\t\tkubectl drain foo --force\n" -"\n" -"\t\t# As above, but abort if there are pods not managed by a replication " -"controller, replica set, job, daemon set or stateful set, and use a grace " -"period of 15 minutes\n" -"\t\tkubectl drain foo --grace-period=900" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:55 -msgid "" -"\n" -"\t\t# Edit the service named 'docker-registry'\n" -"\t\tkubectl edit svc/docker-registry\n" -"\n" -"\t\t# Use an alternative editor\n" -"\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -"\n" -"\t\t# Edit the job 'myjob' in JSON using the v1 API format\n" -"\t\tkubectl edit job.v1.batch/myjob -o json\n" -"\n" -"\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -"config in its annotation\n" -"\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -msgstr "" -"\n" -"\t\t# Edit the service named 'docker-registry'\n" -"\t\tkubectl edit svc/docker-registry\n" -"\n" -"\t\t# Use an alternative editor\n" -"\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -"\n" -"\t\t# Edit the job 'myjob' in JSON using the v1 API format\n" -"\t\tkubectl edit job.v1.batch/myjob -o json\n" -"\n" -"\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -"config in its annotation\n" -"\t\tkubectl edit deployment/mydeployment -o yaml --save-config" - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:44 -msgid "" -"\n" -"\t\t# Get output from running pod mypod; use the 'kubectl.kubernetes.io/" -"default-container' annotation\n" -"\t\t# for selecting the container to be attached or the first container in " -"the pod will be chosen\n" -"\t\tkubectl attach mypod\n" -"\n" -"\t\t# Get output from ruby-container from pod mypod\n" -"\t\tkubectl attach mypod -c ruby-container\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl attach mypod -c ruby-container -i -t\n" -"\n" -"\t\t# Get output from the first pod of a replica set named nginx\n" -"\t\tkubectl attach rs/nginx\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Get output from running pod mypod; use the 'kubectl.kubernetes.io/" -"default-container' annotation\n" -"\t\t# for selecting the container to be attached or the first container in " -"the pod will be chosen\n" -"\t\tkubectl attach mypod\n" -"\n" -"\t\t# Get output from ruby-container from pod mypod\n" -"\t\tkubectl attach mypod -c ruby-container\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl attach mypod -c ruby-container -i -t\n" -"\n" -"\t\t# Get output from the first pod of a replica set named nginx\n" -"\t\tkubectl attach rs/nginx\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:48 -msgid "" -"\n" -"\t\t# Get output from running the 'date' command from pod mypod, using the " -"first container by default\n" -"\t\tkubectl exec mypod -- date\n" -"\n" -"\t\t# Get output from running the 'date' command in ruby-container from pod " -"mypod\n" -"\t\tkubectl exec mypod -c ruby-container -- date\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl exec mypod -c ruby-container -i -t -- bash -il\n" -"\n" -"\t\t# List contents of /usr from the first container of pod mypod and sort " -"by modification time\n" -"\t\t# If the command you want to execute in the pod has any flags in common " -"(e.g. -i),\n" -"\t\t# you must use two dashes (--) to separate your command's flags/" -"arguments\n" -"\t\t# Also note, do not surround your command and its flags/arguments with " -"quotes\n" -"\t\t# unless that is how you would execute it normally (i.e., do ls -t /usr, " -"not \"ls -t /usr\")\n" -"\t\tkubectl exec mypod -i -t -- ls -t /usr\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"deployment mydeployment, using the first container by default\n" -"\t\tkubectl exec deploy/mydeployment -- date\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"service myservice, using the first container by default\n" -"\t\tkubectl exec svc/myservice -- date\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Get output from running the 'date' command from pod mypod, using the " -"first container by default\n" -"\t\tkubectl exec mypod -- date\n" -"\n" -"\t\t# Get output from running the 'date' command in ruby-container from pod " -"mypod\n" -"\t\tkubectl exec mypod -c ruby-container -- date\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl exec mypod -c ruby-container -i -t -- bash -il\n" -"\n" -"\t\t# List contents of /usr from the first container of pod mypod and sort " -"by modification time\n" -"\t\t# If the command you want to execute in the pod has any flags in common " -"(e.g. -i),\n" -"\t\t# you must use two dashes (--) to separate your command's flags/" -"arguments\n" -"\t\t# Also note, do not surround your command and its flags/arguments with " -"quotes\n" -"\t\t# unless that is how you would execute it normally (i.e., do ls -t /usr, " -"not \"ls -t /usr\")\n" -"\t\tkubectl exec mypod -i -t -- ls -t /usr\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"deployment mydeployment, using the first container by default\n" -"\t\tkubectl exec deploy/mydeployment -- date\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"service myservice, using the first container by default\n" -"\t\tkubectl exec svc/myservice -- date\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:65 -msgid "" -"\n" -"\t\t# Installing bash completion on macOS using homebrew\n" -"\t\t## If running Bash 3.2 included with macOS\n" -"\t\t brew install bash-completion\n" -"\t\t## or, if running Bash 4.1+\n" -"\t\t brew install bash-completion@2\n" -"\t\t## If kubectl is installed via homebrew, this should start working " -"immediately\n" -"\t\t## If you've installed via other means, you may need add the completion " -"to your completion directory\n" -"\t\t kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/" -"kubectl\n" -"\n" -"\n" -"\t\t# Installing bash completion on Linux\n" -"\t\t## If bash-completion is not installed on Linux, install the 'bash-" -"completion' package\n" -"\t\t## via your distribution's package manager.\n" -"\t\t## Load the kubectl completion code for bash into the current shell\n" -"\t\t source <(kubectl completion bash)\n" -"\t\t## Write bash completion code to a file and source it from ." -"bash_profile\n" -"\t\t kubectl completion bash > ~/.kube/completion.bash.inc\n" -"\t\t printf \"\n" -"\t\t # Kubectl shell completion\n" -"\t\t source '$HOME/.kube/completion.bash.inc'\n" -"\t\t \" >> $HOME/.bash_profile\n" -"\t\t source $HOME/.bash_profile\n" -"\n" -"\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -"\t\t source <(kubectl completion zsh)\n" -"\t\t# Set the kubectl completion code for zsh[1] to autoload on startup\n" -"\t\t kubectl completion zsh > \"${fpath[1]}/_kubectl\"" -msgstr "" -"\n" -"\t\t# Installing bash completion on macOS using homebrew\n" -"\t\t## If running Bash 3.2 included with macOS\n" -"\t\t brew install bash-completion\n" -"\t\t## or, if running Bash 4.1+\n" -"\t\t brew install bash-completion@2\n" -"\t\t## If kubectl is installed via homebrew, this should start working " -"immediately\n" -"\t\t## If you've installed via other means, you may need add the completion " -"to your completion directory\n" -"\t\t kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/" -"kubectl\n" -"\n" -"\n" -"\t\t# Installing bash completion on Linux\n" -"\t\t## If bash-completion is not installed on Linux, install the 'bash-" -"completion' package\n" -"\t\t## via your distribution's package manager.\n" -"\t\t## Load the kubectl completion code for bash into the current shell\n" -"\t\t source <(kubectl completion bash)\n" -"\t\t## Write bash completion code to a file and source it from ." -"bash_profile\n" -"\t\t kubectl completion bash > ~/.kube/completion.bash.inc\n" -"\t\t printf \"\n" -"\t\t # Kubectl shell completion\n" -"\t\t source '$HOME/.kube/completion.bash.inc'\n" -"\t\t \" >> $HOME/.bash_profile\n" -"\t\t source $HOME/.bash_profile\n" -"\n" -"\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -"\t\t source <(kubectl completion zsh)\n" -"\t\t# Set the kubectl completion code for zsh[1] to autoload on startup\n" -"\t\t kubectl completion zsh > \"${fpath[1]}/_kubectl\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:105 -msgid "" -"\n" -"\t\t# List all pods in ps output format\n" -"\t\tkubectl get pods\n" -"\n" -"\t\t# List all pods in ps output format with more information (such as node " -"name)\n" -"\t\tkubectl get pods -o wide\n" -"\n" -"\t\t# List a single replication controller with specified NAME in ps output " -"format\n" -"\t\tkubectl get replicationcontroller web\n" -"\n" -"\t\t# List deployments in JSON output format, in the \"v1\" version of the " -"\"apps\" API group\n" -"\t\tkubectl get deployments.v1.apps -o json\n" -"\n" -"\t\t# List a single pod in JSON output format\n" -"\t\tkubectl get -o json pod web-pod-13je7\n" -"\n" -"\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -"JSON output format\n" -"\t\tkubectl get -f pod.yaml -o json\n" -"\n" -"\t\t# List resources from a directory with kustomization.yaml - e.g. dir/" -"kustomization.yaml\n" -"\t\tkubectl get -k dir/\n" -"\n" -"\t\t# Return only the phase value of the specified pod\n" -"\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}\n" -"\n" -"\t\t# List resource information in custom columns\n" -"\t\tkubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0]." -"name,IMAGE:.spec.containers[0].image\n" -"\n" -"\t\t# List all replication controllers and services together in ps output " -"format\n" -"\t\tkubectl get rc,services\n" -"\n" -"\t\t# List one or more resources by their type and names\n" -"\t\tkubectl get rc/web service/frontend pods/web-pod-13je7" -msgstr "" -"\n" -"\t\t# List all pods in ps output format\n" -"\t\tkubectl get pods\n" -"\n" -"\t\t# List all pods in ps output format with more information (such as node " -"name)\n" -"\t\tkubectl get pods -o wide\n" -"\n" -"\t\t# List a single replication controller with specified NAME in ps output " -"format\n" -"\t\tkubectl get replicationcontroller web\n" -"\n" -"\t\t# List deployments in JSON output format, in the \"v1\" version of the " -"\"apps\" API group\n" -"\t\tkubectl get deployments.v1.apps -o json\n" -"\n" -"\t\t# List a single pod in JSON output format\n" -"\t\tkubectl get -o json pod web-pod-13je7\n" -"\n" -"\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -"JSON output format\n" -"\t\tkubectl get -f pod.yaml -o json\n" -"\n" -"\t\t# List resources from a directory with kustomization.yaml - e.g. dir/" -"kustomization.yaml\n" -"\t\tkubectl get -k dir/\n" -"\n" -"\t\t# Return only the phase value of the specified pod\n" -"\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}\n" -"\n" -"\t\t# List resource information in custom columns\n" -"\t\tkubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0]." -"name,IMAGE:.spec.containers[0].image\n" -"\n" -"\t\t# List all replication controllers and services together in ps output " -"format\n" -"\t\tkubectl get rc,services\n" -"\n" -"\t\t# List one or more resources by their type and names\n" -"\t\tkubectl get rc/web service/frontend pods/web-pod-13je7" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:72 -msgid "" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 5000 6000\n" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in a pod selected by the deployment\n" -"\t\tkubectl port-forward deployment/mydeployment 5000 6000\n" -"\n" -"\t\t# Listen on port 8443 locally, forwarding to the targetPort of the " -"service's port named \"https\" in a pod selected by the service\n" -"\t\tkubectl port-forward service/myservice 8443:https\n" -"\n" -"\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on all addresses, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on localhost and selected IP, forwarding to 5000 " -"in the pod\n" -"\t\tkubectl port-forward --address localhost,10.19.21.23 pod/mypod " -"8888:5000\n" -"\n" -"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod :5000" -msgstr "" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 5000 6000\n" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in a pod selected by the deployment\n" -"\t\tkubectl port-forward deployment/mydeployment 5000 6000\n" -"\n" -"\t\t# Listen on port 8443 locally, forwarding to the targetPort of the " -"service's port named \"https\" in a pod selected by the service\n" -"\t\tkubectl port-forward service/myservice 8443:https\n" -"\n" -"\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on all addresses, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on localhost and selected IP, forwarding to 5000 " -"in the pod\n" -"\t\tkubectl port-forward --address localhost,10.19.21.23 pod/mypod " -"8888:5000\n" -"\n" -"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod :5000" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:87 -msgid "" -"\n" -"\t\t# Mark node \"foo\" as schedulable\n" -"\t\tkubectl uncordon foo" -msgstr "" -"\n" -"\t\t# Mark node \"foo\" as schedulable\n" -"\t\tkubectl uncordon foo" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:58 -msgid "" -"\n" -"\t\t# Mark node \"foo\" as unschedulable\n" -"\t\tkubectl cordon foo" -msgstr "" -"\n" -"\t\t# Mark node \"foo\" as unschedulable\n" -"\t\tkubectl cordon foo" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:83 -msgid "" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as JSON\n" -"\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as YAML\n" -"\t\tkubectl patch node k8s-node-1 -p $'spec:\n" -" unschedulable: true'\n" -"\n" -"\t\t# Partially update a node identified by the type and name specified in " -"\"node.json\" using strategic merge patch\n" -"\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Update a container's image; spec.containers[*].name is required " -"because it's a merge key\n" -"\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -"\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -"\n" -"\t\t# Update a container's image using a JSON patch with positional arrays\n" -"\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -"\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -msgstr "" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as JSON\n" -"\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as YAML\n" -"\t\tkubectl patch node k8s-node-1 -p $'spec:\n" -" unschedulable: true'\n" -"\n" -"\t\t# Partially update a node identified by the type and name specified in " -"\"node.json\" using strategic merge patch\n" -"\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Update a container's image; spec.containers[*].name is required " -"because it's a merge key\n" -"\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -"\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -"\n" -"\t\t# Update a container's image using a JSON patch with positional arrays\n" -"\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -"\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:44 -msgid "" -"\n" -"\t\t# Print the address of the control plane and cluster services\n" -"\t\tkubectl cluster-info" -msgstr "" -"\n" -"\t\t# Print the address of the control plane and cluster services\n" -"\t\tkubectl cluster-info" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:56 -msgid "" -"\n" -"\t\t# Replace a pod using the data in pod.json\n" -"\t\tkubectl replace -f ./pod.json\n" -"\n" -"\t\t# Replace a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl replace -f -\n" -"\n" -"\t\t# Update a single-container pod's image version (tag) to v4\n" -"\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' | " -"kubectl replace -f -\n" -"\n" -"\t\t# Force replace, delete and then re-create the resource\n" -"\t\tkubectl replace --force -f ./pod.json" -msgstr "" -"\n" -"\t\t# Replace a pod using the data in pod.json\n" -"\t\tkubectl replace -f ./pod.json\n" -"\n" -"\t\t# Replace a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl replace -f -\n" -"\n" -"\t\t# Update a single-container pod's image version (tag) to v4\n" -"\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' | " -"kubectl replace -f -\n" -"\n" -"\t\t# Force replace, delete and then re-create the resource\n" -"\t\tkubectl replace --force -f ./pod.json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:53 -msgid "" -"\n" -"\t\t# Return snapshot logs from pod nginx with only one container\n" -"\t\tkubectl logs nginx\n" -"\n" -"\t\t# Return snapshot logs from pod nginx with multi containers\n" -"\t\tkubectl logs nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot of previous terminated ruby container logs from pod " -"web-1\n" -"\t\tkubectl logs -p -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -"\t\tkubectl logs -f -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -f -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Display only the most recent 20 lines of output in pod nginx\n" -"\t\tkubectl logs --tail=20 nginx\n" -"\n" -"\t\t# Show all logs from pod nginx written in the last hour\n" -"\t\tkubectl logs --since=1h nginx\n" -"\n" -"\t\t# Show logs from a kubelet with an expired serving certificate\n" -"\t\tkubectl logs --insecure-skip-tls-verify-backend nginx\n" -"\n" -"\t\t# Return snapshot logs from first container of a job named hello\n" -"\t\tkubectl logs job/hello\n" -"\n" -"\t\t# Return snapshot logs from container nginx-1 of a deployment named " -"nginx\n" -"\t\tkubectl logs deployment/nginx -c nginx-1" -msgstr "" -"\n" -"\t\t# Return snapshot logs from pod nginx with only one container\n" -"\t\tkubectl logs nginx\n" -"\n" -"\t\t# Return snapshot logs from pod nginx with multi containers\n" -"\t\tkubectl logs nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot of previous terminated ruby container logs from pod " -"web-1\n" -"\t\tkubectl logs -p -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -"\t\tkubectl logs -f -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -f -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Display only the most recent 20 lines of output in pod nginx\n" -"\t\tkubectl logs --tail=20 nginx\n" -"\n" -"\t\t# Show all logs from pod nginx written in the last hour\n" -"\t\tkubectl logs --since=1h nginx\n" -"\n" -"\t\t# Show logs from a kubelet with an expired serving certificate\n" -"\t\tkubectl logs --insecure-skip-tls-verify-backend nginx\n" -"\n" -"\t\t# Return snapshot logs from first container of a job named hello\n" -"\t\tkubectl logs job/hello\n" -"\n" -"\t\t# Return snapshot logs from container nginx-1 of a deployment named " -"nginx\n" -"\t\tkubectl logs deployment/nginx -c nginx-1" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:49 -msgid "" -"\n" -"\t\t# Scale a replica set named 'foo' to 3\n" -"\t\tkubectl scale --replicas=3 rs/foo\n" -"\n" -"\t\t# Scale a resource identified by type and name specified in \"foo.yaml\" " -"to 3\n" -"\t\tkubectl scale --replicas=3 -f foo.yaml\n" -"\n" -"\t\t# If the deployment named mysql's current size is 2, scale mysql to 3\n" -"\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -"\n" -"\t\t# Scale multiple replication controllers\n" -"\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -"\n" -"\t\t# Scale stateful set named 'web' to 3\n" -"\t\tkubectl scale --replicas=3 statefulset/web" -msgstr "" -"\n" -"\t\t# Scale a replica set named 'foo' to 3\n" -"\t\tkubectl scale --replicas=3 rs/foo\n" -"\n" -"\t\t# Scale a resource identified by type and name specified in \"foo.yaml\" " -"to 3\n" -"\t\tkubectl scale --replicas=3 -f foo.yaml\n" -"\n" -"\t\t# If the deployment named mysql's current size is 2, scale mysql to 3\n" -"\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -"\n" -"\t\t# Scale multiple replication controllers\n" -"\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -"\n" -"\t\t# Scale stateful set named 'web' to 3\n" -"\t\tkubectl scale --replicas=3 statefulset/web" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:75 -msgid "" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml\n" -"\n" -"\t\t# Execute set-last-applied against each configuration file in a " -"directory\n" -"\t\tkubectl apply set-last-applied -f path/\n" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file; will create the annotation if it does not already exist\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml --create-annotation=true\n" -"\t\t" -msgstr "" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml\n" -"\n" -"\t\t# Execute set-last-applied against each configuration file in a " -"directory\n" -"\t\tkubectl apply set-last-applied -f path/\n" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file; will create the annotation if it does not already exist\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml --create-annotation=true\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:62 -msgid "" -"\n" -"\t\t# Start a nginx pod\n" -"\t\tkubectl run nginx --image=nginx\n" -"\n" -"\t\t# Start a hazelcast pod and let the container expose port 5701\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --port=5701\n" -"\n" -"\t\t# Start a hazelcast pod and set environment variables " -"\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --env=" -"\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\"\n" -"\n" -"\t\t# Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod" -"\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --labels=" -"\"app=hazelcast,env=prod\"\n" -"\n" -"\t\t# Dry run; print the corresponding API objects without creating them\n" -"\t\tkubectl run nginx --image=nginx --dry-run=client\n" -"\n" -"\t\t# Start a nginx pod, but overload the spec with a partial set of values " -"parsed from JSON\n" -"\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " -"\"spec\": { ... } }'\n" -"\n" -"\t\t# Start a busybox pod and keep it in the foreground, don't restart it if " -"it exits\n" -"\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -"\n" -"\t\t# Start the nginx pod using the default command, but use custom " -"arguments (arg1 .. argN) for that command\n" -"\t\tkubectl run nginx --image=nginx -- ... \n" -"\n" -"\t\t# Start the nginx pod using a different command and custom arguments\n" -"\t\tkubectl run nginx --image=nginx --command -- ... " -msgstr "" -"\n" -"\t\t# Start a nginx pod\n" -"\t\tkubectl run nginx --image=nginx\n" -"\n" -"\t\t# Start a hazelcast pod and let the container expose port 5701\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --port=5701\n" -"\n" -"\t\t# Start a hazelcast pod and set environment variables " -"\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --env=" -"\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\"\n" -"\n" -"\t\t# Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod" -"\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --labels=" -"\"app=hazelcast,env=prod\"\n" -"\n" -"\t\t# Dry run; print the corresponding API objects without creating them\n" -"\t\tkubectl run nginx --image=nginx --dry-run=client\n" -"\n" -"\t\t# Start a nginx pod, but overload the spec with a partial set of values " -"parsed from JSON\n" -"\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " -"\"spec\": { ... } }'\n" -"\n" -"\t\t# Start a busybox pod and keep it in the foreground, don't restart it if " -"it exits\n" -"\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -"\n" -"\t\t# Start the nginx pod using the default command, but use custom " -"arguments (arg1 .. argN) for that command\n" -"\t\tkubectl run nginx --image=nginx -- ... \n" -"\n" -"\t\t# Start the nginx pod using a different command and custom arguments\n" -"\t\tkubectl run nginx --image=nginx --command -- ... " - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:73 -msgid "" -"\n" -"\t\t# To proxy all of the Kubernetes API and nothing else\n" -"\t\tkubectl proxy --api-prefix=/\n" -"\n" -"\t\t# To proxy only part of the Kubernetes API and also some static files\n" -"\t\t# You can get pods info with 'curl localhost:8001/api/v1/pods'\n" -"\t\tkubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/\n" -"\n" -"\t\t# To proxy the entire Kubernetes API at a different root\n" -"\t\t# You can get pods info with 'curl localhost:8001/custom/api/v1/pods'\n" -"\t\tkubectl proxy --api-prefix=/custom/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on port 8011, serving static " -"content from ./local/www/\n" -"\t\tkubectl proxy --port=8011 --www=./local/www/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on an arbitrary local port\n" -"\t\t# The chosen port for the server will be output to stdout\n" -"\t\tkubectl proxy --port=0\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server, changing the API prefix to " -"k8s-api\n" -"\t\t# This makes e.g. the pods API available at localhost:8001/k8s-api/v1/" -"pods/\n" -"\t\tkubectl proxy --api-prefix=/k8s-api" -msgstr "" -"\n" -"\t\t# To proxy all of the Kubernetes API and nothing else\n" -"\t\tkubectl proxy --api-prefix=/\n" -"\n" -"\t\t# To proxy only part of the Kubernetes API and also some static files\n" -"\t\t# You can get pods info with 'curl localhost:8001/api/v1/pods'\n" -"\t\tkubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/\n" -"\n" -"\t\t# To proxy the entire Kubernetes API at a different root\n" -"\t\t# You can get pods info with 'curl localhost:8001/custom/api/v1/pods'\n" -"\t\tkubectl proxy --api-prefix=/custom/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on port 8011, serving static " -"content from ./local/www/\n" -"\t\tkubectl proxy --port=8011 --www=./local/www/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on an arbitrary local port\n" -"\t\t# The chosen port for the server will be output to stdout\n" -"\t\tkubectl proxy --port=0\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server, changing the API prefix to " -"k8s-api\n" -"\t\t# This makes e.g. the pods API available at localhost:8001/k8s-api/v1/" -"pods/\n" -"\t\tkubectl proxy --api-prefix=/k8s-api" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:80 -msgid "" -"\n" -"\t\t# Update node 'foo' with a taint with key 'dedicated' and value 'special-" -"user' and effect 'NoSchedule'\n" -"\t\t# If a taint with that key and effect already exists, its value is " -"replaced as specified\n" -"\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -"\n" -"\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -"'NoSchedule' if one exists\n" -"\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -"\n" -"\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -"\t\tkubectl taint nodes foo dedicated-\n" -"\n" -"\t\t# Add a taint with key 'dedicated' on nodes having label mylabel=X\n" -"\t\tkubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule\n" -"\n" -"\t\t# Add to node 'foo' a taint with key 'bar' and no value\n" -"\t\tkubectl taint nodes foo bar:NoSchedule" -msgstr "" -"\n" -"\t\t# Update node 'foo' with a taint with key 'dedicated' and value 'special-" -"user' and effect 'NoSchedule'\n" -"\t\t# If a taint with that key and effect already exists, its value is " -"replaced as specified\n" -"\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -"\n" -"\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -"'NoSchedule' if one exists\n" -"\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -"\n" -"\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -"\t\tkubectl taint nodes foo dedicated-\n" -"\n" -"\t\t# Add a taint with key 'dedicated' on nodes having label mylabel=X\n" -"\t\tkubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule\n" -"\n" -"\t\t# Add to node 'foo' a taint with key 'bar' and no value\n" -"\t\tkubectl taint nodes foo bar:NoSchedule" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:95 -msgid "" -"\n" -"\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'\n" -"\t\tkubectl label pods foo unhealthy=true\n" -"\n" -"\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -"overwriting any existing value\n" -"\t\tkubectl label --overwrite pods foo status=unhealthy\n" -"\n" -"\t\t# Update all pods in the namespace\n" -"\t\tkubectl label pods --all status=unhealthy\n" -"\n" -"\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -"\t\tkubectl label -f pod.json status=unhealthy\n" -"\n" -"\t\t# Update pod 'foo' only if the resource is unchanged from version 1\n" -"\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -"\n" -"\t\t# Update pod 'foo' by removing a label named 'bar' if it exists\n" -"\t\t# Does not require the --overwrite flag\n" -"\t\tkubectl label pods foo bar-" -msgstr "" -"\n" -"\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'\n" -"\t\tkubectl label pods foo unhealthy=true\n" -"\n" -"\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -"overwriting any existing value\n" -"\t\tkubectl label --overwrite pods foo status=unhealthy\n" -"\n" -"\t\t# Update all pods in the namespace\n" -"\t\tkubectl label pods --all status=unhealthy\n" -"\n" -"\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -"\t\tkubectl label -f pod.json status=unhealthy\n" -"\n" -"\t\t# Update pod 'foo' only if the resource is unchanged from version 1\n" -"\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -"\n" -"\t\t# Update pod 'foo' by removing a label named 'bar' if it exists\n" -"\t\t# Does not require the --overwrite flag\n" -"\t\tkubectl label pods foo bar-" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:53 -msgid "" -"\n" -"\t\t# View the last-applied-configuration annotations by type/name in YAML\n" -"\t\tkubectl apply view-last-applied deployment/nginx\n" -"\n" -"\t\t# View the last-applied-configuration annotations by file in JSON\n" -"\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -msgstr "" -"\n" -"\t\t# View the last-applied-configuration annotations by type/name in YAML\n" -"\t\tkubectl apply view-last-applied deployment/nginx\n" -"\n" -"\t\t# View the last-applied-configuration annotations by file in JSON\n" -"\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:61 -msgid "" -"\n" -"\t\t# Wait for the pod \"busybox1\" to contain the status condition of type " -"\"Ready\"\n" -"\t\tkubectl wait --for=condition=Ready pod/busybox1\n" -"\n" -"\t\t# The default value of status condition is true; you can set it to " -"false\n" -"\t\tkubectl wait --for=condition=Ready=false pod/busybox1\n" -"\n" -"\t\t# Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, " -"after having issued the \"delete\" command\n" -"\t\tkubectl delete pod/busybox1\n" -"\t\tkubectl wait --for=delete pod/busybox1 --timeout=60s" -msgstr "" -"\n" -"\t\t# Wait for the pod \"busybox1\" to contain the status condition of type " -"\"Ready\"\n" -"\t\tkubectl wait --for=condition=Ready pod/busybox1\n" -"\n" -"\t\t# The default value of status condition is true; you can set it to " -"false\n" -"\t\tkubectl wait --for=condition=Ready=false pod/busybox1\n" -"\n" -"\t\t# Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, " -"after having issued the \"delete\" command\n" -"\t\tkubectl delete pod/busybox1\n" -"\t\tkubectl wait --for=delete pod/busybox1 --timeout=60s" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:110 -msgid "" -"\n" -"\t\tApply a configuration to a resource by file name or stdin.\n" -"\t\tThe resource name must be specified. This resource will be created if it " -"doesn't exist yet.\n" -"\t\tTo use 'apply', always create the resource initially with either 'apply' " -"or 'create --save-config'.\n" -"\n" -"\t\tJSON and YAML formats are accepted.\n" -"\n" -"\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do not " -"use unless you are aware of what the current state is. See https://issues." -"k8s.io/34274." -msgstr "" -"\n" -"\t\tApply a configuration to a resource by file name or stdin.\n" -"\t\tThe resource name must be specified. This resource will be created if it " -"doesn't exist yet.\n" -"\t\tTo use 'apply', always create the resource initially with either 'apply' " -"or 'create --save-config'.\n" -"\n" -"\t\tJSON and YAML formats are accepted.\n" -"\n" -"\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do not " -"use unless you are aware of what the current state is. See https://issues." -"k8s.io/34274." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:126 -msgid "" -"\n" -"\t\tApprove a certificate signing request.\n" -"\n" -"\t\tkubectl certificate approve allows a cluster admin to approve a " -"certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tissue a certificate to the requestor with the attributes requested in " -"the CSR.\n" -"\n" -"\t\tSECURITY NOTICE: Depending on the requested attributes, the issued " -"certificate\n" -"\t\tcan potentially grant a requester access to cluster resources or to " -"authenticate\n" -"\t\tas a requested identity. Before approving a CSR, ensure you understand " -"what the\n" -"\t\tsigned certificate can do.\n" -"\t\t" -msgstr "" -"\n" -"\t\tApprove a certificate signing request.\n" -"\n" -"\t\tkubectl certificate approve allows a cluster admin to approve a " -"certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tissue a certificate to the requestor with the attributes requested in " -"the CSR.\n" -"\n" -"\t\tSECURITY NOTICE: Depending on the requested attributes, the issued " -"certificate\n" -"\t\tcan potentially grant a requester access to cluster resources or to " -"authenticate\n" -"\t\tas a requested identity. Before approving a CSR, ensure you understand " -"what the\n" -"\t\tsigned certificate can do.\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:28 -msgid "" -"\n" -"\t\tConfigure application resources.\n" -"\n" -"\t\tThese commands help you make changes to existing application resources." -msgstr "" -"\n" -"\t\tConfigure application resources.\n" -"\n" -"\t\tThese commands help you make changes to existing application resources." - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:41 -msgid "" -"\n" -"\t\tCreate a TLS secret from the given public/private key pair.\n" -"\n" -"\t\tThe public/private key pair must exist beforehand. The public key " -"certificate must be .PEM encoded and match\n" -"\t\tthe given private key." -msgstr "" -"\n" -"\t\tCreate a TLS secret from the given public/private key pair.\n" -"\n" -"\t\tThe public/private key pair must exist beforehand. The public key " -"certificate must be .PEM encoded and match\n" -"\t\tthe given private key." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:41 -msgid "" -"\n" -"\t\tCreate a cluster role binding for a particular cluster role." -msgstr "" -"\n" -"\t\tCreate a cluster role binding for a particular cluster role." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:38 -msgid "" -"\n" -"\t\tCreate a cluster role." -msgstr "" -"\n" -"\t\tCreate a cluster role." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:46 -msgid "" -"\n" -"\t\tCreate a config map based on a file, directory, or specified literal " -"value.\n" -"\n" -"\t\tA single config map may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a config map based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key, you may " -"specify an alternate key.\n" -"\n" -"\t\tWhen creating a config map based on a directory, each file whose " -"basename is a valid key in the directory will be\n" -"\t\tpackaged into the config map. Any directory entries except regular " -"files are ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." -msgstr "" -"\n" -"\t\tCreate a config map based on a file, directory, or specified literal " -"value.\n" -"\n" -"\t\tA single config map may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a config map based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key, you may " -"specify an alternate key.\n" -"\n" -"\t\tWhen creating a config map based on a directory, each file whose " -"basename is a valid key in the directory will be\n" -"\t\tpackaged into the config map. Any directory entries except regular " -"files are ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go:40 -msgid "" -"\n" -"\t\tCreate a cron job with the specified name." -msgstr "" -"\n" -"\t\tCreate a cron job with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:40 -msgid "" -"\n" -"\t\tCreate a job with the specified name." -msgstr "" -"\n" -"\t\tCreate a job with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\tCreate a namespace with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:41 -msgid "" -"\n" -"\t\tCreate a new secret for use with Docker registries.\n" -"\n" -"\t\tDockercfg secrets are used to authenticate against Docker registries.\n" -"\n" -"\t\tWhen using the Docker command line to push images, you can authenticate " -"to a given registry by running:\n" -"\t\t\t'$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -"password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -"\n" -"\tThat produces a ~/.dockercfg file that is used by subsequent 'docker push' " -"and 'docker pull' commands to\n" -"\t\tauthenticate to the registry. The email address is optional.\n" -"\n" -"\t\tWhen creating applications, you may have a Docker registry that requires " -"authentication. In order for the\n" -"\t\tnodes to pull images on your behalf, they must have the credentials. " -"You can provide this information\n" -"\t\tby creating a dockercfg secret and attaching it to your service account." -msgstr "" -"\n" -"\t\tCreate a new secret for use with Docker registries.\n" -"\n" -"\t\tDockercfg secrets are used to authenticate against Docker registries.\n" -"\n" -"\t\tWhen using the Docker command line to push images, you can authenticate " -"to a given registry by running:\n" -"\t\t\t'$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -"password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -"\n" -"\tThat produces a ~/.dockercfg file that is used by subsequent 'docker push' " -"and 'docker pull' commands to\n" -"\t\tauthenticate to the registry. The email address is optional.\n" -"\n" -"\t\tWhen creating applications, you may have a Docker registry that requires " -"authentication. In order for the\n" -"\t\tnodes to pull images on your behalf, they must have the credentials. " -"You can provide this information\n" -"\t\tby creating a dockercfg secret and attaching it to your service account." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:41 -msgid "" -"\n" -"\t\tCreate a pod disruption budget with the specified name, selector, and " -"desired minimum available pods." -msgstr "" -"\n" -"\t\tCreate a pod disruption budget with the specified name, selector, and " -"desired minimum available pods." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:40 -msgid "" -"\n" -"\t\tCreate a priority class with the specified name, value, globalDefault " -"and description." -msgstr "" -"\n" -"\t\tCreate a priority class with the specified name, value, globalDefault " -"and description." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:71 -msgid "" -"\n" -"\t\tCreate a resource from a file or from stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted." -msgstr "" -"\n" -"\t\tCreate a resource from a file or from stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:41 -msgid "" -"\n" -"\t\tCreate a resource quota with the specified name, hard limits, and " -"optional scopes." -msgstr "" -"\n" -"\t\tCreate a resource quota with the specified name, hard limits, and " -"optional scopes." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:40 -msgid "" -"\n" -"\t\tCreate a role binding for a particular role or cluster role." -msgstr "" -"\n" -"\t\tCreate a role binding for a particular role or cluster role." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\tCreate a role with single rule." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:61 -msgid "" -"\n" -"\t\tCreate a secret based on a file, directory, or specified literal value.\n" -"\n" -"\t\tA single secret may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a secret based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key or you " -"wish to chose your own, you may specify\n" -"\t\tan alternate key.\n" -"\n" -"\t\tWhen creating a secret based on a directory, each file whose basename is " -"a valid key in the directory will be\n" -"\t\tpackaged into the secret. Any directory entries except regular files are " -"ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." -msgstr "" -"\n" -"\t\tCreate a secret based on a file, directory, or specified literal value.\n" -"\n" -"\t\tA single secret may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a secret based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key or you " -"wish to chose your own, you may specify\n" -"\t\tan alternate key.\n" -"\n" -"\t\tWhen creating a secret based on a directory, each file whose basename is " -"a valid key in the directory will be\n" -"\t\tpackaged into the secret. Any directory entries except regular files are " -"ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\tCreate a service account with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:67 -msgid "" -"\n" -"\t\tCreates a proxy server or application-level gateway between localhost " -"and\n" -"\t\tthe Kubernetes API server. It also allows serving static content over " -"specified\n" -"\t\tHTTP path. All incoming data enters through one port and gets forwarded " -"to\n" -"\t\tthe remote Kubernetes API server port, except for the path matching the " -"static content path." -msgstr "" -"\n" -"\t\tCreates a proxy server or application-level gateway between localhost " -"and\n" -"\t\tthe Kubernetes API server. It also allows serving static content over " -"specified\n" -"\t\tHTTP path. All incoming data enters through one port and gets forwarded " -"to\n" -"\t\tthe remote Kubernetes API server port, except for the path matching the " -"static content path." - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:42 -msgid "" -"\n" -"\t\tCreates an autoscaler that automatically chooses and sets the number of " -"pods that run in a Kubernetes cluster.\n" -"\n" -"\t\tLooks up a deployment, replica set, stateful set, or replication " -"controller by name and creates an autoscaler that uses the given resource as " -"a reference.\n" -"\t\tAn autoscaler can automatically increase or decrease number of pods " -"deployed within the system as needed." -msgstr "" -"\n" -"\t\tCreates an autoscaler that automatically chooses and sets the number of " -"pods that run in a Kubernetes cluster.\n" -"\n" -"\t\tLooks up a deployment, replica set, stateful set, or replication " -"controller by name and creates an autoscaler that uses the given resource as " -"a reference.\n" -"\t\tAn autoscaler can automatically increase or decrease number of pods " -"deployed within the system as needed." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:57 -msgid "" -"\n" -"\t\tDebug cluster resources using interactive debugging containers.\n" -"\n" -"\t\t'debug' provides automation for common debugging tasks for cluster " -"objects identified by\n" -"\t\tresource and name. Pods will be used by default if no resource is " -"specified.\n" -"\n" -"\t\tThe action taken by 'debug' varies depending on what resource is " -"specified. Supported\n" -"\t\tactions include:\n" -"\n" -"\t\t* Workload: Create a copy of an existing pod with certain attributes " -"changed,\n" -"\t for example changing the image tag to a new version.\n" -"\t\t* Workload: Add an ephemeral container to an already running pod, for " -"example to add\n" -"\t\t debugging utilities without restarting the pod.\n" -"\t\t* Node: Create a new pod that runs in the node's host namespaces and can " -"access\n" -"\t\t the node's filesystem.\n" -msgstr "" -"\n" -"\t\tDebug cluster resources using interactive debugging containers.\n" -"\n" -"\t\t'debug' provides automation for common debugging tasks for cluster " -"objects identified by\n" -"\t\tresource and name. Pods will be used by default if no resource is " -"specified.\n" -"\n" -"\t\tThe action taken by 'debug' varies depending on what resource is " -"specified. Supported\n" -"\t\tactions include:\n" -"\n" -"\t\t* Workload: Create a copy of an existing pod with certain attributes " -"changed,\n" -"\t for example changing the image tag to a new version.\n" -"\t\t* Workload: Add an ephemeral container to an already running pod, for " -"example to add\n" -"\t\t debugging utilities without restarting the pod.\n" -"\t\t* Node: Create a new pod that runs in the node's host namespaces and can " -"access\n" -"\t\t the node's filesystem.\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:45 -msgid "" -"\n" -"\t\tDelete resources by file names, stdin, resources and names, or by " -"resources and label selector.\n" -"\n" -"\t\tJSON and YAML formats are accepted. Only one type of argument may be " -"specified: file names,\n" -"\t\tresources and names, or resources and label selector.\n" -"\n" -"\t\tSome resources, such as pods, support graceful deletion. These resources " -"define a default period\n" -"\t\tbefore they are forcibly terminated (the grace period) but you may " -"override that value with\n" -"\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -"Because these resources often\n" -"\t\trepresent entities in the cluster, deletion may not be acknowledged " -"immediately. If the node\n" -"\t\thosting a pod is down or cannot reach the API server, termination may " -"take significantly longer\n" -"\t\tthan the grace period. To force delete a resource, you must specify the " -"--force flag.\n" -"\t\tNote: only a subset of resources support graceful deletion. In absence " -"of the support,\n" -"\t\tthe --grace-period flag is ignored.\n" -"\n" -"\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " -"pod's processes have been\n" -"\t\tterminated, which can leave those processes running until the node " -"detects the deletion and\n" -"\t\tcompletes graceful deletion. If your processes use shared storage or " -"talk to a remote API and\n" -"\t\tdepend on the name of the pod to identify themselves, force deleting " -"those pods may result in\n" -"\t\tmultiple processes running on different machines using the same " -"identification which may lead\n" -"\t\tto data corruption or inconsistency. Only force delete pods when you are " -"sure the pod is\n" -"\t\tterminated, or if your application can tolerate multiple copies of the " -"same pod running at once.\n" -"\t\tAlso, if you force delete pods, the scheduler may place new pods on " -"those nodes before the node\n" -"\t\thas released those resources and causing those pods to be evicted " -"immediately.\n" -"\n" -"\t\tNote that the delete command does NOT do resource version checks, so if " -"someone submits an\n" -"\t\tupdate to a resource right when you submit a delete, their update will " -"be lost along with the\n" -"\t\trest of the resource." -msgstr "" -"\n" -"\t\tDelete resources by file names, stdin, resources and names, or by " -"resources and label selector.\n" -"\n" -"\t\tJSON and YAML formats are accepted. Only one type of argument may be " -"specified: file names,\n" -"\t\tresources and names, or resources and label selector.\n" -"\n" -"\t\tSome resources, such as pods, support graceful deletion. These resources " -"define a default period\n" -"\t\tbefore they are forcibly terminated (the grace period) but you may " -"override that value with\n" -"\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -"Because these resources often\n" -"\t\trepresent entities in the cluster, deletion may not be acknowledged " -"immediately. If the node\n" -"\t\thosting a pod is down or cannot reach the API server, termination may " -"take significantly longer\n" -"\t\tthan the grace period. To force delete a resource, you must specify the " -"--force flag.\n" -"\t\tNote: only a subset of resources support graceful deletion. In absence " -"of the support,\n" -"\t\tthe --grace-period flag is ignored.\n" -"\n" -"\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " -"pod's processes have been\n" -"\t\tterminated, which can leave those processes running until the node " -"detects the deletion and\n" -"\t\tcompletes graceful deletion. If your processes use shared storage or " -"talk to a remote API and\n" -"\t\tdepend on the name of the pod to identify themselves, force deleting " -"those pods may result in\n" -"\t\tmultiple processes running on different machines using the same " -"identification which may lead\n" -"\t\tto data corruption or inconsistency. Only force delete pods when you are " -"sure the pod is\n" -"\t\tterminated, or if your application can tolerate multiple copies of the " -"same pod running at once.\n" -"\t\tAlso, if you force delete pods, the scheduler may place new pods on " -"those nodes before the node\n" -"\t\thas released those resources and causing those pods to be evicted " -"immediately.\n" -"\n" -"\t\tNote that the delete command does NOT do resource version checks, so if " -"someone submits an\n" -"\t\tupdate to a resource right when you submit a delete, their update will " -"be lost along with the\n" -"\t\trest of the resource." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:175 -msgid "" -"\n" -"\t\tDeny a certificate signing request.\n" -"\n" -"\t\tkubectl certificate deny allows a cluster admin to deny a certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tnot to issue a certificate to the requestor.\n" -"\t\t" -msgstr "" -"\n" -"\t\tDeny a certificate signing request.\n" -"\n" -"\t\tkubectl certificate deny allows a cluster admin to deny a certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tnot to issue a certificate to the requestor.\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:53 -msgid "" -"\n" -"\t\tDiff configurations specified by file name or stdin between the current " -"online\n" -"\t\tconfiguration, and the configuration as it would be if applied.\n" -"\n" -"\t\tThe output is always YAML.\n" -"\n" -"\t\tKUBECTL_EXTERNAL_DIFF environment variable can be used to select your " -"own\n" -"\t\tdiff command. Users can use external commands with params too, example:\n" -"\t\tKUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"\n" -"\n" -"\t\tBy default, the \"diff\" command available in your path will be\n" -"\t\trun with the \"-u\" (unified diff) and \"-N\" (treat absent files as " -"empty) options.\n" -"\n" -"\t\tExit status:\n" -"\t\t 0\n" -"\t\tNo differences were found.\n" -"\t\t 1\n" -"\t\tDifferences were found.\n" -"\t\t >1\n" -"\t\tKubectl or diff failed with an error.\n" -"\n" -"\t\tNote: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that " -"convention." -msgstr "" -"\n" -"\t\tDiff configurations specified by file name or stdin between the current " -"online\n" -"\t\tconfiguration, and the configuration as it would be if applied.\n" -"\n" -"\t\tThe output is always YAML.\n" -"\n" -"\t\tKUBECTL_EXTERNAL_DIFF environment variable can be used to select your " -"own\n" -"\t\tdiff command. Users can use external commands with params too, example:\n" -"\t\tKUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"\n" -"\n" -"\t\tBy default, the \"diff\" command available in your path will be\n" -"\t\trun with the \"-u\" (unified diff) and \"-N\" (treat absent files as " -"empty) options.\n" -"\n" -"\t\tExit status:\n" -"\t\t 0\n" -"\t\tNo differences were found.\n" -"\t\t 1\n" -"\t\tDifferences were found.\n" -"\t\t >1\n" -"\t\tKubectl or diff failed with an error.\n" -"\n" -"\t\tNote: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that " -"convention." - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top.go:39 -msgid "" -"\n" -"\t\tDisplay Resource (CPU/Memory) usage.\n" -"\n" -"\t\tThe top command allows you to see the resource consumption for nodes or " -"pods.\n" -"\n" -"\t\tThis command requires Metrics Server to be correctly configured and " -"working on the server. " -msgstr "" -"\n" -"\t\tDisplay Resource (CPU/Memory) usage.\n" -"\n" -"\t\tThe top command allows you to see the resource consumption for nodes or " -"pods.\n" -"\n" -"\t\tThis command requires Metrics Server to be correctly configured and " -"working on the server. " - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:54 -msgid "" -"\n" -"\t\tDisplay merged kubeconfig settings or a specified kubeconfig file.\n" -"\n" -"\t\tYou can use --output jsonpath={...} to extract specific values using a " -"jsonpath expression." -msgstr "" -"\n" -"\t\tDisplay merged kubeconfig settings or a specified kubeconfig file.\n" -"\n" -"\t\tYou can use --output jsonpath={...} to extract specific values using a " -"jsonpath expression." - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:92 -msgid "" -"\n" -"\t\tDisplay one or many resources.\n" -"\n" -"\t\tPrints a table of the most important information about the specified " -"resources.\n" -"\t\tYou can filter the list using a label selector and the --selector flag. " -"If the\n" -"\t\tdesired resource type is namespaced you will only see results in your " -"current\n" -"\t\tnamespace unless you pass --all-namespaces.\n" -"\n" -"\t\tUninitialized objects are not shown unless --include-uninitialized is " -"passed.\n" -"\n" -"\t\tBy specifying the output as 'template' and providing a Go template as " -"the value\n" -"\t\tof the --template flag, you can filter the attributes of the fetched " -"resources." -msgstr "" -"\n" -"\t\tDisplay one or many resources.\n" -"\n" -"\t\tPrints a table of the most important information about the specified " -"resources.\n" -"\t\tYou can filter the list using a label selector and the --selector flag. " -"If the\n" -"\t\tdesired resource type is namespaced you will only see results in your " -"current\n" -"\t\tnamespace unless you pass --all-namespaces.\n" -"\n" -"\t\tUninitialized objects are not shown unless --include-uninitialized is " -"passed.\n" -"\n" -"\t\tBy specifying the output as 'template' and providing a Go template as " -"the value\n" -"\t\tof the --template flag, you can filter the attributes of the fetched " -"resources." - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:57 -msgid "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of nodes.\n" -"\n" -"\t\tThe top-node command allows you to see the resource consumption of nodes." -msgstr "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of nodes.\n" -"\n" -"\t\tThe top-node command allows you to see the resource consumption of nodes." - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:67 -msgid "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of pods.\n" -"\n" -"\t\tThe 'top pod' command allows you to see the resource consumption of " -"pods.\n" -"\n" -"\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -"minutes\n" -"\t\tsince pod creation." -msgstr "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of pods.\n" -"\n" -"\t\tThe 'top pod' command allows you to see the resource consumption of " -"pods.\n" -"\n" -"\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -"minutes\n" -"\t\tsince pod creation." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/current_context.go:37 -msgid "" -"\n" -"\t\tDisplay the current-context." -msgstr "" -"\n" -"\t\tDisplay the current-context." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:113 -msgid "" -"\n" -"\t\tDrain node in preparation for maintenance.\n" -"\n" -"\t\tThe given node will be marked unschedulable to prevent new pods from " -"arriving.\n" -"\t\t'drain' evicts the pods if the API server supports\n" -"\t\t[eviction](https://kubernetes.io/docs/concepts/workloads/pods/" -"disruptions/). Otherwise, it will use normal\n" -"\t\tDELETE to delete the pods.\n" -"\t\tThe 'drain' evicts or deletes all pods except mirror pods (which cannot " -"be deleted through\n" -"\t\tthe API server). If there are daemon set-managed pods, drain will not " -"proceed\n" -"\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -"\t\tdaemon set-managed pods, because those pods would be immediately " -"replaced by the\n" -"\t\tdaemon set controller, which ignores unschedulable markings. If there " -"are any\n" -"\t\tpods that are neither mirror pods nor managed by a replication " -"controller,\n" -"\t\treplica set, daemon set, stateful set, or job, then drain will not " -"delete any pods unless you\n" -"\t\tuse --force. --force will also allow deletion to proceed if the " -"managing resource of one\n" -"\t\tor more pods is missing.\n" -"\n" -"\t\t'drain' waits for graceful termination. You should not operate on the " -"machine until\n" -"\t\tthe command completes.\n" -"\n" -"\t\tWhen you are ready to put the node back into service, use kubectl " -"uncordon, which\n" -"\t\twill make the node schedulable again.\n" -"\n" -"\t\t![Workflow](https://kubernetes.io/images/docs/kubectl_drain.svg)" -msgstr "" -"\n" -"\t\tDrain node in preparation for maintenance.\n" -"\n" -"\t\tThe given node will be marked unschedulable to prevent new pods from " -"arriving.\n" -"\t\t'drain' evicts the pods if the API server supports\n" -"\t\t[eviction](https://kubernetes.io/docs/concepts/workloads/pods/" -"disruptions/). Otherwise, it will use normal\n" -"\t\tDELETE to delete the pods.\n" -"\t\tThe 'drain' evicts or deletes all pods except mirror pods (which cannot " -"be deleted through\n" -"\t\tthe API server). If there are daemon set-managed pods, drain will not " -"proceed\n" -"\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -"\t\tdaemon set-managed pods, because those pods would be immediately " -"replaced by the\n" -"\t\tdaemon set controller, which ignores unschedulable markings. If there " -"are any\n" -"\t\tpods that are neither mirror pods nor managed by a replication " -"controller,\n" -"\t\treplica set, daemon set, stateful set, or job, then drain will not " -"delete any pods unless you\n" -"\t\tuse --force. --force will also allow deletion to proceed if the " -"managing resource of one\n" -"\t\tor more pods is missing.\n" -"\n" -"\t\t'drain' waits for graceful termination. You should not operate on the " -"machine until\n" -"\t\tthe command completes.\n" -"\n" -"\t\tWhen you are ready to put the node back into service, use kubectl " -"uncordon, which\n" -"\t\twill make the node schedulable again.\n" -"\n" -"\t\t![Workflow](https://kubernetes.io/images/docs/kubectl_drain.svg)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:31 -msgid "" -"\n" -"\t\tEdit a resource from the default editor.\n" -"\n" -"\t\tThe edit command allows you to directly edit any API resource you can " -"retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tEditing is done with the API version used to fetch the resource.\n" -"\t\tTo edit using a specific API version, fully-qualify the resource, " -"version, and group.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." -msgstr "" -"\n" -"\t\tEdit a resource from the default editor.\n" -"\n" -"\t\tThe edit command allows you to directly edit any API resource you can " -"retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tEditing is done with the API version used to fetch the resource.\n" -"\t\tTo edit using a specific API version, fully-qualify the resource, " -"version, and group.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_edit_last_applied.go:31 -msgid "" -"\n" -"\t\tEdit the latest last-applied-configuration annotations of resources from " -"the default editor.\n" -"\n" -"\t\tThe edit-last-applied command allows you to directly edit any API " -"resource you can retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." -msgstr "" -"\n" -"\t\tEdit the latest last-applied-configuration annotations of resources from " -"the default editor.\n" -"\n" -"\t\tThe edit-last-applied command allows you to directly edit any API " -"resource you can retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:49 -msgid "" -"\n" -"\t\tExperimental: Wait for a specific condition on one or many resources.\n" -"\n" -"\t\tThe command takes multiple resources and waits until the specified " -"condition\n" -"\t\tis seen in the Status field of every given resource.\n" -"\n" -"\t\tAlternatively, the command can wait for the given set of resources to be " -"deleted\n" -"\t\tby providing the \"delete\" keyword as the value to the --for flag.\n" -"\n" -"\t\tA successful message will be printed to stdout indicating when the " -"specified\n" -" condition has been met. You can use -o option to change to output " -"destination." -msgstr "" -"\n" -"\t\tExperimental: Wait for a specific condition on one or many resources.\n" -"\n" -"\t\tThe command takes multiple resources and waits until the specified " -"condition\n" -"\t\tis seen in the Status field of every given resource.\n" -"\n" -"\t\tAlternatively, the command can wait for the given set of resources to be " -"deleted\n" -"\t\tby providing the \"delete\" keyword as the value to the --for flag.\n" -"\n" -"\t\tA successful message will be printed to stdout indicating when the " -"specified\n" -" condition has been met. You can use -o option to change to output " -"destination." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:47 -msgid "" -"\n" -"\t\tExpose a resource as a new Kubernetes service.\n" -"\n" -"\t\tLooks up a deployment, service, replica set, replication controller or " -"pod by name and uses the selector\n" -"\t\tfor that resource as the selector for a new service on the specified " -"port. A deployment or replica set\n" -"\t\twill be exposed as a service only if its selector is convertible to a " -"selector that service supports,\n" -"\t\ti.e. when the selector contains only the matchLabels component. Note " -"that if no port is specified via\n" -"\t\t--port and the exposed resource has multiple ports, all will be re-used " -"by the new service. Also if no\n" -"\t\tlabels are specified, the new service will re-use the labels from the " -"resource it exposes.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\n" -"\t\t" -msgstr "" -"\n" -"\t\tExpose a resource as a new Kubernetes service.\n" -"\n" -"\t\tLooks up a deployment, service, replica set, replication controller or " -"pod by name and uses the selector\n" -"\t\tfor that resource as the selector for a new service on the specified " -"port. A deployment or replica set\n" -"\t\twill be exposed as a service only if its selector is convertible to a " -"selector that service supports,\n" -"\t\ti.e. when the selector contains only the matchLabels component. Note " -"that if no port is specified via\n" -"\t\t--port and the exposed resource has multiple ports, all will be re-used " -"by the new service. Also if no\n" -"\t\tlabels are specified, the new service will re-use the labels from the " -"resource it exposes.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:46 -msgid "" -"\n" -"\t\tList all available plugin files on a user's PATH.\n" -"\n" -"\t\tAvailable plugin files are those that are:\n" -"\t\t- executable\n" -"\t\t- anywhere on the user's PATH\n" -"\t\t- begin with \"kubectl-\"\n" -msgstr "" -"\n" -"\t\tList all available plugin files on a user's PATH.\n" -"\n" -"\t\tAvailable plugin files are those that are:\n" -"\t\t- executable\n" -"\t\t- anywhere on the user's PATH\n" -"\t\t- begin with \"kubectl-\"\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:35 -msgid "" -"\n" -"\t\tList the fields for supported resources.\n" -"\n" -"\t\tThis command describes the fields associated with each supported API " -"resource.\n" -"\t\tFields are identified via a simple JSONPath identifier:\n" -"\n" -"\t\t\t.[.]\n" -"\n" -"\t\tAdd the --recursive flag to display all of the fields at once without " -"descriptions.\n" -"\t\tInformation about each field is retrieved from the server in OpenAPI " -"format." -msgstr "" -"\n" -"\t\tList the fields for supported resources.\n" -"\n" -"\t\tThis command describes the fields associated with each supported API " -"resource.\n" -"\t\tFields are identified via a simple JSONPath identifier:\n" -"\n" -"\t\t\t.[.]\n" -"\n" -"\t\tAdd the --recursive flag to display all of the fields at once without " -"descriptions.\n" -"\t\tInformation about each field is retrieved from the server in OpenAPI " -"format." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go:30 -msgid "" -"\n" -"\t\tManage the rollout of a resource." -msgstr "" -"\n" -"\t\tManage the rollout of a resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\tMark node as schedulable." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\tMark node as unschedulable." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:57 -msgid "" -"\n" -"\t\tMark the provided resource as paused.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller.\n" -"\t\tUse \"kubectl rollout resume\" to resume a paused resource.\n" -"\t\tCurrently only deployments support being paused." -msgstr "" -"\n" -"\t\tMark the provided resource as paused.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller.\n" -"\t\tUse \"kubectl rollout resume\" to resume a paused resource.\n" -"\t\tCurrently only deployments support being paused." - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:46 -msgid "" -"\n" -"\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -"\t\tThe shell code must be evaluated to provide interactive\n" -"\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" -"\t\tthe .bash_profile.\n" -"\n" -"\t\tDetailed instructions on how to do this are available here:\n" -"\n" -" for macOS:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-" -"shell-autocompletion\n" -"\n" -" for linux:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-" -"shell-autocompletion\n" -"\n" -" for windows:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/" -"#enable-shell-autocompletion\n" -"\n" -"\t\tNote for zsh users: [1] zsh completions are only supported in versions " -"of zsh >= 5.2." -msgstr "" -"\n" -"\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -"\t\tThe shell code must be evaluated to provide interactive\n" -"\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" -"\t\tthe .bash_profile.\n" -"\n" -"\t\tDetailed instructions on how to do this are available here:\n" -"\n" -" for macOS:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-" -"shell-autocompletion\n" -"\n" -" for linux:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-" -"shell-autocompletion\n" -"\n" -" for windows:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/" -"#enable-shell-autocompletion\n" -"\n" -"\t\tNote for zsh users: [1] zsh completions are only supported in versions " -"of zsh >= 5.2." - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:49 -msgid "" -"\n" -"\t\tPrint the logs for a container in a pod or specified resource. \n" -"\t\tIf the pod has only one container, the container name is optional." -msgstr "" -"\n" -"\t\tPrint the logs for a container in a pod or specified resource. \n" -"\t\tIf the pod has only one container, the container name is optional." - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:37 -msgid "" -"\n" -"\t\tProvides utilities for interacting with plugins.\n" -"\n" -"\t\tPlugins provide extended functionality that is not part of the major " -"command-line distribution.\n" -"\t\tPlease refer to the documentation and examples for more information " -"about how write your own plugins.\n" -"\n" -"\t\tThe easiest way to discover and install plugins is via the kubernetes " -"sub-project krew.\n" -"\t\tTo install krew, visit [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/" -"user-guide/setup/install/)" -msgstr "" -"\n" -"\t\tProvides utilities for interacting with plugins.\n" -"\n" -"\t\tPlugins provide extended functionality that is not part of the major " -"command-line distribution.\n" -"\t\tPlease refer to the documentation and examples for more information " -"about how write your own plugins.\n" -"\n" -"\t\tThe easiest way to discover and install plugins is via the kubernetes " -"sub-project krew.\n" -"\t\tTo install krew, visit [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/" -"user-guide/setup/install/)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go:47 -msgid "" -"\n" -"\t\tRenames a context from the kubeconfig file.\n" -"\n" -"\t\tCONTEXT_NAME is the context name that you want to change.\n" -"\n" -"\t\tNEW_NAME is the new name you want to set.\n" -"\n" -"\t\tNote: If the context being renamed is the 'current-context', this field " -"will also be updated." -msgstr "" -"\n" -"\t\tRenames a context from the kubeconfig file.\n" -"\n" -"\t\tCONTEXT_NAME is the context name that you want to change.\n" -"\n" -"\t\tNEW_NAME is the new name you want to set.\n" -"\n" -"\t\tNote: If the context being renamed is the 'current-context', this field " -"will also be updated." - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:48 -msgid "" -"\n" -"\t\tReplace a resource by file name or stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted. If replacing an existing resource, " -"the\n" -"\t\tcomplete resource spec must be provided. This can be obtained by\n" -"\n" -"\t\t $ kubectl get TYPE NAME -o yaml" -msgstr "" -"\n" -"\t\tReplace a resource by file name or stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted. If replacing an existing resource, " -"the\n" -"\t\tcomplete resource spec must be provided. This can be obtained by\n" -"\n" -"\t\t $ kubectl get TYPE NAME -o yaml" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_restart.go:57 -msgid "" -"\n" -"\t\tRestart a resource.\n" -"\n" -"\t Resource rollout will be restarted." -msgstr "" -"\n" -"\t\tRestart a resource.\n" -"\n" -"\t Resource rollout will be restarted." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:58 -msgid "" -"\n" -"\t\tResume a paused resource.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller. By resuming a\n" -"\t\tresource, we allow it to be reconciled again.\n" -"\t\tCurrently only deployments support being resumed." -msgstr "" -"\n" -"\t\tResume a paused resource.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller. By resuming a\n" -"\t\tresource, we allow it to be reconciled again.\n" -"\t\tCurrently only deployments support being resumed." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:55 -msgid "" -"\n" -"\t\tRoll back to a previous rollout." -msgstr "" -"\n" -"\t\tRoll back to a previous rollout." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_cluster.go:47 -msgid "" -"\n" -"\t\tSet a cluster entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." -msgstr "" -"\n" -"\t\tSet a cluster entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_context.go:44 -msgid "" -"\n" -"\t\tSet a context entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." -msgstr "" -"\n" -"\t\tSet a context entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:40 -msgid "" -"\n" -"\t\tSet a new size for a deployment, replica set, replication controller, or " -"stateful set.\n" -"\n" -"\t\tScale also allows users to specify one or more preconditions for the " -"scale action.\n" -"\n" -"\t\tIf --current-replicas or --resource-version is specified, it is " -"validated before the\n" -"\t\tscale is attempted, and it is guaranteed that the precondition holds " -"true when the\n" -"\t\tscale is sent to the server." -msgstr "" -"\n" -"\t\tSet a new size for a deployment, replica set, replication controller, or " -"stateful set.\n" -"\n" -"\t\tScale also allows users to specify one or more preconditions for the " -"scale action.\n" -"\n" -"\t\tIf --current-replicas or --resource-version is specified, it is " -"validated before the\n" -"\t\tscale is attempted, and it is guaranteed that the precondition holds " -"true when the\n" -"\t\tscale is sent to the server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go:70 -#, c-format -msgid "" -"\n" -"\t\tSet a user entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values.\n" -"\n" -"\t\t Client-certificate flags:\n" -"\t\t --%v=certfile --%v=keyfile\n" -"\n" -"\t\t Bearer token flags:\n" -"\t\t\t --%v=bearer_token\n" -"\n" -"\t\t Basic auth flags:\n" -"\t\t\t --%v=basic_user --%v=basic_password\n" -"\n" -"\t\tBearer token and basic auth are mutually exclusive." -msgstr "" -"\n" -"\t\tSet a user entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values.\n" -"\n" -"\t\t Client-certificate flags:\n" -"\t\t --%v=certfile --%v=keyfile\n" -"\n" -"\t\t Bearer token flags:\n" -"\t\t\t --%v=bearer_token\n" -"\n" -"\t\t Basic auth flags:\n" -"\t\t\t --%v=basic_user --%v=basic_password\n" -"\n" -"\t\tBearer token and basic auth are mutually exclusive." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:67 -#, c-format -msgid "" -"\n" -"\t\tSet the selector on a resource. Note that the new selector will " -"overwrite the old selector if the resource had one prior to the invocation\n" -"\t\tof 'set selector'.\n" -"\n" -"\t\tA selector must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\tIf --resource-version is specified, then updates will use this resource " -"version, otherwise the existing resource-version will be used.\n" -" Note: currently selectors can only be set on Service objects." -msgstr "" -"\n" -"\t\tSet the selector on a resource. Note that the new selector will " -"overwrite the old selector if the resource had one prior to the invocation\n" -"\t\tof 'set selector'.\n" -"\n" -"\t\tA selector must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\tIf --resource-version is specified, then updates will use this resource " -"version, otherwise the existing resource-version will be used.\n" -" Note: currently selectors can only be set on Service objects." - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:39 -msgid "" -"\n" -"\t\tShow details of a specific resource or group of resources.\n" -"\n" -"\t\tPrint a detailed description of the selected resources, including " -"related resources such\n" -"\t\tas events or controllers. You may select a single object by name, all " -"objects of that\n" -"\t\ttype, provide a name prefix, or label selector. For example:\n" -"\n" -"\t\t $ kubectl describe TYPE NAME_PREFIX\n" -"\n" -"\t\twill first check for an exact match on TYPE and NAME_PREFIX. If no such " -"resource\n" -"\t\texists, it will output details for every resource that has a name " -"prefixed with NAME_PREFIX." -msgstr "" -"\n" -"\t\tShow details of a specific resource or group of resources.\n" -"\n" -"\t\tPrint a detailed description of the selected resources, including " -"related resources such\n" -"\t\tas events or controllers. You may select a single object by name, all " -"objects of that\n" -"\t\ttype, provide a name prefix, or label selector. For example:\n" -"\n" -"\t\t $ kubectl describe TYPE NAME_PREFIX\n" -"\n" -"\t\twill first check for an exact match on TYPE and NAME_PREFIX. If no such " -"resource\n" -"\t\texists, it will output details for every resource that has a name " -"prefixed with NAME_PREFIX." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:47 -msgid "" -"\n" -"\t\tShow the status of the rollout.\n" -"\n" -"\t\tBy default 'rollout status' will watch the status of the latest rollout\n" -"\t\tuntil it's done. If you don't want to wait for the rollout to finish " -"then\n" -"\t\tyou can use --watch=false. Note that if a new rollout starts in-between, " -"then\n" -"\t\t'rollout status' will continue watching the latest revision. If you want " -"to\n" -"\t\tpin to a specific revision and abort if it is rolled over by another " -"revision,\n" -"\t\tuse --revision=N where N is the revision you need to watch for." -msgstr "" -"\n" -"\t\tShow the status of the rollout.\n" -"\n" -"\t\tBy default 'rollout status' will watch the status of the latest rollout\n" -"\t\tuntil it's done. If you don't want to wait for the rollout to finish " -"then\n" -"\t\tyou can use --watch=false. Note that if a new rollout starts in-between, " -"then\n" -"\t\t'rollout status' will continue watching the latest revision. If you want " -"to\n" -"\t\tpin to a specific revision and abort if it is rolled over by another " -"revision,\n" -"\t\tuse --revision=N where N is the revision you need to watch for." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:41 -#, c-format -msgid "" -"\n" -"\t\tSpecify compute resource requirements (CPU, memory) for any resource " -"that defines a pod template. If a pod is successfully scheduled, it is " -"guaranteed the amount of resource requested, but may burst up to its " -"specified limits.\n" -"\n" -"\t\tFor each compute resource, if a limit is specified and a request is " -"omitted, the request will default to the limit.\n" -"\n" -"\t\tPossible resources include (case insensitive): %s." -msgstr "" -"\n" -"\t\tSpecify compute resource requirements (CPU, memory) for any resource " -"that defines a pod template. If a pod is successfully scheduled, it is " -"guaranteed the amount of resource requested, but may burst up to its " -"specified limits.\n" -"\n" -"\t\tFor each compute resource, if a limit is specified and a request is " -"omitted, the request will default to the limit.\n" -"\n" -"\t\tPossible resources include (case insensitive): %s." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go:50 -msgid "" -"\n" -"\t\tUpdate environment variables on a pod template.\n" -"\n" -"\t\tList environment variable definitions in one or more pods, pod " -"templates.\n" -"\t\tAdd, update, or remove container environment variable definitions in one " -"or\n" -"\t\tmore pod templates (within replication controllers or deployment " -"configurations).\n" -"\t\tView or modify the environment variable definitions on all containers in " -"the\n" -"\t\tspecified pods or pod templates, or just those that match a wildcard.\n" -"\n" -"\t\tIf \"--env -\" is passed, environment variables can be read from STDIN " -"using the standard env\n" -"\t\tsyntax.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" -msgstr "" -"\n" -"\t\tUpdate environment variables on a pod template.\n" -"\n" -"\t\tList environment variable definitions in one or more pods, pod " -"templates.\n" -"\t\tAdd, update, or remove container environment variable definitions in one " -"or\n" -"\t\tmore pod templates (within replication controllers or deployment " -"configurations).\n" -"\t\tView or modify the environment variable definitions on all containers in " -"the\n" -"\t\tspecified pods or pod templates, or just those that match a wildcard.\n" -"\n" -"\t\tIf \"--env -\" is passed, environment variables can be read from STDIN " -"using the standard env\n" -"\t\tsyntax.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:71 -msgid "" -"\n" -"\t\tUpdate existing container image(s) of resources.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" -msgstr "" -"\n" -"\t\tUpdate existing container image(s) of resources.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:78 -msgid "" -"\n" -"\t\tUpdate fields of a resource using strategic merge patch, a JSON merge " -"patch, or a JSON patch.\n" -"\n" -"\t\tJSON and YAML formats are accepted." -msgstr "" -"\n" -"\t\tUpdate fields of a resource using strategic merge patch, a JSON merge " -"patch, or a JSON patch.\n" -"\n" -"\t\tJSON and YAML formats are accepted." - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:83 -msgid "" -"\n" -"\t\tUpdate the annotations on one or more resources.\n" -"\n" -"\t\tAll Kubernetes objects support the ability to store additional data with " -"the object as\n" -"\t\tannotations. Annotations are key/value pairs that can be larger than " -"labels and include\n" -"\t\tarbitrary string values such as structured JSON. Tools and system " -"extensions may use\n" -"\t\tannotations to store their own data.\n" -"\n" -"\t\tAttempting to set an annotation that already exists will fail unless --" -"overwrite is set.\n" -"\t\tIf --resource-version is specified and does not match the current " -"resource version on\n" -"\t\tthe server the command will fail." -msgstr "" -"\n" -"\t\tUpdate the annotations on one or more resources.\n" -"\n" -"\t\tAll Kubernetes objects support the ability to store additional data with " -"the object as\n" -"\t\tannotations. Annotations are key/value pairs that can be larger than " -"labels and include\n" -"\t\tarbitrary string values such as structured JSON. Tools and system " -"extensions may use\n" -"\t\tannotations to store their own data.\n" -"\n" -"\t\tAttempting to set an annotation that already exists will fail unless --" -"overwrite is set.\n" -"\t\tIf --resource-version is specified and does not match the current " -"resource version on\n" -"\t\tthe server the command will fail." - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:87 -#, c-format -msgid "" -"\n" -"\t\tUpdate the labels on a resource.\n" -"\n" -"\t\t* A label key and value must begin with a letter or number, and may " -"contain letters, numbers, hyphens, dots, and underscores, up to %[1]d " -"characters each.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* If --overwrite is true, then existing labels can be overwritten, " -"otherwise attempting to overwrite a label will result in an error.\n" -"\t\t* If --resource-version is specified, then updates will use this " -"resource version, otherwise the existing resource-version will be used." -msgstr "" -"\n" -"\t\tUpdate the labels on a resource.\n" -"\n" -"\t\t* A label key and value must begin with a letter or number, and may " -"contain letters, numbers, hyphens, dots, and underscores, up to %[1]d " -"characters each.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* If --overwrite is true, then existing labels can be overwritten, " -"otherwise attempting to overwrite a label will result in an error.\n" -"\t\t* If --resource-version is specified, then updates will use this " -"resource version, otherwise the existing resource-version will be used." - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:70 -#, c-format -msgid "" -"\n" -"\t\tUpdate the taints on one or more nodes.\n" -"\n" -"\t\t* A taint consists of a key, value, and effect. As an argument here, it " -"is expressed as key=value:effect.\n" -"\t\t* The key must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* The value is optional. If given, it must begin with a letter or " -"number, and may contain letters, numbers, hyphens, dots, and underscores, up " -"to %[2]d characters.\n" -"\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -"\t\t* Currently taint can only apply to node." -msgstr "" -"\n" -"\t\tUpdate the taints on one or more nodes.\n" -"\n" -"\t\t* A taint consists of a key, value, and effect. As an argument here, it " -"is expressed as key=value:effect.\n" -"\t\t* The key must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* The value is optional. If given, it must begin with a letter or " -"number, and may contain letters, numbers, hyphens, dots, and underscores, up " -"to %[2]d characters.\n" -"\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -"\t\t* Currently taint can only apply to node." - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:36 -msgid "" -"\n" -"\t\tView previous rollout revisions and configurations." -msgstr "" -"\n" -"\t\tView previous rollout revisions and configurations." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:47 -msgid "" -"\n" -"\t\tView the latest last-applied-configuration annotations by type/name or " -"file.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. You can use " -"the -o option\n" -"\t\tto change the output format." -msgstr "" -"\n" -"\t\tView the latest last-applied-configuration annotations by type/name or " -"file.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. You can use " -"the -o option\n" -"\t\tto change the output format." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:47 -msgid "" -"\n" -"\t # Create a new TLS secret named tls-secret with the given key pair\n" -"\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/" -"to/tls.key" -msgstr "" -"\n" -"\t # Create a new TLS secret named tls-secret with the given key pair\n" -"\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/" -"to/tls.key" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:74 -msgid "" -"\n" -"\t # Create a new secret named my-secret with keys for each file in folder " -"bar\n" -"\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -"\n" -"\t # Create a new secret named my-secret with specified keys instead of " -"names on disk\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub\n" -"\n" -"\t # Create a new secret named my-secret with key1=supersecret and " -"key2=topsecret\n" -"\t kubectl create secret generic my-secret --from-literal=key1=supersecret " -"--from-literal=key2=topsecret\n" -"\n" -"\t # Create a new secret named my-secret using a combination of a file and " -"a literal\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-literal=passphrase=topsecret\n" -"\n" -"\t # Create a new secret named my-secret from an env file\n" -"\t kubectl create secret generic my-secret --from-env-file=path/to/bar.env" -msgstr "" -"\n" -"\t # Create a new secret named my-secret with keys for each file in folder " -"bar\n" -"\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -"\n" -"\t # Create a new secret named my-secret with specified keys instead of " -"names on disk\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub\n" -"\n" -"\t # Create a new secret named my-secret with key1=supersecret and " -"key2=topsecret\n" -"\t kubectl create secret generic my-secret --from-literal=key1=supersecret " -"--from-literal=key2=topsecret\n" -"\n" -"\t # Create a new secret named my-secret using a combination of a file and " -"a literal\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-literal=passphrase=topsecret\n" -"\n" -"\t # Create a new secret named my-secret from an env file\n" -"\t kubectl create secret generic my-secret --from-env-file=path/to/bar.env" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:45 -msgid "" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image\n" -"\tkubectl create deployment my-dep --image=busybox\n" -"\n" -"\t# Create a deployment with a command\n" -"\tkubectl create deployment my-dep --image=busybox -- date\n" -"\n" -"\t# Create a deployment named my-dep that runs the nginx image with 3 " -"replicas\n" -"\tkubectl create deployment my-dep --image=nginx --replicas=3\n" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image and expose " -"port 5701\n" -"\tkubectl create deployment my-dep --image=busybox --port=5701" -msgstr "" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image\n" -"\tkubectl create deployment my-dep --image=busybox\n" -"\n" -"\t# Create a deployment with a command\n" -"\tkubectl create deployment my-dep --image=busybox -- date\n" -"\n" -"\t# Create a deployment named my-dep that runs the nginx image with 3 " -"replicas\n" -"\tkubectl create deployment my-dep --image=nginx --replicas=3\n" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image and expose " -"port 5701\n" -"\tkubectl create deployment my-dep --image=busybox --port=5701" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:351 -msgid "" -"\n" -"\t# Create a new ExternalName service named my-ns\n" -"\tkubectl create service externalname my-ns --external-name bar.com" -msgstr "" -"\n" -"\t# Create a new ExternalName service named my-ns\n" -"\tkubectl create service externalname my-ns --external-name bar.com" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:50 -msgid "" -"\n" -"\t# Set deployment nginx-deployment's service account to serviceaccount1\n" -"\tkubectl set serviceaccount deployment nginx-deployment serviceaccount1\n" -"\n" -"\t# Print the result (in YAML format) of updated nginx deployment with the " -"service account from local file, without hitting the API server\n" -"\tkubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-" -"run=client -o yaml\n" -"\t" -msgstr "" -"\n" -"\t# Set deployment nginx-deployment's service account to serviceaccount1\n" -"\tkubectl set serviceaccount deployment nginx-deployment serviceaccount1\n" -"\n" -"\t# Print the result (in YAML format) of updated nginx deployment with the " -"service account from local file, without hitting the API server\n" -"\tkubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-" -"run=client -o yaml\n" -"\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:42 -msgid "" -"\n" -"\tCreate a deployment with the specified name." -msgstr "" -"\n" -"\tCreate a deployment with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:61 -msgid "" -"\n" -"\tCreate an ingress with the specified name." -msgstr "" -"\n" -"\tCreate an ingress with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/set.go:44 -msgid "" -"\n" -"\tSet an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots.\n" -"\n" -"\tPROPERTY_VALUE is the new value you want to set. Binary fields such as " -"'certificate-authority-data' expect a base64 encoded string unless the --set-" -"raw-bytes flag is used.\n" -"\n" -"\tSpecifying an attribute name that already exists will merge new fields on " -"top of existing values." -msgstr "" -"\n" -"\tSet an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots.\n" -"\n" -"\tPROPERTY_VALUE is the new value you want to set. Binary fields such as " -"'certificate-authority-data' expect a base64 encoded string unless the --set-" -"raw-bytes flag is used.\n" -"\n" -"\tSpecifying an attribute name that already exists will merge new fields on " -"top of existing values." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/unset.go:39 -msgid "" -"\n" -"\tUnset an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots." -msgstr "" -"\n" -"\tUnset an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:43 -msgid "" -"\n" -"\tUpdate the service account of pod template resources.\n" -"\n" -"\tPossible resources (case insensitive) can be:\n" -"\n" -"\t" -msgstr "" -"\n" -"\tUpdate the service account of pod template resources.\n" -"\n" -"\tPossible resources (case insensitive) can be:\n" -"\n" -"\t" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go:40 -msgid "" -"\n" -"\tUpdate the user, group, or service account in a role binding or cluster " -"role binding." -msgstr "" -"\n" -"\tUpdate the user, group, or service account in a role binding or cluster " -"role binding." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:68 -msgid "" -"\n" -" \tpod (po), replicationcontroller (rc), deployment (deploy), daemonset " -"(ds), replicaset (rs)" -msgstr "" -"\n" -" \tpod (po), replicationcontroller (rc), deployment (deploy), daemonset " -"(ds), replicaset (rs)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:63 -msgid "" -"\n" -" Forward one or more local ports to a pod.\n" -"\n" -" Use resource type/name such as deployment/mydeployment to " -"select a pod. Resource type defaults to 'pod' if omitted.\n" -"\n" -" If there are multiple pods matching the criteria, a pod will " -"be selected automatically. The\n" -" forwarding session ends when the selected pod terminates, " -"and a rerun of the command is needed\n" -" to resume forwarding." -msgstr "" -"\n" -" Forward one or more local ports to a pod.\n" -"\n" -" Use resource type/name such as deployment/mydeployment to " -"select a pod. Resource type defaults to 'pod' if omitted.\n" -"\n" -" If there are multiple pods matching the criteria, a pod will " -"be selected automatically. The\n" -" forwarding session ends when the selected pod terminates, " -"and a rerun of the command is needed\n" -" to resume forwarding." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:233 -msgid "" -"\n" -" # Create a new ClusterIP service named my-cs\n" -" kubectl create service clusterip my-cs --tcp=5678:8080\n" -"\n" -" # Create a new ClusterIP service named my-cs (in headless mode)\n" -" kubectl create service clusterip my-cs --clusterip=\"None\"" -msgstr "" -"\n" -" # Create a new ClusterIP service named my-cs\n" -" kubectl create service clusterip my-cs --tcp=5678:8080\n" -"\n" -" # Create a new ClusterIP service named my-cs (in headless mode)\n" -" kubectl create service clusterip my-cs --clusterip=\"None\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:274 -msgid "" -"\n" -" # Create a new NodePort service named my-ns\n" -" kubectl create service nodeport my-ns --tcp=5678:8080" -msgstr "" -"\n" -" # Create a new NodePort service named my-ns\n" -" kubectl create service nodeport my-ns --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:95 -msgid "" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend'\n" -" # If the same annotation is set multiple times, only the last value will " -"be applied\n" -" kubectl annotate pods foo description='my frontend'\n" -"\n" -" # Update a pod identified by type and name in \"pod.json\"\n" -" kubectl annotate -f pod.json description='my frontend'\n" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend running nginx', overwriting any existing value\n" -" kubectl annotate --overwrite pods foo description='my frontend running " -"nginx'\n" -"\n" -" # Update all pods in the namespace\n" -" kubectl annotate pods --all description='my frontend running nginx'\n" -"\n" -" # Update pod 'foo' only if the resource is unchanged from version 1\n" -" kubectl annotate pods foo description='my frontend running nginx' --" -"resource-version=1\n" -"\n" -" # Update pod 'foo' by removing an annotation named 'description' if it " -"exists\n" -" # Does not require the --overwrite flag\n" -" kubectl annotate pods foo description-" -msgstr "" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend'\n" -" # If the same annotation is set multiple times, only the last value will " -"be applied\n" -" kubectl annotate pods foo description='my frontend'\n" -"\n" -" # Update a pod identified by type and name in \"pod.json\"\n" -" kubectl annotate -f pod.json description='my frontend'\n" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend running nginx', overwriting any existing value\n" -" kubectl annotate --overwrite pods foo description='my frontend running " -"nginx'\n" -"\n" -" # Update all pods in the namespace\n" -" kubectl annotate pods --all description='my frontend running nginx'\n" -"\n" -" # Update pod 'foo' only if the resource is unchanged from version 1\n" -" kubectl annotate pods foo description='my frontend running nginx' --" -"resource-version=1\n" -"\n" -" # Update pod 'foo' by removing an annotation named 'description' if it " -"exists\n" -" # Does not require the --overwrite flag\n" -" kubectl annotate pods foo description-" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:230 -msgid "" -"\n" -" Create a ClusterIP service with the specified name." -msgstr "" -"\n" -" Create a ClusterIP service with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" Create a LoadBalancer service with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:271 -msgid "" -"\n" -" Create a NodePort service with the specified name." -msgstr "" -"\n" -" Create a NodePort service with the specified name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:93 -msgid "" -"\n" -" Dump cluster information out suitable for debugging and diagnosing " -"cluster problems. By default, dumps everything to\n" -" stdout. You can optionally specify a directory with --output-directory. " -"If you specify a directory, Kubernetes will\n" -" build a set of files in that directory. By default, only dumps things " -"in the current namespace and 'kube-system' namespace, but you can\n" -" switch to a different namespace with the --namespaces flag, or specify --" -"all-namespaces to dump all namespaces.\n" -"\n" -" The command also dumps the logs of all of the pods in the cluster; these " -"logs are dumped into different directories\n" -" based on namespace and pod name." -msgstr "" -"\n" -" Dump cluster information out suitable for debugging and diagnosing " -"cluster problems. By default, dumps everything to\n" -" stdout. You can optionally specify a directory with --output-directory. " -"If you specify a directory, Kubernetes will\n" -" build a set of files in that directory. By default, only dumps things " -"in the current namespace and 'kube-system' namespace, but you can\n" -" switch to a different namespace with the --namespaces flag, or specify --" -"all-namespaces to dump all namespaces.\n" -"\n" -" The command also dumps the logs of all of the pods in the cluster; these " -"logs are dumped into different directories\n" -" based on namespace and pod name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:40 -msgid "" -"\n" -" Display addresses of the control plane and services with label kubernetes." -"io/cluster-service=true.\n" -" To further debug and diagnose cluster problems, use 'kubectl cluster-info " -"dump'." -msgstr "" -"\n" -" Display addresses of the control plane and services with label kubernetes." -"io/cluster-service=true.\n" -" To further debug and diagnose cluster problems, use 'kubectl cluster-info " -"dump'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:49 -msgid "" -" environment variable is set, then it is used as a list of paths (normal " -"path delimiting rules for your system). These paths are merged. When a value " -"is modified, it is modified in the file that defines the stanza. When a " -"value is created, it is created in the first file that exists. If no files " -"in the chain exist, then it creates the last file in the list.\n" -"\t\t\t3. Otherwise, " -msgstr "" -" environment variable is set, then it is used as a list of paths (normal " -"path delimiting rules for your system). These paths are merged. When a value " -"is modified, it is modified in the file that defines the stanza. When a " -"value is created, it is created in the first file that exists. If no files " -"in the chain exist, then it creates the last file in the list.\n" -"\t\t\t3. Otherwise, " - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:48 -msgid "" -" flag is set, then only that file is loaded. The flag may only be set once " -"and no merging takes place.\n" -"\t\t\t2. If $" -msgstr "" -" flag is set, then only that file is loaded. The flag may only be set once " -"and no merging takes place.\n" -"\t\t\t2. If $" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:50 -msgid " is used and no merging takes place." -msgstr " is used and no merging takes place." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L61 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L60 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L63 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L106 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L111 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:178 -msgid "Allocate a TTY for the debugging container." -msgstr "Allocate a TTY for the debugging container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L119 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:173 -msgid "Annotations to apply to the pod." -msgstr "Annotations to apply to the pod." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:173 -msgid "Apply a configuration to a resource by file name or stdin" -msgstr "Apply a configuration to a resource by file name or stdin" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "Approve a certificate signing request" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:106 -msgid "" -"Attach to a process that is already running inside an existing container." -msgstr "" -"Attach to a process that is already running inside an existing container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Attach to a running container" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:107 -msgid "" -"Auto-scale a deployment, replica set, stateful set, or replication controller" -msgstr "" -"Auto-scale a deployment, replica set, stateful set, or replication controller" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L115 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRole this ClusterRoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "ClusterRole this RoleBinding should reference" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:32 -msgid "Commands for features in alpha" -msgstr "Commands for features in alpha" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:170 -msgid "Container image to use for debug container." -msgstr "Container image to use for debug container." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:166 -msgid "Container name to use for debug container." -msgstr "Container name to use for debug container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67 -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "Convert config files between different API versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:105 -msgid "Copy files and directories to and from containers" -msgstr "Copy files and directories to and from containers" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "Copy files and directories to and from containers." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:248 -msgid "Create a ClusterIP service" -msgstr "Create a ClusterIP service" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:323 -msgid "Create a LoadBalancer service" -msgstr "Create a LoadBalancer service" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:286 -msgid "Create a NodePort service" -msgstr "Create a NodePort service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "Create a TLS secret" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:81 -msgid "Create a cluster role" -msgstr "Create a cluster role" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:87 -msgid "Create a cluster role binding for a particular cluster role" -msgstr "Create a cluster role binding for a particular cluster role" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:124 -msgid "Create a config map from a local file, directory or literal value" -msgstr "Create a config map from a local file, directory or literal value" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:167 -msgid "Create a copy of the target Pod with this name." -msgstr "Create a copy of the target Pod with this name." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go:90 -msgid "Create a cron job with the specified name" -msgstr "Create a cron job with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:100 -msgid "Create a deployment with the specified name" -msgstr "Create a deployment with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:91 -msgid "Create a job with the specified name" -msgstr "Create a job with the specified name" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "Create a namespace with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:95 -msgid "Create a pod disruption budget with the specified name" -msgstr "Create a pod disruption budget with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:92 -msgid "Create a priority class with the specified name" -msgstr "Create a priority class with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:91 -msgid "Create a quota with the specified name" -msgstr "Create a quota with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:106 -msgid "Create a resource from a file or from stdin" -msgstr "Create a resource from a file or from stdin" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:89 -msgid "Create a role binding for a particular role or cluster role" -msgstr "Create a role binding for a particular role or cluster role" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:161 -msgid "Create a role with single rule" -msgstr "Create a role with single rule" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "Create a secret for use with a Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:137 -msgid "Create a secret from a local file, directory, or literal value" -msgstr "Create a secret from a local file, directory, or literal value" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "Create a secret using specified subcommand" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:50 -msgid "Create a secret using specified subcommand." -msgstr "Create a secret using specified subcommand." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "Create a service account with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:48 -msgid "Create a service using a specified subcommand" -msgstr "Create a service using a specified subcommand" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:49 -msgid "Create a service using a specified subcommand." -msgstr "Create a service using a specified subcommand." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:363 -msgid "Create an ExternalName service" -msgstr "Create an ExternalName service" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:145 -msgid "Create an ingress with the specified name" -msgstr "Create an ingress with the specified name" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:60 -msgid "Create and run a particular image in a pod." -msgstr "Create and run a particular image in a pod." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:149 -msgid "Create debugging sessions for troubleshooting workloads and nodes" -msgstr "Create debugging sessions for troubleshooting workloads and nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:137 -msgid "" -"Delete resources by file names, stdin, resources and names, or by resources " -"and label selector" -msgstr "" -"Delete resources by file names, stdin, resources and names, or by resources " -"and label selector" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "Delete the specified cluster from the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:43 -msgid "Delete the specified cluster from the kubeconfig." -msgstr "Delete the specified cluster from the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "Delete the specified context from the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:43 -msgid "Delete the specified context from the kubeconfig." -msgstr "Delete the specified context from the kubeconfig." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_user.go:64 -msgid "Delete the specified user from the kubeconfig" -msgstr "Delete the specified user from the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_user.go:65 -msgid "Delete the specified user from the kubeconfig." -msgstr "Delete the specified user from the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "Deny a certificate signing request" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "Describe one or many contexts" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:142 -msgid "Diff the live version against a would-be applied version" -msgstr "Diff the live version against a would-be applied version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:65 -msgid "Display cluster information" -msgstr "Display cluster information" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "Display clusters defined in the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:42 -msgid "Display clusters defined in the kubeconfig." -msgstr "Display clusters defined in the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "Display merged kubeconfig settings or a specified kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:50 -msgid "Display one or many contexts from the kubeconfig file." -msgstr "Display one or many contexts from the kubeconfig file." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107 -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "Display one or many resources" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top.go:50 -msgid "Display resource (CPU/memory) usage" -msgstr "Display resource (CPU/memory) usage" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:81 -msgid "Display resource (CPU/memory) usage of nodes" -msgstr "Display resource (CPU/memory) usage of nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:100 -msgid "Display resource (CPU/memory) usage of pods" -msgstr "Display resource (CPU/memory) usage of pods" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/current_context.go:51 -msgid "Display the current-context" -msgstr "Display the current-context" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_users.go:60 -msgid "Display users defined in the kubeconfig" -msgstr "Display users defined in the kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_users.go:61 -msgid "Display users defined in the kubeconfig." -msgstr "Display users defined in the kubeconfig." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Drain node in preparation for maintenance" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:74 -msgid "Dump relevant information for debugging and diagnosis" -msgstr "Dump relevant information for debugging and diagnosis" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "Edit a resource on the server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_edit_last_applied.go:67 -msgid "Edit latest last-applied-configuration annotations of a resource/object" -msgstr "" -"Edit latest last-applied-configuration annotations of a resource/object" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L159 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "Email for Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:169 -msgid "Environment variables to set in the container." -msgstr "Environment variables to set in the container." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "Execute a command in a container" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:90 -msgid "Execute a command in a container." -msgstr "Execute a command in a container." - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:115 -msgid "Experimental: Wait for a specific condition on one or many resources" -msgstr "Experimental: Wait for a specific condition on one or many resources" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:378 -msgid "External name of service" -msgstr "External name of service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75 -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Forward one or more local ports to a pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:79 -msgid "Get documentation for a resource" -msgstr "Get documentation for a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36 -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Help about any command" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:151 -msgid "" -"IP to assign to the LoadBalancer. If empty, an ephemeral IP will be created " -"and used (cloud-provider specific)." -msgstr "" -"IP to assign to the LoadBalancer. If empty, an ephemeral IP will be created " -"and used (cloud-provider specific)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/annotate.go#L135 -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L132 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:164 -msgid "" -"If specified, everything after -- will be passed to the new container as " -"Args instead of Command." -msgstr "" -"If specified, everything after -- will be passed to the new container as " -"Args instead of Command." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:198 -msgid "If true, run the container in privileged mode." -msgstr "If true, run the container in privileged mode." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:174 -msgid "If true, suppress informational messages." -msgstr "If true, suppress informational messages." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:165 -msgid "" -"If true, wait for the container to start running, and then attach as if " -"'kubectl attach ...' were called. Default false, unless '-i/--stdin' is " -"set, in which case the default is true." -msgstr "" -"If true, wait for the container to start running, and then attach as if " -"'kubectl attach ...' were called. Default false, unless '-i/--stdin' is " -"set, in which case the default is true." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:173 -msgid "" -"Keep stdin open on the container(s) in the pod, even if nothing is attached." -msgstr "" -"Keep stdin open on the container(s) in the pod, even if nothing is attached." - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:90 -msgid "List all visible plugin executables on a user's PATH" -msgstr "List all visible plugin executables on a user's PATH" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go:54 -msgid "Manage the rollout of a resource" -msgstr "Manage the rollout of a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "Mark node as schedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "Mark node as unschedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_pause.go#L73 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "Mark the provided resource as paused" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "Modify certificate resources." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "Modify kubeconfig files" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L110 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:43 -msgid "No alpha commands are available in this version of kubectl" -msgstr "No alpha commands are available in this version of kubectl" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97 -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Output shell completion code for the specified shell (bash or zsh)" - -#: pkg/kubectl/cmd/convert/convert.go:105 -msgid "" -"Output the formatted object with the given group version (for ex: " -"'extensions/v1beta1')." -msgstr "" -"Output the formatted object with the given group version (for ex: " -"'extensions/v1beta1')." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L157 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Password for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L226 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Path to PEM encoded public key certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L227 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Path to private key associated with given certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L82 -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "Print the client and server version information" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:74 -msgid "" -"Print the client and server version information for the current context." -msgstr "" -"Print the client and server version information for the current context." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "Print the list of flags inherited by all commands" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "Print the logs for a container in a pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:97 -msgid "Print the supported API resources on the server" -msgstr "Print the supported API resources on the server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:98 -msgid "Print the supported API resources on the server." -msgstr "Print the supported API resources on the server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:58 -msgid "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"" -msgstr "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:59 -msgid "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"." -msgstr "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"." - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:62 -msgid "Provides utilities for interacting with plugins" -msgstr "Provides utilities for interacting with plugins" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go:45 -msgid "Rename a context from the kubeconfig file" -msgstr "Rename a context from the kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:115 -msgid "Replace a resource by file name or stdin" -msgstr "Replace a resource by file name or stdin" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_restart.go:87 -msgid "Restart a resource" -msgstr "Restart a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_resume.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "Resume a paused resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L56 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "Role this RoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "Run a particular image on the cluster" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "Run a proxy to the Kubernetes API server" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L161 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "Server location for Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_cluster.go:73 -msgid "Set a cluster entry in kubeconfig" -msgstr "Set a cluster entry in kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_context.go:61 -msgid "Set a context entry in kubeconfig" -msgstr "Set a context entry in kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:114 -msgid "Set a new size for a deployment, replica set, or replication controller" -msgstr "" -"Set a new size for a deployment, replica set, or replication controller" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go:152 -msgid "Set a user entry in kubeconfig" -msgstr "Set a user entry in kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/set.go:74 -msgid "Set an individual value in a kubeconfig file" -msgstr "Set an individual value in a kubeconfig file" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "Set specific features on objects" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/use_context.go:52 -msgid "Set the current-context in a kubeconfig file" -msgstr "Set the current-context in a kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:101 -msgid "" -"Set the last-applied-configuration annotation on a live object to match the " -"contents of a file" -msgstr "" -"Set the last-applied-configuration annotation on a live object to match the " -"contents of a file" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "Set the selector on a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80 -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "Show details of a specific resource or group of resources" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_status.go#L57 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "Show the status of the rollout" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Synonym for --target-port" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:134 -msgid "" -"Take a replication controller, service, deployment or pod and expose it as a " -"new Kubernetes service" -msgstr "" -"Take a replication controller, service, deployment or pod and expose it as a " -"new Kubernetes service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "The image for the container to run." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L116 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:172 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server." -msgstr "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:112 -msgid "" -"The maximum number or percentage of unavailable pods this budget requires." -msgstr "" -"The maximum number or percentage of unavailable pods this budget requires." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" -"The minimum number or percentage of available pods this budget requires." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L113 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "The name for the newly created object." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L98 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L99 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "The network protocol for the service to be created. Default is 'TCP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:182 -msgid "The port that this container exposes." -msgstr "The port that this container exposes." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L131 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L130 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:190 -msgid "" -"The restart policy for this Pod. Legal values [Always, OnFailure, Never]." -msgstr "" -"The restart policy for this Pod. Legal values [Always, OnFailure, Never]." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L87 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "The type of secret to create" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:33 -msgid "" -"These commands correspond to alpha features that are not enabled in " -"Kubernetes clusters by default." -msgstr "" -"These commands correspond to alpha features that are not enabled in " -"Kubernetes clusters by default." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:150 -msgid "" -"Type for this service: ClusterIP, NodePort, LoadBalancer, or ExternalName. " -"Default is 'ClusterIP'." -msgstr "" -"Type for this service: ClusterIP, NodePort, LoadBalancer, or ExternalName. " -"Default is 'ClusterIP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_undo.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "Undo a previous rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/unset.go:59 -msgid "Unset an individual value in a kubeconfig file" -msgstr "Unset an individual value in a kubeconfig file" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go:154 -msgid "Update environment variables on a pod template" -msgstr "Update environment variables on a pod template" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:115 -msgid "Update fields of a resource" -msgstr "Update fields of a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "Update resource requests/limits on objects with pod templates" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "Update the annotations on a resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:110 -msgid "Update the image of a pod template" -msgstr "Update the image of a pod template" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "Update the labels on a resource" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:102 -msgid "Update the service account of a resource" -msgstr "Update the service account of a resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88 -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "Update the taints on one or more nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go:99 -msgid "" -"Update the user, group, or service account in a role binding or cluster role " -"binding" -msgstr "" -"Update the user, group, or service account in a role binding or cluster role " -"binding" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L155 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Username for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_history.go#L51 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "View rollout history" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:77 -msgid "" -"View the latest last-applied-configuration annotations of a resource/object" -msgstr "" -"View the latest last-applied-configuration annotations of a resource/object" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:171 -msgid "" -"When used with '--copy-to', a list of name=image pairs for changing " -"container images, similar to how 'kubectl set image' works." -msgstr "" -"When used with '--copy-to', a list of name=image pairs for changing " -"container images, similar to how 'kubectl set image' works." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:168 -msgid "When used with '--copy-to', delete the original Pod." -msgstr "When used with '--copy-to', delete the original Pod." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:176 -msgid "" -"When used with '--copy-to', enable process namespace sharing in the copy." -msgstr "" -"When used with '--copy-to', enable process namespace sharing in the copy." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:175 -msgid "" -"When used with '--copy-to', schedule the copy of target Pod on the same node." -msgstr "" -"When used with '--copy-to', schedule the copy of target Pod on the same node." - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:177 -msgid "" -"When using an ephemeral container, target processes in this container name." -msgstr "" -"When using an ephemeral container, target processes in this container name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L45 -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:108 -msgid "" -"description is an arbitrary string that usually provides guidelines on when " -"this priority class should be used." -msgstr "" -"description is an arbitrary string that usually provides guidelines on when " -"this priority class should be used." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "dummy restart flag)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:107 -msgid "" -"global-default specifies whether this PriorityClass should be considered as " -"the default priority." -msgstr "" -"global-default specifies whether this PriorityClass should be considered as " -"the default priority." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217 -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl controls the Kubernetes cluster manager" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:45 -msgid "" -"pod (po), service (svc), replicationcontroller (rc), deployment (deploy), " -"replicaset (rs)" -msgstr "" -"pod (po), service (svc), replicationcontroller (rc), deployment (deploy), " -"replicaset (rs)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:109 -msgid "" -"preemption-policy is the policy for preempting pods with lower priority." -msgstr "" -"preemption-policy is the policy for preempting pods with lower priority." - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:41 -msgid "" -"replicationcontroller (rc), deployment (deploy), daemonset (ds), job, " -"replicaset (rs), statefulset" -msgstr "" -"replicationcontroller (rc), deployment (deploy), daemonset (ds), job, " -"replicaset (rs), statefulset" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:106 -msgid "the value of this priority class." -msgstr "the value of this priority class." diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/fr_FR/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/fr_FR/LC_MESSAGES/k8s.mo deleted file mode 100644 index 5a22e42887671a565d9af384359c088ddcaf69a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1233 zcmZ`&yKWOf6kQ-ZWI7rekVXgz0vcmmJi>-VByoZ)#llJ)pr9G=-d#`FomtJyqC`|w zd;uK=qQXDG54eGbnu?#GgN8F+2OCgUIy#;^_ug}7=J@-Cg|`8|bHF9wIdC3$2l($Z z&;Y(n`6u`?aPveE+yHmLYhVYy2>t}V3jPXy1N;Cu)~`+lK^;5-Ujcsu`}i;LQ}E(K z5HRp-u+RGdMrnZU;4E+&Kxp!vobs6|``LpwW#ovtAu(G}Boj$7i?Y%>GAuDVpKQG- z2NY?Q$n=;3tsEV=V+w3!LX>=m(?UV>0cJK>~O=%&!kkkzG$DCilz zPm$xDm_H$7krA>K!Z-#`HKzlS7ih+Zlx4cMLxnbucWo+TzFwx5_jSlNyK9~8TJJI6 zp_kIP;B5$ptkr1V6^r*m`L&-h)B4 ztjG0%4?IkBA+vg<^Hr3pv=k}vK8ZYJf7T(MsMhUtH)m&P)*H1A{~QWphXtnbN4kYq zk!qPmLt${eD|`JdzBJ48LnUPRriyTo+r*s9ii zcXFK@Ro{?RjeA*XM8>zY$!*9~F\n" -"Language-Team: \n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "Supprimer le cluster spécifié du kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "Supprimer le contexte spécifié du kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "Décrire un ou plusieurs contextes" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "Afficher les cluster définis dans kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "" -"Afficher les paramètres fusionnés de kubeconfig ou d'un fichier kubeconfig " -"spécifié" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "Modifier des fichiers kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "Mettre à jour les annotations d'une ressource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/apply.go#L98 -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "" -#~ "Appliquer une configuration à une ressource par nom de fichier ou depuis " -#~ "stdin" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48 -#~ msgid "Displays the current-context" -#~ msgstr "Affiche le contexte actuel" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67 -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "Définit un cluster dans kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57 -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "Définit un contexte dans kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103 -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "Définit un utilisateur dans kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59 -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "Définit une valeur individuelle dans un fichier kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48 -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "Définit le contexte courant dans un fichier kubeconfig" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47 -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "Supprime une valeur individuelle dans un fichier kubeconfig" - -#~ msgid "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgid_plural "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgstr[0] "" -#~ "watch n'est compatible qu'avec les ressources individuelles et les " -#~ "collections de ressources. - %d ressource a été trouvée. " -#~ msgstr[1] "" -#~ "watch n'est compatible qu'avec les ressources individuelles et les " -#~ "collections de ressources. - %d ressources ont été trouvées. " diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.mo deleted file mode 100644 index afe881717e17b7ab914289896ad3f4d0a9ef067f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20017 zcmc(nYm6jUb;rvwuN}<8#5}^YYy-24r+Xj9_OkW@v$JD7_Uw9?S(`Vern{!6;_j}d zs(N;3lY9W70O3Od5sDH-Vw8M9B8s925<)^=4nYb?QKTe7D2jpzA|Ox_A*2K)D8K)? z_f}W;%&gZ2iI!{6R`-3Jd*0{Vv;LRoJn5qmpDmsj^Q>MQMIQwI{8RXY&m&KZqRYTf z06z_U@u4WX3;6fI4d659-1{c5b4?We7Vy)+Yp;u@VOq$Ht+=Sr9TrzY#F@~_$puuYy*GAzyCS#81LWq@I^0l@2f!3;TM3~?-8Kp z{~2%*_$~kaEia0qBfPHwHLe7*RPQda1Mro=?*c{d8*X%Xp90>@dk4r*(ffgtgHHlq1N@?YzXoFI z+%Zt&PXXTxd?)Z8;Mag!|5f~$0^bPy2Jnx7%fOFw*aY}>;Fo~QAn|v=>zO1u{~A!| z{~_=+@OdCF`dk2Vv}hNo^?w~GI{XC?k&3JB9r%9U-vV?0 z68JUXBJj6aWDWQYp!U0cA&Nf4_zL(xKnao7`2l~hMD!|z=r-U6Q2T!nC^~-zIM4WR z0^iB|vk*$j?GSi`@Ba<>A>N<)YGe)g8^HhM`xmg-oxC5qBZ@}AW#Bu2e+cXYZ#apJ z0N(@rTi{(V<1@ggo^ta2d7#ey9iZs+5R3gH@O?nOik^;9ke=KP)cGz0K{5I)@HxP5 z0VUV}3)Hw*G6>Y7w*qy}Uj|CwzTn~afI9b$uZ^M?0nY(NmkhWD{0Q(Rz^?-#VRX&w z7z=CzUkqFWN^S-~&HFG=>wFF;h%4z6nG`qaOm^70Ixck$@cb)f$9 z`TR{d>HPX|1p6%Vr({7N(L8(*8Iw)Pr9L-0V1M4kpNIWBM=@IKRWb@mBE-hdcLcb} z^H!eM^E{VliwE-C2k|xg@N6I|VxQ|h>;T`%BfhXFe4Y~i0(^)^vi}Yq)I7qJ)Sq?#x2FLmCr{@=B%|wi z!smYea-K(WKgT0Ih~^F*isPH(jqUtmJV>h|>y+_UUc^bi9}n|xTH1hz$D3)V>c>?+ zvTx@OoEG=8opk61Y3bRS@%j7DE7`LW$%gSL=j$skn8f8M?POb7$1S5xk~nN}z?yB% zX?JoE%Z6!DI;7W%Y*@ux{iIjM*>F28vMTMyo4ZD}PCgibZxhRWq*F~z)|or~j1$}8 z%Cy)?iNMnHw85f1d2!r%e)xgpZZ6c%z<#;s83!$^PwoA~)*UiR6fH9bN!Udo4% z+_<=v^$@>)TE?4cbumR%y4luNYD{i&tR0`ptL^wLi|1BZK=Oa@#{K6d7lQ;vND7pq z(@95gx-IftkUTlbi>u^e*4HjVb%7lUv^Oty7h*K~f%Vlm5pPH1YQg9REeyS^;@c|s zo3JPv;zcFsj-x}Xm5(c?2SGAbXvZsPZBq2m=rAiQu>@6Pa$c~keHG+%L9%VzvvWVG z(z2dj9}E_l0J>e{iy6jg6ZS|A!H9`v)#XPCtSIJB(2nmPLX~6~kIOV}<+0O4FknV! zI~n#;&GoBd>#A&M_NQ%3D^jq*MAQPw#<0Y+%vlol){oP}i@cw@k!3dQ@%LifpBW-; z&t%p*oqUXTUuoTQN%63mQ!%aVY^U8ZV(3?#`f)s*{dvP1S5MY{QdX^GG{Wq3r2xp{ zxNrtH8Nw9%D}uQjmuUqpde~eM2#M>sb2F*J9F@*?O2XPEd+-@UijAmk#ufJ3OttiQ z)P=k#ZV5&6ac?`G4@O-m?#8XH_%7}6+WGh*gNpHRfxSd3aoVP9on*KhqbV5AQBpX} z#G!oiXOVevM(%B?=4E=Z!A~)-8xM9THb=t)8XY%j!v5yK{T7~OYrVYxq2>9#&nA9E z5D0dfnZthJ5W{%+Qk53Nq<bRCPwDZ@c}Dlc!D|J9#W@dUiY*#hnlXII3XlWS2nN z8NKPP+?ZB2+{)uFv*$eeS6=C;=y0^kk9x|tY>z9i49?DSwrc-!`hazsI9Onb+*%-E zGIBM?U^6C8^ps%FvBl0sXosc4Th+R13m<@uCf2N(r577D7V(Z}LBm_+E=7mViYiC-9F2PZDZ5ThvmccD!k#a_h@Uag+^7K&Ta!HCly7Lh#9 zk6`*RkVdx}(XApM*f&Lr7xm^&P7$ZyXE3Mszepn6N20}UH&g7N^e5(ZWv#ZZhZPEu zEhIh1r2CMwVwe&H9WkS95uPVzZRuU0CE~J@JTGdQ- z3V!ZTh!}pFtpux=lI56R4%TXA4IT_3MxQ9y1)(|NT7e0!5u42NZr4IVVaR{OeAqJb zE-0Mf3*^JFt(Oti_b##Sgu+Xo#(1HYa3D-cyn`?iK#Z~nUE1XGI?x@-M<{f|JXgy2 zWH8IDH&nnNVI$Ow7E65-?~-B0`Nd(p$*ZyQ%jGAzBrQ&yP``;T-EPF9v>F$opj~Vk3YwWmh#cA z&xVxY1V566kfa-%!qwEn8`tLa!s-U+r_4pI`pZUb$YWVr-6 z168HQQ74m41nSM2m;{FeDuv2Csz_<`5mq+wsf%3AfFDUr6puyASTr^YQx#PP#Y&54 znW24S`z)`QFQpv}sR-utXg1PIP~E%p;-Xw%Krkls)7T3AC(K_RhGU_HZK@J0rED4$9;G%Omg&kC< z;eo;^%$WamMhD91yfQinJsb~+1Zr83fCWLW1rlx$mI;sGj=TwXc2vP1GSxwVh>ffQ zne^L{u??#^E`~@i1k!Ja5%T!@Y z-0q~UDg*bU?gfq9m3tE@*wd;-c$k#wXx9kKCz`irwump6+ee}` z9OcCv?bGlX)s=HZ0xKVoG1et@Ys=^2bf`_b@o2nBz!pE8PO+q2kENEhqjPHjTjiaM zx32RGu4>ufB-5y<<@ilIhENK;4W+Mkyf=QCRjn`apk>2Fw!I+?Wv%#?(bf zs{hpW#_&r!I%8Ja0H;YlkC8>5oXiT_z9QgiU$wT>jE7u3Lh+G)4_~sdE>>)1vi7kR z&h%E0FW?`dja^*A?!bsm4Zy0WEopmnfl-byVua>26hBuvtlbzhQpsYJBjOVWQjfQU zp`UJ1by1q5{GgUJE8!>$L0KnZh|d=rlIF7_RKow}sV_7KIIh8X5R4Y+j#6%I@S9>Q zw=6sOT-7YCc;t3>c_DSb#u(ak^G5>UsJ2FY(#O;`PpVIRrRt;*x z4hkE%%**i?IN-rhyH3UhW(fIUDOJ6Mz9~A8l9xw~R!zg~957xdru3#taau-xwkSV|Z*5Y;VmAi) zKy%unH-1-U4x{A_d=jL{-Y&nR2at-|D$RJ6*|6imjLQXo#25>!8@K39W+Na8)}9+P zlNY=HL-sIIF26@q=Uej%mbl`vn=CSX&R1N_$W0wF3DoKYd6(rW(-fWUUD*X!o(q?J z5oO=Ot}Gkw#NARKi7e3M0$&;eiZU=${xsyBt`=1g3*@>#X{~fyzPNJAaynO>np;n$ z@vU=ZFYC6>jC*D4LVhYlB9ap_L1B=T^=wPmXrHeQa(?S?>^(xFtA+xLvA_T5rLfx+*M4*G@lh z;qKPS$vB}-t)#WA5EJ`#Dn7ZHRdZ{7F4g)i?9TvSFdW%ydHTei+;r%d(}#!gji=+| zNA8?^bL$PR-lpTP<*72)uE>3vGg2$eIq}i%6HiCYU5)8DuilgcT}7i0y$f zQ!O4(Xx+dfWNPoa%^R25mXF!pL_rv@6G)cIao!ZDP^sBxk1KS3?6(J`U<*$RlLB|m zVXojbH^!@vyZHn2Eb-z(TXI^*3QkR=!(AGuFf$YJf!pnPBOi)pD&JFAHoYbvP>$z1 z9b8G?Iwe*tw?;;DF>Vgso78)FPMS`KM_;9o>wyng3VC1gFsZI0^Goaum~Yh zG|py1fknK0)|mpeXz->eWm*%i1N|s)XF00$P8|#j-(%qpP399n`pH^^F|@+D6<6Xyo>;TS8a>ftB3Yg{O#Hv!$UH z^>~dg#<^pInKPBrav9N7pdRQJ4pDk&9Ju20^8JLeX%8c5qJg9s^9lZYMM9NwQym>L zKTD0V5?pHr^rOX~y)#ybn4vCJN*|SpBB&0AW}e0nQrSt%i4m(6?&v|r%|&uKCjrd> zzk}Bm*STma3B|F)h#9BDMROD4OuY%U8c>!pxK%qYIF|H!S#E)w`kAf@2O|XPcW@WV zRu1hXK`fa<#W7}5Eh%L>ybOANOQ@CfEB;hFia&qe;|`QE9Fz^M1SS>ZdBJbAOA}6N7AeC50EUq_csH z=0P+-Eq+(-Ntx;jxyp5)V3&xq^N+9h1#t^OSgpa7d~uLhcf2ci!AO{;gS2W8&(&7N zE&l{hSubOEe`><~QF~#g?8KCi9b_jcBcS_bMt_LJLhUe^;8r(j?PLW$(IShfwiu~v zm-G>3op=zd)y35H%MN7nCYib&U7zw1rp~@W<}o&u_ObAYVpg5noR;>gXNDldZLc_* zHXU$ayJpV}tGj5jZY#mNHO!DR1>i;H&3Dfz3Y-K**eRJjnJX?*$epu;I&0dZT^MC_ zayuWmVNib;c<$MfYVCdvJk&CX^>(Z?>98+M9)Sa0b*?FRXrO=_Kd5;o{2&>ocV?xw z_w-~0b1yeb%WQ_@r1@gl;9ui9yfEXwSudhC%be9Pu~k$8j2v5>8TwdYh@_%M5JQuI-IfyECeAzrt=*0n77Zj|^U~#WD&H{@Y zKZIVK>G0>^saouyIWCKPLTP8I&Kx6$<*PCr{$CJ?gf2yu{i!L=={UMOI7Fyox^wEU zY9FHU`z1g1NMAr^k09buQm@5v$fvmTwM=M{sG`V_|ahVx?UgCR|3g()1=n5O-4bXihzG4Ae z&`@B7KzQQB4DGZ+4v_$nlm&?ny$7>WHk^o8shXE$7Y+N~9Y``6&pwdT#GvtIfy zL7l_n9mugw1a+#3N5do`O=(-}%GhTtO2^CZfemd8T&S6P9yZOkKr_7v3&U3%(1vmOT+TzQtj)Zk_!c}ZnV`decD|FF6N0Su$Sj=)&QZj?in_15x47t&Px*BDo8{nP{yZdBYt zgo2UMm8iB-Hxl+4MR(T|`fm1~LvrRik(^b+e!~SxqFH%Avp-Mv!qwShU%7<6xL`u^ zY)AC54)wgjUe8?B8$_Kyb$3p+!mV3X6&5xsJGNLOh>B_#qV6U&C{dA=a!?!XssCNh z)O%Pz*0xhUls+XNQbLmZrdpMvwY-!Vy9+T3I2faYpmpo6*|-jDg7v@+Qd^<~hW;sd z4Yt93LX}iCo_zcND?9 z9G^FNk(F^q@XRX)$HiC$VYSpYuL<;n;z2@<6>8qjv=aR3X!_@=Vw!Fm%$N#GT@zV_ zS}7vY7u@j}gbpXKfV9Ad+ZY`xwWE3iHo4K{q=3c3=1yu&PL$2-SG72;&X0$VkM7?# z6Ku+&V?}aBA(o4Z-SStUR7c<_D@{&}s0)rseA9$K$xRDfb>oUjLF`t@GheZYvJ7iX zSIZM*3^uFbf>?J7O;H=gwZ12$8bnB4_JnF8hfD0Pw65!gG8xvPbV4{#AIyBMy&>wc zWmirN8@%C$NH-`8%$i|v60Nv4B2{vod3V{k`M?l6NWHx5Sytd8UTQOo+?JMfnq*WE z4(x>D(uh+)(KrAvJ<73wls)IuZ*lPsFwRghEQO!j6MH9}FI&v!%3+CBcw zd5sUkh=qeys1D?JOPMKfhf*}7P*&G|VvjFExMQnzkY7;3$-&Xb_MY>`bX%xf3fZCg zD@%9}9aB&E)WHG&cn^Ldb0!y~h$zZVdC}vaU=7WS%Gv3%69qw3Y2~pt(nWvyG(#Z^ z%2U@>g_bqFhWKOFEA&-G^%~8D!ia8;bn?3|Ax^uOdNw6)j63~Q)OZ?ss+v(;#A@M{ z(=yV7>0nFlwT`xYsMW|X5i507!NI2QIjeu`75s=27}sf~t_Fq7<|X7Dl$%MK-6Wl%0)mY~%Ov9UcahzH8?BNZTHV-}Qq_@2QGoup XDN;wV%C22iaaJ@{C+b-vT8RE1AL5_v diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.po deleted file mode 100644 index 13bb37b2..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/it_IT/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,3249 +0,0 @@ -# Italian translation. -# Copyright (C) 2017 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR evolution85@gmail.com, 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: kubernetes\n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2017-08-28 15:20+0200\n" -"Last-Translator: Luca Berton \n" -"Language-Team: Luca Berton \n" -"Language: it_IT\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.7.1\n" -"X-Poedit-SourceCharset: UTF-8\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # Mostra metriche per tutti i nodi\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Mostra metriche per un determinato nodo\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# Ottieni la documentazione della risorsa e i relativi campi\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Ottieni la documentazione di un campo specifico di una risorsa\n" -"\t\tkubectl explain pods.spec.containers" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# Stampa i flag ereditati da tutti i comandi\n" -"\t\tkubectl options" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# Stampa le versioni client e server per il current context\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# Stampa le versioni API supportate\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# Mostra metriche di tutti i pod nello spazio dei nomi predefinito\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Mostra metriche di tutti i pod nello spazio dei nomi specificato\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Mostra metriche per un pod e i suoi relativi container\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Mostra metriche per i pod definiti da label name = myLabel\n" -"\t\tkubectl top pod -l name=myLabel" - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\tConvertire i file di configurazione tra diverse versioni API. Sono\n" -"\t\taccettati i formati YAML e JSON.\n" -"\n" -"\t\tIl comando prende il nome di file, la directory o l'URL come input e lo " -"converte nel formato\n" -"\t\tdi versione specificata dal flag -output-version. Se la versione di " -"destinazione non è specificata o\n" -"\t\tnon supportata, viene convertita nella versione più recente.\n" -"\n" -"\t\tL'output predefinito verrà stampato su stdout nel formato YAML. Si può " -"usare l'opzione -o\n" -"\t\tper cambiare la destinazione di output." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\tCreare un namespace con il nome specificato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\tCrea un ruolo con una singola regola." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\tCreare un service account con il nome specificato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\tContrassegna il nodo come programmabile." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\tContrassegnare il nodo come non programmabile." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tImposta le annotazioni dell'ultima-configurazione-applicata impostandola " -"in modo che corrisponda al contenuto di un file.\n" -"\t\tCiò determina l'aggiornamento dell'ultima-configurazione-applicata come " -"se 'kubectl apply -f ' fosse stato eseguito,\n" -"\t\tsenza aggiornare altre parti dell'oggetto." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # Crea un nuovo namespace denominato my-namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Crea un nuovo service account denominato my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tCrea un servizio ExternalName con il nome specificato.\n" -"\n" -"\tIl servizio ExternalName fa riferimento a un indirizzo DNS esterno \n" -"\tsolo pod, che permetteranno agli autori delle applicazioni di utilizzare i " -"servizi di riferimento\n" -"\tche esistono fuori dalla piattaforma, su altri cluster, o localmente.." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp fornisce assistenza per qualsiasi comando nell'applicazione.\n" -"\tBasta digitare kubectl help [path to command] per i dettagli completi." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # Creare un nuovo servizio LoadBalancer denominato my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # Dump dello stato corrente del cluster verso stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump dello stato corrente del cluster verso /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump di tutti i namespaces verso stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump di un set di namespace verso /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" Crea un servizio LoadBalancer con il nome specificato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"Un insieme delimitato-da-virgole di quota scopes che devono corrispondere a " -"ciascun oggetto gestito dalla quota." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"Un insieme delimitato-da-virgola di coppie risorsa = quantità che " -"definiscono un hard limit." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"Un label selector da utilizzare per questo budget. Sono supportati solo i " -"selettori equality-based selector." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"Un selettore di label da utilizzare per questo servizio. Sono supportati " -"solo equality-based selector. Se vuota (default) dedurre il selettore dal " -"replication controller o replica set.)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Indirizzo IP esterno aggiuntivo (non gestito da Kubernetes) da accettare per " -"il servizio. Se questo IP viene indirizzato a un nodo, è possibile accedere " -"da questo IP in aggiunta al service IP generato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" -"Un override JSON inline per l'oggetto generato. Se questo non è vuoto, viene " -"utilizzato per ignorare l'oggetto generato. Richiede che l'oggetto fornisca " -"un campo valido apiVersion." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "Approva una richiesta di firma del certificato" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Assegnare il proprio ClusterIP o impostare su 'None' per un servizio " -"'headless' (nessun bilanciamento del carico)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Collega a un container in esecuzione" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP da assegnare al servizio. Lasciare vuoto per allocare " -"automaticamente o impostare su 'None' per creare un servizio headless." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRole a cui questo ClusterRoleBinding fa riferimento" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "ClusterRole a cui questo RoleBinding fa riferimento" - -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "Convertire i file di configurazione tra diverse versioni APIs" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "Copiare file e directory da e verso i container." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "Crea un secret TLS" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "Crea un namespace con il nome specificato" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "Crea un secret da utilizzare con un registro Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "Crea un secret utilizzando un subcommand specificato" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "Creare un account di servizio con il nome specificato" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "Elimina il cluster specificato dal kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "Elimina il context specificato dal kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "Nega una richiesta di firma del certificato" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "Descrive uno o più context" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "Mostra i cluster definiti nel kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "" -"Visualizza le impostazioni merged di kubeconfig o un file kubeconfig " -"specificato" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "Visualizza una o più risorse" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Drain node in preparazione alla manutenzione" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "Modificare una risorsa sul server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "Email per il registro Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "Esegui un comando in un contenitore" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Inoltra una o più porte locali a un pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Aiuto per qualsiasi comando" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"Se non è vuoto, impostare l'affinità di sessione per il servizio; Valori " -"validi: 'None', 'ClientIP'" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"Se non è vuoto, l'aggiornamento delle annotazioni avrà successo solo se " -"questa è la resource-version corrente per l'oggetto. Valido solo quando si " -"specifica una singola risorsa." - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"Se non vuoto, l'aggiornamento delle label avrà successo solo se questa è la " -"resource-version corrente per l'oggetto. Valido solo quando si specifica una " -"singola risorsa." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "Contrassegnare il nodo come programmabile" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "Contrassegnare il nodo come non programmabile" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "Imposta la risorsa indicata in pausa" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "Modificare le risorse del certificato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "Modifica i file kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Nome o numero di porta nel container verso il quale il servizio deve " -"dirigere il traffico. Opzionale." - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Restituisce solo i log dopo una data specificata (RFC3339). Predefinito " -"tutti i log. È possibile utilizzare solo uno tra data-inizio/a-partire-da." - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "" -"Codice di completamento shell di output per la shell specificata (bash o zsh)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Password per l'autenticazione al registro di Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Percorso certificato di chiave pubblica codificato PEM." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Percorso alla chiave privata associata a un certificato specificato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Prerequisito per la versione delle risorse. Richiede che la versione " -"corrente delle risorse corrisponda a questo valore per scalare." - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "Stampa per client e server le informazioni sulla versione" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "Stampa l'elenco flag ereditati da tutti i comandi" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "Stampa i log per container in un pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "Riprendere una risorsa in pausa" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "Ruolo di riferimento per RoleBinding" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "Esegui una particolare immagine nel cluster" - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "Eseguire un proxy al server Kubernetes API" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "Posizione del server per il Registro Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "Imposta caratteristiche specifiche sugli oggetti" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "Impostare il selettore di una risorsa" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "Mostra i dettagli di una specifica risorsa o un gruppo di risorse" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "Mostra lo stato del rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Sinonimo di --target-port" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "L'immagine per il container da eseguire." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"La politica di pull dell'immagine per il container. Se lasciato vuoto, " -"questo valore non verrà specificato dal client e predefinito dal server" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" -"Il numero minimo o la percentuale di pod disponibili che questo budget " -"richiede." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "Il nome dell'oggetto appena creato." - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" -"Il nome dell'oggetto appena creato. Se non specificato, verrà utilizzato il " -"nome della risorsa di input." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"Il nome del generatore API da utilizzare. Ci sono 2 generatori: 'service/v1' " -"e 'service/v2'. L'unica differenza tra loro è che la porta di servizio in v1 " -"è denominata \"predefinita\", mentre viene lasciata unnamed in v2. Il valore " -"predefinito è 'service/v2'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "" -"Il protocollo di rete per il servizio da creare. Il valore predefinito è " -"'TCP'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" -"La porta che il servizio deve servire. Copiato dalla risorsa esposta, se non " -"specificata" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" -"I limiti delle richieste di risorse per questo contenitore. Ad esempio, " -"'cpu=200m,memory=512Mi'. Si noti che i componenti lato server possono " -"assegnare i limiti a seconda della configurazione del server, ad esempio " -"intervalli di limiti." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" -"La risorsa necessita di richieste di requisiti per questo pod. Ad esempio, " -"'cpu = 100m, memoria = 256Mi'. Si noti che i componenti lato server possono " -"assegnare i requisiti a seconda della configurazione del server, ad esempio " -"intervalli di limiti." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "Tipo di segreto da creare" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "Annulla un precedente rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "Aggiorna richieste di risorse/limiti sugli oggetti con pod template" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "Aggiorna annotazioni di risorsa" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "Aggiorna label di una risorsa" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "Aggiorna i taints su uno o più nodi" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Nome utente per l'autenticazione nel registro Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "Visualizza la storia del rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" -"Dove eseguire l'output dei file. Se vuota o '-' utilizza lo stdout, " -"altrimenti crea una gerarchia di directory in quella directory" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "flag di riavvio finto)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "Kubectl controlla il gestore cluster di Kubernetes" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Creare un ClusterRoleBinding per user1, user2 e group1 utilizzando " -#~ "il cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a RoleBinding for user1, user2, and group1 using the admin " -#~ "ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Crea un RoleBinding per user1, user2, and group1 utilizzando " -#~ "l'admin ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config based on folder bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with key1=config1 and " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Crea un nuovo configmap denominato my-config in base alla " -#~ "cartella bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Crea un nuovo configmap denominato my-config con le chiavi " -#~ "specificate anziché i nomi dei file su disco\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Crea un nuovo configmap denominato my-config con key1 = config1 e " -#~ "key2 = config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" - -#~ msgid "" -#~ "\n" -#~ "\t\t # If you don't already have a .dockercfg file, you can create a " -#~ "dockercfg secret directly by using:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Se non si dispone ancora di un file .dockercfg, è possibile " -#~ "creare un secret dockercfg direttamente utilizzando:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Apply the configuration in pod.json to a pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Apply the JSON passed into stdin to a pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune is still in Alpha\n" -#~ "\t\t# Apply the configuration in manifest.yaml that matches label " -#~ "app=nginx and delete all the other resources that are not in the file and " -#~ "match label app=nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " -#~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Applica la configurazione pod.json a un pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Applicare il JSON passato in stdin a un pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Nota: --prune è ancora in in Alpha\n" -#~ "\t\t# Applica la configurazione manifest.yaml che corrisponde alla label " -#~ "app = nginx ed elimina tutte le altre risorse che non sono nel file e " -#~ "nella label corrispondente app = nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Applica la configurazione manifest.yaml ed elimina tutti gli altri " -#~ "configmaps non presenti nel file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 " -#~ "and 10, no target CPU utilization specified so a default autoscaling " -#~ "policy will be used:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Auto scale un deployment \"foo\", con il numero di pod compresi " -#~ "tra 2 e 10, utilizzo della CPU target specificato in modo da utilizzare " -#~ "una politica di autoscaling predefinita:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale un controller di replica \"foo\", con il numero di pod " -#~ "compresi tra 1 e 5, utilizzo dell'utilizzo della CPU a 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Convert the live state of the resource specified by 'pod.yaml' to " -#~ "the latest version\n" -#~ "\t\t# and print to stdout in json format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Convert all files under current directory to latest version and " -#~ "create them all.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Converte 'pod.yaml' alla versione più recente e stampa in stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Converte lo stato live della risorsa specificata da 'pod.yaml' " -#~ "nella versione più recente.\n" -#~ "\t\t# e stampa in stdout nel formato json.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Converte tutti i file nella directory corrente alla versione più " -#~ "recente e li crea tutti.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" that allows user to " -#~ "perform \"get\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName " -#~ "specified\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Crea un ClusterRole denominato \"pod-reader\" che consente " -#~ "all'utente di eseguire \"get\", \"watch\" e \"list\" sui pod\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Crea un ClusterRole denominato \"pod-reader\" con ResourceName " -#~ "specificato\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" that allows user to perform \"get" -#~ "\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" with ResourceName specified\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Crea un ruolo denominato \"pod-reader\" che consente all'utente di " -#~ "eseguire \"get\", \"watch\" e \"list\" sui pod\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Crea un ruolo denominato \"pod-reader\" con ResourceName " -#~ "specificato\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Create a new resourcequota named best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Crea una nuova resourcequota chiamata my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Creare una nuova resourcequota denominata best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=rails label\n" -#~ "\t\t# and require at least one of them being available at any point in " -#~ "time.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=nginx label\n" -#~ "\t\t# and require at least half of the pods selected to be available at " -#~ "any point in time.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Crea un pod disruption budget chiamato my-pdb che seleziona tutti i " -#~ "pod con label app = rail\n" -#~ "\t\t# e richiede che almeno uno di essi sia disponibile in qualsiasi " -#~ "momento.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Crea un pod disruption budget con nome my-pdb che seleziona tutti i " -#~ "pod con label app = nginx \n" -#~ "\t\t# e richiede che almeno la metà dei pod selezionati sia disponibile " -#~ "in qualsiasi momento.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod using the data in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Create a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API " -#~ "format then create the resource using the edited data.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Crea un pod utilizzando i dati in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Crea un pod basato sul JSON passato in stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Modifica i dati in docker-registry.yaml in JSON utilizzando il " -#~ "formato API v1 quindi creare la risorsa utilizzando i dati modificati.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -#~ "the name \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Create a second service based on the above service, exposing the " -#~ "container port 8443 as port 443 with the name \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx using replica set, which " -#~ "serves on port 80 and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for an nginx deployment, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Crea un servizio per un nginx replicato, che serve nella porta 80 e " -#~ "si collega ai container sulla porta 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Crea un servizio per un controller di replica identificato per tipo " -#~ "e nome specificato in \"nginx-controller.yaml\", che serve nella porta 80 " -#~ "e si collega ai container sulla porta 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Crea un servizio per un pod valid-pod, che serve nella porta 444 " -#~ "con il nome \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Crea un secondo servizio basato sul servizio sopra, esponendo la " -#~ "porta container 8443 come porta 443 con il nome \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Crea un servizio per un'applicazione di replica in porta 4100 che " -#~ "bilanci il traffico UDP e denominato \"video stream\".\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Crea un servizio per un nginx replicato utilizzando l'insieme di " -#~ "replica, che serve nella porta 80 e si collega ai contenitori sulla porta " -#~ "8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Crea un servizio per una distribuzione di nginx, che serve nella " -#~ "porta 80 e si collega ai contenitori della porta 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Delete a pod using the type and name specified in pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Delete a pod based on the type and name in the JSON passed into " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Delete pods and services with label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Delete a pod with minimal delay\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Force delete a pod on a dead node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Delete all pods\n" -#~ "\t\tkubectl delete pods --all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Elimina un pod utilizzando il tipo e il nome specificati in pod." -#~ "json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Elimina un pod in base al tipo e al nome del JSON passato in " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Elimina i baccelli ei servizi con gli stessi nomi \"baz\" e \"foo" -#~ "\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Elimina i baccelli ei servizi con il nome dell'etichetta = " -#~ "myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Eliminare un pod con un ritardo minimo\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Forza elimina un pod in un nodo morto\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Elimina tutti i pod\n" -#~ "\t\tkubectl delete pods --all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Describe a node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Describe a pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Describe all pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Describe pods by label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Describe all pods managed by the 'frontend' replication controller " -#~ "(rc-created pods\n" -#~ "\t\t# get the name of the rc as a prefix in the pod the name).\n" -#~ "\t\tkubectl describe pods frontend" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Descrive un nodo\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Descrive un pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Descrive un pod identificato da tipo e nome in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Descrive tutti i pod\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Descrive i pod con label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Descrivere tutti i pod gestiti dal controller di replica \"frontend" -#~ "\" (rc-created pods\n" -#~ "\t\t# ottiene il nome del rc come un prefisso del nome pod).\n" -#~ "\t\tkubectl describe pods frontend" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", even if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# As above, but abort if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use " -#~ "a grace period of 15 minutes.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", anche se ci sono i baccelli non gestiti da " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet o StatefulSet su di " -#~ "esso.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# Come sopra, ma interrompere se ci sono i baccelli non gestiti da " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, e " -#~ "utilizzare un periodo di grazia di 15 minuti.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Edit the service named 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Use an alternative editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -#~ "config in its annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Modifica il servizio denominato 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Usa un editor alternativo\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Modifica il lavoro 'myjob' in JSON utilizzando il formato API v1:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Modifica la distribuzione 'mydeployment' in YAML e salvare la " -#~ "configurazione modificata nella sua annotazione:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Get output from running 'date' in ruby-container from pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Ottieni l'output dalla 'data' di esecuzione del pod 123456-7890, " -#~ "utilizzando il primo contenitore per impostazione predefinita\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Ottieni l'output dalla data di esecuzione in ruby-container del pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Passare alla modalità raw terminal, invia stdin a 'bash' in ruby-" -#~ "container del pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running pod 123456-7890, using the first container " -#~ "by default\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Get output from ruby-container from pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Get output from the first pod of a ReplicaSet named nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Ottieni l'output dal pod 123456-7890 in esecuzione, utilizzando il " -#~ "primo contenitore per impostazione predefinita\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Ottieni l'output dal ruby-container del pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Passa alla modalità raw terminal, invia stdin a 'bash' in ruby-" -#~ "container del pod 123456-7890\n" -#~ "\t\t# e invia stdout/stderr da 'bash' al client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Ottieni l'output dal primo pod di una ReplicaSet denominata nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Install bash completion on a Mac using homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for bash into the current shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Write bash completion code to a file and source if from ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -#~ "\t\tsource <(kubectl completion zsh)" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Installa il completamento di bash su un Mac utilizzando homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Carica il codice di completamento kubectl per bash nella shell " -#~ "corrente\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Scrive il codice di completamento bash in un file e lo carica da ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Carica il codice di completamento kubectl per zsh [1] nella shell " -#~ "corrente\n" -#~ "\t\tsource <(kubectl completion zsh)" - -#~ msgid "" -#~ "\n" -#~ "\t\t# List all pods in ps output format.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# List all pods in ps output format with more information (such as " -#~ "node name).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# List a single replication controller with specified NAME in ps " -#~ "output format.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# List a single pod in JSON output format.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -#~ "JSON output format.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Return only the phase value of the specified pod.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# List all replication controllers and services together in ps output " -#~ "format.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# List one or more resources by their type and names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List all resources with different types.\n" -#~ "\t\tkubectl get all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Elenca tutti i pod in formato output ps.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# Elenca tutti i pod in formato output ps con maggiori informazioni " -#~ "(ad esempio il nome del nodo).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# Elenca un controller di replica singolo con NAME specificato nel " -#~ "formato di output ps.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# Elenca un singolo pod nel formato di uscita JSON.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# Elenca un pod identificato per tipo e nome specificato in \"pod.yaml" -#~ "\" nel formato di uscita JSON.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Restituisce solo il valore di fase del pod specificato.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# Elenca tutti i controller e servizi di replica insieme in formato " -#~ "output ps.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# Elenca una o più risorse per il tipo e per i nomi.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# Elenca tutte le risorse con tipi diversi.\n" -#~ "\t\tkubectl get all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 0:5000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Ascolta localmente le porte 5000 e 6000, inoltrando i dati da/verso " -#~ "le porte 5000 e 6000 nel pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Ascolta localmente la porta 8888, inoltra a 5000 nel pod\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Ascolta localmente una porta casuale, inoltra a 5000 nel pod\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Ascolta localmente una porta casuale, inoltra a 5000 nel pod\n" -#~ "\t\tkubectl port-forward mypod 0:5000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Segna il nodo \"foo\" come programmabile.\n" -#~ "\t\t$ Kubectl uncordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as unschedulable.\n" -#~ "\t\tkubectl cordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Segna il nodo \"foo\" come non programmabile.\n" -#~ "\t\tkubectl cordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Partially update a node using strategic merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image; spec.containers[*].name is required " -#~ "because it's a merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image using a json patch with positional " -#~ "arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aggiorna parzialmente un nodo utilizzando merge patch strategica\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Aggiorna parzialmente un nodo identificato dal tipo e dal nome " -#~ "specificato in \"node.json\" utilizzando merge patch strategica\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Aggiorna l'immagine di un contenitore; spec.containers [*]. name è " -#~ "richiesto perché è una chiave di fusione\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Aggiorna l'immagine di un contenitore utilizzando una patch json " -#~ "con array posizionali\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Print the address of the master and cluster services\n" -#~ "\t\tkubectl cluster-info" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Stampa l'indirizzo dei servizi master e cluster\n" -#~ "\t\tkubectl cluster-info" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Replace a pod using the data in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Replace a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Update a single-container pod's image version (tag) to v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Force replace, delete and then re-create the resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Sostituire un pod utilizzando i dati in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Sostituire un pod usando il JSON passato da stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Aggiorna la versione dell'immagine (tag) di un singolo container di " -#~ "pod a v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Forza la sostituzione, cancellazione e quindi ricreare la risorsa\n" -#~ "\t\tkubectl replace --force -f ./pod.json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Return snapshot logs from pod nginx with only one container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs for the pods defined by label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Restituisce snapshot log dal pod nginx con un solo container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Restituisce snapshot log dei pod definiti dalla label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Restituisce snapshot log del container ruby terminato nel pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Iniziare a trasmettere i log del contenitore ruby nel pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Visualizza solo le ultime 20 righe di output del pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Mostra tutti i log del pod nginx scritti nell'ultima ora\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Restituisce snapshot log dal primo contenitore di un lavoro " -#~ "chiamato hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Restituisce snapshot logs del container nginx-1 del deployment " -#~ "chiamato nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " -#~ "content from ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" -#~ "\t\t# The chosen port for the server will be output to stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" -#~ "api\n" -#~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Esegui un proxy verso kubernetes apiserver sulla porta 8011, che " -#~ "fornisce contenuti statici da ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Esegui un proxy verso kubernetes apiserver su una porta locale " -#~ "arbitraria.\n" -#~ "\t\t# La porta selezionata per il server verrà inviata a stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Esegui un proxy verso kubernetes apiserver, cambiando il prefisso " -#~ "api in k8s-api\n" -#~ "\t\t# Questo comporta, ad es., pod api disponibili presso localhost:8001/" -#~ "k8s-api/v1/pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Scale a replicaset named 'foo' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " -#~ "3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale multiple replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale job named 'cron' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Scala un replicaset denominato 'foo' a 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scala una risorsa identificata per tipo e nome specificato in \"foo." -#~ "yaml\" a 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# Se la distribuzione corrente di mysql è 2, scala mysql a 3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scalare più controllori di replica.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scala il lavoro denominato 'cron' a 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file, will create the annotation if it does not already " -#~ "exist.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Imposta l'ultima-configurazione-applicata di una risorsa che " -#~ "corrisponda al contenuto di un file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Esegue set-last-applied per ogni file di configurazione in una " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Imposta la configurazione dell'ultima applicazione di una risorsa " -#~ "che corrisponda al contenuto di un file, creerà l'annotazione se non " -#~ "esiste già.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Spegni foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop di tutti i pod e servizi con label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Spegnere il servizio definito in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Spegnere tutte le resources in path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Avviare un'unica istanza di nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Avviare un'unica istanza di hazelcast e lasciare che il container " -#~ "esponga la porta 5701.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Avviare una singola istanza di hazelcast ed imposta le variabili " -#~ "ambiente \"DNS_DOMAIN=cluster\" e \"POD_NAMESPACE=default\" nel " -#~ "container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Avviare un'istanza replicata di nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Stampare gli oggetti API corrispondenti senza crearli.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Avviare un'unica istanza di nginx, ma overload le spec del " -#~ "deployment con un insieme parziale di valori analizzati da JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Avviare un pod di busybox e tenerlo in primo piano, non riavviarlo " -#~ "se esce.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Avviare il container nginx utilizzando il comando predefinito, ma " -#~ "utilizzare argomenti personalizzati (arg1 .. argN) per quel comando.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Avviare il container nginx utilizzando un diverso comando e " -#~ "argomenti personalizzati.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Avviare il contenitore perl per calcolare π a 2000 posti e " -#~ "stamparlo.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Avviare il cron job per calcolare π a 2000 posti e stampare ogni 5 " -#~ "minuti.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aggiorna il nodo \"foo\" con un marcatore con il tasto 'dedicated' " -#~ "e il valore 'special-user' ed effettua 'NoSchedule'.\n" -#~ "\t\t# Se un marcatore con quel tasto e l'effetto già esiste, il suo " -#~ "valore viene sostituito come specificato.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Rimuove dal nodo 'foo' il marcatore con il tasto 'dedicated' ed " -#~ "effettua 'NoSchedule' se esiste.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Rimuovi dal nodo 'foo' tutti i marcatori con chiave 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aggiorna il pod 'foo' con l'etichetta 'unhealthy' e il valore " -#~ "'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Aggiorna il pod 'foo' con l'etichetta 'status' e il valore " -#~ "'unhealthy', sovrascrivendo qualsiasi valore esistente.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Aggiorna tutti i pod nello spazio dei nomi\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Aggiorna un pod identificato dal tipo e dal nome in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Aggiorna il pod 'foo' solo se la risorsa è invariata dalla versione " -#~ "1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Aggiorna il pod 'foo' rimuovendo un'etichetta denominata 'bar' se " -#~ "esiste.\n" -#~ "\t\t# Non richiede la flag -overwrite.\n" -#~ "\t\tkubectl label pods foo bar-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aggiorna i pod di frontend-v1 usando i dati del replication " -#~ "controller in frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Aggiorna i pod di frontend-v1 usando i dati JSON passati da stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Aggiorna i pod di frontend-v1 in frontend-v2 solo cambiando " -#~ "l'immagine e modificando\n" -#~ "\t\t# il nome del replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Aggiorna i pod di frontend solo cambiando l'immaginee mantenendo il " -#~ "vecchio none.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Interrompee ed invertire un rollout esistente in corso (da " -#~ "frontend-v1 a frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" - -#~ msgid "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Visualizza le annotazioni dell'ultima-configurazione-applicata per " -#~ "tipo/nome in YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# # Visualizza le annotazioni dell'ultima-configurazione-applicata " -#~ "per file in JSON.\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#~ msgid "" -#~ "\n" -#~ "\t\tApply a configuration to a resource by filename or stdin.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." -#~ msgstr "" -#~ "\n" -#~ "\t\tApplicare una configurazione a una risorsa per nomefile o stdin.\n" -#~ "\t\tQuesta risorsa verrà creata se non esiste ancora.\n" -#~ "\t\tPer utilizzare 'apply', creare sempre la risorsa inizialmente con " -#~ "'apply' o 'create --save-config'.\n" -#~ "\n" -#~ "\t\tSono accettati i formati JSON e YAML.\n" -#~ "\n" -#~ "\t\tDisclaimer Alpha: la funzionalità --prune non è ancora completa. Non " -#~ "utilizzare a meno che non si sia a conoscenza di quale sia lo stato " -#~ "attuale. Vedi https://issues.k8s.io/34274." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\n" -#~ "Crea un ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea un ClusterRoleBinding per un ClusterRole particolare." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea un RoleBinding per un particolare Ruolo o ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a TLS secret from the given public/private key pair.\n" -#~ "\n" -#~ "\t\tThe public/private key pair must exist before hand. The public key " -#~ "certificate must be .PEM encoded and match the given private key." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea un TLS secret dalla coppia di chiavi pubblica/privata.\n" -#~ "\n" -#~ "\t\tLa coppia di chiavi pubblica/privata deve esistere prima. Il " -#~ "certificato chiave pubblica deve essere .PEM codificato e corrispondere " -#~ "alla chiave privata data." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreare un configmap basato su un file, una directory o un valore " -#~ "literal specificato.\n" -#~ "\n" -#~ "\t\tUn singolo configmap può includere una o più coppie chiave/valore.\n" -#~ "\n" -#~ "\t\tQuando si crea una configmap basata su un file, il valore predefinito " -#~ "sarà il nome di base del file e il valore sarà\n" -#~ "\t\tpredefinito per il contenuto del file. Se il nome di base è una " -#~ "chiave non valida, è possibile specificare un tasto alternativo.\n" -#~ "\n" -#~ "\t\tQuando si crea un configmap basato su una directory, ogni file il cui " -#~ "nome di base è una chiave valida nella directory verrà\n" -#~ "\t\tpacchettizzata nel configmap. Le voci di directory tranne i file " -#~ "regolari vengono ignorati (ad esempio sottodirectory,\n" -#~ "\t\tsymlinks, devices, pipes, ecc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreare un nuovo secret per l'utilizzo con i registri Docker.\n" -#~ "\n" -#~ "\t\tDockercfg secrets vengono utilizzati per autenticare i registri " -#~ "Docker.\n" -#~ "\n" -#~ "\t\tQuando utilizzi la riga di comando Docker per il push delle immagini, " -#~ "è possibile eseguire l'autenticazione eseguendo correttamente un " -#~ "determinato registry\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " Questo produce un file ~ / .dockercfg che viene utilizzato dai " -#~ "successivi comandi \"docker push\" e \"docker pull\"\n" -#~ "\t\tper autenticarsi nel registry. L'indirizzo email è facoltativo.\n" -#~ "\n" -#~ "\t\tDurante la creazione di applicazioni, è possibile avere un Docker " -#~ "registry che richiede l'autenticazione. Affinché i \n" -#~ "\t\tnodi eseguano pull di immagini per vostro conto, devono avere le " -#~ "credenziali. È possibile fornire queste informazioni \n" -#~ "\t\tcreando un dockercfg secret e collegandolo al tuo account di servizio." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea un pod disruption budget con il nome specificato, selector e il " -#~ "numero minimo di pod disponibili" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea una risorsa per nome file o stdin.\n" -#~ "\n" -#~ "\t\tSono accettati i formati JSON e YAML." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea una resourcequota con il nome specificato, hard limits e gli " -#~ "scope opzionali" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea un secret basato su un file, una directory o un valore specifico " -#~ "literal.\n" -#~ "\n" -#~ "\t\tUn singolo secret può includere una o più coppie chiave/valore.\n" -#~ "\n" -#~ "\t\tQuando si crea un secret basato su un file, la chiave per " -#~ "impostazione predefinita sarà il nome di base del file e il valore sarà\n" -#~ "\t\tpredefinito al contenuto del file. Se il nome di base è una chiave " -#~ "non valida, è possibile specificare un tasto alternativo.\n" -#~ "\n" -#~ "\n" -#~ "\t\tQuando si crea un segreto basato su una directory, ogni file il cui " -#~ "nome di base è una chiave valida nella directory verrà \n" -#~ "\t\\paccehttizzataw in un secret. Le voci di directory tranne i file " -#~ "regolari vengono ignorati (ad esempio sottodirectory,\n" -#~ "\t\tsymlinks, devices, pipes, ecc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea ed esegue un'immagine particolare, eventualmente replicata.\n" -#~ "\n" -#~ "\t\tCrea un deployment o un job per gestire i container creati." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." -#~ msgstr "" -#~ "\n" -#~ "\t\tCrea un autoscaler che automaticamente sceglie e imposta il numero di " -#~ "pod che vengono eseguiti in un cluster di kubernets.\n" -#~ "\n" -#~ "\t\tEsegue una ricerca di un Deployment, ReplicaSet o " -#~ "ReplicationController per nome e crea un autoscaler che utilizza la " -#~ "risorsa indicata come riferimento.\n" -#~ "\t\tUn autoscaler può aumentare o diminuire automaticamente il numero di " -#~ "pod distribuiti all'interno del sistema se necessario." - -#~ msgid "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." -#~ msgstr "" -#~ "\n" -#~ "\t\tCancella risorse secondo nomi di file, stdin, risorse e nomi, o per " -#~ "selettori di risorse e etichette.\n" -#~ "\n" -#~ "\t\tSono accettati i formati JSON e YAML. È possibile specificare un solo " -#~ "tipo di argomenti: nome file,\n" -#~ "\t\trisorse e nomi, o risorse e selettore di etichette.\n" -#~ "\n" -#~ "\t\tAlcune risorse, come i pod, supportano cacellazione corretta. Queste " -#~ "risorse definiscono un periodo di default\n" -#~ "\t\tprima che siano forzatamente terminate (il grace period) ma si può " -#~ "sostituire quel valore con\n" -#~ "\t\til falg --grace-period, o passare --now per impostare il grace-period " -#~ "a 1. Poiché queste risorse spesso\n" -#~ "\t\trappresentano entità del cluster, la cancellazione non può essere " -#~ "presa in carico immediatamente. Se il nodo\n" -#~ "\t\tche ospita un pod è spento o non raggiungibile da API server, " -#~ "termination può richiedere molto più tempo\n" -#~ "\t\tdel grace period. Per forzare la cancellazione di una resource,\tdevi " -#~ "obbligatoriamente indicare un grace\tperiod di 0 e specificare\n" -#~ "\t\til flag --force.\n" -#~ "\n" -#~ "\t\tIMPORTANTE: Fozare la cancellazione dei pod non attende conferma che " -#~ "i processi del pod siano\n" -#~ "\t\tterminati, che può lasciare questi processi in esecuzione fino a " -#~ "quando il nodo rileva la cancellazione\n" -#~ "\t\tcompletata correttamente. Se i tuoi processi utilizzano " -#~ "l'archiviazione condivisa o parlano con un'API remota e\n" -#~ "\t\tdipendono dal nome del pod per identificarsi, la forzata eliminazione " -#~ "di questi pod può comportare\n" -#~ "\t\tpiù processi in esecuzione su macchine diverse che utilizzando la " -#~ "stessa identificazione che può portare\n" -#~ "\t\tcorruzione o inconsistenza dei dati. Forza i pod solo quando si è " -#~ "sicuri che il pod sia\n" -#~ "\t\tterminato, o se la tua applicazione può can tollerare più copie dello " -#~ "stesso pod in esecuzione contemporaneamente.\n" -#~ "\t\tInoltre, se forzate l'eliminazione dei i nodi, lo scheduler può può " -#~ "creare nuovi nodi su questi nodi prima che il nodo\n" -#~ "\t\tabbia liberato quelle risorse e provocando immediatamente evict di " -#~ "tali pod.\n" -#~ "\n" -#~ "\n" -#~ "\t\tNotare che il comando di eliminazione NON fa verificare la versione " -#~ "delle risorse, quindi se qualcuno\n" -#~ "\t\tinvia un aggiornamento ad una risorsa quando invii un eliminazione, " -#~ "il loro aggiornamento\n" -#~ "\t\tsaranno persi insieme al resto della risorsa." - -#~ msgid "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." -#~ msgstr "" -#~ "\n" -#~ "\t\tDeprecated: chiudere correttamente una risorsa per nome o nome file.\n" -#~ "\n" -#~ "\t\tIl comando stop è deprecato, tutte le sue funzionalità sono coperte " -#~ "dal comando delete.\n" -#~ "\t\tVedere 'kubectl delete --help' per ulteriori dettagli.\n" -#~ "\n" -#~ "\t\tTenta di arrestare ed eliminare una risorsa che supporta la corretta " -#~ "terminazione.\n" -#~ "\t\tSe la risorsa è scalabile, verrà scalata a 0 prima dell'eliminazione." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." -#~ msgstr "" -#~ "\n" -#~ "\t\tVisualizza l'utilizzo di risorse (CPU/Memoria/Storage) dei nodi.\n" -#~ "\n" -#~ "\t\tIl comando top-node consente di visualizzare il consumo di risorse " -#~ "dei nodi." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." -#~ msgstr "" -#~ "\n" -#~ "\t\tVisualizza l'utilizzo di risorse (CPU/Memoria/Storage) dei pod.\n" -#~ "\n" -#~ "\t\tIl comando \"top pod\" consente di visualizzare il consumo delle " -#~ "risorse dei pod.\n" -#~ "\n" -#~ "\t\tA causa del ritardo della pipeline metrica, potrebbero non essere " -#~ "disponibili per alcuni minuti\n" -#~ "\t\teal momento della creazione dei pod." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " -#~ msgstr "" -#~ "\n" -#~ "\t\tVisualizza l'utilizzo di risorse (CPU/Memoria/Storage).\n" -#~ "\n" -#~ "\t\tIl comando top consente di visualizzare il consumo di risorse per " -#~ "nodi o pod.\n" -#~ "\n" -#~ "\t\tQuesto comando richiede che Heapster sia configurato correttamente e " -#~ "che funzioni sul server." - -#~ msgid "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tDrain node in preparazione alla manutenzione.\n" -#~ "\n" -#~ "\t\tIl nodo indicato verrà contrassegnato unschedulable per impedire che " -#~ "nuovi pod arrivino.\n" -#~ "\t\t'drain' evict i pod se l'APIServer supporta eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Altrimenti, usa il " -#~ "normale DELETE\n" -#~ "\t\tper eliminare i pod.\n" -#~ "\t\tIl 'drain' evicts o la cancellazione di tutti all pod tranne mirror " -#~ "pods (che non possono essere eliminati\n" -#~ "\t\tattraverso API server). Se ci sono i pod gestiti da DaemonSet, " -#~ "drain non procederà\n" -#~ "\t\tsenza --ignore-daemonsets e, a prescindere da ciò, non cancellerà " -#~ "alcun\n" -#~ "\t\tpod gestitto da DaemonSet,poiché questi pods verrebbero " -#~ "immediatamente sostituiti dal\n" -#~ "\t\tDaemonSet controller, che ignora le marcature unschedulable. Se ci " -#~ "sono\n" -#~ "\t\tpod che non sono né mirror pod né gestiti dal ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet o Job, allora drain non cancellerà " -#~ "alcun pod finché non\n" -#~ "\t\tuserai --force. --force permetterà alla cancellazione di procedere " -#~ "se la risorsa gestita da uno\n" -#~ "\t\to più pod è mancante.\n" -#~ "\n" -#~ "\t\t'drain' attende il termine corretto. Non devi operare sulla macchina " -#~ "finché\n" -#~ "\t\til comando non viene completato.\n" -#~ "\n" -#~ "\t\tQuando sei pronto per riportare il nodo al servizio, utilizza kubectl " -#~ "uncordon, per\n" -#~ "\t\trimettere il nodo schedulable nuovamente.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag --windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." -#~ msgstr "" -#~ "\n" -#~ "\t\tModificare una risorsa dall'editor predefinito.\n" -#~ "\n" -#~ "\t\tIl comando di modifica consente di modificare direttamente qualsiasi " -#~ "risorsa API che è possibile recuperare tramite gli\n" -#~ "\t\tstrumenti di riga di comando. Apre l'editor definito dalle variabili " -#~ "d'ambiente\n" -#~ "\t\tKUBE_EDITOR o EDITOR, o ritornare a 'vi' per Linux o 'notepad' per " -#~ "Windows.\n" -#~ "\t\tÈ possibile modificare più oggetti, anche se le modifiche vengono " -#~ "applicate una alla volta. Il comando\n" -#~ "\t\taccetta sia nomi di file che argomenti da riga di comando, anche se i " -#~ "file a cui fa riferimento devono\n" -#~ "\t\tessere state salvate precedentemente le versioni delle risorse.\n" -#~ "\n" -#~ "\t\tLa modifica viene eseguita con la versione API utilizzata per " -#~ "recuperare la risorsa.\n" -#~ "\t\tPer modificare utilizzando una specifica versione API, fully-qualify " -#~ "la risorsa, versione e il gruppo.\n" -#~ "\n" -#~ "\t\tIl formato predefinito è YAML. Per modificare in JSON, specificare \"-" -#~ "o json\".\n" -#~ "\n" -#~ "\t\tIl flag --windows-line-endings può essere utilizzato per forzare i " -#~ "fine linea Windows,\n" -#~ "\t\taltrimenti verrà utilizzato il default per il sistema operativo.\n" -#~ "\n" -#~ "\t\tNel caso in cui si verifica un errore durante l'aggiornamento, verrà " -#~ "creato un file temporaneo sul disco\n" -#~ "\t\tche contiene le modifiche non apportate. L'errore più comune durante " -#~ "l'aggiornamento di una risorsa\n" -#~ "\t\tè una modifica da pare di un altro editor della risorsa sul server. " -#~ "Quando questo si verifica, dovrai\n" -#~ "\t\tapplicare le modifiche alla versione più recente della risorsa o " -#~ "aggiornare il tua copia\n" -#~ "\t\ttemporanea salvata per includere l'ultima versione delle risorse." - -#~ msgid "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" -#~ msgstr "" -#~ "\n" -#~ "\t\tIn output codice di completamento shell output per la shell " -#~ "specificata (bash o zsh).\n" -#~ "\t\tIl codice di shell deve essere valorizzato per fornire completamento\n" -#~ "\t\tinterattivo dei comandi kubectl. Questo può essere eseguito " -#~ "richiamandolo\n" -#~ "\t\tda .bash_profile.\n" -#~ "\n" -#~ "\t\tNota: questo richiede il framework di completamento bash, che non è " -#~ "installato\n" -#~ "\t\tper impostazione predefinita su Mac. Questo può essere installato " -#~ "utilizzando homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tUna volta installato, bash_completion deve essere valutato. Ciò può " -#~ "essere fatto aggiungendo la\n" -#~ "\t\tseguente riga al file .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNota per gli utenti zsh: [1] i completamenti zsh sono supportati solo " -#~ "nelle versioni zsh> = 5.2" - -#~ msgid "" -#~ "\n" -#~ "\t\tPerform a rolling update of the given ReplicationController.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tEseguire un rolling update del ReplicationController specificato.\n" -#~ "\n" -#~ "\t\tSostituisce il replication controller specificato con un nuovo " -#~ "replication controller aggiornando un pod alla volta per usare il\n" -#~ "\t\tnuovo PodTemplate. Il new-controller.json deve specificare lo stesso " -#~ "namespace del\n" -#~ "\t\tcontroller di replica esistente e sovrascrivere almeno una etichetta " -#~ "(comune) nella sua replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tSostituire una risorsa per nomefile o stdin.\n" -#~ "\n" -#~ "\t\tSono accettati i formati JSON e YAML. Se si sostituisce una risorsa " -#~ "esistente, \n" -#~ "\t\tè necessario fornire la specifica completa delle risorse. Questo può " -#~ "essere ottenuta da\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tFare riferimento ai modelli https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html per trovare se un campo è mutevole." - -#~ msgid "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." -#~ msgstr "" -#~ "\n" -#~ "\t\tImposta una nuova dimensione per Deployment, ReplicaSet, Replication " -#~ "Controller, o Job.\n" -#~ "\n" -#~ "\t\tScala consente anche agli utenti di specificare una o più condizioni " -#~ "preliminari per l'azione della scala.\n" -#~ "\n" -#~ "\t\tSe --current-replicas o --resource-version sono specificate, viene " -#~ "convalidata prima di\n" -#~ "\t\ttentare scale, ed è garantito che la precondizione vale quando\n" -#~ "\t\tscale viene inviata al server.." - -#~ msgid "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" -#~ msgstr "" -#~ "\n" -#~ "\t\tPer proxy tutti i kubernetes api e nient'altro, utilizzare:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tPer proxy solo una parte dei kubernetes api e anche alcuni file " -#~ "static\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tQuanto sopra consente 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tPer eseguire il proxy tutti i kubernetes api in una radice diversa, " -#~ "utilizzare:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tQuanto sopra ti permette 'curl localhost:8001/custom/api/v1/pods'" - -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tAggiorna i campi di una risorsa utilizzando la merge patch " -#~ "strategica\n" -#~ "\n" -#~ "\t\tSono accettati i formati JSON e YAML.\n" -#~ "\n" -#~ "\t\tSi prega di fare riferimento ai modelli in https://htmlpreview.github." -#~ "io/?https://github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/" -#~ "v1/definitions.html per trovare se un campo è mutevole." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the labels on a resource.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." -#~ msgstr "" -#~ "\n" -#~ "\t\tAggiorna le label di una risorsa.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the taints on one or more nodes.\n" -#~ "\n" -#~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " -#~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" -#~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -#~ "\t\t* Currently taint can only apply to node." -#~ msgstr "" -#~ "\n" -#~ "\t\tAggiorna i marcatori su uno o più nodi.\n" -#~ "\n" -#~ "\t\t* Un marcatore è costituita da una chiave, un valore e un effetto. " -#~ "Come argomento qui, viene espresso come chiave = valore: effetto.\n" -#~ "\t\t* La chiave deve iniziare con una lettera o un numero e può contenere " -#~ "lettere, numeri, trattini, punti e sottolineature, fino a% [1] d " -#~ "caratteri.\n" -#~ "\t\t* Il valore deve iniziare con una lettera o un numero e può contenere " -#~ "lettere, numeri, trattini, punti e sottolineature, fino a% [2] d " -#~ "caratteri.\n" -#~ "\t\t* L'effetto deve essere NoSchedule, PreferNoSchedule o NoExecute.\n" -#~ "\t\t* Attualmente il marcatore può essere applicato solo al nodo." - -#~ msgid "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." -#~ msgstr "" -#~ "\n" -#~ "\t\tVisualizza le annotazioni dell'ultima-configurazione-applicata per " -#~ "tipo/nome o file.\n" -#~ "\n" -#~ "\t\tL'output predefinito verrà stampato su stdout nel formato YAML. Si " -#~ "può usare l'opzione -o\n" -#~ "\t\tPer cambiare il formato di output." - -#~ msgid "" -#~ "\n" -#~ "\t # !!!Important Note!!!\n" -#~ "\t # Requires that the 'tar' binary is present in your container\n" -#~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" -#~ "\n" -#~ "\t # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod " -#~ "in the default namespace\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copy /tmp/foo local file to /tmp/bar in a remote pod in a " -#~ "specific container\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -#~ "\n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" -#~ msgstr "" -#~ "\n" -#~ "\t # !!!Nota importante!!!\n" -#~ "\t # Richiede che il binario 'tar' sia presente nel tuo contenitore\n" -#~ "\t # immagine. Se 'tar' non è presente, 'kubectl cp' non riesce.\n" -#~ "\n" -#~ "\t # Copia /tmp/foo_dir directory locale in /tmp/bar_dir in un pod " -#~ "remoto nello spazio dei nomi predefinito\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copia /tmp/foo file locale in /tmp/bar in un pod remoto in un " -#~ "contenitore specifico\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copia /tmp/foo file locale in /tmp/bar in un pod remoto nello " -#~ "spazio dei nomi \n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copia /tmp/foo da un pod remoto in /tmp/bar localmente\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" -#~ msgstr "" -#~ "\n" -#~ "\t # Crea un nuovo secret TLS denominato tls-secret con la coppia di " -#~ "dati fornita:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" -#~ msgstr "" -#~ "\n" -#~ "\t # Crea un nuovo secret denominato my-secret con i tasti per ogni file " -#~ "nella barra delle cartelle\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Crea un nuovo secret denominato my-secret con le chiavi specificate " -#~ "anziché i nomi sul disco\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Crea un nuovo secret denominato my-secret con key1 = supersecret e " -#~ "key2 = topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" - -#~ msgid "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" -#~ msgstr "" -#~ "\n" -#~ "\t# Crea un nuovo servizio ExternalName denominato my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" - -#~ msgid "" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs (in headless mode)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" -#~ msgstr "" -#~ "\n" -#~ " # Creare un nuovo servizio clusterIP denominato my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Creare un nuovo servizio clusterIP denominato my-cs (in modalità " -#~ "headless)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" - -#~ msgid "" -#~ "\n" -#~ " # Create a new deployment named my-dep that runs the busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" -#~ msgstr "" -#~ "\n" -#~ " # Crea una nuovo deployment chiamato my-dep che esegue l'immagine " -#~ "busybox.\n" -#~ " kubectl create deployment my-dep --image=busybox" - -#~ msgid "" -#~ "\n" -#~ " # Create a new nodeport service named my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" -#~ msgstr "" -#~ "\n" -#~ " # Creare un nuovo servizio nodeport denominato my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" - -#~ msgid "" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" -#~ " # If the same annotation is set multiple times, only the last value " -#~ "will be applied\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Update a pod identified by type and name in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Update all pods in the namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Update pod 'foo' by removing an annotation named 'description' if " -#~ "it exists.\n" -#~ " # Does not require the --overwrite flag.\n" -#~ " kubectl annotate pods foo description-" -#~ msgstr "" -#~ "\n" -#~ " # Aggiorna il pod 'foo' con annotazione 'description'e il valore 'my " -#~ "frontend'.\n" -#~ " # Se la stessa annotazione è impostata più volte, verrà applicato " -#~ "solo l'ultimo valore\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Aggiorna un pod identificato per tipo e nome in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Aggiorna pod 'foo' con la annotazione 'description' e il valore 'my " -#~ "frontend running nginx', sovrascrivendo qualsiasi valore esistente.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Aggiorna tutti i baccelli nel namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Aggiorna il pod 'foo' solo se la risorsa è invariata dalla versione " -#~ "1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Aggiorna il pod 'foo' rimuovendo un'annotazione denominata " -#~ "'descrizione' se esiste.\n" -#~ " # Non richiede flag -overwrite.\n" -#~ " kubectl annotate pods foo description-" - -#~ msgid "" -#~ "\n" -#~ " Create a clusterIP service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Crea un servizio clusterIP con il nome specificato." - -#~ msgid "" -#~ "\n" -#~ " Create a deployment with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Creare un deployment con il nome specificato." - -#~ msgid "" -#~ "\n" -#~ " Create a nodeport service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Creare un servizio nodeport con il nome specificato." - -#~ msgid "" -#~ "\n" -#~ " Dumps cluster info out suitable for debugging and diagnosing cluster " -#~ "problems. By default, dumps everything to\n" -#~ " stdout. You can optionally specify a directory with --output-" -#~ "directory. If you specify a directory, kubernetes will\n" -#~ " build a set of files in that directory. By default only dumps things " -#~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" -#~ "\n" -#~ " The command also dumps the logs of all of the pods in the cluster, " -#~ "these logs are dumped into different directories\n" -#~ " based on namespace and pod name." -#~ msgstr "" -#~ "\n" -#~ " Dump delle informazioni di cluster idonee per il debug e la " -#~ "diagnostica di problemi di cluster. Per impostazione predefinita, tutto\n" -#~ "    verso stdout. È possibile specificare opzionalmente una directory con " -#~ "--output-directory. Se si specifica una directory, kubernetes \n" -#~ " creearà un insieme di file in quella directory. Per impostazione " -#~ "predefinita, dumps solo i dati del namespace \"kube-system\", ma è\n" -#~ " possibile passare ad namespace diverso con il flag --namespaces o " -#~ "specificare --all-namespaces per il dump di tutti i namespace.\n" -#~ "\n" -#~ "     Il comando esegue dump anche dei log di tutti i pod del cluster, " -#~ "questi log vengono scaricati in directory differenti\n" -#~ "     basati sul namespace e sul nome del pod." - -#~ msgid "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." -#~ msgstr "" -#~ "\n" -#~ " Visualizza gli indirizzi del master e dei servizi con label kubernetes." -#~ "io/cluster-service=true\n" -#~ "  Per ulteriore debug e diagnosticare i problemi di cluster, utilizzare " -#~ "'kubectl cluster-info dump'." - -#~ msgid "A schedule in the Cron format the job should be run with." -#~ msgstr "Un calendario in formato Cron del lavoro che deve essere eseguito." - -#~ msgid "" -#~ "An inline JSON override for the generated service object. If this is non-" -#~ "empty, it is used to override the generated object. Requires that the " -#~ "object supply a valid apiVersion field. Only used if --expose is true." -#~ msgstr "" -#~ "Un override JSON inline per l'oggetto di servizio generato. Se questo non " -#~ "è vuoto, viene utilizzato per ignorare l'oggetto generato. Richiede che " -#~ "l'oggetto fornisca un campo valido apiVersion. Utilizzato solo se --" -#~ "expose è true." - -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "Applica una configurazione risorsa per nomefile o stdin" - -#~ msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController" -#~ msgstr "Auto-scale a Deployment, ReplicaSet, o ReplicationController" - -#~ msgid "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" -#~ msgstr "" -#~ "Nome container che avrà la sua immagine aggiornata. Soltanto rilevante " -#~ "quando --image è specificato, altrimenti ignorato. Necessario quando si " -#~ "utilizza --image su un contenitore a più contenitori" - -#~ msgid "Create a ClusterRoleBinding for a particular ClusterRole" -#~ msgstr "Crea un ClusterRoleBinding per un ClusterRole particolare" - -#~ msgid "Create a LoadBalancer service." -#~ msgstr "Creare un servizio LoadBalancer." - -#~ msgid "Create a NodePort service." -#~ msgstr "Crea un servizio NodePort." - -#~ msgid "Create a RoleBinding for a particular Role or ClusterRole" -#~ msgstr "Crea un RoleBinding per un particolare Role o ClusterRole" - -#~ msgid "Create a clusterIP service." -#~ msgstr "Crea un servizio clusterIP." - -#~ msgid "Create a configmap from a local file, directory or literal value" -#~ msgstr "" -#~ "Crea un configmap da un file locale, una directory o un valore letterale" - -#~ msgid "Create a deployment with the specified name." -#~ msgstr "Creare un deployment con il nome specificato." - -#~ msgid "Create a pod disruption budget with the specified name." -#~ msgstr "Crea un pod disruption budget con il nome specificato." - -#~ msgid "Create a quota with the specified name." -#~ msgstr "Crea una quota con il nome specificato." - -#~ msgid "Create a resource by filename or stdin" -#~ msgstr "Crea una risorsa per nome file o stdin" - -#~ msgid "Create a secret from a local file, directory or literal value" -#~ msgstr "" -#~ "Crea un secret da un file locale, una directory o un valore letterale" - -#~ msgid "Create a service using specified subcommand." -#~ msgstr "Crea un servizio utilizzando il subcommand specificato." - -#~ msgid "Create an ExternalName service." -#~ msgstr "Crea un servizio ExternalName." - -#~ msgid "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" -#~ msgstr "" -#~ "Elimina risorse selezionate per nomi di file, stdin, risorse e nomi, o " -#~ "per risorsa e selettore di label" - -#~ msgid "Deprecated: Gracefully shut down a resource by name or filename" -#~ msgstr "Deprecated: spegne correttamente una risorsa per nome o nome file" - -#~ msgid "Display Resource (CPU/Memory) usage of nodes" -#~ msgstr "Visualizza l'utilizzo di risorse (CPU/Memoria) per nodo" - -#~ msgid "Display Resource (CPU/Memory) usage of pods" -#~ msgstr "Visualizza l'utilizzo di risorse (CPU/Memoria) per pod." - -#~ msgid "Display Resource (CPU/Memory) usage." -#~ msgstr "Visualizza l'utilizzo di risorse (CPU/Memoria)." - -#~ msgid "Display cluster info" -#~ msgstr "Visualizza informazioni sul cluster" - -#~ msgid "Displays the current-context" -#~ msgstr "Visualizza il current-context" - -#~ msgid "Documentation of resources" -#~ msgstr "Documentazione delle risorse" - -#~ msgid "Dump lots of relevant info for debugging and diagnosis" -#~ msgstr "" -#~ "Dump di un sacco di informazioni pertinenti per il debug e la diagnosi" - -#~ msgid "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." -#~ msgstr "" -#~ "Politica esplicita per il pull delle immagini container. Richiesto quando " -#~ "--image è uguale all'immagine esistente, altrimenti ignorata." - -#~ msgid "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." -#~ msgstr "" -#~ "IP da assegnare al Load Balancer. Se vuota, un IP effimero verrà creato e " -#~ "utilizzato (specifico per provider cloud)." - -#~ msgid "" -#~ "Image to use for upgrading the replication controller. Must be distinct " -#~ "from the existing image (either new image or new image tag). Can not be " -#~ "used with --filename/-f" -#~ msgstr "" -#~ "Immagine da utilizzare per aggiornare il replication controller. Deve " -#~ "essere diversa dall'immagine esistente (nuova immagine o nuovo tag " -#~ "immagine). Non può essere utilizzata con --filename/-f" - -#~ msgid "Manage a deployment rollout" -#~ msgstr "Gestisci un deployment rollout" - -#~ msgid "" -#~ "Output the formatted object with the given group version (for ex: " -#~ "'extensions/v1beta1').)" -#~ msgstr "" -#~ "Output dell'oggetto formattato con la versione del gruppo fornito (per " -#~ "esempio: 'extensions/v1beta1').)" - -#~ msgid "Perform a rolling update of the given ReplicationController" -#~ msgstr "Eseguire un rolling update del ReplicationController specificato" - -#~ msgid "Replace a resource by filename or stdin" -#~ msgstr "Sostituire una risorsa per nomefile o stdin" - -#~ msgid "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" -#~ msgstr "" -#~ "Imposta una nuova dimensione per Deployment, ReplicaSet, Replication " -#~ "Controller, o Job" - -#~ msgid "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." -#~ msgstr "" -#~ "Imposta l'annotazione dell'ultima-configurazione-applicata ad un oggetto " -#~ "live per abbinare il contenuto di un file." - -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "Imposta una voce cluster in kubeconfig" - -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "Imposta una voce context in kubeconfig" - -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "Imposta una voce utente in kubeconfig" - -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "Imposta un singolo valore in un file kubeconfig" - -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "Imposta il current-context in un file kubeconfig" - -#~ msgid "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" -#~ msgstr "" -#~ "Prende un replication controller, service, deployment o un pod e lo " -#~ "espone come nuovo servizio Kubernetes" - -#~ msgid "" -#~ "The key to use to differentiate between two different controllers, " -#~ "default 'deployment'. Only relevant when --image is specified, ignored " -#~ "otherwise" -#~ msgstr "" -#~ "La chiave da utilizzare per distinguere tra due controller diversi, " -#~ "predefinito \"deployment\". Rilevante soltanto quando --image è " -#~ "specificato, altrimenti ignorato" - -#~ msgid "" -#~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" -#~ "guide/kubectl-conventions/#generators for a list." -#~ msgstr "" -#~ "Il nome del generatore API da utilizzare, si veda http://kubernetes.io/" -#~ "docs/user-guide/kubectl-conventions/#generators per un elenco." - -#~ msgid "" -#~ "The name of the API generator to use. Currently there is only 1 generator." -#~ msgstr "" -#~ "Il nome del generatore API da utilizzare. Attualmente c'è solo 1 " -#~ "generatore." - -#~ msgid "" -#~ "The name of the generator to use for creating a service. Only used if --" -#~ "expose is true" -#~ msgstr "" -#~ "Il nome del generatore da utilizzare per la creazione di un servizio. " -#~ "Utilizzato solo se --expose è true" - -#~ msgid "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." -#~ msgstr "" -#~ "La porta che questo contenitore espone. Se --expose è true, questa è " -#~ "anche la porta utilizzata dal servizio creato." - -#~ msgid "" -#~ "The restart policy for this Pod. Legal values [Always, OnFailure, " -#~ "Never]. If set to 'Always' a deployment is created, if set to " -#~ "'OnFailure' a job is created, if set to 'Never', a regular pod is " -#~ "created. For the latter two --replicas must be 1. Default 'Always', for " -#~ "CronJobs `Never`." -#~ msgstr "" -#~ "La politica di riavvio per questo Pod. Valori accettati [Always, " -#~ "OnFailure, Never]. Se impostato su 'Always' viene creato un deployment, " -#~ "se impostato su 'OnFailure' viene creato un job, se impostato su 'Never', " -#~ "viene creato un pod. Per questi ultimi due le - repliche devono essere 1. " -#~ "Predefinito 'Always', per CronJobs `Never`." - -#~ msgid "" -#~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " -#~ "'ClusterIP'." -#~ msgstr "" -#~ "Digitare per questo servizio: ClusterIP, NodePort o LoadBalancer. " -#~ "Ppredefinito è 'ClusterIP'." - -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "Annulla singolo valore in un file kubeconfig" - -#~ msgid "Update field(s) of a resource using strategic merge patch" -#~ msgstr "Aggiornare campo/i risorsa utilizzando merge patch strategici" - -#~ msgid "Update image of a pod template" -#~ msgstr "Aggiorna immagine di un pod template" - -#~ msgid "" -#~ "View latest last-applied-configuration annotations of a resource/object" -#~ msgstr "" -#~ "Visualizza ultime annotazioni dell'ultima configurazione applicata per " -#~ "risorsa/oggetto" - -#~ msgid "external name of service" -#~ msgstr "nome esterno del servizio" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.mo deleted file mode 100644 index f917b6c5bf8d5101b436c689223441c1899c7ada..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19210 zcmeI33v6UpdB@K-kg{$bEx-Kv1HFG))U63MDj;rEOFwkfc=$RRyT3T4+lp1RCuopdukfAoZ#K zzH`pKGxpk>rL?Ik%_wL8zBA|Xo$vjfd-DBrU-yvWQ=wf(n>bCW`@s*M&OdxU`v#>B zgO7pFftPJm>IU#{z!~tY9{W58mNqE$8Spvqv@?_{^81(1RO)TuOW-wN&slbzcYtr< z`Q6~_>Hh)nPM(jPtyBbl58S}_yWgnPL7pehQ7Q%h9Q+Hu-+r!AJ9z$&^OU*^y#9Rp zf)9Zn_yh2HaMuM&eH~O6D)lVz4e;$?<07T@gO7r5244Xi;5iptI`0JwJbw+`3jP=z z1mALrQY@)%2d@Hsun7K!dwvld;Q7Z6FMX4Jo&bdp9|C2)&w?`k1#l<$BlrE)mnzlA z^EfE|5|F9XCqWH91#SYr1+o?OGw^Qk421V6SOXshH!>KK)ng!2tFM4pg5Lr8PyH+Z zuw`{ILJ)opfC=~@xC=b}tx8=Djyr6C*Yf-rcn|mw;AU{QR%#1)80-a~24&s91AiU- z2`KzN|8h(B5O@X8C6J%gy`bp9li>B>U%KZFFiZBWLFqpPE`jd_Zv}q{%KTUHqYvH= z9s|Dwj)A|+W<9V4eiIynh`$EUVUXzg4?)@ge}co{g%B_NnFZOJYJxKVBcSl%PeD{l z{WBPY8xVr%K?({V?gKx#0euG#^Slk=J_mjg6npWRWCna3l;@v=VlP|!t-U;qvWXr| zFd17@9{{fbKMe}Ke+vqqehP}coQ;y*$@2v;KLSHg?B)C5L7snrvZmnvt=3+?1@7Sa zliRGld>h=&b00$Wz!ZEQ{4V%)@Hels_VTXnR(=~1&VIh%42u5T3yQsb4iq{s9kTW^ z4YHK_Fevu&hv0eOF;MjVUqIRCl@KG(GoaYZhe46UQHMVPg%4N5EJ#sPAVbwhz&pS{ z14ZvHW{}v+Zcyk-!ArmgK@C0)A`{Mrg8JU;~P0yplodNSeg5C|*P6W~4IKY@r&P10HD{t$>NsiUCS z%in{dZ$AZ5RdvybrF$4erBwyg-~*uerKdnxul^Afy*O{w(l-cR!Se*T1lGY@!B;?; z{|1c12TR~F@UKArQ%7&M`}!I9O`iAPV(sM$24BYWE1<~hjpJ5MJ3x_h6O?^C1Iqm0 z0a0!B@1XSGwAI((b0or)(kr_agp+ z4MsllB}kM%(0`C&0J6zcCkMFQ|dh_dalr_Ac5@ zvUDDsid zv;~FgsM~07rR}4MU1y)uvp>N1(XOMthlY77Tu1)d>;8HJcqQ%EXsDPvgO+{v@W&MG zDq0Us^hot=+^F>xdS)S7)HOeigHoa^QLMdcRfkd8PfUjcjXA%RR&^TH&9^=44%73& zK|i#eWa`x;_0*oxvG+~woE(#-uh6&nsZJMsU5-kPnjfZK8bqOvD(1`BPohR#^0gP1 zb&x_?;8)8+QZ}uBs9yDgP}d{AKKX>6PU?Oss01ZDjV$8nY>9Q|EXtT-DT1&d^y9=5 zJsk&Osw-7*KG8wA;KxDgm-SrJaIF;8YS7zBWmK14tr#qOE>#0|Y&Mtp@j*Y#_fqy9Npwe~iBuEA%je0$bg`Az!!BNb#=BrFk`$f0S@~m9-Qa{Ou=Nm%= zMgi@rdNIH`%^@B!LnvZkl9u^V6jnIqc2LxNLb&3Ex{>(05NT_NP{4@Nf)~#FGSbNmbFPl9RWC^kUcHXnDT@K1i;dViTrWf@ z=1&x}sS`hi7xVaBVGtTuvioLGiaScI?-UIy8r?(AI8uB>?lVrZ)|@X>H|k~Bi{U14 zG-}K*=-$k!3yDo#sOTGHg&TYIBAwz!*w0$RDv`7qF7tR{Q)4MO&$<^|%0xoZ-22ga zk&J}5kzAJkVuw6Mcx7E{wtbFt&&Vj*L2dDOc3f-X)nd)3cRv)Iyw_O7^~e;0l~#>m zy=)Vq9y^r!ap+a2pdVRTWm->(@D6MCkA35IO1KJSjFAvu%&dBJYDRnIG7=SWCaLe0 z5qQtWC`2sc6Z`ezLV!vbLnKomcQ9&Ia>~>|MzNVTUnC=wu$V4*DT@UddQ_=s0(dHJ z4d+DQH8>||$4*sedl~|%FqP*3w5^dt>V1Tje1$i>L3M!EKJ{Ph&$U#GAf|_Vl z+N}Gzbj|3y>Yi9M-oU!f_n7%A4g5>lC*)TXmeqV#snA5^m3MhnFD#*VnE-NeSLYHl zXq6&m{i+O}%LXH9x)YGnQhj*awbyMQ+CH#-AX{{_QLF1xmIGL>;OoRML9}&xE0?l; z3PD(jbeYjTj{K9)v|0GDIgK_u&KJxYC!ZObt>-M{@nv|Oc{*t@i6we#5(%Rtr?L$e zV_@4(N%pK*%)UtN@N`70+*ZxR>rf*DbJ48k7YlVv;sQ^*U!^mrBaygLP->bIW>-co;T{lT8M77|} zTOr+sp2eY064Ym$vdQoqGjmUG6D?sbGfCvd3>hv?+$0M9j%FJcB>f>*l4LOvrW;jo zV?!at&?lp%z?%1|a!g##yw&(LG6-Qtl`PmMp%Lj?j0?^QYmaha*QA0%A^(L@STOAE zmvn+J&<{gxK8@a{jF8j~_nb<_ zCk`_S=0iysMA=C7)Xqe{(M>8$9W91>#JU1_iWJ4zU`g*(6#BhppPuerAP|zdC%yb^ znT!00PnkPs_C8imQ?WoJ4w4qLrl^Q1AXR%6I*42h6_z2g$6T8ye2*ovQ_s=YHG~Vks)8~3c|ARB_Xe>mSK-e3r-w#^4`CAjiW}Q zdec=yQsHEAB*;>dvNi^nbB}18yVKc;8TQAX)Ao0{=Uy+PZg;gqjbz1N89(gl(Fk`b zHat&u5;sri-jI~Oqnt?^b1rk}?0QPcy&A=3N*ouV=jDWpzjoj9lL=HNRbOX-Js4PL z0EyAbjbPMIN^yW5qUWMi_#(-r%wa>KMuUXxj4!NdBrXPU7Gni`Vh8o-17>)YSNq!bI{hHHJrHp=_vR zm6>7ru^OXm)rftytj7-dB^;?R%+=8>BoCSC-WkjaWYtUvA2cm(g1OLzHT2VoF)X!?g4=YM*`;)N3l_KIavxCZn zlt}`dnv6Ku!E`zzP}U1K=6+pe1BsfFiVjAHjT)Iit_z}InIh*3i8M&dgpMp6ITvpI zs3d>rR0#zlH!>%XUbU!<*zlT-I7E9n!1OAVS|YOSbX4kcy=m{wBU`s_y}qxgNA2m0 zRd6aJ8RfDqV+s|KcF8ZK0km(n4_IVV!ke&yHO*-e5yodY)>X&ziO!eAoO6B8ouKWv zi6oIkHr9ueg+4V+pj?cwKIy*7bR{^VfvHQ#=xd9*>9I-ehq6dn*Bf&rZ2Ew|LL|k! zFK0;yW#7_)rJ_>6Q`yD^durJsNrrKv77;hiHiV>1w%O5FQJ42A|EjIDU+uiQbA;%H?5e~42~D0<|7tHM zJxH1dqv`q9RXe>nX{NBZVP@jACMa>173-iz{+p|}jWx>kilal+F5&`xeOsO#o5O9< zdOZ4!0pp2tX{=HZ`s9a@oc?pJ*FavfqIG78>0m9%)iL6c+dDG{+wMfbo_*!kk_#So z&6A4P<@fAMCYBc~W@f7PhB-KsrkTSyuT?Js(yu27b$b3KFBrA9N|b6g0Z&K5LYjDXqu~vFbVgY z1oabz2w0C{y|25oIFD-*SHt`io@w zHmN1(y7RnK>n8PwIc3g#imi#v{17DEH0R&Bpltlf9ag@I>ntbpu0j!Em>RdJ=_SYT zw88eT5}KVq-h6ONFCn3FMl!D5O=HpvF~5UbOg#mY zn9>QP*PO+{T3cHgDN}TqJ~Cu5_un$MO&Nq(mh%=O;)Iz{mPVz>rbfb_Y;iUVTbvkH zPBuF-?Pf9YX}xe{G=&`(HTgbA&+S|_GZR*jw1Jm-5%GdLv7(8%nd}Umc~_?~a#mmu zA+nccY_CJ(_00&%KjcZQAxSFL8^ePG1GWB|U*ko{@U|_3lL4~OQ<2HR38aQhDnBV~ zB}Nh3ixWlqYC8U+MJZ=Sl%``HD7Ztt}H#} z-E8UD&EU3cfAQVq3;xpkG3TmSimR#67^^O7Us#qy39|KrL4@+W<_|(HyLa!uCyy7u$ zvZ(OcU%VJln_6a)sO1H6lj%98iAxJj@eB5NE_=zRIQFeI#j_Dk>|5$SWfDzZ;ERPo zqBxip@iePD?O9YzE)dE4lfrnp;0{-YaB-=;gD%WR1!q`EK{C3iXRj{~pfH)t2j#-9 z#(YwkjfV8ty@+3GoWdyb8`6UVg9C+uEro$?df@t@ZQHIMxPD-uXF^_1 z&0;1AQjX#weOt8P2YL^Ooi`kiKZ~4u-gG!R9Pv87b|d}6`33=|Fzb7@A)P-D>Gyj* zljD;xjC>yUIfMzW5fGqZ!T z(A_&3`K1bzLU!+Dbnj$zW~(j%Z*=cu$Sp^kaAg%x_fCdnqWL?3?wyS8oeX=mqkGgjX#cm>c8r3jV-Msto4ErcjV~HPuzR_p)av$=$Cn>_@}(!f;)b@CKW)DKaz3DQ zvS(j@@)^T0M^nZDH+M(ZRnxAsljYxUEj@46gPfIwbT5E(FMyc;OD213@IQ1hWyL*@ z*X{zy3e!0D#Qnz~ea>0jRQC!9SA)$}k?s|c?iCPuGyR%e0cmvxABn18Z7o0DS~}W} zi!RogklMWw(!CMVy%ECYzU+FSxn9z}5z@U8GE0TG?v0R_KJmh_-+5AsmgQ$8&tHD3 zwe)yv>Gy1Pb?g(LYAro*{EzP=70Rx8Wa*x{Dt79ZL{9MLkGGaTF2$UbIA3Zle_m?4 xr3Xp7j(;jElU9$RELwiVkhrqn|H9poHP~_F*<*k3x#Q0~x4IDee|n?jzW^5t0Pp|+ diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.po deleted file mode 100644 index d6f4aa2c..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ja_JP/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,3365 +0,0 @@ -# Test translations for unit tests. -# Copyright (C) 2017 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR girikuncoro@gmail.com, 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: gettext-go-examples-hello\n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2020-01-05 09:55+0900\n" -"Last-Translator: Kohei Ota \n" -"Language-Team: \n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.4\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\tCreate a namespace with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\tCreate a role with single rule." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\tCreate a service account with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\tMark node as schedulable." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\tMark node as unschedulable." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" Create a LoadBalancer service with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L61 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L60 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L63 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L106 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L111 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L119 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "Approve a certificate signing request" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Attach to a running container" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L115 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRole this ClusterRoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "ClusterRole this RoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67 -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "Convert config files between different API versions" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "Copy files and directories to and from containers." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "Create a TLS secret" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "Create a namespace with the specified name" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "Create a secret for use with a Docker registry" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "Create a secret using specified subcommand" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "Create a service account with the specified name" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "指定したコンテキストをkubeconfigから削除する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "指定したコンテキストをkubeconfigから削除する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "Deny a certificate signing request" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "1つまたは複数のコンテキストを記述する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "kubeconfigで定義されたクラスターを表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "マージされたkubeconfigの設定または指定されたkubeconfigを表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107 -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "1つまたは複数のリソースを表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Drain node in preparation for maintenance" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "Edit a resource on the server" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L159 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "Email for Docker registry" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "Execute a command in a container" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75 -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Forward one or more local ports to a pod" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36 -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Help about any command" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/annotate.go#L135 -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L132 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "Mark node as schedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "Mark node as unschedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_pause.go#L73 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "Mark the provided resource as paused" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "Modify certificate resources." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "kubeconfigを変更する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L110 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97 -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Output shell completion code for the specified shell (bash or zsh)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L157 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Password for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L226 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Path to PEM encoded public key certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L227 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Path to private key associated with given certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L82 -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "Print the client and server version information" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "Print the list of flags inherited by all commands" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "Print the logs for a container in a pod" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_resume.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "Resume a paused resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L56 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "Role this RoleBinding should reference" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "Run a particular image on the cluster" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "Run a proxy to the Kubernetes API server" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L161 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "Server location for Docker registry" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "Set specific features on objects" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "リソースのセレクターを設定する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80 -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "Show details of a specific resource or group of resources" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_status.go#L57 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "Show the status of the rollout" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Synonym for --target-port" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "The image for the container to run." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L116 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" -"The minimum number or percentage of available pods this budget requires." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L113 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "The name for the newly created object." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L98 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L99 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "The network protocol for the service to be created. Default is 'TCP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L131 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L130 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L87 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "The type of secret to create" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_undo.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "現在のロールアウトを取り消す" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "Update resource requests/limits on objects with pod templates" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "リソースのアノテーションを更新する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "リソースのラベルを更新する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88 -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "Update the taints on one or more nodes" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L155 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Username for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_history.go#L51 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "ロールアウトの履歴を表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L45 -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "dummy restart flag)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217 -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl controls the Kubernetes cluster manager" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a RoleBinding for user1, user2, and group1 using the admin " -#~ "ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Create a RoleBinding for user1, user2, and group1 using the admin " -#~ "ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config based on folder bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with key1=config1 and " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config based on folder bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with key1=config1 and " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" - -#~ msgid "" -#~ "\n" -#~ "\t\t # If you don't already have a .dockercfg file, you can create a " -#~ "dockercfg secret directly by using:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" -#~ msgstr "" -#~ "\n" -#~ "\t\t # If you don't already have a .dockercfg file, you can create a " -#~ "dockercfg secret directly by using:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Apply the configuration in pod.json to a pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Apply the JSON passed into stdin to a pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune is still in Alpha\n" -#~ "\t\t# Apply the configuration in manifest.yaml that matches label " -#~ "app=nginx and delete all the other resources that are not in the file and " -#~ "match label app=nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " -#~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Apply the configuration in pod.json to a pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Apply the JSON passed into stdin to a pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune is still in Alpha\n" -#~ "\t\t# Apply the configuration in manifest.yaml that matches label " -#~ "app=nginx and delete all the other resources that are not in the file and " -#~ "match label app=nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " -#~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 " -#~ "and 10, no target CPU utilization specified so a default autoscaling " -#~ "policy will be used:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 " -#~ "and 10, no target CPU utilization specified so a default autoscaling " -#~ "policy will be used:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Convert the live state of the resource specified by 'pod.yaml' to " -#~ "the latest version\n" -#~ "\t\t# and print to stdout in json format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Convert all files under current directory to latest version and " -#~ "create them all.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Convert the live state of the resource specified by 'pod.yaml' to " -#~ "the latest version\n" -#~ "\t\t# and print to stdout in json format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Convert all files under current directory to latest version and " -#~ "create them all.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" that allows user to " -#~ "perform \"get\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName " -#~ "specified\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" that allows user to " -#~ "perform \"get\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName " -#~ "specified\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" that allows user to perform \"get" -#~ "\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" with ResourceName specified\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" that allows user to perform \"get" -#~ "\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" with ResourceName specified\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Create a new resourcequota named best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Create a new resourcequota named best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=rails label\n" -#~ "\t\t# and require at least one of them being available at any point in " -#~ "time.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=nginx label\n" -#~ "\t\t# and require at least half of the pods selected to be available at " -#~ "any point in time.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=rails label\n" -#~ "\t\t# and require at least one of them being available at any point in " -#~ "time.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=nginx label\n" -#~ "\t\t# and require at least half of the pods selected to be available at " -#~ "any point in time.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod using the data in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Create a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API " -#~ "format then create the resource using the edited data.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Create a pod using the data in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Create a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API " -#~ "format then create the resource using the edited data.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -#~ "the name \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Create a second service based on the above service, exposing the " -#~ "container port 8443 as port 443 with the name \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx using replica set, which " -#~ "serves on port 80 and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for an nginx deployment, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -#~ "the name \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Create a second service based on the above service, exposing the " -#~ "container port 8443 as port 443 with the name \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx using replica set, which " -#~ "serves on port 80 and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for an nginx deployment, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Delete a pod using the type and name specified in pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Delete a pod based on the type and name in the JSON passed into " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Delete pods and services with label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Delete a pod with minimal delay\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Force delete a pod on a dead node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Delete all pods\n" -#~ "\t\tkubectl delete pods --all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Delete a pod using the type and name specified in pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Delete a pod based on the type and name in the JSON passed into " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Delete pods and services with label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Delete a pod with minimal delay\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Force delete a pod on a dead node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Delete all pods\n" -#~ "\t\tkubectl delete pods --all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Describe a node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Describe a pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Describe all pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Describe pods by label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Describe all pods managed by the 'frontend' replication controller " -#~ "(rc-created pods\n" -#~ "\t\t# get the name of the rc as a prefix in the pod the name).\n" -#~ "\t\tkubectl describe pods frontend" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Describe a node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Describe a pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Describe all pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Describe pods by label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Describe all pods managed by the 'frontend' replication controller " -#~ "(rc-created pods\n" -#~ "\t\t# get the name of the rc as a prefix in the pod the name).\n" -#~ "\t\tkubectl describe pods frontend" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", even if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# As above, but abort if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use " -#~ "a grace period of 15 minutes.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", even if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# As above, but abort if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use " -#~ "a grace period of 15 minutes.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Edit the service named 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Use an alternative editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -#~ "config in its annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Edit the service named 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Use an alternative editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -#~ "config in its annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Get output from running 'date' in ruby-container from pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Get output from running 'date' in ruby-container from pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running pod 123456-7890, using the first container " -#~ "by default\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Get output from ruby-container from pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Get output from the first pod of a ReplicaSet named nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Get output from running pod 123456-7890, using the first container " -#~ "by default\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Get output from ruby-container from pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Get output from the first pod of a ReplicaSet named nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Install bash completion on a Mac using homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for bash into the current shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Write bash completion code to a file and source if from ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -#~ "\t\tsource <(kubectl completion zsh)" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Install bash completion on a Mac using homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for bash into the current shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Write bash completion code to a file and source if from ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -#~ "\t\tsource <(kubectl completion zsh)" - -#~ msgid "" -#~ "\n" -#~ "\t\t# List all pods in ps output format.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# List all pods in ps output format with more information (such as " -#~ "node name).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# List a single replication controller with specified NAME in ps " -#~ "output format.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# List a single pod in JSON output format.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -#~ "JSON output format.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Return only the phase value of the specified pod.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# List all replication controllers and services together in ps output " -#~ "format.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# List one or more resources by their type and names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List all resources with different types.\n" -#~ "\t\tkubectl get all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# List all pods in ps output format.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# List all pods in ps output format with more information (such as " -#~ "node name).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# List a single replication controller with specified NAME in ps " -#~ "output format.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# List a single pod in JSON output format.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -#~ "JSON output format.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Return only the phase value of the specified pod.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# List all replication controllers and services together in ps output " -#~ "format.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# List one or more resources by their type and names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List all resources with different types.\n" -#~ "\t\tkubectl get all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\t\tkubectl port-forward pod/mypod 5000 " -#~ "6000\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in a pod selected by the deployment\t\tkubectl port-" -#~ "forward deployment/mydeployment 5000 6000\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in a pod selected by the service\t\tkubectl port-" -#~ "forward service/myservice 5000 6000\n" -#~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\t" -#~ "\tkubectl port-forward pod/mypod 8888:5000\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\t" -#~ "\tkubectl port-forward pod/mypod :5000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\t\tkubectl port-forward pod/mypod 5000 " -#~ "6000\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in a pod selected by the deployment\t\tkubectl port-" -#~ "forward deployment/mydeployment 5000 6000\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in a pod selected by the service\t\tkubectl port-" -#~ "forward service/myservice 5000 6000\n" -#~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\t" -#~ "\tkubectl port-forward pod/mypod 8888:5000\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\t" -#~ "\tkubectl port-forward pod/mypod :5000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as unschedulable.\n" -#~ "\t\tkubectl cordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as unschedulable.\n" -#~ "\t\tkubectl cordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Partially update a node using strategic merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image; spec.containers[*].name is required " -#~ "because it's a merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image using a json patch with positional " -#~ "arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Partially update a node using strategic merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image; spec.containers[*].name is required " -#~ "because it's a merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image using a json patch with positional " -#~ "arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Print the address of the master and cluster services\n" -#~ "\t\tkubectl cluster-info" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Print the address of the master and cluster services\n" -#~ "\t\tkubectl cluster-info" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Replace a pod using the data in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Replace a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Update a single-container pod's image version (tag) to v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Force replace, delete and then re-create the resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Replace a pod using the data in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Replace a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Update a single-container pod's image version (tag) to v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Force replace, delete and then re-create the resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Return snapshot logs from pod nginx with only one container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs for the pods defined by label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Return snapshot logs from pod nginx with only one container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs for the pods defined by label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " -#~ "content from ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" -#~ "\t\t# The chosen port for the server will be output to stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" -#~ "api\n" -#~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " -#~ "content from ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" -#~ "\t\t# The chosen port for the server will be output to stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" -#~ "api\n" -#~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Scale a replicaset named 'foo' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " -#~ "3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale multiple replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale job named 'cron' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Scale a replicaset named 'foo' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " -#~ "3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale multiple replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale job named 'cron' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file, will create the annotation if it does not already " -#~ "exist.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file, will create the annotation if it does not already " -#~ "exist.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" - -#~ msgid "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#~ msgid "" -#~ "\n" -#~ "\t\tApply a configuration to a resource by filename or stdin.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." -#~ msgstr "" -#~ "\n" -#~ "\t\tApply a configuration to a resource by filename or stdin.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a ClusterRole." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a TLS secret from the given public/private key pair.\n" -#~ "\n" -#~ "\t\tThe public/private key pair must exist before hand. The public key " -#~ "certificate must be .PEM encoded and match the given private key." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a TLS secret from the given public/private key pair.\n" -#~ "\n" -#~ "\t\tThe public/private key pair must exist before hand. The public key " -#~ "certificate must be .PEM encoded and match the given private key." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." - -#~ msgid "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." -#~ msgstr "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." - -#~ msgid "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." -#~ msgstr "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." -#~ msgstr "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." -#~ msgstr "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " -#~ msgstr "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " - -#~ msgid "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag --windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." -#~ msgstr "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag --windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." - -#~ msgid "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" -#~ msgstr "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" - -#~ msgid "" -#~ "\n" -#~ "\t\tPerform a rolling update of the given ReplicationController.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tPerform a rolling update of the given ReplicationController.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." - -#~ msgid "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." -#~ msgstr "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." - -#~ msgid "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" -#~ msgstr "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" - -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the labels on a resource.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." -#~ msgstr "" -#~ "\n" -#~ "\t\tUpdate the labels on a resource.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the taints on one or more nodes.\n" -#~ "\n" -#~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " -#~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" -#~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -#~ "\t\t* Currently taint can only apply to node." -#~ msgstr "" -#~ "\n" -#~ "\t\tUpdate the taints on one or more nodes.\n" -#~ "\n" -#~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " -#~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" -#~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -#~ "\t\t* Currently taint can only apply to node." - -#~ msgid "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." -#~ msgstr "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." - -#~ msgid "" -#~ "\n" -#~ "\t # !!!Important Note!!!\n" -#~ "\t # Requires that the 'tar' binary is present in your container\n" -#~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" -#~ "\n" -#~ "\t # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod " -#~ "in the default namespace\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copy /tmp/foo local file to /tmp/bar in a remote pod in a " -#~ "specific container\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -#~ "\n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" -#~ msgstr "" -#~ "\n" -#~ "\t # !!!Important Note!!!\n" -#~ "\t # Requires that the 'tar' binary is present in your container\n" -#~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" -#~ "\n" -#~ "\t # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod " -#~ "in the default namespace\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copy /tmp/foo local file to /tmp/bar in a remote pod in a " -#~ "specific container\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -#~ "\n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" -#~ msgstr "" -#~ "\n" -#~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" -#~ msgstr "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" - -#~ msgid "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" -#~ msgstr "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" - -#~ msgid "" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs (in headless mode)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" -#~ msgstr "" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs (in headless mode)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" - -#~ msgid "" -#~ "\n" -#~ " # Create a new deployment named my-dep that runs the busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" -#~ msgstr "" -#~ "\n" -#~ " # Create a new deployment named my-dep that runs the busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" - -#~ msgid "" -#~ "\n" -#~ " # Create a new nodeport service named my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" -#~ msgstr "" -#~ "\n" -#~ " # Create a new nodeport service named my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" - -#~ msgid "" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" -#~ " # If the same annotation is set multiple times, only the last value " -#~ "will be applied\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Update a pod identified by type and name in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Update all pods in the namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Update pod 'foo' by removing an annotation named 'description' if " -#~ "it exists.\n" -#~ " # Does not require the --overwrite flag.\n" -#~ " kubectl annotate pods foo description-" -#~ msgstr "" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" -#~ " # If the same annotation is set multiple times, only the last value " -#~ "will be applied\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Update a pod identified by type and name in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Update all pods in the namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Update pod 'foo' by removing an annotation named 'description' if " -#~ "it exists.\n" -#~ " # Does not require the --overwrite flag.\n" -#~ " kubectl annotate pods foo description-" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#~ msgid "" -#~ "\n" -#~ " Create a clusterIP service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Create a clusterIP service with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 -#~ msgid "" -#~ "\n" -#~ " Create a deployment with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Create a deployment with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 -#~ msgid "" -#~ "\n" -#~ " Create a nodeport service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Create a nodeport service with the specified name." - -#~ msgid "" -#~ "\n" -#~ " Dumps cluster info out suitable for debugging and diagnosing cluster " -#~ "problems. By default, dumps everything to\n" -#~ " stdout. You can optionally specify a directory with --output-" -#~ "directory. If you specify a directory, kubernetes will\n" -#~ " build a set of files in that directory. By default only dumps things " -#~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" -#~ "\n" -#~ " The command also dumps the logs of all of the pods in the cluster, " -#~ "these logs are dumped into different directories\n" -#~ " based on namespace and pod name." -#~ msgstr "" -#~ "\n" -#~ " Dumps cluster info out suitable for debugging and diagnosing cluster " -#~ "problems. By default, dumps everything to\n" -#~ " stdout. You can optionally specify a directory with --output-" -#~ "directory. If you specify a directory, kubernetes will\n" -#~ " build a set of files in that directory. By default only dumps things " -#~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" -#~ "\n" -#~ " The command also dumps the logs of all of the pods in the cluster, " -#~ "these logs are dumped into different directories\n" -#~ " based on namespace and pod name." - -#~ msgid "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." -#~ msgstr "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L136 -#~ msgid "A schedule in the Cron format the job should be run with." -#~ msgstr "A schedule in the Cron format the job should be run with." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L134 -#~ msgid "" -#~ "An inline JSON override for the generated service object. If this is non-" -#~ "empty, it is used to override the generated object. Requires that the " -#~ "object supply a valid apiVersion field. Only used if --expose is true." -#~ msgstr "" -#~ "An inline JSON override for the generated service object. If this is non-" -#~ "empty, it is used to override the generated object. Requires that the " -#~ "object supply a valid apiVersion field. Only used if --expose is true." - -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "ファイル名または標準入力でリソースにコンフィグを適用する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L55 -#~ msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController" -#~ msgstr "Auto-scale a Deployment, ReplicaSet, or ReplicationController" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L101 -#~ msgid "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" -#~ msgstr "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43 -#~ msgid "Create a ClusterRoleBinding for a particular ClusterRole" -#~ msgstr "Create a ClusterRoleBinding for a particular ClusterRole" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L181 -#~ msgid "Create a LoadBalancer service." -#~ msgstr "Create a LoadBalancer service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L124 -#~ msgid "Create a NodePort service." -#~ msgstr "Create a NodePort service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43 -#~ msgid "Create a RoleBinding for a particular Role or ClusterRole" -#~ msgstr "Create a RoleBinding for a particular Role or ClusterRole" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68 -#~ msgid "Create a clusterIP service." -#~ msgstr "Create a clusterIP service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_configmap.go#L59 -#~ msgid "Create a configmap from a local file, directory or literal value" -#~ msgstr "Create a configmap from a local file, directory or literal value" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 -#~ msgid "Create a deployment with the specified name." -#~ msgstr "Create a deployment with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49 -#~ msgid "Create a pod disruption budget with the specified name." -#~ msgstr "Create a pod disruption budget with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#~ msgid "Create a quota with the specified name." -#~ msgstr "Create a quota with the specified name." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56 -#~ msgid "Create a resource by filename or stdin" -#~ msgstr "ファイル名または標準入力でリソースを作成する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L73 -#~ msgid "Create a secret from a local file, directory or literal value" -#~ msgstr "Create a secret from a local file, directory or literal value" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L36 -#~ msgid "Create a service using specified subcommand." -#~ msgstr "Create a service using specified subcommand." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L240 -#~ msgid "Create an ExternalName service." -#~ msgstr "Create an ExternalName service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/delete.go#L130 -#~ msgid "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" -#~ msgstr "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/stop.go#L58 -#~ msgid "Deprecated: Gracefully shut down a resource by name or filename" -#~ msgstr "Deprecated: Gracefully shut down a resource by name or filename" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_node.go#L77 -#~ msgid "Display Resource (CPU/Memory) usage of nodes" -#~ msgstr "Display Resource (CPU/Memory) usage of nodes" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_pod.go#L79 -#~ msgid "Display Resource (CPU/Memory) usage of pods" -#~ msgstr "Display Resource (CPU/Memory) usage of pods" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top.go#L43 -#~ msgid "Display Resource (CPU/Memory) usage." -#~ msgstr "Display Resource (CPU/Memory) usage." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo.go#L49 -#~ msgid "Display cluster info" -#~ msgstr "クラスターの情報を表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48 -#~ msgid "Displays the current-context" -#~ msgstr "current-contextを表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/explain.go#L50 -#~ msgid "Documentation of resources" -#~ msgstr "リソースの説明を表示する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L37 -#~ msgid "Dump lots of relevant info for debugging and diagnosis" -#~ msgstr "Dump lots of relevant info for debugging and diagnosis" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L102 -#~ msgid "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." -#~ msgstr "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L105 -#~ msgid "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." -#~ msgstr "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L98 -#~ msgid "" -#~ "Image to use for upgrading the replication controller. Must be distinct " -#~ "from the existing image (either new image or new image tag). Can not be " -#~ "used with --filename/-f" -#~ msgstr "" -#~ "Image to use for upgrading the replication controller. Must be distinct " -#~ "from the existing image (either new image or new image tag). Can not be " -#~ "used with --filename/-f" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout.go#L46 -#~ msgid "Manage a deployment rollout" -#~ msgstr "Manage a deployment rollout" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L115 -#~ msgid "" -#~ "Output the formatted object with the given group version (for ex: " -#~ "'extensions/v1beta1').)" -#~ msgstr "" -#~ "Output the formatted object with the given group version (for ex: " -#~ "'extensions/v1beta1').)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L84 -#~ msgid "Perform a rolling update of the given ReplicationController" -#~ msgstr "Perform a rolling update of the given ReplicationController" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/replace.go#L70 -#~ msgid "Replace a resource by filename or stdin" -#~ msgstr "Replace a resource by filename or stdin" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L71 -#~ msgid "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" -#~ msgstr "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" - -#~ msgid "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." -#~ msgstr "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67 -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "kubeconfigにクラスターエントリを設定する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57 -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "kubeconfigにコンテキストエントリを設定する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103 -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "kubeconfigにユーザーエントリを設定する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59 -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "kubeconfigに個別の変数を設定する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48 -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "kubeconfigにcurrent-contextを設定する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L87 -#~ msgid "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" -#~ msgstr "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L100 -#~ msgid "" -#~ "The key to use to differentiate between two different controllers, " -#~ "default 'deployment'. Only relevant when --image is specified, ignored " -#~ "otherwise" -#~ msgstr "" -#~ "The key to use to differentiate between two different controllers, " -#~ "default 'deployment'. Only relevant when --image is specified, ignored " -#~ "otherwise" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L113 -#~ msgid "" -#~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" -#~ "guide/kubectl-conventions/#generators for a list." -#~ msgstr "" -#~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" -#~ "guide/kubectl-conventions/#generators for a list." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L66 -#~ msgid "" -#~ "The name of the API generator to use. Currently there is only 1 generator." -#~ msgstr "" -#~ "The name of the API generator to use. Currently there is only 1 generator." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L133 -#~ msgid "" -#~ "The name of the generator to use for creating a service. Only used if --" -#~ "expose is true" -#~ msgstr "" -#~ "The name of the generator to use for creating a service. Only used if --" -#~ "expose is true" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L121 -#~ msgid "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." -#~ msgstr "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L128 -#~ msgid "" -#~ "The restart policy for this Pod. Legal values [Always, OnFailure, " -#~ "Never]. If set to 'Always' a deployment is created, if set to " -#~ "'OnFailure' a job is created, if set to 'Never', a regular pod is " -#~ "created. For the latter two --replicas must be 1. Default 'Always', for " -#~ "CronJobs `Never`." -#~ msgstr "" -#~ "The restart policy for this Pod. Legal values [Always, OnFailure, " -#~ "Never]. If set to 'Always' a deployment is created, if set to " -#~ "'OnFailure' a job is created, if set to 'Never', a regular pod is " -#~ "created. For the latter two --replicas must be 1. Default 'Always', for " -#~ "CronJobs `Never`." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L101 -#~ msgid "" -#~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " -#~ "'ClusterIP'." -#~ msgstr "" -#~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " -#~ "'ClusterIP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47 -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "kubeconfigから変数を個別に削除する" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/patch.go#L91 -#~ msgid "Update field(s) of a resource using strategic merge patch" -#~ msgstr "Update field(s) of a resource using strategic merge patch" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_image.go#L94 -#~ msgid "Update image of a pod template" -#~ msgstr "Update image of a pod template" - -#~ msgid "" -#~ "View latest last-applied-configuration annotations of a resource/object" -#~ msgstr "" -#~ "View latest last-applied-configuration annotations of a resource/object" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L253 -#~ msgid "external name of service" -#~ msgstr "external name of service" - -#~ msgid "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgid_plural "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgstr[0] "" -#~ "watchは単一リソース及びリソースコレクションのみサポートしています- %d個の" -#~ "リソースが見つかりました" -#~ msgstr[1] "" -#~ "watchは単一リソース及びリソースコレクションのみサポートしています- %d個の" -#~ "リソースが見つかりました" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ko_KR/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/ko_KR/LC_MESSAGES/k8s.mo deleted file mode 100644 index 70398367b1e135574b96ee3cb3b88e7651720156..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1274 zcmaJ;O=}ZD7+$r05N}=tQFsrYEEBi2*1EM~?S}*#thE&dLAIO8X6$Ar%xt8^OD!ps zen1L_228YIL@gBx77^?Z(2GC8o2Q+eym|87Bs9Uc4m>VR9nHobpmk~ z@d$AeQ9^|48^T0yX2l6w-Z-j+=aiq>0$X&Sq zg?t71Oq*fcMIJ*Abrs}VKV*~|SY{kY97W(!Z5?j#u?C0PjX~;BpMsyFpfc29Nk$Xk zcv=&N$LomWbOe1!F@XIA0SYUWRnyGM@UH9dg)EJfG33YrDOOX3iDy*=;#m0CI;tE2i?Q{msNQ!!%h>X#UkUohk zmnF!}tgFbluwW?O9~+5`-XUZ3DGM#gAU3w3)9mOWW*0Fpf!S@Dm)p&&rWqNrl~2Z{ z&6Q{SLRt{BIXsNQKuR#U#&C|(!Ot6R+GbwV5$WqF;cnJ;DH*4B+JfD^1ykbj?XgHa z79VQH?}(a_f$$|b_L<3GknlDa@j)2x1t(=ooNV93_%P{d)`fYJRFWa?;5fN!LC+-f zBM-Z-K<_O1o;wFpKk}RH}ztrn%fHA?tq^AsMkx?!iQjKAy}&XPpZGZ zug\n" -"Language-Team: \n" -"Language: ko_KR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.6\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "kubeconfig에서 지정된 클러스터를 삭제합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "kubeconfig에서 지정된 컨텍스트를 삭제합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "하나 또는 여러 컨텍스트를 설명합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "kubeconfig에 정의된 클러스터를 표시합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "병합된 kubeconfig 설정 또는 지정된 kubeconfig 파일을 표시합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "kubeconfig 파일을 수정합니다" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "자원에 대한 주석을 업데이트합니다" - -# https://github.com/kubernetes/kubernetes/blob/masterpkg/kubectl/cmd/apply.go#L98 -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "구성을 파일 이름 또는 stdin에 의한 자원에 적용합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48 -#~ msgid "Displays the current-context" -#~ msgstr "현재-컨텍스트를 표시합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67 -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "kubeconfig에서 클러스터 항목을 설정합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57 -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "kubeconfig에서 컨텍스트 항목을 설정합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103 -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "kubeconfig에서 사용자 항목을 설정합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59 -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "kubeconfig 파일에서 단일값을 설정합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48 -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "kubeconfig 파일에서 현재-컨텍스트를 설정합니다" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47 -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "kubeconfig 파일에서 단일값 설정을 해제합니다" - -#~ msgid "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgid_plural "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgstr[0] "" -#~ "watch는 단일 리소스와 리소스 모음만을 지원합니다 - %d 개 자원을 발견하였습" -#~ "니다" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.mo deleted file mode 100644 index e3c52ec8a6385909fecbd80b18650921e47976a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19980 zcmc(mYm6jUb;oNl5Oy#IWAlhHP+(woVY>HW3})>$o_!eB-p4SrYx6LVn(msJvb($5 zRn@aQ&Wj)+@+_@NHr{`5T@<|w z_@?U_3;ZZB0sbrSPk={W5Ji6hj9wT;p8|Xl_-f$jMNxDg@MFN20>1|w0k3_r!}CMH z7Vn<}-VFRU@F4JIKORMF8NChoT3`xn1Ap1S{~2&U@89- zQ{X)CTmJjky(EhE@_quSaV3zYqK^P$;O_$W0RI-qQKJ6>z7Kdc%=;Ly5Bv?_ZYG0r zbP>qX(c{2Z0sjHWf6@Q&KaL!|7$%5b`++6!SAa)=&wP0ly$*Q7!x8Weyk7)91pF#+ zAMoxtiVgrD2F?P152$^=415jnKY*h5^{;Sv9|GRQdk4r*(T9MNgWmzZ3HX=(eHX;i zxnrQl9|C>=_#WU}fnNt|{nzqi3Va*zo50Tij{|>;!zRFQ0RIMf93=h@crBA8=U)fv z{QnC)416KTi#}(894*=aYW?2?iVmL#B2v+JfCX?DOpqK@K+)mnfXOc89r)|K-vD#} z2>1uUw*uE#z=wce1RjDJ!hhGHD7ppsS>S`f{{%vU=$#;?eLetWN^~_wL2_^$cno+RD1G@H z@Fl?S0wveahS)mSEkLc?2ZCz!2vGX)k3iA;X?HmNYXdd^exQE806YhL1b74R`#{nE z`Zqhi9`i5(A|laG10hv((SQHGfmhAD`ImsN;QguORz{xz@>BFp;CbL4h$8v^xQAZ@A}Z1K2&?4$Fi>>8 z4=6hQ3{doW6e#-q3sCZL-Ca&Tj{vprGEn<{68KW!SAjPH{~P$Lz#ABJ8u%%ozW)KR z1AGNS`90tVfgCZ~IN|Kb9|Ql1_Z#mY#V>0o4|Ap`mAK@&%=))1rcIj{N0#ZbXjrp;?z-69y z^4!Vu0-hBf$Zj9R*v|VrASz;?YdsYG-@_xhei@JG^)8;22eL#@<4Jhtc%II)#52ot z70>-V`dq{FHXiAKK0n4I`M8(oEYE#B`W)eTF3&r7WWV%5luTAI1<^BjP-*ieZwHE} z(kFcu958)`{bm=Xd(!Lhd1m+n_+B3I_T48CGrM=k@lEm4T7Ew6r&W=4%6KI&;-uG$2YELwZNP)0<+M}v;wm57w=+9V zi&wMtbl?VQ>FJsA=`+WUzxVX~spH!EruZ#s6<2F%+|4_qembaB_)kX|UVK^3p`lGQTK25V`NRcSX~-Y}|l@_rwDn^@*Uoodr$ow?J?II$hBOpEoj zhbey5sY=Tf5Mf#aO}KJ+-lXk9F~+UEzBQ1zSHVn*x0|8kO`}{ zA{j57IcB2AE{$;v+(rRJOd~=!U4iw+-d?htq86ZkxW92yFWYR=+B`xuKAI08xp8qN zTSfeOX&Eo4)%g@v>1Hb{sWG|9v37hUuh!ys%%3{R0+Ro`m(HA)T=WwZAt_LbPA470 z>9)voR`TQ|FRqdYSzo&d)j4)3(B8b*n2XWubBibAM7$l2syU+@v@rCtif^mjZ^EKz zh!>ThJB|*mRz9kj9t6o$p&g$S(rhi`Y#?_Oxmy}g284fW!T`2&vI4YdM zO$IQ<{zNc0;xetE#VR&e1VZ9E?%YhOFh`}coszJ&$sT;hkYXchn{k=FmQyV~8g?Ns zid#a_e6+e2&jzC|6gT45N_@L^xMMax&!A#7m}4)IN}RUoS|=H7#Aph}bC?tkGjS+i zegK&lXXM_F*1Sy5H~1;$b>sfV#O7#tK%?U(P1xTYxZT3jY^|5~KeRl*x7oyx2m--Q zQ*+oa9AXe3zfh&cAnBb3e|Y7DX(u7VI&3?>NX_hYFct6^CBeVgs`0VYOL5Ze!cnoa ztkR?l!)JEq1K1*)I2WH^%Mb}uL?Q)Z2NSD~7p4(BDs0($lYk~}v06(iHp@`-d}SrZ zfmbqX7$+RRakA4Jv1`FT*sEUNVT%p1@~vqPZ&T#!8Oj>3>CIvlL?GBc@3I=`AfZcH zUlLVq4AYvsHv3(}L>i4XaHjL!w%*DJ`_fHu`Mr{DV?I+NbTUu6N0MGL=pc820X4gO z%cV`45~MJ$$K>TO8BQ}Chg5Zjhi`eq8*e>y>;7B!hfR--`op*rVgN@KY@O^9NIRpq zc`G-jl?_(%xXbJrkN)LX+9x{ftMYxG@-5rr@+*V0vz)EkzZ~9SohA+zSR%I;NSKUV z$uZcBi4#2~*mG>La}nBM>F`#yuG+#oV55mOYo_VNMvX63b z%P891_RedEVEFJuqhwHJ722L;Qe3w!K$8A@B=Z5;(r&~)KTme?BLbv$#0>!CG8J6?H&=y^L#I+ z4+Cj*s}Wr(^1gjjqF%<^v6LP253e}jC`GV;zT zoZt)O!?3NF5!JUYvFL=tOP|Jgp_XtUOi8?sFcCluvwL0I2bi+JX%J^h3 z%WQR^fI-4Ws29zb`X=5W!;JIugZQX31<({OO4%UE?CE@v&e}PXcyN`wug@GL=5Exxv z367;@r^t{)qlgTCm^=3^>fUB*Wge#SgvXJEsmZd^6h}@g z2t~M=hAlJ;V+xN20LNs7GJ{;MbDgy%(6Un5+u~ljiW|Y`VZIJ|(=->)90rED4$9;G$DGg&kC< z;eo;^%$WamN(aj5v@$vfJs9ffQ zne^I`u??#^Dh5a|1pHgvuvOm4 zc?m@8L@p*2RjgOx8ZK z!kOL*@&)`uw6uXs*ytOvsR3B^v?Xni&N9joMvTy$hT`WchqW7HhALSMb3}aNKu44DtD5L(+U!gi83|JoSZUAIH@n^@Gs@-C@eD4SrK> z<(6d~pR1as6_4ERE-!>omib{3wUFYs+8zwj^F;YBsKx2}dft@{Q~qI9=3rA?PGswY zkf>?(@0wB0|I`Mn-o+1AW!`5fVut0o?U+$2!}A=R{3_S%?eV_#1GBi`ZsUuCvo;OU z<7}bwPbD~927p;#Ig*)nzl?BmQO(>mh=pnwOSmcb-9&snWV$UXv)FberxUo zGZ1kk=N2NT!i+1c@=oqTBhe>p&S4>oXT#>j&K_OxtC)Y<$sL)baN>4Myie(Q5~~I^ zVF!f`T;}EY3-ZL37>^rxXL!~_y~LWi%(0h_%sI^r#X1b8-DoH)EhqK^H^OKP4PJu663@r zIydO5C_%Kop5++7VD-+qm~RsuNXg56MysY_b`BV?6H|Iqr8q4kKUOqZ^q??Vs0pYs*xGjdZ$Oaiq!LEd0_$}~l1Z9{g!mFL1G zUqsorzah(pJ8`$vdm{@pxxkl(fT9e{CVv|8PFIU6hy`-ppR`VNTfVq*D4tnNrRS|v ztmtpf+*18+RE|K`{2 zM`UMC>JI8G+EBvGyf_peO^RM##tRg|pwjJ~D(R-9J6Dyaaqr&0gBgR>5uT)VHck3q z5#A5Q!|J_97H3YKICXr2jX#COC8_TI)CZer`6bVKoLc@n|k6x?Rm&D5!!LPH`u(H}pm_6z<}YKxQU zLKgme;x3FG*N{(Eh)uCQ?Tjyx4CJS=2G&|Y;W%I2 z6i*Peb%h|ORd7K~6V(!?jk#M}H6{z}BrUq0gXxo-kWkNVth=da;|iA~EP*S~va$5m zCF6g4|F6kh+U3r4|Hh6xg@tA2gItBGOOqZR?@1d6yNU2tS@rEdJ8ps|8EuH02v;Qt z!?dT4gQwQg!8%Dn47<)B7C87Az$uJL2VtJ|cfjo_wzuQ?{xTDZ@X6Zv!?kSP{A9flXB3!7bfq3CVHwQGkyCkDhlFePsK$>KnOu%FdoTxm#qJ|sa}XGkfd>{c zbb81r7^aley}X;nu*!KC|1CmkfEvVd@z^=DP#S8-OG*dBT<&Jm2iPkfNOQ)II_(aN zffUHN;1^w(gv{cFz*Yel6Exf_)*J3IE1a4HuID*`lziVO6cP{B;Rxg0;vZxhi~C&>wd zCSgY>iSDv4w}aL*V{2^XYEu>+ChputVkD{(b&;6(h1nLQ;xk5Qh&f+^OyQ-JliC?F z;O_su806~>6R3!yFQeG(4cVr@VL*)ZSS zRU#qu)@753(@nAz1a(teNw_z1i<2N>^R&9_Dq)w@^_6hXI9MM)Dr-5jJ0X)Y=d7NR z944auX`%aWq(no?bg-WH)>B-qbC!w8u=nnhJ$)Aj8{#mujP;k`v@os2%~%P-&BW|1 zCXl1SY&NJbHn2)o%2!%x%3?Kq)py6AjFSg25KfA9fz9$t_AG?JDsTa*t6^Rab9i4B zE*CeRph?AJ<4dWvMV*A>A-pkDLD}5$wI^(q*}i+FK05aD0XhLiURU<$h{)(nZ8-dP zPm&0YWqjf2sr9t%U_v$v;tnPxQVN7prYd%Oy|%=kBXdfE>h63mLhl;sMu(nfC?9En*RPZF{`sl6{yAbj&^hAQdbyON!ihS~T;n)!(LuVTO zcs5hdj0SN`^P|M#m>IeM5JbsdY_~=2f9ohH9-zh+8Cl5jWOq~Cx1KyqsJTaM^O4wI zj!+*{?tJ@JnNj$K!B%}6Uz~(#b`V-Ig7-+eS%)-==wXlf?o~z9+|f8*=8da?y^ik_ zqRJY1k7a?Xot&j{2E=G;ZuAif3>%CelOGD>l`$BVXrH0)!$vYItdR7^kCGE<#7Mn3 zZmbL9K#<`&1`Hl8(^_1Oe6-eVr7_loP=g|}O%hq{lx)Pmra&J=WBe8YC8&u`6LF~* zR|M+?J*=~+R+qxuYW*9>9^jZQq_yn5*+8>CzDP?AXwS>_X$;uwRw1jLgVPyR4W(E^ zokMT+wOBW&^@UynI=PI5BkF$R$4I2}W^2tzs_a5T$0*-oV}yVMHR&7OHhW5Be!9&D z8nF^JD&-1Haxi~6wwY4l}i#E~gOH(VPI%WXgL@-uvj7t%sA zmNns>Q&UFBVU_ST3K5fJRoyw5`8vDB#!_N*sim#wk6#lW>*K=|*)*z_^bGpYl4c$E zTeF*9A*OV0I*kgeghjS7Uz(c7Q}x*CdEVM7yca`8%k;dvpsnd-!z_Q*xk-t4#BhF? ztjbc?ksJDT6jpYk>94YjSWLP0ovwE9h?oB zq+aUoKd_j28GdVqxRb&M7O}BusF+L?(+54xQT*GmveQ$2N}I8z7mLP1n?jd>Km$2n z(NilALBDK-)h3O*zMrR#wqO&jI0JjPh8|P#P-wrk|-FT@hjHh(JE`v>mCjt)*@WLIN+&n^YMypkUG}>sV2BunCW? zIu@Olu|!Bga{M^GcJPbLRHb9NJw&vYY`x3NO#B;yhhwokNTHN8utFSG(p75^a`Ba1 zzcCi`O{4%C(gL*!4abkstwlgUe-OLXR|-k9S7^Z(<4myYoXK?z`GrApn|>j~4LxXv zfJ?5x2La`WA)=CEr$5$76x4Fb-X<6kj=J8Vk?S2=N(XB`e@91TSkx*MlmxPLf=$j2O$@jcj{wHvt%YLz zsQyV-*T;x{S@^ zz4(~SRC|#{f>(Iy5@rU$!W>S^tv9uch#>ODTTrQ>Lv;+5#FveOCJrER%`}9D4Z+2c zcn=;;MyeHpo+IOcR~}vTfTk{L5XO7zHl*mJ{%umj;9^rL;x_JuwvjDgNnII{zbK>0 zl*pA$ym-N!S}nM6(%-@A)ay{t z!0uasCuN^|& zB??Nku3$_f9h}sLl%|HepQ%=+sk7F5a8j2T*23JVJ+vwRqR0?gy-Z3&DR4}+GNqgQ zhvNBgt>KdfWtA?gKvGNH{D?BaKfzWbw2H#`6`GkC;EI(d0gaBPbf9v+s$rCA80ADj z*!pxq^XY6lQ*)6)n|qu1$#*n)F=zXxN(&3n34EacpuR<#b$v||Q2AAxHRVYuKb1zj z^{jAhO_EUl3ra`bnm21`st{O0EuYX&I0);*XlupcU(`q{$*N7fYn`D{WI;uT3u=I2 zt(|+B&Mb?-F1f_I%3)d)6TDz)qIW~lm|!M~;s$|y$k|=7iaNaO2eJd;wZOxr>$SfO z3+T!Y1E9|PLX|wT8EzHH+}6Xvg1YJGN)Nhio6}P}Xu#qB?WA^lV&c78a8u!!Xq5o0 zce#>0jGQ4FuH}=E9C~GWLAAt1>-;#0{$%|;g034%uE8QZZ$F@U-3z6`mXp*gk)I_r zJ}S8JN&UooZr;$x+N`ks2>vO*wMDrBAun=WQ5J>jhjKK&r~;31b4zT6d!0_v@6F2k z(AFcRo9d2JQQs1KhT<)frPRwPQx_ok+F#4cBD%UGc)89g#mlY~FIk7e+_5A*L^PpU yMY@Fj2UEUq*SY*FDQltP>fUY|C$)`<#1pJvK`)hd#$x(%q}kR`766k*u<(D7lkN-v diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.po deleted file mode 100644 index dad45128..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/pt_BR/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,3250 +0,0 @@ -# Brazilian Portuguese translation. -# Copyright (C) 2020 -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR ctadeu@gmail.com, 2020. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2020-12-11 17:03+0100\n" -"Last-Translator: Carlos Panato \n" -"Language-Team: \n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.4.2\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Poedit-KeywordsList: \n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # Mostra as métricas para todos os nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Mostra as métricas para um node específico\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# Mostra a documentação do recurso e seus campos\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Mostra a documentação de um campo específico de um recurso\n" -"\t\tkubectl explain pods.spec.containers" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# Mostra as opções herdadas por todos os comandos\n" -"\t\tkubectl options" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# Imprime a versão do cliente e do servidor para o contexto atual\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# Mostra as versões de API suportadas\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# Mostra as métricas para todos os pods no namespace default\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Mostra as métricas para todos os pods em um dado namespace\n" -"\t\tkubectl top pod —namespace=NAMESPACE\n" -"\n" -"\t\t# Mostra as métricas para um dado pod e seus containers\n" -"\t\tkubectl top pod POD_NAME —containers\n" -"\n" -"\t\t# Mostra as métricas para os pods definidos pelo label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\tConvert os arquivos de configuração para diferentes versões de API. " -"Ambos formatos YAML\n" -"\t\\e JSON são aceitos.\n" -"\n" -"\t\tO command recebe o nome do arquivo, diretório ou URL como entrada, e " -"converteno formato\n" -"\t\tpara a versão especificada pelo parametro —output-version. Se a versão " -"desejada não é especificada ou \n" -"\t\tnão é suportada, converte para a última versã disponível.\n" -"\n" -"\t\tA saída padrão é no formato YAML. Pode ser utilizadoa opção -o\n" -"\t\tpara mudar o formato de saída." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\tCria um namespace com um nome especificado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\tCria uma role com uma única regra." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\tCria uma conta de serviço com um nome especificado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\tRemove a restrição de execução de workloads no node." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\tAplica a restrição de execução de workloads no node." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tDefine a annotation last-applied-configuration configurando para ser " -"igual ao conteúdo do arquivo.\n" -"\t\tIsto resulta no last-applied-configuration ser atualizado quando o " -"'kubectl apply -f ' executa,\n" -"\t\tnão atualizando as outras partes do objeto." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # Cria um novo namespace chamado my-namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Cria um novo service account chamado my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tCria um serviço do tipo ExternalName com o nome especificado.\n" -"\n" -"\tServiço ExternalName referencia um endereço externo de DNS ao invés de\n" -"\tapenas pods, o que permite aos desenvolvedores de aplicações referenciar " -"serviços\n" -"\tque existem fora da plataforma, em outros clusters ou localmente." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp provê ajuda para qualquer comando na aplicação.\n" -"\tDigite simplesmente kubectl help [caminho do comando] para detalhes " -"completos." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # Cria um novo serviço do tipo LoadBalancer chamado my-lbs\n" -" kubectl create service loadbalancer my-lbs —tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # Coleta o estado corrente do cluster e exibe no stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Coleta o estado corrente do custer para /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Coleta informação de todos os namespaces para stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Coleta o conjunto especificado de namespaces para /path/to/cluster-" -"state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" Cria um serviço do tipo LoadBalancer com o nome especificado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"Lista de valores delimitados por vírgulas para um conjunto de escopos de " -"quota que devem corresponder para cada objeto rastreado pela quota." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"Lista de valores delimitados por vírgulas ajusta os pares resource=quantity " -"que define um limite rigído." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"Um seletor de label a ser usado para o PDB. Apenas seletores baseado em " -"igualdade são suportados." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"Um seletor de label para ser utilizado neste serviço. Apenas seletores " -"baseado em igualdade são suportados. Se vazio (por padrão) o seletor do " -"replication controller ou replica set será utilizado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Um IP externo adicional (não gerenciado pelo Kubernetes) para ser usado no " -"serviço. Se este IP for roteado para um nó, o serviço pode ser acessado por " -"este IP além de seu IP de serviço gerado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" -"Uma substituição inline JSON para o objeto gerado. Se não estiver vazio, ele " -"será usado para substituir o objeto gerado. Requer que o objeto forneça um " -"campo apiVersion válido." - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "Aprova uma solicitação de assinatura de certificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Atribuir o seu próprio ClusterIP ou configura para 'None' para um serviço " -"'headless' (sem loadbalancing)." - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Se conecta a um container em execução" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP que será atribuído ao serviço. Deixe vazio para auto atribuição, " -"ou configure para 'None' para criar um serviço headless." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRole que esse ClusterRoleBinding deve referenciar" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "ClusterRole que esse RoleBinding deve referenciar" - -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "Converte arquivos de configuração entre versões de API diferentes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "Copia arquivos e diretórios de e para containers." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "Cria uma secret do tipo TLS" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "Cria a namespace com um nome especificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "Cria um secret para ser utilizado com o Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "Cria um secret utilizando um sub-comando especificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "Cria uma conta de serviço com um nome especificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "Apaga o cluster especificado do kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "Apaga o contexto especificado do kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "Rejeita o pedido de assinatura do certificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "Mostra um ou mais contextos" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "Mostra os clusters definidos no kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "" -"Mostra a configuração do kubeconfig mescladas ou um arquivo kubeconfig " -"especificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "Mostra um ou mais recursos" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Drenar o node para preparação de manutenção" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "Edita um recurso no servidor" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "Email para o Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "Executa um comando em um container" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Encaminhar uma ou mais portas locais para um pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Ajuda sobre qualquer comando" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"Se não vazio, configura a afinidade de sessão para o serviço; valores " -"válidos: 'None', 'ClientIP'" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"Se não estiver vazio, a atualização dos annotation só terá êxito se esta for " -"a versão do recurso atual para o objeto. Válido apenas ao especificar um " -"único recurso." - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"Se não estiver vazio, a atualização dos labels só terá êxito se esta for a " -"versão do recurso atual para o objeto. Válido apenas ao especificar um único " -"recurso." - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "Marca o node como agendável" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "Marca o node como não agendável" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "Marca o recurso fornecido como pausado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "Edita o certificado dos recursos." - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "Edita o arquivo kubeconfig" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Nome ou o número da porta em um container em que o serviço deve direcionar o " -"tráfego. Opcional." - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Apenas retorna os logs após uma data específica (RFC3339). Padrão para todos " -"os logs. Apenas um since-time / since deve ser utilizado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Saída do autocomplete de shell para um Shell específico (bash ou zsh)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Senha para a autenticação do registro do Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Caminho para a chave pública em formato PEM." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Caminho para a chave private associada a um certificado fornecido." - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Pré-condição para a versão do recurso. Requer que a versão do recurso atual " -"corresponda a este valor para escalar." - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "Mostra a informação de versão do cliente e do servidor" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "Mostra a lista de opções herdadas por todos os comandos" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "Mostra os logs de um container em um pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "Retoma um recurso pausado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "Role que a RoleBinding deve referenciar" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "Executa uma imagem específica no cluster" - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "Executa um proxy para o servidor de API do Kubernetes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "Localização do servidor para o registro do Docker" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "Define funcionalidades específicas em objetos" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "Define um seletor em um recurso" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "Mostra os detalhes de um recurso específico ou de um grupo de recursos" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "Mostra o status de uma atualização dinamica" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Sinônimo para —target-port" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "A imagem para o container executar." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"A política de obtenção de imagens. Se deixado em branco, este valor não será " -"especificado pelo cliente e será utilizado o padrão do servidor" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" -"Um número mínimo ou porcentagem de pods disponíveis que este budget requer." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "O nome para o objeto recém criado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" -"O nome para o objeto recém criado. Se não especificado, o nome do input " -"resource será utilizado." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"O nome do gerador de API a ser usado. Existem 2 geradores: 'service/v1' e " -"'service/v2'. A única diferença entre eles é que a porta de serviço na v1 é " -"chamada de 'default', enquanto ela é deixada sem nome na v2. O padrão é " -"'service/v2'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "O protocolo de rede para o serviço ser criado. Padrão é 'TCP'." - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" -"A porta para que o serviço possa servir. Copiado do recurso sendo exposto, " -"se não especificado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" -"O recurso requerido para este container. Por exemplo, 'cpu=200m," -"memory=512Mi'. Observe que os componentes do lado do servidor podem " -"atribuir limites, dependendo da configuração do servidor, como intervalos de " -"limite." - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" -"O recurso requerido de requests para este container. Por exemplo, 'cpu=100m," -"memory=256Mi'. Observe que os componentes do lado do servidor podem " -"atribuir requests, dependendo da configuração do servidor, como intervalos " -"de limite." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "O tipo de segredo para criar" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "Desfazer o rollout anterior" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "" -"Atualizar os recursos de request/limites em um objeto com template de pod" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "Atualizar as anotações de um recurso" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "Atualizar os labels de um recurso" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "Atualizar o taints de um ou mais nodes" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Nome de usuário para a autenticação no Docker registry" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "Visualizar o histórico de rollout" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" -"Onde colocar os arquivos de saída. Se vazio ou '-' usa o stdout do terminal, " -"caso contrário, cria uma hierarquia no diretório configurado" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "dummy restart flag)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl controla o gerenciador de cluster do Kubernetes" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Criar o ClusterRoleBinding para user1, user2, e group1 utilizando " -#~ "o ClusterRole cluster-admin\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin —user=user1 —user=user2 —group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a RoleBinding for user1, user2, and group1 using the admin " -#~ "ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Criar uma RoleBinding para user1, user2, e group1 utilizando o " -#~ "admin ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin —user=user1 —" -#~ "user=user2 —group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config based on folder bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with key1=config1 and " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Criar um novo configmap com o nome de my-config baseado na pasta " -#~ "bar\n" -#~ "\t\t kubectl create configmap my-config —from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Cria um novo configmap com o nome my-config, onde cada chave " -#~ "possui o valor especificado em um arquivo distinto no disco\n" -#~ "\t\t kubectl create configmap my-config —from-file=key1=/path/to/bar/" -#~ "file1.txt —from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Criar um novo configmap com o nome de my-config com key1=config1 " -#~ "e key2=config2\n" -#~ "\t\t kubectl create configmap my-config —from-literal=key1=config1 —from-" -#~ "literal=key2=config2" - -#~ msgid "" -#~ "\n" -#~ "\t\t # If you don't already have a .dockercfg file, you can create a " -#~ "dockercfg secret directly by using:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" -#~ msgstr "" -#~ "\n" -#~ "\t\t # Se você ainda não tem o arquivo .dockercfg, você pode gerar " -#~ "diretamente o dockercfg secret utilizando o comando:\n" -#~ "\t\t kubectl create secret docker-registry my-secret —docker-" -#~ "server=DOCKER_REGISTRY_SERVER —docker-username=DOCKER_USER —docker-" -#~ "password=DOCKER_PASSWORD —docker-email=DOCKER_EMAIL" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Apply the configuration in pod.json to a pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Apply the JSON passed into stdin to a pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune is still in Alpha\n" -#~ "\t\t# Apply the configuration in manifest.yaml that matches label " -#~ "app=nginx and delete all the other resources that are not in the file and " -#~ "match label app=nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " -#~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Aplica a configuração do arquivo pod.json a um pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Aplica o JSON recebido via stdin para um pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Nota: —prune ainda está em Alpha\n" -#~ "\t\t# Aplica a configuração do manifest.yaml que conter o label app=nginx " -#~ "e remove todos os outros recursos que não estejam no arquivo e não " -#~ "contenham o label.\n" -#~ "\t\tkubectl apply —prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Aplica a configuração do manifest.yaml e remove todos os outros " -#~ "configmaps que não estão no arquivo.\n" -#~ "\t\tkubectl apply —prune -f manifest.yaml —all —prune-whitelist=core/v1/" -#~ "ConfigMap" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 " -#~ "and 10, no target CPU utilization specified so a default autoscaling " -#~ "policy will be used:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Escala automaticamente um deployment \"foo\", com o número de pods " -#~ "entre 2 e 10, sem especificar a utilização da CPU o padrão da política de " -#~ "autoscaling será utilizado:\n" -#~ "\t\tkubectl autoscale deployment foo —min=2 —max=10\n" -#~ "\n" -#~ "\t\t# Escala automaticamente um replication controller \"foo\", com o " -#~ "número de pods entre 1 and 5, e definindo a utilização da CPU em 80%:\n" -#~ "\t\tkubectl autoscale rc foo —max=5 —cpu-percent=80" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Convert the live state of the resource specified by 'pod.yaml' to " -#~ "the latest version\n" -#~ "\t\t# and print to stdout in json format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Convert all files under current directory to latest version and " -#~ "create them all.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" -#~ msgstr "" -#~ "\n" -#~ "\t\t# converte o arquivo 'pod.yaml' para a versão mais atual e imprime a " -#~ "saída para o stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Converte o estado atual do recurso especificado pelo 'pod.yaml' " -#~ "para a versão mais atual\n" -#~ "\t\t# e imprime a saída para o stdout no formato json.\n" -#~ "\t\tkubectl convert -f pod.yaml —local -o json\n" -#~ "\n" -#~ "\t\t# Converte todos os arquivos dentro do diretório atual para a versão " -#~ "mais recente e cria todos.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" that allows user to " -#~ "perform \"get\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName " -#~ "specified\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Cria um ClusterRole com o nome de \"pod-reader\" que permite o " -#~ "usuário realizar \"get\", \"watch\" e \"list\" em pods\n" -#~ "\t\tkubectl create clusterrole pod-reader —verb=get,list,watch —" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Cria a ClusterRole com o nome de \"pod-reader\" com um ResourceName " -#~ "especificado\n" -#~ "\t\tkubectl create clusterrole pod-reader —verb=get,list,watch —" -#~ "resource=pods —resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" that allows user to perform \"get" -#~ "\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a Role named \"pod-reader\" with ResourceName specified\n" -#~ "\t\tkubectl create role pod-reader --verb=get --verg=list --verb=watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Cria uma Role com o nome de \"pod-reader\" que permite o usuário " -#~ "realizar \"get\", \"watch\" e \"list\" em pods\n" -#~ "\t\tkubectl create role pod-reader —verb=get —verb=list —verb=watch —" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Cria uma Role com o nome de \"pod-reader\" com um ResourceName " -#~ "especificado\n" -#~ "\t\tkubectl create role pod-reader —verb=get —verg=list —verb=watch —" -#~ "resource=pods —resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Create a new resourcequota named best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Cria um novo resourcequota com o nome de my-quota\n" -#~ "\t\tkubectl create quota my-quota —hard=cpu=1,memory=1G,pods=2,services=3," -#~ "replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Cria um novo resourcequota com o nome de best-effort\n" -#~ "\t\tkubectl create quota best-effort —hard=pods=100 —scopes=BestEffort" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=rails label\n" -#~ "\t\t# and require at least one of them being available at any point in " -#~ "time.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=nginx label\n" -#~ "\t\t# and require at least half of the pods selected to be available at " -#~ "any point in time.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Cria um pod disruption budget com o nome de my-pdb que irá " -#~ "selecionar todos os pods com o label app=rails\n" -#~ "\t\t# e requer que pelo menos um deles esteja disponível a qualquer " -#~ "momento.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb —selector=app=rails —min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Cria um pod disruption budget com o nome de my-pdb que irá " -#~ "selecionar todos os pods com o label app=nginx\n" -#~ "\t\t# e requer pelo menos que metade dos pods selecionados estejam " -#~ "disponíveis em qualquer momento.\n" -#~ "\t\tkubectl create pdb my-pdb —selector=app=nginx —min-available=50%" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod using the data in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Create a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API " -#~ "format then create the resource using the edited data.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Cria um pod utilizando o arquivo pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Cria um pod utilizando o JSON recebido via stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edita o conteúdo do arquivo docker-registry.yaml em JSON utilizando " -#~ "o formato da API v1, criando o recurso com o conteúdo editado.\n" -#~ "\t\tkubectl create -f docker-registry.yaml —edit —output-version=v1 -o " -#~ "json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -#~ "the name \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Create a second service based on the above service, exposing the " -#~ "container port 8443 as port 443 with the name \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx using replica set, which " -#~ "serves on port 80 and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for an nginx deployment, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Cria um serviço para um nginx replicado, que escuta na porta 80 e " -#~ "conecta na porta 8000 dos containers.\n" -#~ "\\t\tkubectl expose rc nginx —port=80 —target-port=8000\n" -#~ "\n" -#~ "\t\t# Cria um serviço para um replication controller identificado por " -#~ "tipo e com o nome especificado em \"nginx-controller.yaml\", que escuta " -#~ "na porta 80 e conecta na porta 8000 dos containers.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml —port=80 —target-port=8000\n" -#~ "\n" -#~ "\t\t# Cria um serviço para um pod valid-pod, que escuta na porta 444 com " -#~ "o nome \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod —port=444 —name=frontend\n" -#~ "\n" -#~ "\t\t# Cria um segundo serviço baseado no serviço acima, expondo a porta " -#~ "8443 do container como porta 443 e com nome \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx —port=443 —target-port=8443 —name=nginx-" -#~ "https\n" -#~ "\n" -#~ "\t\t# Cria um serviço para uma aplicação streaming replicada na porta " -#~ "4100 com trafico balanceado UDP e nome 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer —port=4100 —protocol=udp —name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Cria um serviço para um nginx replicado usando o replica set, que " -#~ "escuta na porta 80 e conecta na porta 8000 dos containers.\n" -#~ "\t\tkubectl expose rs nginx —port=80 —target-port=8000\n" -#~ "\n" -#~ "\t\t# Cria um serviço para um deployment nginx, que escuta na porta 80 e " -#~ "conecta na porta 8000 dos containers.\n" -#~ "\t\tkubectl expose deployment nginx —port=80 —target-port=8000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Delete a pod using the type and name specified in pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Delete a pod based on the type and name in the JSON passed into " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Delete pods and services with label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Delete a pod with minimal delay\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Force delete a pod on a dead node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Delete all pods\n" -#~ "\t\tkubectl delete pods --all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Remove um pod usando o tipo e nome especificado no arquivo pod." -#~ "json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Remove um pod baseado no tipo e nome no JSON passado na entrada de " -#~ "comando(stdin).\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Remove pods e serviços com os nomes \"baz\" e \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Remove pods e serviços com label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Remove um pod com um mínimo de delay\n" -#~ "\t\tkubectl delete pod foo —now\n" -#~ "\n" -#~ "\t\t# Força a remoção de um pod em um node morto\n" -#~ "\t\tkubectl delete pod foo —grace-period=0 —force\n" -#~ "\n" -#~ "\t\t# Remove todos os pods\n" -#~ "\t\tkubectl delete pods —all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Describe a node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Describe a pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Describe all pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Describe pods by label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Describe all pods managed by the 'frontend' replication controller " -#~ "(rc-created pods\n" -#~ "\t\t# get the name of the rc as a prefix in the pod the name).\n" -#~ "\t\tkubectl describe pods frontend" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Descreve um node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Descreve um pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Descreve um pod identificado pelo tipo e nome no arquivo \"pod.json" -#~ "\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Descreve todos os pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Descreve os pods com label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Descreve todos os pods gerenciados pelo replication controller " -#~ "'frontend' (rc-created pods\n" -#~ "\t\t# tem o nome de rc como prefixo no nome do pod).\n" -#~ "\t\tkubectl describe pods frontend" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", even if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# As above, but abort if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet, and use " -#~ "a grace period of 15 minutes.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Drena o node \"foo\", mesmo se os pods não são gerenciados por um " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet ou StatefulSet.\n" -#~ "\t\t$ kubectl drain foo —force\n" -#~ "\n" -#~ "\t\t# Mesmo que acima, mas é interrompido se os pods não são gerenciados " -#~ "por um ReplicationController, ReplicaSet, Job, DaemonSet ou StatefulSet, " -#~ "e tem espera por 15 minutos.\n" -#~ "\t\t$ kubectl drain foo —grace-period=900" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Edit the service named 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Use an alternative editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -#~ "config in its annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Edita o serviço chamado 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Usa um editor alternativo\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edita o Job 'myjob' em JSON utilizando o format da API v1:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edita o deployment 'mydeployment' em YAML e salva a configuração " -#~ "modificada em sua annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml —save-config" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Get output from running 'date' in ruby-container from pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Pega a saída de execução do comando 'date' do pod 123456-7890, " -#~ "usando o primeiro container por padrão\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Pega a saída de execução do comando 'date' no ruby-container do pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Troca para raw terminal mode, envia stdin para o 'bash' no ruby-" -#~ "container do pod 123456-7890\n" -#~ "\t\t# e envia stdout/stderr do 'bash' de volta para o cliente\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t — bash -il" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running pod 123456-7890, using the first container " -#~ "by default\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Get output from ruby-container from pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Get output from the first pod of a ReplicaSet named nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Pega a saída do pod em execução 123456-7890, utilizando o primeiro " -#~ "container por padrão\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Pega a saída do ruby-container do pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Troca para raw terminal mode, envia stdin para o 'bash' no ruby-" -#~ "container do pod 123456-7890\n" -#~ "\t\t# e envia stdout/stderr do 'bash' de volta para o cliente\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Pega a saída do primeiro pod de um ReplicaSet chamado nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Install bash completion on a Mac using homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for bash into the current shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Write bash completion code to a file and source if from ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -#~ "\t\tsource <(kubectl completion zsh)" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Instala o auto completar do bash no Mac utilizando homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew —prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Carrega o código de auto complentar do kubectl para o bash no shell " -#~ "corrente\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Escreve o código de autocompletar do bash no arquivo de perfil e " -#~ "faz o source se é para o .bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Carrega o código de auto complentar do kubectl para zsh[1] no shell " -#~ "em utilização\n" -#~ "\t\tsource <(kubectl completion zsh)" - -#~ msgid "" -#~ "\n" -#~ "\t\t# List all pods in ps output format.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# List all pods in ps output format with more information (such as " -#~ "node name).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# List a single replication controller with specified NAME in ps " -#~ "output format.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# List a single pod in JSON output format.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -#~ "JSON output format.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Return only the phase value of the specified pod.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# List all replication controllers and services together in ps output " -#~ "format.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# List one or more resources by their type and names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List all resources with different types.\n" -#~ "\t\tkubectl get all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Lista todos os pods no formato de saída ps.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# Lista todos os pods no formato de saída ps com mais informações " -#~ "(como o nome do node).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# Lista um único replication controller com o nome especificado no " -#~ "formato de saída ps\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# Lista um único pod e usa o formato de saída JSON.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# Lista o pod identificado com o tipo e nome especificado no \"pod." -#~ "yaml\" e usa o formato de saída JSON.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Mostra apenas em que estágio o pod especificado está.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 —template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# Lista todos os replication controllers e services juntos no formato " -#~ "de saída ps.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# Lista um ou mais recursos pelo seu tipo e nomes.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# Lista todos os recursos e com tipos diferentes.\n" -#~ "\t\tkubectl get all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 0:5000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Escuta nas portas locais 5000 e 6000, e redireciona os dados de/" -#~ "para as portas 5000 e 6000 no pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Escuta na porta local 8888 localmente, e redireciona para a porta " -#~ "5000 no pod\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Escuta uma porta local aleatória, e redireciona para a porta 5000 " -#~ "no pod\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Escuta uma porta local aleatória, e redireciona para a porta 5000 " -#~ "no pod\\n\n" -#~ "\t\tkubectl port-forward mypod 0:5000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Remove a restrição de execução de Pods no node \"foo\".\n" -#~ "\t\t$ kubectl uncordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as unschedulable.\n" -#~ "\t\tkubectl cordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Restringe a execução de novos Pods no node \"foo\".\n" -#~ "\t\tkubectl cordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Partially update a node using strategic merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image; spec.containers[*].name is required " -#~ "because it's a merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image using a json patch with positional " -#~ "arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Atualiza parcialmente um node utilizando a estratégia merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Atualiza parcialmente um node identificado pelo tipo e nome no " -#~ "arquivo \"node.json\" utilizando a estratégia merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Atualiza uma imagem em um container; spec.containers[*].name é " -#~ "requerido pois será usado como índice para a mudança\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Atualiza uma imagem em um container utilizando o json patch com " -#~ "positional arrays\n" -#~ "\t\tkubectl patch pod valid-pod —type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Print the address of the master and cluster services\n" -#~ "\t\tkubectl cluster-info" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Mostra o endereço do servidor de gerenciamento e dos serviços do " -#~ "cluster\n" -#~ "\t\tkubectl cluster-info" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Replace a pod using the data in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Replace a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Update a single-container pod's image version (tag) to v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Force replace, delete and then re-create the resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Substitui um pod utlizando os dados contidos em pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Troca um pod com base no JSON fornecido no stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Atualiza uma versão de imagem (tag) de um pod com um único " -#~ "container para v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Força a troca, removendo e recriando o recurso\n" -#~ "\t\tkubectl replace —force -f ./pod.json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Return snapshot logs from pod nginx with only one container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs for the pods defined by label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Retorna os logs do pod nginx com um único container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Retorna os logs dos pods definidos pelo label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Retorna os logs do container ruby finalizado do pod web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Começa o streaming de logs de um ruby container no pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Mostra apenas as 20 linhas mais recentes de saída do pod nginx\n" -#~ "\t\tkubectl logs —tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Mostra todos os logs do pod nginx escrito na última hora\n" -#~ "\t\tkubectl logs —since=1h nginx\n" -#~ "\n" -#~ "\t\t# Retorna os logs do primeiro container com o Job chamado hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Retorna os logs do container nginx-1 de um deployment chamado " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " -#~ "content from ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" -#~ "\t\t# The chosen port for the server will be output to stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" -#~ "api\n" -#~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Executa um proxy para o apiserver do kubernetes na porta 8011, " -#~ "servindo um conteúdo estático do caminho ./local/www/\n" -#~ "\t\tkubectl proxy —port=8011 —www=./local/www/\n" -#~ "\n" -#~ "\t\t# Executa um proxy para o apiserver do kubernetes em uma porta local " -#~ "arbitrária.\n" -#~ "\t\t# A porta escolhida para o servidor será utilizada para o saída de " -#~ "stdout.\n" -#~ "\t\tkubectl proxy —port=0\n" -#~ "\n" -#~ "\t\t# Executa um proxy para o apiserver do kubernetes, mudando o prefixo " -#~ "do api para k8s-api\n" -#~ "\t\t# Com isso a api dos pods estarão disponível em localhost:8001/k8s-" -#~ "api/v1/pods/\n" -#~ "\t\tkubectl proxy —api-prefix=/k8s-api" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Scale a replicaset named 'foo' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " -#~ "3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale multiple replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale job named 'cron' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Escala um replicaset chamado 'foo' para 3.\n" -#~ "\t\tkubectl scale —replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Escala um recurso identificado pelo tipo e nome especificado no " -#~ "arquivo \"foo.yaml\" para 3.\n" -#~ "\t\tkubectl scale —replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# Se um deployment chamado mysql tem tamanho 2, escala o mysql para " -#~ "3.\n" -#~ "\t\tkubectl scale —current-replicas=2 —replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Escala múltiplos replication controllers.\n" -#~ "\t\tkubectl scale —replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Escala um Job chamado 'cron' para 3.\n" -#~ "\t\tkubectl scale —replicas=3 job/cron" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file, will create the annotation if it does not already " -#~ "exist.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Ajusta o last-applied-configuration de um recurso para corresponder " -#~ "ao conteúdo de um arquivo.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Executa o set-last-applied em todos os arquivos de configuração no " -#~ "diretório.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Ajusta o last-applied-configuration de um recurso para corresponder " -#~ "ao conteúdo de um arquivo, será criada uma annotation se esta ainda não " -#~ "existe.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml —create-" -#~ "annotation=true\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Termina o replicationcontroller foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Para os pods e serviços com o label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Termina o serviço definido no arquivo service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Termina todos os recursos no caminho do diretório path/to/" -#~ "resources\n" -#~ "\t\tkubectl stop -f path/to/resources" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Inicia uma única instância de nginx.\n" -#~ "\t\tkubectl run nginx —image=nginx\n" -#~ "\n" -#~ "\t\t# Inicia uma única instância do hazelcast e expõe a porta 5701 do " -#~ "container.\n" -#~ "\t\tkubectl run hazelcast —image=hazelcast —port=5701\n" -#~ "\n" -#~ "\t\t# Inicia uma única instância do hazelcast e seta as variáveis de " -#~ "ambiente \"DNS_DOMAIN=cluster\" e \"POD_NAMESPACE=default\" no " -#~ "container.\n" -#~ "\t\tkubectl run hazelcast —image=hazelcast —env=\"DNS_DOMAIN=cluster\" —" -#~ "env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Inicia uma instância replicada de nginx.\n" -#~ "\t\tkubectl run nginx —image=nginx —replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Mostra os objetos da API correspondente sem criar elas.\n" -#~ "\t\tkubectl run nginx —image=nginx —dry-run\n" -#~ "\n" -#~ "\t\t# Inicia uma única instância de nginx, mas sobrescreve a spec do " -#~ "deployment com um conjunto parcial de valores passeados do JSON.\n" -#~ "\t\tkubectl run nginx —image=nginx —overrides='{ \"apiVersion\": \"v1\", " -#~ "\"spec\": { … } }'\n" -#~ "\n" -#~ "\t\t# Inicia um pod de busybox e mantém ele em primeiro plano, não " -#~ "reinicia se ele já existe.\n" -#~ "\t\tkubectl run -i -t busybox —image=busybox —restart=Never\n" -#~ "\n" -#~ "\t\t# Inicia um container nginx usando o comando padrão, mas utiliza " -#~ "argumentos customizados (arg1 .. argN) para o comando.\n" -#~ "\t\tkubectl run nginx —image=nginx — \n" -#~ "\n" -#~ "\t\t# Inicia um container nginx usando um comando diferente e argumentos " -#~ "customizados.\n" -#~ "\t\tkubectl run nginx —image=nginx —command — \n" -#~ "\n" -#~ "\t\t# Inicia um container perl para processar π to 2000 posições e mostra " -#~ "a saída.\n" -#~ "\t\tkubectl run pi —image=perl —restart=OnFailure — perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Inicia um cron job para processar as 2000 posições de π e mostra a " -#~ "saída a cada 5 minutos.\n" -#~ "\t\tkubectl run pi —schedule=\"0/5 * * * ?\" —image=perl —" -#~ "restart=OnFailure — perl -Mbignum=bpi -wle 'print bpi(2000)'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Atualiza a restrição para a chave 'dedicated' e o valor 'special-" -#~ "user' e o efeito 'NoSchedule' para o node 'foo'.\n" -#~ "\t\t# Se o taint com esta chave e efeito já existirem, o seu valor é " -#~ "substituído pelo especificado.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove a restrição com a chave 'dedicated' e efeito 'NoSchedule' do " -#~ "nodo 'foo' se existir.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove o node 'foo' todos os taints com a chave 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Atualiza o pod 'foo' com o label 'unhealthy' e valor 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Atualiza o pod 'foo' com o label 'status' e valor 'unhealthy', " -#~ "sobrescrevendo qualquer valor existente.\n" -#~ "\t\tkubectl label —overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Atualiza todos os pods no namespace corrente\n" -#~ "\t\tkubectl label pods —all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Atualiza o pod identificado pelo tipo e nome em \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Atualiza o pod 'foo' apenas se o recurso não foi modificado na " -#~ "versão 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy —resource-version=1\n" -#~ "\n" -#~ "\t\t# Atualiza o pod 'foo' removendo o label chamado 'bar', se ele " -#~ "existir.\n" -#~ "\t\t# Não necessita a flag —overwrite.\n" -#~ "\t\tkubectl label pods foo bar-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Atualiza os pods de frontend-v1 utilizando os dados do novo " -#~ "replication controller definido em frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Atualiza os pods do frontend-v1 utilizando os dados em JSON " -#~ "passados pelo stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Atualiza os pods do frontend-v1 para frontend-v2 trocando a imagem, " -#~ "e trocando o\n" -#~ "\t\t# nome do replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Atualiza os pods do frontend trocando a imagem, e mantendo o nome " -#~ "antigo.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Cancela e reverte um rollout existente em progresso (de frontend-v1 " -#~ "para frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" - -#~ msgid "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Visualiza a anotação last-applied-configuration pelo tipo/nome no " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# Visualiza a anotação last-applied-configuration no arquivo JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#~ msgid "" -#~ "\n" -#~ "\t\tApply a configuration to a resource by filename or stdin.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." -#~ msgstr "" -#~ "\n" -#~ "\t\tAplica a configuração em um recurso usando um nome de arquivo ou " -#~ "stdin.\n" -#~ "\t\tEste recurso será criado se ele não existir.\n" -#~ "\t\tPara utilizar o 'apply', sempre crie o recurso inicialmente com " -#~ "'apply' ou 'create --save-config'.\n" -#~ "\n" -#~ "\t\tFormatos JSON e YAML são aceitos.\n" -#~ "\n" -#~ "\t\tNota Alpha: a funcionalidade --prune não está completa. Não utilize a " -#~ "não ser que você saibe qual é o estado corrente. Veja https://issues.k8s." -#~ "io/34274." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um ClusterRoleBinding para um ClusterRole específico." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria uma RoleBinding para uma Role específica ou ClusterRole." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a TLS secret from the given public/private key pair.\n" -#~ "\n" -#~ "\t\tThe public/private key pair must exist before hand. The public key " -#~ "certificate must be .PEM encoded and match the given private key." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um TLS secret de uma chave pública/privada fornecida.\n" -#~ "\n" -#~ "\t\tA chave pública/privada deve existir antes. O certificado da chave " -#~ "deve ser codificada como PEM, e ter sido gerada pela chave privada." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um configmap com base em um arquivo, diretório, ou um valor " -#~ "literal especificado.\n" -#~ "\n" -#~ "\t\tUm configmap único pode conter um ou mais pares de chave/valor.\n" -#~ "\n" -#~ "\t\tQuando criar um configmap com base em um arquivo, a chave será por " -#~ "padrão o nome do arquivo, e o valor será\n" -#~ "\t\tpor padrão o conteúdo do arquivo. Se o nome do arquivo for uma chave " -#~ "inválida, você deve especificar uma chave alternativa.\n" -#~ "\n" -#~ "\t\tQuando criar um configmap com base em um diretório, cada arquivo cujo " -#~ "o nome é uma chave válida no diretório será\n" -#~ "\t\tcolocada no configmap. Qualquer entrada de diretório, exceto as com " -#~ "arquivos válidos serão ignorados (por exemplo: sub-diretórios,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um novo secret para utilizar com Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets são utilizados para autenticar Docker registries.\n" -#~ "\n" -#~ "\t\tQuando utilizando a linha de comando do Docker para realizar envio " -#~ "das images, você pode se autenticar para um registro fornecido " -#~ "executando\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER —username=DOCKER_USER —" -#~ "password=DOCKER_PASSWORD —email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " Isso irá gerar um arquivo ~/.dockercfg que será utilizado para os " -#~ "comandos 'docker push' e 'docker pull' \n" -#~ "\t\tse autenticarem no registro. O endereço de email é opcional.\n" -#~ "\n" -#~ "\t\tQuando criar aplicações, você pode ter um Docker registry que requer " -#~ "autenticação. Para que \n" -#~ "\t\tos nodes possam baixar as imagens em seu nome, eles devem ter as " -#~ "credenciais. Você pode prover esta informação\n" -#~ "\t\tcriando um dockercfg secret e anexando-o à sua conta de serviço." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um pod disruption budget com o nome especificado, seletor, e o " -#~ "número mínimo de pode disponíveis" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um recurso por nome de arquivo ou stdin.\n" -#~ "\n" -#~ "\t\tOs formatos JSON e YAML são aceitos." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um resourcequota com o nome especificado, limits rigídos e " -#~ "escopo opcional" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um secret com base em um arquivo, diretório, ou um valor literal " -#~ "especificado.\n" -#~ "\n" -#~ "\t\tUm secret único pode conter um ou mais pares de chave/valor.\n" -#~ "\n" -#~ "\t\tQuando criar um secret com base em um arquivo, a chave será por " -#~ "padrão o nome do arquivo, e o valor será\n" -#~ "\t\tpor padrão o conteúdo do arquivo. Se o nome do arquivo for uma chave " -#~ "inválida, você deve especificar uma chave alternativa.\n" -#~ "\n" -#~ "\t\tQuando criar um secret com base em um diretório, cada arquivo cujo o " -#~ "nome é uma chave válida no diretório será\n" -#~ "\t\tcolocada no configmap. Qualquer entrada de diretório, exceto as com " -#~ "arquivos válidos serão ignorados (por exemplo: sub-diretórios,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria e executa uma imagem específica, possivelmente replicada.\n" -#~ "\n" -#~ "\t\tCria um deployment ou job para gerenciar o(s) container(s) criado(s)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." -#~ msgstr "" -#~ "\n" -#~ "\t\tCria um autoscaler que automaticamente escolhe e configura quantos " -#~ "pods irão executar em um cluster kubernetes.\n" -#~ "\n" -#~ "\t\tProcura por um Deployment, ReplicaSet, ou ReplicationController por " -#~ "nome e cria um autoscaler que utiliza o recurso fornecido como " -#~ "referência.\n" -#~ "\t\tUm autoscaler pode automaticamente aumentar ou reduzir o número de " -#~ "pods quando necessário." - -#~ msgid "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." -#~ msgstr "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe —grace-period flag, or pass —now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe —force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." - -#~ msgid "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." -#~ msgstr "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete —help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." -#~ msgstr "" -#~ "\n" -#~ "\t\tMostra os Recursos (CPU/Memória/Armazenamento) utilizados nos nodes.\n" -#~ "\n" -#~ "\t\tO comando top-node permite que você veja o consumo de recursos dos " -#~ "nodes." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." -#~ msgstr "" -#~ "\n" -#~ "\t\tMostra a utilização de recursos dos pods (CPU/Memória/" -#~ "Armazenamento).\n" -#~ "\n" -#~ "\t\tO comando 'top pod' deixa você ver a utilização dos recusrsos dos " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDevido ao atraso da pipeline de métricas, o resultado pode estar " -#~ "indisponível por alguns minutos\n" -#~ "\t\tdesde a criação do pod." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " -#~ msgstr "" -#~ "\n" -#~ "\t\tMostra a utilização de recursos (CPU/Memória/Armazenamento).\n" -#~ "\n" -#~ "\t\tO comando top deixa você ver a utilização de recursos de nodes e " -#~ "pods.\n" -#~ "\n" -#~ "\t\tEste comando necessita que o Heapster esteja corretamente configurado " -#~ "e rodando no servidor. " - -#~ msgid "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout —ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse —force. —force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag --windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." -#~ msgstr "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag —windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." - -#~ msgid "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" -#~ msgstr "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew —prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" - -#~ msgid "" -#~ "\n" -#~ "\t\tPerform a rolling update of the given ReplicationController.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\tAplica uma atualização contínua em um ReplicationController.\n" -#~ "\n" -#~ "\t\tTroca o replication controller especificado por um novo replication " -#~ "controller atualizando um pod por vez para utilizar o\n" -#~ "\t\tnovo PodTemplate. O new-controller.json deve ser especificado no " -#~ "mesmo namespace que o\n" -#~ "\t\treplication controller existente e sobrescrever pelo menos uma label " -#~ "comum no seu replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tSubstitui um recurso pelo especificado em um arquivo ou via stdin.\n" -#~ "\n" -#~ "\t\tOs formatos JSON and YAML são aceitos. Quando substituindo recursos " -#~ "existentes,\n" -#~ "\t\t especificação completa do recurso deve ser fornecida. Isto pode ser " -#~ "obtido com\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ "\n" -#~ "\t\tConsulte os modelos em https://htmlpreview.github.io/?https://github." -#~ "com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions." -#~ "html para descobrir se um campo é mutável." - -#~ msgid "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." -#~ msgstr "" -#~ "\n" -#~ "\t\tDefine um novo tamanho para um Deployment, ReplicaSet, Replication " -#~ "Controller, ou Job.\n" -#~ "\n" -#~ "\t\tScale deixa os usuários especificar uma ou mais pre-condições para a " -#~ "ação de scale.\n" -#~ "\n" -#~ "\t\tSe --current-replicas ou --resource-version forem especificados, será " -#~ "validado antes\n" -#~ "\t\tda tentativa de scale, e garante que a pre-condição é verdadeira " -#~ "quando\n" -#~ "\t\to scale é enviado para o servidor." - -#~ msgid "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" -#~ msgstr "" -#~ "\n" -#~ "\t\tPara fazer o proxy the todas as apis do kubernetes, utilize:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy —api-prefix=/\n" -#~ "\n" -#~ "\t\tPara fazer o proxy de parte da api do kubernetes e alguns arquivos " -#~ "estáticos:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy —www=/my/files —www-prefix=/static/ —api-prefix=/" -#~ "api/\n" -#~ "\n" -#~ "\t\tCom os comandos acima você pode fazer 'curl localhost:8001/api/v1/" -#~ "pods'.\n" -#~ "\n" -#~ "\t\tPara fazer o proxy the todas as apis do kubernetes em um caminho " -#~ "diferente, utilize:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy —api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tCom o comando acima você pode fazer 'curl localhost:8001/custom/api/" -#~ "v1/pods'" - -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tPlease refer to the models in https://htmlpreview.github.io/?https://" -#~ "github.com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/" -#~ "definitions.html to find if a field is mutable." -#~ msgstr "" -#~ "\n" -#~ "\t\tAtualiza o(s) campo(s) de um recurso usando strategic merge patch\n" -#~ "\n" -#~ "\t\tFormatos JSON e YAML são aceitos.\n" -#~ "\n" -#~ "\t\tConsulte os modelos em https://htmlpreview.github.io/?https://github." -#~ "com/kubernetes/kubernetes/blob/HEAD/docs/api-reference/v1/definitions." -#~ "html para descobrir se um campo é mutável." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the labels on a resource.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." -#~ msgstr "" -#~ "\n" -#~ "\t\tAtualiza labels em um recurso.\n" -#~ "\n" -#~ "\t\t* Um label deve começar com uma letra ou número, e pode conter letra, " -#~ "números, hífens, pontos e sublinhados, com no máximo %[1]d caracteres.\n" -#~ "\t\t* Se --overwrite for verdadeiro, então labels podem ser " -#~ "sobreescritos, caso contrário a sobreescrita irá falhar.\n" -#~ "\t\t* Se --resource-version for especificado, então as atualizações " -#~ "usarão esta versão do recurso, caso contrário, a versão do recurso " -#~ "existente será usada." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the taints on one or more nodes.\n" -#~ "\n" -#~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " -#~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" -#~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -#~ "\t\t* Currently taint can only apply to node." -#~ msgstr "" -#~ "\n" -#~ "\t\tAtualiza os taints em um ou mais nodes.\n" -#~ "\n" -#~ "\t\t* Um taint consiste em uma chave, valor e efeito. Como arqgumento, é " -#~ "expressado como chave=valor:efeito.\n" -#~ "\t\t* Uma chave deve começar com uma letra ou número, e pode conter " -#~ "letras, números, hífens, pontos e sublinhados, com no máximo %[1]d " -#~ "caractéres.\n" -#~ "\t\t* Um valor deve começar com uma letra ou número, e pode conter " -#~ "letras, números, hífens, pontos e sublinhados, com no máximo %[2]d " -#~ "caractéres.\n" -#~ "\t\t* O efeito deve ser NoSchedule, PreferNoSchedule ou NoExecute.\n" -#~ "\t\t* Atualmente taint pode ser aplicado apenas para nodes." - -#~ msgid "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." -#~ msgstr "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." - -#~ msgid "" -#~ "\n" -#~ "\t # !!!Important Note!!!\n" -#~ "\t # Requires that the 'tar' binary is present in your container\n" -#~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" -#~ "\n" -#~ "\t # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod " -#~ "in the default namespace\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copy /tmp/foo local file to /tmp/bar in a remote pod in a " -#~ "specific container\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -#~ "\n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" -#~ msgstr "" -#~ "\n" -#~ "\t # !!!Nota Importante!!!\n" -#~ "\t # Necessita que o binário 'tar' esteja presente na imagem do\n" -#~ "\t # container. Se 'tar' não estiver presente, o 'kubectl cp' irá " -#~ "falhar.\n" -#~ "\n" -#~ "\t # Copia o diretório local /tmp/foo_dir para /tmp/bar_dir no pod " -#~ "remoto no namespace default\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copia o arquivo local /tmp/foo para /tmp/bar no pod remoto no " -#~ "container específico\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copia o arquivo local /tmp/foo para /tmp/bar no pod remoto no " -#~ "namespace \n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copia /tmp/foo do pod remoto para /tmp/bar localmente\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" -#~ msgstr "" -#~ "\n" -#~ "\t # Cria um novo segredo TLS chamado tls-secret com o par the chaves " -#~ "fornecido:\n" -#~ "\t kubectl create secret tls tls-secret —cert=path/to/tls.cert —key=path/" -#~ "to/tls.key" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" -#~ msgstr "" -#~ "\n" -#~ "\t # Cria um novo segredo chamado my-secret com as chaves para cada " -#~ "arquivo no diretório bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Cria um novo segredo chamado my-secret com chaves especificadas em " -#~ "vez dos nomes dos arquivos\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Cria um novo segredo chamado my-secret com key1=supersecret e " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" - -#~ msgid "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" -#~ msgstr "" -#~ "\n" -#~ "\t# Cria um novo serviço do tipo ExternalName chamado my-ns \n" -#~ "\tkubectl create service externalname my-ns —external-name bar.com" - -#~ msgid "" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs (in headless mode)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" -#~ msgstr "" -#~ "\n" -#~ " # Cria um novo serviço clusterIP chamado my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Cria um novo serviço clusterIP chamado my-cs (em modo headless)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" - -#~ msgid "" -#~ "\n" -#~ " # Create a new deployment named my-dep that runs the busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" -#~ msgstr "" -#~ "\n" -#~ " # Cria um novo deployment chamado my-dep que executa uma imagem " -#~ "busybox.\n" -#~ " kubectl create deployment my-dep —image=busybox" - -#~ msgid "" -#~ "\n" -#~ " # Create a new nodeport service named my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" -#~ msgstr "" -#~ "\n" -#~ " # Cria um novo serviço nodeport chamado my-ns\n" -#~ " kubectl create service nodeport my-ns —tcp=5678:8080" - -#~ msgid "" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" -#~ " # If the same annotation is set multiple times, only the last value " -#~ "will be applied\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Update a pod identified by type and name in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Update all pods in the namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Update pod 'foo' by removing an annotation named 'description' if " -#~ "it exists.\n" -#~ " # Does not require the --overwrite flag.\n" -#~ " kubectl annotate pods foo description-" -#~ msgstr "" -#~ "\n" -#~ " # Atualiza o pod 'foo' com a annotation 'description' e o valor 'my " -#~ "frontend'.\n" -#~ " # Se a mesma annotation é configurada várias vezes, apenas o último " -#~ "valor será utilizado\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Atualiza o pod identificado pelo tipo e nome definido no \"pod.json" -#~ "\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Atualiza o pod 'foo' com a annotation 'description' e o valor 'my " -#~ "frontend running nginx', sobreescrevendo qualquer valor existente.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Atualiza todos os pods no namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Atualiza o pod 'foo' apenas se o recurso não foi modificado na " -#~ "versão 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Atualiza o pod 'foo' removendo a annotation chamada 'description' " -#~ "se ela existir.\n" -#~ " # Não necessita da flag --overwrite.\n" -#~ " kubectl annotate pods foo description-" - -#~ msgid "" -#~ "\n" -#~ " Create a clusterIP service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Cria um serviço do tipo clusterIP com o nome especificado." - -#~ msgid "" -#~ "\n" -#~ " Create a deployment with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Cria um deployment com o nome especificado." - -#~ msgid "" -#~ "\n" -#~ " Create a nodeport service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " Cria um serviço do tipo nodeport com o nome especificado." - -#~ msgid "" -#~ "\n" -#~ " Dumps cluster info out suitable for debugging and diagnosing cluster " -#~ "problems. By default, dumps everything to\n" -#~ " stdout. You can optionally specify a directory with --output-" -#~ "directory. If you specify a directory, kubernetes will\n" -#~ " build a set of files in that directory. By default only dumps things " -#~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" -#~ "\n" -#~ " The command also dumps the logs of all of the pods in the cluster, " -#~ "these logs are dumped into different directories\n" -#~ " based on namespace and pod name." -#~ msgstr "" -#~ "\n" -#~ " Coleta informações do cluster para debugar e diagnosticar problemas " -#~ "do dele. Por padrão, exibe tudo para o\n" -#~ " stdout. Você pode, se quiser, especificar um diretório com --output-" -#~ "directory. Se especificar o diretório, kubernetes irá\n" -#~ " montar um conjunto de arquivos no diretório. Por padrão, apenas " -#~ "coleta informações no namespace 'kube-system' , mas você pode\n" -#~ " trocar para um namespace diferente com a flag --namespaces, ou " -#~ "especificar --all-namespaces para todos os namespaces.\n" -#~ "\n" -#~ " O comando também coleta os logs de todos os pods no cluster, estes " -#~ "logs são salvos em outros diretórios\n" -#~ " baseado no namespace e nome do pod." - -#~ msgid "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." -#~ msgstr "" -#~ "\n" -#~ " Mostra os endereços dos servidores de gerenciamento e serviços com o " -#~ "label kubernetes.io/cluster-service=true\n" -#~ " Para debugar e diagnosticar outros problemas do cluster, utilize " -#~ "'kubectl cluster-info dump'." - -#~ msgid "A schedule in the Cron format the job should be run with." -#~ msgstr "Agendamento no formato Cron em qual o job deve rodar." - -#~ msgid "" -#~ "An inline JSON override for the generated service object. If this is non-" -#~ "empty, it is used to override the generated object. Requires that the " -#~ "object supply a valid apiVersion field. Only used if --expose is true." -#~ msgstr "" -#~ "Uma substituição inline JSON para o objeto de serviço gerado. Se não " -#~ "estiver vazio, ele será usado para substituir o objeto gerado. Requer que " -#~ "o objeto forneça o campo apiVersion válido. Usado apenas se --expose for " -#~ "true." - -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "" -#~ "Aplica a configuração para um recurso utilizado um nome de arquivo ou " -#~ "stdin" - -#~ msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController" -#~ msgstr "Auto-escala um Deployment, ReplicaSet ou ReplicationController" - -#~ msgid "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" -#~ msgstr "" -#~ "Nome do contêiner que terá sua imagem atualizada. Relevante apenas quando " -#~ "--image for especificado, caso contrário, ignorado. Obrigatório ao usar --" -#~ "image em um pod com vários contêineres" - -#~ msgid "Create a ClusterRoleBinding for a particular ClusterRole" -#~ msgstr "Cria um ClusterRoleBinding para um ClusterRole especifico" - -#~ msgid "Create a LoadBalancer service." -#~ msgstr "Cria um serviço do tipo LoadBalancer." - -#~ msgid "Create a NodePort service." -#~ msgstr "Cria um serviço do tipo NodePort." - -#~ msgid "Create a RoleBinding for a particular Role or ClusterRole" -#~ msgstr "Cria um RoleBinding para uma Role ou ClusterRole especifico" - -#~ msgid "Create a clusterIP service." -#~ msgstr "Cria um serviço do tipo clusterIP." - -#~ msgid "Create a configmap from a local file, directory or literal value" -#~ msgstr "" -#~ "Cria um configmap com base em um arquivo, diretório, ou um valor literal" - -#~ msgid "Create a deployment with the specified name." -#~ msgstr "Cria um deployment com um nome especificado." - -#~ msgid "Create a pod disruption budget with the specified name." -#~ msgstr "Cria um pod disruption budget com um nome especificado." - -#~ msgid "Create a quota with the specified name." -#~ msgstr "Cria uma quota com um nome especificado." - -#~ msgid "Create a resource by filename or stdin" -#~ msgstr "Cria um recurso por nome de arquivo ou stdin" - -#~ msgid "Create a secret from a local file, directory or literal value" -#~ msgstr "" -#~ "Cria um secret com base em um arquivo, diretório ou um valor literal" - -#~ msgid "Create a service using specified subcommand." -#~ msgstr "Cria um service utilizando um sub-comando especificado." - -#~ msgid "Create an ExternalName service." -#~ msgstr "Cria um serviço do tipo ExternalName." - -#~ msgid "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" -#~ msgstr "" -#~ "Apaga os recusros por nome de arquivos, stdin, recursos e nomes, ou por " -#~ "recursos e seletor de label" - -#~ msgid "Deprecated: Gracefully shut down a resource by name or filename" -#~ msgstr "Descontinuado: Termina um recurso por nome ou nome de arquivo" - -#~ msgid "Display Resource (CPU/Memory) usage of nodes" -#~ msgstr "Mostra a utilização de recursos (CPU/Memória) nos nodes" - -#~ msgid "Display Resource (CPU/Memory) usage of pods" -#~ msgstr "Mostra a utilização de recursos (CPU/Memória) nos pods" - -#~ msgid "Display Resource (CPU/Memory) usage." -#~ msgstr "Mostra a utilização de recursos (CPU/Memória)." - -#~ msgid "Display cluster info" -#~ msgstr "Mostra as informações do cluster" - -#~ msgid "Displays the current-context" -#~ msgstr "Mostra o contexto corrente" - -#~ msgid "Documentation of resources" -#~ msgstr "Documentação dos recursos" - -#~ msgid "Dump lots of relevant info for debugging and diagnosis" -#~ msgstr "" -#~ "Realiza o dump de muitas informações relevantes para debugging e " -#~ "diagnósticos" - -#~ msgid "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." -#~ msgstr "" -#~ "Política explícita para quando extrair imagens de contêiner. Obrigatório " -#~ "quando --image for igual à imagem existente, caso contrário, será " -#~ "ignorado." - -#~ msgid "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." -#~ msgstr "" -#~ "IP para ser alocado no Load Balancer. Se vazio, um IP efêmero será criado " -#~ "e utilizado (específico para cada provedor cloud)." - -#~ msgid "" -#~ "Image to use for upgrading the replication controller. Must be distinct " -#~ "from the existing image (either new image or new image tag). Can not be " -#~ "used with --filename/-f" -#~ msgstr "" -#~ "Imagem a ser utilizada para atualizar o replication controller. Deve ser " -#~ "diferente da imagem atual (pode ser uma nova imagem ou uma nova tag). Não " -#~ "pode ser utilizada com —filename/-f" - -#~ msgid "Manage a deployment rollout" -#~ msgstr "Gerencia um deployment rollout" - -#~ msgid "" -#~ "Output the formatted object with the given group version (for ex: " -#~ "'extensions/v1beta1').)" -#~ msgstr "" -#~ "Imprime o objeto formatado com a dada versão de grupo (por exemplo: " -#~ "'extensions/v1beta1').)" - -#~ msgid "Perform a rolling update of the given ReplicationController" -#~ msgstr "Executa uma atualização contínua" - -#~ msgid "Replace a resource by filename or stdin" -#~ msgstr "Substitui um recurso por um nome de arquivo ou stdin" - -#~ msgid "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" -#~ msgstr "" -#~ "Define um novo tamanho para um Deployment, ReplicaSet, Replication " -#~ "Controller, ou Job" - -#~ msgid "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." -#~ msgstr "" -#~ "Define a anotação last-applied-configuration em um objeto existente para " -#~ "corresponder ao conteúdo do arquivo." - -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "Define um cluster no arquivo kubeconfig" - -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "Define um contexto no arquivo kubeconfig" - -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "Define um usuário no arquivo kubeconfig" - -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "Define um valor individual no arquivo kubeconfig" - -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "Define o current-context no arquivo kubeconfig" - -#~ msgid "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" -#~ msgstr "" -#~ "Pega um replication controlar, service, deployment ou pod e expõe como um " -#~ "novo Serviço do Kubernetes" - -#~ msgid "" -#~ "The key to use to differentiate between two different controllers, " -#~ "default 'deployment'. Only relevant when --image is specified, ignored " -#~ "otherwise" -#~ msgstr "" -#~ "A chave utilizada para diferenciar entre dois controlares diferentes, " -#~ "padrão 'deployment'. Apenas relevante quando --image é especificado, é " -#~ "ignorado caso contrário" - -#~ msgid "" -#~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" -#~ "guide/kubectl-conventions/#generators for a list." -#~ msgstr "" -#~ "O nome do gerador de API a ser usado, veja a lista em http://kubernetes." -#~ "io/docs/user-guide/kubectl-conventions/#generators." - -#~ msgid "" -#~ "The name of the API generator to use. Currently there is only 1 generator." -#~ msgstr "" -#~ "O nome do gerador de API a ser usado. Atualmente existe apenas 1 gerador." - -#~ msgid "" -#~ "The name of the generator to use for creating a service. Only used if --" -#~ "expose is true" -#~ msgstr "" -#~ "O nome do recurso para ser utilizado quando criando um serviço. Apenas " -#~ "utilizado se —expose é verdadeiro" - -#~ msgid "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." -#~ msgstr "" -#~ "A porta que o container expõe. Se —expose é verdadeiro, esta também é a " -#~ "porta utilizada pelo serviço quando for criado." - -#~ msgid "" -#~ "The restart policy for this Pod. Legal values [Always, OnFailure, " -#~ "Never]. If set to 'Always' a deployment is created, if set to " -#~ "'OnFailure' a job is created, if set to 'Never', a regular pod is " -#~ "created. For the latter two --replicas must be 1. Default 'Always', for " -#~ "CronJobs `Never`." -#~ msgstr "" -#~ "A politica de restart para este Pod. Possíveis valores [Always, " -#~ "OnFailure, Never]. Se configurado para 'Always' um deployment é criado, " -#~ "se configurado para 'OnFailure' um job é criado, se configurado para " -#~ "'Never', um pod é criado. Para os dois últimos —replicas deve ser 1. " -#~ "Valor padrão 'Always', para CronJobs `Never`." - -#~ msgid "" -#~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " -#~ "'ClusterIP'." -#~ msgstr "" -#~ "Tipo para este serviço: ClusterIP, NodePort, ou LoadBalancer. Valor " -#~ "padrão é 'ClusterIP'." - -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "Remover um valor individual do arquivo kubeconfig" - -#~ msgid "Update field(s) of a resource using strategic merge patch" -#~ msgstr "" -#~ "Atualizar o(s) campo(s) de um recurso usando a estratégia de merge patch" - -#~ msgid "Update image of a pod template" -#~ msgstr "Atualizar a imagem de um template de pod" - -#~ msgid "" -#~ "View latest last-applied-configuration annotations of a resource/object" -#~ msgstr "" -#~ "Visualizar a última anotação last-applied-configuration de um recurso/" -#~ "objeto" - -#~ msgid "external name of service" -#~ msgstr "nome externo do serviço" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/template.pot b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/template.pot deleted file mode 100644 index 8fd30a10..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/template.pot +++ /dev/null @@ -1,3183 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:138 -msgid "" -"\n" -"\t\t\t# Approve CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate approve csr-sqgzp\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:182 -msgid "" -"\n" -"\t\t\t# Deny CSR 'csr-sqgzp'\n" -"\t\t\tkubectl certificate deny csr-sqgzp\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:43 -msgid "" -"\n" -"\t\t\tModify kubeconfig files using subcommands like \"kubectl config set " -"current-context my-context\"\n" -"\n" -"\t\t\tThe loading order follows these rules:\n" -"\n" -"\t\t\t1. If the --" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:44 -msgid "" -"\n" -"\t\t # Create a cluster role binding for user1, user2, and group1 using the " -"cluster-admin cluster role\n" -"\t\t kubectl create clusterrolebinding cluster-admin --clusterrole=cluster-" -"admin --user=user1 --user=user2 --group=group1" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:58 -msgid "" -"\n" -"\t\t # Create a new config map named my-config based on folder bar\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config with specified keys instead " -"of file basenames on disk\n" -"\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/file1." -"txt --from-file=key2=/path/to/bar/file2.txt\n" -"\n" -"\t\t # Create a new config map named my-config with key1=config1 and " -"key2=config2\n" -"\t\t kubectl create configmap my-config --from-literal=key1=config1 --from-" -"literal=key2=config2\n" -"\n" -"\t\t # Create a new config map named my-config from the key=value pairs in " -"the file\n" -"\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -"\n" -"\t\t # Create a new config map named my-config from an env file\n" -"\t\t kubectl create configmap my-config --from-env-file=path/to/bar.env" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:43 -msgid "" -"\n" -"\t\t # Create a role binding for user1, user2, and group1 using the admin " -"cluster role\n" -"\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -"user=user2 --group=group1" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:56 -msgid "" -"\n" -"\t\t # If you don't already have a .dockercfg file, you can create a " -"dockercfg secret directly by using:\n" -"\t\t kubectl create secret docker-registry my-secret --docker-" -"server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -"password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL\n" -"\n" -"\t\t # Create a new secret named my-secret from ~/.docker/config.json\n" -"\t\t kubectl create secret docker-registry my-secret --from-file=." -"dockerconfigjson=path/to/.docker/config.json" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:45 -msgid "" -"\n" -"\t\t# !!!Important Note!!!\n" -"\t\t# Requires that the 'tar' binary is present in your container\n" -"\t\t# image. If 'tar' is not present, 'kubectl cp' will fail.\n" -"\t\t#\n" -"\t\t# For advanced use cases, such as symlinks, wildcard expansion or\n" -"\t\t# file mode preservation, consider using 'kubectl exec'.\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\ttar cf - /tmp/foo | kubectl exec -i -n -- " -"tar xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl exec -n -- tar cf - /tmp/foo | tar " -"xf - -C /tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod in " -"the default namespace\n" -"\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in a specific " -"container\n" -"\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -"\n" -"\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -"\n" -"\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -"\n" -"\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -"\t\tkubectl cp /:/tmp/foo /tmp/bar" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:119 -msgid "" -"\n" -"\t\t# Apply the configuration in pod.json to a pod\n" -"\t\tkubectl apply -f ./pod.json\n" -"\n" -"\t\t# Apply resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl apply -k dir/\n" -"\n" -"\t\t# Apply the JSON passed into stdin to a pod\n" -"\t\tcat pod.json | kubectl apply -f -\n" -"\n" -"\t\t# Note: --prune is still in Alpha\n" -"\t\t# Apply the configuration in manifest.yaml that matches label app=nginx " -"and delete all other resources that are not in the file and match label " -"app=nginx\n" -"\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -"\n" -"\t\t# Apply the configuration in manifest.yaml and delete all the other " -"config maps that are not in the file\n" -"\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/v1/" -"ConfigMap" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:48 -#, c-format -msgid "" -"\n" -"\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 and " -"10, no target CPU utilization specified so a default autoscaling policy will " -"be used\n" -"\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -"\n" -"\t\t# Auto scale a replication controller \"foo\", with the number of pods " -"between 1 and 5, target CPU utilization at 80%\n" -"\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -msgstr "" - -#: pkg/kubectl/cmd/convert/convert.go:51 -msgid "" -"\n" -"\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -"\t\tkubectl convert -f pod.yaml\n" -"\n" -"\t\t# Convert the live state of the resource specified by 'pod.yaml' to the " -"latest version\n" -"\t\t# and print to stdout in JSON format.\n" -"\t\tkubectl convert -f pod.yaml --local -o json\n" -"\n" -"\t\t# Convert all files under current directory to latest version and create " -"them all.\n" -"\t\tkubectl convert -f . | kubectl create -f -" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:41 -msgid "" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" that allows user to perform " -"\"get\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -"resource=pods\n" -"\n" -"\t\t# Create a cluster role named \"pod-reader\" with ResourceName " -"specified\n" -"\t\tkubectl create clusterrole pod-reader --verb=get --resource=pods --" -"resource-name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with API Group specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=rs." -"extensions\n" -"\n" -"\t\t# Create a cluster role named \"foo\" with SubResource specified\n" -"\t\tkubectl create clusterrole foo --verb=get,list,watch --resource=pods," -"pods/status\n" -"\n" -"\t\t# Create a cluster role name \"foo\" with NonResourceURL specified\n" -"\t\tkubectl create clusterrole \"foo\" --verb=get --non-resource-url=/logs/" -"*\n" -"\n" -"\t\t# Create a cluster role name \"monitoring\" with AggregationRule " -"specified\n" -"\t\tkubectl create clusterrole monitoring --aggregation-rule=\"rbac.example." -"com/aggregate-to-monitoring=true\"" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:43 -msgid "" -"\n" -"\t\t# Create a job\n" -"\t\tkubectl create job my-job --image=busybox\n" -"\n" -"\t\t# Create a job with a command\n" -"\t\tkubectl create job my-job --image=busybox -- date\n" -"\n" -"\t\t# Create a job from a cron job named \"a-cronjob\"\n" -"\t\tkubectl create job test-job --from=cronjob/a-cronjob" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:44 -msgid "" -"\n" -"\t\t# Create a new resource quota named my-quota\n" -"\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3," -"replicationcontrollers=2,resourcequotas=1,secrets=5," -"persistentvolumeclaims=10\n" -"\n" -"\t\t# Create a new resource quota named best-effort\n" -"\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:44 -#, c-format -msgid "" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=rails label\n" -"\t\t# and require at least one of them being available at any point in time\n" -"\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -"available=1\n" -"\n" -"\t\t# Create a pod disruption budget named my-pdb that will select all pods " -"with the app=nginx label\n" -"\t\t# and require at least half of the pods selected to be available at any " -"point in time\n" -"\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:76 -msgid "" -"\n" -"\t\t# Create a pod using the data in pod.json\n" -"\t\tkubectl create -f ./pod.json\n" -"\n" -"\t\t# Create a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl create -f -\n" -"\n" -"\t\t# Edit the data in docker-registry.yaml in JSON then create the resource " -"using the edited data\n" -"\t\tkubectl create -f docker-registry.yaml --edit -o json" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:43 -msgid "" -"\n" -"\t\t# Create a priority class named high-priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\"\n" -"\n" -"\t\t# Create a priority class named default-priority that is considered as " -"the global default priority\n" -"\t\tkubectl create priorityclass default-priority --value=1000 --global-" -"default=true --description=\"default priority\"\n" -"\n" -"\t\t# Create a priority class named high-priority that cannot preempt pods " -"with lower priority\n" -"\t\tkubectl create priorityclass high-priority --value=1000 --description=" -"\"high priority\" --preemption-policy=\"Never\"" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:46 -msgid "" -"\n" -"\t\t# Create a role named \"pod-reader\" that allows user to perform \"get" -"\", \"watch\" and \"list\" on pods\n" -"\t\tkubectl create role pod-reader --verb=get --verb=list --verb=watch --" -"resource=pods\n" -"\n" -"\t\t# Create a role named \"pod-reader\" with ResourceName specified\n" -"\t\tkubectl create role pod-reader --verb=get --resource=pods --resource-" -"name=readablepod --resource-name=anotherpod\n" -"\n" -"\t\t# Create a role named \"foo\" with API Group specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=rs.extensions\n" -"\n" -"\t\t# Create a role named \"foo\" with SubResource specified\n" -"\t\tkubectl create role foo --verb=get,list,watch --resource=pods,pods/status" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:61 -msgid "" -"\n" -"\t\t# Create a service for a replicated nginx, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a replication controller identified by type and " -"name specified in \"nginx-controller.yaml\", which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -"the name \"frontend\"\n" -"\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -"\n" -"\t\t# Create a second service based on the above service, exposing the " -"container port 8443 as port 443 with the name \"nginx-https\"\n" -"\t\tkubectl expose service nginx --port=443 --target-port=8443 --name=nginx-" -"https\n" -"\n" -"\t\t# Create a service for a replicated streaming application on port 4100 " -"balancing UDP traffic and named 'video-stream'.\n" -"\t\tkubectl expose rc streamer --port=4100 --protocol=UDP --name=video-" -"stream\n" -"\n" -"\t\t# Create a service for a replicated nginx using replica set, which " -"serves on port 80 and connects to the containers on port 8000\n" -"\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -"\n" -"\t\t# Create a service for an nginx deployment, which serves on port 80 and " -"connects to the containers on port 8000\n" -"\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:64 -msgid "" -"\n" -"\t\t# Create a single ingress called 'simple' that directs requests to foo." -"com/bar to svc\n" -"\t\t# svc1:8080 with a tls secret \"my-cert\"\n" -"\t\tkubectl create ingress simple --rule=\"foo.com/bar=svc1:8080,tls=my-cert" -"\"\n" -"\n" -"\t\t# Create a catch all ingress of \"/path\" pointing to service svc:port " -"and Ingress Class as \"otheringress\"\n" -"\t\tkubectl create ingress catch-all --class=otheringress --rule=\"/path=svc:" -"port\"\n" -"\n" -"\t\t# Create an ingress with two annotations: ingress.annotation1 and " -"ingress.annotations2\n" -"\t\tkubectl create ingress annotated --class=default --rule=\"foo.com/" -"bar=svc:port\" \\n\t\t\t--annotation ingress.annotation1=foo \\n\t\t\t--" -"annotation ingress.annotation2=bla\n" -"\n" -"\t\t# Create an ingress with the same host and multiple paths\n" -"\t\tkubectl create ingress multipath --class=default \\n\t\t\t--rule=\"foo." -"com/=svc:port\" \\n\t\t\t--rule=\"foo.com/admin/=svcadmin:portadmin\"\n" -"\n" -"\t\t# Create an ingress with multiple hosts and the pathType as Prefix\n" -"\t\tkubectl create ingress ingress1 --class=default \\n\t\t\t--rule=\"foo." -"com/path*=svc:8080\" \\n\t\t\t--rule=\"bar.com/admin*=svc2:http\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using the default ingress " -"certificate and different path types\n" -"\t\tkubectl create ingress ingtls --class=default \\n\t\t --rule=\"foo.com/" -"=svc:https,tls\" \\n\t\t --rule=\"foo.com/path/subpath*=othersvc:8080\"\n" -"\n" -"\t\t# Create an ingress with TLS enabled using a specific secret and " -"pathType as Prefix\n" -"\t\tkubectl create ingress ingsecret --class=default \\n\t\t --rule=\"foo." -"com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t# Create an ingress with a default backend\n" -"\t\tkubectl create ingress ingdefault --class=default \\n\t\t --default-" -"backend=defaultsvc:http \\n\t\t --rule=\"foo.com/*=svc:8080,tls=secret1\"\n" -"\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:74 -msgid "" -"\n" -"\t\t# Create an interactive debugging session in pod mypod and immediately " -"attach to it.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug mypod -it --image=busybox\n" -"\n" -"\t\t# Create a debug container named debugger using a custom automated " -"debugging image.\n" -"\t\t# (requires the EphemeralContainers feature to be enabled in the " -"cluster)\n" -"\t\tkubectl debug --image=myproj/debug-tools -c debugger mypod\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and attach to it\n" -"\t\tkubectl debug mypod -it --image=busybox --copy-to=my-debugger\n" -"\n" -"\t\t# Create a copy of mypod changing the command of mycontainer\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --container=mycontainer -- " -"sh\n" -"\n" -"\t\t# Create a copy of mypod changing all container images to busybox\n" -"\t\tkubectl debug mypod --copy-to=my-debugger --set-image=*=busybox\n" -"\n" -"\t\t# Create a copy of mypod adding a debug container and changing container " -"images\n" -"\t\tkubectl debug mypod -it --copy-to=my-debugger --image=debian --set-" -"image=app=app:debug,sidecar=sidecar:debug\n" -"\n" -"\t\t# Create an interactive debugging session on a node and immediately " -"attach to it.\n" -"\t\t# The container will run in the host namespaces and the host's " -"filesystem will be mounted at /host\n" -"\t\tkubectl debug node/mynode -it --image=busybox\n" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:74 -msgid "" -"\n" -"\t\t# Delete a pod using the type and name specified in pod.json\n" -"\t\tkubectl delete -f ./pod.json\n" -"\n" -"\t\t# Delete resources from a directory containing kustomization.yaml - e.g. " -"dir/kustomization.yaml\n" -"\t\tkubectl delete -k dir\n" -"\n" -"\t\t# Delete a pod based on the type and name in the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl delete -f -\n" -"\n" -"\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -"\t\tkubectl delete pod,service baz foo\n" -"\n" -"\t\t# Delete pods and services with label name=myLabel\n" -"\t\tkubectl delete pods,services -l name=myLabel\n" -"\n" -"\t\t# Delete a pod with minimal delay\n" -"\t\tkubectl delete pod foo --now\n" -"\n" -"\t\t# Force delete a pod on a dead node\n" -"\t\tkubectl delete pod foo --force\n" -"\n" -"\t\t# Delete all pods\n" -"\t\tkubectl delete pods --all" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:51 -msgid "" -"\n" -"\t\t# Describe a node\n" -"\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -"\n" -"\t\t# Describe a pod\n" -"\t\tkubectl describe pods/nginx\n" -"\n" -"\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -"\t\tkubectl describe -f pod.json\n" -"\n" -"\t\t# Describe all pods\n" -"\t\tkubectl describe pods\n" -"\n" -"\t\t# Describe pods by label name=myLabel\n" -"\t\tkubectl describe po -l name=myLabel\n" -"\n" -"\t\t# Describe all pods managed by the 'frontend' replication controller (rc-" -"created pods\n" -"\t\t# get the name of the rc as a prefix in the pod the name)\n" -"\t\tkubectl describe pods frontend" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:76 -msgid "" -"\n" -"\t\t# Diff resources included in pod.json\n" -"\t\tkubectl diff -f pod.json\n" -"\n" -"\t\t# Diff file read from stdin\n" -"\t\tcat service.yaml | kubectl diff -f -" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:138 -msgid "" -"\n" -"\t\t# Drain node \"foo\", even if there are pods not managed by a " -"replication controller, replica set, job, daemon set or stateful set on it\n" -"\t\tkubectl drain foo --force\n" -"\n" -"\t\t# As above, but abort if there are pods not managed by a replication " -"controller, replica set, job, daemon set or stateful set, and use a grace " -"period of 15 minutes\n" -"\t\tkubectl drain foo --grace-period=900" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:55 -msgid "" -"\n" -"\t\t# Edit the service named 'docker-registry'\n" -"\t\tkubectl edit svc/docker-registry\n" -"\n" -"\t\t# Use an alternative editor\n" -"\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -"\n" -"\t\t# Edit the job 'myjob' in JSON using the v1 API format\n" -"\t\tkubectl edit job.v1.batch/myjob -o json\n" -"\n" -"\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -"config in its annotation\n" -"\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:44 -msgid "" -"\n" -"\t\t# Get output from running pod mypod; use the 'kubectl.kubernetes.io/" -"default-container' annotation\n" -"\t\t# for selecting the container to be attached or the first container in " -"the pod will be chosen\n" -"\t\tkubectl attach mypod\n" -"\n" -"\t\t# Get output from ruby-container from pod mypod\n" -"\t\tkubectl attach mypod -c ruby-container\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl attach mypod -c ruby-container -i -t\n" -"\n" -"\t\t# Get output from the first pod of a replica set named nginx\n" -"\t\tkubectl attach rs/nginx\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:48 -msgid "" -"\n" -"\t\t# Get output from running the 'date' command from pod mypod, using the " -"first container by default\n" -"\t\tkubectl exec mypod -- date\n" -"\n" -"\t\t# Get output from running the 'date' command in ruby-container from pod " -"mypod\n" -"\t\tkubectl exec mypod -c ruby-container -- date\n" -"\n" -"\t\t# Switch to raw terminal mode; sends stdin to 'bash' in ruby-container " -"from pod mypod\n" -"\t\t# and sends stdout/stderr from 'bash' back to the client\n" -"\t\tkubectl exec mypod -c ruby-container -i -t -- bash -il\n" -"\n" -"\t\t# List contents of /usr from the first container of pod mypod and sort " -"by modification time\n" -"\t\t# If the command you want to execute in the pod has any flags in common " -"(e.g. -i),\n" -"\t\t# you must use two dashes (--) to separate your command's flags/" -"arguments\n" -"\t\t# Also note, do not surround your command and its flags/arguments with " -"quotes\n" -"\t\t# unless that is how you would execute it normally (i.e., do ls -t /usr, " -"not \"ls -t /usr\")\n" -"\t\tkubectl exec mypod -i -t -- ls -t /usr\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"deployment mydeployment, using the first container by default\n" -"\t\tkubectl exec deploy/mydeployment -- date\n" -"\n" -"\t\t# Get output from running 'date' command from the first pod of the " -"service myservice, using the first container by default\n" -"\t\tkubectl exec svc/myservice -- date\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:65 -msgid "" -"\n" -"\t\t# Installing bash completion on macOS using homebrew\n" -"\t\t## If running Bash 3.2 included with macOS\n" -"\t\t brew install bash-completion\n" -"\t\t## or, if running Bash 4.1+\n" -"\t\t brew install bash-completion@2\n" -"\t\t## If kubectl is installed via homebrew, this should start working " -"immediately\n" -"\t\t## If you've installed via other means, you may need add the completion " -"to your completion directory\n" -"\t\t kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/" -"kubectl\n" -"\n" -"\n" -"\t\t# Installing bash completion on Linux\n" -"\t\t## If bash-completion is not installed on Linux, install the 'bash-" -"completion' package\n" -"\t\t## via your distribution's package manager.\n" -"\t\t## Load the kubectl completion code for bash into the current shell\n" -"\t\t source <(kubectl completion bash)\n" -"\t\t## Write bash completion code to a file and source it from ." -"bash_profile\n" -"\t\t kubectl completion bash > ~/.kube/completion.bash.inc\n" -"\t\t printf \"\n" -"\t\t # Kubectl shell completion\n" -"\t\t source '$HOME/.kube/completion.bash.inc'\n" -"\t\t \" >> $HOME/.bash_profile\n" -"\t\t source $HOME/.bash_profile\n" -"\n" -"\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -"\t\t source <(kubectl completion zsh)\n" -"\t\t# Set the kubectl completion code for zsh[1] to autoload on startup\n" -"\t\t kubectl completion zsh > \"${fpath[1]}/_kubectl\"" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:105 -msgid "" -"\n" -"\t\t# List all pods in ps output format\n" -"\t\tkubectl get pods\n" -"\n" -"\t\t# List all pods in ps output format with more information (such as node " -"name)\n" -"\t\tkubectl get pods -o wide\n" -"\n" -"\t\t# List a single replication controller with specified NAME in ps output " -"format\n" -"\t\tkubectl get replicationcontroller web\n" -"\n" -"\t\t# List deployments in JSON output format, in the \"v1\" version of the " -"\"apps\" API group\n" -"\t\tkubectl get deployments.v1.apps -o json\n" -"\n" -"\t\t# List a single pod in JSON output format\n" -"\t\tkubectl get -o json pod web-pod-13je7\n" -"\n" -"\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -"JSON output format\n" -"\t\tkubectl get -f pod.yaml -o json\n" -"\n" -"\t\t# List resources from a directory with kustomization.yaml - e.g. dir/" -"kustomization.yaml\n" -"\t\tkubectl get -k dir/\n" -"\n" -"\t\t# Return only the phase value of the specified pod\n" -"\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status.phase}}\n" -"\n" -"\t\t# List resource information in custom columns\n" -"\t\tkubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0]." -"name,IMAGE:.spec.containers[0].image\n" -"\n" -"\t\t# List all replication controllers and services together in ps output " -"format\n" -"\t\tkubectl get rc,services\n" -"\n" -"\t\t# List one or more resources by their type and names\n" -"\t\tkubectl get rc/web service/frontend pods/web-pod-13je7" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:72 -msgid "" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 5000 6000\n" -"\n" -"\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from ports " -"5000 and 6000 in a pod selected by the deployment\n" -"\t\tkubectl port-forward deployment/mydeployment 5000 6000\n" -"\n" -"\t\t# Listen on port 8443 locally, forwarding to the targetPort of the " -"service's port named \"https\" in a pod selected by the service\n" -"\t\tkubectl port-forward service/myservice 8443:https\n" -"\n" -"\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on all addresses, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000\n" -"\n" -"\t\t# Listen on port 8888 on localhost and selected IP, forwarding to 5000 " -"in the pod\n" -"\t\tkubectl port-forward --address localhost,10.19.21.23 pod/mypod " -"8888:5000\n" -"\n" -"\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -"\t\tkubectl port-forward pod/mypod :5000" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:87 -msgid "" -"\n" -"\t\t# Mark node \"foo\" as schedulable\n" -"\t\tkubectl uncordon foo" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:58 -msgid "" -"\n" -"\t\t# Mark node \"foo\" as unschedulable\n" -"\t\tkubectl cordon foo" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:83 -msgid "" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as JSON\n" -"\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Partially update a node using a strategic merge patch, specifying the " -"patch as YAML\n" -"\t\tkubectl patch node k8s-node-1 -p $'spec:\n" -" unschedulable: true'\n" -"\n" -"\t\t# Partially update a node identified by the type and name specified in " -"\"node.json\" using strategic merge patch\n" -"\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -"\n" -"\t\t# Update a container's image; spec.containers[*].name is required " -"because it's a merge key\n" -"\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -"\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -"\n" -"\t\t# Update a container's image using a JSON patch with positional arrays\n" -"\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -"\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:44 -msgid "" -"\n" -"\t\t# Print the address of the control plane and cluster services\n" -"\t\tkubectl cluster-info" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:56 -msgid "" -"\n" -"\t\t# Replace a pod using the data in pod.json\n" -"\t\tkubectl replace -f ./pod.json\n" -"\n" -"\t\t# Replace a pod based on the JSON passed into stdin\n" -"\t\tcat pod.json | kubectl replace -f -\n" -"\n" -"\t\t# Update a single-container pod's image version (tag) to v4\n" -"\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' | " -"kubectl replace -f -\n" -"\n" -"\t\t# Force replace, delete and then re-create the resource\n" -"\t\tkubectl replace --force -f ./pod.json" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:53 -msgid "" -"\n" -"\t\t# Return snapshot logs from pod nginx with only one container\n" -"\t\tkubectl logs nginx\n" -"\n" -"\t\t# Return snapshot logs from pod nginx with multi containers\n" -"\t\tkubectl logs nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Return snapshot of previous terminated ruby container logs from pod " -"web-1\n" -"\t\tkubectl logs -p -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -"\t\tkubectl logs -f -c ruby web-1\n" -"\n" -"\t\t# Begin streaming the logs from all containers in pods defined by label " -"app=nginx\n" -"\t\tkubectl logs -f -l app=nginx --all-containers=true\n" -"\n" -"\t\t# Display only the most recent 20 lines of output in pod nginx\n" -"\t\tkubectl logs --tail=20 nginx\n" -"\n" -"\t\t# Show all logs from pod nginx written in the last hour\n" -"\t\tkubectl logs --since=1h nginx\n" -"\n" -"\t\t# Show logs from a kubelet with an expired serving certificate\n" -"\t\tkubectl logs --insecure-skip-tls-verify-backend nginx\n" -"\n" -"\t\t# Return snapshot logs from first container of a job named hello\n" -"\t\tkubectl logs job/hello\n" -"\n" -"\t\t# Return snapshot logs from container nginx-1 of a deployment named " -"nginx\n" -"\t\tkubectl logs deployment/nginx -c nginx-1" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:49 -msgid "" -"\n" -"\t\t# Scale a replica set named 'foo' to 3\n" -"\t\tkubectl scale --replicas=3 rs/foo\n" -"\n" -"\t\t# Scale a resource identified by type and name specified in \"foo.yaml\" " -"to 3\n" -"\t\tkubectl scale --replicas=3 -f foo.yaml\n" -"\n" -"\t\t# If the deployment named mysql's current size is 2, scale mysql to 3\n" -"\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -"\n" -"\t\t# Scale multiple replication controllers\n" -"\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -"\n" -"\t\t# Scale stateful set named 'web' to 3\n" -"\t\tkubectl scale --replicas=3 statefulset/web" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:75 -msgid "" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml\n" -"\n" -"\t\t# Execute set-last-applied against each configuration file in a " -"directory\n" -"\t\tkubectl apply set-last-applied -f path/\n" -"\n" -"\t\t# Set the last-applied-configuration of a resource to match the contents " -"of a file; will create the annotation if it does not already exist\n" -"\t\tkubectl apply set-last-applied -f deploy.yaml --create-annotation=true\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:62 -msgid "" -"\n" -"\t\t# Start a nginx pod\n" -"\t\tkubectl run nginx --image=nginx\n" -"\n" -"\t\t# Start a hazelcast pod and let the container expose port 5701\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --port=5701\n" -"\n" -"\t\t# Start a hazelcast pod and set environment variables " -"\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --env=" -"\"DNS_DOMAIN=cluster\" --env=\"POD_NAMESPACE=default\"\n" -"\n" -"\t\t# Start a hazelcast pod and set labels \"app=hazelcast\" and \"env=prod" -"\" in the container\n" -"\t\tkubectl run hazelcast --image=hazelcast/hazelcast --labels=" -"\"app=hazelcast,env=prod\"\n" -"\n" -"\t\t# Dry run; print the corresponding API objects without creating them\n" -"\t\tkubectl run nginx --image=nginx --dry-run=client\n" -"\n" -"\t\t# Start a nginx pod, but overload the spec with a partial set of values " -"parsed from JSON\n" -"\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": \"v1\", " -"\"spec\": { ... } }'\n" -"\n" -"\t\t# Start a busybox pod and keep it in the foreground, don't restart it if " -"it exits\n" -"\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -"\n" -"\t\t# Start the nginx pod using the default command, but use custom " -"arguments (arg1 .. argN) for that command\n" -"\t\tkubectl run nginx --image=nginx -- ... \n" -"\n" -"\t\t# Start the nginx pod using a different command and custom arguments\n" -"\t\tkubectl run nginx --image=nginx --command -- ... " -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:73 -msgid "" -"\n" -"\t\t# To proxy all of the Kubernetes API and nothing else\n" -"\t\tkubectl proxy --api-prefix=/\n" -"\n" -"\t\t# To proxy only part of the Kubernetes API and also some static files\n" -"\t\t# You can get pods info with 'curl localhost:8001/api/v1/pods'\n" -"\t\tkubectl proxy --www=/my/files --www-prefix=/static/ --api-prefix=/api/\n" -"\n" -"\t\t# To proxy the entire Kubernetes API at a different root\n" -"\t\t# You can get pods info with 'curl localhost:8001/custom/api/v1/pods'\n" -"\t\tkubectl proxy --api-prefix=/custom/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on port 8011, serving static " -"content from ./local/www/\n" -"\t\tkubectl proxy --port=8011 --www=./local/www/\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server on an arbitrary local port\n" -"\t\t# The chosen port for the server will be output to stdout\n" -"\t\tkubectl proxy --port=0\n" -"\n" -"\t\t# Run a proxy to the Kubernetes API server, changing the API prefix to " -"k8s-api\n" -"\t\t# This makes e.g. the pods API available at localhost:8001/k8s-api/v1/" -"pods/\n" -"\t\tkubectl proxy --api-prefix=/k8s-api" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:80 -msgid "" -"\n" -"\t\t# Update node 'foo' with a taint with key 'dedicated' and value 'special-" -"user' and effect 'NoSchedule'\n" -"\t\t# If a taint with that key and effect already exists, its value is " -"replaced as specified\n" -"\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -"\n" -"\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -"'NoSchedule' if one exists\n" -"\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -"\n" -"\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -"\t\tkubectl taint nodes foo dedicated-\n" -"\n" -"\t\t# Add a taint with key 'dedicated' on nodes having label mylabel=X\n" -"\t\tkubectl taint node -l myLabel=X dedicated=foo:PreferNoSchedule\n" -"\n" -"\t\t# Add to node 'foo' a taint with key 'bar' and no value\n" -"\t\tkubectl taint nodes foo bar:NoSchedule" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:95 -msgid "" -"\n" -"\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'\n" -"\t\tkubectl label pods foo unhealthy=true\n" -"\n" -"\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -"overwriting any existing value\n" -"\t\tkubectl label --overwrite pods foo status=unhealthy\n" -"\n" -"\t\t# Update all pods in the namespace\n" -"\t\tkubectl label pods --all status=unhealthy\n" -"\n" -"\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -"\t\tkubectl label -f pod.json status=unhealthy\n" -"\n" -"\t\t# Update pod 'foo' only if the resource is unchanged from version 1\n" -"\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -"\n" -"\t\t# Update pod 'foo' by removing a label named 'bar' if it exists\n" -"\t\t# Does not require the --overwrite flag\n" -"\t\tkubectl label pods foo bar-" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:53 -msgid "" -"\n" -"\t\t# View the last-applied-configuration annotations by type/name in YAML\n" -"\t\tkubectl apply view-last-applied deployment/nginx\n" -"\n" -"\t\t# View the last-applied-configuration annotations by file in JSON\n" -"\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:61 -msgid "" -"\n" -"\t\t# Wait for the pod \"busybox1\" to contain the status condition of type " -"\"Ready\"\n" -"\t\tkubectl wait --for=condition=Ready pod/busybox1\n" -"\n" -"\t\t# The default value of status condition is true; you can set it to " -"false\n" -"\t\tkubectl wait --for=condition=Ready=false pod/busybox1\n" -"\n" -"\t\t# Wait for the pod \"busybox1\" to be deleted, with a timeout of 60s, " -"after having issued the \"delete\" command\n" -"\t\tkubectl delete pod/busybox1\n" -"\t\tkubectl wait --for=delete pod/busybox1 --timeout=60s" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:110 -msgid "" -"\n" -"\t\tApply a configuration to a resource by file name or stdin.\n" -"\t\tThe resource name must be specified. This resource will be created if it " -"doesn't exist yet.\n" -"\t\tTo use 'apply', always create the resource initially with either 'apply' " -"or 'create --save-config'.\n" -"\n" -"\t\tJSON and YAML formats are accepted.\n" -"\n" -"\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do not " -"use unless you are aware of what the current state is. See https://issues." -"k8s.io/34274." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:126 -msgid "" -"\n" -"\t\tApprove a certificate signing request.\n" -"\n" -"\t\tkubectl certificate approve allows a cluster admin to approve a " -"certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tissue a certificate to the requestor with the attributes requested in " -"the CSR.\n" -"\n" -"\t\tSECURITY NOTICE: Depending on the requested attributes, the issued " -"certificate\n" -"\t\tcan potentially grant a requester access to cluster resources or to " -"authenticate\n" -"\t\tas a requested identity. Before approving a CSR, ensure you understand " -"what the\n" -"\t\tsigned certificate can do.\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:28 -msgid "" -"\n" -"\t\tConfigure application resources.\n" -"\n" -"\t\tThese commands help you make changes to existing application resources." -msgstr "" - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:41 -msgid "" -"\n" -"\t\tCreate a TLS secret from the given public/private key pair.\n" -"\n" -"\t\tThe public/private key pair must exist beforehand. The public key " -"certificate must be .PEM encoded and match\n" -"\t\tthe given private key." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:41 -msgid "" -"\n" -"\t\tCreate a cluster role binding for a particular cluster role." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:38 -msgid "" -"\n" -"\t\tCreate a cluster role." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:46 -msgid "" -"\n" -"\t\tCreate a config map based on a file, directory, or specified literal " -"value.\n" -"\n" -"\t\tA single config map may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a config map based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key, you may " -"specify an alternate key.\n" -"\n" -"\t\tWhen creating a config map based on a directory, each file whose " -"basename is a valid key in the directory will be\n" -"\t\tpackaged into the config map. Any directory entries except regular " -"files are ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go:40 -msgid "" -"\n" -"\t\tCreate a cron job with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:40 -msgid "" -"\n" -"\t\tCreate a job with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:41 -msgid "" -"\n" -"\t\tCreate a new secret for use with Docker registries.\n" -"\n" -"\t\tDockercfg secrets are used to authenticate against Docker registries.\n" -"\n" -"\t\tWhen using the Docker command line to push images, you can authenticate " -"to a given registry by running:\n" -"\t\t\t'$ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -"password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -"\n" -"\tThat produces a ~/.dockercfg file that is used by subsequent 'docker push' " -"and 'docker pull' commands to\n" -"\t\tauthenticate to the registry. The email address is optional.\n" -"\n" -"\t\tWhen creating applications, you may have a Docker registry that requires " -"authentication. In order for the\n" -"\t\tnodes to pull images on your behalf, they must have the credentials. " -"You can provide this information\n" -"\t\tby creating a dockercfg secret and attaching it to your service account." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:41 -msgid "" -"\n" -"\t\tCreate a pod disruption budget with the specified name, selector, and " -"desired minimum available pods." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:40 -msgid "" -"\n" -"\t\tCreate a priority class with the specified name, value, globalDefault " -"and description." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:71 -msgid "" -"\n" -"\t\tCreate a resource from a file or from stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:41 -msgid "" -"\n" -"\t\tCreate a resource quota with the specified name, hard limits, and " -"optional scopes." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:40 -msgid "" -"\n" -"\t\tCreate a role binding for a particular role or cluster role." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:61 -msgid "" -"\n" -"\t\tCreate a secret based on a file, directory, or specified literal value.\n" -"\n" -"\t\tA single secret may package one or more key/value pairs.\n" -"\n" -"\t\tWhen creating a secret based on a file, the key will default to the " -"basename of the file, and the value will\n" -"\t\tdefault to the file content. If the basename is an invalid key or you " -"wish to chose your own, you may specify\n" -"\t\tan alternate key.\n" -"\n" -"\t\tWhen creating a secret based on a directory, each file whose basename is " -"a valid key in the directory will be\n" -"\t\tpackaged into the secret. Any directory entries except regular files are " -"ignored (e.g. subdirectories,\n" -"\t\tsymlinks, devices, pipes, etc)." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:67 -msgid "" -"\n" -"\t\tCreates a proxy server or application-level gateway between localhost " -"and\n" -"\t\tthe Kubernetes API server. It also allows serving static content over " -"specified\n" -"\t\tHTTP path. All incoming data enters through one port and gets forwarded " -"to\n" -"\t\tthe remote Kubernetes API server port, except for the path matching the " -"static content path." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:42 -msgid "" -"\n" -"\t\tCreates an autoscaler that automatically chooses and sets the number of " -"pods that run in a Kubernetes cluster.\n" -"\n" -"\t\tLooks up a deployment, replica set, stateful set, or replication " -"controller by name and creates an autoscaler that uses the given resource as " -"a reference.\n" -"\t\tAn autoscaler can automatically increase or decrease number of pods " -"deployed within the system as needed." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:57 -msgid "" -"\n" -"\t\tDebug cluster resources using interactive debugging containers.\n" -"\n" -"\t\t'debug' provides automation for common debugging tasks for cluster " -"objects identified by\n" -"\t\tresource and name. Pods will be used by default if no resource is " -"specified.\n" -"\n" -"\t\tThe action taken by 'debug' varies depending on what resource is " -"specified. Supported\n" -"\t\tactions include:\n" -"\n" -"\t\t* Workload: Create a copy of an existing pod with certain attributes " -"changed,\n" -"\t for example changing the image tag to a new version.\n" -"\t\t* Workload: Add an ephemeral container to an already running pod, for " -"example to add\n" -"\t\t debugging utilities without restarting the pod.\n" -"\t\t* Node: Create a new pod that runs in the node's host namespaces and can " -"access\n" -"\t\t the node's filesystem.\n" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:45 -msgid "" -"\n" -"\t\tDelete resources by file names, stdin, resources and names, or by " -"resources and label selector.\n" -"\n" -"\t\tJSON and YAML formats are accepted. Only one type of argument may be " -"specified: file names,\n" -"\t\tresources and names, or resources and label selector.\n" -"\n" -"\t\tSome resources, such as pods, support graceful deletion. These resources " -"define a default period\n" -"\t\tbefore they are forcibly terminated (the grace period) but you may " -"override that value with\n" -"\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -"Because these resources often\n" -"\t\trepresent entities in the cluster, deletion may not be acknowledged " -"immediately. If the node\n" -"\t\thosting a pod is down or cannot reach the API server, termination may " -"take significantly longer\n" -"\t\tthan the grace period. To force delete a resource, you must specify the " -"--force flag.\n" -"\t\tNote: only a subset of resources support graceful deletion. In absence " -"of the support,\n" -"\t\tthe --grace-period flag is ignored.\n" -"\n" -"\t\tIMPORTANT: Force deleting pods does not wait for confirmation that the " -"pod's processes have been\n" -"\t\tterminated, which can leave those processes running until the node " -"detects the deletion and\n" -"\t\tcompletes graceful deletion. If your processes use shared storage or " -"talk to a remote API and\n" -"\t\tdepend on the name of the pod to identify themselves, force deleting " -"those pods may result in\n" -"\t\tmultiple processes running on different machines using the same " -"identification which may lead\n" -"\t\tto data corruption or inconsistency. Only force delete pods when you are " -"sure the pod is\n" -"\t\tterminated, or if your application can tolerate multiple copies of the " -"same pod running at once.\n" -"\t\tAlso, if you force delete pods, the scheduler may place new pods on " -"those nodes before the node\n" -"\t\thas released those resources and causing those pods to be evicted " -"immediately.\n" -"\n" -"\t\tNote that the delete command does NOT do resource version checks, so if " -"someone submits an\n" -"\t\tupdate to a resource right when you submit a delete, their update will " -"be lost along with the\n" -"\t\trest of the resource." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:175 -msgid "" -"\n" -"\t\tDeny a certificate signing request.\n" -"\n" -"\t\tkubectl certificate deny allows a cluster admin to deny a certificate\n" -"\t\tsigning request (CSR). This action tells a certificate signing " -"controller to\n" -"\t\tnot to issue a certificate to the requestor.\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:53 -msgid "" -"\n" -"\t\tDiff configurations specified by file name or stdin between the current " -"online\n" -"\t\tconfiguration, and the configuration as it would be if applied.\n" -"\n" -"\t\tThe output is always YAML.\n" -"\n" -"\t\tKUBECTL_EXTERNAL_DIFF environment variable can be used to select your " -"own\n" -"\t\tdiff command. Users can use external commands with params too, example:\n" -"\t\tKUBECTL_EXTERNAL_DIFF=\"colordiff -N -u\"\n" -"\n" -"\t\tBy default, the \"diff\" command available in your path will be\n" -"\t\trun with the \"-u\" (unified diff) and \"-N\" (treat absent files as " -"empty) options.\n" -"\n" -"\t\tExit status:\n" -"\t\t 0\n" -"\t\tNo differences were found.\n" -"\t\t 1\n" -"\t\tDifferences were found.\n" -"\t\t >1\n" -"\t\tKubectl or diff failed with an error.\n" -"\n" -"\t\tNote: KUBECTL_EXTERNAL_DIFF, if used, is expected to follow that " -"convention." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top.go:39 -msgid "" -"\n" -"\t\tDisplay Resource (CPU/Memory) usage.\n" -"\n" -"\t\tThe top command allows you to see the resource consumption for nodes or " -"pods.\n" -"\n" -"\t\tThis command requires Metrics Server to be correctly configured and " -"working on the server. " -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:54 -msgid "" -"\n" -"\t\tDisplay merged kubeconfig settings or a specified kubeconfig file.\n" -"\n" -"\t\tYou can use --output jsonpath={...} to extract specific values using a " -"jsonpath expression." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:92 -msgid "" -"\n" -"\t\tDisplay one or many resources.\n" -"\n" -"\t\tPrints a table of the most important information about the specified " -"resources.\n" -"\t\tYou can filter the list using a label selector and the --selector flag. " -"If the\n" -"\t\tdesired resource type is namespaced you will only see results in your " -"current\n" -"\t\tnamespace unless you pass --all-namespaces.\n" -"\n" -"\t\tUninitialized objects are not shown unless --include-uninitialized is " -"passed.\n" -"\n" -"\t\tBy specifying the output as 'template' and providing a Go template as " -"the value\n" -"\t\tof the --template flag, you can filter the attributes of the fetched " -"resources." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:57 -msgid "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of nodes.\n" -"\n" -"\t\tThe top-node command allows you to see the resource consumption of nodes." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:67 -msgid "" -"\n" -"\t\tDisplay resource (CPU/memory) usage of pods.\n" -"\n" -"\t\tThe 'top pod' command allows you to see the resource consumption of " -"pods.\n" -"\n" -"\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -"minutes\n" -"\t\tsince pod creation." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/current_context.go:37 -msgid "" -"\n" -"\t\tDisplay the current-context." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:113 -msgid "" -"\n" -"\t\tDrain node in preparation for maintenance.\n" -"\n" -"\t\tThe given node will be marked unschedulable to prevent new pods from " -"arriving.\n" -"\t\t'drain' evicts the pods if the API server supports\n" -"\t\t[eviction](https://kubernetes.io/docs/concepts/workloads/pods/" -"disruptions/). Otherwise, it will use normal\n" -"\t\tDELETE to delete the pods.\n" -"\t\tThe 'drain' evicts or deletes all pods except mirror pods (which cannot " -"be deleted through\n" -"\t\tthe API server). If there are daemon set-managed pods, drain will not " -"proceed\n" -"\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -"\t\tdaemon set-managed pods, because those pods would be immediately " -"replaced by the\n" -"\t\tdaemon set controller, which ignores unschedulable markings. If there " -"are any\n" -"\t\tpods that are neither mirror pods nor managed by a replication " -"controller,\n" -"\t\treplica set, daemon set, stateful set, or job, then drain will not " -"delete any pods unless you\n" -"\t\tuse --force. --force will also allow deletion to proceed if the " -"managing resource of one\n" -"\t\tor more pods is missing.\n" -"\n" -"\t\t'drain' waits for graceful termination. You should not operate on the " -"machine until\n" -"\t\tthe command completes.\n" -"\n" -"\t\tWhen you are ready to put the node back into service, use kubectl " -"uncordon, which\n" -"\t\twill make the node schedulable again.\n" -"\n" -"\t\t![Workflow](https://kubernetes.io/images/docs/kubectl_drain.svg)" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:31 -msgid "" -"\n" -"\t\tEdit a resource from the default editor.\n" -"\n" -"\t\tThe edit command allows you to directly edit any API resource you can " -"retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tEditing is done with the API version used to fetch the resource.\n" -"\t\tTo edit using a specific API version, fully-qualify the resource, " -"version, and group.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_edit_last_applied.go:31 -msgid "" -"\n" -"\t\tEdit the latest last-applied-configuration annotations of resources from " -"the default editor.\n" -"\n" -"\t\tThe edit-last-applied command allows you to directly edit any API " -"resource you can retrieve via the\n" -"\t\tcommand-line tools. It will open the editor defined by your KUBE_EDITOR, " -"or EDITOR\n" -"\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' for " -"Windows.\n" -"\t\tYou can edit multiple objects, although changes are applied one at a " -"time. The command\n" -"\t\taccepts file names as well as command-line arguments, although the files " -"you point to must\n" -"\t\tbe previously saved versions of resources.\n" -"\n" -"\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -"\n" -"\t\tThe flag --windows-line-endings can be used to force Windows line " -"endings,\n" -"\t\totherwise the default for your operating system will be used.\n" -"\n" -"\t\tIn the event an error occurs while updating, a temporary file will be " -"created on disk\n" -"\t\tthat contains your unapplied changes. The most common error when " -"updating a resource\n" -"\t\tis another editor changing the resource on the server. When this occurs, " -"you will have\n" -"\t\tto apply your changes to the newer version of the resource, or update " -"your temporary\n" -"\t\tsaved copy to include the latest resource version." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:49 -msgid "" -"\n" -"\t\tExperimental: Wait for a specific condition on one or many resources.\n" -"\n" -"\t\tThe command takes multiple resources and waits until the specified " -"condition\n" -"\t\tis seen in the Status field of every given resource.\n" -"\n" -"\t\tAlternatively, the command can wait for the given set of resources to be " -"deleted\n" -"\t\tby providing the \"delete\" keyword as the value to the --for flag.\n" -"\n" -"\t\tA successful message will be printed to stdout indicating when the " -"specified\n" -" condition has been met. You can use -o option to change to output " -"destination." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:47 -msgid "" -"\n" -"\t\tExpose a resource as a new Kubernetes service.\n" -"\n" -"\t\tLooks up a deployment, service, replica set, replication controller or " -"pod by name and uses the selector\n" -"\t\tfor that resource as the selector for a new service on the specified " -"port. A deployment or replica set\n" -"\t\twill be exposed as a service only if its selector is convertible to a " -"selector that service supports,\n" -"\t\ti.e. when the selector contains only the matchLabels component. Note " -"that if no port is specified via\n" -"\t\t--port and the exposed resource has multiple ports, all will be re-used " -"by the new service. Also if no\n" -"\t\tlabels are specified, the new service will re-use the labels from the " -"resource it exposes.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:46 -msgid "" -"\n" -"\t\tList all available plugin files on a user's PATH.\n" -"\n" -"\t\tAvailable plugin files are those that are:\n" -"\t\t- executable\n" -"\t\t- anywhere on the user's PATH\n" -"\t\t- begin with \"kubectl-\"\n" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:35 -msgid "" -"\n" -"\t\tList the fields for supported resources.\n" -"\n" -"\t\tThis command describes the fields associated with each supported API " -"resource.\n" -"\t\tFields are identified via a simple JSONPath identifier:\n" -"\n" -"\t\t\t.[.]\n" -"\n" -"\t\tAdd the --recursive flag to display all of the fields at once without " -"descriptions.\n" -"\t\tInformation about each field is retrieved from the server in OpenAPI " -"format." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go:30 -msgid "" -"\n" -"\t\tManage the rollout of a resource." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:57 -msgid "" -"\n" -"\t\tMark the provided resource as paused.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller.\n" -"\t\tUse \"kubectl rollout resume\" to resume a paused resource.\n" -"\t\tCurrently only deployments support being paused." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:46 -msgid "" -"\n" -"\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -"\t\tThe shell code must be evaluated to provide interactive\n" -"\t\tcompletion of kubectl commands. This can be done by sourcing it from\n" -"\t\tthe .bash_profile.\n" -"\n" -"\t\tDetailed instructions on how to do this are available here:\n" -"\n" -" for macOS:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#enable-" -"shell-autocompletion\n" -"\n" -" for linux:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-" -"shell-autocompletion\n" -"\n" -" for windows:\n" -" https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/" -"#enable-shell-autocompletion\n" -"\n" -"\t\tNote for zsh users: [1] zsh completions are only supported in versions " -"of zsh >= 5.2." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:49 -msgid "" -"\n" -"\t\tPrint the logs for a container in a pod or specified resource. \n" -"\t\tIf the pod has only one container, the container name is optional." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:37 -msgid "" -"\n" -"\t\tProvides utilities for interacting with plugins.\n" -"\n" -"\t\tPlugins provide extended functionality that is not part of the major " -"command-line distribution.\n" -"\t\tPlease refer to the documentation and examples for more information " -"about how write your own plugins.\n" -"\n" -"\t\tThe easiest way to discover and install plugins is via the kubernetes " -"sub-project krew.\n" -"\t\tTo install krew, visit [krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/" -"user-guide/setup/install/)" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go:47 -msgid "" -"\n" -"\t\tRenames a context from the kubeconfig file.\n" -"\n" -"\t\tCONTEXT_NAME is the context name that you want to change.\n" -"\n" -"\t\tNEW_NAME is the new name you want to set.\n" -"\n" -"\t\tNote: If the context being renamed is the 'current-context', this field " -"will also be updated." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:48 -msgid "" -"\n" -"\t\tReplace a resource by file name or stdin.\n" -"\n" -"\t\tJSON and YAML formats are accepted. If replacing an existing resource, " -"the\n" -"\t\tcomplete resource spec must be provided. This can be obtained by\n" -"\n" -"\t\t $ kubectl get TYPE NAME -o yaml" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_restart.go:57 -msgid "" -"\n" -"\t\tRestart a resource.\n" -"\n" -"\t Resource rollout will be restarted." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:58 -msgid "" -"\n" -"\t\tResume a paused resource.\n" -"\n" -"\t\tPaused resources will not be reconciled by a controller. By resuming a\n" -"\t\tresource, we allow it to be reconciled again.\n" -"\t\tCurrently only deployments support being resumed." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:55 -msgid "" -"\n" -"\t\tRoll back to a previous rollout." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_cluster.go:47 -msgid "" -"\n" -"\t\tSet a cluster entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_context.go:44 -msgid "" -"\n" -"\t\tSet a context entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values for those fields." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:40 -msgid "" -"\n" -"\t\tSet a new size for a deployment, replica set, replication controller, or " -"stateful set.\n" -"\n" -"\t\tScale also allows users to specify one or more preconditions for the " -"scale action.\n" -"\n" -"\t\tIf --current-replicas or --resource-version is specified, it is " -"validated before the\n" -"\t\tscale is attempted, and it is guaranteed that the precondition holds " -"true when the\n" -"\t\tscale is sent to the server." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go:70 -#, c-format -msgid "" -"\n" -"\t\tSet a user entry in kubeconfig.\n" -"\n" -"\t\tSpecifying a name that already exists will merge new fields on top of " -"existing values.\n" -"\n" -"\t\t Client-certificate flags:\n" -"\t\t --%v=certfile --%v=keyfile\n" -"\n" -"\t\t Bearer token flags:\n" -"\t\t\t --%v=bearer_token\n" -"\n" -"\t\t Basic auth flags:\n" -"\t\t\t --%v=basic_user --%v=basic_password\n" -"\n" -"\t\tBearer token and basic auth are mutually exclusive." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:67 -#, c-format -msgid "" -"\n" -"\t\tSet the selector on a resource. Note that the new selector will " -"overwrite the old selector if the resource had one prior to the invocation\n" -"\t\tof 'set selector'.\n" -"\n" -"\t\tA selector must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\tIf --resource-version is specified, then updates will use this resource " -"version, otherwise the existing resource-version will be used.\n" -" Note: currently selectors can only be set on Service objects." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:39 -msgid "" -"\n" -"\t\tShow details of a specific resource or group of resources.\n" -"\n" -"\t\tPrint a detailed description of the selected resources, including " -"related resources such\n" -"\t\tas events or controllers. You may select a single object by name, all " -"objects of that\n" -"\t\ttype, provide a name prefix, or label selector. For example:\n" -"\n" -"\t\t $ kubectl describe TYPE NAME_PREFIX\n" -"\n" -"\t\twill first check for an exact match on TYPE and NAME_PREFIX. If no such " -"resource\n" -"\t\texists, it will output details for every resource that has a name " -"prefixed with NAME_PREFIX." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:47 -msgid "" -"\n" -"\t\tShow the status of the rollout.\n" -"\n" -"\t\tBy default 'rollout status' will watch the status of the latest rollout\n" -"\t\tuntil it's done. If you don't want to wait for the rollout to finish " -"then\n" -"\t\tyou can use --watch=false. Note that if a new rollout starts in-between, " -"then\n" -"\t\t'rollout status' will continue watching the latest revision. If you want " -"to\n" -"\t\tpin to a specific revision and abort if it is rolled over by another " -"revision,\n" -"\t\tuse --revision=N where N is the revision you need to watch for." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:41 -#, c-format -msgid "" -"\n" -"\t\tSpecify compute resource requirements (CPU, memory) for any resource " -"that defines a pod template. If a pod is successfully scheduled, it is " -"guaranteed the amount of resource requested, but may burst up to its " -"specified limits.\n" -"\n" -"\t\tFor each compute resource, if a limit is specified and a request is " -"omitted, the request will default to the limit.\n" -"\n" -"\t\tPossible resources include (case insensitive): %s." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go:50 -msgid "" -"\n" -"\t\tUpdate environment variables on a pod template.\n" -"\n" -"\t\tList environment variable definitions in one or more pods, pod " -"templates.\n" -"\t\tAdd, update, or remove container environment variable definitions in one " -"or\n" -"\t\tmore pod templates (within replication controllers or deployment " -"configurations).\n" -"\t\tView or modify the environment variable definitions on all containers in " -"the\n" -"\t\tspecified pods or pod templates, or just those that match a wildcard.\n" -"\n" -"\t\tIf \"--env -\" is passed, environment variables can be read from STDIN " -"using the standard env\n" -"\t\tsyntax.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:71 -msgid "" -"\n" -"\t\tUpdate existing container image(s) of resources.\n" -"\n" -"\t\tPossible resources include (case insensitive):\n" -"\t\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:78 -msgid "" -"\n" -"\t\tUpdate fields of a resource using strategic merge patch, a JSON merge " -"patch, or a JSON patch.\n" -"\n" -"\t\tJSON and YAML formats are accepted." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:83 -msgid "" -"\n" -"\t\tUpdate the annotations on one or more resources.\n" -"\n" -"\t\tAll Kubernetes objects support the ability to store additional data with " -"the object as\n" -"\t\tannotations. Annotations are key/value pairs that can be larger than " -"labels and include\n" -"\t\tarbitrary string values such as structured JSON. Tools and system " -"extensions may use\n" -"\t\tannotations to store their own data.\n" -"\n" -"\t\tAttempting to set an annotation that already exists will fail unless --" -"overwrite is set.\n" -"\t\tIf --resource-version is specified and does not match the current " -"resource version on\n" -"\t\tthe server the command will fail." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:87 -#, c-format -msgid "" -"\n" -"\t\tUpdate the labels on a resource.\n" -"\n" -"\t\t* A label key and value must begin with a letter or number, and may " -"contain letters, numbers, hyphens, dots, and underscores, up to %[1]d " -"characters each.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* If --overwrite is true, then existing labels can be overwritten, " -"otherwise attempting to overwrite a label will result in an error.\n" -"\t\t* If --resource-version is specified, then updates will use this " -"resource version, otherwise the existing resource-version will be used." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:70 -#, c-format -msgid "" -"\n" -"\t\tUpdate the taints on one or more nodes.\n" -"\n" -"\t\t* A taint consists of a key, value, and effect. As an argument here, it " -"is expressed as key=value:effect.\n" -"\t\t* The key must begin with a letter or number, and may contain letters, " -"numbers, hyphens, dots, and underscores, up to %[1]d characters.\n" -"\t\t* Optionally, the key can begin with a DNS subdomain prefix and a single " -"'/', like example.com/my-app.\n" -"\t\t* The value is optional. If given, it must begin with a letter or " -"number, and may contain letters, numbers, hyphens, dots, and underscores, up " -"to %[2]d characters.\n" -"\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -"\t\t* Currently taint can only apply to node." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:36 -msgid "" -"\n" -"\t\tView previous rollout revisions and configurations." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:47 -msgid "" -"\n" -"\t\tView the latest last-applied-configuration annotations by type/name or " -"file.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. You can use " -"the -o option\n" -"\t\tto change the output format." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:47 -msgid "" -"\n" -"\t # Create a new TLS secret named tls-secret with the given key pair\n" -"\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --key=path/" -"to/tls.key" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:74 -msgid "" -"\n" -"\t # Create a new secret named my-secret with keys for each file in folder " -"bar\n" -"\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -"\n" -"\t # Create a new secret named my-secret with specified keys instead of " -"names on disk\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-file=ssh-publickey=path/to/id_rsa.pub\n" -"\n" -"\t # Create a new secret named my-secret with key1=supersecret and " -"key2=topsecret\n" -"\t kubectl create secret generic my-secret --from-literal=key1=supersecret " -"--from-literal=key2=topsecret\n" -"\n" -"\t # Create a new secret named my-secret using a combination of a file and " -"a literal\n" -"\t kubectl create secret generic my-secret --from-file=ssh-privatekey=path/" -"to/id_rsa --from-literal=passphrase=topsecret\n" -"\n" -"\t # Create a new secret named my-secret from an env file\n" -"\t kubectl create secret generic my-secret --from-env-file=path/to/bar.env" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:45 -msgid "" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image\n" -"\tkubectl create deployment my-dep --image=busybox\n" -"\n" -"\t# Create a deployment with a command\n" -"\tkubectl create deployment my-dep --image=busybox -- date\n" -"\n" -"\t# Create a deployment named my-dep that runs the nginx image with 3 " -"replicas\n" -"\tkubectl create deployment my-dep --image=nginx --replicas=3\n" -"\n" -"\t# Create a deployment named my-dep that runs the busybox image and expose " -"port 5701\n" -"\tkubectl create deployment my-dep --image=busybox --port=5701" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:351 -msgid "" -"\n" -"\t# Create a new ExternalName service named my-ns\n" -"\tkubectl create service externalname my-ns --external-name bar.com" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:50 -msgid "" -"\n" -"\t# Set deployment nginx-deployment's service account to serviceaccount1\n" -"\tkubectl set serviceaccount deployment nginx-deployment serviceaccount1\n" -"\n" -"\t# Print the result (in YAML format) of updated nginx deployment with the " -"service account from local file, without hitting the API server\n" -"\tkubectl set sa -f nginx-deployment.yaml serviceaccount1 --local --dry-" -"run=client -o yaml\n" -"\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:42 -msgid "" -"\n" -"\tCreate a deployment with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:61 -msgid "" -"\n" -"\tCreate an ingress with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/set.go:44 -msgid "" -"\n" -"\tSet an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots.\n" -"\n" -"\tPROPERTY_VALUE is the new value you want to set. Binary fields such as " -"'certificate-authority-data' expect a base64 encoded string unless the --set-" -"raw-bytes flag is used.\n" -"\n" -"\tSpecifying an attribute name that already exists will merge new fields on " -"top of existing values." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/unset.go:39 -msgid "" -"\n" -"\tUnset an individual value in a kubeconfig file.\n" -"\n" -"\tPROPERTY_NAME is a dot delimited name where each token represents either " -"an attribute name or a map key. Map keys may not contain dots." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:43 -msgid "" -"\n" -"\tUpdate the service account of pod template resources.\n" -"\n" -"\tPossible resources (case insensitive) can be:\n" -"\n" -"\t" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go:40 -msgid "" -"\n" -"\tUpdate the user, group, or service account in a role binding or cluster " -"role binding." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:68 -msgid "" -"\n" -" \tpod (po), replicationcontroller (rc), deployment (deploy), daemonset " -"(ds), replicaset (rs)" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:63 -msgid "" -"\n" -" Forward one or more local ports to a pod.\n" -"\n" -" Use resource type/name such as deployment/mydeployment to " -"select a pod. Resource type defaults to 'pod' if omitted.\n" -"\n" -" If there are multiple pods matching the criteria, a pod will " -"be selected automatically. The\n" -" forwarding session ends when the selected pod terminates, " -"and a rerun of the command is needed\n" -" to resume forwarding." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:233 -msgid "" -"\n" -" # Create a new ClusterIP service named my-cs\n" -" kubectl create service clusterip my-cs --tcp=5678:8080\n" -"\n" -" # Create a new ClusterIP service named my-cs (in headless mode)\n" -" kubectl create service clusterip my-cs --clusterip=\"None\"" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:274 -msgid "" -"\n" -" # Create a new NodePort service named my-ns\n" -" kubectl create service nodeport my-ns --tcp=5678:8080" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:95 -msgid "" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend'\n" -" # If the same annotation is set multiple times, only the last value will " -"be applied\n" -" kubectl annotate pods foo description='my frontend'\n" -"\n" -" # Update a pod identified by type and name in \"pod.json\"\n" -" kubectl annotate -f pod.json description='my frontend'\n" -"\n" -" # Update pod 'foo' with the annotation 'description' and the value 'my " -"frontend running nginx', overwriting any existing value\n" -" kubectl annotate --overwrite pods foo description='my frontend running " -"nginx'\n" -"\n" -" # Update all pods in the namespace\n" -" kubectl annotate pods --all description='my frontend running nginx'\n" -"\n" -" # Update pod 'foo' only if the resource is unchanged from version 1\n" -" kubectl annotate pods foo description='my frontend running nginx' --" -"resource-version=1\n" -"\n" -" # Update pod 'foo' by removing an annotation named 'description' if it " -"exists\n" -" # Does not require the --overwrite flag\n" -" kubectl annotate pods foo description-" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:230 -msgid "" -"\n" -" Create a ClusterIP service with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:271 -msgid "" -"\n" -" Create a NodePort service with the specified name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:93 -msgid "" -"\n" -" Dump cluster information out suitable for debugging and diagnosing " -"cluster problems. By default, dumps everything to\n" -" stdout. You can optionally specify a directory with --output-directory. " -"If you specify a directory, Kubernetes will\n" -" build a set of files in that directory. By default, only dumps things " -"in the current namespace and 'kube-system' namespace, but you can\n" -" switch to a different namespace with the --namespaces flag, or specify --" -"all-namespaces to dump all namespaces.\n" -"\n" -" The command also dumps the logs of all of the pods in the cluster; these " -"logs are dumped into different directories\n" -" based on namespace and pod name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:40 -msgid "" -"\n" -" Display addresses of the control plane and services with label kubernetes." -"io/cluster-service=true.\n" -" To further debug and diagnose cluster problems, use 'kubectl cluster-info " -"dump'." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:49 -msgid "" -" environment variable is set, then it is used as a list of paths (normal " -"path delimiting rules for your system). These paths are merged. When a value " -"is modified, it is modified in the file that defines the stanza. When a " -"value is created, it is created in the first file that exists. If no files " -"in the chain exist, then it creates the last file in the list.\n" -"\t\t\t3. Otherwise, " -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:48 -msgid "" -" flag is set, then only that file is loaded. The flag may only be set once " -"and no merging takes place.\n" -"\t\t\t2. If $" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:50 -msgid " is used and no merging takes place." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:178 -msgid "Allocate a TTY for the debugging container." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:173 -msgid "Annotations to apply to the pod." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go:173 -msgid "Apply a configuration to a resource by file name or stdin" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:106 -msgid "" -"Attach to a process that is already running inside an existing container." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:107 -msgid "" -"Auto-scale a deployment, replica set, stateful set, or replication controller" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:32 -msgid "Commands for features in alpha" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:170 -msgid "Container image to use for debug container." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:166 -msgid "Container name to use for debug container." -msgstr "" - -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:105 -msgid "Copy files and directories to and from containers" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:248 -msgid "Create a ClusterIP service" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:323 -msgid "Create a LoadBalancer service" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:286 -msgid "Create a NodePort service" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrole.go:81 -msgid "Create a cluster role" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:87 -msgid "Create a cluster role binding for a particular cluster role" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_configmap.go:124 -msgid "Create a config map from a local file, directory or literal value" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:167 -msgid "Create a copy of the target Pod with this name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_cronjob.go:90 -msgid "Create a cron job with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_deployment.go:100 -msgid "Create a deployment with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_job.go:91 -msgid "Create a job with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:95 -msgid "Create a pod disruption budget with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:92 -msgid "Create a priority class with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:91 -msgid "Create a quota with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create.go:106 -msgid "Create a resource from a file or from stdin" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:89 -msgid "Create a role binding for a particular role or cluster role" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:161 -msgid "Create a role with single rule" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:137 -msgid "Create a secret from a local file, directory, or literal value" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:50 -msgid "Create a secret using specified subcommand." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:48 -msgid "Create a service using a specified subcommand" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:49 -msgid "Create a service using a specified subcommand." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:363 -msgid "Create an ExternalName service" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go:145 -msgid "Create an ingress with the specified name" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:60 -msgid "Create and run a particular image in a pod." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:149 -msgid "Create debugging sessions for troubleshooting workloads and nodes" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go:137 -msgid "" -"Delete resources by file names, stdin, resources and names, or by resources " -"and label selector" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:43 -msgid "Delete the specified cluster from the kubeconfig." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:43 -msgid "Delete the specified context from the kubeconfig." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_user.go:64 -msgid "Delete the specified user from the kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_user.go:65 -msgid "Delete the specified user from the kubeconfig." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/diff/diff.go:142 -msgid "Diff the live version against a would-be applied version" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo.go:65 -msgid "Display cluster information" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:42 -msgid "Display clusters defined in the kubeconfig." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:50 -msgid "Display one or many contexts from the kubeconfig file." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top.go:50 -msgid "Display resource (CPU/memory) usage" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:81 -msgid "Display resource (CPU/memory) usage of nodes" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:100 -msgid "Display resource (CPU/memory) usage of pods" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/current_context.go:51 -msgid "Display the current-context" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_users.go:60 -msgid "Display users defined in the kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_users.go:61 -msgid "Display users defined in the kubeconfig." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:74 -msgid "Dump relevant information for debugging and diagnosis" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_edit_last_applied.go:67 -msgid "Edit latest last-applied-configuration annotations of a resource/object" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:169 -msgid "Environment variables to set in the container." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:90 -msgid "Execute a command in a container." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/wait/wait.go:115 -msgid "Experimental: Wait for a specific condition on one or many resources" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:378 -msgid "External name of service" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:79 -msgid "Get documentation for a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:151 -msgid "" -"IP to assign to the LoadBalancer. If empty, an ephemeral IP will be created " -"and used (cloud-provider specific)." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:164 -msgid "" -"If specified, everything after -- will be passed to the new container as " -"Args instead of Command." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:198 -msgid "If true, run the container in privileged mode." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:174 -msgid "If true, suppress informational messages." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:165 -msgid "" -"If true, wait for the container to start running, and then attach as if " -"'kubectl attach ...' were called. Default false, unless '-i/--stdin' is " -"set, in which case the default is true." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:173 -msgid "" -"Keep stdin open on the container(s) in the pod, even if nothing is attached." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:90 -msgid "List all visible plugin executables on a user's PATH" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go:54 -msgid "Manage the rollout of a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:43 -msgid "No alpha commands are available in this version of kubectl" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "" - -#: pkg/kubectl/cmd/convert/convert.go:105 -msgid "" -"Output the formatted object with the given group version (for ex: " -"'extensions/v1beta1')." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:74 -msgid "" -"Print the client and server version information for the current context." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:97 -msgid "Print the supported API resources on the server" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go:98 -msgid "Print the supported API resources on the server." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:58 -msgid "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:59 -msgid "" -"Print the supported API versions on the server, in the form of \"group/" -"version\"." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go:62 -msgid "Provides utilities for interacting with plugins" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/rename_context.go:45 -msgid "Rename a context from the kubeconfig file" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/replace/replace.go:115 -msgid "Replace a resource by file name or stdin" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_restart.go:87 -msgid "Restart a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_cluster.go:73 -msgid "Set a cluster entry in kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_context.go:61 -msgid "Set a context entry in kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:114 -msgid "Set a new size for a deployment, replica set, or replication controller" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go:152 -msgid "Set a user entry in kubeconfig" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/set.go:74 -msgid "Set an individual value in a kubeconfig file" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/use_context.go:52 -msgid "Set the current-context in a kubeconfig file" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:101 -msgid "" -"Set the last-applied-configuration annotation on a live object to match the " -"contents of a file" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:134 -msgid "" -"Take a replication controller, service, deployment or pod and expose it as a " -"new Kubernetes service" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:172 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:112 -msgid "" -"The maximum number or percentage of unavailable pods this budget requires." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:182 -msgid "The port that this container exposes." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:190 -msgid "" -"The restart policy for this Pod. Legal values [Always, OnFailure, Never]." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/alpha.go:33 -msgid "" -"These commands correspond to alpha features that are not enabled in " -"Kubernetes clusters by default." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:150 -msgid "" -"Type for this service: ClusterIP, NodePort, LoadBalancer, or ExternalName. " -"Default is 'ClusterIP'." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/unset.go:59 -msgid "Unset an individual value in a kubeconfig file" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_env.go:154 -msgid "Update environment variables on a pod template" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go:115 -msgid "Update fields of a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go:110 -msgid "Update the image of a pod template" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:102 -msgid "Update the service account of a resource" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go:99 -msgid "" -"Update the user, group, or service account in a role binding or cluster role " -"binding" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_view_last_applied.go:77 -msgid "" -"View the latest last-applied-configuration annotations of a resource/object" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:171 -msgid "" -"When used with '--copy-to', a list of name=image pairs for changing " -"container images, similar to how 'kubectl set image' works." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:168 -msgid "When used with '--copy-to', delete the original Pod." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:176 -msgid "" -"When used with '--copy-to', enable process namespace sharing in the copy." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:175 -msgid "" -"When used with '--copy-to', schedule the copy of target Pod on the same node." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go:177 -msgid "" -"When using an ephemeral container, target processes in this container name." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:108 -msgid "" -"description is an arbitrary string that usually provides guidelines on when " -"this priority class should be used." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:107 -msgid "" -"global-default specifies whether this PriorityClass should be considered as " -"the default priority." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:45 -msgid "" -"pod (po), service (svc), replicationcontroller (rc), deployment (deploy), " -"replicaset (rs)" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:109 -msgid "" -"preemption-policy is the policy for preempting pods with lower priority." -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go:41 -msgid "" -"replicationcontroller (rc), deployment (deploy), daemonset (ds), job, " -"replicaset (rs), statefulset" -msgstr "" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go:106 -msgid "the value of this priority class." -msgstr "" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.mo deleted file mode 100644 index 68c526d19a8c5208ff442423358902a7ebed51b2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18814 zcmeI3d5|1eeaBlI4%&c;xx&pe23CTd(P50`H8SYLvL$(~!$8c{JJY*6cxHOsJtJvN zQYFc@w6czsjSlMoEG!?ft(A-qB(08AfRHLul~6^hQv8twvOTkMlA=-+eqyA&fop}_0!+K?G1Y!etlf;=UV=H$Jqw{@m2iA@3A*I&VAq! z@I~-Yzz=}G25aCo?>6h)3TC)J16~il z0?q|L_#Ve$O6N}SXgny{1fkU zoSED&1EpOEGL-W$sK95z8Q@=mY{mHv_%-m&Fz*mp0{4T{>CBRyBOpUNr@@bae+%-* z`49eL%g(!Dg3xO=7=n+03&E>CP z8Tc{qUqPYwJFYeB?gp>pJ_qv3*$RprJPqCi{@C76gIKa}1xovFa5MN7@K*2_pp5@< zUV7l2U<7_2TmpWJ&AQ+}fj;Ar zH7NZ3AjA~9&3pyIegly&|9 zRA2Q)0{@8n9QX_H9JmsE45F?Ae+B*oT)5P6o&m4^oZ0^=i$4Qp-d}-2ugtB+ zt}O#a4vH2Z1>ed255Ye0=b-4zf@OvdYr$#UPv_#5{)xT4&i-3K=&iUAUFR)aU*nQr z-azuV$QRqx`DDv)dT)|Rr0DqAs4DXKTvM5sLFoc3w48gYQ0{r zT2xiPqMvq5+D-Kr)_G;qNQQ3jsaD>xc*$2+E?BWdroK*n&a0~GfT!|)u2%BORkvF3 z%gXQ54+AgsYeCLaZaJ?CRaRE;ig{U5Jgm2&QgjPtRq=T|^?{xFu^n!I>ptwS5sac?#)Pg|T$O^m-)zm6&)AWL*Ls+X+{6Lnopl4Y!UaFs4 zDP-blOy>!CF9c<8hBscHTPs#o*)4ft#m#xC;Y1>6YiNJTk*sh`K90&{l3C`9l&tPq zuxQC-qg!EP{zO8Wth#uSs^^ZyTJ)GD)sBV}D1Z=C6Cv;Q!FtW!qTB1C7A${$X>hsR zOfX5NwS~}lkza=7nu~pfe#Ecng{s%9uJ=%te4($;(@aitEUOm!)dBUz1uK>_fXM%C ztM6DTa#3JEmhw)_=S!x$E1Zb}x40b6rd+n;_$`#&L zYSk`HH)x@kSE%x|>f1>e6b-SW66=nkLnhJaNROY(f>p+2UX}*p+!G7R|tf}<;=e6RK*;H#&(K? zWwq?VXACJeBC#1$%+>43(6ve)@}jsQ6!mNU1FADN>axT^mFZKTmKkp8RO@LJ)XH7V zC8QEg>+Uj+TOL$s3dXbI24-c#A;0(Q$h>ey+}omrm)`mmKZSXDRT^yC9BCdeBWF4_ z*`IDW(ZKC&O@_BGGM3*HOk!Ka0>MmeeV8xaL|HA_Q1ybcTU^Qd;gu1l$%F{&Fk$<^ z(`F}!ses2Q3I0Wosur(Yt=xPbjtV=&s^{imc*k_V3|qt|cB%CP1w=wCB9Q{IgBGit z6{Z?I3iPnaB=ItFi`4k25V8jw33s~`fg?XxZ`wHzdLb)h5@RUNE&33qkxyDP3}G}geF&M)in`fAvh zyobv#hD@vYwTaMj-_0*{i*7lG+{Fw?*j?-mb*DB#irW?G+#7d>(=^8+Rdbd3H+<^G zdEN77&zl`jy0})Vs9YQa7^-0F#4fRDWAs|5GHo)2a-XmA^zN|BpL(QOLWfyZf0m_u zM$a+z$gJ5|&P?K8=1($CdJQ_TL~eB;p=IQ9w!vg{Z0ae&o?(mL7oi=N4sVs{svdZf z)kw#LHSP3bqSPSP@pMV^OgM;8mM(wWhKaG(stILgGNpAE7?I56y<(xH!%MrxduteK z9D!dE#T8X5p)5M`G0%Uh-|XaL$HDOYduwjFTBxG!Zb1}T zrZI64{&2tz@=C8thB7fx=oNK{Az~@cR@AaOfLrLTRVAbliPa$!OSE{hv8A2q>^O=}F45X%8ve3T3FX<612As6{vsCReRPm~-pWx~g*kM@ZxzcJkT~7yjX&Vsp;uGnu_w6%Ewv zAZXEZiiqe0(rL~@1L2Eag&~OSF_Grwp34@DT*_FrsxKxGXILeqzi5dxvGEEDYS){d!_BLs}}p1OVQzeqLX0oqUJRT=~L-U zSnIWsL%Qi@1^3QkOs4p8VS18ISpRGGEw8kr(xLh!9ZX?hk`4q$Q!Bw@FU$o6u+LNJ?0Gm+fHs=L$=){E)@1_STYZ-@r1{Y4pZG;NmC3tbwS9%&7^Fh zwlG@Zu>h>m?W4>fF4wru#1hD`qOv!uqSucb!RTSWx~*yIQk{!*6=_*dXWIm_>1JAI z^DPsy>p(uN;Syj~L27NrR7;mQ+KlPf%<-YKG>A>S_UOh0uOFa}VT5>46a+Q{lKR>L zUUq`D>A(SRp!2~0vvsv((5d{{X?f9-TANow3Y&_E(Tod~At94EIA?`VVF%Sod7!uz zX3V~A(}B=gDH$DvF4sy#0*Ne$fW?BG2qfGfER%J_?#P;OV@DF5V4W2K)S`O zquGYltOaGHmjb5SN2(<(i>srOm#Z18mM*&f`s;6+nN^ET^~DG{nUVCe(Uw+)KH+xG z%Tx=jeU`aFBL~I32`QLUSBvm49^KKd3YJe~J}2s&$a`W0O}iNci3GBNx-T4<>Ga?z z*ZXLnG;dQ~agIn})dpm=HA!91k`>A;%OrVKsr3@Dse8N@mSmH*)RNZ8zNGUm4dgCj0zGwm5*_Q}wn#k|eYFN{i4$(L2?%YH zA|%y+>UuT!B{Ldh7U~8@lWZO%7P+}IUD&o20aN=*v?XCY@-7$JR9itkG~ESqXmk&;ElN5q>B zBx$b`hN9O;)kV@A$qy1q(y1cQMj-3`%WZ*k?HN^tx!fR&XbN7AO<4x_^hQNML_bUp=<7}7GNQ`h1kt;wx4mq|Kw z8|gAPvES0SxiS`FNX}OXp9(Xstm@}{6B-G9;>p=8WU*{$9c;~_9y^NmPm{SLEh+3c ztBCh0JvU?3SWTEg!UjI(`S=U+#6E?`jd`cnnKZQ$BeeokgorJ$b z70;wh7>Srv*lK2PR@A%r5=RzD;aXQpR3Kj)te8)@7n_z|_HO2+b~E>ePrdrxBoqGD z`_Xk(G{xprNQ@B|XKgtzMG2zybp;>e7hAoxCgy9Q11WhpOVcWCn2iI*>nKWZQYrRA z$MzP=H{)B~DP^%!jclOVYSB~gB{PT7;tgyPB$2)T`0cDkDiW*I=2hCmj=KtcT(DbI zSXlYu=6qh;2uOmp=Zl$^7ybPY*~3Vg{2o#5%ydey#3vs8C5sH7{RQg_|{K{84jm>YhF46BN8>cPy8WQ)^I@5H9;cx4MszuK()= z_v`HN)2W-!=G;OK=b6tI{9EW&?yuozGHX1y)UA?x>EE$p*@`92_0P%9?pP$LZJCMq z6wr-KZK%%D2MBJK?|}h1+5EL@mS*NP+sT3`h-8*X9Ep+YR`Yrb)s8P@K4&UrveF*k zlbmyIc6RoYyfL?#)%xhdA~S5aGUN6X`Qld0V4O-gigHEYhV$p%%x4gJGk-=|-J<5q zyt#wV9s1K%{n2xcqo?cJHr5YsGeW7xPCnE)_&|Nf*7{>xb*q@W?Z-20-yK_{k%PML zrMtGD&lunJ{b+dK_)8DePw$R~ABrA)IXbq#KJt<*VBgmIk;hp;JpILoG19$RFUz>R z-V-0Y7(e&TXsabf^zhlS(W8ygr|R3zvlbKFrqr^Sc)w+}Sugf}DA`{N@O!he0FqW;*K=*+M_YcPKPz}U%WjA)IGJ~8nTiu%yL@r@7aV-#a&53?H) zkO!aWQqifGFKj$GetxU^<;Fe6+&7CSoE3t%c3siX38M{0j##~2go>WrT>tjr#-R~Z z+q|rQ?+BVd{@rIy4>LPMvGKZ=$*$C(hc`yMcQKsls`qqZ^wIH=qp}-)GQvz`6=LXw zbvIcR4Iih?*xB=qJx{kBl^8oeQr~mRtjKh0E>{#J8afn>o*p~75z3{c9Aa37-@UW( z)Cu`|Ynw(p_tILQiqNdb9hu`1>5Qi+{P?D^Q%{Z`|9<`X&HvM9C9r9B>hrtDkL(ybc}zS-Qq7A`B5*XrR3rb_ z4^6~pB%;%M#*aT?Op{8Tq0pZ`F4^eSq$^HzbZ0d5vOOIk$x7@pd!hxgdvj!&Bg9OQZCJ4B!rkbKugq-^JM;fEwnp7F;!^7j} zt-z9wMMn=x>Lcu+bLiN_Ul&DmMOY=PqW&>w7+Xf#2xdtKD>ME+#ykd;JAEdaz@8Av?-XW zI+K(^`-h$MJNc^1@d=3*Zhy^ZC!`W& zk4dQUk#iJO+gws(+o|Z>Cda&Ms;}%MJ~-X#qs;e+M9*zO)f}Ek6DCyS$Dgd<|6uG= z<8N!Uu_j^i;}bS^(ADelCpQ_Y(D8z%5>ZfG*ESF8+qdzVqj79sWA76bLv)4rt3bw?OVv$W+IYsPQ<^<7T;F@* z!q(x&fpa9@_2YXey24u7viTIC%gOf0ykgaa-V&Ni0hPrtM19{06ClwiI(};W`6HKn zZ#QGg$Y!x@NtdjR^_1ytj=l2*w#eShRxqok9NawlAk&(9u2AK|)*bRuYA(Y5%;X0k zBzA2%cR+JnFE+*d=_fe8_SXv<4{CW(fhO&@zOOw#RS z1;^4mj2CI>pRAfWT9-mxC?RN4UY6i=L-DAN@ue3`MxhF$1zhMgdF;V>Q)ZvGCZ>O8d z3o0%dCT2sQ$`4gmjh)*LZ|$LtiH0L>93xiCE-K9hkpWNJbP9qTvNn%vv`O)ax+s*Qw`Xfg#>_I9XLN@Bp z9f4=@SAQ|mMlI!`xPj!<0uuTVkvR(7)Vg@j_Sl1C-W!QaTCv&jryjTO7~fcJ$rQ+r`KQ1b#A5M9gp}y-WNs&{oEk4H3 L7&+3|y~X)&Kgk*d diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po deleted file mode 100644 index a8314bb8..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_CN/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,3287 +0,0 @@ -# Test translations for unit tests. -# Copyright (C) 2017 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR shiywang@redhat.com, 2017. -# FIRST AUTHOR zhengjiajin@caicloud.io, 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: gettext-go-examples-hello\n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2017-11-11 19:01+0800\n" -"Last-Translator: zhengjiajin \n" -"Language-Team: \n" -"Language: zh\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.4\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go:62 -msgid "" -"\n" -"\t\t # Show metrics for all nodes\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # Show metrics for a given node\n" -"\t\t kubectl top node NODE_NAME" -msgstr "" -"\n" -"\t\t # 显示所有 nodes 上的指标\n" -"\t\t kubectl top node\n" -"\n" -"\t\t # 显示指定 node 上的指标\n" -"\t\t kubectl top node NODE_NAME" - -#: staging/src/k8s.io/kubectl/pkg/cmd/explain/explain.go:46 -msgid "" -"\n" -"\t\t# Get the documentation of the resource and its fields\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# Get the documentation of a specific field of a resource\n" -"\t\tkubectl explain pods.spec.containers" -msgstr "" -"\n" -"\t\t# 获取资源及其字段的文档\n" -"\t\tkubectl explain pods\n" -"\n" -"\t\t# 获取资源指定字段的文档\n" -"\t\tkubectl explain pods.spec.containers" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:29 -msgid "" -"\n" -"\t\t# Print flags inherited by all commands\n" -"\t\tkubectl options" -msgstr "" -"\n" -"\t\t# 输出所有命令继承的 flags\n" -"\t\tkubectl options" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:44 -msgid "" -"\n" -"\t\t# Print the client and server versions for the current context\n" -"\t\tkubectl version" -msgstr "" -"\n" -"\t\t# 输出当前 client 和 server 版本\n" -"\t\tkubectl version" - -#: staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiversions.go:34 -msgid "" -"\n" -"\t\t# Print the supported API versions\n" -"\t\tkubectl api-versions" -msgstr "" -"\n" -"\t\t# 输出支持的 API 版本\n" -"\t\tkubectl api-versions" - -#: staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go:75 -msgid "" -"\n" -"\t\t# Show metrics for all pods in the default namespace\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# Show metrics for all pods in the given namespace\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# Show metrics for a given pod and its containers\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# Show metrics for the pods defined by label name=myLabel\n" -"\t\tkubectl top pod -l name=myLabel" -msgstr "" -"\n" -"\t\t# 显示 default namespace 下所有 pods 下的 metrics\n" -"\t\tkubectl top pod\n" -"\n" -"\t\t# 显示指定 namespace 下所有 pods 的 metrics\n" -"\t\tkubectl top pod --namespace=NAMESPACE\n" -"\n" -"\t\t# 显示指定 pod 和它的容器的 metrics\n" -"\t\tkubectl top pod POD_NAME --containers\n" -"\n" -"\t\t# 显示指定 label 为 name=myLabel 的 pods 的 metrics\n" -"\t\tkubectl top pod -l name=myLabel" - -#: pkg/kubectl/cmd/convert/convert.go:40 -msgid "" -"\n" -"\t\tConvert config files between different API versions. Both YAML\n" -"\t\tand JSON formats are accepted.\n" -"\n" -"\t\tThe command takes filename, directory, or URL as input, and convert it " -"into format\n" -"\t\tof version specified by --output-version flag. If target version is not " -"specified or\n" -"\t\tnot supported, convert to latest version.\n" -"\n" -"\t\tThe default output will be printed to stdout in YAML format. One can use " -"-o option\n" -"\t\tto change to output destination." -msgstr "" -"\n" -"\t\t在不同的 API versions 转换配置文件. 接受 YAML\n" -"\t\t和 JSON 格式.\n" -"\n" -"\t\t这个命令以 filename, directory, 或者 URL 作为输入, 并通过 —output-" -"version flag\n" -"\t\t 转换到指定版本的格式. 如果目标版本没有被指定或者\n" -"\t\t不支持, 转换到最后的版本.\n" -"\n" -"\t\t默认以 YAML 格式输出到 stdout. 可以使用 -o option\n" -"\t\t修改目标输出的格式." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:39 -msgid "" -"\n" -"\t\tCreate a namespace with the specified name." -msgstr "" -"\n" -"\t\t创建一个 namespace 并指定名称." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go:43 -msgid "" -"\n" -"\t\tCreate a role with single rule." -msgstr "" -"\n" -"\t\t创建单一 rule 的 role." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:40 -msgid "" -"\n" -"\t\tCreate a service account with the specified name." -msgstr "" -"\n" -"\t\t创建一个指定名称的 service account." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:84 -msgid "" -"\n" -"\t\tMark node as schedulable." -msgstr "" -"\n" -"\t\t标记 node 为 schedulable." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:55 -msgid "" -"\n" -"\t\tMark node as unschedulable." -msgstr "" -"\n" -"\t\t标记 node 为 unschedulable." - -#: staging/src/k8s.io/kubectl/pkg/cmd/apply/apply_set_last_applied.go:70 -msgid "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." -msgstr "" -"\n" -"\t\tSet the latest last-applied-configuration annotations by setting it to " -"match the contents of a file.\n" -"\t\tThis results in the last-applied-configuration being updated as though " -"'kubectl apply -f ' was run,\n" -"\t\twithout updating any other parts of the object." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:42 -msgid "" -"\n" -"\t # Create a new namespace named my-namespace\n" -"\t kubectl create namespace my-namespace" -msgstr "" -"\n" -"\t # 创建一个名称为 my-namespace 的 namespace\n" -"\t kubectl create namespace my-namespace" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:43 -msgid "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" -msgstr "" -"\n" -"\t # Create a new service account named my-service-account\n" -"\t kubectl create serviceaccount my-service-account" - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:344 -msgid "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." -msgstr "" -"\n" -"\tCreate an ExternalName service with the specified name.\n" -"\n" -"\tExternalName service references to an external DNS address instead of\n" -"\tonly pods, which will allow application authors to reference services\n" -"\tthat exist off platform, on other clusters, or locally." - -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:28 -msgid "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." -msgstr "" -"\n" -"\tHelp provides help for any command in the application.\n" -"\tSimply type kubectl help [path to command] for full details." - -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:311 -msgid "" -"\n" -" # Create a new LoadBalancer service named my-lbs\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" -msgstr "" -"\n" -" # 创建一个名称为 my-lbs 的 LoadBalancer service\n" -" kubectl create service loadbalancer my-lbs --tcp=5678:8080" - -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:102 -msgid "" -"\n" -" # Dump current cluster state to stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # Dump current cluster state to /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # Dump all namespaces to stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # Dump a set of namespaces to /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" -msgstr "" -"\n" -" # 导出当前的集群状态信息到 stdout\n" -" kubectl cluster-info dump\n" -"\n" -" # 导出当前的集群状态 /path/to/cluster-state\n" -" kubectl cluster-info dump --output-directory=/path/to/cluster-state\n" -"\n" -" # 导出所有分区到 stdout\n" -" kubectl cluster-info dump --all-namespaces\n" -"\n" -" # 导出一组分区到 /path/to/cluster-state\n" -" kubectl cluster-info dump --namespaces default,kube-system --output-" -"directory=/path/to/cluster-state" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:308 -msgid "" -"\n" -" Create a LoadBalancer service with the specified name." -msgstr "" -"\n" -" 使用一个指定的名称创建一个 LoadBalancer service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L61 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:107 -msgid "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." -msgstr "" -"A comma-delimited set of quota scopes that must all match each object " -"tracked by the quota." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L60 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go:106 -msgid "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." -msgstr "" -"A comma-delimited set of resource=quantity pairs that define a hard limit." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L63 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:113 -msgid "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." -msgstr "" -"A label selector to use for this budget. Only equality-based selector " -"requirements are supported." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L106 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:152 -msgid "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" -msgstr "" -"A label selector to use for this service. Only equality-based selector " -"requirements are supported. If empty (the default) infer the selector from " -"the replication controller or replica set.)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L111 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:157 -msgid "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." -msgstr "" -"Additional external IP address (not managed by Kubernetes) to accept for the " -"service. If this IP is routed to a node, the service can be accessed by this " -"IP in addition to its generated service IP." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L119 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:158 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:178 -msgid "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." -msgstr "" -"An inline JSON override for the generated object. If this is non-empty, it " -"is used to override the generated object. Requires that the object supply a " -"valid apiVersion field." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:125 -msgid "Approve a certificate signing request" -msgstr "同意一个自签证书请求" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_service.go:263 -msgid "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." -msgstr "" -"Assign your own ClusterIP or set to 'None' for a 'headless' service (no " -"loadbalancing)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/attach.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/attach/attach.go:105 -msgid "Attach to a running container" -msgstr "Attach 到一个运行中的 container" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L115 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:161 -msgid "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." -msgstr "" -"ClusterIP to be assigned to the service. Leave empty to auto-allocate, or " -"set to 'None' to create a headless service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_clusterrolebinding.go:101 -msgid "ClusterRole this ClusterRoleBinding should reference" -msgstr "ClusterRoleBinding 应该指定 ClusterRole" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L55 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:104 -msgid "ClusterRole this RoleBinding should reference" -msgstr "RoleBinding 应该指定 ClusterRole" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/convert.go#L67 -#: pkg/kubectl/cmd/convert/convert.go:95 -msgid "Convert config files between different API versions" -msgstr "在不同的 API versions 转换配置文件" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cp.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/cp/cp.go:106 -msgid "Copy files and directories to and from containers." -msgstr "" -"复制 files 和 directories 到 containers 和从容器中复制 files 和 directories." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L214 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:94 -msgid "Create a TLS secret" -msgstr "创建一个 TLS secret" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_namespace.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_namespace.go:83 -msgid "Create a namespace with the specified name" -msgstr "创建一个指定名称的 namespace" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L143 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:134 -msgid "Create a secret for use with a Docker registry" -msgstr "创建一个给 Docker registry 使用的 secret" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L34 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:49 -msgid "Create a secret using specified subcommand" -msgstr "使用指定的 subcommand 创建一个 secret" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go:85 -msgid "Create a service account with the specified name" -msgstr "创建一个指定名称的 service account" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_cluster.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "删除 kubeconfig 文件中指定的集群" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/delete_context.go#L38 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "删除 kubeconfig 文件中指定的 context" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L121 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:174 -msgid "Deny a certificate signing request" -msgstr "拒绝一个自签证书请求" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_contexts.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "描述一个或多个 contexts" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/get_clusters.go#L40 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "显示 kubeconfig 文件中定义的集群" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/view.go#L64 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "显示合并的 kubeconfig 配置或一个指定的 kubeconfig 文件" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/get.go#L107 -#: staging/src/k8s.io/kubectl/pkg/cmd/get/get.go:165 -msgid "Display one or many resources" -msgstr "显示一个或更多 resources" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L176 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:184 -msgid "Drain node in preparation for maintenance" -msgstr "Drain node in preparation for maintenance" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/edit/edit.go:77 -msgid "Edit a resource on the server" -msgstr "在服务器上编辑一个资源" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L159 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:152 -msgid "Email for Docker registry" -msgstr "Email for Docker registry" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/exec.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:89 -msgid "Execute a command in a container" -msgstr "在一个 container 中执行一个命令" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/portforward.go#L75 -#: staging/src/k8s.io/kubectl/pkg/cmd/portforward/portforward.go:109 -msgid "Forward one or more local ports to a pod" -msgstr "Forward one or more local ports to a pod" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/help.go#L36 -#: staging/src/k8s.io/kubectl/pkg/cmd/help/help.go:37 -msgid "Help about any command" -msgstr "Help about any command" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:160 -msgid "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" -msgstr "" -"If non-empty, set the session affinity for the service to this; legal " -"values: 'None', 'ClientIP'" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/annotate.go#L135 -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:157 -msgid "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the annotation update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L132 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:154 -msgid "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." -msgstr "" -"If non-empty, the labels update will only succeed if this is the current " -"resource-version for the object. Only valid when specifying a single " -"resource." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L127 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:98 -msgid "Mark node as schedulable" -msgstr "标记 node 为 schedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#: staging/src/k8s.io/kubectl/pkg/cmd/drain/drain.go:69 -msgid "Mark node as unschedulable" -msgstr "标记 node 为 unschedulable" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_pause.go#L73 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_pause.go:83 -msgid "Mark the provided resource as paused" -msgstr "标记提供的 resource 为中止状态" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/certificates.go#L35 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:49 -#: staging/src/k8s.io/kubectl/pkg/cmd/certificates/certificates.go:50 -msgid "Modify certificate resources." -msgstr "修改 certificate 资源." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/config.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "修改 kubeconfig 文件" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L110 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:156 -msgid "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." -msgstr "" -"Name or number for the port on the container that the service should direct " -"traffic to. Optional." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:174 -msgid "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." -msgstr "" -"Only return logs after a specific date (RFC3339). Defaults to all logs. Only " -"one of since-time / since may be used." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/completion.go#L97 -#: staging/src/k8s.io/kubectl/pkg/cmd/completion/completion.go:112 -msgid "Output shell completion code for the specified shell (bash or zsh)" -msgstr "Output shell completion code for the specified shell (bash or zsh)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L157 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:151 -msgid "Password for Docker registry authentication" -msgstr "Password for Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L226 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:110 -msgid "Path to PEM encoded public key certificate." -msgstr "Path to PEM encoded public key certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L227 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go:111 -msgid "Path to private key associated with given certificate." -msgstr "Path to private key associated with given certificate." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L82 -#: staging/src/k8s.io/kubectl/pkg/cmd/scale/scale.go:130 -msgid "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." -msgstr "" -"Precondition for resource version. Requires that the current resource " -"version match this value in order to scale." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/version.go#L39 -#: staging/src/k8s.io/kubectl/pkg/cmd/version/version.go:73 -msgid "Print the client and server version information" -msgstr "输出 client 和 server 的版本信息" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/options.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:38 -#: staging/src/k8s.io/kubectl/pkg/cmd/options/options.go:39 -msgid "Print the list of flags inherited by all commands" -msgstr "输出所有命令的层级关系" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/logs.go#L86 -#: staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go:152 -msgid "Print the logs for a container in a pod" -msgstr "输出容器在 pod 中的日志" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_resume.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_resume.go:87 -msgid "Resume a paused resource" -msgstr "继续一个停止的 resource" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L56 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding.go:105 -msgid "Role this RoleBinding should reference" -msgstr "RoleBinding 的 Role 应该被引用" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L94 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:152 -msgid "Run a particular image on the cluster" -msgstr "在集群中运行一个指定的镜像" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/proxy.go#L68 -#: staging/src/k8s.io/kubectl/pkg/cmd/proxy/proxy.go:119 -msgid "Run a proxy to the Kubernetes API server" -msgstr "运行一个 proxy 到 Kubernetes API server" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L161 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:153 -msgid "Server location for Docker registry" -msgstr "Server location for Docker registry" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set.go#L37 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set.go:39 -msgid "Set specific features on objects" -msgstr "为 objects 设置一个指定的特征" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_selector.go#L81 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_selector.go:104 -msgid "Set the selector on a resource" -msgstr "设置 resource 的 selector" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/describe.go#L80 -#: staging/src/k8s.io/kubectl/pkg/cmd/describe/describe.go:107 -msgid "Show details of a specific resource or group of resources" -msgstr "显示一个指定 resource 或者 group 的 resources 详情" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_status.go#L57 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_status.go:102 -msgid "Show the status of the rollout" -msgstr "显示 rollout 的状态" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L108 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:154 -msgid "Synonym for --target-port" -msgstr "Synonym for --target-port" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L114 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:174 -msgid "The image for the container to run." -msgstr "指定容器要运行的镜像." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L116 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:176 -msgid "" -"The image pull policy for the container. If left empty, this value will not " -"be specified by the client and defaulted by the server" -msgstr "" -"容器的镜像拉取策略. 如果为空, 这个值将不会 被 client 指定且使用 server 端的默" -"认值" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L62 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_pdb.go:111 -msgid "" -"The minimum number or percentage of available pods this budget requires." -msgstr "最小数量百分比可用的 pods 作为 budget 要求." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L113 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:159 -msgid "The name for the newly created object." -msgstr "名称为最新创建的对象." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/autoscale/autoscale.go:125 -msgid "" -"The name for the newly created object. If not specified, the name of the " -"input resource will be used." -msgstr "名称为最新创建的对象. 如果没有指定, 输入资源的 名称即将被使用." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L98 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:147 -msgid "" -"The name of the API generator to use. There are 2 generators: 'service/v1' " -"and 'service/v2'. The only difference between them is that service port in " -"v1 is named 'default', while it is left unnamed in v2. Default is 'service/" -"v2'." -msgstr "" -"使用 generator 的名称. 这里有 2 个 generators: 'service/v1' 和 'service/v2'. " -"为一个不同地方是服务端口在 v1 的情况下叫 'default', 如果在 v2 中没有指定名" -"称. 默认的名称是 'service/v2'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L99 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:148 -msgid "The network protocol for the service to be created. Default is 'TCP'." -msgstr "创建 service 的时候伴随着一个网络协议被创建. 默认是 'TCP'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L100 -#: staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go:149 -msgid "" -"The port that the service should serve on. Copied from the resource being " -"exposed, if unspecified" -msgstr "服务的端口应该被指定. 如果没有指定, 从被创建的资源中复制" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L131 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:194 -msgid "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." -msgstr "" -"The resource requirement limits for this container. For example, 'cpu=200m," -"memory=512Mi'. Note that server side components may assign limits depending " -"on the server configuration, such as limit ranges." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L130 -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run.go:192 -msgid "" -"The resource requirement requests for this container. For example, " -"'cpu=100m,memory=256Mi'. Note that server side components may assign " -"requests depending on the server configuration, such as limit ranges." -msgstr "" -"资源为 container 请求 requests . 例如, 'cpu=100m,memory=256Mi'. 注意服务端组" -"件也许会赋予 requests, 这决定于服务器端配置, 比如 limit ranges." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L87 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go:155 -msgid "The type of secret to create" -msgstr "创建 secret 类型资源" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_undo.go#L71 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go:87 -msgid "Undo a previous rollout" -msgstr "撤销上一次的 rollout" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_resources.go#L101 -#: staging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go:116 -msgid "Update resource requests/limits on objects with pod templates" -msgstr "在对象的 pod templates 上更新资源的 requests/limits" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "更新一个资源的注解" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/label.go#L109 -#: staging/src/k8s.io/kubectl/pkg/cmd/label/label.go:133 -msgid "Update the labels on a resource" -msgstr "更新在这个资源上的 labels" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/taint.go#L88 -#: staging/src/k8s.io/kubectl/pkg/cmd/taint/taint.go:109 -msgid "Update the taints on one or more nodes" -msgstr "更新一个或者多个 node 上的 taints" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L155 -#: staging/src/k8s.io/kubectl/pkg/cmd/create/create_secret_docker.go:150 -msgid "Username for Docker registry authentication" -msgstr "Username 为 Docker registry authentication" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout_history.go#L51 -#: staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_history.go:83 -msgid "View rollout history" -msgstr "显示 rollout 历史" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L45 -#: staging/src/k8s.io/kubectl/pkg/cmd/clusterinfo/clusterinfo_dump.go:85 -msgid "" -"Where to output the files. If empty or '-' uses stdout, otherwise creates a " -"directory hierarchy in that directory" -msgstr "" -"输出到 files. 如果是 empty or '-' 使用 stdout, 否则创建一个 目录层级在那个目" -"录" - -#: staging/src/k8s.io/kubectl/pkg/cmd/run/run_test.go:88 -msgid "dummy restart flag)" -msgstr "dummy restart flag)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd.go#L217 -#: staging/src/k8s.io/kubectl/pkg/cmd/cmd.go:227 -msgid "kubectl controls the Kubernetes cluster manager" -msgstr "kubectl 控制 Kubernetes cluster 管理" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a ClusterRoleBinding for user1, user2, and group1 using " -#~ "the cluster-admin ClusterRole\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # 使用 cluster-admin ClusterRole 为 user1, user2, and group1 创建一" -#~ "个 ClusterRoleBinding\n" -#~ "\t\t kubectl create clusterrolebinding cluster-admin --" -#~ "clusterrole=cluster-admin --user=user1 --user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a RoleBinding for user1, user2, and group1 using the admin " -#~ "ClusterRole\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" -#~ msgstr "" -#~ "\n" -#~ "\t\t # 使用 admin ClusterRole 为 user1, user2, and group1 创建一个 " -#~ "RoleBinding\n" -#~ "\t\t kubectl create rolebinding admin --clusterrole=admin --user=user1 --" -#~ "user=user2 --group=group1" - -#~ msgid "" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config based on folder bar\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with specified keys " -#~ "instead of file basenames on disk\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # Create a new configmap named my-config with key1=config1 and " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" -#~ msgstr "" -#~ "\n" -#~ "\t\t # 通过文件夹 bar 创建一个名称为 my-config 的 configmap\n" -#~ "\t\t kubectl create configmap my-config --from-file=path/to/bar\n" -#~ "\n" -#~ "\t\t # 创建一个名称为 my-config 的 configmap 并指定 keys 而不是使用磁盘上" -#~ "所在的文件名\n" -#~ "\t\t kubectl create configmap my-config --from-file=key1=/path/to/bar/" -#~ "file1.txt --from-file=key2=/path/to/bar/file2.txt\n" -#~ "\n" -#~ "\t\t # 创建一个名称为 my-config 的 configmap 且 key1=config1 和 " -#~ "key2=config2\n" -#~ "\t\t kubectl create configmap my-config --from-literal=key1=config1 --" -#~ "from-literal=key2=config2" - -#~ msgid "" -#~ "\n" -#~ "\t\t # If you don't already have a .dockercfg file, you can create a " -#~ "dockercfg secret directly by using:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" -#~ msgstr "" -#~ "\n" -#~ "\t\t # 如果你还没有一个 .dockercfg 文件, 你可以直接使用下面的命令创建一" -#~ "个 dockercfg 的 secret:\n" -#~ "\t\t kubectl create secret docker-registry my-secret --docker-" -#~ "server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-" -#~ "password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Apply the configuration in pod.json to a pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Apply the JSON passed into stdin to a pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune is still in Alpha\n" -#~ "\t\t# Apply the configuration in manifest.yaml that matches label " -#~ "app=nginx and delete all the other resources that are not in the file and " -#~ "match label app=nginx.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# Apply the configuration in manifest.yaml and delete all the other " -#~ "configmaps that are not in the file.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 将 pod.json 上的配置应用于 pod.\n" -#~ "\t\tkubectl apply -f ./pod.json\n" -#~ "\n" -#~ "\t\t# 将传入 stdin 的 JSON 应用到一个 pod.\n" -#~ "\t\tcat pod.json | kubectl apply -f -\n" -#~ "\n" -#~ "\t\t# Note: --prune 仍然在 Alpha\n" -#~ "\t\t# 应用在 manifest.yaml 中匹配标签 app=nginx 的资源配置并删除所有不在这" -#~ "个文件中并匹配标签app=nginx 的资源\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml -l app=nginx\n" -#~ "\n" -#~ "\t\t# 应用 manifest.yaml 的配置并删除所有不在这个文件中的 configmaps.\n" -#~ "\t\tkubectl apply --prune -f manifest.yaml --all --prune-whitelist=core/" -#~ "v1/ConfigMap" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Auto scale a deployment \"foo\", with the number of pods between 2 " -#~ "and 10, target CPU utilization specified so a default autoscaling policy " -#~ "will be used:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# Auto scale a replication controller \"foo\", with the number of " -#~ "pods between 1 and 5, target CPU utilization at 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 自动弹性伸缩 deployment \"foo\", pods 的数量在 2 和 10 之间, 目标 " -#~ "CPU 指定为默认的弹性伸缩策略:\n" -#~ "\t\tkubectl autoscale deployment foo --min=2 --max=10\n" -#~ "\n" -#~ "\t\t# 自动弹性伸缩 replication controller \"foo\", pods 的数量在 1 和 5 之" -#~ "间, 目标 CPU 利用率为 80%:\n" -#~ "\t\tkubectl autoscale rc foo --max=5 --cpu-percent=80" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Convert 'pod.yaml' to latest version and print to stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# Convert the live state of the resource specified by 'pod.yaml' to " -#~ "the latest version\n" -#~ "\t\t# and print to stdout in json format.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# Convert all files under current directory to latest version and " -#~ "create them all.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 将’pod.yaml' 转换为最新版本并打印到 stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml\n" -#~ "\n" -#~ "\t\t# 将 ‘pod.yaml' 指定的资源的实时状态转换为最新版本\n" -#~ "\t\t# 并以 json 格式打印到 stdout.\n" -#~ "\t\tkubectl convert -f pod.yaml --local -o json\n" -#~ "\n" -#~ "\t\t# 将当前目录下的所以文件转换为最新版本并创建它们.\n" -#~ "\t\tkubectl convert -f . | kubectl create -f -" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" that allows user to " -#~ "perform \"get\", \"watch\" and \"list\" on pods\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# Create a ClusterRole named \"pod-reader\" with ResourceName " -#~ "specified\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 创建一个名为 \"pod-reader\" 的 ClusterRole, 允许用户在 pods 上执行 " -#~ "“get\", \"watch\" 和 \"list\"\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods\n" -#~ "\n" -#~ "\t\t# 创建一个名为 \"pod-reader\" ClusterRole, 其中指定了 ResourceName\n" -#~ "\t\tkubectl create clusterrole pod-reader --verb=get,list,watch --" -#~ "resource=pods --resource-name=readablepod" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a new resourcequota named my-quota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# Create a new resourcequota named best-effort\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 创建一个名为 my-quota 的 resourcequota\n" -#~ "\t\tkubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2," -#~ "services=3,replicationcontrollers=2,resourcequotas=1,secrets=5," -#~ "persistentvolumeclaims=10\n" -#~ "\n" -#~ "\t\t# 创建一个名为 best-effort 的 resourcequota\n" -#~ "\t\tkubectl create quota best-effort --hard=pods=100 --scopes=BestEffort" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=rails label\n" -#~ "\t\t# and require at least one of them being available at any point in " -#~ "time.\n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# Create a pod disruption budget named my-pdb that will select all " -#~ "pods with the app=nginx label\n" -#~ "\t\t# and require at least half of the pods selected to be available at " -#~ "any point in time.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 创建一个名称为 my-pdb 的 pod disruption budget 并将会选择所有 " -#~ "app=rails 标签的 pods\n" -#~ "\t\t# 并要求他们在同一时间中最少有一个可用. \n" -#~ "\t\tkubectl create poddisruptionbudget my-pdb --selector=app=rails --min-" -#~ "available=1\n" -#~ "\n" -#~ "\t\t# 创建一个名称为 my-pdb 的 pod disruption budget 并将会选择所有 " -#~ "app=rails 标签的 pods\n" -#~ "\t\t# 并要求他们在同一时间中最少有一半可用.\n" -#~ "\t\tkubectl create pdb my-pdb --selector=app=nginx --min-available=50%" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a pod using the data in pod.json.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Create a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# Edit the data in docker-registry.yaml in JSON using the v1 API " -#~ "format then create the resource using the edited data.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 使用在 pod.json 的 数据创建一个 pod.\n" -#~ "\t\tkubectl create -f ./pod.json\n" -#~ "\n" -#~ "\t\t# 根据传入 stdin 的 JSON 创建一个 pod.\n" -#~ "\t\tcat pod.json | kubectl create -f -\n" -#~ "\n" -#~ "\t\t# 使用 v1 API 格式在 JSON 中编辑在 docker-registry.yaml 中的数据然后使" -#~ "用被编辑后的数据创建资源.\n" -#~ "\t\tkubectl create -f docker-registry.yaml --edit --output-version=v1 -o " -#~ "json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a replication controller identified by type " -#~ "and name specified in \"nginx-controller.yaml\", which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for a pod valid-pod, which serves on port 444 with " -#~ "the name \"frontend\"\n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# Create a second service based on the above service, exposing the " -#~ "container port 8443 as port 443 with the name \"nginx-https\"\n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated streaming application on port " -#~ "4100 balancing UDP traffic and named 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# Create a service for a replicated nginx using replica set, which " -#~ "serves on port 80 and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# Create a service for an nginx deployment, which serves on port 80 " -#~ "and connects to the containers on port 8000.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 为一个 replicated nginx 创建一个 service, 服务在端口 80 并连接到 " -#~ "containers 的8000端口.\n" -#~ "\t\tkubectl expose rc nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# 使用在 \"nginx-controller.yaml\\ 中指定的 type 和 name 为一个" -#~ "replication controller 创建一个 service, 服务在端口 80 并连接到 " -#~ "containers 的8000端口.\n" -#~ "\t\tkubectl expose -f nginx-controller.yaml --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# 为名为 valid-pod 的 pod 创建一个 service, 服务在端口 444 并命名为 " -#~ "\"frontend\" \n" -#~ "\t\tkubectl expose pod valid-pod --port=444 --name=frontend\n" -#~ "\n" -#~ "\t\t# 基于上面的 service 创建第二个 service, 暴露容器端口 8443 并命名为 " -#~ "\"nginx-https\" 端口为 443 \n" -#~ "\t\tkubectl expose service nginx --port=443 --target-port=8443 --" -#~ "name=nginx-https\n" -#~ "\n" -#~ "\t\t# 为一个名称为 streaming 的应用创建一个 service 暴露端口 4100, 协议为 " -#~ "UDP 名称为 'video-stream'.\n" -#~ "\t\tkubectl expose rc streamer --port=4100 --protocol=udp --name=video-" -#~ "stream\n" -#~ "\n" -#~ "\t\t# 为一个名称为 nginx 的 replica set 创建一个 service, 服务在 端口 80 " -#~ "且连接到容器端口 8000.\n" -#~ "\t\tkubectl expose rs nginx --port=80 --target-port=8000\n" -#~ "\n" -#~ "\t\t# 为一个名称为 nginx 的 deployment 创建一个 service, 服务在端口 80 且 " -#~ "连接到 containers 的 8000 端口.\n" -#~ "\t\tkubectl expose deployment nginx --port=80 --target-port=8000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Delete a pod using the type and name specified in pod.json.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Delete a pod based on the type and name in the JSON passed into " -#~ "stdin.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# Delete pods and services with same names \"baz\" and \"foo\"\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# Delete pods and services with label name=myLabel.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Delete a pod with minimal delay\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# Force delete a pod on a dead node\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# Delete all pods\n" -#~ "\t\tkubectl delete pods --all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 使用 pod.json 中的类型和名称删除一个 pod.\n" -#~ "\t\tkubectl delete -f ./pod.json\n" -#~ "\n" -#~ "\t\t# 基于重定向到 stdin 中的 JSON 的类型和名称删除一个 pod.\n" -#~ "\t\tcat pod.json | kubectl delete -f -\n" -#~ "\n" -#~ "\t\t# 删除名为 \"baz\" 和 \"foo\" 的 pod 和 service\n" -#~ "\t\tkubectl delete pod,service baz foo\n" -#~ "\n" -#~ "\t\t# 删除标签为 name=myLabel 的 pods 和 services.\n" -#~ "\t\tkubectl delete pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# 删除最小延迟的 pod\n" -#~ "\t\tkubectl delete pod foo --now\n" -#~ "\n" -#~ "\t\t# 强制删除名为 foo 的 pod\n" -#~ "\t\tkubectl delete pod foo --grace-period=0 --force\n" -#~ "\n" -#~ "\t\t# 删除所有 pods\n" -#~ "\t\tkubectl delete pods --all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Describe a node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# Describe a pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# Describe a pod identified by type and name in \"pod.json\"\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# Describe all pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# Describe pods by label name=myLabel\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Describe all pods managed by the 'frontend' replication controller " -#~ "(rc-created pods\n" -#~ "\t\t# get the name of the rc as a prefix in the pod the name).\n" -#~ "\t\tkubectl describe pods frontend" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 描述一个 node\n" -#~ "\t\tkubectl describe nodes kubernetes-node-emt8.c.myproject.internal\n" -#~ "\n" -#~ "\t\t# 描述一个 pod\n" -#~ "\t\tkubectl describe pods/nginx\n" -#~ "\n" -#~ "\t\t# 描述一个被 \"pod.json\" 中的类型和名称标识的 pod\n" -#~ "\t\tkubectl describe -f pod.json\n" -#~ "\n" -#~ "\t\t# 描述所有 pods\n" -#~ "\t\tkubectl describe pods\n" -#~ "\n" -#~ "\t\t# 描述标签为 name=myLabel 的 pods\n" -#~ "\t\tkubectl describe po -l name=myLabel\n" -#~ "\n" -#~ "\t\t# 描述所有被名称为 'frontend' 的 replication controller 管理的 " -#~ "pods(rc-创建 pods\n" -#~ "\t\t# 并使用 rc 的名称作为 pod 的前缀).\n" -#~ "\t\tkubectl describe pods frontend" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Drain node \"foo\", even if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet on it.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# As above, but abort if there are pods not managed by a " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet 或者 StatefulSet, and " -#~ "use a grace period of 15 minutes.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 驱逐节点 \"foo\", 即使很多 pods 没有被一个在 node 上的 " -#~ "ReplicationController, ReplicaSet, Job, DaemonSet 或者 StatefulSet 管理.\n" -#~ "\t\t$ kubectl drain foo --force\n" -#~ "\n" -#~ "\t\t# 同上, 如果存在 pods 没有被一个 ReplicationController, ReplicaSet, " -#~ "Job, DaemonSet 或者 StatefulSet 管理超过 15 分钟则退出.\n" -#~ "\t\t$ kubectl drain foo --grace-period=900" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Edit the service named 'docker-registry':\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Use an alternative editor\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# Edit the job 'myjob' in JSON using the v1 API format:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# Edit the deployment 'mydeployment' in YAML and save the modified " -#~ "config in its annotation:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 编辑名为 'docker-registry' 的 service:\n" -#~ "\t\tkubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# 使用一个可选择的编辑器\n" -#~ "\t\tKUBE_EDITOR=\"nano\" kubectl edit svc/docker-registry\n" -#~ "\n" -#~ "\t\t# 使用 v1 API 格式的 JSON 编辑名为 'myjob' 的 job:\n" -#~ "\t\tkubectl edit job.v1.batch/myjob -o json\n" -#~ "\n" -#~ "\t\t# 在 YAML 中编辑名为 'mydeployment' 的 deployment 并在它的注解中保存修" -#~ "改后的配置:\n" -#~ "\t\tkubectl edit deployment/mydeployment -o yaml --save-config" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running 'date' from pod 123456-7890, using the " -#~ "first container by default\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# Get output from running 'date' in ruby-container from pod " -#~ "123456-7890\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 从运行中pod 123456-7890 获取执行 'date' 的输出, 默认使用第一个容器\n" -#~ "\t\tkubectl exec 123456-7890 date\n" -#~ "\n" -#~ "\t\t# 从 pod 123456-7890 的容器 ruby-container 获取执行 'date' 的输出\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container date\n" -#~ "\n" -#~ "\t\t# 切换到 terminal 模式, 发送 stdin 到运行在 pod 123456-7890 的容器 " -#~ "ruby-container 'bash' \n" -#~ "\t\t# 并从 'bash' 发送 stdout/stderr 返回到 client\n" -#~ "\t\tkubectl exec 123456-7890 -c ruby-container -i -t -- bash -il" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Get output from running pod 123456-7890, using the first container " -#~ "by default\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# Get output from ruby-container from pod 123456-7890\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# Switch to raw terminal mode, sends stdin to 'bash' in ruby-" -#~ "container from pod 123456-7890\n" -#~ "\t\t# and sends stdout/stderr from 'bash' back to the client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# Get output from the first pod of a ReplicaSet named nginx\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 从运行中pod 123456-7890 获取执行 'date' 的输出, 默认使用第一个容器\n" -#~ "\t\tkubectl attach 123456-7890\n" -#~ "\n" -#~ "\t\t# 从 pod 123456-7890 的容器 ruby-container 获取输出\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container\n" -#~ "\n" -#~ "\t\t# 切换到 terminal 模式, 发送 stdin 到运行在 pod 123456-7890 的容器 " -#~ "ruby-container 'bash' \n" -#~ "\t\t# 并从 'bash' 发送 stdout/stderr 返回到 client\n" -#~ "\t\tkubectl attach 123456-7890 -c ruby-container -i -t\n" -#~ "\n" -#~ "\t\t# 从名称为 nginx 的 ReplicaSet 获取第一个 pod 的输出\n" -#~ "\t\tkubectl attach rs/nginx\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Install bash completion on a Mac using homebrew\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash completion support\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for bash into the current shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# Write bash completion code to a file and source if from ." -#~ "bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell completion\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# Load the kubectl completion code for zsh[1] into the current shell\n" -#~ "\t\tsource <(kubectl completion zsh)" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 在一个 Mac 中使用 homebrew 安装 bash 补全\n" -#~ "\t\tbrew install bash-completion\n" -#~ "\t\tprintf \"\n" -#~ "# Bash 补全支持\n" -#~ "source $(brew --prefix)/etc/bash_completion\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# 导入 kubectl 补全代码到当前 shell\n" -#~ "\t\tsource <(kubectl completion bash)\n" -#~ "\n" -#~ "\t\t# 写入 bash 补全代码到一个文件并 source 如果它是 .bash_profile\n" -#~ "\t\tkubectl completion bash > ~/.kube/completion.bash.inc\n" -#~ "\t\tprintf \"\n" -#~ "# Kubectl shell 补全\n" -#~ "source '$HOME/.kube/completion.bash.inc'\n" -#~ "\" >> $HOME/.bash_profile\n" -#~ "\t\tsource $HOME/.bash_profile\n" -#~ "\n" -#~ "\t\t# 为 zsh[1] 导入 kubectl 补全代码到当前 shell\n" -#~ "\t\tsource <(kubectl completion zsh)" - -#~ msgid "" -#~ "\n" -#~ "\t\t# List all pods in ps output format.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# List all pods in ps output format with more information (such as " -#~ "node name).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# List a single replication controller with specified NAME in ps " -#~ "output format.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# List a single pod in JSON output format.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List a pod identified by type and name specified in \"pod.yaml\" in " -#~ "JSON output format.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# Return only the phase value of the specified pod.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# List all replication controllers and services together in ps output " -#~ "format.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# List one or more resources by their type and names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# List all resources with different types.\n" -#~ "\t\tkubectl get all" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 以 ps 输出格式列出所有 pod.\n" -#~ "\t\tkubectl get pods\n" -#~ "\n" -#~ "\t\t# 以 ps 输出格式列出所有 pod(如节点名称).\n" -#~ "\t\tkubectl get pods -o wide\n" -#~ "\n" -#~ "\t\t# 获取名称为 web 的 replicationcontroller.\n" -#~ "\t\tkubectl get replicationcontroller web\n" -#~ "\n" -#~ "\t\t# 使用 JSON 格式化输出显示一个单独的 pod.\n" -#~ "\t\tkubectl get -o json pod web-pod-13je7\n" -#~ "\n" -#~ "\t\t# 显示一个被 \"pod.yaml\" 中的 type 和 name 标识的 pod 并使用 JSON 格" -#~ "式化输出.\n" -#~ "\t\tkubectl get -f pod.yaml -o json\n" -#~ "\n" -#~ "\t\t# 只返回被指定 pod 中 phase 的值.\n" -#~ "\t\tkubectl get -o template pod/web-pod-13je7 --template={{.status." -#~ "phase}}\n" -#~ "\n" -#~ "\t\t# 显示所有的 replication controllers 和 services 并格式化输出.\n" -#~ "\t\tkubectl get rc,services\n" -#~ "\n" -#~ "\t\t# 显示一个或者更多 resources 通过它们的 type 和 names.\n" -#~ "\t\tkubectl get rc/web service/frontend pods/web-pod-13je7\n" -#~ "\n" -#~ "\t\t# 使用不同的 types 显示所有 resources.\n" -#~ "\t\tkubectl get all" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Listen on ports 5000 and 6000 locally, forwarding data to/from " -#~ "ports 5000 and 6000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# Listen on port 8888 locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# Listen on a random port locally, forwarding to 5000 in the pod\n" -#~ "\t\tkubectl port-forward mypod 0:5000" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 在本地监听端口 5000 和 6000 , forwarding 数据 to/from 在 pod 5000 " -#~ "和 6000 端口\n" -#~ "\t\tkubectl port-forward mypod 5000 6000\n" -#~ "\n" -#~ "\t\t# 在本地监听端口 8888 , forwarding 到 pod 的 5000端口\n" -#~ "\t\tkubectl port-forward mypod 8888:5000\n" -#~ "\n" -#~ "\t\t# 在本地随机监听一个端口 , forwarding 到 pod 的 5000端口\n" -#~ "\t\tkubectl port-forward mypod :5000\n" -#~ "\n" -#~ "\t\t# 在本地随机监听一个端口 , forwarding 到 pod 的 5000端口\n" -#~ "\t\tkubectl port-forward mypod 0:5000" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 标记 node \"foo\" 为 schedulable.\n" -#~ "\t\t$ kubectl uncordon foo" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L102 -#~ msgid "" -#~ "\n" -#~ "\t\t# Mark node \"foo\" as unschedulable.\n" -#~ "\t\tkubectl cordon foo" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 标记 node \"foo\" 为 unschedulable.\n" -#~ "\t\tkubectl cordon foo" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Partially update a node using strategic merge patch\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# Partially update a node identified by the type and name specified " -#~ "in \"node.json\" using strategic merge patch\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image; spec.containers[*].name is required " -#~ "because it's a merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# Update a container's image using a json patch with positional " -#~ "arrays\n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 使用 strategic merge patch 部分更新一个 node\n" -#~ "\t\tkubectl patch node k8s-node-1 -p '{\"spec\":{\"unschedulable\":" -#~ "true}}'\n" -#~ "\n" -#~ "\t\t# 使用 strategic merge patch 部分更新一个被 \"node.json\" 的 type 和 " -#~ "name 标示 的 node.\n" -#~ "\t\tkubectl patch -f node.json -p '{\"spec\":{\"unschedulable\":true}}'\n" -#~ "\n" -#~ "\t\t# 更新一个 container 的 image; spec.containers[*].name 是必须的 因为它" -#~ "是一个 merge key\n" -#~ "\t\tkubectl patch pod valid-pod -p '{\"spec\":{\"containers\":[{\"name\":" -#~ "\"kubernetes-serve-hostname\",\"image\":\"new image\"}]}}'\n" -#~ "\n" -#~ "\t\t# 使用一个 json patch 更新一个指定坐标的 container 的 image \n" -#~ "\t\tkubectl patch pod valid-pod --type='json' -p='[{\"op\": \"replace\", " -#~ "\"path\": \"/spec/containers/0/image\", \"value\":\"new image\"}]'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Print the address of the master and cluster services\n" -#~ "\t\tkubectl cluster-info" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 输出 master 和 cluster services 的地址\n" -#~ "\t\tkubectl cluster-info" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Replace a pod using the data in pod.json.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# Replace a pod based on the JSON passed into stdin.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Update a single-container pod's image version (tag) to v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# Force replace, delete and then re-create the resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 使用在 pod.json 中的数据替换一个 pod.\n" -#~ "\t\tkubectl replace -f ./pod.json\n" -#~ "\n" -#~ "\t\t# 基于被重定向到 stdin 中的 JSON 替换一个 pod.\n" -#~ "\t\tcat pod.json | kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# 更新一个单独容器的 pod 的 image 版本 (tag) 到 v4\n" -#~ "\t\tkubectl get pod mypod -o yaml | sed 's/\\(image: myimage\\):.*$/:v4/' " -#~ "| kubectl replace -f -\n" -#~ "\n" -#~ "\t\t# 强制替换, 删除然后重新创建这个 resource\n" -#~ "\t\tkubectl replace --force -f ./pod.json" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Return snapshot logs from pod nginx with only one container\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs for the pods defined by label app=nginx\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 返回仅有一个容器 pod 名称为 nginx 的 snapshot 日志\n" -#~ "\t\tkubectl logs nginx\n" -#~ "\n" -#~ "\t\t# 返回 label 为 app=nginx 的 pods 的 snapshot 日志\n" -#~ "\t\tkubectl logs -lapp=nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot of previous terminated ruby container logs from pod " -#~ "web-1\n" -#~ "\t\tkubectl logs -p -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Begin streaming the logs of the ruby container in pod web-1\n" -#~ "\t\tkubectl logs -f -c ruby web-1\n" -#~ "\n" -#~ "\t\t# Display only the most recent 20 lines of output in pod nginx\n" -#~ "\t\tkubectl logs --tail=20 nginx\n" -#~ "\n" -#~ "\t\t# Show all logs from pod nginx written in the last hour\n" -#~ "\t\tkubectl logs --since=1h nginx\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from first container of a job named hello\n" -#~ "\t\tkubectl logs job/hello\n" -#~ "\n" -#~ "\t\t# Return snapshot logs from container nginx-1 of a deployment named " -#~ "nginx\n" -#~ "\t\tkubectl logs deployment/nginx -c nginx-1" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on port 8011, serving static " -#~ "content from ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver on an arbitrary local port.\n" -#~ "\t\t# The chosen port for the server will be output to stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# Run a proxy to kubernetes apiserver, changing the api prefix to k8s-" -#~ "api\n" -#~ "\t\t# This makes e.g. the pods api available at localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 运行 proxy 到 kubernetes apiserver 的 8011 端口上, 服务静态内容路径" -#~ "为 ./local/www/\n" -#~ "\t\tkubectl proxy --port=8011 --www=./local/www/\n" -#~ "\n" -#~ "\t\t# 在任意的本地端口上运行一个 proxy 到 kubernetes apiserver.\n" -#~ "\t\t# 为这个 server 挑选的端口将会被输出到 stdout.\n" -#~ "\t\tkubectl proxy --port=0\n" -#~ "\n" -#~ "\t\t# 运行一个 proxy 到 kubernetes apiserver, 修改 api prefix 为 k8s-api\n" -#~ "\t\t# 这会使 e.g. 这个 pods 的有效 api 为 localhost:8001/k8s-api/v1/" -#~ "pods/\n" -#~ "\t\tkubectl proxy --api-prefix=/k8s-api" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Scale a replicaset named 'foo' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale a resource identified by type and name specified in \"foo.yaml" -#~ "\" to 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# If the deployment named mysql's current size is 2, scale mysql to " -#~ "3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale multiple replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale job named 'cron' to 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Scale 一个名称为 ‘foo’ 的 replicaset 服本数为 3.\n" -#~ "\t\tkubectl scale --replicas=3 rs/foo\n" -#~ "\n" -#~ "\t\t# Scale 指定的 \"foo.yaml\" 的 type 和 name 标识的 resource 副本数量" -#~ "为 3.\n" -#~ "\t\tkubectl scale --replicas=3 -f foo.yaml\n" -#~ "\n" -#~ "\t\t# 如果名称为 mysql 的 deployment 当前副本数量为 2, scale mysql 到 3.\n" -#~ "\t\tkubectl scale --current-replicas=2 --replicas=3 deployment/mysql\n" -#~ "\n" -#~ "\t\t# Scale 多个 replication controllers.\n" -#~ "\t\tkubectl scale --replicas=5 rc/foo rc/bar rc/baz\n" -#~ "\n" -#~ "\t\t# Scale 名称为 ’cron’ 的 job 副本数量为 3.\n" -#~ "\t\tkubectl scale --replicas=3 job/cron" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# Set the last-applied-configuration of a resource to match the " -#~ "contents of a file, will create the annotation if it does not already " -#~ "exist.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" -#~ msgstr "" -#~ "\n" -#~ "\t\t# 设置一个资源的 last-applied-configuration 去匹配一个文件的内容.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml\n" -#~ "\n" -#~ "\t\t# Execute set-last-applied against each configuration file in a " -#~ "directory.\n" -#~ "\t\tkubectl apply set-last-applied -f path/\n" -#~ "\n" -#~ "\t\t# 设置一个资源的 last-applied-configuration 去匹配一个文件的内容, 如果" -#~ "不存在将会创建一个 annotation.\n" -#~ "\t\tkubectl apply set-last-applied -f deploy.yaml --create-" -#~ "annotation=true\n" -#~ "\t\t" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Shut down foo.\n" -#~ "\t\tkubectl stop replicationcontroller foo\n" -#~ "\n" -#~ "\t\t# Stop pods and services with label name=myLabel.\n" -#~ "\t\tkubectl stop pods,services -l name=myLabel\n" -#~ "\n" -#~ "\t\t# Shut down the service defined in service.json\n" -#~ "\t\tkubectl stop -f service.json\n" -#~ "\n" -#~ "\t\t# Shut down all resources in the path/to/resources directory\n" -#~ "\t\tkubectl stop -f path/to/resources" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Start a single instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and let the container expose " -#~ "port 5701 .\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --port=5701\n" -#~ "\n" -#~ "\t\t# Start a single instance of hazelcast and set environment variables " -#~ "\"DNS_DOMAIN=cluster\" and \"POD_NAMESPACE=default\" in the container.\n" -#~ "\t\tkubectl run hazelcast --image=hazelcast --env=\"DNS_DOMAIN=cluster\" " -#~ "--env=\"POD_NAMESPACE=default\"\n" -#~ "\n" -#~ "\t\t# Start a replicated instance of nginx.\n" -#~ "\t\tkubectl run nginx --image=nginx --replicas=5\n" -#~ "\n" -#~ "\t\t# Dry run. Print the corresponding API objects without creating " -#~ "them.\n" -#~ "\t\tkubectl run nginx --image=nginx --dry-run\n" -#~ "\n" -#~ "\t\t# Start a single instance of nginx, but overload the spec of the " -#~ "deployment with a partial set of values parsed from JSON.\n" -#~ "\t\tkubectl run nginx --image=nginx --overrides='{ \"apiVersion\": " -#~ "\"v1\", \"spec\": { ... } }'\n" -#~ "\n" -#~ "\t\t# Start a pod of busybox and keep it in the foreground, don't restart " -#~ "it if it exits.\n" -#~ "\t\tkubectl run -i -t busybox --image=busybox --restart=Never\n" -#~ "\n" -#~ "\t\t# Start the nginx container using the default command, but use custom " -#~ "arguments (arg1 .. argN) for that command.\n" -#~ "\t\tkubectl run nginx --image=nginx -- ... \n" -#~ "\n" -#~ "\t\t# Start the nginx container using a different command and custom " -#~ "arguments.\n" -#~ "\t\tkubectl run nginx --image=nginx --command -- ... \n" -#~ "\n" -#~ "\t\t# Start the perl container to compute π to 2000 places and print it " -#~ "out.\n" -#~ "\t\tkubectl run pi --image=perl --restart=OnFailure -- perl -Mbignum=bpi -" -#~ "wle 'print bpi(2000)'\n" -#~ "\n" -#~ "\t\t# Start the cron job to compute π to 2000 places and print it out " -#~ "every 5 minutes.\n" -#~ "\t\tkubectl run pi --schedule=\"0/5 * * * ?\" --image=perl --" -#~ "restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Update node 'foo' with a taint with key 'dedicated' and value " -#~ "'special-user' and effect 'NoSchedule'.\n" -#~ "\t\t# If a taint with that key and effect already exists, its value is " -#~ "replaced as specified.\n" -#~ "\t\tkubectl taint nodes foo dedicated=special-user:NoSchedule\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' the taint with key 'dedicated' and effect " -#~ "'NoSchedule' if one exists.\n" -#~ "\t\tkubectl taint nodes foo dedicated:NoSchedule-\n" -#~ "\n" -#~ "\t\t# Remove from node 'foo' all the taints with key 'dedicated'\n" -#~ "\t\tkubectl taint nodes foo dedicated-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'unhealthy' and the value 'true'.\n" -#~ "\t\tkubectl label pods foo unhealthy=true\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' with the label 'status' and the value 'unhealthy', " -#~ "overwriting any existing value.\n" -#~ "\t\tkubectl label --overwrite pods foo status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update all pods in the namespace\n" -#~ "\t\tkubectl label pods --all status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update a pod identified by the type and name in \"pod.json\"\n" -#~ "\t\tkubectl label -f pod.json status=unhealthy\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ "\t\tkubectl label pods foo status=unhealthy --resource-version=1\n" -#~ "\n" -#~ "\t\t# Update pod 'foo' by removing a label named 'bar' if it exists.\n" -#~ "\t\t# Does not require the --overwrite flag.\n" -#~ "\t\tkubectl label pods foo bar-" - -#~ msgid "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" -#~ msgstr "" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using new replication controller data in " -#~ "frontend-v2.json.\n" -#~ "\t\tkubectl rolling-update frontend-v1 -f frontend-v2.json\n" -#~ "\n" -#~ "\t\t# Update pods of frontend-v1 using JSON data passed into stdin.\n" -#~ "\t\tcat frontend-v2.json | kubectl rolling-update frontend-v1 -f -\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend-v1 to frontend-v2 by just changing the " -#~ "image, and switching the\n" -#~ "\t\t# name of the replication controller.\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --image=image:v2\n" -#~ "\n" -#~ "\t\t# Update the pods of frontend by just changing the image, and keeping " -#~ "the old name.\n" -#~ "\t\tkubectl rolling-update frontend --image=image:v2\n" -#~ "\n" -#~ "\t\t# Abort and reverse an existing rollout in progress (from frontend-v1 " -#~ "to frontend-v2).\n" -#~ "\t\tkubectl rolling-update frontend-v1 frontend-v2 --rollback" - -#~ msgid "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" -#~ msgstr "" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by type/name in " -#~ "YAML.\n" -#~ "\t\tkubectl apply view-last-applied deployment/nginx\n" -#~ "\n" -#~ "\t\t# View the last-applied-configuration annotations by file in JSON\n" -#~ "\t\tkubectl apply view-last-applied -f deploy.yaml -o json" - -#~ msgid "" -#~ "\n" -#~ "\t\tApply a configuration to a resource by filename or stdin.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." -#~ msgstr "" -#~ "\n" -#~ "\t\t通过文件名或标准输入流(stdin)对资源进行配置.\n" -#~ "\t\tThis resource will be created if it doesn't exist yet.\n" -#~ "\t\tTo use 'apply', always create the resource initially with either " -#~ "'apply' or 'create --save-config'.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ "\n" -#~ "\t\tAlpha Disclaimer: the --prune functionality is not yet complete. Do " -#~ "not use unless you are aware of what the current state is. See https://" -#~ "issues.k8s.io/34274." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\t创建一个 ClusterRole." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a ClusterRoleBinding for a particular ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\t 为指定的 ClusterRole 创建一个 ClusterRoleBinding." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a RoleBinding for a particular Role or ClusterRole." -#~ msgstr "" -#~ "\n" -#~ "\t\t为指定的 Role 或者 ClusterRole 创建一个 RoleBinding." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a TLS secret from the given public/private key pair.\n" -#~ "\n" -#~ "\t\tThe public/private key pair must exist before hand. The public key " -#~ "certificate must be .PEM encoded and match the given private key." -#~ msgstr "" -#~ "\n" -#~ "\t\t为指定的 public/private key pair 创建一个 TLS secret.\n" -#~ "\n" -#~ "\t\tpublic/private key pair 必须在传递前存在. public key certificate 必须" -#~ "以 .PEM 被编码且匹配指定的 private key." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a configmap based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single configmap may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a file, the key will default to " -#~ "the basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a configmap based on a directory, each file whose " -#~ "basename is a valid key in the directory will be\n" -#~ "\t\tpackaged into the configmap. Any directory entries except regular " -#~ "files are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a new secret for use with Docker registries.\n" -#~ "\n" -#~ "\t\tDockercfg secrets are used to authenticate against Docker " -#~ "registries.\n" -#~ "\n" -#~ "\t\tWhen using the Docker command line to push images, you can " -#~ "authenticate to a given registry by running\n" -#~ "\n" -#~ "\t\t $ docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --" -#~ "password=DOCKER_PASSWORD --email=DOCKER_EMAIL'.\n" -#~ "\n" -#~ " That produces a ~/.dockercfg file that is used by subsequent 'docker " -#~ "push' and 'docker pull' commands to\n" -#~ "\t\tauthenticate to the registry. The email address is optional.\n" -#~ "\n" -#~ "\t\tWhen creating applications, you may have a Docker registry that " -#~ "requires authentication. In order for the\n" -#~ "\t\tnodes to pull images on your behalf, they have to have the " -#~ "credentials. You can provide this information\n" -#~ "\t\tby creating a dockercfg secret and attaching it to your service " -#~ "account." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a pod disruption budget with the specified name, selector, and " -#~ "desired minimum available pods" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." -#~ msgstr "" -#~ "\n" -#~ "\t\t通过文件名或者标准输入流(stdin)创建一个资源.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a resourcequota with the specified name, hard limits and " -#~ "optional scopes" - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate a secret based on a file, directory, or specified literal " -#~ "value.\n" -#~ "\n" -#~ "\t\tA single secret may package one or more key/value pairs.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a file, the key will default to the " -#~ "basename of the file, and the value will\n" -#~ "\t\tdefault to the file content. If the basename is an invalid key, you " -#~ "may specify an alternate key.\n" -#~ "\n" -#~ "\t\tWhen creating a secret based on a directory, each file whose basename " -#~ "is a valid key in the directory will be\n" -#~ "\t\tpackaged into the secret. Any directory entries except regular files " -#~ "are ignored (e.g. subdirectories,\n" -#~ "\t\tsymlinks, devices, pipes, etc)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreate and run a particular image, possibly replicated.\n" -#~ "\n" -#~ "\t\tCreates a deployment or job to manage the created container(s)." - -#~ msgid "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." -#~ msgstr "" -#~ "\n" -#~ "\t\tCreates an autoscaler that automatically chooses and sets the number " -#~ "of pods that run in a kubernetes cluster.\n" -#~ "\n" -#~ "\t\tLooks up a Deployment, ReplicaSet, or ReplicationController by name " -#~ "and creates an autoscaler that uses the given resource as a reference.\n" -#~ "\t\tAn autoscaler can automatically increase or decrease number of pods " -#~ "deployed within the system as needed." - -#~ msgid "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." -#~ msgstr "" -#~ "\n" -#~ "\t\tDelete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. Only one type of the arguments " -#~ "may be specified: filenames,\n" -#~ "\t\tresources and names, or resources and label selector.\n" -#~ "\n" -#~ "\t\tSome resources, such as pods, support graceful deletion. These " -#~ "resources define a default period\n" -#~ "\t\tbefore they are forcibly terminated (the grace period) but you may " -#~ "override that value with\n" -#~ "\t\tthe --grace-period flag, or pass --now to set a grace-period of 1. " -#~ "Because these resources often\n" -#~ "\t\trepresent entities in the cluster, deletion may not be acknowledged " -#~ "immediately. If the node\n" -#~ "\t\thosting a pod is down or cannot reach the API server, termination may " -#~ "take significantly longer\n" -#~ "\t\tthan the grace period. To force delete a resource,\tyou must pass a " -#~ "grace\tperiod of 0 and specify\n" -#~ "\t\tthe --force flag.\n" -#~ "\n" -#~ "\t\tIMPORTANT: Force deleting pods does not wait for confirmation that " -#~ "the pod's processes have been\n" -#~ "\t\tterminated, which can leave those processes running until the node " -#~ "detects the deletion and\n" -#~ "\t\tcompletes graceful deletion. If your processes use shared storage or " -#~ "talk to a remote API and\n" -#~ "\t\tdepend on the name of the pod to identify themselves, force deleting " -#~ "those pods may result in\n" -#~ "\t\tmultiple processes running on different machines using the same " -#~ "identification which may lead\n" -#~ "\t\tto data corruption or inconsistency. Only force delete pods when you " -#~ "are sure the pod is\n" -#~ "\t\tterminated, or if your application can tolerate multiple copies of " -#~ "the same pod running at once.\n" -#~ "\t\tAlso, if you force delete pods the scheduler may place new pods on " -#~ "those nodes before the node\n" -#~ "\t\thas released those resources and causing those pods to be evicted " -#~ "immediately.\n" -#~ "\n" -#~ "\t\tNote that the delete command does NOT do resource version checks, so " -#~ "if someone\n" -#~ "\t\tsubmits an update to a resource right when you submit a delete, their " -#~ "update\n" -#~ "\t\twill be lost along with the rest of the resource." - -#~ msgid "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." -#~ msgstr "" -#~ "\n" -#~ "\t\tDeprecated: Gracefully shut down a resource by name or filename.\n" -#~ "\n" -#~ "\t\tThe stop command is deprecated, all its functionalities are covered " -#~ "by delete command.\n" -#~ "\t\tSee 'kubectl delete --help' for more details.\n" -#~ "\n" -#~ "\t\tAttempts to shut down and delete a resource that supports graceful " -#~ "termination.\n" -#~ "\t\tIf the resource is scalable it will be scaled to 0 before deletion." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of nodes.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." -#~ msgstr "" -#~ "\n" -#~ "\t\t显示 node 的资源(CPU/Memory/Storage)使用.\n" -#~ "\n" -#~ "\t\tThe top-node command allows you to see the resource consumption of " -#~ "nodes." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage of pods.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." -#~ msgstr "" -#~ "\n" -#~ "\t\t显示 pods 资源(CPU/Memory/Storage)使用.\n" -#~ "\n" -#~ "\t\tThe 'top pod' command allows you to see the resource consumption of " -#~ "pods.\n" -#~ "\n" -#~ "\t\tDue to the metrics pipeline delay, they may be unavailable for a few " -#~ "minutes\n" -#~ "\t\tsince pod creation." - -#~ msgid "" -#~ "\n" -#~ "\t\tDisplay Resource (CPU/Memory/Storage) usage.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " -#~ msgstr "" -#~ "\n" -#~ "\t\t显示资源(CPU/Memory/Storage)使用.\n" -#~ "\n" -#~ "\t\tThe top command allows you to see the resource consumption for nodes " -#~ "or pods.\n" -#~ "\n" -#~ "\t\tThis command requires Heapster to be correctly configured and working " -#~ "on the server. " - -#~ msgid "" -#~ "\n" -#~ "\t\tDrain node in preparation for maintenance.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\t清理节点为节点维护做准备.\n" -#~ "\n" -#~ "\t\tThe given node will be marked unschedulable to prevent new pods from " -#~ "arriving.\n" -#~ "\t\t'drain' evicts the pods if the APIServer supports eviction\n" -#~ "\t\t(http://kubernetes.io/docs/admin/disruptions/). Otherwise, it will " -#~ "use normal DELETE\n" -#~ "\t\tto delete the pods.\n" -#~ "\t\tThe 'drain' evicts or deletes all pods except mirror pods (which " -#~ "cannot be deleted through\n" -#~ "\t\tthe API server). If there are DaemonSet-managed pods, drain will not " -#~ "proceed\n" -#~ "\t\twithout --ignore-daemonsets, and regardless it will not delete any\n" -#~ "\t\tDaemonSet-managed pods, because those pods would be immediately " -#~ "replaced by the\n" -#~ "\t\tDaemonSet controller, which ignores unschedulable markings. If there " -#~ "are any\n" -#~ "\t\tpods that are neither mirror pods nor managed by " -#~ "ReplicationController,\n" -#~ "\t\tReplicaSet, DaemonSet, StatefulSet or Job, then drain will not delete " -#~ "any pods unless you\n" -#~ "\t\tuse --force. --force will also allow deletion to proceed if the " -#~ "managing resource of one\n" -#~ "\t\tor more pods is missing.\n" -#~ "\n" -#~ "\t\t'drain' waits for graceful termination. You should not operate on the " -#~ "machine until\n" -#~ "\t\tthe command completes.\n" -#~ "\n" -#~ "\t\tWhen you are ready to put the node back into service, use kubectl " -#~ "uncordon, which\n" -#~ "\t\twill make the node schedulable again.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_drain.svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tEdit a resource from the default editor.\n" -#~ "\n" -#~ "\t\tThe edit command allows you to directly edit any API resource you can " -#~ "retrieve via the\n" -#~ "\t\tcommand line tools. It will open the editor defined by your " -#~ "KUBE_EDITOR, or EDITOR\n" -#~ "\t\tenvironment variables, or fall back to 'vi' for Linux or 'notepad' " -#~ "for Windows.\n" -#~ "\t\tYou can edit multiple objects, although changes are applied one at a " -#~ "time. The command\n" -#~ "\t\taccepts filenames as well as command line arguments, although the " -#~ "files you point to must\n" -#~ "\t\tbe previously saved versions of resources.\n" -#~ "\n" -#~ "\t\tEditing is done with the API version used to fetch the resource.\n" -#~ "\t\tTo edit using a specific API version, fully-qualify the resource, " -#~ "version, and group.\n" -#~ "\n" -#~ "\t\tThe default format is YAML. To edit in JSON, specify \"-o json\".\n" -#~ "\n" -#~ "\t\tThe flag --windows-line-endings can be used to force Windows line " -#~ "endings,\n" -#~ "\t\totherwise the default for your operating system will be used.\n" -#~ "\n" -#~ "\t\tIn the event an error occurs while updating, a temporary file will be " -#~ "created on disk\n" -#~ "\t\tthat contains your unapplied changes. The most common error when " -#~ "updating a resource\n" -#~ "\t\tis another editor changing the resource on the server. When this " -#~ "occurs, you will have\n" -#~ "\t\tto apply your changes to the newer version of the resource, or update " -#~ "your temporary\n" -#~ "\t\tsaved copy to include the latest resource version." -#~ msgstr "" -#~ "\n" -#~ "\t\t使用默认的编辑器修改资源.\n" -#~ "\n" -#~ "\t\tedit 命令允许你通过命令行直接修改 API 资源.\n" -#~ "\t\t它会打开你在 KUBE_EDITOR 或者EDITOR 环境变量中定义的编辑器\n" -#~ "\t\t或者回滚到 Linux vi 编辑器或者 Windows notepad.\n" -#~ "\t\t你可以修改多个对象, 虽然每次只能修改一次. 这个命令\n" -#~ "\t\t同时也接受文件名作为命令行参数, 尽管这些文件你指出必须是\n" -#~ "\t\t你之前保存的资源版本.\n" -#~ "\n" -#~ "\t\tEditing 是通过用于获取资源的API版本完成的.\n" -#~ "\t\t为了能通过指定的 API 版本修改, 请完全限定 resource, version 和 " -#~ "group.\n" -#~ "\n" -#~ "\t\t默认是 YAML 格式. 想在 JSON 中修改, 指定 \"-o json\".\n" -#~ "\n" -#~ "\t\t--windows-line-endings 命令行参数可以用来强制使用 Windows line " -#~ "endings,\n" -#~ "\t\t否则会使用你操作系统的默认值.\n" -#~ "\n" -#~ "\t\t如果更新时发生错误,将在磁盘上创建一个临时文件\n" -#~ "\t\t里面包含您未应用的更改. 更新资源时最常见的错误\n" -#~ "\t\t是另一个编辑器也在服务器中修改这个资源. 当发生这种情况时, 你将\n" -#~ "\t\t需要应用你的修改到资源的最新版本, 或者更新你被保存的临时文件\n" -#~ "\t\t复制它并使用最新的版本." - -#~ msgid "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" -#~ msgstr "" -#~ "\n" -#~ "\t\tOutput shell completion code for the specified shell (bash or zsh).\n" -#~ "\t\tThe shell code must be evaluated to provide interactive\n" -#~ "\t\tcompletion of kubectl commands. This can be done by sourcing it " -#~ "from\n" -#~ "\t\tthe .bash_profile.\n" -#~ "\n" -#~ "\t\tNote: this requires the bash-completion framework, which is not " -#~ "installed\n" -#~ "\t\tby default on Mac. This can be installed by using homebrew:\n" -#~ "\n" -#~ "\t\t $ brew install bash-completion\n" -#~ "\n" -#~ "\t\tOnce installed, bash_completion must be evaluated. This can be done " -#~ "by adding the\n" -#~ "\t\tfollowing line to the .bash_profile\n" -#~ "\n" -#~ "\t\t $ source $(brew --prefix)/etc/bash_completion\n" -#~ "\n" -#~ "\t\tNote for zsh users: [1] zsh completions are only supported in " -#~ "versions of zsh >= 5.2" - -#~ msgid "" -#~ "\n" -#~ "\t\tPerform a rolling update of the given ReplicationController.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" -#~ msgstr "" -#~ "\n" -#~ "\t\t完成指定的 ReplicationController 的滚动升级.\n" -#~ "\n" -#~ "\t\tReplaces the specified replication controller with a new replication " -#~ "controller by updating one pod at a time to use the\n" -#~ "\t\tnew PodTemplate. The new-controller.json must specify the same " -#~ "namespace as the\n" -#~ "\t\texisting replication controller and overwrite at least one (common) " -#~ "label in its replicaSelector.\n" -#~ "\n" -#~ "\t\t![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate." -#~ "svg)" - -#~ msgid "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" -#~ msgstr "" -#~ "\n" -#~ "\t\tReplace a resource by filename or stdin.\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted. If replacing an existing " -#~ "resource, the\n" -#~ "\t\tcomplete resource spec must be provided. This can be obtained by\n" -#~ "\n" -#~ "\t\t $ kubectl get TYPE NAME -o yaml\n" - -#~ msgid "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." -#~ msgstr "" -#~ "\n" -#~ "\t\tSet a new size for a Deployment, ReplicaSet, Replication Controller, " -#~ "or Job.\n" -#~ "\n" -#~ "\t\tScale also allows users to specify one or more preconditions for the " -#~ "scale action.\n" -#~ "\n" -#~ "\t\tIf --current-replicas or --resource-version is specified, it is " -#~ "validated before the\n" -#~ "\t\tscale is attempted, and it is guaranteed that the precondition holds " -#~ "true when the\n" -#~ "\t\tscale is sent to the server." - -#~ msgid "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" -#~ msgstr "" -#~ "\n" -#~ "\t\tTo proxy all of the kubernetes api and nothing else, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/\n" -#~ "\n" -#~ "\t\tTo proxy only part of the kubernetes api and also some static files:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --www=/my/files --www-prefix=/static/ --api-" -#~ "prefix=/api/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/api/v1/pods'.\n" -#~ "\n" -#~ "\t\tTo proxy the entire kubernetes api at a different root, use:\n" -#~ "\n" -#~ "\t\t $ kubectl proxy --api-prefix=/custom/\n" -#~ "\n" -#~ "\t\tThe above lets you 'curl localhost:8001/custom/api/v1/pods'" - -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" -#~ msgstr "" -#~ "\n" -#~ "\t\tUpdate field(s) of a resource using strategic merge patch\n" -#~ "\n" -#~ "\t\tJSON and YAML formats are accepted.\n" - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the labels on a resource.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." -#~ msgstr "" -#~ "\n" -#~ "\t\tUpdate the labels on a resource.\n" -#~ "\n" -#~ "\t\t* A label must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* If --overwrite is true, then existing labels can be overwritten, " -#~ "otherwise attempting to overwrite a label will result in an error.\n" -#~ "\t\t* If --resource-version is specified, then updates will use this " -#~ "resource version, otherwise the existing resource-version will be used." - -#, c-format -#~ msgid "" -#~ "\n" -#~ "\t\tUpdate the taints on one or more nodes.\n" -#~ "\n" -#~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " -#~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" -#~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -#~ "\t\t* Currently taint can only apply to node." -#~ msgstr "" -#~ "\n" -#~ "\t\t更新一个或者多个 node 上的 taints.\n" -#~ "\n" -#~ "\t\t* A taint consists of a key, value, and effect. As an argument here, " -#~ "it is expressed as key=value:effect.\n" -#~ "\t\t* The key must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[1]d " -#~ "characters.\n" -#~ "\t\t* The value must begin with a letter or number, and may contain " -#~ "letters, numbers, hyphens, dots, and underscores, up to %[2]d " -#~ "characters.\n" -#~ "\t\t* The effect must be NoSchedule, PreferNoSchedule or NoExecute.\n" -#~ "\t\t* Currently taint can only apply to node." - -#~ msgid "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." -#~ msgstr "" -#~ "\n" -#~ "\t\tView the latest last-applied-configuration annotations by type/name " -#~ "or file.\n" -#~ "\n" -#~ "\t\tThe default output will be printed to stdout in YAML format. One can " -#~ "use -o option\n" -#~ "\t\tto change output format." - -#~ msgid "" -#~ "\n" -#~ "\t # !!!Important Note!!!\n" -#~ "\t # Requires that the 'tar' binary is present in your container\n" -#~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" -#~ "\n" -#~ "\t # Copy /tmp/foo_dir local directory to /tmp/bar_dir in a remote pod " -#~ "in the default namespace\n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # Copy /tmp/foo local file to /tmp/bar in a remote pod in a " -#~ "specific container\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo local file to /tmp/bar in a remote pod in namespace " -#~ "\n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# Copy /tmp/foo from a remote pod to /tmp/bar locally\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" -#~ msgstr "" -#~ "\n" -#~ "\t # !!!注意!!!\n" -#~ "\t # 要求容器中有 'tar' 命令\n" -#~ "\t # image. If 'tar' is not present, 'kubectl cp' will fail.\n" -#~ "\n" -#~ "\t # 复制本地目录 /tmp/foo_dir 到 default namespace 下的远程 pod 的 /" -#~ "tmp/bar_dir 路径 \n" -#~ "\t\tkubectl cp /tmp/foo_dir :/tmp/bar_dir\n" -#~ "\n" -#~ " # 复制 /tmp/foo local 本地文件到指定远程 pod 的指定容器的 /tmp/" -#~ "bar 路径\n" -#~ "\t\tkubectl cp /tmp/foo :/tmp/bar -c \n" -#~ "\n" -#~ "\t\t# 复制 /tmp/foo 本地文件到在 namespace 下的某个 pod " -#~ "的 /tmp/bar 路径\n" -#~ "\t\tkubectl cp /tmp/foo /:/tmp/bar\n" -#~ "\n" -#~ "\t\t# 从一个远程的 pod 的 /tmp/foo 路径复制到本地 /tmp/bar 路径\n" -#~ "\t\tkubectl cp /:/tmp/foo /tmp/bar" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new TLS secret named tls-secret with the given key pair:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" -#~ msgstr "" -#~ "\n" -#~ "\t # 使用提供的 key pair 名称为tls-secret 的 secret:\n" -#~ "\t kubectl create secret tls tls-secret --cert=path/to/tls.cert --" -#~ "key=path/to/tls.key" - -#~ msgid "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" -#~ msgstr "" -#~ "\n" -#~ "\t # Create a new secret named my-secret with keys for each file in " -#~ "folder bar\n" -#~ "\t kubectl create secret generic my-secret --from-file=path/to/bar\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with specified keys instead of " -#~ "names on disk\n" -#~ "\t kubectl create secret generic my-secret --from-file=ssh-privatekey=~/." -#~ "ssh/id_rsa --from-file=ssh-publickey=~/.ssh/id_rsa.pub\n" -#~ "\n" -#~ "\t # Create a new secret named my-secret with key1=supersecret and " -#~ "key2=topsecret\n" -#~ "\t kubectl create secret generic my-secret --from-" -#~ "literal=key1=supersecret --from-literal=key2=topsecret" - -#~ msgid "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" -#~ msgstr "" -#~ "\n" -#~ "\t# Create a new ExternalName service named my-ns \n" -#~ "\tkubectl create service externalname my-ns --external-name bar.com" - -#~ msgid "" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # Create a new clusterIP service named my-cs (in headless mode)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" -#~ msgstr "" -#~ "\n" -#~ " # 创建一个名称为 my-cs 的 clusterIP service\n" -#~ " kubectl create service clusterip my-cs --tcp=5678:8080\n" -#~ "\n" -#~ " # 创建一个名称为 my-cs 的 clusterIP service (在 headless 模式)\n" -#~ " kubectl create service clusterip my-cs --clusterip=\"None\"" - -#~ msgid "" -#~ "\n" -#~ " # Create a new deployment named my-dep that runs the busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" -#~ msgstr "" -#~ "\n" -#~ " # 创建一个名称为 my-dep 的 deployment 并运行 busybox image.\n" -#~ " kubectl create deployment my-dep --image=busybox" - -#~ msgid "" -#~ "\n" -#~ " # Create a new nodeport service named my-ns\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" -#~ msgstr "" -#~ "\n" -#~ " # 创建一个名称为 my-ns 的 nodeport service\n" -#~ " kubectl create service nodeport my-ns --tcp=5678:8080" - -#~ msgid "" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" -#~ " # If the same annotation is set multiple times, only the last value " -#~ "will be applied\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Update a pod identified by type and name in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Update all pods in the namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # Update pod 'foo' by removing an annotation named 'description' if " -#~ "it exists.\n" -#~ " # Does not require the --overwrite flag.\n" -#~ " kubectl annotate pods foo description-" -#~ msgstr "" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend'.\n" -#~ " # If the same annotation is set multiple times, only the last value " -#~ "will be applied\n" -#~ " kubectl annotate pods foo description='my frontend'\n" -#~ "\n" -#~ " # Update a pod identified by type and name in \"pod.json\"\n" -#~ " kubectl annotate -f pod.json description='my frontend'\n" -#~ "\n" -#~ " # Update pod 'foo' with the annotation 'description' and the value " -#~ "'my frontend running nginx', overwriting any existing value.\n" -#~ " kubectl annotate --overwrite pods foo description='my frontend " -#~ "running nginx'\n" -#~ "\n" -#~ " # Update all pods in the namespace\n" -#~ " kubectl annotate pods --all description='my frontend running nginx'\n" -#~ "\n" -#~ " # Update pod 'foo' only if the resource is unchanged from version 1.\n" -#~ " kubectl annotate pods foo description='my frontend running nginx' --" -#~ "resource-version=1\n" -#~ "\n" -#~ " # 更新名称为 'foo' 的 pod, 删除一个名称为 'description' 的 annotation " -#~ "如果它存在. \n" -#~ " # 不要求使用 --overwrite flag.\n" -#~ " kubectl annotate pods foo description-" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_serviceaccount.go#L44 -#~ msgid "" -#~ "\n" -#~ " Create a clusterIP service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " 使用一个指定的名称创建一个 clusterIP service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 -#~ msgid "" -#~ "\n" -#~ " Create a deployment with the specified name." -#~ msgstr "" -#~ "\n" -#~ " 使用一个指定的名称创建一个 deployment." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 -#~ msgid "" -#~ "\n" -#~ " Create a nodeport service with the specified name." -#~ msgstr "" -#~ "\n" -#~ " 使用一个指定的名称创建一个 nodeport service." - -#~ msgid "" -#~ "\n" -#~ " Dumps cluster info out suitable for debugging and diagnosing cluster " -#~ "problems. By default, dumps everything to\n" -#~ " stdout. You can optionally specify a directory with --output-" -#~ "directory. If you specify a directory, kubernetes will\n" -#~ " build a set of files in that directory. By default only dumps things " -#~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" -#~ "\n" -#~ " The command also dumps the logs of all of the pods in the cluster, " -#~ "these logs are dumped into different directories\n" -#~ " based on namespace and pod name." -#~ msgstr "" -#~ "\n" -#~ " Dumps cluster info out suitable for debugging and diagnosing cluster " -#~ "problems. By default, dumps everything to\n" -#~ " stdout. You can optionally specify a directory with --output-" -#~ "directory. If you specify a directory, kubernetes will\n" -#~ " build a set of files in that directory. By default only dumps things " -#~ "in the 'kube-system' namespace, but you can\n" -#~ " switch to a different namespace with the --namespaces flag, or " -#~ "specify --all-namespaces to dump all namespaces.\n" -#~ "\n" -#~ " The command also dumps the logs of all of the pods in the cluster, " -#~ "these logs are dumped into different directories\n" -#~ " based on namespace and pod name." - -#~ msgid "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." -#~ msgstr "" -#~ "\n" -#~ " Display addresses of the master and services with label kubernetes.io/" -#~ "cluster-service=true\n" -#~ " To further debug and diagnose cluster problems, use 'kubectl cluster-" -#~ "info dump'." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L136 -#~ msgid "A schedule in the Cron format the job should be run with." -#~ msgstr "A schedule in the Cron format the job should be run with." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L134 -#~ msgid "" -#~ "An inline JSON override for the generated service object. If this is non-" -#~ "empty, it is used to override the generated object. Requires that the " -#~ "object supply a valid apiVersion field. Only used if --expose is true." -#~ msgstr "" -#~ "An inline JSON override for the generated service object. If this is non-" -#~ "empty, it is used to override the generated object. Requires that the " -#~ "object supply a valid apiVersion field. Only used if --expose is true." - -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "通过文件名或标准输入流(stdin)对资源进行配置" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L55 -#~ msgid "Auto-scale a Deployment, ReplicaSet, or ReplicationController" -#~ msgstr "" -#~ "自动调整一个 Deployment, ReplicaSet, 或者 ReplicationController 的副本数量" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L101 -#~ msgid "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" -#~ msgstr "" -#~ "Container name which will have its image upgraded. Only relevant when --" -#~ "image is specified, ignored otherwise. Required when using --image on a " -#~ "multi-container pod" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_clusterrolebinding.go#L43 -#~ msgid "Create a ClusterRoleBinding for a particular ClusterRole" -#~ msgstr "为一个指定的 ClusterRole 创建一个 ClusterRoleBinding" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L181 -#~ msgid "Create a LoadBalancer service." -#~ msgstr "创建一个 LoadBalancer service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L124 -#~ msgid "Create a NodePort service." -#~ msgstr "创建一个 NodePort service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_rolebinding.go#L43 -#~ msgid "Create a RoleBinding for a particular Role or ClusterRole" -#~ msgstr "为一个指定的 Role 或者 ClusterRole创建一个 RoleBinding" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L68 -#~ msgid "Create a clusterIP service." -#~ msgstr "创建一个 clusterIP service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_configmap.go#L59 -#~ msgid "Create a configmap from a local file, directory or literal value" -#~ msgstr "从本地 file, directory 或者 literal value 创建一个 configmap" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_deployment.go#L44 -#~ msgid "Create a deployment with the specified name." -#~ msgstr "创建一个指定名称的 deployment." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_pdb.go#L49 -#~ msgid "Create a pod disruption budget with the specified name." -#~ msgstr "创建一个指定名称的 pod disruption budget." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_quota.go#L47 -#~ msgid "Create a quota with the specified name." -#~ msgstr "创建一个指定名称的 quota." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create.go#L56 -#~ msgid "Create a resource by filename or stdin" -#~ msgstr "通过文件名或者标准输入流(stdin)创建一个资源" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_secret.go#L73 -#~ msgid "Create a secret from a local file, directory or literal value" -#~ msgstr "从本地 file, directory 或者 literal value 创建一个 secret" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L36 -#~ msgid "Create a service using specified subcommand." -#~ msgstr "使用指定的 subcommand 创建一个 service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L240 -#~ msgid "Create an ExternalName service." -#~ msgstr "Create an ExternalName service." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/delete.go#L130 -#~ msgid "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" -#~ msgstr "" -#~ "Delete resources by filenames, stdin, resources and names, or by " -#~ "resources and label selector" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/stop.go#L58 -#~ msgid "Deprecated: Gracefully shut down a resource by name or filename" -#~ msgstr "Deprecated: Gracefully shut down a resource by name or filename" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_node.go#L77 -#~ msgid "Display Resource (CPU/Memory) usage of nodes" -#~ msgstr "显示 nodes 的 Resource (CPU/Memory) 使用" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top_pod.go#L79 -#~ msgid "Display Resource (CPU/Memory) usage of pods" -#~ msgstr "显示 pods 的 Resource (CPU/Memory) 使用" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/top.go#L43 -#~ msgid "Display Resource (CPU/Memory) usage." -#~ msgstr "显示 Resource (CPU/Memory) 使用." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo.go#L49 -#~ msgid "Display cluster info" -#~ msgstr "显示集群信息" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/current_context.go#L48 -#~ msgid "Displays the current-context" -#~ msgstr "显示当前的 context" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/explain.go#L50 -#~ msgid "Documentation of resources" -#~ msgstr "查看资源的文档" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/clusterinfo_dump.go#L37 -#~ msgid "Dump lots of relevant info for debugging and diagnosis" -#~ msgstr "Dump lots of relevant info for debugging and diagnosis" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L102 -#~ msgid "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." -#~ msgstr "" -#~ "Explicit policy for when to pull container images. Required when --image " -#~ "is same as existing image, ignored otherwise." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L105 -#~ msgid "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." -#~ msgstr "" -#~ "IP to assign to the Load Balancer. If empty, an ephemeral IP will be " -#~ "created and used (cloud-provider specific)." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L98 -#~ msgid "" -#~ "Image to use for upgrading the replication controller. Must be distinct " -#~ "from the existing image (either new image or new image tag). Can not be " -#~ "used with --filename/-f" -#~ msgstr "" -#~ "Image to use for upgrading the replication controller. Must be distinct " -#~ "from the existing image (either new image or new image tag). Can not be " -#~ "used with --filename/-f" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollout/rollout.go#L46 -#~ msgid "Manage a deployment rollout" -#~ msgstr "管理一个 deployment 的 rollout" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/edit.go#L115 -#~ msgid "" -#~ "Output the formatted object with the given group version (for ex: " -#~ "'extensions/v1beta1').)" -#~ msgstr "" -#~ "Output the formatted object with the given group version (for ex: " -#~ "'extensions/v1beta1').)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L84 -#~ msgid "Perform a rolling update of the given ReplicationController" -#~ msgstr "完成指定的 ReplicationController 的滚动升级" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/replace.go#L70 -#~ msgid "Replace a resource by filename or stdin" -#~ msgstr "通过 filename 或者 stdin替换一个资源" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/scale.go#L71 -#~ msgid "" -#~ "Set a new size for a Deployment, ReplicaSet, Replication Controller, or " -#~ "Job" -#~ msgstr "" -#~ "为 Deployment, ReplicaSet, Replication Controller 或者 Job 设置一个新的副" -#~ "本数量" - -#~ msgid "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." -#~ msgstr "" -#~ "Set the last-applied-configuration annotation on a live object to match " -#~ "the contents of a file." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_cluster.go#L67 -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "设置 kubeconfig 文件中的一个集群条目" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_context.go#L57 -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "设置 kubeconfig 文件中的一个 context 条目" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/create_authinfo.go#L103 -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "设置 kubeconfig 文件中的一个用户条目" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/set.go#L59 -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "设置 kubeconfig 文件中的一个单个值" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/use_context.go#L48 -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "设置 kubeconfig 文件中的当前上下文" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L87 -#~ msgid "" -#~ "Take a replication controller, service, deployment or pod and expose it " -#~ "as a new Kubernetes Service" -#~ msgstr "" -#~ "使用 replication controller, service, deployment 或者 pod 并暴露它作为一" -#~ "个 新的 Kubernetes Service" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/rollingupdate.go#L100 -#~ msgid "" -#~ "The key to use to differentiate between two different controllers, " -#~ "default 'deployment'. Only relevant when --image is specified, ignored " -#~ "otherwise" -#~ msgstr "" -#~ "这个 key 使用有区别在两个不同的 controllers, 默认 'deployment'. 只有当 --" -#~ "image 指定值, 否则忽略" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L113 -#~ msgid "" -#~ "The name of the API generator to use, see http://kubernetes.io/docs/user-" -#~ "guide/kubectl-conventions/#generators for a list." -#~ msgstr "" -#~ "使用 API generator 的名字, 在 http://kubernetes.io/docs/user-guide/" -#~ "kubectl-conventions/#generators 查看列表." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/autoscale.go#L66 -#~ msgid "" -#~ "The name of the API generator to use. Currently there is only 1 generator." -#~ msgstr "使用 API generator 的名字. 目前只有 1 个 generator." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L133 -#~ msgid "" -#~ "The name of the generator to use for creating a service. Only used if --" -#~ "expose is true" -#~ msgstr "" -#~ "使用 gnerator 的名称创建一个 service. 只有在 --expose 为 true 的时候使用" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L121 -#~ msgid "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." -#~ msgstr "" -#~ "The port that this container exposes. If --expose is true, this is also " -#~ "the port used by the service that is created." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/run.go#L128 -#~ msgid "" -#~ "The restart policy for this Pod. Legal values [Always, OnFailure, " -#~ "Never]. If set to 'Always' a deployment is created, if set to " -#~ "'OnFailure' a job is created, if set to 'Never', a regular pod is " -#~ "created. For the latter two --replicas must be 1. Default 'Always', for " -#~ "CronJobs `Never`." -#~ msgstr "" -#~ "这个 Pod 的 restart policy. Legal values [Always, OnFailure, Never]. 如果" -#~ "设置为 'Always' 一个 deployment 被创建, 如果设置为 ’OnFailure' 一个 job 被" -#~ "创建, 如果设置为 'Never', 一个普通的 pod 被创建. 对于后面两个 --replicas " -#~ "必须为 1. 默认 'Always', 为 CronJobs 设置为 `Never`." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/expose.go#L101 -#~ msgid "" -#~ "Type for this service: ClusterIP, NodePort, or LoadBalancer. Default is " -#~ "'ClusterIP'." -#~ msgstr "" -#~ "对于服务的类型: ClusterIP, NodePort, 或者 LoadBalancer. 默认是 " -#~ "'ClusterIP’." - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/config/unset.go#L47 -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "取消设置 kubeconfig 文件中的一个单个值" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/patch.go#L91 -#~ msgid "Update field(s) of a resource using strategic merge patch" -#~ msgstr "使用 strategic merge patch 更新一个资源的 field(s)" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/set/set_image.go#L94 -#~ msgid "Update image of a pod template" -#~ msgstr "更新一个 pod template 的镜像" - -#~ msgid "" -#~ "View latest last-applied-configuration annotations of a resource/object" -#~ msgstr "" -#~ "显示最后的 resource/object 的 last-applied-configuration annotations" - -# https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/create_service.go#L253 -#~ msgid "external name of service" -#~ msgstr "服务的外部名称" - -#~ msgid "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgid_plural "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgstr[0] "" -#~ "watch 仅支持单独的资源或者资源集合 - 找到了 %d 个资源watch is only " -#~ "supported on individual resources and resource collections - %d resource " -#~ "was found" -#~ msgstr[1] "" -#~ "watch 仅支持单独的资源或者资源集合 - 找到了 %d 个资源watch is only " -#~ "supported on individual resources and resource collections - %d resources " -#~ "were found" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.mo deleted file mode 100644 index 9be9a30d32495cd8128cf281bd0703873e9a9b91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1187 zcma)4&rcIU6do0Sq~5$}q9$|jP{gU*k|-`hL@1^SjSUv{;APoPwg!;@M*{YHM}5?#nqr-!SQV(vvW#Z1 z?G}}$5@)5z*IgsUVQLGWWzIeV!8LuT_Yo*tvSEq^2S}W^_!x#{zCfWqrV6eFhDJ$+ zGc?OM^uYK(m4nbcl@0{#_JkGHnsG<@>8+-FG=*fDOHoo}Saz&g>6;ZADrBr+2o~o; zTbcrA!<%qL+zri5M|#Trs2VZAOP-ga$07Nm^Q5xt12v#CMqM zGAoaJa~5~-)lp04ZGU@B6tyeFNW>QTZjf=OXgQRmsg*bJ&e_D{xll5ZjPG_FjToU` zfA|~23t)fMZ+jcr$$<8B;n?F^wx zX}R`tsrkjcN<&DqaZWh-bKd)}AK$)Q4-y1Z?H13DW ln=9VT*F7BG{3mZVXn1>d(p#T~BHrrT?KiK(O`o?F{Q*85ssjK3 diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.po deleted file mode 100644 index 58fd63a9..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/kubectl/zh_TW/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,81 +0,0 @@ -# Test translations for unit tests. -# Copyright (C) 2017 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR warmchang@outlook.com, 2017. -# -msgid "" -msgstr "" -"Project-Id-Version: hello-world\n" -"Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2021-07-07 20:15+0200\n" -"PO-Revision-Date: 2017-06-02 09:13+0800\n" -"Last-Translator: William Chang \n" -"Language-Team: \n" -"Language: zh\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.2\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_cluster.go:42 -msgid "Delete the specified cluster from the kubeconfig" -msgstr "刪除 kubeconfig 檔案中指定的叢集(cluster)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/delete_context.go:42 -msgid "Delete the specified context from the kubeconfig" -msgstr "刪除 kubeconfig 檔案中指定的 context" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_contexts.go:72 -msgid "Describe one or many contexts" -msgstr "描述一個或多個 context" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/get_clusters.go:41 -msgid "Display clusters defined in the kubeconfig" -msgstr "顯示 kubeconfig 檔案中定義的叢集(cluster)" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/view.go:81 -msgid "Display merged kubeconfig settings or a specified kubeconfig file" -msgstr "顯示合併的 kubeconfig 配置或一個指定的 kubeconfig 檔案" - -#: staging/src/k8s.io/kubectl/pkg/cmd/config/config.go:42 -msgid "Modify kubeconfig files" -msgstr "修改 kubeconfig 檔案" - -#: staging/src/k8s.io/kubectl/pkg/cmd/annotate/annotate.go:135 -msgid "Update the annotations on a resource" -msgstr "更新一個資源的注解(annotations)" - -#~ msgid "Apply a configuration to a resource by filename or stdin" -#~ msgstr "通過檔案名或標準輸入流(stdin)對資源進行配置" - -#~ msgid "Displays the current-context" -#~ msgstr "顯示目前的 context" - -#~ msgid "Sets a cluster entry in kubeconfig" -#~ msgstr "設置 kubeconfig 檔案中的一個叢集(cluster)條目" - -#~ msgid "Sets a context entry in kubeconfig" -#~ msgstr "設置 kubeconfig 檔案中的一個 context 條目" - -#~ msgid "Sets a user entry in kubeconfig" -#~ msgstr "設置 kubeconfig 檔案中的一個使用者條目" - -#~ msgid "Sets an individual value in a kubeconfig file" -#~ msgstr "設置 kubeconfig 檔案中的一個值" - -#~ msgid "Sets the current-context in a kubeconfig file" -#~ msgstr "設置 kubeconfig 檔案中的目前 context" - -#~ msgid "Unsets an individual value in a kubeconfig file" -#~ msgstr "取消設置 kubeconfig 檔案中的一個值" - -#~ msgid "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgid_plural "" -#~ "watch is only supported on individual resources and resource collections " -#~ "- %d resources were found" -#~ msgstr[0] "一次只能 watch 一個資源或資料集合 - 找到了 %d 個資源" -#~ msgstr[1] "一次只能 watch 一個資源或資料集合 - 找到了 %d 個資源" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/default/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/default/LC_MESSAGES/k8s.mo deleted file mode 100644 index 5487fb8ccf9de73999585748dd9b9ed6ce09d34c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 563 zcmZXQ&2H2%5Xa5efpFu(g~M>D1cynJEmSKni_n%9RoWG+vLJ5YO{Q6+#E$F&LJz*(~_C!vfd%`4x%%2wyA)0+v)yvR4Vdr1LLUFB=}yN2o3a`p+|lB19YT6?N3Lzy4vWg%DT zjPLyrDmqDZHKf8z\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Language-Team: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: en\n" - -msgid "test_plural" -msgid_plural "test_plural" -msgstr[0] "there was %d item" -msgstr[1] "there were %d items" - -msgid "test_string" -msgstr "foo" diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.mo b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.mo deleted file mode 100644 index 44fe7b5d964a89516db4c6379aa5fb87a941e120..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 563 zcmZXQ&2H2%5XW6w4x~3OTzVJ|mEbUG5>U1BvIuQyQKemVRkjs3>P?2MQDR5718uLU zkHG8oSvpx$^}t9!&G>K6hv)v~&R@Z{&FnGnndi)m8SILA#VBT%xncfn3311MpLy{t z<{q$Tc~gho##j;}kPqLxrgy6OKlZ_CQ;UVOKdB6OTHz%*udR_#QwVe&u(n9os_h!` zxTdDD$vJh_1)Td@S2*o!k4q~dS)AcH{nA4=epZ1b6j^?Vd4c&mC<@6zHp;SOrhLGq zQ^q$cSSMlX$W+R}w0FkChgCeLRk|94Pj#zwla{vqn9NV-$4?XHX_g#W6UcDAn~oa} z10Qsa(q;_hS~*W)agT}el=u7p^4rcB+dns7;~9k#I9G@e-3dI=^j-cO1##BlP)!0QR*Z^yidm@0ux aBEp&+!EfbZzXBboeN+bdpX9|#-HHc9@}Y(R diff --git a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.po b/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.po deleted file mode 100644 index 9944046a..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/i18n/translations/test/en_US/LC_MESSAGES/k8s.po +++ /dev/null @@ -1,28 +0,0 @@ -# Test translations for unit tests. -# Copyright (C) 2016 -# This file is distributed under the same license as the Kubernetes package. -# FIRST AUTHOR brendan.d.burns@gmail.com, 2016. -# -msgid "" -msgstr "" -"Project-Id-Version: gettext-go-examples-hello\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-12-12 20:03+0000\n" -"PO-Revision-Date: 2016-12-13 22:12-0800\n" -"Last-Translator: Brendan Burns \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-SourceCharset: UTF-8\n" -"Language-Team: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: en\n" - -msgid "test_plural" -msgid_plural "test_plural" -msgstr[0] "there was %d item" -msgstr[1] "there were %d items" - -msgid "test_string" -msgstr "baz" diff --git a/vendor/k8s.io/kubectl/pkg/util/interrupt/interrupt.go b/vendor/k8s.io/kubectl/pkg/util/interrupt/interrupt.go deleted file mode 100644 index 0265b9fb..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/interrupt/interrupt.go +++ /dev/null @@ -1,104 +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 interrupt - -import ( - "os" - "os/signal" - "sync" - "syscall" -) - -// terminationSignals are signals that cause the program to exit in the -// supported platforms (linux, darwin, windows). -var terminationSignals = []os.Signal{syscall.SIGHUP, syscall.SIGINT, syscall.SIGTERM, syscall.SIGQUIT} - -// Handler guarantees execution of notifications after a critical section (the function passed -// to a Run method), even in the presence of process termination. It guarantees exactly once -// invocation of the provided notify functions. -type Handler struct { - notify []func() - final func(os.Signal) - once sync.Once -} - -// Chain creates a new handler that invokes all notify functions when the critical section exits -// and then invokes the optional handler's notifications. This allows critical sections to be -// nested without losing exactly once invocations. Notify functions can invoke any cleanup needed -// but should not exit (which is the responsibility of the parent handler). -func Chain(handler *Handler, notify ...func()) *Handler { - if handler == nil { - return New(nil, notify...) - } - return New(handler.Signal, append(notify, handler.Close)...) -} - -// New creates a new handler that guarantees all notify functions are run after the critical -// section exits (or is interrupted by the OS), then invokes the final handler. If no final -// handler is specified, the default final is `os.Exit(1)`. A handler can only be used for -// one critical section. -func New(final func(os.Signal), notify ...func()) *Handler { - return &Handler{ - final: final, - notify: notify, - } -} - -// Close executes all the notification handlers if they have not yet been executed. -func (h *Handler) Close() { - h.once.Do(func() { - for _, fn := range h.notify { - fn() - } - }) -} - -// Signal is called when an os.Signal is received, and guarantees that all notifications -// are executed, then the final handler is executed. This function should only be called once -// per Handler instance. -func (h *Handler) Signal(s os.Signal) { - h.once.Do(func() { - for _, fn := range h.notify { - fn() - } - if h.final == nil { - os.Exit(1) - } - h.final(s) - }) -} - -// Run ensures that any notifications are invoked after the provided fn exits (even if the -// process is interrupted by an OS termination signal). Notifications are only invoked once -// per Handler instance, so calling Run more than once will not behave as the user expects. -func (h *Handler) Run(fn func() error) error { - ch := make(chan os.Signal, 1) - signal.Notify(ch, terminationSignals...) - defer func() { - signal.Stop(ch) - close(ch) - }() - go func() { - sig, ok := <-ch - if !ok { - return - } - h.Signal(sig) - }() - defer h.Close() - return fn() -} diff --git a/vendor/k8s.io/kubectl/pkg/util/openapi/OWNERS b/vendor/k8s.io/kubectl/pkg/util/openapi/OWNERS deleted file mode 100644 index cb873612..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/openapi/OWNERS +++ /dev/null @@ -1,6 +0,0 @@ -# See the OWNERS docs at https://go.k8s.io/owners - -approvers: - - apelisse -reviewers: - - apelisse diff --git a/vendor/k8s.io/kubectl/pkg/util/openapi/doc.go b/vendor/k8s.io/kubectl/pkg/util/openapi/doc.go deleted file mode 100644 index 08194d58..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/openapi/doc.go +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package openapi is a collection of libraries for fetching the openapi spec -// from a Kubernetes server and then indexing the type definitions. -// The openapi spec contains the object model definitions and extensions metadata -// such as the patchStrategy and patchMergeKey for creating patches. -package openapi // k8s.io/kubectl/pkg/util/openapi diff --git a/vendor/k8s.io/kubectl/pkg/util/openapi/extensions.go b/vendor/k8s.io/kubectl/pkg/util/openapi/extensions.go deleted file mode 100644 index 13f88bc8..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/openapi/extensions.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package openapi - -import "k8s.io/kube-openapi/pkg/validation/spec" - -// PrintColumnsKey is the key that defines which columns should be printed -const PrintColumnsKey = "x-kubernetes-print-columns" - -// GetPrintColumns looks for the open API extension for the display columns. -func GetPrintColumns(extensions spec.Extensions) (string, bool) { - return extensions.GetString(PrintColumnsKey) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/openapi/openapi.go b/vendor/k8s.io/kubectl/pkg/util/openapi/openapi.go deleted file mode 100644 index 43780ca5..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/openapi/openapi.go +++ /dev/null @@ -1,128 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package openapi - -import ( - openapi_v2 "github.com/google/gnostic/openapiv2" - - "k8s.io/apimachinery/pkg/runtime/schema" - "k8s.io/kube-openapi/pkg/util/proto" -) - -// Resources interface describe a resources provider, that can give you -// resource based on group-version-kind. -type Resources interface { - LookupResource(gvk schema.GroupVersionKind) proto.Schema -} - -// groupVersionKindExtensionKey is the key used to lookup the -// GroupVersionKind value for an object definition from the -// definition's "extensions" map. -const groupVersionKindExtensionKey = "x-kubernetes-group-version-kind" - -// document is an implementation of `Resources`. It looks for -// resources in an openapi Schema. -type document struct { - // Maps gvk to model name - resources map[schema.GroupVersionKind]string - models proto.Models -} - -var _ Resources = &document{} - -// NewOpenAPIData creates a new `Resources` out of the openapi document -func NewOpenAPIData(doc *openapi_v2.Document) (Resources, error) { - models, err := proto.NewOpenAPIData(doc) - if err != nil { - return nil, err - } - - resources := map[schema.GroupVersionKind]string{} - for _, modelName := range models.ListModels() { - model := models.LookupModel(modelName) - if model == nil { - panic("ListModels returns a model that can't be looked-up.") - } - gvkList := parseGroupVersionKind(model) - for _, gvk := range gvkList { - if len(gvk.Kind) > 0 { - resources[gvk] = modelName - } - } - } - - return &document{ - resources: resources, - models: models, - }, nil -} - -func (d *document) LookupResource(gvk schema.GroupVersionKind) proto.Schema { - modelName, found := d.resources[gvk] - if !found { - return nil - } - return d.models.LookupModel(modelName) -} - -// Get and parse GroupVersionKind from the extension. Returns empty if it doesn't have one. -func parseGroupVersionKind(s proto.Schema) []schema.GroupVersionKind { - extensions := s.GetExtensions() - - gvkListResult := []schema.GroupVersionKind{} - - // Get the extensions - gvkExtension, ok := extensions[groupVersionKindExtensionKey] - if !ok { - return []schema.GroupVersionKind{} - } - - // gvk extension must be a list of at least 1 element. - gvkList, ok := gvkExtension.([]interface{}) - if !ok { - return []schema.GroupVersionKind{} - } - - for _, gvk := range gvkList { - // gvk extension list must be a map with group, version, and - // kind fields - gvkMap, ok := gvk.(map[interface{}]interface{}) - if !ok { - continue - } - group, ok := gvkMap["group"].(string) - if !ok { - continue - } - version, ok := gvkMap["version"].(string) - if !ok { - continue - } - kind, ok := gvkMap["kind"].(string) - if !ok { - continue - } - - gvkListResult = append(gvkListResult, schema.GroupVersionKind{ - Group: group, - Version: version, - Kind: kind, - }) - } - - return gvkListResult -} diff --git a/vendor/k8s.io/kubectl/pkg/util/openapi/openapi_getter.go b/vendor/k8s.io/kubectl/pkg/util/openapi/openapi_getter.go deleted file mode 100644 index 1af4566b..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/openapi/openapi_getter.go +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package openapi - -import ( - "sync" - - openapi_v2 "github.com/google/gnostic/openapiv2" - "k8s.io/client-go/discovery" -) - -// CachedOpenAPIGetter fetches the openapi schema once and then caches it in memory -type CachedOpenAPIGetter struct { - openAPIClient discovery.OpenAPISchemaInterface - - // Cached results - sync.Once - openAPISchema *openapi_v2.Document - err error -} - -var _ discovery.OpenAPISchemaInterface = &CachedOpenAPIGetter{} - -// NewOpenAPIGetter returns an object to return OpenAPIDatas which reads -// from a server, and then stores in memory for subsequent invocations -func NewOpenAPIGetter(openAPIClient discovery.OpenAPISchemaInterface) *CachedOpenAPIGetter { - return &CachedOpenAPIGetter{ - openAPIClient: openAPIClient, - } -} - -// OpenAPISchema implements OpenAPISchemaInterface. -func (g *CachedOpenAPIGetter) OpenAPISchema() (*openapi_v2.Document, error) { - g.Do(func() { - g.openAPISchema, g.err = g.openAPIClient.OpenAPISchema() - }) - - // Return the saved result. - return g.openAPISchema, g.err -} - -type CachedOpenAPIParser struct { - openAPIClient discovery.OpenAPISchemaInterface - - // Cached results - sync.Once - openAPIResources Resources - err error -} - -func NewOpenAPIParser(openAPIClient discovery.OpenAPISchemaInterface) *CachedOpenAPIParser { - return &CachedOpenAPIParser{ - openAPIClient: openAPIClient, - } -} - -func (p *CachedOpenAPIParser) Parse() (Resources, error) { - p.Do(func() { - oapi, err := p.openAPIClient.OpenAPISchema() - if err != nil { - p.err = err - return - } - p.openAPIResources, p.err = NewOpenAPIData(oapi) - }) - - return p.openAPIResources, p.err -} diff --git a/vendor/k8s.io/kubectl/pkg/util/openapi/validation/validation.go b/vendor/k8s.io/kubectl/pkg/util/openapi/validation/validation.go deleted file mode 100644 index 62ce3df2..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/openapi/validation/validation.go +++ /dev/null @@ -1,140 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package validation - -import ( - "errors" - - "k8s.io/apimachinery/pkg/runtime/schema" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/apimachinery/pkg/util/json" - "k8s.io/apimachinery/pkg/util/yaml" - "k8s.io/kube-openapi/pkg/util/proto/validation" - "k8s.io/kubectl/pkg/util/openapi" -) - -// SchemaValidation validates the object against an OpenAPI schema. -type SchemaValidation struct { - resources openapi.Resources -} - -// NewSchemaValidation creates a new SchemaValidation that can be used -// to validate objects. -func NewSchemaValidation(resources openapi.Resources) *SchemaValidation { - return &SchemaValidation{ - resources: resources, - } -} - -// ValidateBytes will validates the object against using the Resources -// object. -func (v *SchemaValidation) ValidateBytes(data []byte) error { - obj, err := Parse(data) - if err != nil { - return err - } - - gvk, errs := GetObjectKind(obj) - if errs != nil { - return utilerrors.NewAggregate(errs) - } - - if (gvk == schema.GroupVersionKind{Version: "v1", Kind: "List"}) { - return utilerrors.NewAggregate(v.validateList(obj)) - } - - return utilerrors.NewAggregate(v.validateResource(obj, gvk)) -} - -func (v *SchemaValidation) validateList(object interface{}) []error { - fields, ok := object.(map[string]interface{}) - if !ok || fields == nil { - return []error{errors.New("invalid object to validate")} - } - - allErrors := []error{} - if _, ok := fields["items"].([]interface{}); !ok { - return []error{errors.New("invalid object to validate")} - } - for _, item := range fields["items"].([]interface{}) { - if gvk, errs := GetObjectKind(item); errs != nil { - allErrors = append(allErrors, errs...) - } else { - allErrors = append(allErrors, v.validateResource(item, gvk)...) - } - } - return allErrors -} - -func (v *SchemaValidation) validateResource(obj interface{}, gvk schema.GroupVersionKind) []error { - resource := v.resources.LookupResource(gvk) - if resource == nil { - // resource is not present, let's just skip validation. - return nil - } - - return validation.ValidateModel(obj, resource, gvk.Kind) -} - -func Parse(data []byte) (interface{}, error) { - var obj interface{} - out, err := yaml.ToJSON(data) - if err != nil { - return nil, err - } - if err := json.Unmarshal(out, &obj); err != nil { - return nil, err - } - return obj, nil -} - -func GetObjectKind(object interface{}) (schema.GroupVersionKind, []error) { - var listErrors []error - fields, ok := object.(map[string]interface{}) - if !ok || fields == nil { - listErrors = append(listErrors, errors.New("invalid object to validate")) - return schema.GroupVersionKind{}, listErrors - } - - var group string - var version string - apiVersion := fields["apiVersion"] - if apiVersion == nil { - listErrors = append(listErrors, errors.New("apiVersion not set")) - } else if _, ok := apiVersion.(string); !ok { - listErrors = append(listErrors, errors.New("apiVersion isn't string type")) - } else { - gv, err := schema.ParseGroupVersion(apiVersion.(string)) - if err != nil { - listErrors = append(listErrors, err) - } else { - group = gv.Group - version = gv.Version - } - } - kind := fields["kind"] - if kind == nil { - listErrors = append(listErrors, errors.New("kind not set")) - } else if _, ok := kind.(string); !ok { - listErrors = append(listErrors, errors.New("kind isn't string type")) - } - if listErrors != nil { - return schema.GroupVersionKind{}, listErrors - } - - return schema.GroupVersionKind{Group: group, Version: version, Kind: kind.(string)}, nil -} diff --git a/vendor/k8s.io/kubectl/pkg/util/templates/command_groups.go b/vendor/k8s.io/kubectl/pkg/util/templates/command_groups.go deleted file mode 100644 index 447a3962..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/templates/command_groups.go +++ /dev/null @@ -1,59 +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 templates - -import ( - "github.com/spf13/cobra" -) - -type CommandGroup struct { - Message string - Commands []*cobra.Command -} - -type CommandGroups []CommandGroup - -func (g CommandGroups) Add(c *cobra.Command) { - for _, group := range g { - c.AddCommand(group.Commands...) - } -} - -func (g CommandGroups) Has(c *cobra.Command) bool { - for _, group := range g { - for _, command := range group.Commands { - if command == c { - return true - } - } - } - return false -} - -func AddAdditionalCommands(g CommandGroups, message string, cmds []*cobra.Command) CommandGroups { - group := CommandGroup{Message: message} - for _, c := range cmds { - // Don't show commands that have no short description - if !g.Has(c) && len(c.Short) != 0 { - group.Commands = append(group.Commands, c) - } - } - if len(group.Commands) == 0 { - return g - } - return append(g, group) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/templates/help_flags_printer.go b/vendor/k8s.io/kubectl/pkg/util/templates/help_flags_printer.go deleted file mode 100644 index fdfdf08e..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/templates/help_flags_printer.go +++ /dev/null @@ -1,76 +0,0 @@ -/* -Copyright 2022 The 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 templates - -import ( - "bytes" - "fmt" - "io" - "strings" - - "github.com/mitchellh/go-wordwrap" - flag "github.com/spf13/pflag" -) - -const offset = 10 - -// HelpFlagPrinter is a printer that -// processes the help flag and print -// it to i/o writer -type HelpFlagPrinter struct { - wrapLimit uint - out io.Writer -} - -// NewHelpFlagPrinter will initialize a HelpFlagPrinter given the -// i/o writer -func NewHelpFlagPrinter(out io.Writer, wrapLimit uint) *HelpFlagPrinter { - return &HelpFlagPrinter{ - wrapLimit: wrapLimit, - out: out, - } -} - -// PrintHelpFlag will beautify the help flags and print it out to p.out -func (p *HelpFlagPrinter) PrintHelpFlag(flag *flag.Flag) { - formatBuf := new(bytes.Buffer) - writeFlag(formatBuf, flag) - - wrappedStr := formatBuf.String() - flagAndUsage := strings.Split(formatBuf.String(), "\n") - flagStr := flagAndUsage[0] - - // if the flag usage is longer than one line, wrap it again - if len(flagAndUsage) > 1 { - nextLines := strings.Join(flagAndUsage[1:], " ") - wrappedUsages := wordwrap.WrapString(nextLines, p.wrapLimit-offset) - wrappedStr = flagStr + "\n" + wrappedUsages - } - appendTabStr := strings.ReplaceAll(wrappedStr, "\n", "\n\t") - - fmt.Fprintf(p.out, appendTabStr+"\n\n") -} - -// writeFlag will output the help flag based -// on the format provided by getFlagFormat to i/o writer -func writeFlag(out io.Writer, f *flag.Flag) { - deprecated := "" - if f.Deprecated != "" { - deprecated = fmt.Sprintf(" (DEPRECATED: %s)", f.Deprecated) - } - fmt.Fprintf(out, getFlagFormat(f), f.Shorthand, f.Name, f.DefValue, f.Usage, deprecated) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/templates/markdown.go b/vendor/k8s.io/kubectl/pkg/util/templates/markdown.go deleted file mode 100644 index 6f2368ad..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/templates/markdown.go +++ /dev/null @@ -1,150 +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 templates - -import ( - "bytes" - "fmt" - "strings" - - "github.com/russross/blackfriday" -) - -const linebreak = "\n" - -// ASCIIRenderer implements blackfriday.Renderer -var _ blackfriday.Renderer = &ASCIIRenderer{} - -// ASCIIRenderer is a blackfriday.Renderer intended for rendering markdown -// documents as plain text, well suited for human reading on terminals. -type ASCIIRenderer struct { - Indentation string - - listItemCount uint - listLevel uint -} - -// NormalText gets a text chunk *after* the markdown syntax was already -// processed and does a final cleanup on things we don't expect here, like -// removing linebreaks on things that are not a paragraph break (auto unwrap). -func (r *ASCIIRenderer) NormalText(out *bytes.Buffer, text []byte) { - raw := string(text) - lines := strings.Split(raw, linebreak) - for _, line := range lines { - trimmed := strings.Trim(line, " \n\t") - if len(trimmed) > 0 && trimmed[0] != '_' { - out.WriteString(" ") - } - out.WriteString(trimmed) - } -} - -// List renders the start and end of a list. -func (r *ASCIIRenderer) List(out *bytes.Buffer, text func() bool, flags int) { - r.listLevel++ - out.WriteString(linebreak) - text() - r.listLevel-- -} - -// ListItem renders list items and supports both ordered and unordered lists. -func (r *ASCIIRenderer) ListItem(out *bytes.Buffer, text []byte, flags int) { - if flags&blackfriday.LIST_ITEM_BEGINNING_OF_LIST != 0 { - r.listItemCount = 1 - } else { - r.listItemCount++ - } - indent := strings.Repeat(r.Indentation, int(r.listLevel)) - var bullet string - if flags&blackfriday.LIST_TYPE_ORDERED != 0 { - bullet += fmt.Sprintf("%d.", r.listItemCount) - } else { - bullet += "*" - } - out.WriteString(indent + bullet + " ") - r.fw(out, text) - out.WriteString(linebreak) -} - -// Paragraph renders the start and end of a paragraph. -func (r *ASCIIRenderer) Paragraph(out *bytes.Buffer, text func() bool) { - out.WriteString(linebreak) - text() - out.WriteString(linebreak) -} - -// BlockCode renders a chunk of text that represents source code. -func (r *ASCIIRenderer) BlockCode(out *bytes.Buffer, text []byte, lang string) { - out.WriteString(linebreak) - lines := []string{} - for _, line := range strings.Split(string(text), linebreak) { - indented := r.Indentation + line - lines = append(lines, indented) - } - out.WriteString(strings.Join(lines, linebreak)) -} - -func (r *ASCIIRenderer) GetFlags() int { return 0 } -func (r *ASCIIRenderer) HRule(out *bytes.Buffer) { - out.WriteString(linebreak + "----------" + linebreak) -} -func (r *ASCIIRenderer) LineBreak(out *bytes.Buffer) { out.WriteString(linebreak) } -func (r *ASCIIRenderer) TitleBlock(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) Header(out *bytes.Buffer, text func() bool, level int, id string) { text() } -func (r *ASCIIRenderer) BlockHtml(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) BlockQuote(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) TableRow(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) TableHeaderCell(out *bytes.Buffer, text []byte, align int) { r.fw(out, text) } -func (r *ASCIIRenderer) TableCell(out *bytes.Buffer, text []byte, align int) { r.fw(out, text) } -func (r *ASCIIRenderer) Footnotes(out *bytes.Buffer, text func() bool) { text() } -func (r *ASCIIRenderer) FootnoteItem(out *bytes.Buffer, name, text []byte, flags int) { - r.fw(out, text) -} -func (r *ASCIIRenderer) AutoLink(out *bytes.Buffer, link []byte, kind int) { r.fw(out, link) } -func (r *ASCIIRenderer) CodeSpan(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) DoubleEmphasis(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) Emphasis(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) RawHtmlTag(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) TripleEmphasis(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) StrikeThrough(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) FootnoteRef(out *bytes.Buffer, ref []byte, id int) { r.fw(out, ref) } -func (r *ASCIIRenderer) Entity(out *bytes.Buffer, entity []byte) { r.fw(out, entity) } -func (r *ASCIIRenderer) Smartypants(out *bytes.Buffer, text []byte) { r.fw(out, text) } -func (r *ASCIIRenderer) DocumentHeader(out *bytes.Buffer) {} -func (r *ASCIIRenderer) DocumentFooter(out *bytes.Buffer) {} -func (r *ASCIIRenderer) TocHeaderWithAnchor(text []byte, level int, anchor string) {} -func (r *ASCIIRenderer) TocHeader(text []byte, level int) {} -func (r *ASCIIRenderer) TocFinalize() {} - -func (r *ASCIIRenderer) Table(out *bytes.Buffer, header []byte, body []byte, columnData []int) { - r.fw(out, header, body) -} - -func (r *ASCIIRenderer) Link(out *bytes.Buffer, link []byte, title []byte, content []byte) { - out.WriteString(" ") - r.fw(out, link) -} - -func (r *ASCIIRenderer) Image(out *bytes.Buffer, link []byte, title []byte, alt []byte) { - r.fw(out, link) -} - -func (r *ASCIIRenderer) fw(out *bytes.Buffer, text ...[]byte) { - for _, t := range text { - out.Write(t) - } -} diff --git a/vendor/k8s.io/kubectl/pkg/util/templates/normalizers.go b/vendor/k8s.io/kubectl/pkg/util/templates/normalizers.go deleted file mode 100644 index f9041205..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/templates/normalizers.go +++ /dev/null @@ -1,97 +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 templates - -import ( - "strings" - - "github.com/MakeNowJust/heredoc" - "github.com/russross/blackfriday" - "github.com/spf13/cobra" -) - -const Indentation = ` ` - -// LongDesc normalizes a command's long description to follow the conventions. -func LongDesc(s string) string { - if len(s) == 0 { - return s - } - return normalizer{s}.heredoc().markdown().trim().string -} - -// Examples normalizes a command's examples to follow the conventions. -func Examples(s string) string { - if len(s) == 0 { - return s - } - return normalizer{s}.trim().indent().string -} - -// Normalize perform all required normalizations on a given command. -func Normalize(cmd *cobra.Command) *cobra.Command { - if len(cmd.Long) > 0 { - cmd.Long = LongDesc(cmd.Long) - } - if len(cmd.Example) > 0 { - cmd.Example = Examples(cmd.Example) - } - return cmd -} - -// NormalizeAll perform all required normalizations in the entire command tree. -func NormalizeAll(cmd *cobra.Command) *cobra.Command { - if cmd.HasSubCommands() { - for _, subCmd := range cmd.Commands() { - NormalizeAll(subCmd) - } - } - Normalize(cmd) - return cmd -} - -type normalizer struct { - string -} - -func (s normalizer) markdown() normalizer { - bytes := []byte(s.string) - formatted := blackfriday.Markdown(bytes, &ASCIIRenderer{Indentation: Indentation}, blackfriday.EXTENSION_NO_INTRA_EMPHASIS) - s.string = string(formatted) - return s -} - -func (s normalizer) heredoc() normalizer { - s.string = heredoc.Doc(s.string) - return s -} - -func (s normalizer) trim() normalizer { - s.string = strings.TrimSpace(s.string) - return s -} - -func (s normalizer) indent() normalizer { - indentedLines := []string{} - for _, line := range strings.Split(s.string, "\n") { - trimmed := strings.TrimSpace(line) - indented := Indentation + trimmed - indentedLines = append(indentedLines, indented) - } - s.string = strings.Join(indentedLines, "\n") - return s -} diff --git a/vendor/k8s.io/kubectl/pkg/util/templates/templater.go b/vendor/k8s.io/kubectl/pkg/util/templates/templater.go deleted file mode 100644 index 3ef297c8..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/templates/templater.go +++ /dev/null @@ -1,309 +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 templates - -import ( - "bytes" - "fmt" - "strings" - "text/template" - "unicode" - - "github.com/spf13/cobra" - flag "github.com/spf13/pflag" - - "k8s.io/kubectl/pkg/util/term" -) - -type FlagExposer interface { - ExposeFlags(cmd *cobra.Command, flags ...string) FlagExposer -} - -func ActsAsRootCommand(cmd *cobra.Command, filters []string, groups ...CommandGroup) FlagExposer { - if cmd == nil { - panic("nil root command") - } - templater := &templater{ - RootCmd: cmd, - UsageTemplate: MainUsageTemplate(), - HelpTemplate: MainHelpTemplate(), - CommandGroups: groups, - Filtered: filters, - } - cmd.SetFlagErrorFunc(templater.FlagErrorFunc()) - cmd.SilenceUsage = true - cmd.SetUsageFunc(templater.UsageFunc()) - cmd.SetHelpFunc(templater.HelpFunc()) - return templater -} - -func UseOptionsTemplates(cmd *cobra.Command) { - templater := &templater{ - UsageTemplate: OptionsUsageTemplate(), - HelpTemplate: OptionsHelpTemplate(), - } - cmd.SetUsageFunc(templater.UsageFunc()) - cmd.SetHelpFunc(templater.HelpFunc()) -} - -type templater struct { - UsageTemplate string - HelpTemplate string - RootCmd *cobra.Command - CommandGroups - Filtered []string -} - -func (templater *templater) FlagErrorFunc(exposedFlags ...string) func(*cobra.Command, error) error { - return func(c *cobra.Command, err error) error { - c.SilenceUsage = true - switch c.CalledAs() { - case "options": - return fmt.Errorf("%s\nRun '%s' without flags.", err, c.CommandPath()) - default: - return fmt.Errorf("%s\nSee '%s --help' for usage.", err, c.CommandPath()) - } - } -} - -func (templater *templater) ExposeFlags(cmd *cobra.Command, flags ...string) FlagExposer { - cmd.SetUsageFunc(templater.UsageFunc(flags...)) - return templater -} - -func (templater *templater) HelpFunc() func(*cobra.Command, []string) { - return func(c *cobra.Command, s []string) { - t := template.New("help") - t.Funcs(templater.templateFuncs()) - template.Must(t.Parse(templater.HelpTemplate)) - out := term.NewResponsiveWriter(c.OutOrStdout()) - err := t.Execute(out, c) - if err != nil { - c.Println(err) - } - } -} - -func (templater *templater) UsageFunc(exposedFlags ...string) func(*cobra.Command) error { - return func(c *cobra.Command) error { - t := template.New("usage") - t.Funcs(templater.templateFuncs(exposedFlags...)) - template.Must(t.Parse(templater.UsageTemplate)) - out := term.NewResponsiveWriter(c.OutOrStderr()) - return t.Execute(out, c) - } -} - -func (templater *templater) templateFuncs(exposedFlags ...string) template.FuncMap { - return template.FuncMap{ - "trim": strings.TrimSpace, - "trimRight": func(s string) string { return strings.TrimRightFunc(s, unicode.IsSpace) }, - "trimLeft": func(s string) string { return strings.TrimLeftFunc(s, unicode.IsSpace) }, - "gt": cobra.Gt, - "eq": cobra.Eq, - "rpad": rpad, - "appendIfNotPresent": appendIfNotPresent, - "flagsNotIntersected": flagsNotIntersected, - "visibleFlags": visibleFlags, - "flagsUsages": flagsUsages, - "cmdGroups": templater.cmdGroups, - "cmdGroupsString": templater.cmdGroupsString, - "rootCmd": templater.rootCmdName, - "isRootCmd": templater.isRootCmd, - "optionsCmdFor": templater.optionsCmdFor, - "usageLine": templater.usageLine, - "exposed": func(c *cobra.Command) *flag.FlagSet { - exposed := flag.NewFlagSet("exposed", flag.ContinueOnError) - if len(exposedFlags) > 0 { - for _, name := range exposedFlags { - if flag := c.Flags().Lookup(name); flag != nil { - exposed.AddFlag(flag) - } - } - } - return exposed - }, - } -} - -func (templater *templater) cmdGroups(c *cobra.Command, all []*cobra.Command) []CommandGroup { - if len(templater.CommandGroups) > 0 && c == templater.RootCmd { - all = filter(all, templater.Filtered...) - return AddAdditionalCommands(templater.CommandGroups, "Other Commands:", all) - } - all = filter(all, "options") - return []CommandGroup{ - { - Message: "Available Commands:", - Commands: all, - }, - } -} - -func (t *templater) cmdGroupsString(c *cobra.Command) string { - groups := []string{} - for _, cmdGroup := range t.cmdGroups(c, c.Commands()) { - cmds := []string{cmdGroup.Message} - for _, cmd := range cmdGroup.Commands { - if cmd.IsAvailableCommand() { - cmds = append(cmds, " "+rpad(cmd.Name(), cmd.NamePadding())+" "+cmd.Short) - } - } - groups = append(groups, strings.Join(cmds, "\n")) - } - return strings.Join(groups, "\n\n") -} - -func (t *templater) rootCmdName(c *cobra.Command) string { - return t.rootCmd(c).CommandPath() -} - -func (t *templater) isRootCmd(c *cobra.Command) bool { - return t.rootCmd(c) == c -} - -func (t *templater) parents(c *cobra.Command) []*cobra.Command { - parents := []*cobra.Command{c} - for current := c; !t.isRootCmd(current) && current.HasParent(); { - current = current.Parent() - parents = append(parents, current) - } - return parents -} - -func (t *templater) rootCmd(c *cobra.Command) *cobra.Command { - if c != nil && !c.HasParent() { - return c - } - if t.RootCmd == nil { - panic("nil root cmd") - } - return t.RootCmd -} - -func (t *templater) optionsCmdFor(c *cobra.Command) string { - if !c.Runnable() { - return "" - } - rootCmdStructure := t.parents(c) - for i := len(rootCmdStructure) - 1; i >= 0; i-- { - cmd := rootCmdStructure[i] - if _, _, err := cmd.Find([]string{"options"}); err == nil { - return cmd.CommandPath() + " options" - } - } - return "" -} - -func (t *templater) usageLine(c *cobra.Command) string { - usage := c.UseLine() - suffix := "[options]" - if c.HasFlags() && !strings.Contains(usage, suffix) { - usage += " " + suffix - } - return usage -} - -// flagsUsages will print out the kubectl help flags -func flagsUsages(f *flag.FlagSet) (string, error) { - flagBuf := new(bytes.Buffer) - wrapLimit, err := term.GetWordWrapperLimit() - if err != nil { - return "", err - } - printer := NewHelpFlagPrinter(flagBuf, wrapLimit) - - f.VisitAll(func(flag *flag.Flag) { - if flag.Hidden { - return - } - printer.PrintHelpFlag(flag) - }) - - return flagBuf.String(), nil -} - -// getFlagFormat will output the flag format -func getFlagFormat(f *flag.Flag) string { - var format string - format = "--%s=%s:\n%s%s" - if f.Value.Type() == "string" { - format = "--%s='%s':\n%s%s" - } - - if len(f.Shorthand) > 0 { - format = " -%s, " + format - } else { - format = " %s" + format - } - - return format -} - -func rpad(s string, padding int) string { - template := fmt.Sprintf("%%-%ds", padding) - return fmt.Sprintf(template, s) -} - -func appendIfNotPresent(s, stringToAppend string) string { - if strings.Contains(s, stringToAppend) { - return s - } - return s + " " + stringToAppend -} - -func flagsNotIntersected(l *flag.FlagSet, r *flag.FlagSet) *flag.FlagSet { - f := flag.NewFlagSet("notIntersected", flag.ContinueOnError) - l.VisitAll(func(flag *flag.Flag) { - if r.Lookup(flag.Name) == nil { - f.AddFlag(flag) - } - }) - return f -} - -func visibleFlags(l *flag.FlagSet) *flag.FlagSet { - hidden := "help" - f := flag.NewFlagSet("visible", flag.ContinueOnError) - l.VisitAll(func(flag *flag.Flag) { - if flag.Name != hidden { - f.AddFlag(flag) - } - }) - return f -} - -func filter(cmds []*cobra.Command, names ...string) []*cobra.Command { - out := []*cobra.Command{} - for _, c := range cmds { - if c.Hidden { - continue - } - skip := false - for _, name := range names { - if name == c.Name() { - skip = true - break - } - } - if skip { - continue - } - out = append(out, c) - } - return out -} diff --git a/vendor/k8s.io/kubectl/pkg/util/templates/templates.go b/vendor/k8s.io/kubectl/pkg/util/templates/templates.go deleted file mode 100644 index 9f3b75b5..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/templates/templates.go +++ /dev/null @@ -1,103 +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 templates - -import ( - "strings" - "unicode" -) - -const ( - // SectionVars is the help template section that declares variables to be used in the template. - SectionVars = `{{$isRootCmd := isRootCmd .}}` + - `{{$rootCmd := rootCmd .}}` + - `{{$visibleFlags := visibleFlags (flagsNotIntersected .LocalFlags .PersistentFlags)}}` + - `{{$explicitlyExposedFlags := exposed .}}` + - `{{$optionsCmdFor := optionsCmdFor .}}` + - `{{$usageLine := usageLine .}}` - - // SectionAliases is the help template section that displays command aliases. - SectionAliases = `{{if gt .Aliases 0}}Aliases: -{{.NameAndAliases}} - -{{end}}` - - // SectionExamples is the help template section that displays command examples. - SectionExamples = `{{if .HasExample}}Examples: -{{trimRight .Example}} - -{{end}}` - - // SectionSubcommands is the help template section that displays the command's subcommands. - SectionSubcommands = `{{if .HasAvailableSubCommands}}{{cmdGroupsString .}} - -{{end}}` - - // SectionFlags is the help template section that displays the command's flags. - SectionFlags = `{{ if or $visibleFlags.HasFlags $explicitlyExposedFlags.HasFlags}}Options: -{{ if $visibleFlags.HasFlags}}{{trimRight (flagsUsages $visibleFlags)}}{{end}}{{ if $explicitlyExposedFlags.HasFlags}}{{ if $visibleFlags.HasFlags}} -{{end}}{{trimRight (flagsUsages $explicitlyExposedFlags)}}{{end}} - -{{end}}` - - // SectionUsage is the help template section that displays the command's usage. - SectionUsage = `{{if and .Runnable (ne .UseLine "") (ne .UseLine $rootCmd)}}Usage: - {{$usageLine}} - -{{end}}` - - // SectionTipsHelp is the help template section that displays the '--help' hint. - SectionTipsHelp = `{{if .HasSubCommands}}Use "{{$rootCmd}} --help" for more information about a given command. -{{end}}` - - // SectionTipsGlobalOptions is the help template section that displays the 'options' hint for displaying global flags. - SectionTipsGlobalOptions = `{{if $optionsCmdFor}}Use "{{$optionsCmdFor}}" for a list of global command-line options (applies to all commands). -{{end}}` -) - -// MainHelpTemplate if the template for 'help' used by most commands. -func MainHelpTemplate() string { - return `{{with or .Long .Short }}{{. | trim}}{{end}}{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}` -} - -// MainUsageTemplate if the template for 'usage' used by most commands. -func MainUsageTemplate() string { - sections := []string{ - "\n\n", - SectionVars, - SectionAliases, - SectionExamples, - SectionSubcommands, - SectionFlags, - SectionUsage, - SectionTipsHelp, - SectionTipsGlobalOptions, - } - return strings.TrimRightFunc(strings.Join(sections, ""), unicode.IsSpace) -} - -// OptionsHelpTemplate if the template for 'help' used by the 'options' command. -func OptionsHelpTemplate() string { - return "" -} - -// OptionsUsageTemplate if the template for 'usage' used by the 'options' command. -func OptionsUsageTemplate() string { - return `{{ if .HasInheritedFlags}}The following options can be passed to any command: - -{{flagsUsages .InheritedFlags}}{{end}}` -} diff --git a/vendor/k8s.io/kubectl/pkg/util/term/resize.go b/vendor/k8s.io/kubectl/pkg/util/term/resize.go deleted file mode 100644 index 636b8bef..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/term/resize.go +++ /dev/null @@ -1,132 +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 term - -import ( - "fmt" - - "github.com/moby/term" - "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/client-go/tools/remotecommand" -) - -// GetSize returns the current size of the user's terminal. If it isn't a terminal, -// nil is returned. -func (t TTY) GetSize() *remotecommand.TerminalSize { - outFd, isTerminal := term.GetFdInfo(t.Out) - if !isTerminal { - return nil - } - return GetSize(outFd) -} - -// GetSize returns the current size of the terminal associated with fd. -func GetSize(fd uintptr) *remotecommand.TerminalSize { - winsize, err := term.GetWinsize(fd) - if err != nil { - runtime.HandleError(fmt.Errorf("unable to get terminal size: %v", err)) - return nil - } - - return &remotecommand.TerminalSize{Width: winsize.Width, Height: winsize.Height} -} - -// MonitorSize monitors the terminal's size. It returns a TerminalSizeQueue primed with -// initialSizes, or nil if there's no TTY present. -func (t *TTY) MonitorSize(initialSizes ...*remotecommand.TerminalSize) remotecommand.TerminalSizeQueue { - outFd, isTerminal := term.GetFdInfo(t.Out) - if !isTerminal { - return nil - } - - t.sizeQueue = &sizeQueue{ - t: *t, - // make it buffered so we can send the initial terminal sizes without blocking, prior to starting - // the streaming below - resizeChan: make(chan remotecommand.TerminalSize, len(initialSizes)), - stopResizing: make(chan struct{}), - } - - t.sizeQueue.monitorSize(outFd, initialSizes...) - - return t.sizeQueue -} - -// sizeQueue implements remotecommand.TerminalSizeQueue -type sizeQueue struct { - t TTY - // resizeChan receives a Size each time the user's terminal is resized. - resizeChan chan remotecommand.TerminalSize - stopResizing chan struct{} -} - -// make sure sizeQueue implements the resize.TerminalSizeQueue interface -var _ remotecommand.TerminalSizeQueue = &sizeQueue{} - -// monitorSize primes resizeChan with initialSizes and then monitors for resize events. With each -// new event, it sends the current terminal size to resizeChan. -func (s *sizeQueue) monitorSize(outFd uintptr, initialSizes ...*remotecommand.TerminalSize) { - // send the initial sizes - for i := range initialSizes { - if initialSizes[i] != nil { - s.resizeChan <- *initialSizes[i] - } - } - - resizeEvents := make(chan remotecommand.TerminalSize, 1) - - monitorResizeEvents(outFd, resizeEvents, s.stopResizing) - - // listen for resize events in the background - go func() { - defer runtime.HandleCrash() - - for { - select { - case size, ok := <-resizeEvents: - if !ok { - return - } - - select { - // try to send the size to resizeChan, but don't block - case s.resizeChan <- size: - // send successful - default: - // unable to send / no-op - } - case <-s.stopResizing: - return - } - } - }() -} - -// Next returns the new terminal size after the terminal has been resized. It returns nil when -// monitoring has been stopped. -func (s *sizeQueue) Next() *remotecommand.TerminalSize { - size, ok := <-s.resizeChan - if !ok { - return nil - } - return &size -} - -// stop stops the background goroutine that is monitoring for terminal resizes. -func (s *sizeQueue) stop() { - close(s.stopResizing) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/term/resizeevents.go b/vendor/k8s.io/kubectl/pkg/util/term/resizeevents.go deleted file mode 100644 index e361b1ad..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/term/resizeevents.go +++ /dev/null @@ -1,62 +0,0 @@ -//go:build !windows -// +build !windows - -/* -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 term - -import ( - "os" - "os/signal" - - "golang.org/x/sys/unix" - "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/client-go/tools/remotecommand" -) - -// monitorResizeEvents spawns a goroutine that waits for SIGWINCH signals (these indicate the -// terminal has resized). After receiving a SIGWINCH, this gets the terminal size and tries to send -// it to the resizeEvents channel. The goroutine stops when the stop channel is closed. -func monitorResizeEvents(fd uintptr, resizeEvents chan<- remotecommand.TerminalSize, stop chan struct{}) { - go func() { - defer runtime.HandleCrash() - - winch := make(chan os.Signal, 1) - signal.Notify(winch, unix.SIGWINCH) - defer signal.Stop(winch) - - for { - select { - case <-winch: - size := GetSize(fd) - if size == nil { - return - } - - // try to send size - select { - case resizeEvents <- *size: - // success - default: - // not sent - } - case <-stop: - return - } - } - }() -} diff --git a/vendor/k8s.io/kubectl/pkg/util/term/resizeevents_windows.go b/vendor/k8s.io/kubectl/pkg/util/term/resizeevents_windows.go deleted file mode 100644 index adccf873..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/term/resizeevents_windows.go +++ /dev/null @@ -1,62 +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 term - -import ( - "time" - - "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/client-go/tools/remotecommand" -) - -// monitorResizeEvents spawns a goroutine that periodically gets the terminal size and tries to send -// it to the resizeEvents channel if the size has changed. The goroutine stops when the stop channel -// is closed. -func monitorResizeEvents(fd uintptr, resizeEvents chan<- remotecommand.TerminalSize, stop chan struct{}) { - go func() { - defer runtime.HandleCrash() - - size := GetSize(fd) - if size == nil { - return - } - lastSize := *size - - for { - // see if we need to stop running - select { - case <-stop: - return - default: - } - - size := GetSize(fd) - if size == nil { - return - } - - if size.Height != lastSize.Height || size.Width != lastSize.Width { - lastSize.Height = size.Height - lastSize.Width = size.Width - resizeEvents <- *size - } - - // sleep to avoid hot looping - time.Sleep(250 * time.Millisecond) - } - }() -} diff --git a/vendor/k8s.io/kubectl/pkg/util/term/term.go b/vendor/k8s.io/kubectl/pkg/util/term/term.go deleted file mode 100644 index 6bcda59d..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/term/term.go +++ /dev/null @@ -1,137 +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 term - -import ( - "io" - "os" - "runtime" - - "github.com/moby/term" - - "k8s.io/kubectl/pkg/util/interrupt" -) - -// SafeFunc is a function to be invoked by TTY. -type SafeFunc func() error - -// TTY helps invoke a function and preserve the state of the terminal, even if the process is -// terminated during execution. It also provides support for terminal resizing for remote command -// execution/attachment. -type TTY struct { - // In is a reader representing stdin. It is a required field. - In io.Reader - // Out is a writer representing stdout. It must be set to support terminal resizing. It is an - // optional field. - Out io.Writer - // Raw is true if the terminal should be set raw. - Raw bool - // TryDev indicates the TTY should try to open /dev/tty if the provided input - // is not a file descriptor. - TryDev bool - // Parent is an optional interrupt handler provided to this function - if provided - // it will be invoked after the terminal state is restored. If it is not provided, - // a signal received during the TTY will result in os.Exit(0) being invoked. - Parent *interrupt.Handler - - // sizeQueue is set after a call to MonitorSize() and is used to monitor SIGWINCH signals when the - // user's terminal resizes. - sizeQueue *sizeQueue -} - -// IsTerminalIn returns true if t.In is a terminal. Does not check /dev/tty -// even if TryDev is set. -func (t TTY) IsTerminalIn() bool { - return IsTerminal(t.In) -} - -// IsTerminalOut returns true if t.Out is a terminal. Does not check /dev/tty -// even if TryDev is set. -func (t TTY) IsTerminalOut() bool { - return IsTerminal(t.Out) -} - -// IsTerminal returns whether the passed object is a terminal or not -func IsTerminal(i interface{}) bool { - _, terminal := term.GetFdInfo(i) - return terminal -} - -// AllowsColorOutput returns true if the specified writer is a terminal and -// the process environment indicates color output is supported and desired. -func AllowsColorOutput(w io.Writer) bool { - if !IsTerminal(w) { - return false - } - - // https://en.wikipedia.org/wiki/Computer_terminal#Dumb_terminals - if os.Getenv("TERM") == "dumb" { - return false - } - - // https://no-color.org/ - if _, nocolor := os.LookupEnv("NO_COLOR"); nocolor { - return false - } - - // On Windows WT_SESSION is set by the modern terminal component. - // Older terminals have poor support for UTF-8, VT escape codes, etc. - if runtime.GOOS == "windows" && os.Getenv("WT_SESSION") == "" { - return false - } - - return true -} - -// Safe invokes the provided function and will attempt to ensure that when the -// function returns (or a termination signal is sent) that the terminal state -// is reset to the condition it was in prior to the function being invoked. If -// t.Raw is true the terminal will be put into raw mode prior to calling the function. -// If the input file descriptor is not a TTY and TryDev is true, the /dev/tty file -// will be opened (if available). -func (t TTY) Safe(fn SafeFunc) error { - inFd, isTerminal := term.GetFdInfo(t.In) - - if !isTerminal && t.TryDev { - if f, err := os.Open("/dev/tty"); err == nil { - defer f.Close() - inFd = f.Fd() - isTerminal = term.IsTerminal(inFd) - } - } - if !isTerminal { - return fn() - } - - var state *term.State - var err error - if t.Raw { - state, err = term.MakeRaw(inFd) - } else { - state, err = term.SaveState(inFd) - } - if err != nil { - return err - } - return interrupt.Chain(t.Parent, func() { - if t.sizeQueue != nil { - t.sizeQueue.stop() - } - - term.RestoreTerminal(inFd, state) - }).Run(fn) -} diff --git a/vendor/k8s.io/kubectl/pkg/util/term/term_writer.go b/vendor/k8s.io/kubectl/pkg/util/term/term_writer.go deleted file mode 100644 index ea254bb6..00000000 --- a/vendor/k8s.io/kubectl/pkg/util/term/term_writer.go +++ /dev/null @@ -1,144 +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 term - -import ( - "errors" - "io" - "os" - - wordwrap "github.com/mitchellh/go-wordwrap" - "github.com/moby/term" - - "k8s.io/client-go/tools/remotecommand" -) - -type wordWrapWriter struct { - limit uint - writer io.Writer -} - -// NewResponsiveWriter creates a Writer that detects the column width of the -// terminal we are in, and adjusts every line width to fit and use recommended -// terminal sizes for better readability. Does proper word wrapping automatically. -// if terminal width >= 120 columns use 120 columns -// if terminal width >= 100 columns use 100 columns -// if terminal width >= 80 columns use 80 columns -// In case we're not in a terminal or if it's smaller than 80 columns width, -// doesn't do any wrapping. -func NewResponsiveWriter(w io.Writer) io.Writer { - file, ok := w.(*os.File) - if !ok { - return w - } - fd := file.Fd() - if !term.IsTerminal(fd) { - return w - } - - terminalSize := GetSize(fd) - if terminalSize == nil { - return w - } - limit := getTerminalLimitWidth(terminalSize) - - return NewWordWrapWriter(w, limit) -} - -// NewWordWrapWriter is a Writer that supports a limit of characters on every line -// and does auto word wrapping that respects that limit. -func NewWordWrapWriter(w io.Writer, limit uint) io.Writer { - return &wordWrapWriter{ - limit: limit, - writer: w, - } -} - -func getTerminalLimitWidth(terminalSize *remotecommand.TerminalSize) uint { - var limit uint - switch { - case terminalSize.Width >= 120: - limit = 120 - case terminalSize.Width >= 100: - limit = 100 - case terminalSize.Width >= 80: - limit = 80 - } - return limit -} - -func GetWordWrapperLimit() (uint, error) { - stdout := os.Stdout - fd := stdout.Fd() - if !term.IsTerminal(fd) { - return 0, errors.New("file descriptor is not a terminal") - } - terminalSize := GetSize(fd) - if terminalSize == nil { - return 0, errors.New("terminal size is nil") - } - return getTerminalLimitWidth(terminalSize), nil -} - -func (w wordWrapWriter) Write(p []byte) (nn int, err error) { - if w.limit == 0 { - return w.writer.Write(p) - } - original := string(p) - wrapped := wordwrap.WrapString(original, w.limit) - return w.writer.Write([]byte(wrapped)) -} - -// NewPunchCardWriter is a NewWordWrapWriter that limits the line width to 80 columns. -func NewPunchCardWriter(w io.Writer) io.Writer { - return NewWordWrapWriter(w, 80) -} - -type maxWidthWriter struct { - maxWidth uint - currentWidth uint - written uint - writer io.Writer -} - -// NewMaxWidthWriter is a Writer that supports a limit of characters on every -// line, but doesn't do any word wrapping automatically. -func NewMaxWidthWriter(w io.Writer, maxWidth uint) io.Writer { - return &maxWidthWriter{ - maxWidth: maxWidth, - writer: w, - } -} - -func (m maxWidthWriter) Write(p []byte) (nn int, err error) { - for _, b := range p { - if m.currentWidth == m.maxWidth { - m.writer.Write([]byte{'\n'}) - m.currentWidth = 0 - } - if b == '\n' { - m.currentWidth = 0 - } - _, err := m.writer.Write([]byte{b}) - if err != nil { - return int(m.written), err - } - m.written++ - m.currentWidth++ - } - return len(p), nil -} diff --git a/vendor/k8s.io/kubectl/pkg/validation/schema.go b/vendor/k8s.io/kubectl/pkg/validation/schema.go deleted file mode 100644 index 56123e28..00000000 --- a/vendor/k8s.io/kubectl/pkg/validation/schema.go +++ /dev/null @@ -1,154 +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 validation - -import ( - "bytes" - "encoding/json" - "fmt" - - ejson "github.com/exponent-io/jsonpath" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - utilerrors "k8s.io/apimachinery/pkg/util/errors" - "k8s.io/cli-runtime/pkg/resource" - "k8s.io/klog/v2" - schemavalidation "k8s.io/kubectl/pkg/util/openapi/validation" -) - -// Schema is an interface that knows how to validate an API object serialized to a byte array. -type Schema interface { - ValidateBytes(data []byte) error -} - -// NullSchema always validates bytes. -type NullSchema struct{} - -// ValidateBytes never fails for NullSchema. -func (NullSchema) ValidateBytes(data []byte) error { return nil } - -// NoDoubleKeySchema is a schema that disallows double keys. -type NoDoubleKeySchema struct{} - -// ValidateBytes validates bytes. -func (NoDoubleKeySchema) ValidateBytes(data []byte) error { - var list []error - if err := validateNoDuplicateKeys(data, "metadata", "labels"); err != nil { - list = append(list, err) - } - if err := validateNoDuplicateKeys(data, "metadata", "annotations"); err != nil { - list = append(list, err) - } - return utilerrors.NewAggregate(list) -} - -func validateNoDuplicateKeys(data []byte, path ...string) error { - r := ejson.NewDecoder(bytes.NewReader(data)) - // This is Go being unfriendly. The 'path ...string' comes in as a - // []string, and SeekTo takes ...interface{}, so we can't just pass - // the path straight in, we have to copy it. *sigh* - ifacePath := []interface{}{} - for ix := range path { - ifacePath = append(ifacePath, path[ix]) - } - found, err := r.SeekTo(ifacePath...) - if err != nil { - return err - } - if !found { - return nil - } - seen := map[string]bool{} - for { - tok, err := r.Token() - if err != nil { - return err - } - switch t := tok.(type) { - case json.Delim: - if t.String() == "}" { - return nil - } - case ejson.KeyString: - if seen[string(t)] { - return fmt.Errorf("duplicate key: %s", string(t)) - } - seen[string(t)] = true - } - } -} - -// ConjunctiveSchema encapsulates a schema list. -type ConjunctiveSchema []Schema - -// ValidateBytes validates bytes per a ConjunctiveSchema. -func (c ConjunctiveSchema) ValidateBytes(data []byte) error { - var list []error - schemas := []Schema(c) - for ix := range schemas { - if err := schemas[ix].ValidateBytes(data); err != nil { - list = append(list, err) - } - } - return utilerrors.NewAggregate(list) -} - -func NewParamVerifyingSchema(s Schema, verifier resource.Verifier, directive string) Schema { - return ¶mVerifyingSchema{ - schema: s, - verifier: verifier, - directive: directive, - } -} - -// paramVerifyingSchema only performs validation -// based on the fieldValidation query param -// being unsupported by the apiserver, because -// server-side validation will be performed instead -// of client-side validation. -type paramVerifyingSchema struct { - schema Schema - verifier resource.Verifier - directive string -} - -// ValidateBytes validates bytes per a ParamVerifyingSchema -func (c *paramVerifyingSchema) ValidateBytes(data []byte) error { - obj, err := schemavalidation.Parse(data) - if err != nil { - return err - } - - gvk, errs := schemavalidation.GetObjectKind(obj) - if errs != nil { - return utilerrors.NewAggregate(errs) - } - - err = c.verifier.HasSupport(gvk) - if resource.IsParamUnsupportedError(err) { - switch c.directive { - case metav1.FieldValidationStrict: - return c.schema.ValidateBytes(data) - case metav1.FieldValidationWarn: - klog.Warningf("cannot perform warn validation if server-side field validation is unsupported, skipping validation") - default: - // can't be reached - klog.Warningf("unexpected field validation directive: %s, skipping validation", c.directive) - } - return nil - } - return err -} diff --git a/vendor/k8s.io/utils/exec/README.md b/vendor/k8s.io/utils/exec/README.md deleted file mode 100644 index 7944e8dd..00000000 --- a/vendor/k8s.io/utils/exec/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Exec - -This package provides an interface for `os/exec`. It makes it easier to mock -and replace in tests, especially with the [FakeExec](testing/fake_exec.go) -struct. diff --git a/vendor/k8s.io/utils/exec/doc.go b/vendor/k8s.io/utils/exec/doc.go deleted file mode 100644 index cbb44bdb..00000000 --- a/vendor/k8s.io/utils/exec/doc.go +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package exec provides an injectable interface and implementations for running commands. -package exec // import "k8s.io/utils/exec" diff --git a/vendor/k8s.io/utils/exec/exec.go b/vendor/k8s.io/utils/exec/exec.go deleted file mode 100644 index 96bec01c..00000000 --- a/vendor/k8s.io/utils/exec/exec.go +++ /dev/null @@ -1,252 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package exec - -import ( - "context" - "io" - osexec "os/exec" - "syscall" - "time" -) - -// ErrExecutableNotFound is returned if the executable is not found. -var ErrExecutableNotFound = osexec.ErrNotFound - -// Interface is an interface that presents a subset of the os/exec API. Use this -// when you want to inject fakeable/mockable exec behavior. -type Interface interface { - // Command returns a Cmd instance which can be used to run a single command. - // This follows the pattern of package os/exec. - Command(cmd string, args ...string) Cmd - - // CommandContext returns a Cmd instance which can be used to run a single command. - // - // The provided context is used to kill the process if the context becomes done - // before the command completes on its own. For example, a timeout can be set in - // the context. - CommandContext(ctx context.Context, cmd string, args ...string) Cmd - - // LookPath wraps os/exec.LookPath - LookPath(file string) (string, error) -} - -// Cmd is an interface that presents an API that is very similar to Cmd from os/exec. -// As more functionality is needed, this can grow. Since Cmd is a struct, we will have -// to replace fields with get/set method pairs. -type Cmd interface { - // Run runs the command to the completion. - Run() error - // CombinedOutput runs the command and returns its combined standard output - // and standard error. This follows the pattern of package os/exec. - CombinedOutput() ([]byte, error) - // Output runs the command and returns standard output, but not standard err - Output() ([]byte, error) - SetDir(dir string) - SetStdin(in io.Reader) - SetStdout(out io.Writer) - SetStderr(out io.Writer) - SetEnv(env []string) - - // StdoutPipe and StderrPipe for getting the process' Stdout and Stderr as - // Readers - StdoutPipe() (io.ReadCloser, error) - StderrPipe() (io.ReadCloser, error) - - // Start and Wait are for running a process non-blocking - Start() error - Wait() error - - // Stops the command by sending SIGTERM. It is not guaranteed the - // process will stop before this function returns. If the process is not - // responding, an internal timer function will send a SIGKILL to force - // terminate after 10 seconds. - Stop() -} - -// ExitError is an interface that presents an API similar to os.ProcessState, which is -// what ExitError from os/exec is. This is designed to make testing a bit easier and -// probably loses some of the cross-platform properties of the underlying library. -type ExitError interface { - String() string - Error() string - Exited() bool - ExitStatus() int -} - -// Implements Interface in terms of really exec()ing. -type executor struct{} - -// New returns a new Interface which will os/exec to run commands. -func New() Interface { - return &executor{} -} - -// Command is part of the Interface interface. -func (executor *executor) Command(cmd string, args ...string) Cmd { - return (*cmdWrapper)(osexec.Command(cmd, args...)) -} - -// CommandContext is part of the Interface interface. -func (executor *executor) CommandContext(ctx context.Context, cmd string, args ...string) Cmd { - return (*cmdWrapper)(osexec.CommandContext(ctx, cmd, args...)) -} - -// LookPath is part of the Interface interface -func (executor *executor) LookPath(file string) (string, error) { - return osexec.LookPath(file) -} - -// Wraps exec.Cmd so we can capture errors. -type cmdWrapper osexec.Cmd - -var _ Cmd = &cmdWrapper{} - -func (cmd *cmdWrapper) SetDir(dir string) { - cmd.Dir = dir -} - -func (cmd *cmdWrapper) SetStdin(in io.Reader) { - cmd.Stdin = in -} - -func (cmd *cmdWrapper) SetStdout(out io.Writer) { - cmd.Stdout = out -} - -func (cmd *cmdWrapper) SetStderr(out io.Writer) { - cmd.Stderr = out -} - -func (cmd *cmdWrapper) SetEnv(env []string) { - cmd.Env = env -} - -func (cmd *cmdWrapper) StdoutPipe() (io.ReadCloser, error) { - r, err := (*osexec.Cmd)(cmd).StdoutPipe() - return r, handleError(err) -} - -func (cmd *cmdWrapper) StderrPipe() (io.ReadCloser, error) { - r, err := (*osexec.Cmd)(cmd).StderrPipe() - return r, handleError(err) -} - -func (cmd *cmdWrapper) Start() error { - err := (*osexec.Cmd)(cmd).Start() - return handleError(err) -} - -func (cmd *cmdWrapper) Wait() error { - err := (*osexec.Cmd)(cmd).Wait() - return handleError(err) -} - -// Run is part of the Cmd interface. -func (cmd *cmdWrapper) Run() error { - err := (*osexec.Cmd)(cmd).Run() - return handleError(err) -} - -// CombinedOutput is part of the Cmd interface. -func (cmd *cmdWrapper) CombinedOutput() ([]byte, error) { - out, err := (*osexec.Cmd)(cmd).CombinedOutput() - return out, handleError(err) -} - -func (cmd *cmdWrapper) Output() ([]byte, error) { - out, err := (*osexec.Cmd)(cmd).Output() - return out, handleError(err) -} - -// Stop is part of the Cmd interface. -func (cmd *cmdWrapper) Stop() { - c := (*osexec.Cmd)(cmd) - - if c.Process == nil { - return - } - - c.Process.Signal(syscall.SIGTERM) - - time.AfterFunc(10*time.Second, func() { - if !c.ProcessState.Exited() { - c.Process.Signal(syscall.SIGKILL) - } - }) -} - -func handleError(err error) error { - if err == nil { - return nil - } - - switch e := err.(type) { - case *osexec.ExitError: - return &ExitErrorWrapper{e} - case *osexec.Error: - if e.Err == osexec.ErrNotFound { - return ErrExecutableNotFound - } - } - - return err -} - -// ExitErrorWrapper is an implementation of ExitError in terms of os/exec ExitError. -// Note: standard exec.ExitError is type *os.ProcessState, which already implements Exited(). -type ExitErrorWrapper struct { - *osexec.ExitError -} - -var _ ExitError = &ExitErrorWrapper{} - -// ExitStatus is part of the ExitError interface. -func (eew ExitErrorWrapper) ExitStatus() int { - ws, ok := eew.Sys().(syscall.WaitStatus) - if !ok { - panic("can't call ExitStatus() on a non-WaitStatus exitErrorWrapper") - } - return ws.ExitStatus() -} - -// CodeExitError is an implementation of ExitError consisting of an error object -// and an exit code (the upper bits of os.exec.ExitStatus). -type CodeExitError struct { - Err error - Code int -} - -var _ ExitError = CodeExitError{} - -func (e CodeExitError) Error() string { - return e.Err.Error() -} - -func (e CodeExitError) String() string { - return e.Err.Error() -} - -// Exited is to check if the process has finished -func (e CodeExitError) Exited() bool { - return true -} - -// ExitStatus is for checking the error code -func (e CodeExitError) ExitStatus() int { - return e.Code -} diff --git a/vendor/modules.txt b/vendor/modules.txt index f152fadb..94b8a967 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,10 +1,6 @@ # cloud.google.com/go v0.81.0 ## explicit; go 1.11 cloud.google.com/go/compute/metadata -# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 -## explicit; go 1.16 -github.com/Azure/go-ansiterm -github.com/Azure/go-ansiterm/winterm # github.com/Azure/go-autorest v14.2.0+incompatible ## explicit github.com/Azure/go-autorest @@ -24,9 +20,6 @@ github.com/Azure/go-autorest/logger # github.com/Azure/go-autorest/tracing v0.6.0 ## explicit; go 1.12 github.com/Azure/go-autorest/tracing -# github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd -## explicit -github.com/MakeNowJust/heredoc # github.com/PuerkitoBio/purell v1.1.1 ## explicit github.com/PuerkitoBio/purell @@ -43,12 +36,6 @@ github.com/beorn7/perks/quantile # github.com/cespare/xxhash/v2 v2.1.2 ## explicit; go 1.11 github.com/cespare/xxhash/v2 -# github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5 -## explicit -github.com/chai2010/gettext-go/gettext -github.com/chai2010/gettext-go/gettext/mo -github.com/chai2010/gettext-go/gettext/plural -github.com/chai2010/gettext-go/gettext/po # github.com/davecgh/go-spew v1.1.1 ## explicit github.com/davecgh/go-spew/spew @@ -59,18 +46,12 @@ github.com/emicklei/go-restful/log # github.com/evanphx/json-patch v4.12.0+incompatible ## explicit github.com/evanphx/json-patch -# github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d -## explicit -github.com/exponent-io/jsonpath # github.com/form3tech-oss/jwt-go v3.2.3+incompatible ## explicit github.com/form3tech-oss/jwt-go # github.com/fsnotify/fsnotify v1.5.1 ## explicit; go 1.13 github.com/fsnotify/fsnotify -# github.com/go-errors/errors v1.0.1 -## explicit -github.com/go-errors/errors # github.com/go-logr/logr v1.2.4 ## explicit; go 1.16 github.com/go-logr/logr @@ -95,15 +76,11 @@ github.com/gogo/protobuf/sortkeys github.com/golang/groupcache/lru # github.com/golang/protobuf v1.5.3 ## explicit; go 1.9 -github.com/golang/protobuf/jsonpb github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp -# github.com/google/btree v1.0.1 -## explicit; go 1.12 -github.com/google/btree # github.com/google/gnostic v0.5.7-v3refs ## explicit; go 1.12 github.com/google/gnostic/compiler @@ -121,31 +98,18 @@ github.com/google/go-cmp/cmp/internal/value # github.com/google/gofuzz v1.1.0 ## explicit; go 1.12 github.com/google/gofuzz -# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 -## explicit; go 1.13 -github.com/google/shlex # github.com/google/uuid v1.1.2 ## explicit github.com/google/uuid -# github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 -## explicit -github.com/gregjones/httpcache -github.com/gregjones/httpcache/diskcache # github.com/imdario/mergo v0.3.12 ## explicit; go 1.13 github.com/imdario/mergo -# github.com/inconshreveable/mousetrap v1.0.0 -## explicit -github.com/inconshreveable/mousetrap # github.com/josharian/intern v1.0.0 ## explicit; go 1.5 github.com/josharian/intern # github.com/json-iterator/go v1.1.12 ## explicit; go 1.12 github.com/json-iterator/go -# github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de -## explicit -github.com/liggitt/tabwriter # github.com/mailru/easyjson v0.7.6 ## explicit; go 1.12 github.com/mailru/easyjson/buffer @@ -154,26 +118,12 @@ github.com/mailru/easyjson/jwriter # github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 ## explicit; go 1.9 github.com/matttproud/golang_protobuf_extensions/pbutil -# github.com/mitchellh/go-wordwrap v1.0.0 -## explicit -github.com/mitchellh/go-wordwrap -# github.com/moby/spdystream v0.2.0 -## explicit; go 1.13 -github.com/moby/spdystream -github.com/moby/spdystream/spdy -# github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 -## explicit; go 1.13 -github.com/moby/term -github.com/moby/term/windows # github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd ## explicit github.com/modern-go/concurrent # github.com/modern-go/reflect2 v1.0.2 ## explicit; go 1.12 github.com/modern-go/reflect2 -# github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 -## explicit -github.com/monochromegane/go-gitignore # github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 ## explicit github.com/munnerz/goautoneg @@ -201,15 +151,9 @@ github.com/onsi/gomega/matchers/support/goraph/edge github.com/onsi/gomega/matchers/support/goraph/node github.com/onsi/gomega/matchers/support/goraph/util github.com/onsi/gomega/types -# github.com/peterbourgon/diskv v2.0.1+incompatible -## explicit -github.com/peterbourgon/diskv # github.com/pkg/errors v0.9.1 ## explicit github.com/pkg/errors -# github.com/pmezard/go-difflib v1.0.0 -## explicit -github.com/pmezard/go-difflib/difflib # github.com/prometheus/client_golang v1.12.1 ## explicit; go 1.13 github.com/prometheus/client_golang/prometheus @@ -229,36 +173,15 @@ github.com/prometheus/common/model github.com/prometheus/procfs github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util -# github.com/russross/blackfriday v1.5.2 -## explicit -github.com/russross/blackfriday # github.com/sirupsen/logrus v1.8.1 ## explicit; go 1.13 github.com/sirupsen/logrus -# github.com/spf13/cobra v1.4.0 -## explicit; go 1.15 -github.com/spf13/cobra # github.com/spf13/pflag v1.0.5 ## explicit; go 1.12 github.com/spf13/pflag -# github.com/stretchr/testify v1.7.0 -## explicit; go 1.13 -github.com/stretchr/testify/assert -github.com/stretchr/testify/require # github.com/sykesm/zap-logfmt v0.0.4 ## explicit; go 1.13 github.com/sykesm/zap-logfmt -# github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca -## explicit -github.com/xlab/treeprint -# go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 -## explicit; go 1.13 -go.starlark.net/internal/compile -go.starlark.net/internal/spell -go.starlark.net/resolve -go.starlark.net/starlark -go.starlark.net/starlarkstruct -go.starlark.net/syntax # go.uber.org/atomic v1.7.0 ## explicit; go 1.13 go.uber.org/atomic @@ -288,10 +211,6 @@ golang.org/x/net/http/httpguts golang.org/x/net/http2 golang.org/x/net/http2/hpack golang.org/x/net/idna -golang.org/x/net/internal/socks -golang.org/x/net/internal/timeseries -golang.org/x/net/proxy -golang.org/x/net/trace # golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 ## explicit; go 1.11 golang.org/x/oauth2 @@ -351,69 +270,14 @@ google.golang.org/appengine/internal/modules google.golang.org/appengine/internal/remote_api google.golang.org/appengine/internal/urlfetch google.golang.org/appengine/urlfetch -# google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 -## explicit; go 1.11 -google.golang.org/genproto/googleapis/rpc/status -# google.golang.org/grpc v1.49.0 -## explicit; go 1.17 -google.golang.org/grpc -google.golang.org/grpc/attributes -google.golang.org/grpc/backoff -google.golang.org/grpc/balancer -google.golang.org/grpc/balancer/base -google.golang.org/grpc/balancer/grpclb/state -google.golang.org/grpc/balancer/roundrobin -google.golang.org/grpc/binarylog/grpc_binarylog_v1 -google.golang.org/grpc/channelz -google.golang.org/grpc/codes -google.golang.org/grpc/connectivity -google.golang.org/grpc/credentials -google.golang.org/grpc/credentials/insecure -google.golang.org/grpc/encoding -google.golang.org/grpc/encoding/proto -google.golang.org/grpc/grpclog -google.golang.org/grpc/internal -google.golang.org/grpc/internal/backoff -google.golang.org/grpc/internal/balancer/gracefulswitch -google.golang.org/grpc/internal/balancerload -google.golang.org/grpc/internal/binarylog -google.golang.org/grpc/internal/buffer -google.golang.org/grpc/internal/channelz -google.golang.org/grpc/internal/credentials -google.golang.org/grpc/internal/envconfig -google.golang.org/grpc/internal/grpclog -google.golang.org/grpc/internal/grpcrand -google.golang.org/grpc/internal/grpcsync -google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/internal/metadata -google.golang.org/grpc/internal/pretty -google.golang.org/grpc/internal/resolver -google.golang.org/grpc/internal/resolver/dns -google.golang.org/grpc/internal/resolver/passthrough -google.golang.org/grpc/internal/resolver/unix -google.golang.org/grpc/internal/serviceconfig -google.golang.org/grpc/internal/status -google.golang.org/grpc/internal/syscall -google.golang.org/grpc/internal/transport -google.golang.org/grpc/internal/transport/networktype -google.golang.org/grpc/keepalive -google.golang.org/grpc/metadata -google.golang.org/grpc/peer -google.golang.org/grpc/resolver -google.golang.org/grpc/serviceconfig -google.golang.org/grpc/stats -google.golang.org/grpc/status -google.golang.org/grpc/tap # google.golang.org/protobuf v1.28.1 ## explicit; go 1.11 -google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/encoding/defval -google.golang.org/protobuf/internal/encoding/json google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/encoding/text @@ -437,7 +301,6 @@ google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb -google.golang.org/protobuf/types/known/structpb google.golang.org/protobuf/types/known/timestamppb # gopkg.in/inf.v0 v0.9.1 ## explicit @@ -481,7 +344,6 @@ k8s.io/api/extensions/v1beta1 k8s.io/api/flowcontrol/v1alpha1 k8s.io/api/flowcontrol/v1beta1 k8s.io/api/flowcontrol/v1beta2 -k8s.io/api/imagepolicy/v1alpha1 k8s.io/api/networking/v1 k8s.io/api/networking/v1beta1 k8s.io/api/node/v1 @@ -517,7 +379,6 @@ k8s.io/apimachinery/pkg/apis/meta/internalversion k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme k8s.io/apimachinery/pkg/apis/meta/v1 k8s.io/apimachinery/pkg/apis/meta/v1/unstructured -k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme k8s.io/apimachinery/pkg/apis/meta/v1beta1 k8s.io/apimachinery/pkg/conversion k8s.io/apimachinery/pkg/conversion/queryparams @@ -535,18 +396,14 @@ k8s.io/apimachinery/pkg/selection k8s.io/apimachinery/pkg/types k8s.io/apimachinery/pkg/util/cache k8s.io/apimachinery/pkg/util/diff -k8s.io/apimachinery/pkg/util/duration k8s.io/apimachinery/pkg/util/errors k8s.io/apimachinery/pkg/util/framer -k8s.io/apimachinery/pkg/util/httpstream -k8s.io/apimachinery/pkg/util/httpstream/spdy k8s.io/apimachinery/pkg/util/intstr k8s.io/apimachinery/pkg/util/json k8s.io/apimachinery/pkg/util/managedfields k8s.io/apimachinery/pkg/util/mergepatch k8s.io/apimachinery/pkg/util/naming k8s.io/apimachinery/pkg/util/net -k8s.io/apimachinery/pkg/util/remotecommand k8s.io/apimachinery/pkg/util/runtime k8s.io/apimachinery/pkg/util/sets k8s.io/apimachinery/pkg/util/strategicpatch @@ -558,13 +415,7 @@ k8s.io/apimachinery/pkg/util/yaml k8s.io/apimachinery/pkg/version k8s.io/apimachinery/pkg/watch k8s.io/apimachinery/third_party/forked/golang/json -k8s.io/apimachinery/third_party/forked/golang/netutil k8s.io/apimachinery/third_party/forked/golang/reflect -# k8s.io/cli-runtime v0.24.0 -## explicit; go 1.16 -k8s.io/cli-runtime/pkg/genericclioptions -k8s.io/cli-runtime/pkg/printers -k8s.io/cli-runtime/pkg/resource # k8s.io/client-go v0.24.0 ## explicit; go 1.16 k8s.io/client-go/applyconfigurations/admissionregistration/v1 @@ -611,7 +462,6 @@ k8s.io/client-go/applyconfigurations/storage/v1 k8s.io/client-go/applyconfigurations/storage/v1alpha1 k8s.io/client-go/applyconfigurations/storage/v1beta1 k8s.io/client-go/discovery -k8s.io/client-go/discovery/cached/disk k8s.io/client-go/dynamic k8s.io/client-go/kubernetes k8s.io/client-go/kubernetes/scheme @@ -662,7 +512,6 @@ k8s.io/client-go/kubernetes/typed/storage/v1alpha1 k8s.io/client-go/kubernetes/typed/storage/v1beta1 k8s.io/client-go/metadata k8s.io/client-go/openapi -k8s.io/client-go/openapi/cached k8s.io/client-go/pkg/apis/clientauthentication k8s.io/client-go/pkg/apis/clientauthentication/install k8s.io/client-go/pkg/apis/clientauthentication/v1 @@ -677,14 +526,6 @@ k8s.io/client-go/plugin/pkg/client/auth/openstack k8s.io/client-go/rest k8s.io/client-go/rest/watch k8s.io/client-go/restmapper -k8s.io/client-go/scale -k8s.io/client-go/scale/scheme -k8s.io/client-go/scale/scheme/appsint -k8s.io/client-go/scale/scheme/appsv1beta1 -k8s.io/client-go/scale/scheme/appsv1beta2 -k8s.io/client-go/scale/scheme/autoscalingv1 -k8s.io/client-go/scale/scheme/extensionsint -k8s.io/client-go/scale/scheme/extensionsv1beta1 k8s.io/client-go/third_party/forked/golang/template k8s.io/client-go/tools/auth k8s.io/client-go/tools/cache @@ -699,12 +540,9 @@ k8s.io/client-go/tools/pager k8s.io/client-go/tools/record k8s.io/client-go/tools/record/util k8s.io/client-go/tools/reference -k8s.io/client-go/tools/remotecommand k8s.io/client-go/transport -k8s.io/client-go/transport/spdy k8s.io/client-go/util/cert k8s.io/client-go/util/connrotation -k8s.io/client-go/util/exec k8s.io/client-go/util/flowcontrol k8s.io/client-go/util/homedir k8s.io/client-go/util/jsonpath @@ -715,7 +553,6 @@ k8s.io/client-go/util/workqueue ## explicit; go 1.16 k8s.io/component-base/config k8s.io/component-base/config/v1alpha1 -k8s.io/component-base/version # k8s.io/klog/v2 v2.60.1 ## explicit; go 1.13 k8s.io/klog/v2 @@ -734,26 +571,12 @@ k8s.io/kube-openapi/pkg/schemaconv k8s.io/kube-openapi/pkg/schemamutation k8s.io/kube-openapi/pkg/spec3 k8s.io/kube-openapi/pkg/util/proto -k8s.io/kube-openapi/pkg/util/proto/validation k8s.io/kube-openapi/pkg/validation/spec -# k8s.io/kubectl v0.24.0 -## explicit; go 1.16 -k8s.io/kubectl/pkg/cmd/util -k8s.io/kubectl/pkg/drain -k8s.io/kubectl/pkg/scheme -k8s.io/kubectl/pkg/util/i18n -k8s.io/kubectl/pkg/util/interrupt -k8s.io/kubectl/pkg/util/openapi -k8s.io/kubectl/pkg/util/openapi/validation -k8s.io/kubectl/pkg/util/templates -k8s.io/kubectl/pkg/util/term -k8s.io/kubectl/pkg/validation # k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 ## explicit; go 1.12 k8s.io/utils/buffer k8s.io/utils/clock k8s.io/utils/clock/testing -k8s.io/utils/exec k8s.io/utils/integer k8s.io/utils/internal/third_party/forked/golang/net k8s.io/utils/net @@ -813,88 +636,6 @@ sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics ## explicit; go 1.17 sigs.k8s.io/json sigs.k8s.io/json/internal/golang/encoding/json -# sigs.k8s.io/kustomize/api v0.11.4 -## explicit; go 1.16 -sigs.k8s.io/kustomize/api/filters/annotations -sigs.k8s.io/kustomize/api/filters/fieldspec -sigs.k8s.io/kustomize/api/filters/filtersutil -sigs.k8s.io/kustomize/api/filters/fsslice -sigs.k8s.io/kustomize/api/filters/iampolicygenerator -sigs.k8s.io/kustomize/api/filters/imagetag -sigs.k8s.io/kustomize/api/filters/labels -sigs.k8s.io/kustomize/api/filters/nameref -sigs.k8s.io/kustomize/api/filters/namespace -sigs.k8s.io/kustomize/api/filters/patchjson6902 -sigs.k8s.io/kustomize/api/filters/patchstrategicmerge -sigs.k8s.io/kustomize/api/filters/prefix -sigs.k8s.io/kustomize/api/filters/refvar -sigs.k8s.io/kustomize/api/filters/replacement -sigs.k8s.io/kustomize/api/filters/replicacount -sigs.k8s.io/kustomize/api/filters/suffix -sigs.k8s.io/kustomize/api/filters/valueadd -sigs.k8s.io/kustomize/api/hasher -sigs.k8s.io/kustomize/api/ifc -sigs.k8s.io/kustomize/api/image -sigs.k8s.io/kustomize/api/internal/accumulator -sigs.k8s.io/kustomize/api/internal/builtins -sigs.k8s.io/kustomize/api/internal/generators -sigs.k8s.io/kustomize/api/internal/git -sigs.k8s.io/kustomize/api/internal/kusterr -sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig -sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers -sigs.k8s.io/kustomize/api/internal/plugins/execplugin -sigs.k8s.io/kustomize/api/internal/plugins/fnplugin -sigs.k8s.io/kustomize/api/internal/plugins/loader -sigs.k8s.io/kustomize/api/internal/plugins/utils -sigs.k8s.io/kustomize/api/internal/target -sigs.k8s.io/kustomize/api/internal/utils -sigs.k8s.io/kustomize/api/internal/validate -sigs.k8s.io/kustomize/api/konfig -sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts -sigs.k8s.io/kustomize/api/krusty -sigs.k8s.io/kustomize/api/kv -sigs.k8s.io/kustomize/api/loader -sigs.k8s.io/kustomize/api/provenance -sigs.k8s.io/kustomize/api/provider -sigs.k8s.io/kustomize/api/resmap -sigs.k8s.io/kustomize/api/resource -sigs.k8s.io/kustomize/api/types -# sigs.k8s.io/kustomize/kyaml v0.13.6 -## explicit; go 1.16 -sigs.k8s.io/kustomize/kyaml/comments -sigs.k8s.io/kustomize/kyaml/errors -sigs.k8s.io/kustomize/kyaml/ext -sigs.k8s.io/kustomize/kyaml/fieldmeta -sigs.k8s.io/kustomize/kyaml/filesys -sigs.k8s.io/kustomize/kyaml/fn/runtime/container -sigs.k8s.io/kustomize/kyaml/fn/runtime/exec -sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil -sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark -sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml -sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util -sigs.k8s.io/kustomize/kyaml/kio -sigs.k8s.io/kustomize/kyaml/kio/filters -sigs.k8s.io/kustomize/kyaml/kio/kioutil -sigs.k8s.io/kustomize/kyaml/openapi -sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi -sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212 -sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi -sigs.k8s.io/kustomize/kyaml/order -sigs.k8s.io/kustomize/kyaml/resid -sigs.k8s.io/kustomize/kyaml/runfn -sigs.k8s.io/kustomize/kyaml/sets -sigs.k8s.io/kustomize/kyaml/sliceutil -sigs.k8s.io/kustomize/kyaml/yaml -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field -sigs.k8s.io/kustomize/kyaml/yaml/merge2 -sigs.k8s.io/kustomize/kyaml/yaml/merge3 -sigs.k8s.io/kustomize/kyaml/yaml/schema -sigs.k8s.io/kustomize/kyaml/yaml/walk # sigs.k8s.io/structured-merge-diff/v4 v4.2.1 ## explicit; go 1.13 sigs.k8s.io/structured-merge-diff/v4/fieldpath diff --git a/vendor/sigs.k8s.io/kustomize/api/LICENSE b/vendor/sigs.k8s.io/kustomize/api/LICENSE deleted file mode 100644 index 8dada3ed..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/LICENSE +++ /dev/null @@ -1,201 +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 {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/annotations/annotations.go b/vendor/sigs.k8s.io/kustomize/api/filters/annotations/annotations.go deleted file mode 100644 index 4998f5a3..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/annotations/annotations.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package annotations - -import ( - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/filters/fsslice" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type annoMap map[string]string - -type Filter struct { - // Annotations is the set of annotations to apply to the inputs - Annotations annoMap `yaml:"annotations,omitempty"` - - // FsSlice contains the FieldSpecs to locate the namespace field - FsSlice types.FsSlice - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - f.trackableSetter.WithMutationTracker(callback) -} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - keys := yaml.SortedMapKeys(f.Annotations) - _, err := kio.FilterAll(yaml.FilterFunc( - func(node *yaml.RNode) (*yaml.RNode, error) { - for _, k := range keys { - if err := node.PipeE(fsslice.Filter{ - FsSlice: f.FsSlice, - SetValue: f.trackableSetter.SetEntry( - k, f.Annotations[k], yaml.NodeTagString), - CreateKind: yaml.MappingNode, // Annotations are MappingNodes. - CreateTag: yaml.NodeTagMap, - }); err != nil { - return nil, err - } - } - return node, nil - })).Filter(nodes) - return nodes, err -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/annotations/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/annotations/doc.go deleted file mode 100644 index b1f6a0b6..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/annotations/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package annotations contains a kio.Filter implementation of the kustomize -// annotations transformer. -package annotations diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/doc.go deleted file mode 100644 index 6f643630..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package fieldspec contains a yaml.Filter to modify a resource -// that matches the FieldSpec. -package fieldspec diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/fieldspec.go b/vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/fieldspec.go deleted file mode 100644 index 8ee05286..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/fieldspec/fieldspec.go +++ /dev/null @@ -1,182 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package fieldspec - -import ( - "fmt" - "strings" - - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -var _ yaml.Filter = Filter{} - -// Filter possibly mutates its object argument using a FieldSpec. -// If the object matches the FieldSpec, and the node found -// by following the fieldSpec's path is non-null, this filter calls -// the setValue function on the node at the end of the path. -// If any part of the path doesn't exist, the filter returns -// without doing anything and without error, unless it was set -// to create the path. If set to create, it creates a tree of maps -// along the path, and the leaf node gets the setValue called on it. -// Error on GVK mismatch, empty or poorly formed path. -// Filter expect kustomize style paths, not JSON paths. -// Filter stores internal state and should not be reused -type Filter struct { - // FieldSpec contains the path to the value to set. - FieldSpec types.FieldSpec `yaml:"fieldSpec"` - - // Set the field using this function - SetValue filtersutil.SetFn - - // CreateKind defines the type of node to create if the field is not found - CreateKind yaml.Kind - - CreateTag string - - // path keeps internal state about the current path - path []string -} - -func (fltr Filter) Filter(obj *yaml.RNode) (*yaml.RNode, error) { - // check if the FieldSpec applies to the object - if match := isMatchGVK(fltr.FieldSpec, obj); !match { - return obj, nil - } - fltr.path = utils.PathSplitter(fltr.FieldSpec.Path, "/") - if err := fltr.filter(obj); err != nil { - return nil, errors.WrapPrefixf(err, - "considering field '%s' of object %s", fltr.FieldSpec.Path, resid.FromRNode(obj)) - } - return obj, nil -} - -// Recursively called. -func (fltr Filter) filter(obj *yaml.RNode) error { - if len(fltr.path) == 0 { - // found the field -- set its value - return fltr.SetValue(obj) - } - if obj.IsTaggedNull() || obj.IsNil() { - return nil - } - switch obj.YNode().Kind { - case yaml.SequenceNode: - return fltr.handleSequence(obj) - case yaml.MappingNode: - return fltr.handleMap(obj) - case yaml.AliasNode: - return fltr.filter(yaml.NewRNode(obj.YNode().Alias)) - default: - return errors.Errorf("expected sequence or mapping node") - } -} - -// handleMap calls filter on the map field matching the next path element -func (fltr Filter) handleMap(obj *yaml.RNode) error { - fieldName, isSeq := isSequenceField(fltr.path[0]) - if fieldName == "" { - return fmt.Errorf("cannot set or create an empty field name") - } - // lookup the field matching the next path element - var operation yaml.Filter - var kind yaml.Kind - tag := yaml.NodeTagEmpty - switch { - case !fltr.FieldSpec.CreateIfNotPresent || fltr.CreateKind == 0 || isSeq: - // don't create the field if we don't find it - operation = yaml.Lookup(fieldName) - if isSeq { - // The query path thinks this field should be a sequence; - // accept this hint for use later if the tag is NodeTagNull. - kind = yaml.SequenceNode - } - case len(fltr.path) <= 1: - // create the field if it is missing: use the provided node kind - operation = yaml.LookupCreate(fltr.CreateKind, fieldName) - kind = fltr.CreateKind - tag = fltr.CreateTag - default: - // create the field if it is missing: must be a mapping node - operation = yaml.LookupCreate(yaml.MappingNode, fieldName) - kind = yaml.MappingNode - tag = yaml.NodeTagMap - } - - // locate (or maybe create) the field - field, err := obj.Pipe(operation) - if err != nil { - return errors.WrapPrefixf(err, "fieldName: %s", fieldName) - } - if field == nil { - // No error if field not found. - return nil - } - - // if the value exists, but is null and kind is set, - // then change it to the creation type - // TODO: update yaml.LookupCreate to support this - if field.YNode().Tag == yaml.NodeTagNull && yaml.IsCreate(kind) { - field.YNode().Kind = kind - field.YNode().Tag = tag - } - - // copy the current fltr and change the path on the copy - var next = fltr - // call filter for the next path element on the matching field - next.path = fltr.path[1:] - return next.filter(field) -} - -// seq calls filter on all sequence elements -func (fltr Filter) handleSequence(obj *yaml.RNode) error { - if err := obj.VisitElements(func(node *yaml.RNode) error { - // set an accurate FieldPath for nested elements - node.AppendToFieldPath(obj.FieldPath()...) - // recurse on each element -- re-allocating a Filter is - // not strictly required, but is more consistent with field - // and less likely to have side effects - // keep the entire path -- it does not contain parts for sequences - return fltr.filter(node) - }); err != nil { - return errors.WrapPrefixf(err, - "visit traversal on path: %v", fltr.path) - } - return nil -} - -// isSequenceField returns true if the path element is for a sequence field. -// isSequence also returns the path element with the '[]' suffix trimmed -func isSequenceField(name string) (string, bool) { - shorter := strings.TrimSuffix(name, "[]") - return shorter, shorter != name -} - -// isMatchGVK returns true if the fs.GVK matches the obj GVK. -func isMatchGVK(fs types.FieldSpec, obj *yaml.RNode) bool { - if kind := obj.GetKind(); fs.Kind != "" && fs.Kind != kind { - // kind doesn't match - return false - } - - // parse the group and version from the apiVersion field - group, version := resid.ParseGroupVersion(obj.GetApiVersion()) - - if fs.Group != "" && fs.Group != group { - // group doesn't match - return false - } - - if fs.Version != "" && fs.Version != version { - // version doesn't match - return false - } - - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/filtersutil/setters.go b/vendor/sigs.k8s.io/kustomize/api/filters/filtersutil/setters.go deleted file mode 100644 index 0714c412..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/filtersutil/setters.go +++ /dev/null @@ -1,66 +0,0 @@ -package filtersutil - -import ( - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// SetFn is a function that accepts an RNode to possibly modify. -type SetFn func(*yaml.RNode) error - -// SetScalar returns a SetFn to set a scalar value -func SetScalar(value string) SetFn { - return func(node *yaml.RNode) error { - return node.PipeE(yaml.FieldSetter{StringValue: value}) - } -} - -// SetEntry returns a SetFn to set an entry in a map -func SetEntry(key, value, tag string) SetFn { - n := &yaml.Node{ - Kind: yaml.ScalarNode, - Value: value, - Tag: tag, - } - return func(node *yaml.RNode) error { - return node.PipeE(yaml.FieldSetter{ - Name: key, - Value: yaml.NewRNode(n), - }) - } -} - -type TrackableSetter struct { - // SetValueCallback will be invoked each time a field is set - setValueCallback func(key, value, tag string, node *yaml.RNode) -} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (s *TrackableSetter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - s.setValueCallback = callback -} - -// SetScalar returns a SetFn to set a scalar value -// if a mutation tracker has been registered, the tracker will be invoked each -// time a scalar is set -func (s TrackableSetter) SetScalar(value string) SetFn { - origSetScalar := SetScalar(value) - return func(node *yaml.RNode) error { - if s.setValueCallback != nil { - s.setValueCallback("", value, "", node) - } - return origSetScalar(node) - } -} - -// SetEntry returns a SetFn to set an entry in a map -// if a mutation tracker has been registered, the tracker will be invoked each -// time an entry is set -func (s TrackableSetter) SetEntry(key, value, tag string) SetFn { - origSetEntry := SetEntry(key, value, tag) - return func(node *yaml.RNode) error { - if s.setValueCallback != nil { - s.setValueCallback(key, value, tag, node) - } - return origSetEntry(node) - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/fsslice/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/fsslice/doc.go deleted file mode 100644 index b0f19772..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/fsslice/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package fsslice contains a yaml.Filter to modify a resource if -// it matches one or more FieldSpec entries. -package fsslice diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/fsslice/fsslice.go b/vendor/sigs.k8s.io/kustomize/api/filters/fsslice/fsslice.go deleted file mode 100644 index 9eb5c131..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/fsslice/fsslice.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package fsslice - -import ( - "sigs.k8s.io/kustomize/api/filters/fieldspec" - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -var _ yaml.Filter = Filter{} - -// Filter ranges over an FsSlice to modify fields on a single object. -// An FsSlice is a range of FieldSpecs. A FieldSpec is a GVK plus a path. -type Filter struct { - // FieldSpecList list of FieldSpecs to set - FsSlice types.FsSlice `yaml:"fsSlice"` - - // SetValue is called on each field that matches one of the FieldSpecs - SetValue filtersutil.SetFn - - // CreateKind is used to create fields that do not exist - CreateKind yaml.Kind - - // CreateTag is used to set the tag if encountering a null field - CreateTag string -} - -func (fltr Filter) Filter(obj *yaml.RNode) (*yaml.RNode, error) { - for i := range fltr.FsSlice { - // apply this FieldSpec - // create a new filter for each iteration because they - // store internal state about the field paths - _, err := (&fieldspec.Filter{ - FieldSpec: fltr.FsSlice[i], - SetValue: fltr.SetValue, - CreateKind: fltr.CreateKind, - CreateTag: fltr.CreateTag, - }).Filter(obj) - if err != nil { - return nil, err - } - } - return obj, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/doc.go deleted file mode 100644 index d0ac6d91..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/doc.go +++ /dev/null @@ -1,3 +0,0 @@ -// Package gkesagenerator contains a kio.Filter that that generates a -// iampolicy-related resources for a given cloud provider -package iampolicygenerator diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/iampolicygenerator.go b/vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/iampolicygenerator.go deleted file mode 100644 index c1f8593f..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/iampolicygenerator/iampolicygenerator.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package iampolicygenerator - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type Filter struct { - IAMPolicyGenerator types.IAMPolicyGeneratorArgs `json:",inline,omitempty" yaml:",inline,omitempty"` -} - -// Filter adds a GKE service account object to nodes -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - switch f.IAMPolicyGenerator.Cloud { - case types.GKE: - IAMPolicyResources, err := f.generateGkeIAMPolicyResources() - if err != nil { - return nil, err - } - nodes = append(nodes, IAMPolicyResources...) - default: - return nil, fmt.Errorf("cloud provider %s not supported yet", f.IAMPolicyGenerator.Cloud) - } - return nodes, nil -} - -func (f Filter) generateGkeIAMPolicyResources() ([]*yaml.RNode, error) { - var result []*yaml.RNode - input := fmt.Sprintf(` -apiVersion: v1 -kind: ServiceAccount -metadata: - annotations: - iam.gke.io/gcp-service-account: %s@%s.iam.gserviceaccount.com - name: %s -`, f.IAMPolicyGenerator.ServiceAccount.Name, - f.IAMPolicyGenerator.ProjectId, - f.IAMPolicyGenerator.KubernetesService.Name) - - if f.IAMPolicyGenerator.Namespace != "" { - input = input + fmt.Sprintf("\n namespace: %s", f.IAMPolicyGenerator.Namespace) - } - - sa, err := yaml.Parse(input) - if err != nil { - return nil, err - } - - return append(result, sa), nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/doc.go deleted file mode 100644 index d919491d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/doc.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package imagetag contains two kio.Filter implementations to cover the -// functionality of the kustomize imagetag transformer. -// -// Filter updates fields based on a FieldSpec and an ImageTag. -// -// LegacyFilter doesn't use a FieldSpec, and instead only updates image -// references if the field is name image and it is underneath a field called -// either containers or initContainers. -package imagetag diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/imagetag.go b/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/imagetag.go deleted file mode 100644 index 24ab99f7..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/imagetag.go +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package imagetag - -import ( - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/filters/fsslice" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter modifies an "image tag", the value used to specify the -// name, tag, version digest etc. of (docker) container images -// used by a pod template. -type Filter struct { - // imageTag is the tag we want to apply to the inputs - // The name of the image is used as a key, and other fields - // can specify a new name, tag, etc. - ImageTag types.Image `json:"imageTag,omitempty" yaml:"imageTag,omitempty"` - - // FsSlice contains the FieldSpecs to locate an image field, - // e.g. Path: "spec/myContainers[]/image" - FsSlice types.FsSlice `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - f.trackableSetter.WithMutationTracker(callback) -} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - _, err := kio.FilterAll(yaml.FilterFunc(f.filter)).Filter(nodes) - return nodes, err -} - -func (f Filter) filter(node *yaml.RNode) (*yaml.RNode, error) { - // FsSlice is an allowlist, not a denyList, so to deny - // something via configuration a new config mechanism is - // needed. Until then, hardcode it. - if f.isOnDenyList(node) { - return node, nil - } - if err := node.PipeE(fsslice.Filter{ - FsSlice: f.FsSlice, - SetValue: imageTagUpdater{ - ImageTag: f.ImageTag, - trackableSetter: f.trackableSetter, - }.SetImageValue, - }); err != nil { - return nil, err - } - return node, nil -} - -func (f Filter) isOnDenyList(node *yaml.RNode) bool { - meta, err := node.GetMeta() - if err != nil { - // A missing 'meta' field will cause problems elsewhere; - // ignore it here to keep the signature simple. - return false - } - // Ignore CRDs - // https://github.com/kubernetes-sigs/kustomize/issues/890 - return meta.Kind == `CustomResourceDefinition` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/legacy.go b/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/legacy.go deleted file mode 100644 index d07080b8..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/legacy.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package imagetag - -import ( - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// LegacyFilter is an implementation of the kio.Filter interface -// that scans through the provided kyaml data structure and updates -// any values of any image fields that is inside a sequence under -// a field called either containers or initContainers. The field is only -// update if it has a value that matches and image reference and the name -// of the image is a match with the provided ImageTag. -type LegacyFilter struct { - ImageTag types.Image `json:"imageTag,omitempty" yaml:"imageTag,omitempty"` -} - -var _ kio.Filter = LegacyFilter{} - -func (lf LegacyFilter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(lf.filter)).Filter(nodes) -} - -func (lf LegacyFilter) filter(node *yaml.RNode) (*yaml.RNode, error) { - meta, err := node.GetMeta() - if err != nil { - return nil, err - } - - // We do not make any changes if the type of the resource - // is CustomResourceDefinition. - if meta.Kind == `CustomResourceDefinition` { - return node, nil - } - - fff := findFieldsFilter{ - fields: []string{"containers", "initContainers"}, - fieldCallback: checkImageTagsFn(lf.ImageTag), - } - if err := node.PipeE(fff); err != nil { - return nil, err - } - return node, nil -} - -type fieldCallback func(node *yaml.RNode) error - -// findFieldsFilter is an implementation of the kio.Filter -// interface. It will walk the data structure and look for fields -// that matches the provided list of field names. For each match, -// the value of the field will be passed in as a parameter to the -// provided fieldCallback. -// TODO: move this to kyaml/filterutils -type findFieldsFilter struct { - fields []string - - fieldCallback fieldCallback -} - -func (f findFieldsFilter) Filter(obj *yaml.RNode) (*yaml.RNode, error) { - return obj, f.walk(obj) -} - -func (f findFieldsFilter) walk(node *yaml.RNode) error { - switch node.YNode().Kind { - case yaml.MappingNode: - return node.VisitFields(func(n *yaml.MapNode) error { - err := f.walk(n.Value) - if err != nil { - return err - } - key := n.Key.YNode().Value - if utils.StringSliceContains(f.fields, key) { - return f.fieldCallback(n.Value) - } - return nil - }) - case yaml.SequenceNode: - return node.VisitElements(func(n *yaml.RNode) error { - return f.walk(n) - }) - } - return nil -} - -func checkImageTagsFn(imageTag types.Image) fieldCallback { - return func(node *yaml.RNode) error { - if node.YNode().Kind != yaml.SequenceNode { - return nil - } - - return node.VisitElements(func(n *yaml.RNode) error { - // Look up any fields on the provided node that is named - // image. - return n.PipeE(yaml.Get("image"), imageTagUpdater{ - ImageTag: imageTag, - }) - }) - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/updater.go b/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/updater.go deleted file mode 100644 index 45c6c748..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/imagetag/updater.go +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package imagetag - -import ( - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/image" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// imageTagUpdater is an implementation of the kio.Filter interface -// that will update the value of the yaml node based on the provided -// ImageTag if the current value matches the format of an image reference. -type imageTagUpdater struct { - Kind string `yaml:"kind,omitempty"` - ImageTag types.Image `yaml:"imageTag,omitempty"` - trackableSetter filtersutil.TrackableSetter -} - -func (u imageTagUpdater) SetImageValue(rn *yaml.RNode) error { - if err := yaml.ErrorIfInvalid(rn, yaml.ScalarNode); err != nil { - return err - } - - value := rn.YNode().Value - - if !image.IsImageMatched(value, u.ImageTag.Name) { - return nil - } - - name, tag, digest := image.Split(value) - if u.ImageTag.NewName != "" { - name = u.ImageTag.NewName - } - - // overriding tag or digest will replace both original tag and digest values - if u.ImageTag.NewTag != "" && u.ImageTag.Digest != "" { - tag = u.ImageTag.NewTag - digest = u.ImageTag.Digest - } else if u.ImageTag.NewTag != "" { - tag = u.ImageTag.NewTag - digest = "" - } else if u.ImageTag.Digest != "" { - tag = "" - digest = u.ImageTag.Digest - } - - // build final image name - if tag != "" { - name += ":" + tag - } - if digest != "" { - name += "@" + digest - } - - return u.trackableSetter.SetScalar(name)(rn) -} - -func (u imageTagUpdater) Filter(rn *yaml.RNode) (*yaml.RNode, error) { - if err := u.SetImageValue(rn); err != nil { - return nil, err - } - return rn, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/labels/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/labels/doc.go deleted file mode 100644 index 978033c7..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/labels/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package labels contains a kio.Filter implementation of the kustomize -// labels transformer. -package labels diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/labels/labels.go b/vendor/sigs.k8s.io/kustomize/api/filters/labels/labels.go deleted file mode 100644 index b67d4d4b..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/labels/labels.go +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package labels - -import ( - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/filters/fsslice" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type labelMap map[string]string - -// Filter sets labels. -type Filter struct { - // Labels is the set of labels to apply to the inputs - Labels labelMap `yaml:"labels,omitempty"` - - // FsSlice identifies the label fields. - FsSlice types.FsSlice - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - f.trackableSetter.WithMutationTracker(callback) -} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - keys := yaml.SortedMapKeys(f.Labels) - _, err := kio.FilterAll(yaml.FilterFunc( - func(node *yaml.RNode) (*yaml.RNode, error) { - for _, k := range keys { - if err := node.PipeE(fsslice.Filter{ - FsSlice: f.FsSlice, - SetValue: f.trackableSetter.SetEntry( - k, f.Labels[k], yaml.NodeTagString), - CreateKind: yaml.MappingNode, // Labels are MappingNodes. - CreateTag: yaml.NodeTagMap, - }); err != nil { - return nil, err - } - } - return node, nil - })).Filter(nodes) - return nodes, err -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/nameref/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/nameref/doc.go deleted file mode 100644 index b78499d5..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/nameref/doc.go +++ /dev/null @@ -1,3 +0,0 @@ -// Package nameref contains a kio.Filter implementation of the kustomize -// name reference transformer. -package nameref diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/nameref/nameref.go b/vendor/sigs.k8s.io/kustomize/api/filters/nameref/nameref.go deleted file mode 100644 index 15a8515d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/nameref/nameref.go +++ /dev/null @@ -1,396 +0,0 @@ -package nameref - -import ( - "fmt" - "strings" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/filters/fieldspec" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter updates a name references. -type Filter struct { - // Referrer refers to another resource X by X's name. - // E.g. A Deployment can refer to a ConfigMap. - // The Deployment is the Referrer, - // the ConfigMap is the ReferralTarget. - // This filter seeks to repair the reference in Deployment, given - // that the ConfigMap's name may have changed. - Referrer *resource.Resource - - // NameFieldToUpdate is the field in the Referrer - // that holds the name requiring an update. - // This is the field to write. - NameFieldToUpdate types.FieldSpec - - // ReferralTarget is the source of the new value for - // the name, always in the 'metadata/name' field. - // This is the field to read. - ReferralTarget resid.Gvk - - // Set of resources to scan to find the ReferralTarget. - ReferralCandidates resmap.ResMap -} - -// At time of writing, in practice this is called with a slice with only -// one entry, the node also referred to be the resource in the Referrer field. -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(f.run)).Filter(nodes) -} - -// The node passed in here is the same node as held in Referrer; -// that's how the referrer's name field is updated. -// Currently, however, this filter still needs the extra methods on Referrer -// to consult things like the resource Id, its namespace, etc. -// TODO(3455): No filter should use the Resource api; all information -// about names should come from annotations, with helper methods -// on the RNode object. Resource should get stupider, RNode smarter. -func (f Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - if err := f.confirmNodeMatchesReferrer(node); err != nil { - // sanity check. - return nil, err - } - f.NameFieldToUpdate.Gvk = f.Referrer.GetGvk() - if err := node.PipeE(fieldspec.Filter{ - FieldSpec: f.NameFieldToUpdate, - SetValue: f.set, - }); err != nil { - return nil, errors.Wrapf( - err, "updating name reference in '%s' field of '%s'", - f.NameFieldToUpdate.Path, f.Referrer.CurId().String()) - } - return node, nil -} - -// This function is called on the node found at FieldSpec.Path. -// It's some node in the Referrer. -func (f Filter) set(node *yaml.RNode) error { - if yaml.IsMissingOrNull(node) { - return nil - } - switch node.YNode().Kind { - case yaml.ScalarNode: - return f.setScalar(node) - case yaml.MappingNode: - return f.setMapping(node) - case yaml.SequenceNode: - return applyFilterToSeq(seqFilter{ - setScalarFn: f.setScalar, - setMappingFn: f.setMapping, - }, node) - default: - return fmt.Errorf("node must be a scalar, sequence or map") - } -} - -// This method used when NameFieldToUpdate doesn't lead to -// one scalar field (typically called 'name'), but rather -// leads to a map field (called anything). In this case we -// must complete the field path, looking for both a 'name' -// and a 'namespace' field to help select the proper -// ReferralTarget to read the name and namespace from. -func (f Filter) setMapping(node *yaml.RNode) error { - if node.YNode().Kind != yaml.MappingNode { - return fmt.Errorf("expect a mapping node") - } - nameNode, err := node.Pipe(yaml.FieldMatcher{Name: "name"}) - if err != nil { - return errors.Wrap(err, "trying to match 'name' field") - } - if nameNode == nil { - // This is a _configuration_ error; the field path - // specified in NameFieldToUpdate.Path doesn't resolve - // to a map with a 'name' field, so we have no idea what - // field to update with a new name. - return fmt.Errorf("path config error; no 'name' field in node") - } - candidates, err := f.filterMapCandidatesByNamespace(node) - if err != nil { - return err - } - oldName := nameNode.YNode().Value - referral, err := f.selectReferral(oldName, candidates) - if err != nil || referral == nil { - // Nil referral means nothing to do. - return err - } - f.recordTheReferral(referral) - if referral.GetName() == oldName && referral.GetNamespace() == "" { - // The name has not changed, nothing to do. - return nil - } - if err = node.PipeE(yaml.FieldSetter{ - Name: "name", - StringValue: referral.GetName(), - }); err != nil { - return err - } - if referral.GetNamespace() == "" { - // Don't write an empty string into the namespace field, as - // it should not replace the value "default". The empty - // string is handled as a wild card here, not as an implicit - // specification of the "default" k8s namespace. - return nil - } - return node.PipeE(yaml.FieldSetter{ - Name: "namespace", - StringValue: referral.GetNamespace(), - }) -} - -func (f Filter) filterMapCandidatesByNamespace( - node *yaml.RNode) ([]*resource.Resource, error) { - namespaceNode, err := node.Pipe(yaml.FieldMatcher{Name: "namespace"}) - if err != nil { - return nil, errors.Wrap(err, "trying to match 'namespace' field") - } - if namespaceNode == nil { - return f.ReferralCandidates.Resources(), nil - } - namespace := namespaceNode.YNode().Value - nsMap := f.ReferralCandidates.GroupedByOriginalNamespace() - if candidates, ok := nsMap[namespace]; ok { - return candidates, nil - } - nsMap = f.ReferralCandidates.GroupedByCurrentNamespace() - // This could be nil, or an empty list. - return nsMap[namespace], nil -} - -func (f Filter) setScalar(node *yaml.RNode) error { - referral, err := f.selectReferral( - node.YNode().Value, f.ReferralCandidates.Resources()) - if err != nil || referral == nil { - // Nil referral means nothing to do. - return err - } - f.recordTheReferral(referral) - if referral.GetName() == node.YNode().Value { - // The name has not changed, nothing to do. - return nil - } - return node.PipeE(yaml.FieldSetter{StringValue: referral.GetName()}) -} - -// In the resource, make a note that it is referred to by the Referrer. -func (f Filter) recordTheReferral(referral *resource.Resource) { - referral.AppendRefBy(f.Referrer.CurId()) -} - -// getRoleRefGvk returns a Gvk in the roleRef field. Return error -// if the roleRef, roleRef/apiGroup or roleRef/kind is missing. -func getRoleRefGvk(n *resource.Resource) (*resid.Gvk, error) { - roleRef, err := n.Pipe(yaml.Lookup("roleRef")) - if err != nil { - return nil, err - } - if roleRef.IsNil() { - return nil, fmt.Errorf("roleRef cannot be found in %s", n.MustString()) - } - apiGroup, err := roleRef.Pipe(yaml.Lookup("apiGroup")) - if err != nil { - return nil, err - } - if apiGroup.IsNil() { - return nil, fmt.Errorf( - "apiGroup cannot be found in roleRef %s", roleRef.MustString()) - } - kind, err := roleRef.Pipe(yaml.Lookup("kind")) - if err != nil { - return nil, err - } - if kind.IsNil() { - return nil, fmt.Errorf( - "kind cannot be found in roleRef %s", roleRef.MustString()) - } - return &resid.Gvk{ - Group: apiGroup.YNode().Value, - Kind: kind.YNode().Value, - }, nil -} - -// sieveFunc returns true if the resource argument satisfies some criteria. -type sieveFunc func(*resource.Resource) bool - -// doSieve uses a function to accept or ignore resources from a list. -// If list is nil, returns immediately. -// It's a filter obviously, but that term is overloaded here. -func doSieve(list []*resource.Resource, fn sieveFunc) (s []*resource.Resource) { - for _, r := range list { - if fn(r) { - s = append(s, r) - } - } - return -} - -func acceptAll(r *resource.Resource) bool { - return true -} - -func previousNameMatches(name string) sieveFunc { - return func(r *resource.Resource) bool { - for _, id := range r.PrevIds() { - if id.Name == name { - return true - } - } - return false - } -} - -func previousIdSelectedByGvk(gvk *resid.Gvk) sieveFunc { - return func(r *resource.Resource) bool { - for _, id := range r.PrevIds() { - if id.IsSelected(gvk) { - return true - } - } - return false - } -} - -// If the we are updating a 'roleRef/name' field, the 'apiGroup' and 'kind' -// fields in the same 'roleRef' map must be considered. -// If either object is cluster-scoped, there can be a referral. -// E.g. a RoleBinding (which exists in a namespace) can refer -// to a ClusterRole (cluster-scoped) object. -// https://kubernetes.io/docs/reference/access-authn-authz/rbac/#role-and-clusterrole -// Likewise, a ClusterRole can refer to a Secret (in a namespace). -// Objects in different namespaces generally cannot refer to other -// with some exceptions (e.g. RoleBinding and ServiceAccount are both -// namespaceable, but the former can refer to accounts in other namespaces). -func (f Filter) roleRefFilter() sieveFunc { - if !strings.HasSuffix(f.NameFieldToUpdate.Path, "roleRef/name") { - return acceptAll - } - roleRefGvk, err := getRoleRefGvk(f.Referrer) - if err != nil { - return acceptAll - } - return previousIdSelectedByGvk(roleRefGvk) -} - -func prefixSuffixEquals(other resource.ResCtx) sieveFunc { - return func(r *resource.Resource) bool { - return r.PrefixesSuffixesEquals(other) - } -} - -func (f Filter) sameCurrentNamespaceAsReferrer() sieveFunc { - referrerCurId := f.Referrer.CurId() - if referrerCurId.IsClusterScoped() { - // If the referrer is cluster-scoped, let anything through. - return acceptAll - } - return func(r *resource.Resource) bool { - if r.CurId().IsClusterScoped() { - // Allow cluster-scoped through. - return true - } - if r.GetKind() == "ServiceAccount" { - // Allow service accounts through, even though they - // are in a namespace. A RoleBinding in another namespace - // can reference them. - return true - } - return referrerCurId.IsNsEquals(r.CurId()) - } -} - -// selectReferral picks the best referral from a list of candidates. -func (f Filter) selectReferral( - // The name referral that may need to be updated. - oldName string, - candidates []*resource.Resource) (*resource.Resource, error) { - candidates = doSieve(candidates, previousNameMatches(oldName)) - candidates = doSieve(candidates, previousIdSelectedByGvk(&f.ReferralTarget)) - candidates = doSieve(candidates, f.roleRefFilter()) - candidates = doSieve(candidates, f.sameCurrentNamespaceAsReferrer()) - if len(candidates) == 1 { - return candidates[0], nil - } - candidates = doSieve(candidates, prefixSuffixEquals(f.Referrer)) - if len(candidates) == 1 { - return candidates[0], nil - } - if len(candidates) == 0 { - return nil, nil - } - if allNamesAreTheSame(candidates) { - // Just take the first one. - return candidates[0], nil - } - ids := getIds(candidates) - f.failureDetails(candidates) - return nil, fmt.Errorf(" found multiple possible referrals: %s", ids) -} - -func (f Filter) failureDetails(resources []*resource.Resource) { - fmt.Printf( - "\n**** Too many possible referral targets to referrer:\n%s\n", - f.Referrer.MustYaml()) - for i, r := range resources { - fmt.Printf( - "--- possible referral %d:\n%s", i, r.MustYaml()) - fmt.Println("------") - } -} - -func allNamesAreTheSame(resources []*resource.Resource) bool { - name := resources[0].GetName() - for i := 1; i < len(resources); i++ { - if name != resources[i].GetName() { - return false - } - } - return true -} - -func getIds(rs []*resource.Resource) string { - var result []string - for _, r := range rs { - result = append(result, r.CurId().String()) - } - return strings.Join(result, ", ") -} - -func checkEqual(k, a, b string) error { - if a != b { - return fmt.Errorf( - "node-referrerOriginal '%s' mismatch '%s' != '%s'", - k, a, b) - } - return nil -} - -func (f Filter) confirmNodeMatchesReferrer(node *yaml.RNode) error { - meta, err := node.GetMeta() - if err != nil { - return err - } - gvk := f.Referrer.GetGvk() - if err = checkEqual( - "APIVersion", meta.APIVersion, gvk.ApiVersion()); err != nil { - return err - } - if err = checkEqual( - "Kind", meta.Kind, gvk.Kind); err != nil { - return err - } - if err = checkEqual( - "Name", meta.Name, f.Referrer.GetName()); err != nil { - return err - } - if err = checkEqual( - "Namespace", meta.Namespace, f.Referrer.GetNamespace()); err != nil { - return err - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/nameref/seqfilter.go b/vendor/sigs.k8s.io/kustomize/api/filters/nameref/seqfilter.go deleted file mode 100644 index c880694d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/nameref/seqfilter.go +++ /dev/null @@ -1,57 +0,0 @@ -package nameref - -import ( - "fmt" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type setFn func(*yaml.RNode) error - -type seqFilter struct { - setScalarFn setFn - setMappingFn setFn -} - -func (sf seqFilter) Filter(node *yaml.RNode) (*yaml.RNode, error) { - if yaml.IsMissingOrNull(node) { - return node, nil - } - switch node.YNode().Kind { - case yaml.ScalarNode: - // Kind: Role/ClusterRole - // FieldSpec is rules.resourceNames - err := sf.setScalarFn(node) - return node, err - case yaml.MappingNode: - // Kind: RoleBinding/ClusterRoleBinding - // FieldSpec is subjects - // Note: The corresponding fieldSpec had been changed from - // from path: subjects/name to just path: subjects. This is - // what get mutatefield to request the mapping of the whole - // map containing namespace and name instead of just a simple - // string field containing the name - err := sf.setMappingFn(node) - return node, err - default: - return node, fmt.Errorf( - "%#v is expected to be either a string or a map of string", node) - } -} - -// applyFilterToSeq will apply the filter to each element in the sequence node -func applyFilterToSeq(filter yaml.Filter, node *yaml.RNode) error { - if node.YNode().Kind != yaml.SequenceNode { - return fmt.Errorf("expect a sequence node but got %v", node.YNode().Kind) - } - - for _, elem := range node.Content() { - rnode := yaml.NewRNode(elem) - err := rnode.PipeE(filter) - if err != nil { - return err - } - } - - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/namespace/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/namespace/doc.go deleted file mode 100644 index 539758b2..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/namespace/doc.go +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package namespace contains a kio.Filter implementation of the kustomize -// namespace transformer. -// -// Special cases for known Kubernetes resources have been hardcoded in addition -// to those defined by the FsSlice. -package namespace diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/namespace/namespace.go b/vendor/sigs.k8s.io/kustomize/api/filters/namespace/namespace.go deleted file mode 100644 index 016a14a1..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/namespace/namespace.go +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package namespace - -import ( - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/filters/fsslice" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type Filter struct { - // Namespace is the namespace to apply to the inputs - Namespace string `yaml:"namespace,omitempty"` - - // FsSlice contains the FieldSpecs to locate the namespace field - FsSlice types.FsSlice `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (ns *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - ns.trackableSetter.WithMutationTracker(callback) -} - -func (ns Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(ns.run)).Filter(nodes) -} - -// Run runs the filter on a single node rather than a slice -func (ns Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - // hacks for hardcoded types -- :( - if err := ns.hacks(node); err != nil { - return nil, err - } - - // Remove the fieldspecs that are for hardcoded fields. The fieldspecs - // exist for backwards compatibility with other implementations - // of this transformation. - // This implementation of the namespace transformation - // Does not use the fieldspecs for implementing cases which - // require hardcoded logic. - ns.FsSlice = ns.removeFieldSpecsForHacks(ns.FsSlice) - - // transformations based on data -- :) - err := node.PipeE(fsslice.Filter{ - FsSlice: ns.FsSlice, - SetValue: ns.trackableSetter.SetEntry("", ns.Namespace, yaml.NodeTagString), - CreateKind: yaml.ScalarNode, // Namespace is a ScalarNode - CreateTag: yaml.NodeTagString, - }) - return node, err -} - -// hacks applies the namespace transforms that are hardcoded rather -// than specified through FieldSpecs. -func (ns Filter) hacks(obj *yaml.RNode) error { - gvk := resid.GvkFromNode(obj) - if err := ns.metaNamespaceHack(obj, gvk); err != nil { - return err - } - return ns.roleBindingHack(obj, gvk) -} - -// metaNamespaceHack is a hack for implementing the namespace transform -// for the metadata.namespace field on namespace scoped resources. -// namespace scoped resources are determined by NOT being present -// in a hard-coded list of cluster-scoped resource types (by apiVersion and kind). -// -// This hack should be updated to allow individual resources to specify -// if they are cluster scoped through either an annotation on the resources, -// or through inlined OpenAPI on the resource as a YAML comment. -func (ns Filter) metaNamespaceHack(obj *yaml.RNode, gvk resid.Gvk) error { - if gvk.IsClusterScoped() { - return nil - } - f := fsslice.Filter{ - FsSlice: []types.FieldSpec{ - {Path: types.MetadataNamespacePath, CreateIfNotPresent: true}, - }, - SetValue: ns.trackableSetter.SetEntry("", ns.Namespace, yaml.NodeTagString), - CreateKind: yaml.ScalarNode, // Namespace is a ScalarNode - } - _, err := f.Filter(obj) - return err -} - -// roleBindingHack is a hack for implementing the namespace transform -// for RoleBinding and ClusterRoleBinding resource types. -// RoleBinding and ClusterRoleBinding have namespace set on -// elements of the "subjects" field if and only if the subject elements -// "name" is "default". Otherwise the namespace is not set. -// -// Example: -// -// kind: RoleBinding -// subjects: -// - name: "default" # this will have the namespace set -// ... -// - name: "something-else" # this will not have the namespace set -// ... -func (ns Filter) roleBindingHack(obj *yaml.RNode, gvk resid.Gvk) error { - if gvk.Kind != roleBindingKind && gvk.Kind != clusterRoleBindingKind { - return nil - } - - // Lookup the namespace field on all elements. - // We should change the fieldspec so this isn't necessary. - obj, err := obj.Pipe(yaml.Lookup(subjectsField)) - if err != nil || yaml.IsMissingOrNull(obj) { - return err - } - - // add the namespace to each "subject" with name: default - err = obj.VisitElements(func(o *yaml.RNode) error { - // The only case we need to force the namespace - // if for the "service account". "default" is - // kind of hardcoded here for right now. - name, err := o.Pipe( - yaml.Lookup("name"), yaml.Match("default"), - ) - if err != nil || yaml.IsMissingOrNull(name) { - return err - } - - // set the namespace for the default account - node, err := o.Pipe( - yaml.LookupCreate(yaml.ScalarNode, "namespace"), - ) - if err != nil { - return err - } - - return ns.trackableSetter.SetEntry("", ns.Namespace, yaml.NodeTagString)(node) - - }) - - return err -} - -// removeFieldSpecsForHacks removes from the list fieldspecs that -// have hardcoded implementations -func (ns Filter) removeFieldSpecsForHacks(fs types.FsSlice) types.FsSlice { - var val types.FsSlice - for i := range fs { - // implemented by metaNamespaceHack - if fs[i].Path == types.MetadataNamespacePath { - continue - } - // implemented by roleBindingHack - if fs[i].Kind == roleBindingKind && fs[i].Path == subjectsField { - continue - } - // implemented by roleBindingHack - if fs[i].Kind == clusterRoleBindingKind && fs[i].Path == subjectsField { - continue - } - val = append(val, fs[i]) - } - return val -} - -const ( - subjectsField = "subjects" - roleBindingKind = "RoleBinding" - clusterRoleBindingKind = "ClusterRoleBinding" -) diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/doc.go deleted file mode 100644 index ec4cfa82..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package namespace contains a kio.Filter implementation of the kustomize -// patchjson6902 transformer -package patchjson6902 diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/patchjson6902.go b/vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/patchjson6902.go deleted file mode 100644 index 5749d6dd..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/patchjson6902/patchjson6902.go +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package patchjson6902 - -import ( - "strings" - - jsonpatch "github.com/evanphx/json-patch" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" - k8syaml "sigs.k8s.io/yaml" -) - -type Filter struct { - Patch string - - decodedPatch jsonpatch.Patch -} - -var _ kio.Filter = Filter{} - -func (pf Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - decodedPatch, err := pf.decodePatch() - if err != nil { - return nil, err - } - pf.decodedPatch = decodedPatch - return kio.FilterAll(yaml.FilterFunc(pf.run)).Filter(nodes) -} - -func (pf Filter) decodePatch() (jsonpatch.Patch, error) { - patch := pf.Patch - // If the patch doesn't look like a JSON6902 patch, we - // try to parse it to json. - if !strings.HasPrefix(pf.Patch, "[") { - p, err := k8syaml.YAMLToJSON([]byte(patch)) - if err != nil { - return nil, err - } - patch = string(p) - } - decodedPatch, err := jsonpatch.DecodePatch([]byte(patch)) - if err != nil { - return nil, err - } - return decodedPatch, nil -} - -func (pf Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - // We don't actually use the kyaml library for manipulating the - // yaml here. We just marshal it to json and rely on the - // jsonpatch library to take care of applying the patch. - // This means ordering might not be preserved with this filter. - b, err := node.MarshalJSON() - if err != nil { - return nil, err - } - res, err := pf.decodedPatch.Apply(b) - if err != nil { - return nil, err - } - err = node.UnmarshalJSON(res) - return node, err -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/doc.go deleted file mode 100644 index 1733fd8a..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package patchstrategicmerge contains a kio.Filter implementation of the -// kustomize strategic merge patch transformer. -package patchstrategicmerge diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/patchstrategicmerge.go b/vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/patchstrategicmerge.go deleted file mode 100644 index 1a70d19a..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/patchstrategicmerge/patchstrategicmerge.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package patchstrategicmerge - -import ( - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/merge2" -) - -type Filter struct { - Patch *yaml.RNode -} - -var _ kio.Filter = Filter{} - -// Filter does a strategic merge patch, which can delete nodes. -func (pf Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - var result []*yaml.RNode - for i := range nodes { - r, err := merge2.Merge( - pf.Patch, nodes[i], - yaml.MergeOptions{ - ListIncreaseDirection: yaml.MergeOptionsListPrepend, - }, - ) - if err != nil { - return nil, err - } - if r != nil { - result = append(result, r) - } - } - return result, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/prefix/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/prefix/doc.go deleted file mode 100644 index 95236859..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/prefix/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package prefix contains a kio.Filter implementation of the kustomize -// PrefixTransformer. -package prefix diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/prefix/prefix.go b/vendor/sigs.k8s.io/kustomize/api/filters/prefix/prefix.go deleted file mode 100644 index daa375d1..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/prefix/prefix.go +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package prefix - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/filters/fieldspec" - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter applies resource name prefix's using the fieldSpecs -type Filter struct { - Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty"` - - FieldSpec types.FieldSpec `json:"fieldSpec,omitempty" yaml:"fieldSpec,omitempty"` - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - f.trackableSetter.WithMutationTracker(callback) -} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(f.run)).Filter(nodes) -} - -func (f Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - err := node.PipeE(fieldspec.Filter{ - FieldSpec: f.FieldSpec, - SetValue: f.evaluateField, - CreateKind: yaml.ScalarNode, // Name is a ScalarNode - CreateTag: yaml.NodeTagString, - }) - return node, err -} - -func (f Filter) evaluateField(node *yaml.RNode) error { - return f.trackableSetter.SetScalar(fmt.Sprintf( - "%s%s", f.Prefix, node.YNode().Value))(node) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/refvar/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/refvar/doc.go deleted file mode 100644 index ab3a01d5..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/refvar/doc.go +++ /dev/null @@ -1,3 +0,0 @@ -// Package refvar contains a kio.Filter implementation of the kustomize -// refvar transformer (find and replace $(FOO) style variables in strings). -package refvar diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/refvar/expand.go b/vendor/sigs.k8s.io/kustomize/api/filters/refvar/expand.go deleted file mode 100644 index 3bcbd7a5..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/refvar/expand.go +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package refvar - -import ( - "fmt" - "log" - "strings" -) - -const ( - operator = '$' - referenceOpener = '(' - referenceCloser = ')' -) - -// syntaxWrap returns the input string wrapped by the expansion syntax. -func syntaxWrap(input string) string { - var sb strings.Builder - sb.WriteByte(operator) - sb.WriteByte(referenceOpener) - sb.WriteString(input) - sb.WriteByte(referenceCloser) - return sb.String() -} - -// MappingFunc maps a string to anything. -type MappingFunc func(string) interface{} - -// MakePrimitiveReplacer returns a MappingFunc that uses a map to do -// replacements, and a histogram to count map hits. -// -// Func behavior: -// -// If the input key is NOT found in the map, the key is wrapped up as -// as a variable declaration string and returned, e.g. key FOO becomes $(FOO). -// This string is presumably put back where it was found, and might get replaced -// later. -// -// If the key is found in the map, the value is returned if it is a primitive -// type (string, bool, number), and the hit is counted. -// -// If it's not a primitive type (e.g. a map, struct, func, etc.) then this -// function doesn't know what to do with it and it returns the key wrapped up -// again as if it had not been replaced. This should probably be an error. -func MakePrimitiveReplacer( - counts map[string]int, someMap map[string]interface{}) MappingFunc { - return func(key string) interface{} { - if value, ok := someMap[key]; ok { - switch typedV := value.(type) { - case string, int, int32, int64, float32, float64, bool: - counts[key]++ - return typedV - default: - // If the value is some complicated type (e.g. a map or struct), - // this function doesn't know how to jam it into a string, - // so just pretend it was a cache miss. - // Likely this should be an error instead of a silent failure, - // since the programmer passed an impossible value. - log.Printf( - "MakePrimitiveReplacer: bad replacement type=%T val=%v", - typedV, typedV) - return syntaxWrap(key) - } - } - // If unable to return the mapped variable, return it - // as it was found, and a later mapping might be able to - // replace it. - return syntaxWrap(key) - } -} - -// DoReplacements replaces variable references in the input string -// using the mapping function. -func DoReplacements(input string, mapping MappingFunc) interface{} { - var buf strings.Builder - checkpoint := 0 - for cursor := 0; cursor < len(input); cursor++ { - if input[cursor] == operator && cursor+1 < len(input) { - // Copy the portion of the input string since the last - // checkpoint into the buffer - buf.WriteString(input[checkpoint:cursor]) - - // Attempt to read the variable name as defined by the - // syntax from the input string - read, isVar, advance := tryReadVariableName(input[cursor+1:]) - - if isVar { - // We were able to read a variable name correctly; - // apply the mapping to the variable name and copy the - // bytes into the buffer - mapped := mapping(read) - if input == syntaxWrap(read) { - // Preserve the type of variable - return mapped - } - - // Variable is used in a middle of a string - buf.WriteString(fmt.Sprintf("%v", mapped)) - } else { - // Not a variable name; copy the read bytes into the buffer - buf.WriteString(read) - } - - // Advance the cursor in the input string to account for - // bytes consumed to read the variable name expression - cursor += advance - - // Advance the checkpoint in the input string - checkpoint = cursor + 1 - } - } - - // Return the buffer and any remaining unwritten bytes in the - // input string. - return buf.String() + input[checkpoint:] -} - -// tryReadVariableName attempts to read a variable name from the input -// string and returns the content read from the input, whether that content -// represents a variable name to perform mapping on, and the number of bytes -// consumed in the input string. -// -// The input string is assumed not to contain the initial operator. -func tryReadVariableName(input string) (string, bool, int) { - switch input[0] { - case operator: - // Escaped operator; return it. - return input[0:1], false, 1 - case referenceOpener: - // Scan to expression closer - for i := 1; i < len(input); i++ { - if input[i] == referenceCloser { - return input[1:i], true, i + 1 - } - } - - // Incomplete reference; return it. - return string(operator) + string(referenceOpener), false, 1 - default: - // Not the beginning of an expression, ie, an operator - // that doesn't begin an expression. Return the operator - // and the first rune in the string. - return string(operator) + string(input[0]), false, 1 - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/refvar/refvar.go b/vendor/sigs.k8s.io/kustomize/api/filters/refvar/refvar.go deleted file mode 100644 index 016c574e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/refvar/refvar.go +++ /dev/null @@ -1,110 +0,0 @@ -package refvar - -import ( - "fmt" - "strconv" - - "sigs.k8s.io/kustomize/api/filters/fieldspec" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter updates $(VAR) style variables with values. -// The fieldSpecs are the places to look for occurrences of $(VAR). -type Filter struct { - MappingFunc MappingFunc `json:"mappingFunc,omitempty" yaml:"mappingFunc,omitempty"` - FieldSpec types.FieldSpec `json:"fieldSpec,omitempty" yaml:"fieldSpec,omitempty"` -} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(f.run)).Filter(nodes) -} - -func (f Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - err := node.PipeE(fieldspec.Filter{ - FieldSpec: f.FieldSpec, - SetValue: f.set, - }) - return node, err -} - -func (f Filter) set(node *yaml.RNode) error { - if yaml.IsMissingOrNull(node) { - return nil - } - switch node.YNode().Kind { - case yaml.ScalarNode: - return f.setScalar(node) - case yaml.MappingNode: - return f.setMap(node) - case yaml.SequenceNode: - return f.setSeq(node) - default: - return fmt.Errorf("invalid type encountered %v", node.YNode().Kind) - } -} - -func updateNodeValue(node *yaml.Node, newValue interface{}) { - switch newValue := newValue.(type) { - case int: - node.Value = strconv.FormatInt(int64(newValue), 10) - node.Tag = yaml.NodeTagInt - case int32: - node.Value = strconv.FormatInt(int64(newValue), 10) - node.Tag = yaml.NodeTagInt - case int64: - node.Value = strconv.FormatInt(newValue, 10) - node.Tag = yaml.NodeTagInt - case bool: - node.SetString(strconv.FormatBool(newValue)) - node.Tag = yaml.NodeTagBool - case float32: - node.SetString(strconv.FormatFloat(float64(newValue), 'f', -1, 32)) - node.Tag = yaml.NodeTagFloat - case float64: - node.SetString(strconv.FormatFloat(newValue, 'f', -1, 64)) - node.Tag = yaml.NodeTagFloat - default: - node.SetString(newValue.(string)) - node.Tag = yaml.NodeTagString - } - node.Style = 0 -} - -func (f Filter) setScalar(node *yaml.RNode) error { - if !yaml.IsYNodeString(node.YNode()) { - return nil - } - v := DoReplacements(node.YNode().Value, f.MappingFunc) - updateNodeValue(node.YNode(), v) - return nil -} - -func (f Filter) setMap(node *yaml.RNode) error { - contents := node.YNode().Content - for i := 0; i < len(contents); i += 2 { - if !yaml.IsYNodeString(contents[i]) { - return fmt.Errorf( - "invalid map key: value='%s', tag='%s'", - contents[i].Value, contents[i].Tag) - } - if !yaml.IsYNodeString(contents[i+1]) { - continue - } - newValue := DoReplacements(contents[i+1].Value, f.MappingFunc) - updateNodeValue(contents[i+1], newValue) - } - return nil -} - -func (f Filter) setSeq(node *yaml.RNode) error { - for _, item := range node.YNode().Content { - if !yaml.IsYNodeString(item) { - return fmt.Errorf("invalid value type expect a string") - } - newValue := DoReplacements(item.Value, f.MappingFunc) - updateNodeValue(item, newValue) - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/replacement/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/replacement/doc.go deleted file mode 100644 index 9d935790..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/replacement/doc.go +++ /dev/null @@ -1,4 +0,0 @@ -// Package replacement contains a kio.Filter implementation of the kustomize -// replacement transformer (accepts sources and looks for targets to replace -// their values with values from the sources). -package replacement diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/replacement/replacement.go b/vendor/sigs.k8s.io/kustomize/api/filters/replacement/replacement.go deleted file mode 100644 index f4627ddb..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/replacement/replacement.go +++ /dev/null @@ -1,249 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package replacement - -import ( - "fmt" - "strings" - - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type Filter struct { - Replacements []types.Replacement `json:"replacements,omitempty" yaml:"replacements,omitempty"` -} - -// Filter replaces values of targets with values from sources -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - for _, r := range f.Replacements { - if r.Source == nil || r.Targets == nil { - return nil, fmt.Errorf("replacements must specify a source and at least one target") - } - value, err := getReplacement(nodes, &r) - if err != nil { - return nil, err - } - nodes, err = applyReplacement(nodes, value, r.Targets) - if err != nil { - return nil, err - } - } - return nodes, nil -} - -func applyReplacement(nodes []*yaml.RNode, value *yaml.RNode, targets []*types.TargetSelector) ([]*yaml.RNode, error) { - for _, t := range targets { - if t.Select == nil { - return nil, fmt.Errorf("target must specify resources to select") - } - if len(t.FieldPaths) == 0 { - t.FieldPaths = []string{types.DefaultReplacementFieldPath} - } - for _, n := range nodes { - ids, err := utils.MakeResIds(n) - if err != nil { - return nil, err - } - - // filter targets by label and annotation selectors - selectByAnnoAndLabel, err := selectByAnnoAndLabel(n, t) - if err != nil { - return nil, err - } - if !selectByAnnoAndLabel { - continue - } - - // filter targets by matching resource IDs - for _, id := range ids { - if id.IsSelectedBy(t.Select.ResId) && !rejectId(t.Reject, &id) { - err := applyToNode(n, value, t) - if err != nil { - return nil, err - } - break - } - } - } - } - return nodes, nil -} - -func selectByAnnoAndLabel(n *yaml.RNode, t *types.TargetSelector) (bool, error) { - if matchesSelect, err := matchesAnnoAndLabelSelector(n, t.Select); !matchesSelect || err != nil { - return false, err - } - for _, reject := range t.Reject { - if reject.AnnotationSelector == "" && reject.LabelSelector == "" { - continue - } - if m, err := matchesAnnoAndLabelSelector(n, reject); m || err != nil { - return false, err - } - } - return true, nil -} - -func matchesAnnoAndLabelSelector(n *yaml.RNode, selector *types.Selector) (bool, error) { - r := resource.Resource{RNode: *n} - annoMatch, err := r.MatchesAnnotationSelector(selector.AnnotationSelector) - if err != nil { - return false, err - } - labelMatch, err := r.MatchesLabelSelector(selector.LabelSelector) - if err != nil { - return false, err - } - return annoMatch && labelMatch, nil -} - -func rejectId(rejects []*types.Selector, id *resid.ResId) bool { - for _, r := range rejects { - if !r.ResId.IsEmpty() && id.IsSelectedBy(r.ResId) { - return true - } - } - return false -} - -func applyToNode(node *yaml.RNode, value *yaml.RNode, target *types.TargetSelector) error { - for _, fp := range target.FieldPaths { - fieldPath := utils.SmarterPathSplitter(fp, ".") - var t *yaml.RNode - var err error - if target.Options != nil && target.Options.Create { - t, err = node.Pipe(yaml.LookupCreate(value.YNode().Kind, fieldPath...)) - } else { - t, err = node.Pipe(&yaml.PathMatcher{Path: fieldPath}) - } - if err != nil { - return err - } - if t != nil { - if err = applyToOneNode(target.Options, t, value); err != nil { - return err - } - } - } - return nil -} - -func applyToOneNode(options *types.FieldOptions, t *yaml.RNode, value *yaml.RNode) error { - if len(t.YNode().Content) == 0 { - if err := setTargetValue(options, t, value); err != nil { - return err - } - return nil - } - - for _, scalarNode := range t.YNode().Content { - if options != nil && options.Create { - return fmt.Errorf("cannot use create option in a multi-value target") - } - rn := yaml.NewRNode(scalarNode) - if err := setTargetValue(options, rn, value); err != nil { - return err - } - } - - return nil -} - -func setTargetValue(options *types.FieldOptions, t *yaml.RNode, value *yaml.RNode) error { - value = value.Copy() - if options != nil && options.Delimiter != "" { - if t.YNode().Kind != yaml.ScalarNode { - return fmt.Errorf("delimiter option can only be used with scalar nodes") - } - tv := strings.Split(t.YNode().Value, options.Delimiter) - v := yaml.GetValue(value) - // TODO: Add a way to remove an element - switch { - case options.Index < 0: // prefix - tv = append([]string{v}, tv...) - case options.Index >= len(tv): // suffix - tv = append(tv, v) - default: // replace an element - tv[options.Index] = v - } - value.YNode().Value = strings.Join(tv, options.Delimiter) - } - - if t.YNode().Kind == yaml.ScalarNode { - // For scalar, only copy the value (leave any type intact to auto-convert int->string or string->int) - t.YNode().Value = value.YNode().Value - } else { - t.SetYNode(value.YNode()) - } - - return nil -} - -func getReplacement(nodes []*yaml.RNode, r *types.Replacement) (*yaml.RNode, error) { - source, err := selectSourceNode(nodes, r.Source) - if err != nil { - return nil, err - } - - if r.Source.FieldPath == "" { - r.Source.FieldPath = types.DefaultReplacementFieldPath - } - fieldPath := utils.SmarterPathSplitter(r.Source.FieldPath, ".") - - rn, err := source.Pipe(yaml.Lookup(fieldPath...)) - if err != nil { - return nil, err - } - if rn.IsNilOrEmpty() { - return nil, fmt.Errorf("fieldPath `%s` is missing for replacement source %s", r.Source.FieldPath, r.Source.ResId) - } - - return getRefinedValue(r.Source.Options, rn) -} - -func getRefinedValue(options *types.FieldOptions, rn *yaml.RNode) (*yaml.RNode, error) { - if options == nil || options.Delimiter == "" { - return rn, nil - } - if rn.YNode().Kind != yaml.ScalarNode { - return nil, fmt.Errorf("delimiter option can only be used with scalar nodes") - } - value := strings.Split(yaml.GetValue(rn), options.Delimiter) - if options.Index >= len(value) || options.Index < 0 { - return nil, fmt.Errorf("options.index %d is out of bounds for value %s", options.Index, yaml.GetValue(rn)) - } - n := rn.Copy() - n.YNode().Value = value[options.Index] - return n, nil -} - -// selectSourceNode finds the node that matches the selector, returning -// an error if multiple or none are found -func selectSourceNode(nodes []*yaml.RNode, selector *types.SourceSelector) (*yaml.RNode, error) { - var matches []*yaml.RNode - for _, n := range nodes { - ids, err := utils.MakeResIds(n) - if err != nil { - return nil, err - } - for _, id := range ids { - if id.IsSelectedBy(selector.ResId) { - if len(matches) > 0 { - return nil, fmt.Errorf( - "multiple matches for selector %s", selector) - } - matches = append(matches, n) - break - } - } - } - if len(matches) == 0 { - return nil, fmt.Errorf("nothing selected by %s", selector) - } - return matches[0], nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/replicacount/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/replicacount/doc.go deleted file mode 100644 index a22d1303..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/replicacount/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package replicacount contains a kio.Filter implementation of the kustomize -// ReplicaCountTransformer. -package replicacount diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/replicacount/replicacount.go b/vendor/sigs.k8s.io/kustomize/api/filters/replicacount/replicacount.go deleted file mode 100644 index f2d98d7d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/replicacount/replicacount.go +++ /dev/null @@ -1,45 +0,0 @@ -package replicacount - -import ( - "strconv" - - "sigs.k8s.io/kustomize/api/filters/fieldspec" - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter updates/sets replicas fields using the fieldSpecs -type Filter struct { - Replica types.Replica `json:"replica,omitempty" yaml:"replica,omitempty"` - FieldSpec types.FieldSpec `json:"fieldSpec,omitempty" yaml:"fieldSpec,omitempty"` - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (rc *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - rc.trackableSetter.WithMutationTracker(callback) -} - -func (rc Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(rc.run)).Filter(nodes) -} - -func (rc Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - err := node.PipeE(fieldspec.Filter{ - FieldSpec: rc.FieldSpec, - SetValue: rc.set, - CreateKind: yaml.ScalarNode, // replicas is a ScalarNode - CreateTag: yaml.NodeTagInt, - }) - return node, err -} - -func (rc Filter) set(node *yaml.RNode) error { - return rc.trackableSetter.SetEntry("", strconv.FormatInt(rc.Replica.Count, 10), yaml.NodeTagInt)(node) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/suffix/doc.go b/vendor/sigs.k8s.io/kustomize/api/filters/suffix/doc.go deleted file mode 100644 index 18be62df..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/suffix/doc.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package suffix contains a kio.Filter implementation of the kustomize -// SuffixTransformer. -package suffix diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/suffix/suffix.go b/vendor/sigs.k8s.io/kustomize/api/filters/suffix/suffix.go deleted file mode 100644 index babc257b..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/suffix/suffix.go +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package suffix - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/filters/fieldspec" - "sigs.k8s.io/kustomize/api/filters/filtersutil" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter applies resource name suffix's using the fieldSpecs -type Filter struct { - Suffix string `json:"suffix,omitempty" yaml:"suffix,omitempty"` - - FieldSpec types.FieldSpec `json:"fieldSpec,omitempty" yaml:"fieldSpec,omitempty"` - - trackableSetter filtersutil.TrackableSetter -} - -var _ kio.Filter = Filter{} -var _ kio.TrackableFilter = &Filter{} - -// WithMutationTracker registers a callback which will be invoked each time a field is mutated -func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { - f.trackableSetter.WithMutationTracker(callback) -} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - return kio.FilterAll(yaml.FilterFunc(f.run)).Filter(nodes) -} - -func (f Filter) run(node *yaml.RNode) (*yaml.RNode, error) { - err := node.PipeE(fieldspec.Filter{ - FieldSpec: f.FieldSpec, - SetValue: f.evaluateField, - CreateKind: yaml.ScalarNode, // Name is a ScalarNode - CreateTag: yaml.NodeTagString, - }) - return node, err -} - -func (f Filter) evaluateField(node *yaml.RNode) error { - return f.trackableSetter.SetScalar(fmt.Sprintf( - "%s%s", node.YNode().Value, f.Suffix))(node) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/filters/valueadd/valueadd.go b/vendor/sigs.k8s.io/kustomize/api/filters/valueadd/valueadd.go deleted file mode 100644 index f8e6b2f8..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/filters/valueadd/valueadd.go +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package valueadd - -import ( - "strings" - - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// An 'Add' operation aspiring to IETF RFC 6902 JSON. -// -// The filter tries to add a value to a node at a particular field path. -// -// Kinds of target fields: -// -// - Non-existent target field. -// -// The field will be added and the value inserted. -// -// - Existing field, scalar or map. -// -// E.g. 'spec/template/spec/containers/[name:nginx]/image' -// -// This behaves like an IETF RFC 6902 Replace operation would; -// the existing value is replaced without complaint, even though -// this is an Add operation. In contrast, a Replace operation -// must fail (report an error) if the field doesn't exist. -// -// - Existing field, list (array) -// Not supported yet. -// TODO: Honor fields with RFC-6902-style array indices -// TODO: like 'spec/template/spec/containers/2' -// TODO: Modify kyaml/yaml/PathGetter to allow this. -// The value will be inserted into the array at the given position, -// shifting other contents. To instead replace an array entry, use -// an implementation of an IETF RFC 6902 Replace operation. -// -// For the common case of a filepath in the field value, and a desire -// to add the value to the filepath (rather than replace the filepath), -// use a non-zero value of FilePathPosition (see below). -type Filter struct { - // Value is the value to add. - // - // Empty values are disallowed, i.e. this filter isn't intended - // for use in erasing or removing fields. For that, use a filter - // more aligned with the IETF RFC 6902 JSON Remove operation. - // - // At the time of writing, Value's value should be a simple string, - // not a JSON document. This particular filter focuses on easing - // injection of a single-sourced cloud project and/or cluster name - // into various fields, especially namespace and various filepath - // specifications. - Value string - - // FieldPath is a JSON-style path to the field intended to hold the value. - FieldPath string - - // FilePathPosition is a filepath field index. - // - // Call the value of this field _i_. - // - // If _i_ is zero, negative or unspecified, this field has no effect. - // - // If _i_ is > 0, then it's assumed that - // - 'Value' is a string that can work as a directory or file name, - // - the field value intended for replacement holds a filepath. - // - // The filepath is split into a string slice, the value is inserted - // at position [i-1], shifting the rest of the path to the right. - // A value of i==1 puts the new value at the start of the path. - // This change never converts an absolute path to a relative path, - // meaning adding a new field at position i==1 will preserve a - // leading slash. E.g. if Value == 'PEACH' - // - // OLD : NEW : FilePathPosition - // -------------------------------------------------------- - // {empty} : PEACH : irrelevant - // / : /PEACH : irrelevant - // pie : PEACH/pie : 1 (or less to prefix) - // /pie : /PEACH/pie : 1 (or less to prefix) - // raw : raw/PEACH : 2 (or more to postfix) - // /raw : /raw/PEACH : 2 (or more to postfix) - // a/nice/warm/pie : a/nice/warm/PEACH/pie : 4 - // /a/nice/warm/pie : /a/nice/warm/PEACH/pie : 4 - // - // For robustness (liberal input, conservative output) FilePathPosition - // values that that are too large to index the split filepath result in a - // postfix rather than an error. So use 1 to prefix, 9999 to postfix. - FilePathPosition int `json:"filePathPosition,omitempty" yaml:"filePathPosition,omitempty"` -} - -var _ kio.Filter = Filter{} - -func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - _, err := kio.FilterAll(yaml.FilterFunc( - func(node *yaml.RNode) (*yaml.RNode, error) { - var fields []string - // if there is forward slash '/' in the field name, a back slash '\' - // will be used to escape it. - for _, f := range strings.Split(f.FieldPath, "/") { - if len(fields) > 0 && strings.HasSuffix(fields[len(fields)-1], "\\") { - concatField := strings.TrimSuffix(fields[len(fields)-1], "\\") + "/" + f - fields = append(fields[:len(fields)-1], concatField) - } else { - fields = append(fields, f) - } - } - // TODO: support SequenceNode. - // Presumably here one could look for array indices (digits) at - // the end of the field path (as described in IETF RFC 6902 JSON), - // and if found, take it as a signal that this should be a - // SequenceNode instead of a ScalarNode, and insert the value - // into the proper slot, shifting every over. - n, err := node.Pipe(yaml.LookupCreate(yaml.ScalarNode, fields...)) - if err != nil { - return node, err - } - // TODO: allow more kinds - if err := yaml.ErrorIfInvalid(n, yaml.ScalarNode); err != nil { - return nil, err - } - newValue := f.Value - if f.FilePathPosition > 0 { - newValue = filesys.InsertPathPart( - n.YNode().Value, f.FilePathPosition-1, newValue) - } - return n.Pipe(yaml.FieldSetter{StringValue: newValue}) - })).Filter(nodes) - return nodes, err -} diff --git a/vendor/sigs.k8s.io/kustomize/api/hasher/hasher.go b/vendor/sigs.k8s.io/kustomize/api/hasher/hasher.go deleted file mode 100644 index aef436d9..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/hasher/hasher.go +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package hasher - -import ( - "crypto/sha256" - "encoding/json" - "fmt" - "sort" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// SortArrayAndComputeHash sorts a string array and -// returns a hash for it -func SortArrayAndComputeHash(s []string) (string, error) { - sort.Strings(s) - data, err := json.Marshal(s) - if err != nil { - return "", err - } - return encode(hex256(string(data))) -} - -// Copied from https://github.com/kubernetes/kubernetes -// /blob/master/pkg/kubectl/util/hash/hash.go -func encode(hex string) (string, error) { - if len(hex) < 10 { - return "", fmt.Errorf( - "input length must be at least 10") - } - enc := []rune(hex[:10]) - for i := range enc { - switch enc[i] { - case '0': - enc[i] = 'g' - case '1': - enc[i] = 'h' - case '3': - enc[i] = 'k' - case 'a': - enc[i] = 'm' - case 'e': - enc[i] = 't' - } - } - return string(enc), nil -} - -// hex256 returns the hex form of the sha256 of the argument. -func hex256(data string) string { - return fmt.Sprintf("%x", sha256.Sum256([]byte(data))) -} - -// Hasher computes the hash of an RNode. -type Hasher struct{} - -// Hash returns a hash of the argument. -func (h *Hasher) Hash(node *yaml.RNode) (r string, err error) { - var encoded string - switch node.GetKind() { - case "ConfigMap": - encoded, err = encodeConfigMap(node) - case "Secret": - encoded, err = encodeSecret(node) - default: - var encodedBytes []byte - encodedBytes, err = json.Marshal(node.YNode()) - encoded = string(encodedBytes) - } - if err != nil { - return "", err - } - return encode(hex256(encoded)) -} - -func getNodeValues( - node *yaml.RNode, paths []string) (map[string]interface{}, error) { - values := make(map[string]interface{}) - for _, p := range paths { - vn, err := node.Pipe(yaml.Lookup(p)) - if err != nil { - return map[string]interface{}{}, err - } - if vn == nil { - values[p] = "" - continue - } - if vn.YNode().Kind != yaml.ScalarNode { - vs, err := vn.MarshalJSON() - if err != nil { - return map[string]interface{}{}, err - } - // data, binaryData and stringData are all maps - var v map[string]interface{} - json.Unmarshal(vs, &v) - values[p] = v - } else { - values[p] = vn.YNode().Value - } - } - return values, nil -} - -// encodeConfigMap encodes a ConfigMap. -// Data, Kind, and Name are taken into account. -// BinaryData is included if it's not empty to avoid useless key in output. -func encodeConfigMap(node *yaml.RNode) (string, error) { - // get fields - paths := []string{"metadata/name", "data", "binaryData"} - values, err := getNodeValues(node, paths) - if err != nil { - return "", err - } - m := map[string]interface{}{ - "kind": "ConfigMap", - "name": values["metadata/name"], - "data": values["data"], - } - if _, ok := values["binaryData"].(map[string]interface{}); ok { - m["binaryData"] = values["binaryData"] - } - - // json.Marshal sorts the keys in a stable order in the encoding - data, err := json.Marshal(m) - if err != nil { - return "", err - } - return string(data), nil -} - -// encodeSecret encodes a Secret. -// Data, Kind, Name, and Type are taken into account. -// StringData is included if it's not empty to avoid useless key in output. -func encodeSecret(node *yaml.RNode) (string, error) { - // get fields - paths := []string{"type", "metadata/name", "data", "stringData"} - values, err := getNodeValues(node, paths) - if err != nil { - return "", err - } - m := map[string]interface{}{"kind": "Secret", "type": values["type"], - "name": values["metadata/name"], "data": values["data"]} - if _, ok := values["stringData"].(map[string]interface{}); ok { - m["stringData"] = values["stringData"] - } - - // json.Marshal sorts the keys in a stable order in the encoding - data, err := json.Marshal(m) - if err != nil { - return "", err - } - return string(data), nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/ifc/ifc.go b/vendor/sigs.k8s.io/kustomize/api/ifc/ifc.go deleted file mode 100644 index 9fd29747..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/ifc/ifc.go +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package ifc holds miscellaneous interfaces used by kustomize. -package ifc - -import ( - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Validator provides functions to validate annotations and labels -type Validator interface { - MakeAnnotationValidator() func(map[string]string) error - MakeAnnotationNameValidator() func([]string) error - MakeLabelValidator() func(map[string]string) error - MakeLabelNameValidator() func([]string) error - ValidateNamespace(string) []string - ErrIfInvalidKey(string) error - IsEnvVarName(k string) error -} - -// KvLoader reads and validates KV pairs. -type KvLoader interface { - Validator() Validator - Load(args types.KvPairSources) (all []types.Pair, err error) -} - -// Loader interface exposes methods to read bytes. -type Loader interface { - // Root returns the root location for this Loader. - Root() string - // New returns Loader located at newRoot. - New(newRoot string) (Loader, error) - // Load returns the bytes read from the location or an error. - Load(location string) ([]byte, error) - // Cleanup cleans the loader - Cleanup() error -} - -// KustHasher returns a hash of the argument -// or an error. -type KustHasher interface { - Hash(*yaml.RNode) (string, error) -} - -// See core.v1.SecretTypeOpaque -const SecretTypeOpaque = "Opaque" diff --git a/vendor/sigs.k8s.io/kustomize/api/image/image.go b/vendor/sigs.k8s.io/kustomize/api/image/image.go deleted file mode 100644 index 4a88050b..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/image/image.go +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package image - -import ( - "regexp" - "strings" -) - -// IsImageMatched returns true if the value of t is identical to the -// image name in the full image name and tag as given by s. -func IsImageMatched(s, t string) bool { - // Tag values are limited to [a-zA-Z0-9_.{}-]. - // Some tools like Bazel rules_k8s allow tag patterns with {} characters. - // More info: https://github.com/bazelbuild/rules_k8s/pull/423 - pattern, _ := regexp.Compile("^" + t + "(:[a-zA-Z0-9_.{}-]*)?(@sha256:[a-zA-Z0-9_.{}-]*)?$") - return pattern.MatchString(s) -} - -// Split separates and returns the name and tag parts -// from the image string using either colon `:` or at `@` separators. -// image reference pattern: [[host[:port]/]component/]component[:tag][@digest] -func Split(imageName string) (name string, tag string, digest string) { - // check if image name contains a domain - // if domain is present, ignore domain and check for `:` - searchName := imageName - slashIndex := strings.Index(imageName, "/") - if slashIndex > 0 { - searchName = imageName[slashIndex:] - } else { - slashIndex = 0 - } - - id := strings.Index(searchName, "@") - ic := strings.Index(searchName, ":") - - // no tag or digest - if ic < 0 && id < 0 { - return imageName, "", "" - } - - // digest only - if id >= 0 && (id < ic || ic < 0) { - id += slashIndex - name = imageName[:id] - digest = strings.TrimPrefix(imageName[id:], "@") - return name, "", digest - } - - // tag and digest - if id >= 0 && ic >= 0 { - id += slashIndex - ic += slashIndex - name = imageName[:ic] - tag = strings.TrimPrefix(imageName[ic:id], ":") - digest = strings.TrimPrefix(imageName[id:], "@") - return name, tag, digest - } - - // tag only - ic += slashIndex - name = imageName[:ic] - tag = strings.TrimPrefix(imageName[ic:], ":") - return name, tag, "" -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/loadconfigfromcrds.go b/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/loadconfigfromcrds.go deleted file mode 100644 index cac47c0d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/loadconfigfromcrds.go +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package accumulator - -import ( - "encoding/json" - "strings" - - "github.com/pkg/errors" - "k8s.io/kube-openapi/pkg/validation/spec" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/yaml" -) - -// OpenAPIDefinition describes single type. -// Normally these definitions are auto-generated using gen-openapi. -// Same as in k8s.io / kube-openapi / pkg / common. -type OpenAPIDefinition struct { - Schema spec.Schema - Dependencies []string -} - -type myProperties = map[string]spec.Schema -type nameToApiMap map[string]OpenAPIDefinition - -// LoadConfigFromCRDs parse CRD schemas from paths into a TransformerConfig -func LoadConfigFromCRDs( - ldr ifc.Loader, paths []string) (*builtinconfig.TransformerConfig, error) { - tc := builtinconfig.MakeEmptyConfig() - for _, path := range paths { - content, err := ldr.Load(path) - if err != nil { - return nil, err - } - m, err := makeNameToApiMap(content) - if err != nil { - return nil, errors.Wrapf(err, "unable to parse open API definition from '%s'", path) - } - otherTc, err := makeConfigFromApiMap(m) - if err != nil { - return nil, err - } - tc, err = tc.Merge(otherTc) - if err != nil { - return nil, err - } - } - return tc, nil -} - -func makeNameToApiMap(content []byte) (result nameToApiMap, err error) { - if content[0] == '{' { - err = json.Unmarshal(content, &result) - } else { - err = yaml.Unmarshal(content, &result) - } - return -} - -func makeConfigFromApiMap(m nameToApiMap) (*builtinconfig.TransformerConfig, error) { - result := builtinconfig.MakeEmptyConfig() - for name, api := range m { - if !looksLikeAk8sType(api.Schema.SchemaProps.Properties) { - continue - } - tc := builtinconfig.MakeEmptyConfig() - err := loadCrdIntoConfig( - tc, makeGvkFromTypeName(name), m, name, []string{}) - if err != nil { - return result, err - } - result, err = result.Merge(tc) - if err != nil { - return result, err - } - } - return result, nil -} - -// TODO: Get Group and Version for CRD from the -// openAPI definition once -// "x-kubernetes-group-version-kind" is available in CRD -func makeGvkFromTypeName(n string) resid.Gvk { - names := strings.Split(n, filesys.SelfDir) - kind := names[len(names)-1] - return resid.Gvk{Kind: kind} -} - -func looksLikeAk8sType(properties myProperties) bool { - _, ok := properties["kind"] - if !ok { - return false - } - _, ok = properties["apiVersion"] - if !ok { - return false - } - _, ok = properties["metadata"] - return ok -} - -const ( - // "x-kubernetes-annotation": "" - xAnnotation = "x-kubernetes-annotation" - - // "x-kubernetes-label-selector": "" - xLabelSelector = "x-kubernetes-label-selector" - - // "x-kubernetes-identity": "" - xIdentity = "x-kubernetes-identity" - - // "x-kubernetes-object-ref-api-version": - xVersion = "x-kubernetes-object-ref-api-version" - - // "x-kubernetes-object-ref-kind": - xKind = "x-kubernetes-object-ref-kind" - - // "x-kubernetes-object-ref-name-key": "name" - // default is "name" - xNameKey = "x-kubernetes-object-ref-name-key" -) - -// loadCrdIntoConfig loads a CRD spec into a TransformerConfig -func loadCrdIntoConfig( - theConfig *builtinconfig.TransformerConfig, theGvk resid.Gvk, theMap nameToApiMap, - typeName string, path []string) (err error) { - api, ok := theMap[typeName] - if !ok { - return nil - } - for propName, property := range api.Schema.SchemaProps.Properties { - _, annotate := property.Extensions.GetString(xAnnotation) - if annotate { - err = theConfig.AddAnnotationFieldSpec( - makeFs(theGvk, append(path, propName))) - if err != nil { - return - } - } - _, label := property.Extensions.GetString(xLabelSelector) - if label { - err = theConfig.AddLabelFieldSpec( - makeFs(theGvk, append(path, propName))) - if err != nil { - return - } - } - _, identity := property.Extensions.GetString(xIdentity) - if identity { - err = theConfig.AddPrefixFieldSpec( - makeFs(theGvk, append(path, propName))) - if err != nil { - return - } - } - version, ok := property.Extensions.GetString(xVersion) - if ok { - kind, ok := property.Extensions.GetString(xKind) - if ok { - nameKey, ok := property.Extensions.GetString(xNameKey) - if !ok { - nameKey = "name" - } - err = theConfig.AddNamereferenceFieldSpec( - builtinconfig.NameBackReferences{ - Gvk: resid.Gvk{Kind: kind, Version: version}, - Referrers: []types.FieldSpec{ - makeFs(theGvk, append(path, propName, nameKey))}, - }) - if err != nil { - return - } - } - } - if property.Ref.GetURL() != nil { - err = loadCrdIntoConfig( - theConfig, theGvk, theMap, - property.Ref.String(), append(path, propName)) - if err != nil { - return - } - } - } - return nil -} - -func makeFs(in resid.Gvk, path []string) types.FieldSpec { - return types.FieldSpec{ - CreateIfNotPresent: false, - Gvk: in, - Path: strings.Join(path, "/"), - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/namereferencetransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/namereferencetransformer.go deleted file mode 100644 index e039db4b..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/namereferencetransformer.go +++ /dev/null @@ -1,165 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package accumulator - -import ( - "fmt" - "log" - - "sigs.k8s.io/kustomize/api/filters/nameref" - "sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/kyaml/resid" -) - -type nameReferenceTransformer struct { - backRefs []builtinconfig.NameBackReferences -} - -const doDebug = false - -var _ resmap.Transformer = &nameReferenceTransformer{} - -type filterMap map[*resource.Resource][]nameref.Filter - -// newNameReferenceTransformer constructs a nameReferenceTransformer -// with a given slice of NameBackReferences. -func newNameReferenceTransformer( - br []builtinconfig.NameBackReferences) resmap.Transformer { - if br == nil { - log.Fatal("backrefs not expected to be nil") - } - return &nameReferenceTransformer{backRefs: br} -} - -// Transform updates name references in resource A that -// refer to resource B, given that B's name may have -// changed. -// -// For example, a HorizontalPodAutoscaler (HPA) -// necessarily refers to a Deployment, the thing that -// an HPA scales. In this case: -// -// - the HPA instance is the Referrer, -// - the Deployment instance is the ReferralTarget. -// -// If the Deployment's name changes, e.g. a prefix is added, -// then the HPA's reference to the Deployment must be fixed. -// -func (t *nameReferenceTransformer) Transform(m resmap.ResMap) error { - fMap := t.determineFilters(m.Resources()) - debug(fMap) - for r, fList := range fMap { - c, err := m.SubsetThatCouldBeReferencedByResource(r) - if err != nil { - return err - } - for _, f := range fList { - f.Referrer = r - f.ReferralCandidates = c - if err := f.Referrer.ApplyFilter(f); err != nil { - return err - } - } - } - return nil -} - -func debug(fMap filterMap) { - if !doDebug { - return - } - fmt.Printf("filterMap has %d entries:\n", len(fMap)) - rCount := 0 - for r, fList := range fMap { - yml, _ := r.AsYAML() - rCount++ - fmt.Printf(` ----- %3d. possible referrer ------------- -%s ----------`, rCount, string(yml), - ) - for i, f := range fList { - fmt.Printf(` -%3d/%3d update: %s - from: %s -`, rCount, i+1, f.NameFieldToUpdate.Path, f.ReferralTarget, - ) - } - } -} - -// Produce a map from referrer resources that might need to be fixed -// to filters that might fix them. The keys to this map are potential -// referrers, so won't include resources like ConfigMap or Secret. -// -// In the inner loop over the resources below, say we -// encounter an HPA instance. Then, in scanning the set -// of all known backrefs, we encounter an entry like -// -// - kind: Deployment -// fieldSpecs: -// - kind: HorizontalPodAutoscaler -// path: spec/scaleTargetRef/name -// -// This entry says that an HPA, via its -// 'spec/scaleTargetRef/name' field, may refer to a -// Deployment. -// -// This means that a filter will need to hunt for the right Deployment, -// obtain it's new name, and write that name into the HPA's -// 'spec/scaleTargetRef/name' field. Return a filter that can do that. -func (t *nameReferenceTransformer) determineFilters( - resources []*resource.Resource) (fMap filterMap) { - - // We cache the resource OrgId values because they don't change and otherwise are very visible in a memory pprof - resourceOrgIds := make([]resid.ResId, len(resources)) - for i, resource := range resources { - resourceOrgIds[i] = resource.OrgId() - } - - fMap = make(filterMap) - for _, backReference := range t.backRefs { - for _, referrerSpec := range backReference.Referrers { - for i, res := range resources { - if resourceOrgIds[i].IsSelected(&referrerSpec.Gvk) { - // If this is true, the res might be a referrer, and if - // so, the name reference it holds might need an update. - if resHasField(res, referrerSpec.Path) { - // Optimization - the referrer has the field - // that might need updating. - fMap[res] = append(fMap[res], nameref.Filter{ - // Name field to write in the Referrer. - // If the path specified here isn't found in - // the Referrer, nothing happens (no error, - // no field creation). - NameFieldToUpdate: referrerSpec, - // Specification of object class to read from. - // Always read from metadata/name field. - ReferralTarget: backReference.Gvk, - }) - } - } - } - } - } - return fMap -} - -// TODO: check res for field existence here to avoid extra work. -// res.GetFieldValue, which uses yaml.Lookup under the hood, doesn't know -// how to parse fieldspec-style paths that make no distinction -// between maps and sequences. This means it cannot lookup commonly -// used "indeterminate" paths like -// spec/containers/env/valueFrom/configMapKeyRef/name -// ('containers' is a list, not a map). -// However, the fieldspec filter does know how to handle this; -// extract that code and call it here? -func resHasField(res *resource.Resource, path string) bool { - return true - // fld := strings.Join(utils.PathSplitter(path), ".") - // _, e := res.GetFieldValue(fld) - // return e == nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/refvartransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/refvartransformer.go deleted file mode 100644 index a02edc4f..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/refvartransformer.go +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package accumulator - -import ( - "sigs.k8s.io/kustomize/api/filters/refvar" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" -) - -type refVarTransformer struct { - varMap map[string]interface{} - replacementCounts map[string]int - fieldSpecs []types.FieldSpec -} - -// newRefVarTransformer returns a new refVarTransformer -// that replaces $(VAR) style variables with values. -// The fieldSpecs are the places to look for occurrences of $(VAR). -func newRefVarTransformer( - varMap map[string]interface{}, fs []types.FieldSpec) *refVarTransformer { - return &refVarTransformer{ - varMap: varMap, - fieldSpecs: fs, - } -} - -// UnusedVars returns slice of Var names that were unused -// after a Transform run. -func (rv *refVarTransformer) UnusedVars() []string { - var unused []string - for k := range rv.varMap { - if _, ok := rv.replacementCounts[k]; !ok { - unused = append(unused, k) - } - } - return unused -} - -// Transform replaces $(VAR) style variables with values. -func (rv *refVarTransformer) Transform(m resmap.ResMap) error { - rv.replacementCounts = make(map[string]int) - mf := refvar.MakePrimitiveReplacer(rv.replacementCounts, rv.varMap) - for _, res := range m.Resources() { - for _, fieldSpec := range rv.fieldSpecs { - err := res.ApplyFilter(refvar.Filter{ - MappingFunc: mf, - FieldSpec: fieldSpec, - }) - if err != nil { - return err - } - } - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/resaccumulator.go b/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/resaccumulator.go deleted file mode 100644 index 93455375..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/accumulator/resaccumulator.go +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package accumulator - -import ( - "fmt" - "log" - "strings" - - "sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// ResAccumulator accumulates resources and the rules -// used to customize those resources. It's a ResMap -// plus stuff needed to modify the ResMap. -type ResAccumulator struct { - resMap resmap.ResMap - tConfig *builtinconfig.TransformerConfig - varSet types.VarSet -} - -func MakeEmptyAccumulator() *ResAccumulator { - ra := &ResAccumulator{} - ra.resMap = resmap.New() - ra.tConfig = &builtinconfig.TransformerConfig{} - ra.varSet = types.NewVarSet() - return ra -} - -// ResMap returns a copy of the internal resMap. -func (ra *ResAccumulator) ResMap() resmap.ResMap { - return ra.resMap.ShallowCopy() -} - -// Vars returns a copy of underlying vars. -func (ra *ResAccumulator) Vars() []types.Var { - return ra.varSet.AsSlice() -} - -func (ra *ResAccumulator) AppendAll(resources resmap.ResMap) error { - return ra.resMap.AppendAll(resources) -} - -func (ra *ResAccumulator) AbsorbAll(resources resmap.ResMap) error { - return ra.resMap.AbsorbAll(resources) -} - -func (ra *ResAccumulator) MergeConfig( - tConfig *builtinconfig.TransformerConfig) (err error) { - ra.tConfig, err = ra.tConfig.Merge(tConfig) - return err -} - -func (ra *ResAccumulator) GetTransformerConfig() *builtinconfig.TransformerConfig { - return ra.tConfig -} - -// MergeVars accumulates vars into ResAccumulator. -// A Var is a tuple of name, object reference and field reference. -// This func takes a list of vars from the current kustomization file and -// annotates the accumulated resources with the names of the vars that match -// those resources. E.g. if there's a var named "sam" that wants to get -// its data from a ConfigMap named "james", and the resource list contains a -// ConfigMap named "james", then that ConfigMap will be annotated with the -// var name "sam". Later this annotation is used to find the data for "sam" -// by digging into a particular fieldpath of "james". -func (ra *ResAccumulator) MergeVars(incoming []types.Var) error { - for _, v := range incoming { - targetId := resid.NewResIdWithNamespace(v.ObjRef.GVK(), v.ObjRef.Name, v.ObjRef.Namespace) - idMatcher := targetId.GvknEquals - if targetId.Namespace != "" || targetId.IsClusterScoped() { - // Preserve backward compatibility. An empty namespace means - // wildcard search on the namespace hence we still use GvknEquals - idMatcher = targetId.Equals - } - matched := ra.resMap.GetMatchingResourcesByAnyId(idMatcher) - if len(matched) > 1 { - return fmt.Errorf( - "found %d resId matches for var %s "+ - "(unable to disambiguate)", - len(matched), v) - } - if len(matched) == 1 { - matched[0].AppendRefVarName(v) - } - } - return ra.varSet.MergeSlice(incoming) -} - -func (ra *ResAccumulator) MergeAccumulator(other *ResAccumulator) (err error) { - err = ra.AppendAll(other.resMap) - if err != nil { - return err - } - err = ra.MergeConfig(other.tConfig) - if err != nil { - return err - } - return ra.varSet.MergeSet(other.varSet) -} - -func (ra *ResAccumulator) findVarValueFromResources(v types.Var) (interface{}, error) { - for _, res := range ra.resMap.Resources() { - for _, varName := range res.GetRefVarNames() { - if varName == v.Name { - //nolint: staticcheck - s, err := res.GetFieldValue(v.FieldRef.FieldPath) - if err != nil { - return "", fmt.Errorf( - "field specified in var '%v' "+ - "not found in corresponding resource", v) - } - return s, nil - } - } - } - return "", fmt.Errorf( - "var '%v' cannot be mapped to a field "+ - "in the set of known resources", v) -} - -// makeVarReplacementMap returns a map of Var names to -// their final values. The values are strings intended -// for substitution wherever the $(var.Name) occurs. -func (ra *ResAccumulator) makeVarReplacementMap() (map[string]interface{}, error) { - result := map[string]interface{}{} - for _, v := range ra.Vars() { - s, err := ra.findVarValueFromResources(v) - if err != nil { - return nil, err - } - result[v.Name] = s - } - return result, nil -} - -func (ra *ResAccumulator) Transform(t resmap.Transformer) error { - return t.Transform(ra.resMap) -} - -func (ra *ResAccumulator) ResolveVars() error { - replacementMap, err := ra.makeVarReplacementMap() - if err != nil { - return err - } - if len(replacementMap) == 0 { - return nil - } - t := newRefVarTransformer( - replacementMap, ra.tConfig.VarReference) - err = ra.Transform(t) - if len(t.UnusedVars()) > 0 { - log.Printf( - "well-defined vars that were never replaced: %s\n", - strings.Join(t.UnusedVars(), ",")) - } - return err -} - -func (ra *ResAccumulator) FixBackReferences() (err error) { - if ra.tConfig.NameReference == nil { - return nil - } - return ra.Transform( - newNameReferenceTransformer(ra.tConfig.NameReference)) -} - -// Intersection drops the resources which "other" does not have. -func (ra *ResAccumulator) Intersection(other resmap.ResMap) error { - for _, curId := range ra.resMap.AllIds() { - toDelete := true - for _, otherId := range other.AllIds() { - if otherId == curId { - toDelete = false - break - } - } - if toDelete { - err := ra.resMap.Remove(curId) - if err != nil { - return err - } - } - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/AnnotationsTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/AnnotationsTransformer.go deleted file mode 100644 index 7064fa80..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/AnnotationsTransformer.go +++ /dev/null @@ -1,38 +0,0 @@ -// Code generated by pluginator on AnnotationsTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sigs.k8s.io/kustomize/api/filters/annotations" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// Add the given annotations to the given field specifications. -type AnnotationsTransformerPlugin struct { - Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -func (p *AnnotationsTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.Annotations = nil - p.FieldSpecs = nil - return yaml.Unmarshal(c, p) -} - -func (p *AnnotationsTransformerPlugin) Transform(m resmap.ResMap) error { - if len(p.Annotations) == 0 { - return nil - } - return m.ApplyFilter(annotations.Filter{ - Annotations: p.Annotations, - FsSlice: p.FieldSpecs, - }) -} - -func NewAnnotationsTransformerPlugin() resmap.TransformerPlugin { - return &AnnotationsTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ConfigMapGenerator.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ConfigMapGenerator.go deleted file mode 100644 index d853a1cf..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ConfigMapGenerator.go +++ /dev/null @@ -1,39 +0,0 @@ -// Code generated by pluginator on ConfigMapGenerator; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sigs.k8s.io/kustomize/api/kv" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -type ConfigMapGeneratorPlugin struct { - h *resmap.PluginHelpers - types.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - types.ConfigMapArgs -} - -func (p *ConfigMapGeneratorPlugin) Config(h *resmap.PluginHelpers, config []byte) (err error) { - p.ConfigMapArgs = types.ConfigMapArgs{} - err = yaml.Unmarshal(config, p) - if p.ConfigMapArgs.Name == "" { - p.ConfigMapArgs.Name = p.Name - } - if p.ConfigMapArgs.Namespace == "" { - p.ConfigMapArgs.Namespace = p.Namespace - } - p.h = h - return -} - -func (p *ConfigMapGeneratorPlugin) Generate() (resmap.ResMap, error) { - return p.h.ResmapFactory().FromConfigMapArgs( - kv.NewLoader(p.h.Loader(), p.h.Validator()), p.ConfigMapArgs) -} - -func NewConfigMapGeneratorPlugin() resmap.GeneratorPlugin { - return &ConfigMapGeneratorPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/HashTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/HashTransformer.go deleted file mode 100644 index 54586bee..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/HashTransformer.go +++ /dev/null @@ -1,40 +0,0 @@ -// Code generated by pluginator on HashTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/resmap" -) - -type HashTransformerPlugin struct { - hasher ifc.KustHasher -} - -func (p *HashTransformerPlugin) Config( - h *resmap.PluginHelpers, _ []byte) (err error) { - p.hasher = h.ResmapFactory().RF().Hasher() - return nil -} - -// Transform appends hash to generated resources. -func (p *HashTransformerPlugin) Transform(m resmap.ResMap) error { - for _, res := range m.Resources() { - if res.NeedHashSuffix() { - h, err := res.Hash(p.hasher) - if err != nil { - return err - } - res.StorePreviousId() - res.SetName(fmt.Sprintf("%s-%s", res.GetName(), h)) - } - } - return nil -} - -func NewHashTransformerPlugin() resmap.TransformerPlugin { - return &HashTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/HelmChartInflationGenerator.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/HelmChartInflationGenerator.go deleted file mode 100644 index 2a654ad1..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/HelmChartInflationGenerator.go +++ /dev/null @@ -1,339 +0,0 @@ -// Code generated by pluginator on HelmChartInflationGenerator; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "bytes" - "fmt" - "io/ioutil" - "os" - "os/exec" - "path/filepath" - "regexp" - "strings" - - "github.com/imdario/mergo" - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// HelmChartInflationGeneratorPlugin is a plugin to generate resources -// from a remote or local helm chart. -type HelmChartInflationGeneratorPlugin struct { - h *resmap.PluginHelpers - types.HelmGlobals - types.HelmChart - tmpDir string -} - -var KustomizePlugin HelmChartInflationGeneratorPlugin - -const ( - valuesMergeOptionMerge = "merge" - valuesMergeOptionOverride = "override" - valuesMergeOptionReplace = "replace" -) - -var legalMergeOptions = []string{ - valuesMergeOptionMerge, - valuesMergeOptionOverride, - valuesMergeOptionReplace, -} - -// Config uses the input plugin configurations `config` to setup the generator -// options -func (p *HelmChartInflationGeneratorPlugin) Config( - h *resmap.PluginHelpers, config []byte) (err error) { - if h.GeneralConfig() == nil { - return fmt.Errorf("unable to access general config") - } - if !h.GeneralConfig().HelmConfig.Enabled { - return fmt.Errorf("must specify --enable-helm") - } - if h.GeneralConfig().HelmConfig.Command == "" { - return fmt.Errorf("must specify --helm-command") - } - p.h = h - if err = yaml.Unmarshal(config, p); err != nil { - return - } - return p.validateArgs() -} - -// This uses the real file system since tmpDir may be used -// by the helm subprocess. Cannot use a chroot jail or fake -// filesystem since we allow the user to use previously -// downloaded charts. This is safe since this plugin is -// owned by kustomize. -func (p *HelmChartInflationGeneratorPlugin) establishTmpDir() (err error) { - if p.tmpDir != "" { - // already done. - return nil - } - p.tmpDir, err = ioutil.TempDir("", "kustomize-helm-") - return err -} - -func (p *HelmChartInflationGeneratorPlugin) validateArgs() (err error) { - if p.Name == "" { - return fmt.Errorf("chart name cannot be empty") - } - - // ChartHome might be consulted by the plugin (to read - // values files below it), so it must be located under - // the loader root (unless root restrictions are - // disabled, in which case this can be an absolute path). - if p.ChartHome == "" { - p.ChartHome = "charts" - } - - // The ValuesFile may be consulted by the plugin, so it must - // be under the loader root (unless root restrictions are - // disabled). - if p.ValuesFile == "" { - p.ValuesFile = filepath.Join(p.ChartHome, p.Name, "values.yaml") - } - - if err = p.errIfIllegalValuesMerge(); err != nil { - return err - } - - // ConfigHome is not loaded by the plugin, and can be located anywhere. - if p.ConfigHome == "" { - if err = p.establishTmpDir(); err != nil { - return errors.Wrap( - err, "unable to create tmp dir for HELM_CONFIG_HOME") - } - p.ConfigHome = filepath.Join(p.tmpDir, "helm") - } - return nil -} - -func (p *HelmChartInflationGeneratorPlugin) errIfIllegalValuesMerge() error { - if p.ValuesMerge == "" { - // Use the default. - p.ValuesMerge = valuesMergeOptionOverride - return nil - } - for _, opt := range legalMergeOptions { - if p.ValuesMerge == opt { - return nil - } - } - return fmt.Errorf("valuesMerge must be one of %v", legalMergeOptions) -} - -func (p *HelmChartInflationGeneratorPlugin) absChartHome() string { - if filepath.IsAbs(p.ChartHome) { - return p.ChartHome - } - return filepath.Join(p.h.Loader().Root(), p.ChartHome) -} - -func (p *HelmChartInflationGeneratorPlugin) runHelmCommand( - args []string) ([]byte, error) { - stdout := new(bytes.Buffer) - stderr := new(bytes.Buffer) - cmd := exec.Command(p.h.GeneralConfig().HelmConfig.Command, args...) - cmd.Stdout = stdout - cmd.Stderr = stderr - env := []string{ - fmt.Sprintf("HELM_CONFIG_HOME=%s", p.ConfigHome), - fmt.Sprintf("HELM_CACHE_HOME=%s/.cache", p.ConfigHome), - fmt.Sprintf("HELM_DATA_HOME=%s/.data", p.ConfigHome)} - cmd.Env = append(os.Environ(), env...) - err := cmd.Run() - if err != nil { - helm := p.h.GeneralConfig().HelmConfig.Command - err = errors.Wrap( - fmt.Errorf( - "unable to run: '%s %s' with env=%s (is '%s' installed?)", - helm, strings.Join(args, " "), env, helm), - stderr.String(), - ) - } - return stdout.Bytes(), err -} - -// createNewMergedValuesFile replaces/merges original values file with ValuesInline. -func (p *HelmChartInflationGeneratorPlugin) createNewMergedValuesFile() ( - path string, err error) { - if p.ValuesMerge == valuesMergeOptionMerge || - p.ValuesMerge == valuesMergeOptionOverride { - if err = p.replaceValuesInline(); err != nil { - return "", err - } - } - var b []byte - b, err = yaml.Marshal(p.ValuesInline) - if err != nil { - return "", err - } - return p.writeValuesBytes(b) -} - -func (p *HelmChartInflationGeneratorPlugin) replaceValuesInline() error { - pValues, err := p.h.Loader().Load(p.ValuesFile) - if err != nil { - return err - } - chValues := make(map[string]interface{}) - if err = yaml.Unmarshal(pValues, &chValues); err != nil { - return err - } - switch p.ValuesMerge { - case valuesMergeOptionOverride: - err = mergo.Merge( - &chValues, p.ValuesInline, mergo.WithOverride) - case valuesMergeOptionMerge: - err = mergo.Merge(&chValues, p.ValuesInline) - } - p.ValuesInline = chValues - return err -} - -// copyValuesFile to avoid branching. TODO: get rid of this. -func (p *HelmChartInflationGeneratorPlugin) copyValuesFile() (string, error) { - b, err := p.h.Loader().Load(p.ValuesFile) - if err != nil { - return "", err - } - return p.writeValuesBytes(b) -} - -// Write a absolute path file in the tmp file system. -func (p *HelmChartInflationGeneratorPlugin) writeValuesBytes( - b []byte) (string, error) { - if err := p.establishTmpDir(); err != nil { - return "", fmt.Errorf("cannot create tmp dir to write helm values") - } - path := filepath.Join(p.tmpDir, p.Name+"-kustomize-values.yaml") - return path, ioutil.WriteFile(path, b, 0644) -} - -func (p *HelmChartInflationGeneratorPlugin) cleanup() { - if p.tmpDir != "" { - os.RemoveAll(p.tmpDir) - } -} - -// Generate implements generator -func (p *HelmChartInflationGeneratorPlugin) Generate() (rm resmap.ResMap, err error) { - defer p.cleanup() - if err = p.checkHelmVersion(); err != nil { - return nil, err - } - if path, exists := p.chartExistsLocally(); !exists { - if p.Repo == "" { - return nil, fmt.Errorf( - "no repo specified for pull, no chart found at '%s'", path) - } - if _, err := p.runHelmCommand(p.pullCommand()); err != nil { - return nil, err - } - } - if len(p.ValuesInline) > 0 { - p.ValuesFile, err = p.createNewMergedValuesFile() - } else { - p.ValuesFile, err = p.copyValuesFile() - } - if err != nil { - return nil, err - } - var stdout []byte - stdout, err = p.runHelmCommand(p.templateCommand()) - if err != nil { - return nil, err - } - - rm, err = p.h.ResmapFactory().NewResMapFromBytes(stdout) - if err == nil { - return rm, nil - } - // try to remove the contents before first "---" because - // helm may produce messages to stdout before it - stdoutStr := string(stdout) - if idx := strings.Index(stdoutStr, "---"); idx != -1 { - return p.h.ResmapFactory().NewResMapFromBytes([]byte(stdoutStr[idx:])) - } - return nil, err -} - -func (p *HelmChartInflationGeneratorPlugin) templateCommand() []string { - args := []string{"template"} - if p.ReleaseName != "" { - args = append(args, p.ReleaseName) - } - if p.Namespace != "" { - args = append(args, "--namespace", p.Namespace) - } - args = append(args, filepath.Join(p.absChartHome(), p.Name)) - if p.ValuesFile != "" { - args = append(args, "--values", p.ValuesFile) - } - if p.ReleaseName == "" { - // AFAICT, this doesn't work as intended due to a bug in helm. - // See https://github.com/helm/helm/issues/6019 - // I've tried placing the flag before and after the name argument. - args = append(args, "--generate-name") - } - if p.IncludeCRDs { - args = append(args, "--include-crds") - } - return args -} - -func (p *HelmChartInflationGeneratorPlugin) pullCommand() []string { - args := []string{ - "pull", - "--untar", - "--untardir", p.absChartHome(), - "--repo", p.Repo, - p.Name} - if p.Version != "" { - args = append(args, "--version", p.Version) - } - return args -} - -// chartExistsLocally will return true if the chart does exist in -// local chart home. -func (p *HelmChartInflationGeneratorPlugin) chartExistsLocally() (string, bool) { - path := filepath.Join(p.absChartHome(), p.Name) - s, err := os.Stat(path) - if err != nil { - return "", false - } - return path, s.IsDir() -} - -// checkHelmVersion will return an error if the helm version is not V3 -func (p *HelmChartInflationGeneratorPlugin) checkHelmVersion() error { - stdout, err := p.runHelmCommand([]string{"version", "-c", "--short"}) - if err != nil { - return err - } - r, err := regexp.Compile(`v?\d+(\.\d+)+`) - if err != nil { - return err - } - v := r.FindString(string(stdout)) - if v == "" { - return fmt.Errorf("cannot find version string in %s", string(stdout)) - } - if v[0] == 'v' { - v = v[1:] - } - majorVersion := strings.Split(v, ".")[0] - if majorVersion != "3" { - return fmt.Errorf("this plugin requires helm V3 but got v%s", v) - } - return nil -} - -func NewHelmChartInflationGeneratorPlugin() resmap.GeneratorPlugin { - return &HelmChartInflationGeneratorPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/IAMPolicyGenerator.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/IAMPolicyGenerator.go deleted file mode 100644 index 82a2dd60..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/IAMPolicyGenerator.go +++ /dev/null @@ -1,33 +0,0 @@ -// Code generated by pluginator on IAMPolicyGenerator; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sigs.k8s.io/kustomize/api/filters/iampolicygenerator" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -type IAMPolicyGeneratorPlugin struct { - types.IAMPolicyGeneratorArgs -} - -func (p *IAMPolicyGeneratorPlugin) Config(h *resmap.PluginHelpers, config []byte) (err error) { - p.IAMPolicyGeneratorArgs = types.IAMPolicyGeneratorArgs{} - err = yaml.Unmarshal(config, p) - return -} - -func (p *IAMPolicyGeneratorPlugin) Generate() (resmap.ResMap, error) { - r := resmap.New() - err := r.ApplyFilter(iampolicygenerator.Filter{ - IAMPolicyGenerator: p.IAMPolicyGeneratorArgs, - }) - return r, err -} - -func NewIAMPolicyGeneratorPlugin() resmap.GeneratorPlugin { - return &IAMPolicyGeneratorPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ImageTagTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ImageTagTransformer.go deleted file mode 100644 index 52a44d38..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ImageTagTransformer.go +++ /dev/null @@ -1,41 +0,0 @@ -// Code generated by pluginator on ImageTagTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sigs.k8s.io/kustomize/api/filters/imagetag" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// Find matching image declarations and replace -// the name, tag and/or digest. -type ImageTagTransformerPlugin struct { - ImageTag types.Image `json:"imageTag,omitempty" yaml:"imageTag,omitempty"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -func (p *ImageTagTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.ImageTag = types.Image{} - p.FieldSpecs = nil - return yaml.Unmarshal(c, p) -} - -func (p *ImageTagTransformerPlugin) Transform(m resmap.ResMap) error { - if err := m.ApplyFilter(imagetag.LegacyFilter{ - ImageTag: p.ImageTag, - }); err != nil { - return err - } - return m.ApplyFilter(imagetag.Filter{ - ImageTag: p.ImageTag, - FsSlice: p.FieldSpecs, - }) -} - -func NewImageTagTransformerPlugin() resmap.TransformerPlugin { - return &ImageTagTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/LabelTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/LabelTransformer.go deleted file mode 100644 index af601da5..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/LabelTransformer.go +++ /dev/null @@ -1,38 +0,0 @@ -// Code generated by pluginator on LabelTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sigs.k8s.io/kustomize/api/filters/labels" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// Add the given labels to the given field specifications. -type LabelTransformerPlugin struct { - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -func (p *LabelTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.Labels = nil - p.FieldSpecs = nil - return yaml.Unmarshal(c, p) -} - -func (p *LabelTransformerPlugin) Transform(m resmap.ResMap) error { - if len(p.Labels) == 0 { - return nil - } - return m.ApplyFilter(labels.Filter{ - Labels: p.Labels, - FsSlice: p.FieldSpecs, - }) -} - -func NewLabelTransformerPlugin() resmap.TransformerPlugin { - return &LabelTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/LegacyOrderTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/LegacyOrderTransformer.go deleted file mode 100644 index 322cea93..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/LegacyOrderTransformer.go +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by pluginator on LegacyOrderTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sort" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" -) - -// Sort the resources using an ordering defined in the Gvk class. -// This puts cluster-wide basic resources with no -// dependencies (like Namespace, StorageClass, etc.) -// first, and resources with a high number of dependencies -// (like ValidatingWebhookConfiguration) last. -type LegacyOrderTransformerPlugin struct{} - -// Nothing needed for configuration. -func (p *LegacyOrderTransformerPlugin) Config( - _ *resmap.PluginHelpers, _ []byte) (err error) { - return nil -} - -func (p *LegacyOrderTransformerPlugin) Transform(m resmap.ResMap) (err error) { - resources := make([]*resource.Resource, m.Size()) - ids := m.AllIds() - sort.Sort(resmap.IdSlice(ids)) - for i, id := range ids { - resources[i], err = m.GetByCurrentId(id) - if err != nil { - return errors.Wrap(err, "expected match for sorting") - } - } - m.Clear() - for _, r := range resources { - m.Append(r) - } - return nil -} - -func NewLegacyOrderTransformerPlugin() resmap.TransformerPlugin { - return &LegacyOrderTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/NamespaceTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/NamespaceTransformer.go deleted file mode 100644 index 39a514e8..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/NamespaceTransformer.go +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by pluginator on NamespaceTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/filters/namespace" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// Change or set the namespace of non-cluster level resources. -type NamespaceTransformerPlugin struct { - types.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -func (p *NamespaceTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.Namespace = "" - p.FieldSpecs = nil - return yaml.Unmarshal(c, p) -} - -func (p *NamespaceTransformerPlugin) Transform(m resmap.ResMap) error { - if len(p.Namespace) == 0 { - return nil - } - for _, r := range m.Resources() { - if r.IsNilOrEmpty() { - // Don't mutate empty objects? - continue - } - r.StorePreviousId() - if err := r.ApplyFilter(namespace.Filter{ - Namespace: p.Namespace, - FsSlice: p.FieldSpecs, - }); err != nil { - return err - } - matches := m.GetMatchingResourcesByCurrentId(r.CurId().Equals) - if len(matches) != 1 { - return fmt.Errorf( - "namespace transformation produces ID conflict: %+v", matches) - } - } - return nil -} - -func NewNamespaceTransformerPlugin() resmap.TransformerPlugin { - return &NamespaceTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchJson6902Transformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchJson6902Transformer.go deleted file mode 100644 index cb02c424..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchJson6902Transformer.go +++ /dev/null @@ -1,105 +0,0 @@ -// Code generated by pluginator on PatchJson6902Transformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - - jsonpatch "github.com/evanphx/json-patch" - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/filters/patchjson6902" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/yaml" -) - -type PatchJson6902TransformerPlugin struct { - ldr ifc.Loader - decodedPatch jsonpatch.Patch - Target *types.Selector `json:"target,omitempty" yaml:"target,omitempty"` - Path string `json:"path,omitempty" yaml:"path,omitempty"` - JsonOp string `json:"jsonOp,omitempty" yaml:"jsonOp,omitempty"` -} - -func (p *PatchJson6902TransformerPlugin) Config( - h *resmap.PluginHelpers, c []byte) (err error) { - p.ldr = h.Loader() - err = yaml.Unmarshal(c, p) - if err != nil { - return err - } - if p.Target.Name == "" { - return fmt.Errorf("must specify the target name") - } - if p.Path == "" && p.JsonOp == "" { - return fmt.Errorf("empty file path and empty jsonOp") - } - if p.Path != "" { - if p.JsonOp != "" { - return fmt.Errorf("must specify a file path or jsonOp, not both") - } - rawOp, err := p.ldr.Load(p.Path) - if err != nil { - return err - } - p.JsonOp = string(rawOp) - if p.JsonOp == "" { - return fmt.Errorf("patch file '%s' empty seems to be empty", p.Path) - } - } - if p.JsonOp[0] != '[' { - // if it doesn't seem to be JSON, imagine - // it is YAML, and convert to JSON. - op, err := yaml.YAMLToJSON([]byte(p.JsonOp)) - if err != nil { - return err - } - p.JsonOp = string(op) - } - p.decodedPatch, err = jsonpatch.DecodePatch([]byte(p.JsonOp)) - if err != nil { - return errors.Wrapf(err, "decoding %s", p.JsonOp) - } - if len(p.decodedPatch) == 0 { - return fmt.Errorf( - "patch appears to be empty; file=%s, JsonOp=%s", p.Path, p.JsonOp) - } - return err -} - -func (p *PatchJson6902TransformerPlugin) Transform(m resmap.ResMap) error { - if p.Target == nil { - return fmt.Errorf("must specify a target for patch %s", p.JsonOp) - } - resources, err := m.Select(*p.Target) - if err != nil { - return err - } - for _, res := range resources { - internalAnnotations := kioutil.GetInternalAnnotations(&res.RNode) - - err = res.ApplyFilter(patchjson6902.Filter{ - Patch: p.JsonOp, - }) - if err != nil { - return err - } - - annotations := res.GetAnnotations() - for key, value := range internalAnnotations { - annotations[key] = value - } - err = res.SetAnnotations(annotations) - if err != nil { - return err - } - } - return nil -} - -func NewPatchJson6902TransformerPlugin() resmap.TransformerPlugin { - return &PatchJson6902TransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchStrategicMergeTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchStrategicMergeTransformer.go deleted file mode 100644 index f93d1266..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchStrategicMergeTransformer.go +++ /dev/null @@ -1,89 +0,0 @@ -// Code generated by pluginator on PatchStrategicMergeTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -type PatchStrategicMergeTransformerPlugin struct { - loadedPatches []*resource.Resource - Paths []types.PatchStrategicMerge `json:"paths,omitempty" yaml:"paths,omitempty"` - Patches string `json:"patches,omitempty" yaml:"patches,omitempty"` -} - -func (p *PatchStrategicMergeTransformerPlugin) Config( - h *resmap.PluginHelpers, c []byte) (err error) { - err = yaml.Unmarshal(c, p) - if err != nil { - return err - } - if len(p.Paths) == 0 && p.Patches == "" { - return fmt.Errorf("empty file path and empty patch content") - } - if len(p.Paths) != 0 { - patches, err := loadFromPaths(h, p.Paths) - if err != nil { - return err - } - p.loadedPatches = append(p.loadedPatches, patches...) - } - if p.Patches != "" { - patches, err := h.ResmapFactory().RF().SliceFromBytes([]byte(p.Patches)) - if err != nil { - return err - } - p.loadedPatches = append(p.loadedPatches, patches...) - } - if len(p.loadedPatches) == 0 { - return fmt.Errorf( - "patch appears to be empty; files=%v, Patch=%s", p.Paths, p.Patches) - } - return nil -} - -func loadFromPaths( - h *resmap.PluginHelpers, - paths []types.PatchStrategicMerge) ( - result []*resource.Resource, err error) { - var patches []*resource.Resource - for _, path := range paths { - // For legacy reasons, attempt to treat the path string as - // actual patch content. - patches, err = h.ResmapFactory().RF().SliceFromBytes([]byte(path)) - if err != nil { - // Failing that, treat it as a file path. - patches, err = h.ResmapFactory().RF().SliceFromPatches( - h.Loader(), []types.PatchStrategicMerge{path}) - if err != nil { - return - } - } - result = append(result, patches...) - } - return -} - -func (p *PatchStrategicMergeTransformerPlugin) Transform(m resmap.ResMap) error { - for _, patch := range p.loadedPatches { - target, err := m.GetById(patch.OrgId()) - if err != nil { - return err - } - if err = m.ApplySmPatch( - resource.MakeIdSet([]*resource.Resource{target}), patch); err != nil { - return err - } - } - return nil -} - -func NewPatchStrategicMergeTransformerPlugin() resmap.TransformerPlugin { - return &PatchStrategicMergeTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchTransformer.go deleted file mode 100644 index dc51748c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PatchTransformer.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by pluginator on PatchTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - "strings" - - jsonpatch "github.com/evanphx/json-patch" - "sigs.k8s.io/kustomize/api/filters/patchjson6902" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/yaml" -) - -type PatchTransformerPlugin struct { - loadedPatch *resource.Resource - decodedPatch jsonpatch.Patch - Path string `json:"path,omitempty" yaml:"path,omitempty"` - Patch string `json:"patch,omitempty" yaml:"patch,omitempty"` - Target *types.Selector `json:"target,omitempty" yaml:"target,omitempty"` - Options map[string]bool `json:"options,omitempty" yaml:"options,omitempty"` -} - -func (p *PatchTransformerPlugin) Config( - h *resmap.PluginHelpers, c []byte) error { - err := yaml.Unmarshal(c, p) - if err != nil { - return err - } - p.Patch = strings.TrimSpace(p.Patch) - if p.Patch == "" && p.Path == "" { - return fmt.Errorf( - "must specify one of patch and path in\n%s", string(c)) - } - if p.Patch != "" && p.Path != "" { - return fmt.Errorf( - "patch and path can't be set at the same time\n%s", string(c)) - } - if p.Path != "" { - loaded, loadErr := h.Loader().Load(p.Path) - if loadErr != nil { - return loadErr - } - p.Patch = string(loaded) - } - - patchSM, errSM := h.ResmapFactory().RF().FromBytes([]byte(p.Patch)) - patchJson, errJson := jsonPatchFromBytes([]byte(p.Patch)) - if (errSM == nil && errJson == nil) || - (patchSM != nil && patchJson != nil) { - return fmt.Errorf( - "illegally qualifies as both an SM and JSON patch: [%v]", - p.Patch) - } - if errSM != nil && errJson != nil { - return fmt.Errorf( - "unable to parse SM or JSON patch from [%v]", p.Patch) - } - if errSM == nil { - p.loadedPatch = patchSM - if p.Options["allowNameChange"] { - p.loadedPatch.AllowNameChange() - } - if p.Options["allowKindChange"] { - p.loadedPatch.AllowKindChange() - } - } else { - p.decodedPatch = patchJson - } - return nil -} - -func (p *PatchTransformerPlugin) Transform(m resmap.ResMap) error { - if p.loadedPatch == nil { - return p.transformJson6902(m, p.decodedPatch) - } - // The patch was a strategic merge patch - return p.transformStrategicMerge(m, p.loadedPatch) -} - -// transformStrategicMerge applies the provided strategic merge patch -// to all the resources in the ResMap that match either the Target or -// the identifier of the patch. -func (p *PatchTransformerPlugin) transformStrategicMerge(m resmap.ResMap, patch *resource.Resource) error { - if p.Target == nil { - target, err := m.GetById(patch.OrgId()) - if err != nil { - return err - } - return target.ApplySmPatch(patch) - } - selected, err := m.Select(*p.Target) - if err != nil { - return err - } - return m.ApplySmPatch(resource.MakeIdSet(selected), patch) -} - -// transformJson6902 applies the provided json6902 patch -// to all the resources in the ResMap that match the Target. -func (p *PatchTransformerPlugin) transformJson6902(m resmap.ResMap, patch jsonpatch.Patch) error { - if p.Target == nil { - return fmt.Errorf("must specify a target for patch %s", p.Patch) - } - resources, err := m.Select(*p.Target) - if err != nil { - return err - } - for _, res := range resources { - res.StorePreviousId() - internalAnnotations := kioutil.GetInternalAnnotations(&res.RNode) - err = res.ApplyFilter(patchjson6902.Filter{ - Patch: p.Patch, - }) - if err != nil { - return err - } - - annotations := res.GetAnnotations() - for key, value := range internalAnnotations { - annotations[key] = value - } - err = res.SetAnnotations(annotations) - } - return nil -} - -// jsonPatchFromBytes loads a Json 6902 patch from -// a bytes input -func jsonPatchFromBytes( - in []byte) (jsonpatch.Patch, error) { - ops := string(in) - if ops == "" { - return nil, fmt.Errorf("empty json patch operations") - } - - if ops[0] != '[' { - jsonOps, err := yaml.YAMLToJSON(in) - if err != nil { - return nil, err - } - ops = string(jsonOps) - } - return jsonpatch.DecodePatch([]byte(ops)) -} - -func NewPatchTransformerPlugin() resmap.TransformerPlugin { - return &PatchTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PrefixTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PrefixTransformer.go deleted file mode 100644 index 03040ce0..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/PrefixTransformer.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by pluginator on PrefixTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "errors" - - "sigs.k8s.io/kustomize/api/filters/prefix" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Add the given prefix to the field -type PrefixTransformerPlugin struct { - Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty"` - FieldSpecs types.FsSlice `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -// TODO: Make this gvk skip list part of the config. -var prefixFieldSpecsToSkip = types.FsSlice{ - {Gvk: resid.Gvk{Kind: "CustomResourceDefinition"}}, - {Gvk: resid.Gvk{Group: "apiregistration.k8s.io", Kind: "APIService"}}, - {Gvk: resid.Gvk{Kind: "Namespace"}}, -} - -func (p *PrefixTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.Prefix = "" - p.FieldSpecs = nil - err = yaml.Unmarshal(c, p) - if err != nil { - return - } - if p.FieldSpecs == nil { - return errors.New("fieldSpecs is not expected to be nil") - } - return -} - -func (p *PrefixTransformerPlugin) Transform(m resmap.ResMap) error { - // Even if the Prefix is empty we want to proceed with the - // transformation. This allows to add contextual information - // to the resources (AddNamePrefix). - for _, r := range m.Resources() { - // TODO: move this test into the filter (i.e. make a better filter) - if p.shouldSkip(r.OrgId()) { - continue - } - id := r.OrgId() - // current default configuration contains - // only one entry: "metadata/name" with no GVK - for _, fs := range p.FieldSpecs { - // TODO: this is redundant to filter (but needed for now) - if !id.IsSelected(&fs.Gvk) { - continue - } - // TODO: move this test into the filter. - if fs.Path == "metadata/name" { - // "metadata/name" is the only field. - // this will add a prefix to the resource - // even if it is empty - - r.AddNamePrefix(p.Prefix) - if p.Prefix != "" { - // TODO: There are multiple transformers that can change a resource's name, and each makes a call to - // StorePreviousID(). We should make it so that we only call StorePreviousID once per kustomization layer - // to avoid storing intermediate names between transformations, to prevent intermediate name conflicts. - r.StorePreviousId() - } - } - if err := r.ApplyFilter(prefix.Filter{ - Prefix: p.Prefix, - FieldSpec: fs, - }); err != nil { - return err - } - } - } - return nil -} - -func (p *PrefixTransformerPlugin) shouldSkip(id resid.ResId) bool { - for _, path := range prefixFieldSpecsToSkip { - if id.IsSelected(&path.Gvk) { - return true - } - } - return false -} - -func NewPrefixTransformerPlugin() resmap.TransformerPlugin { - return &PrefixTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplacementTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplacementTransformer.go deleted file mode 100644 index 7accb64b..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplacementTransformer.go +++ /dev/null @@ -1,78 +0,0 @@ -// Code generated by pluginator on ReplacementTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - "reflect" - - "sigs.k8s.io/kustomize/api/filters/replacement" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// Replace values in targets with values from a source -type ReplacementTransformerPlugin struct { - ReplacementList []types.ReplacementField `json:"replacements,omitempty" yaml:"replacements,omitempty"` - Replacements []types.Replacement `json:"omitempty" yaml:"omitempty"` -} - -func (p *ReplacementTransformerPlugin) Config( - h *resmap.PluginHelpers, c []byte) (err error) { - p.ReplacementList = []types.ReplacementField{} - if err := yaml.Unmarshal(c, p); err != nil { - return err - } - - for _, r := range p.ReplacementList { - if r.Path != "" && (r.Source != nil || len(r.Targets) != 0) { - return fmt.Errorf("cannot specify both path and inline replacement") - } - if r.Path != "" { - // load the replacement from the path - content, err := h.Loader().Load(r.Path) - if err != nil { - return err - } - // find if the path contains a a list of replacements or a single replacement - var replacement interface{} - err = yaml.Unmarshal(content, &replacement) - if err != nil { - return err - } - items := reflect.ValueOf(replacement) - switch items.Kind() { - case reflect.Slice: - repl := []types.Replacement{} - if err := yaml.Unmarshal(content, &repl); err != nil { - return err - } - p.Replacements = append(p.Replacements, repl...) - case reflect.Map: - repl := types.Replacement{} - if err := yaml.Unmarshal(content, &repl); err != nil { - return err - } - p.Replacements = append(p.Replacements, repl) - default: - return fmt.Errorf("unsupported replacement type encountered within replacement path: %v", items.Kind()) - } - } else { - // replacement information is already loaded - p.Replacements = append(p.Replacements, r.Replacement) - } - } - return nil -} - -func (p *ReplacementTransformerPlugin) Transform(m resmap.ResMap) (err error) { - return m.ApplyFilter(replacement.Filter{ - Replacements: p.Replacements, - }) -} - -func NewReplacementTransformerPlugin() resmap.TransformerPlugin { - return &ReplacementTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplicaCountTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplicaCountTransformer.go deleted file mode 100644 index 120fab34..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ReplicaCountTransformer.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by pluginator on ReplicaCountTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - - "sigs.k8s.io/kustomize/api/filters/replicacount" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/yaml" -) - -// Find matching replicas declarations and replace the count. -// Eases the kustomization configuration of replica changes. -type ReplicaCountTransformerPlugin struct { - Replica types.Replica `json:"replica,omitempty" yaml:"replica,omitempty"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -func (p *ReplicaCountTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.Replica = types.Replica{} - p.FieldSpecs = nil - return yaml.Unmarshal(c, p) -} - -func (p *ReplicaCountTransformerPlugin) Transform(m resmap.ResMap) error { - found := false - for _, fs := range p.FieldSpecs { - matcher := p.createMatcher(fs) - resList := m.GetMatchingResourcesByAnyId(matcher) - if len(resList) > 0 { - found = true - for _, r := range resList { - // There are redundant checks in the filter - // that we'll live with until resolution of - // https://github.com/kubernetes-sigs/kustomize/issues/2506 - err := r.ApplyFilter(replicacount.Filter{ - Replica: p.Replica, - FieldSpec: fs, - }) - if err != nil { - return err - } - } - } - } - - if !found { - gvks := make([]string, len(p.FieldSpecs)) - for i, replicaSpec := range p.FieldSpecs { - gvks[i] = replicaSpec.Gvk.String() - } - return fmt.Errorf("resource with name %s does not match a config with the following GVK %v", - p.Replica.Name, gvks) - } - - return nil -} - -// Match Replica.Name and FieldSpec -func (p *ReplicaCountTransformerPlugin) createMatcher(fs types.FieldSpec) resmap.IdMatcher { - return func(r resid.ResId) bool { - return r.Name == p.Replica.Name && r.Gvk.IsSelected(&fs.Gvk) - } -} - -func NewReplicaCountTransformerPlugin() resmap.TransformerPlugin { - return &ReplicaCountTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SecretGenerator.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SecretGenerator.go deleted file mode 100644 index 5e8581eb..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SecretGenerator.go +++ /dev/null @@ -1,39 +0,0 @@ -// Code generated by pluginator on SecretGenerator; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "sigs.k8s.io/kustomize/api/kv" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -type SecretGeneratorPlugin struct { - h *resmap.PluginHelpers - types.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - types.SecretArgs -} - -func (p *SecretGeneratorPlugin) Config(h *resmap.PluginHelpers, config []byte) (err error) { - p.SecretArgs = types.SecretArgs{} - err = yaml.Unmarshal(config, p) - if p.SecretArgs.Name == "" { - p.SecretArgs.Name = p.Name - } - if p.SecretArgs.Namespace == "" { - p.SecretArgs.Namespace = p.Namespace - } - p.h = h - return -} - -func (p *SecretGeneratorPlugin) Generate() (resmap.ResMap, error) { - return p.h.ResmapFactory().FromSecretArgs( - kv.NewLoader(p.h.Loader(), p.h.Validator()), p.SecretArgs) -} - -func NewSecretGeneratorPlugin() resmap.GeneratorPlugin { - return &SecretGeneratorPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SuffixTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SuffixTransformer.go deleted file mode 100644 index 2b389d8e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/SuffixTransformer.go +++ /dev/null @@ -1,96 +0,0 @@ -// Code generated by pluginator on SuffixTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "errors" - - "sigs.k8s.io/kustomize/api/filters/suffix" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Add the given suffix to the field -type SuffixTransformerPlugin struct { - Suffix string `json:"suffix,omitempty" yaml:"suffix,omitempty"` - FieldSpecs types.FsSlice `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -// TODO: Make this gvk skip list part of the config. -var suffixFieldSpecsToSkip = types.FsSlice{ - {Gvk: resid.Gvk{Kind: "CustomResourceDefinition"}}, - {Gvk: resid.Gvk{Group: "apiregistration.k8s.io", Kind: "APIService"}}, - {Gvk: resid.Gvk{Kind: "Namespace"}}, -} - -func (p *SuffixTransformerPlugin) Config( - _ *resmap.PluginHelpers, c []byte) (err error) { - p.Suffix = "" - p.FieldSpecs = nil - err = yaml.Unmarshal(c, p) - if err != nil { - return - } - if p.FieldSpecs == nil { - return errors.New("fieldSpecs is not expected to be nil") - } - return -} - -func (p *SuffixTransformerPlugin) Transform(m resmap.ResMap) error { - // Even if the Suffix is empty we want to proceed with the - // transformation. This allows to add contextual information - // to the resources (AddNameSuffix). - for _, r := range m.Resources() { - // TODO: move this test into the filter (i.e. make a better filter) - if p.shouldSkip(r.OrgId()) { - continue - } - id := r.OrgId() - // current default configuration contains - // only one entry: "metadata/name" with no GVK - for _, fs := range p.FieldSpecs { - // TODO: this is redundant to filter (but needed for now) - if !id.IsSelected(&fs.Gvk) { - continue - } - // TODO: move this test into the filter. - if fs.Path == "metadata/name" { - // "metadata/name" is the only field. - // this will add a suffix to the resource - // even if it is empty - - r.AddNameSuffix(p.Suffix) - if p.Suffix != "" { - // TODO: There are multiple transformers that can change a resource's name, and each makes a call to - // StorePreviousID(). We should make it so that we only call StorePreviousID once per kustomization layer - // to avoid storing intermediate names between transformations, to prevent intermediate name conflicts. - r.StorePreviousId() - } - } - if err := r.ApplyFilter(suffix.Filter{ - Suffix: p.Suffix, - FieldSpec: fs, - }); err != nil { - return err - } - } - } - return nil -} - -func (p *SuffixTransformerPlugin) shouldSkip(id resid.ResId) bool { - for _, path := range suffixFieldSpecsToSkip { - if id.IsSelected(&path.Gvk) { - return true - } - } - return false -} - -func NewSuffixTransformerPlugin() resmap.TransformerPlugin { - return &SuffixTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ValueAddTransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ValueAddTransformer.go deleted file mode 100644 index c2c460ab..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/ValueAddTransformer.go +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by pluginator on ValueAddTransformer; DO NOT EDIT. -// pluginator {unknown 1970-01-01T00:00:00Z } - -package builtins - -import ( - "fmt" - "path/filepath" - "strings" - - "sigs.k8s.io/kustomize/api/filters/namespace" - "sigs.k8s.io/kustomize/api/filters/valueadd" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/yaml" -) - -// An 'Add' transformer inspired by the IETF RFC 6902 JSON spec Add operation. -type ValueAddTransformerPlugin struct { - // Value is the value to add. - // Defaults to base name of encompassing kustomization root. - Value string `json:"value,omitempty" yaml:"value,omitempty"` - - // Targets is a slice of targets that should have the value added. - Targets []Target `json:"targets,omitempty" yaml:"targets,omitempty"` - - // TargetFilePath is a file path. If specified, the file will be parsed into - // a slice of Target, and appended to anything that was specified in the - // Targets field. This is just a means to share common target specifications. - TargetFilePath string `json:"targetFilePath,omitempty" yaml:"targetFilePath,omitempty"` -} - -// Target describes where to put the value. -type Target struct { - // Selector selects the resources to modify. - Selector *types.Selector `json:"selector,omitempty" yaml:"selector,omitempty"` - - // NotSelector selects the resources to exclude - // from those included by overly broad selectors. - // TODO: implement this? - // NotSelector *types.Selector `json:"notSelector,omitempty" yaml:"notSelector,omitempty"` - - // FieldPath is a JSON-style path to the field intended to hold the value. - FieldPath string `json:"fieldPath,omitempty" yaml:"fieldPath,omitempty"` - - // FilePathPosition is passed to the filter directly. Look there for doc. - FilePathPosition int `json:"filePathPosition,omitempty" yaml:"filePathPosition,omitempty"` -} - -func (p *ValueAddTransformerPlugin) Config(h *resmap.PluginHelpers, c []byte) error { - err := yaml.Unmarshal(c, p) - if err != nil { - return err - } - p.Value = strings.TrimSpace(p.Value) - if p.Value == "" { - p.Value = filepath.Base(h.Loader().Root()) - } - if p.TargetFilePath != "" { - bytes, err := h.Loader().Load(p.TargetFilePath) - if err != nil { - return err - } - var targets struct { - Targets []Target `json:"targets,omitempty" yaml:"targets,omitempty"` - } - err = yaml.Unmarshal(bytes, &targets) - if err != nil { - return err - } - p.Targets = append(p.Targets, targets.Targets...) - } - if len(p.Targets) == 0 { - return fmt.Errorf("must specify at least one target") - } - for _, target := range p.Targets { - if err = validateSelector(target.Selector); err != nil { - return err - } - // TODO: call validateSelector(target.NotSelector) if field added. - if err = validateJsonFieldPath(target.FieldPath); err != nil { - return err - } - if target.FilePathPosition < 0 { - return fmt.Errorf( - "value of FilePathPosition (%d) cannot be negative", - target.FilePathPosition) - } - } - return nil -} - -// TODO: implement -func validateSelector(_ *types.Selector) error { - return nil -} - -// TODO: Enforce RFC 6902? -func validateJsonFieldPath(p string) error { - if len(p) == 0 { - return fmt.Errorf("fieldPath cannot be empty") - } - return nil -} - -func (p *ValueAddTransformerPlugin) Transform(m resmap.ResMap) (err error) { - for _, t := range p.Targets { - var resources []*resource.Resource - if t.Selector == nil { - resources = m.Resources() - } else { - resources, err = m.Select(*t.Selector) - if err != nil { - return err - } - } - // TODO: consider t.NotSelector if implemented - for _, res := range resources { - if t.FieldPath == types.MetadataNamespacePath { - err = res.ApplyFilter(namespace.Filter{ - Namespace: p.Value, - }) - } else { - err = res.ApplyFilter(valueadd.Filter{ - Value: p.Value, - FieldPath: t.FieldPath, - FilePathPosition: t.FilePathPosition, - }) - } - if err != nil { - return err - } - } - } - return nil -} - -func NewValueAddTransformerPlugin() resmap.TransformerPlugin { - return &ValueAddTransformerPlugin{} -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/doc.go b/vendor/sigs.k8s.io/kustomize/api/internal/builtins/doc.go deleted file mode 100644 index 37a8dc6e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/builtins/doc.go +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package builtins holds code generated from the builtin plugins. -// The "builtin" plugins are written as normal plugins and can -// be used as such, but they are also used to generate the code -// in this package so they can be statically linked to client code. -package builtins diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/generators/configmap.go b/vendor/sigs.k8s.io/kustomize/api/internal/generators/configmap.go deleted file mode 100644 index 47498aaa..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/generators/configmap.go +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package generators - -import ( - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// MakeConfigMap makes a configmap. -// -// ConfigMap: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#configmap-v1-core -// -// ConfigMaps and Secrets are similar. -// -// Both objects have a `data` field, which contains a map from keys to -// values that must be UTF-8 valid strings. Such data might be simple text, -// or whoever made the data may have done so by performing a base64 encoding -// on binary data. Regardless, k8s has no means to know this, so it treats -// the data field as a string. -// -// The ConfigMap has an additional field `binaryData`, also a map, but its -// values are _intended_ to be interpreted as a base64 encoding of []byte, -// by whatever makes use of the ConfigMap. -// -// In a ConfigMap, any key used in `data` cannot also be used in `binaryData` -// and vice-versa. A key must be unique across both maps. -func MakeConfigMap( - ldr ifc.KvLoader, args *types.ConfigMapArgs) (rn *yaml.RNode, err error) { - rn, err = makeBaseNode("ConfigMap", args.Name, args.Namespace) - if err != nil { - return nil, err - } - m, err := makeValidatedDataMap(ldr, args.Name, args.KvPairSources) - if err != nil { - return nil, err - } - if err = rn.LoadMapIntoConfigMapData(m); err != nil { - return nil, err - } - err = copyLabelsAndAnnotations(rn, args.Options) - if err != nil { - return nil, err - } - err = setImmutable(rn, args.Options) - if err != nil { - return nil, err - } - return rn, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/generators/secret.go b/vendor/sigs.k8s.io/kustomize/api/internal/generators/secret.go deleted file mode 100644 index 9afaff15..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/generators/secret.go +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package generators - -import ( - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// MakeSecret makes a kubernetes Secret. -// -// Secret: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#secret-v1-core -// -// ConfigMaps and Secrets are similar. -// -// Like a ConfigMap, a Secret has a `data` field, but unlike a ConfigMap it has -// no `binaryData` field. -// -// All of a Secret's data is assumed to be opaque in nature, and assumed to be -// base64 encoded from its original representation, regardless of whether the -// original data was UTF-8 text or binary. -// -// This encoding provides no secrecy. It's just a neutral, common means to -// represent opaque text and binary data. Beneath the base64 encoding -// is presumably further encoding under control of the Secret's consumer. -// -// A Secret has string field `type` which holds an identifier, used by the -// client, to choose the algorithm to interpret the `data` field. Kubernetes -// cannot make use of this data; it's up to a controller or some pod's service -// to interpret the value, using `type` as a clue as to how to do this. -func MakeSecret( - ldr ifc.KvLoader, args *types.SecretArgs) (rn *yaml.RNode, err error) { - rn, err = makeBaseNode("Secret", args.Name, args.Namespace) - if err != nil { - return nil, err - } - t := "Opaque" - if args.Type != "" { - t = args.Type - } - if _, err := rn.Pipe( - yaml.FieldSetter{ - Name: "type", - Value: yaml.NewStringRNode(t)}); err != nil { - return nil, err - } - m, err := makeValidatedDataMap(ldr, args.Name, args.KvPairSources) - if err != nil { - return nil, err - } - if err = rn.LoadMapIntoSecretData(m); err != nil { - return nil, err - } - copyLabelsAndAnnotations(rn, args.Options) - setImmutable(rn, args.Options) - return rn, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/generators/utils.go b/vendor/sigs.k8s.io/kustomize/api/internal/generators/utils.go deleted file mode 100644 index d6ea5fbf..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/generators/utils.go +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package generators - -import ( - "fmt" - - "github.com/go-errors/errors" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -func makeBaseNode(kind, name, namespace string) (*yaml.RNode, error) { - rn, err := yaml.Parse(fmt.Sprintf(` -apiVersion: v1 -kind: %s -`, kind)) - if err != nil { - return nil, err - } - if name == "" { - return nil, errors.Errorf("a configmap must have a name") - } - if _, err := rn.Pipe(yaml.SetK8sName(name)); err != nil { - return nil, err - } - if namespace != "" { - if _, err := rn.Pipe(yaml.SetK8sNamespace(namespace)); err != nil { - return nil, err - } - } - return rn, nil -} - -func makeValidatedDataMap( - ldr ifc.KvLoader, name string, sources types.KvPairSources) (map[string]string, error) { - pairs, err := ldr.Load(sources) - if err != nil { - return nil, errors.WrapPrefix(err, "loading KV pairs", 0) - } - knownKeys := make(map[string]string) - for _, p := range pairs { - // legal key: alphanumeric characters, '-', '_' or '.' - if err := ldr.Validator().ErrIfInvalidKey(p.Key); err != nil { - return nil, err - } - if _, ok := knownKeys[p.Key]; ok { - return nil, errors.Errorf( - "configmap %s illegally repeats the key `%s`", name, p.Key) - } - knownKeys[p.Key] = p.Value - } - return knownKeys, nil -} - -// copyLabelsAndAnnotations copies labels and annotations from -// GeneratorOptions into the given object. -func copyLabelsAndAnnotations( - rn *yaml.RNode, opts *types.GeneratorOptions) error { - if opts == nil { - return nil - } - for _, k := range yaml.SortedMapKeys(opts.Labels) { - v := opts.Labels[k] - if _, err := rn.Pipe(yaml.SetLabel(k, v)); err != nil { - return err - } - } - for _, k := range yaml.SortedMapKeys(opts.Annotations) { - v := opts.Annotations[k] - if _, err := rn.Pipe(yaml.SetAnnotation(k, v)); err != nil { - return err - } - } - return nil -} - -func setImmutable( - rn *yaml.RNode, opts *types.GeneratorOptions) error { - if opts == nil { - return nil - } - if opts.Immutable { - n := &yaml.Node{ - Kind: yaml.ScalarNode, - Value: "true", - Tag: yaml.NodeTagBool, - } - if _, err := rn.Pipe(yaml.FieldSetter{Name: "immutable", Value: yaml.NewRNode(n)}); err != nil { - return err - } - } - - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/git/cloner.go b/vendor/sigs.k8s.io/kustomize/api/internal/git/cloner.go deleted file mode 100644 index 78f4f32c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/git/cloner.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package git - -import ( - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// Cloner is a function that can clone a git repo. -type Cloner func(repoSpec *RepoSpec) error - -// ClonerUsingGitExec uses a local git install, as opposed -// to say, some remote API, to obtain a local clone of -// a remote repo. -func ClonerUsingGitExec(repoSpec *RepoSpec) error { - r, err := newCmdRunner(repoSpec.Timeout) - if err != nil { - return err - } - repoSpec.Dir = r.dir - if err = r.run("init"); err != nil { - return err - } - if err = r.run( - "remote", "add", "origin", repoSpec.CloneSpec()); err != nil { - return err - } - ref := "HEAD" - if repoSpec.Ref != "" { - ref = repoSpec.Ref - } - if err = r.run("fetch", "--depth=1", "origin", ref); err != nil { - return err - } - if err = r.run("checkout", "FETCH_HEAD"); err != nil { - return err - } - if repoSpec.Submodules { - return r.run("submodule", "update", "--init", "--recursive") - } - return nil -} - -// DoNothingCloner returns a cloner that only sets -// cloneDir field in the repoSpec. It's assumed that -// the cloneDir is associated with some fake filesystem -// used in a test. -func DoNothingCloner(dir filesys.ConfirmedDir) Cloner { - return func(rs *RepoSpec) error { - rs.Dir = dir - return nil - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/git/gitrunner.go b/vendor/sigs.k8s.io/kustomize/api/internal/git/gitrunner.go deleted file mode 100644 index fcc7130c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/git/gitrunner.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package git - -import ( - "os/exec" - "time" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// gitRunner runs the external git binary. -type gitRunner struct { - gitProgram string - duration time.Duration - dir filesys.ConfirmedDir -} - -// newCmdRunner returns a gitRunner if it can find the binary. -// It also creats a temp directory for cloning repos. -func newCmdRunner(timeout time.Duration) (*gitRunner, error) { - gitProgram, err := exec.LookPath("git") - if err != nil { - return nil, errors.Wrap(err, "no 'git' program on path") - } - dir, err := filesys.NewTmpConfirmedDir() - if err != nil { - return nil, err - } - return &gitRunner{ - gitProgram: gitProgram, - duration: timeout, - dir: dir, - }, nil -} - -// run a command with a timeout. -func (r gitRunner) run(args ...string) error { - //nolint: gosec - cmd := exec.Command(r.gitProgram, args...) - cmd.Dir = r.dir.String() - return utils.TimedCall( - cmd.String(), - r.duration, - func() error { - _, err := cmd.CombinedOutput() - if err != nil { - return errors.Wrapf(err, "git cmd = '%s'", cmd.String()) - } - return err - }) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/git/repospec.go b/vendor/sigs.k8s.io/kustomize/api/internal/git/repospec.go deleted file mode 100644 index 10ebb980..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/git/repospec.go +++ /dev/null @@ -1,268 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package git - -import ( - "fmt" - "net/url" - "path/filepath" - "strconv" - "strings" - "time" - - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// Used as a temporary non-empty occupant of the cloneDir -// field, as something distinguishable from the empty string -// in various outputs (especially tests). Not using an -// actual directory name here, as that's a temporary directory -// with a unique name that isn't created until clone time. -const notCloned = filesys.ConfirmedDir("/notCloned") - -// RepoSpec specifies a git repository and a branch and path therein. -type RepoSpec struct { - // Raw, original spec, used to look for cycles. - // TODO(monopole): Drop raw, use processed fields instead. - raw string - - // Host, e.g. github.com - Host string - - // orgRepo name (organization/repoName), - // e.g. kubernetes-sigs/kustomize - OrgRepo string - - // Dir where the orgRepo is cloned to. - Dir filesys.ConfirmedDir - - // Relative path in the repository, and in the cloneDir, - // to a Kustomization. - Path string - - // Branch or tag reference. - Ref string - - // e.g. .git or empty in case of _git is present - GitSuffix string - - // Submodules indicates whether or not to clone git submodules. - Submodules bool - - // Timeout is the maximum duration allowed for execing git commands. - Timeout time.Duration -} - -// CloneSpec returns a string suitable for "git clone {spec}". -func (x *RepoSpec) CloneSpec() string { - if isAzureHost(x.Host) || isAWSHost(x.Host) { - return x.Host + x.OrgRepo - } - return x.Host + x.OrgRepo + x.GitSuffix -} - -func (x *RepoSpec) CloneDir() filesys.ConfirmedDir { - return x.Dir -} - -func (x *RepoSpec) Raw() string { - return x.raw -} - -func (x *RepoSpec) AbsPath() string { - return x.Dir.Join(x.Path) -} - -func (x *RepoSpec) Cleaner(fSys filesys.FileSystem) func() error { - return func() error { return fSys.RemoveAll(x.Dir.String()) } -} - -// NewRepoSpecFromUrl parses git-like urls. -// From strings like git@github.com:someOrg/someRepo.git or -// https://github.com/someOrg/someRepo?ref=someHash, extract -// the parts. -func NewRepoSpecFromUrl(n string) (*RepoSpec, error) { - if filepath.IsAbs(n) { - return nil, fmt.Errorf("uri looks like abs path: %s", n) - } - host, orgRepo, path, gitRef, gitSubmodules, suffix, gitTimeout := parseGitUrl(n) - if orgRepo == "" { - return nil, fmt.Errorf("url lacks orgRepo: %s", n) - } - if host == "" { - return nil, fmt.Errorf("url lacks host: %s", n) - } - return &RepoSpec{ - raw: n, Host: host, OrgRepo: orgRepo, - Dir: notCloned, Path: path, Ref: gitRef, GitSuffix: suffix, - Submodules: gitSubmodules, Timeout: gitTimeout}, nil -} - -const ( - refQuery = "?ref=" - gitSuffix = ".git" - gitDelimiter = "_git/" -) - -// From strings like git@github.com:someOrg/someRepo.git or -// https://github.com/someOrg/someRepo?ref=someHash, extract -// the parts. -func parseGitUrl(n string) ( - host string, orgRepo string, path string, gitRef string, gitSubmodules bool, gitSuff string, gitTimeout time.Duration) { - - if strings.Contains(n, gitDelimiter) { - index := strings.Index(n, gitDelimiter) - // Adding _git/ to host - host = normalizeGitHostSpec(n[:index+len(gitDelimiter)]) - orgRepo = strings.Split(strings.Split(n[index+len(gitDelimiter):], "/")[0], "?")[0] - path, gitRef, gitTimeout, gitSubmodules = peelQuery(n[index+len(gitDelimiter)+len(orgRepo):]) - return - } - host, n = parseHostSpec(n) - gitSuff = gitSuffix - if strings.Contains(n, gitSuffix) { - index := strings.Index(n, gitSuffix) - orgRepo = n[0:index] - n = n[index+len(gitSuffix):] - if len(n) > 0 && n[0] == '/' { - n = n[1:] - } - path, gitRef, gitTimeout, gitSubmodules = peelQuery(n) - return - } - - i := strings.Index(n, "/") - if i < 1 { - path, gitRef, gitTimeout, gitSubmodules = peelQuery(n) - return - } - j := strings.Index(n[i+1:], "/") - if j >= 0 { - j += i + 1 - orgRepo = n[:j] - path, gitRef, gitTimeout, gitSubmodules = peelQuery(n[j+1:]) - return - } - path = "" - orgRepo, gitRef, gitTimeout, gitSubmodules = peelQuery(n) - return host, orgRepo, path, gitRef, gitSubmodules, gitSuff, gitTimeout -} - -// Clone git submodules by default. -const defaultSubmodules = true - -// Arbitrary, but non-infinite, timeout for running commands. -const defaultTimeout = 27 * time.Second - -func peelQuery(arg string) (string, string, time.Duration, bool) { - // Parse the given arg into a URL. In the event of a parse failure, return - // our defaults. - parsed, err := url.Parse(arg) - if err != nil { - return arg, "", defaultTimeout, defaultSubmodules - } - values := parsed.Query() - - // ref is the desired git ref to target. Can be specified by in a git URL - // with ?ref= or ?version=, although ref takes precedence. - ref := values.Get("version") - if queryValue := values.Get("ref"); queryValue != "" { - ref = queryValue - } - - // depth is the desired git exec timeout. Can be specified by in a git URL - // with ?timeout=. - duration := defaultTimeout - if queryValue := values.Get("timeout"); queryValue != "" { - // Attempt to first parse as a number of integer seconds (like "61"), - // and then attempt to parse as a suffixed duration (like "61s"). - if intValue, err := strconv.Atoi(queryValue); err == nil && intValue > 0 { - duration = time.Duration(intValue) * time.Second - } else if durationValue, err := time.ParseDuration(queryValue); err == nil && durationValue > 0 { - duration = durationValue - } - } - - // submodules indicates if git submodule cloning is desired. Can be - // specified by in a git URL with ?submodules=. - submodules := defaultSubmodules - if queryValue := values.Get("submodules"); queryValue != "" { - if boolValue, err := strconv.ParseBool(queryValue); err == nil { - submodules = boolValue - } - } - - return parsed.Path, ref, duration, submodules -} - -func parseHostSpec(n string) (string, string) { - var host string - // Start accumulating the host part. - for _, p := range []string{ - // Order matters here. - "git::", "gh:", "ssh://", "https://", "http://", - "git@", "github.com:", "github.com/"} { - if len(p) < len(n) && strings.ToLower(n[:len(p)]) == p { - n = n[len(p):] - host += p - } - } - if host == "git@" { - i := strings.Index(n, "/") - if i > -1 { - host += n[:i+1] - n = n[i+1:] - } else { - i = strings.Index(n, ":") - if i > -1 { - host += n[:i+1] - n = n[i+1:] - } - } - return host, n - } - - // If host is a http(s) or ssh URL, grab the domain part. - for _, p := range []string{ - "ssh://", "https://", "http://"} { - if strings.HasSuffix(host, p) { - i := strings.Index(n, "/") - if i > -1 { - host = host + n[0:i+1] - n = n[i+1:] - } - break - } - } - - return normalizeGitHostSpec(host), n -} - -func normalizeGitHostSpec(host string) string { - s := strings.ToLower(host) - if strings.Contains(s, "github.com") { - if strings.Contains(s, "git@") || strings.Contains(s, "ssh:") { - host = "git@github.com:" - } else { - host = "https://github.com/" - } - } - if strings.HasPrefix(s, "git::") { - host = strings.TrimPrefix(s, "git::") - } - return host -} - -// The format of Azure repo URL is documented -// https://docs.microsoft.com/en-us/azure/devops/repos/git/clone?view=vsts&tabs=visual-studio#clone_url -func isAzureHost(host string) bool { - return strings.Contains(host, "dev.azure.com") || - strings.Contains(host, "visualstudio.com") -} - -// The format of AWS repo URL is documented -// https://docs.aws.amazon.com/codecommit/latest/userguide/regions.html -func isAWSHost(host string) bool { - return strings.Contains(host, "amazonaws.com") -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/kusterr/yamlformaterror.go b/vendor/sigs.k8s.io/kustomize/api/internal/kusterr/yamlformaterror.go deleted file mode 100644 index aa76d1dd..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/kusterr/yamlformaterror.go +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package error has contextual error types. -package kusterr - -import ( - "fmt" - "strings" -) - -// YamlFormatError represents error with yaml file name where json/yaml format error happens. -type YamlFormatError struct { - Path string - ErrorMsg string -} - -func (e YamlFormatError) Error() string { - return fmt.Sprintf("YAML file [%s] encounters a format error.\n%s\n", e.Path, e.ErrorMsg) -} - -// MalformedYamlError represents an error that occurred while trying to decode a given YAML. -type MalformedYamlError struct { - Path string - ErrorMsg string -} - -func (e MalformedYamlError) Error() string { - return fmt.Sprintf("%s in File: %s", e.ErrorMsg, e.Path) -} - -// Handler handles YamlFormatError -func Handler(e error, path string) error { - if isYAMLSyntaxError(e) { - return YamlFormatError{ - Path: path, - ErrorMsg: e.Error(), - } - } - if IsMalformedYAMLError(e) { - return MalformedYamlError{ - Path: path, - ErrorMsg: e.Error(), - } - } - return e -} - -func isYAMLSyntaxError(e error) bool { - return strings.Contains(e.Error(), "error converting YAML to JSON") || strings.Contains(e.Error(), "error unmarshaling JSON") -} - -func IsMalformedYAMLError(e error) bool { - return strings.Contains(e.Error(), "MalformedYAMLError") -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/doc.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/doc.go deleted file mode 100644 index f41f79b0..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/doc.go +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package builtinconfig provides legacy methods for -// configuring builtin plugins from a common config file. -// As a user, its best to configure plugins individually -// with plugin config files specified in the `transformers:` -// or `generators:` field, than to use this legacy -// configuration technique. -package builtinconfig diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/loaddefaultconfig.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/loaddefaultconfig.go deleted file mode 100644 index bf5e3f8a..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/loaddefaultconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinconfig - -import ( - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/yaml" -) - -// loadDefaultConfig returns a TranformerConfig -// object from a list of files. -func loadDefaultConfig( - ldr ifc.Loader, paths []string) (*TransformerConfig, error) { - result := &TransformerConfig{} - for _, path := range paths { - data, err := ldr.Load(path) - if err != nil { - return nil, err - } - t, err := makeTransformerConfigFromBytes(data) - if err != nil { - return nil, err - } - result, err = result.Merge(t) - if err != nil { - return nil, err - } - } - return result, nil -} - -// makeTransformerConfigFromBytes returns a TransformerConfig object from bytes -func makeTransformerConfigFromBytes(data []byte) (*TransformerConfig, error) { - var t TransformerConfig - err := yaml.Unmarshal(data, &t) - if err != nil { - return nil, err - } - t.sortFields() - return &t, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/namebackreferences.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/namebackreferences.go deleted file mode 100644 index 354f70e5..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/namebackreferences.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinconfig - -import ( - "strings" - - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// NameBackReferences is an association between a gvk.GVK (a ReferralTarget) -// and a list of Referrers that could refer to it. -// -// It is used to handle name changes, and can be thought of as a -// a contact list. If you change your own contact info (name, -// phone number, etc.), you must tell your contacts or they won't -// know about the change. -// -// For example, ConfigMaps can be used by Pods and everything that -// contains a Pod; Deployment, Job, StatefulSet, etc. -// The ConfigMap is the ReferralTarget, the others are Referrers. -// -// If the the name of a ConfigMap instance changed from 'alice' to 'bob', -// one must -// - visit all objects that could refer to the ConfigMap (the Referrers) -// - see if they mention 'alice', -// - if so, change the Referrer's name reference to 'bob'. -// -// The NameBackReferences instance to aid in this could look like -// { -// kind: ConfigMap -// version: v1 -// fieldSpecs: -// - kind: Pod -// version: v1 -// path: spec/volumes/configMap/name -// - kind: Deployment -// path: spec/template/spec/volumes/configMap/name -// - kind: Job -// path: spec/template/spec/volumes/configMap/name -// (etc.) -// } -type NameBackReferences struct { - resid.Gvk `json:",inline,omitempty" yaml:",inline,omitempty"` - // TODO: rename json 'fieldSpecs' to 'referrers' for clarity. - // This will, however, break anyone using a custom config. - Referrers types.FsSlice `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` -} - -func (n NameBackReferences) String() string { - var r []string - for _, f := range n.Referrers { - r = append(r, f.String()) - } - return n.Gvk.String() + ": (\n" + - strings.Join(r, "\n") + "\n)" -} - -type nbrSlice []NameBackReferences - -func (s nbrSlice) Len() int { return len(s) } -func (s nbrSlice) Swap(i, j int) { s[i], s[j] = s[j], s[i] } -func (s nbrSlice) Less(i, j int) bool { - return s[i].Gvk.IsLessThan(s[j].Gvk) -} - -func (s nbrSlice) mergeAll(o nbrSlice) (result nbrSlice, err error) { - result = s - for _, r := range o { - result, err = result.mergeOne(r) - if err != nil { - return nil, err - } - } - return result, nil -} - -func (s nbrSlice) mergeOne(other NameBackReferences) (nbrSlice, error) { - var result nbrSlice - var err error - found := false - for _, c := range s { - if c.Gvk.Equals(other.Gvk) { - c.Referrers, err = c.Referrers.MergeAll(other.Referrers) - if err != nil { - return nil, err - } - found = true - } - result = append(result, c) - } - - if !found { - result = append(result, other) - } - return result, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/transformerconfig.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/transformerconfig.go deleted file mode 100644 index a28627a1..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig/transformerconfig.go +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinconfig - -import ( - "log" - "sort" - - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts" - "sigs.k8s.io/kustomize/api/types" -) - -// TransformerConfig holds the data needed to perform transformations. -type TransformerConfig struct { - NamePrefix types.FsSlice `json:"namePrefix,omitempty" yaml:"namePrefix,omitempty"` - NameSuffix types.FsSlice `json:"nameSuffix,omitempty" yaml:"nameSuffix,omitempty"` - NameSpace types.FsSlice `json:"namespace,omitempty" yaml:"namespace,omitempty"` - CommonLabels types.FsSlice `json:"commonLabels,omitempty" yaml:"commonLabels,omitempty"` - CommonAnnotations types.FsSlice `json:"commonAnnotations,omitempty" yaml:"commonAnnotations,omitempty"` - NameReference nbrSlice `json:"nameReference,omitempty" yaml:"nameReference,omitempty"` - VarReference types.FsSlice `json:"varReference,omitempty" yaml:"varReference,omitempty"` - Images types.FsSlice `json:"images,omitempty" yaml:"images,omitempty"` - Replicas types.FsSlice `json:"replicas,omitempty" yaml:"replicas,omitempty"` -} - -// MakeEmptyConfig returns an empty TransformerConfig object -func MakeEmptyConfig() *TransformerConfig { - return &TransformerConfig{} -} - -// MakeDefaultConfig returns a default TransformerConfig. -func MakeDefaultConfig() *TransformerConfig { - c, err := makeTransformerConfigFromBytes( - builtinpluginconsts.GetDefaultFieldSpecs()) - if err != nil { - log.Fatalf("Unable to make default transformconfig: %v", err) - } - return c -} - -// MakeTransformerConfig returns a merger of custom config, -// if any, with default config. -func MakeTransformerConfig( - ldr ifc.Loader, paths []string) (*TransformerConfig, error) { - t1 := MakeDefaultConfig() - if len(paths) == 0 { - return t1, nil - } - t2, err := loadDefaultConfig(ldr, paths) - if err != nil { - return nil, err - } - return t1.Merge(t2) -} - -// sortFields provides determinism in logging, tests, etc. -func (t *TransformerConfig) sortFields() { - sort.Sort(t.NamePrefix) - sort.Sort(t.NameSpace) - sort.Sort(t.CommonLabels) - sort.Sort(t.CommonAnnotations) - sort.Sort(t.NameReference) - sort.Sort(t.VarReference) - sort.Sort(t.Images) - sort.Sort(t.Replicas) -} - -// AddPrefixFieldSpec adds a FieldSpec to NamePrefix -func (t *TransformerConfig) AddPrefixFieldSpec(fs types.FieldSpec) (err error) { - t.NamePrefix, err = t.NamePrefix.MergeOne(fs) - return err -} - -// AddSuffixFieldSpec adds a FieldSpec to NameSuffix -func (t *TransformerConfig) AddSuffixFieldSpec(fs types.FieldSpec) (err error) { - t.NameSuffix, err = t.NameSuffix.MergeOne(fs) - return err -} - -// AddLabelFieldSpec adds a FieldSpec to CommonLabels -func (t *TransformerConfig) AddLabelFieldSpec(fs types.FieldSpec) (err error) { - t.CommonLabels, err = t.CommonLabels.MergeOne(fs) - return err -} - -// AddAnnotationFieldSpec adds a FieldSpec to CommonAnnotations -func (t *TransformerConfig) AddAnnotationFieldSpec(fs types.FieldSpec) (err error) { - t.CommonAnnotations, err = t.CommonAnnotations.MergeOne(fs) - return err -} - -// AddNamereferenceFieldSpec adds a NameBackReferences to NameReference -func (t *TransformerConfig) AddNamereferenceFieldSpec( - nbrs NameBackReferences) (err error) { - t.NameReference, err = t.NameReference.mergeOne(nbrs) - return err -} - -// Merge merges two TransformerConfigs objects into -// a new TransformerConfig object -func (t *TransformerConfig) Merge(input *TransformerConfig) ( - merged *TransformerConfig, err error) { - if input == nil { - return t, nil - } - merged = &TransformerConfig{} - merged.NamePrefix, err = t.NamePrefix.MergeAll(input.NamePrefix) - if err != nil { - return nil, err - } - merged.NameSuffix, err = t.NameSuffix.MergeAll(input.NameSuffix) - if err != nil { - return nil, err - } - merged.NameSpace, err = t.NameSpace.MergeAll(input.NameSpace) - if err != nil { - return nil, err - } - merged.CommonAnnotations, err = t.CommonAnnotations.MergeAll( - input.CommonAnnotations) - if err != nil { - return nil, err - } - merged.CommonLabels, err = t.CommonLabels.MergeAll(input.CommonLabels) - if err != nil { - return nil, err - } - merged.VarReference, err = t.VarReference.MergeAll(input.VarReference) - if err != nil { - return nil, err - } - merged.NameReference, err = t.NameReference.mergeAll(input.NameReference) - if err != nil { - return nil, err - } - merged.Images, err = t.Images.MergeAll(input.Images) - if err != nil { - return nil, err - } - merged.Replicas, err = t.Replicas.MergeAll(input.Replicas) - if err != nil { - return nil, err - } - merged.sortFields() - return merged, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtinplugintype_string.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtinplugintype_string.go deleted file mode 100644 index 1b347cbc..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtinplugintype_string.go +++ /dev/null @@ -1,42 +0,0 @@ -// Code generated by "stringer -type=BuiltinPluginType"; DO NOT EDIT. - -package builtinhelpers - -import "strconv" - -func _() { - // An "invalid array index" compiler error signifies that the constant values have changed. - // Re-run the stringer command to generate them again. - var x [1]struct{} - _ = x[Unknown-0] - _ = x[AnnotationsTransformer-1] - _ = x[ConfigMapGenerator-2] - _ = x[IAMPolicyGenerator-3] - _ = x[HashTransformer-4] - _ = x[ImageTagTransformer-5] - _ = x[LabelTransformer-6] - _ = x[LegacyOrderTransformer-7] - _ = x[NamespaceTransformer-8] - _ = x[PatchJson6902Transformer-9] - _ = x[PatchStrategicMergeTransformer-10] - _ = x[PatchTransformer-11] - _ = x[PrefixSuffixTransformer-12] - _ = x[PrefixTransformer-13] - _ = x[SuffixTransformer-14] - _ = x[ReplicaCountTransformer-15] - _ = x[SecretGenerator-16] - _ = x[ValueAddTransformer-17] - _ = x[HelmChartInflationGenerator-18] - _ = x[ReplacementTransformer-19] -} - -const _BuiltinPluginType_name = "UnknownAnnotationsTransformerConfigMapGeneratorIAMPolicyGeneratorHashTransformerImageTagTransformerLabelTransformerLegacyOrderTransformerNamespaceTransformerPatchJson6902TransformerPatchStrategicMergeTransformerPatchTransformerPrefixSuffixTransformerPrefixTransformerSuffixTransformerReplicaCountTransformerSecretGeneratorValueAddTransformerHelmChartInflationGeneratorReplacementTransformer" - -var _BuiltinPluginType_index = [...]uint16{0, 7, 29, 47, 65, 80, 99, 115, 137, 157, 181, 211, 227, 250, 267, 284, 307, 322, 341, 368, 390} - -func (i BuiltinPluginType) String() string { - if i < 0 || i >= BuiltinPluginType(len(_BuiltinPluginType_index)-1) { - return "BuiltinPluginType(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _BuiltinPluginType_name[_BuiltinPluginType_index[i]:_BuiltinPluginType_index[i+1]] -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtins.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtins.go deleted file mode 100644 index 260ed1bf..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers/builtins.go +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinhelpers - -import ( - "sigs.k8s.io/kustomize/api/internal/builtins" - "sigs.k8s.io/kustomize/api/resmap" -) - -//go:generate stringer -type=BuiltinPluginType -type BuiltinPluginType int - -const ( - Unknown BuiltinPluginType = iota - AnnotationsTransformer - ConfigMapGenerator - IAMPolicyGenerator - HashTransformer - ImageTagTransformer - LabelTransformer - LegacyOrderTransformer - NamespaceTransformer - PatchJson6902Transformer - PatchStrategicMergeTransformer - PatchTransformer - PrefixSuffixTransformer - PrefixTransformer - SuffixTransformer - ReplicaCountTransformer - SecretGenerator - ValueAddTransformer - HelmChartInflationGenerator - ReplacementTransformer -) - -var stringToBuiltinPluginTypeMap map[string]BuiltinPluginType - -func init() { - stringToBuiltinPluginTypeMap = makeStringToBuiltinPluginTypeMap() -} - -func makeStringToBuiltinPluginTypeMap() (result map[string]BuiltinPluginType) { - result = make(map[string]BuiltinPluginType, 23) - for k := range GeneratorFactories { - result[k.String()] = k - } - for k := range TransformerFactories { - result[k.String()] = k - } - return -} - -func GetBuiltinPluginType(n string) BuiltinPluginType { - result, ok := stringToBuiltinPluginTypeMap[n] - if ok { - return result - } - return Unknown -} - -var GeneratorFactories = map[BuiltinPluginType]func() resmap.GeneratorPlugin{ - ConfigMapGenerator: builtins.NewConfigMapGeneratorPlugin, - IAMPolicyGenerator: builtins.NewIAMPolicyGeneratorPlugin, - SecretGenerator: builtins.NewSecretGeneratorPlugin, - HelmChartInflationGenerator: builtins.NewHelmChartInflationGeneratorPlugin, -} - -type MultiTransformer struct { - transformers []resmap.TransformerPlugin -} - -func (t *MultiTransformer) Transform(m resmap.ResMap) error { - for _, transformer := range t.transformers { - if err := transformer.Transform(m); err != nil { - return err - } - } - return nil -} - -func (t *MultiTransformer) Config(h *resmap.PluginHelpers, b []byte) error { - for _, transformer := range t.transformers { - if err := transformer.Config(h, b); err != nil { - return err - } - } - return nil -} - -func NewMultiTransformer() resmap.TransformerPlugin { - return &MultiTransformer{[]resmap.TransformerPlugin{ - builtins.NewPrefixTransformerPlugin(), - builtins.NewSuffixTransformerPlugin(), - }} -} - -var TransformerFactories = map[BuiltinPluginType]func() resmap.TransformerPlugin{ - AnnotationsTransformer: builtins.NewAnnotationsTransformerPlugin, - HashTransformer: builtins.NewHashTransformerPlugin, - ImageTagTransformer: builtins.NewImageTagTransformerPlugin, - LabelTransformer: builtins.NewLabelTransformerPlugin, - LegacyOrderTransformer: builtins.NewLegacyOrderTransformerPlugin, - NamespaceTransformer: builtins.NewNamespaceTransformerPlugin, - PatchJson6902Transformer: builtins.NewPatchJson6902TransformerPlugin, - PatchStrategicMergeTransformer: builtins.NewPatchStrategicMergeTransformerPlugin, - PatchTransformer: builtins.NewPatchTransformerPlugin, - PrefixSuffixTransformer: NewMultiTransformer, - PrefixTransformer: builtins.NewPrefixTransformerPlugin, - SuffixTransformer: builtins.NewSuffixTransformerPlugin, - ReplacementTransformer: builtins.NewReplacementTransformerPlugin, - ReplicaCountTransformer: builtins.NewReplicaCountTransformerPlugin, - ValueAddTransformer: builtins.NewValueAddTransformerPlugin, -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/execplugin/execplugin.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/execplugin/execplugin.go deleted file mode 100644 index 9380558c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/execplugin/execplugin.go +++ /dev/null @@ -1,192 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package execplugin - -import ( - "bytes" - "fmt" - "io/ioutil" - "os" - "os/exec" - "runtime" - "strings" - - "github.com/google/shlex" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/internal/plugins/utils" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/yaml" -) - -const ( - tmpConfigFilePrefix = "kust-plugin-config-" -) - -// ExecPlugin record the name and args of an executable -// It triggers the executable generator and transformer -type ExecPlugin struct { - // absolute path of the executable - path string - - // Optional command line arguments to the executable - // pulled from specially named fields in cfg. - // This is for executables that don't want to parse YAML. - args []string - - // Plugin configuration data. - cfg []byte - - // PluginHelpers - h *resmap.PluginHelpers -} - -func NewExecPlugin(p string) *ExecPlugin { - return &ExecPlugin{path: p} -} - -func (p *ExecPlugin) ErrIfNotExecutable() error { - f, err := os.Stat(p.path) - if err != nil { - return err - } - // In Windows, it is not possible to determine whether a - // file is executable through file mode. - // TODO: provide for setting the executable FileMode bit on Windows - // The (fs *fileStat) Mode() (m FileMode) {} function in - // https://golang.org/src/os/types_windows.go - // lacks the ability to set the FileMode executable bit in response - // to file data on Windows. - if f.Mode()&0111 == 0000 && runtime.GOOS != "windows" { - return fmt.Errorf("unexecutable plugin at: %s", p.path) - } - return nil -} - -func (p *ExecPlugin) Path() string { - return p.path -} - -func (p *ExecPlugin) Args() []string { - return p.args -} - -func (p *ExecPlugin) Cfg() []byte { - return p.cfg -} - -func (p *ExecPlugin) Config(h *resmap.PluginHelpers, config []byte) error { - p.h = h - p.cfg = config - return p.processOptionalArgsFields() -} - -type argsConfig struct { - ArgsOneLiner string `json:"argsOneLiner,omitempty" yaml:"argsOneLiner,omitempty"` - ArgsFromFile string `json:"argsFromFile,omitempty" yaml:"argsFromFile,omitempty"` -} - -func (p *ExecPlugin) processOptionalArgsFields() error { - var c argsConfig - err := yaml.Unmarshal(p.cfg, &c) - if err != nil { - return err - } - if c.ArgsOneLiner != "" { - p.args, _ = shlex.Split(c.ArgsOneLiner) - } - if c.ArgsFromFile != "" { - content, err := p.h.Loader().Load(c.ArgsFromFile) - if err != nil { - return err - } - for _, x := range strings.Split(string(content), "\n") { - x := strings.TrimLeft(x, " ") - if x != "" { - p.args = append(p.args, x) - } - } - } - return nil -} - -func (p *ExecPlugin) Generate() (resmap.ResMap, error) { - output, err := p.invokePlugin(nil) - if err != nil { - return nil, err - } - rm, err := p.h.ResmapFactory().NewResMapFromBytes(output) - if err != nil { - return nil, err - } - return utils.UpdateResourceOptions(rm) -} - -func (p *ExecPlugin) Transform(rm resmap.ResMap) error { - // add ResIds as annotations to all objects so that we can add them back - inputRM, err := utils.GetResMapWithIDAnnotation(rm) - if err != nil { - return err - } - - // encode the ResMap so it can be fed to the plugin - resources, err := inputRM.AsYaml() - if err != nil { - return err - } - - // invoke the plugin with resources as the input - output, err := p.invokePlugin(resources) - if err != nil { - return fmt.Errorf("%v %s", err, string(output)) - } - - // update the original ResMap based on the output - return utils.UpdateResMapValues(p.path, p.h, output, rm) -} - -// invokePlugin writes plugin config to a temp file, then -// passes the full temp file path as the first arg to a process -// running the plugin binary. Process output is returned. -func (p *ExecPlugin) invokePlugin(input []byte) ([]byte, error) { - f, err := ioutil.TempFile("", tmpConfigFilePrefix) - if err != nil { - return nil, errors.Wrap( - err, "creating tmp plugin config file") - } - _, err = f.Write(p.cfg) - if err != nil { - return nil, errors.Wrap( - err, "writing plugin config to "+f.Name()) - } - err = f.Close() - if err != nil { - return nil, errors.Wrap( - err, "closing plugin config file "+f.Name()) - } - //nolint:gosec - cmd := exec.Command( - p.path, append([]string{f.Name()}, p.args...)...) - cmd.Env = p.getEnv() - cmd.Stdin = bytes.NewReader(input) - cmd.Stderr = os.Stderr - if _, err := os.Stat(p.h.Loader().Root()); err == nil { - cmd.Dir = p.h.Loader().Root() - } - result, err := cmd.Output() - if err != nil { - return nil, errors.Wrapf( - err, "failure in plugin configured via %s; %v", - f.Name(), err.Error()) - } - return result, os.Remove(f.Name()) -} - -func (p *ExecPlugin) getEnv() []string { - env := os.Environ() - env = append(env, - "KUSTOMIZE_PLUGIN_CONFIG_STRING="+string(p.cfg), - "KUSTOMIZE_PLUGIN_CONFIG_ROOT="+p.h.Loader().Root()) - return env -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/fnplugin/fnplugin.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/fnplugin/fnplugin.go deleted file mode 100644 index 84bc0ac0..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/fnplugin/fnplugin.go +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package fnplugin - -import ( - "bytes" - "fmt" - - "github.com/pkg/errors" - - "sigs.k8s.io/kustomize/api/internal/plugins/utils" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil" - "sigs.k8s.io/kustomize/kyaml/runfn" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// FnPlugin is the struct to hold function information -type FnPlugin struct { - // Function runner - runFns runfn.RunFns - - // Plugin configuration data. - cfg []byte - - // Plugin name cache for error output - pluginName string - - // PluginHelpers - h *resmap.PluginHelpers -} - -func bytesToRNode(yml []byte) (*yaml.RNode, error) { - rnode, err := yaml.Parse(string(yml)) - if err != nil { - return nil, err - } - return rnode, nil -} - -func resourceToRNode(res *resource.Resource) (*yaml.RNode, error) { - yml, err := res.AsYAML() - if err != nil { - return nil, err - } - - return bytesToRNode(yml) -} - -// GetFunctionSpec return function spec is there is. Otherwise return nil -func GetFunctionSpec(res *resource.Resource) *runtimeutil.FunctionSpec { - rnode, err := resourceToRNode(res) - if err != nil { - return nil - } - - return runtimeutil.GetFunctionSpec(rnode) -} - -func toStorageMounts(mounts []string) []runtimeutil.StorageMount { - var sms []runtimeutil.StorageMount - for _, mount := range mounts { - sms = append(sms, runtimeutil.StringToStorageMount(mount)) - } - return sms -} - -// NewFnPlugin creates a FnPlugin struct -func NewFnPlugin(o *types.FnPluginLoadingOptions) *FnPlugin { - return &FnPlugin{ - runFns: runfn.RunFns{ - Functions: []*yaml.RNode{}, - Network: o.Network, - EnableStarlark: o.EnableStar, - EnableExec: o.EnableExec, - StorageMounts: toStorageMounts(o.Mounts), - Env: o.Env, - AsCurrentUser: o.AsCurrentUser, - WorkingDir: o.WorkingDir, - }, - } -} - -// Cfg returns function config -func (p *FnPlugin) Cfg() []byte { - return p.cfg -} - -// Config is called by kustomize to pass-in config information -func (p *FnPlugin) Config(h *resmap.PluginHelpers, config []byte) error { - p.h = h - p.cfg = config - - fn, err := bytesToRNode(p.cfg) - if err != nil { - return err - } - - meta, err := fn.GetMeta() - if err != nil { - return err - } - - p.pluginName = fmt.Sprintf("api: %s, kind: %s, name: %s", - meta.APIVersion, meta.Kind, meta.Name) - - return nil -} - -// Generate is called when run as generator -func (p *FnPlugin) Generate() (resmap.ResMap, error) { - output, err := p.invokePlugin(nil) - if err != nil { - return nil, err - } - rm, err := p.h.ResmapFactory().NewResMapFromBytes(output) - if err != nil { - return nil, err - } - return utils.UpdateResourceOptions(rm) -} - -// Transform is called when run as transformer -func (p *FnPlugin) Transform(rm resmap.ResMap) error { - // add ResIds as annotations to all objects so that we can add them back - inputRM, err := utils.GetResMapWithIDAnnotation(rm) - if err != nil { - return err - } - - // encode the ResMap so it can be fed to the plugin - resources, err := inputRM.AsYaml() - if err != nil { - return err - } - - // invoke the plugin with resources as the input - output, err := p.invokePlugin(resources) - if err != nil { - return fmt.Errorf("%v %s", err, string(output)) - } - - // update the original ResMap based on the output - return utils.UpdateResMapValues(p.pluginName, p.h, output, rm) -} - -func injectAnnotation(input *yaml.RNode, k, v string) error { - err := input.PipeE(yaml.SetAnnotation(k, v)) - if err != nil { - return err - } - return nil -} - -// invokePlugin uses Function runner to run function as plugin -func (p *FnPlugin) invokePlugin(input []byte) ([]byte, error) { - // get function config rnode - functionConfig, err := bytesToRNode(p.cfg) - if err != nil { - return nil, err - } - - // This annotation will let kustomize ingnore this item in output - err = injectAnnotation(functionConfig, "config.kubernetes.io/local-config", "true") - if err != nil { - return nil, err - } - // we need to add config as input for generators. Some of them don't work with FunctionConfig - // and in addition kio.Pipeline won't create anything if there are no objects - // see https://github.com/kubernetes-sigs/kustomize/blob/master/kyaml/kio/kio.go#L93 - // Since we added `local-config` annotation so it will be ignored in generator output - // TODO(donnyxia): This is actually not used by generator and only used to bypass a kio limitation. - // Need better solution. - if input == nil { - yml, err := functionConfig.String() - if err != nil { - return nil, err - } - input = []byte(yml) - } - - // Configure and Execute Fn. We don't need to convert resources to ResourceList here - // because function runtime will do that. See kyaml/fn/runtime/runtimeutil/runtimeutil.go - var ouputBuffer bytes.Buffer - p.runFns.Input = bytes.NewReader(input) - p.runFns.Functions = append(p.runFns.Functions, functionConfig) - p.runFns.Output = &ouputBuffer - - err = p.runFns.Execute() - if err != nil { - return nil, errors.Wrap( - err, "couldn't execute function") - } - - return ouputBuffer.Bytes(), nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/loader/loader.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/loader/loader.go deleted file mode 100644 index 93c8559d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/loader/loader.go +++ /dev/null @@ -1,306 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package loader - -import ( - "fmt" - "log" - "os" - "path/filepath" - "plugin" - "reflect" - "strings" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers" - "sigs.k8s.io/kustomize/api/internal/plugins/execplugin" - "sigs.k8s.io/kustomize/api/internal/plugins/fnplugin" - "sigs.k8s.io/kustomize/api/internal/plugins/utils" - "sigs.k8s.io/kustomize/api/konfig" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// Loader loads plugins using a file loader (a different loader). -type Loader struct { - pc *types.PluginConfig - rf *resmap.Factory - fs filesys.FileSystem - - // absolutePluginHome caches the location of a valid plugin root directory. - // It should only be set once the directory's existence has been confirmed. - absolutePluginHome string -} - -func NewLoader( - pc *types.PluginConfig, rf *resmap.Factory, fs filesys.FileSystem) *Loader { - return &Loader{pc: pc, rf: rf, fs: fs} -} - -// Config provides the global (not plugin specific) PluginConfig data. -func (l *Loader) Config() *types.PluginConfig { - return l.pc -} - -// SetWorkDir sets the working directory for this loader's plugins -func (l *Loader) SetWorkDir(wd string) { - l.pc.FnpLoadingOptions.WorkingDir = wd -} - -func (l *Loader) LoadGenerators( - ldr ifc.Loader, v ifc.Validator, rm resmap.ResMap) ( - result []*resmap.GeneratorWithProperties, err error) { - for _, res := range rm.Resources() { - g, err := l.LoadGenerator(ldr, v, res) - if err != nil { - return nil, err - } - generatorOrigin, err := resource.OriginFromCustomPlugin(res) - if err != nil { - return nil, err - } - result = append(result, &resmap.GeneratorWithProperties{Generator: g, Origin: generatorOrigin}) - } - return result, nil -} - -func (l *Loader) LoadGenerator( - ldr ifc.Loader, v ifc.Validator, res *resource.Resource) (resmap.Generator, error) { - c, err := l.loadAndConfigurePlugin(ldr, v, res) - if err != nil { - return nil, err - } - g, ok := c.(resmap.Generator) - if !ok { - return nil, fmt.Errorf("plugin %s not a generator", res.OrgId()) - } - return g, nil -} - -func (l *Loader) LoadTransformers( - ldr ifc.Loader, v ifc.Validator, rm resmap.ResMap) ([]*resmap.TransformerWithProperties, error) { - var result []*resmap.TransformerWithProperties - for _, res := range rm.Resources() { - t, err := l.LoadTransformer(ldr, v, res) - if err != nil { - return nil, err - } - transformerOrigin, err := resource.OriginFromCustomPlugin(res) - if err != nil { - return nil, err - } - result = append(result, &resmap.TransformerWithProperties{Transformer: t, Origin: transformerOrigin}) - } - return result, nil -} - -func (l *Loader) LoadTransformer( - ldr ifc.Loader, v ifc.Validator, res *resource.Resource) (*resmap.TransformerWithProperties, error) { - c, err := l.loadAndConfigurePlugin(ldr, v, res) - if err != nil { - return nil, err - } - t, ok := c.(resmap.Transformer) - if !ok { - return nil, fmt.Errorf("plugin %s not a transformer", res.OrgId()) - } - return &resmap.TransformerWithProperties{Transformer: t}, nil -} - -func relativePluginPath(id resid.ResId) string { - return filepath.Join( - id.Group, - id.Version, - strings.ToLower(id.Kind)) -} - -func (l *Loader) AbsolutePluginPath(id resid.ResId) (string, error) { - pluginHome, err := l.absPluginHome() - if err != nil { - return "", err - } - return filepath.Join(pluginHome, relativePluginPath(id), id.Kind), nil -} - -// absPluginHome is the home of kustomize Exec and Go plugins. -// Kustomize plugin configuration files are k8s-style objects -// containing the fields 'apiVersion' and 'kind', e.g. -// apiVersion: apps/v1 -// kind: Deployment -// kustomize reads plugin configuration data from a file path -// specified in the 'generators:' or 'transformers:' field of a -// kustomization file. For Exec and Go plugins, kustomize -// uses this data to both locate the plugin and configure it. -// Each Exec or Go plugin (its code, its tests, its supporting data -// files, etc.) must be housed in its own directory at -// ${absPluginHome}/${pluginApiVersion}/LOWERCASE(${pluginKind}) -// where -// - ${absPluginHome} is an absolute path, defined below. -// - ${pluginApiVersion} is taken from the plugin config file. -// - ${pluginKind} is taken from the plugin config file. -func (l *Loader) absPluginHome() (string, error) { - // External plugins are disabled--return the dummy plugin root. - if l.pc.PluginRestrictions != types.PluginRestrictionsNone { - return konfig.NoPluginHomeSentinal, nil - } - // We've already determined plugin home--use the cached value. - if l.absolutePluginHome != "" { - return l.absolutePluginHome, nil - } - - // Check default locations for a valid plugin root, and cache it if found. - dir, err := konfig.DefaultAbsPluginHome(l.fs) - if err != nil { - return "", err - } - l.absolutePluginHome = dir - return l.absolutePluginHome, nil -} - -func isBuiltinPlugin(res *resource.Resource) bool { - // TODO: the special string should appear in Group, not Version. - return res.GetGvk().Group == "" && - res.GetGvk().Version == konfig.BuiltinPluginApiVersion -} - -func (l *Loader) loadAndConfigurePlugin( - ldr ifc.Loader, - v ifc.Validator, - res *resource.Resource) (c resmap.Configurable, err error) { - if isBuiltinPlugin(res) { - switch l.pc.BpLoadingOptions { - case types.BploLoadFromFileSys: - c, err = l.loadPlugin(res) - case types.BploUseStaticallyLinked: - // Instead of looking for and loading a .so file, - // instantiate the plugin from a generated factory - // function (see "pluginator"). Being able to do this - // is what makes a plugin "builtin". - c, err = l.makeBuiltinPlugin(res.GetGvk()) - default: - err = fmt.Errorf( - "unknown plugin loader behavior specified: %v", - l.pc.BpLoadingOptions) - } - } else { - switch l.pc.PluginRestrictions { - case types.PluginRestrictionsNone: - c, err = l.loadPlugin(res) - case types.PluginRestrictionsBuiltinsOnly: - err = types.NewErrOnlyBuiltinPluginsAllowed(res.OrgId().Kind) - default: - err = fmt.Errorf( - "unknown plugin restriction specified: %v", - l.pc.PluginRestrictions) - } - } - if err != nil { - return nil, err - } - yaml, err := res.AsYAML() - if err != nil { - return nil, errors.Wrapf(err, "marshalling yaml from res %s", res.OrgId()) - } - err = c.Config(resmap.NewPluginHelpers(ldr, v, l.rf, l.pc), yaml) - if err != nil { - return nil, errors.Wrapf( - err, "plugin %s fails configuration", res.OrgId()) - } - return c, nil -} - -func (l *Loader) makeBuiltinPlugin(r resid.Gvk) (resmap.Configurable, error) { - bpt := builtinhelpers.GetBuiltinPluginType(r.Kind) - if f, ok := builtinhelpers.GeneratorFactories[bpt]; ok { - return f(), nil - } - if f, ok := builtinhelpers.TransformerFactories[bpt]; ok { - return f(), nil - } - return nil, errors.Errorf("unable to load builtin %s", r) -} - -func (l *Loader) loadPlugin(res *resource.Resource) (resmap.Configurable, error) { - spec := fnplugin.GetFunctionSpec(res) - if spec != nil { - return fnplugin.NewFnPlugin(&l.pc.FnpLoadingOptions), nil - } - return l.loadExecOrGoPlugin(res.OrgId()) -} - -func (l *Loader) loadExecOrGoPlugin(resId resid.ResId) (resmap.Configurable, error) { - absPluginPath, err := l.AbsolutePluginPath(resId) - if err != nil { - return nil, err - } - // First try to load the plugin as an executable. - p := execplugin.NewExecPlugin(absPluginPath) - if err = p.ErrIfNotExecutable(); err == nil { - return p, nil - } - if !os.IsNotExist(err) { - // The file exists, but something else is wrong, - // likely it's not executable. - // Assume the user forgot to set the exec bit, - // and return an error, rather than adding ".so" - // to the name and attempting to load it as a Go - // plugin, which will likely fail and result - // in an obscure message. - return nil, err - } - // Failing the above, try loading it as a Go plugin. - c, err := l.loadGoPlugin(resId, absPluginPath+".so") - if err != nil { - return nil, err - } - return c, nil -} - -// registry is a means to avoid trying to load the same .so file -// into memory more than once, which results in an error. -// Each test makes its own loader, and tries to load its own plugins, -// but the loaded .so files are in shared memory, so one will get -// "this plugin already loaded" errors if the registry is maintained -// as a Loader instance variable. So make it a package variable. -var registry = make(map[string]resmap.Configurable) - -func (l *Loader) loadGoPlugin(id resid.ResId, absPath string) (resmap.Configurable, error) { - regId := relativePluginPath(id) - if c, ok := registry[regId]; ok { - return copyPlugin(c), nil - } - if !utils.FileExists(absPath) { - return nil, fmt.Errorf( - "expected file with Go object code at: %s", absPath) - } - log.Printf("Attempting plugin load from '%s'", absPath) - p, err := plugin.Open(absPath) - if err != nil { - return nil, errors.Wrapf(err, "plugin %s fails to load", absPath) - } - symbol, err := p.Lookup(konfig.PluginSymbol) - if err != nil { - return nil, errors.Wrapf( - err, "plugin %s doesn't have symbol %s", - regId, konfig.PluginSymbol) - } - c, ok := symbol.(resmap.Configurable) - if !ok { - return nil, fmt.Errorf("plugin '%s' not configurable", regId) - } - registry[regId] = c - return copyPlugin(c), nil -} - -func copyPlugin(c resmap.Configurable) resmap.Configurable { - indirect := reflect.Indirect(reflect.ValueOf(c)) - newIndirect := reflect.New(indirect.Type()) - newIndirect.Elem().Set(reflect.ValueOf(indirect.Interface())) - newNamed := newIndirect.Interface() - return newNamed.(resmap.Configurable) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/utils/utils.go b/vendor/sigs.k8s.io/kustomize/api/internal/plugins/utils/utils.go deleted file mode 100644 index 8182f203..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/plugins/utils/utils.go +++ /dev/null @@ -1,240 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package utils - -import ( - "encoding/json" - "fmt" - "os" - "path/filepath" - "runtime" - "strconv" - "time" - - "sigs.k8s.io/kustomize/api/konfig" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/yaml" -) - -const ( - idAnnotation = "kustomize.config.k8s.io/id" - HashAnnotation = "kustomize.config.k8s.io/needs-hash" - BehaviorAnnotation = "kustomize.config.k8s.io/behavior" -) - -func GoBin() string { - return filepath.Join(runtime.GOROOT(), "bin", "go") -} - -// DeterminePluginSrcRoot guesses where the user -// has her ${g}/${v}/$lower(${k})/${k}.go files. -func DeterminePluginSrcRoot(fSys filesys.FileSystem) (string, error) { - return konfig.FirstDirThatExistsElseError( - "plugin src root", fSys, []konfig.NotedFunc{ - { - Note: "relative to unit test", - F: func() string { - return filepath.Clean( - filepath.Join( - os.Getenv("PWD"), - "..", "..", - konfig.RelPluginHome)) - }, - }, - { - Note: "relative to unit test (internal pkg)", - F: func() string { - return filepath.Clean( - filepath.Join( - os.Getenv("PWD"), - "..", "..", "..", "..", - konfig.RelPluginHome)) - }, - }, - { - Note: "relative to api package", - F: func() string { - return filepath.Clean( - filepath.Join( - os.Getenv("PWD"), - "..", "..", "..", - konfig.RelPluginHome)) - }, - }, - { - Note: "old style $GOPATH", - F: func() string { - return filepath.Join( - os.Getenv("GOPATH"), - "src", konfig.DomainName, - konfig.ProgramName, konfig.RelPluginHome) - }, - }, - { - Note: "HOME with literal 'gopath'", - F: func() string { - return filepath.Join( - konfig.HomeDir(), "gopath", - "src", konfig.DomainName, - konfig.ProgramName, konfig.RelPluginHome) - }, - }, - { - Note: "home directory", - F: func() string { - return filepath.Join( - konfig.HomeDir(), konfig.DomainName, - konfig.ProgramName, konfig.RelPluginHome) - }, - }, - }) -} - -// FileYoungerThan returns true if the file both exists and has an -// age is <= the Duration argument. -func FileYoungerThan(path string, d time.Duration) bool { - fi, err := os.Stat(path) - if err != nil { - if os.IsNotExist(err) { - return false - } - } - return time.Since(fi.ModTime()) <= d -} - -// FileModifiedAfter returns true if the file both exists and was -// modified after the given time.. -func FileModifiedAfter(path string, t time.Time) bool { - fi, err := os.Stat(path) - if err != nil { - if os.IsNotExist(err) { - return false - } - } - return fi.ModTime().After(t) -} - -func FileExists(path string) bool { - if _, err := os.Stat(path); err != nil { - if os.IsNotExist(err) { - return false - } - } - return true -} - -// GetResMapWithIDAnnotation returns a new copy of the given ResMap with the ResIds annotated in each Resource -func GetResMapWithIDAnnotation(rm resmap.ResMap) (resmap.ResMap, error) { - inputRM := rm.DeepCopy() - for _, r := range inputRM.Resources() { - idString, err := yaml.Marshal(r.CurId()) - if err != nil { - return nil, err - } - annotations := r.GetAnnotations() - annotations[idAnnotation] = string(idString) - if err = r.SetAnnotations(annotations); err != nil { - return nil, err - } - } - return inputRM, nil -} - -// UpdateResMapValues updates the Resource value in the given ResMap -// with the emitted Resource values in output. -func UpdateResMapValues(pluginName string, h *resmap.PluginHelpers, output []byte, rm resmap.ResMap) error { - mapFactory := h.ResmapFactory() - resFactory := mapFactory.RF() - resources, err := resFactory.SliceFromBytes(output) - if err != nil { - return err - } - // Don't use resources here, or error message will be unfriendly to plugin builders - newMap, err := mapFactory.NewResMapFromBytes([]byte{}) - if err != nil { - return err - } - - for _, r := range resources { - // stale--not manipulated by plugin transformers - if err = removeIDAnnotation(r); err != nil { - return err - } - - // Add to the new map, checking for duplicates - if err := newMap.Append(r); err != nil { - prettyID, err := json.Marshal(r.CurId()) - if err != nil { - prettyID = []byte(r.CurId().String()) - } - return fmt.Errorf("plugin %s generated duplicate resource: %s", pluginName, prettyID) - } - - // Add to or update the old map - oldIdx, err := rm.GetIndexOfCurrentId(r.CurId()) - if err != nil { - return err - } - if oldIdx != -1 { - rm.GetByIndex(oldIdx).ResetRNode(r) - } else { - if err := rm.Append(r); err != nil { - return err - } - } - } - - // Remove items the transformer deleted from the old map - for _, id := range rm.AllIds() { - newIdx, _ := newMap.GetIndexOfCurrentId(id) - if newIdx == -1 { - if err = rm.Remove(id); err != nil { - return err - } - } - } - - return nil -} - -func removeIDAnnotation(r *resource.Resource) error { - // remove the annotation set by Kustomize to track the resource - annotations := r.GetAnnotations() - delete(annotations, idAnnotation) - return r.SetAnnotations(annotations) -} - -// UpdateResourceOptions updates the generator options for each resource in the -// given ResMap based on plugin provided annotations. -func UpdateResourceOptions(rm resmap.ResMap) (resmap.ResMap, error) { - for _, r := range rm.Resources() { - // Disable name hashing by default and require plugin to explicitly - // request it for each resource. - annotations := r.GetAnnotations() - behavior := annotations[BehaviorAnnotation] - var needsHash bool - if val, ok := annotations[HashAnnotation]; ok { - b, err := strconv.ParseBool(val) - if err != nil { - return nil, fmt.Errorf( - "the annotation %q contains an invalid value (%q)", - HashAnnotation, val) - } - needsHash = b - } - delete(annotations, HashAnnotation) - delete(annotations, BehaviorAnnotation) - if err := r.SetAnnotations(annotations); err != nil { - return nil, err - } - if needsHash { - r.EnableHashSuffix() - } - r.SetBehavior(types.NewGenerationBehavior(behavior)) - } - return rm, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/target/errmissingkustomization.go b/vendor/sigs.k8s.io/kustomize/api/internal/target/errmissingkustomization.go deleted file mode 100644 index 45e48959..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/target/errmissingkustomization.go +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package target - -import ( - "fmt" - "strings" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/konfig" -) - -type errMissingKustomization struct { - path string -} - -func (e *errMissingKustomization) Error() string { - return fmt.Sprintf( - "unable to find one of %v in directory '%s'", - commaOr(quoted(konfig.RecognizedKustomizationFileNames())), - e.path) -} - -func IsMissingKustomizationFileError(err error) bool { - _, ok := err.(*errMissingKustomization) - if ok { - return true - } - _, ok = errors.Cause(err).(*errMissingKustomization) - return ok -} - -func NewErrMissingKustomization(p string) *errMissingKustomization { - return &errMissingKustomization{path: p} -} - -func quoted(l []string) []string { - r := make([]string, len(l)) - for i, v := range l { - r[i] = "'" + v + "'" - } - return r -} - -func commaOr(q []string) string { - return strings.Join(q[:len(q)-1], ", ") + " or " + q[len(q)-1] -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget.go b/vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget.go deleted file mode 100644 index 4fd758e6..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget.go +++ /dev/null @@ -1,559 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package target - -import ( - "encoding/json" - "fmt" - "path/filepath" - "strings" - - "github.com/pkg/errors" - - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/accumulator" - "sigs.k8s.io/kustomize/api/internal/builtins" - "sigs.k8s.io/kustomize/api/internal/kusterr" - "sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig" - "sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers" - "sigs.k8s.io/kustomize/api/internal/plugins/loader" - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/api/konfig" - load "sigs.k8s.io/kustomize/api/loader" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/yaml" -) - -// KustTarget encapsulates the entirety of a kustomization build. -type KustTarget struct { - kustomization *types.Kustomization - kustFileName string - ldr ifc.Loader - validator ifc.Validator - rFactory *resmap.Factory - pLdr *loader.Loader - origin *resource.Origin -} - -// NewKustTarget returns a new instance of KustTarget. -func NewKustTarget( - ldr ifc.Loader, - validator ifc.Validator, - rFactory *resmap.Factory, - pLdr *loader.Loader) *KustTarget { - pLdrCopy := *pLdr - pLdrCopy.SetWorkDir(ldr.Root()) - return &KustTarget{ - ldr: ldr, - validator: validator, - rFactory: rFactory, - pLdr: &pLdrCopy, - } -} - -// Load attempts to load the target's kustomization file. -func (kt *KustTarget) Load() error { - content, kustFileName, err := loadKustFile(kt.ldr) - if err != nil { - return err - } - content, err = types.FixKustomizationPreUnmarshalling(content) - if err != nil { - return err - } - var k types.Kustomization - err = k.Unmarshal(content) - if err != nil { - return err - } - k.FixKustomizationPostUnmarshalling() - errs := k.EnforceFields() - if len(errs) > 0 { - return fmt.Errorf( - "Failed to read kustomization file under %s:\n"+ - strings.Join(errs, "\n"), kt.ldr.Root()) - } - kt.kustomization = &k - kt.kustFileName = kustFileName - return nil -} - -// Kustomization returns a copy of the immutable, internal kustomization object. -func (kt *KustTarget) Kustomization() types.Kustomization { - var result types.Kustomization - b, _ := json.Marshal(*kt.kustomization) - json.Unmarshal(b, &result) - return result -} - -func loadKustFile(ldr ifc.Loader) ([]byte, string, error) { - var content []byte - match := 0 - var kustFileName string - for _, kf := range konfig.RecognizedKustomizationFileNames() { - c, err := ldr.Load(kf) - if err == nil { - match += 1 - content = c - kustFileName = kf - } - } - switch match { - case 0: - return nil, "", NewErrMissingKustomization(ldr.Root()) - case 1: - return content, kustFileName, nil - default: - return nil, "", fmt.Errorf( - "Found multiple kustomization files under: %s\n", ldr.Root()) - } -} - -// MakeCustomizedResMap creates a fully customized ResMap -// per the instructions contained in its kustomization instance. -func (kt *KustTarget) MakeCustomizedResMap() (resmap.ResMap, error) { - return kt.makeCustomizedResMap() -} - -func (kt *KustTarget) makeCustomizedResMap() (resmap.ResMap, error) { - var origin *resource.Origin - if len(kt.kustomization.BuildMetadata) != 0 { - origin = &resource.Origin{} - } - kt.origin = origin - ra, err := kt.AccumulateTarget() - if err != nil { - return nil, err - } - - // The following steps must be done last, not as part of - // the recursion implicit in AccumulateTarget. - - err = kt.addHashesToNames(ra) - if err != nil { - return nil, err - } - - // Given that names have changed (prefixs/suffixes added), - // fix all the back references to those names. - err = ra.FixBackReferences() - if err != nil { - return nil, err - } - - // With all the back references fixed, it's OK to resolve Vars. - err = ra.ResolveVars() - if err != nil { - return nil, err - } - - return ra.ResMap(), nil -} - -func (kt *KustTarget) addHashesToNames( - ra *accumulator.ResAccumulator) error { - p := builtins.NewHashTransformerPlugin() - err := kt.configureBuiltinPlugin(p, nil, builtinhelpers.HashTransformer) - if err != nil { - return err - } - return ra.Transform(p) -} - -// AccumulateTarget returns a new ResAccumulator, -// holding customized resources and the data/rules used -// to do so. The name back references and vars are -// not yet fixed. -// The origin parameter is used through the recursive calls -// to annotate each resource with information about where -// the resource came from, e.g. the file and/or the repository -// it originated from. -// As an entrypoint, one can pass an empty resource.Origin object to -// AccumulateTarget. As AccumulateTarget moves recursively -// through kustomization directories, it updates `origin.path` -// accordingly. When a remote base is found, it updates `origin.repo` -// and `origin.ref` accordingly. -func (kt *KustTarget) AccumulateTarget() ( - ra *accumulator.ResAccumulator, err error) { - return kt.accumulateTarget(accumulator.MakeEmptyAccumulator()) -} - -// ra should be empty when this KustTarget is a Kustomization, or the ra of the parent if this KustTarget is a Component -// (or empty if the Component does not have a parent). -func (kt *KustTarget) accumulateTarget(ra *accumulator.ResAccumulator) ( - resRa *accumulator.ResAccumulator, err error) { - ra, err = kt.accumulateResources(ra, kt.kustomization.Resources) - if err != nil { - return nil, errors.Wrap(err, "accumulating resources") - } - ra, err = kt.accumulateComponents(ra, kt.kustomization.Components) - if err != nil { - return nil, errors.Wrap(err, "accumulating components") - } - tConfig, err := builtinconfig.MakeTransformerConfig( - kt.ldr, kt.kustomization.Configurations) - if err != nil { - return nil, err - } - err = ra.MergeConfig(tConfig) - if err != nil { - return nil, errors.Wrapf( - err, "merging config %v", tConfig) - } - crdTc, err := accumulator.LoadConfigFromCRDs(kt.ldr, kt.kustomization.Crds) - if err != nil { - return nil, errors.Wrapf( - err, "loading CRDs %v", kt.kustomization.Crds) - } - err = ra.MergeConfig(crdTc) - if err != nil { - return nil, errors.Wrapf( - err, "merging CRDs %v", crdTc) - } - err = kt.runGenerators(ra) - if err != nil { - return nil, err - } - err = kt.runTransformers(ra) - if err != nil { - return nil, err - } - err = kt.runValidators(ra) - if err != nil { - return nil, err - } - err = ra.MergeVars(kt.kustomization.Vars) - if err != nil { - return nil, errors.Wrapf( - err, "merging vars %v", kt.kustomization.Vars) - } - err = kt.IgnoreLocal(ra) - if err != nil { - return nil, err - } - return ra, nil -} - -// IgnoreLocal drops the local resource by checking the annotation "config.kubernetes.io/local-config". -func (kt *KustTarget) IgnoreLocal(ra *accumulator.ResAccumulator) error { - rf := kt.rFactory.RF() - if rf.IncludeLocalConfigs { - return nil - } - remainRes, err := rf.DropLocalNodes(ra.ResMap().ToRNodeSlice()) - if err != nil { - return err - } - return ra.Intersection(kt.rFactory.FromResourceSlice(remainRes)) -} - -func (kt *KustTarget) runGenerators( - ra *accumulator.ResAccumulator) error { - var generators []*resmap.GeneratorWithProperties - gs, err := kt.configureBuiltinGenerators() - if err != nil { - return err - } - generators = append(generators, gs...) - - gs, err = kt.configureExternalGenerators() - if err != nil { - return errors.Wrap(err, "loading generator plugins") - } - generators = append(generators, gs...) - for i, g := range generators { - resMap, err := g.Generate() - if err != nil { - return err - } - if resMap != nil { - err = resMap.AddOriginAnnotation(generators[i].Origin) - if err != nil { - return errors.Wrapf(err, "adding origin annotations for generator %v", g) - } - } - err = ra.AbsorbAll(resMap) - if err != nil { - return errors.Wrapf(err, "merging from generator %v", g) - } - } - return nil -} - -func (kt *KustTarget) configureExternalGenerators() ( - []*resmap.GeneratorWithProperties, error) { - ra := accumulator.MakeEmptyAccumulator() - var generatorPaths []string - for _, p := range kt.kustomization.Generators { - // handle inline generators - rm, err := kt.rFactory.NewResMapFromBytes([]byte(p)) - if err != nil { - // not an inline config - generatorPaths = append(generatorPaths, p) - continue - } - // inline config, track the origin - if kt.origin != nil { - resources := rm.Resources() - for _, r := range resources { - r.SetOrigin(kt.origin.Append(kt.kustFileName)) - rm.Replace(r) - } - } - ra.AppendAll(rm) - } - ra, err := kt.accumulateResources(ra, generatorPaths) - if err != nil { - return nil, err - } - return kt.pLdr.LoadGenerators(kt.ldr, kt.validator, ra.ResMap()) -} - -func (kt *KustTarget) runTransformers(ra *accumulator.ResAccumulator) error { - var r []*resmap.TransformerWithProperties - tConfig := ra.GetTransformerConfig() - lts, err := kt.configureBuiltinTransformers(tConfig) - if err != nil { - return err - } - r = append(r, lts...) - lts, err = kt.configureExternalTransformers(kt.kustomization.Transformers) - if err != nil { - return err - } - r = append(r, lts...) - return ra.Transform(newMultiTransformer(r)) -} - -func (kt *KustTarget) configureExternalTransformers(transformers []string) ([]*resmap.TransformerWithProperties, error) { - ra := accumulator.MakeEmptyAccumulator() - var transformerPaths []string - for _, p := range transformers { - // handle inline transformers - rm, err := kt.rFactory.NewResMapFromBytes([]byte(p)) - if err != nil { - // not an inline config - transformerPaths = append(transformerPaths, p) - continue - } - // inline config, track the origin - if kt.origin != nil { - resources := rm.Resources() - for _, r := range resources { - r.SetOrigin(kt.origin.Append(kt.kustFileName)) - rm.Replace(r) - } - } - ra.AppendAll(rm) - } - ra, err := kt.accumulateResources(ra, transformerPaths) - if err != nil { - return nil, err - } - return kt.pLdr.LoadTransformers(kt.ldr, kt.validator, ra.ResMap()) -} - -func (kt *KustTarget) runValidators(ra *accumulator.ResAccumulator) error { - validators, err := kt.configureExternalTransformers(kt.kustomization.Validators) - if err != nil { - return err - } - for _, v := range validators { - // Validators shouldn't modify the resource map - orignal := ra.ResMap().DeepCopy() - err = v.Transform(ra.ResMap()) - if err != nil { - return err - } - newMap := ra.ResMap().DeepCopy() - if err = kt.removeValidatedByLabel(newMap); err != nil { - return err - } - if err = orignal.ErrorIfNotEqualSets(newMap); err != nil { - return fmt.Errorf("validator shouldn't modify the resource map: %v", err) - } - } - return nil -} - -func (kt *KustTarget) removeValidatedByLabel(rm resmap.ResMap) error { - resources := rm.Resources() - for _, r := range resources { - labels := r.GetLabels() - if _, found := labels[konfig.ValidatedByLabelKey]; !found { - continue - } - delete(labels, konfig.ValidatedByLabelKey) - if err := r.SetLabels(labels); err != nil { - return err - } - } - return nil -} - -// accumulateResources fills the given resourceAccumulator -// with resources read from the given list of paths. -func (kt *KustTarget) accumulateResources( - ra *accumulator.ResAccumulator, paths []string) (*accumulator.ResAccumulator, error) { - for _, path := range paths { - // try loading resource as file then as base (directory or git repository) - if errF := kt.accumulateFile(ra, path); errF != nil { - // not much we can do if the error is an HTTP error so we bail out - if errors.Is(errF, load.ErrorHTTP) { - return nil, errF - } - if kusterr.IsMalformedYAMLError(errF) { // Some error occurred while tyring to decode YAML file - return nil, errF - } - ldr, err := kt.ldr.New(path) - if err != nil { - return nil, errors.Wrapf( - err, "accumulation err='%s'", errF.Error()) - } - // store the origin, we'll need it later - origin := kt.origin.Copy() - if kt.origin != nil { - kt.origin = kt.origin.Append(path) - ra, err = kt.accumulateDirectory(ra, ldr, false) - // after we are done recursing through the directory, reset the origin - kt.origin = &origin - } else { - ra, err = kt.accumulateDirectory(ra, ldr, false) - } - if err != nil { - return nil, errors.Wrapf( - err, "accumulation err='%s'", errF.Error()) - } - } - } - return ra, nil -} - -// accumulateResources fills the given resourceAccumulator -// with resources read from the given list of paths. -func (kt *KustTarget) accumulateComponents( - ra *accumulator.ResAccumulator, paths []string) (*accumulator.ResAccumulator, error) { - for _, path := range paths { - // Components always refer to directories - ldr, errL := kt.ldr.New(path) - if errL != nil { - return nil, fmt.Errorf("loader.New %q", errL) - } - var errD error - // store the origin, we'll need it later - origin := kt.origin.Copy() - if kt.origin != nil { - kt.origin = kt.origin.Append(path) - ra, errD = kt.accumulateDirectory(ra, ldr, true) - // after we are done recursing through the directory, reset the origin - kt.origin = &origin - } else { - ra, errD = kt.accumulateDirectory(ra, ldr, true) - } - if errD != nil { - return nil, fmt.Errorf("accumulateDirectory: %q", errD) - } - } - return ra, nil -} - -func (kt *KustTarget) accumulateDirectory( - ra *accumulator.ResAccumulator, ldr ifc.Loader, isComponent bool) (*accumulator.ResAccumulator, error) { - defer ldr.Cleanup() - subKt := NewKustTarget(ldr, kt.validator, kt.rFactory, kt.pLdr) - err := subKt.Load() - if err != nil { - return nil, errors.Wrapf( - err, "couldn't make target for path '%s'", ldr.Root()) - } - subKt.kustomization.BuildMetadata = kt.kustomization.BuildMetadata - subKt.origin = kt.origin - var bytes []byte - path := ldr.Root() - if openApiPath, exists := subKt.Kustomization().OpenAPI["path"]; exists { - bytes, err = ldr.Load(filepath.Join(path, openApiPath)) - if err != nil { - return nil, err - } - } - err = openapi.SetSchema(subKt.Kustomization().OpenAPI, bytes, false) - if err != nil { - return nil, err - } - if isComponent && subKt.kustomization.Kind != types.ComponentKind { - return nil, fmt.Errorf( - "expected kind '%s' for path '%s' but got '%s'", types.ComponentKind, ldr.Root(), subKt.kustomization.Kind) - } else if !isComponent && subKt.kustomization.Kind == types.ComponentKind { - return nil, fmt.Errorf( - "expected kind != '%s' for path '%s'", types.ComponentKind, ldr.Root()) - } - - var subRa *accumulator.ResAccumulator - if isComponent { - // Components don't create a new accumulator: the kustomization directives are added to the current accumulator - subRa, err = subKt.accumulateTarget(ra) - ra = accumulator.MakeEmptyAccumulator() - } else { - // Child Kustomizations create a new accumulator which resolves their kustomization directives, which will later - // be merged into the current accumulator. - subRa, err = subKt.AccumulateTarget() - } - if err != nil { - return nil, errors.Wrapf( - err, "recursed accumulation of path '%s'", ldr.Root()) - } - err = ra.MergeAccumulator(subRa) - if err != nil { - return nil, errors.Wrapf( - err, "recursed merging from path '%s'", ldr.Root()) - } - return ra, nil -} - -func (kt *KustTarget) accumulateFile( - ra *accumulator.ResAccumulator, path string) error { - resources, err := kt.rFactory.FromFile(kt.ldr, path) - if err != nil { - return errors.Wrapf(err, "accumulating resources from '%s'", path) - } - if kt.origin != nil { - originAnno, err := kt.origin.Append(path).String() - if err != nil { - return errors.Wrapf(err, "cannot add path annotation for '%s'", path) - } - err = resources.AnnotateAll(utils.OriginAnnotationKey, originAnno) - if err != nil || originAnno == "" { - return errors.Wrapf(err, "cannot add path annotation for '%s'", path) - } - } - err = ra.AppendAll(resources) - if err != nil { - return errors.Wrapf(err, "merging resources from '%s'", path) - } - return nil -} - -func (kt *KustTarget) configureBuiltinPlugin( - p resmap.Configurable, c interface{}, bpt builtinhelpers.BuiltinPluginType) (err error) { - var y []byte - if c != nil { - y, err = yaml.Marshal(c) - if err != nil { - return errors.Wrapf( - err, "builtin %s marshal", bpt) - } - } - err = p.Config( - resmap.NewPluginHelpers( - kt.ldr, kt.validator, kt.rFactory, kt.pLdr.Config()), - y) - if err != nil { - return errors.Wrapf( - err, "trouble configuring builtin %s with config: `\n%s`", bpt, string(y)) - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget_configplugin.go b/vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget_configplugin.go deleted file mode 100644 index 5ad0fc49..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/target/kusttarget_configplugin.go +++ /dev/null @@ -1,438 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package target - -import ( - "fmt" - "path/filepath" - - "sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig" - "sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Functions dedicated to configuring the builtin -// transformer and generator plugins using config data -// read from a kustomization file and from the -// config.TransformerConfig, whose data may be a -// mix of hardcoded values and data read from file. -// -// Non-builtin plugins will get their configuration -// from their own dedicated structs and YAML files. -// -// There are some loops in the functions below because -// the kustomization file would, say, allow someone to -// request multiple secrets be made, or run multiple -// image tag transforms. In these cases, we'll need -// N plugin instances with differing configurations. - -func (kt *KustTarget) configureBuiltinGenerators() ( - result []*resmap.GeneratorWithProperties, err error) { - for _, bpt := range []builtinhelpers.BuiltinPluginType{ - builtinhelpers.ConfigMapGenerator, - builtinhelpers.SecretGenerator, - builtinhelpers.HelmChartInflationGenerator, - } { - r, err := generatorConfigurators[bpt]( - kt, bpt, builtinhelpers.GeneratorFactories[bpt]) - if err != nil { - return nil, err - } - - var generatorOrigin *resource.Origin - if kt.origin != nil { - generatorOrigin = &resource.Origin{ - Repo: kt.origin.Repo, - Ref: kt.origin.Ref, - ConfiguredIn: filepath.Join(kt.origin.Path, kt.kustFileName), - ConfiguredBy: yaml.ResourceIdentifier{ - TypeMeta: yaml.TypeMeta{ - APIVersion: "builtin", - Kind: bpt.String(), - }, - }, - } - } - - for i := range r { - result = append(result, &resmap.GeneratorWithProperties{Generator: r[i], Origin: generatorOrigin}) - } - } - return result, nil -} - -func (kt *KustTarget) configureBuiltinTransformers( - tc *builtinconfig.TransformerConfig) ( - result []*resmap.TransformerWithProperties, err error) { - for _, bpt := range []builtinhelpers.BuiltinPluginType{ - builtinhelpers.PatchStrategicMergeTransformer, - builtinhelpers.PatchTransformer, - builtinhelpers.NamespaceTransformer, - builtinhelpers.PrefixTransformer, - builtinhelpers.SuffixTransformer, - builtinhelpers.LabelTransformer, - builtinhelpers.AnnotationsTransformer, - builtinhelpers.PatchJson6902Transformer, - builtinhelpers.ReplicaCountTransformer, - builtinhelpers.ImageTagTransformer, - builtinhelpers.ReplacementTransformer, - } { - r, err := transformerConfigurators[bpt]( - kt, bpt, builtinhelpers.TransformerFactories[bpt], tc) - if err != nil { - return nil, err - } - var transformerOrigin *resource.Origin - if kt.origin != nil { - transformerOrigin = &resource.Origin{ - Repo: kt.origin.Repo, - Ref: kt.origin.Ref, - ConfiguredIn: filepath.Join(kt.origin.Path, kt.kustFileName), - ConfiguredBy: yaml.ResourceIdentifier{ - TypeMeta: yaml.TypeMeta{ - APIVersion: "builtin", - Kind: bpt.String(), - }, - }, - } - } - for i := range r { - result = append(result, &resmap.TransformerWithProperties{Transformer: r[i], Origin: transformerOrigin}) - } - } - return result, nil -} - -type gFactory func() resmap.GeneratorPlugin - -var generatorConfigurators = map[builtinhelpers.BuiltinPluginType]func( - kt *KustTarget, - bpt builtinhelpers.BuiltinPluginType, - factory gFactory) (result []resmap.Generator, err error){ - builtinhelpers.SecretGenerator: func(kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f gFactory) ( - result []resmap.Generator, err error) { - var c struct { - types.SecretArgs - } - for _, args := range kt.kustomization.SecretGenerator { - c.SecretArgs = args - c.SecretArgs.Options = types.MergeGlobalOptionsIntoLocal( - c.SecretArgs.Options, kt.kustomization.GeneratorOptions) - p := f() - err := kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - return - }, - - builtinhelpers.ConfigMapGenerator: func(kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f gFactory) ( - result []resmap.Generator, err error) { - var c struct { - types.ConfigMapArgs - } - for _, args := range kt.kustomization.ConfigMapGenerator { - c.ConfigMapArgs = args - c.ConfigMapArgs.Options = types.MergeGlobalOptionsIntoLocal( - c.ConfigMapArgs.Options, kt.kustomization.GeneratorOptions) - p := f() - err := kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - return - }, - - builtinhelpers.HelmChartInflationGenerator: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f gFactory) ( - result []resmap.Generator, err error) { - var c struct { - types.HelmGlobals - types.HelmChart - } - var globals types.HelmGlobals - if kt.kustomization.HelmGlobals != nil { - globals = *kt.kustomization.HelmGlobals - } - for _, chart := range kt.kustomization.HelmCharts { - c.HelmGlobals = globals - c.HelmChart = chart - p := f() - if err = kt.configureBuiltinPlugin(p, c, bpt); err != nil { - return nil, err - } - result = append(result, p) - } - return - }, -} - -type tFactory func() resmap.TransformerPlugin - -var transformerConfigurators = map[builtinhelpers.BuiltinPluginType]func( - kt *KustTarget, - bpt builtinhelpers.BuiltinPluginType, - f tFactory, - tc *builtinconfig.TransformerConfig) (result []resmap.Transformer, err error){ - builtinhelpers.NamespaceTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if kt.kustomization.Namespace == "" { - return - } - var c struct { - types.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - FieldSpecs []types.FieldSpec - } - c.Namespace = kt.kustomization.Namespace - c.FieldSpecs = tc.NameSpace - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return - }, - - builtinhelpers.PatchJson6902Transformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, _ *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - var c struct { - Target *types.Selector `json:"target,omitempty" yaml:"target,omitempty"` - Path string `json:"path,omitempty" yaml:"path,omitempty"` - JsonOp string `json:"jsonOp,omitempty" yaml:"jsonOp,omitempty"` - } - for _, args := range kt.kustomization.PatchesJson6902 { - c.Target = args.Target - c.Path = args.Path - c.JsonOp = args.Patch - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - return - }, - builtinhelpers.PatchStrategicMergeTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, _ *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if len(kt.kustomization.PatchesStrategicMerge) == 0 { - return - } - var c struct { - Paths []types.PatchStrategicMerge `json:"paths,omitempty" yaml:"paths,omitempty"` - } - c.Paths = kt.kustomization.PatchesStrategicMerge - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return - }, - builtinhelpers.PatchTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, _ *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if len(kt.kustomization.Patches) == 0 { - return - } - var c struct { - Path string `json:"path,omitempty" yaml:"path,omitempty"` - Patch string `json:"patch,omitempty" yaml:"patch,omitempty"` - Target *types.Selector `json:"target,omitempty" yaml:"target,omitempty"` - Options map[string]bool `json:"options,omitempty" yaml:"options,omitempty"` - } - for _, pc := range kt.kustomization.Patches { - c.Target = pc.Target - c.Patch = pc.Patch - c.Path = pc.Path - c.Options = pc.Options - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - return - }, - builtinhelpers.LabelTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if len(kt.kustomization.Labels) == 0 && len(kt.kustomization.CommonLabels) == 0 { - return - } - for _, label := range kt.kustomization.Labels { - var c struct { - Labels map[string]string - FieldSpecs []types.FieldSpec - } - c.Labels = label.Pairs - fss := types.FsSlice(label.FieldSpecs) - // merge the custom fieldSpecs with the default - if label.IncludeSelectors { - fss, err = fss.MergeAll(tc.CommonLabels) - } else { - // only add to metadata by default - fss, err = fss.MergeOne(types.FieldSpec{Path: "metadata/labels", CreateIfNotPresent: true}) - } - if err != nil { - return nil, err - } - c.FieldSpecs = fss - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - var c struct { - Labels map[string]string - FieldSpecs []types.FieldSpec - } - c.Labels = kt.kustomization.CommonLabels - c.FieldSpecs = tc.CommonLabels - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return - }, - builtinhelpers.AnnotationsTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if len(kt.kustomization.CommonAnnotations) == 0 { - return - } - var c struct { - Annotations map[string]string - FieldSpecs []types.FieldSpec - } - c.Annotations = kt.kustomization.CommonAnnotations - c.FieldSpecs = tc.CommonAnnotations - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return - }, - builtinhelpers.PrefixTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if kt.kustomization.NamePrefix == "" { - return - } - var c struct { - Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` - } - c.Prefix = kt.kustomization.NamePrefix - c.FieldSpecs = tc.NamePrefix - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return - }, - builtinhelpers.SuffixTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if kt.kustomization.NameSuffix == "" { - return - } - var c struct { - Suffix string `json:"suffix,omitempty" yaml:"suffix,omitempty"` - FieldSpecs []types.FieldSpec `json:"fieldSpecs,omitempty" yaml:"fieldSpecs,omitempty"` - } - c.Suffix = kt.kustomization.NameSuffix - c.FieldSpecs = tc.NameSuffix - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return - }, - builtinhelpers.ImageTagTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - var c struct { - ImageTag types.Image - FieldSpecs []types.FieldSpec - } - for _, args := range kt.kustomization.Images { - c.ImageTag = args - c.FieldSpecs = tc.Images - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - return - }, - builtinhelpers.ReplacementTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, _ *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - if len(kt.kustomization.Replacements) == 0 { - return - } - var c struct { - Replacements []types.ReplacementField - } - c.Replacements = kt.kustomization.Replacements - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - return result, nil - }, - builtinhelpers.ReplicaCountTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - var c struct { - Replica types.Replica - FieldSpecs []types.FieldSpec - } - for _, args := range kt.kustomization.Replicas { - c.Replica = args - c.FieldSpecs = tc.Replicas - p := f() - err = kt.configureBuiltinPlugin(p, c, bpt) - if err != nil { - return nil, err - } - result = append(result, p) - } - return - }, - // No kustomization file keyword for this yet. - builtinhelpers.ValueAddTransformer: func( - kt *KustTarget, bpt builtinhelpers.BuiltinPluginType, f tFactory, tc *builtinconfig.TransformerConfig) ( - result []resmap.Transformer, err error) { - return nil, fmt.Errorf("valueadd keyword not yet defined") - }, -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/target/multitransformer.go b/vendor/sigs.k8s.io/kustomize/api/internal/target/multitransformer.go deleted file mode 100644 index 3bc0a871..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/target/multitransformer.go +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package target - -import ( - "sigs.k8s.io/kustomize/api/resmap" -) - -// multiTransformer contains a list of transformers. -type multiTransformer struct { - transformers []*resmap.TransformerWithProperties -} - -var _ resmap.Transformer = &multiTransformer{} - -// newMultiTransformer constructs a multiTransformer. -func newMultiTransformer(t []*resmap.TransformerWithProperties) resmap.Transformer { - r := &multiTransformer{ - transformers: make([]*resmap.TransformerWithProperties, len(t)), - } - copy(r.transformers, t) - return r -} - -// Transform applies the member transformers in order to the resources, -// optionally detecting and erroring on commutation conflict. -func (o *multiTransformer) Transform(m resmap.ResMap) error { - for _, t := range o.transformers { - if err := t.Transform(m); err != nil { - return err - } - if t.Origin != nil { - if err := m.AddTransformerAnnotation(t.Origin); err != nil { - return err - } - } - m.DropEmpties() - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/utils/annotations.go b/vendor/sigs.k8s.io/kustomize/api/internal/utils/annotations.go deleted file mode 100644 index 34f3553a..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/utils/annotations.go +++ /dev/null @@ -1,26 +0,0 @@ -package utils - -import "sigs.k8s.io/kustomize/api/konfig" - -const ( - // build annotations - BuildAnnotationPreviousKinds = konfig.ConfigAnnoDomain + "/previousKinds" - BuildAnnotationPreviousNames = konfig.ConfigAnnoDomain + "/previousNames" - BuildAnnotationPrefixes = konfig.ConfigAnnoDomain + "/prefixes" - BuildAnnotationSuffixes = konfig.ConfigAnnoDomain + "/suffixes" - BuildAnnotationPreviousNamespaces = konfig.ConfigAnnoDomain + "/previousNamespaces" - BuildAnnotationsRefBy = konfig.ConfigAnnoDomain + "/refBy" - BuildAnnotationsGenBehavior = konfig.ConfigAnnoDomain + "/generatorBehavior" - BuildAnnotationsGenAddHashSuffix = konfig.ConfigAnnoDomain + "/needsHashSuffix" - - // the following are only for patches, to specify whether they can change names - // and kinds of their targets - BuildAnnotationAllowNameChange = konfig.ConfigAnnoDomain + "/allowNameChange" - BuildAnnotationAllowKindChange = konfig.ConfigAnnoDomain + "/allowKindChange" - - // for keeping track of origin and transformer data - OriginAnnotationKey = "config.kubernetes.io/origin" - TransformerAnnotationKey = "alpha.config.kubernetes.io/transformations" - - Enabled = "enabled" -) diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/utils/errtimeout.go b/vendor/sigs.k8s.io/kustomize/api/internal/utils/errtimeout.go deleted file mode 100644 index 24b8abe6..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/utils/errtimeout.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package utils - -import ( - "fmt" - "time" - - "github.com/pkg/errors" -) - -type errTimeOut struct { - duration time.Duration - cmd string -} - -func NewErrTimeOut(d time.Duration, c string) errTimeOut { - return errTimeOut{duration: d, cmd: c} -} - -func (e errTimeOut) Error() string { - return fmt.Sprintf("hit %s timeout running '%s'", e.duration, e.cmd) -} - -func IsErrTimeout(err error) bool { - if err == nil { - return false - } - _, ok := err.(errTimeOut) - if ok { - return true - } - _, ok = errors.Cause(err).(errTimeOut) - return ok -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/utils/makeResIds.go b/vendor/sigs.k8s.io/kustomize/api/internal/utils/makeResIds.go deleted file mode 100644 index 17f25168..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/utils/makeResIds.go +++ /dev/null @@ -1,64 +0,0 @@ -package utils - -import ( - "fmt" - "strings" - - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// MakeResIds returns all of an RNode's current and previous Ids -func MakeResIds(n *yaml.RNode) ([]resid.ResId, error) { - var result []resid.ResId - apiVersion := n.Field(yaml.APIVersionField) - var group, version string - if apiVersion != nil { - group, version = resid.ParseGroupVersion(yaml.GetValue(apiVersion.Value)) - } - result = append(result, resid.NewResIdWithNamespace( - resid.Gvk{Group: group, Version: version, Kind: n.GetKind()}, n.GetName(), n.GetNamespace()), - ) - prevIds, err := PrevIds(n) - if err != nil { - return nil, err - } - result = append(result, prevIds...) - return result, nil -} - -// PrevIds returns all of an RNode's previous Ids -func PrevIds(n *yaml.RNode) ([]resid.ResId, error) { - var ids []resid.ResId - // TODO: merge previous names and namespaces into one list of - // pairs on one annotation so there is no chance of error - annotations := n.GetAnnotations() - if _, ok := annotations[BuildAnnotationPreviousNames]; !ok { - return nil, nil - } - names := strings.Split(annotations[BuildAnnotationPreviousNames], ",") - ns := strings.Split(annotations[BuildAnnotationPreviousNamespaces], ",") - kinds := strings.Split(annotations[BuildAnnotationPreviousKinds], ",") - // This should never happen - if len(names) != len(ns) || len(names) != len(kinds) { - return nil, fmt.Errorf( - "number of previous names, " + - "number of previous namespaces, " + - "number of previous kinds not equal") - } - for i := range names { - meta, err := n.GetMeta() - if err != nil { - return nil, err - } - group, version := resid.ParseGroupVersion(meta.APIVersion) - gvk := resid.Gvk{ - Group: group, - Version: version, - Kind: kinds[i], - } - ids = append(ids, resid.NewResIdWithNamespace( - gvk, names[i], ns[i])) - } - return ids, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/utils/pathsplitter.go b/vendor/sigs.k8s.io/kustomize/api/internal/utils/pathsplitter.go deleted file mode 100644 index aa560299..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/utils/pathsplitter.go +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package utils - -import "strings" - -// TODO: Move these to kyaml - -// PathSplitter splits a delimited string, permitting escaped delimiters. -func PathSplitter(path string, delimiter string) []string { - ps := strings.Split(path, delimiter) - var res []string - res = append(res, ps[0]) - for i := 1; i < len(ps); i++ { - last := len(res) - 1 - if strings.HasSuffix(res[last], `\`) { - res[last] = strings.TrimSuffix(res[last], `\`) + delimiter + ps[i] - } else { - res = append(res, ps[i]) - } - } - return res -} - -// SmarterPathSplitter splits a path, retaining bracketed elements. -// If the element is a list entry identifier (defined by the '='), -// it will retain the brackets. -// E.g. "[name=com.foo.someapp]" survives as one thing after splitting -// "spec.template.spec.containers.[name=com.foo.someapp].image" -// See kyaml/yaml/match.go for use of list entry identifiers. -// If the element is a mapping entry identifier, it will remove the -// brackets. -// E.g. "a.b.c" survives as one thing after splitting -// "metadata.annotations.[a.b.c] -// This function uses `PathSplitter`, so it also respects escaped delimiters. -func SmarterPathSplitter(path string, delimiter string) []string { - var result []string - split := PathSplitter(path, delimiter) - - for i := 0; i < len(split); i++ { - elem := split[i] - if strings.HasPrefix(elem, "[") && !strings.HasSuffix(elem, "]") { - // continue until we find the matching "]" - bracketed := []string{elem} - for i < len(split)-1 { - i++ - bracketed = append(bracketed, split[i]) - if strings.HasSuffix(split[i], "]") { - break - } - } - bracketedStr := strings.Join(bracketed, delimiter) - if strings.Contains(bracketedStr, "=") { - result = append(result, bracketedStr) - } else { - result = append(result, strings.Trim(bracketedStr, "[]")) - } - } else { - result = append(result, elem) - } - } - return result -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/utils/stringslice.go b/vendor/sigs.k8s.io/kustomize/api/internal/utils/stringslice.go deleted file mode 100644 index 3dc42272..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/utils/stringslice.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package utils - -// StringSliceIndex returns the index of the str, else -1. -func StringSliceIndex(slice []string, str string) int { - for i := range slice { - if slice[i] == str { - return i - } - } - return -1 -} - -// StringSliceContains returns true if the slice has the string. -func StringSliceContains(slice []string, str string) bool { - for _, s := range slice { - if s == str { - return true - } - } - return false -} - -// SameEndingSubSlice returns true if the slices end the same way, e.g. -// {"a", "b", "c"}, {"b", "c"} => true -// {"a", "b", "c"}, {"a", "b"} => false -// If one slice is empty and the other is not, return false. -func SameEndingSubSlice(shortest, longest []string) bool { - if len(shortest) > len(longest) { - longest, shortest = shortest, longest - } - diff := len(longest) - len(shortest) - if len(shortest) == 0 { - return diff == 0 - } - for i := len(shortest) - 1; i >= 0; i-- { - if longest[i+diff] != shortest[i] { - return false - } - } - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/utils/timedcall.go b/vendor/sigs.k8s.io/kustomize/api/internal/utils/timedcall.go deleted file mode 100644 index 0afadd0c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/utils/timedcall.go +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package utils - -import ( - "time" -) - -// TimedCall runs fn, failing if it doesn't complete in the given duration. -// The description is used in the timeout error message. -func TimedCall(description string, d time.Duration, fn func() error) error { - done := make(chan error) - timer := time.NewTimer(d) - defer timer.Stop() - go func() { done <- fn() }() - select { - case err := <-done: - return err - case <-timer.C: - return NewErrTimeOut(d, description) - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/internal/validate/fieldvalidator.go b/vendor/sigs.k8s.io/kustomize/api/internal/validate/fieldvalidator.go deleted file mode 100644 index 5ccfc3ce..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/internal/validate/fieldvalidator.go +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package validate - -import ( - "sigs.k8s.io/kustomize/api/ifc" -) - -// FieldValidator implements ifc.Validator to check -// the values of various KRM string fields, -// e.g. labels, annotations, names, namespaces. -// -// TODO: Have this use kyaml/yaml/internal/k8sgen/pkg/labels -// which has label and annotation validation code, but is internal -// so this impl would need to move to kyaml (a fine idea). -type FieldValidator struct { -} - -var _ ifc.Validator = (*FieldValidator)(nil) - -func NewFieldValidator() *FieldValidator { - return &FieldValidator{} -} - -// TODO(#FieldValidator): implement MakeAnnotationValidator -func (f FieldValidator) MakeAnnotationValidator() func(map[string]string) error { - return func(x map[string]string) error { - return nil - } -} - -// TODO(#FieldValidator): implement MakeAnnotationNameValidator -func (f FieldValidator) MakeAnnotationNameValidator() func([]string) error { - return func(x []string) error { - return nil - } -} - -// TODO(#FieldValidator): implement MakeLabelValidator -func (f FieldValidator) MakeLabelValidator() func(map[string]string) error { - return func(x map[string]string) error { - return nil - } -} - -// TODO(#FieldValidator): implement MakeLabelNameValidator -func (f FieldValidator) MakeLabelNameValidator() func([]string) error { - return func(x []string) error { - return nil - } -} - -// TODO(#FieldValidator): implement ValidateNamespace -func (f FieldValidator) ValidateNamespace(s string) []string { - var errs []string - return errs -} - -// TODO(#FieldValidator): implement ErrIfInvalidKey -func (f FieldValidator) ErrIfInvalidKey(s string) error { - return nil -} - -// TODO(#FieldValidator): implement IsEnvVarName -func (f FieldValidator) IsEnvVarName(k string) error { - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonannotations.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonannotations.go deleted file mode 100644 index 97c1d6b2..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonannotations.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const commonAnnotationFieldSpecs = ` -commonAnnotations: -- path: metadata/annotations - create: true - -- path: spec/template/metadata/annotations - create: true - version: v1 - kind: ReplicationController - -- path: spec/template/metadata/annotations - create: true - kind: Deployment - -- path: spec/template/metadata/annotations - create: true - kind: ReplicaSet - -- path: spec/template/metadata/annotations - create: true - kind: DaemonSet - -- path: spec/template/metadata/annotations - create: true - kind: StatefulSet - -- path: spec/template/metadata/annotations - create: true - group: batch - kind: Job - -- path: spec/jobTemplate/metadata/annotations - create: true - group: batch - kind: CronJob - -- path: spec/jobTemplate/spec/template/metadata/annotations - create: true - group: batch - kind: CronJob - -` diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonlabels.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonlabels.go deleted file mode 100644 index 7775a544..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/commonlabels.go +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const commonLabelFieldSpecs = ` -commonLabels: -- path: metadata/labels - create: true - -- path: spec/selector - create: true - version: v1 - kind: Service - -- path: spec/selector - create: true - version: v1 - kind: ReplicationController - -- path: spec/template/metadata/labels - create: true - version: v1 - kind: ReplicationController - -- path: spec/selector/matchLabels - create: true - kind: Deployment - -- path: spec/template/metadata/labels - create: true - kind: Deployment - -- path: spec/template/spec/affinity/podAffinity/preferredDuringSchedulingIgnoredDuringExecution/podAffinityTerm/labelSelector/matchLabels - create: false - group: apps - kind: Deployment - -- path: spec/template/spec/affinity/podAffinity/requiredDuringSchedulingIgnoredDuringExecution/labelSelector/matchLabels - create: false - group: apps - kind: Deployment - -- path: spec/template/spec/affinity/podAntiAffinity/preferredDuringSchedulingIgnoredDuringExecution/podAffinityTerm/labelSelector/matchLabels - create: false - group: apps - kind: Deployment - -- path: spec/template/spec/affinity/podAntiAffinity/requiredDuringSchedulingIgnoredDuringExecution/labelSelector/matchLabels - create: false - group: apps - kind: Deployment - -- path: spec/template/spec/topologySpreadConstraints/labelSelector/matchLabels - create: false - group: apps - kind: Deployment - -- path: spec/selector/matchLabels - create: true - kind: ReplicaSet - -- path: spec/template/metadata/labels - create: true - kind: ReplicaSet - -- path: spec/selector/matchLabels - create: true - kind: DaemonSet - -- path: spec/template/metadata/labels - create: true - kind: DaemonSet - -- path: spec/selector/matchLabels - create: true - group: apps - kind: StatefulSet - -- path: spec/template/metadata/labels - create: true - group: apps - kind: StatefulSet - -- path: spec/template/spec/affinity/podAffinity/preferredDuringSchedulingIgnoredDuringExecution/podAffinityTerm/labelSelector/matchLabels - create: false - group: apps - kind: StatefulSet - -- path: spec/template/spec/affinity/podAffinity/requiredDuringSchedulingIgnoredDuringExecution/labelSelector/matchLabels - create: false - group: apps - kind: StatefulSet - -- path: spec/template/spec/affinity/podAntiAffinity/preferredDuringSchedulingIgnoredDuringExecution/podAffinityTerm/labelSelector/matchLabels - create: false - group: apps - kind: StatefulSet - -- path: spec/template/spec/affinity/podAntiAffinity/requiredDuringSchedulingIgnoredDuringExecution/labelSelector/matchLabels - create: false - group: apps - kind: StatefulSet - -- path: spec/template/spec/topologySpreadConstraints/labelSelector/matchLabels - create: false - group: apps - kind: StatefulSet - -- path: spec/volumeClaimTemplates[]/metadata/labels - create: true - group: apps - kind: StatefulSet - -- path: spec/selector/matchLabels - create: false - group: batch - kind: Job - -- path: spec/template/metadata/labels - create: true - group: batch - kind: Job - -- path: spec/jobTemplate/spec/selector/matchLabels - create: false - group: batch - kind: CronJob - -- path: spec/jobTemplate/metadata/labels - create: true - group: batch - kind: CronJob - -- path: spec/jobTemplate/spec/template/metadata/labels - create: true - group: batch - kind: CronJob - -- path: spec/selector/matchLabels - create: false - group: policy - kind: PodDisruptionBudget - -- path: spec/podSelector/matchLabels - create: false - group: networking.k8s.io - kind: NetworkPolicy - -- path: spec/ingress/from/podSelector/matchLabels - create: false - group: networking.k8s.io - kind: NetworkPolicy - -- path: spec/egress/to/podSelector/matchLabels - create: false - group: networking.k8s.io - kind: NetworkPolicy -` diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/defaultconfig.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/defaultconfig.go deleted file mode 100644 index 29673d76..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/defaultconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -import ( - "bytes" -) - -// GetDefaultFieldSpecs returns default fieldSpecs. -func GetDefaultFieldSpecs() []byte { - configData := [][]byte{ - []byte(namePrefixFieldSpecs), - []byte(nameSuffixFieldSpecs), - []byte(commonLabelFieldSpecs), - []byte(commonAnnotationFieldSpecs), - []byte(namespaceFieldSpecs), - []byte(varReferenceFieldSpecs), - []byte(nameReferenceFieldSpecs), - []byte(imagesFieldSpecs), - []byte(replicasFieldSpecs), - } - return bytes.Join(configData, []byte("\n")) -} - -// GetDefaultFieldSpecsAsMap returns default fieldSpecs -// as a string->string map. -func GetDefaultFieldSpecsAsMap() map[string]string { - result := make(map[string]string) - result["nameprefix"] = namePrefixFieldSpecs - result["namesuffix"] = nameSuffixFieldSpecs - result["commonlabels"] = commonLabelFieldSpecs - result["commonannotations"] = commonAnnotationFieldSpecs - result["namespace"] = namespaceFieldSpecs - result["varreference"] = varReferenceFieldSpecs - result["namereference"] = nameReferenceFieldSpecs - result["images"] = imagesFieldSpecs - result["replicas"] = replicasFieldSpecs - return result -} diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/doc.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/doc.go deleted file mode 100644 index 4b7b5faa..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/doc.go +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package builtinpluginconsts provides builtin plugin -// configuration data. Builtin plugins can also be -// configured individually with plugin config files, -// in which case the constants in this package are ignored. -package builtinpluginconsts diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/images.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/images.go deleted file mode 100644 index b8d8bf1e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/images.go +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const ( - imagesFieldSpecs = ` -images: -- path: spec/containers[]/image - create: true -- path: spec/initContainers[]/image - create: true -- path: spec/template/spec/containers[]/image - create: true -- path: spec/template/spec/initContainers[]/image - create: true -` -) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/nameprefix.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/nameprefix.go deleted file mode 100644 index 59a25a61..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/nameprefix.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const ( - namePrefixFieldSpecs = ` -namePrefix: -- path: metadata/name -` -) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namereference.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namereference.go deleted file mode 100644 index 658b0c34..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namereference.go +++ /dev/null @@ -1,427 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -// LINT.IfChange -const ( - nameReferenceFieldSpecs = ` -nameReference: -- kind: Deployment - fieldSpecs: - - path: spec/scaleTargetRef/name - kind: HorizontalPodAutoscaler - -- kind: ReplicationController - fieldSpecs: - - path: spec/scaleTargetRef/name - kind: HorizontalPodAutoscaler - -- kind: ReplicaSet - fieldSpecs: - - path: spec/scaleTargetRef/name - kind: HorizontalPodAutoscaler - -- kind: StatefulSet - fieldSpecs: - - path: spec/scaleTargetRef/name - kind: HorizontalPodAutoscaler - -- kind: ConfigMap - version: v1 - fieldSpecs: - - path: spec/volumes/configMap/name - version: v1 - kind: Pod - - path: spec/containers/env/valueFrom/configMapKeyRef/name - version: v1 - kind: Pod - - path: spec/initContainers/env/valueFrom/configMapKeyRef/name - version: v1 - kind: Pod - - path: spec/containers/envFrom/configMapRef/name - version: v1 - kind: Pod - - path: spec/initContainers/envFrom/configMapRef/name - version: v1 - kind: Pod - - path: spec/volumes/projected/sources/configMap/name - version: v1 - kind: Pod - - path: template/spec/volumes/configMap/name - kind: PodTemplate - - path: template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: PodTemplate - - path: template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: PodTemplate - - path: template/spec/containers/envFrom/configMapRef/name - kind: PodTemplate - - path: template/spec/initContainers/envFrom/configMapRef/name - kind: PodTemplate - - path: template/spec/volumes/projected/sources/configMap/name - kind: PodTemplate - - path: spec/template/spec/volumes/configMap/name - kind: Deployment - - path: spec/template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: Deployment - - path: spec/template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: Deployment - - path: spec/template/spec/containers/envFrom/configMapRef/name - kind: Deployment - - path: spec/template/spec/initContainers/envFrom/configMapRef/name - kind: Deployment - - path: spec/template/spec/volumes/projected/sources/configMap/name - kind: Deployment - - path: spec/template/spec/volumes/configMap/name - kind: ReplicaSet - - path: spec/template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: ReplicaSet - - path: spec/template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: ReplicaSet - - path: spec/template/spec/containers/envFrom/configMapRef/name - kind: ReplicaSet - - path: spec/template/spec/initContainers/envFrom/configMapRef/name - kind: ReplicaSet - - path: spec/template/spec/volumes/projected/sources/configMap/name - kind: ReplicaSet - - path: spec/template/spec/volumes/configMap/name - kind: DaemonSet - - path: spec/template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: DaemonSet - - path: spec/template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: DaemonSet - - path: spec/template/spec/containers/envFrom/configMapRef/name - kind: DaemonSet - - path: spec/template/spec/initContainers/envFrom/configMapRef/name - kind: DaemonSet - - path: spec/template/spec/volumes/projected/sources/configMap/name - kind: DaemonSet - - path: spec/template/spec/volumes/configMap/name - kind: StatefulSet - - path: spec/template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: StatefulSet - - path: spec/template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: StatefulSet - - path: spec/template/spec/containers/envFrom/configMapRef/name - kind: StatefulSet - - path: spec/template/spec/initContainers/envFrom/configMapRef/name - kind: StatefulSet - - path: spec/template/spec/volumes/projected/sources/configMap/name - kind: StatefulSet - - path: spec/template/spec/volumes/configMap/name - kind: Job - - path: spec/template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: Job - - path: spec/template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: Job - - path: spec/template/spec/containers/envFrom/configMapRef/name - kind: Job - - path: spec/template/spec/initContainers/envFrom/configMapRef/name - kind: Job - - path: spec/template/spec/volumes/projected/sources/configMap/name - kind: Job - - path: spec/jobTemplate/spec/template/spec/volumes/configMap/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/volumes/projected/sources/configMap/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/containers/env/valueFrom/configMapKeyRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/initContainers/env/valueFrom/configMapKeyRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/containers/envFrom/configMapRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/initContainers/envFrom/configMapRef/name - kind: CronJob - - path: spec/configSource/configMap - kind: Node - - path: rules/resourceNames - kind: Role - - path: rules/resourceNames - kind: ClusterRole - - path: metadata/annotations/nginx.ingress.kubernetes.io\/fastcgi-params-configmap - kind: Ingress - -- kind: Secret - version: v1 - fieldSpecs: - - path: spec/volumes/secret/secretName - version: v1 - kind: Pod - - path: spec/containers/env/valueFrom/secretKeyRef/name - version: v1 - kind: Pod - - path: spec/initContainers/env/valueFrom/secretKeyRef/name - version: v1 - kind: Pod - - path: spec/containers/envFrom/secretRef/name - version: v1 - kind: Pod - - path: spec/initContainers/envFrom/secretRef/name - version: v1 - kind: Pod - - path: spec/imagePullSecrets/name - version: v1 - kind: Pod - - path: spec/volumes/projected/sources/secret/name - version: v1 - kind: Pod - - path: template/spec/volumes/secret/secretName - kind: PodTemplate - - path: template/spec/containers/env/valueFrom/secretKeyRef/name - kind: PodTemplate - - path: template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: PodTemplate - - path: template/spec/containers/envFrom/secretRef/name - kind: PodTemplate - - path: template/spec/initContainers/envFrom/secretRef/name - kind: PodTemplate - - path: template/spec/imagePullSecrets/name - kind: PodTemplate - - path: template/spec/volumes/projected/sources/secret/name - kind: PodTemplate - - path: spec/template/spec/volumes/secret/secretName - kind: Deployment - - path: spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: Deployment - - path: spec/template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: Deployment - - path: spec/template/spec/containers/envFrom/secretRef/name - kind: Deployment - - path: spec/template/spec/initContainers/envFrom/secretRef/name - kind: Deployment - - path: spec/template/spec/imagePullSecrets/name - kind: Deployment - - path: spec/template/spec/volumes/projected/sources/secret/name - kind: Deployment - - path: spec/template/spec/volumes/secret/secretName - kind: ReplicaSet - - path: spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: ReplicaSet - - path: spec/template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: ReplicaSet - - path: spec/template/spec/containers/envFrom/secretRef/name - kind: ReplicaSet - - path: spec/template/spec/initContainers/envFrom/secretRef/name - kind: ReplicaSet - - path: spec/template/spec/imagePullSecrets/name - kind: ReplicaSet - - path: spec/template/spec/volumes/projected/sources/secret/name - kind: ReplicaSet - - path: spec/template/spec/volumes/secret/secretName - kind: DaemonSet - - path: spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: DaemonSet - - path: spec/template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: DaemonSet - - path: spec/template/spec/containers/envFrom/secretRef/name - kind: DaemonSet - - path: spec/template/spec/initContainers/envFrom/secretRef/name - kind: DaemonSet - - path: spec/template/spec/imagePullSecrets/name - kind: DaemonSet - - path: spec/template/spec/volumes/projected/sources/secret/name - kind: DaemonSet - - path: spec/template/spec/volumes/secret/secretName - kind: StatefulSet - - path: spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: StatefulSet - - path: spec/template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: StatefulSet - - path: spec/template/spec/containers/envFrom/secretRef/name - kind: StatefulSet - - path: spec/template/spec/initContainers/envFrom/secretRef/name - kind: StatefulSet - - path: spec/template/spec/imagePullSecrets/name - kind: StatefulSet - - path: spec/template/spec/volumes/projected/sources/secret/name - kind: StatefulSet - - path: spec/template/spec/volumes/secret/secretName - kind: Job - - path: spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: Job - - path: spec/template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: Job - - path: spec/template/spec/containers/envFrom/secretRef/name - kind: Job - - path: spec/template/spec/initContainers/envFrom/secretRef/name - kind: Job - - path: spec/template/spec/imagePullSecrets/name - kind: Job - - path: spec/template/spec/volumes/projected/sources/secret/name - kind: Job - - path: spec/jobTemplate/spec/template/spec/volumes/secret/secretName - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/volumes/projected/sources/secret/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/initContainers/env/valueFrom/secretKeyRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/containers/envFrom/secretRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/initContainers/envFrom/secretRef/name - kind: CronJob - - path: spec/jobTemplate/spec/template/spec/imagePullSecrets/name - kind: CronJob - - path: spec/tls/secretName - kind: Ingress - - path: metadata/annotations/ingress.kubernetes.io\/auth-secret - kind: Ingress - - path: metadata/annotations/nginx.ingress.kubernetes.io\/auth-secret - kind: Ingress - - path: metadata/annotations/nginx.ingress.kubernetes.io\/auth-tls-secret - kind: Ingress - - path: spec/tls/secretName - kind: Ingress - - path: imagePullSecrets/name - kind: ServiceAccount - - path: parameters/secretName - kind: StorageClass - - path: parameters/adminSecretName - kind: StorageClass - - path: parameters/userSecretName - kind: StorageClass - - path: parameters/secretRef - kind: StorageClass - - path: rules/resourceNames - kind: Role - - path: rules/resourceNames - kind: ClusterRole - - path: spec/template/spec/containers/env/valueFrom/secretKeyRef/name - kind: Service - group: serving.knative.dev - version: v1 - - path: spec/azureFile/secretName - kind: PersistentVolume - -- kind: Service - version: v1 - fieldSpecs: - - path: spec/serviceName - kind: StatefulSet - group: apps - - path: spec/rules/http/paths/backend/serviceName - kind: Ingress - - path: spec/backend/serviceName - kind: Ingress - - path: spec/rules/http/paths/backend/service/name - kind: Ingress - - path: spec/defaultBackend/service/name - kind: Ingress - - path: spec/service/name - kind: APIService - group: apiregistration.k8s.io - - path: webhooks/clientConfig/service - kind: ValidatingWebhookConfiguration - group: admissionregistration.k8s.io - - path: webhooks/clientConfig/service - kind: MutatingWebhookConfiguration - group: admissionregistration.k8s.io - -- kind: Role - group: rbac.authorization.k8s.io - fieldSpecs: - - path: roleRef/name - kind: RoleBinding - group: rbac.authorization.k8s.io - -- kind: ClusterRole - group: rbac.authorization.k8s.io - fieldSpecs: - - path: roleRef/name - kind: RoleBinding - group: rbac.authorization.k8s.io - - path: roleRef/name - kind: ClusterRoleBinding - group: rbac.authorization.k8s.io - -- kind: ServiceAccount - version: v1 - fieldSpecs: - - path: subjects - kind: RoleBinding - group: rbac.authorization.k8s.io - - path: subjects - kind: ClusterRoleBinding - group: rbac.authorization.k8s.io - - path: spec/serviceAccountName - kind: Pod - - path: spec/template/spec/serviceAccountName - kind: StatefulSet - - path: spec/template/spec/serviceAccountName - kind: Deployment - - path: spec/template/spec/serviceAccountName - kind: ReplicationController - - path: spec/jobTemplate/spec/template/spec/serviceAccountName - kind: CronJob - - path: spec/template/spec/serviceAccountName - kind: Job - - path: spec/template/spec/serviceAccountName - kind: DaemonSet - -- kind: PersistentVolumeClaim - version: v1 - fieldSpecs: - - path: spec/volumes/persistentVolumeClaim/claimName - kind: Pod - - path: spec/template/spec/volumes/persistentVolumeClaim/claimName - kind: StatefulSet - - path: spec/template/spec/volumes/persistentVolumeClaim/claimName - kind: Deployment - - path: spec/template/spec/volumes/persistentVolumeClaim/claimName - kind: ReplicationController - - path: spec/jobTemplate/spec/template/spec/volumes/persistentVolumeClaim/claimName - kind: CronJob - - path: spec/template/spec/volumes/persistentVolumeClaim/claimName - kind: Job - - path: spec/template/spec/volumes/persistentVolumeClaim/claimName - kind: DaemonSet - -- kind: PersistentVolume - version: v1 - fieldSpecs: - - path: spec/volumeName - kind: PersistentVolumeClaim - - path: rules/resourceNames - kind: ClusterRole - -- kind: StorageClass - version: v1 - group: storage.k8s.io - fieldSpecs: - - path: spec/storageClassName - kind: PersistentVolume - - path: spec/storageClassName - kind: PersistentVolumeClaim - - path: spec/volumeClaimTemplates/spec/storageClassName - kind: StatefulSet - -- kind: PriorityClass - version: v1 - group: scheduling.k8s.io - fieldSpecs: - - path: spec/priorityClassName - kind: Pod - - path: spec/template/spec/priorityClassName - kind: StatefulSet - - path: spec/template/spec/priorityClassName - kind: Deployment - - path: spec/template/spec/priorityClassName - kind: ReplicationController - - path: spec/jobTemplate/spec/template/spec/priorityClassName - kind: CronJob - - path: spec/template/spec/priorityClassName - kind: Job - - path: spec/template/spec/priorityClassName - kind: DaemonSet - -- kind: IngressClass - version: v1 - group: networking.k8s.io/v1 - fieldSpecs: - - path: spec/ingressClassName - kind: Ingress -` -) - -// LINT.ThenChange(/examples/transformerconfigs/README.md) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namespace.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namespace.go deleted file mode 100644 index a35ef9c6..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namespace.go +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const ( - namespaceFieldSpecs = ` -namespace: -- path: metadata/namespace - create: true -- path: metadata/name - kind: Namespace - create: true -- path: subjects - kind: RoleBinding -- path: subjects - kind: ClusterRoleBinding -- path: spec/service/namespace - group: apiregistration.k8s.io - kind: APIService - create: true -- path: spec/conversion/webhook/clientConfig/service/namespace - group: apiextensions.k8s.io - kind: CustomResourceDefinition -` -) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namesuffix.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namesuffix.go deleted file mode 100644 index 11592bd2..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/namesuffix.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const ( - nameSuffixFieldSpecs = ` -nameSuffix: -- path: metadata/name -` -) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/replicas.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/replicas.go deleted file mode 100644 index 76549c21..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/replicas.go +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const replicasFieldSpecs = ` -replicas: -- path: spec/replicas - create: true - kind: Deployment - -- path: spec/replicas - create: true - kind: ReplicationController - -- path: spec/replicas - create: true - kind: ReplicaSet - -- path: spec/replicas - create: true - kind: StatefulSet -` diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/varreference.go b/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/varreference.go deleted file mode 100644 index f4011d82..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/builtinpluginconsts/varreference.go +++ /dev/null @@ -1,223 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package builtinpluginconsts - -const ( - varReferenceFieldSpecs = ` -varReference: -- path: spec/jobTemplate/spec/template/spec/containers/args - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/containers/command - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/containers/env/value - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/containers/volumeMounts/mountPath - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/initContainers/args - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/initContainers/command - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/initContainers/env/value - kind: CronJob - -- path: spec/jobTemplate/spec/template/spec/initContainers/volumeMounts/mountPath - kind: CronJob - -- path: spec/jobTemplate/spec/template/volumes/nfs/server - kind: CronJob - -- path: spec/template/spec/containers/args - kind: DaemonSet - -- path: spec/template/spec/containers/command - kind: DaemonSet - -- path: spec/template/spec/containers/env/value - kind: DaemonSet - -- path: spec/template/spec/containers/volumeMounts/mountPath - kind: DaemonSet - -- path: spec/template/spec/initContainers/args - kind: DaemonSet - -- path: spec/template/spec/initContainers/command - kind: DaemonSet - -- path: spec/template/spec/initContainers/env/value - kind: DaemonSet - -- path: spec/template/spec/initContainers/volumeMounts/mountPath - kind: DaemonSet - -- path: spec/template/spec/volumes/nfs/server - kind: DaemonSet - -- path: spec/template/spec/containers/args - kind: Deployment - -- path: spec/template/spec/containers/command - kind: Deployment - -- path: spec/template/spec/containers/env/value - kind: Deployment - -- path: spec/template/spec/containers/volumeMounts/mountPath - kind: Deployment - -- path: spec/template/spec/initContainers/args - kind: Deployment - -- path: spec/template/spec/initContainers/command - kind: Deployment - -- path: spec/template/spec/initContainers/env/value - kind: Deployment - -- path: spec/template/spec/initContainers/volumeMounts/mountPath - kind: Deployment - -- path: spec/template/spec/volumes/nfs/server - kind: Deployment - -- path: spec/template/metadata/annotations - kind: Deployment - -- path: spec/rules/host - kind: Ingress - -- path: spec/tls/hosts - kind: Ingress - -- path: spec/tls/secretName - kind: Ingress - -- path: spec/template/spec/containers/args - kind: Job - -- path: spec/template/spec/containers/command - kind: Job - -- path: spec/template/spec/containers/env/value - kind: Job - -- path: spec/template/spec/containers/volumeMounts/mountPath - kind: Job - -- path: spec/template/spec/initContainers/args - kind: Job - -- path: spec/template/spec/initContainers/command - kind: Job - -- path: spec/template/spec/initContainers/env/value - kind: Job - -- path: spec/template/spec/initContainers/volumeMounts/mountPath - kind: Job - -- path: spec/template/spec/volumes/nfs/server - kind: Job - -- path: spec/containers/args - kind: Pod - -- path: spec/containers/command - kind: Pod - -- path: spec/containers/env/value - kind: Pod - -- path: spec/containers/volumeMounts/mountPath - kind: Pod - -- path: spec/initContainers/args - kind: Pod - -- path: spec/initContainers/command - kind: Pod - -- path: spec/initContainers/env/value - kind: Pod - -- path: spec/initContainers/volumeMounts/mountPath - kind: Pod - -- path: spec/volumes/nfs/server - kind: Pod - -- path: spec/template/spec/containers/args - kind: ReplicaSet - -- path: spec/template/spec/containers/command - kind: ReplicaSet - -- path: spec/template/spec/containers/env/value - kind: ReplicaSet - -- path: spec/template/spec/containers/volumeMounts/mountPath - kind: ReplicaSet - -- path: spec/template/spec/initContainers/args - kind: ReplicaSet - -- path: spec/template/spec/initContainers/command - kind: ReplicaSet - -- path: spec/template/spec/initContainers/env/value - kind: ReplicaSet - -- path: spec/template/spec/initContainers/volumeMounts/mountPath - kind: ReplicaSet - -- path: spec/template/spec/volumes/nfs/server - kind: ReplicaSet - -- path: spec/ports/port - kind: Service - -- path: spec/ports/targetPort - kind: Service - -- path: spec/template/spec/containers/args - kind: StatefulSet - -- path: spec/template/spec/containers/command - kind: StatefulSet - -- path: spec/template/spec/containers/env/value - kind: StatefulSet - -- path: spec/template/spec/containers/volumeMounts/mountPath - kind: StatefulSet - -- path: spec/template/spec/initContainers/args - kind: StatefulSet - -- path: spec/template/spec/initContainers/command - kind: StatefulSet - -- path: spec/template/spec/initContainers/env/value - kind: StatefulSet - -- path: spec/template/spec/initContainers/volumeMounts/mountPath - kind: StatefulSet - -- path: spec/volumeClaimTemplates/spec/nfs/server - kind: StatefulSet - -- path: spec/nfs/server - kind: PersistentVolume - -- path: metadata/labels - -- path: metadata/annotations -` -) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/doc.go b/vendor/sigs.k8s.io/kustomize/api/konfig/doc.go deleted file mode 100644 index 8c5f8f2c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/doc.go +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package konfig provides configuration methods and constants -// for the kustomize API, e.g. the set of file names to look for -// to identify a kustomization root. -package konfig diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/general.go b/vendor/sigs.k8s.io/kustomize/api/konfig/general.go deleted file mode 100644 index 712bfe78..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/general.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package konfig - -// RecognizedKustomizationFileNames is a list of file names -// that kustomize recognizes. -// To avoid ambiguity, a kustomization directory may not -// contain more than one match to this list. -func RecognizedKustomizationFileNames() []string { - return []string{ - "kustomization.yaml", - "kustomization.yml", - "Kustomization", - } -} - -func DefaultKustomizationFileName() string { - return RecognizedKustomizationFileNames()[0] -} - -const ( - // An environment variable to consult for kustomization - // configuration data. See: - // https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html - XdgConfigHomeEnv = "XDG_CONFIG_HOME" - - // Use this when XdgConfigHomeEnv not defined. - XdgConfigHomeEnvDefault = ".config" - - // A program name, for use in help, finding the XDG_CONFIG_DIR, etc. - ProgramName = "kustomize" - - // ConfigAnnoDomain is internal configuration-related annotation namespace. - // See https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/functions-spec.md. - ConfigAnnoDomain = "internal.config.kubernetes.io" - - // If a resource has this annotation, kustomize will drop it. - IgnoredByKustomizeAnnotation = "config.kubernetes.io/local-config" - - // Label key that indicates the resources are built from Kustomize - ManagedbyLabelKey = "app.kubernetes.io/managed-by" - - // An environment variable to turn on/off adding the ManagedByLabelKey - EnableManagedbyLabelEnv = "KUSTOMIZE_ENABLE_MANAGEDBY_LABEL" - - // Label key that indicates the resources are validated by a validator - ValidatedByLabelKey = "validated-by" -) diff --git a/vendor/sigs.k8s.io/kustomize/api/konfig/plugins.go b/vendor/sigs.k8s.io/kustomize/api/konfig/plugins.go deleted file mode 100644 index 30bd3b6e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/konfig/plugins.go +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package konfig - -import ( - "os" - "path/filepath" - "runtime" - - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -const ( - // Symbol that must be used inside Go plugins. - PluginSymbol = "KustomizePlugin" - - // Name of environment variable used to set AbsPluginHome. - // See that variable for an explanation. - KustomizePluginHomeEnv = "KUSTOMIZE_PLUGIN_HOME" - - // Relative path below XDG_CONFIG_HOME/kustomize to find plugins. - // e.g. AbsPluginHome = XDG_CONFIG_HOME/kustomize/plugin - RelPluginHome = "plugin" - - // Location of builtin plugins below AbsPluginHome. - BuiltinPluginPackage = "builtin" - - // The value of kubernetes ApiVersion to use in configuration - // files for builtin plugins. - // The value for non-builtins can be anything. - BuiltinPluginApiVersion = BuiltinPluginPackage - - // Domain from which kustomize code is imported, for locating - // plugin source code under $GOPATH when GOPATH is defined. - DomainName = "sigs.k8s.io" - - // Injected into plugin paths when plugins are disabled. - // Provides a clue in flows that shouldn't happen. - NoPluginHomeSentinal = "/No/non-builtin/plugins!" -) - -type NotedFunc struct { - Note string - F func() string -} - -// DefaultAbsPluginHome returns the absolute path in the given file -// system to first directory that looks like a good candidate for -// the home of kustomize plugins. -func DefaultAbsPluginHome(fSys filesys.FileSystem) (string, error) { - return FirstDirThatExistsElseError( - "plugin root", fSys, []NotedFunc{ - { - Note: "homed in $" + KustomizePluginHomeEnv, - F: func() string { - return os.Getenv(KustomizePluginHomeEnv) - }, - }, - { - Note: "homed in $" + XdgConfigHomeEnv, - F: func() string { - if root := os.Getenv(XdgConfigHomeEnv); root != "" { - return filepath.Join(root, ProgramName, RelPluginHome) - } - // do not look in "kustomize/plugin" if XdgConfigHomeEnv is unset - return "" - }, - }, - { - Note: "homed in default value of $" + XdgConfigHomeEnv, - F: func() string { - return filepath.Join( - HomeDir(), XdgConfigHomeEnvDefault, - ProgramName, RelPluginHome) - }, - }, - { - Note: "homed in home directory", - F: func() string { - return filepath.Join( - HomeDir(), ProgramName, RelPluginHome) - }, - }, - }) -} - -// FirstDirThatExistsElseError tests different path functions for -// existence, returning the first that works, else error if all fail. -func FirstDirThatExistsElseError( - what string, - fSys filesys.FileSystem, - pathFuncs []NotedFunc) (string, error) { - var nope []types.Pair - for _, dt := range pathFuncs { - if dir := dt.F(); dir != "" { - if fSys.Exists(dir) { - return dir, nil - } - nope = append(nope, types.Pair{Key: dt.Note, Value: dir}) - } else { - nope = append(nope, types.Pair{Key: dt.Note, Value: ""}) - } - } - return "", types.NewErrUnableToFind(what, nope) -} - -func HomeDir() string { - home := os.Getenv(homeEnv()) - if len(home) > 0 { - return home - } - return "~" -} - -func homeEnv() string { - if runtime.GOOS == "windows" { - return "USERPROFILE" - } - return "HOME" -} - -func CurrentWorkingDir() string { - // Try for full path first to be explicit. - pwd := os.Getenv(pwdEnv()) - if len(pwd) > 0 { - return pwd - } - return filesys.SelfDir -} - -func pwdEnv() string { - if runtime.GOOS == "windows" { - return "CD" - } - return "PWD" -} diff --git a/vendor/sigs.k8s.io/kustomize/api/krusty/doc.go b/vendor/sigs.k8s.io/kustomize/api/krusty/doc.go deleted file mode 100644 index bf516ca9..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/krusty/doc.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package krusty is intended as the entry point package -// for those seeking to add kustomize ability to other -// programs. -// -// To use, follow the example of the kustomize CLI's 'build' -// command. Also, see the high level tests in this package, -// which serve a dual purpose as examples. -package krusty diff --git a/vendor/sigs.k8s.io/kustomize/api/krusty/kustomizer.go b/vendor/sigs.k8s.io/kustomize/api/krusty/kustomizer.go deleted file mode 100644 index f2784155..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/krusty/kustomizer.go +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package krusty - -import ( - "fmt" - "path/filepath" - - "sigs.k8s.io/kustomize/api/internal/builtins" - pLdr "sigs.k8s.io/kustomize/api/internal/plugins/loader" - "sigs.k8s.io/kustomize/api/internal/target" - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/api/konfig" - fLdr "sigs.k8s.io/kustomize/api/loader" - "sigs.k8s.io/kustomize/api/provenance" - "sigs.k8s.io/kustomize/api/provider" - "sigs.k8s.io/kustomize/api/resmap" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/kustomize/kyaml/openapi" -) - -// Kustomizer performs kustomizations. -// -// It's meant to behave similarly to the kustomize CLI, and can be -// used instead of performing an exec to a kustomize CLI subprocess. -// To use, load a filesystem with kustomization files (any -// number of overlays and bases), then make a Kustomizer -// injected with the given filesystem, then call Run. -type Kustomizer struct { - options *Options - depProvider *provider.DepProvider -} - -// MakeKustomizer returns an instance of Kustomizer. -func MakeKustomizer(o *Options) *Kustomizer { - return &Kustomizer{ - options: o, - depProvider: provider.NewDepProvider(), - } -} - -// Run performs a kustomization. -// -// It reads given path from the given file system, interprets it as -// a kustomization.yaml file, perform the kustomization it represents, -// and return the resulting resources. -// -// Any files referenced by the kustomization must be present on the -// filesystem. One may call Run any number of times, on any number -// of internal paths (e.g. the filesystem may contain multiple overlays, -// and Run can be called on each of them). -func (b *Kustomizer) Run( - fSys filesys.FileSystem, path string) (resmap.ResMap, error) { - resmapFactory := resmap.NewFactory(b.depProvider.GetResourceFactory()) - lr := fLdr.RestrictionNone - if b.options.LoadRestrictions == types.LoadRestrictionsRootOnly { - lr = fLdr.RestrictionRootOnly - } - ldr, err := fLdr.NewLoader(lr, path, fSys) - if err != nil { - return nil, err - } - defer ldr.Cleanup() - kt := target.NewKustTarget( - ldr, - b.depProvider.GetFieldValidator(), - resmapFactory, - // The plugin configs are always located on disk, regardless of the fSys passed in - pLdr.NewLoader(b.options.PluginConfig, resmapFactory, filesys.MakeFsOnDisk()), - ) - err = kt.Load() - if err != nil { - return nil, err - } - var bytes []byte - if openApiPath, exists := kt.Kustomization().OpenAPI["path"]; exists { - bytes, err = ldr.Load(filepath.Join(ldr.Root(), openApiPath)) - if err != nil { - return nil, err - } - } - err = openapi.SetSchema(kt.Kustomization().OpenAPI, bytes, true) - if err != nil { - return nil, err - } - var m resmap.ResMap - m, err = kt.MakeCustomizedResMap() - if err != nil { - return nil, err - } - if b.options.DoLegacyResourceSort { - err = builtins.NewLegacyOrderTransformerPlugin().Transform(m) - if err != nil { - return nil, err - } - } - if b.options.AddManagedbyLabel || utils.StringSliceContains(kt.Kustomization().BuildMetadata, types.ManagedByLabelOption) { - t := builtins.LabelTransformerPlugin{ - Labels: map[string]string{ - konfig.ManagedbyLabelKey: fmt.Sprintf("kustomize-%s", provenance.GetProvenance().Semver()), - }, - FieldSpecs: []types.FieldSpec{{ - Path: "metadata/labels", - CreateIfNotPresent: true, - }}, - } - err = t.Transform(m) - if err != nil { - return nil, err - } - } - m.RemoveBuildAnnotations() - if !utils.StringSliceContains(kt.Kustomization().BuildMetadata, types.OriginAnnotations) { - m.RemoveOriginAnnotations() - } - if !utils.StringSliceContains(kt.Kustomization().BuildMetadata, types.TransformerAnnotations) { - m.RemoveTransformerAnnotations() - } - return m, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/krusty/options.go b/vendor/sigs.k8s.io/kustomize/api/krusty/options.go deleted file mode 100644 index 438f6c10..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/krusty/options.go +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package krusty - -import ( - "sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers" - "sigs.k8s.io/kustomize/api/types" -) - -// Options holds high-level kustomize configuration options, -// e.g. are plugins enabled, should the loader be restricted -// to the kustomization root, etc. -type Options struct { - // When true, sort the resources before emitting them, - // per a particular sort order. When false, don't do the - // sort, and instead respect the depth-first resource input - // order as specified by the kustomization file(s). - DoLegacyResourceSort bool - - // When true, a label - // app.kubernetes.io/managed-by: kustomize- - // is added to all the resources in the build out. - AddManagedbyLabel bool - - // Restrictions on what can be loaded from the file system. - // See type definition. - LoadRestrictions types.LoadRestrictions - - // Create an inventory object for pruning. - DoPrune bool - - // Options related to kustomize plugins. - PluginConfig *types.PluginConfig -} - -// MakeDefaultOptions returns a default instance of Options. -func MakeDefaultOptions() *Options { - return &Options{ - DoLegacyResourceSort: false, - AddManagedbyLabel: false, - LoadRestrictions: types.LoadRestrictionsRootOnly, - DoPrune: false, - PluginConfig: types.DisabledPluginConfig(), - } -} - -// GetBuiltinPluginNames returns a list of builtin plugin names -func GetBuiltinPluginNames() []string { - var ret []string - for k := range builtinhelpers.GeneratorFactories { - ret = append(ret, k.String()) - } - for k := range builtinhelpers.TransformerFactories { - ret = append(ret, k.String()) - } - return ret -} diff --git a/vendor/sigs.k8s.io/kustomize/api/kv/kv.go b/vendor/sigs.k8s.io/kustomize/api/kv/kv.go deleted file mode 100644 index 719b761c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/kv/kv.go +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kv - -import ( - "bufio" - "bytes" - "fmt" - "os" - "path" - "strings" - "unicode" - "unicode/utf8" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/types" -) - -var utf8bom = []byte{0xEF, 0xBB, 0xBF} - -// loader reads and validates KV pairs. -type loader struct { - // Used to read the filesystem. - ldr ifc.Loader - - // Used to validate various k8s data fields. - validator ifc.Validator -} - -func NewLoader(ldr ifc.Loader, v ifc.Validator) ifc.KvLoader { - return &loader{ldr: ldr, validator: v} -} - -func (kvl *loader) Validator() ifc.Validator { - return kvl.validator -} - -func (kvl *loader) Load( - args types.KvPairSources) (all []types.Pair, err error) { - pairs, err := kvl.keyValuesFromEnvFiles(args.EnvSources) - if err != nil { - return nil, errors.Wrap(err, fmt.Sprintf( - "env source files: %v", - args.EnvSources)) - } - all = append(all, pairs...) - - pairs, err = keyValuesFromLiteralSources(args.LiteralSources) - if err != nil { - return nil, errors.Wrap(err, fmt.Sprintf( - "literal sources %v", args.LiteralSources)) - } - all = append(all, pairs...) - - pairs, err = kvl.keyValuesFromFileSources(args.FileSources) - if err != nil { - return nil, errors.Wrap(err, fmt.Sprintf( - "file sources: %v", args.FileSources)) - } - return append(all, pairs...), nil -} - -func keyValuesFromLiteralSources(sources []string) ([]types.Pair, error) { - var kvs []types.Pair - for _, s := range sources { - k, v, err := parseLiteralSource(s) - if err != nil { - return nil, err - } - kvs = append(kvs, types.Pair{Key: k, Value: v}) - } - return kvs, nil -} - -func (kvl *loader) keyValuesFromFileSources(sources []string) ([]types.Pair, error) { - var kvs []types.Pair - for _, s := range sources { - k, fPath, err := parseFileSource(s) - if err != nil { - return nil, err - } - content, err := kvl.ldr.Load(fPath) - if err != nil { - return nil, err - } - kvs = append(kvs, types.Pair{Key: k, Value: string(content)}) - } - return kvs, nil -} - -func (kvl *loader) keyValuesFromEnvFiles(paths []string) ([]types.Pair, error) { - var kvs []types.Pair - for _, p := range paths { - content, err := kvl.ldr.Load(p) - if err != nil { - return nil, err - } - more, err := kvl.keyValuesFromLines(content) - if err != nil { - return nil, err - } - kvs = append(kvs, more...) - } - return kvs, nil -} - -// keyValuesFromLines parses given content in to a list of key-value pairs. -func (kvl *loader) keyValuesFromLines(content []byte) ([]types.Pair, error) { - var kvs []types.Pair - - scanner := bufio.NewScanner(bytes.NewReader(content)) - currentLine := 0 - for scanner.Scan() { - // Process the current line, retrieving a key/value pair if - // possible. - scannedBytes := scanner.Bytes() - kv, err := kvl.keyValuesFromLine(scannedBytes, currentLine) - if err != nil { - return nil, err - } - currentLine++ - - if len(kv.Key) == 0 { - // no key means line was empty or a comment - continue - } - - kvs = append(kvs, kv) - } - return kvs, nil -} - -// KeyValuesFromLine returns a kv with blank key if the line is empty or a comment. -// The value will be retrieved from the environment if necessary. -func (kvl *loader) keyValuesFromLine(line []byte, currentLine int) (types.Pair, error) { - kv := types.Pair{} - - if !utf8.Valid(line) { - return kv, fmt.Errorf("line %d has invalid utf8 bytes : %v", line, string(line)) - } - - // We trim UTF8 BOM from the first line of the file but no others - if currentLine == 0 { - line = bytes.TrimPrefix(line, utf8bom) - } - - // trim the line from all leading whitespace first - line = bytes.TrimLeftFunc(line, unicode.IsSpace) - - // If the line is empty or a comment, we return a blank key/value pair. - if len(line) == 0 || line[0] == '#' { - return kv, nil - } - - data := strings.SplitN(string(line), "=", 2) - key := data[0] - if err := kvl.validator.IsEnvVarName(key); err != nil { - return kv, err - } - - if len(data) == 2 { - kv.Value = data[1] - } else { - // No value (no `=` in the line) is a signal to obtain the value - // from the environment. - kv.Value = os.Getenv(key) - } - kv.Key = key - return kv, nil -} - -// ParseFileSource parses the source given. -// -// Acceptable formats include: -// 1. source-path: the basename will become the key name -// 2. source-name=source-path: the source-name will become the key name and -// source-path is the path to the key file. -// -// Key names cannot include '='. -func parseFileSource(source string) (keyName, filePath string, err error) { - numSeparators := strings.Count(source, "=") - switch { - case numSeparators == 0: - return path.Base(source), source, nil - case numSeparators == 1 && strings.HasPrefix(source, "="): - return "", "", fmt.Errorf("key name for file path %v missing", strings.TrimPrefix(source, "=")) - case numSeparators == 1 && strings.HasSuffix(source, "="): - return "", "", fmt.Errorf("file path for key name %v missing", strings.TrimSuffix(source, "=")) - case numSeparators > 1: - return "", "", errors.New("key names or file paths cannot contain '='") - default: - components := strings.Split(source, "=") - return components[0], components[1], nil - } -} - -// ParseLiteralSource parses the source key=val pair into its component pieces. -// This functionality is distinguished from strings.SplitN(source, "=", 2) since -// it returns an error in the case of empty keys, values, or a missing equals sign. -func parseLiteralSource(source string) (keyName, value string, err error) { - // leading equal is invalid - if strings.Index(source, "=") == 0 { - return "", "", fmt.Errorf("invalid literal source %v, expected key=value", source) - } - // split after the first equal (so values can have the = character) - items := strings.SplitN(source, "=", 2) - if len(items) != 2 { - return "", "", fmt.Errorf("invalid literal source %v, expected key=value", source) - } - return items[0], removeQuotes(items[1]), nil -} - -// removeQuotes removes the surrounding quotes from the provided string only if it is surrounded on both sides -// rather than blindly trimming all quotation marks on either side. -func removeQuotes(str string) string { - if len(str) == 0 || str[0] != str[len(str)-1] { - return str - } - if str[0] == '"' || str[0] == '\'' { - return str[1 : len(str)-1] - } - return str -} diff --git a/vendor/sigs.k8s.io/kustomize/api/loader/errors.go b/vendor/sigs.k8s.io/kustomize/api/loader/errors.go deleted file mode 100644 index 5281a1cd..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/loader/errors.go +++ /dev/null @@ -1,5 +0,0 @@ -package loader - -import "fmt" - -var ErrorHTTP = fmt.Errorf("HTTP Error") diff --git a/vendor/sigs.k8s.io/kustomize/api/loader/fileloader.go b/vendor/sigs.k8s.io/kustomize/api/loader/fileloader.go deleted file mode 100644 index ffeef3b0..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/loader/fileloader.go +++ /dev/null @@ -1,343 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package loader - -import ( - "errors" - "fmt" - "io/ioutil" - "log" - "net/http" - "net/url" - "path/filepath" - "strings" - - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/git" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// fileLoader is a kustomization's interface to files. -// -// The directory in which a kustomization file sits -// is referred to below as the kustomization's _root_. -// -// An instance of fileLoader has an immutable root, -// and offers a `New` method returning a new loader -// with a new root. -// -// A kustomization file refers to two kinds of files: -// -// * supplemental data paths -// -// `Load` is used to visit these paths. -// -// These paths refer to resources, patches, -// data for ConfigMaps and Secrets, etc. -// -// The loadRestrictor may disallow certain paths -// or classes of paths. -// -// * bases (other kustomizations) -// -// `New` is used to load bases. -// -// A base can be either a remote git repo URL, or -// a directory specified relative to the current -// root. In the former case, the repo is locally -// cloned, and the new loader is rooted on a path -// in that clone. -// -// As loaders create new loaders, a root history -// is established, and used to disallow: -// -// - A base that is a repository that, in turn, -// specifies a base repository seen previously -// in the loading stack (a cycle). -// -// - An overlay depending on a base positioned at -// or above it. I.e. '../foo' is OK, but '.', -// '..', '../..', etc. are disallowed. Allowing -// such a base has no advantages and encourages -// cycles, particularly if some future change -// were to introduce globbing to file -// specifications in the kustomization file. -// -// These restrictions assure that kustomizations -// are self-contained and relocatable, and impose -// some safety when relying on remote kustomizations, -// e.g. a remotely loaded ConfigMap generator specified -// to read from /etc/passwd will fail. -// -type fileLoader struct { - // Loader that spawned this loader. - // Used to avoid cycles. - referrer *fileLoader - - // An absolute, cleaned path to a directory. - // The Load function will read non-absolute - // paths relative to this directory. - root filesys.ConfirmedDir - - // Restricts behavior of Load function. - loadRestrictor LoadRestrictorFunc - - // If this is non-nil, the files were - // obtained from the given repository. - repoSpec *git.RepoSpec - - // File system utilities. - fSys filesys.FileSystem - - // Used to load from HTTP - http *http.Client - - // Used to clone repositories. - cloner git.Cloner - - // Used to clean up, as needed. - cleaner func() error -} - -// NewFileLoaderAtCwd returns a loader that loads from PWD. -// A convenience for kustomize edit commands. -func NewFileLoaderAtCwd(fSys filesys.FileSystem) *fileLoader { - return newLoaderOrDie( - RestrictionRootOnly, fSys, filesys.SelfDir) -} - -// NewFileLoaderAtRoot returns a loader that loads from "/". -// A convenience for tests. -func NewFileLoaderAtRoot(fSys filesys.FileSystem) *fileLoader { - return newLoaderOrDie( - RestrictionRootOnly, fSys, filesys.Separator) -} - -// Root returns the absolute path that is prepended to any -// relative paths used in Load. -func (fl *fileLoader) Root() string { - return fl.root.String() -} - -func newLoaderOrDie( - lr LoadRestrictorFunc, - fSys filesys.FileSystem, path string) *fileLoader { - root, err := demandDirectoryRoot(fSys, path) - if err != nil { - log.Fatalf("unable to make loader at '%s'; %v", path, err) - } - return newLoaderAtConfirmedDir( - lr, root, fSys, nil, git.ClonerUsingGitExec) -} - -// newLoaderAtConfirmedDir returns a new fileLoader with given root. -func newLoaderAtConfirmedDir( - lr LoadRestrictorFunc, - root filesys.ConfirmedDir, fSys filesys.FileSystem, - referrer *fileLoader, cloner git.Cloner) *fileLoader { - return &fileLoader{ - loadRestrictor: lr, - root: root, - referrer: referrer, - fSys: fSys, - cloner: cloner, - cleaner: func() error { return nil }, - } -} - -// Assure that the given path is in fact a directory. -func demandDirectoryRoot( - fSys filesys.FileSystem, path string) (filesys.ConfirmedDir, error) { - if path == "" { - return "", fmt.Errorf( - "loader root cannot be empty") - } - d, f, err := fSys.CleanedAbs(path) - if err != nil { - return "", err - } - if f != "" { - return "", fmt.Errorf( - "'%s' must be a directory so that it can used as a build root", - path) - } - return d, nil -} - -// New returns a new Loader, rooted relative to current loader, -// or rooted in a temp directory holding a git repo clone. -func (fl *fileLoader) New(path string) (ifc.Loader, error) { - if path == "" { - return nil, fmt.Errorf("new root cannot be empty") - } - - repoSpec, err := git.NewRepoSpecFromUrl(path) - if err == nil { - // Treat this as git repo clone request. - if err = fl.errIfRepoCycle(repoSpec); err != nil { - return nil, err - } - return newLoaderAtGitClone( - repoSpec, fl.fSys, fl, fl.cloner) - } - - if filepath.IsAbs(path) { - return nil, fmt.Errorf("new root '%s' cannot be absolute", path) - } - root, err := demandDirectoryRoot(fl.fSys, fl.root.Join(path)) - if err != nil { - return nil, err - } - if err = fl.errIfGitContainmentViolation(root); err != nil { - return nil, err - } - if err = fl.errIfArgEqualOrHigher(root); err != nil { - return nil, err - } - return newLoaderAtConfirmedDir( - fl.loadRestrictor, root, fl.fSys, fl, fl.cloner), nil -} - -// newLoaderAtGitClone returns a new Loader pinned to a temporary -// directory holding a cloned git repo. -func newLoaderAtGitClone( - repoSpec *git.RepoSpec, fSys filesys.FileSystem, - referrer *fileLoader, cloner git.Cloner) (ifc.Loader, error) { - cleaner := repoSpec.Cleaner(fSys) - err := cloner(repoSpec) - if err != nil { - cleaner() - return nil, err - } - root, f, err := fSys.CleanedAbs(repoSpec.AbsPath()) - if err != nil { - cleaner() - return nil, err - } - // We don't know that the path requested in repoSpec - // is a directory until we actually clone it and look - // inside. That just happened, hence the error check - // is here. - if f != "" { - cleaner() - return nil, fmt.Errorf( - "'%s' refers to file '%s'; expecting directory", - repoSpec.AbsPath(), f) - } - return &fileLoader{ - // Clones never allowed to escape root. - loadRestrictor: RestrictionRootOnly, - root: root, - referrer: referrer, - repoSpec: repoSpec, - fSys: fSys, - cloner: cloner, - cleaner: cleaner, - }, nil -} - -func (fl *fileLoader) errIfGitContainmentViolation( - base filesys.ConfirmedDir) error { - containingRepo := fl.containingRepo() - if containingRepo == nil { - return nil - } - if !base.HasPrefix(containingRepo.CloneDir()) { - return fmt.Errorf( - "security; bases in kustomizations found in "+ - "cloned git repos must be within the repo, "+ - "but base '%s' is outside '%s'", - base, containingRepo.CloneDir()) - } - return nil -} - -// Looks back through referrers for a git repo, returning nil -// if none found. -func (fl *fileLoader) containingRepo() *git.RepoSpec { - if fl.repoSpec != nil { - return fl.repoSpec - } - if fl.referrer == nil { - return nil - } - return fl.referrer.containingRepo() -} - -// errIfArgEqualOrHigher tests whether the argument, -// is equal to or above the root of any ancestor. -func (fl *fileLoader) errIfArgEqualOrHigher( - candidateRoot filesys.ConfirmedDir) error { - if fl.root.HasPrefix(candidateRoot) { - return fmt.Errorf( - "cycle detected: candidate root '%s' contains visited root '%s'", - candidateRoot, fl.root) - } - if fl.referrer == nil { - return nil - } - return fl.referrer.errIfArgEqualOrHigher(candidateRoot) -} - -// TODO(monopole): Distinguish branches? -// I.e. Allow a distinction between git URI with -// path foo and tag bar and a git URI with the same -// path but a different tag? -func (fl *fileLoader) errIfRepoCycle(newRepoSpec *git.RepoSpec) error { - // TODO(monopole): Use parsed data instead of Raw(). - if fl.repoSpec != nil && - strings.HasPrefix(fl.repoSpec.Raw(), newRepoSpec.Raw()) { - return fmt.Errorf( - "cycle detected: URI '%s' referenced by previous URI '%s'", - newRepoSpec.Raw(), fl.repoSpec.Raw()) - } - if fl.referrer == nil { - return nil - } - return fl.referrer.errIfRepoCycle(newRepoSpec) -} - -// Load returns the content of file at the given path, -// else an error. Relative paths are taken relative -// to the root. -func (fl *fileLoader) Load(path string) ([]byte, error) { - if u, err := url.Parse(path); err == nil && (u.Scheme == "http" || u.Scheme == "https") { - var hc *http.Client - if fl.http != nil { - hc = fl.http - } else { - hc = &http.Client{} - } - resp, err := hc.Get(path) - if err != nil { - return nil, err - } - defer resp.Body.Close() - if resp.StatusCode < 200 || resp.StatusCode > 299 { - _, err := git.NewRepoSpecFromUrl(path) - if err == nil { - return nil, errors.New("URL is a git repository") - } - return nil, fmt.Errorf("%w: status code %d (%s)", ErrorHTTP, resp.StatusCode, http.StatusText(resp.StatusCode)) - } - body, err := ioutil.ReadAll(resp.Body) - if err != nil { - return nil, err - } - return body, nil - } - if !filepath.IsAbs(path) { - path = fl.root.Join(path) - } - path, err := fl.loadRestrictor(fl.fSys, fl.root, path) - if err != nil { - return nil, err - } - return fl.fSys.ReadFile(path) -} - -// Cleanup runs the cleaner. -func (fl *fileLoader) Cleanup() error { - return fl.cleaner() -} diff --git a/vendor/sigs.k8s.io/kustomize/api/loader/loader.go b/vendor/sigs.k8s.io/kustomize/api/loader/loader.go deleted file mode 100644 index 7a2b75f2..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/loader/loader.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package loader has a data loading interface and various implementations. -package loader - -import ( - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/git" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// NewLoader returns a Loader pointed at the given target. -// If the target is remote, the loader will be restricted -// to the root and below only. If the target is local, the -// loader will have the restrictions passed in. Regardless, -// if a local target attempts to transitively load remote bases, -// the remote bases will all be root-only restricted. -func NewLoader( - lr LoadRestrictorFunc, - target string, fSys filesys.FileSystem) (ifc.Loader, error) { - repoSpec, err := git.NewRepoSpecFromUrl(target) - if err == nil { - // The target qualifies as a remote git target. - return newLoaderAtGitClone( - repoSpec, fSys, nil, git.ClonerUsingGitExec) - } - root, err := demandDirectoryRoot(fSys, target) - if err != nil { - return nil, err - } - return newLoaderAtConfirmedDir( - lr, root, fSys, nil, git.ClonerUsingGitExec), nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/loader/loadrestrictions.go b/vendor/sigs.k8s.io/kustomize/api/loader/loadrestrictions.go deleted file mode 100644 index a016a962..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/loader/loadrestrictions.go +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package loader - -import ( - "fmt" - - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -type LoadRestrictorFunc func( - filesys.FileSystem, filesys.ConfirmedDir, string) (string, error) - -func RestrictionRootOnly( - fSys filesys.FileSystem, root filesys.ConfirmedDir, path string) (string, error) { - d, f, err := fSys.CleanedAbs(path) - if err != nil { - return "", err - } - if f == "" { - return "", fmt.Errorf("'%s' must resolve to a file", path) - } - if !d.HasPrefix(root) { - return "", fmt.Errorf( - "security; file '%s' is not in or below '%s'", - path, root) - } - return d.Join(f), nil -} - -func RestrictionNone( - _ filesys.FileSystem, _ filesys.ConfirmedDir, path string) (string, error) { - return path, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/provenance/provenance.go b/vendor/sigs.k8s.io/kustomize/api/provenance/provenance.go deleted file mode 100644 index 4ad40395..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/provenance/provenance.go +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package provenance - -import ( - "fmt" - "runtime" - "strings" -) - -var ( - version = "unknown" - // sha1 from git, output of $(git rev-parse HEAD) - gitCommit = "$Format:%H$" - // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') - buildDate = "1970-01-01T00:00:00Z" - goos = runtime.GOOS - goarch = runtime.GOARCH -) - -// Provenance holds information about the build of an executable. -type Provenance struct { - // Version of the kustomize binary. - Version string `json:"version,omitempty"` - // GitCommit is a git commit - GitCommit string `json:"gitCommit,omitempty"` - // BuildDate is date of the build. - BuildDate string `json:"buildDate,omitempty"` - // GoOs holds OS name. - GoOs string `json:"goOs,omitempty"` - // GoArch holds architecture name. - GoArch string `json:"goArch,omitempty"` -} - -// GetProvenance returns an instance of Provenance. -func GetProvenance() Provenance { - return Provenance{ - version, - gitCommit, - buildDate, - goos, - goarch, - } -} - -// Full returns the full provenance stamp. -func (v Provenance) Full() string { - return fmt.Sprintf("%+v", v) -} - -// Short returns the shortened provenance stamp. -func (v Provenance) Short() string { - return fmt.Sprintf( - "%v", - Provenance{ - Version: v.Version, - BuildDate: v.BuildDate, - }) -} - -// Semver returns the semantic version of kustomize. -// kustomize version is set in format "kustomize/vX.X.X" in every release. -// X.X.X is a semver. If the version string is not in this format, -// return the original version string -func (v Provenance) Semver() string { - return strings.TrimPrefix(v.Version, "kustomize/") -} diff --git a/vendor/sigs.k8s.io/kustomize/api/provider/depprovider.go b/vendor/sigs.k8s.io/kustomize/api/provider/depprovider.go deleted file mode 100644 index 0102c89c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/provider/depprovider.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package provider - -import ( - "sigs.k8s.io/kustomize/api/hasher" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/validate" - "sigs.k8s.io/kustomize/api/resource" -) - -// DepProvider is a dependency provider, injecting different -// implementations depending on the context. -type DepProvider struct { - resourceFactory *resource.Factory - // implemented by api/internal/validate.FieldValidator - // See TODO inside the validator for status. - // At time of writing, this is a do-nothing - // validator as it's not critical to kustomize function. - fieldValidator ifc.Validator -} - -func NewDepProvider() *DepProvider { - rf := resource.NewFactory(&hasher.Hasher{}) - return &DepProvider{ - resourceFactory: rf, - fieldValidator: validate.NewFieldValidator(), - } -} - -func NewDefaultDepProvider() *DepProvider { - return NewDepProvider() -} - -func (dp *DepProvider) GetResourceFactory() *resource.Factory { - return dp.resourceFactory -} - -func (dp *DepProvider) GetFieldValidator() ifc.Validator { - return dp.fieldValidator -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resmap/factory.go b/vendor/sigs.k8s.io/kustomize/api/resmap/factory.go deleted file mode 100644 index 9ec0fe39..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resmap/factory.go +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resmap - -import ( - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/kusterr" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Factory makes instances of ResMap. -type Factory struct { - // Makes resources. - resF *resource.Factory -} - -// NewFactory returns a new resmap.Factory. -func NewFactory(rf *resource.Factory) *Factory { - return &Factory{resF: rf} -} - -// RF returns a resource.Factory. -func (rmF *Factory) RF() *resource.Factory { - return rmF.resF -} - -func New() ResMap { - return newOne() -} - -// FromResource returns a ResMap with one entry. -func (rmF *Factory) FromResource(res *resource.Resource) ResMap { - m, err := newResMapFromResourceSlice([]*resource.Resource{res}) - if err != nil { - panic(err) - } - return m -} - -// FromResourceSlice returns a ResMap with a slice of resources. -func (rmF *Factory) FromResourceSlice(ress []*resource.Resource) ResMap { - m, err := newResMapFromResourceSlice(ress) - if err != nil { - panic(err) - } - return m -} - -// FromFile returns a ResMap given a resource path. -func (rmF *Factory) FromFile( - loader ifc.Loader, path string) (ResMap, error) { - content, err := loader.Load(path) - if err != nil { - return nil, err - } - m, err := rmF.NewResMapFromBytes(content) - if err != nil { - return nil, kusterr.Handler(err, path) - } - return m, nil -} - -// NewResMapFromBytes decodes a list of objects in byte array format. -func (rmF *Factory) NewResMapFromBytes(b []byte) (ResMap, error) { - resources, err := rmF.resF.SliceFromBytes(b) - if err != nil { - return nil, err - } - return newResMapFromResourceSlice(resources) -} - -// NewResMapFromConfigMapArgs returns a Resource slice given -// a configmap metadata slice from kustomization file. -func (rmF *Factory) NewResMapFromConfigMapArgs( - kvLdr ifc.KvLoader, argList []types.ConfigMapArgs) (ResMap, error) { - var resources []*resource.Resource - for _, args := range argList { - res, err := rmF.resF.MakeConfigMap(kvLdr, &args) - if err != nil { - return nil, errors.Wrap(err, "NewResMapFromConfigMapArgs") - } - resources = append(resources, res) - } - return newResMapFromResourceSlice(resources) -} - -// FromConfigMapArgs creates a new ResMap containing one ConfigMap. -func (rmF *Factory) FromConfigMapArgs( - kvLdr ifc.KvLoader, args types.ConfigMapArgs) (ResMap, error) { - res, err := rmF.resF.MakeConfigMap(kvLdr, &args) - if err != nil { - return nil, err - } - return rmF.FromResource(res), nil -} - -// NewResMapFromSecretArgs takes a SecretArgs slice, generates -// secrets from each entry, and accumulates them in a ResMap. -func (rmF *Factory) NewResMapFromSecretArgs( - kvLdr ifc.KvLoader, argsList []types.SecretArgs) (ResMap, error) { - var resources []*resource.Resource - for _, args := range argsList { - res, err := rmF.resF.MakeSecret(kvLdr, &args) - if err != nil { - return nil, errors.Wrap(err, "NewResMapFromSecretArgs") - } - resources = append(resources, res) - } - return newResMapFromResourceSlice(resources) -} - -// FromSecretArgs creates a new ResMap containing one secret. -func (rmF *Factory) FromSecretArgs( - kvLdr ifc.KvLoader, args types.SecretArgs) (ResMap, error) { - res, err := rmF.resF.MakeSecret(kvLdr, &args) - if err != nil { - return nil, err - } - return rmF.FromResource(res), nil -} - -func newResMapFromResourceSlice( - resources []*resource.Resource) (ResMap, error) { - result := New() - for _, res := range resources { - err := result.Append(res) - if err != nil { - return nil, err - } - } - return result, nil -} - -// NewResMapFromRNodeSlice returns a ResMap from a slice of RNodes -func (rmF *Factory) NewResMapFromRNodeSlice(s []*yaml.RNode) (ResMap, error) { - rs, err := rmF.resF.ResourcesFromRNodes(s) - if err != nil { - return nil, err - } - return newResMapFromResourceSlice(rs) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resmap/idslice.go b/vendor/sigs.k8s.io/kustomize/api/resmap/idslice.go deleted file mode 100644 index 8c25cbb2..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resmap/idslice.go +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2018 The 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 resmap - -import ( - "sort" - - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// IdSlice implements the sort interface. -type IdSlice []resid.ResId - -var _ sort.Interface = IdSlice{} - -func (a IdSlice) Len() int { return len(a) } -func (a IdSlice) Swap(i, j int) { a[i], a[j] = a[j], a[i] } -func (a IdSlice) Less(i, j int) bool { - if !a[i].Gvk.Equals(a[j].Gvk) { - return a[i].Gvk.IsLessThan(a[j].Gvk) - } - return a[i].LegacySortString() < a[j].LegacySortString() -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resmap/resmap.go b/vendor/sigs.k8s.io/kustomize/api/resmap/resmap.go deleted file mode 100644 index ea913ba6..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resmap/resmap.go +++ /dev/null @@ -1,333 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package resmap implements a map from ResId to Resource that -// tracks all resources in a kustomization. -package resmap - -import ( - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// A Transformer modifies an instance of ResMap. -type Transformer interface { - // Transform modifies data in the argument, - // e.g. adding labels to resources that can be labelled. - Transform(m ResMap) error -} - -// A TransformerWithProperties contains a Transformer and stores -// some of its properties -type TransformerWithProperties struct { - Transformer - Origin *resource.Origin -} - -// A Generator creates an instance of ResMap. -type Generator interface { - Generate() (ResMap, error) -} - -// A GeneratorWithProperties contains a Generator and stores -// some of its properties -type GeneratorWithProperties struct { - Generator - Origin *resource.Origin -} - -// Something that's configurable accepts an -// instance of PluginHelpers and a raw config -// object (YAML in []byte form). -type Configurable interface { - Config(h *PluginHelpers, config []byte) error -} - -// NewPluginHelpers makes an instance of PluginHelpers. -func NewPluginHelpers( - ldr ifc.Loader, v ifc.Validator, rf *Factory, - pc *types.PluginConfig) *PluginHelpers { - return &PluginHelpers{ldr: ldr, v: v, rf: rf, pc: pc} -} - -// PluginHelpers holds things that any or all plugins might need. -// This should be available to each plugin, in addition to -// any plugin-specific configuration. -type PluginHelpers struct { - ldr ifc.Loader - v ifc.Validator - rf *Factory - pc *types.PluginConfig -} - -func (c *PluginHelpers) GeneralConfig() *types.PluginConfig { - return c.pc -} - -func (c *PluginHelpers) Loader() ifc.Loader { - return c.ldr -} - -func (c *PluginHelpers) ResmapFactory() *Factory { - return c.rf -} - -func (c *PluginHelpers) Validator() ifc.Validator { - return c.v -} - -type GeneratorPlugin interface { - Generator - Configurable -} - -type TransformerPlugin interface { - Transformer - Configurable -} - -// ResMap is an interface describing operations on the -// core kustomize data structure, a list of Resources. -// -// Every Resource has two ResIds: OrgId and CurId. -// -// In a ResMap, no two resources may have the same CurId, -// but they may have the same OrgId. The latter can happen -// when mixing two or more different overlays apply different -// transformations to a common base. When looking for a -// resource to transform, try the OrgId first, and if this -// fails or finds too many, it might make sense to then try -// the CurrId. Depends on the situation. -// -// TODO: get rid of this interface (use bare resWrangler). -// There aren't multiple implementations any more. -type ResMap interface { - // Size reports the number of resources. - Size() int - - // Resources provides a discardable slice - // of resource pointers, returned in the order - // as appended. - Resources() []*resource.Resource - - // Append adds a Resource. Error on CurId collision. - // - // A class invariant of ResMap is that all of its - // resources must differ in their value of - // CurId(), aka current Id. The Id is the tuple - // of {namespace, group, version, kind, name} - // (see ResId). - // - // This invariant reflects the invariant of a - // kubernetes cluster, where if one tries to add - // a resource to the cluster whose Id matches - // that of a resource already in the cluster, - // only two outcomes are allowed. Either the - // incoming resource is _merged_ into the existing - // one, or the incoming resource is rejected. - // One cannot end up with two resources - // in the cluster with the same Id. - Append(*resource.Resource) error - - // AppendAll appends another ResMap to self, - // failing on any CurId collision. - AppendAll(ResMap) error - - // AbsorbAll appends, replaces or merges the contents - // of another ResMap into self, - // allowing and sometimes demanding ID collisions. - // A collision would be demanded, say, when a generated - // ConfigMap has the "replace" option in its generation - // instructions, meaning it _must_ replace - // something in the known set of resources. - // If a resource id for resource X is found to already - // be in self, then the behavior field for X must - // be BehaviorMerge or BehaviorReplace. If X is not in - // self, then its behavior _cannot_ be merge or replace. - AbsorbAll(ResMap) error - - // AddOriginAnnotation will add the provided origin as - // an origin annotation to all resources in the ResMap, if - // the origin is not nil. - AddOriginAnnotation(origin *resource.Origin) error - - // RemoveOriginAnnotation will remove the origin annotation - // from all resources in the ResMap - RemoveOriginAnnotations() error - - // AddTransformerAnnotation will add the provided origin as - // an origin annotation if the resource doesn't have one; a - // transformer annotation otherwise; to all resources in - // ResMap - AddTransformerAnnotation(origin *resource.Origin) error - - // RemoveTransformerAnnotation will remove the transformer annotation - // from all resources in the ResMap - RemoveTransformerAnnotations() error - - // AnnotateAll annotates all resources in the ResMap with - // the provided key value pair. - AnnotateAll(key string, value string) error - - // AsYaml returns the yaml form of resources. - AsYaml() ([]byte, error) - - // GetByIndex returns a resource at the given index, - // nil if out of range. - GetByIndex(int) *resource.Resource - - // GetIndexOfCurrentId returns the index of the resource - // with the given CurId. - // Returns error if there is more than one match. - // Returns (-1, nil) if there is no match. - GetIndexOfCurrentId(id resid.ResId) (int, error) - - // GetMatchingResourcesByCurrentId returns the resources - // who's CurId is matched by the argument. - GetMatchingResourcesByCurrentId(matches IdMatcher) []*resource.Resource - - // GetMatchingResourcesByAnyId returns the resources - // who's current or previous IDs is matched by the argument. - GetMatchingResourcesByAnyId(matches IdMatcher) []*resource.Resource - - // GetByCurrentId is shorthand for calling - // GetMatchingResourcesByCurrentId with a matcher requiring - // an exact match, returning an error on multiple or no matches. - GetByCurrentId(resid.ResId) (*resource.Resource, error) - - // GetById is shorthand for calling - // GetMatchingResourcesByAnyId with a matcher requiring - // an exact match, returning an error on multiple or no matches. - GetById(resid.ResId) (*resource.Resource, error) - - // GroupedByCurrentNamespace returns a map of namespace - // to a slice of *Resource in that namespace. - // Cluster-scoped Resources are not included (see ClusterScoped). - // Resources with an empty namespace are placed - // in the resid.DefaultNamespace entry. - GroupedByCurrentNamespace() map[string][]*resource.Resource - - // GroupedByOriginalNamespace performs as GroupByNamespace - // but use the original namespace instead of the current - // one to perform the grouping. - GroupedByOriginalNamespace() map[string][]*resource.Resource - - // ClusterScoped returns a slice of resources that - // cannot be placed in a namespace, e.g. - // Node, ClusterRole, Namespace itself, etc. - ClusterScoped() []*resource.Resource - - // AllIds returns all CurrentIds. - AllIds() []resid.ResId - - // Replace replaces the resource with the matching CurId. - // Error if there's no match or more than one match. - // Returns the index where the replacement happened. - Replace(*resource.Resource) (int, error) - - // Remove removes the resource whose CurId matches the argument. - // Error if not found. - Remove(resid.ResId) error - - // Clear removes all resources and Ids. - Clear() - - // DropEmpties drops empty resources from the ResMap. - DropEmpties() - - // SubsetThatCouldBeReferencedByResource returns a ResMap subset - // of self with resources that could be referenced by the - // resource argument. - // This is a filter; it excludes things that cannot be - // referenced by the resource, e.g. objects in other - // namespaces. Cluster wide objects are never excluded. - SubsetThatCouldBeReferencedByResource(*resource.Resource) (ResMap, error) - - // DeAnchor replaces YAML aliases with structured data copied from anchors. - // This cannot be undone; if desired, call DeepCopy first. - // Subsequent marshalling to YAML will no longer have anchor - // definitions ('&') or aliases ('*'). - // - // Anchors are not expected to work across YAML 'documents'. - // If three resources are loaded from one file containing three YAML docs: - // - // {resourceA} - // --- - // {resourceB} - // --- - // {resourceC} - // - // then anchors defined in A cannot be seen from B and C and vice versa. - // OTOH, cross-resource links (a field in B referencing fields in A) will - // work if the resources are gathered in a ResourceList: - // - // apiVersion: config.kubernetes.io/v1 - // kind: ResourceList - // metadata: - // name: someList - // items: - // - {resourceA} - // - {resourceB} - // - {resourceC} - // - DeAnchor() error - - // DeepCopy copies the ResMap and underlying resources. - DeepCopy() ResMap - - // ShallowCopy copies the ResMap but - // not the underlying resources. - ShallowCopy() ResMap - - // ErrorIfNotEqualSets returns an error if the - // argument doesn't have the same resources as self. - // Ordering is _not_ taken into account, - // as this function was solely used in tests written - // before internal resource order was maintained, - // and those tests are initialized with maps which - // by definition have random ordering, and will - // fail spuriously. - // TODO: modify tests to not use resmap.FromMap, - // TODO: - and replace this with a stricter equals. - ErrorIfNotEqualSets(ResMap) error - - // ErrorIfNotEqualLists returns an error if the - // argument doesn't have the resource objects - // data as self, in the same order. - // Meta information is ignored; this is similar - // to comparing the AsYaml() strings, but allows - // for more informed errors on not equals. - ErrorIfNotEqualLists(ResMap) error - - // Debug prints the ResMap. - Debug(title string) - - // Select returns a list of resources that - // are selected by a Selector - Select(types.Selector) ([]*resource.Resource, error) - - // ToRNodeSlice returns a copy of the resources as RNodes. - ToRNodeSlice() []*yaml.RNode - - // ApplySmPatch applies a strategic-merge patch to the - // selected set of resources. - ApplySmPatch( - selectedSet *resource.IdSet, patch *resource.Resource) error - - // RemoveBuildAnnotations removes annotations created by the build process. - RemoveBuildAnnotations() - - // ApplyFilter applies an RNode filter to all Resources in the ResMap. - // TODO: Send/recover ancillary Resource data to/from subprocesses. - // Assure that the ancillary data in Resource (everything not in the RNode) - // is sent to and re-captured from transformer subprocess (as the process - // might edit that information). One way to do this would be to solely use - // RNode metadata annotation reading and writing instead of using Resource - // struct data members, i.e. the Resource struct is replaced by RNode - // and use of (slow) k8s metadata annotations inside the RNode. - ApplyFilter(f kio.Filter) error -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resmap/reswrangler.go b/vendor/sigs.k8s.io/kustomize/api/resmap/reswrangler.go deleted file mode 100644 index 5ce98dc7..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resmap/reswrangler.go +++ /dev/null @@ -1,765 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resmap - -import ( - "bytes" - "fmt" - "reflect" - - "github.com/pkg/errors" - "sigs.k8s.io/kustomize/api/filters/annotations" - "sigs.k8s.io/kustomize/api/resource" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/resid" - kyaml "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// resWrangler implements ResMap. -type resWrangler struct { - // Resource list maintained in load (append) order. - // This is important for transformers, which must - // be performed in a specific order, and for users - // who for whatever reasons wish the order they - // specify in kustomizations to be maintained and - // available as an option for final YAML rendering. - rList []*resource.Resource -} - -func newOne() *resWrangler { - result := &resWrangler{} - result.Clear() - return result -} - -// Clear implements ResMap. -func (m *resWrangler) Clear() { - m.rList = nil -} - -// DropEmpties quickly drops empty resources. -// It doesn't use Append, which checks for Id collisions. -func (m *resWrangler) DropEmpties() { - var rList []*resource.Resource - for _, r := range m.rList { - if !r.IsNilOrEmpty() { - rList = append(rList, r) - } - } - m.rList = rList -} - -// Size implements ResMap. -func (m *resWrangler) Size() int { - return len(m.rList) -} - -func (m *resWrangler) indexOfResource(other *resource.Resource) int { - for i, r := range m.rList { - if r == other { - return i - } - } - return -1 -} - -// Resources implements ResMap. -func (m *resWrangler) Resources() []*resource.Resource { - tmp := make([]*resource.Resource, len(m.rList)) - copy(tmp, m.rList) - return tmp -} - -// Append implements ResMap. -func (m *resWrangler) Append(res *resource.Resource) error { - id := res.CurId() - if r := m.GetMatchingResourcesByCurrentId(id.Equals); len(r) > 0 { - return fmt.Errorf( - "may not add resource with an already registered id: %s", id) - } - m.append(res) - return nil -} - -// append appends without performing an Id check -func (m *resWrangler) append(res *resource.Resource) { - m.rList = append(m.rList, res) -} - -// Remove implements ResMap. -func (m *resWrangler) Remove(adios resid.ResId) error { - var rList []*resource.Resource - for _, r := range m.rList { - if r.CurId() != adios { - rList = append(rList, r) - } - } - if len(rList) != m.Size()-1 { - return fmt.Errorf("id %s not found in removal", adios) - } - m.rList = rList - return nil -} - -// Replace implements ResMap. -func (m *resWrangler) Replace(res *resource.Resource) (int, error) { - id := res.CurId() - i, err := m.GetIndexOfCurrentId(id) - if err != nil { - return -1, errors.Wrap(err, "in Replace") - } - if i < 0 { - return -1, fmt.Errorf("cannot find resource with id %s to replace", id) - } - m.rList[i] = res - return i, nil -} - -// AllIds implements ResMap. -func (m *resWrangler) AllIds() (ids []resid.ResId) { - ids = make([]resid.ResId, m.Size()) - for i, r := range m.rList { - ids[i] = r.CurId() - } - return -} - -// Debug implements ResMap. -func (m *resWrangler) Debug(title string) { - fmt.Println("--------------------------- " + title) - firstObj := true - for i, r := range m.rList { - if firstObj { - firstObj = false - } else { - fmt.Println("---") - } - fmt.Printf("# %d %s\n%s\n", i, r.OrgId(), r.String()) - } -} - -type IdMatcher func(resid.ResId) bool - -// GetByIndex implements ResMap. -func (m *resWrangler) GetByIndex(i int) *resource.Resource { - if i < 0 || i >= m.Size() { - return nil - } - return m.rList[i] -} - -// GetIndexOfCurrentId implements ResMap. -func (m *resWrangler) GetIndexOfCurrentId(id resid.ResId) (int, error) { - count := 0 - result := -1 - for i, r := range m.rList { - if id.Equals(r.CurId()) { - count++ - result = i - } - } - if count > 1 { - return -1, fmt.Errorf("id matched %d resources", count) - } - return result, nil -} - -type IdFromResource func(r *resource.Resource) resid.ResId - -func GetCurrentId(r *resource.Resource) resid.ResId { return r.CurId() } - -// GetMatchingResourcesByCurrentId implements ResMap. -func (m *resWrangler) GetMatchingResourcesByCurrentId( - matches IdMatcher) []*resource.Resource { - return m.filteredById(matches, GetCurrentId) -} - -// GetMatchingResourcesByAnyId implements ResMap. -func (m *resWrangler) GetMatchingResourcesByAnyId( - matches IdMatcher) []*resource.Resource { - var result []*resource.Resource - for _, r := range m.rList { - for _, id := range append(r.PrevIds(), r.CurId()) { - if matches(id) { - result = append(result, r) - break - } - } - } - return result -} - -func (m *resWrangler) filteredById( - matches IdMatcher, idGetter IdFromResource) []*resource.Resource { - var result []*resource.Resource - for _, r := range m.rList { - if matches(idGetter(r)) { - result = append(result, r) - } - } - return result -} - -// GetByCurrentId implements ResMap. -func (m *resWrangler) GetByCurrentId( - id resid.ResId) (*resource.Resource, error) { - return demandOneMatch(m.GetMatchingResourcesByCurrentId, id, "Current") -} - -// GetById implements ResMap. -func (m *resWrangler) GetById( - id resid.ResId) (*resource.Resource, error) { - r, err := demandOneMatch(m.GetMatchingResourcesByAnyId, id, "Id") - if err != nil { - return nil, fmt.Errorf( - "%s; failed to find unique target for patch %s", - err.Error(), id.String()) - } - return r, nil -} - -type resFinder func(IdMatcher) []*resource.Resource - -func demandOneMatch( - f resFinder, id resid.ResId, s string) (*resource.Resource, error) { - r := f(id.Equals) - if len(r) == 1 { - return r[0], nil - } - if len(r) > 1 { - return nil, fmt.Errorf("multiple matches for %s %s", s, id) - } - return nil, fmt.Errorf("no matches for %s %s", s, id) -} - -// GroupedByCurrentNamespace implements ResMap. -func (m *resWrangler) GroupedByCurrentNamespace() map[string][]*resource.Resource { - items := m.groupedByCurrentNamespace() - delete(items, resid.TotallyNotANamespace) - return items -} - -// ClusterScoped implements ResMap. -func (m *resWrangler) ClusterScoped() []*resource.Resource { - return m.groupedByCurrentNamespace()[resid.TotallyNotANamespace] -} - -func (m *resWrangler) groupedByCurrentNamespace() map[string][]*resource.Resource { - byNamespace := make(map[string][]*resource.Resource) - for _, res := range m.rList { - namespace := res.CurId().EffectiveNamespace() - if _, found := byNamespace[namespace]; !found { - byNamespace[namespace] = []*resource.Resource{} - } - byNamespace[namespace] = append(byNamespace[namespace], res) - } - return byNamespace -} - -// GroupedByOriginalNamespace implements ResMap. -func (m *resWrangler) GroupedByOriginalNamespace() map[string][]*resource.Resource { - items := m.groupedByOriginalNamespace() - delete(items, resid.TotallyNotANamespace) - return items -} - -func (m *resWrangler) groupedByOriginalNamespace() map[string][]*resource.Resource { - byNamespace := make(map[string][]*resource.Resource) - for _, res := range m.rList { - namespace := res.OrgId().EffectiveNamespace() - if _, found := byNamespace[namespace]; !found { - byNamespace[namespace] = []*resource.Resource{} - } - byNamespace[namespace] = append(byNamespace[namespace], res) - } - return byNamespace -} - -// AsYaml implements ResMap. -func (m *resWrangler) AsYaml() ([]byte, error) { - firstObj := true - var b []byte - buf := bytes.NewBuffer(b) - for _, res := range m.rList { - out, err := res.AsYAML() - if err != nil { - m, _ := res.Map() - return nil, errors.Wrapf(err, "%#v", m) - } - if firstObj { - firstObj = false - } else { - if _, err = buf.WriteString("---\n"); err != nil { - return nil, err - } - } - if _, err = buf.Write(out); err != nil { - return nil, err - } - } - return buf.Bytes(), nil -} - -// ErrorIfNotEqualSets implements ResMap. -func (m *resWrangler) ErrorIfNotEqualSets(other ResMap) error { - m2, ok := other.(*resWrangler) - if !ok { - return fmt.Errorf("bad cast to resWrangler 1") - } - if m.Size() != m2.Size() { - return fmt.Errorf( - "lists have different number of entries: %#v doesn't equal %#v", - m.rList, m2.rList) - } - seen := make(map[int]bool) - for _, r1 := range m.rList { - id := r1.CurId() - others := m2.GetMatchingResourcesByCurrentId(id.Equals) - if len(others) == 0 { - return fmt.Errorf( - "id in self missing from other; id: %s", id) - } - if len(others) > 1 { - return fmt.Errorf( - "id in self matches %d in other; id: %s", len(others), id) - } - r2 := others[0] - if !reflect.DeepEqual(r1.RNode, r2.RNode) { - return fmt.Errorf( - "nodes unequal: \n -- %s,\n -- %s\n\n--\n%#v\n------\n%#v\n", - r1, r2, r1, r2) - } - seen[m2.indexOfResource(r2)] = true - } - if len(seen) != m.Size() { - return fmt.Errorf("counting problem %d != %d", len(seen), m.Size()) - } - return nil -} - -// ErrorIfNotEqualLists implements ResMap. -func (m *resWrangler) ErrorIfNotEqualLists(other ResMap) error { - m2, ok := other.(*resWrangler) - if !ok { - return fmt.Errorf("bad cast to resWrangler 2") - } - if m.Size() != m2.Size() { - return fmt.Errorf( - "lists have different number of entries: %#v doesn't equal %#v", - m.rList, m2.rList) - } - for i, r1 := range m.rList { - r2 := m2.rList[i] - if err := r1.ErrIfNotEquals(r2); err != nil { - return err - } - } - return nil -} - -type resCopier func(r *resource.Resource) *resource.Resource - -// ShallowCopy implements ResMap. -func (m *resWrangler) ShallowCopy() ResMap { - return m.makeCopy( - func(r *resource.Resource) *resource.Resource { - return r - }) -} - -// DeepCopy implements ResMap. -func (m *resWrangler) DeepCopy() ResMap { - return m.makeCopy( - func(r *resource.Resource) *resource.Resource { - return r.DeepCopy() - }) -} - -// makeCopy copies the ResMap. -func (m *resWrangler) makeCopy(copier resCopier) ResMap { - result := &resWrangler{} - result.rList = make([]*resource.Resource, m.Size()) - for i, r := range m.rList { - result.rList[i] = copier(r) - } - return result -} - -// SubsetThatCouldBeReferencedByResource implements ResMap. -func (m *resWrangler) SubsetThatCouldBeReferencedByResource( - referrer *resource.Resource) (ResMap, error) { - referrerId := referrer.CurId() - if referrerId.IsClusterScoped() { - // A cluster scoped resource can refer to anything. - return m, nil - } - result := newOne() - roleBindingNamespaces, err := getNamespacesForRoleBinding(referrer) - if err != nil { - return nil, err - } - for _, possibleTarget := range m.rList { - id := possibleTarget.CurId() - if id.IsClusterScoped() { - // A cluster-scoped resource can be referred to by anything. - result.append(possibleTarget) - continue - } - if id.IsNsEquals(referrerId) { - // The two objects are in the same namespace. - result.append(possibleTarget) - continue - } - // The two objects are namespaced (not cluster-scoped), AND - // are in different namespaces. - // There's still a chance they can refer to each other. - if roleBindingNamespaces[possibleTarget.GetNamespace()] { - result.append(possibleTarget) - } - } - return result, nil -} - -// getNamespacesForRoleBinding returns referenced ServiceAccount namespaces -// if the resource is a RoleBinding -func getNamespacesForRoleBinding(r *resource.Resource) (map[string]bool, error) { - result := make(map[string]bool) - if r.GetKind() != "RoleBinding" { - return result, nil - } - //nolint staticcheck - subjects, err := r.GetSlice("subjects") - if err != nil || subjects == nil { - return result, nil - } - for _, s := range subjects { - subject := s.(map[string]interface{}) - if ns, ok1 := subject["namespace"]; ok1 { - if kind, ok2 := subject["kind"]; ok2 { - if kind.(string) == "ServiceAccount" { - if n, ok3 := ns.(string); ok3 { - result[n] = true - } else { - return nil, errors.New(fmt.Sprintf("Invalid Input: namespace is blank for resource %q\n", r.CurId())) - } - } - } - } - } - return result, nil -} - -// AppendAll implements ResMap. -func (m *resWrangler) AppendAll(other ResMap) error { - if other == nil { - return nil - } - m2, ok := other.(*resWrangler) - if !ok { - return fmt.Errorf("bad cast to resWrangler 3") - } - return m.appendAll(m2.rList) -} - -// appendAll appends all the resources, error on Id collision. -func (m *resWrangler) appendAll(list []*resource.Resource) error { - for _, res := range list { - if err := m.Append(res); err != nil { - return err - } - } - return nil -} - -// AbsorbAll implements ResMap. -func (m *resWrangler) AbsorbAll(other ResMap) error { - if other == nil { - return nil - } - m2, ok := other.(*resWrangler) - if !ok { - return fmt.Errorf("bad cast to resWrangler 4") - } - for _, r := range m2.rList { - err := m.appendReplaceOrMerge(r) - if err != nil { - return err - } - } - return nil -} - -// AddOriginAnnotation implements ResMap. -func (m *resWrangler) AddOriginAnnotation(origin *resource.Origin) error { - if origin == nil { - return nil - } - for _, res := range m.rList { - or, err := res.GetOrigin() - if or != nil || err != nil { - // if any resources already have an origin annotation, - // skip it - continue - } - if err := res.SetOrigin(origin); err != nil { - return err - } - } - return nil -} - -// RemoveOriginAnnotation implements ResMap -func (m *resWrangler) RemoveOriginAnnotations() error { - for _, res := range m.rList { - if err := res.SetOrigin(nil); err != nil { - return err - } - } - return nil -} - -// AddTransformerAnnotation implements ResMap -func (m *resWrangler) AddTransformerAnnotation(origin *resource.Origin) error { - for _, res := range m.rList { - or, err := res.GetOrigin() - if err != nil { - return err - } - if or == nil { - // the resource does not have an origin annotation, so - // we assume that the transformer generated the resource - // rather than modifying it - err = res.SetOrigin(origin) - } else { - // the resource already has an origin annotation, so we - // record the provided origin as a transformation - err = res.AddTransformation(origin) - } - if err != nil { - return err - } - } - return nil -} - -// RemoveTransformerAnnotations implements ResMap -func (m *resWrangler) RemoveTransformerAnnotations() error { - for _, res := range m.rList { - if err := res.ClearTransformations(); err != nil { - return err - } - } - return nil -} - -func (m *resWrangler) appendReplaceOrMerge(res *resource.Resource) error { - id := res.CurId() - matches := m.GetMatchingResourcesByAnyId(id.Equals) - switch len(matches) { - case 0: - switch res.Behavior() { - case types.BehaviorMerge, types.BehaviorReplace: - return fmt.Errorf( - "id %#v does not exist; cannot merge or replace", id) - default: - // presumably types.BehaviorCreate - return m.Append(res) - } - case 1: - old := matches[0] - if old == nil { - return fmt.Errorf("id lookup failure") - } - index := m.indexOfResource(old) - if index < 0 { - return fmt.Errorf("indexing problem") - } - switch res.Behavior() { - case types.BehaviorReplace: - res.CopyMergeMetaDataFieldsFrom(old) - case types.BehaviorMerge: - // ensure the origin annotation doesn't get overwritten - orig, err := old.GetOrigin() - if err != nil { - return err - } - res.CopyMergeMetaDataFieldsFrom(old) - res.MergeDataMapFrom(old) - res.MergeBinaryDataMapFrom(old) - if orig != nil { - res.SetOrigin(orig) - } - - default: - return fmt.Errorf( - "id %#v exists; behavior must be merge or replace", id) - } - i, err := m.Replace(res) - if err != nil { - return err - } - if i != index { - return fmt.Errorf("unexpected target index in replacement") - } - return nil - default: - return fmt.Errorf( - "found multiple objects %v that could accept merge of %v", - matches, id) - } -} - -// AnnotateAll implements ResMap -func (m *resWrangler) AnnotateAll(key string, value string) error { - return m.ApplyFilter(annotations.Filter{ - Annotations: map[string]string{ - key: value, - }, - FsSlice: []types.FieldSpec{{ - Path: "metadata/annotations", - CreateIfNotPresent: true, - }}, - }) -} - -// Select returns a list of resources that -// are selected by a Selector -func (m *resWrangler) Select(s types.Selector) ([]*resource.Resource, error) { - var result []*resource.Resource - sr, err := types.NewSelectorRegex(&s) - if err != nil { - return nil, err - } - for _, r := range m.rList { - curId := r.CurId() - orgId := r.OrgId() - - // It first tries to match with the original namespace - // then matches with the current namespace - if !sr.MatchNamespace(orgId.EffectiveNamespace()) && - !sr.MatchNamespace(curId.EffectiveNamespace()) { - continue - } - - // It first tries to match with the original name - // then matches with the current name - if !sr.MatchName(orgId.Name) && - !sr.MatchName(curId.Name) { - continue - } - - // matches the GVK - if !sr.MatchGvk(r.GetGvk()) { - continue - } - - // matches the label selector - matched, err := r.MatchesLabelSelector(s.LabelSelector) - if err != nil { - return nil, err - } - if !matched { - continue - } - - // matches the annotation selector - matched, err = r.MatchesAnnotationSelector(s.AnnotationSelector) - if err != nil { - return nil, err - } - if !matched { - continue - } - result = append(result, r) - } - return result, nil -} - -// ToRNodeSlice returns a copy of the resources as RNodes. -func (m *resWrangler) ToRNodeSlice() []*kyaml.RNode { - result := make([]*kyaml.RNode, len(m.rList)) - for i := range m.rList { - result[i] = m.rList[i].Copy() - } - return result -} - -// DeAnchor implements ResMap. -func (m *resWrangler) DeAnchor() (err error) { - for i := range m.rList { - if err = m.rList[i].DeAnchor(); err != nil { - return err - } - } - return nil -} - -// ApplySmPatch applies the patch, and errors on Id collisions. -func (m *resWrangler) ApplySmPatch( - selectedSet *resource.IdSet, patch *resource.Resource) error { - var list []*resource.Resource - for _, res := range m.rList { - if selectedSet.Contains(res.CurId()) { - patchCopy := patch.DeepCopy() - patchCopy.CopyMergeMetaDataFieldsFrom(patch) - patchCopy.SetGvk(res.GetGvk()) - patchCopy.SetKind(patch.GetKind()) - if err := res.ApplySmPatch(patchCopy); err != nil { - return err - } - } - if !res.IsNilOrEmpty() { - list = append(list, res) - } - } - m.Clear() - return m.appendAll(list) -} - -func (m *resWrangler) RemoveBuildAnnotations() { - for _, r := range m.rList { - r.RemoveBuildAnnotations() - } -} - -// ApplyFilter implements ResMap. -func (m *resWrangler) ApplyFilter(f kio.Filter) error { - reverseLookup := make(map[*kyaml.RNode]*resource.Resource, len(m.rList)) - nodes := make([]*kyaml.RNode, len(m.rList)) - for i, r := range m.rList { - ptr := &(r.RNode) - nodes[i] = ptr - reverseLookup[ptr] = r - } - // The filter can modify nodes, but also delete and create them. - // The filtered list might be smaller or larger than the nodes list. - filtered, err := f.Filter(nodes) - if err != nil { - return err - } - // Rebuild the resmap from the filtered RNodes. - var nRList []*resource.Resource - for _, rn := range filtered { - if rn.IsNilOrEmpty() { - // A node might make it through the filter as an object, - // but still be empty. Drop such entries. - continue - } - res, ok := reverseLookup[rn] - if !ok { - // A node was created; make a Resource to wrap it. - res = &resource.Resource{ - RNode: *rn, - // Leave remaining fields empty. - // At at time of writing, seeking to eliminate those fields. - // Alternatively, could just return error on creation attempt - // until remaining fields eliminated. - } - } - nRList = append(nRList, res) - } - m.rList = nRList - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resource/doc.go b/vendor/sigs.k8s.io/kustomize/api/resource/doc.go deleted file mode 100644 index 32d34b16..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resource/doc.go +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package resource implements representations of k8s API resources. -package resource diff --git a/vendor/sigs.k8s.io/kustomize/api/resource/factory.go b/vendor/sigs.k8s.io/kustomize/api/resource/factory.go deleted file mode 100644 index cbda8723..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resource/factory.go +++ /dev/null @@ -1,293 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resource - -import ( - "encoding/json" - "fmt" - "log" - "strings" - - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/generators" - "sigs.k8s.io/kustomize/api/internal/kusterr" - "sigs.k8s.io/kustomize/api/konfig" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/resid" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Factory makes instances of Resource. -type Factory struct { - hasher ifc.KustHasher - - // When set to true, IncludeLocalConfigs indicates - // that Factory should include resources with the - // annotation 'config.kubernetes.io/local-config'. - // By default these resources are ignored. - IncludeLocalConfigs bool -} - -// NewFactory makes an instance of Factory. -func NewFactory(h ifc.KustHasher) *Factory { - return &Factory{hasher: h} -} - -// Hasher returns an ifc.KustHasher -func (rf *Factory) Hasher() ifc.KustHasher { - return rf.hasher -} - -// FromMap returns a new instance of Resource. -func (rf *Factory) FromMap(m map[string]interface{}) *Resource { - return rf.FromMapAndOption(m, nil) -} - -// FromMapWithName returns a new instance with the given "original" name. -func (rf *Factory) FromMapWithName(n string, m map[string]interface{}) *Resource { - return rf.FromMapWithNamespaceAndName(resid.DefaultNamespace, n, m) -} - -// FromMapWithNamespaceAndName returns a new instance with the given "original" namespace. -func (rf *Factory) FromMapWithNamespaceAndName(ns string, n string, m map[string]interface{}) *Resource { - r := rf.FromMapAndOption(m, nil) - return r.setPreviousId(ns, n, r.GetKind()) -} - -// FromMapAndOption returns a new instance of Resource with given options. -func (rf *Factory) FromMapAndOption( - m map[string]interface{}, args *types.GeneratorArgs) *Resource { - n, err := yaml.FromMap(m) - if err != nil { - // TODO: return err instead of log. - log.Fatal(err) - } - return rf.makeOne(n, args) -} - -// makeOne returns a new instance of Resource. -func (rf *Factory) makeOne(rn *yaml.RNode, o *types.GeneratorArgs) *Resource { - if rn == nil { - log.Fatal("RNode must not be null") - } - resource := &Resource{RNode: *rn} - if o != nil { - if o.Options == nil || !o.Options.DisableNameSuffixHash { - resource.EnableHashSuffix() - } - resource.SetBehavior(types.NewGenerationBehavior(o.Behavior)) - } - - return resource -} - -// SliceFromPatches returns a slice of resources given a patch path -// slice from a kustomization file. -func (rf *Factory) SliceFromPatches( - ldr ifc.Loader, paths []types.PatchStrategicMerge) ([]*Resource, error) { - var result []*Resource - for _, path := range paths { - content, err := ldr.Load(string(path)) - if err != nil { - return nil, err - } - res, err := rf.SliceFromBytes(content) - if err != nil { - return nil, kusterr.Handler(err, string(path)) - } - result = append(result, res...) - } - return result, nil -} - -// FromBytes unmarshalls bytes into one Resource. -func (rf *Factory) FromBytes(in []byte) (*Resource, error) { - result, err := rf.SliceFromBytes(in) - if err != nil { - return nil, err - } - if len(result) != 1 { - return nil, fmt.Errorf( - "expected 1 resource, found %d in %v", len(result), in) - } - return result[0], nil -} - -// SliceFromBytes unmarshals bytes into a Resource slice. -func (rf *Factory) SliceFromBytes(in []byte) ([]*Resource, error) { - nodes, err := rf.RNodesFromBytes(in) - if err != nil { - return nil, err - } - return rf.resourcesFromRNodes(nodes), nil -} - -// DropLocalNodes removes the local nodes by default. Local nodes are detected via the annotation `config.kubernetes.io/local-config: "true"` -func (rf *Factory) DropLocalNodes(nodes []*yaml.RNode) ([]*Resource, error) { - var result []*yaml.RNode - for _, node := range nodes { - if node.IsNilOrEmpty() { - continue - } - md, err := node.GetValidatedMetadata() - if err != nil { - return nil, err - } - - if rf.IncludeLocalConfigs { - result = append(result, node) - continue - } - localConfig, exist := md.ObjectMeta.Annotations[konfig.IgnoredByKustomizeAnnotation] - if !exist || localConfig == "false" { - result = append(result, node) - } - } - return rf.resourcesFromRNodes(result), nil -} - -// ResourcesFromRNodes converts RNodes to Resources. -func (rf *Factory) ResourcesFromRNodes( - nodes []*yaml.RNode) (result []*Resource, err error) { - return rf.DropLocalNodes(nodes) -} - -// resourcesFromRNode assumes all nodes are good. -func (rf *Factory) resourcesFromRNodes( - nodes []*yaml.RNode) (result []*Resource) { - for _, n := range nodes { - result = append(result, rf.makeOne(n, nil)) - } - return -} - -func (rf *Factory) RNodesFromBytes(b []byte) ([]*yaml.RNode, error) { - nodes, err := kio.FromBytes(b) - if err != nil { - return nil, err - } - nodes, err = rf.dropBadNodes(nodes) - if err != nil { - return nil, err - } - return rf.inlineAnyEmbeddedLists(nodes) -} - -// inlineAnyEmbeddedLists scans the RNode slice for nodes named FooList. -// Such nodes are expected to be lists of resources, each of type Foo. -// These lists are replaced in the result by their inlined resources. -func (rf *Factory) inlineAnyEmbeddedLists( - nodes []*yaml.RNode) (result []*yaml.RNode, err error) { - var n0 *yaml.RNode - for len(nodes) > 0 { - n0, nodes = nodes[0], nodes[1:] - kind := n0.GetKind() - if !strings.HasSuffix(kind, "List") { - result = append(result, n0) - continue - } - // Convert a FooList into a slice of Foo. - var m map[string]interface{} - m, err = n0.Map() - if err != nil { - return nil, fmt.Errorf("trouble expanding list of %s; %w", kind, err) - } - items, ok := m["items"] - if !ok { - // treat as an empty list - continue - } - slice, ok := items.([]interface{}) - if !ok { - if items == nil { - // an empty list - continue - } - return nil, fmt.Errorf( - "expected array in %s/items, but found %T", kind, items) - } - innerNodes, err := rf.convertObjectSliceToNodeSlice(slice) - if err != nil { - return nil, err - } - nodes = append(nodes, innerNodes...) - } - return result, nil -} - -// convertObjectSlice converts a list of objects to a list of RNode. -func (rf *Factory) convertObjectSliceToNodeSlice( - objects []interface{}) (result []*yaml.RNode, err error) { - var bytes []byte - var nodes []*yaml.RNode - for _, obj := range objects { - bytes, err = json.Marshal(obj) - if err != nil { - return - } - nodes, err = kio.FromBytes(bytes) - if err != nil { - return - } - nodes, err = rf.dropBadNodes(nodes) - if err != nil { - return - } - result = append(result, nodes...) - } - return -} - -// dropBadNodes may drop some nodes from its input argument. -func (rf *Factory) dropBadNodes(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - var result []*yaml.RNode - for _, n := range nodes { - if n.IsNilOrEmpty() { - continue - } - if _, err := n.GetValidatedMetadata(); err != nil { - return nil, err - } - if foundNil, path := n.HasNilEntryInList(); foundNil { - return nil, fmt.Errorf("empty item at %v in object %v", path, n) - } - result = append(result, n) - } - return result, nil -} - -// SliceFromBytesWithNames unmarshals bytes into a Resource slice with specified original -// name. -func (rf *Factory) SliceFromBytesWithNames(names []string, in []byte) ([]*Resource, error) { - result, err := rf.SliceFromBytes(in) - if err != nil { - return nil, err - } - if len(names) != len(result) { - return nil, fmt.Errorf("number of names doesn't match number of resources") - } - for i, res := range result { - res.setPreviousId(resid.DefaultNamespace, names[i], res.GetKind()) - } - return result, nil -} - -// MakeConfigMap makes an instance of Resource for ConfigMap -func (rf *Factory) MakeConfigMap(kvLdr ifc.KvLoader, args *types.ConfigMapArgs) (*Resource, error) { - rn, err := generators.MakeConfigMap(kvLdr, args) - if err != nil { - return nil, err - } - return rf.makeOne(rn, &args.GeneratorArgs), nil -} - -// MakeSecret makes an instance of Resource for Secret -func (rf *Factory) MakeSecret(kvLdr ifc.KvLoader, args *types.SecretArgs) (*Resource, error) { - rn, err := generators.MakeSecret(kvLdr, args) - if err != nil { - return nil, err - } - return rf.makeOne(rn, &args.GeneratorArgs), nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resource/idset.go b/vendor/sigs.k8s.io/kustomize/api/resource/idset.go deleted file mode 100644 index 5d6bd63e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resource/idset.go +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resource - -import "sigs.k8s.io/kustomize/kyaml/resid" - -type IdSet struct { - ids map[resid.ResId]bool -} - -func MakeIdSet(slice []*Resource) *IdSet { - set := make(map[resid.ResId]bool) - for _, r := range slice { - id := r.CurId() - if _, ok := set[id]; !ok { - set[id] = true - } - } - return &IdSet{ids: set} -} - -func (s IdSet) Contains(id resid.ResId) bool { - _, ok := s.ids[id] - return ok -} - -func (s IdSet) Size() int { - return len(s.ids) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resource/origin.go b/vendor/sigs.k8s.io/kustomize/api/resource/origin.go deleted file mode 100644 index d5ac3a1a..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resource/origin.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resource - -import ( - "path/filepath" - "strings" - - "sigs.k8s.io/kustomize/api/internal/git" - kyaml "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Origin retains information about the origin of resources and transformer configs -// that contributed to the output of `kustomize build` -type Origin struct { - // Path is the path to the resource. If a local resource, this path is - // rooted from the directory upon which `kustomize build` was invoked. If a - // remote resource, this path is rooted from the root of the remote repo. - Path string `json:"path,omitempty" yaml:"path,omitempty"` - - // Repo is the remote repository that the resource or transformer originated from if it is - // not from a local file - Repo string `json:"repo,omitempty" yaml:"repo,omitempty"` - - // Ref is the ref of the remote repository that the resource or transformer originated from - // if it is not from a local file - Ref string `json:"ref,omitempty" yaml:"ref,omitempty"` - - // The following fields only apply to resources that have been - // generated by fields other than the `resources` field, or to transformer - // configs. - - // ConfiguredIn is the file path to the generator or transformer config that created the - // resource - ConfiguredIn string `json:"configuredIn,omitempty" yaml:"configuredIn,omitempty"` - - // ConfiguredBy is the ObjectReference of the generator or transformer config - ConfiguredBy kyaml.ResourceIdentifier `json:"configuredBy,omitempty" yaml:"configuredBy,omitempty"` -} - -// Copy returns a copy of origin -func (origin *Origin) Copy() Origin { - if origin == nil { - return Origin{} - } - return *origin -} - -// Append returns a copy of origin with a path appended to it -func (origin *Origin) Append(path string) *Origin { - originCopy := origin.Copy() - repoSpec, err := git.NewRepoSpecFromUrl(path) - if err == nil { - originCopy.Repo = repoSpec.Host + repoSpec.OrgRepo - absPath := repoSpec.AbsPath() - path = absPath[strings.Index(absPath[1:], "/")+1:][1:] - originCopy.Path = "" - originCopy.Ref = repoSpec.Ref - } - originCopy.Path = filepath.Join(originCopy.Path, path) - return &originCopy -} - -// String returns a string version of origin -func (origin *Origin) String() (string, error) { - anno, err := kyaml.Marshal(origin) - return string(anno), err -} - -// Transformations is a list of Origin -type Transformations []*Origin - -// String returns a string version of Transformations -func (transformations *Transformations) String() (string, error) { - anno, err := kyaml.Marshal(transformations) - return string(anno), err -} - -// OriginFromCustomPlugin takes a custom plugin defined as a resource -// and returns an origin object to describe it -func OriginFromCustomPlugin(res *Resource) (*Origin, error) { - origin, err := res.GetOrigin() - if err != nil { - return nil, err - } - var result *Origin - if origin != nil { - result = &Origin{ - Repo: origin.Repo, - Ref: origin.Ref, - ConfiguredIn: origin.Path, - ConfiguredBy: kyaml.ResourceIdentifier{ - TypeMeta: kyaml.TypeMeta{ - APIVersion: res.GetApiVersion(), - Kind: res.GetKind(), - }, - NameMeta: kyaml.NameMeta{ - Name: res.GetName(), - Namespace: res.GetNamespace(), - }, - }, - } - } - return result, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/resource/resource.go b/vendor/sigs.k8s.io/kustomize/api/resource/resource.go deleted file mode 100644 index faf88204..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/resource/resource.go +++ /dev/null @@ -1,532 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resource - -import ( - "fmt" - "log" - "strings" - - "sigs.k8s.io/kustomize/api/filters/patchstrategicmerge" - "sigs.k8s.io/kustomize/api/ifc" - "sigs.k8s.io/kustomize/api/internal/utils" - "sigs.k8s.io/kustomize/api/types" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/resid" - kyaml "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/yaml" -) - -// Resource is an RNode, representing a Kubernetes Resource Model object, -// paired with metadata used by kustomize. -type Resource struct { - kyaml.RNode - refVarNames []string -} - -// nolint -var BuildAnnotations = []string{ - utils.BuildAnnotationPreviousKinds, - utils.BuildAnnotationPreviousNames, - utils.BuildAnnotationPrefixes, - utils.BuildAnnotationSuffixes, - utils.BuildAnnotationPreviousNamespaces, - utils.BuildAnnotationAllowNameChange, - utils.BuildAnnotationAllowKindChange, - utils.BuildAnnotationsRefBy, - utils.BuildAnnotationsGenBehavior, - utils.BuildAnnotationsGenAddHashSuffix, - - kioutil.PathAnnotation, - kioutil.IndexAnnotation, - kioutil.SeqIndentAnnotation, - kioutil.IdAnnotation, - kioutil.InternalAnnotationsMigrationResourceIDAnnotation, - - kioutil.LegacyPathAnnotation, - kioutil.LegacyIndexAnnotation, - kioutil.LegacyIdAnnotation, -} - -func (r *Resource) ResetRNode(incoming *Resource) { - r.RNode = *incoming.Copy() -} - -func (r *Resource) GetGvk() resid.Gvk { - return resid.GvkFromNode(&r.RNode) -} - -func (r *Resource) Hash(h ifc.KustHasher) (string, error) { - return h.Hash(&r.RNode) -} - -func (r *Resource) SetGvk(gvk resid.Gvk) { - r.SetKind(gvk.Kind) - r.SetApiVersion(gvk.ApiVersion()) -} - -func (r *Resource) GetOrigin() (*Origin, error) { - annotations := r.GetAnnotations() - originAnnotations, ok := annotations[utils.OriginAnnotationKey] - if !ok { - return nil, nil - } - var origin Origin - if err := yaml.Unmarshal([]byte(originAnnotations), &origin); err != nil { - return nil, err - } - return &origin, nil -} - -func (r *Resource) SetOrigin(origin *Origin) error { - annotations := r.GetAnnotations() - if origin == nil { - delete(annotations, utils.OriginAnnotationKey) - } else { - originStr, err := origin.String() - if err != nil { - return err - } - annotations[utils.OriginAnnotationKey] = originStr - } - return r.SetAnnotations(annotations) -} - -func (r *Resource) GetTransformations() (Transformations, error) { - annotations := r.GetAnnotations() - transformerAnnotations, ok := annotations[utils.TransformerAnnotationKey] - if !ok { - return nil, nil - } - var transformations Transformations - if err := yaml.Unmarshal([]byte(transformerAnnotations), &transformations); err != nil { - return nil, err - } - return transformations, nil -} - -func (r *Resource) AddTransformation(origin *Origin) error { - annotations := r.GetAnnotations() - transformations, err := r.GetTransformations() - if err != nil { - return err - } - if transformations == nil { - transformations = Transformations{} - } - transformations = append(transformations, origin) - transformationStr, err := transformations.String() - if err != nil { - return err - } - annotations[utils.TransformerAnnotationKey] = transformationStr - return r.SetAnnotations(annotations) -} - -func (r *Resource) ClearTransformations() error { - annotations := r.GetAnnotations() - delete(annotations, utils.TransformerAnnotationKey) - return r.SetAnnotations(annotations) -} - -// ResCtx is an interface describing the contextual added -// kept kustomize in the context of each Resource object. -// Currently mainly the name prefix and name suffix are added. -type ResCtx interface { - AddNamePrefix(p string) - AddNameSuffix(s string) - GetNamePrefixes() []string - GetNameSuffixes() []string -} - -// ResCtxMatcher returns true if two Resources are being -// modified in the same kustomize context. -type ResCtxMatcher func(ResCtx) bool - -// DeepCopy returns a new copy of resource -func (r *Resource) DeepCopy() *Resource { - rc := &Resource{ - RNode: *r.Copy(), - } - rc.copyKustomizeSpecificFields(r) - return rc -} - -// CopyMergeMetaDataFieldsFrom copies everything but the non-metadata in -// the resource. -// TODO: move to RNode, use GetMeta to improve performance. -// TODO: make a version of mergeStringMaps that is build-annotation aware -// to avoid repeatedly setting refby and genargs annotations -// Must remove the kustomize bit at the end. -func (r *Resource) CopyMergeMetaDataFieldsFrom(other *Resource) error { - if err := r.SetLabels( - mergeStringMaps(other.GetLabels(), r.GetLabels())); err != nil { - return fmt.Errorf("copyMerge cannot set labels - %w", err) - } - if err := r.SetAnnotations( - mergeStringMapsWithBuildAnnotations(other.GetAnnotations(), r.GetAnnotations())); err != nil { - return fmt.Errorf("copyMerge cannot set annotations - %w", err) - } - if err := r.SetName(other.GetName()); err != nil { - return fmt.Errorf("copyMerge cannot set name - %w", err) - } - if err := r.SetNamespace(other.GetNamespace()); err != nil { - return fmt.Errorf("copyMerge cannot set namespace - %w", err) - } - r.copyKustomizeSpecificFields(other) - return nil -} - -func (r *Resource) copyKustomizeSpecificFields(other *Resource) { - r.refVarNames = copyStringSlice(other.refVarNames) -} - -func (r *Resource) MergeDataMapFrom(o *Resource) { - r.SetDataMap(mergeStringMaps(o.GetDataMap(), r.GetDataMap())) -} - -func (r *Resource) MergeBinaryDataMapFrom(o *Resource) { - r.SetBinaryDataMap(mergeStringMaps(o.GetBinaryDataMap(), r.GetBinaryDataMap())) -} - -func (r *Resource) ErrIfNotEquals(o *Resource) error { - meYaml, err := r.AsYAML() - if err != nil { - return err - } - otherYaml, err := o.AsYAML() - if err != nil { - return err - } - if !r.ReferencesEqual(o) { - return fmt.Errorf( - `unequal references - self: -%sreferenced by: %s ---- other: -%sreferenced by: %s -`, meYaml, r.GetRefBy(), otherYaml, o.GetRefBy()) - } - if string(meYaml) != string(otherYaml) { - return fmt.Errorf(`--- self: -%s ---- other: -%s -`, meYaml, otherYaml) - } - return nil -} - -func (r *Resource) ReferencesEqual(other *Resource) bool { - setSelf := make(map[resid.ResId]bool) - setOther := make(map[resid.ResId]bool) - for _, ref := range other.GetRefBy() { - setOther[ref] = true - } - for _, ref := range r.GetRefBy() { - if _, ok := setOther[ref]; !ok { - return false - } - setSelf[ref] = true - } - return len(setSelf) == len(setOther) -} - -func copyStringSlice(s []string) []string { - if s == nil { - return nil - } - c := make([]string, len(s)) - copy(c, s) - return c -} - -// Implements ResCtx AddNamePrefix -func (r *Resource) AddNamePrefix(p string) { - r.appendCsvAnnotation(utils.BuildAnnotationPrefixes, p) -} - -// Implements ResCtx AddNameSuffix -func (r *Resource) AddNameSuffix(s string) { - r.appendCsvAnnotation(utils.BuildAnnotationSuffixes, s) -} - -func (r *Resource) appendCsvAnnotation(name, value string) { - if value == "" { - return - } - annotations := r.GetAnnotations() - if existing, ok := annotations[name]; ok { - annotations[name] = existing + "," + value - } else { - annotations[name] = value - } - if err := r.SetAnnotations(annotations); err != nil { - panic(err) - } -} - -// Implements ResCtx GetNamePrefixes -func (r *Resource) GetNamePrefixes() []string { - return r.getCsvAnnotation(utils.BuildAnnotationPrefixes) -} - -// Implements ResCtx GetNameSuffixes -func (r *Resource) GetNameSuffixes() []string { - return r.getCsvAnnotation(utils.BuildAnnotationSuffixes) -} - -func (r *Resource) getCsvAnnotation(name string) []string { - annotations := r.GetAnnotations() - if _, ok := annotations[name]; !ok { - return nil - } - return strings.Split(annotations[name], ",") -} - -// PrefixesSuffixesEquals is conceptually doing the same task -// as OutermostPrefixSuffix but performs a deeper comparison -// of the suffix and prefix slices. -func (r *Resource) PrefixesSuffixesEquals(o ResCtx) bool { - return utils.SameEndingSubSlice(r.GetNamePrefixes(), o.GetNamePrefixes()) && - utils.SameEndingSubSlice(r.GetNameSuffixes(), o.GetNameSuffixes()) -} - -// RemoveBuildAnnotations removes annotations created by the build process. -// These are internal-only to kustomize, added to the data pipeline to -// track name changes so name references can be fixed. -func (r *Resource) RemoveBuildAnnotations() { - annotations := r.GetAnnotations() - if len(annotations) == 0 { - return - } - for _, a := range BuildAnnotations { - delete(annotations, a) - } - if err := r.SetAnnotations(annotations); err != nil { - panic(err) - } -} - -func (r *Resource) setPreviousId(ns string, n string, k string) *Resource { - r.appendCsvAnnotation(utils.BuildAnnotationPreviousNames, n) - r.appendCsvAnnotation(utils.BuildAnnotationPreviousNamespaces, ns) - r.appendCsvAnnotation(utils.BuildAnnotationPreviousKinds, k) - return r -} - -// AllowNameChange allows name changes to the resource. -func (r *Resource) AllowNameChange() { - r.enable(utils.BuildAnnotationAllowNameChange) -} - -// NameChangeAllowed checks if a patch resource is allowed to change another resource's name. -func (r *Resource) NameChangeAllowed() bool { - return r.isEnabled(utils.BuildAnnotationAllowNameChange) -} - -// AllowKindChange allows kind changes to the resource. -func (r *Resource) AllowKindChange() { - r.enable(utils.BuildAnnotationAllowKindChange) -} - -// KindChangeAllowed checks if a patch resource is allowed to change another resource's kind. -func (r *Resource) KindChangeAllowed() bool { - return r.isEnabled(utils.BuildAnnotationAllowKindChange) -} - -func (r *Resource) isEnabled(annoKey string) bool { - annotations := r.GetAnnotations() - v, ok := annotations[annoKey] - return ok && v == utils.Enabled -} - -func (r *Resource) enable(annoKey string) { - annotations := r.GetAnnotations() - annotations[annoKey] = utils.Enabled - if err := r.SetAnnotations(annotations); err != nil { - panic(err) - } -} - -// String returns resource as JSON. -func (r *Resource) String() string { - bs, err := r.MarshalJSON() - if err != nil { - return "<" + err.Error() + ">" - } - return strings.TrimSpace(string(bs)) -} - -// AsYAML returns the resource in Yaml form. -// Easier to read than JSON. -func (r *Resource) AsYAML() ([]byte, error) { - json, err := r.MarshalJSON() - if err != nil { - return nil, err - } - return yaml.JSONToYAML(json) -} - -// MustYaml returns YAML or panics. -func (r *Resource) MustYaml() string { - yml, err := r.AsYAML() - if err != nil { - log.Fatal(err) - } - return string(yml) -} - -// Behavior returns the behavior for the resource. -func (r *Resource) Behavior() types.GenerationBehavior { - annotations := r.GetAnnotations() - if v, ok := annotations[utils.BuildAnnotationsGenBehavior]; ok { - return types.NewGenerationBehavior(v) - } - return types.NewGenerationBehavior("") -} - -// SetBehavior sets the behavior for the resource. -func (r *Resource) SetBehavior(behavior types.GenerationBehavior) { - annotations := r.GetAnnotations() - annotations[utils.BuildAnnotationsGenBehavior] = behavior.String() - if err := r.SetAnnotations(annotations); err != nil { - panic(err) - } -} - -// NeedHashSuffix returns true if a resource content -// hash should be appended to the name of the resource. -func (r *Resource) NeedHashSuffix() bool { - return r.isEnabled(utils.BuildAnnotationsGenAddHashSuffix) -} - -// EnableHashSuffix marks the resource as needing a content -// hash to be appended to the name of the resource. -func (r *Resource) EnableHashSuffix() { - r.enable(utils.BuildAnnotationsGenAddHashSuffix) -} - -// OrgId returns the original, immutable ResId for the resource. -// This doesn't have to be unique in a ResMap. -func (r *Resource) OrgId() resid.ResId { - ids := r.PrevIds() - if len(ids) > 0 { - return ids[0] - } - return r.CurId() -} - -// PrevIds returns a list of ResIds that includes every -// previous ResId the resource has had through all of its -// GVKN transformations, in the order that it had that ID. -// I.e. the oldest ID is first. -// The returned array does not include the resource's current -// ID. If there are no previous IDs, this will return nil. -func (r *Resource) PrevIds() []resid.ResId { - prevIds, err := utils.PrevIds(&r.RNode) - if err != nil { - // this should never happen - panic(err) - } - return prevIds -} - -// StorePreviousId stores the resource's current ID via build annotations. -func (r *Resource) StorePreviousId() { - id := r.CurId() - r.setPreviousId(id.EffectiveNamespace(), id.Name, id.Kind) -} - -// CurId returns a ResId for the resource using the -// mutable parts of the resource. -// This should be unique in any ResMap. -func (r *Resource) CurId() resid.ResId { - return resid.NewResIdWithNamespace( - r.GetGvk(), r.GetName(), r.GetNamespace()) -} - -// GetRefBy returns the ResIds that referred to current resource -func (r *Resource) GetRefBy() []resid.ResId { - var resIds []resid.ResId - asStrings := r.getCsvAnnotation(utils.BuildAnnotationsRefBy) - for _, s := range asStrings { - resIds = append(resIds, resid.FromString(s)) - } - return resIds -} - -// AppendRefBy appends a ResId into the refBy list -// Using any type except fmt.Stringer here results in a compilation error -func (r *Resource) AppendRefBy(id fmt.Stringer) { - r.appendCsvAnnotation(utils.BuildAnnotationsRefBy, id.String()) -} - -// GetRefVarNames returns vars that refer to current resource -func (r *Resource) GetRefVarNames() []string { - return r.refVarNames -} - -// AppendRefVarName appends a name of a var into the refVar list -func (r *Resource) AppendRefVarName(variable types.Var) { - r.refVarNames = append(r.refVarNames, variable.Name) -} - -// ApplySmPatch applies the provided strategic merge patch. -func (r *Resource) ApplySmPatch(patch *Resource) error { - n, ns, k := r.GetName(), r.GetNamespace(), r.GetKind() - if patch.NameChangeAllowed() || patch.KindChangeAllowed() { - r.StorePreviousId() - } - if err := r.ApplyFilter(patchstrategicmerge.Filter{ - Patch: &patch.RNode, - }); err != nil { - return err - } - if r.IsNilOrEmpty() { - return nil - } - if !patch.KindChangeAllowed() { - r.SetKind(k) - } - if !patch.NameChangeAllowed() { - r.SetName(n) - } - r.SetNamespace(ns) - return nil -} - -func (r *Resource) ApplyFilter(f kio.Filter) error { - l, err := f.Filter([]*kyaml.RNode{&r.RNode}) - if len(l) == 0 { - // The node was deleted, which means the entire resource - // must be deleted. Signal that via the following: - r.SetYNode(nil) - } - return err -} - -func mergeStringMaps(maps ...map[string]string) map[string]string { - result := map[string]string{} - for _, m := range maps { - for key, value := range m { - result[key] = value - } - } - return result -} - -func mergeStringMapsWithBuildAnnotations(maps ...map[string]string) map[string]string { - result := mergeStringMaps(maps...) - for i := range BuildAnnotations { - if len(maps) > 0 { - if v, ok := maps[0][BuildAnnotations[i]]; ok { - result[BuildAnnotations[i]] = v - continue - } - } - delete(result, BuildAnnotations[i]) - } - return result -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/builtinpluginloadingoptions_string.go b/vendor/sigs.k8s.io/kustomize/api/types/builtinpluginloadingoptions_string.go deleted file mode 100644 index 033a4512..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/builtinpluginloadingoptions_string.go +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by "stringer -type=BuiltinPluginLoadingOptions"; DO NOT EDIT. - -package types - -import "strconv" - -func _() { - // An "invalid array index" compiler error signifies that the constant values have changed. - // Re-run the stringer command to generate them again. - var x [1]struct{} - _ = x[BploUndefined-0] - _ = x[BploUseStaticallyLinked-1] - _ = x[BploLoadFromFileSys-2] -} - -const _BuiltinPluginLoadingOptions_name = "BploUndefinedBploUseStaticallyLinkedBploLoadFromFileSys" - -var _BuiltinPluginLoadingOptions_index = [...]uint8{0, 13, 36, 55} - -func (i BuiltinPluginLoadingOptions) String() string { - if i < 0 || i >= BuiltinPluginLoadingOptions(len(_BuiltinPluginLoadingOptions_index)-1) { - return "BuiltinPluginLoadingOptions(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _BuiltinPluginLoadingOptions_name[_BuiltinPluginLoadingOptions_index[i]:_BuiltinPluginLoadingOptions_index[i+1]] -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/configmapargs.go b/vendor/sigs.k8s.io/kustomize/api/types/configmapargs.go deleted file mode 100644 index 69877769..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/configmapargs.go +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// ConfigMapArgs contains the metadata of how to generate a configmap. -type ConfigMapArgs struct { - // GeneratorArgs for the configmap. - GeneratorArgs `json:",inline,omitempty" yaml:",inline,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/doc.go b/vendor/sigs.k8s.io/kustomize/api/types/doc.go deleted file mode 100644 index 22c38a65..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/doc.go +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package types holds the definition of the kustomization struct and -// supporting structs. It's the k8s API conformant object that describes -// a set of generation and transformation operations to create and/or -// modify k8s resources. -// A kustomization file is a serialization of this struct. -package types diff --git a/vendor/sigs.k8s.io/kustomize/api/types/erronlybuiltinpluginsallowed.go b/vendor/sigs.k8s.io/kustomize/api/types/erronlybuiltinpluginsallowed.go deleted file mode 100644 index 73ee95fd..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/erronlybuiltinpluginsallowed.go +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "fmt" - - "github.com/pkg/errors" -) - -type errOnlyBuiltinPluginsAllowed struct { - name string -} - -func (e *errOnlyBuiltinPluginsAllowed) Error() string { - return fmt.Sprintf( - "external plugins disabled; unable to load external plugin '%s'", - e.name) -} - -func NewErrOnlyBuiltinPluginsAllowed(n string) *errOnlyBuiltinPluginsAllowed { - return &errOnlyBuiltinPluginsAllowed{name: n} -} - -func IsErrOnlyBuiltinPluginsAllowed(err error) bool { - _, ok := err.(*errOnlyBuiltinPluginsAllowed) - if ok { - return true - } - _, ok = errors.Cause(err).(*errOnlyBuiltinPluginsAllowed) - return ok -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/errunabletofind.go b/vendor/sigs.k8s.io/kustomize/api/types/errunabletofind.go deleted file mode 100644 index f95b8edd..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/errunabletofind.go +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "fmt" - "strings" - - "github.com/pkg/errors" -) - -type errUnableToFind struct { - // What are we unable to find? - what string - // What things did we try? - attempts []Pair -} - -func (e *errUnableToFind) Error() string { - var m []string - for _, p := range e.attempts { - m = append(m, "('"+p.Value+"'; "+p.Key+")") - } - return fmt.Sprintf( - "unable to find %s - tried: %s", e.what, strings.Join(m, ", ")) -} - -func NewErrUnableToFind(w string, a []Pair) *errUnableToFind { - return &errUnableToFind{what: w, attempts: a} -} - -func IsErrUnableToFind(err error) bool { - _, ok := err.(*errUnableToFind) - if ok { - return true - } - _, ok = errors.Cause(err).(*errUnableToFind) - return ok -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/fieldspec.go b/vendor/sigs.k8s.io/kustomize/api/types/fieldspec.go deleted file mode 100644 index 8d357954..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/fieldspec.go +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "fmt" - - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// FieldSpec completely specifies a kustomizable field in a k8s API object. -// It helps define the operands of transformations. -// -// For example, a directive to add a common label to objects -// will need to know that a 'Deployment' object (in API group -// 'apps', any version) can have labels at field path -// 'spec/template/metadata/labels', and further that it is OK -// (or not OK) to add that field path to the object if the -// field path doesn't exist already. -// -// This would look like -// { -// group: apps -// kind: Deployment -// path: spec/template/metadata/labels -// create: true -// } -type FieldSpec struct { - resid.Gvk `json:",inline,omitempty" yaml:",inline,omitempty"` - Path string `json:"path,omitempty" yaml:"path,omitempty"` - CreateIfNotPresent bool `json:"create,omitempty" yaml:"create,omitempty"` -} - -func (fs FieldSpec) String() string { - return fmt.Sprintf( - "%s:%v:%s", fs.Gvk.String(), fs.CreateIfNotPresent, fs.Path) -} - -// If true, the primary key is the same, but other fields might not be. -func (fs FieldSpec) effectivelyEquals(other FieldSpec) bool { - return fs.IsSelected(&other.Gvk) && fs.Path == other.Path -} - -type FsSlice []FieldSpec - -func (s FsSlice) Len() int { return len(s) } -func (s FsSlice) Swap(i, j int) { s[i], s[j] = s[j], s[i] } -func (s FsSlice) Less(i, j int) bool { - return s[i].Gvk.IsLessThan(s[j].Gvk) -} - -// MergeAll merges the argument into this, returning the result. -// Items already present are ignored. -// Items that conflict (primary key matches, but remain data differs) -// result in an error. -func (s FsSlice) MergeAll(incoming FsSlice) (result FsSlice, err error) { - result = s - for _, x := range incoming { - result, err = result.MergeOne(x) - if err != nil { - return nil, err - } - } - return result, nil -} - -// MergeOne merges the argument into this, returning the result. -// If the item's primary key is already present, and there are no -// conflicts, it is ignored (we don't want duplicates). -// If there is a conflict, the merge fails. -func (s FsSlice) MergeOne(x FieldSpec) (FsSlice, error) { - i := s.index(x) - if i > -1 { - // It's already there. - if s[i].CreateIfNotPresent != x.CreateIfNotPresent { - return nil, fmt.Errorf("conflicting fieldspecs") - } - return s, nil - } - return append(s, x), nil -} - -func (s FsSlice) index(fs FieldSpec) int { - for i, x := range s { - if x.effectivelyEquals(fs) { - return i - } - } - return -1 -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/fix.go b/vendor/sigs.k8s.io/kustomize/api/types/fix.go deleted file mode 100644 index de70467e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/fix.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "regexp" - - "sigs.k8s.io/yaml" -) - -// FixKustomizationPreUnmarshalling modifies the raw data -// before marshalling - e.g. changes old field names to -// new field names. -func FixKustomizationPreUnmarshalling(data []byte) ([]byte, error) { - deprecatedFieldsMap := map[string]string{ - "imageTags:": "images:", - } - for oldname, newname := range deprecatedFieldsMap { - pattern := regexp.MustCompile(oldname) - data = pattern.ReplaceAll(data, []byte(newname)) - } - doLegacy, err := useLegacyPatch(data) - if err != nil { - return nil, err - } - if doLegacy { - pattern := regexp.MustCompile("patches:") - data = pattern.ReplaceAll(data, []byte("patchesStrategicMerge:")) - } - return data, nil -} - -func useLegacyPatch(data []byte) (bool, error) { - found := false - var object map[string]interface{} - err := yaml.Unmarshal(data, &object) - if err != nil { - return false, err - } - if rawPatches, ok := object["patches"]; ok { - patches, ok := rawPatches.([]interface{}) - if !ok { - return false, err - } - for _, p := range patches { - _, ok := p.(string) - if ok { - found = true - } - } - } - return found, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/generationbehavior.go b/vendor/sigs.k8s.io/kustomize/api/types/generationbehavior.go deleted file mode 100644 index f8f36278..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/generationbehavior.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// GenerationBehavior specifies generation behavior of configmaps, secrets and maybe other resources. -type GenerationBehavior int - -const ( - // BehaviorUnspecified is an Unspecified behavior; typically treated as a Create. - BehaviorUnspecified GenerationBehavior = iota - // BehaviorCreate makes a new resource. - BehaviorCreate - // BehaviorReplace replaces a resource. - BehaviorReplace - // BehaviorMerge attempts to merge a new resource with an existing resource. - BehaviorMerge -) - -// String converts a GenerationBehavior to a string. -func (b GenerationBehavior) String() string { - switch b { - case BehaviorReplace: - return "replace" - case BehaviorMerge: - return "merge" - case BehaviorCreate: - return "create" - default: - return "unspecified" - } -} - -// NewGenerationBehavior converts a string to a GenerationBehavior. -func NewGenerationBehavior(s string) GenerationBehavior { - switch s { - case "replace": - return BehaviorReplace - case "merge": - return BehaviorMerge - case "create": - return BehaviorCreate - default: - return BehaviorUnspecified - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/generatorargs.go b/vendor/sigs.k8s.io/kustomize/api/types/generatorargs.go deleted file mode 100644 index a4145db3..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/generatorargs.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// GeneratorArgs contains arguments common to ConfigMap and Secret generators. -type GeneratorArgs struct { - // Namespace for the configmap, optional - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` - - // Name - actually the partial name - of the generated resource. - // The full name ends up being something like - // NamePrefix + this.Name + hash(content of generated resource). - Name string `json:"name,omitempty" yaml:"name,omitempty"` - - // Behavior of generated resource, must be one of: - // 'create': create a new one - // 'replace': replace the existing one - // 'merge': merge with the existing one - Behavior string `json:"behavior,omitempty" yaml:"behavior,omitempty"` - - // KvPairSources for the generator. - KvPairSources `json:",inline,omitempty" yaml:",inline,omitempty"` - - // Local overrides to global generatorOptions field. - Options *GeneratorOptions `json:"options,omitempty" yaml:"options,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/generatoroptions.go b/vendor/sigs.k8s.io/kustomize/api/types/generatoroptions.go deleted file mode 100644 index 683d89bf..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/generatoroptions.go +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// GeneratorOptions modify behavior of all ConfigMap and Secret generators. -type GeneratorOptions struct { - // Labels to add to all generated resources. - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - - // Annotations to add to all generated resources. - Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` - - // DisableNameSuffixHash if true disables the default behavior of adding a - // suffix to the names of generated resources that is a hash of the - // resource contents. - DisableNameSuffixHash bool `json:"disableNameSuffixHash,omitempty" yaml:"disableNameSuffixHash,omitempty"` - - // Immutable if true add to all generated resources. - Immutable bool `json:"immutable,omitempty" yaml:"immutable,omitempty"` -} - -// MergeGlobalOptionsIntoLocal merges two instances of GeneratorOptions. -// Values in the first 'local' argument cannot be overridden by the second -// 'global' argument, except in the case of booleans. -// -// With booleans, there's no way to distinguish an 'intentional' -// false from 'default' false. So the rule is, if the global value -// of the value of a boolean is true, i.e. disable, it trumps the -// local value. If the global value is false, then the local value is -// respected. Bottom line: a local false cannot override a global true. -// -// boolean fields are always a bad idea; should always use enums instead. -func MergeGlobalOptionsIntoLocal( - localOpts *GeneratorOptions, - globalOpts *GeneratorOptions) *GeneratorOptions { - if globalOpts == nil { - return localOpts - } - if localOpts == nil { - localOpts = &GeneratorOptions{} - } - overrideMap(&localOpts.Labels, globalOpts.Labels) - overrideMap(&localOpts.Annotations, globalOpts.Annotations) - if globalOpts.DisableNameSuffixHash { - localOpts.DisableNameSuffixHash = true - } - if globalOpts.Immutable { - localOpts.Immutable = true - } - return localOpts -} - -func overrideMap(localMap *map[string]string, globalMap map[string]string) { - if *localMap == nil { - if globalMap != nil { - *localMap = CopyMap(globalMap) - } - return - } - for k, v := range globalMap { - _, ok := (*localMap)[k] - if !ok { - (*localMap)[k] = v - } - } -} - -// CopyMap copies a map. -func CopyMap(in map[string]string) map[string]string { - out := make(map[string]string) - for k, v := range in { - out[k] = v - } - return out -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/helmchartargs.go b/vendor/sigs.k8s.io/kustomize/api/types/helmchartargs.go deleted file mode 100644 index c0fff245..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/helmchartargs.go +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -type HelmGlobals struct { - // ChartHome is a file path, relative to the kustomization root, - // to a directory containing a subdirectory for each chart to be - // included in the kustomization. - // The default value of this field is "charts". - // So, for example, kustomize looks for the minecraft chart - // at {kustomizationRoot}/{ChartHome}/minecraft. - // If the chart is there at build time, kustomize will use it as found, - // and not check version numbers or dates. - // If the chart is not there, kustomize will attempt to pull it - // using the version number specified in the kustomization file, - // and put it there. To suppress the pull attempt, simply assure - // that the chart is already there. - ChartHome string `json:"chartHome,omitempty" yaml:"chartHome,omitempty"` - - // ConfigHome defines a value that kustomize should pass to helm via - // the HELM_CONFIG_HOME environment variable. kustomize doesn't attempt - // to read or write this directory. - // If omitted, {tmpDir}/helm is used, where {tmpDir} is some temporary - // directory created by kustomize for the benefit of helm. - // Likewise, kustomize sets - // HELM_CACHE_HOME={ConfigHome}/.cache - // HELM_DATA_HOME={ConfigHome}/.data - // for the helm subprocess. - ConfigHome string `json:"configHome,omitempty" yaml:"configHome,omitempty"` -} - -type HelmChart struct { - // Name is the name of the chart, e.g. 'minecraft'. - Name string `json:"name,omitempty" yaml:"name,omitempty"` - - // Version is the version of the chart, e.g. '3.1.3' - Version string `json:"version,omitempty" yaml:"version,omitempty"` - - // Repo is a URL locating the chart on the internet. - // This is the argument to helm's `--repo` flag, e.g. - // `https://itzg.github.io/minecraft-server-charts`. - Repo string `json:"repo,omitempty" yaml:"repo,omitempty"` - - // ReleaseName replaces RELEASE-NAME in chart template output, - // making a particular inflation of a chart unique with respect to - // other inflations of the same chart in a cluster. It's the first - // argument to the helm `install` and `template` commands, i.e. - // helm install {RELEASE-NAME} {chartName} - // helm template {RELEASE-NAME} {chartName} - // If omitted, the flag --generate-name is passed to 'helm template'. - ReleaseName string `json:"releaseName,omitempty" yaml:"releaseName,omitempty"` - - // Namespace set the target namespace for a release. It is .Release.Namespace - // in the helm template - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` - - // ValuesFile is local file path to a values file to use _instead of_ - // the default values that accompanied the chart. - // The default values are in '{ChartHome}/{Name}/values.yaml'. - ValuesFile string `json:"valuesFile,omitempty" yaml:"valuesFile,omitempty"` - - // ValuesInline holds value mappings specified directly, - // rather than in a separate file. - ValuesInline map[string]interface{} `json:"valuesInline,omitempty" yaml:"valuesInline,omitempty"` - - // ValuesMerge specifies how to treat ValuesInline with respect to Values. - // Legal values: 'merge', 'override', 'replace'. - // Defaults to 'override'. - ValuesMerge string `json:"valuesMerge,omitempty" yaml:"valuesMerge,omitempty"` - - // IncludeCRDs specifies if Helm should also generate CustomResourceDefinitions. - // Defaults to 'false'. - IncludeCRDs bool `json:"includeCRDs,omitempty" yaml:"includeCRDs,omitempty"` -} - -// HelmChartArgs contains arguments to helm. -// Deprecated. Use HelmGlobals and HelmChart instead. -type HelmChartArgs struct { - ChartName string `json:"chartName,omitempty" yaml:"chartName,omitempty"` - ChartVersion string `json:"chartVersion,omitempty" yaml:"chartVersion,omitempty"` - ChartRepoURL string `json:"chartRepoUrl,omitempty" yaml:"chartRepoUrl,omitempty"` - ChartHome string `json:"chartHome,omitempty" yaml:"chartHome,omitempty"` - ChartRepoName string `json:"chartRepoName,omitempty" yaml:"chartRepoName,omitempty"` - HelmBin string `json:"helmBin,omitempty" yaml:"helmBin,omitempty"` - HelmHome string `json:"helmHome,omitempty" yaml:"helmHome,omitempty"` - Values string `json:"values,omitempty" yaml:"values,omitempty"` - ValuesLocal map[string]interface{} `json:"valuesLocal,omitempty" yaml:"valuesLocal,omitempty"` - ValuesMerge string `json:"valuesMerge,omitempty" yaml:"valuesMerge,omitempty"` - ReleaseName string `json:"releaseName,omitempty" yaml:"releaseName,omitempty"` - ReleaseNamespace string `json:"releaseNamespace,omitempty" yaml:"releaseNamespace,omitempty"` - ExtraArgs []string `json:"extraArgs,omitempty" yaml:"extraArgs,omitempty"` -} - -// SplitHelmParameters splits helm parameters into -// per-chart params and global chart-independent parameters. -func SplitHelmParameters( - oldArgs []HelmChartArgs) (charts []HelmChart, globals HelmGlobals) { - for _, old := range oldArgs { - charts = append(charts, makeHelmChartFromHca(&old)) - if old.HelmHome != "" { - // last non-empty wins - globals.ConfigHome = old.HelmHome - } - if old.ChartHome != "" { - // last non-empty wins - globals.ChartHome = old.ChartHome - } - } - return charts, globals -} - -func makeHelmChartFromHca(old *HelmChartArgs) (c HelmChart) { - c.Name = old.ChartName - c.Version = old.ChartVersion - c.Repo = old.ChartRepoURL - c.ValuesFile = old.Values - c.ValuesInline = old.ValuesLocal - c.ValuesMerge = old.ValuesMerge - c.ReleaseName = old.ReleaseName - return -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/iampolicygenerator.go b/vendor/sigs.k8s.io/kustomize/api/types/iampolicygenerator.go deleted file mode 100644 index f1d27ba7..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/iampolicygenerator.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -type Cloud string - -const GKE Cloud = "gke" - -// IAMPolicyGeneratorArgs contains arguments to generate a GKE service account resource. -type IAMPolicyGeneratorArgs struct { - // which cloud provider to generate for (e.g. "gke") - Cloud `json:"cloud" yaml:"cloud"` - - // information about the kubernetes cluster for this object - KubernetesService `json:"kubernetesService" yaml:"kubernetesService"` - - // information about the service account and project - ServiceAccount `json:"serviceAccount" yaml:"serviceAccount"` -} - -type KubernetesService struct { - // the name used for the Kubernetes service account - Name string `json:"name" yaml:"name"` - - // the name of the Kubernetes namespace for this object - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` -} - -type ServiceAccount struct { - // the name of the new cloud provider service account - Name string `json:"name" yaml:"name"` - - // The ID of the project - ProjectId string `json:"projectId" yaml:"projectId"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/image.go b/vendor/sigs.k8s.io/kustomize/api/types/image.go deleted file mode 100644 index c7982338..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/image.go +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// Image contains an image name, a new name, a new tag or digest, -// which will replace the original name and tag. -type Image struct { - // Name is a tag-less image name. - Name string `json:"name,omitempty" yaml:"name,omitempty"` - - // NewName is the value used to replace the original name. - NewName string `json:"newName,omitempty" yaml:"newName,omitempty"` - - // NewTag is the value used to replace the original tag. - NewTag string `json:"newTag,omitempty" yaml:"newTag,omitempty"` - - // Digest is the value used to replace the original image tag. - // If digest is present NewTag value is ignored. - Digest string `json:"digest,omitempty" yaml:"digest,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/inventory.go b/vendor/sigs.k8s.io/kustomize/api/types/inventory.go deleted file mode 100644 index 544deb5e..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/inventory.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// Inventory records all objects touched in a build operation. -type Inventory struct { - Type string `json:"type,omitempty" yaml:"type,omitempty"` - ConfigMap NameArgs `json:"configMap,omitempty" yaml:"configMap,omitempty"` -} - -// NameArgs holds both namespace and name. -type NameArgs struct { - Name string `json:"name,omitempty" yaml:"name,omitempty"` - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/kustomization.go b/vendor/sigs.k8s.io/kustomize/api/types/kustomization.go deleted file mode 100644 index e7935d16..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/kustomization.go +++ /dev/null @@ -1,274 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "bytes" - "encoding/json" - "fmt" - - "sigs.k8s.io/yaml" -) - -const ( - KustomizationVersion = "kustomize.config.k8s.io/v1beta1" - KustomizationKind = "Kustomization" - ComponentVersion = "kustomize.config.k8s.io/v1alpha1" - ComponentKind = "Component" - MetadataNamespacePath = "metadata/namespace" - - OriginAnnotations = "originAnnotations" - TransformerAnnotations = "transformerAnnotations" - ManagedByLabelOption = "managedByLabel" -) - -var BuildMetadataOptions = []string{OriginAnnotations, TransformerAnnotations, ManagedByLabelOption} - -// Kustomization holds the information needed to generate customized k8s api resources. -type Kustomization struct { - TypeMeta `json:",inline" yaml:",inline"` - - // MetaData is a pointer to avoid marshalling empty struct - MetaData *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` - - // OpenAPI contains information about what kubernetes schema to use. - OpenAPI map[string]string `json:"openapi,omitempty" yaml:"openapi,omitempty"` - - // - // Operators - what kustomize can do. - // - - // NamePrefix will prefix the names of all resources mentioned in the kustomization - // file including generated configmaps and secrets. - NamePrefix string `json:"namePrefix,omitempty" yaml:"namePrefix,omitempty"` - - // NameSuffix will suffix the names of all resources mentioned in the kustomization - // file including generated configmaps and secrets. - NameSuffix string `json:"nameSuffix,omitempty" yaml:"nameSuffix,omitempty"` - - // Namespace to add to all objects. - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` - - // CommonLabels to add to all objects and selectors. - CommonLabels map[string]string `json:"commonLabels,omitempty" yaml:"commonLabels,omitempty"` - - // Labels to add to all objects but not selectors. - Labels []Label `json:"labels,omitempty" yaml:"labels,omitempty"` - - // CommonAnnotations to add to all objects. - CommonAnnotations map[string]string `json:"commonAnnotations,omitempty" yaml:"commonAnnotations,omitempty"` - - // PatchesStrategicMerge specifies the relative path to a file - // containing a strategic merge patch. Format documented at - // https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md - // URLs and globs are not supported. - PatchesStrategicMerge []PatchStrategicMerge `json:"patchesStrategicMerge,omitempty" yaml:"patchesStrategicMerge,omitempty"` - - // JSONPatches is a list of JSONPatch for applying JSON patch. - // Format documented at https://tools.ietf.org/html/rfc6902 - // and http://jsonpatch.com - PatchesJson6902 []Patch `json:"patchesJson6902,omitempty" yaml:"patchesJson6902,omitempty"` - - // Patches is a list of patches, where each one can be either a - // Strategic Merge Patch or a JSON patch. - // Each patch can be applied to multiple target objects. - Patches []Patch `json:"patches,omitempty" yaml:"patches,omitempty"` - - // Images is a list of (image name, new name, new tag or digest) - // for changing image names, tags or digests. This can also be achieved with a - // patch, but this operator is simpler to specify. - Images []Image `json:"images,omitempty" yaml:"images,omitempty"` - - // Replacements is a list of replacements, which will copy nodes from a - // specified source to N specified targets. - Replacements []ReplacementField `json:"replacements,omitempty" yaml:"replacements,omitempty"` - - // Replicas is a list of {resourcename, count} that allows for simpler replica - // specification. This can also be done with a patch. - Replicas []Replica `json:"replicas,omitempty" yaml:"replicas,omitempty"` - - // Vars allow things modified by kustomize to be injected into a - // kubernetes object specification. A var is a name (e.g. FOO) associated - // with a field in a specific resource instance. The field must - // contain a value of type string/bool/int/float, and defaults to the name field - // of the instance. Any appearance of "$(FOO)" in the object - // spec will be replaced at kustomize build time, after the final - // value of the specified field has been determined. - Vars []Var `json:"vars,omitempty" yaml:"vars,omitempty"` - - // - // Operands - what kustomize operates on. - // - - // Resources specifies relative paths to files holding YAML representations - // of kubernetes API objects, or specifications of other kustomizations - // via relative paths, absolute paths, or URLs. - Resources []string `json:"resources,omitempty" yaml:"resources,omitempty"` - - // Components specifies relative paths to specifications of other Components - // via relative paths, absolute paths, or URLs. - Components []string `json:"components,omitempty" yaml:"components,omitempty"` - - // Crds specifies relative paths to Custom Resource Definition files. - // This allows custom resources to be recognized as operands, making - // it possible to add them to the Resources list. - // CRDs themselves are not modified. - Crds []string `json:"crds,omitempty" yaml:"crds,omitempty"` - - // Deprecated. - // Anything that would have been specified here should - // be specified in the Resources field instead. - Bases []string `json:"bases,omitempty" yaml:"bases,omitempty"` - - // - // Generators (operators that create operands) - // - - // ConfigMapGenerator is a list of configmaps to generate from - // local data (one configMap per list item). - // The resulting resource is a normal operand, subject to - // name prefixing, patching, etc. By default, the name of - // the map will have a suffix hash generated from its contents. - ConfigMapGenerator []ConfigMapArgs `json:"configMapGenerator,omitempty" yaml:"configMapGenerator,omitempty"` - - // SecretGenerator is a list of secrets to generate from - // local data (one secret per list item). - // The resulting resource is a normal operand, subject to - // name prefixing, patching, etc. By default, the name of - // the map will have a suffix hash generated from its contents. - SecretGenerator []SecretArgs `json:"secretGenerator,omitempty" yaml:"secretGenerator,omitempty"` - - // HelmGlobals contains helm configuration that isn't chart specific. - HelmGlobals *HelmGlobals `json:"helmGlobals,omitempty" yaml:"helmGlobals,omitempty"` - - // HelmCharts is a list of helm chart configuration instances. - HelmCharts []HelmChart `json:"helmCharts,omitempty" yaml:"helmCharts,omitempty"` - - // HelmChartInflationGenerator is a list of helm chart configurations. - // Deprecated. Auto-converted to HelmGlobals and HelmCharts. - HelmChartInflationGenerator []HelmChartArgs `json:"helmChartInflationGenerator,omitempty" yaml:"helmChartInflationGenerator,omitempty"` - - // GeneratorOptions modify behavior of all ConfigMap and Secret generators. - GeneratorOptions *GeneratorOptions `json:"generatorOptions,omitempty" yaml:"generatorOptions,omitempty"` - - // Configurations is a list of transformer configuration files - Configurations []string `json:"configurations,omitempty" yaml:"configurations,omitempty"` - - // Generators is a list of files containing custom generators - Generators []string `json:"generators,omitempty" yaml:"generators,omitempty"` - - // Transformers is a list of files containing transformers - Transformers []string `json:"transformers,omitempty" yaml:"transformers,omitempty"` - - // Validators is a list of files containing validators - Validators []string `json:"validators,omitempty" yaml:"validators,omitempty"` - - // Inventory appends an object that contains the record - // of all other objects, which can be used in apply, prune and delete - Inventory *Inventory `json:"inventory,omitempty" yaml:"inventory,omitempty"` - - // BuildMetadata is a list of strings used to toggle different build options - BuildMetadata []string `json:"buildMetadata,omitempty" yaml:"buildMetadata,omitempty"` -} - -// FixKustomizationPostUnmarshalling fixes things -// like empty fields that should not be empty, or -// moving content of deprecated fields to newer -// fields. -func (k *Kustomization) FixKustomizationPostUnmarshalling() { - if k.Kind == "" { - k.Kind = KustomizationKind - } - if k.APIVersion == "" { - if k.Kind == ComponentKind { - k.APIVersion = ComponentVersion - } else { - k.APIVersion = KustomizationVersion - } - } - k.Resources = append(k.Resources, k.Bases...) - k.Bases = nil - for i, g := range k.ConfigMapGenerator { - if g.EnvSource != "" { - k.ConfigMapGenerator[i].EnvSources = - append(g.EnvSources, g.EnvSource) - k.ConfigMapGenerator[i].EnvSource = "" - } - } - for i, g := range k.SecretGenerator { - if g.EnvSource != "" { - k.SecretGenerator[i].EnvSources = - append(g.EnvSources, g.EnvSource) - k.SecretGenerator[i].EnvSource = "" - } - } - charts, globals := SplitHelmParameters(k.HelmChartInflationGenerator) - if k.HelmGlobals == nil { - if globals.ChartHome != "" || globals.ConfigHome != "" { - k.HelmGlobals = &globals - } - } - k.HelmCharts = append(k.HelmCharts, charts...) - // Wipe it for the fix command. - k.HelmChartInflationGenerator = nil -} - -// FixKustomizationPreMarshalling fixes things -// that should occur after the kustomization file -// has been processed. -func (k *Kustomization) FixKustomizationPreMarshalling() error { - // PatchesJson6902 should be under the Patches field. - k.Patches = append(k.Patches, k.PatchesJson6902...) - k.PatchesJson6902 = nil - - // this fix is not in FixKustomizationPostUnmarshalling because - // it will break some commands like `create` and `add`. those - // commands depend on 'commonLabels' field - if cl := labelFromCommonLabels(k.CommonLabels); cl != nil { - // check conflicts between commonLabels and labels - for _, l := range k.Labels { - for k := range l.Pairs { - if _, exist := cl.Pairs[k]; exist { - return fmt.Errorf("label name '%s' exists in both commonLabels and labels", k) - } - } - } - k.Labels = append(k.Labels, *cl) - k.CommonLabels = nil - } - - return nil -} - -func (k *Kustomization) EnforceFields() []string { - var errs []string - if k.Kind != "" && k.Kind != KustomizationKind && k.Kind != ComponentKind { - errs = append(errs, "kind should be "+KustomizationKind+" or "+ComponentKind) - } - requiredVersion := KustomizationVersion - if k.Kind == ComponentKind { - requiredVersion = ComponentVersion - } - if k.APIVersion != "" && k.APIVersion != requiredVersion { - errs = append(errs, "apiVersion for "+k.Kind+" should be "+requiredVersion) - } - return errs -} - -// Unmarshal replace k with the content in YAML input y -func (k *Kustomization) Unmarshal(y []byte) error { - j, err := yaml.YAMLToJSON(y) - if err != nil { - return err - } - dec := json.NewDecoder(bytes.NewReader(j)) - dec.DisallowUnknownFields() - var nk Kustomization - err = dec.Decode(&nk) - if err != nil { - return err - } - *k = nk - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/kvpairsources.go b/vendor/sigs.k8s.io/kustomize/api/types/kvpairsources.go deleted file mode 100644 index 9898defa..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/kvpairsources.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// KvPairSources defines places to obtain key value pairs. -type KvPairSources struct { - // LiteralSources is a list of literal - // pair sources. Each literal source should - // be a key and literal value, e.g. `key=value` - LiteralSources []string `json:"literals,omitempty" yaml:"literals,omitempty"` - - // FileSources is a list of file "sources" to - // use in creating a list of key, value pairs. - // A source takes the form: [{key}=]{path} - // If the "key=" part is missing, the key is the - // path's basename. If they "key=" part is present, - // it becomes the key (replacing the basename). - // In either case, the value is the file contents. - // Specifying a directory will iterate each named - // file in the directory whose basename is a - // valid configmap key. - FileSources []string `json:"files,omitempty" yaml:"files,omitempty"` - - // EnvSources is a list of file paths. - // The contents of each file should be one - // key=value pair per line, e.g. a Docker - // or npm ".env" file or a ".ini" file - // (wikipedia.org/wiki/INI_file) - EnvSources []string `json:"envs,omitempty" yaml:"envs,omitempty"` - - // Older, singular form of EnvSources. - // On edits (e.g. `kustomize fix`) this is merged into the plural form - // for consistency with LiteralSources and FileSources. - EnvSource string `json:"env,omitempty" yaml:"env,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/labels.go b/vendor/sigs.k8s.io/kustomize/api/types/labels.go deleted file mode 100644 index e2a2aee7..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/labels.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -type Label struct { - // Pairs contains the key-value pairs for labels to add - Pairs map[string]string `json:"pairs,omitempty" yaml:"pairs,omitempty"` - // IncludeSelectors inidicates should transformer include the - // fieldSpecs for selectors. Custom fieldSpecs specified by - // FieldSpecs will be merged with builtin fieldSpecs if this - // is true. - IncludeSelectors bool `json:"includeSelectors,omitempty" yaml:"includeSelectors,omitempty"` - FieldSpecs []FieldSpec `json:"fields,omitempty" yaml:"fields,omitempty"` -} - -func labelFromCommonLabels(commonLabels map[string]string) *Label { - if len(commonLabels) == 0 { - return nil - } - return &Label{ - Pairs: commonLabels, - IncludeSelectors: true, - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions.go b/vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions.go deleted file mode 100644 index 6617abda..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// Restrictions on what things can be referred to -// in a kustomization file. -// -//go:generate stringer -type=LoadRestrictions -type LoadRestrictions int - -const ( - LoadRestrictionsUnknown LoadRestrictions = iota - - // Files referenced by a kustomization file must be in - // or under the directory holding the kustomization - // file itself. - LoadRestrictionsRootOnly - - // The kustomization file may specify absolute or - // relative paths to patch or resources files outside - // its own tree. - LoadRestrictionsNone -) diff --git a/vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions_string.go b/vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions_string.go deleted file mode 100644 index d2355950..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/loadrestrictions_string.go +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by "stringer -type=LoadRestrictions"; DO NOT EDIT. - -package types - -import "strconv" - -func _() { - // An "invalid array index" compiler error signifies that the constant values have changed. - // Re-run the stringer command to generate them again. - var x [1]struct{} - _ = x[LoadRestrictionsUnknown-0] - _ = x[LoadRestrictionsRootOnly-1] - _ = x[LoadRestrictionsNone-2] -} - -const _LoadRestrictions_name = "LoadRestrictionsUnknownLoadRestrictionsRootOnlyLoadRestrictionsNone" - -var _LoadRestrictions_index = [...]uint8{0, 23, 47, 67} - -func (i LoadRestrictions) String() string { - if i < 0 || i >= LoadRestrictions(len(_LoadRestrictions_index)-1) { - return "LoadRestrictions(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _LoadRestrictions_name[_LoadRestrictions_index[i]:_LoadRestrictions_index[i+1]] -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/objectmeta.go b/vendor/sigs.k8s.io/kustomize/api/types/objectmeta.go deleted file mode 100644 index 4f5d41f4..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/objectmeta.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// ObjectMeta partially copies apimachinery/pkg/apis/meta/v1.ObjectMeta -// No need for a direct dependence; the fields are stable. -type ObjectMeta struct { - Name string `json:"name,omitempty" yaml:"name,omitempty"` - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/pair.go b/vendor/sigs.k8s.io/kustomize/api/types/pair.go deleted file mode 100644 index 63cfb776..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/pair.go +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// Pair is a key value pair. -type Pair struct { - Key string - Value string -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/patch.go b/vendor/sigs.k8s.io/kustomize/api/types/patch.go deleted file mode 100644 index 5310a6e6..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/patch.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import "reflect" - -// Patch represent either a Strategic Merge Patch or a JSON patch -// and its targets. -// The content of the patch can either be from a file -// or from an inline string. -type Patch struct { - // Path is a relative file path to the patch file. - Path string `json:"path,omitempty" yaml:"path,omitempty"` - - // Patch is the content of a patch. - Patch string `json:"patch,omitempty" yaml:"patch,omitempty"` - - // Target points to the resources that the patch is applied to - Target *Selector `json:"target,omitempty" yaml:"target,omitempty"` - - // Options is a list of options for the patch - Options map[string]bool `json:"options,omitempty" yaml:"options,omitempty"` -} - -// Equals return true if p equals o. -func (p *Patch) Equals(o Patch) bool { - targetEqual := (p.Target == o.Target) || - (p.Target != nil && o.Target != nil && *p.Target == *o.Target) - return p.Path == o.Path && - p.Patch == o.Patch && - targetEqual && - reflect.DeepEqual(p.Options, o.Options) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/patchstrategicmerge.go b/vendor/sigs.k8s.io/kustomize/api/types/patchstrategicmerge.go deleted file mode 100644 index 81a5ba45..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/patchstrategicmerge.go +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// PatchStrategicMerge represents a relative path to a -// stategic merge patch with the format -// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md -type PatchStrategicMerge string diff --git a/vendor/sigs.k8s.io/kustomize/api/types/pluginconfig.go b/vendor/sigs.k8s.io/kustomize/api/types/pluginconfig.go deleted file mode 100644 index 741e5deb..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/pluginconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -type HelmConfig struct { - Enabled bool - Command string -} - -// PluginConfig holds plugin configuration. -type PluginConfig struct { - // PluginRestrictions distinguishes plugin restrictions. - PluginRestrictions PluginRestrictions - - // BpLoadingOptions distinguishes builtin plugin behaviors. - BpLoadingOptions BuiltinPluginLoadingOptions - - // FnpLoadingOptions sets the way function-based plugin behaviors. - FnpLoadingOptions FnPluginLoadingOptions - - // HelmConfig contains metadata needed for allowing and running helm. - HelmConfig HelmConfig -} - -func EnabledPluginConfig(b BuiltinPluginLoadingOptions) (pc *PluginConfig) { - pc = MakePluginConfig(PluginRestrictionsNone, b) - pc.FnpLoadingOptions.EnableStar = true - pc.HelmConfig.Enabled = true - // If this command is not on PATH, tests needing it should skip. - pc.HelmConfig.Command = "helmV3" - return -} - -func DisabledPluginConfig() *PluginConfig { - return MakePluginConfig( - PluginRestrictionsBuiltinsOnly, - BploUseStaticallyLinked) -} - -func MakePluginConfig(pr PluginRestrictions, - b BuiltinPluginLoadingOptions) *PluginConfig { - return &PluginConfig{ - PluginRestrictions: pr, - BpLoadingOptions: b, - } -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions.go b/vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions.go deleted file mode 100644 index 88b03b3f..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions.go +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// Some plugin classes -// - builtin: plugins defined in the kustomize repo. -// May be freely used and re-configured. -// - local: plugins that aren't builtin but are -// locally defined (presumably by the user), meaning -// the kustomization refers to them via a relative -// file path, not a URL. -// - remote: require a build-time download to obtain. -// Unadvised, unless one controls the -// serving site. -// -//go:generate stringer -type=PluginRestrictions -type PluginRestrictions int - -const ( - PluginRestrictionsUnknown PluginRestrictions = iota - - // Non-builtin plugins completely disabled. - PluginRestrictionsBuiltinsOnly - - // No restrictions, do whatever you want. - PluginRestrictionsNone -) - -// BuiltinPluginLoadingOptions distinguish ways in which builtin plugins are used. -//go:generate stringer -type=BuiltinPluginLoadingOptions -type BuiltinPluginLoadingOptions int - -const ( - BploUndefined BuiltinPluginLoadingOptions = iota - - // Desired in production use for performance. - BploUseStaticallyLinked - - // Desired in testing and development cycles where it's undesirable - // to generate static code. - BploLoadFromFileSys -) - -// FnPluginLoadingOptions set way functions-based plugins are restricted -type FnPluginLoadingOptions struct { - // Allow to run executables - EnableExec bool - // Allow to run starlark - EnableStar bool - // Allow container access to network - Network bool - NetworkName string - // list of mounts - Mounts []string - // list of env variables to pass to fn - Env []string - // Run as uid and gid of the command executor - AsCurrentUser bool - // Run in this working directory - WorkingDir string -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions_string.go b/vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions_string.go deleted file mode 100644 index b9dba7df..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/pluginrestrictions_string.go +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by "stringer -type=PluginRestrictions"; DO NOT EDIT. - -package types - -import "strconv" - -func _() { - // An "invalid array index" compiler error signifies that the constant values have changed. - // Re-run the stringer command to generate them again. - var x [1]struct{} - _ = x[PluginRestrictionsUnknown-0] - _ = x[PluginRestrictionsBuiltinsOnly-1] - _ = x[PluginRestrictionsNone-2] -} - -const _PluginRestrictions_name = "PluginRestrictionsUnknownPluginRestrictionsBuiltinsOnlyPluginRestrictionsNone" - -var _PluginRestrictions_index = [...]uint8{0, 25, 55, 77} - -func (i PluginRestrictions) String() string { - if i < 0 || i >= PluginRestrictions(len(_PluginRestrictions_index)-1) { - return "PluginRestrictions(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _PluginRestrictions_name[_PluginRestrictions_index[i]:_PluginRestrictions_index[i+1]] -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/replacement.go b/vendor/sigs.k8s.io/kustomize/api/types/replacement.go deleted file mode 100644 index cb416342..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/replacement.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "fmt" - "strings" - - "sigs.k8s.io/kustomize/kyaml/resid" -) - -const DefaultReplacementFieldPath = "metadata.name" - -// Replacement defines how to perform a substitution -// where it is from and where it is to. -type Replacement struct { - // The source of the value. - Source *SourceSelector `json:"source,omitempty" yaml:"source,omitempty"` - - // The N fields to write the value to. - Targets []*TargetSelector `json:"targets,omitempty" yaml:"targets,omitempty"` -} - -// SourceSelector is the source of the replacement transformer. -type SourceSelector struct { - // A specific object to read it from. - resid.ResId `json:",inline,omitempty" yaml:",inline,omitempty"` - - // Structured field path expected in the allowed object. - FieldPath string `json:"fieldPath,omitempty" yaml:"fieldPath,omitempty"` - - // Used to refine the interpretation of the field. - Options *FieldOptions `json:"options,omitempty" yaml:"options,omitempty"` -} - -func (s *SourceSelector) String() string { - if s == nil { - return "" - } - result := []string{s.ResId.String()} - if s.FieldPath != "" { - result = append(result, s.FieldPath) - } - if opts := s.Options.String(); opts != "" { - result = append(result, opts) - } - return strings.Join(result, ":") -} - -// TargetSelector specifies fields in one or more objects. -type TargetSelector struct { - // Include objects that match this. - Select *Selector `json:"select" yaml:"select"` - - // From the allowed set, remove objects that match this. - Reject []*Selector `json:"reject,omitempty" yaml:"reject,omitempty"` - - // Structured field paths expected in each allowed object. - FieldPaths []string `json:"fieldPaths,omitempty" yaml:"fieldPaths,omitempty"` - - // Used to refine the interpretation of the field. - Options *FieldOptions `json:"options,omitempty" yaml:"options,omitempty"` -} - -// FieldOptions refine the interpretation of FieldPaths. -type FieldOptions struct { - // Used to split/join the field. - Delimiter string `json:"delimiter,omitempty" yaml:"delimiter,omitempty"` - - // Which position in the split to consider. - Index int `json:"index,omitempty" yaml:"index,omitempty"` - - // TODO (#3492): Implement use of this option - // None, Base64, URL, Hex, etc - Encoding string `json:"encoding,omitempty" yaml:"encoding,omitempty"` - - // If field missing, add it. - Create bool `json:"create,omitempty" yaml:"create,omitempty"` -} - -func (fo *FieldOptions) String() string { - if fo == nil || (fo.Delimiter == "" && !fo.Create) { - return "" - } - return fmt.Sprintf("%s(%d), create=%t", fo.Delimiter, fo.Index, fo.Create) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/replacementfield.go b/vendor/sigs.k8s.io/kustomize/api/types/replacementfield.go deleted file mode 100644 index a5684f84..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/replacementfield.go +++ /dev/null @@ -1,6 +0,0 @@ -package types - -type ReplacementField struct { - Replacement `json:",inline,omitempty" yaml:",inline,omitempty"` - Path string `json:"path,omitempty" yaml:"path,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/replica.go b/vendor/sigs.k8s.io/kustomize/api/types/replica.go deleted file mode 100644 index 8267366b..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/replica.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// Replica specifies a modification to a replica config. -// The number of replicas of a resource whose name matches will be set to count. -// This struct is used by the ReplicaCountTransform, and is meant to supplement -// the existing patch functionality with a simpler syntax for replica configuration. -type Replica struct { - // The name of the resource to change the replica count - Name string `json:"name,omitempty" yaml:"name,omitempty"` - - // The number of replicas required. - Count int64 `json:"count" yaml:"count"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/secretargs.go b/vendor/sigs.k8s.io/kustomize/api/types/secretargs.go deleted file mode 100644 index 62dbe26a..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/secretargs.go +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// SecretArgs contains the metadata of how to generate a secret. -type SecretArgs struct { - // GeneratorArgs for the secret. - GeneratorArgs `json:",inline,omitempty" yaml:",inline,omitempty"` - - // Type of the secret. - // - // This is the same field as the secret type field in v1/Secret: - // It can be "Opaque" (default), or "kubernetes.io/tls". - // - // If type is "kubernetes.io/tls", then "literals" or "files" must have exactly two - // keys: "tls.key" and "tls.crt" - Type string `json:"type,omitempty" yaml:"type,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/selector.go b/vendor/sigs.k8s.io/kustomize/api/types/selector.go deleted file mode 100644 index 2c07f0b0..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/selector.go +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "fmt" - "regexp" - - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// Selector specifies a set of resources. -// Any resource that matches intersection of all conditions -// is included in this set. -type Selector struct { - // ResId refers to a GVKN/Ns of a resource. - resid.ResId `json:",inline,omitempty" yaml:",inline,omitempty"` - - // AnnotationSelector is a string that follows the label selection expression - // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api - // It matches with the resource annotations. - AnnotationSelector string `json:"annotationSelector,omitempty" yaml:"annotationSelector,omitempty"` - - // LabelSelector is a string that follows the label selection expression - // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api - // It matches with the resource labels. - LabelSelector string `json:"labelSelector,omitempty" yaml:"labelSelector,omitempty"` -} - -func (s *Selector) Copy() Selector { - return *s -} - -func (s *Selector) String() string { - return fmt.Sprintf( - "%s:a=%s:l=%s", s.ResId, s.AnnotationSelector, s.LabelSelector) -} - -// SelectorRegex is a Selector with regex in GVK -// Any resource that matches intersection of all conditions -// is included in this set. -type SelectorRegex struct { - selector *Selector - groupRegex *regexp.Regexp - versionRegex *regexp.Regexp - kindRegex *regexp.Regexp - nameRegex *regexp.Regexp - namespaceRegex *regexp.Regexp -} - -// NewSelectorRegex returns a pointer to a new SelectorRegex -// which uses the same condition as s. -func NewSelectorRegex(s *Selector) (*SelectorRegex, error) { - sr := new(SelectorRegex) - var err error - sr.selector = s - sr.groupRegex, err = regexp.Compile(anchorRegex(s.Gvk.Group)) - if err != nil { - return nil, err - } - sr.versionRegex, err = regexp.Compile(anchorRegex(s.Gvk.Version)) - if err != nil { - return nil, err - } - sr.kindRegex, err = regexp.Compile(anchorRegex(s.Gvk.Kind)) - if err != nil { - return nil, err - } - sr.nameRegex, err = regexp.Compile(anchorRegex(s.Name)) - if err != nil { - return nil, err - } - sr.namespaceRegex, err = regexp.Compile(anchorRegex(s.Namespace)) - if err != nil { - return nil, err - } - return sr, nil -} - -func anchorRegex(pattern string) string { - if pattern == "" { - return pattern - } - return "^(?:" + pattern + ")$" -} - -// MatchGvk return true if gvk can be matched by s. -func (s *SelectorRegex) MatchGvk(gvk resid.Gvk) bool { - if len(s.selector.Gvk.Group) > 0 { - if !s.groupRegex.MatchString(gvk.Group) { - return false - } - } - if len(s.selector.Gvk.Version) > 0 { - if !s.versionRegex.MatchString(gvk.Version) { - return false - } - } - if len(s.selector.Gvk.Kind) > 0 { - if !s.kindRegex.MatchString(gvk.Kind) { - return false - } - } - return true -} - -// MatchName returns true if the name in selector is -// empty or the n can be matches by the name in selector -func (s *SelectorRegex) MatchName(n string) bool { - if s.selector.Name == "" { - return true - } - return s.nameRegex.MatchString(n) -} - -// MatchNamespace returns true if the namespace in selector is -// empty or the ns can be matches by the namespace in selector -func (s *SelectorRegex) MatchNamespace(ns string) bool { - if s.selector.Namespace == "" { - return true - } - return s.namespaceRegex.MatchString(ns) -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/typemeta.go b/vendor/sigs.k8s.io/kustomize/api/types/typemeta.go deleted file mode 100644 index 0ddafd3d..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/typemeta.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -// TypeMeta partially copies apimachinery/pkg/apis/meta/v1.TypeMeta -// No need for a direct dependence; the fields are stable. -type TypeMeta struct { - Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` - APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` -} diff --git a/vendor/sigs.k8s.io/kustomize/api/types/var.go b/vendor/sigs.k8s.io/kustomize/api/types/var.go deleted file mode 100644 index 0ca5579c..00000000 --- a/vendor/sigs.k8s.io/kustomize/api/types/var.go +++ /dev/null @@ -1,211 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package types - -import ( - "fmt" - "reflect" - "sort" - "strings" - - "sigs.k8s.io/kustomize/kyaml/resid" -) - -// Var represents a variable whose value will be sourced -// from a field in a Kubernetes object. -type Var struct { - // Value of identifier name e.g. FOO used in container args, annotations - // Appears in pod template as $(FOO) - Name string `json:"name" yaml:"name"` - - // ObjRef must refer to a Kubernetes resource under the - // purview of this kustomization. ObjRef should use the - // raw name of the object (the name specified in its YAML, - // before addition of a namePrefix and a nameSuffix). - ObjRef Target `json:"objref" yaml:"objref"` - - // FieldRef refers to the field of the object referred to by - // ObjRef whose value will be extracted for use in - // replacing $(FOO). - // If unspecified, this defaults to fieldPath: $defaultFieldPath - FieldRef FieldSelector `json:"fieldref,omitempty" yaml:"fieldref,omitempty"` -} - -// Target refers to a kubernetes object by Group, Version, Kind and Name -// gvk.Gvk contains Group, Version and Kind -// APIVersion is added to keep the backward compatibility of using ObjectReference -// for Var.ObjRef -type Target struct { - APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` - resid.Gvk `json:",inline,omitempty" yaml:",inline,omitempty"` - Name string `json:"name" yaml:"name"` - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` -} - -// GVK returns the Gvk object in Target -func (t *Target) GVK() resid.Gvk { - if t.APIVersion == "" { - return t.Gvk - } - versions := strings.Split(t.APIVersion, "/") - if len(versions) == 2 { - t.Group = versions[0] - t.Version = versions[1] - } - if len(versions) == 1 { - t.Version = versions[0] - } - return t.Gvk -} - -// FieldSelector contains the fieldPath to an object field. -// This struct is added to keep the backward compatibility of using ObjectFieldSelector -// for Var.FieldRef -type FieldSelector struct { - FieldPath string `json:"fieldPath,omitempty" yaml:"fieldPath,omitempty"` -} - -// defaulting sets reference to field used by default. -func (v *Var) Defaulting() { - if v.FieldRef.FieldPath == "" { - v.FieldRef.FieldPath = DefaultReplacementFieldPath - } - v.ObjRef.GVK() -} - -// DeepEqual returns true if var a and b are Equals. -// Note 1: The objects are unchanged by the VarEqual -// Note 2: Should be normalize be FieldPath before doing -// the DeepEqual. spec.a[b] is supposed to be the same -// as spec.a.b -func (v Var) DeepEqual(other Var) bool { - v.Defaulting() - other.Defaulting() - return reflect.DeepEqual(v, other) -} - -// VarSet is a set of Vars where no var.Name is repeated. -type VarSet struct { - set map[string]Var -} - -// NewVarSet returns an initialized VarSet -func NewVarSet() VarSet { - return VarSet{set: map[string]Var{}} -} - -// AsSlice returns the vars as a slice. -func (vs *VarSet) AsSlice() []Var { - s := make([]Var, len(vs.set)) - i := 0 - for _, v := range vs.set { - s[i] = v - i++ - } - sort.Sort(byName(s)) - return s -} - -// Copy returns a copy of the var set. -func (vs *VarSet) Copy() VarSet { - newSet := make(map[string]Var, len(vs.set)) - for k, v := range vs.set { - newSet[k] = v - } - return VarSet{set: newSet} -} - -// MergeSet absorbs other vars with error on name collision. -func (vs *VarSet) MergeSet(incoming VarSet) error { - for _, incomingVar := range incoming.set { - if err := vs.Merge(incomingVar); err != nil { - return err - } - } - return nil -} - -// MergeSlice absorbs a Var slice with error on name collision. -// Empty fields in incoming vars are defaulted. -func (vs *VarSet) MergeSlice(incoming []Var) error { - for _, v := range incoming { - if err := vs.Merge(v); err != nil { - return err - } - } - return nil -} - -// Merge absorbs another Var with error on name collision. -// Empty fields in incoming Var is defaulted. -func (vs *VarSet) Merge(v Var) error { - if vs.Contains(v) { - return fmt.Errorf( - "var '%s' already encountered", v.Name) - } - v.Defaulting() - vs.set[v.Name] = v - return nil -} - -// AbsorbSet absorbs other vars with error on (name,value) collision. -func (vs *VarSet) AbsorbSet(incoming VarSet) error { - for _, v := range incoming.set { - if err := vs.Absorb(v); err != nil { - return err - } - } - return nil -} - -// AbsorbSlice absorbs a Var slice with error on (name,value) collision. -// Empty fields in incoming vars are defaulted. -func (vs *VarSet) AbsorbSlice(incoming []Var) error { - for _, v := range incoming { - if err := vs.Absorb(v); err != nil { - return err - } - } - return nil -} - -// Absorb absorbs another Var with error on (name,value) collision. -// Empty fields in incoming Var is defaulted. -func (vs *VarSet) Absorb(v Var) error { - conflicting := vs.Get(v.Name) - if conflicting == nil { - // no conflict. The var is valid. - v.Defaulting() - vs.set[v.Name] = v - return nil - } - - if !reflect.DeepEqual(v, *conflicting) { - // two vars with the same name are pointing at two - // different resources. - return fmt.Errorf( - "var '%s' already encountered", v.Name) - } - return nil -} - -// Contains is true if the set has the other var. -func (vs *VarSet) Contains(other Var) bool { - return vs.Get(other.Name) != nil -} - -// Get returns the var with the given name, else nil. -func (vs *VarSet) Get(name string) *Var { - if v, found := vs.set[name]; found { - return &v - } - return nil -} - -// byName is a sort interface which sorts Vars by name alphabetically -type byName []Var - -func (v byName) Len() int { return len(v) } -func (v byName) Swap(i, j int) { v[i], v[j] = v[j], v[i] } -func (v byName) Less(i, j int) bool { return v[i].Name < v[j].Name } diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/LICENSE b/vendor/sigs.k8s.io/kustomize/kyaml/LICENSE deleted file mode 100644 index 8dada3ed..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/LICENSE +++ /dev/null @@ -1,201 +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 {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/LICENSE_TEMPLATE b/vendor/sigs.k8s.io/kustomize/kyaml/LICENSE_TEMPLATE deleted file mode 100644 index 0c2b3b65..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/LICENSE_TEMPLATE +++ /dev/null @@ -1,2 +0,0 @@ -Copyright {{.Year}} {{.Holder}} -SPDX-License-Identifier: Apache-2.0 diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/comments/comments.go b/vendor/sigs.k8s.io/kustomize/kyaml/comments/comments.go deleted file mode 100644 index 97334d0f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/comments/comments.go +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package comments - -import ( - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/walk" -) - -// CopyComments recursively copies the comments on fields in from to fields in to -func CopyComments(from, to *yaml.RNode) error { - // from node should not be modified, it should be just used as a reference - fromCopy := from.Copy() - copyFieldComments(fromCopy, to) - // walk the fields copying comments - _, err := walk.Walker{ - Sources: []*yaml.RNode{fromCopy, to}, - Visitor: &copier{}, - VisitKeysAsScalars: true}.Walk() - return err -} - -// copier implements walk.Visitor, and copies comments to fields shared between 2 instances -// of a resource -type copier struct{} - -func (c *copier) VisitMap(s walk.Sources, _ *openapi.ResourceSchema) (*yaml.RNode, error) { - copyFieldComments(s.Dest(), s.Origin()) - return s.Dest(), nil -} - -func (c *copier) VisitScalar(s walk.Sources, _ *openapi.ResourceSchema) (*yaml.RNode, error) { - to := s.Origin() - // TODO: File a bug with upstream yaml to handle comments for FoldedStyle scalar nodes - // Hack: convert FoldedStyle scalar node to DoubleQuotedStyle as the line comments are - // being serialized without space - // https://github.com/GoogleContainerTools/kpt/issues/766 - if to != nil && to.Document().Style == yaml.FoldedStyle { - to.Document().Style = yaml.DoubleQuotedStyle - } - - copyFieldComments(s.Dest(), to) - return s.Dest(), nil -} - -func (c *copier) VisitList(s walk.Sources, _ *openapi.ResourceSchema, _ walk.ListKind) ( - *yaml.RNode, error) { - copyFieldComments(s.Dest(), s.Origin()) - destItems := s.Dest().Content() - originItems := s.Origin().Content() - - for i := 0; i < len(destItems) && i < len(originItems); i++ { - dest := destItems[i] - origin := originItems[i] - - if dest.Value == origin.Value { - // We copy the comments recursively on each node in the list. - if err := CopyComments(yaml.NewRNode(dest), yaml.NewRNode(origin)); err != nil { - return nil, err - } - } - } - - return s.Dest(), nil -} - -// copyFieldComments copies the comment from one field to another -func copyFieldComments(from, to *yaml.RNode) { - if from == nil || to == nil { - return - } - if to.Document().LineComment == "" { - to.Document().LineComment = from.Document().LineComment - } - if to.Document().HeadComment == "" { - to.Document().HeadComment = from.Document().HeadComment - } - if to.Document().FootComment == "" { - to.Document().FootComment = from.Document().FootComment - } -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/errors/errors.go b/vendor/sigs.k8s.io/kustomize/kyaml/errors/errors.go deleted file mode 100644 index f072c3c9..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/errors/errors.go +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package errors provides libraries for working with the go-errors/errors library. -package errors - -import ( - "fmt" - - goerrors "github.com/go-errors/errors" -) - -// Wrap returns err wrapped in a go-error. If err is nil, returns nil. -func Wrap(err interface{}) error { - if err == nil { - return nil - } - return goerrors.Wrap(err, 1) -} - -// WrapPrefixf returns err wrapped in a go-error with a message prefix. If err is nil, returns nil. -func WrapPrefixf(err interface{}, msg string, args ...interface{}) error { - if err == nil { - return nil - } - return goerrors.WrapPrefix(err, fmt.Sprintf(msg, args...), 1) -} - -// Errorf returns a new go-error. -func Errorf(msg string, args ...interface{}) error { - return goerrors.Wrap(fmt.Errorf(msg, args...), 1) -} - -// GetStack returns a stack trace for the error if it has one -func GetStack(err error) string { - if e, ok := err.(*goerrors.Error); ok { - return string(e.Stack()) - } - return "" -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/ext/ext.go b/vendor/sigs.k8s.io/kustomize/kyaml/ext/ext.go deleted file mode 100644 index c946577c..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/ext/ext.go +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package ext - -// IgnoreFileName returns the name for ignore files in -// packages. It can be overridden by tools using this library. -var IgnoreFileName = func() string { - return ".krmignore" -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fieldmeta/fieldmeta.go b/vendor/sigs.k8s.io/kustomize/kyaml/fieldmeta/fieldmeta.go deleted file mode 100644 index c537c337..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fieldmeta/fieldmeta.go +++ /dev/null @@ -1,275 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package fieldmeta - -import ( - "encoding/json" - "fmt" - "reflect" - "strconv" - "strings" - - "k8s.io/kube-openapi/pkg/validation/spec" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// FieldMeta contains metadata that may be attached to fields as comments -type FieldMeta struct { - Schema spec.Schema - - Extensions XKustomize - - SettersSchema *spec.Schema -} - -type XKustomize struct { - SetBy string `yaml:"setBy,omitempty" json:"setBy,omitempty"` - PartialFieldSetters []PartialFieldSetter `yaml:"partialSetters,omitempty" json:"partialSetters,omitempty"` - FieldSetter *PartialFieldSetter `yaml:"setter,omitempty" json:"setter,omitempty"` -} - -// PartialFieldSetter defines how to set part of a field rather than the full field -// value. e.g. the tag part of an image field -type PartialFieldSetter struct { - // Name is the name of this setter. - Name string `yaml:"name" json:"name"` - - // Value is the current value that has been set. - Value string `yaml:"value" json:"value"` -} - -// IsEmpty returns true if the FieldMeta has any empty Schema -func (fm *FieldMeta) IsEmpty() bool { - if fm == nil { - return true - } - return reflect.DeepEqual(fm.Schema, spec.Schema{}) -} - -// Read reads the FieldMeta from a node -func (fm *FieldMeta) Read(n *yaml.RNode) error { - // check for metadata on head and line comments - comments := []string{n.YNode().LineComment, n.YNode().HeadComment} - for _, c := range comments { - if c == "" { - continue - } - c := strings.TrimLeft(c, "#") - - // check for new short hand notation or fall back to openAPI ref format - if !fm.processShortHand(c) { - // if it doesn't Unmarshal that is fine, it means there is no metadata - // other comments are valid, they just don't parse - // TODO: consider more sophisticated parsing techniques similar to what is used - // for go struct tags. - if err := fm.Schema.UnmarshalJSON([]byte(c)); err != nil { - // note: don't return an error if the comment isn't a fieldmeta struct - return nil - } - } - fe := fm.Schema.VendorExtensible.Extensions["x-kustomize"] - if fe == nil { - return nil - } - b, err := json.Marshal(fe) - if err != nil { - return errors.Wrap(err) - } - return json.Unmarshal(b, &fm.Extensions) - } - return nil -} - -// processShortHand parses the comment for short hand ref, loads schema to fm -// and returns true if successful, returns false for any other cases and not throw -// error, as the comment might not be a setter ref -func (fm *FieldMeta) processShortHand(comment string) bool { - input := map[string]string{} - err := json.Unmarshal([]byte(comment), &input) - if err != nil { - return false - } - name := input[shortHandRef] - if name == "" { - return false - } - - // check if setter with the name exists, else check for a substitution - // setter and substitution can't have same name in shorthand - - setterRef, err := spec.NewRef(DefinitionsPrefix + SetterDefinitionPrefix + name) - if err != nil { - return false - } - - setterRefBytes, err := setterRef.MarshalJSON() - if err != nil { - return false - } - - if _, err := openapi.Resolve(&setterRef, fm.SettersSchema); err == nil { - setterErr := fm.Schema.UnmarshalJSON(setterRefBytes) - return setterErr == nil - } - - substRef, err := spec.NewRef(DefinitionsPrefix + SubstitutionDefinitionPrefix + name) - if err != nil { - return false - } - - substRefBytes, err := substRef.MarshalJSON() - if err != nil { - return false - } - - if _, err := openapi.Resolve(&substRef, fm.SettersSchema); err == nil { - substErr := fm.Schema.UnmarshalJSON(substRefBytes) - return substErr == nil - } - return false -} - -func isExtensionEmpty(x XKustomize) bool { - if x.FieldSetter != nil { - return false - } - if x.SetBy != "" { - return false - } - if len(x.PartialFieldSetters) > 0 { - return false - } - return true -} - -// Write writes the FieldMeta to a node -func (fm *FieldMeta) Write(n *yaml.RNode) error { - if !isExtensionEmpty(fm.Extensions) { - return fm.WriteV1Setters(n) - } - - // Ref is removed when a setter is deleted, so the Ref string could be empty. - if fm.Schema.Ref.String() != "" { - // Ex: {"$ref":"#/definitions/io.k8s.cli.setters.replicas"} should be converted to - // {"$openAPI":"replicas"} and added to the line comment - ref := fm.Schema.Ref.String() - var shortHandRefValue string - switch { - case strings.HasPrefix(ref, DefinitionsPrefix+SetterDefinitionPrefix): - shortHandRefValue = strings.TrimPrefix(ref, DefinitionsPrefix+SetterDefinitionPrefix) - case strings.HasPrefix(ref, DefinitionsPrefix+SubstitutionDefinitionPrefix): - shortHandRefValue = strings.TrimPrefix(ref, DefinitionsPrefix+SubstitutionDefinitionPrefix) - default: - return fmt.Errorf("unexpected ref format: %s", ref) - } - n.YNode().LineComment = fmt.Sprintf(`{"%s":"%s"}`, shortHandRef, - shortHandRefValue) - } else { - n.YNode().LineComment = "" - } - - return nil -} - -// WriteV1Setters is the v1 setters way of writing setter definitions -// TODO: pmarupaka - remove this method after migration -func (fm *FieldMeta) WriteV1Setters(n *yaml.RNode) error { - fm.Schema.VendorExtensible.AddExtension("x-kustomize", fm.Extensions) - b, err := json.Marshal(fm.Schema) - if err != nil { - return errors.Wrap(err) - } - n.YNode().LineComment = string(b) - return nil -} - -// FieldValueType defines the type of input to register -type FieldValueType string - -const ( - // String defines a string flag - String FieldValueType = "string" - // Bool defines a bool flag - Bool = "boolean" - // Int defines an int flag - Int = "integer" -) - -func (it FieldValueType) String() string { - if it == "" { - return "string" - } - return string(it) -} - -func (it FieldValueType) Validate(value string) error { - switch it { - case Int: - if _, err := strconv.Atoi(value); err != nil { - return errors.WrapPrefixf(err, "value must be an int") - } - case Bool: - if _, err := strconv.ParseBool(value); err != nil { - return errors.WrapPrefixf(err, "value must be a bool") - } - } - return nil -} - -func (it FieldValueType) Tag() string { - switch it { - case String: - return yaml.NodeTagString - case Bool: - return yaml.NodeTagBool - case Int: - return yaml.NodeTagInt - } - return "" -} - -func (it FieldValueType) TagForValue(value string) string { - switch it { - case String: - return yaml.NodeTagString - case Bool: - if _, err := strconv.ParseBool(string(it)); err != nil { - return "" - } - return yaml.NodeTagBool - case Int: - if _, err := strconv.ParseInt(string(it), 0, 32); err != nil { - return "" - } - return yaml.NodeTagInt - } - return "" -} - -const ( - // CLIDefinitionsPrefix is the prefix for cli definition keys. - CLIDefinitionsPrefix = "io.k8s.cli." - - // SetterDefinitionPrefix is the prefix for setter definition keys. - SetterDefinitionPrefix = CLIDefinitionsPrefix + "setters." - - // SubstitutionDefinitionPrefix is the prefix for substitution definition keys. - SubstitutionDefinitionPrefix = CLIDefinitionsPrefix + "substitutions." - - // DefinitionsPrefix is the prefix used to reference definitions in the OpenAPI - DefinitionsPrefix = "#/definitions/" -) - -// shortHandRef is the shorthand reference to setters and substitutions -var shortHandRef = "$openapi" - -func SetShortHandRef(ref string) { - shortHandRef = ref -} - -func ShortHandRef() string { - return shortHandRef -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/confirmeddir.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/confirmeddir.go deleted file mode 100644 index 4b000842..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/confirmeddir.go +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "io/ioutil" - "path/filepath" - "strings" -) - -// ConfirmedDir is a clean, absolute, delinkified path -// that was confirmed to point to an existing directory. -type ConfirmedDir string - -// NewTmpConfirmedDir returns a temporary dir, else error. -// The directory is cleaned, no symlinks, etc. so it's -// returned as a ConfirmedDir. -func NewTmpConfirmedDir() (ConfirmedDir, error) { - n, err := ioutil.TempDir("", "kustomize-") - if err != nil { - return "", err - } - - // In MacOs `ioutil.TempDir` creates a directory - // with root in the `/var` folder, which is in turn - // a symlinked path to `/private/var`. - // Function `filepath.EvalSymlinks`is used to - // resolve the real absolute path. - deLinked, err := filepath.EvalSymlinks(n) - return ConfirmedDir(deLinked), err -} - -// HasPrefix returns true if the directory argument -// is a prefix of self (d) from the point of view of -// a file system. -// -// I.e., it's true if the argument equals or contains -// self (d) in a file path sense. -// -// HasPrefix emulates the semantics of strings.HasPrefix -// such that the following are true: -// -// strings.HasPrefix("foobar", "foobar") -// strings.HasPrefix("foobar", "foo") -// strings.HasPrefix("foobar", "") -// -// d := fSys.ConfirmDir("/foo/bar") -// d.HasPrefix("/foo/bar") -// d.HasPrefix("/foo") -// d.HasPrefix("/") -// -// Not contacting a file system here to check for -// actual path existence. -// -// This is tested on linux, but will have trouble -// on other operating systems. -// TODO(monopole) Refactor when #golang/go/18358 closes. -// See also: -// https://github.com/golang/go/issues/18358 -// https://github.com/golang/dep/issues/296 -// https://github.com/golang/dep/blob/master/internal/fs/fs.go#L33 -// https://codereview.appspot.com/5712045 -func (d ConfirmedDir) HasPrefix(path ConfirmedDir) bool { - if path.String() == string(filepath.Separator) || path == d { - return true - } - return strings.HasPrefix( - string(d), - string(path)+string(filepath.Separator)) -} - -func (d ConfirmedDir) Join(path string) string { - return filepath.Join(string(d), path) -} - -func (d ConfirmedDir) String() string { - return string(d) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/doc.go deleted file mode 100644 index bd396344..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/doc.go +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package filesys provides a file system abstraction, -// a subset of that provided by golang.org/pkg/os, -// with an on-disk and in-memory representation. -package filesys diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/file.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/file.go deleted file mode 100644 index 5044c653..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/file.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "io" - "os" -) - -// File groups the basic os.File methods. -type File interface { - io.ReadWriteCloser - Stat() (os.FileInfo, error) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileinfo.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileinfo.go deleted file mode 100644 index 57646d24..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileinfo.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "os" - "time" -) - -var _ os.FileInfo = fileInfo{} - -// fileInfo implements os.FileInfo for a fileInMemory instance. -type fileInfo struct { - node *fsNode -} - -// Name returns the name of the file -func (fi fileInfo) Name() string { return fi.node.Name() } - -// Size returns the size of the file -func (fi fileInfo) Size() int64 { return fi.node.Size() } - -// Mode returns the file mode -func (fi fileInfo) Mode() os.FileMode { return 0777 } - -// ModTime returns a bogus time -func (fi fileInfo) ModTime() time.Time { return time.Time{} } - -// IsDir returns true if it is a directory -func (fi fileInfo) IsDir() bool { return fi.node.isNodeADir() } - -// Sys should return underlying data source, but it now returns nil -func (fi fileInfo) Sys() interface{} { return nil } diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileondisk.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileondisk.go deleted file mode 100644 index 8ed92d90..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fileondisk.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "os" -) - -var _ File = &fileOnDisk{} - -// fileOnDisk implements File using the local filesystem. -type fileOnDisk struct { - file *os.File -} - -// Close closes a file. -func (f *fileOnDisk) Close() error { return f.file.Close() } - -// Read reads a file's content. -func (f *fileOnDisk) Read(p []byte) (n int, err error) { return f.file.Read(p) } - -// Write writes bytes to a file -func (f *fileOnDisk) Write(p []byte) (n int, err error) { return f.file.Write(p) } - -// Stat returns an interface which has all the information regarding the file. -func (f *fileOnDisk) Stat() (os.FileInfo, error) { return f.file.Stat() } diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/filesystem.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/filesystem.go deleted file mode 100644 index 53e0f192..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/filesystem.go +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "path/filepath" -) - -const ( - Separator = string(filepath.Separator) - SelfDir = "." - ParentDir = ".." -) - -// FileSystem groups basic os filesystem methods. -// It's supposed be functional subset of https://golang.org/pkg/os -type FileSystem interface { - // Create a file. - Create(path string) (File, error) - // MkDir makes a directory. - Mkdir(path string) error - // MkDirAll makes a directory path, creating intervening directories. - MkdirAll(path string) error - // RemoveAll removes path and any children it contains. - RemoveAll(path string) error - // Open opens the named file for reading. - Open(path string) (File, error) - // IsDir returns true if the path is a directory. - IsDir(path string) bool - // ReadDir returns a list of files and directories within a directory. - ReadDir(path string) ([]string, error) - // CleanedAbs converts the given path into a - // directory and a file name, where the directory - // is represented as a ConfirmedDir and all that implies. - // If the entire path is a directory, the file component - // is an empty string. - CleanedAbs(path string) (ConfirmedDir, string, error) - // Exists is true if the path exists in the file system. - Exists(path string) bool - // Glob returns the list of matching files, - // emulating https://golang.org/pkg/path/filepath/#Glob - Glob(pattern string) ([]string, error) - // ReadFile returns the contents of the file at the given path. - ReadFile(path string) ([]byte, error) - // WriteFile writes the data to a file at the given path, - // overwriting anything that's already there. - WriteFile(path string, data []byte) error - // Walk walks the file system with the given WalkFunc. - Walk(path string, walkFn filepath.WalkFunc) error -} - -// FileSystemOrOnDisk satisfies the FileSystem interface by forwarding -// all of its method calls to the given FileSystem whenever it's not nil. -// If it's nil, the call is forwarded to the OS's underlying file system. -type FileSystemOrOnDisk struct { - FileSystem FileSystem -} - -// Set sets the given FileSystem as the target for all the FileSystem method calls. -func (fs *FileSystemOrOnDisk) Set(f FileSystem) { fs.FileSystem = f } - -func (fs FileSystemOrOnDisk) fs() FileSystem { - if fs.FileSystem != nil { - return fs.FileSystem - } - return MakeFsOnDisk() -} - -func (fs FileSystemOrOnDisk) Create(path string) (File, error) { - return fs.fs().Create(path) -} - -func (fs FileSystemOrOnDisk) Mkdir(path string) error { - return fs.fs().Mkdir(path) -} - -func (fs FileSystemOrOnDisk) MkdirAll(path string) error { - return fs.fs().MkdirAll(path) -} - -func (fs FileSystemOrOnDisk) RemoveAll(path string) error { - return fs.fs().RemoveAll(path) -} - -func (fs FileSystemOrOnDisk) Open(path string) (File, error) { - return fs.fs().Open(path) -} - -func (fs FileSystemOrOnDisk) IsDir(path string) bool { - return fs.fs().IsDir(path) -} - -func (fs FileSystemOrOnDisk) ReadDir(path string) ([]string, error) { - return fs.fs().ReadDir(path) -} - -func (fs FileSystemOrOnDisk) CleanedAbs(path string) (ConfirmedDir, string, error) { - return fs.fs().CleanedAbs(path) -} - -func (fs FileSystemOrOnDisk) Exists(path string) bool { - return fs.fs().Exists(path) -} - -func (fs FileSystemOrOnDisk) Glob(pattern string) ([]string, error) { - return fs.fs().Glob(pattern) -} - -func (fs FileSystemOrOnDisk) ReadFile(path string) ([]byte, error) { - return fs.fs().ReadFile(path) -} - -func (fs FileSystemOrOnDisk) WriteFile(path string, data []byte) error { - return fs.fs().WriteFile(path, data) -} - -func (fs FileSystemOrOnDisk) Walk(path string, walkFn filepath.WalkFunc) error { - return fs.fs().Walk(path, walkFn) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsnode.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsnode.go deleted file mode 100644 index 983815fa..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsnode.go +++ /dev/null @@ -1,648 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "bytes" - "fmt" - "io" - "log" - "os" - "path/filepath" - "regexp" - "sort" - "strings" - - "github.com/pkg/errors" -) - -var _ File = &fsNode{} -var _ FileSystem = &fsNode{} - -// fsNode is either a file or a directory. -type fsNode struct { - // What node owns me? - parent *fsNode - - // Value to return as the Name() when the - // parent is nil. - nilParentName string - - // A directory mapping names to nodes. - // If dir is nil, then self node is a file. - // If dir is non-nil, then self node is a directory, - // albeit possibly an empty directory. - dir map[string]*fsNode - - // if this node is a file, this is the content. - content []byte - - // if offset is not nil the file is open and it tracks - // the current file offset. - offset *int -} - -// MakeEmptyDirInMemory returns an empty directory. -// The paths of nodes in this object will never -// report a leading Separator, meaning they -// aren't "absolute" in the sense defined by -// https://golang.org/pkg/path/filepath/#IsAbs. -func MakeEmptyDirInMemory() *fsNode { - return &fsNode{ - dir: make(map[string]*fsNode), - } -} - -// MakeFsInMemory returns an empty 'file system'. -// The paths of nodes in this object will always -// report a leading Separator, meaning they -// are "absolute" in the sense defined by -// https://golang.org/pkg/path/filepath/#IsAbs. -// This is a relevant difference when using Walk, -// Glob, Match, etc. -func MakeFsInMemory() FileSystem { - return &fsNode{ - nilParentName: Separator, - dir: make(map[string]*fsNode), - } -} - -// Name returns the name of the node. -func (n *fsNode) Name() string { - if n.parent == nil { - // Unable to lookup name in parent. - return n.nilParentName - } - if !n.parent.isNodeADir() { - log.Fatal("parent not a dir") - } - for key, value := range n.parent.dir { - if value == n { - return key - } - } - log.Fatal("unable to find fsNode name") - return "" -} - -// Path returns the full path to the node. -func (n *fsNode) Path() string { - if n.parent == nil { - return n.nilParentName - } - if !n.parent.isNodeADir() { - log.Fatal("parent not a dir, structural error") - } - return filepath.Join(n.parent.Path(), n.Name()) -} - -// mySplit trims trailing separators from the directory -// result of filepath.Split. -func mySplit(s string) (string, string) { - dName, fName := filepath.Split(s) - return StripTrailingSeps(dName), fName -} - -func (n *fsNode) addFile(name string, c []byte) (result *fsNode, err error) { - parent := n - dName, fileName := mySplit(name) - if dName != "" { - parent, err = parent.addDir(dName) - if err != nil { - return nil, err - } - } - if !isLegalFileNameForCreation(fileName) { - return nil, fmt.Errorf( - "illegal name '%s' in file creation", fileName) - } - result, ok := parent.dir[fileName] - if ok { - // File already exists; overwrite it. - if result.offset != nil { - return nil, fmt.Errorf("cannot add already opened file '%s'", n.Path()) - } - result.content = append(result.content[:0], c...) - return result, nil - } - result = &fsNode{ - content: append([]byte(nil), c...), - parent: parent, - } - parent.dir[fileName] = result - return result, nil -} - -// Create implements FileSystem. -// Create makes an empty file. -func (n *fsNode) Create(path string) (result File, err error) { - f, err := n.AddFile(path, nil) - if err != nil { - return f, err - } - f.offset = new(int) - return f, nil -} - -// WriteFile implements FileSystem. -func (n *fsNode) WriteFile(path string, d []byte) error { - _, err := n.AddFile(path, d) - return err -} - -// AddFile adds a file and any necessary containing -// directories to the node. -func (n *fsNode) AddFile( - name string, c []byte) (result *fsNode, err error) { - if n.dir == nil { - return nil, fmt.Errorf( - "cannot add a file to a non-directory '%s'", n.Name()) - } - return n.addFile(cleanQueryPath(name), c) -} - -func (n *fsNode) addDir(path string) (result *fsNode, err error) { - - parent := n - dName, subDirName := mySplit(path) - if dName != "" { - parent, err = n.addDir(dName) - if err != nil { - return nil, err - } - } - switch subDirName { - case "", SelfDir: - return n, nil - case ParentDir: - if n.parent == nil { - return nil, fmt.Errorf( - "cannot add a directory above '%s'", n.Path()) - } - return n.parent, nil - default: - if !isLegalFileNameForCreation(subDirName) { - return nil, fmt.Errorf( - "illegal name '%s' in directory creation", subDirName) - } - result, ok := parent.dir[subDirName] - if ok { - if result.isNodeADir() { - // it's already there. - return result, nil - } - return nil, fmt.Errorf( - "cannot make dir '%s'; a file of that name already exists in '%s'", - subDirName, parent.Name()) - } - result = &fsNode{ - dir: make(map[string]*fsNode), - parent: parent, - } - parent.dir[subDirName] = result - return result, nil - } -} - -// Mkdir implements FileSystem. -// Mkdir creates a directory. -func (n *fsNode) Mkdir(path string) error { - _, err := n.AddDir(path) - return err -} - -// MkdirAll implements FileSystem. -// MkdirAll creates a directory. -func (n *fsNode) MkdirAll(path string) error { - _, err := n.AddDir(path) - return err -} - -// AddDir adds a directory to the node, not complaining -// if it is already there. -func (n *fsNode) AddDir(path string) (result *fsNode, err error) { - if n.dir == nil { - return nil, fmt.Errorf( - "cannot add a directory to file node '%s'", n.Name()) - } - return n.addDir(cleanQueryPath(path)) -} - -// CleanedAbs implements FileSystem. -func (n *fsNode) CleanedAbs(path string) (ConfirmedDir, string, error) { - node, err := n.Find(path) - if err != nil { - return "", "", errors.Wrap(err, "unable to clean") - } - if node == nil { - return "", "", notExistError(path) - } - if node.isNodeADir() { - return ConfirmedDir(node.Path()), "", nil - } - return ConfirmedDir(node.parent.Path()), node.Name(), nil -} - -// Exists implements FileSystem. -// Exists returns true if the path exists. -func (n *fsNode) Exists(path string) bool { - if !n.isNodeADir() { - return n.Name() == path - } - result, err := n.Find(path) - if err != nil { - return false - } - return result != nil -} - -func cleanQueryPath(path string) string { - // Always ignore leading separator? - // Remember that filepath.Clean returns "." if - // given an empty string argument. - return filepath.Clean(StripLeadingSeps(path)) -} - -// Find finds the given node, else nil if not found. -// Return error on structural/argument errors. -func (n *fsNode) Find(path string) (*fsNode, error) { - if !n.isNodeADir() { - return nil, fmt.Errorf("can only find inside a dir") - } - if path == "" { - // Special case; check *before* cleaning and *before* - // comparison to nilParentName. - return nil, nil - } - if (n.parent == nil && path == n.nilParentName) || path == SelfDir { - // Special case - return n, nil - } - return n.findIt(cleanQueryPath(path)) -} - -func (n *fsNode) findIt(path string) (result *fsNode, err error) { - parent := n - dName, item := mySplit(path) - if dName != "" { - parent, err = n.findIt(dName) - if err != nil { - return nil, err - } - if parent == nil { - // all done, target doesn't exist. - return nil, nil - } - } - if !parent.isNodeADir() { - return nil, fmt.Errorf("'%s' is not a directory", parent.Path()) - } - return parent.dir[item], nil -} - -// RemoveAll implements FileSystem. -// RemoveAll removes an item and everything it contains. -func (n *fsNode) RemoveAll(path string) error { - result, err := n.Find(path) - if err != nil { - return err - } - if result == nil { - // If the path doesn't exist, no need to remove anything. - return nil - } - return result.Remove() -} - -// Remove drop the node, and everything it contains, from its parent. -func (n *fsNode) Remove() error { - if n.parent == nil { - return fmt.Errorf("cannot remove a root node") - } - if !n.parent.isNodeADir() { - log.Fatal("parent not a dir") - } - for key, value := range n.parent.dir { - if value == n { - delete(n.parent.dir, key) - return nil - } - } - log.Fatal("unable to find self in parent") - return nil -} - -// isNodeADir returns true if the node is a directory. -// Cannot collide with the poorly named "IsDir". -func (n *fsNode) isNodeADir() bool { - return n.dir != nil -} - -// IsDir implements FileSystem. -// IsDir returns true if the argument resolves -// to a directory rooted at the node. -func (n *fsNode) IsDir(path string) bool { - result, err := n.Find(path) - if err != nil || result == nil { - return false - } - return result.isNodeADir() -} - -// ReadDir implements FileSystem. -func (n *fsNode) ReadDir(path string) ([]string, error) { - if !n.Exists(path) { - return nil, notExistError(path) - } - if !n.IsDir(path) { - return nil, fmt.Errorf("%s is not a directory", path) - } - - dir, err := n.Find(path) - if err != nil { - return nil, err - } - if dir == nil { - return nil, fmt.Errorf("could not find directory %s", path) - } - - keys := make([]string, len(dir.dir)) - i := 0 - for k := range dir.dir { - keys[i] = k - i++ - } - return keys, nil -} - -// Size returns the size of the node. -func (n *fsNode) Size() int64 { - if n.isNodeADir() { - return int64(len(n.dir)) - } - return int64(len(n.content)) -} - -// Open implements FileSystem. -// Open opens the node in read-write mode and sets the offset its start. -// Writing right after opening the file will replace the original content -// and move the offset forward, as with a file opened with O_RDWR | O_CREATE. -// -// As an example, let's consider a file with content "content": -// - open: sets offset to start, content is "content" -// - write "@": offset increases by one, the content is now "@ontent" -// - read the rest: since offset is 1, the read operation returns "ontent" -// - write "$": offset is at EOF, so "$" is appended and content is now "@ontent$" -// - read the rest: returns 0 bytes and EOF -// - close: the content is still "@ontent$" -func (n *fsNode) Open(path string) (File, error) { - result, err := n.Find(path) - if err != nil { - return nil, err - } - if result == nil { - return nil, notExistError(path) - } - if result.offset != nil { - return nil, fmt.Errorf("cannot open previously opened file '%s'", path) - } - result.offset = new(int) - return result, nil -} - -// Close marks the node closed. -func (n *fsNode) Close() error { - if n.offset == nil { - return fmt.Errorf("cannot close already closed file '%s'", n.Path()) - } - n.offset = nil - return nil -} - -// ReadFile implements FileSystem. -func (n *fsNode) ReadFile(path string) (c []byte, err error) { - result, err := n.Find(path) - if err != nil { - return nil, err - } - if result == nil { - return nil, notExistError(path) - } - if result.isNodeADir() { - return nil, fmt.Errorf("cannot read content from non-file '%s'", n.Path()) - } - c = make([]byte, len(result.content)) - copy(c, result.content) - return c, nil -} - -// Read returns the content of the file node. -func (n *fsNode) Read(d []byte) (c int, err error) { - if n.isNodeADir() { - return 0, fmt.Errorf( - "cannot read content from non-file '%s'", n.Path()) - } - if n.offset == nil { - return 0, fmt.Errorf("cannot read from closed file '%s'", n.Path()) - } - - rest := n.content[*n.offset:] - if len(d) < len(rest) { - rest = rest[:len(d)] - } else { - err = io.EOF - } - copy(d, rest) - *n.offset += len(rest) - return len(rest), err -} - -// Write saves the contents of the argument to the file node. -func (n *fsNode) Write(p []byte) (c int, err error) { - if n.isNodeADir() { - return 0, fmt.Errorf( - "cannot write content to non-file '%s'", n.Path()) - } - if n.offset == nil { - return 0, fmt.Errorf("cannot write to closed file '%s'", n.Path()) - } - n.content = append(n.content[:*n.offset], p...) - *n.offset = len(n.content) - return len(p), nil -} - -// ContentMatches returns true if v matches fake file's content. -func (n *fsNode) ContentMatches(v []byte) bool { - return bytes.Equal(v, n.content) -} - -// GetContent the content of a fake file. -func (n *fsNode) GetContent() []byte { - return n.content -} - -// Stat returns an instance of FileInfo. -func (n *fsNode) Stat() (os.FileInfo, error) { - return fileInfo{node: n}, nil -} - -// Walk implements FileSystem. -func (n *fsNode) Walk(path string, walkFn filepath.WalkFunc) error { - result, err := n.Find(path) - if err != nil { - return err - } - if result == nil { - return notExistError(path) - } - return result.WalkMe(walkFn) -} - -// Walk runs the given walkFn on each node. -func (n *fsNode) WalkMe(walkFn filepath.WalkFunc) error { - fi, err := n.Stat() - // always visit self first - err = walkFn(n.Path(), fi, err) - if !n.isNodeADir() { - // it's a file, so nothing more to do - return err - } - // process self as a directory - if err == filepath.SkipDir { - return nil - } - // Walk is supposed to visit in lexical order. - for _, k := range n.sortedDirEntries() { - if err := n.dir[k].WalkMe(walkFn); err != nil { - if err == filepath.SkipDir { - // stop processing this directory - break - } - // bail out completely - return err - } - } - return nil -} - -func (n *fsNode) sortedDirEntries() []string { - keys := make([]string, len(n.dir)) - i := 0 - for k := range n.dir { - keys[i] = k - i++ - } - sort.Strings(keys) - return keys -} - -// FileCount returns a count of files. -// Directories, empty or otherwise, not counted. -func (n *fsNode) FileCount() int { - count := 0 - n.WalkMe(func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - if !info.IsDir() { - count++ - } - return nil - }) - return count -} - -func (n *fsNode) DebugPrint() { - n.WalkMe(func(path string, info os.FileInfo, err error) error { - if err != nil { - fmt.Printf("err '%v' at path %q\n", err, path) - return nil - } - if info.IsDir() { - if info.Size() == 0 { - fmt.Println("empty dir: " + path) - } - } else { - fmt.Println(" file: " + path) - } - return nil - }) -} - -var legalFileNamePattern = regexp.MustCompile("^[a-zA-Z0-9-_.]+$") - -// This rules enforced here should be simpler and tighter -// than what's allowed on a real OS. -// Should be fine for testing or in-memory purposes. -func isLegalFileNameForCreation(n string) bool { - if n == "" || n == SelfDir || !legalFileNamePattern.MatchString(n) { - return false - } - return !strings.Contains(n, ParentDir) -} - -// RegExpGlob returns a list of file paths matching the regexp. -// Excludes directories. -func (n *fsNode) RegExpGlob(pattern string) ([]string, error) { - var result []string - var expression = regexp.MustCompile(pattern) - err := n.WalkMe(func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - if !info.IsDir() { - if expression.MatchString(path) { - result = append(result, path) - } - } - return nil - }) - if err != nil { - return nil, err - } - sort.Strings(result) - return result, nil -} - -// Glob implements FileSystem. -// Glob returns the list of file paths matching -// per filepath.Match semantics, i.e. unlike RegExpGlob, -// Match("foo/a*") will not match sub-sub directories of foo. -// This is how /bin/ls behaves. -func (n *fsNode) Glob(pattern string) ([]string, error) { - var result []string - var allFiles []string - err := n.WalkMe(func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - if !info.IsDir() { - match, err := filepath.Match(pattern, path) - if err != nil { - return err - } - if match { - allFiles = append(allFiles, path) - } - } - return nil - }) - if err != nil { - return nil, err - } - if IsHiddenFilePath(pattern) { - result = allFiles - } else { - result = RemoveHiddenFiles(allFiles) - } - sort.Strings(result) - return result, nil -} - -// notExistError indicates that a file or directory does not exist. -// Unwrapping returns os.ErrNotExist so errors.Is(err, os.ErrNotExist) works correctly. -type notExistError string - -func (err notExistError) Error() string { return fmt.Sprintf("'%s' doesn't exist", string(err)) } -func (err notExistError) Unwrap() error { return os.ErrNotExist } diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsondisk.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsondisk.go deleted file mode 100644 index 7fd02a25..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/fsondisk.go +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "fmt" - "io/ioutil" - "log" - "os" - "path/filepath" -) - -var _ FileSystem = fsOnDisk{} - -// fsOnDisk implements FileSystem using the local filesystem. -type fsOnDisk struct{} - -// MakeFsOnDisk makes an instance of fsOnDisk. -func MakeFsOnDisk() FileSystem { - return fsOnDisk{} -} - -// Create delegates to os.Create. -func (fsOnDisk) Create(name string) (File, error) { return os.Create(name) } - -// Mkdir delegates to os.Mkdir. -func (fsOnDisk) Mkdir(name string) error { - return os.Mkdir(name, 0777|os.ModeDir) -} - -// MkdirAll delegates to os.MkdirAll. -func (fsOnDisk) MkdirAll(name string) error { - return os.MkdirAll(name, 0777|os.ModeDir) -} - -// RemoveAll delegates to os.RemoveAll. -func (fsOnDisk) RemoveAll(name string) error { - return os.RemoveAll(name) -} - -// Open delegates to os.Open. -func (fsOnDisk) Open(name string) (File, error) { return os.Open(name) } - -// CleanedAbs converts the given path into a -// directory and a file name, where the directory -// is represented as a ConfirmedDir and all that implies. -// If the entire path is a directory, the file component -// is an empty string. -func (x fsOnDisk) CleanedAbs( - path string) (ConfirmedDir, string, error) { - absRoot, err := filepath.Abs(path) - if err != nil { - return "", "", fmt.Errorf( - "abs path error on '%s' : %v", path, err) - } - deLinked, err := filepath.EvalSymlinks(absRoot) - if err != nil { - return "", "", fmt.Errorf( - "evalsymlink failure on '%s' : %w", path, err) - } - if x.IsDir(deLinked) { - return ConfirmedDir(deLinked), "", nil - } - d := filepath.Dir(deLinked) - if !x.IsDir(d) { - // Programmer/assumption error. - log.Fatalf("first part of '%s' not a directory", deLinked) - } - if d == deLinked { - // Programmer/assumption error. - log.Fatalf("d '%s' should be a subset of deLinked", d) - } - f := filepath.Base(deLinked) - if filepath.Join(d, f) != deLinked { - // Programmer/assumption error. - log.Fatalf("these should be equal: '%s', '%s'", - filepath.Join(d, f), deLinked) - } - return ConfirmedDir(d), f, nil -} - -// Exists returns true if os.Stat succeeds. -func (fsOnDisk) Exists(name string) bool { - _, err := os.Stat(name) - return err == nil -} - -// Glob returns the list of matching files -func (fsOnDisk) Glob(pattern string) ([]string, error) { - var result []string - allFilePaths, err := filepath.Glob(pattern) - if err != nil { - return nil, err - } - if IsHiddenFilePath(pattern) { - result = allFilePaths - } else { - result = RemoveHiddenFiles(allFilePaths) - } - return result, nil -} - -// IsDir delegates to os.Stat and FileInfo.IsDir -func (fsOnDisk) IsDir(name string) bool { - info, err := os.Stat(name) - if err != nil { - return false - } - return info.IsDir() -} - -// ReadDir delegates to os.ReadDir -func (fsOnDisk) ReadDir(name string) ([]string, error) { - dirEntries, err := os.ReadDir(name) - if err != nil { - return nil, err - } - result := make([]string, len(dirEntries)) - for i := range dirEntries { - result[i] = dirEntries[i].Name() - } - return result, nil -} - -// ReadFile delegates to ioutil.ReadFile. -func (fsOnDisk) ReadFile(name string) ([]byte, error) { return ioutil.ReadFile(name) } - -// WriteFile delegates to ioutil.WriteFile with read/write permissions. -func (fsOnDisk) WriteFile(name string, c []byte) error { - return ioutil.WriteFile(name, c, 0666) -} - -// Walk delegates to filepath.Walk. -func (fsOnDisk) Walk(path string, walkFn filepath.WalkFunc) error { - return filepath.Walk(path, walkFn) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/util.go b/vendor/sigs.k8s.io/kustomize/kyaml/filesys/util.go deleted file mode 100644 index 4d8958a2..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/filesys/util.go +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filesys - -import ( - "os" - "path/filepath" - "strings" -) - -// RootedPath returns a rooted path, e.g. "/foo/bar" as -// opposed to "foo/bar". -func RootedPath(elem ...string) string { - return Separator + filepath.Join(elem...) -} - -// StripTrailingSeps trims trailing filepath separators from input. -func StripTrailingSeps(s string) string { - k := len(s) - for k > 0 && s[k-1] == filepath.Separator { - k-- - } - return s[:k] -} - -// StripLeadingSeps trims leading filepath separators from input. -func StripLeadingSeps(s string) string { - k := 0 - for k < len(s) && s[k] == filepath.Separator { - k++ - } - return s[k:] -} - -// PathSplit converts a file path to a slice of string. -// If the path is absolute (if the path has a leading slash), -// then the first entry in the result is an empty string. -// Desired: path == PathJoin(PathSplit(path)) -func PathSplit(incoming string) []string { - if incoming == "" { - return []string{} - } - dir, path := filepath.Split(incoming) - if dir == string(os.PathSeparator) { - if path == "" { - return []string{""} - } - return []string{"", path} - } - dir = strings.TrimSuffix(dir, string(os.PathSeparator)) - if dir == "" { - return []string{path} - } - return append(PathSplit(dir), path) -} - -// PathJoin converts a slice of string to a file path. -// If the first entry is an empty string, then the returned -// path is absolute (it has a leading slash). -// Desired: path == PathJoin(PathSplit(path)) -func PathJoin(incoming []string) string { - if len(incoming) == 0 { - return "" - } - if incoming[0] == "" { - return string(os.PathSeparator) + filepath.Join(incoming[1:]...) - } - return filepath.Join(incoming...) -} - -// InsertPathPart inserts 'part' at position 'pos' in the given filepath. -// The first position is 0. -// -// E.g. if part == 'PEACH' -// -// OLD : NEW : POS -// -------------------------------------------------------- -// {empty} : PEACH : irrelevant -// / : /PEACH : irrelevant -// pie : PEACH/pie : 0 (or negative) -// /pie : /PEACH/pie : 0 (or negative) -// raw : raw/PEACH : 1 (or larger) -// /raw : /raw/PEACH : 1 (or larger) -// a/nice/warm/pie : a/nice/warm/PEACH/pie : 3 -// /a/nice/warm/pie : /a/nice/warm/PEACH/pie : 3 -// -// * An empty part results in no change. -// -// * Absolute paths get their leading '/' stripped, treated like -// relative paths, and the leading '/' is re-added on output. -// The meaning of pos is intentionally the same in either absolute or -// relative paths; if it weren't, this function could convert absolute -// paths to relative paths, which is not desirable. -// -// * For robustness (liberal input, conservative output) Pos values that -// that are too small (large) to index the split filepath result in a -// prefix (postfix) rather than an error. Use extreme position values -// to assure a prefix or postfix (e.g. 0 will always prefix, and -// 9999 will presumably always postfix). -func InsertPathPart(path string, pos int, part string) string { - if part == "" { - return path - } - parts := PathSplit(path) - if pos < 0 { - pos = 0 - } else if pos > len(parts) { - pos = len(parts) - } - if len(parts) > 0 && parts[0] == "" && pos < len(parts) { - // An empty string at 0 indicates an absolute path, and means - // we must increment pos. This change means that a position - // specification has the same meaning in relative and absolute paths. - // E.g. in either the path 'a/b/c' or the path '/a/b/c', - // 'a' is at 0, 'b' is at 1 and 'c' is at 2, and inserting at - // zero means a new first field _without_ changing an absolute - // path to a relative path. - pos++ - } - result := make([]string, len(parts)+1) - copy(result, parts[0:pos]) - result[pos] = part - return PathJoin(append(result, parts[pos:]...)) -} - -func IsHiddenFilePath(pattern string) bool { - return strings.HasPrefix(filepath.Base(pattern), ".") -} - -// Removes paths containing hidden files/folders from a list of paths -func RemoveHiddenFiles(paths []string) []string { - if len(paths) == 0 { - return paths - } - var result []string - for _, path := range paths { - if !IsHiddenFilePath(path) { - result = append(result, path) - } - } - return result -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/container/container.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/container/container.go deleted file mode 100644 index 99ad88be..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/container/container.go +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package container - -import ( - "fmt" - "os" - - runtimeexec "sigs.k8s.io/kustomize/kyaml/fn/runtime/exec" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter filters Resources using a container image. -// The container must start a process that reads the list of -// input Resources from stdin, reads the Configuration from the env -// API_CONFIG, and writes the filtered Resources to stdout. -// If there is a error or validation failure, the process must exit -// non-zero. -// The full set of environment variables from the parent process -// are passed to the container. -// -// Function Scoping: -// Filter applies the function only to Resources to which it is scoped. -// -// Resources are scoped to a function if any of the following are true: -// - the Resource were read from the same directory as the function config -// - the Resource were read from a subdirectory of the function config directory -// - the function config is in a directory named "functions" and -// they were read from a subdirectory of "functions" parent -// - the function config doesn't have a path annotation (considered globally scoped) -// - the Filter has GlobalScope == true -// -// In Scope Examples: -// -// Example 1: deployment.yaml and service.yaml in function.yaml scope -// same directory as the function config directory -// . -// ├── function.yaml -// ├── deployment.yaml -// └── service.yaml -// -// Example 2: apps/deployment.yaml and apps/service.yaml in function.yaml scope -// subdirectory of the function config directory -// . -// ├── function.yaml -// └── apps -//    ├── deployment.yaml -//    └── service.yaml -// -// Example 3: apps/deployment.yaml and apps/service.yaml in functions/function.yaml scope -// function config is in a directory named "functions" -// . -// ├── functions -// │   └── function.yaml -// └── apps -//    ├── deployment.yaml -//    └── service.yaml -// -// Out of Scope Examples: -// -// Example 1: apps/deployment.yaml and apps/service.yaml NOT in stuff/function.yaml scope -// . -// ├── stuff -// │   └── function.yaml -// └── apps -//    ├── deployment.yaml -//    └── service.yaml -// -// Example 2: apps/deployment.yaml and apps/service.yaml NOT in stuff/functions/function.yaml scope -// . -// ├── stuff -// │   └── functions -// │    └── function.yaml -// └── apps -//    ├── deployment.yaml -//    └── service.yaml -// -// Default Paths: -// Resources emitted by functions will have default path applied as annotations -// if none is present. -// The default path will be the function-dir/ (or parent directory in the case of "functions") -// + function-file-name/ + namespace/ + kind_name.yaml -// -// Example 1: Given a function in fn.yaml that produces a Deployment name foo and a Service named bar -// dir -// └── fn.yaml -// -// Would default newly generated Resources to: -// -// dir -// ├── fn.yaml -// └── fn -//    ├── deployment_foo.yaml -//    └── service_bar.yaml -// -// Example 2: Given a function in functions/fn.yaml that produces a Deployment name foo and a Service named bar -// dir -// └── fn.yaml -// -// Would default newly generated Resources to: -// -// dir -// ├── functions -// │   └── fn.yaml -// └── fn -//    ├── deployment_foo.yaml -//    └── service_bar.yaml -// -// Example 3: Given a function in fn.yaml that produces a Deployment name foo, namespace baz and a Service named bar namespace baz -// dir -// └── fn.yaml -// -// Would default newly generated Resources to: -// -// dir -// ├── fn.yaml -// └── fn -// └── baz -//    ├── deployment_foo.yaml -//    └── service_bar.yaml -type Filter struct { - runtimeutil.ContainerSpec `json:",inline" yaml:",inline"` - - Exec runtimeexec.Filter - - UIDGID string -} - -func (c Filter) String() string { - if c.Exec.DeferFailure { - return fmt.Sprintf("%s deferFailure: %v", c.Image, c.Exec.DeferFailure) - } - return c.Image -} -func (c Filter) GetExit() error { - return c.Exec.GetExit() -} - -func (c *Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - if err := c.setupExec(); err != nil { - return nil, err - } - return c.Exec.Filter(nodes) -} - -func (c *Filter) setupExec() error { - // don't init 2x - if c.Exec.Path != "" { - return nil - } - wd, err := os.Getwd() - if err != nil { - return err - } - c.Exec.WorkingDir = wd - - path, args := c.getCommand() - c.Exec.Path = path - c.Exec.Args = args - return nil -} - -// getArgs returns the command + args to run to spawn the container -func (c *Filter) getCommand() (string, []string) { - network := runtimeutil.NetworkNameNone - if c.ContainerSpec.Network { - network = runtimeutil.NetworkNameHost - } - // run the container using docker. this is simpler than using the docker - // libraries, and ensures things like auth work the same as if the container - // was run from the cli. - args := []string{"run", - "--rm", // delete the container afterward - "-i", "-a", "STDIN", "-a", "STDOUT", "-a", "STDERR", // attach stdin, stdout, stderr - "--network", string(network), - - // added security options - "--user", c.UIDGID, - "--security-opt=no-new-privileges", // don't allow the user to escalate privileges - // note: don't make fs readonly because things like heredoc rely on writing tmp files - } - - // TODO(joncwong): Allow StorageMount fields to have default values. - for _, storageMount := range c.StorageMounts { - args = append(args, "--mount", storageMount.String()) - } - - args = append(args, runtimeutil.NewContainerEnvFromStringSlice(c.Env).GetDockerFlags()...) - a := append(args, c.Image) - return "docker", a -} - -// NewContainer returns a new container filter -func NewContainer(spec runtimeutil.ContainerSpec, uidgid string) Filter { - f := Filter{ContainerSpec: spec, UIDGID: uidgid} - - return f -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/doc.go deleted file mode 100644 index 2747a96f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/doc.go +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package exec contains the exec function implementation. -package exec diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/exec.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/exec.go deleted file mode 100644 index f5a0b384..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/exec/exec.go +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package exec - -import ( - "io" - "os" - "os/exec" - "path/filepath" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type Filter struct { - // Path is the path to the executable to run - Path string `yaml:"path,omitempty"` - - // Args are the arguments to the executable - Args []string `yaml:"args,omitempty"` - - // WorkingDir is the working directory that the executable - // should run in - WorkingDir string - - runtimeutil.FunctionFilter -} - -func (c *Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - c.FunctionFilter.Run = c.Run - return c.FunctionFilter.Filter(nodes) -} - -func (c *Filter) Run(reader io.Reader, writer io.Writer) error { - cmd := exec.Command(c.Path, c.Args...) - cmd.Stdin = reader - cmd.Stdout = writer - cmd.Stderr = os.Stderr - if c.WorkingDir == "" { - return errors.Errorf("no working directory set for exec function") - } - if !filepath.IsAbs(c.WorkingDir) { - return errors.Errorf( - "relative working directory %s not allowed", c.WorkingDir) - } - if c.WorkingDir == "/" { - return errors.Errorf( - "root working directory '/' not allowed") - } - cmd.Dir = c.WorkingDir - return cmd.Run() -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/doc.go deleted file mode 100644 index 89f9036a..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/doc.go +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package runtimeutil contains libraries for implementing function runtimes. -package runtimeutil diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/functiontypes.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/functiontypes.go deleted file mode 100644 index 83e7ff0e..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/functiontypes.go +++ /dev/null @@ -1,305 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package runtimeutil - -import ( - "fmt" - "os" - "sort" - "strings" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -const ( - FunctionAnnotationKey = "config.kubernetes.io/function" - oldFunctionAnnotationKey = "config.k8s.io/function" -) - -var functionAnnotationKeys = []string{FunctionAnnotationKey, oldFunctionAnnotationKey} - -// ContainerNetworkName is a type for network name used in container -type ContainerNetworkName string - -const ( - NetworkNameNone ContainerNetworkName = "none" - NetworkNameHost ContainerNetworkName = "host" -) -const defaultEnvValue string = "true" - -// ContainerEnv defines the environment present in a container. -type ContainerEnv struct { - // EnvVars is a key-value map that will be set as env in container - EnvVars map[string]string - - // VarsToExport are only env key. Value will be the value in the host system - VarsToExport []string -} - -// GetDockerFlags returns docker run style env flags -func (ce *ContainerEnv) GetDockerFlags() []string { - envs := ce.EnvVars - if envs == nil { - envs = make(map[string]string) - } - - flags := []string{} - // return in order to keep consistent among different runs - keys := []string{} - for k := range envs { - keys = append(keys, k) - } - sort.Strings(keys) - for _, key := range keys { - flags = append(flags, "-e", key+"="+envs[key]) - } - - for _, key := range ce.VarsToExport { - flags = append(flags, "-e", key) - } - - return flags -} - -// AddKeyValue adds a key-value pair into the envs -func (ce *ContainerEnv) AddKeyValue(key, value string) { - if ce.EnvVars == nil { - ce.EnvVars = make(map[string]string) - } - ce.EnvVars[key] = value -} - -// HasExportedKey returns true if the key is a exported key -func (ce *ContainerEnv) HasExportedKey(key string) bool { - for _, k := range ce.VarsToExport { - if k == key { - return true - } - } - return false -} - -// AddKey adds a key into the envs -func (ce *ContainerEnv) AddKey(key string) { - if !ce.HasExportedKey(key) { - ce.VarsToExport = append(ce.VarsToExport, key) - } -} - -// Raw returns a slice of string which represents the envs. -// Example: [foo=bar, baz] -func (ce *ContainerEnv) Raw() []string { - var ret []string - for k, v := range ce.EnvVars { - ret = append(ret, k+"="+v) - } - - ret = append(ret, ce.VarsToExport...) - return ret -} - -// NewContainerEnv returns a pointer to a new ContainerEnv -func NewContainerEnv() *ContainerEnv { - var ce ContainerEnv - ce.EnvVars = make(map[string]string) - // default envs - ce.EnvVars["LOG_TO_STDERR"] = defaultEnvValue - ce.EnvVars["STRUCTURED_RESULTS"] = defaultEnvValue - return &ce -} - -// NewContainerEnvFromStringSlice returns a new ContainerEnv pointer with parsing -// input envStr. envStr example: ["foo=bar", "baz"] -func NewContainerEnvFromStringSlice(envStr []string) *ContainerEnv { - ce := NewContainerEnv() - for _, e := range envStr { - parts := strings.SplitN(e, "=", 2) - if len(parts) == 1 { - ce.AddKey(e) - } else { - ce.AddKeyValue(parts[0], parts[1]) - } - } - return ce -} - -// FunctionSpec defines a spec for running a function -type FunctionSpec struct { - DeferFailure bool `json:"deferFailure,omitempty" yaml:"deferFailure,omitempty"` - - // Container is the spec for running a function as a container - Container ContainerSpec `json:"container,omitempty" yaml:"container,omitempty"` - - // Starlark is the spec for running a function as a starlark script - Starlark StarlarkSpec `json:"starlark,omitempty" yaml:"starlark,omitempty"` - - // ExecSpec is the spec for running a function as an executable - Exec ExecSpec `json:"exec,omitempty" yaml:"exec,omitempty"` - - // Mounts are the storage or directories to mount into the container - StorageMounts []StorageMount `json:"mounts,omitempty" yaml:"mounts,omitempty"` -} - -type ExecSpec struct { - Path string `json:"path,omitempty" yaml:"path,omitempty"` -} - -// ContainerSpec defines a spec for running a function as a container -type ContainerSpec struct { - // Image is the container image to run - Image string `json:"image,omitempty" yaml:"image,omitempty"` - - // Network defines network specific configuration - Network bool `json:"network,omitempty" yaml:"network,omitempty"` - - // Mounts are the storage or directories to mount into the container - StorageMounts []StorageMount `json:"mounts,omitempty" yaml:"mounts,omitempty"` - - // Env is a slice of env string that will be exposed to container - Env []string `json:"envs,omitempty" yaml:"envs,omitempty"` -} - -// StarlarkSpec defines how to run a function as a starlark program -type StarlarkSpec struct { - Name string `json:"name,omitempty" yaml:"name,omitempty"` - - // Path specifies a path to a starlark script - Path string `json:"path,omitempty" yaml:"path,omitempty"` - - // URL specifies a url containing a starlark script - URL string `json:"url,omitempty" yaml:"url,omitempty"` -} - -// StorageMount represents a container's mounted storage option(s) -type StorageMount struct { - // Type of mount e.g. bind mount, local volume, etc. - MountType string `json:"type,omitempty" yaml:"type,omitempty"` - - // Source for the storage to be mounted. - // For named volumes, this is the name of the volume. - // For anonymous volumes, this field is omitted (empty string). - // For bind mounts, this is the path to the file or directory on the host. - Src string `json:"src,omitempty" yaml:"src,omitempty"` - - // The path where the file or directory is mounted in the container. - DstPath string `json:"dst,omitempty" yaml:"dst,omitempty"` - - // Mount in ReadWrite mode if it's explicitly configured - // See https://docs.docker.com/storage/bind-mounts/#use-a-read-only-bind-mount - ReadWriteMode bool `json:"rw,omitempty" yaml:"rw,omitempty"` -} - -func (s *StorageMount) String() string { - mode := "" - if !s.ReadWriteMode { - mode = ",readonly" - } - return fmt.Sprintf("type=%s,source=%s,target=%s%s", s.MountType, s.Src, s.DstPath, mode) -} - -// GetFunctionSpec returns the FunctionSpec for a resource. Returns -// nil if the resource does not have a FunctionSpec. -// -// The FunctionSpec is read from the resource metadata.annotation -// "config.kubernetes.io/function" -func GetFunctionSpec(n *yaml.RNode) *FunctionSpec { - meta, err := n.GetMeta() - if err != nil { - return nil - } - - if fn := getFunctionSpecFromAnnotation(n, meta); fn != nil { - fn.StorageMounts = []StorageMount{} - return fn - } - - // legacy function specification for backwards compatibility - container := meta.Annotations["config.kubernetes.io/container"] - if container != "" { - return &FunctionSpec{Container: ContainerSpec{Image: container}} - } - return nil -} - -// getFunctionSpecFromAnnotation parses the config function from an annotation -// if it is found -func getFunctionSpecFromAnnotation(n *yaml.RNode, meta yaml.ResourceMeta) *FunctionSpec { - var fs FunctionSpec - for _, s := range functionAnnotationKeys { - fn := meta.Annotations[s] - if fn != "" { - err := yaml.Unmarshal([]byte(fn), &fs) - if err != nil { - fmt.Fprintf(os.Stderr, "%v\n", err) - } - return &fs - } - } - n, err := n.Pipe(yaml.Lookup("metadata", "configFn")) - if err != nil || yaml.IsMissingOrNull(n) { - return nil - } - s, err := n.String() - if err != nil { - fmt.Fprintf(os.Stderr, "%v\n", err) - } - err = yaml.Unmarshal([]byte(s), &fs) - if err != nil { - fmt.Fprintf(os.Stderr, "%v\n", err) - } - return &fs -} - -func StringToStorageMount(s string) StorageMount { - m := make(map[string]string) - options := strings.Split(s, ",") - for _, option := range options { - keyVal := strings.SplitN(option, "=", 2) - if len(keyVal) == 2 { - m[keyVal[0]] = keyVal[1] - } - } - var sm StorageMount - for key, value := range m { - switch { - case key == "type": - sm.MountType = value - case key == "src" || key == "source": - sm.Src = value - case key == "dst" || key == "target": - sm.DstPath = value - case key == "rw" && value == "true": - sm.ReadWriteMode = true - } - } - return sm -} - -// IsReconcilerFilter filters Resources based on whether or not they are Reconciler Resource. -// Resources with an apiVersion starting with '*.gcr.io', 'gcr.io' or 'docker.io' are considered -// Reconciler Resources. -type IsReconcilerFilter struct { - // ExcludeReconcilers if set to true, then Reconcilers will be excluded -- e.g. - // Resources with a reconcile container through the apiVersion (gcr.io prefix) or - // through the annotations - ExcludeReconcilers bool `yaml:"excludeReconcilers,omitempty"` - - // IncludeNonReconcilers if set to true, the NonReconciler will be included. - IncludeNonReconcilers bool `yaml:"includeNonReconcilers,omitempty"` -} - -// Filter implements kio.Filter -func (c *IsReconcilerFilter) Filter(inputs []*yaml.RNode) ([]*yaml.RNode, error) { - var out []*yaml.RNode - for i := range inputs { - isFnResource := GetFunctionSpec(inputs[i]) != nil - if isFnResource && !c.ExcludeReconcilers { - out = append(out, inputs[i]) - } - if !isFnResource && c.IncludeNonReconcilers { - out = append(out, inputs[i]) - } - } - return out, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/runtimeutil.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/runtimeutil.go deleted file mode 100644 index ae6fd93b..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/runtimeutil.go +++ /dev/null @@ -1,281 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package runtimeutil - -import ( - "bytes" - "fmt" - "io" - "io/ioutil" - "path" - "strings" - - "sigs.k8s.io/kustomize/kyaml/comments" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/order" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// FunctionFilter wraps another filter to be invoked in the context of a function. -// FunctionFilter manages scoping the function, deferring failures, and saving results -// to files. -type FunctionFilter struct { - // Run implements the function. - Run func(reader io.Reader, writer io.Writer) error - - // FunctionConfig is passed to the function through ResourceList.functionConfig. - FunctionConfig *yaml.RNode `yaml:"functionConfig,omitempty"` - - // GlobalScope explicitly scopes the function to all input resources rather than only those - // resources scoped to it by path. - GlobalScope bool - - // ResultsFile is the file to write function ResourceList.results to. - // If unset, results will not be written. - ResultsFile string - - // DeferFailure will cause the Filter to return a nil error even if Run returns an error. - // The Run error will be available through GetExit(). - DeferFailure bool - - // results saves the results emitted from Run - Results *yaml.RNode - - // exit saves the error returned from Run - exit error - - ids map[string]*yaml.RNode -} - -// GetExit returns the error from Run -func (c FunctionFilter) GetExit() error { - return c.exit -} - -// functionsDirectoryName is keyword directory name for functions scoped 1 directory higher -const functionsDirectoryName = "functions" - -// getFunctionScope returns the path of the directory containing the function config, -// or its parent directory if the base directory is named "functions" -func (c *FunctionFilter) getFunctionScope() (string, error) { - m, err := c.FunctionConfig.GetMeta() - if err != nil { - return "", errors.Wrap(err) - } - var p string - var found bool - p, found = m.Annotations[kioutil.PathAnnotation] - if !found { - p, found = m.Annotations[kioutil.LegacyPathAnnotation] - if !found { - return "", nil - } - } - - functionDir := path.Clean(path.Dir(p)) - - if path.Base(functionDir) == functionsDirectoryName { - // the scope of functions in a directory called "functions" is 1 level higher - // this is similar to how the golang "internal" directory scoping works - functionDir = path.Dir(functionDir) - } - return functionDir, nil -} - -// scope partitions the input nodes into 2 slices. The first slice contains only Resources -// which are scoped under dir, and the second slice contains the Resources which are not. -func (c *FunctionFilter) scope(dir string, nodes []*yaml.RNode) ([]*yaml.RNode, []*yaml.RNode, error) { - // scope container filtered Resources to Resources under that directory - var input, saved []*yaml.RNode - if c.GlobalScope { - return nodes, nil, nil - } - - // global function - if dir == "" || dir == "." { - return nodes, nil, nil - } - - // identify Resources read from directories under the function configuration - for i := range nodes { - m, err := nodes[i].GetMeta() - if err != nil { - return nil, nil, err - } - var p string - var found bool - p, found = m.Annotations[kioutil.PathAnnotation] - if !found { - p, found = m.Annotations[kioutil.LegacyPathAnnotation] - if !found { - // this Resource isn't scoped under the function -- don't know where it came from - // consider it out of scope - saved = append(saved, nodes[i]) - continue - } - } - - resourceDir := path.Clean(path.Dir(p)) - if path.Base(resourceDir) == functionsDirectoryName { - // Functions in the `functions` directory are scoped to - // themselves, and should see themselves as input - resourceDir = path.Dir(resourceDir) - } - if !strings.HasPrefix(resourceDir, dir) { - // this Resource doesn't fall under the function scope if it - // isn't in a subdirectory of where the function lives - saved = append(saved, nodes[i]) - continue - } - - // this input is scoped under the function - input = append(input, nodes[i]) - } - - return input, saved, nil -} - -func (c *FunctionFilter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - in := &bytes.Buffer{} - out := &bytes.Buffer{} - - // only process Resources scoped to this function, save the others - functionDir, err := c.getFunctionScope() - if err != nil { - return nil, err - } - input, saved, err := c.scope(functionDir, nodes) - if err != nil { - return nil, err - } - - // set ids on each input so it is possible to copy comments from inputs back to outputs - if err := c.setIds(input); err != nil { - return nil, err - } - - // write the input - err = kio.ByteWriter{ - WrappingAPIVersion: kio.ResourceListAPIVersion, - WrappingKind: kio.ResourceListKind, - Writer: in, - KeepReaderAnnotations: true, - FunctionConfig: c.FunctionConfig}.Write(input) - if err != nil { - return nil, err - } - - // capture the command stdout for the return value - r := &kio.ByteReader{Reader: out} - - // don't exit immediately if the function fails -- write out the validation - c.exit = c.Run(in, out) - - output, err := r.Read() - if err != nil { - return nil, err - } - - // copy the comments and sync the order of fields from the inputs to the outputs - if err := c.copyCommentsAndSyncOrder(output); err != nil { - return nil, err - } - - if err := c.doResults(r); err != nil { - return nil, err - } - - if c.exit != nil && !c.DeferFailure { - return append(output, saved...), c.exit - } - - // annotate any generated Resources with a path and index if they don't already have one - if err := kioutil.DefaultPathAnnotation(functionDir, output); err != nil { - return nil, err - } - - // emit both the Resources output from the function, and the out-of-scope Resources - // which were not provided to the function - return append(output, saved...), nil -} - -func (c *FunctionFilter) setIds(nodes []*yaml.RNode) error { - // set the id on each node to map inputs to outputs - var id int - c.ids = map[string]*yaml.RNode{} - for i := range nodes { - id++ - idStr := fmt.Sprintf("%v", id) - err := nodes[i].PipeE(yaml.SetAnnotation(kioutil.IdAnnotation, idStr)) - if err != nil { - return errors.Wrap(err) - } - err = nodes[i].PipeE(yaml.SetAnnotation(kioutil.LegacyIdAnnotation, idStr)) - if err != nil { - return errors.Wrap(err) - } - c.ids[idStr] = nodes[i] - } - return nil -} - -func (c *FunctionFilter) copyCommentsAndSyncOrder(nodes []*yaml.RNode) error { - for i := range nodes { - node := nodes[i] - anID, err := node.Pipe(yaml.GetAnnotation(kioutil.IdAnnotation)) - if err != nil { - return errors.Wrap(err) - } - if anID == nil { - anID, err = node.Pipe(yaml.GetAnnotation(kioutil.LegacyIdAnnotation)) - if err != nil { - return errors.Wrap(err) - } - if anID == nil { - continue - } - } - - var in *yaml.RNode - var found bool - if in, found = c.ids[anID.YNode().Value]; !found { - continue - } - if err := comments.CopyComments(in, node); err != nil { - return errors.Wrap(err) - } - if err := order.SyncOrder(in, node); err != nil { - return errors.Wrap(err) - } - if err := node.PipeE(yaml.ClearAnnotation(kioutil.IdAnnotation)); err != nil { - return errors.Wrap(err) - } - if err := node.PipeE(yaml.ClearAnnotation(kioutil.LegacyIdAnnotation)); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -func (c *FunctionFilter) doResults(r *kio.ByteReader) error { - // Write the results to a file if configured to do so - if c.ResultsFile != "" && r.Results != nil { - results, err := r.Results.String() - if err != nil { - return err - } - err = ioutil.WriteFile(c.ResultsFile, []byte(results), 0600) - if err != nil { - return err - } - } - - if r.Results != nil { - c.Results = r.Results - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/types.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/types.go deleted file mode 100644 index 5edc4ebc..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil/types.go +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package runtimeutil - -type DeferFailureFunction interface { - GetExit() error -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/context.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/context.go deleted file mode 100644 index bbf07f66..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/context.go +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package starlark - -import ( - "encoding/json" - "os" - "strings" - - "go.starlark.net/starlark" - "go.starlark.net/starlarkstruct" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type Context struct { - resourceList starlark.Value -} - -func (c *Context) predeclared() (starlark.StringDict, error) { - e, err := env() - if err != nil { - return nil, err - } - oa, err := oa() - if err != nil { - return nil, err - } - dict := starlark.StringDict{ - "resource_list": c.resourceList, - "open_api": oa, - "environment": e, - } - - return starlark.StringDict{ - "ctx": starlarkstruct.FromStringDict(starlarkstruct.Default, dict), - }, nil -} - -func oa() (starlark.Value, error) { - return interfaceToValue(openapi.Schema()) -} - -func env() (starlark.Value, error) { - env := map[string]interface{}{} - for _, e := range os.Environ() { - pair := strings.SplitN(e, "=", 2) - if len(pair) < 2 { - continue - } - env[pair[0]] = pair[1] - } - value, err := util.Marshal(env) - if err != nil { - return nil, errors.Wrap(err) - } - return value, nil -} - -func interfaceToValue(i interface{}) (starlark.Value, error) { - b, err := json.Marshal(i) - if err != nil { - return nil, err - } - - var in map[string]interface{} - if err := yaml.Unmarshal(b, &in); err != nil { - return nil, errors.Wrap(err) - } - - value, err := util.Marshal(in) - if err != nil { - return nil, errors.Wrap(err) - } - return value, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/doc.go deleted file mode 100644 index 70f0a2c7..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/doc.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package starlark contains a kio.Filter which can be applied to resources to transform -// them through starlark program. -// -// Starlark has become a popular runtime embedding in go programs, especially for Kubernetes -// and data processing. -// Examples: https://github.com/cruise-automation/isopod, https://qri.io/docs/starlark/starlib, -// https://github.com/stripe/skycfg, https://github.com/k14s/ytt -// -// The resources are provided to the starlark program through the global variable "resourceList". -// "resourceList" is a dictionary containing an "items" field with a list of resources. -// The starlark modified "resourceList" is the Filter output. -// -// After being run through the starlark program, the filter will copy the comments from the input -// resources to restore them -- due to them being dropped as a result of serializing the resources -// as starlark values. -// -// "resourceList" may also contain a "functionConfig" entry to configure the starlark script itself. -// Changes made by the starlark program to the "functionConfig" will be reflected in the -// Filter.FunctionConfig value. -// -// The Filter will also format the output so that output has the preferred field ordering -// rather than an alphabetical field ordering. -// -// The resourceList variable adheres to the kustomize function spec as specified by: -// https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/functions-spec.md -// -// All items in the resourceList are resources represented as starlark dictionaries/ -// The items in the resourceList respect the io spec specified by: -// https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/config-io.md -// -// The starlark language spec can be found here: -// https://github.com/google/starlark-go/blob/master/doc/spec.md -package starlark diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/starlark.go b/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/starlark.go deleted file mode 100644 index 825ff63a..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark/starlark.go +++ /dev/null @@ -1,181 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package starlark - -import ( - "bytes" - "fmt" - "io" - "io/ioutil" - "net/http" - - "go.starlark.net/starlark" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil" - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util" - "sigs.k8s.io/kustomize/kyaml/kio/filters" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filter transforms a set of resources through the provided program -type Filter struct { - Name string - - // Program is a starlark script which will be run against the resources - Program string - - // URL is the url of a starlark program to fetch and run - URL string - - // Path is the path to a starlark program to read and run - Path string - - runtimeutil.FunctionFilter -} - -func (sf *Filter) String() string { - return fmt.Sprintf( - "name: %v path: %v url: %v program: %v", sf.Name, sf.Path, sf.URL, sf.Program) -} - -func (sf *Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - err := sf.setup() - if err != nil { - return nil, err - } - sf.FunctionFilter.Run = sf.Run - - return sf.FunctionFilter.Filter(nodes) -} - -func (sf *Filter) setup() error { - if (sf.URL != "" && sf.Path != "") || - (sf.URL != "" && sf.Program != "") || - (sf.Path != "" && sf.Program != "") { - return errors.Errorf("Filter Path, Program and URL are mutually exclusive") - } - - // read the program from a file - if sf.Path != "" { - b, err := ioutil.ReadFile(sf.Path) - if err != nil { - return err - } - sf.Program = string(b) - } - - // read the program from a URL - if sf.URL != "" { - err := func() error { - resp, err := http.Get(sf.URL) - if err != nil { - return err - } - defer resp.Body.Close() - b, err := ioutil.ReadAll(resp.Body) - if err != nil { - return err - } - sf.Program = string(b) - return nil - }() - if err != nil { - return err - } - } - - return nil -} - -func (sf *Filter) Run(reader io.Reader, writer io.Writer) error { - // retain map of inputs to outputs by id so if the name is changed by the - // starlark program, we are able to match the same resources - value, err := sf.readResourceList(reader) - if err != nil { - return errors.Wrap(err) - } - - // run the starlark as program as transformation function - thread := &starlark.Thread{Name: sf.Name} - - ctx := &Context{resourceList: value} - pd, err := ctx.predeclared() - if err != nil { - return errors.Wrap(err) - } - _, err = starlark.ExecFile(thread, sf.Name, sf.Program, pd) - if err != nil { - return errors.Wrap(err) - } - - return sf.writeResourceList(value, writer) -} - -// inputToResourceList transforms input into a starlark.Value -func (sf *Filter) readResourceList(reader io.Reader) (starlark.Value, error) { - // read and parse the inputs - rl := bytes.Buffer{} - _, err := rl.ReadFrom(reader) - if err != nil { - return nil, errors.Wrap(err) - } - rn, err := yaml.Parse(rl.String()) - if err != nil { - return nil, errors.Wrap(err) - } - - // convert to a starlark value - b, err := yaml.Marshal(rn.Document()) // convert to bytes - if err != nil { - return nil, errors.Wrap(err) - } - var in map[string]interface{} - err = yaml.Unmarshal(b, &in) // convert to map[string]interface{} - if err != nil { - return nil, errors.Wrap(err) - } - return util.Marshal(in) // convert to starlark value -} - -// resourceListToOutput converts the output of the starlark program to the filter output -func (sf *Filter) writeResourceList(value starlark.Value, writer io.Writer) error { - // convert the modified resourceList back into a slice of RNodes - // by first converting to a map[string]interface{} - out, err := util.Unmarshal(value) - if err != nil { - return errors.Wrap(err) - } - b, err := yaml.Marshal(out) - if err != nil { - return errors.Wrap(err) - } - - rl, err := yaml.Parse(string(b)) - if err != nil { - return errors.Wrap(err) - } - - // preserve the comments from the input - items, err := rl.Pipe(yaml.Lookup("items")) - if err != nil { - return errors.Wrap(err) - } - err = items.VisitElements(func(node *yaml.RNode) error { - // starlark will serialize the resources sorting the fields alphabetically, - // format them to have a better ordering - _, err := filters.FormatFilter{}.Filter([]*yaml.RNode{node}) - return err - }) - if err != nil { - return errors.Wrap(err) - } - - s, err := rl.String() - if err != nil { - return errors.Wrap(err) - } - - _, err = writer.Write([]byte(s)) - return err -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/LICENSE b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/LICENSE deleted file mode 100644 index 2683e4bb..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/LICENSE +++ /dev/null @@ -1,50 +0,0 @@ - -This project is covered by two different licenses: MIT and Apache. - -#### MIT License #### - -The following files were ported to Go from C files of libyaml, and thus -are still covered by their original MIT license, with the additional -copyright staring in 2011 when the project was ported over: - - apic.go emitterc.go parserc.go readerc.go scannerc.go - writerc.go yamlh.go yamlprivateh.go - -Copyright (c) 2006-2010 Kirill Simonov -Copyright (c) 2006-2011 Kirill Simonov - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -### Apache License ### - -All the remaining project files are covered by the Apache license: - -Copyright (c) 2011-2019 Canonical Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/NOTICE b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/NOTICE deleted file mode 100644 index 866d74a7..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/NOTICE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2011-2016 Canonical Ltd. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/README.md b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/README.md deleted file mode 100644 index 08eb1bab..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/README.md +++ /dev/null @@ -1,150 +0,0 @@ -# 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.2, but preserves some behavior -from 1.1 for backwards compatibility. - -Specifically, as of v3 of the yaml package: - - - YAML 1.1 bools (_yes/no, on/off_) are supported as long as they are being - decoded into a typed bool value. Otherwise they behave as a string. Booleans - in YAML 1.2 are _true/false_ only. - - Octals encode and decode as _0777_ per YAML 1.1, rather than _0o777_ - as specified in YAML 1.2, because most parsers still use the old format. - Octals in the _0o777_ format are supported though, so new files work. - - Does not support base-60 floats. These are gone from YAML 1.2, and were - actually never supported by this package as it's clearly a poor choice. - -and offers backwards -compatibility with YAML 1.1 in some cases. -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.v3*. - -To install it, run: - - go get gopkg.in/yaml.v3 - -API documentation ------------------ - -If opened in a browser, the import path itself leads to the API documentation: - - - [https://gopkg.in/yaml.v3](https://gopkg.in/yaml.v3) - -API stability -------------- - -The package API for yaml v3 will remain stable as described in [gopkg.in](https://gopkg.in). - - -License -------- - -The yaml package is licensed under the MIT and Apache License 2.0 licenses. -Please see the LICENSE file for details. - - -Example -------- - -```Go -package main - -import ( - "fmt" - "log" - - "gopkg.in/yaml.v3" -) - -var data = ` -a: Easy! -b: - c: 2 - d: [3, 4] -` - -// Note: struct fields must be public in order for unmarshal to -// correctly populate the data. -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/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/apic.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/apic.go deleted file mode 100644 index ae7d049f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/apic.go +++ /dev/null @@ -1,747 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -import ( - "io" -) - -func yaml_insert_token(parser *yaml_parser_t, pos int, token *yaml_token_t) { - //fmt.Println("yaml_insert_token", "pos:", pos, "typ:", token.typ, "head:", parser.tokens_head, "len:", len(parser.tokens)) - - // Check if we can move the queue at the beginning of the buffer. - if parser.tokens_head > 0 && len(parser.tokens) == cap(parser.tokens) { - if parser.tokens_head != len(parser.tokens) { - copy(parser.tokens, parser.tokens[parser.tokens_head:]) - } - parser.tokens = parser.tokens[:len(parser.tokens)-parser.tokens_head] - parser.tokens_head = 0 - } - parser.tokens = append(parser.tokens, *token) - if pos < 0 { - return - } - copy(parser.tokens[parser.tokens_head+pos+1:], parser.tokens[parser.tokens_head+pos:]) - parser.tokens[parser.tokens_head+pos] = *token -} - -// Create a new parser object. -func yaml_parser_initialize(parser *yaml_parser_t) bool { - *parser = yaml_parser_t{ - raw_buffer: make([]byte, 0, input_raw_buffer_size), - buffer: make([]byte, 0, input_buffer_size), - } - return true -} - -// Destroy a parser object. -func yaml_parser_delete(parser *yaml_parser_t) { - *parser = yaml_parser_t{} -} - -// String read handler. -func yaml_string_read_handler(parser *yaml_parser_t, buffer []byte) (n int, err error) { - if parser.input_pos == len(parser.input) { - return 0, io.EOF - } - n = copy(buffer, parser.input[parser.input_pos:]) - parser.input_pos += n - return n, nil -} - -// Reader read handler. -func yaml_reader_read_handler(parser *yaml_parser_t, buffer []byte) (n int, err error) { - return parser.input_reader.Read(buffer) -} - -// Set a string input. -func yaml_parser_set_input_string(parser *yaml_parser_t, input []byte) { - if parser.read_handler != nil { - panic("must set the input source only once") - } - parser.read_handler = yaml_string_read_handler - parser.input = input - parser.input_pos = 0 -} - -// Set a file input. -func yaml_parser_set_input_reader(parser *yaml_parser_t, r io.Reader) { - if parser.read_handler != nil { - panic("must set the input source only once") - } - parser.read_handler = yaml_reader_read_handler - parser.input_reader = r -} - -// Set the source encoding. -func yaml_parser_set_encoding(parser *yaml_parser_t, encoding yaml_encoding_t) { - if parser.encoding != yaml_ANY_ENCODING { - panic("must set the encoding only once") - } - parser.encoding = encoding -} - -// Create a new emitter object. -func yaml_emitter_initialize(emitter *yaml_emitter_t) { - *emitter = yaml_emitter_t{ - buffer: make([]byte, output_buffer_size), - raw_buffer: make([]byte, 0, output_raw_buffer_size), - states: make([]yaml_emitter_state_t, 0, initial_stack_size), - events: make([]yaml_event_t, 0, initial_queue_size), - best_width: -1, - } -} - -// Destroy an emitter object. -func yaml_emitter_delete(emitter *yaml_emitter_t) { - *emitter = yaml_emitter_t{} -} - -// String write handler. -func yaml_string_write_handler(emitter *yaml_emitter_t, buffer []byte) error { - *emitter.output_buffer = append(*emitter.output_buffer, buffer...) - return nil -} - -// yaml_writer_write_handler uses emitter.output_writer to write the -// emitted text. -func yaml_writer_write_handler(emitter *yaml_emitter_t, buffer []byte) error { - _, err := emitter.output_writer.Write(buffer) - return err -} - -// Set a string output. -func yaml_emitter_set_output_string(emitter *yaml_emitter_t, output_buffer *[]byte) { - if emitter.write_handler != nil { - panic("must set the output target only once") - } - emitter.write_handler = yaml_string_write_handler - emitter.output_buffer = output_buffer -} - -// Set a file output. -func yaml_emitter_set_output_writer(emitter *yaml_emitter_t, w io.Writer) { - if emitter.write_handler != nil { - panic("must set the output target only once") - } - emitter.write_handler = yaml_writer_write_handler - emitter.output_writer = w -} - -// Set the output encoding. -func yaml_emitter_set_encoding(emitter *yaml_emitter_t, encoding yaml_encoding_t) { - if emitter.encoding != yaml_ANY_ENCODING { - panic("must set the output encoding only once") - } - emitter.encoding = encoding -} - -// Set the canonical output style. -func yaml_emitter_set_canonical(emitter *yaml_emitter_t, canonical bool) { - emitter.canonical = canonical -} - -// Set the indentation increment. -func yaml_emitter_set_indent(emitter *yaml_emitter_t, indent int) { - if indent < 2 || indent > 9 { - indent = 2 - } - emitter.best_indent = indent -} - -// Set the preferred line width. -func yaml_emitter_set_width(emitter *yaml_emitter_t, width int) { - if width < 0 { - width = -1 - } - emitter.best_width = width -} - -// Set if unescaped non-ASCII characters are allowed. -func yaml_emitter_set_unicode(emitter *yaml_emitter_t, unicode bool) { - emitter.unicode = unicode -} - -// Set the preferred line break character. -func yaml_emitter_set_break(emitter *yaml_emitter_t, line_break yaml_break_t) { - emitter.line_break = line_break -} - -///* -// * Destroy a token object. -// */ -// -//YAML_DECLARE(void) -//yaml_token_delete(yaml_token_t *token) -//{ -// assert(token); // Non-NULL token object expected. -// -// switch (token.type) -// { -// case YAML_TAG_DIRECTIVE_TOKEN: -// yaml_free(token.data.tag_directive.handle); -// yaml_free(token.data.tag_directive.prefix); -// break; -// -// case YAML_ALIAS_TOKEN: -// yaml_free(token.data.alias.value); -// break; -// -// case YAML_ANCHOR_TOKEN: -// yaml_free(token.data.anchor.value); -// break; -// -// case YAML_TAG_TOKEN: -// yaml_free(token.data.tag.handle); -// yaml_free(token.data.tag.suffix); -// break; -// -// case YAML_SCALAR_TOKEN: -// yaml_free(token.data.scalar.value); -// break; -// -// default: -// break; -// } -// -// memset(token, 0, sizeof(yaml_token_t)); -//} -// -///* -// * Check if a string is a valid UTF-8 sequence. -// * -// * Check 'reader.c' for more details on UTF-8 encoding. -// */ -// -//static int -//yaml_check_utf8(yaml_char_t *start, size_t length) -//{ -// yaml_char_t *end = start+length; -// yaml_char_t *pointer = start; -// -// while (pointer < end) { -// unsigned char octet; -// unsigned int width; -// unsigned int value; -// size_t k; -// -// octet = pointer[0]; -// width = (octet & 0x80) == 0x00 ? 1 : -// (octet & 0xE0) == 0xC0 ? 2 : -// (octet & 0xF0) == 0xE0 ? 3 : -// (octet & 0xF8) == 0xF0 ? 4 : 0; -// value = (octet & 0x80) == 0x00 ? octet & 0x7F : -// (octet & 0xE0) == 0xC0 ? octet & 0x1F : -// (octet & 0xF0) == 0xE0 ? octet & 0x0F : -// (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0; -// if (!width) return 0; -// if (pointer+width > end) return 0; -// for (k = 1; k < width; k ++) { -// octet = pointer[k]; -// if ((octet & 0xC0) != 0x80) return 0; -// value = (value << 6) + (octet & 0x3F); -// } -// if (!((width == 1) || -// (width == 2 && value >= 0x80) || -// (width == 3 && value >= 0x800) || -// (width == 4 && value >= 0x10000))) return 0; -// -// pointer += width; -// } -// -// return 1; -//} -// - -// Create STREAM-START. -func yaml_stream_start_event_initialize(event *yaml_event_t, encoding yaml_encoding_t) { - *event = yaml_event_t{ - typ: yaml_STREAM_START_EVENT, - encoding: encoding, - } -} - -// Create STREAM-END. -func yaml_stream_end_event_initialize(event *yaml_event_t) { - *event = yaml_event_t{ - typ: yaml_STREAM_END_EVENT, - } -} - -// Create DOCUMENT-START. -func yaml_document_start_event_initialize( - event *yaml_event_t, - version_directive *yaml_version_directive_t, - tag_directives []yaml_tag_directive_t, - implicit bool, -) { - *event = yaml_event_t{ - typ: yaml_DOCUMENT_START_EVENT, - version_directive: version_directive, - tag_directives: tag_directives, - implicit: implicit, - } -} - -// Create DOCUMENT-END. -func yaml_document_end_event_initialize(event *yaml_event_t, implicit bool) { - *event = yaml_event_t{ - typ: yaml_DOCUMENT_END_EVENT, - implicit: implicit, - } -} - -// Create ALIAS. -func yaml_alias_event_initialize(event *yaml_event_t, anchor []byte) bool { - *event = yaml_event_t{ - typ: yaml_ALIAS_EVENT, - anchor: anchor, - } - return true -} - -// Create SCALAR. -func yaml_scalar_event_initialize(event *yaml_event_t, anchor, tag, value []byte, plain_implicit, quoted_implicit bool, style yaml_scalar_style_t) bool { - *event = yaml_event_t{ - typ: yaml_SCALAR_EVENT, - anchor: anchor, - tag: tag, - value: value, - implicit: plain_implicit, - quoted_implicit: quoted_implicit, - style: yaml_style_t(style), - } - return true -} - -// Create SEQUENCE-START. -func yaml_sequence_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_sequence_style_t) bool { - *event = yaml_event_t{ - typ: yaml_SEQUENCE_START_EVENT, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(style), - } - return true -} - -// Create SEQUENCE-END. -func yaml_sequence_end_event_initialize(event *yaml_event_t) bool { - *event = yaml_event_t{ - typ: yaml_SEQUENCE_END_EVENT, - } - return true -} - -// Create MAPPING-START. -func yaml_mapping_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_mapping_style_t) { - *event = yaml_event_t{ - typ: yaml_MAPPING_START_EVENT, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(style), - } -} - -// Create MAPPING-END. -func yaml_mapping_end_event_initialize(event *yaml_event_t) { - *event = yaml_event_t{ - typ: yaml_MAPPING_END_EVENT, - } -} - -// Destroy an event object. -func yaml_event_delete(event *yaml_event_t) { - *event = yaml_event_t{} -} - -///* -// * Create a document object. -// */ -// -//YAML_DECLARE(int) -//yaml_document_initialize(document *yaml_document_t, -// version_directive *yaml_version_directive_t, -// tag_directives_start *yaml_tag_directive_t, -// tag_directives_end *yaml_tag_directive_t, -// start_implicit int, end_implicit int) -//{ -// struct { -// error yaml_error_type_t -// } context -// struct { -// start *yaml_node_t -// end *yaml_node_t -// top *yaml_node_t -// } nodes = { NULL, NULL, NULL } -// version_directive_copy *yaml_version_directive_t = NULL -// struct { -// start *yaml_tag_directive_t -// end *yaml_tag_directive_t -// top *yaml_tag_directive_t -// } tag_directives_copy = { NULL, NULL, NULL } -// value yaml_tag_directive_t = { NULL, NULL } -// mark yaml_mark_t = { 0, 0, 0 } -// -// assert(document) // Non-NULL document object is expected. -// assert((tag_directives_start && tag_directives_end) || -// (tag_directives_start == tag_directives_end)) -// // Valid tag directives are expected. -// -// if (!STACK_INIT(&context, nodes, INITIAL_STACK_SIZE)) goto error -// -// if (version_directive) { -// version_directive_copy = yaml_malloc(sizeof(yaml_version_directive_t)) -// if (!version_directive_copy) goto error -// version_directive_copy.major = version_directive.major -// version_directive_copy.minor = version_directive.minor -// } -// -// if (tag_directives_start != tag_directives_end) { -// tag_directive *yaml_tag_directive_t -// if (!STACK_INIT(&context, tag_directives_copy, INITIAL_STACK_SIZE)) -// goto error -// for (tag_directive = tag_directives_start -// tag_directive != tag_directives_end; tag_directive ++) { -// assert(tag_directive.handle) -// assert(tag_directive.prefix) -// if (!yaml_check_utf8(tag_directive.handle, -// strlen((char *)tag_directive.handle))) -// goto error -// if (!yaml_check_utf8(tag_directive.prefix, -// strlen((char *)tag_directive.prefix))) -// goto error -// value.handle = yaml_strdup(tag_directive.handle) -// value.prefix = yaml_strdup(tag_directive.prefix) -// if (!value.handle || !value.prefix) goto error -// if (!PUSH(&context, tag_directives_copy, value)) -// goto error -// value.handle = NULL -// value.prefix = NULL -// } -// } -// -// DOCUMENT_INIT(*document, nodes.start, nodes.end, version_directive_copy, -// tag_directives_copy.start, tag_directives_copy.top, -// start_implicit, end_implicit, mark, mark) -// -// return 1 -// -//error: -// STACK_DEL(&context, nodes) -// yaml_free(version_directive_copy) -// while (!STACK_EMPTY(&context, tag_directives_copy)) { -// value yaml_tag_directive_t = POP(&context, tag_directives_copy) -// yaml_free(value.handle) -// yaml_free(value.prefix) -// } -// STACK_DEL(&context, tag_directives_copy) -// yaml_free(value.handle) -// yaml_free(value.prefix) -// -// return 0 -//} -// -///* -// * Destroy a document object. -// */ -// -//YAML_DECLARE(void) -//yaml_document_delete(document *yaml_document_t) -//{ -// struct { -// error yaml_error_type_t -// } context -// tag_directive *yaml_tag_directive_t -// -// context.error = YAML_NO_ERROR // Eliminate a compiler warning. -// -// assert(document) // Non-NULL document object is expected. -// -// while (!STACK_EMPTY(&context, document.nodes)) { -// node yaml_node_t = POP(&context, document.nodes) -// yaml_free(node.tag) -// switch (node.type) { -// case YAML_SCALAR_NODE: -// yaml_free(node.data.scalar.value) -// break -// case YAML_SEQUENCE_NODE: -// STACK_DEL(&context, node.data.sequence.items) -// break -// case YAML_MAPPING_NODE: -// STACK_DEL(&context, node.data.mapping.pairs) -// break -// default: -// assert(0) // Should not happen. -// } -// } -// STACK_DEL(&context, document.nodes) -// -// yaml_free(document.version_directive) -// for (tag_directive = document.tag_directives.start -// tag_directive != document.tag_directives.end -// tag_directive++) { -// yaml_free(tag_directive.handle) -// yaml_free(tag_directive.prefix) -// } -// yaml_free(document.tag_directives.start) -// -// memset(document, 0, sizeof(yaml_document_t)) -//} -// -///** -// * Get a document node. -// */ -// -//YAML_DECLARE(yaml_node_t *) -//yaml_document_get_node(document *yaml_document_t, index int) -//{ -// assert(document) // Non-NULL document object is expected. -// -// if (index > 0 && document.nodes.start + index <= document.nodes.top) { -// return document.nodes.start + index - 1 -// } -// return NULL -//} -// -///** -// * Get the root object. -// */ -// -//YAML_DECLARE(yaml_node_t *) -//yaml_document_get_root_node(document *yaml_document_t) -//{ -// assert(document) // Non-NULL document object is expected. -// -// if (document.nodes.top != document.nodes.start) { -// return document.nodes.start -// } -// return NULL -//} -// -///* -// * Add a scalar node to a document. -// */ -// -//YAML_DECLARE(int) -//yaml_document_add_scalar(document *yaml_document_t, -// tag *yaml_char_t, value *yaml_char_t, length int, -// style yaml_scalar_style_t) -//{ -// struct { -// error yaml_error_type_t -// } context -// mark yaml_mark_t = { 0, 0, 0 } -// tag_copy *yaml_char_t = NULL -// value_copy *yaml_char_t = NULL -// node yaml_node_t -// -// assert(document) // Non-NULL document object is expected. -// assert(value) // Non-NULL value is expected. -// -// if (!tag) { -// tag = (yaml_char_t *)YAML_DEFAULT_SCALAR_TAG -// } -// -// if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error -// tag_copy = yaml_strdup(tag) -// if (!tag_copy) goto error -// -// if (length < 0) { -// length = strlen((char *)value) -// } -// -// if (!yaml_check_utf8(value, length)) goto error -// value_copy = yaml_malloc(length+1) -// if (!value_copy) goto error -// memcpy(value_copy, value, length) -// value_copy[length] = '\0' -// -// SCALAR_NODE_INIT(node, tag_copy, value_copy, length, style, mark, mark) -// if (!PUSH(&context, document.nodes, node)) goto error -// -// return document.nodes.top - document.nodes.start -// -//error: -// yaml_free(tag_copy) -// yaml_free(value_copy) -// -// return 0 -//} -// -///* -// * Add a sequence node to a document. -// */ -// -//YAML_DECLARE(int) -//yaml_document_add_sequence(document *yaml_document_t, -// tag *yaml_char_t, style yaml_sequence_style_t) -//{ -// struct { -// error yaml_error_type_t -// } context -// mark yaml_mark_t = { 0, 0, 0 } -// tag_copy *yaml_char_t = NULL -// struct { -// start *yaml_node_item_t -// end *yaml_node_item_t -// top *yaml_node_item_t -// } items = { NULL, NULL, NULL } -// node yaml_node_t -// -// assert(document) // Non-NULL document object is expected. -// -// if (!tag) { -// tag = (yaml_char_t *)YAML_DEFAULT_SEQUENCE_TAG -// } -// -// if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error -// tag_copy = yaml_strdup(tag) -// if (!tag_copy) goto error -// -// if (!STACK_INIT(&context, items, INITIAL_STACK_SIZE)) goto error -// -// SEQUENCE_NODE_INIT(node, tag_copy, items.start, items.end, -// style, mark, mark) -// if (!PUSH(&context, document.nodes, node)) goto error -// -// return document.nodes.top - document.nodes.start -// -//error: -// STACK_DEL(&context, items) -// yaml_free(tag_copy) -// -// return 0 -//} -// -///* -// * Add a mapping node to a document. -// */ -// -//YAML_DECLARE(int) -//yaml_document_add_mapping(document *yaml_document_t, -// tag *yaml_char_t, style yaml_mapping_style_t) -//{ -// struct { -// error yaml_error_type_t -// } context -// mark yaml_mark_t = { 0, 0, 0 } -// tag_copy *yaml_char_t = NULL -// struct { -// start *yaml_node_pair_t -// end *yaml_node_pair_t -// top *yaml_node_pair_t -// } pairs = { NULL, NULL, NULL } -// node yaml_node_t -// -// assert(document) // Non-NULL document object is expected. -// -// if (!tag) { -// tag = (yaml_char_t *)YAML_DEFAULT_MAPPING_TAG -// } -// -// if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error -// tag_copy = yaml_strdup(tag) -// if (!tag_copy) goto error -// -// if (!STACK_INIT(&context, pairs, INITIAL_STACK_SIZE)) goto error -// -// MAPPING_NODE_INIT(node, tag_copy, pairs.start, pairs.end, -// style, mark, mark) -// if (!PUSH(&context, document.nodes, node)) goto error -// -// return document.nodes.top - document.nodes.start -// -//error: -// STACK_DEL(&context, pairs) -// yaml_free(tag_copy) -// -// return 0 -//} -// -///* -// * Append an item to a sequence node. -// */ -// -//YAML_DECLARE(int) -//yaml_document_append_sequence_item(document *yaml_document_t, -// sequence int, item int) -//{ -// struct { -// error yaml_error_type_t -// } context -// -// assert(document) // Non-NULL document is required. -// assert(sequence > 0 -// && document.nodes.start + sequence <= document.nodes.top) -// // Valid sequence id is required. -// assert(document.nodes.start[sequence-1].type == YAML_SEQUENCE_NODE) -// // A sequence node is required. -// assert(item > 0 && document.nodes.start + item <= document.nodes.top) -// // Valid item id is required. -// -// if (!PUSH(&context, -// document.nodes.start[sequence-1].data.sequence.items, item)) -// return 0 -// -// return 1 -//} -// -///* -// * Append a pair of a key and a value to a mapping node. -// */ -// -//YAML_DECLARE(int) -//yaml_document_append_mapping_pair(document *yaml_document_t, -// mapping int, key int, value int) -//{ -// struct { -// error yaml_error_type_t -// } context -// -// pair yaml_node_pair_t -// -// assert(document) // Non-NULL document is required. -// assert(mapping > 0 -// && document.nodes.start + mapping <= document.nodes.top) -// // Valid mapping id is required. -// assert(document.nodes.start[mapping-1].type == YAML_MAPPING_NODE) -// // A mapping node is required. -// assert(key > 0 && document.nodes.start + key <= document.nodes.top) -// // Valid key id is required. -// assert(value > 0 && document.nodes.start + value <= document.nodes.top) -// // Valid value id is required. -// -// pair.key = key -// pair.value = value -// -// if (!PUSH(&context, -// document.nodes.start[mapping-1].data.mapping.pairs, pair)) -// return 0 -// -// return 1 -//} -// -// diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/decode.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/decode.go deleted file mode 100644 index df36e3a3..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/decode.go +++ /dev/null @@ -1,950 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// -// 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 yaml - -import ( - "encoding" - "encoding/base64" - "fmt" - "io" - "math" - "reflect" - "strconv" - "time" -) - -// ---------------------------------------------------------------------------- -// Parser, produces a node tree out of a libyaml event stream. - -type parser struct { - parser yaml_parser_t - event yaml_event_t - doc *Node - anchors map[string]*Node - doneInit bool - textless bool -} - -func newParser(b []byte) *parser { - p := parser{} - if !yaml_parser_initialize(&p.parser) { - panic("failed to initialize YAML emitter") - } - if len(b) == 0 { - b = []byte{'\n'} - } - yaml_parser_set_input_string(&p.parser, b) - return &p -} - -func newParserFromReader(r io.Reader) *parser { - p := parser{} - if !yaml_parser_initialize(&p.parser) { - panic("failed to initialize YAML emitter") - } - yaml_parser_set_input_reader(&p.parser, r) - return &p -} - -func (p *parser) init() { - if p.doneInit { - return - } - p.anchors = make(map[string]*Node) - p.expect(yaml_STREAM_START_EVENT) - p.doneInit = true -} - -func (p *parser) destroy() { - if p.event.typ != yaml_NO_EVENT { - yaml_event_delete(&p.event) - } - yaml_parser_delete(&p.parser) -} - -// expect consumes an event from the event stream and -// checks that it's of the expected type. -func (p *parser) expect(e yaml_event_type_t) { - if p.event.typ == yaml_NO_EVENT { - if !yaml_parser_parse(&p.parser, &p.event) { - p.fail() - } - } - if p.event.typ == yaml_STREAM_END_EVENT { - failf("attempted to go past the end of stream; corrupted value?") - } - if p.event.typ != e { - p.parser.problem = fmt.Sprintf("expected %s event but got %s", e, p.event.typ) - p.fail() - } - yaml_event_delete(&p.event) - p.event.typ = yaml_NO_EVENT -} - -// peek peeks at the next event in the event stream, -// puts the results into p.event and returns the event type. -func (p *parser) peek() yaml_event_type_t { - if p.event.typ != yaml_NO_EVENT { - return p.event.typ - } - if !yaml_parser_parse(&p.parser, &p.event) { - p.fail() - } - return p.event.typ -} - -func (p *parser) fail() { - var where string - var line int - if p.parser.context_mark.line != 0 { - line = p.parser.context_mark.line - // Scanner errors don't iterate line before returning error - if p.parser.error == yaml_SCANNER_ERROR { - line++ - } - } else if p.parser.problem_mark.line != 0 { - line = p.parser.problem_mark.line - // Scanner errors don't iterate line before returning error - if p.parser.error == yaml_SCANNER_ERROR { - line++ - } - } - if line != 0 { - where = "line " + strconv.Itoa(line) + ": " - } - var msg string - if len(p.parser.problem) > 0 { - msg = p.parser.problem - } else { - msg = "unknown problem parsing YAML content" - } - failf("%s%s", where, msg) -} - -func (p *parser) anchor(n *Node, anchor []byte) { - if anchor != nil { - n.Anchor = string(anchor) - p.anchors[n.Anchor] = n - } -} - -func (p *parser) parse() *Node { - p.init() - switch p.peek() { - case yaml_SCALAR_EVENT: - return p.scalar() - case yaml_ALIAS_EVENT: - return p.alias() - case yaml_MAPPING_START_EVENT: - return p.mapping() - case yaml_SEQUENCE_START_EVENT: - return p.sequence() - case yaml_DOCUMENT_START_EVENT: - return p.document() - case yaml_STREAM_END_EVENT: - // Happens when attempting to decode an empty buffer. - return nil - case yaml_TAIL_COMMENT_EVENT: - panic("internal error: unexpected tail comment event (please report)") - default: - panic("internal error: attempted to parse unknown event (please report): " + p.event.typ.String()) - } -} - -func (p *parser) node(kind Kind, defaultTag, tag, value string) *Node { - var style Style - if tag != "" && tag != "!" { - tag = shortTag(tag) - style = TaggedStyle - } else if defaultTag != "" { - tag = defaultTag - } else if kind == ScalarNode { - tag, _ = resolve("", value) - } - n := &Node{ - Kind: kind, - Tag: tag, - Value: value, - Style: style, - } - if !p.textless { - n.Line = p.event.start_mark.line + 1 - n.Column = p.event.start_mark.column + 1 - n.HeadComment = string(p.event.head_comment) - n.LineComment = string(p.event.line_comment) - n.FootComment = string(p.event.foot_comment) - } - return n -} - -func (p *parser) parseChild(parent *Node) *Node { - child := p.parse() - parent.Content = append(parent.Content, child) - return child -} - -func (p *parser) document() *Node { - n := p.node(DocumentNode, "", "", "") - p.doc = n - p.expect(yaml_DOCUMENT_START_EVENT) - p.parseChild(n) - if p.peek() == yaml_DOCUMENT_END_EVENT { - n.FootComment = string(p.event.foot_comment) - } - p.expect(yaml_DOCUMENT_END_EVENT) - return n -} - -func (p *parser) alias() *Node { - n := p.node(AliasNode, "", "", string(p.event.anchor)) - n.Alias = p.anchors[n.Value] - if n.Alias == nil { - failf("unknown anchor '%s' referenced", n.Value) - } - p.expect(yaml_ALIAS_EVENT) - return n -} - -func (p *parser) scalar() *Node { - var parsedStyle = p.event.scalar_style() - var nodeStyle Style - switch { - case parsedStyle&yaml_DOUBLE_QUOTED_SCALAR_STYLE != 0: - nodeStyle = DoubleQuotedStyle - case parsedStyle&yaml_SINGLE_QUOTED_SCALAR_STYLE != 0: - nodeStyle = SingleQuotedStyle - case parsedStyle&yaml_LITERAL_SCALAR_STYLE != 0: - nodeStyle = LiteralStyle - case parsedStyle&yaml_FOLDED_SCALAR_STYLE != 0: - nodeStyle = FoldedStyle - } - var nodeValue = string(p.event.value) - var nodeTag = string(p.event.tag) - var defaultTag string - if nodeStyle == 0 { - if nodeValue == "<<" { - defaultTag = mergeTag - } - } else { - defaultTag = strTag - } - n := p.node(ScalarNode, defaultTag, nodeTag, nodeValue) - n.Style |= nodeStyle - p.anchor(n, p.event.anchor) - p.expect(yaml_SCALAR_EVENT) - return n -} - -func (p *parser) sequence() *Node { - n := p.node(SequenceNode, seqTag, string(p.event.tag), "") - if p.event.sequence_style()&yaml_FLOW_SEQUENCE_STYLE != 0 { - n.Style |= FlowStyle - } - p.anchor(n, p.event.anchor) - p.expect(yaml_SEQUENCE_START_EVENT) - for p.peek() != yaml_SEQUENCE_END_EVENT { - p.parseChild(n) - } - n.LineComment = string(p.event.line_comment) - n.FootComment = string(p.event.foot_comment) - p.expect(yaml_SEQUENCE_END_EVENT) - return n -} - -func (p *parser) mapping() *Node { - n := p.node(MappingNode, mapTag, string(p.event.tag), "") - block := true - if p.event.mapping_style()&yaml_FLOW_MAPPING_STYLE != 0 { - block = false - n.Style |= FlowStyle - } - p.anchor(n, p.event.anchor) - p.expect(yaml_MAPPING_START_EVENT) - for p.peek() != yaml_MAPPING_END_EVENT { - k := p.parseChild(n) - if block && k.FootComment != "" { - // Must be a foot comment for the prior value when being dedented. - if len(n.Content) > 2 { - n.Content[len(n.Content)-3].FootComment = k.FootComment - k.FootComment = "" - } - } - v := p.parseChild(n) - if k.FootComment == "" && v.FootComment != "" { - k.FootComment = v.FootComment - v.FootComment = "" - } - if p.peek() == yaml_TAIL_COMMENT_EVENT { - if k.FootComment == "" { - k.FootComment = string(p.event.foot_comment) - } - p.expect(yaml_TAIL_COMMENT_EVENT) - } - } - n.LineComment = string(p.event.line_comment) - n.FootComment = string(p.event.foot_comment) - if n.Style&FlowStyle == 0 && n.FootComment != "" && len(n.Content) > 1 { - n.Content[len(n.Content)-2].FootComment = n.FootComment - n.FootComment = "" - } - p.expect(yaml_MAPPING_END_EVENT) - return n -} - -// ---------------------------------------------------------------------------- -// Decoder, unmarshals a node into a provided value. - -type decoder struct { - doc *Node - aliases map[*Node]bool - terrors []string - - stringMapType reflect.Type - generalMapType reflect.Type - - knownFields bool - uniqueKeys bool - decodeCount int - aliasCount int - aliasDepth int -} - -var ( - nodeType = reflect.TypeOf(Node{}) - durationType = reflect.TypeOf(time.Duration(0)) - stringMapType = reflect.TypeOf(map[string]interface{}{}) - generalMapType = reflect.TypeOf(map[interface{}]interface{}{}) - ifaceType = generalMapType.Elem() - timeType = reflect.TypeOf(time.Time{}) - ptrTimeType = reflect.TypeOf(&time.Time{}) -) - -func newDecoder() *decoder { - d := &decoder{ - stringMapType: stringMapType, - generalMapType: generalMapType, - uniqueKeys: true, - } - d.aliases = make(map[*Node]bool) - return d -} - -func (d *decoder) terror(n *Node, tag string, out reflect.Value) { - if n.Tag != "" { - tag = n.Tag - } - value := n.Value - if tag != seqTag && tag != mapTag { - if len(value) > 10 { - value = " `" + value[:7] + "...`" - } else { - value = " `" + value + "`" - } - } - d.terrors = append(d.terrors, fmt.Sprintf("line %d: cannot unmarshal %s%s into %s", n.Line, shortTag(tag), value, out.Type())) -} - -func (d *decoder) callUnmarshaler(n *Node, u Unmarshaler) (good bool) { - err := u.UnmarshalYAML(n) - if e, ok := err.(*TypeError); ok { - d.terrors = append(d.terrors, e.Errors...) - return false - } - if err != nil { - fail(err) - } - return true -} - -func (d *decoder) callObsoleteUnmarshaler(n *Node, u obsoleteUnmarshaler) (good bool) { - terrlen := len(d.terrors) - err := u.UnmarshalYAML(func(v interface{}) (err error) { - defer handleErr(&err) - d.unmarshal(n, reflect.ValueOf(v)) - if len(d.terrors) > terrlen { - issues := d.terrors[terrlen:] - d.terrors = d.terrors[:terrlen] - return &TypeError{issues} - } - return nil - }) - if e, ok := err.(*TypeError); ok { - d.terrors = append(d.terrors, e.Errors...) - return false - } - if err != nil { - fail(err) - } - return true -} - -// d.prepare initializes and dereferences pointers and calls UnmarshalYAML -// if a value is found to implement it. -// It returns the initialized and dereferenced out value, whether -// unmarshalling was already done by UnmarshalYAML, and if so whether -// its types unmarshalled appropriately. -// -// If n holds a null value, prepare returns before doing anything. -func (d *decoder) prepare(n *Node, out reflect.Value) (newout reflect.Value, unmarshaled, good bool) { - if n.ShortTag() == nullTag { - return out, false, false - } - again := true - for again { - again = false - if out.Kind() == reflect.Ptr { - if out.IsNil() { - out.Set(reflect.New(out.Type().Elem())) - } - out = out.Elem() - again = true - } - if out.CanAddr() { - outi := out.Addr().Interface() - if u, ok := outi.(Unmarshaler); ok { - good = d.callUnmarshaler(n, u) - return out, true, good - } - if u, ok := outi.(obsoleteUnmarshaler); ok { - good = d.callObsoleteUnmarshaler(n, u) - return out, true, good - } - } - } - return out, false, false -} - -func (d *decoder) fieldByIndex(n *Node, v reflect.Value, index []int) (field reflect.Value) { - if n.ShortTag() == nullTag { - return reflect.Value{} - } - for _, num := range index { - for { - if v.Kind() == reflect.Ptr { - if v.IsNil() { - v.Set(reflect.New(v.Type().Elem())) - } - v = v.Elem() - continue - } - break - } - v = v.Field(num) - } - return v -} - -const ( - // 400,000 decode operations is ~500kb of dense object declarations, or - // ~5kb of dense object declarations with 10000% alias expansion - alias_ratio_range_low = 400000 - - // 4,000,000 decode operations is ~5MB of dense object declarations, or - // ~4.5MB of dense object declarations with 10% alias expansion - alias_ratio_range_high = 4000000 - - // alias_ratio_range is the range over which we scale allowed alias ratios - alias_ratio_range = float64(alias_ratio_range_high - alias_ratio_range_low) -) - -func allowedAliasRatio(decodeCount int) float64 { - switch { - case decodeCount <= alias_ratio_range_low: - // allow 99% to come from alias expansion for small-to-medium documents - return 0.99 - case decodeCount >= alias_ratio_range_high: - // allow 10% to come from alias expansion for very large documents - return 0.10 - default: - // scale smoothly from 99% down to 10% over the range. - // this maps to 396,000 - 400,000 allowed alias-driven decodes over the range. - // 400,000 decode operations is ~100MB of allocations in worst-case scenarios (single-item maps). - return 0.99 - 0.89*(float64(decodeCount-alias_ratio_range_low)/alias_ratio_range) - } -} - -func (d *decoder) unmarshal(n *Node, out reflect.Value) (good bool) { - d.decodeCount++ - if d.aliasDepth > 0 { - d.aliasCount++ - } - if d.aliasCount > 100 && d.decodeCount > 1000 && float64(d.aliasCount)/float64(d.decodeCount) > allowedAliasRatio(d.decodeCount) { - failf("document contains excessive aliasing") - } - if out.Type() == nodeType { - out.Set(reflect.ValueOf(n).Elem()) - return true - } - switch n.Kind { - case DocumentNode: - return d.document(n, out) - case AliasNode: - return d.alias(n, out) - } - out, unmarshaled, good := d.prepare(n, out) - if unmarshaled { - return good - } - switch n.Kind { - case ScalarNode: - good = d.scalar(n, out) - case MappingNode: - good = d.mapping(n, out) - case SequenceNode: - good = d.sequence(n, out) - case 0: - if n.IsZero() { - return d.null(out) - } - fallthrough - default: - failf("cannot decode node with unknown kind %d", n.Kind) - } - return good -} - -func (d *decoder) document(n *Node, out reflect.Value) (good bool) { - if len(n.Content) == 1 { - d.doc = n - d.unmarshal(n.Content[0], out) - return true - } - return false -} - -func (d *decoder) alias(n *Node, out reflect.Value) (good bool) { - if d.aliases[n] { - // TODO this could actually be allowed in some circumstances. - failf("anchor '%s' value contains itself", n.Value) - } - d.aliases[n] = true - d.aliasDepth++ - good = d.unmarshal(n.Alias, out) - d.aliasDepth-- - delete(d.aliases, n) - return good -} - -var zeroValue reflect.Value - -func resetMap(out reflect.Value) { - for _, k := range out.MapKeys() { - out.SetMapIndex(k, zeroValue) - } -} - -func (d *decoder) null(out reflect.Value) bool { - if out.CanAddr() { - switch out.Kind() { - case reflect.Interface, reflect.Ptr, reflect.Map, reflect.Slice: - out.Set(reflect.Zero(out.Type())) - return true - } - } - return false -} - -func (d *decoder) scalar(n *Node, out reflect.Value) bool { - var tag string - var resolved interface{} - if n.indicatedString() { - tag = strTag - resolved = n.Value - } else { - tag, resolved = resolve(n.Tag, n.Value) - if tag == binaryTag { - data, err := base64.StdEncoding.DecodeString(resolved.(string)) - if err != nil { - failf("!!binary value contains invalid base64 data") - } - resolved = string(data) - } - } - if resolved == nil { - return d.null(out) - } - if resolvedv := reflect.ValueOf(resolved); out.Type() == resolvedv.Type() { - // We've resolved to exactly the type we want, so use that. - out.Set(resolvedv) - return true - } - // Perhaps we can use the value as a TextUnmarshaler to - // set its value. - if out.CanAddr() { - u, ok := out.Addr().Interface().(encoding.TextUnmarshaler) - if ok { - var text []byte - if tag == binaryTag { - text = []byte(resolved.(string)) - } else { - // We let any value be unmarshaled into TextUnmarshaler. - // That might be more lax than we'd like, but the - // TextUnmarshaler itself should bowl out any dubious values. - text = []byte(n.Value) - } - err := u.UnmarshalText(text) - if err != nil { - fail(err) - } - return true - } - } - switch out.Kind() { - case reflect.String: - if tag == binaryTag { - out.SetString(resolved.(string)) - return true - } - out.SetString(n.Value) - return true - case reflect.Interface: - out.Set(reflect.ValueOf(resolved)) - return true - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - // This used to work in v2, but it's very unfriendly. - isDuration := out.Type() == durationType - - switch resolved := resolved.(type) { - case int: - if !isDuration && !out.OverflowInt(int64(resolved)) { - out.SetInt(int64(resolved)) - return true - } - case int64: - if !isDuration && !out.OverflowInt(resolved) { - out.SetInt(resolved) - return true - } - case uint64: - if !isDuration && resolved <= math.MaxInt64 && !out.OverflowInt(int64(resolved)) { - out.SetInt(int64(resolved)) - return true - } - case float64: - if !isDuration && resolved <= math.MaxInt64 && !out.OverflowInt(int64(resolved)) { - out.SetInt(int64(resolved)) - return true - } - case string: - if out.Type() == durationType { - d, err := time.ParseDuration(resolved) - if err == nil { - out.SetInt(int64(d)) - return true - } - } - } - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - switch resolved := resolved.(type) { - case int: - if resolved >= 0 && !out.OverflowUint(uint64(resolved)) { - out.SetUint(uint64(resolved)) - return true - } - case int64: - if resolved >= 0 && !out.OverflowUint(uint64(resolved)) { - out.SetUint(uint64(resolved)) - return true - } - case uint64: - if !out.OverflowUint(uint64(resolved)) { - out.SetUint(uint64(resolved)) - return true - } - case float64: - if resolved <= math.MaxUint64 && !out.OverflowUint(uint64(resolved)) { - out.SetUint(uint64(resolved)) - return true - } - } - case reflect.Bool: - switch resolved := resolved.(type) { - case bool: - out.SetBool(resolved) - return true - case string: - // This offers some compatibility with the 1.1 spec (https://yaml.org/type/bool.html). - // It only works if explicitly attempting to unmarshal into a typed bool value. - switch resolved { - case "y", "Y", "yes", "Yes", "YES", "on", "On", "ON": - out.SetBool(true) - return true - case "n", "N", "no", "No", "NO", "off", "Off", "OFF": - out.SetBool(false) - return true - } - } - case reflect.Float32, reflect.Float64: - switch resolved := resolved.(type) { - case int: - out.SetFloat(float64(resolved)) - return true - case int64: - out.SetFloat(float64(resolved)) - return true - case uint64: - out.SetFloat(float64(resolved)) - return true - case float64: - out.SetFloat(resolved) - return true - } - case reflect.Struct: - if resolvedv := reflect.ValueOf(resolved); out.Type() == resolvedv.Type() { - out.Set(resolvedv) - return true - } - case reflect.Ptr: - panic("yaml internal error: please report the issue") - } - d.terror(n, tag, out) - return false -} - -func settableValueOf(i interface{}) reflect.Value { - v := reflect.ValueOf(i) - sv := reflect.New(v.Type()).Elem() - sv.Set(v) - return sv -} - -func (d *decoder) sequence(n *Node, out reflect.Value) (good bool) { - l := len(n.Content) - - var iface reflect.Value - switch out.Kind() { - case reflect.Slice: - out.Set(reflect.MakeSlice(out.Type(), l, l)) - case reflect.Array: - if l != out.Len() { - failf("invalid array: want %d elements but got %d", out.Len(), l) - } - case reflect.Interface: - // No type hints. Will have to use a generic sequence. - iface = out - out = settableValueOf(make([]interface{}, l)) - default: - d.terror(n, seqTag, out) - return false - } - et := out.Type().Elem() - - j := 0 - for i := 0; i < l; i++ { - e := reflect.New(et).Elem() - if ok := d.unmarshal(n.Content[i], e); ok { - out.Index(j).Set(e) - j++ - } - } - if out.Kind() != reflect.Array { - out.Set(out.Slice(0, j)) - } - if iface.IsValid() { - iface.Set(out) - } - return true -} - -func (d *decoder) mapping(n *Node, out reflect.Value) (good bool) { - l := len(n.Content) - if d.uniqueKeys { - nerrs := len(d.terrors) - for i := 0; i < l; i += 2 { - ni := n.Content[i] - for j := i + 2; j < l; j += 2 { - nj := n.Content[j] - if ni.Kind == nj.Kind && ni.Value == nj.Value { - d.terrors = append(d.terrors, fmt.Sprintf("line %d: mapping key %#v already defined at line %d", nj.Line, nj.Value, ni.Line)) - } - } - } - if len(d.terrors) > nerrs { - return false - } - } - switch out.Kind() { - case reflect.Struct: - return d.mappingStruct(n, out) - case reflect.Map: - // okay - case reflect.Interface: - iface := out - if isStringMap(n) { - out = reflect.MakeMap(d.stringMapType) - } else { - out = reflect.MakeMap(d.generalMapType) - } - iface.Set(out) - default: - d.terror(n, mapTag, out) - return false - } - - outt := out.Type() - kt := outt.Key() - et := outt.Elem() - - stringMapType := d.stringMapType - generalMapType := d.generalMapType - if outt.Elem() == ifaceType { - if outt.Key().Kind() == reflect.String { - d.stringMapType = outt - } else if outt.Key() == ifaceType { - d.generalMapType = outt - } - } - - mapIsNew := false - if out.IsNil() { - out.Set(reflect.MakeMap(outt)) - mapIsNew = true - } - for i := 0; i < l; i += 2 { - if isMerge(n.Content[i]) { - d.merge(n.Content[i+1], out) - continue - } - k := reflect.New(kt).Elem() - if d.unmarshal(n.Content[i], k) { - kkind := k.Kind() - if kkind == reflect.Interface { - kkind = k.Elem().Kind() - } - if kkind == reflect.Map || kkind == reflect.Slice { - failf("invalid map key: %#v", k.Interface()) - } - e := reflect.New(et).Elem() - if d.unmarshal(n.Content[i+1], e) || n.Content[i+1].ShortTag() == nullTag && (mapIsNew || !out.MapIndex(k).IsValid()) { - out.SetMapIndex(k, e) - } - } - } - d.stringMapType = stringMapType - d.generalMapType = generalMapType - return true -} - -func isStringMap(n *Node) bool { - if n.Kind != MappingNode { - return false - } - l := len(n.Content) - for i := 0; i < l; i += 2 { - if n.Content[i].ShortTag() != strTag { - return false - } - } - return true -} - -func (d *decoder) mappingStruct(n *Node, out reflect.Value) (good bool) { - sinfo, err := getStructInfo(out.Type()) - if err != nil { - panic(err) - } - - var inlineMap reflect.Value - var elemType reflect.Type - if sinfo.InlineMap != -1 { - inlineMap = out.Field(sinfo.InlineMap) - inlineMap.Set(reflect.New(inlineMap.Type()).Elem()) - elemType = inlineMap.Type().Elem() - } - - for _, index := range sinfo.InlineUnmarshalers { - field := d.fieldByIndex(n, out, index) - d.prepare(n, field) - } - - var doneFields []bool - if d.uniqueKeys { - doneFields = make([]bool, len(sinfo.FieldsList)) - } - name := settableValueOf("") - l := len(n.Content) - for i := 0; i < l; i += 2 { - ni := n.Content[i] - if isMerge(ni) { - d.merge(n.Content[i+1], out) - continue - } - if !d.unmarshal(ni, name) { - continue - } - if info, ok := sinfo.FieldsMap[name.String()]; ok { - if d.uniqueKeys { - if doneFields[info.Id] { - d.terrors = append(d.terrors, fmt.Sprintf("line %d: field %s already set in type %s", ni.Line, name.String(), out.Type())) - continue - } - doneFields[info.Id] = true - } - var field reflect.Value - if info.Inline == nil { - field = out.Field(info.Num) - } else { - field = d.fieldByIndex(n, out, info.Inline) - } - d.unmarshal(n.Content[i+1], field) - } else if sinfo.InlineMap != -1 { - if inlineMap.IsNil() { - inlineMap.Set(reflect.MakeMap(inlineMap.Type())) - } - value := reflect.New(elemType).Elem() - d.unmarshal(n.Content[i+1], value) - inlineMap.SetMapIndex(name, value) - } else if d.knownFields { - d.terrors = append(d.terrors, fmt.Sprintf("line %d: field %s not found in type %s", ni.Line, name.String(), out.Type())) - } - } - return true -} - -func failWantMap() { - failf("map merge requires map or sequence of maps as the value") -} - -func (d *decoder) merge(n *Node, out reflect.Value) { - switch n.Kind { - case MappingNode: - d.unmarshal(n, out) - case AliasNode: - if n.Alias != nil && n.Alias.Kind != MappingNode { - failWantMap() - } - d.unmarshal(n, out) - case SequenceNode: - // Step backwards as earlier nodes take precedence. - for i := len(n.Content) - 1; i >= 0; i-- { - ni := n.Content[i] - if ni.Kind == AliasNode { - if ni.Alias != nil && ni.Alias.Kind != MappingNode { - failWantMap() - } - } else if ni.Kind != MappingNode { - failWantMap() - } - d.unmarshal(ni, out) - } - default: - failWantMap() - } -} - -func isMerge(n *Node) bool { - return n.Kind == ScalarNode && n.Value == "<<" && (n.Tag == "" || n.Tag == "!" || shortTag(n.Tag) == mergeTag) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/emitterc.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/emitterc.go deleted file mode 100644 index f0f3d186..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/emitterc.go +++ /dev/null @@ -1,2028 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -import ( - "bytes" - "fmt" -) - -// Flush the buffer if needed. -func flush(emitter *yaml_emitter_t) bool { - if emitter.buffer_pos+5 >= len(emitter.buffer) { - return yaml_emitter_flush(emitter) - } - return true -} - -// Put a character to the output buffer. -func put(emitter *yaml_emitter_t, value byte) bool { - if emitter.buffer_pos+5 >= len(emitter.buffer) && !yaml_emitter_flush(emitter) { - return false - } - emitter.buffer[emitter.buffer_pos] = value - emitter.buffer_pos++ - emitter.column++ - return true -} - -// Put a line break to the output buffer. -func put_break(emitter *yaml_emitter_t) bool { - if emitter.buffer_pos+5 >= len(emitter.buffer) && !yaml_emitter_flush(emitter) { - return false - } - switch emitter.line_break { - case yaml_CR_BREAK: - emitter.buffer[emitter.buffer_pos] = '\r' - emitter.buffer_pos += 1 - case yaml_LN_BREAK: - emitter.buffer[emitter.buffer_pos] = '\n' - emitter.buffer_pos += 1 - case yaml_CRLN_BREAK: - emitter.buffer[emitter.buffer_pos+0] = '\r' - emitter.buffer[emitter.buffer_pos+1] = '\n' - emitter.buffer_pos += 2 - default: - panic("unknown line break setting") - } - if emitter.column == 0 { - emitter.space_above = true - } - emitter.column = 0 - emitter.line++ - // [Go] Do this here and below and drop from everywhere else (see commented lines). - emitter.indention = true - return true -} - -// Copy a character from a string into buffer. -func write(emitter *yaml_emitter_t, s []byte, i *int) bool { - if emitter.buffer_pos+5 >= len(emitter.buffer) && !yaml_emitter_flush(emitter) { - return false - } - p := emitter.buffer_pos - w := width(s[*i]) - switch w { - case 4: - emitter.buffer[p+3] = s[*i+3] - fallthrough - case 3: - emitter.buffer[p+2] = s[*i+2] - fallthrough - case 2: - emitter.buffer[p+1] = s[*i+1] - fallthrough - case 1: - emitter.buffer[p+0] = s[*i+0] - default: - panic("unknown character width") - } - emitter.column++ - emitter.buffer_pos += w - *i += w - return true -} - -// Write a whole string into buffer. -func write_all(emitter *yaml_emitter_t, s []byte) bool { - for i := 0; i < len(s); { - if !write(emitter, s, &i) { - return false - } - } - return true -} - -// Copy a line break character from a string into buffer. -func write_break(emitter *yaml_emitter_t, s []byte, i *int) bool { - if s[*i] == '\n' { - if !put_break(emitter) { - return false - } - *i++ - } else { - if !write(emitter, s, i) { - return false - } - if emitter.column == 0 { - emitter.space_above = true - } - emitter.column = 0 - emitter.line++ - // [Go] Do this here and above and drop from everywhere else (see commented lines). - emitter.indention = true - } - return true -} - -// Set an emitter error and return false. -func yaml_emitter_set_emitter_error(emitter *yaml_emitter_t, problem string) bool { - emitter.error = yaml_EMITTER_ERROR - emitter.problem = problem - return false -} - -// Emit an event. -func yaml_emitter_emit(emitter *yaml_emitter_t, event *yaml_event_t) bool { - emitter.events = append(emitter.events, *event) - for !yaml_emitter_need_more_events(emitter) { - event := &emitter.events[emitter.events_head] - if !yaml_emitter_analyze_event(emitter, event) { - return false - } - if !yaml_emitter_state_machine(emitter, event) { - return false - } - yaml_event_delete(event) - emitter.events_head++ - } - return true -} - -// Check if we need to accumulate more events before emitting. -// -// We accumulate extra -// - 1 event for DOCUMENT-START -// - 2 events for SEQUENCE-START -// - 3 events for MAPPING-START -// -func yaml_emitter_need_more_events(emitter *yaml_emitter_t) bool { - if emitter.events_head == len(emitter.events) { - return true - } - var accumulate int - switch emitter.events[emitter.events_head].typ { - case yaml_DOCUMENT_START_EVENT: - accumulate = 1 - break - case yaml_SEQUENCE_START_EVENT: - accumulate = 2 - break - case yaml_MAPPING_START_EVENT: - accumulate = 3 - break - default: - return false - } - if len(emitter.events)-emitter.events_head > accumulate { - return false - } - var level int - for i := emitter.events_head; i < len(emitter.events); i++ { - switch emitter.events[i].typ { - case yaml_STREAM_START_EVENT, yaml_DOCUMENT_START_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT: - level++ - case yaml_STREAM_END_EVENT, yaml_DOCUMENT_END_EVENT, yaml_SEQUENCE_END_EVENT, yaml_MAPPING_END_EVENT: - level-- - } - if level == 0 { - return false - } - } - return true -} - -// Append a directive to the directives stack. -func yaml_emitter_append_tag_directive(emitter *yaml_emitter_t, value *yaml_tag_directive_t, allow_duplicates bool) bool { - for i := 0; i < len(emitter.tag_directives); i++ { - if bytes.Equal(value.handle, emitter.tag_directives[i].handle) { - if allow_duplicates { - return true - } - return yaml_emitter_set_emitter_error(emitter, "duplicate %TAG directive") - } - } - - // [Go] Do we actually need to copy this given garbage collection - // and the lack of deallocating destructors? - tag_copy := yaml_tag_directive_t{ - handle: make([]byte, len(value.handle)), - prefix: make([]byte, len(value.prefix)), - } - copy(tag_copy.handle, value.handle) - copy(tag_copy.prefix, value.prefix) - emitter.tag_directives = append(emitter.tag_directives, tag_copy) - return true -} - -// Increase the indentation level. -func yaml_emitter_increase_indent(emitter *yaml_emitter_t, flow, indentless bool, compact_seq bool) bool { - emitter.indents = append(emitter.indents, emitter.indent) - if emitter.indent < 0 { - if flow { - emitter.indent = emitter.best_indent - } else { - emitter.indent = 0 - } - } else if !indentless { - // [Go] This was changed so that indentations are more regular. - if emitter.states[len(emitter.states)-1] == yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE { - // The first indent inside a sequence will just skip the "- " indicator. - emitter.indent += 2 - } else { - // Everything else aligns to the chosen indentation. - emitter.indent = emitter.best_indent*((emitter.indent+emitter.best_indent)/emitter.best_indent) - } - if compact_seq { - emitter.indent = emitter.indent - 2 - } - } - return true -} - -// State dispatcher. -func yaml_emitter_state_machine(emitter *yaml_emitter_t, event *yaml_event_t) bool { - switch emitter.state { - default: - case yaml_EMIT_STREAM_START_STATE: - return yaml_emitter_emit_stream_start(emitter, event) - - case yaml_EMIT_FIRST_DOCUMENT_START_STATE: - return yaml_emitter_emit_document_start(emitter, event, true) - - case yaml_EMIT_DOCUMENT_START_STATE: - return yaml_emitter_emit_document_start(emitter, event, false) - - case yaml_EMIT_DOCUMENT_CONTENT_STATE: - return yaml_emitter_emit_document_content(emitter, event) - - case yaml_EMIT_DOCUMENT_END_STATE: - return yaml_emitter_emit_document_end(emitter, event) - - case yaml_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE: - return yaml_emitter_emit_flow_sequence_item(emitter, event, true, false) - - case yaml_EMIT_FLOW_SEQUENCE_TRAIL_ITEM_STATE: - return yaml_emitter_emit_flow_sequence_item(emitter, event, false, true) - - case yaml_EMIT_FLOW_SEQUENCE_ITEM_STATE: - return yaml_emitter_emit_flow_sequence_item(emitter, event, false, false) - - case yaml_EMIT_FLOW_MAPPING_FIRST_KEY_STATE: - return yaml_emitter_emit_flow_mapping_key(emitter, event, true, false) - - case yaml_EMIT_FLOW_MAPPING_TRAIL_KEY_STATE: - return yaml_emitter_emit_flow_mapping_key(emitter, event, false, true) - - case yaml_EMIT_FLOW_MAPPING_KEY_STATE: - return yaml_emitter_emit_flow_mapping_key(emitter, event, false, false) - - case yaml_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE: - return yaml_emitter_emit_flow_mapping_value(emitter, event, true) - - case yaml_EMIT_FLOW_MAPPING_VALUE_STATE: - return yaml_emitter_emit_flow_mapping_value(emitter, event, false) - - case yaml_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE: - return yaml_emitter_emit_block_sequence_item(emitter, event, true) - - case yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE: - return yaml_emitter_emit_block_sequence_item(emitter, event, false) - - case yaml_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE: - return yaml_emitter_emit_block_mapping_key(emitter, event, true) - - case yaml_EMIT_BLOCK_MAPPING_KEY_STATE: - return yaml_emitter_emit_block_mapping_key(emitter, event, false) - - case yaml_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE: - return yaml_emitter_emit_block_mapping_value(emitter, event, true) - - case yaml_EMIT_BLOCK_MAPPING_VALUE_STATE: - return yaml_emitter_emit_block_mapping_value(emitter, event, false) - - case yaml_EMIT_END_STATE: - return yaml_emitter_set_emitter_error(emitter, "expected nothing after STREAM-END") - } - panic("invalid emitter state") -} - -// Expect STREAM-START. -func yaml_emitter_emit_stream_start(emitter *yaml_emitter_t, event *yaml_event_t) bool { - if event.typ != yaml_STREAM_START_EVENT { - return yaml_emitter_set_emitter_error(emitter, "expected STREAM-START") - } - if emitter.encoding == yaml_ANY_ENCODING { - emitter.encoding = event.encoding - if emitter.encoding == yaml_ANY_ENCODING { - emitter.encoding = yaml_UTF8_ENCODING - } - } - if emitter.best_indent < 2 || emitter.best_indent > 9 { - emitter.best_indent = 2 - } - if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 { - emitter.best_width = 80 - } - if emitter.best_width < 0 { - emitter.best_width = 1<<31 - 1 - } - if emitter.line_break == yaml_ANY_BREAK { - emitter.line_break = yaml_LN_BREAK - } - - emitter.indent = -1 - emitter.line = 0 - emitter.column = 0 - emitter.whitespace = true - emitter.indention = true - emitter.space_above = true - emitter.foot_indent = -1 - - if emitter.encoding != yaml_UTF8_ENCODING { - if !yaml_emitter_write_bom(emitter) { - return false - } - } - emitter.state = yaml_EMIT_FIRST_DOCUMENT_START_STATE - return true -} - -// Expect DOCUMENT-START or STREAM-END. -func yaml_emitter_emit_document_start(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool { - - if event.typ == yaml_DOCUMENT_START_EVENT { - - if event.version_directive != nil { - if !yaml_emitter_analyze_version_directive(emitter, event.version_directive) { - return false - } - } - - for i := 0; i < len(event.tag_directives); i++ { - tag_directive := &event.tag_directives[i] - if !yaml_emitter_analyze_tag_directive(emitter, tag_directive) { - return false - } - if !yaml_emitter_append_tag_directive(emitter, tag_directive, false) { - return false - } - } - - for i := 0; i < len(default_tag_directives); i++ { - tag_directive := &default_tag_directives[i] - if !yaml_emitter_append_tag_directive(emitter, tag_directive, true) { - return false - } - } - - implicit := event.implicit - if !first || emitter.canonical { - implicit = false - } - - if emitter.open_ended && (event.version_directive != nil || len(event.tag_directives) > 0) { - if !yaml_emitter_write_indicator(emitter, []byte("..."), true, false, false) { - return false - } - if !yaml_emitter_write_indent(emitter) { - return false - } - } - - if event.version_directive != nil { - implicit = false - if !yaml_emitter_write_indicator(emitter, []byte("%YAML"), true, false, false) { - return false - } - if !yaml_emitter_write_indicator(emitter, []byte("1.1"), true, false, false) { - return false - } - if !yaml_emitter_write_indent(emitter) { - return false - } - } - - if len(event.tag_directives) > 0 { - implicit = false - for i := 0; i < len(event.tag_directives); i++ { - tag_directive := &event.tag_directives[i] - if !yaml_emitter_write_indicator(emitter, []byte("%TAG"), true, false, false) { - return false - } - if !yaml_emitter_write_tag_handle(emitter, tag_directive.handle) { - return false - } - if !yaml_emitter_write_tag_content(emitter, tag_directive.prefix, true) { - return false - } - if !yaml_emitter_write_indent(emitter) { - return false - } - } - } - - if yaml_emitter_check_empty_document(emitter) { - implicit = false - } - if !implicit { - if !yaml_emitter_write_indent(emitter) { - return false - } - if !yaml_emitter_write_indicator(emitter, []byte("---"), true, false, false) { - return false - } - if emitter.canonical || true { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - } - - if len(emitter.head_comment) > 0 { - if !yaml_emitter_process_head_comment(emitter) { - return false - } - if !put_break(emitter) { - return false - } - } - - emitter.state = yaml_EMIT_DOCUMENT_CONTENT_STATE - return true - } - - if event.typ == yaml_STREAM_END_EVENT { - if emitter.open_ended { - if !yaml_emitter_write_indicator(emitter, []byte("..."), true, false, false) { - return false - } - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !yaml_emitter_flush(emitter) { - return false - } - emitter.state = yaml_EMIT_END_STATE - return true - } - - return yaml_emitter_set_emitter_error(emitter, "expected DOCUMENT-START or STREAM-END") -} - -// Expect the root node. -func yaml_emitter_emit_document_content(emitter *yaml_emitter_t, event *yaml_event_t) bool { - emitter.states = append(emitter.states, yaml_EMIT_DOCUMENT_END_STATE) - - if !yaml_emitter_process_head_comment(emitter) { - return false - } - if !yaml_emitter_emit_node(emitter, event, true, false, false, false) { - return false - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - return true -} - -// Expect DOCUMENT-END. -func yaml_emitter_emit_document_end(emitter *yaml_emitter_t, event *yaml_event_t) bool { - if event.typ != yaml_DOCUMENT_END_EVENT { - return yaml_emitter_set_emitter_error(emitter, "expected DOCUMENT-END") - } - // [Go] Force document foot separation. - emitter.foot_indent = 0 - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - emitter.foot_indent = -1 - if !yaml_emitter_write_indent(emitter) { - return false - } - if !event.implicit { - // [Go] Allocate the slice elsewhere. - if !yaml_emitter_write_indicator(emitter, []byte("..."), true, false, false) { - return false - } - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !yaml_emitter_flush(emitter) { - return false - } - emitter.state = yaml_EMIT_DOCUMENT_START_STATE - emitter.tag_directives = emitter.tag_directives[:0] - return true -} - -// Expect a flow item node. -func yaml_emitter_emit_flow_sequence_item(emitter *yaml_emitter_t, event *yaml_event_t, first, trail bool) bool { - if first { - if !yaml_emitter_write_indicator(emitter, []byte{'['}, true, true, false) { - return false - } - if !yaml_emitter_increase_indent(emitter, true, false, false) { - return false - } - emitter.flow_level++ - } - - if event.typ == yaml_SEQUENCE_END_EVENT { - if emitter.canonical && !first && !trail { - if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) { - return false - } - } - emitter.flow_level-- - emitter.indent = emitter.indents[len(emitter.indents)-1] - emitter.indents = emitter.indents[:len(emitter.indents)-1] - if emitter.column == 0 || emitter.canonical && !first { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !yaml_emitter_write_indicator(emitter, []byte{']'}, false, false, false) { - return false - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - emitter.state = emitter.states[len(emitter.states)-1] - emitter.states = emitter.states[:len(emitter.states)-1] - - return true - } - - if !first && !trail { - if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) { - return false - } - } - - if !yaml_emitter_process_head_comment(emitter) { - return false - } - if emitter.column == 0 { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - - if emitter.canonical || emitter.column > emitter.best_width { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if len(emitter.line_comment)+len(emitter.foot_comment)+len(emitter.tail_comment) > 0 { - emitter.states = append(emitter.states, yaml_EMIT_FLOW_SEQUENCE_TRAIL_ITEM_STATE) - } else { - emitter.states = append(emitter.states, yaml_EMIT_FLOW_SEQUENCE_ITEM_STATE) - } - if !yaml_emitter_emit_node(emitter, event, false, true, false, false) { - return false - } - if len(emitter.line_comment)+len(emitter.foot_comment)+len(emitter.tail_comment) > 0 { - if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) { - return false - } - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - return true -} - -// Expect a flow key node. -func yaml_emitter_emit_flow_mapping_key(emitter *yaml_emitter_t, event *yaml_event_t, first, trail bool) bool { - if first { - if !yaml_emitter_write_indicator(emitter, []byte{'{'}, true, true, false) { - return false - } - if !yaml_emitter_increase_indent(emitter, true, false, false) { - return false - } - emitter.flow_level++ - } - - if event.typ == yaml_MAPPING_END_EVENT { - if (emitter.canonical || len(emitter.head_comment)+len(emitter.foot_comment)+len(emitter.tail_comment) > 0) && !first && !trail { - if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) { - return false - } - } - if !yaml_emitter_process_head_comment(emitter) { - return false - } - emitter.flow_level-- - emitter.indent = emitter.indents[len(emitter.indents)-1] - emitter.indents = emitter.indents[:len(emitter.indents)-1] - if emitter.canonical && !first { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !yaml_emitter_write_indicator(emitter, []byte{'}'}, false, false, false) { - return false - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - emitter.state = emitter.states[len(emitter.states)-1] - emitter.states = emitter.states[:len(emitter.states)-1] - return true - } - - if !first && !trail { - if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) { - return false - } - } - - if !yaml_emitter_process_head_comment(emitter) { - return false - } - - if emitter.column == 0 { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - - if emitter.canonical || emitter.column > emitter.best_width { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - - if !emitter.canonical && yaml_emitter_check_simple_key(emitter) { - emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE) - return yaml_emitter_emit_node(emitter, event, false, false, true, true) - } - if !yaml_emitter_write_indicator(emitter, []byte{'?'}, true, false, false) { - return false - } - emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_VALUE_STATE) - return yaml_emitter_emit_node(emitter, event, false, false, true, false) -} - -// Expect a flow value node. -func yaml_emitter_emit_flow_mapping_value(emitter *yaml_emitter_t, event *yaml_event_t, simple bool) bool { - if simple { - if !yaml_emitter_write_indicator(emitter, []byte{':'}, false, false, false) { - return false - } - } else { - if emitter.canonical || emitter.column > emitter.best_width { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !yaml_emitter_write_indicator(emitter, []byte{':'}, true, false, false) { - return false - } - } - if len(emitter.line_comment)+len(emitter.foot_comment)+len(emitter.tail_comment) > 0 { - emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_TRAIL_KEY_STATE) - } else { - emitter.states = append(emitter.states, yaml_EMIT_FLOW_MAPPING_KEY_STATE) - } - if !yaml_emitter_emit_node(emitter, event, false, false, true, false) { - return false - } - if len(emitter.line_comment)+len(emitter.foot_comment)+len(emitter.tail_comment) > 0 { - if !yaml_emitter_write_indicator(emitter, []byte{','}, false, false, false) { - return false - } - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - return true -} - -// Expect a block item node. -func yaml_emitter_emit_block_sequence_item(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool { - if first { - seq := emitter.mapping_context && (emitter.column == 0 || !emitter.indention) && - emitter.compact_sequence_indent - if !yaml_emitter_increase_indent(emitter, false, false, seq){ - return false - } - } - if event.typ == yaml_SEQUENCE_END_EVENT { - emitter.indent = emitter.indents[len(emitter.indents)-1] - emitter.indents = emitter.indents[:len(emitter.indents)-1] - emitter.state = emitter.states[len(emitter.states)-1] - emitter.states = emitter.states[:len(emitter.states)-1] - return true - } - if !yaml_emitter_process_head_comment(emitter) { - return false - } - if !yaml_emitter_write_indent(emitter) { - return false - } - if !yaml_emitter_write_indicator(emitter, []byte{'-'}, true, false, true) { - return false - } - emitter.states = append(emitter.states, yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE) - if !yaml_emitter_emit_node(emitter, event, false, true, false, false) { - return false - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - return true -} - -// Expect a block key node. -func yaml_emitter_emit_block_mapping_key(emitter *yaml_emitter_t, event *yaml_event_t, first bool) bool { - if first { - if !yaml_emitter_increase_indent(emitter, false, false, false) { - return false - } - } - if !yaml_emitter_process_head_comment(emitter) { - return false - } - if event.typ == yaml_MAPPING_END_EVENT { - emitter.indent = emitter.indents[len(emitter.indents)-1] - emitter.indents = emitter.indents[:len(emitter.indents)-1] - emitter.state = emitter.states[len(emitter.states)-1] - emitter.states = emitter.states[:len(emitter.states)-1] - return true - } - if !yaml_emitter_write_indent(emitter) { - return false - } - if len(emitter.line_comment) > 0 { - // [Go] A line comment was provided for the key. That's unusual as the - // scanner associates line comments with the value. Either way, - // save the line comment and render it appropriately later. - emitter.key_line_comment = emitter.line_comment - emitter.line_comment = nil - } - if yaml_emitter_check_simple_key(emitter) { - emitter.states = append(emitter.states, yaml_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE) - return yaml_emitter_emit_node(emitter, event, false, false, true, true) - } - if !yaml_emitter_write_indicator(emitter, []byte{'?'}, true, false, true) { - return false - } - emitter.states = append(emitter.states, yaml_EMIT_BLOCK_MAPPING_VALUE_STATE) - return yaml_emitter_emit_node(emitter, event, false, false, true, false) -} - -// Expect a block value node. -func yaml_emitter_emit_block_mapping_value(emitter *yaml_emitter_t, event *yaml_event_t, simple bool) bool { - if simple { - if !yaml_emitter_write_indicator(emitter, []byte{':'}, false, false, false) { - return false - } - } else { - if !yaml_emitter_write_indent(emitter) { - return false - } - if !yaml_emitter_write_indicator(emitter, []byte{':'}, true, false, true) { - return false - } - } - if len(emitter.key_line_comment) > 0 { - // [Go] Line comments are generally associated with the value, but when there's - // no value on the same line as a mapping key they end up attached to the - // key itself. - if event.typ == yaml_SCALAR_EVENT { - if len(emitter.line_comment) == 0 { - // A scalar is coming and it has no line comments by itself yet, - // so just let it handle the line comment as usual. If it has a - // line comment, we can't have both so the one from the key is lost. - emitter.line_comment = emitter.key_line_comment - emitter.key_line_comment = nil - } - } else if event.sequence_style() != yaml_FLOW_SEQUENCE_STYLE && (event.typ == yaml_MAPPING_START_EVENT || event.typ == yaml_SEQUENCE_START_EVENT) { - // An indented block follows, so write the comment right now. - emitter.line_comment, emitter.key_line_comment = emitter.key_line_comment, emitter.line_comment - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - emitter.line_comment, emitter.key_line_comment = emitter.key_line_comment, emitter.line_comment - } - } - emitter.states = append(emitter.states, yaml_EMIT_BLOCK_MAPPING_KEY_STATE) - if !yaml_emitter_emit_node(emitter, event, false, false, true, false) { - return false - } - if !yaml_emitter_process_line_comment(emitter, false) { - return false - } - if !yaml_emitter_process_foot_comment(emitter) { - return false - } - return true -} - -func yaml_emitter_silent_nil_event(emitter *yaml_emitter_t, event *yaml_event_t) bool { - return event.typ == yaml_SCALAR_EVENT && event.implicit && !emitter.canonical && len(emitter.scalar_data.value) == 0 -} - -// Expect a node. -func yaml_emitter_emit_node(emitter *yaml_emitter_t, event *yaml_event_t, - root bool, sequence bool, mapping bool, simple_key bool) bool { - - emitter.root_context = root - emitter.sequence_context = sequence - emitter.mapping_context = mapping - emitter.simple_key_context = simple_key - - switch event.typ { - case yaml_ALIAS_EVENT: - return yaml_emitter_emit_alias(emitter, event) - case yaml_SCALAR_EVENT: - return yaml_emitter_emit_scalar(emitter, event) - case yaml_SEQUENCE_START_EVENT: - return yaml_emitter_emit_sequence_start(emitter, event) - case yaml_MAPPING_START_EVENT: - return yaml_emitter_emit_mapping_start(emitter, event) - default: - return yaml_emitter_set_emitter_error(emitter, - fmt.Sprintf("expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS, but got %v", event.typ)) - } -} - -// Expect ALIAS. -func yaml_emitter_emit_alias(emitter *yaml_emitter_t, event *yaml_event_t) bool { - if !yaml_emitter_process_anchor(emitter) { - return false - } - emitter.state = emitter.states[len(emitter.states)-1] - emitter.states = emitter.states[:len(emitter.states)-1] - return true -} - -// Expect SCALAR. -func yaml_emitter_emit_scalar(emitter *yaml_emitter_t, event *yaml_event_t) bool { - if !yaml_emitter_select_scalar_style(emitter, event) { - return false - } - if !yaml_emitter_process_anchor(emitter) { - return false - } - if !yaml_emitter_process_tag(emitter) { - return false - } - if !yaml_emitter_increase_indent(emitter, true, false, false) { - return false - } - if !yaml_emitter_process_scalar(emitter) { - return false - } - emitter.indent = emitter.indents[len(emitter.indents)-1] - emitter.indents = emitter.indents[:len(emitter.indents)-1] - emitter.state = emitter.states[len(emitter.states)-1] - emitter.states = emitter.states[:len(emitter.states)-1] - return true -} - -// Expect SEQUENCE-START. -func yaml_emitter_emit_sequence_start(emitter *yaml_emitter_t, event *yaml_event_t) bool { - if !yaml_emitter_process_anchor(emitter) { - return false - } - if !yaml_emitter_process_tag(emitter) { - return false - } - if emitter.flow_level > 0 || emitter.canonical || event.sequence_style() == yaml_FLOW_SEQUENCE_STYLE || - yaml_emitter_check_empty_sequence(emitter) { - emitter.state = yaml_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE - } else { - emitter.state = yaml_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE - } - return true -} - -// Expect MAPPING-START. -func yaml_emitter_emit_mapping_start(emitter *yaml_emitter_t, event *yaml_event_t) bool { - if !yaml_emitter_process_anchor(emitter) { - return false - } - if !yaml_emitter_process_tag(emitter) { - return false - } - if emitter.flow_level > 0 || emitter.canonical || event.mapping_style() == yaml_FLOW_MAPPING_STYLE || - yaml_emitter_check_empty_mapping(emitter) { - emitter.state = yaml_EMIT_FLOW_MAPPING_FIRST_KEY_STATE - } else { - emitter.state = yaml_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE - } - return true -} - -// Check if the document content is an empty scalar. -func yaml_emitter_check_empty_document(emitter *yaml_emitter_t) bool { - return false // [Go] Huh? -} - -// Check if the next events represent an empty sequence. -func yaml_emitter_check_empty_sequence(emitter *yaml_emitter_t) bool { - if len(emitter.events)-emitter.events_head < 2 { - return false - } - return emitter.events[emitter.events_head].typ == yaml_SEQUENCE_START_EVENT && - emitter.events[emitter.events_head+1].typ == yaml_SEQUENCE_END_EVENT -} - -// Check if the next events represent an empty mapping. -func yaml_emitter_check_empty_mapping(emitter *yaml_emitter_t) bool { - if len(emitter.events)-emitter.events_head < 2 { - return false - } - return emitter.events[emitter.events_head].typ == yaml_MAPPING_START_EVENT && - emitter.events[emitter.events_head+1].typ == yaml_MAPPING_END_EVENT -} - -// Check if the next node can be expressed as a simple key. -func yaml_emitter_check_simple_key(emitter *yaml_emitter_t) bool { - length := 0 - switch emitter.events[emitter.events_head].typ { - case yaml_ALIAS_EVENT: - length += len(emitter.anchor_data.anchor) - case yaml_SCALAR_EVENT: - if emitter.scalar_data.multiline { - return false - } - length += len(emitter.anchor_data.anchor) + - len(emitter.tag_data.handle) + - len(emitter.tag_data.suffix) + - len(emitter.scalar_data.value) - case yaml_SEQUENCE_START_EVENT: - if !yaml_emitter_check_empty_sequence(emitter) { - return false - } - length += len(emitter.anchor_data.anchor) + - len(emitter.tag_data.handle) + - len(emitter.tag_data.suffix) - case yaml_MAPPING_START_EVENT: - if !yaml_emitter_check_empty_mapping(emitter) { - return false - } - length += len(emitter.anchor_data.anchor) + - len(emitter.tag_data.handle) + - len(emitter.tag_data.suffix) - default: - return false - } - return length <= 128 -} - -// Determine an acceptable scalar style. -func yaml_emitter_select_scalar_style(emitter *yaml_emitter_t, event *yaml_event_t) bool { - - no_tag := len(emitter.tag_data.handle) == 0 && len(emitter.tag_data.suffix) == 0 - if no_tag && !event.implicit && !event.quoted_implicit { - return yaml_emitter_set_emitter_error(emitter, "neither tag nor implicit flags are specified") - } - - style := event.scalar_style() - if style == yaml_ANY_SCALAR_STYLE { - style = yaml_PLAIN_SCALAR_STYLE - } - if emitter.canonical { - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - if emitter.simple_key_context && emitter.scalar_data.multiline { - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - - if style == yaml_PLAIN_SCALAR_STYLE { - if emitter.flow_level > 0 && !emitter.scalar_data.flow_plain_allowed || - emitter.flow_level == 0 && !emitter.scalar_data.block_plain_allowed { - style = yaml_SINGLE_QUOTED_SCALAR_STYLE - } - if len(emitter.scalar_data.value) == 0 && (emitter.flow_level > 0 || emitter.simple_key_context) { - style = yaml_SINGLE_QUOTED_SCALAR_STYLE - } - if no_tag && !event.implicit { - style = yaml_SINGLE_QUOTED_SCALAR_STYLE - } - } - if style == yaml_SINGLE_QUOTED_SCALAR_STYLE { - if !emitter.scalar_data.single_quoted_allowed { - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - } - if style == yaml_LITERAL_SCALAR_STYLE || style == yaml_FOLDED_SCALAR_STYLE { - if !emitter.scalar_data.block_allowed || emitter.flow_level > 0 || emitter.simple_key_context { - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - } - - if no_tag && !event.quoted_implicit && style != yaml_PLAIN_SCALAR_STYLE { - emitter.tag_data.handle = []byte{'!'} - } - emitter.scalar_data.style = style - return true -} - -// Write an anchor. -func yaml_emitter_process_anchor(emitter *yaml_emitter_t) bool { - if emitter.anchor_data.anchor == nil { - return true - } - c := []byte{'&'} - if emitter.anchor_data.alias { - c[0] = '*' - } - if !yaml_emitter_write_indicator(emitter, c, true, false, false) { - return false - } - return yaml_emitter_write_anchor(emitter, emitter.anchor_data.anchor) -} - -// Write a tag. -func yaml_emitter_process_tag(emitter *yaml_emitter_t) bool { - if len(emitter.tag_data.handle) == 0 && len(emitter.tag_data.suffix) == 0 { - return true - } - if len(emitter.tag_data.handle) > 0 { - if !yaml_emitter_write_tag_handle(emitter, emitter.tag_data.handle) { - return false - } - if len(emitter.tag_data.suffix) > 0 { - if !yaml_emitter_write_tag_content(emitter, emitter.tag_data.suffix, false) { - return false - } - } - } else { - // [Go] Allocate these slices elsewhere. - if !yaml_emitter_write_indicator(emitter, []byte("!<"), true, false, false) { - return false - } - if !yaml_emitter_write_tag_content(emitter, emitter.tag_data.suffix, false) { - return false - } - if !yaml_emitter_write_indicator(emitter, []byte{'>'}, false, false, false) { - return false - } - } - return true -} - -// Write a scalar. -func yaml_emitter_process_scalar(emitter *yaml_emitter_t) bool { - switch emitter.scalar_data.style { - case yaml_PLAIN_SCALAR_STYLE: - return yaml_emitter_write_plain_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context) - - case yaml_SINGLE_QUOTED_SCALAR_STYLE: - return yaml_emitter_write_single_quoted_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context) - - case yaml_DOUBLE_QUOTED_SCALAR_STYLE: - return yaml_emitter_write_double_quoted_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context) - - case yaml_LITERAL_SCALAR_STYLE: - return yaml_emitter_write_literal_scalar(emitter, emitter.scalar_data.value) - - case yaml_FOLDED_SCALAR_STYLE: - return yaml_emitter_write_folded_scalar(emitter, emitter.scalar_data.value) - } - panic("unknown scalar style") -} - -// Write a head comment. -func yaml_emitter_process_head_comment(emitter *yaml_emitter_t) bool { - if len(emitter.tail_comment) > 0 { - if !yaml_emitter_write_indent(emitter) { - return false - } - if !yaml_emitter_write_comment(emitter, emitter.tail_comment) { - return false - } - emitter.tail_comment = emitter.tail_comment[:0] - emitter.foot_indent = emitter.indent - if emitter.foot_indent < 0 { - emitter.foot_indent = 0 - } - } - - if len(emitter.head_comment) == 0 { - return true - } - if !yaml_emitter_write_indent(emitter) { - return false - } - if !yaml_emitter_write_comment(emitter, emitter.head_comment) { - return false - } - emitter.head_comment = emitter.head_comment[:0] - return true -} - -// Write an line comment. -func yaml_emitter_process_line_comment(emitter *yaml_emitter_t, linebreak bool) bool { - if len(emitter.line_comment) == 0 { - if linebreak && !put_break(emitter) { - return false - } - return true - } - if !emitter.whitespace { - if !put(emitter, ' ') { - return false - } - } - if !yaml_emitter_write_comment(emitter, emitter.line_comment) { - return false - } - emitter.line_comment = emitter.line_comment[:0] - return true -} - -// Write a foot comment. -func yaml_emitter_process_foot_comment(emitter *yaml_emitter_t) bool { - if len(emitter.foot_comment) == 0 { - return true - } - if !yaml_emitter_write_indent(emitter) { - return false - } - if !yaml_emitter_write_comment(emitter, emitter.foot_comment) { - return false - } - emitter.foot_comment = emitter.foot_comment[:0] - emitter.foot_indent = emitter.indent - if emitter.foot_indent < 0 { - emitter.foot_indent = 0 - } - return true -} - -// Check if a %YAML directive is valid. -func yaml_emitter_analyze_version_directive(emitter *yaml_emitter_t, version_directive *yaml_version_directive_t) bool { - if version_directive.major != 1 || version_directive.minor != 1 { - return yaml_emitter_set_emitter_error(emitter, "incompatible %YAML directive") - } - return true -} - -// Check if a %TAG directive is valid. -func yaml_emitter_analyze_tag_directive(emitter *yaml_emitter_t, tag_directive *yaml_tag_directive_t) bool { - handle := tag_directive.handle - prefix := tag_directive.prefix - if len(handle) == 0 { - return yaml_emitter_set_emitter_error(emitter, "tag handle must not be empty") - } - if handle[0] != '!' { - return yaml_emitter_set_emitter_error(emitter, "tag handle must start with '!'") - } - if handle[len(handle)-1] != '!' { - return yaml_emitter_set_emitter_error(emitter, "tag handle must end with '!'") - } - for i := 1; i < len(handle)-1; i += width(handle[i]) { - if !is_alpha(handle, i) { - return yaml_emitter_set_emitter_error(emitter, "tag handle must contain alphanumerical characters only") - } - } - if len(prefix) == 0 { - return yaml_emitter_set_emitter_error(emitter, "tag prefix must not be empty") - } - return true -} - -// Check if an anchor is valid. -func yaml_emitter_analyze_anchor(emitter *yaml_emitter_t, anchor []byte, alias bool) bool { - if len(anchor) == 0 { - problem := "anchor value must not be empty" - if alias { - problem = "alias value must not be empty" - } - return yaml_emitter_set_emitter_error(emitter, problem) - } - for i := 0; i < len(anchor); i += width(anchor[i]) { - if !is_alpha(anchor, i) { - problem := "anchor value must contain alphanumerical characters only" - if alias { - problem = "alias value must contain alphanumerical characters only" - } - return yaml_emitter_set_emitter_error(emitter, problem) - } - } - emitter.anchor_data.anchor = anchor - emitter.anchor_data.alias = alias - return true -} - -// Check if a tag is valid. -func yaml_emitter_analyze_tag(emitter *yaml_emitter_t, tag []byte) bool { - if len(tag) == 0 { - return yaml_emitter_set_emitter_error(emitter, "tag value must not be empty") - } - for i := 0; i < len(emitter.tag_directives); i++ { - tag_directive := &emitter.tag_directives[i] - if bytes.HasPrefix(tag, tag_directive.prefix) { - emitter.tag_data.handle = tag_directive.handle - emitter.tag_data.suffix = tag[len(tag_directive.prefix):] - return true - } - } - emitter.tag_data.suffix = tag - return true -} - -// Check if a scalar is valid. -func yaml_emitter_analyze_scalar(emitter *yaml_emitter_t, value []byte) bool { - var ( - block_indicators = false - flow_indicators = false - line_breaks = false - special_characters = false - tab_characters = false - - leading_space = false - leading_break = false - trailing_space = false - trailing_break = false - break_space = false - space_break = false - - preceded_by_whitespace = false - followed_by_whitespace = false - previous_space = false - previous_break = false - ) - - emitter.scalar_data.value = value - - if len(value) == 0 { - emitter.scalar_data.multiline = false - emitter.scalar_data.flow_plain_allowed = false - emitter.scalar_data.block_plain_allowed = true - emitter.scalar_data.single_quoted_allowed = true - emitter.scalar_data.block_allowed = false - return true - } - - if len(value) >= 3 && ((value[0] == '-' && value[1] == '-' && value[2] == '-') || (value[0] == '.' && value[1] == '.' && value[2] == '.')) { - block_indicators = true - flow_indicators = true - } - - preceded_by_whitespace = true - for i, w := 0, 0; i < len(value); i += w { - w = width(value[i]) - followed_by_whitespace = i+w >= len(value) || is_blank(value, i+w) - - if i == 0 { - switch value[i] { - case '#', ',', '[', ']', '{', '}', '&', '*', '!', '|', '>', '\'', '"', '%', '@', '`': - flow_indicators = true - block_indicators = true - case '?', ':': - flow_indicators = true - if followed_by_whitespace { - block_indicators = true - } - case '-': - if followed_by_whitespace { - flow_indicators = true - block_indicators = true - } - } - } else { - switch value[i] { - case ',', '?', '[', ']', '{', '}': - flow_indicators = true - case ':': - flow_indicators = true - if followed_by_whitespace { - block_indicators = true - } - case '#': - if preceded_by_whitespace { - flow_indicators = true - block_indicators = true - } - } - } - - if value[i] == '\t' { - tab_characters = true - } else if !is_printable(value, i) || !is_ascii(value, i) && !emitter.unicode { - special_characters = true - } - if is_space(value, i) { - if i == 0 { - leading_space = true - } - if i+width(value[i]) == len(value) { - trailing_space = true - } - if previous_break { - break_space = true - } - previous_space = true - previous_break = false - } else if is_break(value, i) { - line_breaks = true - if i == 0 { - leading_break = true - } - if i+width(value[i]) == len(value) { - trailing_break = true - } - if previous_space { - space_break = true - } - previous_space = false - previous_break = true - } else { - previous_space = false - previous_break = false - } - - // [Go]: Why 'z'? Couldn't be the end of the string as that's the loop condition. - preceded_by_whitespace = is_blankz(value, i) - } - - emitter.scalar_data.multiline = line_breaks - emitter.scalar_data.flow_plain_allowed = true - emitter.scalar_data.block_plain_allowed = true - emitter.scalar_data.single_quoted_allowed = true - emitter.scalar_data.block_allowed = true - - if leading_space || leading_break || trailing_space || trailing_break { - emitter.scalar_data.flow_plain_allowed = false - emitter.scalar_data.block_plain_allowed = false - } - if trailing_space { - emitter.scalar_data.block_allowed = false - } - if break_space { - emitter.scalar_data.flow_plain_allowed = false - emitter.scalar_data.block_plain_allowed = false - emitter.scalar_data.single_quoted_allowed = false - } - if space_break || tab_characters || special_characters { - emitter.scalar_data.flow_plain_allowed = false - emitter.scalar_data.block_plain_allowed = false - emitter.scalar_data.single_quoted_allowed = false - } - if space_break || special_characters { - emitter.scalar_data.block_allowed = false - } - if line_breaks { - emitter.scalar_data.flow_plain_allowed = false - emitter.scalar_data.block_plain_allowed = false - } - if flow_indicators { - emitter.scalar_data.flow_plain_allowed = false - } - if block_indicators { - emitter.scalar_data.block_plain_allowed = false - } - return true -} - -// Check if the event data is valid. -func yaml_emitter_analyze_event(emitter *yaml_emitter_t, event *yaml_event_t) bool { - - emitter.anchor_data.anchor = nil - emitter.tag_data.handle = nil - emitter.tag_data.suffix = nil - emitter.scalar_data.value = nil - - if len(event.head_comment) > 0 { - emitter.head_comment = event.head_comment - } - if len(event.line_comment) > 0 { - emitter.line_comment = event.line_comment - } - if len(event.foot_comment) > 0 { - emitter.foot_comment = event.foot_comment - } - if len(event.tail_comment) > 0 { - emitter.tail_comment = event.tail_comment - } - - switch event.typ { - case yaml_ALIAS_EVENT: - if !yaml_emitter_analyze_anchor(emitter, event.anchor, true) { - return false - } - - case yaml_SCALAR_EVENT: - if len(event.anchor) > 0 { - if !yaml_emitter_analyze_anchor(emitter, event.anchor, false) { - return false - } - } - if len(event.tag) > 0 && (emitter.canonical || (!event.implicit && !event.quoted_implicit)) { - if !yaml_emitter_analyze_tag(emitter, event.tag) { - return false - } - } - if !yaml_emitter_analyze_scalar(emitter, event.value) { - return false - } - - case yaml_SEQUENCE_START_EVENT: - if len(event.anchor) > 0 { - if !yaml_emitter_analyze_anchor(emitter, event.anchor, false) { - return false - } - } - if len(event.tag) > 0 && (emitter.canonical || !event.implicit) { - if !yaml_emitter_analyze_tag(emitter, event.tag) { - return false - } - } - - case yaml_MAPPING_START_EVENT: - if len(event.anchor) > 0 { - if !yaml_emitter_analyze_anchor(emitter, event.anchor, false) { - return false - } - } - if len(event.tag) > 0 && (emitter.canonical || !event.implicit) { - if !yaml_emitter_analyze_tag(emitter, event.tag) { - return false - } - } - } - return true -} - -// Write the BOM character. -func yaml_emitter_write_bom(emitter *yaml_emitter_t) bool { - if !flush(emitter) { - return false - } - pos := emitter.buffer_pos - emitter.buffer[pos+0] = '\xEF' - emitter.buffer[pos+1] = '\xBB' - emitter.buffer[pos+2] = '\xBF' - emitter.buffer_pos += 3 - return true -} - -func yaml_emitter_write_indent(emitter *yaml_emitter_t) bool { - indent := emitter.indent - if indent < 0 { - indent = 0 - } - if !emitter.indention || emitter.column > indent || (emitter.column == indent && !emitter.whitespace) { - if !put_break(emitter) { - return false - } - } - if emitter.foot_indent == indent { - if !put_break(emitter) { - return false - } - } - for emitter.column < indent { - if !put(emitter, ' ') { - return false - } - } - emitter.whitespace = true - //emitter.indention = true - emitter.space_above = false - emitter.foot_indent = -1 - return true -} - -func yaml_emitter_write_indicator(emitter *yaml_emitter_t, indicator []byte, need_whitespace, is_whitespace, is_indention bool) bool { - if need_whitespace && !emitter.whitespace { - if !put(emitter, ' ') { - return false - } - } - if !write_all(emitter, indicator) { - return false - } - emitter.whitespace = is_whitespace - emitter.indention = (emitter.indention && is_indention) - emitter.open_ended = false - return true -} - -func yaml_emitter_write_anchor(emitter *yaml_emitter_t, value []byte) bool { - if !write_all(emitter, value) { - return false - } - emitter.whitespace = false - emitter.indention = false - return true -} - -func yaml_emitter_write_tag_handle(emitter *yaml_emitter_t, value []byte) bool { - if !emitter.whitespace { - if !put(emitter, ' ') { - return false - } - } - if !write_all(emitter, value) { - return false - } - emitter.whitespace = false - emitter.indention = false - return true -} - -func yaml_emitter_write_tag_content(emitter *yaml_emitter_t, value []byte, need_whitespace bool) bool { - if need_whitespace && !emitter.whitespace { - if !put(emitter, ' ') { - return false - } - } - for i := 0; i < len(value); { - var must_write bool - switch value[i] { - case ';', '/', '?', ':', '@', '&', '=', '+', '$', ',', '_', '.', '~', '*', '\'', '(', ')', '[', ']': - must_write = true - default: - must_write = is_alpha(value, i) - } - if must_write { - if !write(emitter, value, &i) { - return false - } - } else { - w := width(value[i]) - for k := 0; k < w; k++ { - octet := value[i] - i++ - if !put(emitter, '%') { - return false - } - - c := octet >> 4 - if c < 10 { - c += '0' - } else { - c += 'A' - 10 - } - if !put(emitter, c) { - return false - } - - c = octet & 0x0f - if c < 10 { - c += '0' - } else { - c += 'A' - 10 - } - if !put(emitter, c) { - return false - } - } - } - } - emitter.whitespace = false - emitter.indention = false - return true -} - -func yaml_emitter_write_plain_scalar(emitter *yaml_emitter_t, value []byte, allow_breaks bool) bool { - if len(value) > 0 && !emitter.whitespace { - if !put(emitter, ' ') { - return false - } - } - - spaces := false - breaks := false - for i := 0; i < len(value); { - if is_space(value, i) { - if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) { - if !yaml_emitter_write_indent(emitter) { - return false - } - i += width(value[i]) - } else { - if !write(emitter, value, &i) { - return false - } - } - spaces = true - } else if is_break(value, i) { - if !breaks && value[i] == '\n' { - if !put_break(emitter) { - return false - } - } - if !write_break(emitter, value, &i) { - return false - } - //emitter.indention = true - breaks = true - } else { - if breaks { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !write(emitter, value, &i) { - return false - } - emitter.indention = false - spaces = false - breaks = false - } - } - - if len(value) > 0 { - emitter.whitespace = false - } - emitter.indention = false - if emitter.root_context { - emitter.open_ended = true - } - - return true -} - -func yaml_emitter_write_single_quoted_scalar(emitter *yaml_emitter_t, value []byte, allow_breaks bool) bool { - - if !yaml_emitter_write_indicator(emitter, []byte{'\''}, true, false, false) { - return false - } - - spaces := false - breaks := false - for i := 0; i < len(value); { - if is_space(value, i) { - if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && !is_space(value, i+1) { - if !yaml_emitter_write_indent(emitter) { - return false - } - i += width(value[i]) - } else { - if !write(emitter, value, &i) { - return false - } - } - spaces = true - } else if is_break(value, i) { - if !breaks && value[i] == '\n' { - if !put_break(emitter) { - return false - } - } - if !write_break(emitter, value, &i) { - return false - } - //emitter.indention = true - breaks = true - } else { - if breaks { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if value[i] == '\'' { - if !put(emitter, '\'') { - return false - } - } - if !write(emitter, value, &i) { - return false - } - emitter.indention = false - spaces = false - breaks = false - } - } - if !yaml_emitter_write_indicator(emitter, []byte{'\''}, false, false, false) { - return false - } - emitter.whitespace = false - emitter.indention = false - return true -} - -func yaml_emitter_write_double_quoted_scalar(emitter *yaml_emitter_t, value []byte, allow_breaks bool) bool { - spaces := false - if !yaml_emitter_write_indicator(emitter, []byte{'"'}, true, false, false) { - return false - } - - for i := 0; i < len(value); { - if !is_printable(value, i) || (!emitter.unicode && !is_ascii(value, i)) || - is_bom(value, i) || is_break(value, i) || - value[i] == '"' || value[i] == '\\' { - - octet := value[i] - - var w int - var v rune - switch { - case octet&0x80 == 0x00: - w, v = 1, rune(octet&0x7F) - case octet&0xE0 == 0xC0: - w, v = 2, rune(octet&0x1F) - case octet&0xF0 == 0xE0: - w, v = 3, rune(octet&0x0F) - case octet&0xF8 == 0xF0: - w, v = 4, rune(octet&0x07) - } - for k := 1; k < w; k++ { - octet = value[i+k] - v = (v << 6) + (rune(octet) & 0x3F) - } - i += w - - if !put(emitter, '\\') { - return false - } - - var ok bool - switch v { - case 0x00: - ok = put(emitter, '0') - case 0x07: - ok = put(emitter, 'a') - case 0x08: - ok = put(emitter, 'b') - case 0x09: - ok = put(emitter, 't') - case 0x0A: - ok = put(emitter, 'n') - case 0x0b: - ok = put(emitter, 'v') - case 0x0c: - ok = put(emitter, 'f') - case 0x0d: - ok = put(emitter, 'r') - case 0x1b: - ok = put(emitter, 'e') - case 0x22: - ok = put(emitter, '"') - case 0x5c: - ok = put(emitter, '\\') - case 0x85: - ok = put(emitter, 'N') - case 0xA0: - ok = put(emitter, '_') - case 0x2028: - ok = put(emitter, 'L') - case 0x2029: - ok = put(emitter, 'P') - default: - if v <= 0xFF { - ok = put(emitter, 'x') - w = 2 - } else if v <= 0xFFFF { - ok = put(emitter, 'u') - w = 4 - } else { - ok = put(emitter, 'U') - w = 8 - } - for k := (w - 1) * 4; ok && k >= 0; k -= 4 { - digit := byte((v >> uint(k)) & 0x0F) - if digit < 10 { - ok = put(emitter, digit+'0') - } else { - ok = put(emitter, digit+'A'-10) - } - } - } - if !ok { - return false - } - spaces = false - } else if is_space(value, i) { - if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 { - if !yaml_emitter_write_indent(emitter) { - return false - } - if is_space(value, i+1) { - if !put(emitter, '\\') { - return false - } - } - i += width(value[i]) - } else if !write(emitter, value, &i) { - return false - } - spaces = true - } else { - if !write(emitter, value, &i) { - return false - } - spaces = false - } - } - if !yaml_emitter_write_indicator(emitter, []byte{'"'}, false, false, false) { - return false - } - emitter.whitespace = false - emitter.indention = false - return true -} - -func yaml_emitter_write_block_scalar_hints(emitter *yaml_emitter_t, value []byte) bool { - if is_space(value, 0) || is_break(value, 0) { - indent_hint := []byte{'0' + byte(emitter.best_indent)} - if !yaml_emitter_write_indicator(emitter, indent_hint, false, false, false) { - return false - } - } - - emitter.open_ended = false - - var chomp_hint [1]byte - if len(value) == 0 { - chomp_hint[0] = '-' - } else { - i := len(value) - 1 - for value[i]&0xC0 == 0x80 { - i-- - } - if !is_break(value, i) { - chomp_hint[0] = '-' - } else if i == 0 { - chomp_hint[0] = '+' - emitter.open_ended = true - } else { - i-- - for value[i]&0xC0 == 0x80 { - i-- - } - if is_break(value, i) { - chomp_hint[0] = '+' - emitter.open_ended = true - } - } - } - if chomp_hint[0] != 0 { - if !yaml_emitter_write_indicator(emitter, chomp_hint[:], false, false, false) { - return false - } - } - return true -} - -func yaml_emitter_write_literal_scalar(emitter *yaml_emitter_t, value []byte) bool { - if !yaml_emitter_write_indicator(emitter, []byte{'|'}, true, false, false) { - return false - } - if !yaml_emitter_write_block_scalar_hints(emitter, value) { - return false - } - if !yaml_emitter_process_line_comment(emitter, true) { - return false - } - //emitter.indention = true - emitter.whitespace = true - breaks := true - for i := 0; i < len(value); { - if is_break(value, i) { - if !write_break(emitter, value, &i) { - return false - } - //emitter.indention = true - breaks = true - } else { - if breaks { - if !yaml_emitter_write_indent(emitter) { - return false - } - } - if !write(emitter, value, &i) { - return false - } - emitter.indention = false - breaks = false - } - } - - return true -} - -func yaml_emitter_write_folded_scalar(emitter *yaml_emitter_t, value []byte) bool { - if !yaml_emitter_write_indicator(emitter, []byte{'>'}, true, false, false) { - return false - } - if !yaml_emitter_write_block_scalar_hints(emitter, value) { - return false - } - if !yaml_emitter_process_line_comment(emitter, true) { - return false - } - - //emitter.indention = true - emitter.whitespace = true - - breaks := true - leading_spaces := true - for i := 0; i < len(value); { - if is_break(value, i) { - if !breaks && !leading_spaces && value[i] == '\n' { - k := 0 - for is_break(value, k) { - k += width(value[k]) - } - if !is_blankz(value, k) { - if !put_break(emitter) { - return false - } - } - } - if !write_break(emitter, value, &i) { - return false - } - //emitter.indention = true - breaks = true - } else { - if breaks { - if !yaml_emitter_write_indent(emitter) { - return false - } - leading_spaces = is_blank(value, i) - } - if !breaks && is_space(value, i) && !is_space(value, i+1) && emitter.column > emitter.best_width { - if !yaml_emitter_write_indent(emitter) { - return false - } - i += width(value[i]) - } else { - if !write(emitter, value, &i) { - return false - } - } - emitter.indention = false - breaks = false - } - } - return true -} - -func yaml_emitter_write_comment(emitter *yaml_emitter_t, comment []byte) bool { - breaks := false - pound := false - for i := 0; i < len(comment); { - if is_break(comment, i) { - if !write_break(emitter, comment, &i) { - return false - } - //emitter.indention = true - breaks = true - pound = false - } else { - if breaks && !yaml_emitter_write_indent(emitter) { - return false - } - if !pound { - if comment[i] != '#' && (!put(emitter, '#') || !put(emitter, ' ')) { - return false - } - pound = true - } - if !write(emitter, comment, &i) { - return false - } - emitter.indention = false - breaks = false - } - } - if !breaks && !put_break(emitter) { - return false - } - - emitter.whitespace = true - //emitter.indention = true - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/encode.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/encode.go deleted file mode 100644 index de9e72a3..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/encode.go +++ /dev/null @@ -1,577 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// -// 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 yaml - -import ( - "encoding" - "fmt" - "io" - "reflect" - "regexp" - "sort" - "strconv" - "strings" - "time" - "unicode/utf8" -) - -type encoder struct { - emitter yaml_emitter_t - event yaml_event_t - out []byte - flow bool - indent int - doneInit bool -} - -func newEncoder() *encoder { - e := &encoder{} - yaml_emitter_initialize(&e.emitter) - yaml_emitter_set_output_string(&e.emitter, &e.out) - yaml_emitter_set_unicode(&e.emitter, true) - return e -} - -func newEncoderWithWriter(w io.Writer) *encoder { - e := &encoder{} - yaml_emitter_initialize(&e.emitter) - yaml_emitter_set_output_writer(&e.emitter, w) - yaml_emitter_set_unicode(&e.emitter, true) - return e -} - -func (e *encoder) init() { - if e.doneInit { - return - } - if e.indent == 0 { - e.indent = 4 - } - e.emitter.best_indent = e.indent - yaml_stream_start_event_initialize(&e.event, yaml_UTF8_ENCODING) - e.emit() - e.doneInit = true -} - -func (e *encoder) finish() { - e.emitter.open_ended = false - yaml_stream_end_event_initialize(&e.event) - e.emit() -} - -func (e *encoder) destroy() { - yaml_emitter_delete(&e.emitter) -} - -func (e *encoder) emit() { - // This will internally delete the e.event value. - e.must(yaml_emitter_emit(&e.emitter, &e.event)) -} - -func (e *encoder) must(ok bool) { - if !ok { - msg := e.emitter.problem - if msg == "" { - msg = "unknown problem generating YAML content" - } - failf("%s", msg) - } -} - -func (e *encoder) marshalDoc(tag string, in reflect.Value) { - e.init() - var node *Node - if in.IsValid() { - node, _ = in.Interface().(*Node) - } - if node != nil && node.Kind == DocumentNode { - e.nodev(in) - } else { - yaml_document_start_event_initialize(&e.event, nil, nil, true) - e.emit() - e.marshal(tag, in) - yaml_document_end_event_initialize(&e.event, true) - e.emit() - } -} - -func (e *encoder) marshal(tag string, in reflect.Value) { - tag = shortTag(tag) - if !in.IsValid() || in.Kind() == reflect.Ptr && in.IsNil() { - e.nilv() - return - } - iface := in.Interface() - switch value := iface.(type) { - case *Node: - e.nodev(in) - return - case Node: - if !in.CanAddr() { - var n = reflect.New(in.Type()).Elem() - n.Set(in) - in = n - } - e.nodev(in.Addr()) - return - case time.Time: - e.timev(tag, in) - return - case *time.Time: - e.timev(tag, in.Elem()) - return - case time.Duration: - e.stringv(tag, reflect.ValueOf(value.String())) - return - case Marshaler: - v, err := value.MarshalYAML() - if err != nil { - fail(err) - } - if v == nil { - e.nilv() - return - } - e.marshal(tag, reflect.ValueOf(v)) - return - case encoding.TextMarshaler: - text, err := value.MarshalText() - if err != nil { - fail(err) - } - in = reflect.ValueOf(string(text)) - case nil: - e.nilv() - return - } - switch in.Kind() { - case reflect.Interface: - e.marshal(tag, in.Elem()) - case reflect.Map: - e.mapv(tag, in) - case reflect.Ptr: - e.marshal(tag, in.Elem()) - case reflect.Struct: - e.structv(tag, in) - case reflect.Slice, reflect.Array: - e.slicev(tag, in) - case reflect.String: - e.stringv(tag, in) - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - e.intv(tag, in) - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - e.uintv(tag, in) - case reflect.Float32, reflect.Float64: - e.floatv(tag, in) - case reflect.Bool: - e.boolv(tag, in) - default: - panic("cannot marshal type: " + in.Type().String()) - } -} - -func (e *encoder) mapv(tag string, in reflect.Value) { - e.mappingv(tag, func() { - keys := keyList(in.MapKeys()) - sort.Sort(keys) - for _, k := range keys { - e.marshal("", k) - e.marshal("", in.MapIndex(k)) - } - }) -} - -func (e *encoder) fieldByIndex(v reflect.Value, index []int) (field reflect.Value) { - for _, num := range index { - for { - if v.Kind() == reflect.Ptr { - if v.IsNil() { - return reflect.Value{} - } - v = v.Elem() - continue - } - break - } - v = v.Field(num) - } - return v -} - -func (e *encoder) structv(tag string, in reflect.Value) { - sinfo, err := getStructInfo(in.Type()) - if err != nil { - panic(err) - } - e.mappingv(tag, func() { - for _, info := range sinfo.FieldsList { - var value reflect.Value - if info.Inline == nil { - value = in.Field(info.Num) - } else { - value = e.fieldByIndex(in, info.Inline) - if !value.IsValid() { - continue - } - } - if info.OmitEmpty && isZero(value) { - continue - } - e.marshal("", reflect.ValueOf(info.Key)) - e.flow = info.Flow - e.marshal("", value) - } - if sinfo.InlineMap >= 0 { - m := in.Field(sinfo.InlineMap) - if m.Len() > 0 { - e.flow = false - keys := keyList(m.MapKeys()) - sort.Sort(keys) - for _, k := range keys { - if _, found := sinfo.FieldsMap[k.String()]; found { - panic(fmt.Sprintf("cannot have key %q in inlined map: conflicts with struct field", k.String())) - } - e.marshal("", k) - e.flow = false - e.marshal("", m.MapIndex(k)) - } - } - } - }) -} - -func (e *encoder) mappingv(tag string, f func()) { - implicit := tag == "" - style := yaml_BLOCK_MAPPING_STYLE - if e.flow { - e.flow = false - style = yaml_FLOW_MAPPING_STYLE - } - yaml_mapping_start_event_initialize(&e.event, nil, []byte(tag), implicit, style) - e.emit() - f() - yaml_mapping_end_event_initialize(&e.event) - e.emit() -} - -func (e *encoder) slicev(tag string, in reflect.Value) { - implicit := tag == "" - style := yaml_BLOCK_SEQUENCE_STYLE - if e.flow { - e.flow = false - style = yaml_FLOW_SEQUENCE_STYLE - } - e.must(yaml_sequence_start_event_initialize(&e.event, nil, []byte(tag), implicit, style)) - e.emit() - n := in.Len() - for i := 0; i < n; i++ { - e.marshal("", in.Index(i)) - } - e.must(yaml_sequence_end_event_initialize(&e.event)) - e.emit() -} - -// isBase60 returns whether s is in base 60 notation as defined in YAML 1.1. -// -// The base 60 float notation in YAML 1.1 is a terrible idea and is unsupported -// in YAML 1.2 and by this package, but these should be marshalled quoted for -// the time being for compatibility with other parsers. -func isBase60Float(s string) (result bool) { - // Fast path. - if s == "" { - return false - } - c := s[0] - if !(c == '+' || c == '-' || c >= '0' && c <= '9') || strings.IndexByte(s, ':') < 0 { - return false - } - // Do the full match. - return base60float.MatchString(s) -} - -// From http://yaml.org/type/float.html, except the regular expression there -// is bogus. In practice parsers do not enforce the "\.[0-9_]*" suffix. -var base60float = regexp.MustCompile(`^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+(?:\.[0-9_]*)?$`) - -// isOldBool returns whether s is bool notation as defined in YAML 1.1. -// -// We continue to force strings that YAML 1.1 would interpret as booleans to be -// rendered as quotes strings so that the marshalled output valid for YAML 1.1 -// parsing. -func isOldBool(s string) (result bool) { - switch s { - case "y", "Y", "yes", "Yes", "YES", "on", "On", "ON", - "n", "N", "no", "No", "NO", "off", "Off", "OFF": - return true - default: - return false - } -} - -func (e *encoder) stringv(tag string, in reflect.Value) { - var style yaml_scalar_style_t - s := in.String() - canUsePlain := true - switch { - case !utf8.ValidString(s): - if tag == binaryTag { - failf("explicitly tagged !!binary data must be base64-encoded") - } - if tag != "" { - failf("cannot marshal invalid UTF-8 data as %s", shortTag(tag)) - } - // It can't be encoded directly as YAML so use a binary tag - // and encode it as base64. - tag = binaryTag - s = encodeBase64(s) - case tag == "": - // Check to see if it would resolve to a specific - // tag when encoded unquoted. If it doesn't, - // there's no need to quote it. - rtag, _ := resolve("", s) - canUsePlain = rtag == strTag && !(isBase60Float(s) || isOldBool(s)) - } - // Note: it's possible for user code to emit invalid YAML - // if they explicitly specify a tag and a string containing - // text that's incompatible with that tag. - switch { - case strings.Contains(s, "\n"): - if e.flow { - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } else { - style = yaml_LITERAL_SCALAR_STYLE - } - case canUsePlain: - style = yaml_PLAIN_SCALAR_STYLE - default: - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - e.emitScalar(s, "", tag, style, nil, nil, nil, nil) -} - -func (e *encoder) boolv(tag string, in reflect.Value) { - var s string - if in.Bool() { - s = "true" - } else { - s = "false" - } - e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil) -} - -func (e *encoder) intv(tag string, in reflect.Value) { - s := strconv.FormatInt(in.Int(), 10) - e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil) -} - -func (e *encoder) uintv(tag string, in reflect.Value) { - s := strconv.FormatUint(in.Uint(), 10) - e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil) -} - -func (e *encoder) timev(tag string, in reflect.Value) { - t := in.Interface().(time.Time) - s := t.Format(time.RFC3339Nano) - e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil) -} - -func (e *encoder) floatv(tag string, in reflect.Value) { - // Issue #352: When formatting, use the precision of the underlying value - precision := 64 - if in.Kind() == reflect.Float32 { - precision = 32 - } - - s := strconv.FormatFloat(in.Float(), 'g', -1, precision) - switch s { - case "+Inf": - s = ".inf" - case "-Inf": - s = "-.inf" - case "NaN": - s = ".nan" - } - e.emitScalar(s, "", tag, yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil) -} - -func (e *encoder) nilv() { - e.emitScalar("null", "", "", yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil) -} - -func (e *encoder) emitScalar(value, anchor, tag string, style yaml_scalar_style_t, head, line, foot, tail []byte) { - // TODO Kill this function. Replace all initialize calls by their underlining Go literals. - implicit := tag == "" - if !implicit { - tag = longTag(tag) - } - e.must(yaml_scalar_event_initialize(&e.event, []byte(anchor), []byte(tag), []byte(value), implicit, implicit, style)) - e.event.head_comment = head - e.event.line_comment = line - e.event.foot_comment = foot - e.event.tail_comment = tail - e.emit() -} - -func (e *encoder) nodev(in reflect.Value) { - e.node(in.Interface().(*Node), "") -} - -func (e *encoder) node(node *Node, tail string) { - // Zero nodes behave as nil. - if node.Kind == 0 && node.IsZero() { - e.nilv() - return - } - - // If the tag was not explicitly requested, and dropping it won't change the - // implicit tag of the value, don't include it in the presentation. - var tag = node.Tag - var stag = shortTag(tag) - var forceQuoting bool - if tag != "" && node.Style&TaggedStyle == 0 { - if node.Kind == ScalarNode { - if stag == strTag && node.Style&(SingleQuotedStyle|DoubleQuotedStyle|LiteralStyle|FoldedStyle) != 0 { - tag = "" - } else { - rtag, _ := resolve("", node.Value) - if rtag == stag { - tag = "" - } else if stag == strTag { - tag = "" - forceQuoting = true - } - } - } else { - var rtag string - switch node.Kind { - case MappingNode: - rtag = mapTag - case SequenceNode: - rtag = seqTag - } - if rtag == stag { - tag = "" - } - } - } - - switch node.Kind { - case DocumentNode: - yaml_document_start_event_initialize(&e.event, nil, nil, true) - e.event.head_comment = []byte(node.HeadComment) - e.emit() - for _, node := range node.Content { - e.node(node, "") - } - yaml_document_end_event_initialize(&e.event, true) - e.event.foot_comment = []byte(node.FootComment) - e.emit() - - case SequenceNode: - style := yaml_BLOCK_SEQUENCE_STYLE - if node.Style&FlowStyle != 0 { - style = yaml_FLOW_SEQUENCE_STYLE - } - e.must(yaml_sequence_start_event_initialize(&e.event, []byte(node.Anchor), []byte(longTag(tag)), tag == "", style)) - e.event.head_comment = []byte(node.HeadComment) - e.emit() - for _, node := range node.Content { - e.node(node, "") - } - e.must(yaml_sequence_end_event_initialize(&e.event)) - e.event.line_comment = []byte(node.LineComment) - e.event.foot_comment = []byte(node.FootComment) - e.emit() - - case MappingNode: - style := yaml_BLOCK_MAPPING_STYLE - if node.Style&FlowStyle != 0 { - style = yaml_FLOW_MAPPING_STYLE - } - yaml_mapping_start_event_initialize(&e.event, []byte(node.Anchor), []byte(longTag(tag)), tag == "", style) - e.event.tail_comment = []byte(tail) - e.event.head_comment = []byte(node.HeadComment) - e.emit() - - // The tail logic below moves the foot comment of prior keys to the following key, - // since the value for each key may be a nested structure and the foot needs to be - // processed only the entirety of the value is streamed. The last tail is processed - // with the mapping end event. - var tail string - for i := 0; i+1 < len(node.Content); i += 2 { - k := node.Content[i] - foot := k.FootComment - if foot != "" { - kopy := *k - kopy.FootComment = "" - k = &kopy - } - e.node(k, tail) - tail = foot - - v := node.Content[i+1] - e.node(v, "") - } - - yaml_mapping_end_event_initialize(&e.event) - e.event.tail_comment = []byte(tail) - e.event.line_comment = []byte(node.LineComment) - e.event.foot_comment = []byte(node.FootComment) - e.emit() - - case AliasNode: - yaml_alias_event_initialize(&e.event, []byte(node.Value)) - e.event.head_comment = []byte(node.HeadComment) - e.event.line_comment = []byte(node.LineComment) - e.event.foot_comment = []byte(node.FootComment) - e.emit() - - case ScalarNode: - value := node.Value - if !utf8.ValidString(value) { - if stag == binaryTag { - failf("explicitly tagged !!binary data must be base64-encoded") - } - if stag != "" { - failf("cannot marshal invalid UTF-8 data as %s", stag) - } - // It can't be encoded directly as YAML so use a binary tag - // and encode it as base64. - tag = binaryTag - value = encodeBase64(value) - } - - style := yaml_PLAIN_SCALAR_STYLE - switch { - case node.Style&DoubleQuotedStyle != 0: - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - case node.Style&SingleQuotedStyle != 0: - style = yaml_SINGLE_QUOTED_SCALAR_STYLE - case node.Style&LiteralStyle != 0: - style = yaml_LITERAL_SCALAR_STYLE - case node.Style&FoldedStyle != 0: - style = yaml_FOLDED_SCALAR_STYLE - case strings.Contains(value, "\n"): - style = yaml_LITERAL_SCALAR_STYLE - case forceQuoting: - style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - - e.emitScalar(value, node.Anchor, tag, style, []byte(node.HeadComment), []byte(node.LineComment), []byte(node.FootComment), []byte(tail)) - default: - failf("cannot encode node with unknown kind %d", node.Kind) - } -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/parserc.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/parserc.go deleted file mode 100644 index ac66fccc..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/parserc.go +++ /dev/null @@ -1,1249 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -import ( - "bytes" -) - -// The parser implements the following grammar: -// -// stream ::= STREAM-START implicit_document? explicit_document* STREAM-END -// implicit_document ::= block_node DOCUMENT-END* -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// block_node_or_indentless_sequence ::= -// ALIAS -// | properties (block_content | indentless_block_sequence)? -// | block_content -// | indentless_block_sequence -// block_node ::= ALIAS -// | properties block_content? -// | block_content -// flow_node ::= ALIAS -// | properties flow_content? -// | flow_content -// properties ::= TAG ANCHOR? | ANCHOR TAG? -// block_content ::= block_collection | flow_collection | SCALAR -// flow_content ::= flow_collection | SCALAR -// block_collection ::= block_sequence | block_mapping -// flow_collection ::= flow_sequence | flow_mapping -// block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END -// indentless_sequence ::= (BLOCK-ENTRY block_node?)+ -// block_mapping ::= BLOCK-MAPPING_START -// ((KEY block_node_or_indentless_sequence?)? -// (VALUE block_node_or_indentless_sequence?)?)* -// BLOCK-END -// flow_sequence ::= FLOW-SEQUENCE-START -// (flow_sequence_entry FLOW-ENTRY)* -// flow_sequence_entry? -// FLOW-SEQUENCE-END -// flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// flow_mapping ::= FLOW-MAPPING-START -// (flow_mapping_entry FLOW-ENTRY)* -// flow_mapping_entry? -// FLOW-MAPPING-END -// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? - -// Peek the next token in the token queue. -func peek_token(parser *yaml_parser_t) *yaml_token_t { - if parser.token_available || yaml_parser_fetch_more_tokens(parser) { - token := &parser.tokens[parser.tokens_head] - yaml_parser_unfold_comments(parser, token) - return token - } - return nil -} - -// yaml_parser_unfold_comments walks through the comments queue and joins all -// comments behind the position of the provided token into the respective -// top-level comment slices in the parser. -func yaml_parser_unfold_comments(parser *yaml_parser_t, token *yaml_token_t) { - for parser.comments_head < len(parser.comments) && token.start_mark.index >= parser.comments[parser.comments_head].token_mark.index { - comment := &parser.comments[parser.comments_head] - if len(comment.head) > 0 { - if token.typ == yaml_BLOCK_END_TOKEN { - // No heads on ends, so keep comment.head for a follow up token. - break - } - if len(parser.head_comment) > 0 { - parser.head_comment = append(parser.head_comment, '\n') - } - parser.head_comment = append(parser.head_comment, comment.head...) - } - if len(comment.foot) > 0 { - if len(parser.foot_comment) > 0 { - parser.foot_comment = append(parser.foot_comment, '\n') - } - parser.foot_comment = append(parser.foot_comment, comment.foot...) - } - if len(comment.line) > 0 { - if len(parser.line_comment) > 0 { - parser.line_comment = append(parser.line_comment, '\n') - } - parser.line_comment = append(parser.line_comment, comment.line...) - } - *comment = yaml_comment_t{} - parser.comments_head++ - } -} - -// Remove the next token from the queue (must be called after peek_token). -func skip_token(parser *yaml_parser_t) { - parser.token_available = false - parser.tokens_parsed++ - parser.stream_end_produced = parser.tokens[parser.tokens_head].typ == yaml_STREAM_END_TOKEN - parser.tokens_head++ -} - -// Get the next event. -func yaml_parser_parse(parser *yaml_parser_t, event *yaml_event_t) bool { - // Erase the event object. - *event = yaml_event_t{} - - // No events after the end of the stream or error. - if parser.stream_end_produced || parser.error != yaml_NO_ERROR || parser.state == yaml_PARSE_END_STATE { - return true - } - - // Generate the next event. - return yaml_parser_state_machine(parser, event) -} - -// Set parser error. -func yaml_parser_set_parser_error(parser *yaml_parser_t, problem string, problem_mark yaml_mark_t) bool { - parser.error = yaml_PARSER_ERROR - parser.problem = problem - parser.problem_mark = problem_mark - return false -} - -func yaml_parser_set_parser_error_context(parser *yaml_parser_t, context string, context_mark yaml_mark_t, problem string, problem_mark yaml_mark_t) bool { - parser.error = yaml_PARSER_ERROR - parser.context = context - parser.context_mark = context_mark - parser.problem = problem - parser.problem_mark = problem_mark - return false -} - -// State dispatcher. -func yaml_parser_state_machine(parser *yaml_parser_t, event *yaml_event_t) bool { - //trace("yaml_parser_state_machine", "state:", parser.state.String()) - - switch parser.state { - case yaml_PARSE_STREAM_START_STATE: - return yaml_parser_parse_stream_start(parser, event) - - case yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE: - return yaml_parser_parse_document_start(parser, event, true) - - case yaml_PARSE_DOCUMENT_START_STATE: - return yaml_parser_parse_document_start(parser, event, false) - - case yaml_PARSE_DOCUMENT_CONTENT_STATE: - return yaml_parser_parse_document_content(parser, event) - - case yaml_PARSE_DOCUMENT_END_STATE: - return yaml_parser_parse_document_end(parser, event) - - case yaml_PARSE_BLOCK_NODE_STATE: - return yaml_parser_parse_node(parser, event, true, false) - - case yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE: - return yaml_parser_parse_node(parser, event, true, true) - - case yaml_PARSE_FLOW_NODE_STATE: - return yaml_parser_parse_node(parser, event, false, false) - - case yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE: - return yaml_parser_parse_block_sequence_entry(parser, event, true) - - case yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE: - return yaml_parser_parse_block_sequence_entry(parser, event, false) - - case yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE: - return yaml_parser_parse_indentless_sequence_entry(parser, event) - - case yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE: - return yaml_parser_parse_block_mapping_key(parser, event, true) - - case yaml_PARSE_BLOCK_MAPPING_KEY_STATE: - return yaml_parser_parse_block_mapping_key(parser, event, false) - - case yaml_PARSE_BLOCK_MAPPING_VALUE_STATE: - return yaml_parser_parse_block_mapping_value(parser, event) - - case yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE: - return yaml_parser_parse_flow_sequence_entry(parser, event, true) - - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE: - return yaml_parser_parse_flow_sequence_entry(parser, event, false) - - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE: - return yaml_parser_parse_flow_sequence_entry_mapping_key(parser, event) - - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE: - return yaml_parser_parse_flow_sequence_entry_mapping_value(parser, event) - - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE: - return yaml_parser_parse_flow_sequence_entry_mapping_end(parser, event) - - case yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE: - return yaml_parser_parse_flow_mapping_key(parser, event, true) - - case yaml_PARSE_FLOW_MAPPING_KEY_STATE: - return yaml_parser_parse_flow_mapping_key(parser, event, false) - - case yaml_PARSE_FLOW_MAPPING_VALUE_STATE: - return yaml_parser_parse_flow_mapping_value(parser, event, false) - - case yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE: - return yaml_parser_parse_flow_mapping_value(parser, event, true) - - default: - panic("invalid parser state") - } -} - -// Parse the production: -// stream ::= STREAM-START implicit_document? explicit_document* STREAM-END -// ************ -func yaml_parser_parse_stream_start(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_STREAM_START_TOKEN { - return yaml_parser_set_parser_error(parser, "did not find expected ", token.start_mark) - } - parser.state = yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE - *event = yaml_event_t{ - typ: yaml_STREAM_START_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - encoding: token.encoding, - } - skip_token(parser) - return true -} - -// Parse the productions: -// implicit_document ::= block_node DOCUMENT-END* -// * -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// ************************* -func yaml_parser_parse_document_start(parser *yaml_parser_t, event *yaml_event_t, implicit bool) bool { - - token := peek_token(parser) - if token == nil { - return false - } - - // Parse extra document end indicators. - if !implicit { - for token.typ == yaml_DOCUMENT_END_TOKEN { - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - } - } - - if implicit && token.typ != yaml_VERSION_DIRECTIVE_TOKEN && - token.typ != yaml_TAG_DIRECTIVE_TOKEN && - token.typ != yaml_DOCUMENT_START_TOKEN && - token.typ != yaml_STREAM_END_TOKEN { - // Parse an implicit document. - if !yaml_parser_process_directives(parser, nil, nil) { - return false - } - parser.states = append(parser.states, yaml_PARSE_DOCUMENT_END_STATE) - parser.state = yaml_PARSE_BLOCK_NODE_STATE - - var head_comment []byte - if len(parser.head_comment) > 0 { - // [Go] Scan the header comment backwards, and if an empty line is found, break - // the header so the part before the last empty line goes into the - // document header, while the bottom of it goes into a follow up event. - for i := len(parser.head_comment) - 1; i > 0; i-- { - if parser.head_comment[i] == '\n' { - if i == len(parser.head_comment)-1 { - head_comment = parser.head_comment[:i] - parser.head_comment = parser.head_comment[i+1:] - break - } else if parser.head_comment[i-1] == '\n' { - head_comment = parser.head_comment[:i-1] - parser.head_comment = parser.head_comment[i+1:] - break - } - } - } - } - - *event = yaml_event_t{ - typ: yaml_DOCUMENT_START_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - - head_comment: head_comment, - } - - } else if token.typ != yaml_STREAM_END_TOKEN { - // Parse an explicit document. - var version_directive *yaml_version_directive_t - var tag_directives []yaml_tag_directive_t - start_mark := token.start_mark - if !yaml_parser_process_directives(parser, &version_directive, &tag_directives) { - return false - } - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_DOCUMENT_START_TOKEN { - yaml_parser_set_parser_error(parser, - "did not find expected ", token.start_mark) - return false - } - parser.states = append(parser.states, yaml_PARSE_DOCUMENT_END_STATE) - parser.state = yaml_PARSE_DOCUMENT_CONTENT_STATE - end_mark := token.end_mark - - *event = yaml_event_t{ - typ: yaml_DOCUMENT_START_EVENT, - start_mark: start_mark, - end_mark: end_mark, - version_directive: version_directive, - tag_directives: tag_directives, - implicit: false, - } - skip_token(parser) - - } else { - // Parse the stream end. - parser.state = yaml_PARSE_END_STATE - *event = yaml_event_t{ - typ: yaml_STREAM_END_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - } - skip_token(parser) - } - - return true -} - -// Parse the productions: -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// *********** -// -func yaml_parser_parse_document_content(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - - if token.typ == yaml_VERSION_DIRECTIVE_TOKEN || - token.typ == yaml_TAG_DIRECTIVE_TOKEN || - token.typ == yaml_DOCUMENT_START_TOKEN || - token.typ == yaml_DOCUMENT_END_TOKEN || - token.typ == yaml_STREAM_END_TOKEN { - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - return yaml_parser_process_empty_scalar(parser, event, - token.start_mark) - } - return yaml_parser_parse_node(parser, event, true, false) -} - -// Parse the productions: -// implicit_document ::= block_node DOCUMENT-END* -// ************* -// explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END* -// -func yaml_parser_parse_document_end(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - - start_mark := token.start_mark - end_mark := token.start_mark - - implicit := true - if token.typ == yaml_DOCUMENT_END_TOKEN { - end_mark = token.end_mark - skip_token(parser) - implicit = false - } - - parser.tag_directives = parser.tag_directives[:0] - - parser.state = yaml_PARSE_DOCUMENT_START_STATE - *event = yaml_event_t{ - typ: yaml_DOCUMENT_END_EVENT, - start_mark: start_mark, - end_mark: end_mark, - implicit: implicit, - } - yaml_parser_set_event_comments(parser, event) - if len(event.head_comment) > 0 && len(event.foot_comment) == 0 { - event.foot_comment = event.head_comment - event.head_comment = nil - } - return true -} - -func yaml_parser_set_event_comments(parser *yaml_parser_t, event *yaml_event_t) { - event.head_comment = parser.head_comment - event.line_comment = parser.line_comment - event.foot_comment = parser.foot_comment - parser.head_comment = nil - parser.line_comment = nil - parser.foot_comment = nil - parser.tail_comment = nil - parser.stem_comment = nil -} - -// Parse the productions: -// block_node_or_indentless_sequence ::= -// ALIAS -// ***** -// | properties (block_content | indentless_block_sequence)? -// ********** * -// | block_content | indentless_block_sequence -// * -// block_node ::= ALIAS -// ***** -// | properties block_content? -// ********** * -// | block_content -// * -// flow_node ::= ALIAS -// ***** -// | properties flow_content? -// ********** * -// | flow_content -// * -// properties ::= TAG ANCHOR? | ANCHOR TAG? -// ************************* -// block_content ::= block_collection | flow_collection | SCALAR -// ****** -// flow_content ::= flow_collection | SCALAR -// ****** -func yaml_parser_parse_node(parser *yaml_parser_t, event *yaml_event_t, block, indentless_sequence bool) bool { - //defer trace("yaml_parser_parse_node", "block:", block, "indentless_sequence:", indentless_sequence)() - - token := peek_token(parser) - if token == nil { - return false - } - - if token.typ == yaml_ALIAS_TOKEN { - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - *event = yaml_event_t{ - typ: yaml_ALIAS_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - anchor: token.value, - } - yaml_parser_set_event_comments(parser, event) - skip_token(parser) - return true - } - - start_mark := token.start_mark - end_mark := token.start_mark - - var tag_token bool - var tag_handle, tag_suffix, anchor []byte - var tag_mark yaml_mark_t - if token.typ == yaml_ANCHOR_TOKEN { - anchor = token.value - start_mark = token.start_mark - end_mark = token.end_mark - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ == yaml_TAG_TOKEN { - tag_token = true - tag_handle = token.value - tag_suffix = token.suffix - tag_mark = token.start_mark - end_mark = token.end_mark - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - } - } else if token.typ == yaml_TAG_TOKEN { - tag_token = true - tag_handle = token.value - tag_suffix = token.suffix - start_mark = token.start_mark - tag_mark = token.start_mark - end_mark = token.end_mark - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ == yaml_ANCHOR_TOKEN { - anchor = token.value - end_mark = token.end_mark - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - } - } - - var tag []byte - if tag_token { - if len(tag_handle) == 0 { - tag = tag_suffix - tag_suffix = nil - } else { - for i := range parser.tag_directives { - if bytes.Equal(parser.tag_directives[i].handle, tag_handle) { - tag = append([]byte(nil), parser.tag_directives[i].prefix...) - tag = append(tag, tag_suffix...) - break - } - } - if len(tag) == 0 { - yaml_parser_set_parser_error_context(parser, - "while parsing a node", start_mark, - "found undefined tag handle", tag_mark) - return false - } - } - } - - implicit := len(tag) == 0 - if indentless_sequence && token.typ == yaml_BLOCK_ENTRY_TOKEN { - end_mark = token.end_mark - parser.state = yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE - *event = yaml_event_t{ - typ: yaml_SEQUENCE_START_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(yaml_BLOCK_SEQUENCE_STYLE), - } - return true - } - if token.typ == yaml_SCALAR_TOKEN { - var plain_implicit, quoted_implicit bool - end_mark = token.end_mark - if (len(tag) == 0 && token.style == yaml_PLAIN_SCALAR_STYLE) || (len(tag) == 1 && tag[0] == '!') { - plain_implicit = true - } else if len(tag) == 0 { - quoted_implicit = true - } - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - - *event = yaml_event_t{ - typ: yaml_SCALAR_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - value: token.value, - implicit: plain_implicit, - quoted_implicit: quoted_implicit, - style: yaml_style_t(token.style), - } - yaml_parser_set_event_comments(parser, event) - skip_token(parser) - return true - } - if token.typ == yaml_FLOW_SEQUENCE_START_TOKEN { - // [Go] Some of the events below can be merged as they differ only on style. - end_mark = token.end_mark - parser.state = yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE - *event = yaml_event_t{ - typ: yaml_SEQUENCE_START_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(yaml_FLOW_SEQUENCE_STYLE), - } - yaml_parser_set_event_comments(parser, event) - return true - } - if token.typ == yaml_FLOW_MAPPING_START_TOKEN { - end_mark = token.end_mark - parser.state = yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE - *event = yaml_event_t{ - typ: yaml_MAPPING_START_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(yaml_FLOW_MAPPING_STYLE), - } - yaml_parser_set_event_comments(parser, event) - return true - } - if block && token.typ == yaml_BLOCK_SEQUENCE_START_TOKEN { - end_mark = token.end_mark - parser.state = yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE - *event = yaml_event_t{ - typ: yaml_SEQUENCE_START_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(yaml_BLOCK_SEQUENCE_STYLE), - } - if parser.stem_comment != nil { - event.head_comment = parser.stem_comment - parser.stem_comment = nil - } - return true - } - if block && token.typ == yaml_BLOCK_MAPPING_START_TOKEN { - end_mark = token.end_mark - parser.state = yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE - *event = yaml_event_t{ - typ: yaml_MAPPING_START_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - implicit: implicit, - style: yaml_style_t(yaml_BLOCK_MAPPING_STYLE), - } - if parser.stem_comment != nil { - event.head_comment = parser.stem_comment - parser.stem_comment = nil - } - return true - } - if len(anchor) > 0 || len(tag) > 0 { - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - - *event = yaml_event_t{ - typ: yaml_SCALAR_EVENT, - start_mark: start_mark, - end_mark: end_mark, - anchor: anchor, - tag: tag, - implicit: implicit, - quoted_implicit: false, - style: yaml_style_t(yaml_PLAIN_SCALAR_STYLE), - } - return true - } - - context := "while parsing a flow node" - if block { - context = "while parsing a block node" - } - yaml_parser_set_parser_error_context(parser, context, start_mark, - "did not find expected node content", token.start_mark) - return false -} - -// Parse the productions: -// block_sequence ::= BLOCK-SEQUENCE-START (BLOCK-ENTRY block_node?)* BLOCK-END -// ******************** *********** * ********* -// -func yaml_parser_parse_block_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { - if first { - token := peek_token(parser) - parser.marks = append(parser.marks, token.start_mark) - skip_token(parser) - } - - token := peek_token(parser) - if token == nil { - return false - } - - if token.typ == yaml_BLOCK_ENTRY_TOKEN { - mark := token.end_mark - prior_head_len := len(parser.head_comment) - skip_token(parser) - yaml_parser_split_stem_comment(parser, prior_head_len) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_BLOCK_ENTRY_TOKEN && token.typ != yaml_BLOCK_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE) - return yaml_parser_parse_node(parser, event, true, false) - } else { - parser.state = yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE - return yaml_parser_process_empty_scalar(parser, event, mark) - } - } - if token.typ == yaml_BLOCK_END_TOKEN { - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - - *event = yaml_event_t{ - typ: yaml_SEQUENCE_END_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - } - - skip_token(parser) - return true - } - - context_mark := parser.marks[len(parser.marks)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - return yaml_parser_set_parser_error_context(parser, - "while parsing a block collection", context_mark, - "did not find expected '-' indicator", token.start_mark) -} - -// Parse the productions: -// indentless_sequence ::= (BLOCK-ENTRY block_node?)+ -// *********** * -func yaml_parser_parse_indentless_sequence_entry(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - - if token.typ == yaml_BLOCK_ENTRY_TOKEN { - mark := token.end_mark - prior_head_len := len(parser.head_comment) - skip_token(parser) - yaml_parser_split_stem_comment(parser, prior_head_len) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_BLOCK_ENTRY_TOKEN && - token.typ != yaml_KEY_TOKEN && - token.typ != yaml_VALUE_TOKEN && - token.typ != yaml_BLOCK_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE) - return yaml_parser_parse_node(parser, event, true, false) - } - parser.state = yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE - return yaml_parser_process_empty_scalar(parser, event, mark) - } - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - - *event = yaml_event_t{ - typ: yaml_SEQUENCE_END_EVENT, - start_mark: token.start_mark, - end_mark: token.start_mark, // [Go] Shouldn't this be token.end_mark? - } - return true -} - -// Split stem comment from head comment. -// -// When a sequence or map is found under a sequence entry, the former head comment -// is assigned to the underlying sequence or map as a whole, not the individual -// sequence or map entry as would be expected otherwise. To handle this case the -// previous head comment is moved aside as the stem comment. -func yaml_parser_split_stem_comment(parser *yaml_parser_t, stem_len int) { - if stem_len == 0 { - return - } - - token := peek_token(parser) - if token.typ != yaml_BLOCK_SEQUENCE_START_TOKEN && token.typ != yaml_BLOCK_MAPPING_START_TOKEN { - return - } - - parser.stem_comment = parser.head_comment[:stem_len] - if len(parser.head_comment) == stem_len { - parser.head_comment = nil - } else { - // Copy suffix to prevent very strange bugs if someone ever appends - // further bytes to the prefix in the stem_comment slice above. - parser.head_comment = append([]byte(nil), parser.head_comment[stem_len+1:]...) - } -} - -// Parse the productions: -// block_mapping ::= BLOCK-MAPPING_START -// ******************* -// ((KEY block_node_or_indentless_sequence?)? -// *** * -// (VALUE block_node_or_indentless_sequence?)?)* -// -// BLOCK-END -// ********* -// -func yaml_parser_parse_block_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { - if first { - token := peek_token(parser) - parser.marks = append(parser.marks, token.start_mark) - skip_token(parser) - } - - token := peek_token(parser) - if token == nil { - return false - } - - // [Go] A tail comment was left from the prior mapping value processed. Emit an event - // as it needs to be processed with that value and not the following key. - if len(parser.tail_comment) > 0 { - *event = yaml_event_t{ - typ: yaml_TAIL_COMMENT_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - foot_comment: parser.tail_comment, - } - parser.tail_comment = nil - return true - } - - if token.typ == yaml_KEY_TOKEN { - mark := token.end_mark - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_KEY_TOKEN && - token.typ != yaml_VALUE_TOKEN && - token.typ != yaml_BLOCK_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_BLOCK_MAPPING_VALUE_STATE) - return yaml_parser_parse_node(parser, event, true, true) - } else { - parser.state = yaml_PARSE_BLOCK_MAPPING_VALUE_STATE - return yaml_parser_process_empty_scalar(parser, event, mark) - } - } else if token.typ == yaml_BLOCK_END_TOKEN { - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - *event = yaml_event_t{ - typ: yaml_MAPPING_END_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - } - yaml_parser_set_event_comments(parser, event) - skip_token(parser) - return true - } - - context_mark := parser.marks[len(parser.marks)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - return yaml_parser_set_parser_error_context(parser, - "while parsing a block mapping", context_mark, - "did not find expected key", token.start_mark) -} - -// Parse the productions: -// block_mapping ::= BLOCK-MAPPING_START -// -// ((KEY block_node_or_indentless_sequence?)? -// -// (VALUE block_node_or_indentless_sequence?)?)* -// ***** * -// BLOCK-END -// -// -func yaml_parser_parse_block_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - if token.typ == yaml_VALUE_TOKEN { - mark := token.end_mark - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_KEY_TOKEN && - token.typ != yaml_VALUE_TOKEN && - token.typ != yaml_BLOCK_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_BLOCK_MAPPING_KEY_STATE) - return yaml_parser_parse_node(parser, event, true, true) - } - parser.state = yaml_PARSE_BLOCK_MAPPING_KEY_STATE - return yaml_parser_process_empty_scalar(parser, event, mark) - } - parser.state = yaml_PARSE_BLOCK_MAPPING_KEY_STATE - return yaml_parser_process_empty_scalar(parser, event, token.start_mark) -} - -// Parse the productions: -// flow_sequence ::= FLOW-SEQUENCE-START -// ******************* -// (flow_sequence_entry FLOW-ENTRY)* -// * ********** -// flow_sequence_entry? -// * -// FLOW-SEQUENCE-END -// ***************** -// flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * -// -func yaml_parser_parse_flow_sequence_entry(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { - if first { - token := peek_token(parser) - parser.marks = append(parser.marks, token.start_mark) - skip_token(parser) - } - token := peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_FLOW_SEQUENCE_END_TOKEN { - if !first { - if token.typ == yaml_FLOW_ENTRY_TOKEN { - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - } else { - context_mark := parser.marks[len(parser.marks)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - return yaml_parser_set_parser_error_context(parser, - "while parsing a flow sequence", context_mark, - "did not find expected ',' or ']'", token.start_mark) - } - } - - if token.typ == yaml_KEY_TOKEN { - parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE - *event = yaml_event_t{ - typ: yaml_MAPPING_START_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - implicit: true, - style: yaml_style_t(yaml_FLOW_MAPPING_STYLE), - } - skip_token(parser) - return true - } else if token.typ != yaml_FLOW_SEQUENCE_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE) - return yaml_parser_parse_node(parser, event, false, false) - } - } - - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - - *event = yaml_event_t{ - typ: yaml_SEQUENCE_END_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - } - yaml_parser_set_event_comments(parser, event) - - skip_token(parser) - return true -} - -// -// Parse the productions: -// flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// *** * -// -func yaml_parser_parse_flow_sequence_entry_mapping_key(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_VALUE_TOKEN && - token.typ != yaml_FLOW_ENTRY_TOKEN && - token.typ != yaml_FLOW_SEQUENCE_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE) - return yaml_parser_parse_node(parser, event, false, false) - } - mark := token.end_mark - skip_token(parser) - parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE - return yaml_parser_process_empty_scalar(parser, event, mark) -} - -// Parse the productions: -// flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// ***** * -// -func yaml_parser_parse_flow_sequence_entry_mapping_value(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - if token.typ == yaml_VALUE_TOKEN { - skip_token(parser) - token := peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_FLOW_ENTRY_TOKEN && token.typ != yaml_FLOW_SEQUENCE_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE) - return yaml_parser_parse_node(parser, event, false, false) - } - } - parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE - return yaml_parser_process_empty_scalar(parser, event, token.start_mark) -} - -// Parse the productions: -// flow_sequence_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * -// -func yaml_parser_parse_flow_sequence_entry_mapping_end(parser *yaml_parser_t, event *yaml_event_t) bool { - token := peek_token(parser) - if token == nil { - return false - } - parser.state = yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE - *event = yaml_event_t{ - typ: yaml_MAPPING_END_EVENT, - start_mark: token.start_mark, - end_mark: token.start_mark, // [Go] Shouldn't this be end_mark? - } - return true -} - -// Parse the productions: -// flow_mapping ::= FLOW-MAPPING-START -// ****************** -// (flow_mapping_entry FLOW-ENTRY)* -// * ********** -// flow_mapping_entry? -// ****************** -// FLOW-MAPPING-END -// **************** -// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * *** * -// -func yaml_parser_parse_flow_mapping_key(parser *yaml_parser_t, event *yaml_event_t, first bool) bool { - if first { - token := peek_token(parser) - parser.marks = append(parser.marks, token.start_mark) - skip_token(parser) - } - - token := peek_token(parser) - if token == nil { - return false - } - - if token.typ != yaml_FLOW_MAPPING_END_TOKEN { - if !first { - if token.typ == yaml_FLOW_ENTRY_TOKEN { - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - } else { - context_mark := parser.marks[len(parser.marks)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - return yaml_parser_set_parser_error_context(parser, - "while parsing a flow mapping", context_mark, - "did not find expected ',' or '}'", token.start_mark) - } - } - - if token.typ == yaml_KEY_TOKEN { - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_VALUE_TOKEN && - token.typ != yaml_FLOW_ENTRY_TOKEN && - token.typ != yaml_FLOW_MAPPING_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_FLOW_MAPPING_VALUE_STATE) - return yaml_parser_parse_node(parser, event, false, false) - } else { - parser.state = yaml_PARSE_FLOW_MAPPING_VALUE_STATE - return yaml_parser_process_empty_scalar(parser, event, token.start_mark) - } - } else if token.typ != yaml_FLOW_MAPPING_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE) - return yaml_parser_parse_node(parser, event, false, false) - } - } - - parser.state = parser.states[len(parser.states)-1] - parser.states = parser.states[:len(parser.states)-1] - parser.marks = parser.marks[:len(parser.marks)-1] - *event = yaml_event_t{ - typ: yaml_MAPPING_END_EVENT, - start_mark: token.start_mark, - end_mark: token.end_mark, - } - yaml_parser_set_event_comments(parser, event) - skip_token(parser) - return true -} - -// Parse the productions: -// flow_mapping_entry ::= flow_node | KEY flow_node? (VALUE flow_node?)? -// * ***** * -// -func yaml_parser_parse_flow_mapping_value(parser *yaml_parser_t, event *yaml_event_t, empty bool) bool { - token := peek_token(parser) - if token == nil { - return false - } - if empty { - parser.state = yaml_PARSE_FLOW_MAPPING_KEY_STATE - return yaml_parser_process_empty_scalar(parser, event, token.start_mark) - } - if token.typ == yaml_VALUE_TOKEN { - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - if token.typ != yaml_FLOW_ENTRY_TOKEN && token.typ != yaml_FLOW_MAPPING_END_TOKEN { - parser.states = append(parser.states, yaml_PARSE_FLOW_MAPPING_KEY_STATE) - return yaml_parser_parse_node(parser, event, false, false) - } - } - parser.state = yaml_PARSE_FLOW_MAPPING_KEY_STATE - return yaml_parser_process_empty_scalar(parser, event, token.start_mark) -} - -// Generate an empty scalar event. -func yaml_parser_process_empty_scalar(parser *yaml_parser_t, event *yaml_event_t, mark yaml_mark_t) bool { - *event = yaml_event_t{ - typ: yaml_SCALAR_EVENT, - start_mark: mark, - end_mark: mark, - value: nil, // Empty - implicit: true, - style: yaml_style_t(yaml_PLAIN_SCALAR_STYLE), - } - return true -} - -var default_tag_directives = []yaml_tag_directive_t{ - {[]byte("!"), []byte("!")}, - {[]byte("!!"), []byte("tag:yaml.org,2002:")}, -} - -// Parse directives. -func yaml_parser_process_directives(parser *yaml_parser_t, - version_directive_ref **yaml_version_directive_t, - tag_directives_ref *[]yaml_tag_directive_t) bool { - - var version_directive *yaml_version_directive_t - var tag_directives []yaml_tag_directive_t - - token := peek_token(parser) - if token == nil { - return false - } - - for token.typ == yaml_VERSION_DIRECTIVE_TOKEN || token.typ == yaml_TAG_DIRECTIVE_TOKEN { - if token.typ == yaml_VERSION_DIRECTIVE_TOKEN { - if version_directive != nil { - yaml_parser_set_parser_error(parser, - "found duplicate %YAML directive", token.start_mark) - return false - } - if token.major != 1 || token.minor != 1 { - yaml_parser_set_parser_error(parser, - "found incompatible YAML document", token.start_mark) - return false - } - version_directive = &yaml_version_directive_t{ - major: token.major, - minor: token.minor, - } - } else if token.typ == yaml_TAG_DIRECTIVE_TOKEN { - value := yaml_tag_directive_t{ - handle: token.value, - prefix: token.prefix, - } - if !yaml_parser_append_tag_directive(parser, value, false, token.start_mark) { - return false - } - tag_directives = append(tag_directives, value) - } - - skip_token(parser) - token = peek_token(parser) - if token == nil { - return false - } - } - - for i := range default_tag_directives { - if !yaml_parser_append_tag_directive(parser, default_tag_directives[i], true, token.start_mark) { - return false - } - } - - if version_directive_ref != nil { - *version_directive_ref = version_directive - } - if tag_directives_ref != nil { - *tag_directives_ref = tag_directives - } - return true -} - -// Append a tag directive to the directives stack. -func yaml_parser_append_tag_directive(parser *yaml_parser_t, value yaml_tag_directive_t, allow_duplicates bool, mark yaml_mark_t) bool { - for i := range parser.tag_directives { - if bytes.Equal(value.handle, parser.tag_directives[i].handle) { - if allow_duplicates { - return true - } - return yaml_parser_set_parser_error(parser, "found duplicate %TAG directive", mark) - } - } - - // [Go] I suspect the copy is unnecessary. This was likely done - // because there was no way to track ownership of the data. - value_copy := yaml_tag_directive_t{ - handle: make([]byte, len(value.handle)), - prefix: make([]byte, len(value.prefix)), - } - copy(value_copy.handle, value.handle) - copy(value_copy.prefix, value.prefix) - parser.tag_directives = append(parser.tag_directives, value_copy) - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/readerc.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/readerc.go deleted file mode 100644 index b7de0a89..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/readerc.go +++ /dev/null @@ -1,434 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -import ( - "io" -) - -// Set the reader error and return 0. -func yaml_parser_set_reader_error(parser *yaml_parser_t, problem string, offset int, value int) bool { - parser.error = yaml_READER_ERROR - parser.problem = problem - parser.problem_offset = offset - parser.problem_value = value - return false -} - -// Byte order marks. -const ( - bom_UTF8 = "\xef\xbb\xbf" - bom_UTF16LE = "\xff\xfe" - bom_UTF16BE = "\xfe\xff" -) - -// Determine the input stream encoding by checking the BOM symbol. If no BOM is -// found, the UTF-8 encoding is assumed. Return 1 on success, 0 on failure. -func yaml_parser_determine_encoding(parser *yaml_parser_t) bool { - // Ensure that we had enough bytes in the raw buffer. - for !parser.eof && len(parser.raw_buffer)-parser.raw_buffer_pos < 3 { - if !yaml_parser_update_raw_buffer(parser) { - return false - } - } - - // Determine the encoding. - buf := parser.raw_buffer - pos := parser.raw_buffer_pos - avail := len(buf) - pos - if avail >= 2 && buf[pos] == bom_UTF16LE[0] && buf[pos+1] == bom_UTF16LE[1] { - parser.encoding = yaml_UTF16LE_ENCODING - parser.raw_buffer_pos += 2 - parser.offset += 2 - } else if avail >= 2 && buf[pos] == bom_UTF16BE[0] && buf[pos+1] == bom_UTF16BE[1] { - parser.encoding = yaml_UTF16BE_ENCODING - parser.raw_buffer_pos += 2 - parser.offset += 2 - } else if avail >= 3 && buf[pos] == bom_UTF8[0] && buf[pos+1] == bom_UTF8[1] && buf[pos+2] == bom_UTF8[2] { - parser.encoding = yaml_UTF8_ENCODING - parser.raw_buffer_pos += 3 - parser.offset += 3 - } else { - parser.encoding = yaml_UTF8_ENCODING - } - return true -} - -// Update the raw buffer. -func yaml_parser_update_raw_buffer(parser *yaml_parser_t) bool { - size_read := 0 - - // Return if the raw buffer is full. - if parser.raw_buffer_pos == 0 && len(parser.raw_buffer) == cap(parser.raw_buffer) { - return true - } - - // Return on EOF. - if parser.eof { - return true - } - - // Move the remaining bytes in the raw buffer to the beginning. - if parser.raw_buffer_pos > 0 && parser.raw_buffer_pos < len(parser.raw_buffer) { - copy(parser.raw_buffer, parser.raw_buffer[parser.raw_buffer_pos:]) - } - parser.raw_buffer = parser.raw_buffer[:len(parser.raw_buffer)-parser.raw_buffer_pos] - parser.raw_buffer_pos = 0 - - // Call the read handler to fill the buffer. - size_read, err := parser.read_handler(parser, parser.raw_buffer[len(parser.raw_buffer):cap(parser.raw_buffer)]) - parser.raw_buffer = parser.raw_buffer[:len(parser.raw_buffer)+size_read] - if err == io.EOF { - parser.eof = true - } else if err != nil { - return yaml_parser_set_reader_error(parser, "input error: "+err.Error(), parser.offset, -1) - } - return true -} - -// Ensure that the buffer contains at least `length` characters. -// Return true on success, false on failure. -// -// The length is supposed to be significantly less that the buffer size. -func yaml_parser_update_buffer(parser *yaml_parser_t, length int) bool { - if parser.read_handler == nil { - panic("read handler must be set") - } - - // [Go] This function was changed to guarantee the requested length size at EOF. - // The fact we need to do this is pretty awful, but the description above implies - // for that to be the case, and there are tests - - // If the EOF flag is set and the raw buffer is empty, do nothing. - if parser.eof && parser.raw_buffer_pos == len(parser.raw_buffer) { - // [Go] ACTUALLY! Read the documentation of this function above. - // This is just broken. To return true, we need to have the - // given length in the buffer. Not doing that means every single - // check that calls this function to make sure the buffer has a - // given length is Go) panicking; or C) accessing invalid memory. - //return true - } - - // Return if the buffer contains enough characters. - if parser.unread >= length { - return true - } - - // Determine the input encoding if it is not known yet. - if parser.encoding == yaml_ANY_ENCODING { - if !yaml_parser_determine_encoding(parser) { - return false - } - } - - // Move the unread characters to the beginning of the buffer. - buffer_len := len(parser.buffer) - if parser.buffer_pos > 0 && parser.buffer_pos < buffer_len { - copy(parser.buffer, parser.buffer[parser.buffer_pos:]) - buffer_len -= parser.buffer_pos - parser.buffer_pos = 0 - } else if parser.buffer_pos == buffer_len { - buffer_len = 0 - parser.buffer_pos = 0 - } - - // Open the whole buffer for writing, and cut it before returning. - parser.buffer = parser.buffer[:cap(parser.buffer)] - - // Fill the buffer until it has enough characters. - first := true - for parser.unread < length { - - // Fill the raw buffer if necessary. - if !first || parser.raw_buffer_pos == len(parser.raw_buffer) { - if !yaml_parser_update_raw_buffer(parser) { - parser.buffer = parser.buffer[:buffer_len] - return false - } - } - first = false - - // Decode the raw buffer. - inner: - for parser.raw_buffer_pos != len(parser.raw_buffer) { - var value rune - var width int - - raw_unread := len(parser.raw_buffer) - parser.raw_buffer_pos - - // Decode the next character. - switch parser.encoding { - case yaml_UTF8_ENCODING: - // Decode a UTF-8 character. Check RFC 3629 - // (http://www.ietf.org/rfc/rfc3629.txt) for more details. - // - // The following table (taken from the RFC) is used for - // decoding. - // - // Char. number range | UTF-8 octet sequence - // (hexadecimal) | (binary) - // --------------------+------------------------------------ - // 0000 0000-0000 007F | 0xxxxxxx - // 0000 0080-0000 07FF | 110xxxxx 10xxxxxx - // 0000 0800-0000 FFFF | 1110xxxx 10xxxxxx 10xxxxxx - // 0001 0000-0010 FFFF | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx - // - // Additionally, the characters in the range 0xD800-0xDFFF - // are prohibited as they are reserved for use with UTF-16 - // surrogate pairs. - - // Determine the length of the UTF-8 sequence. - octet := parser.raw_buffer[parser.raw_buffer_pos] - switch { - case octet&0x80 == 0x00: - width = 1 - case octet&0xE0 == 0xC0: - width = 2 - case octet&0xF0 == 0xE0: - width = 3 - case octet&0xF8 == 0xF0: - width = 4 - default: - // The leading octet is invalid. - return yaml_parser_set_reader_error(parser, - "invalid leading UTF-8 octet", - parser.offset, int(octet)) - } - - // Check if the raw buffer contains an incomplete character. - if width > raw_unread { - if parser.eof { - return yaml_parser_set_reader_error(parser, - "incomplete UTF-8 octet sequence", - parser.offset, -1) - } - break inner - } - - // Decode the leading octet. - switch { - case octet&0x80 == 0x00: - value = rune(octet & 0x7F) - case octet&0xE0 == 0xC0: - value = rune(octet & 0x1F) - case octet&0xF0 == 0xE0: - value = rune(octet & 0x0F) - case octet&0xF8 == 0xF0: - value = rune(octet & 0x07) - default: - value = 0 - } - - // Check and decode the trailing octets. - for k := 1; k < width; k++ { - octet = parser.raw_buffer[parser.raw_buffer_pos+k] - - // Check if the octet is valid. - if (octet & 0xC0) != 0x80 { - return yaml_parser_set_reader_error(parser, - "invalid trailing UTF-8 octet", - parser.offset+k, int(octet)) - } - - // Decode the octet. - value = (value << 6) + rune(octet&0x3F) - } - - // Check the length of the sequence against the value. - switch { - case width == 1: - case width == 2 && value >= 0x80: - case width == 3 && value >= 0x800: - case width == 4 && value >= 0x10000: - default: - return yaml_parser_set_reader_error(parser, - "invalid length of a UTF-8 sequence", - parser.offset, -1) - } - - // Check the range of the value. - if value >= 0xD800 && value <= 0xDFFF || value > 0x10FFFF { - return yaml_parser_set_reader_error(parser, - "invalid Unicode character", - parser.offset, int(value)) - } - - case yaml_UTF16LE_ENCODING, yaml_UTF16BE_ENCODING: - var low, high int - if parser.encoding == yaml_UTF16LE_ENCODING { - low, high = 0, 1 - } else { - low, high = 1, 0 - } - - // The UTF-16 encoding is not as simple as one might - // naively think. Check RFC 2781 - // (http://www.ietf.org/rfc/rfc2781.txt). - // - // Normally, two subsequent bytes describe a Unicode - // character. However a special technique (called a - // surrogate pair) is used for specifying character - // values larger than 0xFFFF. - // - // A surrogate pair consists of two pseudo-characters: - // high surrogate area (0xD800-0xDBFF) - // low surrogate area (0xDC00-0xDFFF) - // - // The following formulas are used for decoding - // and encoding characters using surrogate pairs: - // - // U = U' + 0x10000 (0x01 00 00 <= U <= 0x10 FF FF) - // U' = yyyyyyyyyyxxxxxxxxxx (0 <= U' <= 0x0F FF FF) - // W1 = 110110yyyyyyyyyy - // W2 = 110111xxxxxxxxxx - // - // where U is the character value, W1 is the high surrogate - // area, W2 is the low surrogate area. - - // Check for incomplete UTF-16 character. - if raw_unread < 2 { - if parser.eof { - return yaml_parser_set_reader_error(parser, - "incomplete UTF-16 character", - parser.offset, -1) - } - break inner - } - - // Get the character. - value = rune(parser.raw_buffer[parser.raw_buffer_pos+low]) + - (rune(parser.raw_buffer[parser.raw_buffer_pos+high]) << 8) - - // Check for unexpected low surrogate area. - if value&0xFC00 == 0xDC00 { - return yaml_parser_set_reader_error(parser, - "unexpected low surrogate area", - parser.offset, int(value)) - } - - // Check for a high surrogate area. - if value&0xFC00 == 0xD800 { - width = 4 - - // Check for incomplete surrogate pair. - if raw_unread < 4 { - if parser.eof { - return yaml_parser_set_reader_error(parser, - "incomplete UTF-16 surrogate pair", - parser.offset, -1) - } - break inner - } - - // Get the next character. - value2 := rune(parser.raw_buffer[parser.raw_buffer_pos+low+2]) + - (rune(parser.raw_buffer[parser.raw_buffer_pos+high+2]) << 8) - - // Check for a low surrogate area. - if value2&0xFC00 != 0xDC00 { - return yaml_parser_set_reader_error(parser, - "expected low surrogate area", - parser.offset+2, int(value2)) - } - - // Generate the value of the surrogate pair. - value = 0x10000 + ((value & 0x3FF) << 10) + (value2 & 0x3FF) - } else { - width = 2 - } - - default: - panic("impossible") - } - - // Check if the character is in the allowed range: - // #x9 | #xA | #xD | [#x20-#x7E] (8 bit) - // | #x85 | [#xA0-#xD7FF] | [#xE000-#xFFFD] (16 bit) - // | [#x10000-#x10FFFF] (32 bit) - switch { - case value == 0x09: - case value == 0x0A: - case value == 0x0D: - case value >= 0x20 && value <= 0x7E: - case value == 0x85: - case value >= 0xA0 && value <= 0xD7FF: - case value >= 0xE000 && value <= 0xFFFD: - case value >= 0x10000 && value <= 0x10FFFF: - default: - return yaml_parser_set_reader_error(parser, - "control characters are not allowed", - parser.offset, int(value)) - } - - // Move the raw pointers. - parser.raw_buffer_pos += width - parser.offset += width - - // Finally put the character into the buffer. - if value <= 0x7F { - // 0000 0000-0000 007F . 0xxxxxxx - parser.buffer[buffer_len+0] = byte(value) - buffer_len += 1 - } else if value <= 0x7FF { - // 0000 0080-0000 07FF . 110xxxxx 10xxxxxx - parser.buffer[buffer_len+0] = byte(0xC0 + (value >> 6)) - parser.buffer[buffer_len+1] = byte(0x80 + (value & 0x3F)) - buffer_len += 2 - } else if value <= 0xFFFF { - // 0000 0800-0000 FFFF . 1110xxxx 10xxxxxx 10xxxxxx - parser.buffer[buffer_len+0] = byte(0xE0 + (value >> 12)) - parser.buffer[buffer_len+1] = byte(0x80 + ((value >> 6) & 0x3F)) - parser.buffer[buffer_len+2] = byte(0x80 + (value & 0x3F)) - buffer_len += 3 - } else { - // 0001 0000-0010 FFFF . 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx - parser.buffer[buffer_len+0] = byte(0xF0 + (value >> 18)) - parser.buffer[buffer_len+1] = byte(0x80 + ((value >> 12) & 0x3F)) - parser.buffer[buffer_len+2] = byte(0x80 + ((value >> 6) & 0x3F)) - parser.buffer[buffer_len+3] = byte(0x80 + (value & 0x3F)) - buffer_len += 4 - } - - parser.unread++ - } - - // On EOF, put NUL into the buffer and return. - if parser.eof { - parser.buffer[buffer_len] = 0 - buffer_len++ - parser.unread++ - break - } - } - // [Go] Read the documentation of this function above. To return true, - // we need to have the given length in the buffer. Not doing that means - // every single check that calls this function to make sure the buffer - // has a given length is Go) panicking; or C) accessing invalid memory. - // This happens here due to the EOF above breaking early. - for buffer_len < length { - parser.buffer[buffer_len] = 0 - buffer_len++ - } - parser.buffer = parser.buffer[:buffer_len] - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/resolve.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/resolve.go deleted file mode 100644 index 64ae8880..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/resolve.go +++ /dev/null @@ -1,326 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// -// 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 yaml - -import ( - "encoding/base64" - "math" - "regexp" - "strconv" - "strings" - "time" -) - -type resolveMapItem struct { - value interface{} - tag string -} - -var resolveTable = make([]byte, 256) -var resolveMap = make(map[string]resolveMapItem) - -func init() { - t := resolveTable - t[int('+')] = 'S' // Sign - t[int('-')] = 'S' - for _, c := range "0123456789" { - t[int(c)] = 'D' // Digit - } - for _, c := range "yYnNtTfFoO~" { - t[int(c)] = 'M' // In map - } - t[int('.')] = '.' // Float (potentially in map) - - var resolveMapList = []struct { - v interface{} - tag string - l []string - }{ - {true, boolTag, []string{"true", "True", "TRUE"}}, - {false, boolTag, []string{"false", "False", "FALSE"}}, - {nil, nullTag, []string{"", "~", "null", "Null", "NULL"}}, - {math.NaN(), floatTag, []string{".nan", ".NaN", ".NAN"}}, - {math.Inf(+1), floatTag, []string{".inf", ".Inf", ".INF"}}, - {math.Inf(+1), floatTag, []string{"+.inf", "+.Inf", "+.INF"}}, - {math.Inf(-1), floatTag, []string{"-.inf", "-.Inf", "-.INF"}}, - {"<<", mergeTag, []string{"<<"}}, - } - - m := resolveMap - for _, item := range resolveMapList { - for _, s := range item.l { - m[s] = resolveMapItem{item.v, item.tag} - } - } -} - -const ( - nullTag = "!!null" - boolTag = "!!bool" - strTag = "!!str" - intTag = "!!int" - floatTag = "!!float" - timestampTag = "!!timestamp" - seqTag = "!!seq" - mapTag = "!!map" - binaryTag = "!!binary" - mergeTag = "!!merge" -) - -var longTags = make(map[string]string) -var shortTags = make(map[string]string) - -func init() { - for _, stag := range []string{nullTag, boolTag, strTag, intTag, floatTag, timestampTag, seqTag, mapTag, binaryTag, mergeTag} { - ltag := longTag(stag) - longTags[stag] = ltag - shortTags[ltag] = stag - } -} - -const longTagPrefix = "tag:yaml.org,2002:" - -func shortTag(tag string) string { - if strings.HasPrefix(tag, longTagPrefix) { - if stag, ok := shortTags[tag]; ok { - return stag - } - return "!!" + tag[len(longTagPrefix):] - } - return tag -} - -func longTag(tag string) string { - if strings.HasPrefix(tag, "!!") { - if ltag, ok := longTags[tag]; ok { - return ltag - } - return longTagPrefix + tag[2:] - } - return tag -} - -func resolvableTag(tag string) bool { - switch tag { - case "", strTag, boolTag, intTag, floatTag, nullTag, timestampTag: - return true - } - return false -} - -var yamlStyleFloat = regexp.MustCompile(`^[-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?$`) - -func resolve(tag string, in string) (rtag string, out interface{}) { - tag = shortTag(tag) - if !resolvableTag(tag) { - return tag, in - } - - defer func() { - switch tag { - case "", rtag, strTag, binaryTag: - return - case floatTag: - if rtag == intTag { - switch v := out.(type) { - case int64: - rtag = floatTag - out = float64(v) - return - case int: - rtag = floatTag - out = float64(v) - return - } - } - } - failf("cannot decode %s `%s` as a %s", shortTag(rtag), in, shortTag(tag)) - }() - - // Any data is accepted as a !!str or !!binary. - // Otherwise, the prefix is enough of a hint about what it might be. - hint := byte('N') - if in != "" { - hint = resolveTable[in[0]] - } - if hint != 0 && tag != strTag && tag != binaryTag { - // Handle things we can lookup in a map. - if item, ok := resolveMap[in]; ok { - return item.tag, item.value - } - - // Base 60 floats are a bad idea, were dropped in YAML 1.2, and - // are purposefully unsupported here. They're still quoted on - // the way out for compatibility with other parser, though. - - switch hint { - case 'M': - // We've already checked the map above. - - case '.': - // Not in the map, so maybe a normal float. - floatv, err := strconv.ParseFloat(in, 64) - if err == nil { - return floatTag, floatv - } - - case 'D', 'S': - // Int, float, or timestamp. - // Only try values as a timestamp if the value is unquoted or there's an explicit - // !!timestamp tag. - if tag == "" || tag == timestampTag { - t, ok := parseTimestamp(in) - if ok { - return timestampTag, t - } - } - - plain := strings.Replace(in, "_", "", -1) - intv, err := strconv.ParseInt(plain, 0, 64) - if err == nil { - if intv == int64(int(intv)) { - return intTag, int(intv) - } else { - return intTag, intv - } - } - uintv, err := strconv.ParseUint(plain, 0, 64) - if err == nil { - return intTag, uintv - } - if yamlStyleFloat.MatchString(plain) { - floatv, err := strconv.ParseFloat(plain, 64) - if err == nil { - return floatTag, floatv - } - } - if strings.HasPrefix(plain, "0b") { - intv, err := strconv.ParseInt(plain[2:], 2, 64) - if err == nil { - if intv == int64(int(intv)) { - return intTag, int(intv) - } else { - return intTag, intv - } - } - uintv, err := strconv.ParseUint(plain[2:], 2, 64) - if err == nil { - return intTag, uintv - } - } else if strings.HasPrefix(plain, "-0b") { - intv, err := strconv.ParseInt("-"+plain[3:], 2, 64) - if err == nil { - if true || intv == int64(int(intv)) { - return intTag, int(intv) - } else { - return intTag, intv - } - } - } - // Octals as introduced in version 1.2 of the spec. - // Octals from the 1.1 spec, spelled as 0777, are still - // decoded by default in v3 as well for compatibility. - // May be dropped in v4 depending on how usage evolves. - if strings.HasPrefix(plain, "0o") { - intv, err := strconv.ParseInt(plain[2:], 8, 64) - if err == nil { - if intv == int64(int(intv)) { - return intTag, int(intv) - } else { - return intTag, intv - } - } - uintv, err := strconv.ParseUint(plain[2:], 8, 64) - if err == nil { - return intTag, uintv - } - } else if strings.HasPrefix(plain, "-0o") { - intv, err := strconv.ParseInt("-"+plain[3:], 8, 64) - if err == nil { - if true || intv == int64(int(intv)) { - return intTag, int(intv) - } else { - return intTag, intv - } - } - } - default: - panic("internal error: missing handler for resolver table: " + string(rune(hint)) + " (with " + in + ")") - } - } - return strTag, in -} - -// encodeBase64 encodes s as base64 that is broken up into multiple lines -// as appropriate for the resulting length. -func encodeBase64(s string) string { - const lineLen = 70 - encLen := base64.StdEncoding.EncodedLen(len(s)) - lines := encLen/lineLen + 1 - buf := make([]byte, encLen*2+lines) - in := buf[0:encLen] - out := buf[encLen:] - base64.StdEncoding.Encode(in, []byte(s)) - k := 0 - for i := 0; i < len(in); i += lineLen { - j := i + lineLen - if j > len(in) { - j = len(in) - } - k += copy(out[k:], in[i:j]) - if lines > 1 { - out[k] = '\n' - k++ - } - } - return string(out[:k]) -} - -// This is a subset of the formats allowed by the regular expression -// defined at http://yaml.org/type/timestamp.html. -var allowedTimestampFormats = []string{ - "2006-1-2T15:4:5.999999999Z07:00", // RCF3339Nano with short date fields. - "2006-1-2t15:4:5.999999999Z07:00", // RFC3339Nano with short date fields and lower-case "t". - "2006-1-2 15:4:5.999999999", // space separated with no time zone - "2006-1-2", // date only - // Notable exception: time.Parse cannot handle: "2001-12-14 21:59:43.10 -5" - // from the set of examples. -} - -// parseTimestamp parses s as a timestamp string and -// returns the timestamp and reports whether it succeeded. -// Timestamp formats are defined at http://yaml.org/type/timestamp.html -func parseTimestamp(s string) (time.Time, bool) { - // TODO write code to check all the formats supported by - // http://yaml.org/type/timestamp.html instead of using time.Parse. - - // Quick check: all date formats start with YYYY-. - i := 0 - for ; i < len(s); i++ { - if c := s[i]; c < '0' || c > '9' { - break - } - } - if i != 4 || i == len(s) || s[i] != '-' { - return time.Time{}, false - } - for _, format := range allowedTimestampFormats { - if t, err := time.Parse(format, s); err == nil { - return t, true - } - } - return time.Time{}, false -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/scannerc.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/scannerc.go deleted file mode 100644 index ca007010..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/scannerc.go +++ /dev/null @@ -1,3038 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -import ( - "bytes" - "fmt" -) - -// Introduction -// ************ -// -// The following notes assume that you are familiar with the YAML specification -// (http://yaml.org/spec/1.2/spec.html). We mostly follow it, although in -// some cases we are less restrictive that it requires. -// -// The process of transforming a YAML stream into a sequence of events is -// divided on two steps: Scanning and Parsing. -// -// The Scanner transforms the input stream into a sequence of tokens, while the -// parser transform the sequence of tokens produced by the Scanner into a -// sequence of parsing events. -// -// The Scanner is rather clever and complicated. The Parser, on the contrary, -// is a straightforward implementation of a recursive-descendant parser (or, -// LL(1) parser, as it is usually called). -// -// Actually there are two issues of Scanning that might be called "clever", the -// rest is quite straightforward. The issues are "block collection start" and -// "simple keys". Both issues are explained below in details. -// -// Here the Scanning step is explained and implemented. We start with the list -// of all the tokens produced by the Scanner together with short descriptions. -// -// Now, tokens: -// -// STREAM-START(encoding) # The stream start. -// STREAM-END # The stream end. -// VERSION-DIRECTIVE(major,minor) # The '%YAML' directive. -// TAG-DIRECTIVE(handle,prefix) # The '%TAG' directive. -// DOCUMENT-START # '---' -// DOCUMENT-END # '...' -// BLOCK-SEQUENCE-START # Indentation increase denoting a block -// BLOCK-MAPPING-START # sequence or a block mapping. -// BLOCK-END # Indentation decrease. -// FLOW-SEQUENCE-START # '[' -// FLOW-SEQUENCE-END # ']' -// BLOCK-SEQUENCE-START # '{' -// BLOCK-SEQUENCE-END # '}' -// BLOCK-ENTRY # '-' -// FLOW-ENTRY # ',' -// KEY # '?' or nothing (simple keys). -// VALUE # ':' -// ALIAS(anchor) # '*anchor' -// ANCHOR(anchor) # '&anchor' -// TAG(handle,suffix) # '!handle!suffix' -// SCALAR(value,style) # A scalar. -// -// The following two tokens are "virtual" tokens denoting the beginning and the -// end of the stream: -// -// STREAM-START(encoding) -// STREAM-END -// -// We pass the information about the input stream encoding with the -// STREAM-START token. -// -// The next two tokens are responsible for tags: -// -// VERSION-DIRECTIVE(major,minor) -// TAG-DIRECTIVE(handle,prefix) -// -// Example: -// -// %YAML 1.1 -// %TAG ! !foo -// %TAG !yaml! tag:yaml.org,2002: -// --- -// -// The correspoding sequence of tokens: -// -// STREAM-START(utf-8) -// VERSION-DIRECTIVE(1,1) -// TAG-DIRECTIVE("!","!foo") -// TAG-DIRECTIVE("!yaml","tag:yaml.org,2002:") -// DOCUMENT-START -// STREAM-END -// -// Note that the VERSION-DIRECTIVE and TAG-DIRECTIVE tokens occupy a whole -// line. -// -// The document start and end indicators are represented by: -// -// DOCUMENT-START -// DOCUMENT-END -// -// Note that if a YAML stream contains an implicit document (without '---' -// and '...' indicators), no DOCUMENT-START and DOCUMENT-END tokens will be -// produced. -// -// In the following examples, we present whole documents together with the -// produced tokens. -// -// 1. An implicit document: -// -// 'a scalar' -// -// Tokens: -// -// STREAM-START(utf-8) -// SCALAR("a scalar",single-quoted) -// STREAM-END -// -// 2. An explicit document: -// -// --- -// 'a scalar' -// ... -// -// Tokens: -// -// STREAM-START(utf-8) -// DOCUMENT-START -// SCALAR("a scalar",single-quoted) -// DOCUMENT-END -// STREAM-END -// -// 3. Several documents in a stream: -// -// 'a scalar' -// --- -// 'another scalar' -// --- -// 'yet another scalar' -// -// Tokens: -// -// STREAM-START(utf-8) -// SCALAR("a scalar",single-quoted) -// DOCUMENT-START -// SCALAR("another scalar",single-quoted) -// DOCUMENT-START -// SCALAR("yet another scalar",single-quoted) -// STREAM-END -// -// We have already introduced the SCALAR token above. The following tokens are -// used to describe aliases, anchors, tag, and scalars: -// -// ALIAS(anchor) -// ANCHOR(anchor) -// TAG(handle,suffix) -// SCALAR(value,style) -// -// The following series of examples illustrate the usage of these tokens: -// -// 1. A recursive sequence: -// -// &A [ *A ] -// -// Tokens: -// -// STREAM-START(utf-8) -// ANCHOR("A") -// FLOW-SEQUENCE-START -// ALIAS("A") -// FLOW-SEQUENCE-END -// STREAM-END -// -// 2. A tagged scalar: -// -// !!float "3.14" # A good approximation. -// -// Tokens: -// -// STREAM-START(utf-8) -// TAG("!!","float") -// SCALAR("3.14",double-quoted) -// STREAM-END -// -// 3. Various scalar styles: -// -// --- # Implicit empty plain scalars do not produce tokens. -// --- a plain scalar -// --- 'a single-quoted scalar' -// --- "a double-quoted scalar" -// --- |- -// a literal scalar -// --- >- -// a folded -// scalar -// -// Tokens: -// -// STREAM-START(utf-8) -// DOCUMENT-START -// DOCUMENT-START -// SCALAR("a plain scalar",plain) -// DOCUMENT-START -// SCALAR("a single-quoted scalar",single-quoted) -// DOCUMENT-START -// SCALAR("a double-quoted scalar",double-quoted) -// DOCUMENT-START -// SCALAR("a literal scalar",literal) -// DOCUMENT-START -// SCALAR("a folded scalar",folded) -// STREAM-END -// -// Now it's time to review collection-related tokens. We will start with -// flow collections: -// -// FLOW-SEQUENCE-START -// FLOW-SEQUENCE-END -// FLOW-MAPPING-START -// FLOW-MAPPING-END -// FLOW-ENTRY -// KEY -// VALUE -// -// The tokens FLOW-SEQUENCE-START, FLOW-SEQUENCE-END, FLOW-MAPPING-START, and -// FLOW-MAPPING-END represent the indicators '[', ']', '{', and '}' -// correspondingly. FLOW-ENTRY represent the ',' indicator. Finally the -// indicators '?' and ':', which are used for denoting mapping keys and values, -// are represented by the KEY and VALUE tokens. -// -// The following examples show flow collections: -// -// 1. A flow sequence: -// -// [item 1, item 2, item 3] -// -// Tokens: -// -// STREAM-START(utf-8) -// FLOW-SEQUENCE-START -// SCALAR("item 1",plain) -// FLOW-ENTRY -// SCALAR("item 2",plain) -// FLOW-ENTRY -// SCALAR("item 3",plain) -// FLOW-SEQUENCE-END -// STREAM-END -// -// 2. A flow mapping: -// -// { -// a simple key: a value, # Note that the KEY token is produced. -// ? a complex key: another value, -// } -// -// Tokens: -// -// STREAM-START(utf-8) -// FLOW-MAPPING-START -// KEY -// SCALAR("a simple key",plain) -// VALUE -// SCALAR("a value",plain) -// FLOW-ENTRY -// KEY -// SCALAR("a complex key",plain) -// VALUE -// SCALAR("another value",plain) -// FLOW-ENTRY -// FLOW-MAPPING-END -// STREAM-END -// -// A simple key is a key which is not denoted by the '?' indicator. Note that -// the Scanner still produce the KEY token whenever it encounters a simple key. -// -// For scanning block collections, the following tokens are used (note that we -// repeat KEY and VALUE here): -// -// BLOCK-SEQUENCE-START -// BLOCK-MAPPING-START -// BLOCK-END -// BLOCK-ENTRY -// KEY -// VALUE -// -// The tokens BLOCK-SEQUENCE-START and BLOCK-MAPPING-START denote indentation -// increase that precedes a block collection (cf. the INDENT token in Python). -// The token BLOCK-END denote indentation decrease that ends a block collection -// (cf. the DEDENT token in Python). However YAML has some syntax pecularities -// that makes detections of these tokens more complex. -// -// The tokens BLOCK-ENTRY, KEY, and VALUE are used to represent the indicators -// '-', '?', and ':' correspondingly. -// -// The following examples show how the tokens BLOCK-SEQUENCE-START, -// BLOCK-MAPPING-START, and BLOCK-END are emitted by the Scanner: -// -// 1. Block sequences: -// -// - item 1 -// - item 2 -// - -// - item 3.1 -// - item 3.2 -// - -// key 1: value 1 -// key 2: value 2 -// -// Tokens: -// -// STREAM-START(utf-8) -// BLOCK-SEQUENCE-START -// BLOCK-ENTRY -// SCALAR("item 1",plain) -// BLOCK-ENTRY -// SCALAR("item 2",plain) -// BLOCK-ENTRY -// BLOCK-SEQUENCE-START -// BLOCK-ENTRY -// SCALAR("item 3.1",plain) -// BLOCK-ENTRY -// SCALAR("item 3.2",plain) -// BLOCK-END -// BLOCK-ENTRY -// BLOCK-MAPPING-START -// KEY -// SCALAR("key 1",plain) -// VALUE -// SCALAR("value 1",plain) -// KEY -// SCALAR("key 2",plain) -// VALUE -// SCALAR("value 2",plain) -// BLOCK-END -// BLOCK-END -// STREAM-END -// -// 2. Block mappings: -// -// a simple key: a value # The KEY token is produced here. -// ? a complex key -// : another value -// a mapping: -// key 1: value 1 -// key 2: value 2 -// a sequence: -// - item 1 -// - item 2 -// -// Tokens: -// -// STREAM-START(utf-8) -// BLOCK-MAPPING-START -// KEY -// SCALAR("a simple key",plain) -// VALUE -// SCALAR("a value",plain) -// KEY -// SCALAR("a complex key",plain) -// VALUE -// SCALAR("another value",plain) -// KEY -// SCALAR("a mapping",plain) -// BLOCK-MAPPING-START -// KEY -// SCALAR("key 1",plain) -// VALUE -// SCALAR("value 1",plain) -// KEY -// SCALAR("key 2",plain) -// VALUE -// SCALAR("value 2",plain) -// BLOCK-END -// KEY -// SCALAR("a sequence",plain) -// VALUE -// BLOCK-SEQUENCE-START -// BLOCK-ENTRY -// SCALAR("item 1",plain) -// BLOCK-ENTRY -// SCALAR("item 2",plain) -// BLOCK-END -// BLOCK-END -// STREAM-END -// -// YAML does not always require to start a new block collection from a new -// line. If the current line contains only '-', '?', and ':' indicators, a new -// block collection may start at the current line. The following examples -// illustrate this case: -// -// 1. Collections in a sequence: -// -// - - item 1 -// - item 2 -// - key 1: value 1 -// key 2: value 2 -// - ? complex key -// : complex value -// -// Tokens: -// -// STREAM-START(utf-8) -// BLOCK-SEQUENCE-START -// BLOCK-ENTRY -// BLOCK-SEQUENCE-START -// BLOCK-ENTRY -// SCALAR("item 1",plain) -// BLOCK-ENTRY -// SCALAR("item 2",plain) -// BLOCK-END -// BLOCK-ENTRY -// BLOCK-MAPPING-START -// KEY -// SCALAR("key 1",plain) -// VALUE -// SCALAR("value 1",plain) -// KEY -// SCALAR("key 2",plain) -// VALUE -// SCALAR("value 2",plain) -// BLOCK-END -// BLOCK-ENTRY -// BLOCK-MAPPING-START -// KEY -// SCALAR("complex key") -// VALUE -// SCALAR("complex value") -// BLOCK-END -// BLOCK-END -// STREAM-END -// -// 2. Collections in a mapping: -// -// ? a sequence -// : - item 1 -// - item 2 -// ? a mapping -// : key 1: value 1 -// key 2: value 2 -// -// Tokens: -// -// STREAM-START(utf-8) -// BLOCK-MAPPING-START -// KEY -// SCALAR("a sequence",plain) -// VALUE -// BLOCK-SEQUENCE-START -// BLOCK-ENTRY -// SCALAR("item 1",plain) -// BLOCK-ENTRY -// SCALAR("item 2",plain) -// BLOCK-END -// KEY -// SCALAR("a mapping",plain) -// VALUE -// BLOCK-MAPPING-START -// KEY -// SCALAR("key 1",plain) -// VALUE -// SCALAR("value 1",plain) -// KEY -// SCALAR("key 2",plain) -// VALUE -// SCALAR("value 2",plain) -// BLOCK-END -// BLOCK-END -// STREAM-END -// -// YAML also permits non-indented sequences if they are included into a block -// mapping. In this case, the token BLOCK-SEQUENCE-START is not produced: -// -// key: -// - item 1 # BLOCK-SEQUENCE-START is NOT produced here. -// - item 2 -// -// Tokens: -// -// STREAM-START(utf-8) -// BLOCK-MAPPING-START -// KEY -// SCALAR("key",plain) -// VALUE -// BLOCK-ENTRY -// SCALAR("item 1",plain) -// BLOCK-ENTRY -// SCALAR("item 2",plain) -// BLOCK-END -// - -// Ensure that the buffer contains the required number of characters. -// Return true on success, false on failure (reader error or memory error). -func cache(parser *yaml_parser_t, length int) bool { - // [Go] This was inlined: !cache(A, B) -> unread < B && !update(A, B) - return parser.unread >= length || yaml_parser_update_buffer(parser, length) -} - -// Advance the buffer pointer. -func skip(parser *yaml_parser_t) { - if !is_blank(parser.buffer, parser.buffer_pos) { - parser.newlines = 0 - } - parser.mark.index++ - parser.mark.column++ - parser.unread-- - parser.buffer_pos += width(parser.buffer[parser.buffer_pos]) -} - -func skip_line(parser *yaml_parser_t) { - if is_crlf(parser.buffer, parser.buffer_pos) { - parser.mark.index += 2 - parser.mark.column = 0 - parser.mark.line++ - parser.unread -= 2 - parser.buffer_pos += 2 - parser.newlines++ - } else if is_break(parser.buffer, parser.buffer_pos) { - parser.mark.index++ - parser.mark.column = 0 - parser.mark.line++ - parser.unread-- - parser.buffer_pos += width(parser.buffer[parser.buffer_pos]) - parser.newlines++ - } -} - -// Copy a character to a string buffer and advance pointers. -func read(parser *yaml_parser_t, s []byte) []byte { - if !is_blank(parser.buffer, parser.buffer_pos) { - parser.newlines = 0 - } - w := width(parser.buffer[parser.buffer_pos]) - if w == 0 { - panic("invalid character sequence") - } - if len(s) == 0 { - s = make([]byte, 0, 32) - } - if w == 1 && len(s)+w <= cap(s) { - s = s[:len(s)+1] - s[len(s)-1] = parser.buffer[parser.buffer_pos] - parser.buffer_pos++ - } else { - s = append(s, parser.buffer[parser.buffer_pos:parser.buffer_pos+w]...) - parser.buffer_pos += w - } - parser.mark.index++ - parser.mark.column++ - parser.unread-- - return s -} - -// Copy a line break character to a string buffer and advance pointers. -func read_line(parser *yaml_parser_t, s []byte) []byte { - buf := parser.buffer - pos := parser.buffer_pos - switch { - case buf[pos] == '\r' && buf[pos+1] == '\n': - // CR LF . LF - s = append(s, '\n') - parser.buffer_pos += 2 - parser.mark.index++ - parser.unread-- - case buf[pos] == '\r' || buf[pos] == '\n': - // CR|LF . LF - s = append(s, '\n') - parser.buffer_pos += 1 - case buf[pos] == '\xC2' && buf[pos+1] == '\x85': - // NEL . LF - s = append(s, '\n') - parser.buffer_pos += 2 - case buf[pos] == '\xE2' && buf[pos+1] == '\x80' && (buf[pos+2] == '\xA8' || buf[pos+2] == '\xA9'): - // LS|PS . LS|PS - s = append(s, buf[parser.buffer_pos:pos+3]...) - parser.buffer_pos += 3 - default: - return s - } - parser.mark.index++ - parser.mark.column = 0 - parser.mark.line++ - parser.unread-- - parser.newlines++ - return s -} - -// Get the next token. -func yaml_parser_scan(parser *yaml_parser_t, token *yaml_token_t) bool { - // Erase the token object. - *token = yaml_token_t{} // [Go] Is this necessary? - - // No tokens after STREAM-END or error. - if parser.stream_end_produced || parser.error != yaml_NO_ERROR { - return true - } - - // Ensure that the tokens queue contains enough tokens. - if !parser.token_available { - if !yaml_parser_fetch_more_tokens(parser) { - return false - } - } - - // Fetch the next token from the queue. - *token = parser.tokens[parser.tokens_head] - parser.tokens_head++ - parser.tokens_parsed++ - parser.token_available = false - - if token.typ == yaml_STREAM_END_TOKEN { - parser.stream_end_produced = true - } - return true -} - -// Set the scanner error and return false. -func yaml_parser_set_scanner_error(parser *yaml_parser_t, context string, context_mark yaml_mark_t, problem string) bool { - parser.error = yaml_SCANNER_ERROR - parser.context = context - parser.context_mark = context_mark - parser.problem = problem - parser.problem_mark = parser.mark - return false -} - -func yaml_parser_set_scanner_tag_error(parser *yaml_parser_t, directive bool, context_mark yaml_mark_t, problem string) bool { - context := "while parsing a tag" - if directive { - context = "while parsing a %TAG directive" - } - return yaml_parser_set_scanner_error(parser, context, context_mark, problem) -} - -func trace(args ...interface{}) func() { - pargs := append([]interface{}{"+++"}, args...) - fmt.Println(pargs...) - pargs = append([]interface{}{"---"}, args...) - return func() { fmt.Println(pargs...) } -} - -// Ensure that the tokens queue contains at least one token which can be -// returned to the Parser. -func yaml_parser_fetch_more_tokens(parser *yaml_parser_t) bool { - // While we need more tokens to fetch, do it. - for { - // [Go] The comment parsing logic requires a lookahead of two tokens - // so that foot comments may be parsed in time of associating them - // with the tokens that are parsed before them, and also for line - // comments to be transformed into head comments in some edge cases. - if parser.tokens_head < len(parser.tokens)-2 { - // If a potential simple key is at the head position, we need to fetch - // the next token to disambiguate it. - head_tok_idx, ok := parser.simple_keys_by_tok[parser.tokens_parsed] - if !ok { - break - } else if valid, ok := yaml_simple_key_is_valid(parser, &parser.simple_keys[head_tok_idx]); !ok { - return false - } else if !valid { - break - } - } - // Fetch the next token. - if !yaml_parser_fetch_next_token(parser) { - return false - } - } - - parser.token_available = true - return true -} - -// The dispatcher for token fetchers. -func yaml_parser_fetch_next_token(parser *yaml_parser_t) (ok bool) { - // Ensure that the buffer is initialized. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - // Check if we just started scanning. Fetch STREAM-START then. - if !parser.stream_start_produced { - return yaml_parser_fetch_stream_start(parser) - } - - scan_mark := parser.mark - - // Eat whitespaces and comments until we reach the next token. - if !yaml_parser_scan_to_next_token(parser) { - return false - } - - // [Go] While unrolling indents, transform the head comments of prior - // indentation levels observed after scan_start into foot comments at - // the respective indexes. - - // Check the indentation level against the current column. - if !yaml_parser_unroll_indent(parser, parser.mark.column, scan_mark) { - return false - } - - // Ensure that the buffer contains at least 4 characters. 4 is the length - // of the longest indicators ('--- ' and '... '). - if parser.unread < 4 && !yaml_parser_update_buffer(parser, 4) { - return false - } - - // Is it the end of the stream? - if is_z(parser.buffer, parser.buffer_pos) { - return yaml_parser_fetch_stream_end(parser) - } - - // Is it a directive? - if parser.mark.column == 0 && parser.buffer[parser.buffer_pos] == '%' { - return yaml_parser_fetch_directive(parser) - } - - buf := parser.buffer - pos := parser.buffer_pos - - // Is it the document start indicator? - if parser.mark.column == 0 && buf[pos] == '-' && buf[pos+1] == '-' && buf[pos+2] == '-' && is_blankz(buf, pos+3) { - return yaml_parser_fetch_document_indicator(parser, yaml_DOCUMENT_START_TOKEN) - } - - // Is it the document end indicator? - if parser.mark.column == 0 && buf[pos] == '.' && buf[pos+1] == '.' && buf[pos+2] == '.' && is_blankz(buf, pos+3) { - return yaml_parser_fetch_document_indicator(parser, yaml_DOCUMENT_END_TOKEN) - } - - comment_mark := parser.mark - if len(parser.tokens) > 0 && (parser.flow_level == 0 && buf[pos] == ':' || parser.flow_level > 0 && buf[pos] == ',') { - // Associate any following comments with the prior token. - comment_mark = parser.tokens[len(parser.tokens)-1].start_mark - } - defer func() { - if !ok { - return - } - if len(parser.tokens) > 0 && parser.tokens[len(parser.tokens)-1].typ == yaml_BLOCK_ENTRY_TOKEN { - // Sequence indicators alone have no line comments. It becomes - // a head comment for whatever follows. - return - } - if !yaml_parser_scan_line_comment(parser, comment_mark) { - ok = false - return - } - }() - - // Is it the flow sequence start indicator? - if buf[pos] == '[' { - return yaml_parser_fetch_flow_collection_start(parser, yaml_FLOW_SEQUENCE_START_TOKEN) - } - - // Is it the flow mapping start indicator? - if parser.buffer[parser.buffer_pos] == '{' { - return yaml_parser_fetch_flow_collection_start(parser, yaml_FLOW_MAPPING_START_TOKEN) - } - - // Is it the flow sequence end indicator? - if parser.buffer[parser.buffer_pos] == ']' { - return yaml_parser_fetch_flow_collection_end(parser, - yaml_FLOW_SEQUENCE_END_TOKEN) - } - - // Is it the flow mapping end indicator? - if parser.buffer[parser.buffer_pos] == '}' { - return yaml_parser_fetch_flow_collection_end(parser, - yaml_FLOW_MAPPING_END_TOKEN) - } - - // Is it the flow entry indicator? - if parser.buffer[parser.buffer_pos] == ',' { - return yaml_parser_fetch_flow_entry(parser) - } - - // Is it the block entry indicator? - if parser.buffer[parser.buffer_pos] == '-' && is_blankz(parser.buffer, parser.buffer_pos+1) { - return yaml_parser_fetch_block_entry(parser) - } - - // Is it the key indicator? - if parser.buffer[parser.buffer_pos] == '?' && (parser.flow_level > 0 || is_blankz(parser.buffer, parser.buffer_pos+1)) { - return yaml_parser_fetch_key(parser) - } - - // Is it the value indicator? - if parser.buffer[parser.buffer_pos] == ':' && (parser.flow_level > 0 || is_blankz(parser.buffer, parser.buffer_pos+1)) { - return yaml_parser_fetch_value(parser) - } - - // Is it an alias? - if parser.buffer[parser.buffer_pos] == '*' { - return yaml_parser_fetch_anchor(parser, yaml_ALIAS_TOKEN) - } - - // Is it an anchor? - if parser.buffer[parser.buffer_pos] == '&' { - return yaml_parser_fetch_anchor(parser, yaml_ANCHOR_TOKEN) - } - - // Is it a tag? - if parser.buffer[parser.buffer_pos] == '!' { - return yaml_parser_fetch_tag(parser) - } - - // Is it a literal scalar? - if parser.buffer[parser.buffer_pos] == '|' && parser.flow_level == 0 { - return yaml_parser_fetch_block_scalar(parser, true) - } - - // Is it a folded scalar? - if parser.buffer[parser.buffer_pos] == '>' && parser.flow_level == 0 { - return yaml_parser_fetch_block_scalar(parser, false) - } - - // Is it a single-quoted scalar? - if parser.buffer[parser.buffer_pos] == '\'' { - return yaml_parser_fetch_flow_scalar(parser, true) - } - - // Is it a double-quoted scalar? - if parser.buffer[parser.buffer_pos] == '"' { - return yaml_parser_fetch_flow_scalar(parser, false) - } - - // Is it a plain scalar? - // - // A plain scalar may start with any non-blank characters except - // - // '-', '?', ':', ',', '[', ']', '{', '}', - // '#', '&', '*', '!', '|', '>', '\'', '\"', - // '%', '@', '`'. - // - // In the block context (and, for the '-' indicator, in the flow context - // too), it may also start with the characters - // - // '-', '?', ':' - // - // if it is followed by a non-space character. - // - // The last rule is more restrictive than the specification requires. - // [Go] TODO Make this logic more reasonable. - //switch parser.buffer[parser.buffer_pos] { - //case '-', '?', ':', ',', '?', '-', ',', ':', ']', '[', '}', '{', '&', '#', '!', '*', '>', '|', '"', '\'', '@', '%', '-', '`': - //} - if !(is_blankz(parser.buffer, parser.buffer_pos) || parser.buffer[parser.buffer_pos] == '-' || - parser.buffer[parser.buffer_pos] == '?' || parser.buffer[parser.buffer_pos] == ':' || - parser.buffer[parser.buffer_pos] == ',' || parser.buffer[parser.buffer_pos] == '[' || - parser.buffer[parser.buffer_pos] == ']' || parser.buffer[parser.buffer_pos] == '{' || - parser.buffer[parser.buffer_pos] == '}' || parser.buffer[parser.buffer_pos] == '#' || - parser.buffer[parser.buffer_pos] == '&' || parser.buffer[parser.buffer_pos] == '*' || - parser.buffer[parser.buffer_pos] == '!' || parser.buffer[parser.buffer_pos] == '|' || - parser.buffer[parser.buffer_pos] == '>' || parser.buffer[parser.buffer_pos] == '\'' || - parser.buffer[parser.buffer_pos] == '"' || parser.buffer[parser.buffer_pos] == '%' || - parser.buffer[parser.buffer_pos] == '@' || parser.buffer[parser.buffer_pos] == '`') || - (parser.buffer[parser.buffer_pos] == '-' && !is_blank(parser.buffer, parser.buffer_pos+1)) || - (parser.flow_level == 0 && - (parser.buffer[parser.buffer_pos] == '?' || parser.buffer[parser.buffer_pos] == ':') && - !is_blankz(parser.buffer, parser.buffer_pos+1)) { - return yaml_parser_fetch_plain_scalar(parser) - } - - // If we don't determine the token type so far, it is an error. - return yaml_parser_set_scanner_error(parser, - "while scanning for the next token", parser.mark, - "found character that cannot start any token") -} - -func yaml_simple_key_is_valid(parser *yaml_parser_t, simple_key *yaml_simple_key_t) (valid, ok bool) { - if !simple_key.possible { - return false, true - } - - // The 1.2 specification says: - // - // "If the ? indicator is omitted, parsing needs to see past the - // implicit key to recognize it as such. To limit the amount of - // lookahead required, the “:” indicator must appear at most 1024 - // Unicode characters beyond the start of the key. In addition, the key - // is restricted to a single line." - // - if simple_key.mark.line < parser.mark.line || simple_key.mark.index+1024 < parser.mark.index { - // Check if the potential simple key to be removed is required. - if simple_key.required { - return false, yaml_parser_set_scanner_error(parser, - "while scanning a simple key", simple_key.mark, - "could not find expected ':'") - } - simple_key.possible = false - return false, true - } - return true, true -} - -// Check if a simple key may start at the current position and add it if -// needed. -func yaml_parser_save_simple_key(parser *yaml_parser_t) bool { - // A simple key is required at the current position if the scanner is in - // the block context and the current column coincides with the indentation - // level. - - required := parser.flow_level == 0 && parser.indent == parser.mark.column - - // - // If the current position may start a simple key, save it. - // - if parser.simple_key_allowed { - simple_key := yaml_simple_key_t{ - possible: true, - required: required, - token_number: parser.tokens_parsed + (len(parser.tokens) - parser.tokens_head), - mark: parser.mark, - } - - if !yaml_parser_remove_simple_key(parser) { - return false - } - parser.simple_keys[len(parser.simple_keys)-1] = simple_key - parser.simple_keys_by_tok[simple_key.token_number] = len(parser.simple_keys) - 1 - } - return true -} - -// Remove a potential simple key at the current flow level. -func yaml_parser_remove_simple_key(parser *yaml_parser_t) bool { - i := len(parser.simple_keys) - 1 - if parser.simple_keys[i].possible { - // If the key is required, it is an error. - if parser.simple_keys[i].required { - return yaml_parser_set_scanner_error(parser, - "while scanning a simple key", parser.simple_keys[i].mark, - "could not find expected ':'") - } - // Remove the key from the stack. - parser.simple_keys[i].possible = false - delete(parser.simple_keys_by_tok, parser.simple_keys[i].token_number) - } - return true -} - -// max_flow_level limits the flow_level -const max_flow_level = 10000 - -// Increase the flow level and resize the simple key list if needed. -func yaml_parser_increase_flow_level(parser *yaml_parser_t) bool { - // Reset the simple key on the next level. - parser.simple_keys = append(parser.simple_keys, yaml_simple_key_t{ - possible: false, - required: false, - token_number: parser.tokens_parsed + (len(parser.tokens) - parser.tokens_head), - mark: parser.mark, - }) - - // Increase the flow level. - parser.flow_level++ - if parser.flow_level > max_flow_level { - return yaml_parser_set_scanner_error(parser, - "while increasing flow level", parser.simple_keys[len(parser.simple_keys)-1].mark, - fmt.Sprintf("exceeded max depth of %d", max_flow_level)) - } - return true -} - -// Decrease the flow level. -func yaml_parser_decrease_flow_level(parser *yaml_parser_t) bool { - if parser.flow_level > 0 { - parser.flow_level-- - last := len(parser.simple_keys) - 1 - delete(parser.simple_keys_by_tok, parser.simple_keys[last].token_number) - parser.simple_keys = parser.simple_keys[:last] - } - return true -} - -// max_indents limits the indents stack size -const max_indents = 10000 - -// Push the current indentation level to the stack and set the new level -// the current column is greater than the indentation level. In this case, -// append or insert the specified token into the token queue. -func yaml_parser_roll_indent(parser *yaml_parser_t, column, number int, typ yaml_token_type_t, mark yaml_mark_t) bool { - // In the flow context, do nothing. - if parser.flow_level > 0 { - return true - } - - if parser.indent < column { - // Push the current indentation level to the stack and set the new - // indentation level. - parser.indents = append(parser.indents, parser.indent) - parser.indent = column - if len(parser.indents) > max_indents { - return yaml_parser_set_scanner_error(parser, - "while increasing indent level", parser.simple_keys[len(parser.simple_keys)-1].mark, - fmt.Sprintf("exceeded max depth of %d", max_indents)) - } - - // Create a token and insert it into the queue. - token := yaml_token_t{ - typ: typ, - start_mark: mark, - end_mark: mark, - } - if number > -1 { - number -= parser.tokens_parsed - } - yaml_insert_token(parser, number, &token) - } - return true -} - -// Pop indentation levels from the indents stack until the current level -// becomes less or equal to the column. For each indentation level, append -// the BLOCK-END token. -func yaml_parser_unroll_indent(parser *yaml_parser_t, column int, scan_mark yaml_mark_t) bool { - // In the flow context, do nothing. - if parser.flow_level > 0 { - return true - } - - block_mark := scan_mark - block_mark.index-- - - // Loop through the indentation levels in the stack. - for parser.indent > column { - - // [Go] Reposition the end token before potential following - // foot comments of parent blocks. For that, search - // backwards for recent comments that were at the same - // indent as the block that is ending now. - stop_index := block_mark.index - for i := len(parser.comments) - 1; i >= 0; i-- { - comment := &parser.comments[i] - - if comment.end_mark.index < stop_index { - // Don't go back beyond the start of the comment/whitespace scan, unless column < 0. - // If requested indent column is < 0, then the document is over and everything else - // is a foot anyway. - break - } - if comment.start_mark.column == parser.indent+1 { - // This is a good match. But maybe there's a former comment - // at that same indent level, so keep searching. - block_mark = comment.start_mark - } - - // While the end of the former comment matches with - // the start of the following one, we know there's - // nothing in between and scanning is still safe. - stop_index = comment.scan_mark.index - } - - // Create a token and append it to the queue. - token := yaml_token_t{ - typ: yaml_BLOCK_END_TOKEN, - start_mark: block_mark, - end_mark: block_mark, - } - yaml_insert_token(parser, -1, &token) - - // Pop the indentation level. - parser.indent = parser.indents[len(parser.indents)-1] - parser.indents = parser.indents[:len(parser.indents)-1] - } - return true -} - -// Initialize the scanner and produce the STREAM-START token. -func yaml_parser_fetch_stream_start(parser *yaml_parser_t) bool { - - // Set the initial indentation. - parser.indent = -1 - - // Initialize the simple key stack. - parser.simple_keys = append(parser.simple_keys, yaml_simple_key_t{}) - - parser.simple_keys_by_tok = make(map[int]int) - - // A simple key is allowed at the beginning of the stream. - parser.simple_key_allowed = true - - // We have started. - parser.stream_start_produced = true - - // Create the STREAM-START token and append it to the queue. - token := yaml_token_t{ - typ: yaml_STREAM_START_TOKEN, - start_mark: parser.mark, - end_mark: parser.mark, - encoding: parser.encoding, - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the STREAM-END token and shut down the scanner. -func yaml_parser_fetch_stream_end(parser *yaml_parser_t) bool { - - // Force new line. - if parser.mark.column != 0 { - parser.mark.column = 0 - parser.mark.line++ - } - - // Reset the indentation level. - if !yaml_parser_unroll_indent(parser, -1, parser.mark) { - return false - } - - // Reset simple keys. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - parser.simple_key_allowed = false - - // Create the STREAM-END token and append it to the queue. - token := yaml_token_t{ - typ: yaml_STREAM_END_TOKEN, - start_mark: parser.mark, - end_mark: parser.mark, - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce a VERSION-DIRECTIVE or TAG-DIRECTIVE token. -func yaml_parser_fetch_directive(parser *yaml_parser_t) bool { - // Reset the indentation level. - if !yaml_parser_unroll_indent(parser, -1, parser.mark) { - return false - } - - // Reset simple keys. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - parser.simple_key_allowed = false - - // Create the YAML-DIRECTIVE or TAG-DIRECTIVE token. - token := yaml_token_t{} - if !yaml_parser_scan_directive(parser, &token) { - return false - } - // Append the token to the queue. - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the DOCUMENT-START or DOCUMENT-END token. -func yaml_parser_fetch_document_indicator(parser *yaml_parser_t, typ yaml_token_type_t) bool { - // Reset the indentation level. - if !yaml_parser_unroll_indent(parser, -1, parser.mark) { - return false - } - - // Reset simple keys. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - parser.simple_key_allowed = false - - // Consume the token. - start_mark := parser.mark - - skip(parser) - skip(parser) - skip(parser) - - end_mark := parser.mark - - // Create the DOCUMENT-START or DOCUMENT-END token. - token := yaml_token_t{ - typ: typ, - start_mark: start_mark, - end_mark: end_mark, - } - // Append the token to the queue. - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the FLOW-SEQUENCE-START or FLOW-MAPPING-START token. -func yaml_parser_fetch_flow_collection_start(parser *yaml_parser_t, typ yaml_token_type_t) bool { - - // The indicators '[' and '{' may start a simple key. - if !yaml_parser_save_simple_key(parser) { - return false - } - - // Increase the flow level. - if !yaml_parser_increase_flow_level(parser) { - return false - } - - // A simple key may follow the indicators '[' and '{'. - parser.simple_key_allowed = true - - // Consume the token. - start_mark := parser.mark - skip(parser) - end_mark := parser.mark - - // Create the FLOW-SEQUENCE-START of FLOW-MAPPING-START token. - token := yaml_token_t{ - typ: typ, - start_mark: start_mark, - end_mark: end_mark, - } - // Append the token to the queue. - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the FLOW-SEQUENCE-END or FLOW-MAPPING-END token. -func yaml_parser_fetch_flow_collection_end(parser *yaml_parser_t, typ yaml_token_type_t) bool { - // Reset any potential simple key on the current flow level. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - // Decrease the flow level. - if !yaml_parser_decrease_flow_level(parser) { - return false - } - - // No simple keys after the indicators ']' and '}'. - parser.simple_key_allowed = false - - // Consume the token. - - start_mark := parser.mark - skip(parser) - end_mark := parser.mark - - // Create the FLOW-SEQUENCE-END of FLOW-MAPPING-END token. - token := yaml_token_t{ - typ: typ, - start_mark: start_mark, - end_mark: end_mark, - } - // Append the token to the queue. - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the FLOW-ENTRY token. -func yaml_parser_fetch_flow_entry(parser *yaml_parser_t) bool { - // Reset any potential simple keys on the current flow level. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - // Simple keys are allowed after ','. - parser.simple_key_allowed = true - - // Consume the token. - start_mark := parser.mark - skip(parser) - end_mark := parser.mark - - // Create the FLOW-ENTRY token and append it to the queue. - token := yaml_token_t{ - typ: yaml_FLOW_ENTRY_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the BLOCK-ENTRY token. -func yaml_parser_fetch_block_entry(parser *yaml_parser_t) bool { - // Check if the scanner is in the block context. - if parser.flow_level == 0 { - // Check if we are allowed to start a new entry. - if !parser.simple_key_allowed { - return yaml_parser_set_scanner_error(parser, "", parser.mark, - "block sequence entries are not allowed in this context") - } - // Add the BLOCK-SEQUENCE-START token if needed. - if !yaml_parser_roll_indent(parser, parser.mark.column, -1, yaml_BLOCK_SEQUENCE_START_TOKEN, parser.mark) { - return false - } - } else { - // It is an error for the '-' indicator to occur in the flow context, - // but we let the Parser detect and report about it because the Parser - // is able to point to the context. - } - - // Reset any potential simple keys on the current flow level. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - // Simple keys are allowed after '-'. - parser.simple_key_allowed = true - - // Consume the token. - start_mark := parser.mark - skip(parser) - end_mark := parser.mark - - // Create the BLOCK-ENTRY token and append it to the queue. - token := yaml_token_t{ - typ: yaml_BLOCK_ENTRY_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the KEY token. -func yaml_parser_fetch_key(parser *yaml_parser_t) bool { - - // In the block context, additional checks are required. - if parser.flow_level == 0 { - // Check if we are allowed to start a new key (not nessesary simple). - if !parser.simple_key_allowed { - return yaml_parser_set_scanner_error(parser, "", parser.mark, - "mapping keys are not allowed in this context") - } - // Add the BLOCK-MAPPING-START token if needed. - if !yaml_parser_roll_indent(parser, parser.mark.column, -1, yaml_BLOCK_MAPPING_START_TOKEN, parser.mark) { - return false - } - } - - // Reset any potential simple keys on the current flow level. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - // Simple keys are allowed after '?' in the block context. - parser.simple_key_allowed = parser.flow_level == 0 - - // Consume the token. - start_mark := parser.mark - skip(parser) - end_mark := parser.mark - - // Create the KEY token and append it to the queue. - token := yaml_token_t{ - typ: yaml_KEY_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the VALUE token. -func yaml_parser_fetch_value(parser *yaml_parser_t) bool { - - simple_key := &parser.simple_keys[len(parser.simple_keys)-1] - - // Have we found a simple key? - if valid, ok := yaml_simple_key_is_valid(parser, simple_key); !ok { - return false - - } else if valid { - - // Create the KEY token and insert it into the queue. - token := yaml_token_t{ - typ: yaml_KEY_TOKEN, - start_mark: simple_key.mark, - end_mark: simple_key.mark, - } - yaml_insert_token(parser, simple_key.token_number-parser.tokens_parsed, &token) - - // In the block context, we may need to add the BLOCK-MAPPING-START token. - if !yaml_parser_roll_indent(parser, simple_key.mark.column, - simple_key.token_number, - yaml_BLOCK_MAPPING_START_TOKEN, simple_key.mark) { - return false - } - - // Remove the simple key. - simple_key.possible = false - delete(parser.simple_keys_by_tok, simple_key.token_number) - - // A simple key cannot follow another simple key. - parser.simple_key_allowed = false - - } else { - // The ':' indicator follows a complex key. - - // In the block context, extra checks are required. - if parser.flow_level == 0 { - - // Check if we are allowed to start a complex value. - if !parser.simple_key_allowed { - return yaml_parser_set_scanner_error(parser, "", parser.mark, - "mapping values are not allowed in this context") - } - - // Add the BLOCK-MAPPING-START token if needed. - if !yaml_parser_roll_indent(parser, parser.mark.column, -1, yaml_BLOCK_MAPPING_START_TOKEN, parser.mark) { - return false - } - } - - // Simple keys after ':' are allowed in the block context. - parser.simple_key_allowed = parser.flow_level == 0 - } - - // Consume the token. - start_mark := parser.mark - skip(parser) - end_mark := parser.mark - - // Create the VALUE token and append it to the queue. - token := yaml_token_t{ - typ: yaml_VALUE_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the ALIAS or ANCHOR token. -func yaml_parser_fetch_anchor(parser *yaml_parser_t, typ yaml_token_type_t) bool { - // An anchor or an alias could be a simple key. - if !yaml_parser_save_simple_key(parser) { - return false - } - - // A simple key cannot follow an anchor or an alias. - parser.simple_key_allowed = false - - // Create the ALIAS or ANCHOR token and append it to the queue. - var token yaml_token_t - if !yaml_parser_scan_anchor(parser, &token, typ) { - return false - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the TAG token. -func yaml_parser_fetch_tag(parser *yaml_parser_t) bool { - // A tag could be a simple key. - if !yaml_parser_save_simple_key(parser) { - return false - } - - // A simple key cannot follow a tag. - parser.simple_key_allowed = false - - // Create the TAG token and append it to the queue. - var token yaml_token_t - if !yaml_parser_scan_tag(parser, &token) { - return false - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the SCALAR(...,literal) or SCALAR(...,folded) tokens. -func yaml_parser_fetch_block_scalar(parser *yaml_parser_t, literal bool) bool { - // Remove any potential simple keys. - if !yaml_parser_remove_simple_key(parser) { - return false - } - - // A simple key may follow a block scalar. - parser.simple_key_allowed = true - - // Create the SCALAR token and append it to the queue. - var token yaml_token_t - if !yaml_parser_scan_block_scalar(parser, &token, literal) { - return false - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the SCALAR(...,single-quoted) or SCALAR(...,double-quoted) tokens. -func yaml_parser_fetch_flow_scalar(parser *yaml_parser_t, single bool) bool { - // A plain scalar could be a simple key. - if !yaml_parser_save_simple_key(parser) { - return false - } - - // A simple key cannot follow a flow scalar. - parser.simple_key_allowed = false - - // Create the SCALAR token and append it to the queue. - var token yaml_token_t - if !yaml_parser_scan_flow_scalar(parser, &token, single) { - return false - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Produce the SCALAR(...,plain) token. -func yaml_parser_fetch_plain_scalar(parser *yaml_parser_t) bool { - // A plain scalar could be a simple key. - if !yaml_parser_save_simple_key(parser) { - return false - } - - // A simple key cannot follow a flow scalar. - parser.simple_key_allowed = false - - // Create the SCALAR token and append it to the queue. - var token yaml_token_t - if !yaml_parser_scan_plain_scalar(parser, &token) { - return false - } - yaml_insert_token(parser, -1, &token) - return true -} - -// Eat whitespaces and comments until the next token is found. -func yaml_parser_scan_to_next_token(parser *yaml_parser_t) bool { - - scan_mark := parser.mark - - // Until the next token is not found. - for { - // Allow the BOM mark to start a line. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if parser.mark.column == 0 && is_bom(parser.buffer, parser.buffer_pos) { - skip(parser) - } - - // Eat whitespaces. - // Tabs are allowed: - // - in the flow context - // - in the block context, but not at the beginning of the line or - // after '-', '?', or ':' (complex value). - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - for parser.buffer[parser.buffer_pos] == ' ' || ((parser.flow_level > 0 || !parser.simple_key_allowed) && parser.buffer[parser.buffer_pos] == '\t') { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Check if we just had a line comment under a sequence entry that - // looks more like a header to the following content. Similar to this: - // - // - # The comment - // - Some data - // - // If so, transform the line comment to a head comment and reposition. - if len(parser.comments) > 0 && len(parser.tokens) > 1 { - tokenA := parser.tokens[len(parser.tokens)-2] - tokenB := parser.tokens[len(parser.tokens)-1] - comment := &parser.comments[len(parser.comments)-1] - if tokenA.typ == yaml_BLOCK_SEQUENCE_START_TOKEN && tokenB.typ == yaml_BLOCK_ENTRY_TOKEN && len(comment.line) > 0 && !is_break(parser.buffer, parser.buffer_pos) { - // If it was in the prior line, reposition so it becomes a - // header of the follow up token. Otherwise, keep it in place - // so it becomes a header of the former. - comment.head = comment.line - comment.line = nil - if comment.start_mark.line == parser.mark.line-1 { - comment.token_mark = parser.mark - } - } - } - - // Eat a comment until a line break. - if parser.buffer[parser.buffer_pos] == '#' { - if !yaml_parser_scan_comments(parser, scan_mark) { - return false - } - } - - // If it is a line break, eat it. - if is_break(parser.buffer, parser.buffer_pos) { - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - skip_line(parser) - - // In the block context, a new line may start a simple key. - if parser.flow_level == 0 { - parser.simple_key_allowed = true - } - } else { - break // We have found a token. - } - } - - return true -} - -// Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token. -// -// Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -// -func yaml_parser_scan_directive(parser *yaml_parser_t, token *yaml_token_t) bool { - // Eat '%'. - start_mark := parser.mark - skip(parser) - - // Scan the directive name. - var name []byte - if !yaml_parser_scan_directive_name(parser, start_mark, &name) { - return false - } - - // Is it a YAML directive? - if bytes.Equal(name, []byte("YAML")) { - // Scan the VERSION directive value. - var major, minor int8 - if !yaml_parser_scan_version_directive_value(parser, start_mark, &major, &minor) { - return false - } - end_mark := parser.mark - - // Create a VERSION-DIRECTIVE token. - *token = yaml_token_t{ - typ: yaml_VERSION_DIRECTIVE_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - major: major, - minor: minor, - } - - // Is it a TAG directive? - } else if bytes.Equal(name, []byte("TAG")) { - // Scan the TAG directive value. - var handle, prefix []byte - if !yaml_parser_scan_tag_directive_value(parser, start_mark, &handle, &prefix) { - return false - } - end_mark := parser.mark - - // Create a TAG-DIRECTIVE token. - *token = yaml_token_t{ - typ: yaml_TAG_DIRECTIVE_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - value: handle, - prefix: prefix, - } - - // Unknown directive. - } else { - yaml_parser_set_scanner_error(parser, "while scanning a directive", - start_mark, "found unknown directive name") - return false - } - - // Eat the rest of the line including any comments. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - for is_blank(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - if parser.buffer[parser.buffer_pos] == '#' { - // [Go] Discard this inline comment for the time being. - //if !yaml_parser_scan_line_comment(parser, start_mark) { - // return false - //} - for !is_breakz(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - } - - // Check if we are at the end of the line. - if !is_breakz(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a directive", - start_mark, "did not find expected comment or line break") - return false - } - - // Eat a line break. - if is_break(parser.buffer, parser.buffer_pos) { - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - skip_line(parser) - } - - return true -} - -// Scan the directive name. -// -// Scope: -// %YAML 1.1 # a comment \n -// ^^^^ -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^ -// -func yaml_parser_scan_directive_name(parser *yaml_parser_t, start_mark yaml_mark_t, name *[]byte) bool { - // Consume the directive name. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - var s []byte - for is_alpha(parser.buffer, parser.buffer_pos) { - s = read(parser, s) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Check if the name is empty. - if len(s) == 0 { - yaml_parser_set_scanner_error(parser, "while scanning a directive", - start_mark, "could not find expected directive name") - return false - } - - // Check for an blank character after the name. - if !is_blankz(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a directive", - start_mark, "found unexpected non-alphabetical character") - return false - } - *name = s - return true -} - -// Scan the value of VERSION-DIRECTIVE. -// -// Scope: -// %YAML 1.1 # a comment \n -// ^^^^^^ -func yaml_parser_scan_version_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, major, minor *int8) bool { - // Eat whitespaces. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - for is_blank(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Consume the major version number. - if !yaml_parser_scan_version_directive_number(parser, start_mark, major) { - return false - } - - // Eat '.'. - if parser.buffer[parser.buffer_pos] != '.' { - return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive", - start_mark, "did not find expected digit or '.' character") - } - - skip(parser) - - // Consume the minor version number. - if !yaml_parser_scan_version_directive_number(parser, start_mark, minor) { - return false - } - return true -} - -const max_number_length = 2 - -// Scan the version number of VERSION-DIRECTIVE. -// -// Scope: -// %YAML 1.1 # a comment \n -// ^ -// %YAML 1.1 # a comment \n -// ^ -func yaml_parser_scan_version_directive_number(parser *yaml_parser_t, start_mark yaml_mark_t, number *int8) bool { - - // Repeat while the next character is digit. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - var value, length int8 - for is_digit(parser.buffer, parser.buffer_pos) { - // Check if the number is too long. - length++ - if length > max_number_length { - return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive", - start_mark, "found extremely long version number") - } - value = value*10 + int8(as_digit(parser.buffer, parser.buffer_pos)) - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Check if the number was present. - if length == 0 { - return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive", - start_mark, "did not find expected version number") - } - *number = value - return true -} - -// Scan the value of a TAG-DIRECTIVE token. -// -// Scope: -// %TAG !yaml! tag:yaml.org,2002: \n -// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -// -func yaml_parser_scan_tag_directive_value(parser *yaml_parser_t, start_mark yaml_mark_t, handle, prefix *[]byte) bool { - var handle_value, prefix_value []byte - - // Eat whitespaces. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - for is_blank(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Scan a handle. - if !yaml_parser_scan_tag_handle(parser, true, start_mark, &handle_value) { - return false - } - - // Expect a whitespace. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if !is_blank(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a %TAG directive", - start_mark, "did not find expected whitespace") - return false - } - - // Eat whitespaces. - for is_blank(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Scan a prefix. - if !yaml_parser_scan_tag_uri(parser, true, nil, start_mark, &prefix_value) { - return false - } - - // Expect a whitespace or line break. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if !is_blankz(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a %TAG directive", - start_mark, "did not find expected whitespace or line break") - return false - } - - *handle = handle_value - *prefix = prefix_value - return true -} - -func yaml_parser_scan_anchor(parser *yaml_parser_t, token *yaml_token_t, typ yaml_token_type_t) bool { - var s []byte - - // Eat the indicator character. - start_mark := parser.mark - skip(parser) - - // Consume the value. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - for is_alpha(parser.buffer, parser.buffer_pos) { - s = read(parser, s) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - end_mark := parser.mark - - /* - * Check if length of the anchor is greater than 0 and it is followed by - * a whitespace character or one of the indicators: - * - * '?', ':', ',', ']', '}', '%', '@', '`'. - */ - - if len(s) == 0 || - !(is_blankz(parser.buffer, parser.buffer_pos) || parser.buffer[parser.buffer_pos] == '?' || - parser.buffer[parser.buffer_pos] == ':' || parser.buffer[parser.buffer_pos] == ',' || - parser.buffer[parser.buffer_pos] == ']' || parser.buffer[parser.buffer_pos] == '}' || - parser.buffer[parser.buffer_pos] == '%' || parser.buffer[parser.buffer_pos] == '@' || - parser.buffer[parser.buffer_pos] == '`') { - context := "while scanning an alias" - if typ == yaml_ANCHOR_TOKEN { - context = "while scanning an anchor" - } - yaml_parser_set_scanner_error(parser, context, start_mark, - "did not find expected alphabetic or numeric character") - return false - } - - // Create a token. - *token = yaml_token_t{ - typ: typ, - start_mark: start_mark, - end_mark: end_mark, - value: s, - } - - return true -} - -/* - * Scan a TAG token. - */ - -func yaml_parser_scan_tag(parser *yaml_parser_t, token *yaml_token_t) bool { - var handle, suffix []byte - - start_mark := parser.mark - - // Check if the tag is in the canonical form. - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - - if parser.buffer[parser.buffer_pos+1] == '<' { - // Keep the handle as '' - - // Eat '!<' - skip(parser) - skip(parser) - - // Consume the tag value. - if !yaml_parser_scan_tag_uri(parser, false, nil, start_mark, &suffix) { - return false - } - - // Check for '>' and eat it. - if parser.buffer[parser.buffer_pos] != '>' { - yaml_parser_set_scanner_error(parser, "while scanning a tag", - start_mark, "did not find the expected '>'") - return false - } - - skip(parser) - } else { - // The tag has either the '!suffix' or the '!handle!suffix' form. - - // First, try to scan a handle. - if !yaml_parser_scan_tag_handle(parser, false, start_mark, &handle) { - return false - } - - // Check if it is, indeed, handle. - if handle[0] == '!' && len(handle) > 1 && handle[len(handle)-1] == '!' { - // Scan the suffix now. - if !yaml_parser_scan_tag_uri(parser, false, nil, start_mark, &suffix) { - return false - } - } else { - // It wasn't a handle after all. Scan the rest of the tag. - if !yaml_parser_scan_tag_uri(parser, false, handle, start_mark, &suffix) { - return false - } - - // Set the handle to '!'. - handle = []byte{'!'} - - // A special case: the '!' tag. Set the handle to '' and the - // suffix to '!'. - if len(suffix) == 0 { - handle, suffix = suffix, handle - } - } - } - - // Check the character which ends the tag. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if !is_blankz(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a tag", - start_mark, "did not find expected whitespace or line break") - return false - } - - end_mark := parser.mark - - // Create a token. - *token = yaml_token_t{ - typ: yaml_TAG_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - value: handle, - suffix: suffix, - } - return true -} - -// Scan a tag handle. -func yaml_parser_scan_tag_handle(parser *yaml_parser_t, directive bool, start_mark yaml_mark_t, handle *[]byte) bool { - // Check the initial '!' character. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if parser.buffer[parser.buffer_pos] != '!' { - yaml_parser_set_scanner_tag_error(parser, directive, - start_mark, "did not find expected '!'") - return false - } - - var s []byte - - // Copy the '!' character. - s = read(parser, s) - - // Copy all subsequent alphabetical and numerical characters. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - for is_alpha(parser.buffer, parser.buffer_pos) { - s = read(parser, s) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Check if the trailing character is '!' and copy it. - if parser.buffer[parser.buffer_pos] == '!' { - s = read(parser, s) - } else { - // It's either the '!' tag or not really a tag handle. If it's a %TAG - // directive, it's an error. If it's a tag token, it must be a part of URI. - if directive && string(s) != "!" { - yaml_parser_set_scanner_tag_error(parser, directive, - start_mark, "did not find expected '!'") - return false - } - } - - *handle = s - return true -} - -// Scan a tag. -func yaml_parser_scan_tag_uri(parser *yaml_parser_t, directive bool, head []byte, start_mark yaml_mark_t, uri *[]byte) bool { - //size_t length = head ? strlen((char *)head) : 0 - var s []byte - hasTag := len(head) > 0 - - // Copy the head if needed. - // - // Note that we don't copy the leading '!' character. - if len(head) > 1 { - s = append(s, head[1:]...) - } - - // Scan the tag. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - // The set of characters that may appear in URI is as follows: - // - // '0'-'9', 'A'-'Z', 'a'-'z', '_', '-', ';', '/', '?', ':', '@', '&', - // '=', '+', '$', ',', '.', '!', '~', '*', '\'', '(', ')', '[', ']', - // '%'. - // [Go] TODO Convert this into more reasonable logic. - for is_alpha(parser.buffer, parser.buffer_pos) || parser.buffer[parser.buffer_pos] == ';' || - parser.buffer[parser.buffer_pos] == '/' || parser.buffer[parser.buffer_pos] == '?' || - parser.buffer[parser.buffer_pos] == ':' || parser.buffer[parser.buffer_pos] == '@' || - parser.buffer[parser.buffer_pos] == '&' || parser.buffer[parser.buffer_pos] == '=' || - parser.buffer[parser.buffer_pos] == '+' || parser.buffer[parser.buffer_pos] == '$' || - parser.buffer[parser.buffer_pos] == ',' || parser.buffer[parser.buffer_pos] == '.' || - parser.buffer[parser.buffer_pos] == '!' || parser.buffer[parser.buffer_pos] == '~' || - parser.buffer[parser.buffer_pos] == '*' || parser.buffer[parser.buffer_pos] == '\'' || - parser.buffer[parser.buffer_pos] == '(' || parser.buffer[parser.buffer_pos] == ')' || - parser.buffer[parser.buffer_pos] == '[' || parser.buffer[parser.buffer_pos] == ']' || - parser.buffer[parser.buffer_pos] == '%' { - // Check if it is a URI-escape sequence. - if parser.buffer[parser.buffer_pos] == '%' { - if !yaml_parser_scan_uri_escapes(parser, directive, start_mark, &s) { - return false - } - } else { - s = read(parser, s) - } - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - hasTag = true - } - - if !hasTag { - yaml_parser_set_scanner_tag_error(parser, directive, - start_mark, "did not find expected tag URI") - return false - } - *uri = s - return true -} - -// Decode an URI-escape sequence corresponding to a single UTF-8 character. -func yaml_parser_scan_uri_escapes(parser *yaml_parser_t, directive bool, start_mark yaml_mark_t, s *[]byte) bool { - - // Decode the required number of characters. - w := 1024 - for w > 0 { - // Check for a URI-escaped octet. - if parser.unread < 3 && !yaml_parser_update_buffer(parser, 3) { - return false - } - - if !(parser.buffer[parser.buffer_pos] == '%' && - is_hex(parser.buffer, parser.buffer_pos+1) && - is_hex(parser.buffer, parser.buffer_pos+2)) { - return yaml_parser_set_scanner_tag_error(parser, directive, - start_mark, "did not find URI escaped octet") - } - - // Get the octet. - octet := byte((as_hex(parser.buffer, parser.buffer_pos+1) << 4) + as_hex(parser.buffer, parser.buffer_pos+2)) - - // If it is the leading octet, determine the length of the UTF-8 sequence. - if w == 1024 { - w = width(octet) - if w == 0 { - return yaml_parser_set_scanner_tag_error(parser, directive, - start_mark, "found an incorrect leading UTF-8 octet") - } - } else { - // Check if the trailing octet is correct. - if octet&0xC0 != 0x80 { - return yaml_parser_set_scanner_tag_error(parser, directive, - start_mark, "found an incorrect trailing UTF-8 octet") - } - } - - // Copy the octet and move the pointers. - *s = append(*s, octet) - skip(parser) - skip(parser) - skip(parser) - w-- - } - return true -} - -// Scan a block scalar. -func yaml_parser_scan_block_scalar(parser *yaml_parser_t, token *yaml_token_t, literal bool) bool { - // Eat the indicator '|' or '>'. - start_mark := parser.mark - skip(parser) - - // Scan the additional block scalar indicators. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - // Check for a chomping indicator. - var chomping, increment int - if parser.buffer[parser.buffer_pos] == '+' || parser.buffer[parser.buffer_pos] == '-' { - // Set the chomping method and eat the indicator. - if parser.buffer[parser.buffer_pos] == '+' { - chomping = +1 - } else { - chomping = -1 - } - skip(parser) - - // Check for an indentation indicator. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if is_digit(parser.buffer, parser.buffer_pos) { - // Check that the indentation is greater than 0. - if parser.buffer[parser.buffer_pos] == '0' { - yaml_parser_set_scanner_error(parser, "while scanning a block scalar", - start_mark, "found an indentation indicator equal to 0") - return false - } - - // Get the indentation level and eat the indicator. - increment = as_digit(parser.buffer, parser.buffer_pos) - skip(parser) - } - - } else if is_digit(parser.buffer, parser.buffer_pos) { - // Do the same as above, but in the opposite order. - - if parser.buffer[parser.buffer_pos] == '0' { - yaml_parser_set_scanner_error(parser, "while scanning a block scalar", - start_mark, "found an indentation indicator equal to 0") - return false - } - increment = as_digit(parser.buffer, parser.buffer_pos) - skip(parser) - - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if parser.buffer[parser.buffer_pos] == '+' || parser.buffer[parser.buffer_pos] == '-' { - if parser.buffer[parser.buffer_pos] == '+' { - chomping = +1 - } else { - chomping = -1 - } - skip(parser) - } - } - - // Eat whitespaces and comments to the end of the line. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - for is_blank(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - if parser.buffer[parser.buffer_pos] == '#' { - if !yaml_parser_scan_line_comment(parser, start_mark) { - return false - } - for !is_breakz(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - } - - // Check if we are at the end of the line. - if !is_breakz(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a block scalar", - start_mark, "did not find expected comment or line break") - return false - } - - // Eat a line break. - if is_break(parser.buffer, parser.buffer_pos) { - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - skip_line(parser) - } - - end_mark := parser.mark - - // Set the indentation level if it was specified. - var indent int - if increment > 0 { - if parser.indent >= 0 { - indent = parser.indent + increment - } else { - indent = increment - } - } - - // Scan the leading line breaks and determine the indentation level if needed. - var s, leading_break, trailing_breaks []byte - if !yaml_parser_scan_block_scalar_breaks(parser, &indent, &trailing_breaks, start_mark, &end_mark) { - return false - } - - // Scan the block scalar content. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - var leading_blank, trailing_blank bool - for parser.mark.column == indent && !is_z(parser.buffer, parser.buffer_pos) { - // We are at the beginning of a non-empty line. - - // Is it a trailing whitespace? - trailing_blank = is_blank(parser.buffer, parser.buffer_pos) - - // Check if we need to fold the leading line break. - if !literal && !leading_blank && !trailing_blank && len(leading_break) > 0 && leading_break[0] == '\n' { - // Do we need to join the lines by space? - if len(trailing_breaks) == 0 { - s = append(s, ' ') - } - } else { - s = append(s, leading_break...) - } - leading_break = leading_break[:0] - - // Append the remaining line breaks. - s = append(s, trailing_breaks...) - trailing_breaks = trailing_breaks[:0] - - // Is it a leading whitespace? - leading_blank = is_blank(parser.buffer, parser.buffer_pos) - - // Consume the current line. - for !is_breakz(parser.buffer, parser.buffer_pos) { - s = read(parser, s) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Consume the line break. - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - - leading_break = read_line(parser, leading_break) - - // Eat the following indentation spaces and line breaks. - if !yaml_parser_scan_block_scalar_breaks(parser, &indent, &trailing_breaks, start_mark, &end_mark) { - return false - } - } - - // Chomp the tail. - if chomping != -1 { - s = append(s, leading_break...) - } - if chomping == 1 { - s = append(s, trailing_breaks...) - } - - // Create a token. - *token = yaml_token_t{ - typ: yaml_SCALAR_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - value: s, - style: yaml_LITERAL_SCALAR_STYLE, - } - if !literal { - token.style = yaml_FOLDED_SCALAR_STYLE - } - return true -} - -// Scan indentation spaces and line breaks for a block scalar. Determine the -// indentation level if needed. -func yaml_parser_scan_block_scalar_breaks(parser *yaml_parser_t, indent *int, breaks *[]byte, start_mark yaml_mark_t, end_mark *yaml_mark_t) bool { - *end_mark = parser.mark - - // Eat the indentation spaces and line breaks. - max_indent := 0 - for { - // Eat the indentation spaces. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - for (*indent == 0 || parser.mark.column < *indent) && is_space(parser.buffer, parser.buffer_pos) { - skip(parser) - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - if parser.mark.column > max_indent { - max_indent = parser.mark.column - } - - // Check for a tab character messing the indentation. - if (*indent == 0 || parser.mark.column < *indent) && is_tab(parser.buffer, parser.buffer_pos) { - return yaml_parser_set_scanner_error(parser, "while scanning a block scalar", - start_mark, "found a tab character where an indentation space is expected") - } - - // Have we found a non-empty line? - if !is_break(parser.buffer, parser.buffer_pos) { - break - } - - // Consume the line break. - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - // [Go] Should really be returning breaks instead. - *breaks = read_line(parser, *breaks) - *end_mark = parser.mark - } - - // Determine the indentation level if needed. - if *indent == 0 { - *indent = max_indent - if *indent < parser.indent+1 { - *indent = parser.indent + 1 - } - if *indent < 1 { - *indent = 1 - } - } - return true -} - -// Scan a quoted scalar. -func yaml_parser_scan_flow_scalar(parser *yaml_parser_t, token *yaml_token_t, single bool) bool { - // Eat the left quote. - start_mark := parser.mark - skip(parser) - - // Consume the content of the quoted scalar. - var s, leading_break, trailing_breaks, whitespaces []byte - for { - // Check that there are no document indicators at the beginning of the line. - if parser.unread < 4 && !yaml_parser_update_buffer(parser, 4) { - return false - } - - if parser.mark.column == 0 && - ((parser.buffer[parser.buffer_pos+0] == '-' && - parser.buffer[parser.buffer_pos+1] == '-' && - parser.buffer[parser.buffer_pos+2] == '-') || - (parser.buffer[parser.buffer_pos+0] == '.' && - parser.buffer[parser.buffer_pos+1] == '.' && - parser.buffer[parser.buffer_pos+2] == '.')) && - is_blankz(parser.buffer, parser.buffer_pos+3) { - yaml_parser_set_scanner_error(parser, "while scanning a quoted scalar", - start_mark, "found unexpected document indicator") - return false - } - - // Check for EOF. - if is_z(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a quoted scalar", - start_mark, "found unexpected end of stream") - return false - } - - // Consume non-blank characters. - leading_blanks := false - for !is_blankz(parser.buffer, parser.buffer_pos) { - if single && parser.buffer[parser.buffer_pos] == '\'' && parser.buffer[parser.buffer_pos+1] == '\'' { - // Is is an escaped single quote. - s = append(s, '\'') - skip(parser) - skip(parser) - - } else if single && parser.buffer[parser.buffer_pos] == '\'' { - // It is a right single quote. - break - } else if !single && parser.buffer[parser.buffer_pos] == '"' { - // It is a right double quote. - break - - } else if !single && parser.buffer[parser.buffer_pos] == '\\' && is_break(parser.buffer, parser.buffer_pos+1) { - // It is an escaped line break. - if parser.unread < 3 && !yaml_parser_update_buffer(parser, 3) { - return false - } - skip(parser) - skip_line(parser) - leading_blanks = true - break - - } else if !single && parser.buffer[parser.buffer_pos] == '\\' { - // It is an escape sequence. - code_length := 0 - - // Check the escape character. - switch parser.buffer[parser.buffer_pos+1] { - case '0': - s = append(s, 0) - case 'a': - s = append(s, '\x07') - case 'b': - s = append(s, '\x08') - case 't', '\t': - s = append(s, '\x09') - case 'n': - s = append(s, '\x0A') - case 'v': - s = append(s, '\x0B') - case 'f': - s = append(s, '\x0C') - case 'r': - s = append(s, '\x0D') - case 'e': - s = append(s, '\x1B') - case ' ': - s = append(s, '\x20') - case '"': - s = append(s, '"') - case '\'': - s = append(s, '\'') - case '\\': - s = append(s, '\\') - case 'N': // NEL (#x85) - s = append(s, '\xC2') - s = append(s, '\x85') - case '_': // #xA0 - s = append(s, '\xC2') - s = append(s, '\xA0') - case 'L': // LS (#x2028) - s = append(s, '\xE2') - s = append(s, '\x80') - s = append(s, '\xA8') - case 'P': // PS (#x2029) - s = append(s, '\xE2') - s = append(s, '\x80') - s = append(s, '\xA9') - case 'x': - code_length = 2 - case 'u': - code_length = 4 - case 'U': - code_length = 8 - default: - yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar", - start_mark, "found unknown escape character") - return false - } - - skip(parser) - skip(parser) - - // Consume an arbitrary escape code. - if code_length > 0 { - var value int - - // Scan the character value. - if parser.unread < code_length && !yaml_parser_update_buffer(parser, code_length) { - return false - } - for k := 0; k < code_length; k++ { - if !is_hex(parser.buffer, parser.buffer_pos+k) { - yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar", - start_mark, "did not find expected hexdecimal number") - return false - } - value = (value << 4) + as_hex(parser.buffer, parser.buffer_pos+k) - } - - // Check the value and write the character. - if (value >= 0xD800 && value <= 0xDFFF) || value > 0x10FFFF { - yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar", - start_mark, "found invalid Unicode character escape code") - return false - } - if value <= 0x7F { - s = append(s, byte(value)) - } else if value <= 0x7FF { - s = append(s, byte(0xC0+(value>>6))) - s = append(s, byte(0x80+(value&0x3F))) - } else if value <= 0xFFFF { - s = append(s, byte(0xE0+(value>>12))) - s = append(s, byte(0x80+((value>>6)&0x3F))) - s = append(s, byte(0x80+(value&0x3F))) - } else { - s = append(s, byte(0xF0+(value>>18))) - s = append(s, byte(0x80+((value>>12)&0x3F))) - s = append(s, byte(0x80+((value>>6)&0x3F))) - s = append(s, byte(0x80+(value&0x3F))) - } - - // Advance the pointer. - for k := 0; k < code_length; k++ { - skip(parser) - } - } - } else { - // It is a non-escaped non-blank character. - s = read(parser, s) - } - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - } - - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - // Check if we are at the end of the scalar. - if single { - if parser.buffer[parser.buffer_pos] == '\'' { - break - } - } else { - if parser.buffer[parser.buffer_pos] == '"' { - break - } - } - - // Consume blank characters. - for is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos) { - if is_blank(parser.buffer, parser.buffer_pos) { - // Consume a space or a tab character. - if !leading_blanks { - whitespaces = read(parser, whitespaces) - } else { - skip(parser) - } - } else { - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - - // Check if it is a first line break. - if !leading_blanks { - whitespaces = whitespaces[:0] - leading_break = read_line(parser, leading_break) - leading_blanks = true - } else { - trailing_breaks = read_line(parser, trailing_breaks) - } - } - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Join the whitespaces or fold line breaks. - if leading_blanks { - // Do we need to fold line breaks? - if len(leading_break) > 0 && leading_break[0] == '\n' { - if len(trailing_breaks) == 0 { - s = append(s, ' ') - } else { - s = append(s, trailing_breaks...) - } - } else { - s = append(s, leading_break...) - s = append(s, trailing_breaks...) - } - trailing_breaks = trailing_breaks[:0] - leading_break = leading_break[:0] - } else { - s = append(s, whitespaces...) - whitespaces = whitespaces[:0] - } - } - - // Eat the right quote. - skip(parser) - end_mark := parser.mark - - // Create a token. - *token = yaml_token_t{ - typ: yaml_SCALAR_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - value: s, - style: yaml_SINGLE_QUOTED_SCALAR_STYLE, - } - if !single { - token.style = yaml_DOUBLE_QUOTED_SCALAR_STYLE - } - return true -} - -// Scan a plain scalar. -func yaml_parser_scan_plain_scalar(parser *yaml_parser_t, token *yaml_token_t) bool { - - var s, leading_break, trailing_breaks, whitespaces []byte - var leading_blanks bool - var indent = parser.indent + 1 - - start_mark := parser.mark - end_mark := parser.mark - - // Consume the content of the plain scalar. - for { - // Check for a document indicator. - if parser.unread < 4 && !yaml_parser_update_buffer(parser, 4) { - return false - } - if parser.mark.column == 0 && - ((parser.buffer[parser.buffer_pos+0] == '-' && - parser.buffer[parser.buffer_pos+1] == '-' && - parser.buffer[parser.buffer_pos+2] == '-') || - (parser.buffer[parser.buffer_pos+0] == '.' && - parser.buffer[parser.buffer_pos+1] == '.' && - parser.buffer[parser.buffer_pos+2] == '.')) && - is_blankz(parser.buffer, parser.buffer_pos+3) { - break - } - - // Check for a comment. - if parser.buffer[parser.buffer_pos] == '#' { - break - } - - // Consume non-blank characters. - for !is_blankz(parser.buffer, parser.buffer_pos) { - - // Check for indicators that may end a plain scalar. - if (parser.buffer[parser.buffer_pos] == ':' && is_blankz(parser.buffer, parser.buffer_pos+1)) || - (parser.flow_level > 0 && - (parser.buffer[parser.buffer_pos] == ',' || - parser.buffer[parser.buffer_pos] == '?' || parser.buffer[parser.buffer_pos] == '[' || - parser.buffer[parser.buffer_pos] == ']' || parser.buffer[parser.buffer_pos] == '{' || - parser.buffer[parser.buffer_pos] == '}')) { - break - } - - // Check if we need to join whitespaces and breaks. - if leading_blanks || len(whitespaces) > 0 { - if leading_blanks { - // Do we need to fold line breaks? - if leading_break[0] == '\n' { - if len(trailing_breaks) == 0 { - s = append(s, ' ') - } else { - s = append(s, trailing_breaks...) - } - } else { - s = append(s, leading_break...) - s = append(s, trailing_breaks...) - } - trailing_breaks = trailing_breaks[:0] - leading_break = leading_break[:0] - leading_blanks = false - } else { - s = append(s, whitespaces...) - whitespaces = whitespaces[:0] - } - } - - // Copy the character. - s = read(parser, s) - - end_mark = parser.mark - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - } - - // Is it the end? - if !(is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos)) { - break - } - - // Consume blank characters. - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - - for is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos) { - if is_blank(parser.buffer, parser.buffer_pos) { - - // Check for tab characters that abuse indentation. - if leading_blanks && parser.mark.column < indent && is_tab(parser.buffer, parser.buffer_pos) { - yaml_parser_set_scanner_error(parser, "while scanning a plain scalar", - start_mark, "found a tab character that violates indentation") - return false - } - - // Consume a space or a tab character. - if !leading_blanks { - whitespaces = read(parser, whitespaces) - } else { - skip(parser) - } - } else { - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - - // Check if it is a first line break. - if !leading_blanks { - whitespaces = whitespaces[:0] - leading_break = read_line(parser, leading_break) - leading_blanks = true - } else { - trailing_breaks = read_line(parser, trailing_breaks) - } - } - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - } - - // Check indentation level. - if parser.flow_level == 0 && parser.mark.column < indent { - break - } - } - - // Create a token. - *token = yaml_token_t{ - typ: yaml_SCALAR_TOKEN, - start_mark: start_mark, - end_mark: end_mark, - value: s, - style: yaml_PLAIN_SCALAR_STYLE, - } - - // Note that we change the 'simple_key_allowed' flag. - if leading_blanks { - parser.simple_key_allowed = true - } - return true -} - -func yaml_parser_scan_line_comment(parser *yaml_parser_t, token_mark yaml_mark_t) bool { - if parser.newlines > 0 { - return true - } - - var start_mark yaml_mark_t - var text []byte - - for peek := 0; peek < 512; peek++ { - if parser.unread < peek+1 && !yaml_parser_update_buffer(parser, peek+1) { - break - } - if is_blank(parser.buffer, parser.buffer_pos+peek) { - continue - } - if parser.buffer[parser.buffer_pos+peek] == '#' { - seen := parser.mark.index+peek - for { - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if is_breakz(parser.buffer, parser.buffer_pos) { - if parser.mark.index >= seen { - break - } - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - skip_line(parser) - } else if parser.mark.index >= seen { - if len(text) == 0 { - start_mark = parser.mark - } - text = read(parser, text) - } else { - skip(parser) - } - } - } - break - } - if len(text) > 0 { - parser.comments = append(parser.comments, yaml_comment_t{ - token_mark: token_mark, - start_mark: start_mark, - line: text, - }) - } - return true -} - -func yaml_parser_scan_comments(parser *yaml_parser_t, scan_mark yaml_mark_t) bool { - token := parser.tokens[len(parser.tokens)-1] - - if token.typ == yaml_FLOW_ENTRY_TOKEN && len(parser.tokens) > 1 { - token = parser.tokens[len(parser.tokens)-2] - } - - var token_mark = token.start_mark - var start_mark yaml_mark_t - var next_indent = parser.indent - if next_indent < 0 { - next_indent = 0 - } - - var recent_empty = false - var first_empty = parser.newlines <= 1 - - var line = parser.mark.line - var column = parser.mark.column - - var text []byte - - // The foot line is the place where a comment must start to - // still be considered as a foot of the prior content. - // If there's some content in the currently parsed line, then - // the foot is the line below it. - var foot_line = -1 - if scan_mark.line > 0 { - foot_line = parser.mark.line-parser.newlines+1 - if parser.newlines == 0 && parser.mark.column > 1 { - foot_line++ - } - } - - var peek = 0 - for ; peek < 512; peek++ { - if parser.unread < peek+1 && !yaml_parser_update_buffer(parser, peek+1) { - break - } - column++ - if is_blank(parser.buffer, parser.buffer_pos+peek) { - continue - } - c := parser.buffer[parser.buffer_pos+peek] - var close_flow = parser.flow_level > 0 && (c == ']' || c == '}') - if close_flow || is_breakz(parser.buffer, parser.buffer_pos+peek) { - // Got line break or terminator. - if close_flow || !recent_empty { - if close_flow || first_empty && (start_mark.line == foot_line && token.typ != yaml_VALUE_TOKEN || start_mark.column-1 < next_indent) { - // This is the first empty line and there were no empty lines before, - // so this initial part of the comment is a foot of the prior token - // instead of being a head for the following one. Split it up. - // Alternatively, this might also be the last comment inside a flow - // scope, so it must be a footer. - if len(text) > 0 { - if start_mark.column-1 < next_indent { - // If dedented it's unrelated to the prior token. - token_mark = start_mark - } - parser.comments = append(parser.comments, yaml_comment_t{ - scan_mark: scan_mark, - token_mark: token_mark, - start_mark: start_mark, - end_mark: yaml_mark_t{parser.mark.index + peek, line, column}, - foot: text, - }) - scan_mark = yaml_mark_t{parser.mark.index + peek, line, column} - token_mark = scan_mark - text = nil - } - } else { - if len(text) > 0 && parser.buffer[parser.buffer_pos+peek] != 0 { - text = append(text, '\n') - } - } - } - if !is_break(parser.buffer, parser.buffer_pos+peek) { - break - } - first_empty = false - recent_empty = true - column = 0 - line++ - continue - } - - if len(text) > 0 && (close_flow || column-1 < next_indent && column != start_mark.column) { - // The comment at the different indentation is a foot of the - // preceding data rather than a head of the upcoming one. - parser.comments = append(parser.comments, yaml_comment_t{ - scan_mark: scan_mark, - token_mark: token_mark, - start_mark: start_mark, - end_mark: yaml_mark_t{parser.mark.index + peek, line, column}, - foot: text, - }) - scan_mark = yaml_mark_t{parser.mark.index + peek, line, column} - token_mark = scan_mark - text = nil - } - - if parser.buffer[parser.buffer_pos+peek] != '#' { - break - } - - if len(text) == 0 { - start_mark = yaml_mark_t{parser.mark.index + peek, line, column} - } else { - text = append(text, '\n') - } - - recent_empty = false - - // Consume until after the consumed comment line. - seen := parser.mark.index+peek - for { - if parser.unread < 1 && !yaml_parser_update_buffer(parser, 1) { - return false - } - if is_breakz(parser.buffer, parser.buffer_pos) { - if parser.mark.index >= seen { - break - } - if parser.unread < 2 && !yaml_parser_update_buffer(parser, 2) { - return false - } - skip_line(parser) - } else if parser.mark.index >= seen { - text = read(parser, text) - } else { - skip(parser) - } - } - - peek = 0 - column = 0 - line = parser.mark.line - next_indent = parser.indent - if next_indent < 0 { - next_indent = 0 - } - } - - if len(text) > 0 { - parser.comments = append(parser.comments, yaml_comment_t{ - scan_mark: scan_mark, - token_mark: start_mark, - start_mark: start_mark, - end_mark: yaml_mark_t{parser.mark.index + peek - 1, line, column}, - head: text, - }) - } - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/sorter.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/sorter.go deleted file mode 100644 index 9210ece7..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/sorter.go +++ /dev/null @@ -1,134 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// -// 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 yaml - -import ( - "reflect" - "unicode" -) - -type keyList []reflect.Value - -func (l keyList) Len() int { return len(l) } -func (l keyList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } -func (l keyList) Less(i, j int) bool { - a := l[i] - b := l[j] - ak := a.Kind() - bk := b.Kind() - for (ak == reflect.Interface || ak == reflect.Ptr) && !a.IsNil() { - a = a.Elem() - ak = a.Kind() - } - for (bk == reflect.Interface || bk == reflect.Ptr) && !b.IsNil() { - b = b.Elem() - bk = b.Kind() - } - af, aok := keyFloat(a) - bf, bok := keyFloat(b) - if aok && bok { - if af != bf { - return af < bf - } - if ak != bk { - return ak < bk - } - return numLess(a, b) - } - if ak != reflect.String || bk != reflect.String { - return ak < bk - } - ar, br := []rune(a.String()), []rune(b.String()) - digits := false - for i := 0; i < len(ar) && i < len(br); i++ { - if ar[i] == br[i] { - digits = unicode.IsDigit(ar[i]) - continue - } - al := unicode.IsLetter(ar[i]) - bl := unicode.IsLetter(br[i]) - if al && bl { - return ar[i] < br[i] - } - if al || bl { - if digits { - return al - } else { - return bl - } - } - var ai, bi int - var an, bn int64 - if ar[i] == '0' || br[i] == '0' { - for j := i - 1; j >= 0 && unicode.IsDigit(ar[j]); j-- { - if ar[j] != '0' { - an = 1 - bn = 1 - break - } - } - } - for ai = i; ai < len(ar) && unicode.IsDigit(ar[ai]); ai++ { - an = an*10 + int64(ar[ai]-'0') - } - for bi = i; bi < len(br) && unicode.IsDigit(br[bi]); bi++ { - bn = bn*10 + int64(br[bi]-'0') - } - if an != bn { - return an < bn - } - if ai != bi { - return ai < bi - } - return ar[i] < br[i] - } - return len(ar) < len(br) -} - -// keyFloat returns a float value for v if it is a number/bool -// and whether it is a number/bool or not. -func keyFloat(v reflect.Value) (f float64, ok bool) { - switch v.Kind() { - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - return float64(v.Int()), true - case reflect.Float32, reflect.Float64: - return v.Float(), true - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - return float64(v.Uint()), true - case reflect.Bool: - if v.Bool() { - return 1, true - } - return 0, true - } - return 0, false -} - -// numLess returns whether a < b. -// a and b must necessarily have the same kind. -func numLess(a, b reflect.Value) bool { - switch a.Kind() { - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - return a.Int() < b.Int() - case reflect.Float32, reflect.Float64: - return a.Float() < b.Float() - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - return a.Uint() < b.Uint() - case reflect.Bool: - return !a.Bool() && b.Bool() - } - panic("not a number") -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/writerc.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/writerc.go deleted file mode 100644 index b8a116bf..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/writerc.go +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -// Set the writer error and return false. -func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool { - emitter.error = yaml_WRITER_ERROR - emitter.problem = problem - return false -} - -// Flush the output buffer. -func yaml_emitter_flush(emitter *yaml_emitter_t) bool { - if emitter.write_handler == nil { - panic("write handler not set") - } - - // Check if the buffer is empty. - if emitter.buffer_pos == 0 { - return true - } - - if err := emitter.write_handler(emitter, emitter.buffer[:emitter.buffer_pos]); err != nil { - return yaml_emitter_set_writer_error(emitter, "write error: "+err.Error()) - } - emitter.buffer_pos = 0 - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yaml.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yaml.go deleted file mode 100644 index bb6418db..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yaml.go +++ /dev/null @@ -1,708 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// -// 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 yaml implements YAML support for the Go language. -// -// Source code and other details for the project are available at GitHub: -// -// https://github.com/go-yaml/yaml -// -package yaml - -import ( - "errors" - "fmt" - "io" - "reflect" - "strings" - "sync" - "unicode/utf8" -) - -// The Unmarshaler interface may be implemented by types to customize their -// behavior when being unmarshaled from a YAML document. -type Unmarshaler interface { - UnmarshalYAML(value *Node) error -} - -type obsoleteUnmarshaler interface { - UnmarshalYAML(unmarshal func(interface{}) error) error -} - -// The Marshaler interface may be implemented by types to customize their -// behavior when being marshaled into a YAML document. The returned value -// is marshaled in place of the original value implementing Marshaler. -// -// If an error is returned by MarshalYAML, the marshaling procedure stops -// and returns with the provided error. -type Marshaler interface { - MarshalYAML() (interface{}, error) -} - -// Unmarshal decodes the first document found within the in byte slice -// and assigns decoded values into the out value. -// -// Maps and pointers (to a struct, string, int, etc) are accepted as out -// values. If an internal pointer within a struct is not initialized, -// the yaml package will initialize it if necessary for unmarshalling -// the provided data. The out parameter must not be nil. -// -// The type of the decoded values should be compatible with the respective -// values in out. If one or more values cannot be decoded due to a type -// mismatches, decoding continues partially until the end of the YAML -// content, and a *yaml.TypeError is returned with details for all -// missed values. -// -// Struct fields are only unmarshalled if they are exported (have an -// upper case first letter), and are unmarshalled using the field name -// lowercased as the default key. Custom keys may be defined via the -// "yaml" name in the field tag: the content preceding the first comma -// is used as the key, and the following comma-separated options are -// used to tweak the marshalling process (see Marshal). -// Conflicting names result in a runtime error. -// -// For example: -// -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// var t T -// yaml.Unmarshal([]byte("a: 1\nb: 2"), &t) -// -// See the documentation of Marshal for the format of tags and a list of -// supported tag options. -// -func Unmarshal(in []byte, out interface{}) (err error) { - return unmarshal(in, out, false) -} - -// A Decoder reads and decodes YAML values from an input stream. -type Decoder struct { - parser *parser - knownFields bool -} - -// NewDecoder returns a new decoder that reads from r. -// -// The decoder introduces its own buffering and may read -// data from r beyond the YAML values requested. -func NewDecoder(r io.Reader) *Decoder { - return &Decoder{ - parser: newParserFromReader(r), - } -} - -// KnownFields ensures that the keys in decoded mappings to -// exist as fields in the struct being decoded into. -func (dec *Decoder) KnownFields(enable bool) { - dec.knownFields = enable -} - -// Decode reads the next YAML-encoded value from its input -// and stores it in the value pointed to by v. -// -// See the documentation for Unmarshal for details about the -// conversion of YAML into a Go value. -func (dec *Decoder) Decode(v interface{}) (err error) { - d := newDecoder() - d.knownFields = dec.knownFields - defer handleErr(&err) - node := dec.parser.parse() - if node == nil { - return io.EOF - } - out := reflect.ValueOf(v) - if out.Kind() == reflect.Ptr && !out.IsNil() { - out = out.Elem() - } - d.unmarshal(node, out) - if len(d.terrors) > 0 { - return &TypeError{d.terrors} - } - return nil -} - -// Decode decodes the node and stores its data into the value pointed to by v. -// -// See the documentation for Unmarshal for details about the -// conversion of YAML into a Go value. -func (n *Node) Decode(v interface{}) (err error) { - d := newDecoder() - defer handleErr(&err) - out := reflect.ValueOf(v) - if out.Kind() == reflect.Ptr && !out.IsNil() { - out = out.Elem() - } - d.unmarshal(n, out) - if len(d.terrors) > 0 { - return &TypeError{d.terrors} - } - return nil -} - -func unmarshal(in []byte, out interface{}, strict bool) (err error) { - defer handleErr(&err) - d := newDecoder() - p := newParser(in) - defer p.destroy() - node := p.parse() - if node != nil { - v := reflect.ValueOf(out) - if v.Kind() == reflect.Ptr && !v.IsNil() { - v = v.Elem() - } - d.unmarshal(node, v) - } - if len(d.terrors) > 0 { - return &TypeError{d.terrors} - } - return nil -} - -// Marshal serializes the value provided into a YAML document. The structure -// of the generated document will reflect the structure of the value itself. -// Maps and pointers (to struct, string, int, etc) are accepted as the in value. -// -// Struct fields are only marshalled if they are exported (have an upper case -// first letter), and are marshalled using the field name lowercased as the -// default key. Custom keys may be defined via the "yaml" name in the field -// tag: the content preceding the first comma is used as the key, and the -// following comma-separated options are used to tweak the marshalling process. -// Conflicting names result in a runtime error. -// -// The field tag format accepted is: -// -// `(...) yaml:"[][,[,]]" (...)` -// -// The following flags are currently supported: -// -// omitempty Only include the field if it's not set to the zero -// value for the type or to empty slices or maps. -// Zero valued structs will be omitted if all their public -// fields are zero, unless they implement an IsZero -// method (see the IsZeroer interface type), in which -// case the field will be excluded if IsZero returns true. -// -// flow Marshal using a flow style (useful for structs, -// sequences and maps). -// -// inline Inline the field, which must be a struct or a map, -// causing all of its fields or keys to be processed as if -// they were part of the outer struct. For maps, keys must -// not conflict with the yaml keys of other struct fields. -// -// In addition, if the key is "-", the field is ignored. -// -// For example: -// -// type T struct { -// F int `yaml:"a,omitempty"` -// B int -// } -// yaml.Marshal(&T{B: 2}) // Returns "b: 2\n" -// yaml.Marshal(&T{F: 1}} // Returns "a: 1\nb: 0\n" -// -func Marshal(in interface{}) (out []byte, err error) { - defer handleErr(&err) - e := newEncoder() - defer e.destroy() - e.marshalDoc("", reflect.ValueOf(in)) - e.finish() - out = e.out - return -} - -// An Encoder writes YAML values to an output stream. -type Encoder struct { - encoder *encoder -} - -// NewEncoder returns a new encoder that writes to w. -// The Encoder should be closed after use to flush all data -// to w. -func NewEncoder(w io.Writer) *Encoder { - return &Encoder{ - encoder: newEncoderWithWriter(w), - } -} - -// Encode writes the YAML encoding of v to the stream. -// If multiple items are encoded to the stream, the -// second and subsequent document will be preceded -// with a "---" document separator, but the first will not. -// -// See the documentation for Marshal for details about the conversion of Go -// values to YAML. -func (e *Encoder) Encode(v interface{}) (err error) { - defer handleErr(&err) - e.encoder.marshalDoc("", reflect.ValueOf(v)) - return nil -} - -// Encode encodes value v and stores its representation in n. -// -// See the documentation for Marshal for details about the -// conversion of Go values into YAML. -func (n *Node) Encode(v interface{}) (err error) { - defer handleErr(&err) - e := newEncoder() - defer e.destroy() - e.marshalDoc("", reflect.ValueOf(v)) - e.finish() - p := newParser(e.out) - p.textless = true - defer p.destroy() - doc := p.parse() - *n = *doc.Content[0] - return nil -} - -// SetIndent changes the used indentation used when encoding. -func (e *Encoder) SetIndent(spaces int) { - if spaces < 0 { - panic("yaml: cannot indent to a negative number of spaces") - } - e.encoder.indent = spaces -} - -// CompactSeqIndent makes it so that '- ' is considered part of the indentation. -func (e *Encoder) CompactSeqIndent() { - e.encoder.emitter.compact_sequence_indent = true -} - -// DefaultSeqIndent makes it so that '- ' is not considered part of the indentation. -func (e *Encoder) DefaultSeqIndent() { - e.encoder.emitter.compact_sequence_indent = false -} - -// Close closes the encoder by writing any remaining data. -// It does not write a stream terminating string "...". -func (e *Encoder) Close() (err error) { - defer handleErr(&err) - e.encoder.finish() - return nil -} - -func handleErr(err *error) { - if v := recover(); v != nil { - if e, ok := v.(yamlError); ok { - *err = e.err - } else { - panic(v) - } - } -} - -type yamlError struct { - err error -} - -func fail(err error) { - panic(yamlError{err}) -} - -func failf(format string, args ...interface{}) { - panic(yamlError{fmt.Errorf("yaml: "+format, args...)}) -} - -// A TypeError is returned by Unmarshal when one or more fields in -// the YAML document cannot be properly decoded into the requested -// types. When this error is returned, the value is still -// unmarshaled partially. -type TypeError struct { - Errors []string -} - -func (e *TypeError) Error() string { - return fmt.Sprintf("yaml: unmarshal errors:\n %s", strings.Join(e.Errors, "\n ")) -} - -type Kind uint32 - -const ( - DocumentNode Kind = 1 << iota - SequenceNode - MappingNode - ScalarNode - AliasNode -) - -type Style uint32 - -const ( - TaggedStyle Style = 1 << iota - DoubleQuotedStyle - SingleQuotedStyle - LiteralStyle - FoldedStyle - FlowStyle -) - -// Node represents an element in the YAML document hierarchy. While documents -// are typically encoded and decoded into higher level types, such as structs -// and maps, Node is an intermediate representation that allows detailed -// control over the content being decoded or encoded. -// -// It's worth noting that although Node offers access into details such as -// line numbers, colums, and comments, the content when re-encoded will not -// have its original textual representation preserved. An effort is made to -// render the data plesantly, and to preserve comments near the data they -// describe, though. -// -// Values that make use of the Node type interact with the yaml package in the -// same way any other type would do, by encoding and decoding yaml data -// directly or indirectly into them. -// -// For example: -// -// var person struct { -// Name string -// Address yaml.Node -// } -// err := yaml.Unmarshal(data, &person) -// -// Or by itself: -// -// var person Node -// err := yaml.Unmarshal(data, &person) -// -type Node struct { - // Kind defines whether the node is a document, a mapping, a sequence, - // a scalar value, or an alias to another node. The specific data type of - // scalar nodes may be obtained via the ShortTag and LongTag methods. - Kind Kind - - // Style allows customizing the apperance of the node in the tree. - Style Style - - // Tag holds the YAML tag defining the data type for the value. - // When decoding, this field will always be set to the resolved tag, - // even when it wasn't explicitly provided in the YAML content. - // When encoding, if this field is unset the value type will be - // implied from the node properties, and if it is set, it will only - // be serialized into the representation if TaggedStyle is used or - // the implicit tag diverges from the provided one. - Tag string - - // Value holds the unescaped and unquoted represenation of the value. - Value string - - // Anchor holds the anchor name for this node, which allows aliases to point to it. - Anchor string - - // Alias holds the node that this alias points to. Only valid when Kind is AliasNode. - Alias *Node - - // Content holds contained nodes for documents, mappings, and sequences. - Content []*Node - - // HeadComment holds any comments in the lines preceding the node and - // not separated by an empty line. - HeadComment string - - // LineComment holds any comments at the end of the line where the node is in. - LineComment string - - // FootComment holds any comments following the node and before empty lines. - FootComment string - - // Line and Column hold the node position in the decoded YAML text. - // These fields are not respected when encoding the node. - Line int - Column int -} - -// IsZero returns whether the node has all of its fields unset. -func (n *Node) IsZero() bool { - return n.Kind == 0 && n.Style == 0 && n.Tag == "" && n.Value == "" && n.Anchor == "" && n.Alias == nil && n.Content == nil && - n.HeadComment == "" && n.LineComment == "" && n.FootComment == "" && n.Line == 0 && n.Column == 0 -} - - -// LongTag returns the long form of the tag that indicates the data type for -// the node. If the Tag field isn't explicitly defined, one will be computed -// based on the node properties. -func (n *Node) LongTag() string { - return longTag(n.ShortTag()) -} - -// ShortTag returns the short form of the YAML tag that indicates data type for -// the node. If the Tag field isn't explicitly defined, one will be computed -// based on the node properties. -func (n *Node) ShortTag() string { - if n.indicatedString() { - return strTag - } - if n.Tag == "" || n.Tag == "!" { - switch n.Kind { - case MappingNode: - return mapTag - case SequenceNode: - return seqTag - case AliasNode: - if n.Alias != nil { - return n.Alias.ShortTag() - } - case ScalarNode: - tag, _ := resolve("", n.Value) - return tag - case 0: - // Special case to make the zero value convenient. - if n.IsZero() { - return nullTag - } - } - return "" - } - return shortTag(n.Tag) -} - -func (n *Node) indicatedString() bool { - return n.Kind == ScalarNode && - (shortTag(n.Tag) == strTag || - (n.Tag == "" || n.Tag == "!") && n.Style&(SingleQuotedStyle|DoubleQuotedStyle|LiteralStyle|FoldedStyle) != 0) -} - -// SetString is a convenience function that sets the node to a string value -// and defines its style in a pleasant way depending on its content. -func (n *Node) SetString(s string) { - n.Kind = ScalarNode - if utf8.ValidString(s) { - n.Value = s - n.Tag = strTag - } else { - n.Value = encodeBase64(s) - n.Tag = binaryTag - } - if strings.Contains(n.Value, "\n") { - n.Style = LiteralStyle - } -} - -// -------------------------------------------------------------------------- -// Maintain a mapping of keys to structure field indexes - -// The code in this section was copied from mgo/bson. - -// structInfo holds details for the serialization of fields of -// a given struct. -type structInfo struct { - FieldsMap map[string]fieldInfo - FieldsList []fieldInfo - - // InlineMap is the number of the field in the struct that - // contains an ,inline map, or -1 if there's none. - InlineMap int - - // InlineUnmarshalers holds indexes to inlined fields that - // contain unmarshaler values. - InlineUnmarshalers [][]int -} - -type fieldInfo struct { - Key string - Num int - OmitEmpty bool - Flow bool - // Id holds the unique field identifier, so we can cheaply - // check for field duplicates without maintaining an extra map. - Id int - - // Inline holds the field index if the field is part of an inlined struct. - Inline []int -} - -var structMap = make(map[reflect.Type]*structInfo) -var fieldMapMutex sync.RWMutex -var unmarshalerType reflect.Type - -func init() { - var v Unmarshaler - unmarshalerType = reflect.ValueOf(&v).Elem().Type() -} - -func getStructInfo(st reflect.Type) (*structInfo, error) { - fieldMapMutex.RLock() - sinfo, found := structMap[st] - fieldMapMutex.RUnlock() - if found { - return sinfo, nil - } - - n := st.NumField() - fieldsMap := make(map[string]fieldInfo) - fieldsList := make([]fieldInfo, 0, n) - inlineMap := -1 - inlineUnmarshalers := [][]int(nil) - for i := 0; i != n; i++ { - field := st.Field(i) - if field.PkgPath != "" && !field.Anonymous { - continue // Private field - } - - info := fieldInfo{Num: i} - - tag := field.Tag.Get("yaml") - if tag == "" && strings.Index(string(field.Tag), ":") < 0 { - tag = string(field.Tag) - } - if tag == "-" { - continue - } - - inline := false - fields := strings.Split(tag, ",") - if len(fields) > 1 { - for _, flag := range fields[1:] { - switch flag { - case "omitempty": - info.OmitEmpty = true - case "flow": - info.Flow = true - case "inline": - inline = true - default: - return nil, errors.New(fmt.Sprintf("unsupported flag %q in tag %q of type %s", flag, tag, st)) - } - } - tag = fields[0] - } - - if inline { - switch field.Type.Kind() { - case reflect.Map: - if inlineMap >= 0 { - return nil, errors.New("multiple ,inline maps in struct " + st.String()) - } - if field.Type.Key() != reflect.TypeOf("") { - return nil, errors.New("option ,inline needs a map with string keys in struct " + st.String()) - } - inlineMap = info.Num - case reflect.Struct, reflect.Ptr: - ftype := field.Type - for ftype.Kind() == reflect.Ptr { - ftype = ftype.Elem() - } - if ftype.Kind() != reflect.Struct { - return nil, errors.New("option ,inline may only be used on a struct or map field") - } - if reflect.PtrTo(ftype).Implements(unmarshalerType) { - inlineUnmarshalers = append(inlineUnmarshalers, []int{i}) - } else { - sinfo, err := getStructInfo(ftype) - if err != nil { - return nil, err - } - for _, index := range sinfo.InlineUnmarshalers { - inlineUnmarshalers = append(inlineUnmarshalers, append([]int{i}, index...)) - } - for _, finfo := range sinfo.FieldsList { - if _, found := fieldsMap[finfo.Key]; found { - msg := "duplicated key '" + finfo.Key + "' in struct " + st.String() - return nil, errors.New(msg) - } - if finfo.Inline == nil { - finfo.Inline = []int{i, finfo.Num} - } else { - finfo.Inline = append([]int{i}, finfo.Inline...) - } - finfo.Id = len(fieldsList) - fieldsMap[finfo.Key] = finfo - fieldsList = append(fieldsList, finfo) - } - } - default: - return nil, errors.New("option ,inline may only be used on a struct or map field") - } - continue - } - - if tag != "" { - info.Key = tag - } else { - info.Key = strings.ToLower(field.Name) - } - - if _, found = fieldsMap[info.Key]; found { - msg := "duplicated key '" + info.Key + "' in struct " + st.String() - return nil, errors.New(msg) - } - - info.Id = len(fieldsList) - fieldsList = append(fieldsList, info) - fieldsMap[info.Key] = info - } - - sinfo = &structInfo{ - FieldsMap: fieldsMap, - FieldsList: fieldsList, - InlineMap: inlineMap, - InlineUnmarshalers: inlineUnmarshalers, - } - - fieldMapMutex.Lock() - structMap[st] = sinfo - fieldMapMutex.Unlock() - return sinfo, nil -} - -// IsZeroer is used to check whether an object is zero to -// determine whether it should be omitted when marshaling -// with the omitempty flag. One notable implementation -// is time.Time. -type IsZeroer interface { - IsZero() bool -} - -func isZero(v reflect.Value) bool { - kind := v.Kind() - if z, ok := v.Interface().(IsZeroer); ok { - if (kind == reflect.Ptr || kind == reflect.Interface) && v.IsNil() { - return true - } - return z.IsZero() - } - switch kind { - case reflect.String: - return len(v.String()) == 0 - case reflect.Interface, reflect.Ptr: - return v.IsNil() - case reflect.Slice: - return v.Len() == 0 - case reflect.Map: - return v.Len() == 0 - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - return v.Int() == 0 - case reflect.Float32, reflect.Float64: - return v.Float() == 0 - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - return v.Uint() == 0 - case reflect.Bool: - return !v.Bool() - case reflect.Struct: - vt := v.Type() - for i := v.NumField() - 1; i >= 0; i-- { - if vt.Field(i).PkgPath != "" { - continue // Private field - } - if !isZero(v.Field(i)) { - return false - } - } - return true - } - return false -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlh.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlh.go deleted file mode 100644 index 40c74de4..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlh.go +++ /dev/null @@ -1,809 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -import ( - "fmt" - "io" -) - -// The version directive data. -type yaml_version_directive_t struct { - major int8 // The major version number. - minor int8 // The minor version number. -} - -// The tag directive data. -type yaml_tag_directive_t struct { - handle []byte // The tag handle. - prefix []byte // The tag prefix. -} - -type yaml_encoding_t int - -// The stream encoding. -const ( - // Let the parser choose the encoding. - yaml_ANY_ENCODING yaml_encoding_t = iota - - yaml_UTF8_ENCODING // The default UTF-8 encoding. - yaml_UTF16LE_ENCODING // The UTF-16-LE encoding with BOM. - yaml_UTF16BE_ENCODING // The UTF-16-BE encoding with BOM. -) - -type yaml_break_t int - -// Line break types. -const ( - // Let the parser choose the break type. - yaml_ANY_BREAK yaml_break_t = iota - - yaml_CR_BREAK // Use CR for line breaks (Mac style). - yaml_LN_BREAK // Use LN for line breaks (Unix style). - yaml_CRLN_BREAK // Use CR LN for line breaks (DOS style). -) - -type yaml_error_type_t int - -// Many bad things could happen with the parser and emitter. -const ( - // No error is produced. - yaml_NO_ERROR yaml_error_type_t = iota - - yaml_MEMORY_ERROR // Cannot allocate or reallocate a block of memory. - yaml_READER_ERROR // Cannot read or decode the input stream. - yaml_SCANNER_ERROR // Cannot scan the input stream. - yaml_PARSER_ERROR // Cannot parse the input stream. - yaml_COMPOSER_ERROR // Cannot compose a YAML document. - yaml_WRITER_ERROR // Cannot write to the output stream. - yaml_EMITTER_ERROR // Cannot emit a YAML stream. -) - -// The pointer position. -type yaml_mark_t struct { - index int // The position index. - line int // The position line. - column int // The position column. -} - -// Node Styles - -type yaml_style_t int8 - -type yaml_scalar_style_t yaml_style_t - -// Scalar styles. -const ( - // Let the emitter choose the style. - yaml_ANY_SCALAR_STYLE yaml_scalar_style_t = 0 - - yaml_PLAIN_SCALAR_STYLE yaml_scalar_style_t = 1 << iota // The plain scalar style. - yaml_SINGLE_QUOTED_SCALAR_STYLE // The single-quoted scalar style. - yaml_DOUBLE_QUOTED_SCALAR_STYLE // The double-quoted scalar style. - yaml_LITERAL_SCALAR_STYLE // The literal scalar style. - yaml_FOLDED_SCALAR_STYLE // The folded scalar style. -) - -type yaml_sequence_style_t yaml_style_t - -// Sequence styles. -const ( - // Let the emitter choose the style. - yaml_ANY_SEQUENCE_STYLE yaml_sequence_style_t = iota - - yaml_BLOCK_SEQUENCE_STYLE // The block sequence style. - yaml_FLOW_SEQUENCE_STYLE // The flow sequence style. -) - -type yaml_mapping_style_t yaml_style_t - -// Mapping styles. -const ( - // Let the emitter choose the style. - yaml_ANY_MAPPING_STYLE yaml_mapping_style_t = iota - - yaml_BLOCK_MAPPING_STYLE // The block mapping style. - yaml_FLOW_MAPPING_STYLE // The flow mapping style. -) - -// Tokens - -type yaml_token_type_t int - -// Token types. -const ( - // An empty token. - yaml_NO_TOKEN yaml_token_type_t = iota - - yaml_STREAM_START_TOKEN // A STREAM-START token. - yaml_STREAM_END_TOKEN // A STREAM-END token. - - yaml_VERSION_DIRECTIVE_TOKEN // A VERSION-DIRECTIVE token. - yaml_TAG_DIRECTIVE_TOKEN // A TAG-DIRECTIVE token. - yaml_DOCUMENT_START_TOKEN // A DOCUMENT-START token. - yaml_DOCUMENT_END_TOKEN // A DOCUMENT-END token. - - yaml_BLOCK_SEQUENCE_START_TOKEN // A BLOCK-SEQUENCE-START token. - yaml_BLOCK_MAPPING_START_TOKEN // A BLOCK-SEQUENCE-END token. - yaml_BLOCK_END_TOKEN // A BLOCK-END token. - - yaml_FLOW_SEQUENCE_START_TOKEN // A FLOW-SEQUENCE-START token. - yaml_FLOW_SEQUENCE_END_TOKEN // A FLOW-SEQUENCE-END token. - yaml_FLOW_MAPPING_START_TOKEN // A FLOW-MAPPING-START token. - yaml_FLOW_MAPPING_END_TOKEN // A FLOW-MAPPING-END token. - - yaml_BLOCK_ENTRY_TOKEN // A BLOCK-ENTRY token. - yaml_FLOW_ENTRY_TOKEN // A FLOW-ENTRY token. - yaml_KEY_TOKEN // A KEY token. - yaml_VALUE_TOKEN // A VALUE token. - - yaml_ALIAS_TOKEN // An ALIAS token. - yaml_ANCHOR_TOKEN // An ANCHOR token. - yaml_TAG_TOKEN // A TAG token. - yaml_SCALAR_TOKEN // A SCALAR token. -) - -func (tt yaml_token_type_t) String() string { - switch tt { - case yaml_NO_TOKEN: - return "yaml_NO_TOKEN" - case yaml_STREAM_START_TOKEN: - return "yaml_STREAM_START_TOKEN" - case yaml_STREAM_END_TOKEN: - return "yaml_STREAM_END_TOKEN" - case yaml_VERSION_DIRECTIVE_TOKEN: - return "yaml_VERSION_DIRECTIVE_TOKEN" - case yaml_TAG_DIRECTIVE_TOKEN: - return "yaml_TAG_DIRECTIVE_TOKEN" - case yaml_DOCUMENT_START_TOKEN: - return "yaml_DOCUMENT_START_TOKEN" - case yaml_DOCUMENT_END_TOKEN: - return "yaml_DOCUMENT_END_TOKEN" - case yaml_BLOCK_SEQUENCE_START_TOKEN: - return "yaml_BLOCK_SEQUENCE_START_TOKEN" - case yaml_BLOCK_MAPPING_START_TOKEN: - return "yaml_BLOCK_MAPPING_START_TOKEN" - case yaml_BLOCK_END_TOKEN: - return "yaml_BLOCK_END_TOKEN" - case yaml_FLOW_SEQUENCE_START_TOKEN: - return "yaml_FLOW_SEQUENCE_START_TOKEN" - case yaml_FLOW_SEQUENCE_END_TOKEN: - return "yaml_FLOW_SEQUENCE_END_TOKEN" - case yaml_FLOW_MAPPING_START_TOKEN: - return "yaml_FLOW_MAPPING_START_TOKEN" - case yaml_FLOW_MAPPING_END_TOKEN: - return "yaml_FLOW_MAPPING_END_TOKEN" - case yaml_BLOCK_ENTRY_TOKEN: - return "yaml_BLOCK_ENTRY_TOKEN" - case yaml_FLOW_ENTRY_TOKEN: - return "yaml_FLOW_ENTRY_TOKEN" - case yaml_KEY_TOKEN: - return "yaml_KEY_TOKEN" - case yaml_VALUE_TOKEN: - return "yaml_VALUE_TOKEN" - case yaml_ALIAS_TOKEN: - return "yaml_ALIAS_TOKEN" - case yaml_ANCHOR_TOKEN: - return "yaml_ANCHOR_TOKEN" - case yaml_TAG_TOKEN: - return "yaml_TAG_TOKEN" - case yaml_SCALAR_TOKEN: - return "yaml_SCALAR_TOKEN" - } - return "" -} - -// The token structure. -type yaml_token_t struct { - // The token type. - typ yaml_token_type_t - - // The start/end of the token. - start_mark, end_mark yaml_mark_t - - // The stream encoding (for yaml_STREAM_START_TOKEN). - encoding yaml_encoding_t - - // The alias/anchor/scalar value or tag/tag directive handle - // (for yaml_ALIAS_TOKEN, yaml_ANCHOR_TOKEN, yaml_SCALAR_TOKEN, yaml_TAG_TOKEN, yaml_TAG_DIRECTIVE_TOKEN). - value []byte - - // The tag suffix (for yaml_TAG_TOKEN). - suffix []byte - - // The tag directive prefix (for yaml_TAG_DIRECTIVE_TOKEN). - prefix []byte - - // The scalar style (for yaml_SCALAR_TOKEN). - style yaml_scalar_style_t - - // The version directive major/minor (for yaml_VERSION_DIRECTIVE_TOKEN). - major, minor int8 -} - -// Events - -type yaml_event_type_t int8 - -// Event types. -const ( - // An empty event. - yaml_NO_EVENT yaml_event_type_t = iota - - yaml_STREAM_START_EVENT // A STREAM-START event. - yaml_STREAM_END_EVENT // A STREAM-END event. - yaml_DOCUMENT_START_EVENT // A DOCUMENT-START event. - yaml_DOCUMENT_END_EVENT // A DOCUMENT-END event. - yaml_ALIAS_EVENT // An ALIAS event. - yaml_SCALAR_EVENT // A SCALAR event. - yaml_SEQUENCE_START_EVENT // A SEQUENCE-START event. - yaml_SEQUENCE_END_EVENT // A SEQUENCE-END event. - yaml_MAPPING_START_EVENT // A MAPPING-START event. - yaml_MAPPING_END_EVENT // A MAPPING-END event. - yaml_TAIL_COMMENT_EVENT -) - -var eventStrings = []string{ - yaml_NO_EVENT: "none", - yaml_STREAM_START_EVENT: "stream start", - yaml_STREAM_END_EVENT: "stream end", - yaml_DOCUMENT_START_EVENT: "document start", - yaml_DOCUMENT_END_EVENT: "document end", - yaml_ALIAS_EVENT: "alias", - yaml_SCALAR_EVENT: "scalar", - yaml_SEQUENCE_START_EVENT: "sequence start", - yaml_SEQUENCE_END_EVENT: "sequence end", - yaml_MAPPING_START_EVENT: "mapping start", - yaml_MAPPING_END_EVENT: "mapping end", - yaml_TAIL_COMMENT_EVENT: "tail comment", -} - -func (e yaml_event_type_t) String() string { - if e < 0 || int(e) >= len(eventStrings) { - return fmt.Sprintf("unknown event %d", e) - } - return eventStrings[e] -} - -// The event structure. -type yaml_event_t struct { - - // The event type. - typ yaml_event_type_t - - // The start and end of the event. - start_mark, end_mark yaml_mark_t - - // The document encoding (for yaml_STREAM_START_EVENT). - encoding yaml_encoding_t - - // The version directive (for yaml_DOCUMENT_START_EVENT). - version_directive *yaml_version_directive_t - - // The list of tag directives (for yaml_DOCUMENT_START_EVENT). - tag_directives []yaml_tag_directive_t - - // The comments - head_comment []byte - line_comment []byte - foot_comment []byte - tail_comment []byte - - // The anchor (for yaml_SCALAR_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT, yaml_ALIAS_EVENT). - anchor []byte - - // The tag (for yaml_SCALAR_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT). - tag []byte - - // The scalar value (for yaml_SCALAR_EVENT). - value []byte - - // Is the document start/end indicator implicit, or the tag optional? - // (for yaml_DOCUMENT_START_EVENT, yaml_DOCUMENT_END_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT, yaml_SCALAR_EVENT). - implicit bool - - // Is the tag optional for any non-plain style? (for yaml_SCALAR_EVENT). - quoted_implicit bool - - // The style (for yaml_SCALAR_EVENT, yaml_SEQUENCE_START_EVENT, yaml_MAPPING_START_EVENT). - style yaml_style_t -} - -func (e *yaml_event_t) scalar_style() yaml_scalar_style_t { return yaml_scalar_style_t(e.style) } -func (e *yaml_event_t) sequence_style() yaml_sequence_style_t { return yaml_sequence_style_t(e.style) } -func (e *yaml_event_t) mapping_style() yaml_mapping_style_t { return yaml_mapping_style_t(e.style) } - -// Nodes - -const ( - yaml_NULL_TAG = "tag:yaml.org,2002:null" // The tag !!null with the only possible value: null. - yaml_BOOL_TAG = "tag:yaml.org,2002:bool" // The tag !!bool with the values: true and false. - yaml_STR_TAG = "tag:yaml.org,2002:str" // The tag !!str for string values. - yaml_INT_TAG = "tag:yaml.org,2002:int" // The tag !!int for integer values. - yaml_FLOAT_TAG = "tag:yaml.org,2002:float" // The tag !!float for float values. - yaml_TIMESTAMP_TAG = "tag:yaml.org,2002:timestamp" // The tag !!timestamp for date and time values. - - yaml_SEQ_TAG = "tag:yaml.org,2002:seq" // The tag !!seq is used to denote sequences. - yaml_MAP_TAG = "tag:yaml.org,2002:map" // The tag !!map is used to denote mapping. - - // Not in original libyaml. - yaml_BINARY_TAG = "tag:yaml.org,2002:binary" - yaml_MERGE_TAG = "tag:yaml.org,2002:merge" - - yaml_DEFAULT_SCALAR_TAG = yaml_STR_TAG // The default scalar tag is !!str. - yaml_DEFAULT_SEQUENCE_TAG = yaml_SEQ_TAG // The default sequence tag is !!seq. - yaml_DEFAULT_MAPPING_TAG = yaml_MAP_TAG // The default mapping tag is !!map. -) - -type yaml_node_type_t int - -// Node types. -const ( - // An empty node. - yaml_NO_NODE yaml_node_type_t = iota - - yaml_SCALAR_NODE // A scalar node. - yaml_SEQUENCE_NODE // A sequence node. - yaml_MAPPING_NODE // A mapping node. -) - -// An element of a sequence node. -type yaml_node_item_t int - -// An element of a mapping node. -type yaml_node_pair_t struct { - key int // The key of the element. - value int // The value of the element. -} - -// The node structure. -type yaml_node_t struct { - typ yaml_node_type_t // The node type. - tag []byte // The node tag. - - // The node data. - - // The scalar parameters (for yaml_SCALAR_NODE). - scalar struct { - value []byte // The scalar value. - length int // The length of the scalar value. - style yaml_scalar_style_t // The scalar style. - } - - // The sequence parameters (for YAML_SEQUENCE_NODE). - sequence struct { - items_data []yaml_node_item_t // The stack of sequence items. - style yaml_sequence_style_t // The sequence style. - } - - // The mapping parameters (for yaml_MAPPING_NODE). - mapping struct { - pairs_data []yaml_node_pair_t // The stack of mapping pairs (key, value). - pairs_start *yaml_node_pair_t // The beginning of the stack. - pairs_end *yaml_node_pair_t // The end of the stack. - pairs_top *yaml_node_pair_t // The top of the stack. - style yaml_mapping_style_t // The mapping style. - } - - start_mark yaml_mark_t // The beginning of the node. - end_mark yaml_mark_t // The end of the node. - -} - -// The document structure. -type yaml_document_t struct { - - // The document nodes. - nodes []yaml_node_t - - // The version directive. - version_directive *yaml_version_directive_t - - // The list of tag directives. - tag_directives_data []yaml_tag_directive_t - tag_directives_start int // The beginning of the tag directives list. - tag_directives_end int // The end of the tag directives list. - - start_implicit int // Is the document start indicator implicit? - end_implicit int // Is the document end indicator implicit? - - // The start/end of the document. - start_mark, end_mark yaml_mark_t -} - -// The prototype of a read handler. -// -// The read handler is called when the parser needs to read more bytes from the -// source. The handler should write not more than size bytes to the buffer. -// The number of written bytes should be set to the size_read variable. -// -// [in,out] data A pointer to an application data specified by -// yaml_parser_set_input(). -// [out] buffer The buffer to write the data from the source. -// [in] size The size of the buffer. -// [out] size_read The actual number of bytes read from the source. -// -// On success, the handler should return 1. If the handler failed, -// the returned value should be 0. On EOF, the handler should set the -// size_read to 0 and return 1. -type yaml_read_handler_t func(parser *yaml_parser_t, buffer []byte) (n int, err error) - -// This structure holds information about a potential simple key. -type yaml_simple_key_t struct { - possible bool // Is a simple key possible? - required bool // Is a simple key required? - token_number int // The number of the token. - mark yaml_mark_t // The position mark. -} - -// The states of the parser. -type yaml_parser_state_t int - -const ( - yaml_PARSE_STREAM_START_STATE yaml_parser_state_t = iota - - yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE // Expect the beginning of an implicit document. - yaml_PARSE_DOCUMENT_START_STATE // Expect DOCUMENT-START. - yaml_PARSE_DOCUMENT_CONTENT_STATE // Expect the content of a document. - yaml_PARSE_DOCUMENT_END_STATE // Expect DOCUMENT-END. - yaml_PARSE_BLOCK_NODE_STATE // Expect a block node. - yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE // Expect a block node or indentless sequence. - yaml_PARSE_FLOW_NODE_STATE // Expect a flow node. - yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE // Expect the first entry of a block sequence. - yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE // Expect an entry of a block sequence. - yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE // Expect an entry of an indentless sequence. - yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE // Expect the first key of a block mapping. - yaml_PARSE_BLOCK_MAPPING_KEY_STATE // Expect a block mapping key. - yaml_PARSE_BLOCK_MAPPING_VALUE_STATE // Expect a block mapping value. - yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE // Expect the first entry of a flow sequence. - yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE // Expect an entry of a flow sequence. - yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE // Expect a key of an ordered mapping. - yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE // Expect a value of an ordered mapping. - yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE // Expect the and of an ordered mapping entry. - yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE // Expect the first key of a flow mapping. - yaml_PARSE_FLOW_MAPPING_KEY_STATE // Expect a key of a flow mapping. - yaml_PARSE_FLOW_MAPPING_VALUE_STATE // Expect a value of a flow mapping. - yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE // Expect an empty value of a flow mapping. - yaml_PARSE_END_STATE // Expect nothing. -) - -func (ps yaml_parser_state_t) String() string { - switch ps { - case yaml_PARSE_STREAM_START_STATE: - return "yaml_PARSE_STREAM_START_STATE" - case yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE: - return "yaml_PARSE_IMPLICIT_DOCUMENT_START_STATE" - case yaml_PARSE_DOCUMENT_START_STATE: - return "yaml_PARSE_DOCUMENT_START_STATE" - case yaml_PARSE_DOCUMENT_CONTENT_STATE: - return "yaml_PARSE_DOCUMENT_CONTENT_STATE" - case yaml_PARSE_DOCUMENT_END_STATE: - return "yaml_PARSE_DOCUMENT_END_STATE" - case yaml_PARSE_BLOCK_NODE_STATE: - return "yaml_PARSE_BLOCK_NODE_STATE" - case yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE: - return "yaml_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE" - case yaml_PARSE_FLOW_NODE_STATE: - return "yaml_PARSE_FLOW_NODE_STATE" - case yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE: - return "yaml_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE" - case yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE: - return "yaml_PARSE_BLOCK_SEQUENCE_ENTRY_STATE" - case yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE: - return "yaml_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE" - case yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE: - return "yaml_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE" - case yaml_PARSE_BLOCK_MAPPING_KEY_STATE: - return "yaml_PARSE_BLOCK_MAPPING_KEY_STATE" - case yaml_PARSE_BLOCK_MAPPING_VALUE_STATE: - return "yaml_PARSE_BLOCK_MAPPING_VALUE_STATE" - case yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE: - return "yaml_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE" - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE: - return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_STATE" - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE: - return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE" - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE: - return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE" - case yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE: - return "yaml_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE" - case yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE: - return "yaml_PARSE_FLOW_MAPPING_FIRST_KEY_STATE" - case yaml_PARSE_FLOW_MAPPING_KEY_STATE: - return "yaml_PARSE_FLOW_MAPPING_KEY_STATE" - case yaml_PARSE_FLOW_MAPPING_VALUE_STATE: - return "yaml_PARSE_FLOW_MAPPING_VALUE_STATE" - case yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE: - return "yaml_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE" - case yaml_PARSE_END_STATE: - return "yaml_PARSE_END_STATE" - } - return "" -} - -// This structure holds aliases data. -type yaml_alias_data_t struct { - anchor []byte // The anchor. - index int // The node id. - mark yaml_mark_t // The anchor mark. -} - -// The parser structure. -// -// All members are internal. Manage the structure using the -// yaml_parser_ family of functions. -type yaml_parser_t struct { - - // Error handling - - error yaml_error_type_t // Error type. - - problem string // Error description. - - // The byte about which the problem occurred. - problem_offset int - problem_value int - problem_mark yaml_mark_t - - // The error context. - context string - context_mark yaml_mark_t - - // Reader stuff - - read_handler yaml_read_handler_t // Read handler. - - input_reader io.Reader // File input data. - input []byte // String input data. - input_pos int - - eof bool // EOF flag - - buffer []byte // The working buffer. - buffer_pos int // The current position of the buffer. - - unread int // The number of unread characters in the buffer. - - newlines int // The number of line breaks since last non-break/non-blank character - - raw_buffer []byte // The raw buffer. - raw_buffer_pos int // The current position of the buffer. - - encoding yaml_encoding_t // The input encoding. - - offset int // The offset of the current position (in bytes). - mark yaml_mark_t // The mark of the current position. - - // Comments - - head_comment []byte // The current head comments - line_comment []byte // The current line comments - foot_comment []byte // The current foot comments - tail_comment []byte // Foot comment that happens at the end of a block. - stem_comment []byte // Comment in item preceding a nested structure (list inside list item, etc) - - comments []yaml_comment_t // The folded comments for all parsed tokens - comments_head int - - // Scanner stuff - - stream_start_produced bool // Have we started to scan the input stream? - stream_end_produced bool // Have we reached the end of the input stream? - - flow_level int // The number of unclosed '[' and '{' indicators. - - tokens []yaml_token_t // The tokens queue. - tokens_head int // The head of the tokens queue. - tokens_parsed int // The number of tokens fetched from the queue. - token_available bool // Does the tokens queue contain a token ready for dequeueing. - - indent int // The current indentation level. - indents []int // The indentation levels stack. - - simple_key_allowed bool // May a simple key occur at the current position? - simple_keys []yaml_simple_key_t // The stack of simple keys. - simple_keys_by_tok map[int]int // possible simple_key indexes indexed by token_number - - // Parser stuff - - state yaml_parser_state_t // The current parser state. - states []yaml_parser_state_t // The parser states stack. - marks []yaml_mark_t // The stack of marks. - tag_directives []yaml_tag_directive_t // The list of TAG directives. - - // Dumper stuff - - aliases []yaml_alias_data_t // The alias data. - - document *yaml_document_t // The currently parsed document. -} - -type yaml_comment_t struct { - - scan_mark yaml_mark_t // Position where scanning for comments started - token_mark yaml_mark_t // Position after which tokens will be associated with this comment - start_mark yaml_mark_t // Position of '#' comment mark - end_mark yaml_mark_t // Position where comment terminated - - head []byte - line []byte - foot []byte -} - -// Emitter Definitions - -// The prototype of a write handler. -// -// The write handler is called when the emitter needs to flush the accumulated -// characters to the output. The handler should write @a size bytes of the -// @a buffer to the output. -// -// @param[in,out] data A pointer to an application data specified by -// yaml_emitter_set_output(). -// @param[in] buffer The buffer with bytes to be written. -// @param[in] size The size of the buffer. -// -// @returns On success, the handler should return @c 1. If the handler failed, -// the returned value should be @c 0. -// -type yaml_write_handler_t func(emitter *yaml_emitter_t, buffer []byte) error - -type yaml_emitter_state_t int - -// The emitter states. -const ( - // Expect STREAM-START. - yaml_EMIT_STREAM_START_STATE yaml_emitter_state_t = iota - - yaml_EMIT_FIRST_DOCUMENT_START_STATE // Expect the first DOCUMENT-START or STREAM-END. - yaml_EMIT_DOCUMENT_START_STATE // Expect DOCUMENT-START or STREAM-END. - yaml_EMIT_DOCUMENT_CONTENT_STATE // Expect the content of a document. - yaml_EMIT_DOCUMENT_END_STATE // Expect DOCUMENT-END. - yaml_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE // Expect the first item of a flow sequence. - yaml_EMIT_FLOW_SEQUENCE_TRAIL_ITEM_STATE // Expect the next item of a flow sequence, with the comma already written out - yaml_EMIT_FLOW_SEQUENCE_ITEM_STATE // Expect an item of a flow sequence. - yaml_EMIT_FLOW_MAPPING_FIRST_KEY_STATE // Expect the first key of a flow mapping. - yaml_EMIT_FLOW_MAPPING_TRAIL_KEY_STATE // Expect the next key of a flow mapping, with the comma already written out - yaml_EMIT_FLOW_MAPPING_KEY_STATE // Expect a key of a flow mapping. - yaml_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE // Expect a value for a simple key of a flow mapping. - yaml_EMIT_FLOW_MAPPING_VALUE_STATE // Expect a value of a flow mapping. - yaml_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE // Expect the first item of a block sequence. - yaml_EMIT_BLOCK_SEQUENCE_ITEM_STATE // Expect an item of a block sequence. - yaml_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE // Expect the first key of a block mapping. - yaml_EMIT_BLOCK_MAPPING_KEY_STATE // Expect the key of a block mapping. - yaml_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE // Expect a value for a simple key of a block mapping. - yaml_EMIT_BLOCK_MAPPING_VALUE_STATE // Expect a value of a block mapping. - yaml_EMIT_END_STATE // Expect nothing. -) - -// The emitter structure. -// -// All members are internal. Manage the structure using the @c yaml_emitter_ -// family of functions. -type yaml_emitter_t struct { - - // Error handling - - error yaml_error_type_t // Error type. - problem string // Error description. - - // Writer stuff - - write_handler yaml_write_handler_t // Write handler. - - output_buffer *[]byte // String output data. - output_writer io.Writer // File output data. - - buffer []byte // The working buffer. - buffer_pos int // The current position of the buffer. - - raw_buffer []byte // The raw buffer. - raw_buffer_pos int // The current position of the buffer. - - encoding yaml_encoding_t // The stream encoding. - - // Emitter stuff - - canonical bool // If the output is in the canonical style? - best_indent int // The number of indentation spaces. - best_width int // The preferred width of the output lines. - unicode bool // Allow unescaped non-ASCII characters? - line_break yaml_break_t // The preferred line break. - - state yaml_emitter_state_t // The current emitter state. - states []yaml_emitter_state_t // The stack of states. - - events []yaml_event_t // The event queue. - events_head int // The head of the event queue. - - indents []int // The stack of indentation levels. - - tag_directives []yaml_tag_directive_t // The list of tag directives. - - indent int // The current indentation level. - - compact_sequence_indent bool // Is '- ' is considered part of the indentation for sequence elements? - - flow_level int // The current flow level. - - root_context bool // Is it the document root context? - sequence_context bool // Is it a sequence context? - mapping_context bool // Is it a mapping context? - simple_key_context bool // Is it a simple mapping key context? - - line int // The current line. - column int // The current column. - whitespace bool // If the last character was a whitespace? - indention bool // If the last character was an indentation character (' ', '-', '?', ':')? - open_ended bool // If an explicit document end is required? - - space_above bool // Is there's an empty line above? - foot_indent int // The indent used to write the foot comment above, or -1 if none. - - // Anchor analysis. - anchor_data struct { - anchor []byte // The anchor value. - alias bool // Is it an alias? - } - - // Tag analysis. - tag_data struct { - handle []byte // The tag handle. - suffix []byte // The tag suffix. - } - - // Scalar analysis. - scalar_data struct { - value []byte // The scalar value. - multiline bool // Does the scalar contain line breaks? - flow_plain_allowed bool // Can the scalar be expessed in the flow plain style? - block_plain_allowed bool // Can the scalar be expressed in the block plain style? - single_quoted_allowed bool // Can the scalar be expressed in the single quoted style? - block_allowed bool // Can the scalar be expressed in the literal or folded styles? - style yaml_scalar_style_t // The output style. - } - - // Comments - head_comment []byte - line_comment []byte - foot_comment []byte - tail_comment []byte - - key_line_comment []byte - - // Dumper stuff - - opened bool // If the stream was already opened? - closed bool // If the stream was already closed? - - // The information associated with the document nodes. - anchors *struct { - references int // The number of references. - anchor int // The anchor id. - serialized bool // If the node has been emitted? - } - - last_anchor_id int // The last assigned anchor id. - - document *yaml_document_t // The currently emitted document. -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlprivateh.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlprivateh.go deleted file mode 100644 index e88f9c54..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml/yamlprivateh.go +++ /dev/null @@ -1,198 +0,0 @@ -// -// Copyright (c) 2011-2019 Canonical Ltd -// Copyright (c) 2006-2010 Kirill Simonov -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -// of the Software, and to permit persons to whom the Software is furnished to do -// so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -package yaml - -const ( - // The size of the input raw buffer. - input_raw_buffer_size = 512 - - // The size of the input buffer. - // It should be possible to decode the whole raw buffer. - input_buffer_size = input_raw_buffer_size * 3 - - // The size of the output buffer. - output_buffer_size = 128 - - // The size of the output raw buffer. - // It should be possible to encode the whole output buffer. - output_raw_buffer_size = (output_buffer_size*2 + 2) - - // The size of other stacks and queues. - initial_stack_size = 16 - initial_queue_size = 16 - initial_string_size = 16 -) - -// Check if the character at the specified position is an alphabetical -// character, a digit, '_', or '-'. -func is_alpha(b []byte, i int) bool { - return b[i] >= '0' && b[i] <= '9' || b[i] >= 'A' && b[i] <= 'Z' || b[i] >= 'a' && b[i] <= 'z' || b[i] == '_' || b[i] == '-' -} - -// Check if the character at the specified position is a digit. -func is_digit(b []byte, i int) bool { - return b[i] >= '0' && b[i] <= '9' -} - -// Get the value of a digit. -func as_digit(b []byte, i int) int { - return int(b[i]) - '0' -} - -// Check if the character at the specified position is a hex-digit. -func is_hex(b []byte, i int) bool { - return b[i] >= '0' && b[i] <= '9' || b[i] >= 'A' && b[i] <= 'F' || b[i] >= 'a' && b[i] <= 'f' -} - -// Get the value of a hex-digit. -func as_hex(b []byte, i int) int { - bi := b[i] - if bi >= 'A' && bi <= 'F' { - return int(bi) - 'A' + 10 - } - if bi >= 'a' && bi <= 'f' { - return int(bi) - 'a' + 10 - } - return int(bi) - '0' -} - -// Check if the character is ASCII. -func is_ascii(b []byte, i int) bool { - return b[i] <= 0x7F -} - -// Check if the character at the start of the buffer can be printed unescaped. -func is_printable(b []byte, i int) bool { - return ((b[i] == 0x0A) || // . == #x0A - (b[i] >= 0x20 && b[i] <= 0x7E) || // #x20 <= . <= #x7E - (b[i] == 0xC2 && b[i+1] >= 0xA0) || // #0xA0 <= . <= #xD7FF - (b[i] > 0xC2 && b[i] < 0xED) || - (b[i] == 0xED && b[i+1] < 0xA0) || - (b[i] == 0xEE) || - (b[i] == 0xEF && // #xE000 <= . <= #xFFFD - !(b[i+1] == 0xBB && b[i+2] == 0xBF) && // && . != #xFEFF - !(b[i+1] == 0xBF && (b[i+2] == 0xBE || b[i+2] == 0xBF)))) -} - -// Check if the character at the specified position is NUL. -func is_z(b []byte, i int) bool { - return b[i] == 0x00 -} - -// Check if the beginning of the buffer is a BOM. -func is_bom(b []byte, i int) bool { - return b[0] == 0xEF && b[1] == 0xBB && b[2] == 0xBF -} - -// Check if the character at the specified position is space. -func is_space(b []byte, i int) bool { - return b[i] == ' ' -} - -// Check if the character at the specified position is tab. -func is_tab(b []byte, i int) bool { - return b[i] == '\t' -} - -// Check if the character at the specified position is blank (space or tab). -func is_blank(b []byte, i int) bool { - //return is_space(b, i) || is_tab(b, i) - return b[i] == ' ' || b[i] == '\t' -} - -// Check if the character at the specified position is a line break. -func is_break(b []byte, i int) bool { - return (b[i] == '\r' || // CR (#xD) - b[i] == '\n' || // LF (#xA) - b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9) // PS (#x2029) -} - -func is_crlf(b []byte, i int) bool { - return b[i] == '\r' && b[i+1] == '\n' -} - -// Check if the character is a line break or NUL. -func is_breakz(b []byte, i int) bool { - //return is_break(b, i) || is_z(b, i) - return ( - // is_break: - b[i] == '\r' || // CR (#xD) - b[i] == '\n' || // LF (#xA) - b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9 || // PS (#x2029) - // is_z: - b[i] == 0) -} - -// Check if the character is a line break, space, or NUL. -func is_spacez(b []byte, i int) bool { - //return is_space(b, i) || is_breakz(b, i) - return ( - // is_space: - b[i] == ' ' || - // is_breakz: - b[i] == '\r' || // CR (#xD) - b[i] == '\n' || // LF (#xA) - b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9 || // PS (#x2029) - b[i] == 0) -} - -// Check if the character is a line break, space, tab, or NUL. -func is_blankz(b []byte, i int) bool { - //return is_blank(b, i) || is_breakz(b, i) - return ( - // is_blank: - b[i] == ' ' || b[i] == '\t' || - // is_breakz: - b[i] == '\r' || // CR (#xD) - b[i] == '\n' || // LF (#xA) - b[i] == 0xC2 && b[i+1] == 0x85 || // NEL (#x85) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA8 || // LS (#x2028) - b[i] == 0xE2 && b[i+1] == 0x80 && b[i+2] == 0xA9 || // PS (#x2029) - b[i] == 0) -} - -// Determine the width of the character. -func width(b byte) int { - // Don't replace these by a switch without first - // confirming that it is being inlined. - if b&0x80 == 0x00 { - return 1 - } - if b&0xE0 == 0xC0 { - return 2 - } - if b&0xF0 == 0xE0 { - return 3 - } - if b&0xF8 == 0xF0 { - return 4 - } - return 0 - -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/LICENSE b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/LICENSE deleted file mode 100644 index 31f292dc..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 QRI, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/doc.go deleted file mode 100644 index 035b4792..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/doc.go +++ /dev/null @@ -1,25 +0,0 @@ -// The MIT License (MIT) - -// Copyright (c) 2018 QRI, Inc. - -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -// Package util is forked from https://github.com/qri-io/starlib in order to prune -// excessive transitive dependencies from pulling in that library. -package util diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/util.go b/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/util.go deleted file mode 100644 index 96b4a9ae..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util/util.go +++ /dev/null @@ -1,273 +0,0 @@ -// The MIT License (MIT) - -// Copyright (c) 2018 QRI, Inc. - -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -package util - -import ( - "fmt" - - "github.com/pkg/errors" - "go.starlark.net/starlark" - "go.starlark.net/starlarkstruct" -) - -// // asString unquotes a starlark string value -// func asString(x starlark.Value) (string, error) { -// return strconv.Unquote(x.String()) -// } - -// IsEmptyString checks is a starlark string is empty ("" for a go string) -// starlark.String.String performs repr-style quotation, which is necessary -// for the starlark.Value contract but a frequent source of errors in API -// clients. This helper method makes sure it'll work properly -func IsEmptyString(s starlark.String) bool { - return s.String() == `""` -} - -// Unmarshal decodes a starlark.Value into it's golang counterpart -//nolint:nakedret -func Unmarshal(x starlark.Value) (val interface{}, err error) { - switch v := x.(type) { - case starlark.NoneType: - val = nil - case starlark.Bool: - val = v.Truth() == starlark.True - case starlark.Int: - val, err = starlark.AsInt32(x) - case starlark.Float: - if f, ok := starlark.AsFloat(x); !ok { - err = fmt.Errorf("couldn't parse float") - } else { - val = f - } - case starlark.String: - val = v.GoString() - // case starlibtime.Time: - // val = time.Time(v) - case *starlark.Dict: - var ( - dictVal starlark.Value - pval interface{} - kval interface{} - keys []interface{} - vals []interface{} - // key as interface if found one key is not a string - ki bool - ) - - for _, k := range v.Keys() { - dictVal, _, err = v.Get(k) - if err != nil { - return - } - - pval, err = Unmarshal(dictVal) - if err != nil { - err = fmt.Errorf("unmarshaling starlark value: %w", err) - return - } - - kval, err = Unmarshal(k) - if err != nil { - err = fmt.Errorf("unmarshaling starlark key: %w", err) - return - } - - if _, ok := kval.(string); !ok { - // found key as not a string - ki = true - } - - keys = append(keys, kval) - vals = append(vals, pval) - } - - // prepare result - - rs := map[string]interface{}{} - ri := map[interface{}]interface{}{} - - for i, key := range keys { - // key as interface - if ki { - ri[key] = vals[i] - } else { - rs[key.(string)] = vals[i] - } - } - - if ki { - val = ri // map[interface{}]interface{} - } else { - val = rs // map[string]interface{} - } - case *starlark.List: - var ( - i int - listVal starlark.Value - iter = v.Iterate() - value = make([]interface{}, v.Len()) - ) - - defer iter.Done() - for iter.Next(&listVal) { - value[i], err = Unmarshal(listVal) - if err != nil { - return - } - i++ - } - val = value - case starlark.Tuple: - var ( - i int - tupleVal starlark.Value - iter = v.Iterate() - value = make([]interface{}, v.Len()) - ) - - defer iter.Done() - for iter.Next(&tupleVal) { - value[i], err = Unmarshal(tupleVal) - if err != nil { - return - } - i++ - } - val = value - case *starlark.Set: - fmt.Println("errnotdone: SET") - err = fmt.Errorf("sets aren't yet supported") - case *starlarkstruct.Struct: - if _var, ok := v.Constructor().(Unmarshaler); ok { - err = _var.UnmarshalStarlark(x) - if err != nil { - err = errors.Wrapf(err, "failed marshal %q to Starlark object", v.Constructor().Type()) - return - } - val = _var - } else { - err = fmt.Errorf("constructor object from *starlarkstruct.Struct not supported Marshaler to starlark object: %s", v.Constructor().Type()) - } - default: - fmt.Println("errbadtype:", x.Type()) - err = fmt.Errorf("unrecognized starlark type: %s", x.Type()) - } - return -} - -// Marshal turns go values into starlark types -//nolint:nakedret -func Marshal(data interface{}) (v starlark.Value, err error) { - switch x := data.(type) { - case nil: - v = starlark.None - case bool: - v = starlark.Bool(x) - case string: - v = starlark.String(x) - case int: - v = starlark.MakeInt(x) - case int8: - v = starlark.MakeInt(int(x)) - case int16: - v = starlark.MakeInt(int(x)) - case int32: - v = starlark.MakeInt(int(x)) - case int64: - v = starlark.MakeInt64(x) - case uint: - v = starlark.MakeUint(x) - case uint8: - v = starlark.MakeUint(uint(x)) - case uint16: - v = starlark.MakeUint(uint(x)) - case uint32: - v = starlark.MakeUint(uint(x)) - case uint64: - v = starlark.MakeUint64(x) - case float32: - v = starlark.Float(float64(x)) - case float64: - v = starlark.Float(x) - // case time.Time: - // v = starlibtime.Time(x) - case []interface{}: - var elems = make([]starlark.Value, len(x)) - for i, val := range x { - elems[i], err = Marshal(val) - if err != nil { - return - } - } - v = starlark.NewList(elems) - case map[interface{}]interface{}: - dict := &starlark.Dict{} - var elem starlark.Value - for ki, val := range x { - var key starlark.Value - key, err = Marshal(ki) - if err != nil { - return - } - - elem, err = Marshal(val) - if err != nil { - return - } - if err = dict.SetKey(key, elem); err != nil { - return - } - } - v = dict - case map[string]interface{}: - dict := &starlark.Dict{} - var elem starlark.Value - for key, val := range x { - elem, err = Marshal(val) - if err != nil { - return - } - if err = dict.SetKey(starlark.String(key), elem); err != nil { - return - } - } - v = dict - case Marshaler: - v, err = x.MarshalStarlark() - default: - return starlark.None, fmt.Errorf("unrecognized type: %#v", x) - } - return -} - -// Unmarshaler is the interface use to unmarshal starlark custom types. -type Unmarshaler interface { - // UnmarshalStarlark unmarshal a starlark object to custom type. - UnmarshalStarlark(starlark.Value) error -} - -// Marshaler is the interface use to marshal starlark custom types. -type Marshaler interface { - // MarshalStarlark marshal a custom type to starlark object. - MarshalStarlark() (starlark.Value, error) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_reader.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_reader.go deleted file mode 100644 index fbcf4b6b..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_reader.go +++ /dev/null @@ -1,349 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "bytes" - "fmt" - "io" - "regexp" - "sort" - "strings" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -const ( - ResourceListKind = "ResourceList" - ResourceListAPIVersion = "config.kubernetes.io/v1" -) - -// ByteReadWriter reads from an input and writes to an output. -type ByteReadWriter struct { - // Reader is where ResourceNodes are decoded from. - Reader io.Reader - - // Writer is where ResourceNodes are encoded. - Writer io.Writer - - // OmitReaderAnnotations will configures Read to skip setting the config.kubernetes.io/index - // annotation on Resources as they are Read. - OmitReaderAnnotations bool - - // KeepReaderAnnotations if set will keep the Reader specific annotations when writing - // the Resources, otherwise they will be cleared. - KeepReaderAnnotations bool - - // PreserveSeqIndent if true adds kioutil.SeqIndentAnnotation to each resource - PreserveSeqIndent bool - - // Style is a style that is set on the Resource Node Document. - Style yaml.Style - - // WrapBareSeqNode wraps the bare sequence node document with map node, - // kyaml uses reader annotations to track resources, it is not possible to - // add them to bare sequence nodes, this option enables wrapping such bare - // sequence nodes into map node with key yaml.BareSeqNodeWrappingKey - // note that this wrapping is different and not related to ResourceList wrapping - WrapBareSeqNode bool - - FunctionConfig *yaml.RNode - - Results *yaml.RNode - - NoWrap bool - WrappingAPIVersion string - WrappingKind string -} - -func (rw *ByteReadWriter) Read() ([]*yaml.RNode, error) { - b := &ByteReader{ - Reader: rw.Reader, - OmitReaderAnnotations: rw.OmitReaderAnnotations, - PreserveSeqIndent: rw.PreserveSeqIndent, - WrapBareSeqNode: rw.WrapBareSeqNode, - } - val, err := b.Read() - rw.Results = b.Results - - if rw.FunctionConfig == nil { - rw.FunctionConfig = b.FunctionConfig - } - if !rw.NoWrap && rw.WrappingKind == "" { - rw.WrappingAPIVersion = b.WrappingAPIVersion - rw.WrappingKind = b.WrappingKind - } - return val, errors.Wrap(err) -} - -func (rw *ByteReadWriter) Write(nodes []*yaml.RNode) error { - w := ByteWriter{ - Writer: rw.Writer, - KeepReaderAnnotations: rw.KeepReaderAnnotations, - Style: rw.Style, - FunctionConfig: rw.FunctionConfig, - Results: rw.Results, - } - if !rw.NoWrap { - w.WrappingAPIVersion = rw.WrappingAPIVersion - w.WrappingKind = rw.WrappingKind - } - return w.Write(nodes) -} - -// ParseAll reads all of the inputs into resources -func ParseAll(inputs ...string) ([]*yaml.RNode, error) { - return (&ByteReader{ - Reader: bytes.NewBufferString(strings.Join(inputs, "\n---\n")), - }).Read() -} - -// FromBytes reads from a byte slice. -func FromBytes(bs []byte) ([]*yaml.RNode, error) { - return (&ByteReader{ - OmitReaderAnnotations: true, - AnchorsAweigh: true, - Reader: bytes.NewBuffer(bs), - }).Read() -} - -// StringAll writes all of the resources to a string -func StringAll(resources []*yaml.RNode) (string, error) { - var b bytes.Buffer - err := (&ByteWriter{Writer: &b}).Write(resources) - return b.String(), err -} - -// ByteReader decodes ResourceNodes from bytes. -// By default, Read will set the config.kubernetes.io/index annotation on each RNode as it -// is read so they can be written back in the same order. -type ByteReader struct { - // Reader is where ResourceNodes are decoded from. - Reader io.Reader - - // OmitReaderAnnotations will configures Read to skip setting the config.kubernetes.io/index - // and internal.config.kubernetes.io/seqindent annotations on Resources as they are Read. - OmitReaderAnnotations bool - - // PreserveSeqIndent if true adds kioutil.SeqIndentAnnotation to each resource - PreserveSeqIndent bool - - // SetAnnotations is a map of caller specified annotations to set on resources as they are read - // These are independent of the annotations controlled by OmitReaderAnnotations - SetAnnotations map[string]string - - FunctionConfig *yaml.RNode - - Results *yaml.RNode - - // DisableUnwrapping prevents Resources in Lists and ResourceLists from being unwrapped - DisableUnwrapping bool - - // WrappingAPIVersion is set by Read(), and is the apiVersion of the object that - // the read objects were originally wrapped in. - WrappingAPIVersion string - - // WrappingKind is set by Read(), and is the kind of the object that - // the read objects were originally wrapped in. - WrappingKind string - - // WrapBareSeqNode wraps the bare sequence node document with map node, - // kyaml uses reader annotations to track resources, it is not possible to - // add them to bare sequence nodes, this option enables wrapping such bare - // sequence nodes into map node with key yaml.BareSeqNodeWrappingKey - // note that this wrapping is different and not related to ResourceList wrapping - WrapBareSeqNode bool - - // AnchorsAweigh set to true attempts to replace all YAML anchor aliases - // with their definitions (anchor values) immediately after the read. - AnchorsAweigh bool -} - -var _ Reader = &ByteReader{} - -// splitDocuments returns a slice of all documents contained in a YAML string. Multiple documents can be divided by the -// YAML document separator (---). It allows for white space and comments to be after the separator on the same line, -// but will return an error if anything else is on the line. -func splitDocuments(s string) ([]string, error) { - docs := make([]string, 0) - if len(s) > 0 { - // The YAML document separator is any line that starts with --- - yamlSeparatorRegexp := regexp.MustCompile(`\n---.*\n`) - - // Find all separators, check them for invalid content, and append each document to docs - separatorLocations := yamlSeparatorRegexp.FindAllStringIndex(s, -1) - prev := 0 - for i := range separatorLocations { - loc := separatorLocations[i] - separator := s[loc[0]:loc[1]] - - // If the next non-whitespace character on the line following the separator is not a comment, return an error - trimmedContentAfterSeparator := strings.TrimSpace(separator[4:]) - if len(trimmedContentAfterSeparator) > 0 && trimmedContentAfterSeparator[0] != '#' { - return nil, errors.Errorf("invalid document separator: %s", strings.TrimSpace(separator)) - } - - docs = append(docs, s[prev:loc[0]]) - prev = loc[1] - } - docs = append(docs, s[prev:]) - } - - return docs, nil -} - -func (r *ByteReader) Read() ([]*yaml.RNode, error) { - if r.PreserveSeqIndent && r.OmitReaderAnnotations { - return nil, errors.Errorf(`"PreserveSeqIndent" option adds a reader annotation, please set "OmitReaderAnnotations" to false`) - } - - output := ResourceNodeSlice{} - - // by manually splitting resources -- otherwise the decoder will get the Resource - // boundaries wrong for header comments. - input := &bytes.Buffer{} - _, err := io.Copy(input, r.Reader) - if err != nil { - return nil, errors.Wrap(err) - } - - // Replace the ending \r\n (line ending used in windows) with \n and then split it into multiple YAML documents - // if it contains document separators (---) - values, err := splitDocuments(strings.ReplaceAll(input.String(), "\r\n", "\n")) - if err != nil { - return nil, errors.Wrap(err) - } - - index := 0 - for i := range values { - // the Split used above will eat the tail '\n' from each resource. This may affect the - // literal string value since '\n' is meaningful in it. - if i != len(values)-1 { - values[i] += "\n" - } - decoder := yaml.NewDecoder(bytes.NewBufferString(values[i])) - node, err := r.decode(values[i], index, decoder) - if err == io.EOF { - continue - } - - if err != nil { - return nil, errors.Wrap(err) - } - if yaml.IsMissingOrNull(node) { - // empty value - continue - } - - // ok if no metadata -- assume not an InputList - meta, err := node.GetMeta() - if err != yaml.ErrMissingMetadata && err != nil { - return nil, errors.WrapPrefixf(err, "[%d]", i) - } - - // the elements are wrapped in an InputList, unwrap them - // don't check apiVersion, we haven't standardized on the domain - if !r.DisableUnwrapping && - len(values) == 1 && // Only unwrap if there is only 1 value - (meta.Kind == ResourceListKind || meta.Kind == "List") && - (node.Field("items") != nil || node.Field("functionConfig") != nil) { - r.WrappingKind = meta.Kind - r.WrappingAPIVersion = meta.APIVersion - - // unwrap the list - if fc := node.Field("functionConfig"); fc != nil { - r.FunctionConfig = fc.Value - } - if res := node.Field("results"); res != nil { - r.Results = res.Value - } - - items := node.Field("items") - if items != nil { - for i := range items.Value.Content() { - // add items - output = append(output, yaml.NewRNode(items.Value.Content()[i])) - } - } - continue - } - - // add the node to the list - output = append(output, node) - - // increment the index annotation value - index++ - } - if r.AnchorsAweigh { - for _, n := range output { - if err = n.DeAnchor(); err != nil { - return nil, err - } - } - } - return output, nil -} - -func (r *ByteReader) decode(originalYAML string, index int, decoder *yaml.Decoder) (*yaml.RNode, error) { - node := &yaml.Node{} - err := decoder.Decode(node) - if err == io.EOF { - return nil, io.EOF - } - if err != nil { - return nil, errors.WrapPrefixf(err, "MalformedYAMLError") - } - - if yaml.IsYNodeEmptyDoc(node) { - return nil, nil - } - - // set annotations on the read Resources - // sort the annotations by key so the output Resources is consistent (otherwise the - // annotations will be in a random order) - n := yaml.NewRNode(node) - // check if it is a bare sequence node and wrap it with a yaml.BareSeqNodeWrappingKey - if r.WrapBareSeqNode && node.Kind == yaml.DocumentNode && len(node.Content) > 0 && - node.Content[0] != nil && node.Content[0].Kind == yaml.SequenceNode { - wrappedNode := yaml.NewRNode(&yaml.Node{ - Kind: yaml.MappingNode, - }) - wrappedNode.PipeE(yaml.SetField(yaml.BareSeqNodeWrappingKey, n)) - n = wrappedNode - } - - if r.SetAnnotations == nil { - r.SetAnnotations = map[string]string{} - } - if !r.OmitReaderAnnotations { - err := kioutil.CopyLegacyAnnotations(n) - if err != nil { - return nil, err - } - r.SetAnnotations[kioutil.IndexAnnotation] = fmt.Sprintf("%d", index) - r.SetAnnotations[kioutil.LegacyIndexAnnotation] = fmt.Sprintf("%d", index) - - if r.PreserveSeqIndent { - // derive and add the seqindent annotation - seqIndentStyle := yaml.DeriveSeqIndentStyle(originalYAML) - if seqIndentStyle != "" { - r.SetAnnotations[kioutil.SeqIndentAnnotation] = fmt.Sprintf("%s", seqIndentStyle) - } - } - } - var keys []string - for k := range r.SetAnnotations { - keys = append(keys, k) - } - sort.Strings(keys) - for _, k := range keys { - _, err = n.Pipe(yaml.SetAnnotation(k, r.SetAnnotations[k])) - if err != nil { - return nil, errors.Wrap(err) - } - } - return n, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_writer.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_writer.go deleted file mode 100644 index 7785c9d4..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/byteio_writer.go +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "encoding/json" - "io" - "path/filepath" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// ByteWriter writes ResourceNodes to bytes. Generally YAML encoding will be used but in the special -// case of writing a single, bare yaml.RNode that has a kioutil.PathAnnotation indicating that the -// target is a JSON file JSON encoding is used. See shouldJSONEncodeSingleBareNode below for more -// information. -type ByteWriter struct { - // Writer is where ResourceNodes are encoded. - Writer io.Writer - - // KeepReaderAnnotations if set will keep the Reader specific annotations when writing - // the Resources, otherwise they will be cleared. - KeepReaderAnnotations bool - - // ClearAnnotations is a list of annotations to clear when writing the Resources. - ClearAnnotations []string - - // Style is a style that is set on the Resource Node Document. - Style yaml.Style - - // FunctionConfig is the function config for an ResourceList. If non-nil - // wrap the results in an ResourceList. - FunctionConfig *yaml.RNode - - Results *yaml.RNode - - // WrappingKind if set will cause ByteWriter to wrap the Resources in - // an 'items' field in this kind. e.g. if WrappingKind is 'List', - // ByteWriter will wrap the Resources in a List .items field. - WrappingKind string - - // WrappingAPIVersion is the apiVersion for WrappingKind - WrappingAPIVersion string - - // Sort if set, will cause ByteWriter to sort the the nodes before writing them. - Sort bool -} - -var _ Writer = ByteWriter{} - -func (w ByteWriter) Write(inputNodes []*yaml.RNode) error { - // Copy the nodes to prevent writer from mutating the original nodes. - nodes := copyRNodes(inputNodes) - if w.Sort { - if err := kioutil.SortNodes(nodes); err != nil { - return errors.Wrap(err) - } - } - - // Even though we use the this value further down we must check this before removing annotations - jsonEncodeSingleBareNode := w.shouldJSONEncodeSingleBareNode(nodes) - - // store seqindent annotation value for each node in order to set the encoder indentation - var seqIndentsForNodes []string - for i := range nodes { - seqIndentsForNodes = append(seqIndentsForNodes, nodes[i].GetAnnotations()[kioutil.SeqIndentAnnotation]) - } - - for i := range nodes { - // clean resources by removing annotations set by the Reader - if !w.KeepReaderAnnotations { - _, err := nodes[i].Pipe(yaml.ClearAnnotation(kioutil.IndexAnnotation)) - if err != nil { - return errors.Wrap(err) - } - _, err = nodes[i].Pipe(yaml.ClearAnnotation(kioutil.LegacyIndexAnnotation)) - if err != nil { - return errors.Wrap(err) - } - - _, err = nodes[i].Pipe(yaml.ClearAnnotation(kioutil.SeqIndentAnnotation)) - if err != nil { - return errors.Wrap(err) - } - } - for _, a := range w.ClearAnnotations { - _, err := nodes[i].Pipe(yaml.ClearAnnotation(a)) - if err != nil { - return errors.Wrap(err) - } - } - - if err := yaml.ClearEmptyAnnotations(nodes[i]); err != nil { - return err - } - - if w.Style != 0 { - nodes[i].YNode().Style = w.Style - } - } - - if jsonEncodeSingleBareNode { - encoder := json.NewEncoder(w.Writer) - encoder.SetIndent("", " ") - return errors.Wrap(encoder.Encode(nodes[0])) - } - - encoder := yaml.NewEncoder(w.Writer) - defer encoder.Close() - // don't wrap the elements - if w.WrappingKind == "" { - for i := range nodes { - if seqIndentsForNodes[i] == string(yaml.WideSequenceStyle) { - encoder.DefaultSeqIndent() - } else { - encoder.CompactSeqIndent() - } - if err := encoder.Encode(upWrapBareSequenceNode(nodes[i].Document())); err != nil { - return errors.Wrap(err) - } - } - return nil - } - // wrap the elements in a list - items := &yaml.Node{Kind: yaml.SequenceNode} - list := &yaml.Node{ - Kind: yaml.MappingNode, - Style: w.Style, - Content: []*yaml.Node{ - {Kind: yaml.ScalarNode, Value: "apiVersion"}, - {Kind: yaml.ScalarNode, Value: w.WrappingAPIVersion}, - {Kind: yaml.ScalarNode, Value: "kind"}, - {Kind: yaml.ScalarNode, Value: w.WrappingKind}, - {Kind: yaml.ScalarNode, Value: "items"}, items, - }} - if w.FunctionConfig != nil { - list.Content = append(list.Content, - &yaml.Node{Kind: yaml.ScalarNode, Value: "functionConfig"}, - w.FunctionConfig.YNode()) - } - if w.Results != nil { - list.Content = append(list.Content, - &yaml.Node{Kind: yaml.ScalarNode, Value: "results"}, - w.Results.YNode()) - } - doc := &yaml.Node{ - Kind: yaml.DocumentNode, - Content: []*yaml.Node{list}} - for i := range nodes { - items.Content = append(items.Content, nodes[i].YNode()) - } - return encoder.Encode(doc) -} - -func copyRNodes(in []*yaml.RNode) []*yaml.RNode { - out := make([]*yaml.RNode, len(in)) - for i := range in { - out[i] = in[i].Copy() - } - return out -} - -// shouldJSONEncodeSingleBareNode determines if nodes contain a single node that should not be -// wrapped and has a JSON file extension, which in turn means that the node should be JSON encoded. -// Note 1: this must be checked before any annotations to avoid losing information about the target -// filename extension. -// Note 2: JSON encoding should only be used for single, unwrapped nodes because multiple unwrapped -// nodes cannot be represented in JSON (no multi doc support). Furthermore, the typical use -// cases for wrapping nodes would likely not include later writing the whole wrapper to a -// .json file, i.e. there is no point risking any edge case information loss e.g. comments -// disappearing, that could come from JSON encoding the whole wrapper just to ensure that -// one (or all nodes) can be read as JSON. -func (w ByteWriter) shouldJSONEncodeSingleBareNode(nodes []*yaml.RNode) bool { - if w.WrappingKind == "" && len(nodes) == 1 { - if path, _, _ := kioutil.GetFileAnnotations(nodes[0]); path != "" { - filename := filepath.Base(path) - for _, glob := range JSONMatch { - if match, _ := filepath.Match(glob, filename); match { - return true - } - } - } - } - return false -} - -// upWrapBareSequenceNode unwraps the bare sequence nodes wrapped by yaml.BareSeqNodeWrappingKey -func upWrapBareSequenceNode(node *yaml.Node) *yaml.Node { - rNode := yaml.NewRNode(node) - seqNode, err := rNode.Pipe(yaml.Lookup(yaml.BareSeqNodeWrappingKey)) - if err == nil && !seqNode.IsNilOrEmpty() { - return seqNode.YNode() - } - return node -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/doc.go deleted file mode 100644 index 9c11a146..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/doc.go +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package kio contains libraries for reading and writing collections of Resources. -// -// Reading Resources -// -// Resources are Read using a kio.Reader function. Examples: -// [kio.LocalPackageReader{}, kio.ByteReader{}] -// -// Resources read using a LocalPackageReader will have annotations applied so they can be -// written back to the files they were read from. -// -// Modifying Resources -// -// Resources are modified using a kio.Filter. The kio.Filter accepts a collection of -// Resources as input, and returns a new collection as output. -// It is recommended to use the yaml package for manipulating individual Resources in -// the collection. -// -// Writing Resources -// -// Resources are Read using a kio.Reader function. Examples: -// [kio.LocalPackageWriter{}, kio.ByteWriter{}] -// -// ReadWriters -// -// It is preferred to use a ReadWriter when reading and writing from / to the same source. -// -// Building Pipelines -// -// The preferred way to transforms a collection of Resources is to use kio.Pipeline to Read, -// Modify and Write the collection of Resources. Pipeline will automatically sequentially -// invoke the Read, Modify, Write steps, returning and error immediately on any failure. -package kio diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/filters.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/filters.go deleted file mode 100644 index 8d7968b3..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/filters.go +++ /dev/null @@ -1,210 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filters - -import ( - "fmt" - "sort" - "strings" - - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Filters are the list of known filters for unmarshalling a filter into a concrete -// implementation. -var Filters = map[string]func() kio.Filter{ - "FileSetter": func() kio.Filter { return &FileSetter{} }, - "FormatFilter": func() kio.Filter { return &FormatFilter{} }, - "GrepFilter": func() kio.Filter { return GrepFilter{} }, - "MatchModifier": func() kio.Filter { return &MatchModifyFilter{} }, - "Modifier": func() kio.Filter { return &Modifier{} }, -} - -// filter wraps a kio.filter so that it can be unmarshalled from yaml. -type KFilter struct { - kio.Filter -} - -func (t KFilter) MarshalYAML() (interface{}, error) { - return t.Filter, nil -} - -func (t *KFilter) UnmarshalYAML(unmarshal func(interface{}) error) error { - i := map[string]interface{}{} - if err := unmarshal(i); err != nil { - return err - } - meta := &yaml.ResourceMeta{} - if err := unmarshal(meta); err != nil { - return err - } - filter, found := Filters[meta.Kind] - if !found { - var knownFilters []string - for k := range Filters { - knownFilters = append(knownFilters, k) - } - sort.Strings(knownFilters) - return fmt.Errorf("unsupported filter Kind %v: may be one of: [%s]", - meta, strings.Join(knownFilters, ",")) - } - t.Filter = filter() - - return unmarshal(t.Filter) -} - -// Modifier modifies the input Resources by invoking the provided pipeline. -// Modifier will return any Resources for which the pipeline does not return an error. -type Modifier struct { - Kind string `yaml:"kind,omitempty"` - - Filters yaml.YFilters `yaml:"pipeline,omitempty"` -} - -var _ kio.Filter = &Modifier{} - -func (f Modifier) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) { - for i := range input { - if _, err := input[i].Pipe(f.Filters.Filters()...); err != nil { - return nil, err - } - } - return input, nil -} - -type MatchModifyFilter struct { - Kind string `yaml:"kind,omitempty"` - - MatchFilters []yaml.YFilters `yaml:"match,omitempty"` - - ModifyFilters yaml.YFilters `yaml:"modify,omitempty"` -} - -var _ kio.Filter = &MatchModifyFilter{} - -func (f MatchModifyFilter) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) { - var matches = input - var err error - for _, filter := range f.MatchFilters { - matches, err = MatchFilter{Filters: filter}.Filter(matches) - if err != nil { - return nil, err - } - } - _, err = Modifier{Filters: f.ModifyFilters}.Filter(matches) - if err != nil { - return nil, err - } - return input, nil -} - -type MatchFilter struct { - Kind string `yaml:"kind,omitempty"` - - Filters yaml.YFilters `yaml:"pipeline,omitempty"` -} - -var _ kio.Filter = &MatchFilter{} - -func (f MatchFilter) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) { - var output []*yaml.RNode - for i := range input { - if v, err := input[i].Pipe(f.Filters.Filters()...); err != nil { - return nil, err - } else if v == nil { - continue - } - output = append(output, input[i]) - } - return output, nil -} - -type FilenameFmtVerb string - -const ( - // KindFmt substitutes kind - KindFmt FilenameFmtVerb = "%k" - - // NameFmt substitutes metadata.name - NameFmt FilenameFmtVerb = "%n" - - // NamespaceFmt substitutes metdata.namespace - NamespaceFmt FilenameFmtVerb = "%s" -) - -// FileSetter sets the file name and mode annotations on Resources. -type FileSetter struct { - Kind string `yaml:"kind,omitempty"` - - // FilenamePattern is the pattern to use for generating filenames. FilenameFmtVerb - // FielnameFmtVerbs may be specified to substitute Resource metadata into the filename. - FilenamePattern string `yaml:"filenamePattern,omitempty"` - - // Mode is the filemode to write. - Mode string `yaml:"mode,omitempty"` - - // Override will override the existing filename if it is set on the pattern. - // Otherwise the existing filename is kept. - Override bool `yaml:"override,omitempty"` -} - -var _ kio.Filter = &FileSetter{} - -const DefaultFilenamePattern = "%n_%k.yaml" - -func (f *FileSetter) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) { - if f.Mode == "" { - f.Mode = fmt.Sprintf("%d", 0600) - } - if f.FilenamePattern == "" { - f.FilenamePattern = DefaultFilenamePattern - } - - resources := map[string][]*yaml.RNode{} - for i := range input { - if err := kioutil.CopyLegacyAnnotations(input[i]); err != nil { - return nil, err - } - - m, err := input[i].GetMeta() - if err != nil { - return nil, err - } - file := f.FilenamePattern - file = strings.ReplaceAll(file, string(KindFmt), strings.ToLower(m.Kind)) - file = strings.ReplaceAll(file, string(NameFmt), strings.ToLower(m.Name)) - file = strings.ReplaceAll(file, string(NamespaceFmt), strings.ToLower(m.Namespace)) - - if _, found := m.Annotations[kioutil.PathAnnotation]; !found || f.Override { - if _, err := input[i].Pipe(yaml.SetAnnotation(kioutil.PathAnnotation, file)); err != nil { - return nil, err - } - if _, err := input[i].Pipe(yaml.SetAnnotation(kioutil.LegacyPathAnnotation, file)); err != nil { - return nil, err - } - } - resources[file] = append(resources[file], input[i]) - } - - var output []*yaml.RNode - for i := range resources { - if err := kioutil.SortNodes(resources[i]); err != nil { - return nil, err - } - for j := range resources[i] { - if _, err := resources[i][j].Pipe( - yaml.SetAnnotation(kioutil.IndexAnnotation, fmt.Sprintf("%d", j))); err != nil { - return nil, err - } - if _, err := resources[i][j].Pipe( - yaml.SetAnnotation(kioutil.LegacyIndexAnnotation, fmt.Sprintf("%d", j))); err != nil { - return nil, err - } - output = append(output, resources[i][j]) - } - } - return output, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/fmtr.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/fmtr.go deleted file mode 100644 index 7f2acbda..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/fmtr.go +++ /dev/null @@ -1,314 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package yamlfmt contains libraries for formatting yaml files containing -// Kubernetes Resource configuration. -// -// Yaml files are formatted by: -// - Sorting fields and map values -// - Sorting unordered lists for whitelisted types -// - Applying a canonical yaml Style -// -// Fields are ordered using a relative ordering applied to commonly -// encountered Resource fields. All Resources, including non-builtin -// Resources such as CRDs, share the same field precedence. -// -// Fields that do not appear in the explicit ordering are ordered -// lexicographically. -// -// A subset of well known known unordered lists are sorted by element field -// values. -package filters - -import ( - "bytes" - "fmt" - "io" - "sort" - - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type FormattingStrategy = string - -const ( - // NoFmtAnnotation determines if the resource should be formatted. - FmtAnnotation string = "config.kubernetes.io/formatting" - - // FmtStrategyStandard means the resource will be formatted according - // to the default rules. - FmtStrategyStandard FormattingStrategy = "standard" - - // FmtStrategyNone means the resource will not be formatted. - FmtStrategyNone FormattingStrategy = "none" -) - -// FormatInput returns the formatted input. -func FormatInput(input io.Reader) (*bytes.Buffer, error) { - buff := &bytes.Buffer{} - err := kio.Pipeline{ - Inputs: []kio.Reader{&kio.ByteReader{Reader: input}}, - Filters: []kio.Filter{FormatFilter{}}, - Outputs: []kio.Writer{kio.ByteWriter{Writer: buff}}, - }.Execute() - - return buff, err -} - -// FormatFileOrDirectory reads the file or directory and formats each file's -// contents by writing it back to the file. -func FormatFileOrDirectory(path string) error { - return kio.Pipeline{ - Inputs: []kio.Reader{kio.LocalPackageReader{ - PackagePath: path, - }}, - Filters: []kio.Filter{FormatFilter{}}, - Outputs: []kio.Writer{kio.LocalPackageWriter{PackagePath: path}}, - }.Execute() -} - -type FormatFilter struct { - Process func(n *yaml.Node) error - UseSchema bool -} - -var _ kio.Filter = FormatFilter{} - -func (f FormatFilter) Filter(slice []*yaml.RNode) ([]*yaml.RNode, error) { - for i := range slice { - fmtStrategy, err := getFormattingStrategy(slice[i]) - if err != nil { - return nil, err - } - - if fmtStrategy == FmtStrategyNone { - continue - } - - kindNode, err := slice[i].Pipe(yaml.Get("kind")) - if err != nil { - return nil, err - } - if kindNode == nil { - continue - } - apiVersionNode, err := slice[i].Pipe(yaml.Get("apiVersion")) - if err != nil { - return nil, err - } - if apiVersionNode == nil { - continue - } - kind, apiVersion := kindNode.YNode().Value, apiVersionNode.YNode().Value - var s *openapi.ResourceSchema - if f.UseSchema { - s = openapi.SchemaForResourceType(yaml.TypeMeta{APIVersion: apiVersion, Kind: kind}) - } else { - s = nil - } - err = (&formatter{apiVersion: apiVersion, kind: kind, process: f.Process}). - fmtNode(slice[i].YNode(), "", s) - if err != nil { - return nil, err - } - } - return slice, nil -} - -// getFormattingStrategy looks for the formatting annotation to determine -// which strategy should be used for formatting. The default is standard -// if no annotation is found. -func getFormattingStrategy(node *yaml.RNode) (FormattingStrategy, error) { - value, err := node.Pipe(yaml.GetAnnotation(FmtAnnotation)) - if err != nil || value == nil { - return FmtStrategyStandard, err - } - - fmtStrategy := value.YNode().Value - - switch fmtStrategy { - case FmtStrategyStandard: - return FmtStrategyStandard, nil - case FmtStrategyNone: - return FmtStrategyNone, nil - default: - return "", fmt.Errorf( - "formatting annotation has illegal value %s", fmtStrategy) - } -} - -type formatter struct { - apiVersion string - kind string - process func(n *yaml.Node) error -} - -// fmtNode recursively formats the Document Contents. -// See: https://godoc.org/gopkg.in/yaml.v3#Node -func (f *formatter) fmtNode(n *yaml.Node, path string, schema *openapi.ResourceSchema) error { - if n.Kind == yaml.ScalarNode && schema != nil && schema.Schema != nil { - // ensure values that are interpreted as non-string values (e.g. "true") - // are properly quoted - yaml.FormatNonStringStyle(n, *schema.Schema) - } - - // sort the order of mapping fields - if n.Kind == yaml.MappingNode { - sort.Sort(sortedMapContents(*n)) - } - - // sort the order of sequence elements if it is whitelisted - if n.Kind == yaml.SequenceNode { - if yaml.WhitelistedListSortKinds.Has(f.kind) && - yaml.WhitelistedListSortApis.Has(f.apiVersion) { - if sortField, found := yaml.WhitelistedListSortFields[path]; found { - sort.Sort(sortedSeqContents{Node: *n, sortField: sortField}) - } - } - } - - // format the Content - for i := range n.Content { - // MappingNode are structured as having their fields as Content, - // with the field-key and field-value alternating. e.g. Even elements - // are the keys and odd elements are the values - isFieldKey := n.Kind == yaml.MappingNode && i%2 == 0 - isFieldValue := n.Kind == yaml.MappingNode && i%2 == 1 - isElement := n.Kind == yaml.SequenceNode - - // run the process callback on the node if it has been set - // don't process keys: their format should be fixed - if f.process != nil && !isFieldKey { - if err := f.process(n.Content[i]); err != nil { - return err - } - } - - // get the schema for this Node - p := path - var s *openapi.ResourceSchema - switch { - case isFieldValue: - // if the node is a field, lookup the schema using the field name - p = fmt.Sprintf("%s.%s", path, n.Content[i-1].Value) - if schema != nil { - s = schema.Field(n.Content[i-1].Value) - } - case isElement: - // if the node is a list element, lookup the schema for the array items - if schema != nil { - s = schema.Elements() - } - } - // format the node using the schema - err := f.fmtNode(n.Content[i], p, s) - if err != nil { - return err - } - } - return nil -} - -// sortedMapContents sorts the Contents field of a MappingNode by the field names using a statically -// defined field precedence, and falling back on lexicographical sorting -type sortedMapContents yaml.Node - -func (s sortedMapContents) Len() int { - return len(s.Content) / 2 -} -func (s sortedMapContents) Swap(i, j int) { - // yaml MappingNode Contents are a list of field names followed by - // field values, rather than a list of field pairs. - // increment. - // - // e.g. ["field1Name", "field1Value", "field2Name", "field2Value"] - iFieldNameIndex := i * 2 - jFieldNameIndex := j * 2 - iFieldValueIndex := iFieldNameIndex + 1 - jFieldValueIndex := jFieldNameIndex + 1 - - // swap field names - s.Content[iFieldNameIndex], s.Content[jFieldNameIndex] = - s.Content[jFieldNameIndex], s.Content[iFieldNameIndex] - - // swap field values - s.Content[iFieldValueIndex], s.Content[jFieldValueIndex] = s. - Content[jFieldValueIndex], s.Content[iFieldValueIndex] -} - -func (s sortedMapContents) Less(i, j int) bool { - iFieldNameIndex := i * 2 - jFieldNameIndex := j * 2 - iFieldName := s.Content[iFieldNameIndex].Value - jFieldName := s.Content[jFieldNameIndex].Value - - // order by their precedence values looked up from the index - iOrder, foundI := yaml.FieldOrder[iFieldName] - jOrder, foundJ := yaml.FieldOrder[jFieldName] - if foundI && foundJ { - return iOrder < jOrder - } - - // known fields come before unknown fields - if foundI { - return true - } - if foundJ { - return false - } - - // neither field is known, sort them lexicographically - return iFieldName < jFieldName -} - -// sortedSeqContents sorts the Contents field of a SequenceNode by the value of -// the elements sortField. -// e.g. it will sort spec.template.spec.containers by the value of the container `name` field -type sortedSeqContents struct { - yaml.Node - sortField string -} - -func (s sortedSeqContents) Len() int { - return len(s.Content) -} -func (s sortedSeqContents) Swap(i, j int) { - s.Content[i], s.Content[j] = s.Content[j], s.Content[i] -} -func (s sortedSeqContents) Less(i, j int) bool { - // primitive lists -- sort by the element's primitive values - if s.sortField == "" { - iValue := s.Content[i].Value - jValue := s.Content[j].Value - return iValue < jValue - } - - // map lists -- sort by the element's sortField values - var iValue, jValue string - for a := range s.Content[i].Content { - if a%2 != 0 { - continue // not a fieldNameIndex - } - // locate the index of the sortField field - if s.Content[i].Content[a].Value == s.sortField { - // a is the yaml node for the field key, a+1 is the node for the field value - iValue = s.Content[i].Content[a+1].Value - } - } - for a := range s.Content[j].Content { - if a%2 != 0 { - continue // not a fieldNameIndex - } - - // locate the index of the sortField field - if s.Content[j].Content[a].Value == s.sortField { - // a is the yaml node for the field key, a+1 is the node for the field value - jValue = s.Content[j].Content[a+1].Value - } - } - - // compare the field values - return iValue < jValue -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/grep.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/grep.go deleted file mode 100644 index 2eb8a888..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/grep.go +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filters - -import ( - "regexp" - "strings" - - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type GrepType int - -const ( - Regexp GrepType = 1 << iota - GreaterThanEq - GreaterThan - LessThan - LessThanEq -) - -// GrepFilter filters RNodes with a matching field -type GrepFilter struct { - Path []string `yaml:"path,omitempty"` - Value string `yaml:"value,omitempty"` - MatchType GrepType `yaml:"matchType,omitempty"` - InvertMatch bool `yaml:"invertMatch,omitempty"` - Compare func(a, b string) (int, error) -} - -var _ kio.Filter = GrepFilter{} - -func (f GrepFilter) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) { - // compile the regular expression 1 time if we are matching using regex - var reg *regexp.Regexp - var err error - if f.MatchType == Regexp || f.MatchType == 0 { - reg, err = regexp.Compile(f.Value) - if err != nil { - return nil, err - } - } - - var output kio.ResourceNodeSlice - for i := range input { - node := input[i] - val, err := node.Pipe(&yaml.PathMatcher{Path: f.Path}) - if err != nil { - return nil, err - } - if val == nil || len(val.Content()) == 0 { - if f.InvertMatch { - output = append(output, input[i]) - } - continue - } - found := false - err = val.VisitElements(func(elem *yaml.RNode) error { - // get the value - var str string - if f.MatchType == Regexp { - style := elem.YNode().Style - defer func() { elem.YNode().Style = style }() - elem.YNode().Style = yaml.FlowStyle - str, err = elem.String() - if err != nil { - return err - } - str = strings.TrimSpace(strings.ReplaceAll(str, `"`, "")) - } else { - // if not regexp, then it needs to parse into a quantity and comments will - // break that - str = elem.YNode().Value - if str == "" { - return nil - } - } - - if f.MatchType == Regexp || f.MatchType == 0 { - if reg.MatchString(str) { - found = true - } - return nil - } - - comp, err := f.Compare(str, f.Value) - if err != nil { - return err - } - - if f.MatchType == GreaterThan && comp > 0 { - found = true - } - if f.MatchType == GreaterThanEq && comp >= 0 { - found = true - } - if f.MatchType == LessThan && comp < 0 { - found = true - } - if f.MatchType == LessThanEq && comp <= 0 { - found = true - } - return nil - }) - if err != nil { - return nil, err - } - if found == f.InvertMatch { - continue - } - - output = append(output, input[i]) - } - return output, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/local.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/local.go deleted file mode 100644 index bdac1a28..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/local.go +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filters - -import ( - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -const LocalConfigAnnotation = "config.kubernetes.io/local-config" - -// IsLocalConfig filters Resources using the config.kubernetes.io/local-config annotation -type IsLocalConfig struct { - // IncludeLocalConfig will include local-config if set to true - IncludeLocalConfig bool `yaml:"includeLocalConfig,omitempty"` - - // ExcludeNonLocalConfig will exclude non local-config if set to true - ExcludeNonLocalConfig bool `yaml:"excludeNonLocalConfig,omitempty"` -} - -// Filter implements kio.Filter -func (c *IsLocalConfig) Filter(inputs []*yaml.RNode) ([]*yaml.RNode, error) { - var out []*yaml.RNode - for i := range inputs { - meta, err := inputs[i].GetMeta() - if err != nil { - return nil, err - } - _, local := meta.Annotations[LocalConfigAnnotation] - - if local && c.IncludeLocalConfig { - out = append(out, inputs[i]) - } else if !local && !c.ExcludeNonLocalConfig { - out = append(out, inputs[i]) - } - } - return out, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge.go deleted file mode 100644 index 5159052c..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge.go +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package merge contains libraries for merging Resources and Patches -package filters - -import ( - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/merge2" -) - -// MergeFilter merges Resources with the Group/Version/Kind/Namespace/Name together using -// a 2-way merge strategy. -// -// - Fields set to null in the source will be cleared from the destination -// - Fields with matching keys will be merged recursively -// - Lists with an associative key (e.g. name) will have their elements merged using the key -// - List without an associative key will have the dest list replaced by the source list -type MergeFilter struct { - Reverse bool -} - -var _ kio.Filter = MergeFilter{} - -type mergeKey struct { - apiVersion string - kind string - namespace string - name string -} - -// MergeFilter implements kio.Filter by merging Resources with the same G/V/K/NS/N -func (c MergeFilter) Filter(input []*yaml.RNode) ([]*yaml.RNode, error) { - // invert the merge precedence - if c.Reverse { - for i, j := 0, len(input)-1; i < j; i, j = i+1, j-1 { - input[i], input[j] = input[j], input[i] - } - } - - // index the Resources by G/V/K/NS/N - index := map[mergeKey][]*yaml.RNode{} - // retain the original ordering - var order []mergeKey - for i := range input { - meta, err := input[i].GetMeta() - if err != nil { - return nil, err - } - key := mergeKey{ - apiVersion: meta.APIVersion, - kind: meta.Kind, - namespace: meta.Namespace, - name: meta.Name, - } - if _, found := index[key]; !found { - order = append(order, key) - } - index[key] = append(index[key], input[i]) - } - - // merge each of the G/V/K/NS/N lists - var output []*yaml.RNode - var err error - for _, k := range order { - var merged *yaml.RNode - resources := index[k] - for i := range resources { - patch := resources[i] - if merged == nil { - // first resources, don't merge it - merged = resources[i] - } else { - merged, err = merge2.Merge(patch, merged, yaml.MergeOptions{ - ListIncreaseDirection: yaml.MergeOptionsListPrepend, - }) - if err != nil { - return nil, err - } - } - } - output = append(output, merged) - } - return output, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge3.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge3.go deleted file mode 100644 index de8bf6f6..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/merge3.go +++ /dev/null @@ -1,317 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filters - -import ( - "fmt" - - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/merge3" -) - -const ( - mergeSourceAnnotation = "config.kubernetes.io/merge-source" - mergeSourceOriginal = "original" - mergeSourceUpdated = "updated" - mergeSourceDest = "dest" -) - -// ResourceMatcher interface is used to match two resources based on IsSameResource implementation -// This is the way to group same logical resources in upstream, local and origin for merge -// The default way to group them is using GVKNN similar to how kubernetes server identifies resources -// Users of this library might have their own interpretation of grouping similar resources -// for e.g. if consumer adds a name-prefix to local resource, it should not be treated as new resource -// for updates etc. -// Hence, the callers of this library may pass different implementation for IsSameResource -type ResourceMatcher interface { - IsSameResource(node1, node2 *yaml.RNode) bool -} - -// ResourceMergeStrategy is the return type from the Handle function in the -// ResourceHandler interface. It determines which version of a resource should -// be included in the output (if any). -type ResourceMergeStrategy int - -const ( - // Merge means the output to dest should be the 3-way merge of original, - // updated and dest. - Merge ResourceMergeStrategy = iota - // KeepDest means the version of the resource in dest should be the output. - KeepDest - // KeepUpdated means the version of the resource in updated should be the - // output. - KeepUpdated - // KeepOriginal means the version of the resource in original should be the - // output. - KeepOriginal - // Skip means the resource should not be included in the output. - Skip -) - -// ResourceHandler interface is used to determine what should be done for a -// resource once the versions in original, updated and dest has been -// identified based on the ResourceMatcher. This allows users to customize -// what should be the result in dest if a resource has been deleted from -// upstream. -type ResourceHandler interface { - Handle(original, updated, dest *yaml.RNode) (ResourceMergeStrategy, error) -} - -// Merge3 performs a 3-way merge on the original, updated, and destination packages. -type Merge3 struct { - OriginalPath string - UpdatedPath string - DestPath string - MatchFilesGlob []string - Matcher ResourceMatcher - Handler ResourceHandler -} - -func (m Merge3) Merge() error { - // Read the destination package. The ReadWriter will take take of deleting files - // for removed resources. - var inputs []kio.Reader - dest := &kio.LocalPackageReadWriter{ - PackagePath: m.DestPath, - MatchFilesGlob: m.MatchFilesGlob, - SetAnnotations: map[string]string{mergeSourceAnnotation: mergeSourceDest}, - } - inputs = append(inputs, dest) - - // Read the original package - inputs = append(inputs, kio.LocalPackageReader{ - PackagePath: m.OriginalPath, - MatchFilesGlob: m.MatchFilesGlob, - SetAnnotations: map[string]string{mergeSourceAnnotation: mergeSourceOriginal}, - }) - - // Read the updated package - inputs = append(inputs, kio.LocalPackageReader{ - PackagePath: m.UpdatedPath, - MatchFilesGlob: m.MatchFilesGlob, - SetAnnotations: map[string]string{mergeSourceAnnotation: mergeSourceUpdated}, - }) - - return kio.Pipeline{ - Inputs: inputs, - Filters: []kio.Filter{m}, - Outputs: []kio.Writer{dest}, - }.Execute() -} - -// Filter combines Resources with the same GVK + N + NS into tuples, and then merges them -func (m Merge3) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - // index the nodes by their identity - matcher := m.Matcher - if matcher == nil { - matcher = &DefaultGVKNNMatcher{MergeOnPath: true} - } - handler := m.Handler - if handler == nil { - handler = &DefaultResourceHandler{} - } - - tl := tuples{matcher: matcher} - for i := range nodes { - if err := tl.add(nodes[i]); err != nil { - return nil, err - } - } - - // iterate over the inputs, merging as needed - var output []*yaml.RNode - for i := range tl.list { - t := tl.list[i] - strategy, err := handler.Handle(t.original, t.updated, t.dest) - if err != nil { - return nil, err - } - switch strategy { - case Merge: - node, err := t.merge() - if err != nil { - return nil, err - } - if node != nil { - output = append(output, node) - } - case KeepDest: - output = append(output, t.dest) - case KeepUpdated: - output = append(output, t.updated) - case KeepOriginal: - output = append(output, t.original) - case Skip: - // do nothing - } - } - return output, nil -} - -// tuples combines nodes with the same GVK + N + NS -type tuples struct { - list []*tuple - - // matcher matches the resources for merge - matcher ResourceMatcher -} - -// DefaultGVKNNMatcher holds the default matching of resources implementation based on -// Group, Version, Kind, Name and Namespace of the resource -type DefaultGVKNNMatcher struct { - // MergeOnPath will use the relative filepath as part of the merge key. - // This may be necessary if the directory contains multiple copies of - // the same resource, or resources patches. - MergeOnPath bool -} - -// IsSameResource returns true if metadata of node1 and metadata of node2 belongs to same logical resource -func (dm *DefaultGVKNNMatcher) IsSameResource(node1, node2 *yaml.RNode) bool { - if node1 == nil || node2 == nil { - return false - } - if err := kioutil.CopyLegacyAnnotations(node1); err != nil { - return false - } - if err := kioutil.CopyLegacyAnnotations(node2); err != nil { - return false - } - - meta1, err := node1.GetMeta() - if err != nil { - return false - } - - meta2, err := node2.GetMeta() - if err != nil { - return false - } - - if meta1.Name != meta2.Name { - return false - } - if meta1.Namespace != meta2.Namespace { - return false - } - if meta1.APIVersion != meta2.APIVersion { - return false - } - if meta1.Kind != meta2.Kind { - return false - } - if dm.MergeOnPath { - // directories may contain multiple copies of a resource with the same - // name, namespace, apiVersion and kind -- e.g. kustomize patches, or - // multiple environments - // mergeOnPath configures the merge logic to use the path as part of the - // resource key - if meta1.Annotations[kioutil.PathAnnotation] != meta2.Annotations[kioutil.PathAnnotation] { - return false - } - } - return true -} - -// add adds a node to the list, combining it with an existing matching Resource if found -func (ts *tuples) add(node *yaml.RNode) error { - for i := range ts.list { - t := ts.list[i] - if ts.matcher.IsSameResource(addedNode(t), node) { - return t.add(node) - } - } - t := &tuple{} - if err := t.add(node); err != nil { - return err - } - ts.list = append(ts.list, t) - return nil -} - -// addedNode returns one on the existing added nodes in the tuple -func addedNode(t *tuple) *yaml.RNode { - if t.updated != nil { - return t.updated - } - if t.original != nil { - return t.original - } - return t.dest -} - -// tuple wraps an original, updated, and dest tuple for a given Resource -type tuple struct { - original *yaml.RNode - updated *yaml.RNode - dest *yaml.RNode -} - -// add sets the corresponding tuple field for the node -func (t *tuple) add(node *yaml.RNode) error { - meta, err := node.GetMeta() - if err != nil { - return err - } - switch meta.Annotations[mergeSourceAnnotation] { - case mergeSourceDest: - if t.dest != nil { - return duplicateError("local", meta.Annotations[kioutil.PathAnnotation]) - } - t.dest = node - case mergeSourceOriginal: - if t.original != nil { - return duplicateError("original upstream", meta.Annotations[kioutil.PathAnnotation]) - } - t.original = node - case mergeSourceUpdated: - if t.updated != nil { - return duplicateError("updated upstream", meta.Annotations[kioutil.PathAnnotation]) - } - t.updated = node - default: - return fmt.Errorf("no source annotation for Resource") - } - return nil -} - -// merge performs a 3-way merge on the tuple -func (t *tuple) merge() (*yaml.RNode, error) { - return merge3.Merge(t.dest, t.original, t.updated) -} - -// duplicateError returns duplicate resources error -func duplicateError(source, filePath string) error { - return fmt.Errorf(`found duplicate %q resources in file %q, please refer to "update" documentation for the fix`, source, filePath) -} - -// DefaultResourceHandler is the default implementation of the ResourceHandler -// interface. It uses the following rules: -// * Keep dest if resource only exists in dest. -// * Keep updated if resource added in updated. -// * Delete dest if updated has been deleted. -// * Don't add the resource back if removed from dest. -// * Otherwise merge. -type DefaultResourceHandler struct{} - -func (*DefaultResourceHandler) Handle(original, updated, dest *yaml.RNode) (ResourceMergeStrategy, error) { - switch { - case original == nil && updated == nil && dest != nil: - // added locally -- keep dest - return KeepDest, nil - case updated != nil && dest == nil: - // added in the update -- add update - return KeepUpdated, nil - case original != nil && updated == nil: - // deleted in the update - return Skip, nil - case original != nil && dest == nil: - // deleted locally - return Skip, nil - default: - // dest and updated are non-nil -- merge them - return Merge, nil - } -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/modify.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/modify.go deleted file mode 100644 index b1090302..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/modify.go +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filters diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/stripcomments.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/stripcomments.go deleted file mode 100644 index 8e9ecb3f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/filters/stripcomments.go +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package filters - -import ( - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type StripCommentsFilter struct{} - -var _ kio.Filter = StripCommentsFilter{} - -func (f StripCommentsFilter) Filter(slice []*yaml.RNode) ([]*yaml.RNode, error) { - for i := range slice { - stripComments(slice[i].YNode()) - } - return slice, nil -} - -func stripComments(node *yaml.Node) { - if node == nil { - return - } - node.HeadComment = "" - node.LineComment = "" - node.FootComment = "" - for i := range node.Content { - stripComments(node.Content[i]) - } -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/ignorefilesmatcher.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/ignorefilesmatcher.go deleted file mode 100644 index 0ba3d838..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/ignorefilesmatcher.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "errors" - "os" - "path/filepath" - "strings" - - gitignore "github.com/monochromegane/go-gitignore" - "sigs.k8s.io/kustomize/kyaml/ext" - "sigs.k8s.io/kustomize/kyaml/filesys" -) - -// ignoreFilesMatcher handles `.krmignore` files, which allows for ignoring -// files or folders in a package. The format of this file is a subset of the -// gitignore format, with recursive patterns (like a/**/c) not supported. If a -// file or folder matches any of the patterns in the .krmignore file for the -// package, it will be excluded. -// -// It works as follows: -// -// * It will look for .krmignore file in the top folder and on the top level -// of any subpackages. Subpackages are defined by the presence of a Krmfile -// in the folder. -// * `.krmignore` files only cover files and folders for the package in which -// it is defined. So ignore patterns defined in a parent package does not -// affect which files are ignored from a subpackage. -// * An ignore pattern can not ignore a subpackage. So even if the parent -// package contains a pattern that ignores the directory foo, if foo is a -// subpackage, it will still be included if the IncludeSubpackages property -// is set to true -type ignoreFilesMatcher struct { - matchers []matcher - fs filesys.FileSystemOrOnDisk -} - -// readIgnoreFile checks whether there is a .krmignore file in the path, and -// if it is, reads it in and turns it into a matcher. If we can't find a file, -// we just add a matcher that match nothing. -func (i *ignoreFilesMatcher) readIgnoreFile(path string) error { - i.verifyPath(path) - f, err := i.fs.Open(filepath.Join(path, ext.IgnoreFileName())) - if err != nil { - if errors.Is(err, os.ErrNotExist) { - i.matchers = append(i.matchers, matcher{ - matcher: gitignore.DummyIgnoreMatcher(false), - basePath: path, - }) - return nil - } - return err - } - defer f.Close() - - i.matchers = append(i.matchers, matcher{ - matcher: gitignore.NewGitIgnoreFromReader(path, f), - basePath: path, - }) - return nil -} - -// verifyPath checks whether the top matcher on the stack -// is correct for the provided filepath. Matchers are removed once -// we encounter a filepath that is not a subpath of the basepath for -// the matcher. -func (i *ignoreFilesMatcher) verifyPath(path string) { - for j := len(i.matchers) - 1; j >= 0; j-- { - matcher := i.matchers[j] - if strings.HasPrefix(path, matcher.basePath) || path == matcher.basePath { - i.matchers = i.matchers[:j+1] - return - } - } -} - -// matchFile checks whether the file given by the provided path matches -// any of the patterns in the .krmignore file for the package. -func (i *ignoreFilesMatcher) matchFile(path string) bool { - if len(i.matchers) == 0 { - return false - } - i.verifyPath(filepath.Dir(path)) - return i.matchers[len(i.matchers)-1].matcher.Match(path, false) -} - -// matchFile checks whether the directory given by the provided path matches -// any of the patterns in the .krmignore file for the package. -func (i *ignoreFilesMatcher) matchDir(path string) bool { - if len(i.matchers) == 0 { - return false - } - i.verifyPath(path) - return i.matchers[len(i.matchers)-1].matcher.Match(path, true) -} - -// matcher wraps the gitignore matcher and the path to the folder -// where the file was found. -type matcher struct { - matcher gitignore.IgnoreMatcher - - basePath string -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/kio.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/kio.go deleted file mode 100644 index 776b6a73..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/kio.go +++ /dev/null @@ -1,442 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package kio contains low-level libraries for reading, modifying and writing -// Resource Configuration and packages. -package kio - -import ( - "fmt" - "strconv" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Reader reads ResourceNodes. Analogous to io.Reader. -type Reader interface { - Read() ([]*yaml.RNode, error) -} - -// ResourceNodeSlice is a collection of ResourceNodes. -// While ResourceNodeSlice has no inherent constraints on ordering or uniqueness, specific -// Readers, Filters or Writers may have constraints. -type ResourceNodeSlice []*yaml.RNode - -var _ Reader = ResourceNodeSlice{} - -func (o ResourceNodeSlice) Read() ([]*yaml.RNode, error) { - return o, nil -} - -// Writer writes ResourceNodes. Analogous to io.Writer. -type Writer interface { - Write([]*yaml.RNode) error -} - -// WriterFunc implements a Writer as a function. -type WriterFunc func([]*yaml.RNode) error - -func (fn WriterFunc) Write(o []*yaml.RNode) error { - return fn(o) -} - -// ReaderWriter implements both Reader and Writer interfaces -type ReaderWriter interface { - Reader - Writer -} - -// Filter modifies a collection of Resource Configuration by returning the modified slice. -// When possible, Filters should be serializable to yaml so that they can be described -// as either data or code. -// -// Analogous to http://www.linfo.org/filters.html -type Filter interface { - Filter([]*yaml.RNode) ([]*yaml.RNode, error) -} - -// TrackableFilter is an extension of Filter which is also capable of tracking -// which fields were mutated by the filter. -type TrackableFilter interface { - Filter - WithMutationTracker(func(key, value, tag string, node *yaml.RNode)) -} - -// FilterFunc implements a Filter as a function. -type FilterFunc func([]*yaml.RNode) ([]*yaml.RNode, error) - -func (fn FilterFunc) Filter(o []*yaml.RNode) ([]*yaml.RNode, error) { - return fn(o) -} - -// Pipeline reads Resource Configuration from a set of Inputs, applies some -// transformation filters, and writes the results to a set of Outputs. -// -// Analogous to http://www.linfo.org/pipes.html -type Pipeline struct { - // Inputs provide sources for Resource Configuration to be read. - Inputs []Reader `yaml:"inputs,omitempty"` - - // Filters are transformations applied to the Resource Configuration. - // They are applied in the order they are specified. - // Analogous to http://www.linfo.org/filters.html - Filters []Filter `yaml:"filters,omitempty"` - - // Outputs are where the transformed Resource Configuration is written. - Outputs []Writer `yaml:"outputs,omitempty"` - - // ContinueOnEmptyResult configures what happens when a filter in the pipeline - // returns an empty result. - // If it is false (default), subsequent filters will be skipped and the result - // will be returned immediately. This is useful as an optimization when you - // know that subsequent filters will not alter the empty result. - // If it is true, the empty result will be provided as input to the next - // filter in the list. This is useful when subsequent functions in the - // pipeline may generate new resources. - ContinueOnEmptyResult bool `yaml:"continueOnEmptyResult,omitempty"` -} - -// Execute executes each step in the sequence, returning immediately after encountering -// any error as part of the Pipeline. -func (p Pipeline) Execute() error { - return p.ExecuteWithCallback(nil) -} - -// PipelineExecuteCallbackFunc defines a callback function that will be called each time a step in the pipeline succeeds. -type PipelineExecuteCallbackFunc = func(op Filter) - -// ExecuteWithCallback executes each step in the sequence, returning immediately after encountering -// any error as part of the Pipeline. The callback will be called each time a step succeeds. -func (p Pipeline) ExecuteWithCallback(callback PipelineExecuteCallbackFunc) error { - var result []*yaml.RNode - - // read from the inputs - for _, i := range p.Inputs { - nodes, err := i.Read() - if err != nil { - return errors.Wrap(err) - } - result = append(result, nodes...) - } - - // apply operations - for i := range p.Filters { - // Not all RNodes passed through kio.Pipeline have metadata nor should - // they all be required to. - nodeAnnos, err := PreprocessResourcesForInternalAnnotationMigration(result) - if err != nil { - return err - } - - op := p.Filters[i] - if callback != nil { - callback(op) - } - result, err = op.Filter(result) - // TODO (issue 2872): This len(result) == 0 should be removed and empty result list should be - // handled by outputs. However currently some writer like LocalPackageReadWriter - // will clear the output directory and which will cause unpredictable results - if len(result) == 0 && !p.ContinueOnEmptyResult || err != nil { - return errors.Wrap(err) - } - - // If either the internal annotations for path, index, and id OR the legacy - // annotations for path, index, and id are changed, we have to update the other. - err = ReconcileInternalAnnotations(result, nodeAnnos) - if err != nil { - return err - } - } - - // write to the outputs - for _, o := range p.Outputs { - if err := o.Write(result); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -// FilterAll runs the yaml.Filter against all inputs -func FilterAll(filter yaml.Filter) Filter { - return FilterFunc(func(nodes []*yaml.RNode) ([]*yaml.RNode, error) { - for i := range nodes { - _, err := filter.Filter(nodes[i]) - if err != nil { - return nil, errors.Wrap(err) - } - } - return nodes, nil - }) -} - -// PreprocessResourcesForInternalAnnotationMigration returns a mapping from id to all -// internal annotations, so that we can use it to reconcile the annotations -// later. This is necessary because currently both internal-prefixed annotations -// and legacy annotations are currently supported, and a change to one must be -// reflected in the other if needed. -func PreprocessResourcesForInternalAnnotationMigration(result []*yaml.RNode) (map[string]map[string]string, error) { - idToAnnosMap := make(map[string]map[string]string) - for i := range result { - idStr := strconv.Itoa(i) - err := result[i].PipeE(yaml.SetAnnotation(kioutil.InternalAnnotationsMigrationResourceIDAnnotation, idStr)) - if err != nil { - return nil, err - } - idToAnnosMap[idStr] = kioutil.GetInternalAnnotations(result[i]) - if err = kioutil.CopyLegacyAnnotations(result[i]); err != nil { - return nil, err - } - meta, _ := result[i].GetMeta() - if err = checkMismatchedAnnos(meta.Annotations); err != nil { - return nil, err - } - } - return idToAnnosMap, nil -} - -func checkMismatchedAnnos(annotations map[string]string) error { - path := annotations[kioutil.PathAnnotation] - index := annotations[kioutil.IndexAnnotation] - id := annotations[kioutil.IdAnnotation] - - legacyPath := annotations[kioutil.LegacyPathAnnotation] - legacyIndex := annotations[kioutil.LegacyIndexAnnotation] - legacyId := annotations[kioutil.LegacyIdAnnotation] - - // if prior to running the functions, the legacy and internal annotations differ, - // throw an error as we cannot infer the user's intent. - if path != "" && legacyPath != "" && path != legacyPath { - return fmt.Errorf("resource input to function has mismatched legacy and internal path annotations") - } - if index != "" && legacyIndex != "" && index != legacyIndex { - return fmt.Errorf("resource input to function has mismatched legacy and internal index annotations") - } - if id != "" && legacyId != "" && id != legacyId { - return fmt.Errorf("resource input to function has mismatched legacy and internal id annotations") - } - return nil -} - -type nodeAnnotations struct { - path string - index string - id string -} - -// ReconcileInternalAnnotations reconciles the annotation format for path, index and id annotations. -// It will ensure the output annotation format matches the format in the input. e.g. if the input -// format uses the legacy format and the output will be converted to the legacy format if it's not. -func ReconcileInternalAnnotations(result []*yaml.RNode, nodeAnnosMap map[string]map[string]string) error { - useInternal, useLegacy, err := determineAnnotationsFormat(nodeAnnosMap) - if err != nil { - return err - } - - for i := range result { - // if only one annotation is set, set the other. - err = missingInternalOrLegacyAnnotations(result[i]) - if err != nil { - return err - } - // we must check to see if the function changed either the new internal annotations - // or the old legacy annotations. If one is changed, the change must be reflected - // in the other. - err = checkAnnotationsAltered(result[i], nodeAnnosMap) - if err != nil { - return err - } - // We invoke determineAnnotationsFormat to find out if the original annotations - // use the internal or (and) the legacy format. We format the resources to - // make them consistent with original format. - err = formatInternalAnnotations(result[i], useInternal, useLegacy) - if err != nil { - return err - } - // if the annotations are still somehow out of sync, throw an error - meta, _ := result[i].GetMeta() - err = checkMismatchedAnnos(meta.Annotations) - if err != nil { - return err - } - - if _, err = result[i].Pipe(yaml.ClearAnnotation(kioutil.InternalAnnotationsMigrationResourceIDAnnotation)); err != nil { - return err - } - } - return nil -} - -// determineAnnotationsFormat determines if the resources are using one of the internal and legacy annotation format or both of them. -func determineAnnotationsFormat(nodeAnnosMap map[string]map[string]string) (useInternal, useLegacy bool, err error) { - if len(nodeAnnosMap) == 0 { - return true, true, nil - } - - var internal, legacy *bool - for _, annos := range nodeAnnosMap { - _, foundPath := annos[kioutil.PathAnnotation] - _, foundIndex := annos[kioutil.IndexAnnotation] - _, foundId := annos[kioutil.IdAnnotation] - _, foundLegacyPath := annos[kioutil.LegacyPathAnnotation] - _, foundLegacyIndex := annos[kioutil.LegacyIndexAnnotation] - _, foundLegacyId := annos[kioutil.LegacyIdAnnotation] - - if !(foundPath || foundIndex || foundId || foundLegacyPath || foundLegacyIndex || foundLegacyId) { - continue - } - - foundOneOf := foundPath || foundIndex || foundId - if internal == nil { - f := foundOneOf - internal = &f - } - if (foundOneOf && !*internal) || (!foundOneOf && *internal) { - err = fmt.Errorf("the annotation formatting in the input resources is not consistent") - return - } - - foundOneOf = foundLegacyPath || foundLegacyIndex || foundLegacyId - if legacy == nil { - f := foundOneOf - legacy = &f - } - if (foundOneOf && !*legacy) || (!foundOneOf && *legacy) { - err = fmt.Errorf("the annotation formatting in the input resources is not consistent") - return - } - } - if internal != nil { - useInternal = *internal - } - if legacy != nil { - useLegacy = *legacy - } - return -} - -func missingInternalOrLegacyAnnotations(rn *yaml.RNode) error { - if err := missingInternalOrLegacyAnnotation(rn, kioutil.PathAnnotation, kioutil.LegacyPathAnnotation); err != nil { - return err - } - if err := missingInternalOrLegacyAnnotation(rn, kioutil.IndexAnnotation, kioutil.LegacyIndexAnnotation); err != nil { - return err - } - if err := missingInternalOrLegacyAnnotation(rn, kioutil.IdAnnotation, kioutil.LegacyIdAnnotation); err != nil { - return err - } - return nil -} - -func missingInternalOrLegacyAnnotation(rn *yaml.RNode, newKey string, legacyKey string) error { - meta, _ := rn.GetMeta() - annotations := meta.Annotations - value := annotations[newKey] - legacyValue := annotations[legacyKey] - - if value == "" && legacyValue == "" { - // do nothing - return nil - } - - if value == "" { - // new key is not set, copy from legacy key - if err := rn.PipeE(yaml.SetAnnotation(newKey, legacyValue)); err != nil { - return err - } - } else if legacyValue == "" { - // legacy key is not set, copy from new key - if err := rn.PipeE(yaml.SetAnnotation(legacyKey, value)); err != nil { - return err - } - } - return nil -} - -func checkAnnotationsAltered(rn *yaml.RNode, nodeAnnosMap map[string]map[string]string) error { - meta, _ := rn.GetMeta() - annotations := meta.Annotations - // get the resource's current path, index, and ids from the new annotations - internal := nodeAnnotations{ - path: annotations[kioutil.PathAnnotation], - index: annotations[kioutil.IndexAnnotation], - id: annotations[kioutil.IdAnnotation], - } - - // get the resource's current path, index, and ids from the legacy annotations - legacy := nodeAnnotations{ - path: annotations[kioutil.LegacyPathAnnotation], - index: annotations[kioutil.LegacyIndexAnnotation], - id: annotations[kioutil.LegacyIdAnnotation], - } - - rid := annotations[kioutil.InternalAnnotationsMigrationResourceIDAnnotation] - originalAnnotations, found := nodeAnnosMap[rid] - if !found { - return nil - } - originalPath, found := originalAnnotations[kioutil.PathAnnotation] - if !found { - originalPath = originalAnnotations[kioutil.LegacyPathAnnotation] - } - if originalPath != "" { - if originalPath != internal.path && originalPath != legacy.path && internal.path != legacy.path { - return fmt.Errorf("resource input to function has mismatched legacy and internal path annotations") - } else if originalPath != internal.path { - if _, err := rn.Pipe(yaml.SetAnnotation(kioutil.LegacyPathAnnotation, internal.path)); err != nil { - return err - } - } else if originalPath != legacy.path { - if _, err := rn.Pipe(yaml.SetAnnotation(kioutil.PathAnnotation, legacy.path)); err != nil { - return err - } - } - } - - originalIndex, found := originalAnnotations[kioutil.IndexAnnotation] - if !found { - originalIndex = originalAnnotations[kioutil.LegacyIndexAnnotation] - } - if originalIndex != "" { - if originalIndex != internal.index && originalIndex != legacy.index && internal.index != legacy.index { - return fmt.Errorf("resource input to function has mismatched legacy and internal index annotations") - } else if originalIndex != internal.index { - if _, err := rn.Pipe(yaml.SetAnnotation(kioutil.LegacyIndexAnnotation, internal.index)); err != nil { - return err - } - } else if originalIndex != legacy.index { - if _, err := rn.Pipe(yaml.SetAnnotation(kioutil.IndexAnnotation, legacy.index)); err != nil { - return err - } - } - } - return nil -} - -func formatInternalAnnotations(rn *yaml.RNode, useInternal, useLegacy bool) error { - if !useInternal { - if err := rn.PipeE(yaml.ClearAnnotation(kioutil.IdAnnotation)); err != nil { - return err - } - if err := rn.PipeE(yaml.ClearAnnotation(kioutil.PathAnnotation)); err != nil { - return err - } - if err := rn.PipeE(yaml.ClearAnnotation(kioutil.IndexAnnotation)); err != nil { - return err - } - } - if !useLegacy { - if err := rn.PipeE(yaml.ClearAnnotation(kioutil.LegacyIdAnnotation)); err != nil { - return err - } - if err := rn.PipeE(yaml.ClearAnnotation(kioutil.LegacyPathAnnotation)); err != nil { - return err - } - if err := rn.PipeE(yaml.ClearAnnotation(kioutil.LegacyIndexAnnotation)); err != nil { - return err - } - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/kioutil/kioutil.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/kioutil/kioutil.go deleted file mode 100644 index 510ecae1..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/kioutil/kioutil.go +++ /dev/null @@ -1,420 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kioutil - -import ( - "fmt" - "path" - "sort" - "strconv" - "strings" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type AnnotationKey = string - -const ( - // internalPrefix is the prefix given to internal annotations that are used - // internally by the orchestrator - internalPrefix string = "internal.config.kubernetes.io/" - - // IndexAnnotation records the index of a specific resource in a file or input stream. - IndexAnnotation AnnotationKey = internalPrefix + "index" - - // PathAnnotation records the path to the file the Resource was read from - PathAnnotation AnnotationKey = internalPrefix + "path" - - // SeqIndentAnnotation records the sequence nodes indentation of the input resource - SeqIndentAnnotation AnnotationKey = internalPrefix + "seqindent" - - // IdAnnotation records the id of the resource to map inputs to outputs - IdAnnotation AnnotationKey = internalPrefix + "id" - - // Deprecated: Use IndexAnnotation instead. - LegacyIndexAnnotation AnnotationKey = "config.kubernetes.io/index" - - // Deprecated: use PathAnnotation instead. - LegacyPathAnnotation AnnotationKey = "config.kubernetes.io/path" - - // Deprecated: use IdAnnotation instead. - LegacyIdAnnotation = "config.k8s.io/id" - - // InternalAnnotationsMigrationResourceIDAnnotation is used to uniquely identify - // resources during round trip to and from a function execution. We will use it - // to track the internal annotations and reconcile them if needed. - InternalAnnotationsMigrationResourceIDAnnotation = internalPrefix + "annotations-migration-resource-id" -) - -func GetFileAnnotations(rn *yaml.RNode) (string, string, error) { - rm, _ := rn.GetMeta() - annotations := rm.Annotations - path, found := annotations[PathAnnotation] - if !found { - path = annotations[LegacyPathAnnotation] - } - index, found := annotations[IndexAnnotation] - if !found { - index = annotations[LegacyIndexAnnotation] - } - return path, index, nil -} - -func GetIdAnnotation(rn *yaml.RNode) string { - rm, _ := rn.GetMeta() - annotations := rm.Annotations - id, found := annotations[IdAnnotation] - if !found { - id = annotations[LegacyIdAnnotation] - } - return id -} - -func CopyLegacyAnnotations(rn *yaml.RNode) error { - meta, err := rn.GetMeta() - if err != nil { - if err == yaml.ErrMissingMetadata { - // resource has no metadata, this should be a no-op - return nil - } - return err - } - if err := copyAnnotations(meta, rn, LegacyPathAnnotation, PathAnnotation); err != nil { - return err - } - if err := copyAnnotations(meta, rn, LegacyIndexAnnotation, IndexAnnotation); err != nil { - return err - } - if err := copyAnnotations(meta, rn, LegacyIdAnnotation, IdAnnotation); err != nil { - return err - } - return nil -} - -func copyAnnotations(meta yaml.ResourceMeta, rn *yaml.RNode, legacyKey string, newKey string) error { - newValue := meta.Annotations[newKey] - legacyValue := meta.Annotations[legacyKey] - if newValue != "" { - if legacyValue == "" { - if err := rn.PipeE(yaml.SetAnnotation(legacyKey, newValue)); err != nil { - return err - } - } - } else { - if legacyValue != "" { - if err := rn.PipeE(yaml.SetAnnotation(newKey, legacyValue)); err != nil { - return err - } - } - } - return nil -} - -// ErrorIfMissingAnnotation validates the provided annotations are present on the given resources -func ErrorIfMissingAnnotation(nodes []*yaml.RNode, keys ...AnnotationKey) error { - for _, key := range keys { - for _, node := range nodes { - val, err := node.Pipe(yaml.GetAnnotation(key)) - if err != nil { - return errors.Wrap(err) - } - if val == nil { - return errors.Errorf("missing annotation %s", key) - } - } - } - return nil -} - -// CreatePathAnnotationValue creates a default path annotation value for a Resource. -// The path prefix will be dir. -func CreatePathAnnotationValue(dir string, m yaml.ResourceMeta) string { - filename := fmt.Sprintf("%s_%s.yaml", strings.ToLower(m.Kind), m.Name) - return path.Join(dir, m.Namespace, filename) -} - -// DefaultPathAndIndexAnnotation sets a default path or index value on any nodes missing the -// annotation -func DefaultPathAndIndexAnnotation(dir string, nodes []*yaml.RNode) error { - counts := map[string]int{} - - // check each node for the path annotation - for i := range nodes { - if err := CopyLegacyAnnotations(nodes[i]); err != nil { - return err - } - m, err := nodes[i].GetMeta() - if err != nil { - return err - } - - // calculate the max index in each file in case we are appending - if p, found := m.Annotations[PathAnnotation]; found { - // record the max indexes into each file - if i, found := m.Annotations[IndexAnnotation]; found { - index, _ := strconv.Atoi(i) - if index > counts[p] { - counts[p] = index - } - } - - // has the path annotation already -- do nothing - continue - } - - // set a path annotation on the Resource - path := CreatePathAnnotationValue(dir, m) - if err := nodes[i].PipeE(yaml.SetAnnotation(PathAnnotation, path)); err != nil { - return err - } - if err := nodes[i].PipeE(yaml.SetAnnotation(LegacyPathAnnotation, path)); err != nil { - return err - } - } - - // set the index annotations - for i := range nodes { - m, err := nodes[i].GetMeta() - if err != nil { - return err - } - - if _, found := m.Annotations[IndexAnnotation]; found { - continue - } - - p := m.Annotations[PathAnnotation] - - // set an index annotation on the Resource - c := counts[p] - counts[p] = c + 1 - if err := nodes[i].PipeE( - yaml.SetAnnotation(IndexAnnotation, fmt.Sprintf("%d", c))); err != nil { - return err - } - if err := nodes[i].PipeE( - yaml.SetAnnotation(LegacyIndexAnnotation, fmt.Sprintf("%d", c))); err != nil { - return err - } - } - return nil -} - -// DefaultPathAnnotation sets a default path annotation on any Reources -// missing it. -func DefaultPathAnnotation(dir string, nodes []*yaml.RNode) error { - // check each node for the path annotation - for i := range nodes { - if err := CopyLegacyAnnotations(nodes[i]); err != nil { - return err - } - m, err := nodes[i].GetMeta() - if err != nil { - return err - } - - if _, found := m.Annotations[PathAnnotation]; found { - // has the path annotation already -- do nothing - continue - } - - // set a path annotation on the Resource - path := CreatePathAnnotationValue(dir, m) - if err := nodes[i].PipeE(yaml.SetAnnotation(PathAnnotation, path)); err != nil { - return err - } - if err := nodes[i].PipeE(yaml.SetAnnotation(LegacyPathAnnotation, path)); err != nil { - return err - } - } - return nil -} - -// Map invokes fn for each element in nodes. -func Map(nodes []*yaml.RNode, fn func(*yaml.RNode) (*yaml.RNode, error)) ([]*yaml.RNode, error) { - var returnNodes []*yaml.RNode - for i := range nodes { - n, err := fn(nodes[i]) - if err != nil { - return nil, errors.Wrap(err) - } - if n != nil { - returnNodes = append(returnNodes, n) - } - } - return returnNodes, nil -} - -func MapMeta(nodes []*yaml.RNode, fn func(*yaml.RNode, yaml.ResourceMeta) (*yaml.RNode, error)) ( - []*yaml.RNode, error) { - var returnNodes []*yaml.RNode - for i := range nodes { - meta, err := nodes[i].GetMeta() - if err != nil { - return nil, errors.Wrap(err) - } - n, err := fn(nodes[i], meta) - if err != nil { - return nil, errors.Wrap(err) - } - if n != nil { - returnNodes = append(returnNodes, n) - } - } - return returnNodes, nil -} - -// SortNodes sorts nodes in place: -// - by PathAnnotation annotation -// - by IndexAnnotation annotation -func SortNodes(nodes []*yaml.RNode) error { - var err error - // use stable sort to keep ordering of equal elements - sort.SliceStable(nodes, func(i, j int) bool { - if err != nil { - return false - } - if err := CopyLegacyAnnotations(nodes[i]); err != nil { - return false - } - if err := CopyLegacyAnnotations(nodes[j]); err != nil { - return false - } - var iMeta, jMeta yaml.ResourceMeta - if iMeta, _ = nodes[i].GetMeta(); err != nil { - return false - } - if jMeta, _ = nodes[j].GetMeta(); err != nil { - return false - } - - iValue := iMeta.Annotations[PathAnnotation] - jValue := jMeta.Annotations[PathAnnotation] - if iValue != jValue { - return iValue < jValue - } - - iValue = iMeta.Annotations[IndexAnnotation] - jValue = jMeta.Annotations[IndexAnnotation] - - // put resource config without an index first - if iValue == jValue { - return false - } - if iValue == "" { - return true - } - if jValue == "" { - return false - } - - // sort by index - var iIndex, jIndex int - iIndex, err = strconv.Atoi(iValue) - if err != nil { - err = fmt.Errorf("unable to parse config.kubernetes.io/index %s :%v", iValue, err) - return false - } - jIndex, err = strconv.Atoi(jValue) - if err != nil { - err = fmt.Errorf("unable to parse config.kubernetes.io/index %s :%v", jValue, err) - return false - } - if iIndex != jIndex { - return iIndex < jIndex - } - - // elements are equal - return false - }) - return errors.Wrap(err) -} - -// CopyInternalAnnotations copies the annotations that begin with the prefix -// `internal.config.kubernetes.io` from the source RNode to the destination RNode. -// It takes a parameter exclusions, which is a list of annotation keys to ignore. -func CopyInternalAnnotations(src *yaml.RNode, dst *yaml.RNode, exclusions ...AnnotationKey) error { - srcAnnotations := GetInternalAnnotations(src) - for k, v := range srcAnnotations { - if stringSliceContains(exclusions, k) { - continue - } - if err := dst.PipeE(yaml.SetAnnotation(k, v)); err != nil { - return err - } - } - return nil -} - -// ConfirmInternalAnnotationUnchanged compares the annotations of the RNodes that begin with the prefix -// `internal.config.kubernetes.io`, throwing an error if they differ. It takes a parameter exclusions, -// which is a list of annotation keys to ignore. -func ConfirmInternalAnnotationUnchanged(r1 *yaml.RNode, r2 *yaml.RNode, exclusions ...AnnotationKey) error { - r1Annotations := GetInternalAnnotations(r1) - r2Annotations := GetInternalAnnotations(r2) - - // this is a map to prevent duplicates - diffAnnos := make(map[string]bool) - - for k, v1 := range r1Annotations { - if stringSliceContains(exclusions, k) { - continue - } - if v2, ok := r2Annotations[k]; !ok || v1 != v2 { - diffAnnos[k] = true - } - } - - for k, v2 := range r2Annotations { - if stringSliceContains(exclusions, k) { - continue - } - if v1, ok := r1Annotations[k]; !ok || v2 != v1 { - diffAnnos[k] = true - } - } - - if len(diffAnnos) > 0 { - keys := make([]string, 0, len(diffAnnos)) - for k := range diffAnnos { - keys = append(keys, k) - } - sort.Strings(keys) - - errorString := "internal annotations differ: " - for _, key := range keys { - errorString = errorString + key + ", " - } - return errors.Errorf(errorString[0 : len(errorString)-2]) - } - - return nil -} - -// GetInternalAnnotations returns a map of all the annotations of the provided -// RNode that satisfies one of the following: 1) begin with the prefix -// `internal.config.kubernetes.io` 2) is one of `config.kubernetes.io/path`, -// `config.kubernetes.io/index` and `config.k8s.io/id`. -func GetInternalAnnotations(rn *yaml.RNode) map[string]string { - meta, _ := rn.GetMeta() - annotations := meta.Annotations - result := make(map[string]string) - for k, v := range annotations { - if strings.HasPrefix(k, internalPrefix) || k == LegacyPathAnnotation || k == LegacyIndexAnnotation || k == LegacyIdAnnotation { - result[k] = v - } - } - return result -} - -// stringSliceContains returns true if the slice has the string. -func stringSliceContains(slice []string, str string) bool { - for _, s := range slice { - if s == str { - return true - } - } - return false -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_reader.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_reader.go deleted file mode 100644 index 609a791f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_reader.go +++ /dev/null @@ -1,360 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "fmt" - "os" - "path/filepath" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/sets" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// requiredResourcePackageAnnotations are annotations that are required to write resources back to -// files. -var requiredResourcePackageAnnotations = []string{kioutil.IndexAnnotation, kioutil.PathAnnotation} - -// PackageBuffer implements Reader and Writer, storing Resources in a local field. -type PackageBuffer struct { - Nodes []*yaml.RNode -} - -func (r *PackageBuffer) Read() ([]*yaml.RNode, error) { - return r.Nodes, nil -} - -func (r *PackageBuffer) Write(nodes []*yaml.RNode) error { - r.Nodes = nodes - return nil -} - -// LocalPackageReadWriter reads and writes Resources from / to a local directory. -// When writing, LocalPackageReadWriter will delete files if all of the Resources from -// that file have been removed from the output. -type LocalPackageReadWriter struct { - Kind string `yaml:"kind,omitempty"` - - KeepReaderAnnotations bool `yaml:"keepReaderAnnotations,omitempty"` - - // PreserveSeqIndent if true adds kioutil.SeqIndentAnnotation to each resource - PreserveSeqIndent bool - - // PackagePath is the path to the package directory. - PackagePath string `yaml:"path,omitempty"` - - // PackageFileName is the name of file containing package metadata. - // It will be used to identify package. - PackageFileName string `yaml:"packageFileName,omitempty"` - - // MatchFilesGlob configures Read to only read Resources from files matching any of the - // provided patterns. - // Defaults to ["*.yaml", "*.yml"] if empty. To match all files specify ["*"]. - MatchFilesGlob []string `yaml:"matchFilesGlob,omitempty"` - - // IncludeSubpackages will configure Read to read Resources from subpackages. - // Subpackages are identified by presence of PackageFileName. - IncludeSubpackages bool `yaml:"includeSubpackages,omitempty"` - - // ErrorIfNonResources will configure Read to throw an error if yaml missing missing - // apiVersion or kind is read. - ErrorIfNonResources bool `yaml:"errorIfNonResources,omitempty"` - - // OmitReaderAnnotations will cause the reader to skip annotating Resources with the file - // path and mode. - OmitReaderAnnotations bool `yaml:"omitReaderAnnotations,omitempty"` - - // SetAnnotations are annotations to set on the Resources as they are read. - SetAnnotations map[string]string `yaml:"setAnnotations,omitempty"` - - // NoDeleteFiles if set to true, LocalPackageReadWriter won't delete any files - NoDeleteFiles bool `yaml:"noDeleteFiles,omitempty"` - - files sets.String - - // FileSkipFunc is a function which returns true if reader should ignore - // the file - FileSkipFunc LocalPackageSkipFileFunc - - // FileSystem can be used to mock the disk file system. - FileSystem filesys.FileSystemOrOnDisk - - // WrapBareSeqNode wraps the bare sequence node document with map node, - // kyaml uses reader annotations to track resources, it is not possible to - // add them to bare sequence nodes, this option enables wrapping such bare - // sequence nodes into map node with key yaml.BareSeqNodeWrappingKey - // note that this wrapping is different and not related to ResourceList wrapping - WrapBareSeqNode bool -} - -func (r *LocalPackageReadWriter) Read() ([]*yaml.RNode, error) { - nodes, err := LocalPackageReader{ - PackagePath: r.PackagePath, - MatchFilesGlob: r.MatchFilesGlob, - IncludeSubpackages: r.IncludeSubpackages, - ErrorIfNonResources: r.ErrorIfNonResources, - SetAnnotations: r.SetAnnotations, - PackageFileName: r.PackageFileName, - FileSkipFunc: r.FileSkipFunc, - PreserveSeqIndent: r.PreserveSeqIndent, - FileSystem: r.FileSystem, - WrapBareSeqNode: r.WrapBareSeqNode, - }.Read() - if err != nil { - return nil, errors.Wrap(err) - } - // keep track of all the files - if !r.NoDeleteFiles { - r.files, err = r.getFiles(nodes) - if err != nil { - return nil, errors.Wrap(err) - } - } - return nodes, nil -} - -func (r *LocalPackageReadWriter) Write(nodes []*yaml.RNode) error { - newFiles, err := r.getFiles(nodes) - if err != nil { - return errors.Wrap(err) - } - var clear []string - for k := range r.SetAnnotations { - clear = append(clear, k) - } - err = LocalPackageWriter{ - PackagePath: r.PackagePath, - ClearAnnotations: clear, - KeepReaderAnnotations: r.KeepReaderAnnotations, - FileSystem: r.FileSystem, - }.Write(nodes) - if err != nil { - return errors.Wrap(err) - } - deleteFiles := r.files.Difference(newFiles) - for f := range deleteFiles { - if err = r.FileSystem.RemoveAll(filepath.Join(r.PackagePath, f)); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -func (r *LocalPackageReadWriter) getFiles(nodes []*yaml.RNode) (sets.String, error) { - val := sets.String{} - for _, n := range nodes { - path, _, err := kioutil.GetFileAnnotations(n) - if err != nil { - return nil, errors.Wrap(err) - } - val.Insert(path) - } - return val, nil -} - -// LocalPackageSkipFileFunc is a function which returns true if the file -// in the package should be ignored by reader. -// relPath is an OS specific relative path -type LocalPackageSkipFileFunc func(relPath string) bool - -// LocalPackageReader reads ResourceNodes from a local package. -type LocalPackageReader struct { - Kind string `yaml:"kind,omitempty"` - - // PackagePath is the path to the package directory. - PackagePath string `yaml:"path,omitempty"` - - // PackageFileName is the name of file containing package metadata. - // It will be used to identify package. - PackageFileName string `yaml:"packageFileName,omitempty"` - - // MatchFilesGlob configures Read to only read Resources from files matching any of the - // provided patterns. - // Defaults to ["*.yaml", "*.yml"] if empty. To match all files specify ["*"]. - MatchFilesGlob []string `yaml:"matchFilesGlob,omitempty"` - - // IncludeSubpackages will configure Read to read Resources from subpackages. - // Subpackages are identified by presence of PackageFileName. - IncludeSubpackages bool `yaml:"includeSubpackages,omitempty"` - - // ErrorIfNonResources will configure Read to throw an error if yaml missing missing - // apiVersion or kind is read. - ErrorIfNonResources bool `yaml:"errorIfNonResources,omitempty"` - - // OmitReaderAnnotations will cause the reader to skip annotating Resources with the file - // path and mode. - OmitReaderAnnotations bool `yaml:"omitReaderAnnotations,omitempty"` - - // SetAnnotations are annotations to set on the Resources as they are read. - SetAnnotations map[string]string `yaml:"setAnnotations,omitempty"` - - // FileSkipFunc is a function which returns true if reader should ignore - // the file - FileSkipFunc LocalPackageSkipFileFunc - - // PreserveSeqIndent if true adds kioutil.SeqIndentAnnotation to each resource - PreserveSeqIndent bool - - // FileSystem can be used to mock the disk file system. - FileSystem filesys.FileSystemOrOnDisk - - // WrapBareSeqNode wraps the bare sequence node document with map node, - // kyaml uses reader annotations to track resources, it is not possible to - // add them to bare sequence nodes, this option enables wrapping such bare - // sequence nodes into map node with key yaml.BareSeqNodeWrappingKey - // note that this wrapping is different and not related to ResourceList wrapping - WrapBareSeqNode bool -} - -var _ Reader = LocalPackageReader{} - -var DefaultMatch = []string{"*.yaml", "*.yml"} -var JSONMatch = []string{"*.json"} -var MatchAll = append(DefaultMatch, JSONMatch...) - -// Read reads the Resources. -func (r LocalPackageReader) Read() ([]*yaml.RNode, error) { - if r.PackagePath == "" { - return nil, fmt.Errorf("must specify package path") - } - - // use slash for path - r.PackagePath = filepath.ToSlash(r.PackagePath) - if len(r.MatchFilesGlob) == 0 { - r.MatchFilesGlob = DefaultMatch - } - - var operand ResourceNodeSlice - var pathRelativeTo string - var err error - ignoreFilesMatcher := &ignoreFilesMatcher{ - fs: r.FileSystem, - } - dir, file, err := r.FileSystem.CleanedAbs(r.PackagePath) - if err != nil { - return nil, errors.Wrap(err) - } - r.PackagePath = filepath.Join(string(dir), file) - err = r.FileSystem.Walk(r.PackagePath, func( - path string, info os.FileInfo, err error) error { - if err != nil { - return errors.Wrap(err) - } - - // is this the user specified path? - if path == r.PackagePath { - if info.IsDir() { - // skip the root package directory, but check for a - // .krmignore file first. - pathRelativeTo = r.PackagePath - return ignoreFilesMatcher.readIgnoreFile(path) - } - - // user specified path is a file rather than a directory. - // make its path relative to its parent so it can be written to another file. - pathRelativeTo = filepath.Dir(r.PackagePath) - } - - // check if we should skip the directory or file - if info.IsDir() { - return r.shouldSkipDir(path, ignoreFilesMatcher) - } - - // get the relative path to file within the package so we can write the files back out - // to another location. - relPath, err := filepath.Rel(pathRelativeTo, path) - if err != nil { - return errors.WrapPrefixf(err, pathRelativeTo) - } - if match, err := r.shouldSkipFile(path, relPath, ignoreFilesMatcher); err != nil { - return err - } else if match { - // skip this file - return nil - } - - r.initReaderAnnotations(relPath, info) - nodes, err := r.readFile(path, info) - if err != nil { - return errors.WrapPrefixf(err, path) - } - operand = append(operand, nodes...) - return nil - }) - return operand, err -} - -// readFile reads the ResourceNodes from a file -func (r *LocalPackageReader) readFile(path string, _ os.FileInfo) ([]*yaml.RNode, error) { - f, err := r.FileSystem.Open(path) - if err != nil { - return nil, err - } - defer f.Close() - - rr := &ByteReader{ - DisableUnwrapping: true, - Reader: f, - OmitReaderAnnotations: r.OmitReaderAnnotations, - SetAnnotations: r.SetAnnotations, - PreserveSeqIndent: r.PreserveSeqIndent, - WrapBareSeqNode: r.WrapBareSeqNode, - } - return rr.Read() -} - -// shouldSkipFile returns true if the file should be skipped -func (r *LocalPackageReader) shouldSkipFile(path, relPath string, matcher *ignoreFilesMatcher) (bool, error) { - // check if the file is covered by a .krmignore file. - if matcher.matchFile(path) { - return true, nil - } - - if r.FileSkipFunc != nil && r.FileSkipFunc(relPath) { - return true, nil - } - - // check if the files are in scope - for _, g := range r.MatchFilesGlob { - if match, err := filepath.Match(g, filepath.Base(path)); err != nil { - return true, errors.Wrap(err) - } else if match { - return false, nil - } - } - return true, nil -} - -// initReaderAnnotations adds the LocalPackageReader Annotations to r.SetAnnotations -func (r *LocalPackageReader) initReaderAnnotations(path string, _ os.FileInfo) { - if r.SetAnnotations == nil { - r.SetAnnotations = map[string]string{} - } - if !r.OmitReaderAnnotations { - r.SetAnnotations[kioutil.PathAnnotation] = path - r.SetAnnotations[kioutil.LegacyPathAnnotation] = path - } -} - -// shouldSkipDir returns a filepath.SkipDir if the directory should be skipped -func (r *LocalPackageReader) shouldSkipDir(path string, matcher *ignoreFilesMatcher) error { - if matcher.matchDir(path) { - return filepath.SkipDir - } - - if r.PackageFileName == "" { - return nil - } - // check if this is a subpackage - if !r.FileSystem.Exists(filepath.Join(path, r.PackageFileName)) { - return nil - } - if !r.IncludeSubpackages { - return filepath.SkipDir - } - return matcher.readIgnoreFile(path) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_writer.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_writer.go deleted file mode 100644 index ce6fa45a..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/pkgio_writer.go +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "bytes" - "fmt" - "os" - "path/filepath" - "strings" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/filesys" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// LocalPackageWriter writes ResourceNodes to a filesystem -type LocalPackageWriter struct { - Kind string `yaml:"kind,omitempty"` - - // PackagePath is the path to the package directory. - PackagePath string `yaml:"path,omitempty"` - - // KeepReaderAnnotations if set will retain the annotations set by LocalPackageReader - KeepReaderAnnotations bool `yaml:"keepReaderAnnotations,omitempty"` - - // ClearAnnotations will clear annotations before writing the resources - ClearAnnotations []string `yaml:"clearAnnotations,omitempty"` - - // FileSystem can be used to mock the disk file system. - FileSystem filesys.FileSystemOrOnDisk -} - -var _ Writer = LocalPackageWriter{} - -func (r LocalPackageWriter) Write(nodes []*yaml.RNode) error { - // set the path and index annotations if they are missing - if err := kioutil.DefaultPathAndIndexAnnotation("", nodes); err != nil { - return err - } - - if !r.FileSystem.Exists(r.PackagePath) { - return errors.WrapPrefixf(os.ErrNotExist, "could not write to %q", r.PackagePath) - } - if !r.FileSystem.IsDir(r.PackagePath) { - // if the user specified input isn't a directory, the package is the directory of the - // target - r.PackagePath = filepath.Dir(r.PackagePath) - } - - // setup indexes for writing Resources back to files - if err := r.errorIfMissingRequiredAnnotation(nodes); err != nil { - return err - } - outputFiles, err := r.indexByFilePath(nodes) - if err != nil { - return err - } - for k := range outputFiles { - if err = kioutil.SortNodes(outputFiles[k]); err != nil { - return errors.Wrap(err) - } - } - - if !r.KeepReaderAnnotations { - r.ClearAnnotations = append(r.ClearAnnotations, kioutil.PathAnnotation) - r.ClearAnnotations = append(r.ClearAnnotations, kioutil.LegacyPathAnnotation) - } - - // validate outputs before writing any - for path := range outputFiles { - outputPath := filepath.Join(r.PackagePath, path) - if r.FileSystem.IsDir(outputPath) { - return fmt.Errorf("config.kubernetes.io/path cannot be a directory: %s", path) - } - - err = r.FileSystem.MkdirAll(filepath.Dir(outputPath)) - if err != nil { - return errors.Wrap(err) - } - } - - // write files - buf := bytes.NewBuffer(nil) - for path := range outputFiles { - outputPath := filepath.Join(r.PackagePath, path) - err = r.FileSystem.MkdirAll(filepath.Dir(filepath.Join(r.PackagePath, path))) - if err != nil { - return errors.Wrap(err) - } - - buf.Reset() - w := ByteWriter{ - Writer: buf, - KeepReaderAnnotations: r.KeepReaderAnnotations, - ClearAnnotations: r.ClearAnnotations, - } - if err = w.Write(outputFiles[path]); err != nil { - return errors.Wrap(err) - } - - if err := r.FileSystem.WriteFile(outputPath, buf.Bytes()); err != nil { - return errors.Wrap(err) - } - } - - return nil -} - -func (r LocalPackageWriter) errorIfMissingRequiredAnnotation(nodes []*yaml.RNode) error { - for i := range nodes { - for _, s := range requiredResourcePackageAnnotations { - key, err := nodes[i].Pipe(yaml.GetAnnotation(s)) - if err != nil { - return errors.Wrap(err) - } - if key == nil || key.YNode() == nil || key.YNode().Value == "" { - return errors.Errorf( - "resources must be annotated with %s to be written to files", s) - } - } - } - return nil -} - -func (r LocalPackageWriter) indexByFilePath(nodes []*yaml.RNode) (map[string][]*yaml.RNode, error) { - outputFiles := map[string][]*yaml.RNode{} - for i := range nodes { - // parse the file write path - node := nodes[i] - value, err := node.Pipe(yaml.GetAnnotation(kioutil.PathAnnotation)) - if err != nil { - // this should never happen if errorIfMissingRequiredAnnotation was run - return nil, errors.Wrap(err) - } - path := value.YNode().Value - outputFiles[path] = append(outputFiles[path], node) - - if filepath.IsAbs(path) { - return nil, errors.Errorf("package paths may not be absolute paths") - } - if strings.Contains(filepath.Clean(path), "..") { - return nil, fmt.Errorf("resource must be written under package %s: %s", - r.PackagePath, filepath.Clean(path)) - } - } - return outputFiles, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/testing.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/testing.go deleted file mode 100644 index b973e9fb..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/testing.go +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "io/ioutil" - "os" - "path/filepath" - "testing" - - "github.com/stretchr/testify/require" -) - -// Setup creates directories and files for testing -type Setup struct { - // root is the tmp directory - Root string -} - -// setupDirectories creates directories for reading test configuration from -func SetupDirectories(t *testing.T, dirs ...string) Setup { - d, err := ioutil.TempDir("", "kyaml-test") - require.NoError(t, err) - err = os.Chdir(d) - require.NoError(t, err) - for _, s := range dirs { - err = os.MkdirAll(s, 0700) - require.NoError(t, err) - } - return Setup{Root: d} -} - -// writeFile writes a file under the test directory -func (s Setup) WriteFile(t *testing.T, path string, value []byte) { - err := os.MkdirAll(filepath.Dir(filepath.Join(s.Root, path)), 0700) - require.NoError(t, err) - err = ioutil.WriteFile(filepath.Join(s.Root, path), value, 0600) - require.NoError(t, err) -} - -// clean deletes the test config -func (s Setup) Clean() { - os.RemoveAll(s.Root) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/kio/tree.go b/vendor/sigs.k8s.io/kustomize/kyaml/kio/tree.go deleted file mode 100644 index a1418157..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/kio/tree.go +++ /dev/null @@ -1,519 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package kio - -import ( - "fmt" - "io" - "os" - "path/filepath" - "sort" - "strings" - - "github.com/xlab/treeprint" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type TreeStructure string - -const ( - // TreeStructurePackage configures TreeWriter to generate the tree structure off of the - // Resources packages. - TreeStructurePackage TreeStructure = "directory" - - // TreeStructureOwners configures TreeWriter to generate the tree structure off of the - // Resource owners. - TreeStructureGraph TreeStructure = "owners" -) - -var GraphStructures = []string{string(TreeStructureGraph), string(TreeStructurePackage)} - -// TreeWriter prints the package structured as a tree. -// TODO(pwittrock): test this package better. it is lower-risk since it is only -// used for printing rather than updating or editing. -type TreeWriter struct { - Writer io.Writer - Root string - Fields []TreeWriterField - Structure TreeStructure - OpenAPIFileName string -} - -// TreeWriterField configures a Resource field to be included in the tree -type TreeWriterField struct { - yaml.PathMatcher - Name string - SubName string -} - -func (p TreeWriter) packageStructure(nodes []*yaml.RNode) error { - for i := range nodes { - if err := kioutil.CopyLegacyAnnotations(nodes[i]); err != nil { - return err - } - } - indexByPackage := p.index(nodes) - - // create the new tree - tree := treeprint.New() - tree.SetValue(p.Root) - - // add each package to the tree - treeIndex := map[string]treeprint.Tree{} - keys := p.sort(indexByPackage) - for _, pkg := range keys { - // create a branch for this package -- search for the parent package and create - // the branch under it -- requires that the keys are sorted - branch := tree - for parent, subTree := range treeIndex { - if strings.HasPrefix(pkg, parent) { - // found a package whose path is a prefix to our own, use this - // package if a closer one isn't found - branch = subTree - // don't break, continue searching for more closely related ancestors - } - } - - // create a new branch for the package - createOk := pkg != "." // special edge case logic for tree on current working dir - if createOk { - branch = branch.AddBranch(branchName(p.Root, pkg, p.OpenAPIFileName)) - } - - // cache the branch for this package - treeIndex[pkg] = branch - - // print each resource in the package - for i := range indexByPackage[pkg] { - var err error - if _, err = p.doResource(indexByPackage[pkg][i], "", branch); err != nil { - return err - } - } - } - - _, err := io.WriteString(p.Writer, tree.String()) - return err -} - -// branchName takes the root directory and relative path to the directory -// and returns the branch name -func branchName(root, dirRelPath, openAPIFileName string) string { - name := filepath.Base(dirRelPath) - _, err := os.Stat(filepath.Join(root, dirRelPath, openAPIFileName)) - if !os.IsNotExist(err) { - // add Pkg: prefix indicating that it is a separate package as it has - // openAPIFile - return fmt.Sprintf("Pkg: %s", name) - } - return name -} - -// Write writes the ascii tree to p.Writer -func (p TreeWriter) Write(nodes []*yaml.RNode) error { - switch p.Structure { - case TreeStructurePackage: - return p.packageStructure(nodes) - case TreeStructureGraph: - return p.graphStructure(nodes) - } - - // If any resource has an owner reference, default to the graph structure. Otherwise, use package structure. - for _, node := range nodes { - if owners, _ := node.Pipe(yaml.Lookup("metadata", "ownerReferences")); owners != nil { - return p.graphStructure(nodes) - } - } - return p.packageStructure(nodes) -} - -// node wraps a tree node, and any children nodes -type node struct { - p TreeWriter - *yaml.RNode - children []*node -} - -func (a node) Len() int { return len(a.children) } -func (a node) Swap(i, j int) { a.children[i], a.children[j] = a.children[j], a.children[i] } -func (a node) Less(i, j int) bool { - return compareNodes(a.children[i].RNode, a.children[j].RNode) -} - -// Tree adds this node to the root -func (a node) Tree(root treeprint.Tree) error { - sort.Sort(a) - branch := root - var err error - - // generate a node for the Resource - if a.RNode != nil { - branch, err = a.p.doResource(a.RNode, "Resource", root) - if err != nil { - return err - } - } - - // attach children to the branch - for _, n := range a.children { - if err := n.Tree(branch); err != nil { - return err - } - } - return nil -} - -// graphStructure writes the tree using owners for structure -func (p TreeWriter) graphStructure(nodes []*yaml.RNode) error { - resourceToOwner := map[string]*node{} - root := &node{} - // index each of the nodes by their owner - for _, n := range nodes { - ownerVal, err := ownerToString(n) - if err != nil { - return err - } - var owner *node - if ownerVal == "" { - // no owner -- attach to the root - owner = root - } else { - // owner found -- attach to the owner - var found bool - owner, found = resourceToOwner[ownerVal] - if !found { - // initialize the owner if not found - resourceToOwner[ownerVal] = &node{p: p} - owner = resourceToOwner[ownerVal] - } - } - - nodeVal, err := nodeToString(n) - if err != nil { - return err - } - val, found := resourceToOwner[nodeVal] - if !found { - // initialize the node if not found -- may have already been initialized if it - // is the owner of another node - resourceToOwner[nodeVal] = &node{p: p} - val = resourceToOwner[nodeVal] - } - val.RNode = n - owner.children = append(owner.children, val) - } - - for k, v := range resourceToOwner { - if v.RNode == nil { - return fmt.Errorf( - "owner '%s' not found in input, but found as an owner of input objects", k) - } - } - - // print the tree - tree := treeprint.New() - if err := root.Tree(tree); err != nil { - return err - } - - _, err := io.WriteString(p.Writer, tree.String()) - return err -} - -// nodeToString generates a string to identify the node -- matches ownerToString format -func nodeToString(node *yaml.RNode) (string, error) { - meta, err := node.GetMeta() - if err != nil { - return "", err - } - - return fmt.Sprintf("%s %s/%s", meta.Kind, meta.Namespace, meta.Name), nil -} - -// ownerToString generate a string to identify the owner -- matches nodeToString format -func ownerToString(node *yaml.RNode) (string, error) { - meta, err := node.GetMeta() - if err != nil { - return "", err - } - namespace := meta.Namespace - - owners, err := node.Pipe(yaml.Lookup("metadata", "ownerReferences")) - if err != nil { - return "", err - } - if owners == nil { - return "", nil - } - - elements, err := owners.Elements() - if err != nil { - return "", err - } - if len(elements) == 0 { - return "", err - } - owner := elements[0] - var kind, name string - - if value := owner.Field("kind"); !value.IsNilOrEmpty() { - kind = value.Value.YNode().Value - } - if value := owner.Field("name"); !value.IsNilOrEmpty() { - name = value.Value.YNode().Value - } - - return fmt.Sprintf("%s %s/%s", kind, namespace, name), nil -} - -// index indexes the Resources by their package -func (p TreeWriter) index(nodes []*yaml.RNode) map[string][]*yaml.RNode { - // index the ResourceNodes by package - indexByPackage := map[string][]*yaml.RNode{} - for i := range nodes { - meta, err := nodes[i].GetMeta() - if err != nil || meta.Kind == "" { - // not a resource - continue - } - pkg := filepath.Dir(meta.Annotations[kioutil.PathAnnotation]) - indexByPackage[pkg] = append(indexByPackage[pkg], nodes[i]) - } - return indexByPackage -} - -func compareNodes(i, j *yaml.RNode) bool { - metai, _ := i.GetMeta() - metaj, _ := j.GetMeta() - pi := metai.Annotations[kioutil.PathAnnotation] - pj := metaj.Annotations[kioutil.PathAnnotation] - - // compare file names - if filepath.Base(pi) != filepath.Base(pj) { - return filepath.Base(pi) < filepath.Base(pj) - } - - // compare namespace - if metai.Namespace != metaj.Namespace { - return metai.Namespace < metaj.Namespace - } - - // compare name - if metai.Name != metaj.Name { - return metai.Name < metaj.Name - } - - // compare kind - if metai.Kind != metaj.Kind { - return metai.Kind < metaj.Kind - } - - // compare apiVersion - if metai.APIVersion != metaj.APIVersion { - return metai.APIVersion < metaj.APIVersion - } - return true -} - -// sort sorts the Resources in the index in display order and returns the ordered -// keys for the index -// -// Packages are sorted by package name -// Resources within a package are sorted by: [filename, namespace, name, kind, apiVersion] -func (p TreeWriter) sort(indexByPackage map[string][]*yaml.RNode) []string { - var keys []string - for k := range indexByPackage { - pkgNodes := indexByPackage[k] - sort.Slice(pkgNodes, func(i, j int) bool { return compareNodes(pkgNodes[i], pkgNodes[j]) }) - keys = append(keys, k) - } - - // return the package names sorted lexicographically - sort.Strings(keys) - return keys -} - -func (p TreeWriter) doResource(leaf *yaml.RNode, metaString string, branch treeprint.Tree) (treeprint.Tree, error) { - meta, _ := leaf.GetMeta() - if metaString == "" { - path := meta.Annotations[kioutil.PathAnnotation] - path = filepath.Base(path) - metaString = path - } - - value := fmt.Sprintf("%s %s", meta.Kind, meta.Name) - if len(meta.Namespace) > 0 { - value = fmt.Sprintf("%s %s/%s", meta.Kind, meta.Namespace, meta.Name) - } - - fields, err := p.getFields(leaf) - if err != nil { - return nil, err - } - - n := branch.AddMetaBranch(metaString, value) - for i := range fields { - field := fields[i] - - // do leaf node - if len(field.matchingElementsAndFields) == 0 { - n.AddNode(fmt.Sprintf("%s: %s", field.name, field.value)) - continue - } - - // do nested nodes - b := n.AddBranch(field.name) - for j := range field.matchingElementsAndFields { - elem := field.matchingElementsAndFields[j] - b := b.AddBranch(elem.name) - for k := range elem.matchingElementsAndFields { - field := elem.matchingElementsAndFields[k] - b.AddNode(fmt.Sprintf("%s: %s", field.name, field.value)) - } - } - } - - return n, nil -} - -// getFields looks up p.Fields from leaf and structures them into treeFields. -// TODO(pwittrock): simplify this function -func (p TreeWriter) getFields(leaf *yaml.RNode) (treeFields, error) { - fieldsByName := map[string]*treeField{} - - // index nested and non-nested fields - for i := range p.Fields { - f := p.Fields[i] - seq, err := leaf.Pipe(&f) - if err != nil { - return nil, err - } - if seq == nil { - continue - } - - if fieldsByName[f.Name] == nil { - fieldsByName[f.Name] = &treeField{name: f.Name} - } - - // non-nested field -- add directly to the treeFields list - if f.SubName == "" { - // non-nested field -- only 1 element - val, err := yaml.String(seq.Content()[0], yaml.Trim, yaml.Flow) - if err != nil { - return nil, err - } - fieldsByName[f.Name].value = val - continue - } - - // nested-field -- create a parent elem, and index by the 'match' value - if fieldsByName[f.Name].subFieldByMatch == nil { - fieldsByName[f.Name].subFieldByMatch = map[string]treeFields{} - } - index := fieldsByName[f.Name].subFieldByMatch - for j := range seq.Content() { - elem := seq.Content()[j] - matches := f.Matches[elem] - str, err := yaml.String(elem, yaml.Trim, yaml.Flow) - if err != nil { - return nil, err - } - - // map the field by the name of the element - // index the subfields by the matching element so we can put all the fields for the - // same element under the same branch - matchKey := strings.Join(matches, "/") - index[matchKey] = append(index[matchKey], &treeField{name: f.SubName, value: str}) - } - } - - // iterate over collection of all queried fields in the Resource - for _, field := range fieldsByName { - // iterate over collection of elements under the field -- indexed by element name - for match, subFields := range field.subFieldByMatch { - // create a new element for this collection of fields - // note: we will convert name to an index later, but keep the match for sorting - elem := &treeField{name: match} - field.matchingElementsAndFields = append(field.matchingElementsAndFields, elem) - - // iterate over collection of queried fields for the element - for i := range subFields { - // add to the list of fields for this element - elem.matchingElementsAndFields = append(elem.matchingElementsAndFields, subFields[i]) - } - } - // clear this cached data - field.subFieldByMatch = nil - } - - // put the fields in a list so they are ordered - fieldList := treeFields{} - for _, v := range fieldsByName { - fieldList = append(fieldList, v) - } - - // sort the fields - sort.Sort(fieldList) - for i := range fieldList { - field := fieldList[i] - // sort the elements under this field - sort.Sort(field.matchingElementsAndFields) - - for i := range field.matchingElementsAndFields { - element := field.matchingElementsAndFields[i] - // sort the elements under a list field by their name - sort.Sort(element.matchingElementsAndFields) - // set the name of the element to its index - element.name = fmt.Sprintf("%d", i) - } - } - - return fieldList, nil -} - -// treeField wraps a field node -type treeField struct { - // name is the name of the node - name string - - // value is the value of the node -- may be empty - value string - - // matchingElementsAndFields is a slice of fields that go under this as a branch - matchingElementsAndFields treeFields - - // subFieldByMatch caches matchingElementsAndFields indexed by the name of the matching elem - subFieldByMatch map[string]treeFields -} - -// treeFields wraps a slice of treeField so they can be sorted -type treeFields []*treeField - -func (nodes treeFields) Len() int { return len(nodes) } - -func (nodes treeFields) Less(i, j int) bool { - iIndex, iFound := yaml.FieldOrder[nodes[i].name] - jIndex, jFound := yaml.FieldOrder[nodes[j].name] - if iFound && jFound { - return iIndex < jIndex - } - if iFound { - return true - } - if jFound { - return false - } - - if nodes[i].name != nodes[j].name { - return nodes[i].name < nodes[j].name - } - if nodes[i].value != nodes[j].value { - return nodes[i].value < nodes[j].value - } - return false -} - -func (nodes treeFields) Swap(i, j int) { nodes[i], nodes[j] = nodes[j], nodes[i] } diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/Makefile b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/Makefile deleted file mode 100644 index 8de66aa2..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2020 The Kubernetes Authors. -# SPDX-License-Identifier: Apache-2.0 - -MYGOBIN = $(shell go env GOBIN) -ifeq ($(MYGOBIN),) -MYGOBIN = $(shell go env GOPATH)/bin -endif -API_VERSION := "v1.21.2" -KIND_VERSION := "v0.11.1" - -.PHONY: all -all: \ - kustomizationapi/swagger.go \ - kubernetesapi/swagger.go \ - kubernetesapi/openapiinfo.go - -.PHONY: clean -clean: - rm kustomizationapi/swagger.go - rm kubernetesapi/openapiinfo.go - -# This will remove all currently built-in schema, -# so think twice before deleting. -# To replace what this will delete typically requires the ability -# to contact a live kubernetes API server. -.PHONY: nuke -nuke: clean - rm -r kubernetesapi/* - -$(MYGOBIN)/go-bindata: - go install github.com/go-bindata/go-bindata/v3/go-bindata - -$(MYGOBIN)/kind: - ( \ - set -e; \ - d=$(shell mktemp -d); cd $$d; \ - wget -O ./kind https://github.com/kubernetes-sigs/kind/releases/download/$(KIND_VERSION)/kind-$(shell uname)-amd64; \ - chmod +x ./kind; \ - mv ./kind $(MYGOBIN); \ - rm -rf $$d; \ - ) - -kustomizationapi/swagger.go: $(MYGOBIN)/go-bindata kustomizationapi/swagger.json - $(MYGOBIN)/go-bindata \ - --pkg kustomizationapi \ - -o kustomizationapi/swagger.go \ - kustomizationapi/swagger.json - -.PHONY: kubernetesapi/openapiinfo.go -kubernetesapi/openapiinfo.go: - ./scripts/makeOpenApiInfoDotGo.sh - -.PHONY: kubernetesapi/swagger.json -kubernetesapi/swagger.json: $(MYGOBIN)/kind $(MYGOBIN)/kustomize - ./scripts/fetchSchemaFromCluster.sh $(API_VERSION) - -.PHONY: kubernetesapi/swagger.go -kubernetesapi/swagger.go: $(MYGOBIN)/go-bindata kubernetesapi/swagger.json - ./scripts/generateSwaggerDotGo.sh $(API_VERSION) - -$(MYGOBIN)/kustomize: - $(shell cd ../.. && MYGOBIN=$(MYGOBIN) make $(MYGOBIN)/kustomize) diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/README.md b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/README.md deleted file mode 100644 index fbe8103c..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/README.md +++ /dev/null @@ -1,94 +0,0 @@ -# Sampling New OpenAPI Data - -[OpenAPI schema]: ./kubernetesapi/ -[Kustomization schema]: ./kustomizationapi/ -[kind]: https://hub.docker.com/r/kindest/node/tags - -This document describes how to fetch OpenAPI data from a -live kubernetes API server. -The scripts used will create a clean [kind] instance for this purpose. - -## Replacing the default openapi schema version - -### Delete all currently built-in schema - -This will remove both the Kustomization and Kubernetes schemas: - -``` -make nuke -``` - -### Choose the new version to use - -The compiled-in schema version should maximize API availability with respect to all actively supported Kubernetes versions. For example, while 1.20, 1.21 and 1.22 are the actively supported versions, 1.21 is the best choice. This is because 1.21 introduces at least one new API and does not remove any, while 1.22 removes a large set of long-deprecated APIs that are still supported in 1.20/1.21. - -### Update the built-in schema to a new version - -In the Makefile in this directory, update the `API_VERSION` to your desired version. - -You may need to update the version of Kind these scripts use by changing `KIND_VERSION` in the Makefile in this directory. You can find compatibility information in the [kind release notes](https://github.com/kubernetes-sigs/kind/releases). - -In this directory, fetch the openapi schema and generate the -corresponding swagger.go for the kubernetes api: - -``` -make all -``` - -The above command will update the [OpenAPI schema] and the [Kustomization schema]. It will -create a directory kubernetesapi/v1212 and store the resulting -swagger.json and swagger.go files there. - -#### Precomputations - -To avoid expensive schema lookups, some functions have precomputed results based on the schema. Unit tests -ensure these are kept in sync with the schema; if these tests fail you will need to follow the suggested diff -to update the precomputed results. - -### Run all tests - -At the top of the repository, run the tests. - -``` -make prow-presubmit-check >& /tmp/k.txt; echo $? -``` - -The exit code should be zero; if not, examine `/tmp/k.txt`. - -## Generating additional schemas - -Instead of replacing the default version, you can specify a desired version as part of the make invocation: - -``` -rm kubernetesapi/swagger.go -make kubernetesapi/swagger.go API_VERSION=v1.21.2 -``` - -While the above commands generate the swagger.go files, they -do not make them available for use nor do they update the -info field reported by `kustomize openapi info`. To make the -newly fetched schema and swagger.go available: - -``` -rm kubernetesapi/openapiinfo.go -make kubernetesapi/openapiinfo.go -``` - -## Partial regeneration - -You can also regenerate the kubernetes api schemas specifically with: - -``` -rm kubernetesapi/swagger.go -make kubernetesapi/swagger.go -``` - -To fetch the schema without generating the swagger.go, you can -run: - -``` -rm kubernetesapi/swagger.json -make kubernetesapi/swagger.json -``` - -Note that generating the swagger.go will re-fetch the schema. diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/openapiinfo.go b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/openapiinfo.go deleted file mode 100644 index c4e1c287..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/openapiinfo.go +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2020 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Code generated by ./scripts/makeOpenApiInfoDotGo.sh; DO NOT EDIT. - -package kubernetesapi - -import ( - "sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212" -) - -const Info = "{title:Kubernetes,version:v1.21.2}" - -var OpenAPIMustAsset = map[string]func(string) []byte{ - "v1212": v1212.MustAsset, -} - -const DefaultOpenAPI = "v1212" diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.go b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.go deleted file mode 100644 index 79c7e06c..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.go +++ /dev/null @@ -1,249 +0,0 @@ -// Code generated by go-bindata. (@generated) DO NOT EDIT. - -//Package v1212 generated by go-bindata.// sources: -// kubernetesapi/v1212/swagger.json -package v1212 - -import ( - "bytes" - "compress/gzip" - "fmt" - "io" - "io/ioutil" - "os" - "path/filepath" - "strings" - "time" -) - -func bindataRead(data []byte, name string) ([]byte, error) { - gz, err := gzip.NewReader(bytes.NewBuffer(data)) - if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) - } - - var buf bytes.Buffer - _, err = io.Copy(&buf, gz) - clErr := gz.Close() - - if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) - } - if clErr != nil { - return nil, err - } - - return buf.Bytes(), nil -} - -type asset struct { - bytes []byte - info os.FileInfo -} - -type bindataFileInfo struct { - name string - size int64 - mode os.FileMode - modTime time.Time -} - -// Name return file name -func (fi bindataFileInfo) Name() string { - return fi.name -} - -// Size return file size -func (fi bindataFileInfo) Size() int64 { - return fi.size -} - -// Mode return file mode -func (fi bindataFileInfo) Mode() os.FileMode { - return fi.mode -} - -// ModTime return file modify time -func (fi bindataFileInfo) ModTime() time.Time { - return fi.modTime -} - -// IsDir return file whether a directory -func (fi bindataFileInfo) IsDir() bool { - return fi.mode&os.ModeDir != 0 -} - -// Sys return file is sys mode -func (fi bindataFileInfo) Sys() interface{} { - return nil -} - -var _kubernetesapiV1212SwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x6d\x77\xdb\xb8\xf5\x28\x8a\xbf\x3f\x9f\x02\xcb\xfd\x77\x25\x99\x25\xcb\xc9\x4c\xa7\xfd\x9d\xcc\xea\xfa\x5f\x37\xc9\xb4\x69\x67\x32\x3e\xb1\xd3\xae\x73\xab\xde\x13\x88\x84\x24\xd4\x24\xc0\x01\x40\x3b\xea\x5d\xbf\xef\x7e\x17\xf6\x06\x40\x90\xa2\x44\x4a\x96\x6c\xd9\x61\x5f\x74\x62\x11\x04\x81\x8d\x8d\xfd\xfc\xf0\xff\xfe\x0f\x42\x4e\x52\x36\xe3\x82\x1b\x2e\x85\x3e\x79\x4d\xec\x4f\x84\x9c\x70\x39\xbe\xfe\x2f\x3d\xa6\x05\x1f\xd3\x34\xe7\x5a\x73\x29\x14\x9b\x73\x6d\x14\xb5\x43\xc7\x37\xaf\xc6\x3f\x97\x86\x1a\x2e\xe6\xff\x60\xd3\x85\x94\xd7\xe1\x65\x98\x53\x27\x8a\x17\x76\xe4\xc9\x6b\x72\xd2\x18\x49\xf0\xf1\x94\x69\x42\x05\x09\xf3\x93\x5b\xf7\x98\x8a\x94\x98\x05\x23\x8a\x69\x59\xaa\x04\x86\xa5\x44\x16\x0c\xbf\xad\x09\x37\x84\x16\x45\xc6\x99\x26\x46\x8e\x4f\x46\xfe\xb3\x85\xb2\x83\x0c\x67\x3a\x5a\x0c\x21\x27\xe1\x13\x1f\xd9\x0d\x67\xb7\x7f\x67\x4a\xd7\xb6\xdb\xbe\xea\xf3\xf6\xb7\x08\x87\x65\x4b\x95\x32\xc5\x52\x92\x71\x6d\x88\x9c\x91\x42\xb1\x19\x53\xf6\x97\xcf\x8d\x17\x3f\x93\x1b\xff\xaa\xdd\x95\x07\x02\xfb\x52\xb0\xc4\xe8\x31\x39\xbf\x78\x4f\x34\x53\x37\x4c\x91\x5b\x9e\x65\xc4\xa8\x25\x31\x92\x94\x9a\x91\x19\x57\xda\xf8\xd7\x09\x17\x30\x01\x7c\xf1\x76\xc1\x93\x85\x05\x84\x2e\x8b\x42\x2a\x3b\xcf\xfb\x19\x11\x52\x30\xbb\x18\x3b\x2c\x7c\x54\x17\x2c\xe1\x33\xce\x52\x9c\x80\x6b\x9c\xc1\xbd\xc8\x52\x32\x5d\x46\x6b\x18\x91\x1b\x9a\xf1\x14\x20\x8d\xeb\x99\x51\x9e\x91\x99\x54\xf8\xae\x9c\xfe\x9b\x25\x06\xbe\x46\x49\x61\xbf\xa1\xed\x1c\xfe\xec\x12\x29\x66\x7c\x5e\xe2\x49\x85\x4f\x6b\x42\xb3\x4c\xde\xb2\xb4\x5a\x95\x3d\xd2\x54\x32\x4d\x84\x34\x84\x8b\x24\x2b\x53\x46\xa8\x58\x56\x23\xae\x85\xbc\x15\x16\x12\x76\x37\x76\x81\x97\x6e\x81\x09\xcd\x32\xed\x1f\xf8\x0f\x57\x4b\xb5\x33\x4f\x19\xd1\x25\xac\xd4\x8f\xb3\x8f\x4a\xc5\x48\x21\x33\x9e\x2c\x2b\xa4\x41\x74\x37\x2c\x6f\xa2\x03\x21\x27\x66\x59\x30\x8b\x09\xda\x28\x2e\xe6\x27\xd1\xc3\xff\xae\xbd\xee\xc7\x51\xa5\xe8\xb2\x1a\x16\x0d\x3a\x49\x32\xce\x84\x79\x03\xd0\x69\xe2\xdd\xff\x4f\xb1\x99\x7d\xfd\x37\x67\xd1\x5d\x3c\xeb\x73\x05\x1d\x2e\xbd\x89\x27\x1f\x6d\x40\xe9\x78\x20\x81\x8f\x31\x4d\x16\xf2\xd6\x02\x29\x91\x79\x5e\x0a\x9e\x50\xc3\xc8\x2d\x37\x0b\x80\x9a\x9d\x7d\x4c\x3e\xb2\x5f\x4b\xae\x58\xda\xbe\x35\x07\xd9\x0b\x00\x6c\xc7\x9d\xfa\x31\x1e\x5b\x5b\x41\x29\x14\x4b\xe4\x5c\xf0\xff\xb0\x94\x30\xa5\xa4\xd2\x64\xa6\x64\x0e\xcb\xa8\x68\x04\x13\x69\x21\xb9\x30\x84\x2a\x46\x16\x54\xa4\x19\x4b\xc9\x69\x85\x5e\x34\x2b\x2d\xb6\x29\x46\xde\xcf\x85\x54\x8c\x48\x45\xec\x47\xc7\xe4\x2d\x9b\xd1\x32\x33\x80\x38\xf0\xcb\x49\xeb\x19\x36\xcf\x3a\xde\x69\x4e\x4d\xb2\xe8\xb5\xcf\x68\x64\x1d\xce\x0b\x46\x26\x27\xaa\xcc\x98\x9e\x9c\xe0\x3d\xe4\xda\x5e\xf5\xd4\x2e\x0b\xde\xb2\x97\x41\xe6\x5c\xcc\x89\x62\xbf\x96\x4c\x03\x89\x58\xdd\xde\xe4\xe4\xdd\x17\x9a\x98\xc9\x89\xdd\xe1\xe4\xe4\xdd\xaf\x25\xbf\xa1\x19\x13\x66\x72\x32\x9e\x88\x89\x38\x25\xf0\xfc\xb5\x9b\x94\xfa\xd9\x88\x14\xd9\x92\xf0\x99\xa5\x1d\xcc\x8e\xc8\x96\x38\xc4\xce\x1b\xd1\x0a\xbb\xc6\x31\xf9\x51\x2a\x3b\x2a\x2f\x32\x36\xb2\x2f\xa5\xac\xc8\xe4\x32\x67\xc2\x68\x92\x50\x61\xef\x59\x2e\x53\x7c\xe3\x86\x53\x4b\x96\xf5\xd9\xcd\xab\x91\xff\xc7\x94\x19\x6a\xff\x12\x29\x61\x5f\x0c\x13\x70\xb3\xab\xdf\xa7\xa5\x89\xc0\x81\x2b\x43\x52\x90\x92\xcf\xb4\xe0\x7f\x56\xb2\x2c\xf4\xeb\x7f\x4e\x4e\xec\x7c\x93\x93\x7f\xd9\x89\xb9\xa7\xc4\xf6\xf7\x9b\x57\xf0\x6b\x60\x15\xaf\xc9\x3f\x27\x27\xd1\x2a\x27\x27\xff\xfa\x3c\x8a\x76\x6f\x64\x6d\x69\x04\xf6\xd7\x5c\x18\xb9\x95\x65\x96\x02\x65\xb2\x84\x84\x09\xd3\xa0\x36\x1e\xc2\x01\xe8\xab\x60\xe6\x33\x0f\x19\x0d\xbf\xe2\xfa\xe0\xc8\x91\x12\xc3\xae\x47\x84\xdd\x30\x81\xa0\x13\xd2\x2c\x98\x02\x4a\x37\xb7\xfb\xb6\x6b\x73\xc4\xf0\xe0\x07\x61\x7f\x3f\xde\x83\x98\x32\xcb\x57\x6e\x18\x70\xab\xea\x45\x58\xf5\xba\xd3\x89\xaf\x7b\xfd\x7a\x6c\x7f\xef\x05\xcd\x59\xc7\x85\xbf\x5a\x30\x62\x87\x79\xee\xbb\x22\xd5\x8c\xc9\x07\xfb\x58\x2f\xfc\x8e\x66\x65\x96\x2d\xc9\xaf\x25\xcd\xe0\xd4\x46\x84\x8d\xe7\xe3\x11\xe1\x39\x9d\x33\xc7\xa4\xae\xcb\x29\x53\x82\x19\xa6\xc7\x5c\x8e\xc8\xed\x82\xc1\xc5\x8f\x86\x4c\x4e\x2c\xfd\x30\x8d\x8f\xbb\x4f\xe2\xb1\xd6\x26\x69\x1b\x2d\xd5\x9c\x0a\xfe\x1f\x64\x2a\x81\xd6\xef\x40\x1e\xed\xa4\xba\xa0\x09\xbb\x64\x19\x4b\x8c\x54\xdb\x32\xba\x9c\x26\x0b\x2e\x98\x5a\x8e\x8b\xeb\xb9\xfd\x41\x8f\x73\x66\xa8\xe5\x74\x3f\xd1\x29\xcb\xc2\xbc\x9b\x78\xdc\x87\xe6\x2a\x48\xca\x12\x9e\x32\x6d\xe1\x07\x37\xcc\x48\xa2\x4a\x51\x93\x1e\xa4\x00\x99\x0e\x25\x86\x29\xb5\xf4\xd8\x1e\x9d\x7f\xc1\x41\x0c\xa6\x75\xa2\x10\x35\x7e\xb8\xa7\x9e\x76\x94\x76\xdf\x04\xf9\x08\x80\x8b\x63\xb8\xd1\x2c\x9b\x81\xe8\x58\xcd\x34\x82\x11\xf0\xba\x25\xf7\x5c\x5b\x79\x6a\x26\x55\x8e\x5f\x77\x92\x96\x85\x40\x4a\x0d\x1d\x67\x16\x04\x7a\x65\x66\x1d\x28\x47\x92\x95\xda\x30\x45\x74\x22\x0b\x4b\xc1\xdd\x55\x1c\x59\x52\x2f\x98\x95\x2f\xf5\x35\x2f\xf4\xca\x55\xa9\xd1\x96\x75\xc0\x59\xba\x0f\x5a\x30\x4a\x1d\xc3\x83\xa3\x0c\x47\xb5\x96\x09\xa7\x20\x0c\x5a\xf1\xc1\x92\x13\x91\xb1\x1b\x96\x59\x8a\x32\x23\x93\x93\x97\x9e\x59\xbd\x9a\x9c\xfc\x40\xc8\x52\x96\x28\xb5\x69\x66\x6a\xc0\x23\x54\x93\x99\xb4\x2c\x4f\xbf\x26\x93\x55\xb4\x9a\x58\xbc\x9a\x08\x42\x26\xc8\x67\xdf\x7d\x29\x14\x83\xcb\xa6\xed\xa3\x7f\xda\x47\x04\x47\xd8\xff\x4d\x4e\xae\xd9\xd2\x3e\x88\x57\x34\xaa\x9e\xa2\x62\x81\xd3\x4e\x4e\x3e\x48\xf3\x5e\xd4\x9e\x23\xd3\x8d\x66\xc6\x9f\x5f\x46\x83\x08\x6e\xca\xff\xf9\x2f\xfc\xc7\x7f\xdb\xff\xfc\x6b\x22\xfe\xdb\x02\xf9\xfd\x8c\x70\xa1\x0d\xa3\x29\x6e\x9c\x22\xd9\x02\x52\xbb\x3d\xc0\x9b\xc0\x46\xb9\x82\x89\x1b\xae\xa4\xc8\x81\xcc\x21\xcc\x0b\x25\x53\x0f\x76\x6d\xe8\x9c\x8b\xb9\x05\xfe\x03\xc0\xbe\xb6\xb8\xb5\xe0\xef\x07\x7b\xdc\x55\x0d\xfc\x61\x73\x9b\x0e\xe1\x92\x31\xb2\x30\xa6\xd0\xaf\xcf\xce\x6a\x74\xf1\x2c\x95\x89\x3e\x4b\xa4\x48\x58\x61\xf4\x99\xbc\x61\xca\xaa\x6e\x67\xb7\x52\x5d\x73\x31\x3f\xb5\x40\x3e\x75\xe7\x71\x86\x17\xf1\x0c\x08\x41\x6e\x65\x4c\x77\x79\xb4\x05\x39\x3c\x0c\xe0\xd4\x31\x2f\xf2\x6c\x8a\xe5\x85\x59\x92\x1a\x45\x1b\x39\x85\xce\xd3\x12\x7b\x5b\x97\xc6\x92\x85\x71\x3b\xad\xc5\xb5\x3c\x28\xa1\xfd\xa5\xb6\x84\x3e\x54\x36\x10\x56\x5e\x23\x61\x0b\xaa\x2b\x2a\xe8\xa9\x5c\x7d\x83\x16\xe7\x99\x45\x06\x40\x79\x3a\xa7\xf6\x2e\x91\xa9\x74\xa8\x2f\xb3\x14\x57\x03\x1c\x4f\xb0\x5b\xf7\x17\x90\xe9\x20\x43\xb4\x88\x0a\xc8\x22\xb9\xb6\xf2\x85\xe6\xa8\xd1\x57\x82\xf8\x8c\x30\x0e\x7b\xd9\x48\xe9\xcf\x89\x28\xb3\xcc\x8f\x79\x5e\xad\xc5\xe9\xeb\x09\xd5\xc0\x6b\x13\xc5\xa8\x61\x23\x7b\x17\xab\x15\x36\xc6\xa4\x2c\x63\x86\xbd\xb0\x63\x2a\x7e\x04\xbb\x48\xa8\xb0\x54\x76\x41\x6f\x98\x83\x11\x79\x9e\xf1\x6b\x46\x28\x79\x1b\xa4\xac\x8f\x32\xcb\xa6\x34\xb9\x86\xf7\xc9\x85\x4c\x2f\x94\xfc\xb2\xfc\xa5\x40\xb3\x09\x4e\xf7\xc2\x13\xec\x96\x2d\x8f\xc9\x27\xcd\xe2\xa3\x09\x64\xc1\x6b\x0d\xf1\x71\x72\x4d\x64\x61\x4e\xb9\x18\x91\x29\x4b\x68\xa9\x99\x55\xcf\xac\x36\xa3\xec\x81\x2e\x81\xdd\xb4\x4b\x43\x64\xba\xb4\xa4\xc7\xd8\x13\x07\x9b\x86\x3b\xf5\x03\xdc\x14\xc5\xb8\xb8\x91\x09\x88\x37\xbd\x74\xb7\xd5\x17\x08\x17\x29\x28\xc6\x11\x76\x2f\xb8\x0e\x9b\xa9\x84\xba\x84\x66\x56\x21\xcd\xcb\xcc\xf0\x22\x63\xc4\xf0\xdc\xca\xff\x9a\x14\x54\x81\x99\x88\x12\xcd\xc5\x3c\xab\xa9\xb4\x88\xd7\x20\x7d\xb5\x2a\x7a\x1f\xec\x1e\x27\x27\x4e\x48\x7f\x3f\xfb\xc0\x58\xca\x52\xa7\xe7\xc1\xc3\xd7\xab\xa6\x10\xa7\xbc\xf8\x05\x59\x32\x65\x16\x16\xa7\x84\xe5\x20\xa2\x63\x21\xc8\xb1\xf0\x43\x2d\x93\x57\x13\x53\x43\x32\x46\x41\xad\xb4\x53\xa5\x40\x6a\x68\x06\x1b\x8f\xf7\xdd\xd0\xe2\xc3\x97\x1a\xa4\x60\xca\x2c\x46\xd8\x81\x06\xd4\x24\x5d\x69\x35\xd3\x25\x41\x31\xa7\x9a\xa6\xc8\xca\x39\x17\x9a\xd0\x99\x71\x52\x1a\xd0\x3a\x9a\x55\xe6\x28\x9a\x65\x63\x6f\x72\xd3\x78\x93\x50\xc7\x5d\x3a\x73\x16\x1c\x3b\xf9\x26\x2f\xb5\xf9\xc6\xee\x8b\xa7\x2c\x2f\xa4\x61\xc2\x8c\x08\x9d\xda\x23\x94\xa4\x50\x32\x61\x5a\x07\x86\x6c\x16\x6c\x49\x0a\xc5\x6e\xb8\x2c\x75\xb6\x0c\xeb\x1d\x93\x0f\xd2\xb0\xd7\xe4\x1b\x94\x18\xcb\x7c\x6a\x69\xc7\x2c\x86\x4b\x85\x5a\xda\xdf\xc3\x79\x49\x15\x15\x86\xe1\x3d\x9c\xb2\xa0\x96\x4b\xc1\xc6\xe4\x1b\x0b\xa1\x35\x13\x28\xa6\xed\x65\xe1\x82\xcc\x4a\x05\xb0\x41\x68\xf9\xe7\xee\x16\xe1\xb2\x47\x1e\x28\x88\x56\xad\x5f\xb6\x93\x5f\x7b\x02\x6b\xbf\x7d\x5b\x83\x5c\x09\xc4\xa1\x82\x9a\xbd\xe3\x53\x46\x14\xf3\xc6\x50\x4b\x47\xb8\xe0\x39\xff\x0f\xeb\x05\x02\xfb\x09\x23\xbd\xc5\x91\x45\x34\x0f\x8f\x94\x66\x19\xc9\xc1\x78\x0c\x26\x43\xc5\xe2\x25\x27\xd2\x32\x5d\x4b\x51\xed\xba\x68\xb0\x5b\x3a\x04\xaa\xd3\x1b\x27\x7b\xb5\xa8\x86\xee\x76\xed\xa0\xef\x80\xba\xdc\x41\x4c\x3e\xda\x31\x91\xc1\xfb\x16\x14\x87\xca\x94\x0d\x5a\x06\x35\x95\xde\x7c\xa6\xcb\x69\x65\xf8\x8e\x6f\x5e\x42\x95\x25\x09\x53\x59\x9a\x31\xb9\x6a\x7f\x00\x10\xf4\xb3\x3b\x2b\x8f\xa7\x94\xff\x87\x8a\xe5\xff\x21\x1f\xc1\xae\xf3\x17\x79\xcb\xc0\x96\xca\x9d\x25\x1b\xd1\x9c\xdd\x58\x16\xf9\xf7\x00\xc8\x60\xc9\x0e\x37\xc8\xd2\x20\x6f\xce\x5f\x7d\x0a\x06\xbb\xa2\xac\xe8\xba\x57\x49\x90\xe0\x18\xb0\x2d\x02\xf9\x76\xec\x0c\xb0\x27\xb1\xe2\x16\x4b\xf1\x6d\x2b\x69\xd9\x8d\xf8\xd3\xcd\x96\x24\xe5\x9a\x4e\x33\x3f\x25\x5e\xfa\xd1\x1d\x56\x09\xe8\x0f\xfa\x90\x23\x62\x32\xf6\x42\x78\xab\x1b\x88\x77\xd5\x47\xbc\xa9\xb5\x66\xdf\x8e\xbf\xd3\x3a\xc0\x51\x8c\x7e\xe6\xe6\xdd\xed\xc0\xf6\x50\xff\xc1\xcd\xe2\x97\x80\x58\x77\x32\x56\x5b\xb1\xe0\xdd\x6c\x66\x57\xde\x81\xde\x97\xd5\x48\x3c\xde\x35\x1c\xd2\x8a\x78\x76\x56\xc2\x70\xf0\x98\x9c\x27\x56\xd4\x06\x0a\x5b\x31\xbb\xd7\xe4\x83\x14\x6c\x04\xff\xff\x8b\x78\xab\x96\x1f\x4b\x41\x9e\x07\x22\x84\x12\x14\x1a\xb8\xbc\x85\xc8\xd2\x20\x9a\x69\x19\xc8\xfa\xa5\xcc\xc1\xea\xfb\x49\x80\x03\xe1\x45\x44\xfe\x41\x55\x8a\x97\x41\x7e\xfe\x74\x79\x45\xb8\xc5\x34\x2b\x3e\x81\x79\xca\x2a\x01\x3c\xe3\xce\x81\xb1\xd4\x86\xe5\x23\xcb\x2b\x13\x16\x59\xaf\x02\xe5\xb3\xc7\x8b\xcc\x89\x92\x59\x69\x4a\xc5\x88\x36\xac\xf0\x72\x5d\x85\x56\xc9\x82\x72\x11\x5c\x5b\xb5\x45\x58\x70\xb1\x99\x04\xac\x0c\xa4\xb8\x14\x29\xd0\xff\x8f\x1e\x1d\x83\x9e\x97\x22\x58\xa8\x31\x8a\x4f\x4b\xb0\xd6\x23\x4b\xa6\xa5\x91\xa7\x61\x49\xc8\x58\x97\xc1\x30\x59\x31\x70\x07\x04\x7f\x6e\x7f\xfc\xa3\x87\x95\x05\x9b\x05\xdf\x0e\xb4\xd0\xf2\x7b\x59\x9a\x4b\x0b\xbe\xb4\x0b\x6b\xae\x6a\x83\x23\x2f\x91\xdd\x9e\x9b\xa9\xf2\x38\x05\x03\xda\x79\x60\xf3\x7e\x4c\x41\xb5\x66\x7a\xd4\x20\x93\x59\x16\x40\xc2\xc1\x09\x90\x12\xa9\x82\x17\xa9\x7a\x0e\xde\xa2\xa0\x93\xb4\x38\x89\x80\xca\xfa\x6f\x01\x96\x12\x2b\x27\xd8\x89\xa7\xcc\xdc\x32\x26\x08\x1a\x21\xbf\x7b\x49\x34\x6e\xa6\x26\xc2\xbe\xaa\x7e\xae\x43\x74\x26\x55\x4e\x8d\x05\x05\x17\xe6\xbb\x6f\xdb\xc1\xcd\x85\x61\x73\xa6\x22\x78\xff\x8f\x06\xdc\x4f\x94\x77\xcc\xbc\x26\xff\x6c\x98\x2b\xd7\xf9\x9e\xd6\x5c\xf3\x51\xb7\xb7\xd4\x8d\xf8\x57\xf8\xba\x5f\x28\x12\x39\x7c\xee\xd6\xb6\x8b\x03\xb9\x46\x39\xfb\x7b\x93\xeb\x04\xb7\xe2\xb4\xc0\x7e\xea\xc4\x78\x06\x87\xb5\x2a\x1c\x80\x70\x43\x81\x20\x59\x4c\xc1\x2b\x04\x63\xed\x3d\x4f\x16\x54\xcc\x63\xad\xa8\x8f\xc7\x39\x18\xc7\xbb\x9c\xcc\x17\xef\xdd\xc0\xe0\x27\x8a\x9c\xb7\x2c\x25\x3a\x59\xb0\x9c\xa2\x08\xcd\xad\xc8\x57\x28\x66\x15\xd9\x68\x4b\xc1\x27\x8b\x0e\x52\xed\xf5\x11\x67\x33\x27\x91\x63\x0d\x67\x0b\x92\x61\x66\x29\xb6\x15\x20\x0d\x53\x56\x34\x03\x1c\x1f\x85\x9d\x3b\x40\xd4\x5c\x73\x48\xac\xc7\xe4\x67\x4b\xaf\xb8\x98\xc9\xd7\xc1\xa2\x32\xe7\x06\x0e\x9d\xcb\x33\xe7\x4c\x34\xcb\xb3\x44\x0a\xa4\x53\x52\xe9\xb3\x94\xdd\xb0\xec\x4c\xf3\xf9\x29\x55\xc9\x82\x1b\x96\x58\x8a\x79\x46\x0b\x7e\x0a\x8b\x15\x28\x15\xe6\xe9\x6f\x82\x08\xb4\x3d\x29\xba\xe6\x22\xed\x80\xfa\xdf\x38\x6a\xfd\x56\x26\xb1\x13\xb9\xcb\x1d\x80\xeb\x65\x8d\x8f\xef\x2e\xaf\x2a\xdf\x4d\xe4\xff\xae\x86\xea\x0a\xec\x16\x64\x5c\xcc\x3c\xef\x0b\xde\xcb\xe0\xb3\x44\x89\xc8\x5e\x46\xa2\xcb\x69\xce\x8d\xae\xa4\x0d\x23\xc7\xe4\x4d\x10\x8a\xca\xc2\xca\xc3\xe9\x98\xbc\x17\xe4\x0d\xcd\x59\xf6\x86\x6a\x76\x70\xa0\x5b\xe8\xea\x53\x0b\xbf\x1d\xc0\xee\xed\xd4\x7b\xb4\x45\xa1\x8d\xe4\x67\x66\xe8\x46\x43\xd4\xa5\xa1\x22\xa5\x2a\x0d\x66\x1a\xb7\x92\x1f\x0e\x0d\xaf\x60\x9a\x6f\x87\x88\x97\x5b\x3a\x90\x31\x88\x27\x80\x90\x3e\x9e\xe4\x36\x96\x65\x41\x94\x00\x4a\x1d\xd9\xf5\x9b\x61\x31\x87\x16\x32\x9b\xf1\x3e\x3d\x25\xcc\xda\xa3\x2f\xa7\x95\xd9\xf5\xb4\xb0\x92\xc9\x69\xce\xd4\x9c\x9d\x5e\xb3\xa5\x7d\xa5\xc1\xba\xda\xdf\x80\x45\xb1\x39\xbc\x00\x6f\x6f\x62\x91\x0d\x26\x15\x7e\xaf\xcd\x0b\xfe\xd6\x53\x47\x74\x4f\x1d\x01\xa9\x38\x6a\xed\xf4\x60\x2c\x6c\xaf\x15\x50\x88\x5b\xf5\x3d\xb8\x09\x37\x72\xae\xfa\x1b\x37\x81\x79\x9c\xdc\xbc\x5a\xdd\xde\xbf\xf6\xca\x6b\x7f\xe2\xda\xec\xc8\x6f\x7f\x72\x11\x0c\x15\xde\x6e\x1a\x3d\x30\xce\xa3\x66\x9c\x6d\x14\xa3\x09\xf6\x9f\xb6\x3a\xe6\xb5\xd3\xee\x93\x10\xd5\xaf\xd1\x5d\xf4\xde\x41\x72\x78\x2a\x92\x83\x45\xd3\xfe\x72\x03\xd0\xae\xc0\xcc\xef\x13\x56\x5b\xeb\x76\x78\x99\xba\x54\xb1\xa3\xe5\x72\xc0\x6a\x0e\xcb\xe9\x5a\x6c\x61\xeb\x79\xdb\xea\x60\xbc\xdc\xa6\x2c\x32\x70\xc8\x45\x0f\x2c\x71\xff\xe8\xa9\xeb\x98\xbc\x07\xc6\x67\x09\x7c\x9e\x33\x91\x7a\x2f\xda\x35\x23\xba\x44\x67\x8b\x01\xfb\x35\xd8\x2b\x60\x3a\xf6\xa5\xa0\x42\x07\x53\x36\xd8\xab\xfb\xb1\x44\x0c\xbf\xea\xe6\x88\x38\xce\x07\xf9\x84\x48\x32\xdd\x08\xa7\x9e\xb2\x4c\x5a\x3a\x25\xc7\xe4\xd9\x37\xcf\x60\xc7\x59\xe6\x86\x42\x7c\x89\xfb\xd5\x11\x2a\xb4\xaf\x64\x4c\xcc\xcd\xc2\xfb\x72\x74\xc6\x93\xca\x1a\x12\x2c\x55\x2d\x91\x43\x87\x8f\xad\x8d\x22\xd1\x7a\x0b\x0d\x35\x20\xd5\xe2\xb3\xbb\xc0\xe4\x07\x3f\x42\x40\xc9\xb6\x2b\xd1\x06\xa7\xfa\x75\x00\xcb\x47\xf5\x4b\xdd\xae\xb9\xe2\x81\x38\x25\x6f\x3e\xbe\x3b\xbf\x7a\x37\x22\x9f\x2e\xde\xc2\x7f\xdf\xbe\xfb\xe9\x9d\xfd\xef\x9b\x5f\x3e\x7c\x78\xf7\xe6\x8a\x48\x45\xbe\x01\xf3\x9e\x05\x27\x80\x49\xea\xda\x17\xc0\x4a\x23\x96\xde\xa0\x5a\x7d\xac\xb6\x0a\x8a\x41\xc0\x34\x4d\x81\xdd\x3d\xb6\xc3\xa8\x04\xb5\x0e\x0f\x52\xc0\xc7\x9a\x9c\x1d\xfb\x88\x2c\x1d\x2a\x33\x16\x27\x45\x34\xe2\xba\x5e\x93\x67\x85\x4c\xf5\x33\x92\x33\x2a\x34\xb1\xff\x1e\xe3\x4f\x67\x99\x9c\xfb\x9f\x01\x60\x72\x4e\x22\x17\x14\xa4\x36\xe0\xe8\x6f\xfc\x30\x7b\x6c\xe1\xf3\x18\xc4\x6b\x85\x8f\xd8\x71\xe5\x27\xaf\xbd\x53\xf3\x6c\x45\xf3\x9e\xe9\x84\x66\xac\x36\xd2\xfe\xd0\x9c\xf0\x9b\xb3\xf6\x15\x78\x0d\x99\xab\xfa\x1b\x2e\xea\xea\x96\x67\x69\x62\xb9\x7c\x13\x35\xa2\x3c\x07\x80\x1e\xd8\x84\x99\x00\xea\x5d\x4d\x9e\x4a\xd8\x9c\xbc\x61\x2a\xa3\x05\x5a\xcf\x19\x4d\x16\xe8\x8c\x76\xfe\xc4\x82\x89\xd4\x4a\x7e\xce\x8c\xcc\x44\x92\x49\x0d\x3f\x38\xd7\x6b\x6d\xeb\x39\x9f\x2f\x8c\x77\xd0\xbb\xc8\xf5\x07\x44\x44\x08\x17\xec\x40\x42\x18\xd3\x30\xd4\xe3\x6f\x41\xbf\x02\xbf\x22\xf8\xcb\xea\xd1\x0b\x6f\xd0\x05\x38\x39\x19\x91\x49\x15\x9c\x99\xda\xbf\x31\xa0\xe1\x9b\xc9\x49\x3c\x2c\xe0\x22\x75\xb1\xea\xce\x87\x78\xda\x08\x6b\xd4\x78\x60\xe8\xde\x88\x96\x10\x3e\x01\xa4\xdd\xbb\xec\xed\x5a\xea\x13\x8d\x1b\xcb\x59\xf9\x6e\x88\x7d\xeb\xfe\x26\x6e\x22\x9a\x00\x5c\x3a\xce\xcf\xee\x00\xa5\x98\x3d\xab\xc4\xf9\xbd\x2f\x6b\x08\xe1\xe6\xab\xc1\xd4\xe2\x73\x41\x95\x15\xf9\xfd\xc8\xca\xb9\xc0\x35\x7e\xb3\xaf\xa7\xa6\xcb\x2c\xb2\xb5\x94\x65\x35\x17\x9e\xb0\x8f\x6c\xc6\x14\x13\x09\xdb\x20\x63\x35\x87\x92\x85\xcc\x52\x0c\x8a\xf7\xbf\x18\x49\xdc\xa8\x71\xc6\xe6\x34\x59\x36\x05\xcc\xb5\xc2\x51\x8f\xd0\xec\xcf\x76\xcc\xe7\xb6\xc8\x67\xed\xbe\x59\x25\xb8\xec\x1e\xf3\xdc\x67\x11\x30\xb0\xb6\x12\x44\xd4\xfd\x2d\xa7\xa0\x66\xd1\xb5\x12\x3b\xe6\xb3\xcf\x62\x2b\x5c\x50\xc6\xa7\x8f\x3f\x11\xfb\xc0\xb9\xe7\xbd\xff\x0c\x42\xe6\x38\x86\xa3\x46\x91\xfb\x80\xfa\x7e\xb9\x3b\xac\x52\x2a\xd3\xb1\xca\xf7\xb3\x2a\x17\x05\xc9\xb5\x7d\xc9\x13\x58\xf7\x69\xbc\x6b\x0b\xa9\x41\xed\x0e\x7e\xc2\xc8\x03\xf7\xbb\xdf\x7d\x07\x92\xc6\x94\x26\xd7\xb7\x96\x09\x24\x32\x2f\xa8\xe1\x53\x9e\x71\xb3\x1c\x93\xcf\x76\xd6\xcf\x51\x00\x97\x0b\x23\xc1\xaf\xb9\xf0\x95\xe7\xaf\x4e\x7f\xff\xfd\xf7\xdf\x7d\x3f\xc2\x9c\x08\xcd\x6f\xd8\x8b\x7b\x77\xe8\x21\x92\x35\x93\x12\xba\x14\xc1\xad\xef\xf5\x4a\xc0\xc3\x86\x8b\xbd\x32\x76\x48\xec\x1c\x12\x3b\x87\xc4\xce\xea\xf5\x21\xb1\x73\x48\xec\x1c\x12\x3b\x8f\x2f\x9f\x70\x48\xec\x3c\x92\x83\x18\x12\x3b\x87\xc4\xce\x21\xb1\x73\x48\xec\x1c\x12\x3b\x87\xc4\xce\xa3\x49\xec\x1c\xf2\x3a\x87\xbc\xce\x21\xaf\xf3\xf8\xf3\x3a\x87\xec\xab\x21\xfb\x6a\xc8\xbe\x1a\xb2\xaf\x86\xec\xab\x21\xfb\x6a\xc8\xbe\xba\xbb\xa7\xa7\x6f\xfe\x55\x07\x55\xde\x73\x06\x96\x13\x58\x02\x63\x5a\x50\x31\x07\xa5\x7a\x48\xc3\x3a\xee\x68\xf2\x21\x98\xfa\xa9\x04\x53\x0f\x69\x58\xc7\x94\x86\xb5\xea\xa1\xef\x29\x6c\x0e\x89\x58\x21\x44\xbd\x83\xf7\x1d\x36\x40\x7d\xf3\xc7\x3b\x92\xb1\xba\x5f\xae\xe3\xef\xe6\xf1\x03\x0b\x3d\x6a\x16\xba\x4d\x42\x56\xdf\x83\x5e\x3b\xf1\x7e\x89\xd2\x90\x94\x35\xc8\x11\x43\x52\xd6\x63\xe1\x78\xf7\x90\x96\xd5\x16\xd1\xb4\x9e\xcd\xb5\x8c\xb6\x4c\xc0\x50\xee\x82\xed\x2c\x26\x58\x2d\xde\xb2\x0e\x9f\x77\x45\xc9\xd5\x4f\x97\x76\x98\x60\x89\x8b\x72\x73\x46\x1b\x27\xc5\x75\x73\xbb\x84\xfe\xa9\x14\x69\xd6\x19\xcd\xeb\xc7\x61\x1c\x2d\xb9\x78\xf7\x33\x61\x22\x91\x29\x4b\xc9\x9b\x73\x32\x85\x67\x8d\x50\x5a\x1f\x0b\x14\x8a\x9d\x45\x0b\x7b\xa6\x7d\xa0\x60\x62\x57\x05\x15\xdc\x18\x38\x84\x4b\x11\x85\xc1\xa2\x3d\x8c\x18\x55\x6a\x43\x94\x94\x46\x7b\xd3\x89\xbd\x67\x38\x01\x55\xf8\xa9\xb5\x36\x8f\xe9\xd2\xb0\xed\xc9\x81\x8b\xb8\xdd\x5f\x84\xdb\x4a\x00\xf9\x26\xa2\xf0\xd9\x7d\xde\x81\xbb\x16\x38\x1e\xc7\x03\xaf\x5a\xad\xde\xa1\xa3\xa7\x9a\x40\x2a\xf2\xb9\x54\xd9\xe7\x60\x4b\x0a\xf0\xf5\x09\x23\x0d\x57\x88\x2a\x85\x80\xf0\x62\x6e\x16\xde\xab\x83\x76\x75\xb0\x7c\x09\x70\xb9\x3a\x39\xa5\xd4\xac\xfa\xd4\x1a\x75\xa4\x54\x59\x17\x76\xc1\xfa\xe6\xfc\x86\xf9\x94\x9c\x24\xc8\x48\x35\x1f\x17\x17\x44\x7b\x72\xf9\xe9\xe3\x4f\x76\xfb\x39\x79\xfe\x19\x44\x23\xf6\xfa\xec\x6c\x21\xb5\x79\x5d\x48\x65\xce\x20\xe6\xfb\xc5\x18\x43\xc7\xb0\xb4\xa0\x9d\x0d\xbf\x24\x63\xf8\xb4\x83\xe5\x6a\xc1\xc8\x67\x3b\x5d\x88\x95\xb6\x9c\x0d\xce\x01\xe2\x76\xc2\x09\x78\x68\xd5\x21\xf5\x83\x2b\x1d\x18\x41\x87\xcc\x38\xcb\xd2\x50\x97\x0f\x8c\x7d\xf6\x03\x2e\x3b\x66\x8a\x51\xc2\xd9\x8d\x33\x38\xb3\x2f\x4e\xb0\x7b\xfb\xe1\x12\xf6\x2d\xf3\x08\xeb\x35\x79\x8e\x41\x36\x9f\x2d\x65\x3d\x0d\xbf\x7f\xf6\x9e\x0e\x37\x17\xe1\xe2\xd4\x3b\x45\xec\x44\x54\x37\x5c\x89\x94\x64\x74\xc9\x50\x86\xe0\x32\x03\xb0\xbf\x18\xfb\xad\x07\x6b\xf7\x14\x4a\x15\xbe\xbf\x20\x34\x4d\x15\xd3\xe8\x0d\xbe\xc8\x18\xd5\x50\x58\x91\xf9\x72\x89\x76\x9e\xcf\xf6\xf8\x32\x9c\xc0\x42\xfa\xd5\xb7\x7f\x18\xbf\x1c\xbf\x1c\xbf\xfa\x6c\x3f\x4f\xfd\xdc\x16\xd3\xb8\xbe\x5e\x92\x52\x64\x4c\x6b\xc0\x2a\x63\xa9\xda\x5c\x31\x70\x13\x2a\x56\xb9\x5e\x23\xdb\xbe\x14\x90\x0d\x65\x27\xd1\x8e\xe2\xd8\x31\x54\x44\x34\xc1\x79\xd6\x30\xed\x88\x45\x99\xaa\x51\xc0\x6d\x7c\x69\x2e\x4b\x88\x56\xd4\x06\x1e\xdb\x2f\x67\xfc\x9a\x65\x4b\x67\x1c\x17\x52\x9c\x5a\xac\xa2\x53\x88\x59\x1b\xb3\xf1\x08\xd0\x81\x51\x0d\x43\x4c\xa9\x04\x29\x0b\x74\x3b\x09\x76\xeb\xb1\x20\x60\x12\x22\x68\x40\xb5\xc9\x09\x70\xf4\xc9\xc9\x0f\x80\x22\x16\x93\xdd\xa3\x39\x17\x3e\xe6\xc4\x33\x7d\x17\x05\x79\x8e\xd9\x0a\xa1\x16\x25\xcd\x9c\xcb\x77\xe6\x93\xbc\xbc\x97\x80\x8a\xa5\x17\x0b\x0b\xa6\x80\x1a\x4d\x33\x57\x02\xf5\xd3\xc7\x9f\xc6\xe4\x7f\xcb\x12\xc6\x7a\x14\x85\x89\x8d\x04\xf3\x36\xc0\x51\x4d\xb9\x51\x54\x85\x69\x9a\xae\xe6\x59\x1c\x66\x43\x2b\xaf\x5b\x6a\xe5\x8b\x19\x77\x1b\x3f\x37\x86\xe5\x85\x71\x13\x60\xc9\xca\x52\x33\x45\x20\x3d\x41\xf3\x84\xd0\xd2\x2c\x20\x58\x8c\x4c\x4e\xec\x93\xd7\x76\x05\xb7\x52\xa5\xff\x17\x46\x83\x41\x30\x8e\x4f\x17\xfb\x51\xd1\x39\x46\x09\x3e\x9f\x9c\xfc\x66\x3c\x1e\x4f\x4e\x5e\x00\x04\x7e\x2d\x99\x5a\x92\x82\x2a\x9a\x33\x03\x57\x63\x72\xf2\xff\xf7\xcf\x5d\xe1\x4f\x37\xcb\xc8\xf9\xc1\x1f\x2a\x8b\x08\x7c\x48\x43\x1f\xa9\x21\xdd\xe0\xf1\xa6\x1b\xc4\x0e\xa7\xcf\xff\x7c\xe6\x70\xfa\xd9\xbf\x3e\x3f\x8d\x44\x04\xbc\xa1\x43\x36\xc2\x6e\xd9\x08\xf8\x6c\xc8\x47\x18\xf2\x11\x86\x7c\x84\xaf\x25\x1f\x01\xef\xca\x90\x8a\x30\xa4\x22\x0c\xa9\x08\x43\x2a\x82\x7f\x3a\xa4\x22\x0c\xa9\x08\x43\x8f\xa9\x21\x17\x61\xc8\x45\x78\x9a\xb9\x08\x43\x8f\xa9\xa1\xc7\xd4\xd0\x63\x6a\xe8\x31\x35\xf4\x98\x1a\xb2\x9c\x9e\x66\x96\x13\x5a\x82\x9f\x4e\xaa\x93\x4b\xba\x19\xb9\x9c\xa7\x4b\x99\x37\x33\x9f\x86\xc4\xa5\x6d\x13\x97\x6a\xc6\x6f\xf7\x70\xc8\x66\xda\x4f\x36\xd3\x77\x47\x98\xcd\xd4\x15\xf1\xb6\x17\x7f\xf0\xe3\x69\x0b\x65\x95\x24\xc5\x12\xea\xec\xee\x37\xaf\xc6\xaf\x7e\x3f\x22\x45\x46\x85\xb0\x9c\x07\xa6\xc8\xe5\x0d\x88\x27\xf0\xf4\x7f\xa2\x2e\xb4\x29\x9a\xef\xec\xe6\xd5\x66\xea\xef\x85\x8e\x21\x92\xfb\x98\x23\xb9\x87\x20\xe6\xa7\x12\xc4\x3c\x24\x43\x1d\x51\x32\x54\x7b\x00\x51\x4f\x89\x74\xc8\x87\xba\x6b\x63\x2a\x00\xff\x1e\x82\xc3\xbb\xf9\xfe\xd0\xa2\x6a\xe0\xa3\xdb\x66\x44\x3d\x60\x8b\xaa\x1e\x82\xec\x5d\xd4\xe6\x41\x9a\x78\x2a\xd2\xc4\x90\x12\x85\xbf\x1f\x1b\xd3\xeb\x48\x88\xda\x2f\xe3\x1b\x3a\x56\x0d\x1d\xab\x36\x80\x68\xe8\x58\x35\x74\xac\x3a\x8a\xc3\x18\x3a\x56\x0d\x1d\xab\x86\x8e\x55\x43\xc7\xaa\x47\xd9\xb1\x0a\x45\xad\xa1\x6d\x55\xf5\xfd\xa1\x6d\xd5\xb6\xab\x1c\xda\x56\xad\xb9\x9b\x0f\xdd\xb6\x0a\x2f\xf7\xd0\xbb\x6a\x48\x26\x1d\x92\x49\x87\x64\xd2\x21\x99\x74\x48\x26\x1d\x92\x49\x87\x64\xd2\x21\x99\x74\xc3\x5d\x1f\x92\x49\x87\x64\xd2\x21\x99\x74\x48\x26\x85\xff\x0d\xc9\xa4\x5f\x41\x32\xe9\x90\x4b\x3a\xe4\x92\x0e\xb9\xa4\xc7\x9f\x4b\x3a\x64\x7c\x0d\x19\x5f\x43\xc6\xd7\x90\xf1\x35\x64\x7c\xb5\x23\xc6\x90\xf1\xf5\xd4\x32\xbe\x1e\x7f\x2b\xaa\x43\xa5\x7e\x75\x6c\x70\x48\xfe\x7a\x0c\x41\xeb\x43\xb8\xf6\x53\x09\xd7\x1e\x92\xbf\x8e\x2e\xf9\x6b\x68\x87\xe5\x5e\x7c\x88\x76\x58\xfb\x8d\x83\x1f\x1a\x63\x0d\x1c\xf5\x89\x35\xc6\xea\x25\xdf\xde\x45\x9f\x1e\x64\x8b\xa7\x22\x5b\x0c\xa9\x60\xf8\xfb\xf1\x31\xc0\x7b\x4d\x06\x1b\xfa\x64\x0d\x7d\xb2\xba\xc3\xd6\x37\xd1\x88\xa1\x59\x96\x19\x9a\x65\x0d\xcd\xb2\x86\x66\x59\x43\xb3\xac\x47\xd9\x2c\xab\x28\xb4\x95\x07\xdf\x58\x51\x4d\x66\x19\x53\x1f\xd9\x0d\xd7\x9b\x0d\xe1\xab\x83\x2b\x67\x15\x9c\x0b\xcf\xf3\x12\x5d\x62\x5a\xd0\x42\x2f\x24\xe8\x46\xe8\x3b\x45\x11\x12\x65\x08\xc4\x60\xc5\x74\x21\x05\x9e\xbd\x3d\x30\xcd\x14\xa7\x19\xff\x0f\xd4\x3d\x15\x29\x49\x59\xfc\x4b\xe5\x7f\x77\x14\xc2\x49\x20\x2e\x25\x2c\xa8\x9e\xf0\xb5\x31\xf9\x05\x3d\x64\x2d\x4b\x5e\x50\x4d\xa6\x8c\x09\xa2\xcb\x24\x61\x5a\x63\xc4\x21\xc6\x21\xa4\x10\x15\x96\x50\x41\x9a\x5a\xc3\x55\x2d\x12\x3f\x72\xce\x44\x39\x03\x56\x89\x86\x0c\x4c\xaf\x80\x80\x91\x1f\x91\x0c\x2e\x78\x69\xbc\xa8\xf1\x96\x1a\x8a\xf4\x76\xdc\xb2\x46\x50\x7c\x46\x64\xe1\x3d\xdd\x53\xe6\x62\x20\x5c\x61\x5e\x98\x79\x44\xd2\x12\x08\x90\x55\x7a\x2c\xf2\x4e\x97\x55\xec\xc7\x5b\xca\x72\x29\x2e\x19\xfa\x14\x2e\xed\x77\x67\x65\x66\xff\x4e\xc2\xd7\xd0\x4d\x8c\x3b\x84\x61\xca\x05\x4a\x8c\x6a\x7a\x19\xb7\xe0\xb2\x67\x57\x39\xde\xc3\x4d\x8e\x32\x0d\x20\x76\x12\x66\xa9\x5b\x16\xb0\x82\x9d\xc6\xda\xbe\x06\x93\x48\x81\x2c\x6b\x24\x0f\x89\xc3\x88\x88\x89\xa5\x90\x38\x0a\x21\x31\xe8\x96\xf5\x19\x49\x58\x5b\xa0\x50\x3c\xa7\x8a\x67\x4b\x58\x7f\x38\x78\x07\x82\x68\x7f\x83\x7d\xe5\xa8\xed\x2b\x77\x57\x6d\x55\x29\x0c\xcf\xd9\xf8\x23\xbd\x7d\xe7\x03\xa4\x37\x4a\xad\x70\xed\xb8\x8f\x55\x42\xe2\xc2\x56\x50\xd6\xa7\x1c\x02\x25\x19\x2c\x22\x4f\xdb\x22\xb2\x9b\xb7\xe5\x99\xbe\x3f\xbb\x48\xd8\x74\x2b\x48\xd4\x2a\xdf\x6e\x5b\x7f\xc5\xb1\x43\x07\x00\x4c\x34\x74\x3f\xc7\x38\x5f\x21\x1e\xc6\x92\xbc\x05\x67\xcf\xfa\xe8\x80\xdf\xff\x6e\xcf\xd1\x01\x61\x4f\xf7\x69\xcf\x29\x0a\xdd\x6e\xb7\x69\x91\x91\xd6\xdb\x69\xb6\x31\xd1\xac\x95\xc1\x3a\xbc\x10\xed\x2f\x78\x45\xdc\x11\x12\x27\x1e\x81\x30\x15\xfc\x11\x2d\xe2\xd0\x4a\x98\xd7\xc0\x2b\x8f\x90\x57\xf6\xf1\x45\xbc\xb7\x63\x3c\x77\x5b\x7f\xe2\x7a\x4f\xce\x88\xf5\x1a\xc4\xe0\x6a\x18\x18\x6b\x4f\x57\xc3\xfd\xb3\xce\xa3\xf5\x27\x6c\xc1\x7f\x3a\x7c\x05\x3b\xf0\xa0\xa0\x2f\x6e\x60\x3b\x95\x4e\x59\xdd\x9f\x35\x31\x6f\x24\x85\xb1\x44\x33\x33\x30\x96\xa3\x66\x2c\x03\xbd\x7d\x2a\xf4\xf6\xb1\x2b\x32\xba\x60\xc9\xf6\x1e\xad\x26\xfd\xba\xb4\xb3\x6c\xda\xff\xd5\x82\x91\x94\x69\x4b\xf1\xc9\x94\x2d\xe8\x0d\x97\x2a\x10\x8c\x88\x6c\x1d\x1a\x18\x76\xbb\xa7\x54\xa4\xa7\x56\xe5\x2a\xf5\x1a\x98\xe0\xb3\xbb\x43\x05\xe7\xe9\x82\x4b\x52\x2a\x28\xac\x85\x9f\x6d\x85\xca\x15\xfe\x60\xa8\x37\x01\xca\x12\xe4\x4c\x30\x22\x4e\x97\xe8\x05\xba\xe5\x22\x95\xb7\xf0\x3e\xcf\xd9\x98\x5c\xc8\xa2\xcc\xa8\xd3\x26\x41\xcd\x04\xdf\xe9\x98\x7c\x64\x34\x3d\x95\x22\x5b\x3e\x20\xb8\xbb\x4c\xe8\xf7\xc2\xe3\x2b\xfe\x7b\x18\xb6\xfe\x46\x0a\x6c\x5b\xd6\x87\xbf\x87\xc1\x8d\xd8\x76\x34\x0e\x00\x7f\x8f\xec\xcb\x86\x50\x70\x94\x53\x2e\x08\x50\xee\x1e\x1c\x3f\xa3\xda\x5c\x29\x2a\x34\x7c\xe6\x8a\xaf\x16\x12\xb8\x03\x21\x84\xe9\x36\xa1\xfa\x4f\x54\x1b\xec\xeb\xe7\xa4\x17\xb7\x5b\x13\x56\xe4\x33\xba\xa4\x60\xfe\x32\x18\xe9\x33\xca\xd7\x98\x04\x73\xa6\x35\x9d\x77\x05\x2b\x9c\x93\x45\x99\x53\x41\x14\xa3\x29\x78\x4a\xdc\x6b\xde\x2e\x63\x99\x69\xca\x0c\xe5\x99\x4f\x8b\x83\x64\x92\xb0\xb2\x5d\xba\xbb\x31\xaa\x3b\x45\xab\x2b\x30\x06\xd9\x81\xce\x65\x1f\x01\xe6\x99\x26\x19\x80\xec\x2e\xab\x68\x27\x65\xab\xcc\x29\x10\x9e\x68\x01\x23\xef\x1d\xbf\x52\x56\xe2\xfa\x91\x66\x9a\x8d\xee\x92\x09\xb4\xec\xac\xec\x78\xb5\xc4\x82\x83\x15\xa2\x87\xd5\xec\xec\x9b\x6b\xd7\x34\xe0\xfd\x55\x40\x75\xa9\x1e\xbd\xaf\x7e\x87\x31\xa9\x36\x0e\xc5\xbc\xc4\x2a\x1b\x89\x17\x99\x2b\xea\x3f\x18\x89\x8e\x5b\x96\xef\x63\x24\x3a\x0f\x96\xa1\xd6\x73\x5d\x3b\xcf\x4e\x62\xc7\x60\x09\x1a\x34\x93\x23\x0f\x3a\x7d\x12\x16\xa2\x3a\xad\x3f\x8c\x04\x79\x59\x57\xcf\xd6\xb2\x11\x3b\x2e\xb8\x58\x31\x62\x2d\xd9\xd5\x30\x94\x73\x61\x35\x84\x65\xcf\x94\xdd\x05\xc3\xa6\xbd\x65\x1e\xf5\xeb\x75\xd9\xad\x20\xd5\x60\xd4\x15\x44\x40\x55\x21\x1f\x11\x8b\x2f\x64\x1a\x95\xa2\xb2\x22\xda\x32\x24\x62\x42\xe9\x99\x19\x44\x24\x38\xd7\x0a\x53\x24\x51\x54\x2f\xb8\x98\x63\xc4\x11\x37\x2e\x1c\x2b\x2a\x22\x41\x6f\x28\xcf\xac\xa0\x57\xcf\x62\x7e\x49\x9e\xdb\x8f\x85\x1e\xd4\x2d\x2f\x10\xaa\x89\x96\x52\xd8\xff\x72\xd7\x54\x81\xa6\xcb\x3d\x55\x57\x6d\xf1\x20\xfe\x85\x6b\x23\xd5\xf2\x27\x9e\xf3\xae\x0a\xb4\x57\xb5\x96\xc8\x32\x4b\xc9\x02\x5f\x86\x80\x38\x86\x71\x39\x12\x83\x9a\x42\x58\x89\x53\x1e\x81\x5e\x03\x21\xc5\x48\xc5\x94\x43\x89\xda\x92\xeb\x45\x48\x59\x66\x5f\x8a\x8c\x27\xdc\x90\xff\x30\x25\xb1\x7c\x89\x34\x51\x00\x64\x0d\x96\xaf\x5e\xee\x1d\x24\xfa\x21\x4b\xc8\x9c\xbb\x72\x39\x18\x36\x26\x6f\x98\x82\x92\xf0\x55\x69\xff\x9c\x0a\x3a\xaf\x94\xe9\x9a\xd1\xa2\xd4\x26\xd4\x4a\xac\xca\x63\x20\x8a\xa1\x15\x39\x85\x38\x9a\xbc\x1a\x88\x05\x84\x53\x62\x58\x5e\x58\xb9\x08\xc4\x7d\xac\x3c\xd2\x42\x7c\xef\x5a\x20\xe8\xec\x37\xf0\xdf\xd3\x50\x0c\x68\x8d\x88\xee\x16\xb3\xb5\xed\x23\x91\x8a\x59\x78\x5f\xc8\xf4\xca\xcd\xd1\x69\x13\x3a\xaf\x57\x95\xa9\x6b\xbd\x00\x1a\x08\x49\xf5\x97\x15\xe9\x06\xc6\x84\x55\xc4\x03\x1e\xe3\xb3\xb8\xf1\x39\x49\x64\xb1\x0c\x52\xac\x9d\x0c\xda\xc6\xdb\xa3\x15\x32\x75\x71\xa9\x71\x0d\x9d\xe8\x18\x60\x40\xa8\x36\xf3\x1c\x2a\xce\xc4\xef\xf2\x19\x11\xb2\x31\x8a\x47\x65\x6f\x5f\x6c\x7d\x82\xf6\xe0\x32\x49\x53\x7d\x16\xc5\x51\x9d\x29\x66\xaf\x23\x50\xf1\xea\xe7\xdf\x14\x32\x3d\x0d\xc7\xd4\x7a\x88\x28\xfe\x5c\x56\x19\x8b\x77\x34\x63\x7d\xaa\xcf\xd7\x71\xa4\x2e\xb2\xcd\x27\x4c\x22\x69\x2a\x32\x9a\xd8\xf3\x41\xa2\x53\xa7\xfd\xae\xaa\x85\x60\xb7\xd8\x83\x61\x7b\x99\x40\xaf\xde\xef\x93\x26\x88\xee\xae\xd1\x5d\x36\x55\xe9\xf5\xcc\x18\xf5\xe9\xa6\xbf\x66\xc5\xcc\xb7\x25\x5f\xb6\x0a\x22\xb0\x8c\x37\xb2\x14\x5d\xbc\x02\xc6\xd8\x8f\x2c\xa8\x5e\x90\xf0\xaa\x0e\x76\x86\xb0\xda\xe6\x8d\xaa\x70\x8d\x94\xda\x77\xf4\xc0\x20\x75\xea\xf5\x54\x0c\x62\xa0\x37\x92\xa7\x54\x24\x8c\xe4\x2c\x59\x50\xc1\x75\x4e\x6e\x17\x4c\x60\x8d\x3f\x96\x02\x9f\x70\x77\x33\x14\x7a\xf4\xdf\x17\xec\xd6\xea\x82\xab\x6e\xb6\xbd\xb3\x95\x60\x42\xe8\x6e\x6e\x52\x3b\x30\xa7\xad\x56\xa2\x81\x9c\x6a\xa6\x6e\x7c\x1d\xa6\x9a\x41\xee\x99\xae\x9d\x6f\xb3\x96\xef\xde\x74\xbb\xca\xa2\xd8\x53\xc9\xeb\x4a\x6c\xae\xa5\x42\x37\x8c\x22\xdb\xa7\x42\xc7\x50\x47\x70\x7c\x00\x79\xe5\x32\x59\xb0\xb4\xcc\x58\x97\x6a\x59\x97\x70\x2c\x89\x8d\x18\xb0\x4f\xa9\xa0\x86\x64\x8c\x6a\x43\x5e\xf9\xfb\x63\xe9\x3b\x54\xfc\x50\x0c\xcb\x8c\xbb\x3c\x23\x5f\xf4\xad\x1a\xb6\x27\xd2\x8c\x13\x6a\x66\xce\xf6\x8d\xac\xce\x49\xb2\x3d\xd8\x8c\x34\x34\x6b\x07\x5e\x24\x5c\x3b\x10\xd6\x81\x42\x9e\x63\x69\x5d\xfb\x04\x5f\x4b\xa4\x52\x0c\x78\x69\xfb\x1b\xfb\x62\x71\x87\x83\x23\x02\xe2\xdc\xdf\xdd\x5d\xf1\xae\x13\x74\x16\xed\xa0\x10\x1e\xd8\x4a\x5d\x11\x46\x67\x49\x8d\x86\x05\xdc\x15\xb1\xae\xf1\x1c\x95\x1d\xe8\x3e\xe5\x91\xda\x8a\x11\xe3\x86\x0a\xf6\xe2\x30\xd0\xf9\x99\x6b\xbd\xcf\x8b\x59\xdf\x33\x16\xd3\xf6\x99\x16\x8f\xfc\x5a\xe2\xde\xe1\x4c\x8e\x09\x95\x00\x7f\xf6\xce\x30\x71\xf9\x9f\x04\xbd\xbf\xdb\x13\x37\x92\x38\xde\x6b\x83\x02\x00\x4b\xff\xcc\x04\x5b\x29\x60\xb5\x0e\x32\xb9\xd4\x60\x13\xb7\xb2\xc1\x3c\xbc\x48\xfc\x5c\xab\xfa\x64\x24\x81\xed\x27\xfe\x77\x45\x37\xd8\x2f\x7b\x89\x49\x80\x9b\x3f\x3a\xc3\xfb\xac\x6f\xb6\x46\xe6\xd8\x4c\xf8\xba\x99\xef\x1a\x3a\xb0\x37\xcd\xe2\xd3\x3a\x85\x6d\xad\x86\x51\x7f\x23\x18\xe3\xcb\xc4\x84\x1c\x6b\x87\x44\x80\x5b\x4d\x9d\x0c\x6e\x4e\xa4\x01\x74\xeb\x1e\x16\x1d\xb9\x98\xe3\x77\x77\x56\x29\x3f\xc6\xb3\xac\x71\xbe\x37\x65\x72\x7c\xc5\x6f\x01\x83\xde\x30\xab\x4f\x8f\xc9\x85\x4b\x71\x0c\x25\x61\x97\x05\x23\x7f\x24\x93\x93\xda\x97\x26\x27\x6b\x9c\xc7\x5b\x78\x24\xa3\xeb\x89\x4b\x01\x87\x03\x66\x6d\x36\x3e\x86\x05\xae\x7f\x11\x6f\x21\x79\x6c\x72\x52\x6b\x94\x56\x1b\x7b\x5f\xf9\x86\x55\x55\xde\x4d\xc8\x15\x06\x11\x26\x2c\x9d\xd5\x24\x65\x49\x46\x2d\xbd\xba\xf1\x38\x84\xfa\xe3\x85\xd5\xda\xb1\x03\x2d\x98\x28\x2e\x07\x2f\xe5\xb1\x7b\x29\x07\xbf\xde\x53\xf1\xeb\xdd\xb1\x50\xdd\x1a\x52\x78\xb7\x38\xc0\x40\x3a\x3a\x8d\xbe\x97\x4d\xe7\x94\x59\x1b\x19\xc8\xa2\x6a\xe2\xeb\x56\x7d\xc7\x48\xbd\x6a\xdd\xdd\xa1\x7a\x3f\x57\x72\x5c\xb6\xac\xc4\x37\x5d\x0b\x9e\x69\x5f\x71\x17\xfd\xbe\x1f\x77\x65\xc5\x04\xf6\xeb\xab\x0c\xf3\xf6\x0a\x77\x5b\x1d\xbd\x3e\xde\xad\xea\xd6\x33\x04\xbc\xc5\x7b\x42\xe9\xe1\xbe\xf7\x73\x05\xbc\xb1\xda\x13\xb6\x2a\x70\x9b\xba\xa5\x3a\xd0\xe7\x21\x52\xef\xeb\x89\xd4\x8b\xae\xe8\x63\x0b\xd5\x0b\x2b\xef\x8a\xd5\xab\x0d\xac\x97\x9a\xac\x9e\x0d\x02\xf0\x71\x0b\xc0\x3b\xe7\x72\xb6\x1e\xf1\xda\x29\x77\x13\x3f\x86\x90\xbd\x41\xb4\xbf\x63\xc8\xde\xe3\x0e\xa5\xab\xd3\xe2\x03\xc9\xa7\x5d\xc1\x74\xb5\x81\x6b\xa3\xe9\xfa\x2a\x2c\x7b\x8e\xb3\xfb\x79\x87\x18\xbb\x47\x11\x59\xb7\x6f\x23\x7d\x41\x4b\xdd\x69\xd2\x7e\x1f\xd5\xe3\xa0\xc6\x9d\x69\x90\x64\xb8\x26\x38\xcb\x1a\x49\x66\x2a\x65\xc6\xa8\x58\xf3\x7d\x25\xe7\x8a\x69\xfd\x96\xd1\x34\xe3\x82\x6d\x11\x46\x49\xbf\xc0\x11\x83\x7c\xcd\x45\xed\x80\x6b\xca\x90\x2f\x5b\xe7\x3f\x45\xa6\xd8\x3a\x06\xc1\x5a\x6f\xa6\x35\xc5\xe6\x25\x3e\x72\xaa\x2e\xaf\xf9\x40\x0f\x8c\xa2\x92\x96\x11\x60\x75\xab\x42\xc9\xc4\x4e\x8c\xaf\xd6\x9a\xbb\x82\x2f\x26\x96\xfc\xb9\xb1\x98\x77\xd1\xd8\xf6\xbb\x2f\x09\x63\x29\x94\xf9\x01\xa9\x39\xf4\xef\x2f\xd5\x8c\x26\xbe\x39\x78\x6d\x41\x28\xd8\x45\xc5\xb6\xaa\x0d\xc2\xdb\x8e\x57\x30\x6d\x78\x8e\x5e\x86\x52\x79\xce\x05\x30\xa3\xed\x87\x58\xc3\xd4\xdf\xbf\x7c\xb9\xa7\xa6\x2b\x35\x15\x02\xec\xa0\x5d\x87\xfc\x21\xdc\x5d\x4f\x40\x20\xe2\xe9\x50\x11\x9a\xc7\x19\xb3\x1a\xd9\x8c\x87\xb8\xd5\xbb\xc7\xad\xfe\x54\x6b\xf2\x08\xb4\x02\x91\xea\x9d\x8f\xb6\x8b\x01\x8e\xed\x3b\x21\xea\x0e\x82\x65\xe0\x35\xef\x84\xe4\x3a\xdc\x52\xa8\xfb\x67\xd5\x8e\xd0\x09\xc2\x8f\xa8\x6e\x58\xff\x88\xd6\x75\x1a\xef\x5d\x23\x14\x23\xf3\x5d\x8f\xe0\xc4\xab\x26\xb5\xa9\x22\x14\xa1\xe4\x65\x4b\xa0\x62\x3d\x3c\xd1\x02\x64\xbc\x55\x7c\x14\x22\xf7\xdf\xd8\xf2\x18\xe2\x6d\xfd\xc0\xd5\x48\x5b\xdd\x1e\x6a\x7b\x6c\x91\x98\x4d\x6b\x6d\x2f\x51\x0e\x2d\x26\x4e\x98\xcb\xb7\xb5\xe1\x76\xab\xf4\x5e\xbc\xf9\xd8\x8f\x05\x5c\x35\xfc\xe8\x95\x78\x04\xe7\xd0\x16\xda\xd0\x8c\x6a\x20\x86\xaa\x39\x5b\x73\x27\xf7\x1f\x3c\xb9\xd7\xa0\xd3\x88\x78\x5c\xd5\xfe\xbe\xe7\xb0\xd3\x8a\x26\x3e\xa6\x70\xd3\xea\x9c\x0f\x1d\x6f\xda\x62\xd3\xef\x69\xa2\x78\xb0\x80\xd3\x9d\x82\x73\x36\x05\xe4\xb4\xe1\xe6\xde\x03\x72\xe0\xbe\xef\x48\x3b\x90\x56\x20\xfd\xbe\x47\x92\xd0\x53\xd8\x6d\xae\x56\x48\x71\x6a\x98\xca\xb9\xf0\xba\xe9\xc6\x65\x93\xe7\x58\x62\xd8\x35\x18\xae\x44\x0c\xcf\x63\xf6\x9f\x92\x55\x8a\xbb\x52\xf3\x68\x86\xee\x73\x09\x02\xae\x69\x89\xaf\xaa\xe7\x1e\x69\xc3\x5d\x89\x63\xd0\x1a\x3c\x31\xab\xab\x84\x10\x48\xf7\xea\xe5\xcb\xdf\x46\x34\x24\xa1\x05\x4d\xa0\x8a\xef\x15\xf6\x01\x5d\xfa\x3e\xd2\x53\xd6\xf8\x86\x0f\xe1\x9a\x96\x06\xe4\xe7\x25\xab\x11\xa3\x38\x1d\x0a\x97\xe3\x02\xf7\x0c\xd6\x75\x0e\x42\xc3\xbe\x0f\x05\x2d\x83\x3b\x1e\xc8\xb6\x48\x07\xdb\x83\x8d\xc5\x66\x1e\x2f\xc2\x60\x94\xe1\x61\x22\xda\xee\x20\x0c\x75\xc7\x8d\xad\x0c\x8e\x64\xc0\x85\xbc\xdd\x5a\xf6\xbd\xd7\x38\xb1\x35\x7e\xeb\x3b\x05\x8a\xad\x42\xe4\x0a\x43\xc7\x1a\xf1\x59\xed\x52\xfb\x2e\xee\xb1\x38\x5e\x8c\xe1\x65\xf1\xa1\x62\xcd\x60\xb5\x07\x8f\x17\xab\xa4\xa3\x0d\x48\x55\x0d\x22\x4c\xe8\x52\x85\x70\xd0\x4a\xf3\xae\xd3\x33\xe2\x19\x47\x33\x9b\x83\x8a\x25\x74\xf9\x10\x58\xb8\x68\xf0\xa3\x1d\xb3\x1f\x6d\xf0\x36\x3d\x15\x6f\x53\xcf\x40\x32\xd7\x09\xe8\x27\x94\xc3\x40\x0f\x89\xae\xbe\xbd\xca\x2c\x2f\xcc\x12\x9a\x00\x2d\xe1\xef\x14\xc9\x57\xb0\x3f\x83\xd4\x06\x8d\x0a\xf0\xfa\x5d\xc8\xf4\xb9\x55\x63\xbd\xe5\x3d\x9a\x0e\x93\xac\xed\xa9\x3f\xc9\x82\x79\xd5\x4e\x7b\x05\xca\xd5\x88\xd6\x56\x8e\xa8\x48\xbf\x7d\x0a\x25\xf5\x22\xb8\x75\x07\xea\xed\x60\xf2\x89\xc1\x35\xd4\xda\x3b\x88\x8b\x37\x92\x29\xf6\xea\xde\xad\xe6\xed\x13\x7e\xd8\x32\x7a\x7d\xf8\xa1\x93\x57\x20\xe8\xff\x11\xc6\x1f\x36\xe3\xf5\x86\xa2\x7b\x43\x28\x5f\x2b\x3c\x9c\xae\x12\xa3\xfb\x23\x8b\xe5\xab\xae\x75\x47\x2c\x5f\x7d\x60\x5b\xe1\xbd\x21\xa5\xe5\xb1\x68\x22\xdb\x74\x8a\x8e\x4f\xf5\x80\xd5\x59\xf6\x6b\x85\x8f\x58\x66\x4f\xe3\xfb\xa0\xb1\x3d\x69\x8d\xed\x98\x4b\xfa\x3d\xb2\x3e\xd2\x3d\xe4\xd4\xfd\x87\x22\x36\xd4\xbf\x3e\x6c\xaa\xa3\xb0\x5f\x9b\x1f\x73\x08\x38\xbc\xdf\x80\xc3\x9e\xfe\x30\xef\xc1\xf0\xa7\x29\x56\x82\xc1\xfc\x44\x77\x0a\x7d\x8a\xba\x65\x37\xc3\xc1\x0e\xc8\xf8\xce\x7e\x73\xbb\xa0\xe6\x94\xeb\x53\x7a\xda\x83\x33\x3e\xf2\x98\xab\xcb\xa8\xec\x1b\xdd\x54\x37\xd0\xdd\x85\xca\x79\xe9\x65\xec\x44\x96\xc2\x8c\xd1\xa8\x46\xae\xd9\x12\xc3\x2a\x51\xe6\x72\xc5\xe9\x7a\xd4\x14\x0c\x1e\xac\x48\x74\x1f\xea\x0c\xae\x8d\x7b\x72\x17\x6f\xfb\xa2\x83\x84\xcf\x08\x17\xba\x9c\xcd\x78\x02\xd2\x4a\xcd\x93\x91\x32\x03\x21\x72\x0f\x51\xf6\xaf\x27\x7f\x0d\xb7\x65\x7f\x8a\x56\x67\x0c\x56\x73\x68\x9f\x7a\x78\x5b\xb1\xb3\xad\x9d\xf5\x35\xa2\x5b\xb1\x89\x70\x98\xbd\x82\xaf\x42\x6b\xfd\xf8\xce\x3d\xa2\x18\xa2\x68\xd9\x07\x0e\x22\x6a\xb3\xcc\xf5\xd4\x63\x1e\x2c\x88\x08\xda\x52\x03\x55\xee\x1f\x72\x50\x43\xab\x8a\xf6\x43\x14\x41\x1c\xbd\xe2\x95\xa8\x2c\x78\x52\x9a\xb4\xd9\xff\xe6\x31\xf2\x00\x98\xb5\x75\x94\xd4\x2f\x2b\x2f\x10\xc5\x66\x99\xeb\x08\x5e\x8f\xa0\x9a\x6d\xb2\xb8\xf7\x0b\xb9\x3b\x7c\x10\x55\xed\xb8\xf0\xc6\x07\x0a\x70\x2f\x97\x7b\x47\x79\xb1\x09\x56\x84\x6a\xbc\x15\x2f\x3d\x3e\x76\x31\xaf\x27\x53\x0b\x70\xbc\x33\x53\x6b\x2f\x4b\xb4\x9e\xb5\x81\x52\xd6\xa8\xb1\xd4\xe6\x89\x8b\x8a\x06\xa9\x5a\x78\x4a\x1f\x65\x8d\x7e\xb9\x2c\xd5\xaa\x91\x7d\x3b\x01\xb7\x34\x3c\x1b\x73\x61\xb4\x51\xe3\xf7\xc2\xfc\xa2\x2e\xd1\x62\xd1\xe5\x37\xf0\xa9\x48\xcd\x82\x5f\x98\xec\x23\xaa\x28\xa1\x8a\xd5\xd4\x0b\xba\x03\x09\x4c\xa8\x40\x32\x48\x45\xa8\x0c\x56\x1f\xe6\x32\x78\xdc\x7f\xc2\xb0\x31\xf9\x3b\x18\xa0\x12\x0c\x99\xa1\x82\xd0\xa9\x96\x59\x69\xc2\xdd\x7d\xce\xbe\xbc\x26\xdf\xbf\x20\x90\x1a\x55\x30\x65\xaf\x05\x9d\xb3\x66\x6e\x0d\x8e\x7b\xf5\xf2\xb7\x2f\x9c\x52\x65\x67\x74\x36\xa5\x97\x56\xac\xfb\x99\x7e\x89\x0a\xdd\xd9\xbb\xf6\x72\x4c\xce\x1b\x1f\x83\xf7\xb2\xc4\x79\xf8\xc0\x8e\x15\x7d\x72\xba\x24\x4a\x96\x22\xc5\xe3\x05\xef\x49\xa8\x88\x2f\x67\x56\xef\xf2\xf1\x3c\x68\x55\xc3\x6f\xbc\xfb\x42\xf3\x22\x63\xaf\x31\x74\xd9\x38\x85\xcf\xa2\x8a\x91\xe4\xbb\x97\xbf\x1d\x59\x19\x04\xee\xfc\x77\x2f\x7f\xeb\x49\xeb\xdd\x8a\x7c\x8e\xd9\xd8\xe7\x58\xb5\x57\x3a\x7b\x51\x9d\x18\x06\x5f\x52\x5f\x96\x39\x48\xc2\x2e\xd3\x0c\xe4\xe8\x0c\x15\x7e\x6e\xf9\x9b\xba\x66\x10\xa8\x9d\x42\xd1\x2b\x97\x6c\x16\xea\x8e\x51\x65\xb4\x85\x53\x46\x4b\x81\x8c\xd0\x97\x7b\x26\x52\xf8\x0d\xc2\x66\xc6\xe4\x17\x91\xd4\x10\xc6\x7d\x22\x2a\xff\xf7\xb1\x4f\x8c\xbc\x5b\x60\x1d\xdd\xa4\x40\x60\x61\x1d\xef\xb0\xee\xb0\x68\x17\xeb\xe0\x77\x36\x65\x89\xcc\x99\xae\x85\x75\xc2\x67\xc5\xd2\x7b\x90\xdc\x62\x2a\x7f\x11\xe8\xda\x33\x74\xdb\x70\x4d\xd8\x0d\xb7\xba\xc1\x88\xa0\xb6\x98\x2a\xca\x85\x05\xf4\xea\x06\x79\x9e\xb3\x94\xdb\x5f\x22\x83\x4a\x6d\xc1\xde\x92\xe2\x8d\x1d\x16\x8e\xda\xd2\x08\x92\xf1\x9c\x1b\x3d\x26\xe7\x59\x26\x6f\xab\x9f\x79\x5e\x64\x3c\xe8\x36\x5a\xf3\x29\xcf\xb8\x59\x56\x91\x17\xc1\xfa\x0e\x73\x96\x79\xb3\x1c\xa1\x45\x47\x29\xa2\x00\x2d\x58\x87\x45\x92\x54\x96\x70\x5f\xbc\xc0\x42\x53\x2e\x98\xd6\x24\x59\xb0\xe4\x1a\xd2\x06\x35\xfa\x17\xb4\xac\x0c\xc6\x96\xd4\x0b\xcd\x6f\xa2\xe9\x83\x13\xc3\xd0\x6b\x18\x20\x09\x4d\x40\x3b\x0e\xab\xc4\xb0\xd5\x84\x96\x9a\x21\x38\x01\xca\x9e\x72\x70\xad\x4a\x20\x5d\x91\xd5\x44\x10\x9a\x15\x0b\xea\xd3\x07\xa0\x50\x26\x70\x10\x8d\xa5\xcd\x6a\x35\xc8\x5d\x2d\x3d\x00\xd8\x8c\x51\x53\x2a\x46\xe6\xeb\x83\xff\xf2\x1a\xc1\x38\x16\xea\xdc\xa8\xa8\x1e\xa8\xef\x94\xd5\x90\x37\x4a\x98\xdc\x03\xa1\x6d\x52\xa3\xc6\x22\x1c\x8e\xc1\xed\xf7\x04\xcc\x51\x84\x88\x2a\xef\x4e\x6b\x53\x79\x2b\x56\xa8\xad\x14\xac\xa2\xf4\x0d\x42\x8f\x67\x6c\xc9\xef\x2a\x45\x7e\xf5\x48\x28\x32\x40\x56\x1b\x59\x14\x2e\x0e\x3c\x10\x92\x96\x48\xca\x76\x22\x0c\x6f\xbb\xd0\xcb\xfa\x76\xa4\x66\x2b\x87\x28\x2c\x2f\x67\x82\x4c\x2d\xe6\x68\xcb\xe0\x2c\xe9\x6e\x8c\xc2\x5c\x5e\xbb\xbc\x8c\x26\xcc\xd1\x70\x97\x6e\x53\x65\x1b\x06\x3c\x1c\x81\xa5\xd7\xce\x0a\x79\xc6\x0c\xd8\x80\x91\x04\x62\x0e\x1a\x73\x8f\x88\x59\x94\x1a\x43\x4c\x11\x86\xd4\x54\x74\xff\x0f\xb8\x74\xa9\xf8\x9c\x8b\x8d\xc8\x18\x7f\x1f\x40\x95\x65\x00\x24\xdd\x72\x29\xf6\x19\x4a\xbb\x26\x94\xf9\xee\xc2\xe5\xa3\x97\x28\x57\x28\x55\xa8\xc9\x4a\xe8\x54\x36\x42\xf0\xeb\xaf\x3d\x62\xf9\xb0\x6e\x94\xff\xf6\xfb\xdf\xf6\x21\x3c\xfe\x2a\x45\x91\x92\x01\x66\xd4\x02\xac\x2c\x2a\xf9\x21\x5b\xfa\x89\x58\x03\x49\x1c\x11\x18\x11\x5d\x82\x65\xd8\x51\xe8\x26\x0d\x93\x8e\x69\x86\xcb\x9b\x4a\x80\x09\x83\x94\x7e\xf2\xca\xd1\x8b\x7a\x0e\x3b\x5c\x79\x27\x38\x69\xa4\x58\x90\x17\x72\xcd\xb3\xcc\xca\x3f\x5d\xcb\x9f\x95\xca\xde\xfe\x51\xe3\xa6\xb7\xe6\xc5\x34\x62\xc7\x21\xbe\x69\xe5\x16\x83\x24\xe0\x28\x5c\xeb\x92\x1f\x13\x7f\xbf\x47\xae\xbe\xee\x7a\xdc\x8d\x51\xaf\xbf\x5e\x15\x57\xde\xf9\x6a\xd4\xcb\x0a\x34\x70\xcb\x8b\x09\x7f\x58\x45\x81\x2d\xee\x8c\x43\xf0\x1a\x3f\x03\xe3\xd1\xa8\xc7\xd7\x03\x6e\xcf\xa4\x15\xd0\x51\xca\xb6\x03\xbc\xca\xb8\x72\xbd\x57\xae\xc1\xba\x14\xb1\xbe\x3c\xcd\xdd\x86\x1a\xd7\x5c\x77\x1b\xf6\xca\xf3\x2e\x0d\x35\x6c\x56\x66\xe0\x07\xe8\xcc\x54\xea\x7a\xd5\x6e\xa3\xaa\x70\x0d\x21\x0b\x89\xdd\x1d\xe4\xf9\x30\xc3\xb0\x00\x42\xd7\x2c\x57\xcb\xa2\x0f\xc3\x2c\xa8\x32\xcd\x80\xd2\xb6\x45\x5f\xf8\x71\x3e\xb2\xd1\xa9\x5c\x52\xa5\x20\x94\x50\xe3\xdc\xe5\xf6\xc7\x68\x39\x91\x84\x18\x3e\x15\x79\x6d\x63\x73\xc1\x51\xe4\x9c\x45\x4b\xdf\x24\xbf\x44\x1b\x8c\x5c\x3e\x18\x57\xe8\xd1\x16\xec\x48\xa0\xc7\x6a\x03\xc5\x5a\x52\x26\x2c\x00\x98\x1e\x93\xf7\xe1\xdf\x3e\x9b\xc0\xaa\xcc\x84\xea\xd7\x13\x41\x4e\xc9\x07\x66\x6e\xa5\xba\x7e\x4d\xce\x89\xe6\x62\x9e\xc1\x0d\x05\x03\xd4\x87\x4b\x6c\x28\x20\xb5\x11\x34\x67\x63\x18\x7e\x69\xa4\xa2\x73\xf6\x9a\x9c\x5b\x75\x5f\x2c\xc9\xdf\x65\x56\xe6\xec\x4d\x46\x79\xae\x09\x0d\x11\x47\x2c\x1d\x4f\xc4\x55\xe3\x80\xe6\x25\x55\x54\x18\x56\xe5\x36\x39\x35\x18\xd7\xe0\x97\xbd\x44\x87\x21\xcd\x6e\xe9\xd2\x7e\xa5\xf0\x71\x77\x90\xf5\xa0\x71\x05\x61\xf0\x10\x56\x78\xd4\x61\x85\x43\xb8\xdc\x53\x09\x97\x8b\x12\x9c\xda\x63\x48\xee\x92\xca\x13\xb3\x95\xad\x73\x79\x3c\xe7\xad\xc8\x5e\xa0\x8c\xdc\x89\x39\xe0\x79\x6a\x5f\xf6\xdd\x72\x69\x6a\xfc\x70\xcb\x64\x9a\x55\x9f\xfd\x45\xbc\xe6\x68\xea\xdd\xf2\x68\x8e\x2d\x69\x25\xe6\x78\x7b\x8d\x04\x8c\x26\xee\x93\xb6\xd2\x36\x7c\x7d\xde\x8a\x76\xa3\x1f\x69\xde\xca\x61\xea\x66\x0f\x39\x2b\x4f\x31\x67\x25\x46\xf5\x47\x96\xb3\x12\xdd\xe9\x8e\xa4\x95\xc6\xc8\xb6\xac\x95\x68\xc8\x90\xb6\x72\xdc\xf2\x65\x6b\xda\xca\x5d\x63\xad\x62\x46\x15\x4d\x31\xe4\x8a\x7c\xb5\xc2\x6f\xc8\x15\xd9\x9a\xde\x1d\x51\x32\x46\x93\x46\x1e\x4a\x06\xeb\x48\xc7\x38\x27\x8d\xb1\x1b\x32\x32\x62\x19\xb8\x87\x89\x49\xa6\x3f\x43\xc9\x83\x9c\x09\x73\x21\x33\x9e\x74\xf5\x97\x6c\x79\xc3\xbb\x8a\xb0\x96\x4f\x30\x4f\xfa\x18\x02\x67\x0b\x04\xf4\xa1\x19\x1a\x26\x49\x59\x8c\xd0\xe2\x89\x75\x7f\x42\xc1\x1f\x89\x3e\x7e\x0d\x01\x0b\x30\xc0\xdb\x29\xbd\x15\x37\xd4\x77\x20\x05\x7e\x9d\x6b\xf2\xf9\x17\x05\xc9\x17\x10\x0c\xf1\x19\x66\x56\x6c\x75\x25\x5c\x10\x2e\xec\x1f\xda\x4e\x88\x31\xed\xcf\x0b\x99\x9e\xbe\x1c\x39\x77\xa0\x4c\x4f\x5f\x8d\x08\x33\xc9\x0b\xef\x79\x5c\x29\x53\x7c\x4b\xb9\xa5\xf9\x86\x67\x84\xd1\x64\xe1\xc3\x27\x30\x92\xcf\x85\xa7\xb8\x52\xc6\x5c\xcc\xc7\xe4\x1f\xcd\x4d\x8c\xaa\xb2\x97\x68\xc5\xcd\xe5\x4d\x55\x8f\x58\x16\x85\xd4\xdc\x30\x5c\x1e\x6e\x98\x66\xc0\x80\xa0\x0f\x5a\xb4\xe9\x0b\xaa\x68\x96\xb1\xec\xb3\x33\xef\xc5\xbd\xe8\xbd\x2e\x57\xb8\x31\x58\xb3\xd9\x07\xe4\x7b\xfd\x0f\xcf\xc2\xc7\x75\xd8\x9d\x41\x2e\x8c\xdd\xba\x14\xee\x29\x58\x90\x61\x6a\x0c\x53\x01\x2b\xaf\x77\xb0\x4b\x91\xf4\xae\x0a\xb4\x7d\x08\xa2\x6a\x84\x20\xae\x3a\xe3\xc2\x08\x27\x13\xa2\x79\xcc\x47\xdc\x03\xf4\x34\x73\x60\xf6\x73\x09\x57\xc6\x4d\x68\x16\xc5\x78\x50\xa0\xce\xda\x50\x61\x78\x15\xaf\x1c\x8c\x68\x7e\x4a\xec\x2a\x6b\xa5\xf1\x1b\x9e\x96\x34\x8b\x42\xf1\x33\xed\x6a\xa0\xd1\x16\xcb\xe2\x12\x82\x7b\xa2\xe4\x98\x91\x47\xe3\xe3\xa9\x95\xdc\xf6\x4a\x88\xfe\x5c\x71\x09\xf9\xd1\x8d\xe2\xad\x39\xe5\x98\x5c\x15\x30\x3a\xa2\x48\xcf\x74\x78\x8d\x2c\xf0\x2b\x88\xe1\xcd\x5f\x3d\x04\x31\x68\x1c\x6a\xcf\xf9\xaf\x59\x2e\x1b\x38\x38\xba\x32\xa8\x37\x0c\x64\x4b\x42\x8b\x22\xe3\x2c\x5d\xa1\x98\x8e\x5a\xd7\x29\x48\x15\x7e\xf1\xc4\xaa\x32\xeb\x7d\x65\x08\x3d\x82\x64\x1e\x6d\x67\x4a\xd8\x07\xba\x6a\x26\x58\x81\x4a\x18\x19\xb2\xe0\xec\xbf\xfd\x45\xc7\xc7\x08\x98\xb9\x5d\xa1\xd0\xeb\x0c\x4b\x7e\x2c\x00\x07\xa2\x51\xe3\xd0\xc4\x68\x3c\x52\x53\x60\x10\xba\xb0\x48\xed\x83\xf8\xd0\xe9\xd6\xb0\xe3\x87\x95\x98\x31\x9a\xb6\xe6\xcc\x90\xb7\x1f\x2e\xcf\xbc\x53\xc1\x1d\x1b\x3a\xf2\xf0\x3c\xa8\xb1\xdc\xe1\x35\x30\x2f\x2f\x10\x9c\x22\xf5\x1d\x47\x3b\x1e\x3b\xa4\x1f\xeb\x9b\x64\x9c\x64\xa5\x36\x4c\x8d\x33\x99\xd0\xcc\xb1\xcb\xc9\x49\xcb\x0c\x93\x13\x8c\x53\xb4\x1c\x3f\x04\xe7\xc5\x2e\x8a\xb5\xb5\x49\x7b\x69\xda\xf7\x99\x87\x65\xee\x2d\x0f\xeb\x9d\x97\x0b\xb4\xa1\x79\xc1\x52\x30\x3d\xb6\xc0\x0e\xa6\x9f\x95\xd9\xcc\xfe\x17\x10\xad\xce\x66\x1c\x37\x29\x05\xff\xb5\xac\xfc\x37\x95\x72\xa2\x98\x0e\x91\x6d\x35\xb9\xaf\x15\xd8\xe5\xba\x36\xbf\xfd\x40\xde\x22\xb6\x36\x1a\x07\x6f\x02\x7e\xd9\xe8\x18\x5c\x73\x54\xae\x9d\xb2\x7e\x0a\x16\x36\x72\x89\xce\x57\xe7\x55\xae\xcc\xbf\x0d\xc8\x5a\xa1\x8b\x56\x6c\x05\x70\x38\x85\x22\xeb\x41\x38\x68\x87\xd2\x4d\xe5\x9e\xf3\x23\xbb\xc4\x94\xb6\x57\xea\x6d\xba\x12\xf4\xf6\x61\x4f\x89\x10\x0e\xe6\x7c\xf1\x50\xfc\x72\xc6\x14\xb3\xb2\x14\x69\xba\x00\x23\xf1\xb3\x85\x88\xe4\x14\x43\xe9\x1a\x84\x04\x82\x6e\xa5\xff\x2c\xb7\xa0\xb8\xa5\x0e\x9a\x9e\x41\x23\xe8\x63\xca\x43\xb1\x15\xfe\xbb\x1b\xcb\x27\xe0\xdd\x60\x59\xc7\x5c\x7e\x4b\xeb\x10\x27\xbd\x27\x5f\x0a\x56\x25\x17\x3d\x9f\x2e\x81\x9e\xbe\x20\x08\x91\x9f\x21\x8c\x96\x0b\x18\x55\xe5\x5c\xbb\xe3\x32\x41\x48\x3b\x6f\xfb\x98\xa1\xd7\x4c\x93\x42\xb1\x84\xa5\x0c\x62\x7b\x2c\xe3\xa2\x62\xe9\x26\xd7\xcd\x79\x46\xe8\xd4\x0d\x12\x1b\xb8\x60\xf7\x93\x51\x16\xa8\x8d\x95\x21\x40\xac\x8b\x9c\xb8\xdb\xdb\x3b\x7a\xea\xc1\x1b\x8b\xd9\xaf\xe1\x7f\x7b\x34\x0a\x76\x26\x58\xae\x8c\xdd\x94\x61\xc9\x76\xd1\x4e\xb7\x2a\xfe\x5e\x1f\x1c\x3c\x46\x5d\x25\xe1\x1b\xac\x7d\xed\xe5\xbb\x87\xa2\xf0\x6f\xc2\xd7\x3e\x3a\xba\xf5\x98\x12\x3b\x23\x53\xf8\x81\x13\x3b\x5b\x9d\x57\x3d\x6f\xe1\x83\x65\x76\x3a\x80\xf4\xcc\x12\x6c\x8c\x5e\xad\xd9\x00\x8c\x2f\x24\xc5\x6c\x12\xcb\x2a\x71\x21\x7e\xee\xd4\xa1\xc0\x88\x61\x92\xf0\xd5\x43\x61\x5f\x7d\xfe\xbe\x30\xc0\xd1\x23\x2b\x7d\x41\x18\x28\x96\xfb\xac\x8b\x10\x7e\x3f\xab\xd2\x50\x88\xd7\x72\x99\xa2\x75\xa1\x41\xb3\x5f\x4b\x60\x2f\xff\x7c\x39\x6a\x00\xbd\x59\xe0\xbd\x8f\x40\xbb\x75\x7a\xeb\xea\x0b\x2d\xf9\x96\xad\x6d\x02\x42\xae\x68\x8d\x82\xbd\xb7\x47\xaf\x50\x4c\x48\x83\x23\xa3\xae\x82\x57\xb3\x8d\x9c\xe5\x88\x87\xe6\xb9\x44\x0a\x92\x97\xce\x7d\xe2\xf0\xea\xfc\xe2\xbd\xb3\x93\x3f\x68\xe6\x6c\x6d\xec\x9d\x6e\x44\x95\x1f\x4d\x09\xe6\x4f\xbd\x59\xe3\xbb\xbb\xb7\x6c\xdb\xa6\xa9\x6b\x97\x7d\x1d\xa8\xf6\x7d\xcf\xeb\x5a\x1f\x7c\xe8\xdb\xea\xe1\x75\xda\xa8\xcf\x3f\xf2\x0f\x5e\x6c\x7f\x79\xb7\x2b\xf5\xdf\x18\x7d\x4f\x24\xba\x0e\xe5\x03\xc5\x65\x1e\x38\xdf\x79\xbd\x06\xd9\x4b\xd8\xfc\xb4\x49\x95\xd4\x35\xcd\x71\x03\xc8\x41\xa9\x74\x7d\xb7\x0a\xa6\x2c\xe8\x1c\x70\x35\x50\x51\x2e\x92\xac\x4c\x99\x06\x95\x83\xa6\x48\x1d\x68\x56\x45\xfa\x6a\x22\x58\xc2\xb4\xa6\x6a\x19\xcf\x11\x85\x3c\x7b\xf1\xae\x3a\x40\xbf\xba\x87\xe9\x64\xd0\x16\x0a\xbd\x49\x67\xaf\xbd\xdc\x19\xf9\xac\x51\xde\x85\xc8\x88\x66\xe3\x80\xb5\x31\xd0\xed\x56\xa1\x9e\xf1\x17\xf5\x93\x37\x2e\x24\x63\xa3\x41\xe1\x01\x7b\x1b\x94\x66\x61\x55\x6d\xf4\xd5\xd9\xb3\xf9\x93\x2c\x45\x8a\x31\x82\x1f\xbd\xfe\xbf\xe1\x06\xb4\x0d\x47\x2b\x43\xb0\x1e\x60\x14\x52\xcd\xb0\x45\x89\x91\xd7\x0c\x84\x8a\xa9\x9d\x80\x18\xb9\xe7\xf8\x8c\x26\x31\x77\xab\x69\xd6\xad\xd8\x67\xe8\x6b\xf3\x4b\xe4\xef\x34\xe3\x29\x01\xe7\x37\x98\x56\x9e\x5d\xc8\xf4\x19\x18\x5e\x9f\x5d\xb2\x44\x31\xf3\x6c\x87\xd5\x88\x6e\x83\xf2\x87\xc8\x7a\x7c\x87\x7d\x97\xbc\x6b\xdb\x9f\xde\xbf\xdd\xf5\x3b\xfb\x43\xd8\x2b\x8b\x49\x1f\x31\xe8\x61\x03\xa2\xc6\xc3\xaa\x18\x09\x8f\x88\xd8\x4c\x16\xfd\x74\xde\x88\xee\x32\xae\x87\xc0\xa1\xa3\x0e\x1c\x1a\x62\x73\x9e\x4a\x6c\xce\x61\x02\xd3\x37\xd2\x0b\xf0\xce\xb4\x7f\x6c\xc7\x70\xf2\xcd\x9f\xeb\xec\x41\xb0\xc6\xe6\x1a\x2d\xf3\x5e\x42\x8f\xea\xbb\x40\x84\x6b\x8f\x45\xaa\x51\xdf\xfd\x04\x22\x75\x9f\x58\x3f\x2a\x0f\x0e\x76\x67\xe0\xd7\xfe\x26\x16\x4a\xde\xf0\x94\xa5\xb1\x84\x08\x86\x42\xe4\x03\xee\x82\xf6\xa1\xf9\x65\xca\xad\x74\xd3\xa5\x90\x9d\xfb\x71\x20\x02\xa0\xe0\x6d\x98\x48\x99\x48\x49\x98\xa3\xaa\x9b\x70\xcd\xc4\x98\x9c\x5b\x22\xce\x0b\x58\x70\xb4\x38\xf0\x74\x38\xd7\xc8\x0c\x34\xb7\x5c\xb3\x6c\x16\xca\x0f\xe1\xa3\x19\xaf\xbc\x19\xde\xd3\xd3\xfe\x21\x17\x52\x63\x16\x4c\xdd\x72\xcd\x3c\x23\x71\x7c\xa0\xb6\x1e\x2f\xae\xe9\xd2\xd9\x78\xf2\x32\x33\xbc\xc8\x58\x34\xb5\x4b\x68\xf0\xe2\x78\x74\x8e\x8c\xd0\xb9\x3d\x84\x50\xee\xd6\xce\x5d\xbd\x68\x57\x69\xf5\xc8\xd2\x84\xda\x2c\x94\x2c\xf8\x7c\x41\x52\x36\x57\x0c\x65\x19\x55\x82\x33\x1b\x0b\xbc\xc2\xda\xa0\x61\x5d\x35\x4d\x3f\x73\xee\x3a\xda\xb6\x43\x54\xe8\xb4\x26\xfa\xee\x81\x54\xb4\x8a\xde\x9b\x54\xa1\xfa\x0b\xdd\x62\x77\x38\xd2\xe0\xbc\x0c\xd2\x37\x38\x19\xa2\x67\xd0\x12\x6e\xca\x2c\xab\xe4\xae\xa4\x86\x26\x99\x14\x73\xdf\xae\x08\xdf\x74\xb3\x43\xa8\x81\x1e\x93\x0f\xbf\x5c\xbd\x7b\x0d\x53\x59\x11\x1c\x4c\x82\xea\x99\x26\xee\x56\xde\x70\x76\x5b\xb1\x47\xf8\x0c\x4c\xef\xbd\x0f\xf5\xed\xa0\xb3\x19\x8b\x5f\xd4\x91\x4c\x48\x33\x26\x7f\x63\xac\x20\xef\xbe\x14\x1c\x6d\x86\xae\xc4\x11\xd1\x39\xcd\x32\xc2\x67\x64\x29\x4b\x72\x4b\xf1\xc6\xe7\x85\x65\xe1\x37\xd2\x81\xba\xfd\x38\x59\x73\xae\x8e\x8b\xbd\xfa\x6d\x67\x6b\x09\xa9\x93\x24\x2d\xab\x1a\x80\xb0\xd3\x28\x98\xc2\x53\x9a\x08\xf0\x70\xbd\x94\x93\xc5\x4c\xa9\x44\xb8\xf9\x78\xc3\x49\xca\x67\x28\x65\x57\xb3\x85\x4f\x68\x49\xa8\x27\x72\x95\x6b\x07\xea\x0e\xd9\xcf\x3d\xab\xb6\xf7\xcc\xf9\x8a\x38\xfa\xa2\xc1\x75\xdb\x54\x34\x77\xb4\xa1\xf6\xe4\x67\x15\xed\xdc\xd9\x68\xd3\x87\xcf\xf6\x64\x13\xb5\x5c\x2e\xc5\xb4\xd5\xc3\x77\x62\x09\x15\x88\xaf\x78\xce\x20\xca\xe2\x3e\x33\x84\xde\xad\x7e\x3e\xf4\x51\xe5\xa8\x11\x56\x2b\xac\xd0\xd0\x22\x1a\x50\x6c\x4b\xea\xd7\x98\x3e\xec\xb3\xce\x1e\xa3\x4e\xa1\xc7\x70\x51\xfa\x6b\xc9\xc8\x94\x51\x05\x05\x9a\x61\xea\xfd\xa6\x9f\xc0\x92\x5a\xaf\x6f\x05\xfc\xbd\x63\x97\xa5\x60\xdd\x68\x05\x74\x8e\x1a\xc3\xf2\x02\xe3\x28\xeb\xac\xd0\xe1\x15\xd4\x68\x82\x64\x20\xcb\x32\xd5\x98\x7c\x90\x86\xbd\xae\xd1\xca\xa0\x2e\x38\xd6\x9a\xd0\x64\x51\x59\x6d\x6f\xd9\x74\x21\xe5\xb5\x9b\x2e\xfa\x86\x54\xa4\xc8\xca\x39\xc4\x15\xc3\x48\x2b\x0f\x9e\x5a\x64\x6a\xb8\x4b\x06\x85\x76\x50\x68\x07\x85\x16\xc7\x3c\x7a\x85\xd6\x52\x8c\x7e\x39\xd7\x0b\x99\x81\xf3\x0a\x99\x3c\xc4\x89\x84\xa4\x4d\x77\xa0\x64\xca\x2c\x12\x31\x8b\x58\xf6\x24\xef\x47\x49\x86\x2d\x6c\x93\x7d\x3d\x83\x32\x4a\x96\xcc\xf9\x06\x83\x80\xcb\x18\xdc\x1a\xec\xf0\xb7\x0b\x06\x52\x64\xbc\x3f\x5f\x04\x28\xa2\xcc\xe9\xc6\x44\xeb\xc7\xaa\x99\x03\xcb\x3a\xac\x62\x1e\x30\xaf\x17\x67\xf4\x99\x42\x94\x44\x63\x6a\x7a\x29\xa9\x7f\xe9\xa0\x4a\x79\x2d\x20\xb2\x0a\x3d\xb4\x4a\xb4\x5e\xad\x08\xea\xf1\xab\x8a\xf3\x0f\xd1\x7d\x4e\x84\xf7\x6f\x6b\x42\xf5\x98\xf8\xef\x9c\xd2\x5b\xd0\xfe\x57\x39\xb5\x76\x7a\x10\x53\x7c\xb6\x5c\xd1\xd2\x20\x31\x04\xac\x05\x69\xbd\xb2\xab\x4b\x2d\xae\xeb\xd1\x71\xa4\x22\x24\x76\x08\x19\x3d\xb5\x0b\xf0\xd6\x8f\x51\xed\x4d\x9f\x47\x83\x2e\x28\xc7\x5b\xc3\x43\xf7\x99\xbf\x05\xcc\x25\x2d\x92\x04\xb9\x1f\x95\xfb\x41\x05\xd1\x7d\x08\x8f\x7d\x35\x93\x6a\xec\xaa\x62\xf2\x20\xf7\x04\x42\x83\x3d\x4a\xc4\x77\x24\x59\x48\xcd\x02\xfd\xad\x4b\xa1\xe8\xeb\x83\xcc\xb3\xbc\xa0\x06\xe2\x83\xe1\xc2\x4c\xa5\xbb\x35\x35\x89\x59\xa4\xc1\xe0\x54\x37\x66\xa1\xbb\x7b\xd5\xbc\x05\x82\x9f\xae\xf2\xbd\x1b\x33\x02\xa5\x89\x2e\x80\x4b\x9d\x83\x6f\x3c\xd3\x91\xe5\x08\x62\x7d\xbd\xb5\xad\xb9\xac\xf3\x8b\xf7\x2e\x29\x85\x99\x2a\xbf\x71\x5c\xcd\x8b\xda\xb4\x13\x5a\x23\x83\x06\x16\x99\xa8\x76\xde\x02\x3e\x0c\x9e\x76\x1a\x98\x8f\x26\xc1\xca\xa7\xcd\xf9\x8d\x74\x0d\xe5\x2b\x22\x11\xaf\xd2\x11\x26\x5e\x6d\x8b\x00\xcd\x01\x3a\x40\x1b\x5a\x85\xfd\x20\x14\x04\x86\x30\x98\xe6\x17\xdd\x07\x31\xfd\x22\x3c\x8b\xf8\xa4\xfd\xca\xe4\xc4\xa8\x92\x4d\x4e\x46\x31\xf1\xd3\xce\x5c\xe4\xad\x7d\x1d\x74\xa4\xb2\x11\xdd\x3b\x21\xa9\xed\xa7\xf3\x12\xd4\xf6\x1e\xb9\xf7\x57\x88\x35\xd5\x5a\x26\x50\xad\xda\x9b\x6c\x22\x05\xaf\x9d\xee\x4c\xa5\xcc\x18\x15\x6b\x6c\x52\x4a\xad\xa6\x6a\x35\xd5\x7e\x3b\x66\xfd\xb2\x12\x8b\x96\xe2\x19\x88\xe5\x60\x0e\x62\xe9\x0e\xae\x60\xcd\xb6\xce\x18\x6b\x21\x84\x9f\x34\x53\xef\xc5\x4c\x6e\x94\xee\xec\x20\x4f\xf4\xfc\x0b\x2b\x80\x85\x7c\x18\x6f\xca\x5f\x31\x5d\xec\x8f\x74\x87\x15\xaf\xa7\xd8\x61\x8d\x28\x56\x23\x5d\x6a\x13\xad\x2d\x10\xc1\x34\x87\xf6\x71\x9e\x17\x19\xa4\x2b\x87\x87\x63\x98\x06\x88\xda\x8c\x26\x7d\x6a\xf1\xb1\x2f\x46\xad\x68\x2c\x55\x58\xd0\x45\xfb\x6b\x64\xfd\x1d\xdb\x78\xcb\x1a\xf7\x6c\xfd\x4d\x6b\x5e\xc8\xe6\x85\xaa\xc7\x2e\xc5\xd0\x0a\x67\xda\xc6\x4f\xd6\xdc\xa0\xf8\x50\x9b\x88\x0b\x82\x73\xaf\xe6\x27\x90\xc5\x26\x67\x04\xdf\x40\x41\xaa\x74\xa8\x48\xa1\x12\x21\x91\xb3\x7b\xa7\x53\xdd\x31\x18\xe7\x3e\x11\x0b\x6d\x00\x70\xfb\x23\x29\xb4\xda\x07\x4d\x94\xd4\xda\x95\xc0\x7e\x3f\xab\xef\xd0\xd5\xfa\x07\x1e\xe9\x2a\x06\xe1\x33\xaf\x57\xf9\xdc\x15\x00\x47\xea\x45\x48\x57\xe2\x0f\x82\x56\x2b\xe3\xf4\xa7\xf7\x6f\x9b\xde\x98\xbe\x44\xa6\x47\x74\x8b\x3f\x2d\xdc\x2a\x6e\x3e\x5b\xae\xd9\x73\x0e\x1e\x8b\x2c\x23\x34\x81\x3c\x75\xfb\x6b\xef\xb5\xed\x8d\x8c\x4c\x99\xa1\x83\x0d\x71\x2d\x06\x0f\x36\xc4\xc1\x86\x38\xd8\x10\x1f\xd2\x86\xb8\x42\xa0\x1e\xa9\x21\x71\x75\x1f\x83\x35\x11\xfe\x77\x4f\xd6\x44\x80\xff\x5d\x4c\x8a\xed\x88\x38\xd8\x15\x07\xbb\xe2\x60\x57\xec\x4b\xec\x06\xe3\xe2\x60\x5c\x1c\x8c\x8b\x83\x71\xf1\xeb\x32\x2e\x22\x35\x7c\x74\x16\xc6\xc6\xb2\x07\x33\x23\x19\xcc\x8c\x83\x99\x71\x30\x33\xf6\xa4\x25\x52\xf1\xff\x04\x67\xc5\x4f\x32\xa1\xd9\x65\x09\x6f\x9d\x27\x09\xd3\xba\xd3\xda\xb8\xee\x15\xa4\xe6\x95\xb2\x2b\x15\xa4\xcd\x53\xdc\xaf\x54\x88\xbf\xa0\xf7\xfa\x14\x63\x2a\x60\xf7\x90\x1a\x5e\xb5\x84\xb1\xf8\x5e\x40\xf7\xc3\xbf\xd0\x1b\xe8\x4e\x56\xfd\x46\x74\x22\x0b\x96\x56\x5a\x50\x0e\xd5\x95\xb8\x21\x79\x99\x2c\x08\xa3\x9a\x83\x70\x4d\xe6\x8a\x0a\xb3\xfa\x9e\x2b\x3a\x8a\xb8\xe8\x13\xa3\x0b\xa6\x72\xae\xb1\x9a\x0e\x6c\x82\x8b\xf9\x60\xad\x1c\xac\x95\x83\xb5\xb2\x09\xf6\xc7\x64\xad\xac\xd1\xb9\x16\x7a\x75\x30\x7b\xe5\x98\xa0\x46\x56\x11\x9f\x1c\x13\x91\x08\xfb\xb5\xa4\x99\xbf\x97\xd5\xe3\xa5\x2c\x5d\x51\xbf\x68\x52\xa7\xb3\x8c\x89\xe5\x88\xbe\xf6\x88\x41\x8e\x08\xd6\x91\xba\xb9\x70\x3f\x96\xd1\x4e\x98\xdd\x8f\x6d\xd4\xde\x5a\x57\x53\x10\xb9\xc8\xe3\xb0\x8b\x56\xd0\xdb\x64\x16\x5d\xcb\x72\xf7\x16\x71\x59\x3b\xc5\x0f\x52\x7c\x74\xc4\xed\xdc\x20\xc1\x60\x9b\x0c\x3e\xad\xe3\x2b\x5e\xe9\x45\xdf\xf0\x0d\x42\xab\x51\xf5\xe6\xee\x42\x8a\xd3\x40\x57\x23\x1a\x08\x73\x9c\xbb\x39\xc0\x78\xe2\xd4\x8a\x3e\x8d\x04\xcd\xa2\x83\xec\x5f\x50\xb3\x08\x9a\xda\xc7\x9f\x88\x7d\xa5\x91\x40\xb5\x3d\xdd\xbb\x61\x6a\xda\xf1\xdd\xbf\x33\x35\x0d\xd5\xec\x0d\x15\x29\x55\x29\xf9\xcb\xd5\xd5\x05\x81\x97\xef\x59\xae\x8b\x4e\xf1\x63\x99\x6d\xaa\xc6\xd1\x18\xd9\x42\xf0\x1a\x75\x65\x29\x51\x65\x5c\xf9\x37\x3a\xe5\xee\x03\x14\xd5\xd7\x3e\x7d\xfc\xa9\x4b\xfd\xf9\x50\x1f\xed\xb8\xb9\xeb\x7e\x48\x15\x54\xe1\x2f\x55\x16\x7a\x0a\x82\xa4\xe9\x04\x23\xac\x8a\x05\xf7\x0b\xf8\x2e\xf9\xa6\x56\xac\xd4\xa5\x0a\x8a\x6c\xe9\xb3\x13\x67\x65\x96\x8d\xc8\x0c\x1a\x4d\x6a\xc3\x0a\x6f\xff\xb2\x08\x34\x26\x64\x72\xf2\xcd\xe4\x84\xe4\x8c\x0a\x20\x4e\xf7\xae\x6f\x59\x2c\xea\x82\x97\xc7\xc1\xca\x8d\x50\x91\xb5\xfa\x75\x74\xe5\x4e\xa6\x7a\x44\x32\x7e\xcd\x5e\x93\x39\x33\x23\x52\x48\x6d\xff\xbf\x34\x23\xa7\x76\x8d\x08\x94\x06\x1c\x91\x05\xa3\xe9\x88\xc8\x02\xc5\x88\x07\x82\x46\x4f\xd2\x8f\x90\xea\xa2\xfd\xbd\xaf\xd2\x56\xd4\x73\x4f\xa4\x73\xcf\x64\xd3\x73\xa9\x4d\xb8\xf3\x67\xd0\xce\x1c\x01\xb3\xe8\x81\x3f\x38\xca\xe9\xf7\xd5\x79\xf4\xfb\xac\x47\xd3\x52\xd9\x3c\x00\x06\x65\xae\x2a\x6f\x16\xab\xb1\x4c\x4e\xe6\xcc\x4c\x4e\xac\xd4\xe0\xed\x06\xfe\x01\xfe\x3d\x39\x19\x93\xc9\xc9\xe4\x84\x3c\x07\x91\xea\xc5\x9d\xf7\x01\x12\x5c\x8f\xcd\xa0\xa4\x17\xed\x08\x7f\xf0\x8e\x33\xd4\x82\x1b\x9b\x1a\x13\xf2\xc6\xb7\x03\x00\xa3\x86\x82\x19\x84\x24\x29\xd7\x86\x0b\xff\x12\x26\xb8\x0b\x19\xcd\x0b\xd6\x92\x2c\xab\x7e\xd1\xf5\x6d\xc7\x62\x24\x80\x68\x9d\x54\xb2\xfa\x1e\xda\xe8\xed\x3b\xae\xf6\xfa\x69\x43\x27\xd7\x6d\x10\x9e\x9c\xd0\x2c\x9b\x9c\xa0\x60\xb0\x4e\x9b\x77\xfa\x14\x25\x6d\xe6\x05\xa9\xc8\x25\xcb\x66\x9d\x92\x53\xbf\xb6\x1d\x8e\x61\x75\xd5\x8e\x75\xd8\x66\x75\xc2\xca\xcd\x09\xa9\xeb\x78\x52\x5e\x6b\xb4\x4a\xd5\x5e\xee\x86\x2e\xa7\x3d\x17\x77\x59\x8d\xdc\x62\x7d\x61\x79\x42\x8a\x5d\x1a\x9e\x6c\x21\x09\xd1\x98\xfb\xac\x70\x9e\x1a\xe3\xb1\xec\x6a\x44\x6e\x91\xd7\x60\xa5\xc1\x91\xd3\x8f\x23\x56\xa4\xe4\x97\xe5\x5e\x80\x7c\xd3\xcb\x6c\xe3\x6d\x36\x11\x4d\xfc\x7b\xbd\x42\xd8\xdd\xa9\xe2\xde\x04\xbe\x9e\xd2\x5e\x4d\xd4\x73\x1b\x0b\x15\x3f\x80\x9e\x38\x09\x16\x6f\x59\xac\x89\x45\xa5\x01\xc1\xb7\xeb\xae\x2c\x56\x23\xc0\x39\x54\xca\xb0\x43\x92\x16\xcf\x0c\xd1\x7c\x2e\xa0\xa7\x93\x30\x23\xb0\x9b\xb8\xc2\x2a\x24\x2d\xa1\xfe\xa2\x61\x1a\xcd\x50\x85\xd4\x9a\x4f\xb1\x78\x04\x17\x89\xcc\x0b\x7b\xe0\xfd\x2c\x70\x7f\xee\x63\x46\x3f\xbf\x78\x8f\xe3\xda\x58\x8a\x7f\x88\x42\x64\x28\xfe\x12\x73\x1b\x8d\x5a\x78\x28\x60\x62\x51\xc1\x59\xe3\xad\x48\x19\xb5\xc2\x81\x1a\x8b\x49\xec\xfd\x66\x95\xfb\x31\xbe\xa2\xa2\xcc\xa1\x2a\x68\x4c\xfc\xb8\x80\xf7\xc3\xec\xa1\xe4\x86\x3b\x82\x23\x90\x42\xfd\x62\x81\xa5\xf5\xa4\x9e\x30\x16\x9d\xe6\x4e\x82\x84\x4e\x1d\xdc\x54\xa8\x17\x35\x04\x01\xb8\x5b\xec\xc4\xfe\x37\x4e\x78\x3f\x0f\xbe\x61\x66\xdc\xf6\x61\x34\xbb\x61\x6a\x69\x16\x88\x74\x47\x08\xa7\xbe\x30\x6a\x44\xff\x54\x38\x81\x06\xe1\x15\x78\x34\xf6\x17\x7c\xf5\x1e\x13\x49\xb8\x1a\xe3\x89\xb0\xa3\xcf\x66\x52\x4e\x4e\x9a\x85\xed\x23\x6e\x43\x9e\xcd\xa4\x7c\x86\xe2\x12\xb4\x29\x8a\xb0\x72\xdd\xd4\x8f\x4e\x07\xea\xd0\x7f\xf6\xc8\x86\x9e\x94\x0a\xb4\x4e\xee\xda\x50\xe5\xb6\xfd\x8d\x16\x1f\x91\x89\xfa\x2b\x80\xfe\xde\xea\x20\x1a\x13\xf2\x41\x1a\x30\x29\x62\x0b\x3e\x42\x57\x8c\xac\x4e\xce\xb4\xcf\x6a\x92\xaf\x95\xf9\x41\x74\x74\xf6\x03\x8b\xc8\x34\x23\x09\xd5\x6c\x44\xa6\x2c\xa1\xa5\x76\xee\x37\x6f\x3b\xa0\xd9\x2d\x5d\x6a\xa0\xbc\x56\x23\x0b\x55\x71\x22\x5b\xe5\xb2\x7d\x9d\x83\xd7\x68\xf0\x1a\x0d\x5e\xa3\x27\xe3\x35\x6a\xa7\x62\x87\xf4\x1c\x61\x70\x80\x48\xbd\x7c\x19\x5c\x47\x56\xfa\x19\xfc\x3d\x8f\xd0\xdf\xd3\xcb\x68\xb1\x37\x77\xcf\x26\x94\xdd\x9a\x5d\x6f\x8c\x8f\x77\xb6\xf5\x50\x94\x8e\xbc\xfb\x42\x13\x93\x2d\xbd\x9a\x13\x4c\xa1\xf1\x12\x23\xbb\xa8\x45\x8b\xd8\xd9\xb4\x66\x98\xbf\x00\x9a\x99\xad\xdc\x0b\xad\xe6\xda\x1d\x6f\x46\xbb\x0f\x6d\xd3\xad\x68\xf7\xa2\x55\x4e\x94\x98\x2c\xa0\x85\xb2\x66\x9e\xaf\xc3\x76\xb3\x8a\xb1\xcf\x8d\x6e\xb9\xcb\xae\xb3\xdb\xb4\xdf\xee\xbd\xee\xcd\x36\x12\x61\xf7\xc7\x32\x63\x5b\x49\xaf\xd1\x0b\x95\xd2\xee\x94\x27\xb6\x62\x36\x59\x2b\xc8\xde\x72\xab\xa4\xc6\x91\x4c\xbe\x5d\xac\x0b\xb6\x6e\x1a\x61\x5c\xea\x65\x65\x0e\x21\x29\x2b\x98\x48\xa1\xdf\xb3\x88\xc8\x2b\x04\x8e\xc7\x4e\x85\x5c\xa6\x4e\x50\xa3\x62\x49\x20\x62\x57\x13\xf6\xa5\x60\x0a\xe2\x9e\x43\x1b\x6b\x90\x3f\x90\xf3\x80\x80\xbd\x66\xd3\x4e\x62\xf4\x55\x5a\xa7\x4b\xf2\xe9\x3d\x48\x89\x7a\x21\x6f\xcf\x16\x3c\xf5\xd6\x6b\xec\x74\x6d\x24\xf9\xb5\xe4\xc9\x75\xb6\x24\x19\x33\x10\xd3\x2d\x52\x84\x87\x62\x54\xc7\x5c\x90\xab\x38\xf2\x0a\x7a\x55\xb8\x8f\x7d\xf8\xe5\x8a\xfc\xa9\xfa\x20\xfb\xe2\x84\x50\xbd\xd4\x56\xad\xb2\x1f\x49\x15\xbf\x69\xba\x53\x52\x96\xb8\x9e\x68\xd4\x2b\xce\x94\x6b\xa6\xad\xb8\x3b\x83\xc9\x52\x56\x94\x66\x39\xc2\x8c\x56\x92\xf1\x19\x33\x3c\x67\x67\x55\xa1\x4f\x04\x1c\x34\x1e\x4a\x8c\xb0\x78\x09\x8d\x5e\x95\x5d\x5f\x0b\x81\xc4\xe1\x60\x3b\xaf\xa9\x39\xbe\x6e\xaf\x9b\x08\x7b\x16\x4a\x2b\xc7\x43\x65\xd2\xf6\x45\x7b\x17\x4f\x4b\x14\xfa\xa0\x4d\x0c\xda\xc4\xa0\x4d\xe0\x98\xa7\xa0\x4d\x44\x04\xf6\x70\xca\xc4\xbd\x68\x0b\xf1\x4e\xf6\xaf\x2c\xb4\xb0\x59\xba\xc2\x5c\x1f\x49\xd6\xec\xd6\xda\x42\x2c\xab\x1c\x5c\x59\x68\x62\x64\x24\x1c\xad\x15\xb6\xb7\x76\x7f\x1b\x19\xd0\x13\x6c\xda\xd0\xbc\x74\x4c\x3e\xba\x33\xba\x77\xa7\xd9\x96\x36\xcd\xfd\xc6\xbc\x0f\xdc\x7d\xe0\xee\x03\x77\x6f\x82\xfd\xf1\x72\xf7\x7b\xb4\x13\x0e\x76\xc0\xc7\xc8\xd9\xef\xcf\x06\xb8\xbd\xfd\xef\x09\xd8\xfe\x1e\x67\xc6\xe9\x3b\xbb\xea\xb6\x4e\xc7\x21\xed\x76\xfc\x67\x66\x60\xd4\xf3\x17\x24\x67\x66\x21\xd3\x8a\x27\xd4\x93\x50\x09\xb9\xe4\xd0\xc5\x05\xb2\xdb\x2c\x4d\x29\xca\xa8\x88\x46\x15\x39\xea\xdb\x7d\x40\xeb\x97\xcc\xd5\x2b\x58\x30\xb5\x2e\x20\xec\xce\x79\xac\xf5\xe8\x1b\xe7\xda\x58\xca\xf2\x99\x62\xc4\xca\x0e\x96\xba\xcd\x56\xd2\x68\x0f\x1f\x50\x30\xd8\x8b\x9f\x90\xbd\x38\xda\x6b\xbf\x3e\x94\x1b\x79\xae\x45\xc9\x0d\x65\x12\xb6\xad\x4e\xb0\xa1\x9e\x00\xe8\x0a\x2d\x97\x81\xbc\xc7\x96\x44\x18\x79\xb3\x24\x13\x78\x6b\x72\x02\x99\x0b\x56\xc2\x9b\xb8\x7b\xe5\xaa\x5e\x40\xa4\x22\x77\x72\x78\xa1\x30\x6b\x5a\x93\xc9\xc9\x3f\x80\x1e\xcc\xa0\x70\x01\xb9\x65\x8a\x39\x25\x25\x67\xbe\xc3\x33\x15\x4b\x77\x2b\x8f\x40\x05\xeb\xac\x49\xd3\x2d\xa0\xac\xd7\xa8\x50\xbc\xe8\x52\xa7\x9c\x10\xc2\x11\xcd\x40\x37\x25\x57\xaa\x64\x16\x8a\x51\xbc\xf6\xad\x37\x8d\x87\xa4\x92\x19\xcd\x34\xab\xfa\xa3\xed\x52\x63\x23\x65\x82\x77\xae\xf0\x2d\x0c\x82\xb8\x5f\x17\x51\xb7\x79\x81\x38\xe9\x28\xea\xdc\x06\x2b\x05\x1c\x83\xe2\x37\xb4\xda\x32\xee\xc1\xb2\xe8\x34\x7c\x05\x7e\x73\x58\xd6\xe0\x26\x0b\x0a\x21\xe9\xb2\xe0\x02\x24\x04\x51\x89\x76\xb2\x1a\x17\xad\x6a\x4c\xdc\xea\x5d\x63\x2e\xbb\x3e\xe3\xd6\x1e\x41\xde\xfe\xb4\x53\x8d\x92\xe0\xd3\x78\xd7\xa7\x5a\x49\x7d\xb4\x0b\x53\x74\x62\x6a\xc8\x7e\xd2\x32\x67\xe8\x4a\x21\x32\x01\x27\x4f\xcd\x8d\x52\xb7\xe8\x83\x4d\x00\x5b\x6f\x6b\x62\xb9\xb3\x62\xd9\xd2\x07\xb9\x32\x6c\x09\x8f\x9e\x11\x98\xd0\x02\x3a\x8e\x34\x92\x56\x71\x2c\xed\x91\x19\xa6\x72\x2e\x9a\xd3\x6b\x27\x68\x0b\xa2\x0b\x6e\x40\xdc\xe2\x66\x4c\x7e\x84\xa2\x2b\xda\x50\x91\xb0\x11\xf9\xf8\xa7\xf3\x37\xbe\xc4\x1c\x78\x58\x20\x8d\x5e\xc9\x8c\x61\xe2\x13\x13\xb2\x9c\x2f\xe0\x07\x17\xc3\x6a\x78\x96\xf9\x62\x62\xb8\x26\xd7\xe7\x6d\xc5\x6f\xb3\x5a\xd7\xa9\x37\x65\xc4\xa9\x3a\x63\x22\xe1\x7b\x35\xdc\xc6\x46\xe6\x95\xee\xb0\x04\x8e\x80\x5a\x03\x14\xba\xa9\xd4\x06\x44\xda\x3d\xf7\x8e\xf2\x74\xa3\x4b\xb3\xd8\x96\xee\xad\x9a\x4f\x3b\xc9\xde\xca\x2b\x2b\x31\xcb\xa1\x1b\x19\xda\xd8\x1c\x3e\x5e\x2d\xb8\xfb\xb7\x47\x8c\xcd\xce\x45\xd7\x05\xd2\xdf\x73\x1d\xab\x72\x1c\x7d\x6a\x7c\x5e\xaa\x50\x5a\xa8\xd3\xe1\x18\x3b\x1b\xff\xe4\xc2\xee\xea\xa8\x8d\xeb\x85\x2c\x3d\x90\xdb\x6f\xd8\xc8\x12\x05\x1a\x02\x60\x19\x55\x18\x26\x8d\xfe\x52\x6e\x9e\x69\xa2\xe9\x0c\x1b\x17\x6a\x5d\xe6\xac\x16\xbd\xbe\xa0\x2e\x4c\xb8\xf2\x33\x8e\x08\xbb\xb1\x9c\x72\x86\x0f\x70\x1a\xbd\x5d\xd8\xf9\xdd\x28\x8c\x05\x3e\x6e\xc5\xee\x24\x91\xf9\x94\x0b\xdc\x3e\xc0\x11\x8e\x77\x5c\xc7\xf7\x40\x2b\x9a\xc4\x07\xe0\x52\x2d\x67\x44\x74\x99\x2c\x2c\xd3\xa7\x22\x26\xd1\x98\xc1\x29\x19\x86\xe5\x97\x45\x21\x95\x59\x7d\x17\xeb\x91\x51\x43\xe2\x24\x01\xd0\xd5\xce\xa4\x22\x8d\x3c\xd1\x16\x0f\xf5\x0e\xf4\xa0\x7a\xb9\x03\x88\xef\x2b\x54\x75\xac\x01\x9b\xf4\xfb\x68\xf1\xa8\x6c\x19\x18\x1d\x2c\x82\x42\x71\x15\x55\x5b\x21\x5e\x02\xae\x49\x2e\xb5\x81\xee\xff\x90\x01\xca\x04\xb4\xed\x66\x80\xcc\x76\xda\x1a\xf8\x6a\x50\x0d\xbe\xe8\xf8\x79\x1b\x68\x75\x8c\xef\x3b\xb0\x31\xd1\x80\x77\xff\x54\x59\x3c\x9e\xbb\x24\x77\xc4\xba\xc5\x7d\x24\x78\x90\x0d\xda\xde\x9d\xb4\x2f\xc8\x86\xb9\x8b\x82\xa8\xb6\x38\x82\xfd\xc1\xff\xf1\xc2\xfe\x6e\x80\xef\xc9\x8c\xeb\x87\xb2\xe9\xce\xb4\x93\x9a\x7d\x31\x71\x2c\xc4\x36\x94\x50\x1a\x4a\x28\x0d\x0e\xae\xc1\xc1\xf5\xc4\x1d\x5c\x48\xec\x86\x3a\x4a\x7b\x04\xdc\xe0\x54\x7b\x88\x62\x4a\xbb\x14\x9c\x5f\x3d\xcf\xa1\xac\xd2\x57\x58\x56\x69\xe5\xe8\x87\xda\x4a\x43\x6d\xa5\xa1\xb6\xd2\x1d\xef\xd3\x50\x60\x69\x28\xb0\x34\x14\x58\x1a\x0a\x2c\x0d\x05\x96\xb6\x94\x89\x86\x02\x4b\xdd\x8b\xda\xaf\xe8\x37\x54\x59\xda\x6c\xa3\x1b\xaa\x2c\x0d\x55\x96\x1e\x00\x4e\x43\x95\xa5\xa3\xd2\x86\x86\x2a\x4b\xbb\x73\x98\xa1\xd4\xd2\x50\x6a\x69\xf0\x2e\x0d\xde\xa5\xaf\xd3\xbb\xf4\x35\xd5\x5b\x1a\xfc\x42\x47\x55\x74\x69\x3f\x6e\xa1\xa1\xfc\xd2\xfe\xb3\x4c\x36\x39\xdc\x9e\x5e\x4e\xcd\x5a\x9b\xf8\xc3\x25\xd6\xec\xd7\x86\x32\x54\x63\x1a\xaa\x31\x0d\xd5\x98\x06\x85\x63\x50\x38\x06\x85\xe3\x88\x14\x8e\xc7\x5f\x92\xa9\xa6\x50\x0c\x75\x99\x1e\xb8\x2e\xd3\xde\xf5\x89\xaf\xb1\x42\xd3\x5a\x1d\x79\x28\xd3\x34\xb0\x7d\x32\xb0\xfd\x81\xed\x1f\x7d\x14\xfb\x60\x43\x7c\xb4\x2c\xff\x21\xec\x87\x43\xe9\x26\xff\xe3\x50\xba\xe9\x5e\x4a\x37\x0d\x95\x9b\x06\x53\xf3\xf1\x98\x9a\xa3\x0d\x7f\x55\x35\x9c\x1e\x71\x09\xa7\x2e\x19\x64\xa8\xe3\xb4\x61\x85\x43\x1d\xa7\xa1\x8e\xd3\x50\xc7\xe9\xf1\xd6\x71\xea\xb0\xb9\x0e\xc5\x9c\x86\x62\x4e\x43\x31\xa7\xa1\x98\xd3\x50\xcc\x09\x7f\xbe\xbb\x42\x36\x54\x74\x7a\x88\x03\x78\xea\x65\x9d\xa4\x4e\x68\xc6\xc5\x7c\x7c\xf3\x6a\xfc\x46\x49\xad\x9d\x9b\x06\x6d\xd2\x1f\xd9\x8c\x29\xcb\xfd\x36\xf0\xf3\x0d\x6f\x55\x2c\xdd\x49\x6b\xb5\x02\x00\x12\x22\x73\xac\x8e\xc8\x53\x2b\x64\xce\x96\x8e\xf3\xcf\x18\x30\x07\x0f\x95\x3d\xfb\xa1\xbc\xd3\xa9\xca\xfb\x85\xd5\xee\x50\xc4\xa1\xaf\x07\xa6\xf1\xa1\x1f\xee\xd1\xbf\x31\x39\x39\x5c\x0e\x75\xd7\xb6\x5e\x9f\x9d\x55\x26\x6b\xbb\xb1\x54\x26\xfa\xac\xd4\x4c\x9d\xce\x4b\x9e\xb2\x33\x77\xec\x9c\x29\xfd\x1b\x70\xd8\xee\x57\xe2\x85\xe3\x69\xee\x6b\x4f\x57\xe5\x2f\x96\x52\x58\xe4\xce\x2e\x64\x7a\xee\x9e\xd5\xec\x26\x4d\x90\x79\x41\xb3\x72\x68\x92\x45\x98\x84\x14\x32\x25\x34\x4c\x33\x78\x5e\x07\xcf\xeb\xe0\x79\x6d\x82\xfd\xb0\x9e\xd7\x0e\x87\x21\x96\xdf\x71\x67\xe3\x57\x72\x70\x78\x85\x2d\xb7\x02\x64\x57\xbf\x70\x0f\x42\xd6\xe9\x14\x9e\xb2\x05\xbd\xe1\xb2\x54\x4e\xbd\xf6\x94\xeb\xd0\x10\xb1\x7b\x3e\xa5\x22\x3d\x45\x23\xd2\xde\xe3\xca\xfa\xc0\xa6\xdb\xc3\xec\xe3\xaf\xdb\x6d\xf4\x31\xa1\xef\x6f\x95\xde\xaf\x27\xd8\xef\xb3\xdd\x01\xbc\x8e\xbd\xad\x77\x02\x6f\xe7\xff\xed\x01\xe5\x9f\xb8\x36\x1b\xd8\xa9\xd7\x45\xd6\xf2\x50\x77\x57\xf5\xc0\x4b\x8f\x9a\x97\xb6\x69\x6b\x7b\x38\xeb\xb5\x73\xef\x8f\x0c\xdc\x49\x17\x1f\x44\x88\xa7\x22\x42\x58\x3a\xd5\x5f\x80\x00\x54\x0e\xe2\xc3\xf6\x3a\x0d\xa2\x74\x97\x12\x73\x04\xac\x02\xc8\xf7\x3d\xb2\x8b\x8e\x58\x21\x57\x5d\x22\xd9\x93\xf6\x95\xd3\x2f\x1f\x19\xd8\xa6\xba\x68\x57\x59\x14\x4c\x91\x8c\xe7\xdc\x54\xc5\x0d\x4b\xef\xba\x2e\x64\xea\x4c\xfb\xce\x97\xa1\x99\xf1\xa1\x68\xd5\x82\x7e\xb0\x4f\xdd\xa5\xd3\x39\xcd\x32\xb4\x85\x0b\xf2\x33\x17\x7e\x19\x0d\xd2\x87\x62\x87\x5d\x00\x17\xe6\xbb\x6f\xdb\x6f\x8a\xe5\x24\xf3\x98\x90\xd5\xae\x4a\x35\x77\xc7\x16\xa3\x91\xc1\x52\x28\x6f\x37\xec\x5a\xf9\xd1\x46\x92\xdb\x05\x4f\x16\x8d\xfd\x02\x30\xe0\x9f\x24\x95\xb7\x02\x7d\x67\xae\xa6\x18\xbc\xf4\xca\x02\x6e\x4c\x48\xe3\xcb\x91\x01\x72\xca\xc8\xcb\xe0\x49\xce\x8a\x05\x25\x33\x46\x2d\x49\x21\x73\x6a\x18\xf9\xcb\xc5\xf9\xa5\x9d\xff\x4a\xfe\xdf\x4c\x49\xf4\x72\xd2\x69\xc6\x52\xf4\xff\x18\x92\x31\xea\x0a\xea\xa0\x8a\x40\xa4\x22\xef\xbc\xcd\x3c\x67\x46\xf1\xa4\xee\x3d\x1a\x13\x72\x89\x48\x0a\x2b\x49\x0c\xa4\x85\x69\x92\x49\x31\x07\x9b\x7b\x3c\xa7\x9b\x00\x09\x3a\x8f\x2a\xf4\xed\xfd\x14\x01\x8a\x57\x54\xcd\x99\xf9\x08\x24\xee\x4e\x02\xf1\x26\x03\xe1\x26\xf2\xa7\x82\x41\xd0\x48\x3c\xd8\xca\xba\xf7\xc3\x06\xb6\x0e\xf5\x89\x32\x46\x95\xa8\x65\x35\x06\x66\x97\x48\xa1\xcb\x1c\x83\xfc\xec\xc1\xc1\x78\x7b\x85\xec\xe8\x94\x69\x4b\x3f\x9b\xb7\x6d\xba\x24\x25\x38\x93\x2d\x67\x03\x24\x88\xab\xd4\xac\xd1\x27\x0c\x40\xf0\xcd\xc5\xa7\x4f\x86\x67\xce\x44\x7c\xc1\x54\x62\x45\xbb\x79\x97\xb1\x0c\x5f\x26\xf4\x86\x29\x3a\x67\xe4\xcd\xc5\x27\x52\x56\xd3\x90\xe7\x81\x4d\x63\xc8\x0b\x25\x45\x98\x19\x6f\x8b\xaf\xf3\xf4\xe6\xe2\xd3\x0b\x22\x21\x3e\x35\xcb\xb0\x8a\xa8\x4c\xf5\x0f\x16\xcf\x2d\x75\xa8\x2a\xe8\xe0\xf6\xe1\xbe\x90\xe8\x08\x7d\x01\x7b\x5f\xf6\xa9\xd4\x2b\x5e\xe6\x1d\x31\xae\x27\xf7\x6a\x60\xe3\xa8\x9d\xa0\x1e\xd6\x44\xd7\xe9\x9f\xf6\x58\xe6\xa2\x14\x36\xf3\x8a\x6e\x56\xe1\xa6\xdb\x11\x77\xfc\x62\xd6\x21\x4f\xc0\x06\x8b\x09\x23\xb2\x0d\x2a\x8d\x08\x1b\xcf\xc7\xe4\x0f\x2f\xe3\x7a\x57\x54\x84\x4f\xd9\x8d\x72\xed\x2e\x8b\x90\xb7\xe4\x0f\x2f\x7f\x8b\xa1\x1a\xba\x3e\xd1\xde\x89\x96\xdb\x74\x4f\xf6\xe3\x41\xd4\xc2\x5f\xfc\x9d\xcf\xa9\xa0\xf3\xc8\xa7\xda\xc6\xeb\xf7\xb4\x76\x47\x75\x7a\xae\x7d\x95\x46\x3d\xe4\xda\x33\xaa\x0d\xb2\x45\xbe\xea\x01\xb8\x83\x88\x0c\xd3\x6d\xe2\x0f\xf6\xc3\xc4\x70\x17\xf6\xb0\xe6\xe2\x7a\xc6\xb1\x2a\x41\xfd\x10\x32\xb4\x1b\x72\x84\x0b\x46\x52\x32\x23\x0b\x79\x4b\xe4\xcc\x38\x5f\x7b\x83\x27\x40\x44\x09\x15\xf3\xb5\x79\x8a\x72\x0a\x11\x23\xe9\x9f\x99\x60\x68\xc1\xef\x92\x89\xa4\x06\x55\xde\x22\xe6\x3c\xbc\x44\xfc\x3c\x5b\x9e\xe6\xef\x7f\xb7\x67\x42\xdc\xbc\x61\x1b\x10\x78\x4f\xd4\x18\xf0\x6a\x53\x54\x10\x70\xe2\xa8\x7c\x1c\x25\x9e\x6b\xf9\x28\xa9\x7a\x24\xed\x60\xd7\x39\x6a\xbb\xce\x60\xe0\x78\x2a\x06\x8e\x3b\xfa\x48\x0e\xee\xed\x6e\xb3\xa6\xec\xd9\x49\x02\xc4\xa9\xd3\x25\x12\x93\x0e\xe7\x1e\x51\xde\x49\x0e\x34\xfe\x49\x39\x47\x10\x26\xfd\x5d\x21\x95\x38\xfd\x70\xf0\x20\x1f\x19\x4d\x4f\xa5\xc8\x96\xc7\xea\x78\x41\x36\x79\x08\xbb\x59\x85\xc3\x1d\x4c\x18\x72\xe8\xaa\x5c\x16\x10\xa9\xaa\x24\x17\x50\x87\xf4\xaa\xda\xdc\xc9\x8c\xd5\xae\x12\xb1\x0f\x09\xd7\xc1\x92\xe4\x04\x41\xc7\x70\x0f\xa3\xc0\xde\x41\xca\xe9\x8e\x80\xae\x46\x35\x0b\xe6\xb6\x29\x9f\x07\x84\x36\x4d\x4c\x49\xb3\x08\xd8\x41\x40\xad\xa0\x1e\xdf\xd8\xfd\x02\x3d\xa6\x49\x2c\x63\x89\xe9\x0c\x42\xce\xe8\x94\x65\xe4\xd7\x92\xa9\x25\xaa\xbe\x95\x01\xd5\x89\x5b\x39\x35\xce\x9e\x18\x34\x29\x08\x8a\xad\x62\x66\x35\xcd\x99\xef\xce\x82\xf3\xf9\x8f\x43\x5e\x81\x2f\x47\x8c\x22\x09\xee\x0c\xe2\xb2\x6f\x24\xb7\x60\x31\x4a\x5a\xb2\x02\x82\xdf\x74\xe9\x24\x09\x17\xdc\xe8\x5e\xf2\xf6\x15\x3f\x95\xfd\xa0\x9b\xc8\x7d\x17\x76\x70\x5a\x50\x45\x73\xa2\x97\xc2\xd0\x2f\x11\x2d\x74\x9e\xe2\xfa\xda\x74\xcf\x98\x2a\x78\x4b\xff\x06\xfe\x73\x1a\x5e\xde\x6f\x60\x95\xda\xab\x6e\xf0\x2d\x06\x5a\xbe\xc1\x50\x41\xa6\x7c\xc0\xe3\xcf\x60\x24\xbd\x6c\xf6\x2b\x58\x09\x3f\xdc\xf4\x5e\x14\x7c\x6e\x15\x40\x6f\x7d\x24\x52\xc4\x39\x79\xce\x1c\x7b\x2d\xe4\x2d\x84\x25\xfe\x2d\x40\x78\x64\x0f\xac\xb2\xab\x71\x51\x89\x8a\x56\x3c\x07\x03\xb7\x1e\x79\x6a\x09\xd9\x01\x34\x59\xa0\xe9\xa4\x6e\xb3\xc4\xef\x3a\x53\xe0\x73\xb0\xbc\xbc\xb9\xf8\x44\xa4\x22\x39\xcb\xa5\x5a\xbe\x18\x13\x40\x21\x94\xec\xab\xca\xec\x68\x8c\x49\x89\x91\x73\x4c\x49\x9a\xb2\x99\x45\x14\xcc\xb5\x4f\x64\x5e\x50\x85\x26\x6f\xfb\x35\x9c\x7f\x4c\xc8\x65\x99\x2c\xdc\xbe\x30\x13\x61\x5a\xf2\x0c\x91\xbb\xb1\x3f\xe1\x9a\x1a\xf9\x8a\xc5\x5e\xeb\x72\x5d\x79\x20\x91\x42\xba\x66\x2d\x52\xb3\xa8\x9b\x8c\x91\x44\x58\xac\xce\x48\xc1\xd4\xa9\xdd\xb3\xff\x20\xda\x8c\xec\x82\x26\x27\xf6\x86\x4e\x4e\x48\xe8\x66\xf0\x8b\x70\x19\xd7\x13\x67\x18\x9d\x9c\x40\x0f\x89\xa8\xc0\x9b\x66\xa6\x07\x89\x4b\xfc\xc1\x77\xd9\x87\xfc\xb8\xb6\xe2\xfc\xd1\x43\x11\x2c\xaa\x31\xc9\x83\x8d\xc0\x3a\x0f\x12\x48\x29\xba\x9a\xd1\x70\x41\x30\xa1\x73\x6d\xf8\xfd\xa6\x15\xe0\xca\xcf\x11\x89\x22\xfb\x63\x2f\x8b\xf5\xea\x6b\x7e\xa5\x0e\x8d\x51\x5f\xf3\xd9\xf5\xce\x6c\xd8\xdc\x80\xbb\x5c\x34\x51\x52\x6b\x57\xfa\x3d\x63\x37\x54\x98\x7e\x36\xcb\x28\x5d\xcb\x2b\xbe\x2b\xdf\xf0\x82\x81\x9d\x70\xef\xac\xa9\x06\x8c\xbf\xdb\xef\xdf\x59\xb9\x1a\x07\x4e\xfe\xbf\x4a\x2a\x0c\x37\xcb\x8d\x22\xf4\xea\x0a\x0e\x72\x10\x00\x7c\x45\x6f\xdd\x74\xcf\xad\x08\xc0\x28\x84\x2f\x6f\x3e\x97\x17\x23\xa2\x79\xce\x33\xaa\x3c\x1d\x0a\xd7\xde\x7d\x34\xea\x15\xb3\x83\xd3\x1b\xee\xd1\xa8\xed\xe6\xdf\x07\x03\xea\x92\xe6\x36\xbe\xd7\xa8\x1c\xe6\xb9\x41\x38\xb0\x03\x71\x21\x4a\x2c\x05\xce\x1a\xf4\xed\x2e\xbc\xe9\x58\x19\xca\x53\xe0\x13\xee\x1c\xb6\x26\xd3\x6b\xdf\xf3\x3b\x58\x41\xb7\xa3\x22\xd4\xe0\xd6\x07\x41\x07\xb2\xd7\xa6\x2c\x24\xef\xf2\x19\xf9\xbc\x4a\xf4\x3e\x43\x9e\xac\x66\x41\x46\xaf\x0a\x90\x58\xe8\x7b\x52\x13\x47\x7a\x1c\xca\x35\xf5\x90\xdc\xa0\x65\x09\x87\x39\xef\x7b\xe2\x07\x01\x0b\xaa\x86\x18\x9a\x19\x8b\x6e\x73\xaa\xd2\x8c\x69\x5d\x5d\xc2\xee\xf3\x3e\x26\x41\x6c\x57\xf6\xd6\x82\x63\x87\xe7\x7e\x43\xee\x57\xf7\x81\x0e\xb9\x5f\x43\xee\x97\xbb\x2f\x3e\x18\xac\xa7\x95\xa2\x6d\xf8\x46\xe3\x84\xa3\x6e\x50\xeb\x46\x6b\x99\x70\xe8\xe5\xe6\x4a\x14\x2c\x23\x89\xcb\xfb\x5b\x9e\x5b\xde\xca\xbe\xd0\xbc\xc8\x18\xc9\x98\x98\x63\x97\xea\x5f\x4b\x56\x02\xf1\x4a\x32\x59\x5a\x81\x4a\x6b\x3a\xb7\xe4\x53\x33\x75\xc3\x13\x06\xc5\xd2\xff\xd7\xc5\x25\x3a\xca\x32\x49\xd3\x29\xcd\xa8\x48\x98\x22\xaa\x14\x02\x04\xb7\xd2\x68\x9e\xc2\x99\xbb\xb6\x9c\x2f\xc6\xb5\xda\x69\x77\xd5\xe4\x71\xaf\x1f\xba\x51\xaf\x1a\xd8\x46\xaa\x7d\x58\xde\x9d\x34\x66\x9c\xe4\x72\x8d\x39\xf2\x2e\x71\xc2\x74\xca\xb2\x30\xef\x26\x06\x5f\x5f\x02\xc6\xe0\xa0\x89\x27\xd0\x4a\x1a\xd8\x1e\x86\x4d\x68\xa6\x38\x58\x8d\x5c\x75\xff\x39\xbf\x61\xc2\x01\x64\x63\x48\xdb\x51\xab\xb5\x5e\x0b\x08\xe2\xcc\x3c\x93\xd3\x2a\xfe\xf2\x39\x48\x21\xbf\xba\x4f\xbd\x18\x93\x9f\x4b\x53\xd2\x2c\x5b\x12\xf6\xc5\x22\x2a\xbf\x61\x78\x61\x30\xe2\x0c\xbe\xb0\x11\x18\x0f\x08\x85\x4e\xad\x7e\xb7\x3d\xc7\xc0\xdd\x41\xf1\x8e\x2e\xe6\x01\x69\x67\x97\x82\xdd\x36\xbc\x5b\xaf\xae\xe3\x4a\x6f\x3a\xda\x47\xa1\x7c\x5c\x3a\x80\x97\xf3\xbd\x25\x19\x43\x06\x7d\xdc\x51\xea\x8c\x66\x9b\xb4\x9d\x87\xdc\x62\xb7\x7e\xd3\x7e\x33\x36\x51\xf7\x3b\x71\x9a\xc0\x9a\x81\x28\x43\x4c\x52\x14\x61\xcb\x45\xd0\x4b\xa0\x47\xc8\xc0\x81\x1a\x1c\x68\x7b\xca\xb3\x0e\x1f\xf7\x49\x91\xb6\x4f\xe7\x5f\x17\xa4\xe8\x31\xb5\x96\xed\x8f\x91\x6b\x6b\x83\x88\x47\x2e\x0b\xc2\xfe\x62\x15\xa4\x04\x08\x3a\x06\x7e\xea\xd8\x97\x89\xae\x4c\x5f\xf3\xb0\x52\x4d\xad\xcc\x97\x47\x11\x53\x2b\x1e\x63\x32\xa5\xf6\x00\x5d\x51\x2c\x6f\x55\x0b\x26\xc5\x21\x96\x6e\x88\xa5\x1b\x62\xe9\x5a\x08\xf1\x03\xc5\xd2\xf9\x2f\x7b\x6a\xa2\x9f\x6a\xfd\x81\xcd\xe4\xb7\x33\xe2\x4e\xbb\x72\xdf\xa6\xea\x1f\x9d\x54\x14\x37\x8a\xc3\x2b\x43\x20\xde\x93\x2c\x55\xd0\x01\xc6\xee\x20\x3d\x1d\x2a\xe2\xc7\x62\xd6\x57\x53\xbd\xe0\xdb\x1d\x4a\xd8\xf7\x85\xfe\x1b\x29\xb0\x9a\xfb\xf6\xc2\x44\x78\xb5\x11\x8e\x67\x4f\xcb\xc9\xa2\xeb\xc4\x10\x6a\x08\x25\x09\x53\x50\x46\x0d\x68\x75\x0f\x1e\x9f\x51\x6d\xae\x14\x15\x1a\x3e\xfa\x10\x49\x20\xf5\xaf\x87\x6c\xd2\x5a\x7a\x48\x12\xa0\x62\xc2\x68\xe6\xca\xcb\x4b\xc1\x7c\xe8\x9c\x91\x84\x0a\x28\x16\xbc\x8e\xba\x6b\xdd\x9d\x7f\xe5\x46\x21\x6b\x5d\x94\x39\x15\xa7\x8a\xd1\x14\xdc\x95\xec\x4b\x91\x51\x57\xf3\xd2\x19\xbb\x2d\x9b\x4d\x99\xa1\x3c\xd3\xd1\x8d\xa9\xd6\x79\xa0\x7a\xb3\x2a\xd4\x9b\x45\x61\x11\xfe\xf2\x24\x30\xc0\xeb\x99\x76\x90\x0c\xcb\xd9\x41\x3b\x69\x27\x57\x1b\xc9\x49\x3d\xf2\xb7\x3a\xbe\xe7\x57\xca\xca\x66\x3f\x62\x61\xe6\x4f\x02\x3c\xdf\x2f\x76\x08\x72\xc1\x31\x1b\x03\x5a\x96\x05\x6b\x5c\x22\x4f\xe4\xc2\x7a\xf6\x6b\x80\x86\xf7\x57\xe1\x76\x0f\x4a\x4b\x47\xe1\x94\x0d\x8a\x0b\x25\x43\x55\x95\xa7\xa1\x31\xf4\xa9\xaa\x02\x63\x9a\xa5\x3d\x1f\xa4\xc4\x4a\x87\x12\x1e\x4d\x3d\xd4\x59\xf9\x6a\x55\xa7\x5e\x75\x56\xd6\x2a\x4e\x43\xdd\x95\x83\x0b\xba\x1d\xb9\x25\x1b\xde\x6a\x70\x66\x9f\x02\x32\x2b\x05\x84\xd9\xd3\x8c\x9b\xa5\x17\x1f\xd6\x4c\xb3\xd7\x9a\x2d\xd1\xc8\xd0\xe5\x64\x63\x19\x97\x2d\x0a\x9a\x94\x05\x04\xbc\x54\x05\x5d\x20\xc0\x05\x32\x18\xf2\x43\x56\x73\x41\x93\x5f\x2f\xab\x77\xa3\x12\x7f\x4d\xb1\xc6\x24\x1c\xb7\x47\x49\x4a\x8d\x1d\x1f\x68\x96\x94\x96\x91\xd6\xce\xaf\x6e\xb4\x7c\x0e\x96\x47\xfa\x85\xe7\x65\xde\x78\x14\x85\x20\xf9\x15\xc4\x25\x2a\x7c\x68\x7c\xfb\xbc\x58\x22\x1d\x3f\x9f\x92\xbc\xcc\x0c\x2f\xb2\xa5\x27\xda\x60\x80\x25\x53\x66\x6e\x99\x4b\xfd\xae\x39\xd7\xb0\x56\x7c\xd3\xb1\xe0\x12\xc9\x57\x0b\x0b\xb8\xb0\xb5\x77\x6a\x2e\x47\x51\x6c\x22\x7c\x57\x1b\x92\xb2\xc4\xca\xde\x21\xbb\xc4\x72\xd0\xb0\x48\x2e\xf0\x61\x8a\xb2\xc5\x0d\x4f\x18\xd0\x04\x3a\x26\xe4\x92\x21\xe4\xb8\x48\xf9\x0d\x4f\xcb\xca\x6f\x15\x05\x4a\x21\xe8\x73\x4f\xf5\xeb\x8a\xf9\x42\xde\x62\x78\x27\x48\xba\x95\xd7\x07\xd6\xe5\x82\xa6\x0e\xc8\xba\x9d\x6b\x2e\x6a\x68\x47\x76\xe1\xd6\x43\xcd\xa1\xa1\xe6\xd0\xd6\xd1\x69\x1b\xed\x5a\xb5\xa5\xa0\x21\x44\xd7\x93\x65\x22\x91\xce\x05\xe0\xe0\x05\x8d\x9c\x5e\x21\xde\xb7\xa2\x7d\xc1\x85\x12\x42\x5d\x12\x99\x65\x2c\x31\x70\xbf\x35\xb9\x65\x59\x46\x10\xdb\x30\xc7\x2e\x5b\xba\x12\x13\xab\xfe\x9c\x5d\xba\x45\xdf\x5f\x21\x9d\x5e\xb6\xc5\xed\xd9\x3e\xda\x04\xda\x55\xf2\x5e\x95\x77\xfa\x45\x7e\xa3\x6a\xdf\x59\x42\x26\x0c\x0c\x82\x23\xf6\x8d\x89\x1e\xf8\x83\x70\xb4\xa5\x56\xbb\xa3\x8a\xdd\xb2\x62\x3c\xe2\xd5\x68\x4d\x13\x51\xd7\x81\x19\x63\xdf\xa3\xf9\xa9\x82\x3b\x7a\xff\xfa\x55\x65\xa0\xbc\x0b\xe9\x76\x67\xf7\x73\x2f\x39\xa3\x3e\xb8\x66\xe6\x53\x8c\xa6\x95\x81\x33\xf6\x56\x56\x35\x5e\x36\xd5\x4d\x39\x00\x57\xab\x59\x6e\xee\x02\x9c\xed\x0a\x1a\xc5\x5c\xe6\x4e\x35\x8e\x80\x20\x01\x70\xb5\x15\x82\x56\xca\xe4\x1c\x47\x0d\xa4\x26\x3b\xbf\x53\x69\xa4\x6a\xcb\x91\x6c\x78\xf8\x8d\x3f\x68\x01\xa5\xf0\xe1\x76\xb3\xf9\xd6\x55\x95\x46\xc7\x57\x55\x69\xf5\x05\xbf\xd7\xa7\x53\x6f\x69\xd4\xca\xbf\xf6\xc9\xca\x23\x61\x7d\x3d\xdf\xae\x06\x85\x30\x91\x46\x98\x72\x08\x29\x09\xc9\x66\x3e\x12\x0b\xd2\x79\x3e\xdb\x15\x7e\x06\x26\x08\xfd\x95\x81\xf9\x41\x76\x3e\xe4\xd5\x73\x96\xa5\xf5\x40\x61\x2b\xae\x4a\x91\xb0\x17\xdb\xe4\x74\xf9\x9c\xbb\xfd\x48\x99\x1b\x53\xd0\x37\x06\xab\x85\xf4\xb0\x20\x4d\x42\x68\x3c\x0a\x80\x2b\x39\x37\xcf\x7d\x27\x2e\x94\x02\xba\x52\xfb\x5e\xb4\x25\x05\x6e\x91\xee\xe7\x3d\x2f\xfd\xd3\xfd\x8e\x35\xdb\x2f\x14\x71\xa0\xa2\xa1\x62\xd9\x85\xb8\x1a\xba\x5e\xad\x72\x94\xeb\x2f\x17\xe7\xe1\x60\xbd\xc4\xe1\xdf\x9a\x65\x74\xbe\x86\x38\xf9\x0e\x69\x7b\xc1\xac\xd6\x6c\x81\x4d\x08\x15\xfa\xb3\xc5\x68\x54\x0f\x69\xf5\x0d\xb3\xfb\x87\xb6\x5a\x95\x16\xf4\x55\x5d\x8b\x59\x0c\x17\x39\x36\x2b\x24\x32\x87\x7b\xaa\x64\x0e\x55\x06\xa4\x80\x1a\x25\xeb\x73\x02\xee\x39\x01\x61\x1d\x47\x01\x6a\xb8\x8f\x23\x0b\xa1\x3a\xfd\x0e\x2c\xb8\x02\xaa\xe3\x72\xe7\xd4\x76\x4f\xaf\x37\xa6\x6f\x8c\xc8\x82\x1b\x7d\x6a\xaf\x85\x66\x96\x09\x00\x95\x15\xe4\xbd\x98\x2b\x48\x87\x83\x57\xd6\xc1\xc0\xde\x98\xbd\x40\xe0\x42\xa6\xba\xf7\xfe\x81\xe3\x6f\xde\x7d\xbf\xf4\xe3\x1a\x1c\xc0\x55\xed\xda\xcd\x9d\x16\x4a\x26\x4c\x6b\x96\x46\x90\xd9\x67\xd9\x0c\x9c\x64\x0d\x54\xd5\x3e\x19\xcd\xd6\xfc\xe5\x41\xb8\xca\x1d\xd2\xc5\x8f\x95\x7f\xdc\x2d\x80\xc0\xa7\x67\xd4\x4d\xac\xa1\xb2\xc9\x7b\x13\x09\x34\x20\xf3\xcc\xc8\x64\xb5\x3c\xc0\xe4\x64\x44\x26\x21\xa9\x01\xff\x42\x62\x83\xff\xbe\xc0\x15\x4b\x45\x26\x27\xf1\x3b\x70\x1c\x39\x2d\x0a\xd8\x1c\x5c\xb1\xba\x34\xe5\x8e\xc9\x13\xfb\x0f\xd2\xb0\xd7\xed\x0b\x20\x7e\x3b\x15\x34\xb1\xe9\x35\xce\xe0\xb8\xe3\xa9\x37\x5b\xae\xb0\xcf\xca\x76\x79\x80\xa0\x89\x03\x88\xba\x5d\x46\xaa\x5a\x66\x49\xdd\x26\x65\x95\xa8\xd3\xba\x51\xa2\x21\xef\x1e\x9d\xb8\xda\xa3\x26\xdf\x51\x8b\xab\x4f\x9d\xdc\x1c\x52\xb2\xec\x3e\xfb\x41\xb2\x3c\x2a\xc9\xb2\xfb\xc0\x9e\xb6\x64\xd9\xbd\xff\x41\xb2\xdc\x5d\xb2\xec\x86\xee\x20\x59\x3e\x0e\xc9\xd2\xe3\xdf\x81\xe4\xca\xaa\xb4\x8a\x1e\x64\xcb\x7e\xb2\x65\x8b\x81\x60\xbd\x84\xb9\x3a\xb8\x4f\xf5\x87\x1a\x81\xdf\x13\x65\xef\x8e\xdb\x7d\xc0\xbc\x66\xba\x5b\x8d\xbb\x8e\x52\x46\xf7\x96\x1b\xbc\xb7\x2a\x14\xeb\xca\xe1\xde\x4b\xf6\xaf\x8e\xf2\x7e\x4d\xa8\x6a\x7b\xca\x44\x22\x53\xf4\x7f\xe7\x4e\x0d\xf2\xd1\x95\x11\x6a\x36\x2a\xea\xfa\x40\x9c\x38\x1d\x98\xfc\xc3\x12\x03\xa8\xf1\xc4\x41\xce\x2c\xa8\xe5\xbd\x10\xb1\x22\x08\x4d\xd1\xe7\x61\xa9\x2f\x55\x34\x67\x86\x85\x32\x52\x21\xea\x02\x82\x6c\xab\x78\xa8\x90\x8a\x1c\x06\x24\x12\xd4\x64\xf8\x52\x29\xe0\x5b\xff\x2e\xb5\x89\x66\x81\xf3\x8b\xc3\xcc\xec\x47\xe6\x14\xdd\x14\x38\xcd\xc6\x62\x11\x0f\x1a\xd7\xe2\xee\x44\xe5\x2a\x05\x8d\x35\x6d\x2b\x67\xb0\x61\x0b\x8f\xb0\xde\xc5\x0e\x74\xbf\x59\x94\x6f\x4d\x6e\x79\x0c\x92\x83\xb1\x89\x2e\x43\xc4\xea\xe0\xee\x42\x17\x03\xaf\xd8\xae\x00\xde\x5e\x98\xc5\x23\xae\x8c\xb1\x86\x24\x0c\xec\xef\xbe\xd9\x9f\x17\xaa\x57\x65\xc3\x83\x33\xc6\xf1\xc0\x19\x0f\xc8\x4a\x0e\x56\xa6\x64\xc5\x23\xb7\x9e\x93\x34\x87\x6e\xa9\x6e\x1c\xc8\xa2\xb2\x6f\x83\x4a\x77\xd2\xc7\xa1\xa8\xda\x40\xd4\x9e\xa0\x4c\x7f\xd4\xd5\xf0\x0e\x23\xd3\xf4\x24\x7d\x9b\x64\xe6\x1a\xd4\x0e\x44\xee\xba\x04\xe7\xe6\xd0\x5d\xc4\xe6\xc3\xd0\xbc\x27\x57\x4f\xee\xd1\xd9\x5f\x06\x52\xbd\x59\xfe\x6c\x8a\x0a\x8f\x4a\xfa\xbc\x13\xfd\x6a\xbb\x79\xfb\x24\x60\x5b\xb6\x32\x1a\x3a\x18\x7d\x5d\x1d\x8c\x86\xfe\x40\x43\x7f\xa0\x07\x17\x1d\x8f\xae\x1f\xc4\x8e\x0d\x14\x0e\x48\xb7\xbb\x84\xcf\x23\x6a\xfc\xf3\x95\xb6\xf8\x19\x1a\xe8\x0c\x0d\x74\x86\x06\x3a\x43\x03\x9d\xf5\x38\xb6\x3f\xf6\xf0\xed\xd0\xaa\x74\x10\xf4\x87\x56\xa5\x87\x51\x45\xf6\xe0\x3b\xfa\xd6\x45\xfd\x5f\xb5\x80\xa2\xdd\x59\x54\x25\xb8\xae\xc8\xcc\x6d\x06\x94\xbb\x13\xa8\x55\x47\xd2\x21\x9a\x7a\xad\x27\x54\x43\x4b\xcb\x47\x2e\xef\xf6\xa4\x27\x6f\x1e\xba\xa5\xe5\x1e\xaf\x33\xb0\xf1\x3e\xb9\x2d\x55\x5d\xd7\xaa\x86\x59\x1d\x49\x3b\x2e\xf5\x76\x64\x71\x9d\x1d\xfa\xe1\xe4\x9e\x7b\xa0\x2b\x43\xb3\xc0\xad\x6e\xc3\xd0\x2c\x70\xe3\xb6\x9e\x78\xb3\xc0\x6f\xbf\xf6\x66\x81\x7d\xc3\x34\xf6\xc8\x2d\xde\x07\x8c\xe9\xd1\xe8\x88\x04\xfc\xaa\x49\x80\xee\xe1\x74\x89\x74\xdd\x4a\x01\xc1\x31\xf8\xd5\x89\xb0\xee\xbd\xd5\xdd\x1e\xf0\x9e\x3c\xd2\xc6\x70\x8f\x5d\xe8\x79\xc4\x97\x71\x67\x64\xf6\x47\xb7\x4f\x6c\x76\x05\x3f\xb9\x98\x5f\xc8\x8c\x27\xcb\x4d\x55\x12\x1b\x43\x5d\x3d\x72\x54\x78\x0a\xfc\xc9\x15\x9e\x2c\xb5\x21\x0b\x99\xa5\xc4\x28\x77\xaa\x34\x52\xa4\x0a\xea\x6b\xd9\xdf\xd0\xac\x07\xca\x16\x4c\x71\x99\x5e\x42\xac\x4a\x57\xa1\xb6\x8b\x78\x6c\x83\xe2\xdc\x72\x91\x42\x2d\x30\x2c\x38\x16\x15\x09\x5e\x84\x0d\x38\xab\x49\x58\xfc\x98\xd4\x67\x84\xad\x4d\x19\x99\x2b\x46\x21\xba\x60\x41\x05\xf9\x0f\x53\x12\x55\x42\x57\x27\x59\x58\x1e\xc4\x7e\x2d\x69\x06\x55\x59\xff\xeb\xe5\x4b\xf2\xfc\xbb\x97\x24\xe7\xe2\xc5\xfe\x5d\x7b\xdd\xe9\x7b\x57\x2e\xdb\xcd\x47\x2a\x20\x58\x96\x35\x25\x0a\xf7\xbf\x83\x4d\xe4\xa6\xcd\x3c\xde\x58\x00\xda\xaf\x6b\x17\x9f\xe6\xbe\x4d\x9c\x2b\x39\x8a\x47\xc1\xb5\x55\x42\x73\x6e\xa2\x62\x78\x6e\x69\xe4\xbd\x59\x0f\xfe\xbd\x40\xb5\xe7\xcd\x6c\xb6\xcd\xb8\x69\x76\x3f\xaf\x23\xec\x61\xae\xeb\xc7\x32\x63\x1b\x6b\x9a\xd6\x47\x56\x15\x79\x75\xed\xd8\x5d\xef\x29\x0c\x88\x91\x82\x91\x94\x2b\x06\xb1\x62\x10\x08\xab\x19\xc1\xd7\xa9\x62\x84\x16\x45\x66\xef\x2f\x9d\x19\xa8\x45\x8c\x45\x0b\xed\x2c\x6f\x1b\xe5\x11\x41\xf4\xf2\x46\x04\x4f\xd4\xff\x72\x71\x0e\x73\x2e\xa1\x06\x16\xd6\x40\x8e\x97\x72\xc3\x32\x99\x70\xb3\xb4\xc7\xee\x30\x14\xc4\xba\x18\x41\x39\xd3\xd1\x1c\x85\x62\x56\x53\x20\xb3\xcc\x55\x1c\xa9\xbf\x89\x81\x49\x74\x5a\x79\xcc\x90\x02\x8c\x88\x96\x58\x3f\xc0\xb4\x97\x5f\x76\x65\x05\xd0\x09\xa5\x0d\x15\x26\x5b\x8e\x88\xf3\x8c\x8c\x70\x5e\x3a\x63\x3a\xb0\x2d\xdf\x38\xa1\xed\x6b\x58\x62\x50\x6a\x26\xfa\x90\x3a\xb7\xc9\x8e\xfb\xe4\x87\xd5\x1b\xa2\x14\xd2\x58\xae\x14\xd9\x7e\x60\x1c\xd4\x75\xb5\x77\xcb\x95\x1e\x03\x2a\x90\x96\x2a\x02\xee\x98\x9c\xc7\x65\x98\x1d\x2d\xf4\x97\x2d\x50\xee\x11\x56\xc8\xbb\xe5\x9a\xf9\x13\xad\xe1\x98\xb7\xb2\xa7\x5c\x27\x54\xa5\xe8\x41\xe4\xe2\x86\x66\x3c\x3d\x54\x05\xd4\x16\x16\x16\xcd\xb9\x75\x15\x54\xe4\xd7\x2b\xbc\xb0\xed\x10\xe2\xa1\x6d\xd4\x15\x81\x5e\xe7\x2b\x0e\xfc\x63\xf2\x7e\xe6\x51\x6c\xe4\x92\x00\xa0\x8a\xb7\x43\xa8\x9f\xe9\x17\x9c\x17\x83\xf1\xfc\xec\xbb\xb5\x42\xaa\x30\xf2\x1f\x80\x90\xfd\x18\xe9\xe5\xda\x17\x83\x21\x29\x5c\x1c\xed\x1e\x54\x1c\xb5\xc0\x32\xb9\x56\xf9\x67\x22\x75\x55\xf9\xe3\x3a\xd4\xc2\x2a\x60\xca\x0a\xb3\x0b\x9e\x55\x34\xa0\x2c\x2c\xe7\xf4\x7f\x61\x91\xf3\x0d\x2b\x69\x65\x07\x31\xeb\xed\xe0\xcc\xdf\xfd\xde\x72\x66\x8b\xf2\x0b\x59\xaa\x17\xf5\x63\x29\x35\x5b\x3d\x1a\xfd\x9a\x9c\x92\x1f\xdd\x1a\x19\x29\x8b\xd7\xe4\x25\x79\xce\xc7\x6c\x4c\x84\x6c\xdc\x7f\xae\x49\x2a\x05\x7b\x31\xae\xbd\x62\x37\xf5\x9a\x7c\xf7\xd2\xbf\xb6\x89\x6e\xd8\x51\x1e\xb8\x99\x14\xf3\x3d\x49\x0f\x2b\x7c\xee\x2e\x1c\x69\xe8\x4a\xdb\x41\xd3\x87\x1e\x53\x43\x57\xda\xa1\xb5\x12\xe9\xc3\xdf\x87\xae\xb4\x5b\x0b\x3f\x43\x57\xda\x43\x82\x71\xe8\x4a\xdb\xa7\x2b\xed\xb7\x77\x6a\xd6\xb5\x16\xfa\x7f\x72\xba\xe9\xf6\xb2\x84\x7f\xb3\x53\xeb\x75\xa8\xed\x13\x72\x05\x99\x4a\xb3\x20\x9f\x0a\x60\x7b\x6f\xe5\xad\xa8\xf4\x61\x4d\x9e\xc3\xe4\xee\x21\xfc\x1b\x46\x40\xf1\x21\x0d\x0d\x8c\x18\xb4\xb7\xc9\x96\x7d\xdc\x09\x61\x82\xfd\x20\x70\xc3\x30\xb0\x11\x65\xc3\xd2\xb9\x6e\xd8\x7f\xe0\xf6\xfb\x9f\xde\x82\xf8\xbd\x59\x53\xe1\x58\x8a\x29\xcb\x62\x7f\x4f\xea\x42\x29\xe2\x36\x44\x18\x6d\x88\xa6\xeb\x48\xae\x6d\x17\x7d\x41\x32\xc6\xcf\x2d\xf8\x7c\xc1\x56\x94\x89\x40\xa5\xa0\x7f\xc0\x77\x2f\x5f\x6a\x24\x67\xd8\x8a\x6b\x43\xcb\x9f\x4f\xc5\xc3\x80\xfb\x53\xd1\x01\xec\x4f\x45\x1f\x50\x7b\x80\x58\xcc\x7d\x3d\x11\x84\x7c\x13\x7a\x76\x59\xfd\x03\x32\x9a\x40\xcb\xf9\x1d\x46\x4a\x14\x4c\x91\xdf\x07\x1d\x02\x5f\x48\x65\x09\x51\x1f\xab\xcd\x10\x9a\xa3\x3f\xb4\x68\x34\xa8\x87\xde\xab\x2e\x31\x74\xa7\x1e\xba\x53\x0f\xdd\xa9\x87\xee\xd4\xfb\xee\x4e\xbd\x96\xe0\xec\xd6\x9d\xda\xbe\x35\x74\xa8\x7e\x4a\xd6\x83\x47\xd8\xa1\x7a\xbd\x41\xee\x2e\x56\xf1\xc1\x8c\xf2\x54\xcc\x28\x43\x87\xea\x1a\x46\xdf\xa1\x43\xf5\x81\x94\xde\x63\xef\x50\x3d\x5d\x55\xca\x7b\xe1\xe4\x4e\x8a\xff\x26\x24\x9d\x3e\xb8\x8e\xbf\x56\x5f\x6b\xfa\x45\x67\x91\xbf\xa8\x9a\x18\xd5\x64\xaa\xd8\x8a\x4e\x15\x93\x80\xa1\x21\xf8\xd0\x10\xfc\xab\x6e\x08\xbe\xf6\x96\xb9\xc1\x1e\xe8\x9a\x19\x7b\xaa\xff\xf5\xf2\xb7\x21\x19\xf6\xcd\xc5\x27\x52\x56\x09\xd3\x07\x14\xba\x86\xde\xe2\x43\x6f\xf1\x30\x48\xef\xbb\xb7\xf8\xe6\x64\x96\x4e\xdb\xe3\xd0\x5b\xfc\x70\xa6\x82\xa1\xb7\xf8\x63\xe9\x2d\xde\xc3\xbc\x7c\x17\xd2\xfd\xf4\x7a\x8b\x7f\x3b\xf4\x16\x1f\x7a\x8b\x6f\xb7\xf1\xa1\xb7\xf8\xd0\x5b\xfc\xd8\x7b\x8b\xb7\x24\xfc\x74\x35\x5d\xac\x86\xd6\x4c\xeb\x21\xc9\x07\x53\xec\x41\xc6\xa9\x55\xb5\xf4\x49\x8f\x07\xad\xb2\x57\xcb\x95\xda\xde\x19\xf5\x55\x54\x11\x7d\x8a\xd5\x42\xf7\x9e\x00\x3c\xb4\xdc\xdf\xa9\x94\xd2\xc6\x94\xc7\xa3\xee\x61\x3a\xb4\xdc\x7f\xd8\x96\xfb\x6b\x72\xee\x37\x21\xd4\xd0\x18\xf5\x61\x1b\xa3\x7e\xfb\xd5\xb7\xdc\xff\x76\x68\xb9\x7f\xa0\xc6\xa8\xdf\x0e\x2d\xf7\x9f\x6a\x63\xd4\xa1\xe5\xfe\x31\xb5\x45\xfd\xf6\x29\xb7\xdc\xef\x2a\xa8\xf7\x78\xc5\xd5\xa7\x4e\x6e\x0e\x29\x59\x0e\x2d\xf7\x1f\x99\x64\xf9\x15\xb6\xdc\xff\x76\x68\xb9\x7f\x5f\x92\xe5\xd0\x72\xff\xa9\x48\x96\x43\xcb\xfd\xe3\x94\x2d\xaf\x9a\x65\xf6\xda\x65\x4b\x1c\x56\xf3\x2a\xc4\xa4\x61\x14\x42\x99\xdc\x9f\x52\x85\x5f\xa2\xc0\x26\x27\x7d\xd6\x6d\xd3\x3d\x52\x0b\xb6\x6d\x45\xb1\xfa\xc2\xa3\x68\xa6\x43\xde\x20\x1d\x81\x42\xe9\xd9\x92\x40\x3d\x1a\x18\xf2\xb1\xb1\xa6\x28\x70\x6d\xdf\xae\xd1\x63\xeb\x42\x7d\xd0\x86\x8d\x3b\x90\xba\x2a\xfa\x3f\x44\x8a\x44\x6b\xf0\xc4\x23\x42\xbd\x11\xf9\x7b\xb8\x13\xb5\x2e\x0a\x5b\xfb\xc0\x5a\x2b\x98\x1d\xfa\x4c\x6e\xee\xaf\xb9\xfc\x61\x28\x5c\x5c\xf6\xb1\x8b\xcc\x45\x63\xa1\xb4\xde\xba\xda\x8f\xfd\x1d\xa6\x5b\xd3\xae\x47\xde\x46\xe7\xa9\x93\xa3\x7b\xeb\xe0\xf9\xf0\x97\x7d\xc7\x36\xf8\x2b\xb7\xfd\x0e\x37\xb8\xc5\x89\xb1\xfe\x0a\xaf\x0e\xde\xb2\x4f\x37\xdd\x97\xf6\xd9\x49\x15\x42\x2b\xf5\x5f\xf6\xa7\x96\x6f\x0a\xbd\x6d\xc5\xb0\x47\x5c\x9a\x36\xe6\xdb\x4f\xb8\x4e\x74\x13\x4d\x56\xb7\xbd\x7a\x9c\xfb\x64\xa0\x2d\x96\x9e\x9e\xd7\x6f\xe7\xbe\xd1\xf7\x77\x07\x9f\x48\x81\xe9\x81\x94\x3c\x70\x95\xeb\x0d\x67\xb1\xcf\xbb\xb8\xe2\xcd\x5e\x7f\x13\x9b\x43\xb7\x64\x83\x07\xb2\x46\xee\xdb\x18\xd9\x79\xc1\x1f\x31\x52\x7e\x25\xfc\xed\x5e\xfa\x20\xac\x18\xeb\x7b\x5d\x9c\x9d\x19\xd8\x61\x6e\xcf\x57\xc3\xce\x1e\xf1\xa5\xbd\x33\x27\xd9\x27\xd6\x0f\xdd\xf2\x87\x26\x9a\x8f\xa0\x5b\xfe\xd3\xe4\x6b\x6b\x5a\x54\x1e\xf0\x7e\x0f\x5d\xd5\x8f\xbd\xcb\xe4\xd3\x60\xcf\x8f\xb3\x87\xe3\xae\x17\x6f\x4a\x4d\xb2\x18\xdf\xbc\xb2\x0a\xb1\xf8\xab\x9c\x6e\xee\xc7\x68\x47\xc4\xee\x21\xb3\x52\x24\x3e\x0e\xbe\x4b\x94\x14\xe4\xdf\x72\x3a\x94\x56\x3b\xea\xd2\x6a\x43\x45\xb1\xa7\x52\x51\xac\x67\x61\xf6\xcb\x7a\x21\xf6\x67\xfa\x51\x97\x62\x6f\x52\xb0\xce\x7a\xeb\x97\xb5\x1a\xeb\x8e\x74\xfb\x14\xef\xb8\x54\x15\x0d\x14\x6c\x44\xb8\x48\xb2\x32\xad\x5a\x53\x2c\x58\x5a\x66\x87\xc7\xb0\x46\xf5\xf5\xbd\x16\x5f\x5f\x01\x5c\x37\xa3\x7d\xd3\x52\x15\x23\x50\xf9\x87\x83\xc5\x0a\xef\x3c\x5c\x15\x3b\x00\x5a\x7b\xfd\x3a\xcf\x41\x6b\x0f\xe3\x5a\x75\xaf\xb6\x28\x53\xd7\x3c\x9c\x8e\x3a\xa8\xd1\x28\xa4\xd3\xae\x04\x8c\xc3\x70\x7f\x46\x43\x95\xd3\xe3\x66\xc5\x3b\x57\x39\x75\xe7\xbf\xaf\x62\xa6\x2b\x52\x61\xf4\xfe\x50\xb1\xf4\xab\x95\x2f\x7a\x55\x2c\xbd\x6c\xaf\x50\xfa\x00\x92\x45\x4f\x95\xea\xde\x2b\xa1\x76\xf3\x90\xcd\x35\x4f\xef\xc2\x47\x3a\x6a\x0a\x44\xa3\xa2\x2c\x2b\xb0\x8d\x2e\x98\xe5\x20\x84\x7d\x61\x49\x69\xb0\x41\x44\x96\x91\x4c\xca\x6b\x92\xf1\x6b\x34\x19\x43\x0c\x31\x77\xa1\xd0\xa1\xd8\x98\x2a\xfb\xf4\x5b\x4c\xa4\x40\x65\x36\x59\xf6\xea\xf9\x77\xd9\xac\x79\x60\x14\xa3\x60\x03\xf0\x9a\x7f\x58\xaa\x93\x54\xfe\x6a\x85\x94\xbf\x43\xc4\xa9\x33\xa3\x52\xc5\x5e\x93\x53\x32\x39\x39\xcf\x32\x79\x3b\x39\x21\xcf\x5d\x99\xbd\x17\xaf\x7d\xb2\x8c\xa7\xac\xf6\x0b\xaa\x14\xd1\xfc\xd9\xf2\x07\x78\xf7\x47\xa9\xa6\x3c\x9d\x9c\xbc\x26\x33\xf8\x97\x8e\xd7\xa0\x4a\xa1\x47\x44\x5f\x73\x4c\x0a\x14\xec\x0b\xfc\x46\xf8\x0c\x5a\x66\x72\x59\x42\x5e\x0d\x59\x50\x2d\x9e\x19\x62\x2f\xa4\x5e\xb0\x94\x2c\x99\xc1\xd9\x3f\xb2\x22\xa3\x09\xb3\xd3\x27\x54\x24\x2c\x0b\x15\x98\x10\xb2\x90\x24\x63\x0f\xc6\xc2\x5f\xe1\x60\x8d\x67\x00\xfd\x3d\x04\xbb\x25\x52\xec\x10\x8a\x39\xa3\x3c\x63\xa9\xdd\xfa\x5f\xb8\x36\x52\x2d\x7f\xe2\x39\x5f\xb1\xee\x34\xdb\xdb\xd6\x4a\xef\xe0\x14\xd5\xa6\xfe\xed\xe1\xc8\x0c\xe5\x62\x8c\x51\xa3\xa1\x73\xa0\x90\xe2\x54\xb0\x39\x85\xd2\x81\x2e\x62\x6e\x4c\xde\xc6\x75\x0f\xf7\x1e\x7b\xf7\x6f\x39\xbd\x62\x79\x61\x85\x89\xdd\xe5\xe7\xbf\x56\x93\xf4\x55\x3e\x9c\xac\x64\xcf\x0d\x52\xb9\xbc\x3d\x3f\x81\xee\x89\xee\x22\x39\xfc\x85\x90\x11\x87\x86\x6b\xfb\xa9\xa0\x3e\xd2\xe3\x74\xfc\x50\xc2\x05\x4c\x4a\x10\x88\x23\xa2\x19\x0b\x84\x99\x89\xf1\x2d\xbf\xe6\x05\x4b\x39\x1d\x4b\x35\x3f\xb3\x7f\x9d\xd9\xe1\xbb\x35\x59\x50\x76\x17\x6f\x19\x4d\x33\x2e\x58\xbf\xa6\x97\xbf\xb8\x42\x3e\x24\x75\xaf\xd9\x05\xc7\xdd\x2d\xfd\xb4\x01\x90\x7c\x66\xd1\x3e\xe7\x5a\x33\x1d\xb6\x99\x56\x0d\xa6\xb1\xdb\x20\xd5\x52\x8c\x09\xf9\x99\x43\xf9\x19\xc0\xc8\x88\x4e\x84\x73\x90\xa5\x8f\x17\x75\x48\x2c\x05\xdb\x18\xfa\xd9\xbf\x4e\x53\x0c\x9a\x32\x49\x98\xd6\xb3\x32\xbb\xd3\x3d\xab\xa6\xd9\xdf\x5d\xfb\x6e\xff\xb5\x38\x4b\x5d\xb0\x4e\x51\x10\xca\x87\xcc\x32\x3a\x27\x86\x65\x59\x30\x31\x1a\x65\x15\x1a\xac\x6e\x88\xf3\x58\x91\x4d\x5b\x69\xad\x46\xe9\xa1\xbc\x50\x2a\x99\x4b\x8d\x2c\x8a\x6c\x89\x5d\x91\x14\xa3\xe9\x12\x91\x86\xa5\xd1\x0b\x63\x52\xdb\xf6\x8c\x66\xba\x59\x86\xd4\xef\x6e\x2a\x65\xc6\xa8\xd8\xa5\x44\xa6\xbb\x9e\x6b\x28\xcf\xbe\x8c\xb7\x9d\x3e\x92\xda\xb8\x15\x43\x6e\xa4\xdc\xb3\x86\x6e\xdf\x43\x6d\x84\x92\xaf\x5d\x2a\x63\xd4\x20\x19\x34\x37\x80\x79\x2b\x3f\xdb\x97\x2a\x93\x48\xc5\x2a\xdb\x58\x4b\x90\xd7\x66\x8d\xa6\xf6\xa8\x26\xfa\xd9\x9d\x9c\x86\xc1\x46\xe6\xeb\x1c\x0a\x58\x10\x0f\x31\xe0\xbe\x8b\xf1\xbd\x8f\xb2\x7a\x81\xa7\xdc\xd2\xb6\x82\x7c\x96\x7c\xda\x27\x15\x21\xc9\x96\x15\x09\x5d\xc3\x74\x60\x5f\xe1\x85\x23\xde\x59\x6d\x57\x89\xcc\x8b\x8c\x99\xfd\x74\xce\x8a\x45\x80\x0d\xd7\x6e\x2b\xaf\xc9\xe0\x30\x39\x76\x2b\xcd\x60\xd0\x78\x2a\x06\x8d\xaf\xdb\x61\xb2\x67\x67\xc9\xc3\xfa\x00\xf6\xe8\x0f\xd9\xdd\x17\x32\xb8\x41\x80\xd9\xed\xd9\x74\xf5\x57\x39\xed\xd3\x77\x32\x1e\x16\x19\xaf\x5a\xc4\xda\x7e\x2c\xd6\x0a\x12\x17\x4a\x4e\xef\x5d\x68\xfb\x69\x4d\x87\x48\x2b\xe1\x24\x0b\x96\x5c\x6f\x14\xc9\x1e\xae\xe7\xe5\xba\x75\xbb\x16\x8d\x1b\x9a\x5a\xae\xeb\xb8\xd3\xab\xab\xe5\x5f\xca\x9c\x0a\x12\x1a\x59\x86\x26\x97\x18\xfa\xb5\xda\xc4\xf2\xee\x6d\x23\x7b\xb5\xb1\x7c\x3e\x55\x9c\xcd\x5e\x1c\x41\x03\xcb\xcb\xf6\x96\x95\x23\x5f\xa9\xa2\xad\x73\xe5\x2e\xe1\x8e\xdd\xe9\xe5\x57\xae\x7a\x86\x95\xca\xa3\x75\xbc\x71\x32\x39\x91\x8a\xfc\x08\xe6\x96\x3d\x47\x4d\xed\xb9\x7f\x65\x4c\x99\x3a\x1c\xb3\x1b\x9c\xb2\x83\x3f\xf6\xe8\x25\xfd\x9d\xfd\xb1\x87\xf0\xc5\x0e\x7e\xd8\x41\x6d\x19\xfc\xb0\xf7\x26\xc4\x1e\xc0\x07\xdb\xed\x7f\xdd\xcd\xf7\xda\xdb\x3c\xbb\x9d\x0b\xa6\xee\xab\x4a\xbd\xb1\x2a\xf2\xc3\x28\x96\xa1\x0b\xc1\x31\x01\x30\xaf\x5f\xa1\x04\x48\x4d\x58\xb7\x25\x00\x53\x34\xe3\x73\x51\xca\x52\x67\x4b\xdf\x22\xcc\xa5\xab\xc0\xcb\x4b\x6d\x58\x4e\x8c\x82\x2f\x4a\x62\x98\xca\xb9\xb0\x42\x3b\x37\x3f\x38\x4a\xe4\xfd\x17\x85\xb4\x22\x53\xec\xbb\x78\xef\x3c\xbc\xd0\xdb\x1f\x3d\x04\x2c\x25\xcf\xa9\x41\x9f\x1a\x70\x38\x4b\x80\x94\x2c\xe7\x0b\xcb\xe9\x90\x94\xbc\x18\x21\x51\xb2\x62\xab\x42\xb0\xb2\xd9\xcc\x37\x96\x84\x6c\x13\x23\x8b\xc2\x75\x46\xb3\xa4\xcd\x54\x95\xb2\xdc\xe7\x14\xd3\x65\x6e\x47\xcc\x29\x6f\x0a\x4e\x77\xf7\x11\x4d\x69\x72\x2d\x67\xb3\x3e\x5e\xa1\xfa\x81\xc5\xdd\x6a\x10\xa8\x0e\xd8\x39\x55\xd7\x48\xc9\xb9\x86\xf3\x41\x17\x57\xdd\xff\xf3\xfb\x7d\xbb\x7f\x9c\xe1\x95\x4b\xf1\xb3\x4c\xbb\x04\xc5\x37\xb5\xc1\x8d\xfe\x06\x17\xd0\x16\xd1\x0f\xc0\x2c\x09\xa3\x28\xe8\x45\xae\x37\xa6\x3d\xb8\xcf\x1f\xa4\x78\x2f\x52\xf6\x85\xa5\x9f\x2b\xc7\xbe\xc5\x82\xcf\xfe\xe7\xf1\x44\x4c\x44\x6d\x5c\xce\xa8\xd0\x15\xf6\xba\x13\x4e\xa4\xd0\x3c\x65\x8a\x85\x0f\xb3\x80\x05\x8a\x61\x1a\xc6\x94\x31\x41\xc6\x76\xa5\xe3\x78\x71\xed\xc6\x67\xbb\x07\x3d\x26\xef\x68\xb2\x68\x6c\xc7\x7e\x6e\x21\x73\x99\xc9\xb9\x44\x1d\x09\xb2\x49\x50\x4d\x82\xe5\xae\x5b\xab\x9d\x32\x04\x3a\x90\x39\x33\x50\x82\xbf\x2a\x0e\x1a\x7f\xc3\x4e\x81\x8c\xf8\xa5\xfd\xc4\xf3\xd5\x75\x9f\x92\x57\x2f\x46\x51\xce\x88\x4b\x65\x01\x4e\x8c\xd7\x09\xc9\x5a\x45\x84\x2d\xfb\xf8\xb7\x9c\x9e\x56\xb3\x9c\xc2\x77\x30\x2f\xba\x1f\x24\xad\x20\x61\x15\xc4\xb5\x40\x03\x3d\x0a\x20\xe2\xe6\x86\x66\x1f\xa1\xa8\x4b\x00\xce\xa8\xe5\x28\x3c\xf1\xa8\x72\x79\xec\x9d\xfe\x8c\x03\x0b\xaa\x68\x96\xb1\x8c\xeb\xfc\x73\x18\xe9\x7b\xab\x02\xed\x60\xbf\x96\x34\x83\x30\x84\x97\xff\xcf\xf7\x70\x14\xe8\xab\xc4\xea\x7b\x1a\xbb\x1d\x9c\x66\x96\x53\xfa\xae\x7d\x50\xe3\x6c\x21\x85\x54\xd8\xec\x40\x3b\x89\x08\xce\x0c\x6b\xe8\x01\x54\xdd\xaa\x2d\x8c\xe2\x3e\x8d\x8e\x59\x47\x07\x97\xcb\x94\x69\x8f\xe0\x34\x4d\x59\xc8\x31\x9a\x95\xf6\x35\xa0\x83\x1e\x71\x23\xb7\xa9\x6b\x3e\x64\x25\x3b\x3b\x85\xab\x1f\x8b\x9e\x52\xf1\x2c\x92\xeb\x47\x4d\x87\xab\xbe\xe6\x85\x76\xc4\x52\x07\x2d\xf6\xaf\xb1\x05\x85\xf4\x15\x85\xa2\xc3\xd8\x8e\xf5\xac\xf4\xdf\xaa\x21\x48\xf0\x79\x43\xe9\xa1\xe0\xf5\x09\xf9\x82\xaa\x14\x10\x0d\x03\x8d\x52\x8d\x71\xc5\xb9\x05\xcf\x9a\x37\xc8\xcd\x8a\xaa\xd0\x12\x32\xb8\x34\x9f\x0b\xea\xdc\xd0\xf1\xe3\x2c\x73\xd5\xa5\xa0\x61\x26\x86\x0a\x45\x28\x64\x3f\x00\x54\x01\xe7\x71\xcc\x0a\xd3\xfa\x6b\xab\x78\x15\xaf\x21\x9e\x80\x6b\xcc\x2c\xc3\xe4\xcd\x57\xa1\xd3\x6c\xb4\x08\x7c\x67\xfd\x22\x1d\x24\x5a\x45\xbe\xfa\xb5\x4d\x65\xa2\xad\xc0\x97\xb0\xc2\xe8\xb3\x5b\xa9\xae\x33\x49\x53\x7d\x56\xe1\x81\xb6\x57\x5b\x9f\xaa\x52\x9c\x1a\x19\x5d\xf1\xb3\x7d\xb3\x89\x9c\x8a\x92\x56\x3d\x8b\x3a\x5a\xaf\xd6\x06\x7b\xb4\xd5\xb5\xb6\x5b\xd0\x01\x0c\x5b\x14\x61\xc2\x1e\x40\xcc\xbd\xa2\xc7\xe4\x27\x66\xcf\xe9\x73\x7d\xaa\xcf\xd8\x3f\x88\x94\x02\x48\xc0\x52\x96\xc0\x65\x12\xa6\x0c\xe5\x82\xdc\x5a\xc8\xfb\x1f\x53\x59\x75\x1d\x82\xf0\x01\x4b\x2c\x5c\xfb\xa1\x48\xae\x29\x78\x72\xed\x97\x51\x0a\xfe\x6b\xe9\xa4\x26\xc7\x83\x01\x8f\x0a\x2b\xb6\xf8\x1a\xae\x6e\x6c\xd5\xf4\x93\x18\x17\x30\x30\x26\xf8\x35\x03\x86\x1b\xfb\xb4\xd4\x4c\x39\x51\xa4\xb0\x14\xd6\x12\x16\x7b\x57\xed\x47\x2d\xa6\xb9\x0f\x46\x50\x40\x22\x18\xfa\x1c\x7b\x80\x8c\x09\x58\x60\x2c\x05\x32\x12\xd7\x4c\x6b\x6f\x83\x30\x97\x50\x68\xdc\x0c\x5d\xcc\x44\xea\x3a\x07\xf9\x88\x13\xab\xaa\xf9\x4e\xe7\x58\xb5\x34\x31\xd9\x72\x4c\xc8\x5f\xe4\x2d\xbb\x61\x6a\x44\xfe\xb7\x2c\x61\x1a\xcd\x56\x00\xff\x47\xbb\xa7\xcf\x96\xa8\xe1\x74\x10\x1c\x65\x39\x43\x88\x8c\xe2\x06\xfb\xe5\xca\x2c\x25\x9f\xd9\x17\xc3\x84\x06\xcd\xe9\xe6\xd5\x94\x19\xfa\xea\x33\x39\xbf\x78\x7f\x58\x94\xff\x4d\x05\xbb\xd3\xa5\x2c\xd5\xa9\xbc\x15\xa7\x85\x4c\x4f\x75\x6b\xa7\xad\xf5\xe1\x23\x11\xda\x47\x57\x7f\x2b\xd2\xe8\x1b\x62\xaf\x92\xc8\x36\x62\x68\x29\x21\x35\x40\x94\x30\x11\xd2\x8a\xbd\xc8\x9f\x31\x5a\xb3\xf9\xbe\x0f\xc8\xb0\x32\xbf\xf1\x11\x34\xa6\x6a\xa1\x55\x31\x48\x40\x06\xf7\x36\x30\xf4\xe7\xad\x42\xc5\x18\x4d\x6f\xe3\x8a\x80\xbf\x20\x93\xf2\xe5\xcb\xef\x12\xb2\xc2\x87\x5f\x8c\x08\x1f\xb3\x71\x25\x6f\xdb\x53\x22\x19\x9b\x41\x77\xe9\x14\xfa\x16\x57\x0b\xc8\xe9\x97\x98\x80\x3e\x2e\xaa\xf7\xa0\xbd\xdf\xce\xdd\xcd\xfe\xb5\x64\x6a\x49\xe4\x0d\x53\x1e\x79\x68\xe8\x97\x01\xc5\x86\x03\x21\xc2\x5e\xc1\xe4\x03\x24\x11\x67\xcb\x1a\x9d\xd3\x0c\x42\x1c\x82\x64\x64\xc9\xd0\x52\x96\x5b\x9f\x87\x5d\xc7\x0d\x67\xb7\x70\x30\xf6\xaa\xd9\x9b\x7f\x8a\x56\x00\x7d\x86\x94\xec\xec\x37\xf0\xdf\x70\xf1\xd6\x39\x04\x7b\x45\x9e\x5d\xfa\xb8\xb2\x70\xc1\xe2\xea\xa7\x0d\x81\xca\xdb\x45\x81\x2a\x39\xd1\x1b\xba\xe9\xd6\x35\xd1\x1a\xd5\x0a\x81\x6b\xd8\x1e\x1d\xa9\xb7\x90\xf8\x36\x8d\x68\x9c\x6b\x8b\x55\xff\xe4\x3a\x15\x97\xce\x0c\x53\x95\x92\xfb\x1c\xae\x0c\x48\x84\x19\x9d\x93\xb9\x64\xce\xe2\x86\xac\xc9\x7d\xf7\xc5\xa8\x6d\x53\x70\xab\x53\x06\x42\x39\xc5\x08\x6e\x2b\xb6\xe0\xfa\x1a\x5d\x06\xe0\x84\x21\xa2\xfa\x93\x06\x23\x1f\x36\xb0\xb7\xa2\x88\x9d\x9a\x2b\xe2\x2f\x14\xb4\xd8\x53\x34\x61\x28\xad\x2d\xa8\x48\x33\x64\x1e\x63\xe2\x60\x8e\x31\xae\x76\x35\xb0\x04\x54\xb3\xed\x02\x2f\x83\x41\x01\x91\x49\x06\xe9\x76\x54\xd3\xd3\xe1\x8d\x60\x9e\x3c\x6f\x33\x76\x38\x15\xdf\x48\xd9\xd6\xa3\x0c\x66\x47\x15\x1f\x6c\x53\x48\x3a\xdd\xf2\x9a\x72\xb9\xeb\xb0\xee\x8a\x60\xff\x80\xfc\xef\x96\x7b\x96\x88\x93\x59\x06\xe7\xac\x96\xd1\x81\x8f\xef\x10\x6d\x18\xfb\x5a\x76\x0d\x5a\xf6\xe1\x70\x17\x32\xed\x1d\xb3\xfc\xb6\xd6\x6e\x05\x04\x91\x5e\x31\xcb\x87\x97\x3d\xdb\x61\x63\x32\x77\xe4\xe7\xf6\x6a\xfc\xe8\xb4\x83\xae\xca\xc7\xed\x6f\xb9\xf2\x0e\xce\xb8\x3f\x63\xe0\xde\x0c\x4a\x36\xc0\x61\x41\x75\xa5\x82\x54\x26\xba\xe7\x8c\x03\xf1\x58\x75\x6e\xbd\x70\x5a\x5a\xac\x3c\xa2\xb4\xb8\x66\x0d\x78\xc5\xfd\x85\x75\xdf\xd2\xbe\x93\x26\xcb\xf8\x9c\xbb\xb2\x0e\x53\xec\x8e\x9b\x53\xc3\x13\xc8\xbd\xc0\xdb\x9c\x3a\xf1\x34\x32\x69\x60\x81\x18\xf7\x78\x04\xcd\xc2\xed\xfe\x92\x65\x92\x31\x32\x2f\xa9\xa2\xc2\x30\xa6\x5d\x99\x8a\x19\x17\x34\xe3\xff\x61\x4a\xbf\x08\xe7\xee\xf4\xda\x96\xcd\x44\xc2\x2f\xdc\x69\x69\x55\xcc\xf5\x4b\x6b\x03\x86\xdd\xcc\x7f\x98\x92\xd5\x2c\x53\x96\xc8\x9c\xad\x6c\xd7\xcd\x42\x78\x9e\xb3\xd4\xd2\xa7\x6c\xe9\xe0\xc5\x43\x3a\x85\x76\x37\x7e\x1f\xaa\xfa\xd5\xd5\x4f\xf5\xc3\x71\x84\x61\x3f\xe1\xd2\x7d\xfd\x99\x7b\x8b\x1c\xee\x13\x35\xbc\x4d\xc4\xf0\x5f\xf7\x17\x2c\x5c\x8f\x71\xa7\x81\xd4\x3b\x91\xf4\x20\xb5\x98\x83\xad\x09\x2d\x32\x5d\x66\x8a\x37\x8d\xe1\x71\x45\xed\x60\xb5\xe2\xee\x19\xd0\xc7\xa6\x4c\x0c\xe6\xcd\x3f\x92\xc9\x89\x33\x01\x4d\x4e\xac\xac\x4d\x89\x61\x5f\x8c\x4b\xcd\x40\xf9\xdc\xcf\x62\xe5\x84\x46\x45\xeb\x94\x25\x3c\xa7\x99\xb7\x85\xdb\xfb\x63\x05\x61\x27\x49\x24\x32\xcf\xa9\xc6\x49\x10\x9c\x38\x49\xc6\x35\xae\x8e\x70\x61\x49\x38\x54\x7e\x91\x2a\xb5\x92\xc6\xd5\x42\x31\x20\x58\x39\xda\x9f\x84\x06\xaa\x76\x53\x9f\xc1\xee\x42\x31\x6c\xe3\x8b\xc9\x47\x61\x55\x4e\x82\x99\x71\xa5\x0d\x56\xc9\xa1\xda\x10\x96\xb1\xdc\xe2\x8b\xe3\xe2\x9a\x29\x6e\xc9\x58\x6d\xb9\x94\x2c\x96\xc5\x82\x89\x31\xf9\x31\x2e\x20\xc7\x67\x6b\xa0\x6a\x17\xf2\x6a\x44\xbe\x1b\x91\xdf\x8d\xc8\xf7\xf0\xad\x3f\x00\xd1\x58\xb6\x81\x6a\x72\xf2\x6a\xf4\xdd\xe9\xf7\xa3\x3f\x4c\x4e\xee\x64\xbf\xba\xef\xd0\x9a\x8f\xd1\xc5\xb3\x1c\x28\xa8\x44\x3e\x72\xbb\x0a\x6b\x26\xef\x43\x67\xa8\x40\xc6\x53\x47\x2c\x2d\x61\xe5\x82\x2c\xc0\xd0\xa0\x4f\x9d\x3f\x00\x0e\xdd\xd7\xf2\xf6\x87\x41\xec\xcd\xa5\x2e\x45\x02\xa7\x8c\x61\xc9\x05\xf9\xf8\xe3\x9b\xef\xbe\xfb\xee\x7f\x62\x6f\x68\x47\x45\xb9\x20\x9f\xae\xde\x20\xb2\x45\x66\x4b\xe3\x5a\xc1\x03\x91\xad\xb9\x50\xfe\x1d\x31\xb4\x9a\x55\x6f\x4d\x48\x50\xd4\x87\xbc\x9b\x7a\xb8\x98\x84\xa8\xcd\x09\x98\x41\x69\x95\x13\x28\xaa\x90\xce\x1a\x31\x73\xfc\x12\xb9\xfc\x8c\xf2\x4c\x87\x68\x99\x5a\x0c\x8d\xcb\x18\x02\x53\x1f\x54\x29\x9b\x9c\x20\x8f\x9f\x9c\xa0\x95\xc5\x45\x3a\x81\xe4\x17\x4d\x19\x4b\xf0\xbd\x67\xbe\xf4\x6f\xac\x4e\xfe\xc3\x3a\xa7\xd4\xc8\xfb\xe5\x42\x04\x10\x1a\xe1\x7d\x48\x19\xf2\x72\xcb\x59\x9d\x30\xda\x58\x65\xc0\xab\xde\xab\xf4\x34\xb1\x0d\x02\xf7\xa7\x92\xef\x23\xda\xa2\x0a\x3a\xec\x19\x76\xb1\x5d\xb2\xc8\xfa\xd1\x85\x5d\xc4\x69\xce\xd4\x9c\x9d\x5e\xb3\xe5\xc9\xeb\x95\x08\xa6\xf6\x37\xb4\xb1\x37\x77\x0e\x2f\xc0\xdb\x9b\x32\x3b\xb7\xe2\xbe\x60\x0f\xb8\x5d\xf0\x64\x41\x14\xa3\x09\x18\xdb\x17\x54\xb3\xf6\x70\xad\x3d\xd8\x43\xbc\xde\x77\x34\x44\x36\xd6\xfd\x5d\x12\x99\xab\x63\x1a\x29\x3b\x8d\xbb\xe3\x14\x23\xe7\xa1\xa9\x54\x76\x20\x31\xa3\x86\xd0\x6b\x09\x36\x9a\x9c\x0d\xcf\x22\xee\x89\xb4\xd3\x44\x77\xba\x29\xcd\xa2\xba\xcc\x6e\x98\x5a\xe2\x68\xda\xf4\x4c\x83\x01\x00\xbf\xaf\xb9\x14\xdb\x13\xf4\x0d\xe9\x8b\x2c\xdd\x17\x2e\x5d\xfa\xe9\x0e\x24\x4b\xef\x20\x1b\xd7\x74\xe4\x8d\x12\x72\x3c\xb2\xd1\xa0\x34\xa5\x86\xba\x33\x71\x66\x23\xa0\x97\x80\x5e\x1e\x47\xe0\x84\x68\xb0\xf0\xf7\x2a\xfd\x7c\x74\xd9\x10\x91\xd3\x49\xd7\x77\x86\x31\x16\xc1\x7d\x31\x24\x4d\x60\xd2\xc4\x26\x0f\xdd\x71\xe4\x0c\x74\x5d\x12\xf0\xb9\x0c\xc5\x03\xbf\xda\x08\xd9\x21\xa8\xf4\xa9\x04\x95\x7e\xd5\xb9\x70\x35\x32\x36\x54\x10\xbc\x13\xf4\x86\x32\x82\x07\x2e\x23\x08\xe0\xde\x21\xfe\xb8\x76\x4c\x43\x41\xc1\xaf\x81\x3d\x1f\x5b\x41\xc1\xba\xb8\xd8\xd3\xac\x32\x08\x1e\x4f\x5a\xf0\x18\xb2\x59\x8e\xa3\xaa\xe0\x5e\xd8\xca\x50\x5f\x70\xa8\x2f\x78\x34\xf5\x05\x43\x98\x8f\x2f\x37\x05\x71\x83\x5c\x5b\xca\x5f\x72\xbd\x20\x53\x66\x6e\x19\x44\xad\x14\x19\x4f\xb8\x81\x90\x03\xd8\x29\x58\x63\x7d\x9e\xc0\x63\xa8\x42\x88\xb7\x70\x28\x45\x38\x94\x22\x3c\xfa\x52\x84\x87\xb9\x96\x43\xc1\xc2\x95\xdd\x1d\x6d\xc1\xc2\x36\x83\xc1\x50\xb5\x70\xa8\x5a\x38\x54\x2d\xbc\xcf\xaa\x85\xed\x22\xc3\xe0\xe5\x1c\xbc\x9c\x83\x97\xd3\x91\x61\x8b\x93\x33\xec\x20\x08\x75\x76\xab\xbf\x2f\xf9\xdc\x12\xfd\x8f\x68\xd9\xd9\xc4\xbd\xd6\xbd\xe3\x30\x4b\x93\x42\xc9\x1b\x9e\x32\xe8\xb5\x9b\x2c\xa8\x70\xf9\xa3\x72\x0a\xb9\x86\x5f\xbe\x7f\xf9\x3f\x49\xbc\x10\x88\x4e\x06\xc3\x92\x13\xc8\xa3\x87\x90\x0a\x6a\x7f\x75\x16\xa7\xd0\x26\x10\x92\xb8\x0c\xa1\x7a\x29\x92\x85\x92\xc2\x15\x61\x28\xec\xb7\x5d\xfc\x26\xd7\xba\x64\x29\x24\x36\xff\xad\x9c\xb2\x8c\x19\x4d\x42\x9a\xdf\xf9\xc5\xfb\x6a\x4d\xaf\x27\x82\xbc\x1a\x7b\x23\x57\x6d\x6d\x56\x74\x29\xcd\xc2\x9e\x4a\xe2\x32\x25\x2c\xf7\x39\xb5\x57\x10\x0c\x68\xe4\x79\xc8\xe0\x9b\x9c\xd4\x83\xbf\xea\x03\x4f\x71\x7a\x60\x5e\x19\xb4\x01\xb5\x7b\x63\xea\x03\xcd\xd9\x8b\xf1\x44\x90\x6f\xc7\x10\xa4\x0d\x7d\x4e\xe3\x25\x58\x01\xfb\xea\xa7\xcb\x60\x90\xd3\xcd\x15\x24\x14\xd4\x6c\xc1\x12\x08\x33\xd7\x2c\x29\x15\xcb\x96\x1d\x2b\xcb\x98\x39\x75\xdf\x5b\x59\x8b\x4b\x05\xb7\x40\x72\xb9\xd9\xa5\xc6\xa0\x4b\x77\x0e\xf7\x03\xab\xfa\xba\x46\x50\xf0\x22\xe0\x51\x1d\x46\x96\x5c\x25\xa5\x36\x32\x87\x5a\xe0\x55\x63\x49\x37\xc3\x60\xd8\x3f\x6e\xc3\xfe\x60\xfe\x7e\x2a\xe6\xef\x48\x1e\xd9\x1f\x23\xef\xcd\xb8\x3a\xb9\xbc\xfd\x7c\xa3\xb1\x6a\xc4\x6e\x6a\x6c\xc6\x6a\xf5\x79\x5e\x1a\x08\xb5\xae\xa7\x25\x8e\xb1\xaf\xb3\x59\x44\xaf\x54\xa4\x0a\x5f\x2f\x35\x9d\x33\x17\xd6\x18\x6a\x5c\x68\x66\x88\x14\xf1\x3c\x90\x54\xe5\x06\x41\xfa\x3d\x53\xfc\x06\x73\x07\x22\x2a\x66\x27\x4c\x02\xa6\xe5\x32\xc5\x82\x1f\xd3\x25\xa4\xca\xeb\x75\xc6\xab\xdd\xfc\xe0\xfd\xa1\xdd\xed\x1b\x77\x3e\xf1\x00\x71\x1e\x69\x0c\x58\xbf\x32\xce\x4a\xf5\xec\xc5\x5e\x73\xcf\xcb\xa5\x22\x29\x13\x9c\xa5\xa3\x50\x34\x22\x3e\x32\x64\xf3\x3e\x43\x03\x0f\x01\x59\xc5\x82\x81\x85\xa9\x54\x71\xf1\xce\xa8\x8c\x26\x8e\xf5\x63\x36\x6a\x22\x6b\xcc\x0a\x16\xd9\xee\xd1\x25\x52\x3b\x17\xa4\x1f\x6b\x1c\x24\x6b\xe5\xba\xf5\xee\x92\x2d\x3c\x25\xbd\xf1\xa3\x4f\x99\xdb\xee\x97\x23\xc5\x8c\x46\x27\x09\xb6\x91\x2e\x69\xb4\x5f\x59\xdc\x87\xab\x31\xbb\xfa\x75\xef\xb9\x6e\x29\x3c\xdb\xa8\xaf\xea\xd5\xb4\xf6\x12\xb4\xe4\xfd\xcc\x27\x2e\xde\x62\x18\xb7\x60\xb7\x71\x15\xdb\x65\x01\xdf\xc2\xaa\x3b\x60\xc4\x25\xec\x0b\x5a\x2d\x6b\x55\x5d\xdd\xd4\x5c\x13\x2b\xcc\xcf\x43\x0e\x06\x8a\x74\x69\xb0\xdd\x81\xb2\x28\x6b\x46\x2c\x28\xc7\xb0\xde\x6e\xf1\x09\x18\xe6\x43\x80\xbc\xfa\x72\x0d\xdc\x4e\xb9\x03\x38\x23\x37\x0f\x35\x4d\x92\xd5\xe4\x89\xed\x4b\xfb\xfa\x5a\xbe\x81\x1a\x52\xb2\x68\xaf\xf6\x0b\x82\x72\xbd\xce\x6f\x4c\x1f\xc1\x3a\x78\xa0\x42\xbf\xae\xc0\x6f\xd5\x6a\x9e\x12\x28\xfd\xdb\xac\xfc\x7b\xc7\xb5\xf4\x2a\xf5\xab\x77\x29\xf5\x4b\xce\x1d\xeb\x18\x91\xb7\x11\xe3\xc0\xd4\x8e\x38\xd7\x27\x4a\x69\x9f\x9c\xc0\x24\x93\x13\x7b\x13\x26\x27\x6e\xaa\x9d\xb2\xea\x7a\xd4\x0d\x36\xae\x6e\x70\x6d\x53\x63\xf2\x37\x68\xd6\x1f\x2d\xd0\xca\x03\x93\x13\xbf\x9d\xc9\xc9\x88\x4c\x4e\x70\x4b\xf6\xdf\x76\x53\x55\x7e\x16\xa8\x6d\xe7\xa2\x36\x3e\xe6\x7b\xfe\xa6\xdf\x70\x0a\xdf\x3d\x43\x06\x4b\x33\x2b\xd6\x7a\x71\x79\x14\xf3\xc7\xf8\x90\x6f\xa9\xae\x6b\xd7\x55\x39\xaa\x36\x06\x8c\x8b\x89\x56\xbb\xdf\x95\xa0\x3c\x10\xaf\xc3\x1d\xe3\xc6\xb5\x84\x4c\xb6\x4d\x6b\x71\x18\xb7\x69\x25\x91\xdc\x80\x4a\x31\x7c\xb5\x29\x98\xe0\x67\x63\x90\x21\x2c\x9a\xe7\x9b\x97\xce\xed\xcf\xbe\x24\x59\xa9\xf9\x0d\xeb\x8f\xc0\x95\x44\xa8\x58\x8e\xc2\x92\x48\x5c\x21\x35\xf8\x3e\x48\xa9\xf6\xae\x34\xd8\xa6\xab\x96\xe3\x59\x40\x96\xc9\xdb\x63\x2f\x52\xdd\x5b\xe8\xe8\x8a\x04\xdc\xf4\x5e\x5b\x6c\x60\xa7\xc1\x6b\xb0\x2c\x1c\xb3\x65\x61\xab\x90\xc1\xdd\xcf\x7e\xed\xb7\xf6\xaa\x70\x0d\x21\x86\x83\x8d\x25\x0e\x31\xdc\x9a\x28\xdf\x7b\x18\xdf\xdd\x75\xd6\xfd\x15\xae\xde\xce\x8a\xb4\x03\x0b\xb9\xec\x63\x5c\xea\x61\x89\x66\x5f\x8c\x5a\xc1\x17\x9a\x22\x07\xa7\xd9\x45\xfb\x6b\x64\x3d\x09\xda\x80\xaa\xa4\x49\x4a\xd6\x13\x93\x26\xcd\x69\x80\x05\x56\x5d\x6d\x1f\xff\xa4\x06\x2f\x1c\x0b\x52\x3c\xd4\x76\x84\xd0\x2c\xef\x6c\xb4\xbf\xae\x85\xe9\x98\x5c\xc8\xa2\xcc\xe2\x42\x62\xe7\x17\xef\xbd\xfa\x19\xd9\xd2\xd0\x66\xe7\x0d\x76\x6b\x84\x99\x58\xc8\x68\x6c\x08\x71\xb6\x8b\x55\xe0\xa0\x6a\x97\xf0\x37\xc9\x19\x94\x11\x59\xf0\xe2\x41\x77\xb9\x86\xff\xac\x3f\xfa\x03\x07\x5d\xa8\x15\x6f\x62\x1b\x48\x83\x4f\x29\x68\xc5\xab\x5e\xc2\xa6\x23\x90\x30\x91\x48\x57\x2e\x98\x92\xc9\xc9\x9b\x77\x1f\xaf\xde\xff\xf8\xfe\xcd\xf9\xd5\x3b\xf2\xf1\xdd\xff\xfa\xf4\xee\xf2\x6a\x72\x42\x2e\xde\xfd\x4c\xa6\x99\x4c\xae\x5d\x2a\xbb\x66\x8a\x43\xdd\x27\x08\x3f\xfb\xeb\xe5\x2f\x1f\xac\xba\xf7\xbf\xcf\x7f\xfe\x69\x54\xf9\xfc\x51\x27\x70\x57\x2d\x5b\x92\x29\xd5\xec\xf7\xbf\x3b\x75\x1f\x5c\x1b\x95\x35\x5d\x76\x68\xc1\x7b\x80\x67\x65\x62\xee\xd2\x9b\xc3\xc0\x48\x8f\x8f\xb4\x28\x96\x06\x4b\x29\xf5\x1c\xff\xd7\x92\x66\x68\x55\x16\x34\x47\xf5\xc5\x92\xde\xb3\x5b\x28\x95\x18\xf8\xb1\x55\xff\xd7\xa2\x31\xda\xb9\x67\x3c\x33\x88\xb5\x51\x49\x80\xd2\x15\x16\x98\x80\xd9\x74\x5c\xad\xf0\x8f\x1f\xce\x7f\x7e\x37\x39\xc1\x61\xbe\xc0\x23\x7c\xfe\x1f\x2c\xcb\x4e\x41\x11\x27\xab\x0e\x3d\x08\x46\x46\xc7\x6d\x4f\x67\xe2\x6b\x54\xd4\x74\xbb\xf3\x12\xae\x6a\xdd\xd9\xb9\xd9\x9b\x39\x9e\x08\x42\x3e\xc6\x60\x81\xdd\x3a\xed\xd0\xaa\x76\x82\xd9\xcb\x4b\x4b\x23\x4f\x83\xee\x3c\x5d\xe2\x34\x55\x48\xdd\x69\x4e\x05\x9d\xdb\xa3\x70\x9f\xaf\x2b\xb1\x93\x93\x44\x2b\x87\xfd\xa8\xbb\xfa\x50\x3c\x2e\xd6\x4d\xe5\xdc\xc9\x5b\x3a\xa4\xbb\xe1\x73\x5d\xf3\xa3\xdf\x0d\x40\xbe\xe8\x77\x13\x3a\x61\xcf\xf8\xe3\x16\xbb\x1e\x79\x2f\xc9\xfe\x80\xf8\x5d\x3b\x10\xeb\xbe\x73\x07\xb5\x56\xe7\x7d\x2b\xd8\x00\x3c\x75\x9f\xfe\xc8\x55\x90\xe8\xe7\xda\xdf\x3f\xea\xed\x1b\x72\x13\x01\x22\x79\xb0\x60\x2a\x16\x95\x2d\xa2\xa6\x2a\x97\xf3\x5f\x55\x9d\x1c\xe5\xc3\x02\xcf\x28\x84\x8a\x9d\x5a\xf4\x12\xf0\xff\xff\x39\x8b\xa0\x7a\xea\x96\x73\xea\x69\xd2\xd9\x6f\x22\x62\xea\xc8\x83\x5d\xc2\x1b\x0c\x08\xa8\x48\x0d\x92\x27\x9a\x69\x59\xab\x9b\x8f\xf5\x9d\x1c\xf4\x9c\xde\xed\x48\xcb\x95\x82\x3a\xa0\x5c\xa3\x14\xc3\xa5\x78\x8d\xf9\x13\xf0\xfb\xf3\x37\xe7\x64\x5a\x8a\x34\x63\xfa\x05\x3a\xef\xfc\x40\xb0\xbf\xd8\x3b\x78\xc1\x54\xce\x0d\x10\xdc\x12\x55\xc6\xd7\x00\xec\x10\x50\xe4\x8c\xf3\x29\xd7\xce\x0c\xe3\x07\x62\x45\x13\x47\xae\x1d\x32\x7e\x74\x42\xfd\x88\x14\x7e\x5e\xf0\x75\x61\x26\x45\xca\x1c\xe3\xac\xca\x48\xfb\x62\x2d\x9e\x6d\x3e\xaf\xd2\x76\xbd\xdf\xcd\x7d\xee\x3c\x33\x08\x22\x38\x2b\x5c\x8a\xc7\x4a\xd0\x7f\x46\x56\xe1\x33\x8a\x27\x2e\x45\x44\xf8\x51\xce\x08\xf0\xa2\x6b\x5f\x61\x55\x2b\x3b\xfb\x5d\x9f\x9d\x5d\xb3\xa5\xf7\xa9\x9e\xe1\x5c\x96\xff\x57\xbf\xda\x89\xbe\x1f\x93\x77\x5f\x0a\x8e\xf5\x17\x62\x9c\x09\xc5\x2e\x5f\x87\x7d\x63\x0d\x9a\x19\xff\xb2\xea\x3d\x0c\x65\x1c\x2c\xb6\xba\x67\x34\xcd\xb9\xb0\xdf\xf8\x3d\x08\x13\x30\x05\x96\xc8\x6d\xf0\xc6\xf3\x3a\x05\x88\xc0\xb9\x83\x31\xb9\xe4\x5d\x2a\x7b\xc9\xd3\xba\xca\x61\x7f\x38\x06\x51\x7b\xe3\xb6\xe0\xc4\xba\x76\x86\x87\x5d\xd5\x2f\xa6\xe8\x3e\x9f\xc5\xa8\x50\x09\x34\x0e\xd3\x1d\xf9\x6a\x5a\x62\x6b\xd4\xd2\x92\xde\x56\x26\xb7\x2c\x5c\x31\x4f\x37\xed\x6b\x32\x39\x49\xf9\x9c\x1b\x9a\x61\x57\x02\x53\x2a\x86\x76\x78\xbb\x06\x26\x12\x5e\x2c\x98\xca\x41\xbe\xb0\xbf\xba\x59\x2d\xcd\x72\x26\xf9\x95\x0f\xb7\xf3\x89\xb6\x2f\xb7\x7f\x62\xcd\x7a\xdc\x29\x45\x5f\x5e\x49\xdd\x9a\x08\x3b\xce\xd3\xf2\x0d\x73\x59\x7c\x02\xe0\xc8\x3c\xe7\xc6\x7d\x1a\xde\x6e\x5f\x92\xfd\x95\xce\x15\x63\xd1\x2a\xad\x28\xdd\x18\x09\x33\xd8\x6d\xc3\xf7\xdc\xa7\x54\x16\xfd\xe5\x5f\x80\xca\x7a\x6e\x22\xb6\xf2\x13\x15\x4b\x3f\x5b\x6d\xd7\x2b\x07\xe0\xbe\x08\x2d\x77\xe2\x6d\xb3\x9c\xf2\x8c\x14\x4a\x1a\x34\xf5\x39\x08\x9e\xe5\x3c\x67\xfe\x2d\x5e\x68\x96\x10\xc8\x73\x80\x42\xe0\x38\x06\x7f\x35\xa5\x10\x2c\x8b\x7f\xb1\x37\xcd\xbf\x69\xc9\x8c\x36\x34\x2f\xc2\xf7\x64\xa2\x8b\xfa\x0a\x72\x9e\x28\xa9\xe5\xcc\x10\x3d\x4f\xf0\x27\xc1\x8c\x4e\x68\xc1\xf0\x97\xe3\x56\xec\xec\x76\x45\xb7\x1a\xe2\x87\xd5\x09\x14\xfc\x72\x94\x14\xaa\xa7\x11\x4d\xad\x04\x53\xc4\x9a\xd9\xc1\x1d\x1c\xdd\x09\x26\x9b\xdf\xac\x4e\x23\x72\x25\x79\x9d\xc7\xab\x8b\xc1\xdb\x77\x86\xce\xb6\x33\xe7\xee\xaa\x7b\x64\x6b\xf1\x52\x6b\xa8\x6f\x8f\x54\xd6\x6a\x74\x07\x42\xd5\x03\x7f\x48\x11\x90\x01\xb3\x37\x45\xcb\xf7\xeb\xbc\xdd\xc5\x71\x51\x11\x7c\x6c\x75\x6f\xa0\x33\x5e\x37\x4b\xd2\x59\xbe\xb3\xc1\x45\x38\x26\xbf\x88\x84\x55\xcb\x69\xd6\xc2\xab\x10\xd1\xd2\x65\xd7\xd2\x68\x93\x75\x83\xeb\x2a\xe6\xa9\xee\xbb\x73\x55\x29\x83\x5f\x35\x78\x30\xf1\x04\xc2\x57\x95\xa5\x71\x42\x13\x96\x17\x66\x19\xda\x28\x55\xba\x97\x95\x5b\x5a\xfd\x96\xeb\xbe\x18\xbc\xa7\xfd\xbe\x18\x18\x10\x5e\x47\x77\x91\x2c\x23\xf0\xa2\x75\xbc\x7f\xa8\xb6\xef\xd0\x12\x7d\xfb\xae\x56\x6f\xb0\xe0\x68\x27\x4f\x9f\x67\x59\xf4\x23\xbe\x88\xe5\x3a\x41\x59\x89\xec\x40\x93\x13\xec\x03\x31\x0a\x13\x0b\x49\x16\x8c\xa6\x4c\xe9\x0a\x61\xbd\x1d\xc9\xf2\x2b\xab\x55\xf9\x56\x59\x94\xfc\xe9\xdd\x47\x6f\xf4\x21\xe7\x97\x1f\xc6\xaf\x62\xb2\x44\xb4\x51\x25\xf8\x0b\xb0\x62\x31\x06\x28\xa5\x2e\x93\x12\xb6\xfc\x3b\x0b\xbc\x8f\x3f\xbe\xf9\xfe\xdb\xff\x7a\xe9\xc4\xf7\x0f\x52\x9c\xda\xc5\x7b\xfe\x9a\x53\x88\x59\x67\x54\x91\x50\xbb\x36\xaa\x8e\xde\xdc\x4e\xb4\x6f\x67\xb5\x29\xc5\x0d\xc2\x98\xa5\x96\xf7\x60\xa6\x5d\x26\x6f\xb1\xad\xd8\x97\x22\xa3\x82\x1a\xa9\x96\x58\x7f\x79\xdd\x4a\xbf\x1f\x7f\xeb\xd6\xfa\x87\xdf\xfd\xfe\xbf\x3c\x8e\xe6\xd8\xc8\x90\xe2\x81\x84\x6f\x47\xb7\xa4\x82\x62\xe5\xc1\x68\x50\x06\x86\xfd\x27\x22\x73\x4f\x95\x1c\x18\x48\x4d\xe8\x37\x30\x8a\xea\x44\x86\x8f\xb5\x93\x15\xfc\x76\x94\x82\xe8\x00\x53\xc5\x25\x18\xc7\x50\xa8\x46\x8f\xa6\xab\xa7\xde\x90\xce\x45\x4a\x6a\x45\x23\xad\x84\xb6\xa0\x22\xd5\x0b\x7a\x0d\x3a\xc5\x44\x5c\xad\x44\x1c\xc6\xd6\x47\x0b\x18\x57\xd8\x1a\x6c\x56\x7b\xb2\x33\x8e\x88\x96\x56\x45\x81\x06\x73\x56\x7c\x94\xb3\xd7\x76\x7e\x4b\x15\x71\xe4\x73\xfc\xe3\xd4\xfe\xef\x4f\xef\xfe\xfc\xfe\x03\x89\xb0\x05\x7e\xc5\x01\xe3\xf1\x38\x1a\xf9\xee\xc3\xdb\x35\xe3\x5e\x3c\xa4\x65\xb3\x77\x1d\xe4\x38\x7a\xa2\x28\x32\x8e\x5c\x2b\xc2\xb8\xbb\x86\xd1\xdc\xb3\x47\x77\xdf\x45\x79\x73\x5a\x9c\x5e\xb3\xa5\xae\x49\x2c\xd5\x34\xd1\x4f\xff\xea\x79\x6c\x39\x2d\xf6\x9f\x7a\xe4\x32\x66\x77\xc8\x3f\x7a\x1b\x07\x83\xae\x67\xa1\x43\x50\xc6\x31\x07\x65\x0c\xa1\x08\x4f\x25\x14\xe1\x3e\xd2\x3d\x3a\x88\x45\x67\xce\x47\x93\x81\x07\x29\xdb\x68\x96\xcd\xb0\x55\xa1\x58\x46\xdc\x38\xce\x52\x38\x68\x6a\x45\xd7\xce\xba\xf3\x2b\xde\xba\x74\x91\xd5\xbc\x8a\x98\x27\x3e\x4c\x55\xc0\x83\xe6\x2b\x6c\x5b\xde\x69\x3b\xc8\xb7\x66\x2e\x0c\x29\x04\x43\x0a\x01\xc6\x6f\x7b\x0b\x5f\x08\x86\x3f\x58\xca\xc0\xf1\xe5\x07\x3c\x58\x32\xc0\xe5\x83\x27\x03\xd4\x2a\xd5\x4c\x4e\xec\x07\xed\xaf\xd5\x35\x69\xd5\x3e\xc3\xc0\x07\xcd\x25\x40\xc7\xdf\xce\x8a\xd0\x5e\xa2\xc1\xf7\x64\x1a\xfd\xff\xd8\x7b\xf7\xe5\x36\x72\x2c\x6f\xf0\xff\x7d\x0a\xac\x6b\x22\x2c\x7d\x1f\x49\xd9\x75\xed\xf6\xc4\xf7\x87\x4a\x92\xab\xf9\x95\x2d\x6b\x24\xd9\xb5\x1d\xad\x8e\x2a\x30\x13\x24\x31\x4a\x02\xd9\x09\xa4\x24\xd6\xec\x44\xec\x6b\xec\xeb\xed\x93\x6c\xe0\x9c\x03\x24\x32\x79\x4b\x5e\x24\xab\x5c\x8c\x99\xe8\xb2\x92\x48\x24\xae\xe7\x7e\x7e\x67\x05\xed\x6e\x06\x80\xef\x15\x80\xe7\xa7\x00\xcc\x8d\xca\xde\x91\xb2\xbd\x4a\xb7\x6c\xa9\x68\xef\x15\x97\x2f\x5a\x71\xd9\xc7\x50\x3f\x95\x2c\xbd\x22\x9a\x1a\xe1\xf3\x22\xf5\x65\x4e\xde\x7d\x23\x37\x9c\x7c\x85\x51\x16\xbe\x4f\xcb\x70\x54\xf1\x63\x8b\xc4\xfb\x0e\x15\x79\xdf\x3e\xf1\xfe\x0b\x0d\xe6\x3e\x83\xe8\xed\xa5\x5a\x25\x14\xe2\x37\x4e\x4f\xb8\x12\xe8\xc9\xed\xf5\xd5\x50\x23\xa7\x1a\xf2\x04\xb1\x21\x49\x48\x7d\xac\x78\xec\x9f\x20\xfe\xfa\xd1\xc6\xf9\xdc\x1c\xef\xed\x22\xaa\x7f\xac\xb9\x12\xd8\xc5\xcf\x27\x57\x5f\xbd\x7e\xc5\x4e\xae\x2e\xc1\xf5\xf0\x87\x08\x61\xbe\x6c\x44\x2a\x37\x55\x0d\x5f\xf4\xab\x19\xb8\xec\xe3\x80\xdc\xb4\xde\xb0\xdf\x4c\xa2\x73\xd1\x1d\x6b\x63\x21\xaa\x59\xea\x23\xf7\xdf\xdf\x40\x68\x07\x4f\x65\x27\x00\x30\x43\xf5\x5d\x90\xef\x45\x4a\x3e\xca\xfe\x90\x49\xfb\xd2\x7d\x84\x62\x38\xe7\x84\x0d\xf9\xba\xc5\xdc\xc0\x40\x53\xf4\xa6\xac\x19\x7b\x4b\xde\xcd\xd9\xef\xcd\x89\x16\x6a\xff\xc1\x5a\x9c\x2a\xf9\x20\x3f\x54\xce\xb6\x7a\x37\x33\x3d\x64\x62\xc4\x93\x69\xb7\x0c\xea\xcf\x8d\x3a\x8d\x02\x21\x41\xdc\x85\x30\x48\xc0\x8c\xa5\xa8\x6c\xaa\xc5\xc9\xdc\x1d\xd4\x43\x36\xe0\x2a\xed\xb1\xbf\xeb\x12\xe8\x30\xd6\xb5\x9f\x1b\x18\xfe\x5b\xc3\x4d\xf8\xdb\xa3\x04\xcb\x7d\xec\x9f\x3e\x3e\x4d\xdb\x3a\xf0\x8d\xc2\x05\x3f\x2e\x8c\x7f\x2b\x03\x8a\x80\x78\x20\xdc\xd0\x5b\x31\x0d\xa7\x18\x7c\xc2\x6e\xa0\x30\x8b\x4a\x9c\xb3\x5a\x67\xa6\x27\x85\x1d\x02\xf2\xf0\xd8\x4e\xb2\xa3\x62\x98\x7c\xf7\xf5\x5f\x5e\x7d\x45\xbe\xe0\xee\xb7\xbd\xaf\x7b\xaf\x7b\xdf\xe0\x99\xda\xe0\xcd\xd7\x5f\xaf\x0e\x3c\x83\x3f\xe7\x85\x9e\x51\xb8\xd6\x1a\xc1\x67\xe1\x79\x1c\x7e\x86\xfd\xb7\x09\x40\xc3\x07\x55\x08\x1a\xfc\xdd\x0c\x42\xc3\xee\xc4\x9c\x87\x0b\x03\xd1\xb0\xdf\x95\xa1\x68\xf8\xb9\xd9\x60\x34\xec\x71\x55\x38\x5a\xf4\x3c\x04\xa4\x45\xcf\x96\x84\xa4\xc1\xb3\x46\x50\x1a\x3c\x6b\x86\xa5\xc1\xc3\x2f\x30\x30\xad\xff\xe4\x34\xa0\xa5\x6e\x51\xd4\x75\xd4\x47\xb6\x94\xcc\x46\x92\x6d\x1f\xa2\xd5\x1f\xce\x05\x8d\xe8\x34\x81\xa4\x81\x58\x01\xfc\xfe\x82\x08\x0f\x36\x16\x4b\xca\xd0\x3f\xab\xa0\x84\x93\x55\x41\x09\x1d\x66\xca\x64\xcc\xc2\x7a\xf0\xcc\xc3\x5a\xf1\xec\x71\x22\x0e\x5a\xfb\x37\x76\x73\x37\x9f\x6d\xd8\x81\xd6\x45\x2a\x15\x7a\xf2\x9c\xd6\x2f\xb8\x11\x4b\x94\x51\xf8\x3d\x58\xf9\x38\xcb\xe0\x6f\xaa\xe0\xbc\xc7\x90\x7c\xd6\x36\xc5\xbd\x6d\xee\x4b\xb1\xcd\xb5\xc4\xb4\xfe\xe3\x01\x52\xcf\x25\x47\x9b\x21\x53\xc3\xab\xcf\x18\x83\x7a\x97\xf6\xcf\x78\xd5\x96\xd9\x3f\x91\xba\xef\x06\x2b\x62\xde\x4e\xad\x80\x16\x0a\x6d\x90\xc4\xf8\x2a\x0b\xc8\x53\x08\x30\x66\xcf\x43\x9e\x35\x0f\x69\x83\x16\xd4\xaf\xd0\x82\xfc\x16\xfb\x85\x6e\xee\xf1\xc2\x3e\x37\x26\x16\x7b\xef\xd5\x9e\x43\xee\x8b\x0c\xe2\xf3\xa7\xe6\x2c\x3b\x44\x22\x5a\x28\x07\xac\xe0\x2e\x80\x30\x84\xd7\xb3\x29\x14\x70\x12\x09\xda\x54\x09\x82\xc5\xdf\x71\xd4\xd4\x7b\x99\x14\x7a\x65\xe8\x54\xf4\x6d\x9c\x07\x04\xa9\x41\x78\x59\x1c\xf6\x85\x7a\x17\x18\x10\xf0\x85\x45\xf5\x6f\xc6\x3a\x4b\x45\xd1\x4f\xdd\xf9\xb3\xab\x6a\x20\xd6\x1b\xd7\xb3\x12\xa5\x7f\x4a\xf2\x15\xb6\xa5\x0a\x4c\xf1\xa8\x36\xb0\xfa\xc2\x7b\xa7\x25\xa6\xa5\xb7\x2b\xd2\x36\xef\x15\x5c\xb0\x94\x1e\x06\xc8\x92\x14\x12\x80\x30\xc1\xd8\x6b\xac\x4a\xa0\x0d\xe2\x9e\x4b\x40\x8e\x18\x6a\x47\xa6\x69\x2d\x99\xb4\x55\xd5\xb2\x89\xe0\x06\xd2\x98\x46\x6e\x29\x6c\x00\xc2\x85\x88\x36\x3d\x00\xbb\x66\xca\x2e\x85\x12\xf7\xd7\x10\x8b\xb7\xc0\x20\xb3\x69\x55\x32\x18\x6f\x15\xbf\xd8\x6a\x5d\xa2\xe6\x3e\xd6\xb1\x2a\xd9\x66\xa3\x1f\x61\xf7\x70\x45\x7c\x11\x36\xdc\xd7\xa5\x05\xe7\x36\x9a\x47\xe1\x57\xe8\xc9\xaf\x54\xf8\xf2\xb2\x0b\x15\x1f\x67\x5c\x90\x31\x37\x71\xd8\x22\x26\x72\xd1\x09\xdf\xb9\xe1\x05\xcd\x51\x7b\xeb\xcb\x97\x2b\x39\xef\x65\xcb\x2f\x45\xb6\xfc\xb3\x58\x5f\x22\x9a\xb4\x37\xc1\x3c\x95\x09\x66\xed\x50\xb3\x85\x7b\xb6\x37\xc6\x7c\xe9\x2c\xe5\x19\x1b\x63\x62\x79\x66\x6f\x91\xd9\x73\xcd\xbd\x45\x86\x3d\x43\x8b\xcc\xee\x98\xcd\xde\x36\xb3\xb7\xcd\xec\x6d\x33\x7b\xdb\xcc\x17\x62\x9b\xc1\x6a\xec\xc7\xbf\x5c\x9d\xb9\xaf\xc8\xe4\xc7\x4c\x27\xb7\x57\x56\x17\xe2\x93\xce\xca\x89\xb8\x02\x21\x62\x09\xc1\xbb\xac\xaa\xd6\x73\x76\xe1\x68\xae\x81\xa0\xcd\x53\x69\x6e\x2b\x21\x44\x2a\x76\xfc\xcb\x95\xaf\x4c\x74\xfc\xcb\x15\x3b\xfb\xf1\x8a\xa5\xae\x0d\xe0\x2c\x41\xb2\xb0\x87\x3e\x9a\xe8\x92\x84\x19\xcd\x02\x8c\xbc\x28\x10\x9c\xb5\x7a\xc7\xa3\xb7\x52\x98\xb7\xe1\x13\x01\x3d\xff\xae\x15\x60\x31\x41\x30\x2c\xc6\x3e\xf7\x58\xf3\xab\x09\xa0\x19\x65\x53\xcc\xe5\x28\x15\x65\x68\x16\x82\xa7\x47\xf7\x85\xb4\x02\x0a\xe8\xf4\xc2\x4b\x77\xb0\x1a\x86\x99\x32\xcf\x75\x61\x99\xbe\x57\x04\xf3\x8e\x50\xb7\x13\x08\xf0\x54\x29\xbb\x3a\x7b\x27\x55\xf9\xc0\x0a\x01\x98\x53\x52\x8d\x5a\xd0\xfa\xa1\xb9\x5e\x9d\xdf\xf9\x56\x66\x02\x43\x3e\x59\x9c\xea\x89\x23\x43\x3a\x33\xd5\x25\xbb\xe7\x0a\x88\x09\xcc\xaa\xc7\xae\x65\xfe\x86\x9d\x29\xa0\x1e\xd0\x06\x81\x95\xea\x5d\xc9\x30\xb1\x0a\x4e\x6f\xac\x1d\x69\xc9\x45\x41\x35\x12\xa1\x79\x8f\x9d\x3d\xf0\x49\x9e\x09\xf3\x86\xdd\xbc\x10\x0f\xf6\x5b\xcc\x1d\x7d\x18\x1a\xc2\x2e\xb4\xee\x5f\x3d\xd6\x9f\xe4\x99\x4c\xa4\xcd\x48\xb8\x2c\x90\xd2\x41\x4e\x2d\xbe\xc6\x24\x24\xcb\x56\xd0\xbb\x73\x44\x9f\x7a\x18\x3a\x60\x03\x93\x0d\xd0\x1c\x19\xab\x0b\x3e\x12\x47\xb4\x33\x5f\xf1\x7b\x23\xf0\x0c\x23\x00\x94\x3b\xc3\xeb\x33\x81\x9c\x17\xb6\x99\xee\x3f\x6f\x33\xdc\x51\x0c\x6d\xfd\x11\x5c\xb1\x15\xfd\x21\xd3\x1e\xd0\x96\xb0\xb2\x78\x99\x81\x5a\xea\x1b\xb9\xc5\xa7\x5e\x20\x4b\x21\x5a\xee\xb7\xba\xf0\x3f\x39\x81\xef\xc8\xa4\xfc\x75\x07\x3e\x83\x6b\x88\xbb\x56\x8d\x09\xf2\x8d\x5f\xbb\xbd\xb8\x92\x13\x99\xf1\x22\x9b\x76\xe2\x51\x56\x2d\x1d\x4b\xf2\x5d\xba\xc1\xdc\xbc\x78\x75\xf3\x82\x1d\xe8\x02\x7a\x77\x37\x25\x13\x1e\x58\x8d\x4e\xf0\x14\x53\x26\x0e\x1f\x81\x40\xf3\xf4\x83\xca\x56\xc9\x08\x57\x34\xe5\x9b\x17\x16\x32\xaa\x23\xee\xa9\x52\x08\x8e\xc7\x5c\x30\xec\xac\x1a\xb5\x54\x0c\xe9\xda\x7b\xb7\xda\x94\xbd\x6d\xab\xec\xed\x45\xfb\x73\xf3\x62\x88\x89\xe0\x4f\x78\x4c\x07\x5a\x67\x82\x2f\xc0\x0c\xc0\xee\xfa\xa7\xab\xd2\x1c\x94\xfc\x57\x29\x58\xff\xd4\x53\x8b\xbc\xa2\xd0\xe9\x1c\x0a\xcd\x0e\x8e\x27\xfc\x77\xad\x22\x9a\x77\xf8\x39\x6f\x66\x4b\xe5\x24\xac\xc6\x2a\xfd\x64\x25\x23\x1c\x02\xf3\x9f\x2e\x61\x78\xbe\x09\xf2\x71\xac\xfa\xe1\x18\xb6\x7f\x6c\x92\xb1\x48\xcb\x0c\x10\xa8\xca\x4c\xb4\x31\x2d\x29\x9d\x8a\x39\x5f\x66\x2d\xed\x11\x38\xf4\xf3\xb8\x93\x65\x92\x48\x85\x9b\xe5\xbe\xbb\x78\xe0\x21\xcf\x2a\xd7\x8b\xe4\xfa\x5c\xa7\x5b\x8f\xfb\x22\xea\xa3\xdd\xb0\x73\x9d\x2e\x19\xf5\x81\xe8\x8d\x7a\x2c\xd1\xdd\x4c\x63\x35\x82\xb1\xc4\x57\x62\x39\xc1\xcd\xbc\x03\x92\x42\x87\x09\x9b\xf4\x1c\xb5\x34\x7a\x42\x08\x84\xae\xf9\x81\x39\x3c\x5c\x32\x6b\x65\xe5\x4e\x66\x1e\xf7\xb3\xc6\xec\x95\x95\xdd\x55\x4b\xc0\xef\xb4\x4c\x59\x5e\x5a\x32\x0c\xed\x64\x19\xb6\x96\x34\xad\xe5\x6e\xb8\x48\x85\x97\x5d\xb3\x5a\xc3\x5a\xe5\x5f\x62\x60\x9c\x5a\xa0\x98\xe8\xa6\xb2\xfa\xa6\xa5\xe2\x4e\x26\xe2\x82\xdb\xf1\x0a\xc2\x79\x1a\x1a\x46\x46\x33\xe2\x0a\xee\x17\x96\xbb\x9f\xee\xc7\xa2\x10\x31\x53\xad\x60\x3f\x42\x91\x83\xf5\x65\x90\x16\x69\x2b\xe7\x11\x72\x72\x58\x07\x1c\xc3\x6e\x29\x2b\x8c\xa5\x33\x77\x01\xb7\xa6\xb5\xbf\x97\x85\x70\x6a\x42\x4b\x4d\x23\xb4\x8f\x77\x84\x2b\x06\xcf\xd9\x29\xb7\x1c\x95\x0e\x14\xa4\xb4\xaa\xa4\x58\x28\x47\x20\x55\x4a\x3f\x91\xa5\x1c\xc8\xda\xca\x13\x93\x80\xe2\x37\x7a\xef\x8e\xd7\xf2\x3d\xf9\x9b\xfb\xd4\x09\x36\x67\x13\x9d\x8a\x37\xec\x1c\x6e\x96\x13\x43\x20\x41\x9d\xfe\xf9\x8b\xd3\x2f\x36\x30\x50\x38\x86\xdd\x22\x5f\xd6\x89\xa6\xf1\xf9\x80\xfc\x37\x60\xf6\x74\xf5\x07\x99\x1e\x30\x62\xd2\x9b\x8d\xe2\xe3\x65\xbf\xc5\x20\x3e\x5e\xf6\x1f\x63\x00\x1b\x29\x4b\x95\x14\xfe\x3e\xe0\xfa\x36\xb5\xa0\xf6\x2a\x50\x6f\xd7\xca\xcf\xa3\x78\xd9\xcf\x1e\x72\x91\xd8\xe0\xe0\x61\x57\x63\x5e\x88\xf4\x0d\x9b\x94\x99\x95\x79\x46\xfb\xe0\x36\xc6\x38\xb9\xd0\xef\x08\xe3\x49\x02\xf7\x84\x9d\x0a\xc4\xe5\x4d\xdf\x30\x23\xd5\x28\x7e\x63\xfe\x0b\xef\x41\x17\x4e\xdf\x30\x0e\x77\x12\x55\xe3\x34\x3a\x00\x07\xa0\x73\x4b\x15\x7e\x22\x32\x29\x33\x60\x64\xc2\x1e\xf6\x22\x14\x30\xcd\x0c\x0c\x79\x23\xfc\xaa\x36\x6a\x44\x8c\xe2\x04\x02\x3e\x3b\xa8\x2c\x00\x87\xbd\x4a\x81\x00\x3a\x0f\x89\x6a\xa8\x65\xd4\xb4\x0b\x23\x90\xc5\x36\x94\x8b\x05\x9b\x3a\x2b\xd6\xb7\x24\xc5\xe1\xfa\xcf\xb9\x8c\x3b\xa1\xc5\xee\xce\x54\x16\x9c\x75\xa8\xb2\x7b\x73\x2e\x55\x86\x1f\xae\x44\x01\x2c\x73\xb7\x84\xf9\x0f\xb5\xc5\x71\xc0\x82\x48\x0a\x61\x5b\xd0\xf1\xb8\x42\x02\xbe\x44\xc6\x64\x6f\x10\xc7\x25\xbe\xa2\x4b\x78\x4c\x97\x10\x48\xbf\x5b\xd8\x9f\xc5\x74\x03\xfc\xb5\x30\x3a\x93\xf3\xa4\xed\x10\xa1\xad\xe7\x37\x1b\x8e\xb5\x66\x0e\xf1\x02\x2a\x99\xf1\x2e\xf4\x06\x34\x00\x68\x47\x8b\x75\x06\xb2\xc8\x1a\x37\x6b\x07\xa2\x53\xb4\xd1\x73\x47\xb5\xb3\x3b\xbb\xbf\xa9\x7f\xca\x9b\xfa\x85\x1f\xef\x1f\xa5\x4a\xdd\xc0\x16\x1f\x68\x6a\xc1\xdc\x89\x43\xe8\x47\x8c\x72\xa8\x80\x4b\xff\x9d\xca\x1f\x80\x0d\xb5\xc3\x38\x2a\xc0\x86\x0d\x74\xa9\x22\xbd\xd1\xc9\x7b\xdc\xab\xd1\xa2\xe8\xb1\x53\x77\x41\x40\xf2\x71\xe7\xe8\x75\xef\x87\x0e\xcb\xd1\x1f\x03\x85\xfb\x9c\x08\x8b\xdf\xae\x15\xff\x70\xdb\x9f\xeb\xd4\x30\xa9\x8c\x15\xbc\xcd\xd5\xd8\x07\x15\xed\xe3\x54\xf7\x11\x37\x6c\x4b\x0f\x6c\xcb\x38\xd5\x10\x73\x83\x7b\xf3\xd2\x7c\xd6\xb8\x9b\x68\x49\x2c\x2f\x46\x62\x06\xca\xab\xb5\x1d\x11\xa7\x7f\xe9\x8b\x66\xae\x44\x40\xc7\xcf\x05\x6a\xd9\xf4\x56\x01\x9b\xa7\x8b\x6f\xea\x4b\xb6\xd4\x12\xb8\x00\xee\x15\xe7\xb6\x8a\x1b\xec\x30\x70\x68\x7e\x94\x90\x67\x27\x8b\x63\x84\xd6\x0a\x0f\xc2\x95\x3f\xb9\xea\xaf\xad\x30\x45\x0e\x73\xaf\x3f\xc3\x16\x48\x13\x94\x62\xc7\x8e\x14\x54\xb6\x04\x6a\x7b\x72\xd5\xf7\xf6\xc5\xb4\x90\x77\xa2\x60\x07\x3f\x0a\xcb\xd9\x50\x00\x5c\xd2\x61\x0b\x23\x56\x40\x5b\x39\x7b\xc8\xb9\x4a\xaf\x80\x77\x5f\xc2\xf9\xda\xec\xcc\x85\x1e\x5a\x9c\xb9\x93\x45\x5f\x47\xd2\x1a\xaa\xbd\x86\x43\x87\x22\x14\x9d\x4f\x12\xa2\xc0\x00\x23\x20\x66\xe4\x4e\xd4\xa0\xbb\xac\x66\x39\x37\x81\x57\xb9\xd5\xa2\x65\xb2\x9a\x25\xda\xb1\x7e\x2b\xc2\x4f\xcd\xc1\x90\x7d\x39\xe1\x59\x56\x85\xdb\x40\x6d\xd8\x7c\xcc\x09\x98\xcc\xf1\x39\x3a\xdd\x86\x09\xc5\x07\x60\x6b\xc7\xf7\x4f\xae\xfa\x9f\x28\x36\x80\xf6\x83\x8d\xb8\x15\xcd\xba\x61\x1a\x56\x83\x67\x15\xd3\x1c\x08\xf4\xa1\x32\x39\x64\x4a\xfb\x49\x53\x41\x54\x88\xa5\x0a\xb5\xba\xe6\xad\x87\x69\x94\x65\xc2\x46\x1d\xc6\xb3\x8c\xfe\x8d\x60\x96\x6e\x69\x16\xc6\x65\x55\xe7\xe2\xa2\x1c\x64\xd2\x8c\x3f\xd7\xc1\x68\x7e\xfe\xf3\x9e\x0c\x1a\x0d\x1d\x0d\xb7\x61\xd5\x6f\x1f\x55\x5e\xfb\xd5\x1d\x1c\xf3\xc7\xd8\x6d\x9c\xfb\x2a\x2d\x0c\x17\x48\xce\x56\x68\xac\x96\xce\x09\xc1\xa1\xd6\x34\x52\xa6\xaa\x6e\xef\x06\xb6\xcc\x67\x6f\xd1\xdd\xc0\x87\xa3\x53\xf1\x59\xee\xd4\xf9\x9c\x0f\x7f\x8e\xdb\x14\x8d\x23\xba\x47\xee\xe9\x1f\xf8\x06\xb9\x5d\xbd\xb2\x7c\x24\x9e\x7e\x4f\xeb\x9f\xfd\x5c\x3b\x0a\xa3\x68\xec\xe7\xbc\x67\x1f\x95\x89\x9e\xfe\x81\x76\xb8\xa5\xad\xea\x03\x0d\xfe\x0d\xc4\x24\xa2\x56\x18\xad\xe6\x02\x56\x12\x6a\xd7\xae\x30\x75\x6d\x1c\x0f\x74\x6c\xa9\xe8\xfc\x4c\x80\x6e\x3b\x98\xe9\xb6\x68\x8d\xb3\xbe\x7a\xfa\x6c\x33\x28\x51\x33\xba\xeb\x1b\xa0\x3e\x63\x1f\x7f\xe3\x2a\xcd\x56\xf1\x86\x4f\x51\x53\xcf\xba\x4a\x0c\x7d\x8a\xa2\xe9\x58\x21\x6c\x59\xa8\x8a\x1b\x44\x82\x75\x9e\x95\x23\xa9\xfe\xbf\xff\xe7\xff\x35\xec\x04\x30\xc5\x3f\x85\x19\xc0\x2d\xf3\x77\x84\x9a\x63\xcd\xfb\xb8\xea\x24\x9d\xf1\x75\xb9\x60\x4b\x2d\x8a\x58\xf7\xa2\xd5\xd9\xd6\xd6\x16\x84\xd8\xf5\xc2\x7d\xc9\xde\x01\x81\x36\x21\xbf\xa1\xda\x7a\x60\xcf\x9d\x65\x5a\x4d\x63\x5a\x8b\xc3\x36\xb6\x93\x5c\x62\xc2\xe6\x54\xad\x31\xac\x9a\xa9\xcb\x2f\x27\x5a\x99\x32\xb3\x58\x50\x67\xaa\xcb\x02\x0b\xfd\x87\x28\xa8\x44\x17\x85\xa3\x36\x8a\xfc\x12\x85\x18\x39\xbd\xaf\xa8\x0a\xce\x27\x59\xe9\x1e\x3c\xbd\x00\xb4\xda\x21\x3d\x84\x8a\x36\x79\xa1\xef\x64\xea\xc3\x1b\x91\xd6\x22\xed\x92\x86\xc8\xa2\x3f\xe7\xdc\x18\x9d\x48\xb0\x80\x46\xab\x77\x3f\x96\xc9\x18\x4d\xef\xa9\xb0\xa2\x98\x48\x25\x6a\xa1\x92\xb1\x00\xa6\x01\x02\x73\xfa\xb9\x85\xa7\x77\x3a\xe1\xd9\x3a\x26\x92\x2f\x52\x82\x7a\x1a\x06\x5b\xad\xd0\xee\x58\xed\x55\x84\x7a\xed\x5e\xe9\x42\x08\x41\xa2\xd5\x50\x8e\x7c\x92\x8d\xbf\xa3\xfe\x2e\x7f\x61\xfc\xf5\x53\xe3\xe3\x60\x38\x12\x86\x0e\x4f\xd7\x27\x99\xb1\x8a\x7c\x22\x9d\xab\xb6\x60\xf6\xc8\x55\x04\x0f\x68\x1d\x3e\x7c\x69\x58\xaa\x93\x72\x12\xfc\x06\x00\xe8\x1e\x94\x28\xb2\xe9\xb7\x64\xe5\xeb\xb1\xb6\xad\x59\x18\xcf\x31\x8c\xa4\xbe\xf0\x33\xa2\x4a\x9a\x1a\xb2\xe7\x4c\xf4\x9d\x30\xec\xe2\xc3\x55\xff\xff\x62\x49\xf4\x36\x1a\xe4\x8b\x52\x29\xaa\x5e\x87\xe9\x27\xad\x72\xc4\xd3\x55\x1e\x85\x63\xa8\x90\x17\x7f\xee\x11\x61\xb4\x17\x58\x01\x74\xbe\xb2\xe2\xc2\x04\x0b\xe2\x3f\xf5\x30\x67\x8e\xcc\xba\x87\x40\xe4\xe3\xb7\x57\xdb\x98\x64\x39\x73\x7d\xb0\x88\xd7\x92\xc3\xdb\xdd\xa7\x8c\x1b\x0a\x02\xcd\xe4\x50\xf8\x1c\x3c\xf4\x2a\xba\xd7\x86\x26\xe4\x09\xa5\x1a\x38\xee\xd2\x74\x21\x5d\x6c\x96\x2d\x34\xd1\x4a\x5a\x5d\xac\x4a\xc2\xf3\xa2\xe8\x1b\xf6\x9e\x5e\x40\x2e\x96\x38\xc5\x24\xf1\x02\x1b\x4c\xd7\xf7\x38\xcf\x0d\x42\xde\x53\x5f\x6f\xc8\x47\xf5\x1f\x25\x30\xe1\xa3\xcb\xb3\xe3\xd3\xf7\x67\xbd\x49\xfa\xd5\x58\xdf\x77\xad\xee\x96\x46\x74\xa5\x7d\xea\x53\x9d\xaf\x0e\xe9\xad\x74\xb6\x8f\x06\xb3\xbd\xdc\x4e\xfa\xe4\xaf\x42\x6b\xdb\x61\x05\x87\xc0\x67\x60\x71\x90\x28\x55\x66\x19\x2e\x91\x2d\x84\xe8\xc4\x31\x2a\x47\x8f\x16\x95\x56\x0d\xf4\x71\x43\x22\x1e\x6b\xb7\xd7\x08\xae\x70\xf7\xac\xf5\x6a\x5c\x85\x57\xbc\x90\x0f\x41\xd8\x56\x43\xcd\x0b\xf0\xcf\x3a\x7e\xf5\xd1\x88\xa2\xbe\x53\xc2\x26\x30\x81\x23\x80\xf0\x27\x51\xe5\x91\x27\xbf\x3a\xc8\xea\xa9\xac\x47\xcd\x05\x24\x71\x76\x46\x98\xe5\xa5\x1d\x0b\x65\x7d\xb2\x3a\x2d\xd3\xdc\x15\x05\x29\x72\x97\xe7\x67\xee\x32\xb9\xdd\x5a\xe7\x4e\x07\xdd\xaf\xe0\xa9\x36\x50\xaf\x01\xb4\xb5\xda\xd0\x51\xa9\x7b\xea\xcd\x6f\x29\x0b\x05\xca\xbe\xb5\x34\x04\x8c\x70\xcf\xfe\xf6\xec\x6f\xcf\xfe\xf6\xec\xef\x8b\x63\x7f\x6b\xdb\x74\xf6\x3c\xf0\x4f\xc8\x03\xa5\x4a\x45\xb1\x9d\x32\x98\x40\x1f\xde\xa6\x1d\x27\x4b\x7f\xc8\x85\x32\x96\x27\xb7\x3d\x76\xcc\x4e\x6a\xcd\xd6\x44\xb4\x88\xdf\x9a\x87\x69\x51\x88\x11\xe5\xf3\xd7\x10\x2d\x6a\xdf\x7c\x56\xc0\x14\xbb\xf5\xcc\x3f\x21\xdc\x44\xf3\xf8\x4f\xa6\xe6\x5f\x59\x17\xcf\x40\x37\x4f\xab\xf3\xff\xa7\xe0\x7d\x6b\xce\xbe\x05\xbb\x7b\x7a\x8d\x07\xe2\x69\x0d\x5e\xbb\x85\xc6\xfa\x9c\x17\x7c\x22\xac\x28\x80\x5e\xa6\x68\x8c\x57\x8a\x42\xc9\xdd\x45\xbf\x82\x8b\xbe\x15\x12\x03\xdd\x72\x99\x86\x6f\x20\x96\x15\xe1\x76\xf8\x9f\x15\x91\x9c\x27\x39\x9f\x2d\x29\xf2\xce\xd0\x15\x90\x64\xed\xe9\xf0\x9e\x0e\xef\xe9\xf0\x1f\x95\x0e\x6f\x21\x7a\xef\x89\xf1\xb3\x22\xc6\x90\x60\xd2\xbf\x38\x01\x4f\xea\x12\x42\x5c\x6f\xd8\x84\xc3\xa8\x39\x62\x21\xfe\x07\xdb\xb3\xfe\x05\x1b\x70\xb7\xba\x46\x18\xc8\x5b\xf2\x78\x25\x2d\xc8\x9d\x95\x13\xa1\x4b\xdb\x0e\x84\xb1\xde\x38\xaa\x92\x4c\x8e\x6c\x78\x1a\xc6\xd5\xbf\x20\xc2\x47\xa3\x32\x56\x26\xb7\x53\xc0\xe3\xeb\x45\xc1\x5c\x13\xa2\x98\x37\xe5\xab\x57\xdf\x88\x57\xf0\xdf\xaf\xbf\xc7\xff\xc5\x87\xc9\xff\xfa\xcb\xf7\xdf\xbe\x7a\x75\xe0\x94\xc3\xd7\x2c\xe5\xd3\x43\x47\xda\x28\x83\x32\x80\x04\xfd\xaf\xff\xc5\x6e\xc2\x0a\x3a\x0a\x49\xf4\xa4\x8a\xbb\x78\xfd\xea\x2f\xd4\xcb\x37\x6c\xac\xcb\xc2\xec\x08\x54\x6b\xe6\x3c\xad\x7b\x3e\xf4\x24\xd7\x4a\xa8\xa8\x42\xe8\xe2\x33\x32\xbf\x8c\x6e\x28\x9b\x4a\x00\x9d\xbe\xc7\x16\x27\x40\x14\x85\x5e\xa5\xf8\x86\x81\x31\x68\xcd\xa0\xa6\x32\xe2\x6b\x56\x9f\x02\xdc\xb4\x28\x03\x70\x2c\x78\x66\xc7\x2c\x19\x8b\xe4\x36\x7a\x6f\x83\x28\x95\x89\x30\x86\x8f\x56\x31\xe5\xf7\xd8\x6a\xee\xaa\x2c\x1f\xeb\x6c\x79\xf2\xfa\xe8\x37\x18\xb2\x69\x96\xf9\x9d\x37\x62\xac\x05\xec\x63\xa7\x96\x8c\xb6\x56\xdd\xdb\xfd\x7a\xf3\xe2\x6f\x30\xbe\xe9\xcd\x0b\x27\x27\x5c\x03\xae\x9a\x13\x0f\xde\x22\x78\x5a\x87\x41\xa3\x8f\xa1\x8e\xfc\xfa\x33\xb0\xab\xc5\xa0\x6b\x02\x47\x6c\x37\xf2\x37\xf1\xa8\x77\x4b\xaa\xe1\xfd\xd9\xd5\xdf\x9a\x70\xfb\x79\xcc\x16\x6d\x9e\xb9\x20\xb5\x96\xec\x00\x53\x19\x6a\x0f\xdf\x49\x63\x0f\x01\x78\xd4\xc4\x41\x6c\x58\x3a\x1e\x0f\x9f\x3b\x88\x71\x4e\xec\x1b\x8c\x34\x3a\xbe\xe8\x3b\xfa\x95\xd6\x72\x65\xef\x5e\xf7\x5e\xff\xf5\x7f\xee\x13\x5f\x9f\x73\xe2\x6b\xeb\x6a\xd6\xef\x08\x47\x3f\xdc\x9c\xea\x4e\x99\x80\x3a\xbc\x2b\x54\xfd\x85\x5c\xa7\xa5\x5f\xa4\xf6\x53\x2d\x8b\x30\xe7\x36\x19\x77\x27\xa2\x18\x89\xee\xad\x98\x82\xcc\x50\xbf\x9a\xf3\xdf\x30\xb6\xe0\x56\x8c\xe0\x05\x78\x7b\x9f\x47\xbc\xcf\x23\x7e\x76\x79\xc4\xab\xe4\xbc\xf0\xfc\xb1\x32\x6b\x9b\xfc\xa8\xd6\x68\xeb\x0c\xdb\x59\x6e\xb5\x84\xe1\x55\xa2\x0b\xcf\xb2\xba\xf8\x62\xa2\x40\x6e\x4f\xcd\x78\x5c\x2c\xa4\xc9\x2c\x7d\xd5\x90\x3d\xe3\xfb\x62\x18\x5f\x9b\x32\x32\xef\x56\x1c\x87\x47\x62\x77\x57\x8d\x92\x4e\xfb\x0a\x32\x7f\x62\x3e\xf4\x9c\x2b\xc8\xc4\x6b\xb5\xb6\x46\xf4\xe4\x45\x64\x5a\x71\xac\x5d\x56\xf3\xf5\xd7\x5a\x0d\xe5\xe8\x3d\xcf\x97\x2a\x67\xd4\x86\x94\xaf\x7a\x46\x03\x40\x26\x3a\x8e\x05\x80\x42\x68\x04\x35\xe5\xa4\x55\xe1\x98\x3d\x87\xf9\x6c\x1c\x66\x20\x15\x2f\xa6\xa7\x73\xc8\x41\xbb\x04\x91\xca\xd6\x37\x98\xda\xba\x86\xb2\x79\xfa\xc8\x8f\x61\x50\xf5\x62\x3a\x38\x58\x86\x64\xe3\x8c\x27\x63\x08\x24\x02\xcb\xa7\x3b\x6d\xc4\x08\x01\x08\x43\x95\x13\x51\xc8\x84\x25\x63\x5e\xf0\xc4\x8a\xc2\x74\xd8\xcb\xee\xcb\x0e\x7b\xf9\xeb\x4b\xa6\x0b\xf6\xb2\xf7\xb2\xc7\xe2\xef\x70\xe5\xbf\xc5\xdc\x4c\x18\xa6\x49\x26\x71\x66\x8a\x23\xf9\xe4\x5f\xfb\x78\xfd\xb6\xfb\x17\x56\x70\x35\x22\x23\xec\xad\x98\x52\x96\x0b\x08\x57\x51\xcf\x30\x3c\xf7\xaa\xbe\x13\x45\xc6\x73\xcc\xd7\x73\x9d\x68\x77\x80\xa9\x43\x68\x0a\xa9\x50\x1d\x3c\xbb\xd2\x30\xa1\xc0\x31\x93\xb2\xb4\xf4\xbc\xcf\x5b\x38\xf2\x42\x27\xc2\x98\x1e\xfb\x68\x02\x56\x36\x26\x52\x81\x43\x87\x88\x19\x7b\xdd\x7b\xfd\xea\x7f\x32\x47\xaa\xe1\xb0\xc3\x59\xf5\x7e\xc0\xf5\xf3\x5b\xe7\x31\x8d\x47\x4d\x23\x9a\x3d\x01\xb3\x34\x67\x27\x07\xe1\x13\x9a\x04\x61\x67\x94\x56\x5d\xdc\xde\xc6\x39\x80\xee\x3d\x9c\x5a\xb4\xc1\xb0\xee\x73\x4f\xc1\x8a\xfd\x87\xd6\xb4\xff\xcd\xfe\xd6\x3a\x05\xeb\x6f\xa5\x9c\x4c\x4a\x0b\x60\xdf\xcb\x29\x6e\xdf\xb7\xeb\x30\x39\xc4\x32\x15\x9a\xd9\xc2\xd1\x3d\x01\x25\x5a\xe8\x7a\x00\xf5\xaf\x26\x0e\x99\x5b\x81\x5d\x24\x4d\x69\x89\x50\x75\x49\x42\xf3\x92\x00\xdc\x41\xa8\x6e\x93\x82\xa7\xf5\x30\xa4\x81\xd6\xbe\x0b\x61\x9e\x70\xd4\x1b\xed\x99\xbb\xa6\xca\x7b\x46\xc8\x6d\x81\xce\x32\x25\xb3\x4d\x72\xe8\xf6\x02\xea\x97\x22\xa0\xee\x0d\x25\xbe\xd7\xf5\xc4\x4e\x2f\x15\x3e\x8e\xb0\x79\xa6\xee\x56\x46\xd5\xcc\x36\x66\x46\x64\x4e\xb3\x65\x3c\xa2\x31\x56\xb3\x5c\xe7\x65\xc6\x29\x1f\x59\xa8\x3b\x59\x68\x05\x41\x2c\x77\xbc\x90\x8e\x86\x21\x81\x87\x9a\x5e\xd7\xc8\x4b\x2c\x78\x85\xc9\x71\x44\x28\x73\xa1\xcf\x97\x26\xe2\xca\x9e\xaf\xd2\x5d\xf5\xf4\xbb\x8b\xd7\x3d\xe7\xb2\x30\x8c\x9b\xf9\x9f\x6d\x53\x50\x65\xbd\x0a\x0a\x14\x06\x6c\xd7\xae\x74\xe3\x78\xd0\x9d\x14\xf7\x47\xf7\xba\xb8\x95\x6a\xd4\x75\x2b\xd2\x25\x53\xc1\x11\x20\x23\x1f\x7d\x05\xff\x59\xff\xda\xfa\xfc\xed\x96\x95\x90\xee\xc7\x82\x62\xf7\x63\x5e\xe1\xdd\xd8\x28\xdf\xb7\x8e\x18\x59\x75\x55\x5a\x1f\xc9\x9f\xc5\xf4\x0a\x8e\x57\xcd\x99\x3b\x33\x87\x70\x02\x9d\xdc\x01\xe4\x39\x3a\x8c\x2d\xf6\x1b\xad\xfa\xab\xea\x11\xb8\xce\xad\xa6\xf3\xbe\x09\x2c\xc1\xfe\x54\xe1\xa9\xd2\x05\x73\x2c\x32\x08\x89\x3b\x38\x60\xf3\xed\x05\x6e\x5f\x57\x59\x0b\x5a\x9f\xc5\x15\xb6\xe3\x5a\x3b\x8f\xf7\x40\x02\x46\x14\x9f\x14\x1b\x8c\xc3\x7a\xec\x8b\x88\xff\x01\x74\xf3\xb5\x8a\x88\x63\x96\x5b\x63\xa3\x77\x6f\xfd\xf5\x02\xc1\xde\xee\xbb\x17\xab\x5b\xda\x7d\x9f\x81\xe0\xfc\xcc\x8d\xbb\x31\xbd\x7f\x1c\x49\xfb\x5c\xa7\x02\xff\x68\x2f\x70\x37\xdf\x69\x14\xb6\xae\xc3\x04\x55\x89\x69\xb1\x54\xce\x31\x7f\x15\xc2\x30\xe9\x8e\x7a\xa7\xe6\x79\x2d\x86\x6d\xb1\xa0\x84\xd6\x2a\xec\xf2\xe7\x95\x52\xd3\xcf\x8d\xe6\x2c\x15\x49\xc6\x0b\x27\xfa\x03\x12\x94\x93\x00\xea\xd2\x4e\x22\xd2\xd8\x54\xa1\x8b\x42\x98\x1c\x22\x30\x89\xb5\xd4\xba\xf4\x96\x27\x63\x8b\x12\x4e\x64\x03\xc3\xc8\x1f\x34\x26\x11\x6f\x2d\xe1\x66\x21\xfe\xcc\x2e\x24\x37\x22\xfc\x41\x4b\x55\xb3\xe2\x5c\x6d\x82\x4d\xcc\xa5\x5d\x8e\xb7\x4d\xfd\x95\x50\xa7\x65\xee\xc8\x6b\x55\x59\x9e\x72\xf8\x9e\x83\xb4\x13\x75\x2e\xeb\xad\x67\xa6\xd2\xfc\x7d\x8d\x09\x0d\x75\x31\x90\x69\x2a\xa0\x42\x2f\x5c\x11\x27\xd8\x76\x62\x40\xe7\xb4\xfa\x09\x9c\x41\x1b\x4c\xb7\x94\xab\xf8\xef\xc7\xfe\xe9\xcc\xb4\x3e\x56\x45\x59\x3f\xf3\x54\x5a\xd2\xf7\xea\x50\x36\x6f\x56\x67\x09\x81\xd9\x99\xf8\x7e\x51\xe8\xff\xc4\xbc\xfd\xa5\xf0\x4e\x3c\x6f\x98\x32\xa4\x82\x84\x83\x1c\x5f\x0f\x65\x12\xb7\xb1\x5b\x0c\x04\x23\x69\x88\xee\xca\x4c\xef\x8e\x54\x43\xaa\x0d\x2b\x8d\x17\xae\x62\xfb\x74\xd4\x23\xe5\x13\xb9\xd6\x58\x4b\xa9\xc3\x4a\x95\x09\x43\x7c\x01\x04\x52\x91\x61\xfe\x10\x94\xf0\x44\xb3\x4c\x8a\x86\xef\x80\xfd\x35\xe1\x79\x0e\x05\x49\xf4\x10\xbf\x04\x60\x73\x76\x6c\x7a\xec\x5c\xdb\x50\xfb\x1b\x8d\xe0\x98\xed\x90\xf0\x2c\x24\x42\x0d\xe5\x68\xc2\xf3\x50\xc6\x12\x99\x8b\xfb\x82\x8f\x5a\xf6\xe9\xc3\x93\x76\x8c\xa6\x95\xb0\x5d\xcb\x04\xea\x30\x41\x9e\x87\xc8\x0a\x34\x67\xbd\x96\xf1\x9b\x6a\x77\xfc\x76\xc0\xee\x47\x39\x1d\xc0\x42\x61\xad\xef\xc7\xda\x10\x4c\x24\x5d\x4d\xc7\xcd\xdc\x75\xa2\x13\xe1\x1f\xc3\x68\xc0\x78\x1e\x8d\xd5\xeb\x07\x22\xc5\xd5\x5e\xf2\xe5\xf0\x16\xee\x07\x5e\xd9\x52\xcd\xbc\x4d\xa2\x30\x9d\x2c\xf8\x20\x1a\x44\xa4\x89\xfa\x40\xc6\x2b\x0d\x01\x3a\xa2\xf9\xac\xe9\x23\xa8\x15\xfa\x36\xc2\x96\xb4\x34\x18\xef\x4e\xc7\x4b\x52\xcd\x81\xe2\x56\xa4\x01\x2d\xb0\xc7\x2e\xdc\x20\x83\x5e\x5f\x88\x8c\x03\x8e\xa1\xd7\xfd\xdc\x67\xbd\x67\xcf\x7d\xe4\x65\xaf\xf7\x12\x81\x08\x74\xc1\x8c\xe5\x05\x21\x68\xba\xe7\x3b\x56\x97\x7e\x16\xd3\x6b\x1d\x97\x1e\x65\x9b\xa8\x4b\x7b\x2b\xce\x8c\x15\xc7\x7c\x76\x3b\x61\xdb\x12\x66\x0b\xc9\xfb\x63\x10\xf5\x67\x48\xca\xab\x79\x3f\x6e\xbe\x29\x51\xfb\x16\x55\x6f\xab\xf4\xbe\x09\x54\xd2\x72\x47\xca\x27\xd5\x19\x61\x59\x2e\x8a\x89\x84\x54\x2b\xc3\xb4\x62\x09\x80\x2b\xa7\xb4\xa2\x83\x50\xf5\x2f\xca\x51\x55\x4c\x27\xd6\x1b\x9d\xd8\x40\xd8\x7b\x21\x14\x7b\xf5\xea\xd5\x2b\x98\xcf\xab\x1f\x7e\xf8\x81\x41\x42\x47\x2a\x12\x39\x99\x6d\x08\xad\xbe\x7b\xfd\xba\xc7\xfe\x7e\xfc\xfe\x1d\xe3\x09\xdc\x47\x36\xd0\x8e\x46\x41\xcf\xae\x41\xed\x65\xd3\x61\xff\xfb\xea\xc3\x79\x55\xe4\xa3\xfe\x2b\x68\x59\x61\x7a\x75\x78\xd1\x57\xdf\x7f\xfb\x6d\x8f\x9d\xca\x02\x8c\xdc\x92\xbc\x22\x74\x36\x80\x2e\xfa\x58\x07\x3e\x1c\x22\x67\x80\x4c\x5b\x47\xd4\x31\x29\x94\x24\xbd\x89\x1c\x8d\x2d\xe5\x1c\x3b\x86\x9c\xc9\x84\x48\x29\x16\xe3\xc6\x3b\xef\xe3\x27\xa0\xaf\xea\xb4\x4d\xa0\x90\x77\x26\x6f\x05\x1b\x9a\x9f\x9c\x82\x8c\x6c\x06\x29\x18\xc0\x7c\x92\x7b\x17\x3b\xab\xf6\xca\xcc\xc4\x2e\x6c\x98\x6f\xb6\xae\xa5\x6d\xcf\xfc\xf7\xcc\x7f\xcf\xfc\xff\xdc\xcc\x1f\xe1\x17\x96\x31\x7c\x5f\x78\x9a\xe7\x79\xe6\x51\x99\x02\x6e\xc3\x6c\xed\xb2\xa2\x54\x9e\xfe\xf2\x96\xd5\x49\x79\x31\x5a\x45\xab\x8e\x8b\x11\x60\x22\x07\x23\x96\x50\xb6\x98\x82\x8d\x1b\x03\x95\x52\x9d\xdc\x8a\x82\xc9\x09\x1f\x89\x97\x86\x9d\xbc\x07\x75\x1f\xd8\xa0\x1c\x06\xad\x2b\x86\x60\xef\xb1\x4f\xe4\xcf\x8e\x31\xb3\xff\xed\xe0\xd3\xf1\xe5\xaf\xe7\xc7\xef\xcf\x0e\x81\x6d\x08\x28\x31\x25\xd2\x48\xf4\x08\x93\x7f\x59\x73\x8f\x13\xc5\xf0\x4e\xf2\x28\x48\xa8\x10\x46\x67\x77\x9e\x6c\x55\x86\x45\xba\xc2\x52\xe5\xa5\xf5\x6e\x01\x4f\xc8\x4a\x95\x8c\xb9\x1a\x09\x8a\xc3\x8a\x87\x65\xa6\xca\xf2\x07\xcf\x4d\x84\x49\x78\xee\x05\x18\xce\x52\x5d\xba\x8f\xff\xdb\xbf\x75\x98\x14\x6f\xd8\xbf\x45\x2f\xf6\xd8\x19\xb5\x8d\xe6\x8b\xa4\x4f\xdc\x89\x02\x3a\xa3\xd9\x76\x58\x21\x46\xbc\x48\x81\x50\xe9\x61\xed\x04\x87\x09\x02\xae\x87\x71\xe7\x58\x69\x3b\xd7\x95\xd0\xee\xca\x5a\x6e\x6e\xcd\x91\x54\xee\xc8\x76\x53\x6e\x79\x37\x3a\x6a\x48\x94\x44\x37\xd1\x93\x09\x57\x69\x97\xd3\x41\xe8\x86\x5d\x38\xfa\x8a\x80\xa2\xbb\x3c\xb4\x92\xaa\xcb\xbb\x66\x2c\xb2\xec\xa9\x61\x00\x69\x04\x2b\x8e\xf3\x59\x38\xbd\x0c\xfa\x02\x0b\x01\x13\x0f\x22\x29\xbd\x30\x0a\xf7\x07\xa6\x30\xf7\x80\x9f\x9d\x5f\x5f\xfe\xfd\xe2\x43\xff\xfc\x7a\x7f\xce\xf7\xe7\xfc\xe9\xcf\xb9\x50\x77\x2d\xd3\x78\xe6\x07\x2e\x91\x6e\xe2\xeb\x76\x54\x38\x40\xb3\xcb\xbb\x5b\x29\xe6\x4c\xdd\x7d\xe2\xc5\xa3\xa4\xb4\xaa\x99\x0a\xcf\x9b\xa7\xb4\x0a\x75\xf7\xb6\xd0\x93\x96\x6b\x4c\x1e\xf9\x5a\xd0\xd8\xfc\x75\x9f\x5d\xf0\x10\xe6\x4b\xc2\x47\x44\x7d\xd0\x06\x39\x09\xd0\x45\x27\xbf\xf6\x4f\xcf\xce\xaf\xfb\x6f\xfb\x67\x97\x3d\x76\x9c\x65\x4c\x2a\x88\xde\xad\x0b\xe1\x85\x20\x40\x23\x0e\x75\x1c\xc5\x9d\x1b\xc2\xfd\x58\x34\x3e\x0d\x82\xb5\x93\x58\x41\x03\xfb\xc5\xfd\x8e\x02\x37\x5d\x38\xa9\xd8\xa4\xcc\xac\xcc\x33\x6f\x0e\x35\x9d\x4a\x23\x88\xeb\xa3\x84\x00\xe4\x8c\x1b\x5b\x99\x4e\xb3\x8c\x59\x7e\x0b\x22\x7d\x22\x52\x47\x07\x42\x60\xb4\x9f\x2b\x56\xc4\x39\x53\x77\x81\xae\x94\x78\x25\x51\x1d\x99\xdf\xc7\x13\x1c\x51\xb7\xf7\x64\x8b\xd9\xe6\x96\x02\xb7\x58\x55\xb4\x27\x62\x2c\xa0\x8f\xad\x2d\x6a\x57\x05\x1a\x8e\xa0\x17\xb3\xa0\x0e\x0a\x98\xba\xb3\x4c\xdf\xb3\xb1\x1c\x39\x32\x9b\x89\x3b\x91\x79\x77\x6a\x64\x34\xb1\x3a\x18\xbb\x75\x01\x61\xe6\x85\x4c\x6b\x27\x07\x3f\x23\x15\x73\xd2\x7d\xa6\x39\x6a\x8d\x58\xf0\xcb\xa0\x16\x7e\x2a\xf2\x4c\x4f\x27\x54\x63\x3f\x65\x57\x96\x5b\x31\x2c\xb3\x2b\xb1\xb0\x16\xfd\xd2\xd8\x15\xf7\xc9\x8b\x32\xcb\x2e\x74\x26\x93\x55\x6e\xdb\x3e\xac\x66\x5e\x66\x19\xcb\xa1\x7d\x8f\x7d\x50\xa0\xd4\x1c\x67\xf7\x7c\x6a\x3a\xec\xdc\xf1\xa2\x0e\xeb\x0f\xcf\xb5\xbd\xf0\x3a\x67\x6c\xd6\xc0\x86\x8e\xab\xbf\xa1\x60\x20\xcb\x47\x35\x65\x14\xc0\x3c\xe2\x0e\xd0\xb4\x70\x2f\xcd\xdc\x43\xba\xf5\xb6\x7e\x05\x3d\x39\x0e\x84\x7f\xaf\xbf\x88\x99\x1c\x8a\x64\x9a\xcc\x46\xe9\xb7\x07\xbf\x0a\x3d\x2c\x8b\xd0\x38\x4e\x22\x4b\x0d\xf8\xfc\xaa\xc3\x45\xd8\x6b\x14\x89\x05\x97\x5b\x2a\x86\x4e\x72\x23\x28\xd1\x8b\xce\x59\x18\x2f\x12\x31\x33\xf7\xee\x2f\x98\xe9\x9d\x50\xc2\x98\x8b\x42\x0f\x36\x9f\x2d\xbe\xbd\x6c\xa6\x17\xa2\x90\x3a\xc5\xca\x33\x03\x0f\xba\x12\x46\x8f\x63\x00\xa3\x25\x3d\xab\x68\x34\x90\x5e\x2f\x36\x0a\x7a\x7f\xc8\x65\x36\x77\x96\xeb\x1e\x1e\x7f\x2f\xcd\x51\xae\xf1\x7f\xba\x61\x31\xbf\x0a\x43\xec\xc2\x57\xcd\x4e\x2c\x05\xd5\xbc\x2b\x6b\x0d\x98\x9b\x4e\xcf\xaf\x7e\x7d\x77\xfc\xe3\xd9\x3b\xca\xac\x89\xc8\x08\xe9\xa8\xc8\xe2\xc6\xfc\xce\x31\x39\xaa\x5a\x07\x96\xa9\x83\xf0\xee\xe1\x6a\xb2\xdf\xe6\x02\x38\xc6\xd8\x36\xff\x19\xda\xba\xf3\x28\x1e\x72\x6d\x44\x15\xdd\x15\x31\xef\x33\xf7\x13\x06\x45\x82\x0d\x1a\x20\xf0\x46\xf2\xce\x63\x6f\xe1\x59\xaf\x72\x9a\xe6\x40\x1a\xb9\x76\x4a\x58\xb7\x61\x1e\xe7\x0d\xee\x4e\x84\xce\xe8\xf4\x0b\xd3\x61\x83\x12\x8d\xe6\x85\x9c\xf0\x42\x22\xc0\xa0\xef\x8c\x67\xa8\xc3\xe0\xda\x4f\x9b\x43\x3a\xfd\x70\x76\xc5\xce\x3f\x5c\x3b\x3e\x7a\x27\x3c\x9c\x3d\xfc\x0e\xd3\x1a\x08\xf7\x06\x4e\x34\xed\xb1\x63\x35\xc5\x1f\x83\xb9\x0d\xcc\x75\x10\xfe\xa9\x55\xcd\x1b\x7a\xf3\xe2\x55\x0f\xfe\xef\xe6\x85\x9b\x67\x01\xa6\x35\x65\x1c\xbf\x88\x67\xe0\xcf\x3d\x4f\x12\x61\x8c\x74\x72\x7d\x58\x4f\x9a\xfd\xe3\x33\xf6\x70\x0d\x2f\x74\x61\xb7\x17\x41\xdd\x9a\x74\x27\x3c\x77\xf2\xa7\xa9\x45\x0a\x30\x46\xa5\xa5\xab\xaf\x35\x12\x19\xf3\x42\x5b\x9d\xe8\x2c\x1e\xc5\x3f\x57\x7c\xca\x8f\x6b\xd2\xcc\x9f\x58\x25\x18\x2f\x1e\xc9\x16\x12\x72\x21\x78\x2a\x3f\x37\x89\x35\x08\x36\xc7\xc2\x60\xe6\xd3\x5a\x2c\xe6\x04\x07\xce\xbf\xe1\x43\x34\xcd\xf3\x25\xc0\x55\xa4\xef\xa6\x8b\xeb\x03\x87\xa8\x12\x04\x08\x63\x4b\xd7\xfa\x44\x4f\xf2\xd2\x0a\xe6\x5f\x8c\x22\xa2\xbc\xcf\x66\xa9\xae\xb8\x81\x8c\x53\x05\xc1\x1d\xa1\x94\xd0\x0d\xf3\xee\x46\x22\xd0\x42\x34\xcf\xb2\x90\x76\xea\x36\x5d\x3c\xd8\x6d\xb0\x95\x6b\xfd\x2c\xcd\xe9\xa2\xb6\x91\x3f\x4a\x00\x17\x23\x91\xc6\x5b\x60\xd7\x5e\x0c\x94\x54\x8f\xfc\x9c\x60\xf6\xe2\xc1\x1e\xad\x65\xdf\xf0\x2b\x2a\xba\xee\xc8\x55\xd6\x8b\x99\x5e\x17\xe2\xe3\x15\xb6\xcc\x1f\xfb\x4e\x5f\x45\x9f\x61\x52\xa5\xa0\xf2\x45\xf2\xe2\x85\x4e\xd9\x98\x1b\x66\x4a\xe0\x17\xc3\x32\x03\x76\x27\xad\xe4\x99\xfc\x9d\xca\x34\x46\x82\xb8\xd2\xe4\xd6\xc3\xfb\x44\x26\x35\x32\xe7\x95\xca\xca\xcc\x1f\x5e\x2c\x31\x59\xef\x99\x8a\x3e\x02\x6f\x0d\x44\xa0\x13\x06\x32\x23\xb3\x75\xd8\x7f\x02\x44\x72\xa0\x1d\x35\x69\x13\x5e\x47\x83\x9a\xfb\x22\x9a\xcf\xbc\x43\x98\xac\x82\x2c\x95\x43\x74\xac\xd0\x27\x23\xd0\x57\x5a\x82\x81\x18\x49\x2c\xc0\x07\xd0\x91\x17\x3a\x7d\x69\x2a\x81\xb8\x83\x0a\xbd\xb4\xe4\x35\x05\x39\x9a\xb3\x4c\xab\x11\xe4\xab\xba\x6f\x81\x5e\x06\x89\xb0\xba\x60\xf7\xbc\x98\x38\x8e\xcc\x93\x31\xe4\xbc\x72\xe5\xf3\x7f\x8d\x15\x3c\x9d\x76\x8d\xd3\xcf\x3c\xee\xb1\x56\xd5\xf0\x3f\x3f\x21\x34\x36\x95\xab\x62\x28\x7f\x09\xa6\xc3\x98\x46\xf9\x3b\xe9\xd4\x5e\xb0\x2a\x70\x36\x28\xdd\xca\x63\x5d\x47\xd7\xef\x8c\x49\xc6\x5d\x60\x4c\xf9\xed\xd7\x2d\xba\x46\xd8\x0e\x70\x1a\x8a\xf4\x5f\xf0\x3a\x1c\x17\x8e\xda\x23\x79\x9e\xa5\x62\x67\x1f\xde\x56\xd0\xa7\x4e\x3b\xe7\x99\x59\x84\xb9\xb9\x1c\xc0\xd8\x7d\xf5\x83\x5a\x19\x19\xfb\x4b\x64\x4b\x9d\x99\x5b\x48\x84\xc9\x34\xe5\x9f\xe3\x64\x92\x31\x57\x4a\x64\x8c\x0f\xad\x93\xcf\x2d\x5c\xc2\x81\x10\xca\x1d\x0c\x6f\xb0\x09\x1e\x29\x6b\x79\x32\x26\xd3\x11\x2d\x86\x81\xa4\xea\xa8\x47\x63\x0b\xc1\x27\x3e\xdb\x71\xc2\x25\x76\xc5\x78\x52\x68\x63\x2a\x0b\x13\x76\xe6\x41\x69\x0d\x5e\x70\x3f\x55\x86\xb1\x02\x55\xce\x76\xf8\x1a\x0d\xab\xe6\x13\x83\x5b\xda\x09\x15\x4a\xc2\xfd\x17\x6c\x28\x0b\x63\x7d\x42\x06\x7e\x91\x6c\xa1\xae\xbf\x10\x30\xa0\x68\xa4\x86\x86\xaa\xd2\x10\x43\x01\xd7\xa9\xea\x90\xba\x4a\xa5\x21\xd1\xdd\x74\xdc\xfd\x45\xb1\x19\x17\xda\x8f\x14\x96\x3a\xf5\x95\x37\xa1\x77\x7a\x14\x75\x17\xdb\xe6\x02\xb9\xa9\x0e\xe2\x30\x43\x13\x04\x1c\x9e\x4e\x4d\xc0\xa6\xd4\x7d\x4f\x44\x67\x8e\x69\x64\x80\x2f\x44\x22\xd0\xa7\x3d\xff\x54\x6e\x70\x28\xb1\x12\x32\x10\x0e\x82\x7b\xbd\x58\xa7\x1e\xd3\x05\x44\x89\x84\x75\xf3\x31\x1d\x56\x47\x4f\x62\x77\x48\xf4\x39\x46\x20\xb4\x81\x4a\xdf\x17\xd2\x5a\x01\x4b\xee\x4b\x3b\x85\x58\x84\xb8\x8f\x0a\x07\xbe\xc7\x3c\x44\x6d\xf4\xae\x54\x56\x80\x43\x06\xc1\xdb\x07\x85\x14\x43\x36\x94\x4e\x87\x43\x14\xd3\x8e\x63\x21\x63\xb2\xb1\x72\x63\x44\x01\xc3\x71\xc4\xbf\x2c\x84\x1f\x56\x8f\xfd\x42\xe3\xb2\x45\xa9\x10\x2b\x8d\x70\xe6\x95\x4e\x85\x63\x20\x23\x08\x08\xa2\x9a\x53\xdf\xbe\xfa\xeb\xf7\x80\x13\x61\xd0\x32\x6c\xb5\xe5\x59\x98\x63\x26\xd4\xc8\xad\x14\xde\x1d\x08\x50\x0f\x12\x52\x58\x80\x4c\x4e\x24\xc1\x14\xbc\xfe\xfa\x76\x50\xb7\x6a\x1d\xa5\xe2\xee\x28\x5a\xbe\x6e\xa6\x47\xbb\x51\xad\xe7\x1c\x81\x56\x96\x3a\x62\xfe\x6c\xac\xef\x31\x50\x6d\xce\xde\x12\xb5\x72\x7c\xd2\x47\x8c\xf5\xa0\x44\x1b\x4e\xda\x63\x68\xd4\x62\xde\xe6\x9e\xc8\x99\xb4\xee\x1a\xd5\xb0\xa5\x09\x9f\xd4\x0a\xe3\xa5\x48\x4e\x80\x7b\x4b\x7b\xdb\x63\x6f\x79\x96\x0d\x78\x72\x7b\xad\xdf\xe9\x91\xf9\xa0\xce\x20\xb0\xa4\x36\x16\x30\x85\x27\xe3\x52\xdd\x36\x8c\x42\x7a\xc4\x74\x69\x73\xa7\xcb\x0f\x17\x4e\x78\x48\x35\xae\x90\x80\xf9\x38\xa6\xaa\x17\xf1\x20\x83\xe1\x9d\x13\xfa\x33\x1e\x98\xb8\x7f\x13\x9f\x85\xaf\x5f\x7d\x8b\x08\x24\xe0\x4a\xfb\xcb\x2b\x96\x39\x85\xa9\x83\x37\x4c\x50\xdd\x78\x33\xe1\x59\xe6\x44\xfb\xf8\xcc\xb8\x85\xde\xd1\x19\xb1\xab\x8e\x43\x6b\x36\x7e\x7d\xfd\x77\xe0\xe1\xd2\x1a\x91\x0d\x3b\x58\xaf\x22\x44\xaf\xbd\x04\xa2\xf7\x92\x2e\xaf\xe3\x19\xbb\x61\xbe\x18\x53\x74\x2a\x9c\x0a\xb9\xca\x8e\x54\x6b\xdb\xcc\xa8\x1c\x64\x3a\xb9\x65\x29\xfd\x88\xc3\x04\x19\x91\x88\x43\xa5\x65\xed\xd6\x04\xf2\x29\x1a\xd4\xa3\x38\xe1\x70\x4a\x40\xfd\x77\x64\x68\xb8\x8b\xca\x45\xac\x58\x72\x27\xad\xfb\xb0\x50\x5f\xfb\x63\x35\xf5\x7f\x6c\xb3\x53\x54\xef\xe2\x51\x96\x1c\xa6\xb9\xcb\x15\xa7\x90\xad\x53\xd9\x02\x7f\x3e\xac\x28\xbd\xc4\x52\x0a\x04\x9d\x56\x68\x3b\xf5\xb8\xc1\x19\x61\xf4\xa5\x09\xd6\xc4\x10\x96\x60\x5c\x6b\x64\xfe\x21\x2c\x34\xa8\xb6\xe9\xac\xd0\x0d\x1e\x91\x2d\x88\xd4\x4c\x28\xd7\xe2\x0c\xa0\x5d\x24\xf4\xe0\xa8\xfb\x0d\xf7\xe0\x8c\x6b\x10\xfe\x1c\xd4\x2d\xa9\xe8\x53\x5c\x19\xd4\x85\xa1\x75\x2d\x92\xe7\x1c\xc5\xf1\x52\x96\x93\x7b\xc0\x73\x26\x0d\x03\x84\xfa\x1e\x13\xbd\x51\x8f\xfd\xe3\xe6\x85\x9b\xc4\x28\x29\x9c\x7e\x37\x9e\xe6\xa2\x70\x67\xeb\xcd\xdd\xeb\xde\xab\xde\x0f\x88\x70\x8f\x01\x32\xe3\x72\xe0\x9a\x8c\xb4\x1e\x65\xe2\xd7\xc8\x7e\x33\xfb\xd2\x3f\x9f\x3a\x66\xc2\xc8\xdf\xc5\x8f\x8e\x01\xb6\x40\xca\x70\x6d\xbd\x67\x83\x96\x44\x91\x5c\xb6\x24\x56\xf8\xfb\x6f\x37\xae\x4d\xb1\x24\xe3\x6c\x77\x07\x0e\xec\xbf\x4b\x33\x75\xab\x76\x71\x99\x13\x1e\x3c\x14\xe0\x15\xc0\xe8\x04\x54\x02\xe7\x30\xaa\x85\x67\x32\x59\x30\x8e\xb9\x67\xb3\x9c\x0c\x44\xe1\xfd\x30\x91\x1b\x86\xfc\x0f\x39\xd8\x43\xfa\x17\xde\xe9\xe0\x63\xc8\x43\xb0\x04\x06\x46\xc0\xcb\x0a\xfa\xea\xb0\x57\x54\xb7\x84\x3d\xf8\x7f\x7c\xff\xdd\x77\xdf\x7c\xbf\xf3\xe8\xef\xb1\x36\xb6\x7f\xb1\x52\xd2\xe1\x16\x6b\x4d\xf5\x2f\x40\x00\x90\x24\xe5\x89\x07\xc2\x9c\xa0\x89\x6f\x20\x67\xb9\x6e\x77\xb0\xc6\xae\x9b\xd9\xc8\xef\x4d\x57\xd9\x75\xf4\x37\x6d\xec\x39\x1d\xa5\xba\x2b\xbd\xea\x77\xe2\x58\x15\xab\x9d\xc5\x1e\x7b\xaf\x8d\x8d\x95\x1d\x2a\xaf\xac\x84\x13\x6e\xc7\x72\xe9\xad\xdc\x68\x0f\x5b\x78\x3f\x97\x2d\x8c\x62\xfd\xe3\xf3\xe3\x5f\xaf\x3e\x9d\x40\x50\x1c\x05\xbd\x83\x67\x33\xce\x8e\xd0\x29\x39\x45\xdd\xe7\xd2\xe8\x76\x2d\xf1\x8a\xf6\x18\xb8\x5d\x7d\xde\x3b\x6e\x9d\x3b\x4c\x64\x6a\x84\xa8\x3b\x5f\x76\x6c\xea\x1d\x1e\x9b\xc4\x5c\x04\x27\xd5\x0a\xa9\x8b\x9a\x11\x5a\x6b\x11\xa5\xb2\x7c\x3c\xbd\xe8\xb0\xeb\x93\x0b\x08\x95\xb8\x3a\xb9\xbe\xa8\x6b\x16\x37\x2f\xae\x4f\x2e\xda\x57\x41\x69\x49\x34\x93\x79\x6e\xbe\xed\x89\x27\x04\xb0\xb4\xa1\x9e\xd0\x90\x30\x6d\xdd\x4e\x92\xbf\x93\x0c\xac\xc3\xd8\x83\x02\xa5\xd1\x34\x46\xa6\x48\xeb\xb4\x4f\x77\x87\x10\x58\x64\x10\xe5\x4e\x90\x2c\xa5\x3c\x4f\x9a\xcc\xdc\x9e\xca\x23\xeb\x5a\x49\xc3\xea\xc3\xf9\x85\x4b\xdb\x2e\xf1\x89\xa2\x1c\x37\x36\xfe\xd7\xbf\x7b\x49\xbd\x2d\x73\x06\x9c\x0a\xcb\x65\x66\x42\x89\x1f\x1a\x41\xb5\x4e\xcb\x0d\x0e\x62\x26\xda\x77\xc3\xb1\x5e\x57\x1d\xae\x33\xdc\x6a\x1c\xab\x46\x7c\x8f\x9b\xb0\xa3\xe1\xd2\x96\xae\x35\x56\x1a\xc1\xdc\x81\xce\xdc\xae\xad\x2e\xca\xe5\xcc\x31\x5a\x7e\x5f\xa8\x3d\xc1\x4e\xd1\x1f\xe1\xca\xf0\xb5\xe4\x0c\xb2\x9b\x1e\xaf\xed\x0f\x5c\x82\x4c\x73\x2d\x9b\xc1\xa5\x4d\xa9\x51\x4e\x44\xdd\x86\x19\xb9\x04\xb8\x41\x83\xd0\x41\x21\xba\x87\x34\xbc\x47\x5b\xfa\xeb\x79\x17\x63\xf9\xea\x57\xaf\xe0\x06\x44\x67\x7a\xc3\x3d\x08\x6d\x57\x96\x22\x8c\x95\xc8\xfe\xa9\x57\xed\x90\x83\xb3\x97\xa8\x56\xbc\x39\x3a\x42\x59\x22\x74\xfb\xab\x4c\xb1\x32\xdd\xcb\xf5\xf9\x9a\x78\x90\xf6\x64\x75\x62\xe7\xd9\x83\xb4\xde\x2c\x18\x82\x55\x60\x1b\x63\x93\x5d\x33\xfc\x69\xd7\x82\x88\x3b\xa7\x66\xfc\x9c\x4e\x73\x6d\x09\x6a\xe7\x38\x1a\xf6\x7a\xb5\xe1\x30\x0d\xc0\x67\x3e\xac\xb9\xc6\x2d\xab\x9e\x9a\x95\x38\x2c\x07\x60\xe5\x3f\x64\xd8\x78\xe3\x3d\x6f\x55\x87\x4e\x8e\x5a\x24\xb0\x41\xa3\xcf\x78\xf6\x9e\x01\x21\xcd\x0b\x71\x27\x75\x69\xc8\x9d\x3f\x6f\xd6\xac\x05\x41\x9d\x2f\x29\x06\x42\xb0\x5b\x21\xf1\x97\x19\x3e\xbf\x9c\xfa\x52\x7b\x24\xbd\x9e\x45\x6f\x48\x77\x37\xbd\x77\xf7\xe3\xe9\xac\x0b\xd2\xa9\x58\x53\x61\x3d\x3f\xde\x08\x08\x69\xfd\x7b\xb7\xab\x61\xec\x94\xab\xae\x28\x33\x58\x6b\x59\x01\x9b\xa5\x24\x7f\x85\xca\x4b\x65\x01\x41\x1f\x26\xaa\x30\x59\x8b\xa9\x7a\x4e\x8c\x75\xd3\x28\xfd\x16\xe6\x35\x34\xa9\xcd\xba\xbc\x69\x83\xb7\x0e\x95\xdf\x70\xe4\x2b\x97\xb4\x8f\xad\x66\x48\xd0\x4b\x32\x9c\x6e\xb0\x64\x8e\xa8\x37\x55\x4b\xb6\x85\x5a\xb0\x86\x3e\xd0\x9c\xc2\x0c\x7f\x09\xb5\xc3\x16\x44\xd9\xb7\x30\x92\x34\xac\x72\x9b\x07\x83\xef\xc6\x03\x59\x08\x9e\xae\xf2\x41\x5e\x85\xfa\xc9\xf7\x73\x63\x68\xc6\xdc\xb0\x9c\x1b\xc8\xf9\x04\x40\x4f\x8a\x3d\xc5\x50\xae\x4d\xdc\x8a\x14\xea\x71\x02\x2e\xa2\xd5\xb7\x47\x05\xbb\x9d\x95\x13\x61\xe6\x0c\x0f\x42\x76\xa2\x78\x35\xa2\x3b\xd9\x94\x2a\x52\x13\x95\xad\x3a\x4a\x05\x4f\x63\xfb\x1a\x18\x94\x60\x13\x3c\xf1\xa5\x2e\x21\x94\x76\x1e\xa2\x56\xc2\xb3\x84\xc0\x5c\x40\x60\x69\xf4\xd8\x63\x3f\xc2\x89\xd3\x46\xc4\xdf\xe1\x85\x60\xa6\x44\x84\x55\xab\xd9\x88\x17\x03\x47\x19\x12\x9d\x65\x18\x08\x4f\x76\x5d\xcc\x39\x03\xf7\xd0\x48\x58\x96\xf0\x3c\xc7\x02\x0d\xdf\xb1\xc1\x94\xfd\x74\xb2\x73\xfb\x9f\x97\x29\x76\x7a\x54\x28\xba\x92\x0e\x0a\xeb\x57\x01\x8d\x80\xb1\x83\x51\x3d\x03\x91\x68\xd8\xd5\xa2\x14\x14\x88\x65\x6a\xe1\x92\x06\x6b\x92\xa4\xa2\x70\xea\x59\x88\x63\xec\xb1\x4b\x61\x44\x5c\xa7\x7f\x7e\xce\x5f\x74\x2c\x74\xc1\xe4\xd0\x17\x70\x61\x99\x36\xc2\x90\xdc\x61\xc5\x24\xd7\x05\xa4\x19\xf4\x58\xdf\xf8\x78\x36\x18\x13\x74\xab\xf4\xcc\xa8\x28\xa9\x6f\xb3\xa0\xb6\x67\x41\x00\x3d\x7b\x9e\x4b\xf7\x5a\xca\x94\x4d\x3c\x40\xa4\x38\x8b\x2e\xfb\x0c\xef\x9c\xc3\x92\xb6\x15\x4e\x4f\xb9\x98\x68\x75\x46\x01\xef\xcb\xfc\x8d\xb5\x86\x95\x14\x33\xaf\x0e\x37\xb9\x7f\xf0\x95\x10\x4d\xdf\x42\x7e\x69\xe1\x97\xb8\xa8\xdc\x09\x9e\xd3\x8e\xe4\x9d\x98\xf7\x99\x6d\x6e\x7b\xcb\x0d\xdd\x89\x15\xf9\x54\xdf\xab\x7b\x5e\xa4\xc7\x17\xfd\x56\x30\x8e\x97\x95\xf3\x2d\xa5\x57\xb1\xea\xa6\x1a\x6a\xb4\xb3\x53\x2f\x4e\x6d\x58\x80\xef\xb8\x1a\xf6\x30\xad\x46\xf5\xc4\xc0\x87\x1e\x65\xbc\x02\x93\x8f\x56\x08\x03\x26\x20\x46\x63\xb7\x91\x18\x33\xdf\x78\xeb\x3e\x11\x75\xd6\xce\xa7\xbc\xad\x62\x31\x7f\x18\x4b\xee\xe5\xbc\xf6\xb1\x7f\xb6\x81\x9d\x8c\x10\x63\x55\x1c\x65\x04\xde\xef\x73\x15\x20\x39\x78\xf5\x5e\x42\xb3\x4b\x58\xdd\xcd\x48\x33\xd6\xc9\x79\xeb\xba\x09\x65\x30\x96\xd1\x67\xca\x54\x49\xdf\xb0\xaa\x24\x46\x0d\xf8\x2a\xd7\xe9\x1b\x06\xd5\x9e\x40\x1a\x84\x39\x9b\x0e\x03\x64\x37\xd3\xc1\xb4\x41\xae\x52\x56\xc1\xff\xa2\x88\x91\x63\x4e\xfc\x02\x41\x76\xb2\x73\x98\x37\xaa\xa0\x96\x89\x4e\xec\x14\x7c\xee\xb8\x6e\xf3\x23\x76\x88\x34\x44\x90\x78\xb5\x40\x9d\x2f\x0f\xbe\x2d\x5f\x1d\xbc\x5c\x1d\x54\x88\x2b\x95\x86\xd1\x58\x09\x30\x0c\x30\xc1\x62\xf4\x6c\x1f\xd1\x3c\x10\x1e\x02\x90\xdc\xa4\xa4\xd3\xf0\x81\xd1\x59\x69\x85\x3b\x01\x73\x11\xc6\x2a\xaf\x6a\x69\x87\xdd\xbf\x30\xa1\x12\x9d\x7a\xe0\x16\x8c\x6c\x77\xf4\xb1\x42\xee\x8a\x47\x12\x8a\xc6\x35\x30\xca\x36\x87\xb6\x7e\xbb\x2d\x69\xb8\x8c\x3b\x6a\x45\x1c\x2a\x92\x10\x2a\x34\x34\x15\x71\xa2\x0d\x21\x85\x0c\x23\x60\x4d\x00\x89\x86\xca\x0b\x07\xf8\xb0\x97\xe4\x65\x87\x1a\xf4\x26\x62\xa2\x8b\x69\x27\x34\x72\x3f\xd6\xde\xa2\x16\x08\xd7\x53\xe9\x53\x73\x29\x4b\x4b\xc9\x22\x8f\xc0\xdc\x76\x21\x59\xb4\xc4\x10\x5d\xf0\x46\x3d\xe0\x87\xee\x7c\xc4\x3a\x66\xe4\x90\x5e\xe0\xd9\xac\x12\x20\x9e\x27\x1e\xa7\xd5\x10\x98\xdd\x0e\x7e\x93\xed\x11\x3d\xf7\x88\x9e\x4d\xb2\xb7\xa1\x54\x9b\xce\xde\x90\x2f\x57\xae\x3d\x9b\xe4\x76\x7a\x2a\x8b\x96\x74\x28\xd2\x71\xb8\xa2\x54\x87\x10\x3d\x0c\xe7\x93\x53\x84\x54\xe3\xa7\xc7\xa5\x34\x13\x91\xca\x72\x15\xf2\x13\x44\xef\xb9\xe5\x01\xf8\x27\xab\x0b\x3e\x12\x0c\xdf\x0c\xd9\x2a\x3c\xb9\xc5\x4b\x11\x85\x44\x5f\x47\xfa\x94\x34\xec\xe6\xc5\xcd\x0b\x1f\xe6\x2c\xb8\x0a\x84\xca\xe7\x07\x45\xa1\xd1\xd8\x79\x8d\xa6\xe0\x92\x11\xa2\xdb\x01\x35\x3c\x74\x84\xe4\x3d\xf0\xaa\xb5\xed\xe8\x34\x91\x23\x5a\xe0\xaf\xe0\x03\xa9\xdc\xc8\xbf\xf9\xbb\x78\xe7\x38\xeb\xd6\x9e\xc3\x9e\xe7\xe5\xbd\xff\x28\xb9\xb2\xd2\x4e\x97\x7b\x0f\x21\x61\x8a\x63\xe8\xbf\x1e\xb2\x4c\x27\x90\xb2\x85\x3b\x14\xb2\xd9\xd1\x21\x23\x0d\xf3\x67\x36\x28\xcd\x21\xfa\x17\x04\x03\xb8\xcd\x99\xd1\x1e\x7e\x13\x80\x2b\x1c\xe5\x84\x05\x0e\x9b\x72\x0d\x18\x37\x0f\x72\x52\x4e\x58\xe9\xf3\x87\x6a\x6d\xaa\x0f\xdd\xfb\x5c\x26\x00\xc6\x91\x0a\x5e\xaa\xd3\x7b\xf7\xcb\x95\x5f\xc1\x08\x4f\x05\xb0\x3c\x3c\x0d\x34\x25\xc8\x7a\xf4\x15\x92\x73\xa0\x4a\x71\x2d\x2d\x2c\x00\x81\x36\xcf\x9e\x92\x59\xfd\xe8\xf9\xe4\xeb\x30\xf1\x52\x79\x93\x5e\xf3\x20\xcd\x3f\x47\xa5\x11\x45\x77\x54\xca\x74\xce\x09\xda\x21\x95\x21\x23\xd0\x31\x06\xfe\x2e\x21\x30\x8d\x96\x14\xda\x52\xe6\x19\x59\x45\x52\x8a\xaf\x37\xde\x9a\x15\x85\x13\xaf\xa6\x13\x63\x6d\x6c\x2b\x07\x88\x80\xb0\xd7\x4a\x17\x80\x1a\xcc\x64\x8c\x5b\xdf\x4f\x95\xb7\xf8\x5e\xff\x62\xe6\x4b\x3d\xf6\x9e\xe0\x8b\x07\x82\x65\x5a\xe7\x40\x9e\x0e\x5e\x7f\xfd\x03\xc2\xb7\x1c\xfd\xe5\xd0\x31\x5b\x75\xdb\xc5\x1b\x73\xf0\xfa\xfb\xbf\xf6\xbe\xfe\xee\x5b\xf8\xed\xf5\xf7\x87\x60\x2c\x8e\x7e\x87\xc4\xdd\x04\x62\x9a\x0e\xbe\xfe\xfa\x5b\xea\xe4\xeb\x6f\x0f\x7b\xac\x7f\x71\xf7\x7d\x75\x6f\x40\x54\x71\x12\x42\x89\x0a\x08\xe6\xf2\x07\xb1\xd9\x5d\x14\x77\x62\xf3\x8c\x5b\xc7\xa5\x4d\x8f\x1d\x67\x46\x77\x58\x22\x0a\xd0\x81\xaa\x73\x06\xd9\xfb\x5a\x39\x86\x41\x72\x81\xfb\xad\x9b\x17\xfa\x61\xda\x09\x22\x09\x7c\x1d\x8c\xae\x9b\x94\x1d\xd2\xa9\x38\x5f\xbd\xa7\x95\x80\x78\xee\x84\x0e\x77\x12\x42\xd5\xf4\x6a\xc1\xe7\xe5\xff\xa7\x02\xfd\x6b\x31\x00\x09\x2e\x28\x18\xe4\x54\xcd\xc4\xd6\x7a\xd8\x08\xee\xbf\xbd\x9d\xe6\xd2\x03\x76\xae\xb0\xd1\x78\x64\x51\xab\x7d\x75\x3c\xc4\x35\xf0\x16\xa6\xca\x4e\xbb\xb6\x4e\x24\xf3\xad\x35\x22\x7f\xed\x57\x64\x3b\xc4\xcd\x96\x90\x86\x60\xea\x86\xc8\xe6\x36\x05\x2e\xf3\x8b\x76\x71\xd3\xee\xa6\xc6\xa8\xce\x79\x1c\x47\x8d\x70\x14\x10\x4c\x1d\xa1\xf9\x0d\x75\x96\xe9\x7b\x70\xd2\x60\x5d\xe9\x9f\xab\xdb\x01\x22\x0e\xa1\xb6\xf6\xd8\x47\xd5\xcd\x0b\x31\x94\x0f\x82\x6c\x61\x70\x41\x9c\xbc\x55\xdc\x11\xff\xeb\x1f\x9f\x1f\x57\x3d\x79\x60\x1c\x6c\x7c\xc0\x8d\x53\x73\xd8\xe5\xdb\x93\xee\xf7\xdf\x7c\xf3\x1d\x70\x1d\xa2\xfc\xf7\xf7\xf7\x3d\xc9\x15\xef\xe9\x62\x74\xc4\x8d\x91\x23\x40\xb9\x34\x47\xd4\x45\x17\xba\x38\xec\xb1\x73\xad\xba\xa1\x7f\x3f\xbb\x50\x84\xd3\xc9\x39\x8d\x21\xfa\x8c\xea\xc9\xd4\x5d\x75\xae\xa6\xbd\x44\x4f\x8e\x26\xd3\x6e\x52\x1a\xab\x27\x5d\xdf\x07\xad\x09\x6c\xda\x40\x04\x6c\x7c\xd8\x39\x69\xd8\xa8\xe4\x45\x5a\xe5\x52\x5e\xe1\xb0\x8e\xab\x8d\x61\x43\xc1\xa1\xd8\xda\x08\x92\x49\x55\xca\x84\x72\xac\x3d\x8d\xb5\xb7\x47\x29\xb2\x06\xee\xdb\x98\x13\xe0\x16\x47\xc9\x2b\x98\xfe\x00\x96\x1f\xd7\xf0\xa5\xc7\x71\xf4\x9e\x3c\x5f\x4f\xce\xdd\x35\x9a\xd9\x45\x2d\xe6\xbe\xe6\x64\xf7\x94\x0a\xcd\x22\x72\x08\xd1\xe1\x39\x9d\xf8\xe5\x0e\xbb\x55\x38\x6a\x2d\x66\x9a\xcf\x3a\x72\x76\xeb\xc2\x59\x3f\x59\x81\xd8\xe3\xa2\xbb\xb6\x3a\x71\xc1\x2d\xdc\xf5\xc9\xc5\x8e\x73\x16\xf2\x5d\x38\x99\x3c\x45\xbb\x2a\x07\x46\xb4\x21\x7d\xd8\x10\xef\x11\x14\x95\x04\xf9\x11\x25\x20\xd2\xfa\x21\xfc\x6c\x32\xd1\x0a\x2c\x1f\x1e\x16\x0f\x85\xc9\x00\x5a\x4d\x3f\x45\x98\x5a\x18\x94\x70\xc2\x0b\x2b\x8c\xe4\x40\xdb\xd2\x32\x81\x56\xc7\xa1\xff\x07\x76\x81\x9d\xbd\xd5\x05\x13\x0f\x7c\x92\x67\xa2\x83\xae\xbe\x37\x37\x8a\xb1\xff\x72\xff\xc3\xaa\x17\xde\xb0\x7f\xfc\xd7\xcd\x0b\x99\xdf\xbc\x78\xc3\x6e\x5e\xbc\x7e\xd5\x73\xff\xdf\x7b\x7d\xf3\xe2\xbf\x3b\x6c\xe6\x87\xaf\x7b\x5f\xdf\xbc\xf8\xef\x7f\x76\xb0\x0f\xf8\xd0\x1b\x58\x0c\xd7\x87\xbb\x59\xd8\x98\x63\xf6\xa2\x9b\x95\x7b\xf0\x97\xef\x7f\xf8\x0e\x7b\xab\x9a\x0c\xea\x4d\xbe\x79\xf5\xd7\xff\xfe\xa7\xeb\xf5\xbf\xb1\xd2\x0e\xda\x22\x20\x64\xaf\xb9\x0c\xc4\xfc\xef\xa4\xb8\x07\x17\xff\x1b\x1c\x0c\x7f\xc3\xfe\xc1\xc2\xf0\xdf\xb8\x6f\x76\x58\x18\x35\xfc\xcd\xfc\xc0\x07\xf5\xb6\xdf\xbc\xfa\x6b\xdc\xf4\x9b\x57\x7f\x65\xff\x6c\xc1\x93\xfc\x0a\xae\x32\x60\x5c\xc4\xbb\x0f\xba\x81\x1e\x0e\x29\xaa\x01\x0c\xca\x94\xa4\xe4\x4d\x36\x85\xf0\x15\x34\xb8\x21\xa1\xcb\x9d\x0c\x13\x8b\x37\x15\x78\x43\x1c\xb6\xc0\x87\xa8\x48\x01\x48\xd1\x80\x67\x5c\x25\x10\x0f\xa2\x52\x02\x55\x41\x5d\xd8\xca\x4c\xfe\xde\x14\x89\xb6\x07\xf8\xad\x6b\x10\x6b\x1b\x4a\x6a\x12\xa3\xbd\x74\xf3\x3e\xde\xfd\x12\x3b\x89\xd9\x4b\xb5\x95\xc1\xb9\xb1\xde\x6c\x20\x12\x4e\x26\x83\x69\x3d\x62\xc7\x47\x8e\x07\x94\xe7\x0e\xfe\x5e\x88\x04\xbb\x42\xa0\x2a\x30\xa7\xfb\x10\xa6\x64\x2c\x92\x5b\x20\x7a\x0b\x9a\x7a\xa8\x2b\x6c\xf9\x8c\x37\xa6\x0d\xd4\x67\x14\x68\x60\x18\xbf\xe3\x32\x03\x05\x9f\xa2\xa3\xfc\x6e\xc4\x5b\xf6\x48\x13\x5e\x07\x90\x72\xf7\x9a\x74\x1b\x1d\x9a\xa4\xad\x2a\x30\xab\x4e\xe9\x50\xf4\x72\x04\x1c\x11\xa4\x9d\x68\x9b\xd8\x92\x67\x5e\xae\xec\xb1\x33\x24\xf0\x40\x03\x9d\x8e\xe5\x48\xeb\x64\x6a\xee\x92\x9b\x17\x40\xeb\x90\x19\x39\x22\x8f\x94\x8f\xa8\xff\x6e\xe8\x7f\xe0\x00\x3b\xa3\xfe\x6e\x65\xd7\x19\xe8\x37\xbd\x6f\xd6\x1e\xcf\x5f\xbf\x59\x31\x9a\x1f\xbe\xaf\x0d\xa6\x0d\x2b\xd8\xd7\xdf\xff\x6c\xf5\xf7\xf7\x75\xea\xbf\x94\x3a\xf5\x68\x2e\x59\x59\xa9\xfe\xca\x2b\xbf\xb8\x37\x2f\x4d\x55\xfc\xf8\xb1\x57\x6c\x4e\x15\xfb\xd8\x3c\x8f\xb4\xb6\x0d\x10\x06\xca\xb4\x3c\xcb\x66\xc5\xfb\x52\xf9\x9b\x9e\x65\x8c\xba\xec\x45\xf2\xbd\x13\x5e\xf2\x8c\x27\x1e\x82\x8d\x9a\x30\x9e\x24\x9a\xb2\xbd\xf0\xb6\xf7\x2f\x0c\xca\x2f\x66\xcc\x0b\xd1\x63\x55\xd1\x2b\xb2\xdc\x82\x26\x12\xb0\x02\x81\xb5\x77\x98\xd1\xa8\x47\xa3\x14\x85\xe6\x0d\x27\x11\x39\x22\x31\xfb\x9b\x3b\xbf\x07\x35\x61\x29\x71\x6d\x30\x56\x39\xa0\x71\x56\x86\xf3\x43\x8f\x59\xe8\x11\x1c\x81\xa7\xd1\x78\x10\x2f\x3b\x95\x26\xcf\xf8\x14\xf1\x68\xaa\x3e\xfc\x34\x7d\xd2\x47\x84\xf5\x89\xea\xce\xb9\x8e\x26\x96\x65\x8c\xe7\xb9\xe0\x10\x01\x0f\x0e\xdd\x68\x01\x55\xca\xce\x9b\x02\xa6\x1f\x8b\xe1\x13\x41\xdf\x72\x37\x9d\x8c\xff\xb5\x77\x23\x51\x3d\xd1\x93\xbc\x90\x46\x38\xca\x42\x1c\xf9\x71\x44\x19\x52\x3e\x77\x2e\xcc\x84\xe7\x35\x5c\x23\xd0\x5a\xbb\xc4\x94\xba\x44\x60\x2b\xbd\xba\x76\xba\xa1\xad\xeb\xb1\x3e\x71\x7a\xa9\x92\x74\xea\x3f\xdf\x05\x6e\xf9\xe2\xee\xf5\xec\x78\xff\xd9\x5a\xc8\x7a\x27\x4d\x1b\x9d\x1c\xda\xd5\x9d\xc8\xe1\xe2\xb5\x32\x3f\xee\xf9\xfb\xe7\xe2\xef\x6d\x62\x04\xde\x2d\xde\xd3\x9d\x5e\xc3\xed\x94\xa7\xbd\xa4\xf2\xa5\x48\x2a\xee\xbc\xb5\x97\x53\x80\xe2\x3c\x99\x8c\x12\xaf\xd5\xfa\x8e\x22\xb8\x28\xab\x4c\xa6\x4f\xc7\x35\x80\xbc\xef\x98\x73\xc4\x75\xa8\x96\x71\x8e\xa8\x5d\x1c\xc5\x07\x52\x42\x88\x93\xe4\x5e\x96\x0b\x35\x50\x4d\xab\x6c\x53\x6c\xbb\x8d\x73\x31\x7c\xf0\x4c\xdd\xd1\x6c\x96\x86\x70\xd4\xea\xb4\x42\xcc\x5d\xe6\xe8\x85\x23\x06\x8b\x6c\xff\x62\x28\x1f\x56\x31\x3c\x55\x55\xc2\xc2\x3c\x88\xa1\x74\x74\x46\xb3\xbc\x10\xb9\x50\xe0\x9f\xf5\x45\x98\x67\x6a\x0a\xc7\xfe\x95\x5a\x1d\xb6\x0d\x62\x63\x44\x52\x6c\xe7\xad\xbd\x82\x1e\xda\xaf\x26\xb6\x5f\xbc\x94\xdb\x1b\x92\xa0\xa8\xdf\xd2\x23\xfa\x89\x17\xb5\x08\x53\x35\xb7\x42\x5e\x5c\xd3\x99\x57\x18\x46\x2d\x04\x9f\x35\xcb\x15\xcd\xfb\xf8\x0e\xf7\x18\x98\xe1\x8a\xe1\x6c\x58\x17\x34\x20\x22\xf8\x22\x7a\xed\x2a\x0d\x22\x8c\xb9\x9a\x46\x15\x50\xe6\xbc\xf6\x67\xaf\x2e\x5a\x47\x27\x6b\x0f\x4d\xd6\xdc\xfa\x79\xc5\x23\xd7\xac\x91\xd9\xe2\x6e\x13\xc9\xf7\x8a\xe6\xbc\x1d\x7d\x69\x7c\x05\xf7\x48\x32\xa2\x72\xb5\x28\xb1\x11\xc0\x02\x44\x6a\x6d\x9a\xef\xb8\x8a\x0d\xb7\x23\x20\x6d\x38\x5d\x68\x56\x0f\x57\x37\xf5\x95\xc0\x99\xa1\x8e\x82\x2f\xb5\x43\x56\x40\x5a\xff\xb3\x98\xee\x84\xdd\xfd\x2c\xa6\x6b\xe6\x35\x38\xce\x03\xac\xba\xe2\x3b\x8b\x50\x81\x9e\x38\x31\x6b\x59\x3a\x16\x05\x73\x45\xd6\x2d\x77\x28\x3a\xf5\x3f\x21\x19\xab\xc3\x7e\x0b\x0f\x31\x65\xeb\x1f\x2f\x11\x7f\xe2\xe7\xb3\xbf\x13\xec\xc4\x3f\x7f\x8b\x5b\x45\x59\x5e\xf3\x9b\x9a\x5c\x24\x3d\x1f\xb7\x45\x7f\x12\x89\x3b\x4e\x12\x5d\x2a\x4b\x3f\x00\xe4\x46\x0f\xb1\x39\xc3\x9f\xb9\x4e\x9b\x7f\x99\x05\x4b\xfe\x85\x27\xbe\xd0\x9f\x22\x1f\x8b\x89\x28\x78\xd6\xa5\x98\xd9\x7a\x4a\x4c\xa7\x99\x0f\x53\xcf\x91\x99\x79\xbb\x55\xba\xcc\x8c\x6c\xb4\xe5\x05\xbc\xf2\x9d\x6c\x7a\xfb\x70\x14\x4c\xc6\x50\xb3\xe1\x0c\xef\x52\x6e\xf2\xcb\x15\x04\x9d\x25\xc4\xef\x58\xb1\xd9\xf6\xde\x2b\xe7\xff\x04\x5b\x1f\xa1\x47\xf2\x14\xea\x57\x54\x99\xfc\x10\x63\xa8\x90\xe5\x39\x36\x0d\x89\xa0\x1a\xca\x0b\x16\x5d\xac\xae\x04\x65\x83\x13\x2b\xef\xa4\xa3\x8f\x21\x20\x2b\x15\x83\x72\x34\x82\xc4\x8e\x30\x86\x38\xc8\x98\xfc\xce\xd1\xf1\x2c\xc0\xe2\x93\x96\x99\xfb\xd0\xa8\xe4\x05\x57\x56\x08\x13\x52\x38\xa8\xb8\x6f\x25\x5c\x50\x39\x4c\x8f\x59\x00\x65\x88\xa1\xfe\xec\x3d\x56\x26\x76\x83\x05\x33\x14\x16\x73\xd3\x45\xa3\x40\x8a\x9b\xd8\xec\xd0\x18\xd8\x7b\x0d\xbd\x0f\x08\xb7\x89\x08\xc0\x1d\x34\x58\x2a\x2b\x20\xb5\xea\x84\x04\x59\x5a\x43\x71\x27\x13\xf8\xc2\xdc\x69\x4f\xaa\x90\x5a\x5c\xec\x81\x4f\x53\xc8\xa6\xcc\x57\x6b\xad\xea\x83\x39\xd2\xe4\x04\xa1\x69\x95\x12\x0a\x6f\xdd\x49\x1e\x1d\xb4\x30\x8b\xe8\x43\xa6\x1c\xf8\xd1\x36\x57\xb0\x32\x1e\xc7\xdf\x61\xda\xc9\x66\xd0\x7d\x14\x2c\xa7\x18\xcf\xf2\x31\x0f\xe1\x6f\x51\xd4\x9b\x7b\x79\xf6\x78\x99\xd0\x74\x98\xf1\x36\xc9\x13\xbc\x18\xad\xb2\x80\x1d\x53\x69\xf5\x60\x0b\x14\xa1\x1a\xff\xdc\x52\xfb\x27\xef\x4f\xf7\x35\xf6\xf7\x35\xf6\x9f\xbe\xc6\x3e\x8d\x60\x15\x4a\x64\x38\xbd\x0c\xfa\xc2\x3a\xac\xa1\xf8\x5c\x55\xcd\xdd\x4d\x61\xee\x01\x3f\x3b\xbf\xbe\xfc\xfb\xc5\x87\xfe\xf9\xf5\xfe\x9c\xef\xcf\xf9\xd3\x9f\x73\xa1\xee\x5a\x3b\x2d\xe6\x59\x1a\x28\x2b\xb6\x69\x70\x78\x92\x42\xfd\x9f\x78\xf1\x28\x35\x55\x1a\x28\x3e\x5b\x95\x53\x11\x68\x9f\x6d\xb9\xc6\x5e\x7e\x8f\x2b\x55\xb5\xb3\xf0\xe0\xb5\xbb\x15\xd3\xca\x34\x54\x51\x1f\x94\x74\x26\xf3\xed\x5b\xec\x38\xcb\x98\x54\x08\xe6\x0f\x1d\x54\x35\x2f\x29\x4d\x07\xeb\x9c\x61\xf1\xe8\xf9\xb8\x52\x3e\xca\x90\x0a\x02\xa2\x38\x4d\x17\x4e\xaa\xca\x7b\x4f\x13\xec\x44\x8a\x3a\x37\x46\x27\x28\x7c\x02\x4d\x08\x60\xa7\x01\x8d\x26\xcb\xb0\xc4\x65\x5e\x88\x44\xa4\x8e\x0e\x38\x5a\x08\x89\xcc\x7e\xae\x83\x29\x69\xfb\x81\xae\x94\x78\x25\x61\x4d\x16\xf4\xf1\x04\x47\x34\xb2\xe1\x6f\x73\x4b\xdb\x40\x2b\x9e\x46\x8c\x85\x40\xf3\x3e\x13\x92\xe2\x45\x99\x65\xed\xea\xbf\xc1\x58\xf3\x32\xcb\x18\xd6\xbf\xed\xb1\x0f\x08\x73\x7f\x0c\x90\x63\x1d\x76\xee\x28\x7d\x87\xf5\x87\xe7\xda\x5e\xa0\xc5\xa7\x6e\xa7\xc3\x86\x8e\x67\xbe\x21\xb7\xb2\xc5\x32\x89\x11\x8c\x89\x2e\x6a\x1d\x60\xca\xf8\xbd\x34\x73\x8f\xc0\xd6\x8b\xf6\x95\x97\xfd\xbb\x9b\x2e\x62\x28\x91\xba\xb1\x12\xfc\x2e\xf4\xb0\x4c\xf9\x0d\xad\xbc\xa8\xe1\x74\xa1\x7b\x4a\x10\x9a\xa3\x4f\x2d\x32\x8e\xd4\x2a\xe0\x6e\x3c\xe6\x16\xc5\xc0\xab\xfa\xbe\x5b\x8c\x76\x5d\x5f\xc1\x1c\xbd\xb2\x4a\xca\x75\x94\x31\x4e\xb9\x01\x6d\x0b\x72\x7c\x3c\xb5\x25\x14\x4b\x3e\xd1\x6a\xd4\x48\xcf\xed\x40\x55\xe3\x1a\x22\xa2\x4a\x17\x4c\x65\xa3\x2c\x9d\x36\x21\xd0\xeb\xac\xe7\x4e\xa9\xe3\x46\x05\xf9\x17\x18\xe7\x9e\xaa\x1a\xfd\x4e\x0e\xe0\x67\x28\xed\x5e\x95\x74\x6f\x3d\xf6\xf9\x46\x8f\xd2\x08\x66\x72\xca\x26\xf4\x5d\x66\x14\x7a\x47\x05\x1a\x53\xaf\xdb\xe7\x7a\x89\xa5\xef\xb3\x95\x6e\xa7\xb6\x5b\xd2\xbc\x27\xaa\x95\xbe\x9b\x13\xb7\xaf\xa1\xdd\x5c\x8c\x7d\x0d\xed\x7d\x0d\xed\x67\x55\x43\x1b\x92\xf8\x03\x4b\x6c\x01\x43\xe0\xb6\xd7\xdd\x27\x5b\x4b\x2a\x8e\x97\x00\x06\x7f\xa1\xd3\xab\x5c\x24\x11\x12\xe8\x3c\x81\x06\x3f\xef\x33\x3b\xe7\x34\x08\x2a\x61\x19\x2e\x6c\xf0\x89\x18\x76\xd0\xbf\x38\xe9\xb0\x8b\xfe\x69\x87\x09\x9b\x1c\xce\x81\xb6\x0f\xe0\x82\xc2\xe2\x01\x59\x24\x5a\x21\x10\xbc\xfb\xc6\xfd\x98\x5b\x58\xee\xe8\x43\x00\xe7\x38\xe6\x15\x88\x0b\x95\x51\x8b\xc1\x4e\xe7\xdd\x56\x10\xc6\x3c\x62\x10\x9e\x04\x34\x6d\xef\xa6\xd6\xf5\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\xbe\xdc\xf9\x4c\x90\xcb\x66\xb0\x90\x41\x40\x24\xf4\x4c\x0f\xf2\x33\xe6\x2a\xcd\xbc\x36\xa5\x74\x31\x89\x60\xfe\xd2\x42\xde\xb5\x0a\x1a\xc6\x3e\x4f\x32\x2e\x27\xd7\x62\x92\x67\xdb\x54\xa1\xb8\x10\x85\x91\xc6\x71\xe4\x4f\x73\x7a\x5d\xa6\xe1\xff\x12\x1d\x83\x08\xbf\x9d\x23\x38\x53\x97\x67\x5a\x09\x76\xf1\xe9\x04\x63\xd5\xf5\x9d\x84\xac\xad\x0a\x99\x1b\x59\x21\x04\xc8\xa8\xb8\x96\xfb\xdc\x95\x47\x3e\x3b\x10\x10\x79\xe2\x0f\xa0\xeb\x0b\x50\x34\xbd\x0a\x71\xf1\xe9\xa4\xc3\x64\x4f\xf4\xfc\x5f\xa1\x69\x2a\x32\x81\x3c\x76\x84\xbc\x2b\x78\x6c\x40\x0c\x67\xd7\x0d\x65\x24\x7e\xf7\x37\x0c\xe0\x73\x23\x85\x94\x76\x88\xe2\xeb\xe2\x43\xda\xde\xea\xf9\x6f\xec\x1e\xf0\x0e\x7f\x5b\xf8\x3b\x31\x19\xf8\x5a\xc8\x14\xfa\x8d\xd4\x1d\xa2\x43\xe6\x37\x74\xcb\x63\x94\x49\x8f\x01\xcd\xe4\x99\x4c\x51\x02\x21\x9d\xfa\x3f\x3d\xf2\x2c\x2c\x62\xd0\xa2\x1c\xf3\xc5\x2a\x98\xf0\x0d\xb2\x61\xa0\x9b\x0c\xf1\x49\xdd\xec\x0e\x86\x31\x7c\x8d\xd5\x9a\x65\x5a\x8d\x0e\x7b\x37\xea\x46\x1d\x47\xe1\x56\xb8\x12\xb0\x58\xdc\x62\x8f\xfe\x30\xbb\x6e\xdd\xfa\x07\x86\xe8\xc6\x01\x63\xfb\x1f\x4a\xdb\xff\x11\x0e\x47\xa4\xf1\x40\x30\xd7\x9d\x96\xde\xcd\xcf\x15\xa4\xcb\x21\x64\x05\x2d\xd6\x60\xca\x26\xd2\x58\x7e\x2b\x7a\xec\x8a\xdc\x73\xd5\x34\x0d\xaa\x61\xc0\x9b\x6b\x2a\x74\xd5\x8f\x1b\x72\x15\x74\x85\x06\x05\x50\x03\x58\x5e\x88\xae\x07\x3e\xa6\x56\x13\xc1\x95\x9d\xc3\xdc\x73\x4d\xa4\xd0\xb5\x1b\x63\x0e\x20\xd1\xab\x20\xd2\xe1\xe1\x2b\x62\x64\x39\x3f\x4e\x88\x64\xf2\x7f\xa0\x3f\xd1\x69\x7b\xee\xc2\x67\x1e\x75\x18\xe5\x25\xa2\x85\x4a\x38\x11\x96\x17\xd3\x0e\x40\xa8\xc8\x10\x10\x57\x1a\x31\x2c\x33\x74\x5f\x4e\xb8\x2a\xa1\x83\x42\x24\x5a\x19\x5b\x94\x58\x4c\x83\xb3\x41\xa1\x6f\x85\x62\x49\x56\x1a\x2b\x0a\xd8\xc5\x08\x81\x4d\x22\xee\x4a\x97\x4a\x10\xb8\x8f\x32\x0c\x7b\xa8\x54\x92\x09\x4f\x61\xed\x23\x70\x36\x9a\x8f\x5b\x81\x59\xbb\x90\xc7\x83\x77\x9f\xf2\xb8\xf2\x9d\x0a\xb2\xdd\x4d\x49\x66\x4b\x43\xb3\xd7\x25\xc9\x77\x62\x69\x21\x18\xf8\x9d\x4a\xf1\x0a\x84\xd8\x1d\x56\xee\x5f\xa3\x27\x02\xaf\xa6\xe7\x4b\xb4\x54\x8c\xc1\x8b\xc6\x57\xef\xf2\xe2\x78\x21\x2c\x66\x7d\xa1\x39\x07\xe4\xfb\x42\x8e\x46\xde\xdd\x41\x6a\x00\xc6\xd3\x89\x3b\x9d\xdd\x09\xba\x28\x60\x42\xc4\x5e\x01\x3d\xa8\x9c\x44\x59\xa6\x6e\x6d\x0a\x01\x05\xb4\x51\xb3\x90\x13\xb7\x83\xf1\x50\xc9\x13\x8c\xd5\x63\x2e\xb1\xbc\x60\x21\x86\x99\xf0\x9b\x0d\x90\x44\x40\xb4\x01\xed\xb4\xc8\xa6\x70\x45\x70\x74\xe0\x36\xf4\x8c\x57\xaa\x52\xd0\xf9\x83\x13\xaa\x87\xf8\x0d\x13\xdd\x69\xfc\x42\xb5\x0e\x95\x22\x67\xe9\xaa\xf0\xa8\x58\xc7\x1d\x14\x7b\x32\xb6\x2b\x86\x43\x5d\xd8\x0e\x58\x27\x10\x40\x85\x67\x60\x25\x6b\x13\x70\xd7\xac\x24\x33\x97\xc1\x00\x58\x13\xc2\xb6\xdc\xbb\x0b\xc8\x6f\x85\x3a\x22\x4c\x9f\xa8\xf6\x2a\x1e\xd2\xcb\xf0\x80\xd2\x7b\xd7\xd7\x7c\xf6\x59\xc8\x9f\x2f\x0b\x39\xd9\xb8\x8a\x9c\x93\x0c\xe0\xda\x38\xca\xa4\x13\x88\xda\x6e\x8a\x94\xdb\x03\xf5\xc1\x27\xa0\x0a\xec\xee\xb2\x5c\xdf\xcb\xa4\xd0\xed\x2a\xcb\x52\xf0\x8a\x13\x8f\x90\x44\x70\x43\x36\x6d\x3d\x40\x70\xcc\x85\x29\x17\x85\x81\x71\x1b\xcb\x27\x33\x28\xbc\x8f\x5a\x11\x17\x89\x5b\xa3\x20\xb3\x68\x0c\xdf\x1d\xd2\x02\x82\x04\x0f\x60\xa2\x7a\x08\xa9\x5e\xde\x58\x9d\x5b\xb4\xf3\xb1\xeb\x69\x2e\xde\xbb\x4f\x1f\x2e\x88\xdf\x50\x40\x81\x53\xcc\x10\x79\x12\x44\x59\x37\x41\x4a\x0a\x8f\x8c\xd4\x81\x09\x0d\x74\x69\x17\x6c\xca\x3e\x51\xfd\xb3\x24\xaa\x67\xfc\x59\x5d\x85\x89\xc6\xf3\x0f\x91\x3d\x48\xb7\x54\x12\xa1\x6d\x87\x9b\x12\xee\xc8\x36\x45\xcb\x8f\xd9\xb8\x9c\x70\xd5\x75\x72\x20\x44\x95\x46\xbf\x7b\xad\xa7\x51\xe0\xd7\xf1\x6e\xe0\x58\x1b\xf0\xd2\x3d\x7c\xd1\xcc\x92\xb4\xaa\x2a\x7d\x1d\x69\x06\x10\xf2\x68\xc6\x20\x65\xd1\xba\xa0\xbc\x87\xf0\xc4\x6e\x13\x89\x38\x00\xfd\x71\xf2\xa2\xa1\xc8\x67\x2c\x05\x4f\x82\xa0\x2d\xb8\x32\xb0\xd2\x95\x9d\x2d\x2c\x4e\xbd\xb8\xf3\x46\xc5\x69\x41\xeb\x7a\x12\x92\x1b\x80\x81\x8d\xd3\x7f\x52\x5e\x4c\x3d\xb5\xc3\xc2\x30\x85\x00\xc8\xa0\x4c\x3c\x90\xe0\xb8\x38\x94\xc5\x29\x08\x52\x8d\x4e\x3c\x3a\xfb\x1a\x91\x55\x70\x3a\x74\x96\xf9\xcc\x25\x31\x91\x16\x8c\x0b\x81\x3f\x77\x98\xe8\x8d\x7a\xec\xb7\x7a\xfc\x1d\x95\x2c\xfd\x6d\xa3\x45\xa6\xf1\xf6\x95\xdb\xfc\x95\x31\x00\xf5\x6a\xcf\x34\x58\x49\xef\xc6\xa3\xcb\x84\xed\x3e\x4c\x7f\x1f\x6e\x32\x28\x23\x8a\xa6\x64\xbf\x56\x94\xa9\x5b\xa9\x2b\xec\x63\xd9\xa6\x9f\x72\xcb\xa3\xd2\xa7\x28\x00\xe1\xb7\x63\x4a\x19\x65\xd6\xea\x02\xea\x44\xc8\x21\x93\xee\x88\xfb\xb8\x05\xab\x15\xbe\xbd\x28\xda\xa4\x69\xe4\xdb\x64\x3e\xed\xb0\x0d\x42\x51\x00\x16\x76\x36\x9a\x4b\x8f\x5d\x35\x29\xc0\x72\x02\xb0\x60\x42\xb4\x89\x4b\xe9\x0d\x55\x83\x89\x16\xf2\x00\xcd\x14\x1d\xf6\x0b\x2f\x94\x54\xa3\xc3\x0e\x53\xe2\x1e\xea\xc6\x18\x96\x84\x71\x81\x29\xce\x97\x67\x2f\x1d\x49\xdc\xad\x19\x37\x10\xd3\xc5\x52\xde\x2a\x23\x6f\x78\xfe\x68\x38\x2a\x60\x92\xa8\xfd\xb4\x35\x7e\x8a\xeb\x72\x15\xea\x96\x6f\xd3\x40\xdc\x02\xfd\x7d\x0f\xb7\xf5\xac\x15\xdd\xb5\xe0\xb6\xee\x66\x03\x24\xb7\x8e\xed\x87\x23\xdb\xd2\xc5\xb5\xd7\x5e\x9e\x8f\xf6\xb2\x87\xd9\xfa\xe3\xc1\x6c\x05\x5a\xbe\x7b\x16\x71\xd5\x14\xbe\xe6\x32\x09\x6c\x15\x4a\xb3\xc6\x25\x97\xa1\x38\x02\xfc\x1a\x28\x4d\x70\x9e\x05\x9d\xe2\x9e\x9b\x23\x70\x5b\xe6\xb9\x80\x7a\x9a\x64\x54\xd6\xa5\xc9\xb0\xda\x1d\x60\x96\x82\xc9\xbb\x0d\x56\xc9\x6a\x23\xdf\x79\x30\xf0\x55\x3a\x31\x65\x8d\x41\x2c\x28\x8c\xb8\xcc\x2b\x1e\x61\x2c\x1b\x0b\x5e\xd8\x81\xe0\x16\x06\xb2\x6b\xd3\x9f\xfb\xc4\x07\xb2\xb2\x7d\x3e\x0b\x20\x89\xf3\x30\xdf\xd8\x5a\x40\x03\xdb\xb5\x9f\x65\x35\xaa\x4d\xd5\x6a\x7e\xcd\x7d\x70\x35\x92\x4b\xa3\xd5\xd9\x68\xa7\x88\x05\x85\x0d\xe9\x7f\xd3\xb2\x28\x0d\x1b\x09\x25\x8a\x0d\x83\x9f\xc6\xda\xac\x3c\xa0\x3a\xf5\xbe\x62\xb5\x93\xcf\x6f\xbd\x5f\x0f\x22\x39\x5e\x55\x9a\xbf\x6a\x54\xab\x12\x75\xf3\x82\x82\x56\x43\x94\xc6\xcd\x0b\x52\x9d\xdb\xed\x59\x8b\x5c\xf3\x13\x6c\xe5\x1d\xdf\xf4\x12\x84\xb6\x21\xb6\x05\x24\x9d\x3b\xed\x54\xa6\x8d\x80\x3f\xf4\xc0\xce\x44\xad\x04\xcb\x86\xef\x0b\x1c\x9c\x5a\x5b\x76\xf0\xf2\xe8\xe5\xe1\x4c\xe4\x49\x23\x96\xe8\x3a\x7a\xd3\xd1\x14\x39\xc9\xb3\x29\x8c\xe3\x65\xda\x61\x32\xf8\xb6\x71\x69\x60\x54\x94\x09\xdf\x61\x46\x33\x5b\xf0\x54\x7a\x3b\x84\x7b\x0a\x8a\x35\xb8\x62\xb5\x32\xec\xe0\xe5\xff\xfd\x92\xc2\x89\xef\xb5\x7a\x69\x61\xf8\x3d\x76\x8d\x35\x32\x43\x47\x53\x5d\x32\x25\x04\xc1\x7b\xe4\x99\x4c\xa4\xcd\xa6\x2c\xe1\x59\xc6\x40\xd5\xd5\x48\x81\x29\x03\xff\xec\x41\xda\xc8\x3e\xf7\x0a\x03\xee\x83\x7b\x2e\x93\x77\xe2\x68\x2c\x78\x66\xc7\xde\xc1\xab\xba\xbf\x8b\x42\x63\x45\x44\xfa\xa5\x5d\xcc\xd4\xb6\x49\xda\xdb\x9e\xe7\xb7\x27\x1b\xc4\xdc\xb0\xb7\x72\x50\x08\x76\x42\x69\x0c\x3e\xc4\x64\xde\x53\xac\x70\x03\xae\xf0\x81\x08\xf1\xc7\x54\x9a\xe4\xe8\xbe\x90\x56\x80\xfb\x7e\xd1\xdb\x8f\x53\xc0\x75\x68\xae\x57\x6b\xeb\x6f\xc3\x29\xc6\x32\xae\x3e\x7e\x2e\xc6\x00\x1c\x36\xda\x54\x45\x0b\x29\xb2\xc1\xd1\x38\x6f\xdb\x55\x23\xe6\x6f\xc5\xd9\x43\x8f\xdd\xbc\x10\x0f\xf6\x5b\xac\xd6\xf0\x30\x34\xf8\x0f\x65\xdd\xbf\x7a\xac\x3f\x09\xa7\x14\xa4\xf0\x22\x04\x5e\xfb\xd7\x98\x1c\xb2\x52\x85\x50\xb2\x0d\xe8\x6f\x56\xae\x52\x49\xab\x80\xf4\xb7\x27\x14\xfe\xcf\xb2\x52\x91\x63\x70\xd7\xbc\xdf\x1d\x89\x0f\x2a\x5b\x15\x11\x5b\x0d\x2a\x8e\xc9\x85\x08\x56\x76\x50\x1d\xab\xc3\x1e\xbb\xa4\x0e\xb1\x2a\x2a\xc4\x5e\x0c\x75\x41\xb1\x22\xe1\x47\x2a\x48\xed\x08\x59\x14\x98\xb8\xc8\x3a\xdb\x22\x41\xe3\x97\x5f\xce\x57\x29\x9d\xf3\x16\xf6\x5e\x17\x59\x7a\x2f\xd3\x50\x60\xcf\xf5\x73\xf8\xd4\x50\x0f\xf7\xf7\x32\x5d\x6b\xf4\x14\x48\x04\xa3\x67\x30\xfc\x0a\x3a\xd5\xb0\x03\xe8\xef\x90\x9d\x49\x8c\x04\x73\x7f\x31\x5d\x38\x96\x30\xf0\x31\xde\x4e\xda\x0a\x0b\x07\x97\xda\x9d\x31\x9f\x1a\x0b\xf9\x2b\xbe\x34\x28\x46\xa0\xcb\x49\x99\x59\xae\x04\x08\xc6\x7f\x10\x3a\x9b\x89\x87\x66\xf8\xdf\x4a\x9a\xbb\xf8\xa5\x3a\xb4\x21\x48\x41\x32\x61\x79\x68\xeb\x77\x25\x52\xf7\x31\x8c\x2c\x04\x07\x8a\xf4\x88\x52\xb3\xa2\xf0\x30\xc7\x96\xd9\x80\x1b\x91\xb2\x3c\x2b\x47\xb2\x8d\x5c\x82\x91\x94\xab\x60\x07\xa0\x51\x2d\x1c\x8f\x64\x6c\x7c\xdd\x57\xb5\x0e\xb5\xf6\x88\xa7\xac\x4f\xd4\x9e\x3f\x69\x8f\x8b\x2c\x47\x1f\x49\x01\x61\xd8\x38\x41\xd7\xed\x3b\xee\x36\xc3\x61\x6f\xb0\x0e\x54\x38\xbf\xb9\x10\x3c\xf5\xe2\xd4\xc5\xfc\xfd\x5c\xeb\xb6\x2c\xa4\x0b\x67\x0f\xb6\xe0\x41\xee\xf3\x45\xfc\xe5\x90\x71\xb5\xa8\xe8\xae\xae\x99\x99\xbf\x34\xce\xb0\x2b\x44\xe7\xf5\x5c\x77\x6f\x58\x78\x0b\xc3\x12\x1b\xc1\x93\x84\x62\x48\x66\x40\x12\xe1\xb1\x4e\x21\x38\x31\xef\x44\x4d\xcb\xb4\x9a\xe5\xdc\x04\x93\x31\x92\x08\x3a\xa2\x86\x60\x0d\x3c\x2a\x1e\xe4\xe9\xc8\x21\x53\xba\xf1\x95\x18\x75\x83\x72\x2e\x17\x0c\xc4\xa0\x93\x11\xd2\xc0\xb4\xf2\x8d\x3a\x58\x4b\x06\xfe\x4d\x05\x64\xb8\x31\x51\x3e\x79\x7d\x54\xeb\xdb\xb3\x88\xa0\xad\x32\x68\xb5\xa1\xf8\x6b\xd0\xf9\x4f\x9e\x60\xcf\xa1\xeb\x7b\x62\xbe\x27\xe6\x7b\x62\xfe\x25\x11\xf3\x77\x3a\xe1\xd9\x26\xc1\x18\x7b\x8a\xfe\x39\x29\x3a\x80\x67\x6d\x64\x30\xc1\x57\x3d\x25\xf7\x76\x10\x22\x3e\xfe\x57\x3e\x82\x78\x84\x0f\x0a\x23\xe0\xc1\x6a\xa2\x11\xea\x2a\xe5\x96\x1b\x01\x40\xd5\xf0\x1b\xfd\xfd\xf1\x63\xff\x34\x8a\x60\x82\x42\x5f\xf5\x6f\x19\x96\x6a\x4c\x3a\x5b\x66\x49\xd1\xc5\x66\x86\x94\x68\x58\x6b\xc4\xf4\xd0\x5b\x90\x8c\x85\xd6\x20\xef\xe9\x62\x98\xea\x53\xd9\x7c\xe3\xe6\x8e\x9f\xf8\xc9\xcd\x2d\x19\x0c\x30\xc4\x79\x21\x20\xab\x7c\x7d\x2a\x1b\xad\xe9\x8a\xc9\xc0\xb2\xd7\x27\x53\x61\xe8\x12\x96\x53\x54\x40\x04\x10\xa3\xfd\xc8\xa9\xfd\x13\xd9\xab\x7f\x3a\x39\xab\x34\xc8\x53\x69\x6e\x37\x39\xbd\x55\x0f\xcc\x75\x51\x09\x22\x52\xb1\x9f\xb4\x1e\x65\x82\x9d\xe8\x49\x5e\x5a\xc1\xce\xd4\x48\x2a\x81\x89\x4d\xec\xa7\x93\x33\x76\x71\x8a\x9a\x3c\xa4\x45\xb0\x81\x18\x3a\x02\x00\xe7\x9f\xf2\x09\x78\x13\x9e\x30\x75\x9f\x80\x77\x20\x85\x79\x20\x6a\xe5\xec\x5c\x9f\x79\xa1\x81\xaa\xb8\x8b\xf0\xbb\xbb\x20\x1c\x45\x11\x8a\xb1\xea\xb1\xf0\xe9\x76\xc6\x47\x84\x8a\xf6\x29\x3b\x13\xae\xa6\x18\xf0\xde\xa3\x6e\x9e\x95\x19\x92\x8e\x5d\x9c\xeb\x38\xd5\x25\xbb\xa7\xcc\x2a\x12\x7d\xae\x65\xfe\x86\x9d\x29\x53\x16\x11\xe4\x45\x53\x0a\x92\x66\x0d\x41\x08\x92\xd7\xcc\x9b\x5d\x9b\x2d\xd7\x45\xd2\xa3\x04\xce\x23\xa2\x6e\x5f\x8d\x12\x51\x99\x3d\xdc\xd1\xd9\x00\x04\x8d\x17\x56\xb6\xc8\x91\x81\x14\x4a\xdf\xd6\x1f\xca\x15\xfb\xd0\x1f\x32\x8d\x11\x8b\xe8\x5e\x49\xab\x9c\xfb\x90\x8f\x3d\x98\xb2\x28\x75\x31\x5e\xeb\xb7\x3a\xb0\x0c\xc0\xa9\x30\x29\x7f\x8d\xde\x0c\x5c\x40\xca\x9e\x0b\x63\xe2\x86\xdd\xbc\x78\xed\x36\xe2\x4a\x4e\x64\xc6\x8b\x6c\xda\x89\x47\x59\xb5\x74\xb4\xd4\x77\xe9\x06\x73\xf3\xe2\xd5\xcd\x0b\x76\xa0\x0b\xe8\xdd\x5d\x9b\x4c\xf0\x3b\xca\xaa\xc3\xe3\x3b\x45\x11\xe0\xf0\xb1\xb7\x6c\x7b\x43\x72\x9e\xb6\x60\x48\x1f\x91\x4c\xd7\x12\x51\x4f\xeb\xa4\xed\xe4\xac\xc7\x3e\x92\x20\x42\xe4\x1c\x57\x1c\x48\x94\x6f\xf1\xf9\x0f\x70\x4b\x89\x7a\x3b\x39\x79\x56\x0c\x7f\xaa\xa9\xcf\xca\xe2\x2d\xe5\x3e\x3a\x07\xdb\xca\x7d\x3f\x49\x7b\x29\x72\xbd\x09\xe7\x6c\x64\xa4\x07\xb0\x96\x2a\x25\x3a\x86\x68\xe1\x6c\x24\x31\x48\xd5\x48\x04\x0c\xf8\x89\xfe\x5e\x47\x98\x9b\xf3\x96\x6f\x3e\x87\x4b\x39\x4e\x7d\x7a\x76\x71\x79\x76\x72\x7c\x7d\x76\xfa\x86\xd1\x64\xdd\x68\x2b\x59\x0a\x3c\xaa\x55\x5e\x39\xaf\x61\x3e\x51\xfe\x24\x7e\xb2\x43\x34\x8d\x2b\x76\xe6\xa8\xc5\xa9\x2c\x30\x0e\x9e\x2b\xd6\x57\xb2\x02\xaf\xa2\x9a\xb3\x99\x56\x21\x8e\x3e\xd7\x64\xbc\x18\x49\x84\xac\x52\xd4\x19\x44\x22\xd7\x7a\x83\xdb\x0a\xb5\x10\xe6\xe0\x82\x2c\x96\x56\xbd\x4f\x7b\x15\xa1\x47\x87\x4c\xe5\x02\x27\xa0\x5c\x9f\x6e\xeb\x23\x7c\x34\xa1\xa0\xe1\x22\xbc\xec\xf5\x5e\xf6\x98\xa3\xf8\x2f\x7b\x2f\x3d\x6f\xcd\x02\xca\x03\x1d\x85\xaa\xd3\x38\xb3\xbe\xb9\xef\xec\x83\x47\x9f\xed\x38\x86\xd9\x00\x8c\xf0\x2e\x17\x59\xe1\x1d\xcd\xe9\x25\x88\x4d\xe5\x20\xfe\x28\x9d\x3b\x4c\x78\x85\x89\x6d\x16\x21\x8f\x1f\x59\x49\x72\xc2\x68\x3e\x5e\xbe\xdb\xe4\x43\x78\xe4\x5a\x44\x3d\x60\xba\xf4\x38\x84\x2b\x54\xf0\xab\xbe\x93\x1d\x43\x5f\x44\x8b\xb0\x35\x85\xc1\xf4\xe8\xa1\x59\xdb\x45\x54\xa3\x36\xa1\x9b\x70\x6f\xb8\x85\x20\x26\x0f\xb5\x33\x14\x96\xc2\x9b\x38\x62\x31\x54\x6f\x3c\x85\xb6\x18\x2a\xda\xae\x2c\x98\x40\xed\xce\x09\x53\xa1\x16\x78\x5a\xc1\x22\xa4\xc2\x72\x99\x99\x68\x16\x56\xe7\x3a\xd3\xa3\xe9\x5c\xd6\x44\x00\x0c\xc6\x87\x4d\xd2\x94\x8f\x46\xfe\xf5\xa3\xcb\xb3\xe3\xd3\xf7\x67\xbd\x49\xfa\x15\x26\xdc\x77\x79\x37\xd7\x1b\x68\x92\x22\x9e\x00\x96\x04\x5a\x63\xc6\xf0\x42\x6c\x5e\xc5\x07\x54\xa4\x9b\x0c\x29\xd5\x9c\xfd\xc7\x22\x00\x43\x8f\x43\x00\x02\x1b\xd2\x0c\xff\x85\xea\x03\x69\xc4\xcf\x83\x7a\x55\x7d\x8e\x74\xaa\x81\x2e\x15\xe0\x37\x7c\xe6\x25\xcd\x57\xc3\xe7\x01\x9e\x19\x2d\x5b\xf3\x60\x33\xf7\xfe\x67\x9e\xc2\x2e\xc4\xb4\x99\x79\xa1\x76\xe5\x75\x5b\x20\xef\x95\x2a\x9b\x8b\x62\x22\x3d\xd4\x67\x3b\xf9\x6d\xb7\xcb\xb1\xb1\xe8\x26\xe6\x94\x5a\xc7\x33\xb0\x33\x5a\xbb\xa7\xb0\x7f\x60\x0a\xbb\x27\x07\x7b\x72\xb0\x13\x72\xf0\xb7\xeb\xeb\x8b\x9f\x84\x5d\x19\xd3\x5b\x6b\x17\x87\xf5\x2a\x0f\x9b\x82\xae\x56\xad\x98\x6b\xca\x7e\x12\xb6\x2a\x7a\xb8\xfa\xe2\xb6\x88\x85\xfe\x9b\x36\xfe\x6a\x6a\x46\x40\xc8\xcc\xea\xce\x0c\x23\xcf\x75\xca\xfa\x17\x3d\xf6\x77\x5d\x3a\xa5\x6d\xc0\x07\xd9\x34\xd8\xa5\x8c\xb0\xec\x06\xfa\xba\x79\xe1\x34\x04\xb7\xd1\x7f\x13\x3c\x15\x85\x81\xd0\x5a\xc1\x37\x0a\xe5\xae\x7a\x59\x25\xaa\x97\xc6\xea\x09\x1b\xd3\x27\xeb\x95\x81\x68\xc1\x7a\xb8\x84\x80\x63\x0e\x79\x6e\x18\x7a\x4b\xef\xec\x18\x8c\xd0\x7d\x0a\x87\xbe\x55\xdc\x5c\x5b\x82\xe4\x54\x61\x04\x50\x25\xef\x06\x4c\x15\x61\x38\x36\x2c\xe0\xb0\x5d\x8e\x44\x69\x65\xd6\x73\x57\xcb\x16\xbd\xbe\xb2\x1f\x8a\x2b\xfc\xdc\x32\x6f\x24\x3a\x73\x8a\x18\x20\x06\xce\x5d\x61\x67\xe7\x17\x59\xf7\x29\xdd\xc4\x47\xf6\xf9\x4d\xe7\x6a\x24\xd8\x6b\xf7\xe6\xf7\xdf\x7d\xf7\xcd\x77\x3d\x76\x1e\x97\xc6\xe0\x8a\xf5\x8f\xcf\x8f\x7f\xbd\xfa\x74\x02\x15\xbf\x16\xe5\x13\x27\x63\xb1\xd2\xe6\x77\x05\x8d\xe2\xf8\x04\xba\x47\x11\xb6\x91\xbb\x89\x75\xea\xe8\x76\x68\xc7\xba\x63\x1e\x55\xb3\xd8\x8a\x74\xd1\xc9\x5d\x4e\xb7\xb0\x51\x2d\x17\x21\x89\xaf\x61\x8c\xc8\x26\x89\x7e\xe5\x50\x53\x60\x35\xe1\x6a\x51\x28\xe5\xda\xad\x2a\x7e\x08\x35\x93\xd9\xd2\x59\xbb\x2a\x98\x3e\xf3\x29\x7c\x69\xa7\x7b\xd7\x18\x3d\x8d\x6b\xeb\xcd\x04\xb0\xca\xa5\x3b\x89\x2d\x42\x72\x30\xf7\x26\x8e\xc4\x73\x20\xca\x61\x08\x88\x62\xfc\x56\xa8\x16\x32\xe3\x83\x48\x36\xcf\xc3\xaf\xf2\x61\x96\x86\x2f\xcc\x71\x69\x83\x47\x4a\x3b\x1a\x0f\x8e\xa6\xca\x89\x5d\xf9\x86\x5c\xef\xe1\x6f\x94\xe4\xfc\x54\x35\x4c\x6f\x01\x31\x70\xec\xe8\x27\xb1\x39\x32\x51\x5d\x28\x58\x36\x31\x6a\xd9\x18\xa4\xfb\xbe\x67\x66\x10\x63\x21\x8a\xa1\x2e\x26\x8b\x90\x03\x92\xfc\x4a\x27\xb7\x5b\x8c\xf7\xfa\xe4\x02\x7b\x68\x31\xe2\xd0\x36\x1a\x73\x25\xc4\x60\xd2\x3f\x22\xdf\x5d\x9f\x5c\x00\x4d\xef\xc1\xbf\xc6\x5a\xdf\x62\xaa\xce\x54\xd8\xca\x6f\xb8\x43\x5f\xb5\x13\x4a\x8e\x33\xc9\x97\x25\x5a\x86\x36\x6c\xac\xb3\x14\x57\x7b\xc2\xf3\xdc\x8d\x78\x20\xec\xbd\x10\x8a\xf5\x2f\xe0\xac\x39\x42\x8e\x91\xf4\x98\x5d\x49\xe6\x56\x2c\xc9\x58\xd5\xab\x53\xb6\x32\x95\x62\x79\x5d\xf7\x22\x26\x31\xb5\x14\xdc\xe0\x2b\x2d\xa4\x37\x1c\x8d\x37\x50\xf2\x81\xbe\x13\x30\xd8\x34\x2d\x84\x69\x29\xd7\xec\x30\xd4\x5f\xce\xe0\x32\x35\x81\x4d\xc2\xd8\xfc\x7d\x05\xef\x30\x60\xb1\x23\x58\xea\x13\x45\x31\xb8\xc5\x73\xd2\xd3\x26\x2a\x3b\x0c\xd9\x49\x67\x70\x4e\x7c\xf1\x03\xd2\xce\xff\x16\x7e\x7c\x0a\xed\xbc\xad\x8c\xe8\x23\x4b\x82\xd5\x9e\x44\x29\x14\x4d\x28\xc0\x2a\x27\xf5\x96\x33\x33\x9d\x64\x52\xdd\x42\x36\x1d\xe9\x87\x8e\xaa\x92\x45\x42\xdd\x7a\xc9\xa6\x10\x3c\x5b\xac\xf8\xae\xe3\xb8\x73\x03\xc9\x67\xf0\xb5\x5b\x01\xde\xb7\x44\x49\x71\x97\xc4\xef\x3a\xf9\x21\x6b\x32\xd9\xcd\x8b\x9b\x17\x4f\x3c\x8b\xb6\xa2\xdd\x2e\xb4\xd2\xfe\xd5\xc9\x55\x7f\x6d\x67\xc0\x92\xb7\x6a\x81\xc5\x8a\x41\x4b\x70\x63\xf7\xe8\xdf\xeb\xa6\xeb\xd5\xdf\x7a\x9c\xf8\x98\x64\xcc\xf3\xe3\xd2\x8e\x4f\xa5\x49\xf4\x9d\x58\xe9\x6d\xf2\x05\x7d\xfd\x68\x24\x8c\x31\xbc\xcd\x4e\xfe\x76\x7c\xc1\x78\x69\xc7\x42\x59\xaa\xc4\xbb\x41\xf4\xa7\x1f\xd5\x15\x16\x51\xda\x68\x4c\xf4\xee\x8e\x46\xb4\x8f\x23\xda\x3e\x8e\x48\x9a\xc4\xc8\x0d\x10\x66\x9c\x54\xc6\xad\x6e\x53\x8c\x89\x4c\x1f\x78\x02\xfa\xfe\x45\xd0\x76\x81\xaa\xd7\xfa\xaa\x45\xd5\xa2\x21\x0f\x86\xd8\x57\x56\x14\x43\x9e\x88\x46\x1a\x1c\xe2\x46\x61\xdf\x32\xb4\x41\x60\x74\x4a\x30\x74\x1b\xc4\x33\x0c\xb0\x7c\xb3\x00\x32\x3d\x88\x49\x1e\xb9\xbb\xca\xfe\x46\x45\x79\x23\x80\x42\xf9\xaf\x95\xb1\x55\x38\x44\x1c\xff\x7f\x94\x3c\xc3\x79\x9f\x6f\xe6\x9f\xae\xaf\xd4\x8a\x4f\xfb\xfd\xf0\x6b\x76\x1e\xac\xdf\xa5\x41\xd9\x18\x5b\x00\xb2\x1f\xca\xc3\x31\x27\x7a\x49\xe6\xb7\x97\xec\xc0\x26\xf9\xe1\xa3\xe4\xe1\xe2\x00\x68\x8d\xde\x85\x04\xdc\x9d\x03\xef\xe2\x09\x59\x25\xca\xd6\x46\x73\x01\xaf\xb0\x77\xd2\x58\x0c\xdf\xa4\x07\xd2\x30\x81\x39\x9f\x1c\x24\x72\x5d\x30\x99\xff\xea\xc4\xc9\x37\x48\x07\x23\x9b\x91\x34\x58\x6d\x17\x03\xc3\x7d\x88\xdc\x81\x9d\xe6\x32\x01\x04\x76\xaf\x89\x18\xf6\x97\xef\x5f\x01\x3f\xf9\xe6\xeb\xef\x5f\x35\xd7\xfa\xf1\x25\xe6\xcf\x15\x68\xf5\xec\x13\xce\x80\x8f\xe1\x0b\x58\x84\x08\x6f\x0c\x1e\x11\x80\x7e\x08\xe4\xae\xc1\xed\xe6\x4b\x89\xf0\x22\x9e\xa4\xf5\x0f\xe3\xe7\x3e\x87\xdb\x4a\x90\xb5\xd9\x37\xa8\x68\x83\x6c\xec\x44\xce\xdc\xa8\xea\xca\x5e\x82\xdc\x4b\x90\x7b\x09\x72\x2f\x41\xee\x25\xc8\xbd\x04\xb9\x63\x09\x32\xdf\x4b\x90\x5f\x86\x04\xb9\x76\x96\xeb\x5e\x8c\x6c\x71\xea\x9e\xa1\x18\xf9\xb3\x98\x5e\xeb\x46\x81\xe3\xe6\x0a\xbf\xe7\x79\x84\x51\x7b\x2b\xa6\x98\xfc\x07\x66\x6c\xc7\x9c\xa4\x0a\xf9\x12\x2d\x04\x3b\xac\xf4\xb8\xca\x15\x4c\x5f\xa1\x7c\xc1\x4d\x2a\x2b\xe8\x74\x15\xf1\xaf\x32\xb3\x5d\x63\x36\x90\xd6\x84\x32\x7d\xc6\xf1\xcc\x2a\xe8\x0a\xed\xf8\x92\x7c\x4b\x15\x3c\x81\x62\x3a\xb1\x1e\x73\x39\xb8\xb1\x5e\xbd\x7a\x85\x87\xe3\xd5\x0f\x3f\xfc\xc0\xa0\x96\x5c\x2a\x12\x39\x99\x6d\x08\xad\xbe\x7b\xfd\xba\xc7\xfe\x7e\xfc\xfe\x5d\xa8\xa2\x0e\x60\x49\xd8\x33\xa4\x0c\xc7\x2f\x9b\x0e\xfb\xdf\x57\x1f\xce\xab\x02\xb1\xf5\x5f\x09\xe2\x9f\xe6\xb3\xa8\x70\xa5\x4f\x69\xc0\x13\xfe\xde\x35\x8f\xeb\x55\xfa\xfc\x71\x5f\xae\x12\x91\x0f\x87\x99\x4c\x28\x63\x02\x6f\x89\x07\x14\x00\x86\xc9\x87\x43\x5f\x68\x0f\xdc\x4c\x6e\x0c\x1d\x96\xc9\x5b\xc1\x86\xe6\xa7\x42\x97\x79\xa8\x1f\xef\xcb\xfe\x3b\x7d\x63\x20\xa8\xb3\x6a\x0f\x8c\x68\x6e\xf8\x0e\xb8\xdb\x6a\x07\xce\x35\x0c\x2c\x83\xe2\x5d\x78\xb8\xbd\xab\x9b\x0a\x78\x4f\x78\x8e\xc9\xaa\x70\x36\x7b\xec\x3d\x9f\xfa\x1a\x6e\x5c\x31\x3e\x30\x3a\x2b\x6d\x08\x50\xa4\x1f\xe3\x2c\x0f\xe8\x54\x60\x15\x30\x4a\x3a\xf1\xcd\xa2\x6c\x14\x2c\x31\x02\x77\x0d\xda\xec\x96\xb6\xb8\xeb\xb7\xeb\x48\xbc\x77\x72\x28\x92\x69\x92\x2d\xd3\x41\x43\x9b\x38\x98\x25\x89\xce\x0f\xfa\x83\x83\xe2\x48\x3a\x06\x05\x17\x58\x7e\x0b\xa7\xb0\x10\x26\xd7\xca\xf8\x40\x3a\x5f\x88\x3a\xf4\x4d\xd8\xee\x90\x7e\x89\x99\x46\xc6\x42\x71\x44\x38\x7a\x17\x85\xb8\xb2\x3a\x8f\xda\x63\xa1\xd1\xc2\x74\x6a\x4e\xc2\x66\xa5\x7d\xa8\xa2\x68\xa2\x22\x8a\xde\xe5\x6e\xa8\x8e\x86\x15\x1d\x56\xaa\x4c\x18\xd3\x78\x33\x2f\x34\x44\x54\x0d\xb9\xcc\x4c\xa7\x2a\xe1\x99\x70\xaa\xad\x4d\x03\xa0\x52\x48\x45\x0d\x0f\x75\xb1\x37\xd2\xcf\x6a\xf3\x30\x09\x8a\x59\x59\xc6\xd2\xab\xb5\x73\xf3\xe4\x59\x26\x52\x26\x27\x13\x91\x4a\x6e\x45\x36\xa5\x5a\x87\xbc\x5e\xdc\xdf\x97\x3b\xf4\xbe\x4e\x3f\x3f\x5a\x80\xfa\xea\xc8\xaa\xfc\xbd\x48\x61\x87\x0a\x01\x17\xc1\xfd\x95\x24\x3a\x54\xae\x43\x88\x72\xbc\x23\x39\x94\x62\xef\x61\x9e\xd5\x7a\xdb\x36\xd6\xfa\x36\xec\xd8\x7c\xf8\xfb\x65\x6a\x63\x55\xa0\xbe\xfa\x67\x37\x9c\xa5\x2e\x84\x59\x1c\x7d\x55\xfd\x04\x0f\x16\x90\x23\x3c\x89\x8f\xbb\x7f\x74\xda\xe7\xef\x1e\xe5\xf3\xf3\x85\xdb\x91\x96\x70\xcb\xb8\x62\xc7\x17\xfd\x10\x12\xa3\x6b\x4b\x4e\x35\x23\xa1\x6a\x28\xa2\xab\x2a\x61\x9c\x7e\xcd\x0b\x5b\xe6\x18\x89\xe6\x4b\xcd\x77\x58\x5e\x08\x31\x81\xe1\x75\xaa\x6c\x5d\xca\xa2\x84\x87\xc2\x26\x28\xba\x45\xb7\x02\x68\x28\x0d\xbf\xb9\xc1\x49\xc1\xcd\x18\x8b\xc0\x8b\x07\x89\xb0\x27\xf5\xb2\x3e\x51\x3d\x7a\x69\x1a\xe0\x24\xf4\x11\x2f\x2c\xa6\x2f\x4d\xad\xfd\xa8\x70\x0a\x61\x2e\x0a\xa9\x53\x06\x90\xdc\xa9\xbe\x77\xfc\x6a\x24\x95\xf1\xcb\x07\x34\x86\xd6\xd9\x6d\xb7\xc0\xe4\x1d\xc4\xea\x4d\x7b\x54\x6e\x31\x8b\xe2\x30\x74\x69\x13\x5d\x25\x2e\xd3\x20\x9a\x37\x03\x98\x31\xac\x2e\x16\x32\x0d\xfb\xe2\x05\x2e\xbb\x72\xcc\x3b\xb8\x21\x6e\x61\xab\xdf\x16\x2e\x0e\x96\x4d\x4d\xc6\x1b\x58\x62\xb6\xbd\x52\x33\x4c\x6f\x6d\xce\x35\x91\xf6\x92\xab\xd1\x72\xd6\xe5\x1b\x39\xd1\xc4\x54\x67\xb7\x34\x7c\x24\xb0\x12\x2a\xca\x5d\x6e\x15\xd8\xad\x54\xa9\x5b\xea\x38\x21\x9d\xb3\x90\xbd\xb5\x2f\x3c\xf2\xac\x0b\x8f\xec\xcb\x76\x7c\x29\x65\x3b\xfe\xe8\x85\xf0\x9c\xca\xb6\xb9\x01\x27\xd0\xac\x2b\xd7\xcd\xd2\x05\xc8\x45\x52\x23\x1f\x44\xd0\x84\x02\xc3\xd5\x7c\xa2\xbe\xcb\x65\x70\x13\xed\x72\x95\x76\x11\xb8\x7d\x0d\xf2\x1e\x9e\x3f\x56\x69\x92\x88\x3f\xd4\x7e\xdf\xb6\x36\x49\xd5\x6f\xdf\x8a\x49\x2b\xde\xd3\x47\x74\x42\x1f\x41\x3e\x91\xea\x68\xc2\x1f\x62\x1e\x44\xb5\x24\xa6\x0d\xb8\xc9\x09\xb7\x09\x48\x49\x0a\x58\x53\x1b\xb4\x05\x34\x0b\x6c\x06\x5a\xb8\xf6\x8d\xed\xf9\xe1\xf6\xfe\xa3\xe4\xca\x4a\x3b\x6d\x8d\x74\x48\xd6\xd2\x6a\xc2\xa4\xf3\x82\xb4\x83\x6b\x42\x06\x97\x68\x51\xb0\xdc\x7f\xc4\x9f\xb1\xa1\xa3\xce\x88\xf7\xb3\x01\x32\x22\xad\xd8\x25\xd2\xe3\x3f\xcc\xc2\xd1\x78\x7d\xae\x65\xba\x6c\x39\xbd\x06\xd0\x62\x41\x8b\xaa\xdb\xcd\x97\x74\xc2\x1f\x9e\xff\x3a\xbe\x0f\x37\x30\xd1\xca\xd8\x82\x4b\x00\x84\x21\x63\x21\x48\x82\xcd\x95\xda\x6c\x29\x90\x0e\xe0\xba\x5e\x3a\xe9\xed\x0f\xb1\x36\x33\xa3\x9e\x03\x89\xe2\xd6\x24\xad\x96\x08\x92\xc7\xc6\xfc\xce\xa9\xa6\xfe\x1c\x61\x1d\x14\x77\x49\xd1\xd2\x58\x08\xb4\x90\x86\xea\x1d\xf7\xe0\x6c\xc1\x26\xa9\xbc\x93\xa9\xa0\x75\x0f\xe7\x90\x6c\x33\x1c\xa0\x5f\xc4\xbf\x4a\x9e\x79\x29\x56\xa8\x72\x82\x95\x68\xf0\x68\xff\x7b\x43\x54\xf6\x99\x0a\x0f\x6c\x50\x16\xc6\x06\xa7\x68\x7d\xdc\x9b\xec\xaa\x9c\x11\xef\x9f\xe1\x26\x4a\xf5\x04\x07\x7c\x8d\x0a\x9c\x75\xde\x06\xa3\xc0\x7d\xe7\x00\xd9\x03\xa2\xf0\x8e\xbd\x31\xee\xfd\xed\x4d\xa4\x9e\x8f\xaf\x28\x5a\x59\x6f\x58\xaf\x5c\x19\x29\xa2\xe0\xef\xdc\xab\x92\xcf\x5a\x95\x6c\x53\xc3\xd2\x49\x75\x66\xe1\x2e\xe3\x7a\x6e\x64\xa9\x1c\xca\x51\x89\x65\xc9\x8f\xd0\x02\xd4\x0d\x33\xe9\x46\x56\x97\xdd\x66\x64\x47\xe2\xf2\x42\x02\xb3\x2f\x9d\xf9\x27\xd2\xc1\xf7\xa5\x33\xf1\xf9\xe3\xeb\xa7\xbb\xaf\x9f\xd9\x30\x21\xb4\x61\x59\x35\x53\xc2\x62\x1d\x35\x50\xa2\x48\x41\x5d\x43\x3d\x45\xfb\xc4\x0a\x02\xf1\x0e\x8d\x18\xd2\x9b\x34\x9a\xb4\x15\xd4\x69\xa2\xaf\x95\x58\x19\x6c\x1e\x8f\x45\x17\x41\xdd\x5f\x9b\x36\xb6\x3c\x94\xb4\x30\x5b\xcb\x2a\x9a\xa7\x3f\xf2\x8c\xab\x44\x14\x7d\x35\x2a\x84\x59\x96\xd7\x3b\xa7\x75\x53\x78\xae\x0a\xf2\x71\x96\x69\x9e\x76\x07\xd4\x9e\x49\x7a\x01\xa8\xeb\x1b\x66\x0b\x3e\x1c\xca\x04\xe4\x00\x95\x46\x11\x88\x46\x14\x77\x32\x11\x35\xc0\x74\x8c\x55\xe5\xaa\xde\xc9\x1a\x89\xbf\x2d\xf3\x7e\x21\x1a\x93\xc2\x9a\x96\x8c\x3e\x3a\x45\xa7\xe7\x57\x84\x29\x13\x85\x0e\x1d\xff\x72\x55\x7f\xbd\x59\x21\xac\x95\x48\xd1\x22\xf1\x77\xed\xe1\xf6\x2f\x66\x47\xfb\xd3\xc9\x99\xd3\x94\x3e\xe4\x42\x5d\x59\x9e\xdc\x6e\x3f\x74\x08\x9b\x5a\x95\x43\x0b\xa1\x55\x35\x69\xc8\x49\x7c\x45\x0a\x87\xc7\x1f\x02\x0c\xc0\xea\x0f\x21\x54\xa5\xc3\x04\xc4\x77\x43\xfc\x16\x92\x9e\x50\x6f\xbf\x71\x6a\x50\xab\x8c\x12\xc7\xa5\xdd\xed\x35\x77\xc3\xbf\x6a\xd8\x30\x97\x5f\xf1\xda\x4f\x35\x26\xe1\xe6\xdf\x0d\x8d\xad\x9e\xc8\x64\x97\x7e\xaf\xe8\xd2\xd2\x88\xdb\xdd\x70\x6c\xdc\xfa\x82\xb7\xb8\x8d\x72\x86\xc2\xcc\x3d\xd7\x74\x76\xab\xb3\x11\x55\xc8\x68\x1c\x6c\x4f\x34\xea\x23\x61\xd7\xeb\x13\x17\x3b\x16\x46\x34\xba\xdf\x35\x6b\x98\x43\x6c\xb7\xe7\x0f\x6b\x1f\x87\x39\xe1\x9e\xcb\x0e\xc4\x6c\xf3\x0a\xdf\x52\x28\x5d\x8e\xc6\xcd\x62\x25\x99\xc0\x1c\x83\x4c\x27\xdc\x0a\x8a\x02\xa3\x77\xd3\x50\x8f\xa4\x2a\x6e\x5b\xc7\xb4\x6c\x71\x8e\x5a\x50\xf4\xb8\x92\x05\x7d\xdc\xae\xad\x5b\xe9\x3b\x77\x5c\xc4\xfd\x11\xd5\xdb\xed\xde\x4b\x3b\xee\x92\x24\x71\x04\x23\x3e\xfa\x0a\x71\x25\x36\x34\x43\x6c\xb2\x79\x2d\x33\x81\xa0\x6d\x7c\x7b\x11\xa9\x20\x9b\x76\x43\x15\x2a\x4a\x8e\xc0\x58\x34\xa5\x53\xc1\xdc\xb5\x71\x82\x36\x3b\xf8\x51\x58\xce\x86\x82\x3b\x91\xfa\xf0\x91\xaa\x24\x44\x08\xfc\x95\x51\x07\xb2\x92\xee\xc7\x82\x02\x1f\x02\x80\x02\x04\x30\xb0\x54\xb8\xfb\xfb\xe4\x55\xa3\x50\xe5\xc4\x7a\x00\xbc\xb4\xba\x6b\x44\x06\xc5\x2d\xe0\xf3\xf8\xf5\xad\x4b\xbd\xb6\x0c\x5c\x1c\x96\x19\x22\x44\x78\x8b\x0a\x45\x78\x12\xfe\x84\xdb\x47\x58\x50\x0a\xb9\xf4\x11\xd1\x31\x52\x45\x51\x5b\x4d\x76\x90\x4a\x73\xdb\xa9\x0a\x0f\x74\x58\xaf\xd7\xdb\x75\xa4\xf3\x4e\xc2\x0f\xcf\xdf\x5e\x6d\x94\x08\x77\xfe\xf6\xaa\x35\x18\xa8\x6b\xfb\x9c\x80\x46\x3c\x2e\xbd\x78\xa8\x9f\x6b\x37\x4e\x82\xa4\xdb\x36\x2b\x4a\x0d\x37\xb0\x21\xec\x22\x4b\xc2\xcd\x01\xe7\xb5\x73\x50\xcc\x9d\xcc\x7f\x45\xee\x45\xb1\xba\x0e\x1f\xda\x9b\xbc\x72\xea\xf5\x11\x77\x68\x66\x81\x7b\x3e\xcb\x8e\xb6\xbc\xbe\x34\xd9\x5d\xc7\x13\xcf\xc3\xde\x9e\xc7\xcb\x11\xee\x1a\xaa\x1b\xa4\x08\xab\x96\x68\x42\xa0\x81\x9f\xa1\x06\x88\x5b\xc7\x49\x99\x59\x99\x67\x91\x40\x01\x92\xa4\xa6\x04\x80\xbd\x1d\xfd\x59\xdb\xd1\xf7\xe6\xe0\x2f\xc5\x1c\xfc\xa7\x0e\xc9\x0a\x14\x6b\xfd\x88\xac\x81\x18\xf3\x3b\xa9\x03\x5e\x6b\x15\x4c\xfa\xf9\x62\xb3\xe2\x65\x69\x5a\x10\x36\x5d\x18\xec\x67\xc5\xd1\xb0\xa5\x89\x72\x48\xe0\x0a\x96\x45\x01\x77\x30\x32\x43\x3c\x87\x25\x5a\xa5\xd9\x3d\xba\x7b\xa0\x62\xa4\x3b\xf5\x0c\x84\x6e\x4f\xb4\x4a\x9b\xf5\xd7\x16\x32\xea\xd0\xb8\x32\x15\x78\x90\x7a\x3e\xd0\x25\x6e\x1f\xb0\xeb\x75\xd4\x7e\x27\xb5\x5f\x17\x1c\x4a\xa4\x6a\x75\x2d\x67\x8d\x00\x5b\xd0\x2b\xe8\x6e\x01\x71\x34\x86\x8f\x66\xbe\xd5\x52\x44\x36\xb3\x62\x44\x9b\x37\xe7\xdf\xb3\xf9\x37\xa4\x8a\xf5\x4f\x49\x7d\x23\xf0\xd6\xeb\xc2\x49\x04\x6f\x9d\x88\xdc\x61\x1f\xd5\xad\xd2\xf7\x9b\xa4\xf5\xaf\x11\xb2\x51\x55\x26\x81\x1b\xa6\xb3\x4c\x14\xd5\xc0\x1e\x23\x5a\x63\x76\xcd\x76\x26\x92\xae\x08\xdf\xa8\xb5\xab\x5b\xb2\xc3\x4f\xfb\xb8\x8d\xe7\x2d\x6f\xae\x15\xb7\x11\x7b\x17\x2b\x9d\xc4\x3b\x16\xc9\x11\x91\x01\x42\xc2\xee\x0d\x8d\x70\x9a\x76\x1c\xc3\x51\xf1\x8c\xb5\xcd\xd0\x7b\x99\xfd\x0b\x94\xd9\xf7\x21\x1c\xf8\xfc\xd1\x65\xb4\xdd\x47\x70\xd4\x35\x8e\x16\x4c\x8b\x14\x8f\x58\xb6\xe6\x16\x37\x06\x13\x08\xd6\xcb\x63\x1b\x4a\xc5\x33\xf9\xfb\xea\xd2\x22\x6f\x43\x43\x20\x08\x8a\xe9\x9c\xff\xab\xac\x08\x2b\x41\x1b\x60\xb4\x08\x19\xf9\xb1\xaa\x3d\x42\xb4\x4f\xb8\x12\xca\x66\x8e\xe1\x4c\xf4\x9d\x27\xbf\x78\xf9\xc9\x08\xd6\x96\xfc\x5a\x6e\x6e\xcd\x11\x4f\x27\x52\x49\x63\x45\xd1\x4d\xb0\x5e\xce\xda\x04\x77\x5b\xe8\x99\x55\xca\x43\xfb\xcd\x5f\xe5\xdf\x6d\xb4\x74\x5b\x10\x3b\xef\x50\x38\x5f\xad\x67\xb5\xc0\x74\xf3\x32\xdf\xaa\xf3\x70\x59\x77\x2f\x93\x94\xc1\xef\xb8\xcc\xf8\x20\x73\xfb\x6b\x44\x71\xc7\x11\x3d\x00\x86\x11\x76\xe7\xa5\xa9\x0d\xb3\x19\x8d\xbc\x33\xee\x58\xa9\x3e\x2d\x77\x76\xb1\xab\x3f\xe7\x36\x19\x77\x27\xa2\x18\x89\x2e\xa2\xa3\x34\xa5\xd8\xf9\x6f\x18\x5b\x70\x2b\x46\xf0\x02\xbc\xbd\xc0\x83\x34\xe6\x66\x95\xa8\x7e\xe1\xda\x78\x71\xc6\xaf\x5f\x05\x93\x00\x5d\x78\x95\x42\x2d\xd5\xac\x77\x72\xa5\x1e\xcd\x57\x7a\x5e\x47\x85\x99\xb9\x09\x3a\x15\x28\x92\x38\x99\x4b\x14\xe8\xff\x94\x8a\xfd\x5c\xcd\x8a\x9d\xf1\x84\x1c\xa3\xe0\xb7\xa0\x5c\x85\x12\x8b\x52\x53\xb1\x69\x09\xe1\x36\xb8\x9a\x3c\x19\x0b\x76\x20\x7b\xa2\xe7\x1e\x09\x9b\xa4\x87\x7b\x05\xe0\x59\x2b\x00\x7b\xe1\xf5\x4b\x11\x5e\xff\xdc\x06\x67\x9d\x6e\x69\x6b\xe6\x14\x38\xf0\x87\xb5\x2c\xbb\x15\x58\x6d\x54\x7e\xaf\x0d\xd0\x38\x94\x21\x51\xb8\x80\x48\x98\xd8\x92\x86\x2b\x71\x11\xea\xc0\x93\xc3\xdd\x47\x8e\x5c\x7a\xb7\xf4\x9f\xda\xde\xec\xd8\xeb\x6e\x55\x18\x9d\x8a\x63\x74\x88\xaf\xe0\xdb\xd4\xaa\x32\x2e\xc7\x32\x6c\x48\xda\xd3\xa9\x93\x10\x67\xea\xf6\x2c\x66\xc3\x33\xdf\x9e\xf7\xfd\x6b\xea\x7a\x41\x41\xa0\x1d\xd9\x53\xcf\xa3\x2f\x40\x58\x53\xb0\xe9\xfa\x50\xe5\x0e\x3b\x7b\x40\x46\x8c\x40\x87\x7d\xe5\xff\x7a\x64\x2b\xab\x5f\xa6\xad\xcd\xac\x6e\x23\x29\xdc\x6c\x95\x9c\x16\xc2\xd2\x80\x0d\xc3\xc9\x04\x6b\x73\xed\x37\x27\xae\xa4\x65\xe6\xd8\x71\x51\x66\xad\x4c\xaf\x39\x84\x06\x16\x22\x3d\x2d\xdd\xe2\x5c\x85\x1e\xfa\x23\xa5\xc3\xe3\x33\xc0\xf8\x59\x2d\x9e\xb9\xa3\x41\x83\xf0\xb8\x3e\xf8\x01\x40\x19\xa4\x1f\x58\xae\x53\x10\xa9\xdc\xe0\x49\xcf\x35\xdc\x4a\x33\x44\x22\x13\xa6\x23\x1e\x9c\xd0\x80\x90\x84\x15\x42\x30\x90\x22\x5f\x3d\xbc\xc3\x06\xa5\x65\xd2\x82\x30\x91\x8c\xb5\x36\x82\xe8\x38\xf6\x7b\x27\x35\x08\x6d\x78\x76\x0a\x36\x71\xd4\x8a\x68\x5c\xd4\x3d\x86\xba\x55\xaf\x49\xc3\x26\x50\x72\xc9\xaf\x8e\xd7\x16\x5c\x37\x01\xb7\x6e\x04\xf0\x5f\xc6\x49\x27\x13\xd7\xe9\xbd\x90\xa3\xb1\x35\x1d\x06\xe2\x6f\x80\xc8\xa9\xba\x9d\x08\x61\x0d\xe3\x59\xe6\x87\x10\x6f\x58\x95\x7d\x6e\xd8\x41\x33\xbb\xbc\xe3\x7f\x9f\xd9\xa7\xb9\xcb\x85\xe8\x52\x87\x1d\x40\x37\x2a\xad\x5b\x13\x37\xc6\xc1\x94\x49\xeb\xa3\x00\xed\xb8\x80\xd0\x55\x58\x8a\x8c\x3e\xac\x6b\xa5\xd9\x9d\x60\xcb\x53\xc0\x25\xbb\x79\x81\xb3\xbb\x79\x11\xea\xb0\x97\x13\x0f\x52\x05\x33\xf4\xc8\x0b\xe8\x88\x29\x10\xbc\x0e\xde\x85\x5f\xce\xaa\xd1\xfd\x7b\x78\xe9\xc0\x1c\x56\xcb\x39\x96\xa3\xb1\x5f\x4d\x4e\x70\x53\xf5\x5d\xd8\xb1\x7a\x7b\xe1\xfb\xad\x56\xf3\x5a\x14\x1b\x64\xac\xd4\xfc\x5d\xf3\xb7\xa9\xdd\x75\x5a\x8f\xd7\x43\x00\xa6\x5e\x8e\x8b\x46\xc8\x74\xe1\x90\xd4\x8e\xd9\x82\x4b\x05\xab\xef\x24\xeb\x89\xb0\xcc\x5d\xce\xea\xb0\x59\xe9\xe8\x2e\xd5\xa0\xc3\x0b\x4e\x22\xb8\xbf\xdd\x29\xd3\x8a\x4e\x08\xc5\x61\x6e\x32\x82\x44\x70\x13\xaa\x44\xd3\x28\xf4\x44\x60\x54\x3a\x4b\x61\x15\x61\x08\xc2\x2f\x25\x3b\x10\xbd\x51\x2f\x02\x72\x43\x9d\xe0\xb0\x13\x09\x2e\x40\x25\x00\xd4\x0d\x71\x28\x6d\x01\x36\xb5\x08\x7a\x4c\xdc\x49\x82\xf5\x74\x9d\x83\x4a\xe2\xd4\x0e\x98\xc9\x8e\x35\xf3\x56\xee\xe4\xb8\x5d\xc5\xec\x83\x69\x69\x86\xed\x93\x0c\xdb\xce\x93\xfc\x37\xc1\x0b\x3b\x10\xdc\x3e\x86\x23\x79\xd9\xa1\x7c\xc7\x8d\x85\xa3\xc4\xee\x05\x1b\x69\x5b\x6d\x17\x9a\x5d\x47\xf2\x4e\xa8\xd8\x69\x3a\xf7\xaa\x3d\xbe\x33\xbc\xdd\x1c\x6a\x9e\x67\x04\x4f\x97\x64\x8e\x75\xec\x82\x04\x6b\x38\x94\x00\xfe\xba\x60\x3a\x0b\x9c\xec\xcd\x3c\xad\x72\xc2\x15\x84\x85\x82\x6d\x90\x5e\x62\x52\xa5\x00\x31\xad\x46\x8d\x30\x83\x0c\x86\x19\x56\x69\x03\x59\x6d\xbe\x07\xbf\x31\xac\x83\x41\x21\xc5\xf0\xb0\x06\x47\x18\x2f\xcb\x4b\xb3\x83\x91\xfc\x51\x23\x02\x1c\x77\xfc\xa3\x45\x00\x20\xe1\x19\xca\xd1\xca\x30\xf3\x66\xd3\xb8\x5e\x2b\x23\x29\x26\x5a\x85\x2a\x55\x1f\x6a\x64\x24\x96\x2a\xed\x9a\x72\x80\xa4\xff\x40\x3c\x24\x59\x89\x82\x03\x99\x0b\x0e\x83\x1f\x44\x69\xd5\x55\xb2\x4d\x0c\x2b\x7e\xea\x3d\xdf\x1c\x76\xf4\xc4\xf7\x30\xb3\x18\xcb\xe8\x42\x78\x0b\x25\xf5\x90\xf6\x83\x30\xe2\xe7\xa8\x92\x85\x46\xbb\xe7\x29\x6e\x94\x2b\x7d\x20\x8d\xa6\x0d\x2f\x98\x69\x5e\xa1\xa1\x1c\x31\x6e\x8c\x1c\x29\x64\xd4\xee\xfd\xde\x55\x2e\x92\x5e\xbc\x2c\x6d\x14\xcc\xc4\xca\xbb\xb5\xc9\xf4\xe2\x53\xb9\x6c\x23\x8e\xe1\x5b\xac\x10\x98\x41\x09\x53\x19\x8b\xe4\x16\x44\x08\x91\xfa\x79\x05\xf9\x55\x22\x44\xf3\x9d\xc8\xa6\xac\x34\x52\x8d\x7a\x8c\xba\x00\x31\x27\x58\x30\x7d\x3a\x49\xec\x3c\x20\xc5\xdf\x2f\xd9\xb1\x5f\x2b\xfc\x46\x87\xe9\x7a\x73\xc7\x3b\x7e\x76\x84\xe7\x27\xad\xab\x46\xa9\xc8\x05\x0a\xcc\x5a\x31\x5f\x4d\x87\x5b\x0b\x30\xb2\x08\x0d\x5c\x12\x90\x72\xe3\x03\x04\x31\x0e\x11\x18\x5c\x31\x51\x14\x7a\x11\x97\xf1\xdb\xf8\x44\x7b\xe0\xc7\xd9\x7a\x17\x60\xad\x49\x2e\x2b\x8d\xe8\xb1\x5f\xc6\x42\x2d\x38\x70\x6e\xcb\xc8\xf2\xdb\xa9\x7a\xa8\xba\x27\x9f\xae\x31\x3a\x91\x3c\xfa\x58\xce\xa7\x99\xe6\x00\x8d\x9b\x41\x8a\x18\x26\xff\xf0\x4c\xab\x11\xaa\x23\x9c\x32\x71\x63\xbe\x1a\x32\x29\xb1\x97\x48\x65\x84\x3b\x4e\x4e\x02\xf0\x39\xc0\xab\x56\x7b\x85\xd4\x49\x90\xf4\xe9\x6a\x70\x1d\x82\x80\xf6\xeb\x52\xbd\x28\x55\xd8\xdf\x5e\xb5\xd3\x90\x04\x82\xb3\x0d\x91\x36\x74\x51\x11\x9b\x1a\xf3\xfc\xa0\x87\x31\x37\x6c\x20\x9c\x08\x15\x2f\xb5\xd5\x54\x07\xeb\x17\x9f\x5a\xf6\x73\x39\x10\x99\xb0\x88\x69\x4b\x58\xd4\x50\x9e\xd7\x16\x08\x2e\xc4\x26\xfc\x76\xfe\x89\x83\x67\x78\x3d\xe8\xc9\x60\x0a\x39\xa8\xa0\x92\x2a\x70\x7c\xc8\x94\x07\xd7\x40\x6d\x24\x7e\x03\x82\xff\x08\xa8\x4a\x98\xf4\xfc\x93\x0b\xa7\x7a\x05\xcb\x3d\x73\x6d\x62\xcc\x75\x35\x05\x5c\xe6\x4c\x4c\x70\x79\x55\x22\x33\x3f\xa4\xd9\xf3\x44\x7a\x4b\x6d\x5e\x3d\x06\x9d\xa2\xbb\x42\x27\x49\x59\x74\x50\xb5\xc7\xfa\x4e\x9d\xc6\x0d\xad\xe6\xb9\xb8\x7f\x3c\x74\xd1\xdd\x70\x9b\xb6\xa4\x23\x50\x47\x68\xc9\xa2\xd3\x0c\x27\x75\xe6\x23\xcd\x7e\xe0\x2d\x5d\xf8\xfd\x98\xbb\x9b\x04\x46\xdd\x9c\xa8\xd3\xba\x52\x39\xc4\xd4\x51\x9f\x6f\x7c\x3f\x96\x99\xd3\xa7\x54\xe2\x3e\x10\xd6\x88\x17\x99\x14\x05\x92\x1e\xe3\x75\x31\x7d\xaf\xfc\xe7\xab\xe9\xb8\xd7\xb0\xd9\x61\xa5\x40\x52\x8d\x04\x00\x0f\x2e\x74\x96\x0d\x78\x02\xf5\xa0\x6b\x94\x32\xf6\xb4\x19\x9d\xdd\x09\xc6\x93\x42\x1b\x13\xce\x71\x21\xe0\xe0\xf6\xd8\x3b\x6e\x9b\x83\xf1\x67\xb3\x5a\x0a\xac\x1e\x3f\x87\x1a\x1d\x7a\x8a\xdf\x62\x4c\xe0\x72\x22\xdf\xa0\xfb\x66\xc2\x9d\x5c\x89\x08\x8b\xa5\x41\xa5\x32\xd7\xc6\xc8\x01\x96\x55\xf0\x23\x07\xab\x0b\x9c\xd6\xc1\x94\x0d\xe5\x43\xb8\x27\x0d\x6e\x2b\xd5\xec\x16\xf7\xd8\xdf\x75\x09\xc9\x8d\x43\x49\x16\x1a\x4c\xed\x99\x51\x07\x53\x31\x28\x47\x23\x28\x3a\x3f\x65\x46\x80\xb1\x9d\x3e\x84\x1f\xaf\xf4\x87\x1a\x41\xc8\xb4\x3f\xf7\x28\xc5\x8c\x9d\xd6\xd1\x0d\x5a\x47\x74\xeb\x82\x31\x0d\x1a\x43\x10\xc2\xbf\x33\xd2\xab\xb0\xc6\x1e\x2c\x70\xe0\x67\xba\x80\xfd\x0e\x7d\x43\x60\x0b\x5a\xf1\xc8\x0d\x8b\xc7\x21\x0b\xd5\xc4\x8d\xe5\x03\x99\x49\x3b\xf5\x9f\xc2\x77\xad\x78\xb0\xcd\xfd\x27\x36\xbc\x89\x45\x3a\x8b\x37\xf5\x69\x98\x63\x5d\x0a\x58\x8f\x43\x0e\x79\x96\x31\x7f\x20\x21\x55\x58\x5a\x26\x14\x20\xb7\x3b\x5e\xe4\xa5\x80\x76\xf2\x03\xf2\xb2\x26\x89\x1f\x88\x44\x4f\x48\x24\x9c\x27\xb1\x54\x29\xca\x30\xae\x54\x20\x66\xba\x88\x4a\x5c\x34\xbb\x94\x06\xb6\x33\x13\x70\x93\xc1\x4a\x98\x58\xaa\xbf\x22\x43\x2c\x4b\x36\x65\xd2\xd1\xd6\x89\xf0\x45\x19\x39\x7b\xfd\xaa\x3b\x91\xaa\xb4\x82\x19\xcd\x6f\x3d\x18\x3b\xf0\x2c\x37\xb7\x30\x94\x8c\x72\xbe\x81\x0f\xea\xe1\xbc\x11\x54\xce\xe2\xb9\xd2\x9a\x6b\x42\x1c\x80\x66\x21\x10\xe2\x1c\x78\x34\x7e\x18\x6e\xf8\xc2\xf5\xe9\xb1\x73\x6d\xbd\x25\x79\x38\x87\x0f\x20\xbf\x15\x90\xf1\xa9\x64\xc6\x0e\xdc\xbe\x90\x28\x42\x99\x9d\x64\xb7\xaa\xaf\xbb\xbb\x8b\x99\xd1\xb5\xd2\x06\x71\x47\x1d\x37\x26\xee\x37\xb9\xd6\x61\x34\x39\x9e\xdd\xf3\xa9\x71\x24\xa6\x9c\x88\x94\x8d\x60\xc4\x8e\xa2\x44\x17\x10\xf8\x3e\xb4\xa0\xaa\x37\x55\x5c\x14\x79\x95\x26\xc2\x8e\x35\xac\x8b\xdf\xf8\x8a\x1f\x44\x77\x36\xda\x67\x25\x8c\xe9\xb8\xdd\x84\x85\x44\x83\x3d\x02\xbf\x15\xb4\x96\x95\x7e\xe8\x8e\x08\xd1\xa4\x61\x69\xcb\x62\xe7\xd6\xb7\x53\x2e\x26\x5a\x9d\x51\xa8\xc1\x2a\x65\xa9\xd1\x1a\x42\xf5\x0c\x41\xb3\xe8\x5c\x90\x5a\x94\x42\x2b\xc3\x8a\x52\x29\x12\xe3\x21\x7f\xa9\x9d\x45\xee\x16\x89\x98\xff\xc8\xc6\x34\xa8\x3e\xd6\xa5\x14\xc8\x37\x42\x85\x43\x26\xe3\x58\x22\xcc\xa0\x3a\x3f\x24\x72\xef\x76\xe9\x57\x25\x15\x50\x13\xef\x72\xb9\x1f\xeb\xac\x0a\x8e\x74\x74\xef\x1c\xfc\x46\x38\x60\x08\x48\x02\x59\xb7\x10\x23\x08\xb8\xf2\x92\xd1\x84\xbb\xbf\xf6\xc1\x47\xcf\x3a\xf8\xa8\x4d\xf6\xc1\x3b\xda\x7a\x70\x17\xee\x38\xc0\x51\xa7\xfb\xc8\xff\x7d\xf0\xd4\x3e\xf2\xff\x69\xa2\x65\x1e\x21\xe8\x3f\xf6\x83\x2e\xe6\x29\xc7\x28\xa2\x1a\x6a\xd9\x44\xf4\x2a\x55\xa4\xc9\x78\x5b\x9a\x1e\xd6\x82\x06\x00\xd6\x84\xfd\xab\x14\x60\x1a\xd1\x77\x00\x28\xe3\x44\x2f\x4f\x99\xfe\xdd\x87\x0e\x80\x70\xd8\xf8\xc2\x87\xcb\xe0\xf2\xa7\x31\x44\xec\xa1\x8a\xaf\xaa\x8f\xd2\x89\x55\x6d\x62\x38\x54\xb4\x08\xd7\xee\x9d\x95\x01\xe7\x78\x4e\x7a\xec\x38\xf0\xd5\x79\x5f\x06\xad\x00\xfe\x09\x1e\xe1\x0f\x97\x3b\xf7\xc0\x9f\x37\x46\xfe\x68\x60\x91\xb3\x4b\xb4\x0b\x0f\x89\xef\xf1\xb2\x72\x69\xaf\x75\x08\xab\x7a\x03\xc8\x1f\xc2\xf2\xbb\x83\x14\xbc\xbd\xbe\x10\x26\x67\xb7\x62\x8a\x0c\x1f\x92\x46\x44\xc1\x43\x63\x28\xe5\x48\xf2\xc8\xad\x98\x7a\x0b\x5c\xd9\x2a\x06\xa8\x5d\x91\x52\xbc\x00\x50\x0e\xd2\xab\x77\x61\xc0\xeb\xc3\x91\x47\xc4\xdc\xcf\xa4\x7d\x9a\x04\xac\xc4\x4b\x43\x05\x2c\xb5\x02\x3c\x22\xf0\xaf\xd0\x85\xf4\x82\xcf\x27\x9e\xc9\x34\x2c\x15\x1e\xe3\xbe\xea\x38\xfd\xcc\xfd\xe7\xec\xc1\xc9\xf1\x1d\x76\xaa\x85\x39\xd7\x16\xfe\xec\xb1\x9f\xc8\x36\xfb\x6e\x93\x4a\xac\xf8\xe5\x55\x82\xa4\x62\x70\x8e\x01\xe7\x31\x12\x0a\x4c\xd0\x49\xc3\xee\x4a\xe3\xd8\xb2\x2e\xfc\x90\x41\xe0\xc4\x04\x21\xec\x22\xf6\x8c\x81\x31\x65\x6e\x1f\x38\x53\xd7\x4f\x3c\xd7\x25\xdd\x2d\xee\xea\x27\xc0\x7b\x7a\xb7\xf0\x65\x4a\x11\x30\x52\x8d\xb2\x10\x59\xd4\x21\x71\xdd\xd7\x5d\x05\x29\x36\x2f\x84\xd7\xef\x15\xa3\x82\xa6\x64\x0c\xc0\xfe\x50\x86\xce\x78\x02\x15\xfa\x0a\x34\xd8\x51\x22\x88\x4c\x18\xa4\x81\x30\x48\x0f\x79\x9a\x02\xd9\x2d\x89\x4d\xa3\xea\x68\x38\xdf\xbb\x24\x39\x40\x2d\x97\xd2\x9a\x32\xcb\xa0\xfc\x03\x64\x8e\xcd\x92\xf7\x10\xaf\xa5\x74\x85\xbc\x8e\x15\x05\xa3\xf8\x1c\x64\x5a\x18\x8f\x75\x7c\x7e\x8a\xc5\x72\x05\xbb\xd6\xb9\xce\xf4\x68\x1a\x8f\x06\xb1\xe7\x82\xe1\x06\x08\x5a\x39\xa0\x0b\xe9\xf5\xe0\xf8\x85\x16\x94\xa9\x19\x39\xb6\xea\x5e\x2d\x60\x67\xb5\x29\x0d\xa6\xde\x84\x01\x14\x6d\xd7\x10\x97\x8b\xf8\xc2\x36\x5a\x06\x2c\xc3\x5b\x29\xb2\x74\xc7\x2b\x00\x1e\xf7\x67\xbb\x02\xbb\x30\x36\xac\x4a\x06\xa5\x26\x8b\xf3\x40\x11\x38\x38\xb8\x88\xa9\xe4\x2b\x98\x18\x5a\x47\x21\xcc\xc4\x50\xac\xbf\xa0\xad\xad\xca\xfd\x99\x9a\x33\x26\x38\x9f\x46\xc2\xce\x89\xc3\x40\xe5\xd1\x5d\xeb\xd3\xa9\xe2\x13\x99\x90\x11\x08\x3f\xe9\x11\x30\xd9\x88\x5b\x51\xb1\x07\xc5\x07\x59\x84\x2a\xeb\xed\x46\xc1\xc6\xec\x23\xf9\x16\xf8\xf2\x7c\xe0\xf6\xe9\x8a\xf3\x7c\xea\x98\x7e\x82\xea\xe9\xb9\xb6\x60\xfe\x21\x43\x99\x41\x66\x02\xd6\xcf\xf0\xb9\x1e\xbb\xc4\xa4\x58\x0a\x64\x04\xcf\xe8\xeb\xde\xeb\x6f\x7a\xcc\x08\x51\x69\x67\xd2\x18\xc7\x6e\x49\x41\xfb\xfe\xf5\x5f\xbf\xff\x7e\x13\x90\xe7\xf4\xa4\x7f\x7a\xb9\x12\xe6\x19\x5a\x35\x35\x82\x5c\xa7\xac\x7f\xc1\x0a\xb0\x80\x06\x77\x4f\x1c\x39\xb9\xf1\x80\x56\x11\x09\xdf\xac\x39\x24\x3f\x1c\x33\x77\x3c\xb0\xd7\x08\x6e\x3f\x98\xb2\x0b\x9d\x52\x65\x1c\x6e\xe3\x40\xcf\x10\xc1\x29\x4d\xf3\x1c\xbe\xb2\x63\x42\xa3\x86\x53\x84\x40\xf8\xb4\x14\xb0\x42\xb4\x83\x7d\x8a\xe6\xa6\x5a\xe2\xdc\x62\x14\xf0\x6b\x32\x9c\x84\xb8\x6a\x3d\x64\xfd\x8b\xbb\x6f\x41\x56\xeb\x5f\xdc\x7d\xff\x98\x32\xc0\xae\xb2\x53\x11\xbd\xaf\x58\x79\xee\xfb\xa7\x71\x26\x4e\x2d\xf8\x06\x0d\x3b\xba\x4c\x3d\x16\x60\x48\xbe\x44\xdf\xdf\x1b\x76\x53\xbe\x7a\xf5\x4d\x72\x41\xbf\x9e\xf3\x89\x80\x27\xe2\xcd\xd1\x51\xfd\xa7\x2b\xdc\xa0\xc4\x11\x98\xfe\x29\x36\xda\x20\x14\x8e\x37\x2c\xe8\x73\x27\x34\x5b\x0a\x0b\x59\x10\xbe\xbd\x63\x16\x74\xed\x3a\xdd\x8a\xe5\x96\x8a\x02\x9a\x1d\x9d\x5b\x31\xb7\x8f\x71\x5b\x0f\xfb\x63\x88\x03\xfb\x5f\x82\x0b\x53\x89\x7b\xc8\x80\xe8\xb1\x1f\xa7\xde\x3b\xd3\x09\xfc\x25\xea\x69\x6d\x0c\x15\x30\x43\xc0\xff\x1e\x7d\x35\xe1\xaa\xe4\x59\xd7\xfd\xd1\xf5\xc9\xc8\x48\xee\xdb\xc2\x7c\xee\x84\xfb\xb6\x89\x44\xdb\x24\x11\xbf\x65\x94\x33\x65\xea\xac\x54\xc8\xbc\x89\x39\xb4\xc7\x1a\xcf\x9c\x9c\xf6\x55\x30\xfb\x7f\x80\xfd\x87\x22\xc3\xeb\xb7\xb0\xc3\xe4\xb0\xca\xda\xdf\x6a\xf3\xaa\x61\x9c\x6b\x2b\xde\xa0\x4a\x14\xc8\x6a\x2a\x92\x8c\x17\xa8\x38\x01\xad\x71\xdf\x43\x17\x3a\xa4\x4c\x80\x56\xe4\xf4\x74\x2a\x28\x6e\xca\xe1\x50\x26\x12\x1d\xab\x98\xb9\xdd\x09\x95\xf9\x15\x43\x87\x61\xca\x2d\x07\x47\x5d\x89\x6e\x7d\xef\x53\x96\xf4\x8d\xb4\xc7\x4e\x78\x96\x45\x1e\x0b\xa9\x8c\x15\x3c\x05\x7e\xcf\x01\x92\xb9\x4b\xca\x1a\x58\x34\x50\x2d\x63\x57\x42\xc0\xf4\xdf\x1c\x1d\xe5\x85\xe7\xb7\x3f\xfc\xf5\x9b\xbf\xbe\xa6\x02\x9e\x3e\x90\xe6\x11\x84\xd0\xe3\x7a\x9e\xd6\x2a\x3a\xb0\x8a\xc6\x3f\x1a\x66\x01\xcf\x00\x27\x7e\x1e\xa5\x79\x7e\x35\xf2\x8e\xab\xc1\x36\xe5\x87\xaa\xd2\x4d\xb8\xa3\x55\xdd\x8d\x0a\xcf\xc2\xed\x7b\x95\x52\x52\x07\x33\x3e\xe1\x39\x4f\xa4\x9d\x6e\x50\x56\x2f\xa1\x57\x9f\xff\x12\xfa\x49\x36\xd7\xcf\x6a\x0b\xb1\x0b\x33\xab\xb8\x31\x16\x72\x2e\x0a\x03\x6e\x5c\xdb\xf5\xb0\xc8\x61\x99\xd6\x5f\xe0\xb6\x80\x26\x21\x63\xc5\x03\xdc\x04\x63\x97\x27\xe5\x21\xeb\xb8\x1e\x1b\xbf\x7e\xed\xb7\x98\x6a\x86\x6e\x76\x4f\x49\xfe\x38\xf8\x27\xa8\xd9\xed\x42\xd5\x6c\x0d\x4f\xba\x20\x4e\x3c\x56\x1d\xee\x24\x87\x3f\x52\x54\x30\x83\xba\x98\xd4\x54\xcc\x05\x81\x9f\xe9\xc2\x50\x8d\xf5\xe7\xd6\x0c\xfb\x68\x13\x1d\x01\x33\x5c\x1a\xdb\x31\x77\xd8\x72\xc2\x47\xad\x05\x8f\x50\xa4\x90\xe1\x6b\xa1\xe8\xa8\x9a\x49\x32\xdf\xf6\x3c\x9f\xf8\x4f\xf5\xdd\x97\xb6\x12\x92\xdd\xe0\xfa\x6a\x38\x53\x9e\x77\x3d\x53\x11\xa4\xe6\x41\x37\x4b\x0f\x1b\x1a\x12\x65\x6a\x8e\xca\x52\x62\x02\x31\x0a\x33\xd9\xd4\x07\x12\x4f\x23\x49\x6d\x0b\x42\xe2\xde\xda\x1c\x5d\xc8\xcd\xa9\x86\x30\x34\x8b\xb5\xb0\x08\x6b\x68\xdb\x81\x63\x6f\x50\x21\xc3\x0b\x8b\x4a\xdc\x89\x82\xe5\x1e\xc8\x01\x3d\x1b\x4a\xdf\xa3\x20\x19\x8c\x2b\x1b\x38\x3a\x90\x9f\x1c\x53\x25\x95\x96\xe7\xdc\x57\x95\xa8\xc4\x02\x5f\x89\x65\xb1\xe5\x63\xdb\x03\xef\x87\x88\x65\x33\xb6\x3a\xf0\x34\xfc\xbe\xfa\xb8\xf2\x18\x04\x95\x02\xbe\x0e\x82\x8f\x9f\x3c\x54\x19\x16\xec\x80\x2a\x3d\x1c\xc6\xde\xdf\xcf\xe4\xc8\xd8\x44\xb7\xab\xee\xed\x0a\xfd\x2e\x34\xf4\x6e\xce\xb5\x6e\x72\x0b\x2d\x2f\x0a\x9f\x68\xe1\xc8\x3c\x8e\x9a\x53\xd8\x6d\xdd\x03\xbf\xfe\x65\x18\x68\x6d\x57\xda\x74\x7e\xd4\xda\xb2\xfe\xe9\xdc\x4f\x6e\x70\x01\x03\xcb\xb8\x2c\x95\x95\x13\xd1\x2e\x86\xed\xa4\xf1\x16\xf3\x11\x6d\xf3\x46\x15\x30\x02\x0a\x6a\x5c\x88\x89\xb6\x82\x1d\x5f\xf4\x43\x88\x7f\x72\x2b\x8a\x37\x47\x47\xaf\x7b\xdf\xf5\x5e\xb5\x2e\x98\x13\x47\x50\x39\xca\x96\xb5\x1b\xfc\xcf\xd0\x76\xf9\x90\x41\x33\x7f\x59\x42\x89\x91\x6e\xf1\x92\xc6\xf9\x4d\xef\xf5\xf7\xbd\x57\xdd\x57\xbd\x41\xae\x7b\xdf\x76\xf9\x24\xfd\xfe\xdb\x8d\x46\x5b\x0e\xc4\x45\xa1\x1f\xa6\x2d\x07\xec\x9b\x2f\x1d\xf3\x86\xe3\xc8\x84\x6d\x3f\x0a\x27\x6d\xed\x78\x0c\xa4\x12\xad\x3c\xf7\xef\x7d\xbb\xf9\x1f\x66\x6f\x75\xe1\x01\xe5\xa8\xcb\x90\x18\x94\x70\xca\x72\x27\xab\x27\x20\xe9\x35\xac\xcc\x15\x3a\x04\x7b\x27\x78\xa1\x30\x5c\x07\x8e\xc1\x84\xab\x83\xef\x0e\x7d\xaf\x5d\x99\xbe\xf1\xb6\x88\x09\x57\x3f\xf4\x74\x31\x3a\xca\xa4\x2a\x1f\xdc\x9f\xdd\xdc\xc9\x5d\xee\x5f\xdf\x1d\x55\x2f\xf4\xbe\xeb\x8d\xed\x24\xdb\x34\xa8\x41\xaa\x11\x52\xbf\x16\x64\xe9\x43\xa8\xcf\x85\xaf\xec\x88\x34\x69\x83\x72\xde\xf2\x01\x7c\xb8\x62\xd0\x6c\xc9\x9d\x3a\x12\x36\x39\xd2\xa6\x5b\x88\x0c\xc0\x19\xf0\x62\x9d\x8a\x81\xe4\x8a\xfd\x74\xfe\xf1\x08\x0b\x40\xfd\xc0\x0e\xee\xc7\x42\xfc\x3e\x3d\xdc\xe4\x7e\x21\x4e\xc3\xc7\x8f\x2b\x0f\xd5\x55\x68\xb8\xf1\xa9\xaa\xce\x65\xfd\x14\x5d\xcf\x73\x62\x24\x8e\x4b\x5d\x8a\x94\xfd\x8d\x5b\xa8\x61\x64\x82\x74\xc6\x93\x44\x18\xd3\x2b\x44\x3a\xe6\xb6\x97\xe8\x89\x93\xd0\xca\x89\x8f\xfb\x3d\x12\xaa\x5b\x9a\xa3\x42\xa4\xbf\x8e\xb9\xfd\xd5\x94\x83\x30\x91\x5f\xab\x1a\x5a\x47\xaf\x8f\xdc\x41\x3b\x2a\xc6\x66\x02\x6c\x71\xb7\x69\xe2\xd5\x5d\x9d\xbf\xd8\xb3\xbc\x6c\x21\x89\x9e\x73\xb6\x5a\x70\xa5\xc5\xb4\x6b\x19\x75\x5d\x72\xa1\x3a\x0b\xf8\x3f\x3d\xde\x38\xc8\x02\x41\xf4\xc0\xd9\xde\x22\xb0\x70\x4e\x6b\x72\xba\x83\xe1\xa3\x8a\x18\x17\x29\x1d\xa9\x5a\x14\xf8\x0e\x83\xd3\x3f\xd5\x53\x90\x29\x14\xdd\xfd\x13\x46\xe7\xab\x08\xde\x17\xd2\x5a\x81\x24\x15\x22\xfb\xf4\xb0\x13\x92\x4e\xdc\x19\xbf\x79\x71\xf7\xfa\xe6\xc5\x06\x57\x77\xe8\x3f\xb3\xca\x1f\xea\x46\x42\xa3\xc4\x25\xb1\x9a\xd6\x2c\xe4\xb5\x06\x54\x18\x27\x69\x50\x8c\xe8\x8e\x81\x13\xaa\xe1\xee\xe6\xc4\xb4\x29\x25\xba\x61\x15\x51\x09\x35\x15\x2d\x86\xa2\xa6\x5e\x38\x0e\xd0\x54\xbb\x3f\x4b\xd1\xaa\xcf\x54\x10\x7d\xbc\x83\xd1\x1f\xd2\x9c\x28\x59\x8d\xb3\x5c\x0a\x04\x8f\x08\x37\x26\x78\x1d\xf0\xa1\xa3\xe7\x85\x47\xc0\xee\xa0\x60\x40\x01\x75\x55\x5e\x05\x7a\x91\x31\xeb\x93\xfd\xef\xab\x0f\xe7\x47\x3f\x69\x1f\x1f\x00\xa4\x1b\xd3\x16\x31\x4c\xcd\x94\xc9\x98\x71\x40\x44\x70\x67\xe6\x0a\x50\x95\x27\x5c\xc9\xa1\x30\x8e\xb8\x13\x75\x33\xff\xf8\xfa\x9f\xc8\x63\x42\x1e\x30\x61\x61\x85\x98\x7d\xbf\xc9\x54\x32\x33\x32\xf1\xdc\x4b\x3b\x86\x21\xe5\x3a\xa5\x41\xdf\xc3\x60\x2d\xbf\x25\x04\x1c\x74\x75\x67\xf2\x56\xbc\x61\x37\x00\x8c\x19\x7d\xfb\xbf\x9c\x70\xfb\xdf\x37\x2f\x80\xd3\x16\x82\xdd\x40\x39\xd8\x9b\x17\xb5\x44\x74\x84\x2e\x8e\x8c\x73\xf4\x71\x0c\xde\x2c\xe4\x68\x04\xa9\x32\x90\x33\x70\x27\x94\x3d\x74\xc7\x4b\x0e\x99\xd2\x51\xe3\x50\x11\x3c\x5c\xc8\x99\xc1\xfc\xe3\xeb\x7f\xba\x91\xd4\x67\xc7\xa4\x4a\xc5\x03\xfb\x1a\x2f\xb4\x63\xaf\x3a\x3d\x24\xce\x6a\xa6\xca\xf2\x07\x88\xa5\x19\x6b\x23\x14\x66\xb6\x5b\x8d\x81\x83\x80\xf2\x74\x2f\xb2\xac\xeb\xcb\x5b\xdf\xa3\xe9\xd8\x2f\x28\x06\x01\xe6\xbc\xb0\x0b\x48\x69\xeb\x73\xd9\x36\x77\xa3\x4d\x0d\xdd\x67\x93\x19\xf1\x87\x2d\x0c\xdc\x98\x43\xb3\x22\xe2\xa2\x89\x50\x05\x92\xc7\x9f\xcd\x5a\xc8\xdd\xd1\x64\xbc\x3b\xa7\x1d\xe5\xf5\x11\x19\xac\xf1\x1a\xa6\xf9\x4a\x08\x98\x81\xa8\xd8\x88\xba\x4c\x78\x8a\xe4\x87\xab\xc7\xc7\x63\x75\x4b\x06\x4e\x9c\x64\xda\xa5\x48\x07\x80\x67\x4d\xb4\x42\x4f\x53\xb2\xc0\xb3\xb4\x6c\x8d\x9c\xb8\xbb\x22\xc4\xa2\x0a\x88\x79\xdc\x23\x5b\xca\xd6\xb7\x6e\x5b\x23\xda\x45\x70\xce\x91\x65\x72\xb1\xe0\xd0\x6c\xca\x0e\x2e\x3e\x1d\xfa\xa4\x32\xac\x60\x1d\x32\xc7\x20\x1e\x81\x44\xce\xc1\x14\xdc\x6f\x55\xfc\x87\x2e\x20\xbe\x0a\xdc\x72\x3c\xd3\x23\x4d\xc8\x64\xbb\x76\x33\xee\xb3\x2e\x9f\x73\xd6\xe5\x3e\x6b\xf1\x4b\xc9\x5a\xfc\x53\x43\xbe\x37\xa9\xe2\x7a\xf0\xef\x3c\x98\x76\x2a\x42\xc1\x2a\x4a\x16\x6a\xca\xdf\xd7\xe2\x2e\xc1\x02\xd9\x63\x17\xab\x88\xec\xee\x02\x36\xe6\x10\xd7\xf9\x4b\xb9\x1d\x7a\xfc\xcc\x62\xb6\xf6\xff\x37\xa2\x58\x7c\x8c\x47\xa4\xcc\x1e\x51\xe8\x9e\x8f\x16\x9f\x59\xe5\x8d\xa1\xe6\x1f\x63\x4d\x57\xf1\xf5\xf0\xfc\xb1\x52\x65\x67\x04\x83\x5a\xab\x6d\x53\x66\x9b\xbd\x9f\x64\x5c\x2e\x4b\x25\x9a\xdb\x1e\x59\x43\x69\x44\xf1\x32\x50\x68\x0a\xe8\x4b\x59\x02\x2d\x50\x83\x6f\xee\xf4\x5e\x30\xd8\x0b\x06\x7b\xc1\x60\x2f\x18\x3c\xa9\x60\x00\x24\x6b\xfd\xe2\x30\x64\x03\x64\xc9\x98\x17\x3c\xb1\xa2\x90\xc6\xca\x84\xe2\x32\x49\x3c\xa0\x43\x48\x62\x00\x64\xf5\xf0\xd2\x8e\x1f\x4b\x04\xc0\x27\x40\x60\x9f\x46\x0c\xc0\xa5\x7b\x04\x59\x60\x81\xb8\x05\x53\x7b\x74\xae\xbf\x60\x19\x9f\x1d\xe7\x47\xde\xfc\xf8\xec\xbf\x0d\x16\xfd\xf2\x17\xc9\x68\x9c\x2d\x2c\x73\x9e\xdf\x25\xed\x50\xe9\x2f\x0a\x3d\x10\x9f\x15\x91\x3e\x77\x23\x48\xbd\xdd\xfc\x8f\x8b\x41\x4f\x6e\xc7\x47\x04\xa2\xef\x3e\x3b\x20\xfa\x8f\x94\xdf\x82\xae\x20\x14\xe6\x06\x80\x47\x30\xd6\x85\xed\x84\x58\x80\x52\xa5\xa2\x30\xc0\xfd\xdc\xf0\x49\x96\x01\xe7\xc8\x48\xde\x09\x1f\xb9\x19\xd0\xec\x97\x21\xd9\xb3\xfe\x90\x20\x5f\x00\x10\xee\xe6\xc5\xa5\x30\xf2\x77\xa7\x41\x15\x56\xa4\x37\x2f\x7c\xf1\x17\xae\x3c\xdc\x4c\x2a\x8a\x6c\x0a\x25\x2c\x66\x08\xa0\x34\x6c\x20\xb0\x20\x8c\xeb\x64\x93\xd0\xcc\xf9\x2c\x60\x53\x54\xfb\x67\x8a\x50\x3f\x97\x1c\xad\x80\x96\x5b\xf8\x4e\xbd\x76\xfd\x02\x8d\xc7\x8a\x56\x68\x3c\x7b\xfd\xe5\x79\xc3\xc9\x55\x10\x09\x0b\xa4\x8f\xf5\xb3\x50\xd6\x97\x39\x76\x1a\xe0\x3c\x5f\x6a\x88\x3a\xdb\xc3\xda\xfd\x69\xf5\xc0\x3d\xac\x1d\x3e\x7f\x52\x89\x7d\xf7\x38\x77\x8b\x35\xda\x35\xb9\xdd\x1c\xb0\x13\xb7\x8f\x5a\xd5\x6a\xdf\x0f\x83\x5b\x31\x15\x77\x32\x01\x24\xfd\x94\xf1\x2c\xd3\xf7\xee\xc6\x13\x8c\xb1\x93\x8b\x7c\xf6\x73\x37\xc4\x49\x56\xfd\xb4\xa9\x07\x92\x08\x63\xde\x03\xb0\xe7\x0a\xaa\x5d\xb5\xac\xc2\xa6\x62\x25\x9d\x42\x79\x26\x54\x53\xd0\x67\x5b\x78\x86\x38\xe6\x77\x3b\x4d\xa3\xc4\xcf\x75\xe1\x73\xdd\xd7\x4f\x92\xb4\x11\x11\x0a\x77\x3d\xb7\x04\x95\xb9\x9e\xe6\x22\x7d\xa7\x13\x9e\x35\xe3\xd7\x96\x51\x8a\x28\x36\x36\xe1\x0a\xc8\xac\xc1\xe4\x1d\xdc\xff\x29\x55\x47\x79\xc3\xfe\x07\x3b\x56\x4c\x3c\x48\x03\x9c\x80\x7c\x0a\x8a\xe7\x66\xac\xad\xe7\x00\x07\x86\x1e\xf4\x68\xa5\x3d\x69\xa9\x37\x3f\x6c\x74\x76\xf1\xe9\x84\x1d\xcc\x3d\xdd\xcd\x96\x49\x69\xac\x9e\xc4\xec\x87\xdb\x18\xa2\x0a\xb2\xde\x29\x39\x0a\x6a\xc8\x1d\x67\xf9\x98\x1f\x22\xe4\x5a\x8a\x65\x2b\x4b\x23\x66\xfb\x71\x94\xab\xd1\x5b\xb3\x33\x44\xb9\x38\x56\x53\x1c\xdf\x69\xd8\xb2\xa5\x88\x3a\x01\x72\xad\x72\xe3\x03\x68\x3e\x24\xca\x93\xa8\x46\x71\x17\x19\x94\x1b\x50\xcc\x94\xb9\x53\x3c\x1a\x91\x93\x30\x1a\x43\x25\x21\xa4\x45\xb0\x1c\x44\x2f\x62\x1c\x40\x28\xe8\x82\x0c\xb8\x81\xf2\x22\x21\x4e\x2c\x02\xfe\x9a\xdf\xdf\x02\xbd\xb1\x92\xdb\x36\x3d\x93\x97\xd4\x43\x84\x1a\xb5\xdc\xea\x74\x19\x72\xa5\x1b\x86\xa7\x89\x54\x72\x52\x4e\xa2\x64\xea\xc7\x27\x09\xd5\xfc\xe7\x6b\x65\xb3\xd1\xc4\xad\x56\x67\x19\x73\xe7\x03\x91\xb5\x2a\x03\x79\x1c\xe1\x97\x4e\x11\xbd\x34\xa4\xe2\x41\xc0\x9f\x01\x20\x19\x47\xd1\x07\x12\x8a\x10\x2d\xd8\x64\x9a\xff\x49\xc6\x8d\x39\x5f\x2f\xd6\xec\x2a\x7a\x35\x94\x33\xad\x3c\xab\x60\xf7\xdb\x61\x9e\xbb\xfb\x4c\x93\x32\xb7\x4f\x6c\x74\x9c\x66\xc5\xdc\xaa\x86\x41\x7f\xbb\x87\xe0\x4a\xaa\xfb\x56\x29\xf4\x0b\x26\xfb\x09\x24\x66\x3d\x64\x6f\x65\x26\xa8\x42\xa5\x34\x40\x51\xdc\x8d\x03\x08\x0e\x27\xcc\x4a\x95\x64\x65\x8a\xc5\x40\xd0\xb7\x06\x31\x98\x9b\x4e\xad\xc5\xb6\x7d\x0a\x0d\x7d\x12\x2b\x9d\x8a\x7a\x3d\x33\xf7\xc3\x4c\x68\xd2\x80\x27\xb7\x28\xfc\x4b\x43\x33\xfd\x4c\x01\x55\xb1\xed\x7a\x5d\x31\x29\x60\xd2\x2c\x42\xa0\x59\x64\xba\x7e\x12\xa1\x87\x27\xb6\xe4\xd9\x42\x99\xa7\xda\x02\x01\xcc\x72\xcc\x77\xaa\xd3\x7e\x5e\xd9\xe7\x8f\x83\xf3\x71\x59\xe7\x49\xb4\x69\x35\x7c\x8f\x86\x39\x90\xa2\x21\x1e\x13\x9b\x83\x8e\x72\x65\xb8\x5f\x6c\x08\x01\x59\x64\x2d\x63\xa5\x9b\x0f\x0a\x12\x55\xff\x1e\xf2\x95\xca\x94\xbc\xac\x19\x47\x5f\xee\xba\xa4\xf3\x72\xef\x46\xcb\x73\x57\xfb\xe9\x29\xd1\x3b\xda\xe0\x0b\x20\xb6\xc0\x02\x47\x5b\xc0\x13\x98\xbb\x10\x9f\x95\x10\x5f\x8b\x49\x9e\x71\xbb\x4e\x98\x6b\xed\x3d\xac\xa8\x85\xca\x46\x5e\xe8\xb4\x4c\x66\x99\x0f\x5a\x6a\x29\xa4\x97\x71\x13\xe7\x09\x9c\xe5\x63\x31\x11\x05\xcf\x48\xb9\x68\x5b\xb3\xf2\xf3\x39\xe7\xdf\x47\x28\x88\x88\x55\x4b\xe0\xdf\x4a\xa3\x0d\x98\x54\x10\x7f\xc3\x12\x9d\x4b\x90\x12\x3c\x6b\xfe\x74\x82\x42\x04\x88\xfd\x50\xc3\xd0\xf6\xd8\xb9\x66\xe0\xfd\x21\xf0\x57\x44\x61\x70\x9a\xbd\xc0\x82\xef\xbe\x37\xb4\x00\x57\xc8\xcb\xbe\x6a\xda\x42\x5f\xd8\x67\x70\xd9\x5f\x57\x2a\x4a\x52\x55\x3d\x9b\x27\x96\xe0\xf9\x07\x6c\x0c\x4a\x1a\x22\x55\x07\x12\x51\x70\xe1\x4a\x85\x05\x89\x1a\x4b\x88\x4e\x21\x61\x2b\xf0\x57\x32\x4b\x3a\xe9\x80\x0e\x27\xf6\x6c\x9c\xc0\xe4\x97\x15\xab\x71\x2e\x38\xa2\xb8\xe8\x46\x53\x56\xd2\x58\xac\xa8\x70\x34\xdf\x06\x06\x2b\xfe\x28\x8e\x94\xf8\x8e\xac\x7b\x61\xe3\x77\x2b\x79\x91\x5c\x5f\x18\x31\xe6\x96\xd5\xe7\xfa\xb9\x35\x0b\x19\x16\x94\x23\x44\xec\x65\x28\x55\x4a\xe2\xa7\x2e\x55\xca\x2e\x3e\xa1\x7f\x42\x97\x48\xf7\x78\x60\x44\x21\xb2\x50\x43\x55\x83\xd5\xe3\x92\xa6\xc3\x84\x01\x43\x35\xcf\xb2\x69\x87\x71\x76\x5f\xf0\x3c\x17\x05\xe3\x05\x7c\x8c\x9c\xa4\x4d\x71\x9e\x8a\x3c\x54\x71\xa1\x46\x4f\x84\x56\x82\x89\xcc\x08\x76\x50\x85\x2e\x1e\xb6\x81\x07\x76\xe3\x6a\x21\x8f\x9f\xf8\x76\x5e\x22\xf5\xb9\x5d\x8b\xce\xd7\xdc\xc5\xc5\xda\x5b\x08\x3d\x0b\x15\x6e\xf1\x0c\xfb\x10\xcc\xa7\x75\x7a\xb4\xf4\xf8\xa6\x1f\x54\xb6\xaa\x3a\xc1\x2f\x50\x11\x4f\xa3\x81\x47\x40\xec\x88\x7b\xcb\x49\x1c\x54\xb9\x95\xec\x4f\xef\xe1\xe0\x04\xc4\x39\x36\xe4\x99\x59\x24\x6d\xb5\x00\xc4\x9c\x7f\x29\xab\x3d\xdd\xf5\xcd\x5c\xd3\xbb\xb9\xda\xb1\xb9\xf7\x69\x7e\x21\x3e\xcd\x77\x8b\x3c\x9a\xbb\xd4\xfb\x1e\x57\x52\xdf\xfb\x2b\xf7\xfe\xca\xbd\xbf\xf2\xc9\xfd\x95\x8f\xef\xaa\x5c\xd3\x4b\x09\x0e\x4a\x92\x72\xda\x24\xe8\x3c\xbe\xc1\x8d\x67\x19\x83\x8a\xa9\x91\x85\x8d\x9c\x5f\x84\xe0\xf6\x58\xc6\xb5\xa7\x36\xad\xf1\x7b\x73\x96\x71\x63\x65\xf2\x63\xa6\x93\xdb\x2b\xab\x67\x01\xd5\xda\xc3\xee\xfd\x72\x35\xd3\x59\x4d\xad\x58\xea\xaf\x98\xf3\x72\x6c\xf3\xe0\x8a\x1d\xff\x72\xc5\x4e\xa5\xb9\x6d\x7a\xf7\x4c\x0d\x53\x90\xfb\x72\x11\x2f\x0d\xc0\xf6\x84\x00\x40\x27\x14\x80\xb5\x4a\x3c\xe4\xda\x54\x00\x84\xa0\x41\x6c\xb8\x9d\x61\x0f\xef\x8d\xc0\xd1\x0f\xdc\xe8\x0d\xac\xe3\xfc\x15\xff\xbd\x2c\x84\x9b\xc5\xe6\xcb\xec\x7b\x68\xbf\xb6\xfe\x8d\xe6\x82\xba\xe7\xec\x94\x5b\x8e\xeb\x0a\x87\xdb\x3b\x06\x61\xed\xdc\x9a\x0d\xa4\xd7\xc0\xe2\x15\x5b\x32\xbb\xb7\x72\x16\xd6\x7a\xbd\xd9\xb9\x1e\x66\xc8\x44\xcb\x79\xba\x77\xe7\xce\x13\x7e\x70\x6c\x5c\x26\x62\x07\x53\xfd\xe3\x58\xa5\x8f\xe7\x95\x6f\x9f\x21\xab\x90\xd6\xe5\x0d\xd5\x90\xd4\xe5\x91\xb9\x9f\x07\x16\xb5\xc8\xc7\xc3\xcd\x1d\xcd\x27\x22\x1f\xbf\xbd\xda\xe0\x4c\xe1\x8b\xb5\x03\xc5\xdc\x33\xf6\xf6\x6a\xce\x21\x02\x82\x64\xc6\xbc\x80\x74\xd3\x5c\xa7\x2f\x0d\x60\xbf\x5a\x39\x59\x04\xdf\x2c\x55\x2a\xd6\x76\x11\x57\xf3\x82\xd7\x37\x99\x17\xbc\x58\x9f\x17\x8e\xc5\x73\xbc\x40\x54\x83\x05\x06\xa3\x06\x42\x35\x9e\x98\xba\xce\x3d\x24\x84\x94\x13\xaa\xee\x4c\xa6\xe6\x5f\x59\x17\xbf\xd2\xcd\xd3\xa3\xcb\xb3\xe3\xd3\xf7\x67\xbd\xc9\x82\x9a\x41\xa0\x57\x5f\xc2\x42\x6c\xb6\x38\xeb\xc4\xb9\x9c\xd0\xc7\x00\x1a\xce\xdb\x90\xd9\x40\x76\x53\x59\x88\x04\x2f\x74\xf0\x89\x0e\x84\xbd\x17\x42\xcd\xaa\xd7\x6e\xa9\x16\x18\x22\xcf\x1e\x72\xb4\xae\x5a\xed\xab\xf7\x29\x99\xa1\xb9\x16\x8c\x5d\x3d\xf2\xc1\xcc\xba\x62\x31\xbf\x48\x3a\x95\xf9\x0e\x1d\xb3\xd5\x08\xd0\x40\x76\xf1\xe9\x64\x97\xd7\x94\xe6\xb9\x60\x5b\x8c\xdc\xfc\xb8\x5e\xf5\x37\x39\xab\x57\xfd\xf8\xa0\xfa\x48\x35\xcf\xfd\xc7\x5c\xa5\x59\x48\xcb\x0e\x41\x33\xee\xad\xb4\x90\x77\xa2\x60\x07\x3f\x0a\xcb\x7d\x14\xce\xe1\x02\x82\x3e\xdc\xdc\x96\xfd\xf6\xa4\xf5\x5c\xde\x9e\xd4\xef\xdc\x5b\x39\x28\x04\x3b\x19\x73\xa5\x44\xf6\x08\x92\xcd\x82\xb9\x66\xe2\x61\x06\x83\x64\xcd\x39\x67\xe2\x61\x83\xbd\x7c\x1b\xbe\x5c\x5f\x87\x91\x50\xa2\x90\x49\x95\x65\xd7\x58\x88\x08\xe4\xe4\x28\x2c\x0a\xda\x34\x61\xd3\x45\x42\x71\x4d\x79\x56\x8e\xe4\x22\x8f\xc5\x30\x03\xf8\xda\x2d\x26\x0d\xef\xaf\x31\x5b\x68\xdf\xd8\x72\x7a\xd8\xa4\xb3\xab\xb6\x78\x76\x77\xc1\x0a\x2e\xad\xc1\x2a\x5d\x64\x4a\x4f\x45\x2e\x94\xaf\xd5\x25\xc2\xd7\x28\x86\x8c\x19\x92\x80\xc8\x8d\x8b\xe8\xf6\xf3\x57\x6b\x94\x44\x52\xd8\x56\x32\xeb\x4f\x27\x67\xf5\x9e\x5a\xaf\xe0\xcc\x9b\xf5\xb5\xfc\xe9\xe4\xec\xd1\x74\x82\x05\x90\x0f\x5b\x2b\x0b\xa3\x44\x54\x34\x37\x75\xcb\x3a\x7f\xf5\x11\x7a\x62\x0b\xa1\xe7\x27\xdf\xc3\x06\xf7\x34\xbc\xdb\x58\xef\xf0\xb8\xe1\x1d\xa9\x2f\x77\x90\xa8\xb7\x5d\xd7\xa6\x08\x41\x6b\x78\x14\x16\x67\x95\x10\xe1\x46\x32\x0f\x8a\xb0\xf5\x22\xfe\x8d\x3a\x68\xbd\x72\xfe\x85\xfa\xc2\xa1\x18\xa1\x8b\x69\x2c\x2f\xce\xae\x05\x03\xe3\x94\xd3\x1b\x18\x94\x6d\x45\xf0\x11\xb8\xd7\xe8\x0d\x1f\x96\x19\xd6\xd3\x81\x6a\xbb\x50\xee\xcb\xbf\x03\x31\xa9\x70\xa2\x05\x06\xc3\x6a\x95\x4d\xff\x4f\xf6\x41\x75\x61\x3b\x3c\xdb\x0c\x45\xa2\x72\x42\xd1\x95\x8a\x71\x35\x05\xd8\x3d\xf7\xf6\x2f\xfd\x77\xef\xd8\xf9\x87\x6b\xf6\xcb\x87\xcb\x9f\xd1\xa5\x39\x29\x33\x2b\xf1\x5b\x01\x10\x65\xcb\x4b\xe0\x86\x94\x47\x60\x9c\x0d\x13\xb8\xd9\x46\xca\xe8\x5f\x6d\x26\x67\xc0\x7b\x0d\xdd\x11\x9f\x3d\x35\x89\x59\x90\x7b\xaa\x13\x9e\x6d\xbc\x2a\x10\xfa\xdd\x7a\x2d\xa0\x75\xbc\x16\x78\x80\xb3\x69\x37\xcc\xda\x1f\x28\xc0\x7f\xc4\xaa\x85\x43\x18\xc1\xa2\xa2\xb6\x4e\x87\xf8\x90\xb7\x09\x5a\xaa\x52\xb6\x48\xc7\xc2\xb7\x3a\x0c\x20\xa8\xff\x71\xf3\xa2\xd0\x37\x2f\x3a\xec\xe6\x85\xd1\x43\x7b\xf3\xe2\x9f\x58\x2b\x94\x02\x16\x44\xca\xba\xf4\x1e\x16\x0c\x95\x93\x3c\x9b\xb2\x21\x97\x19\x93\x58\xe3\x1f\x4a\xcf\x41\xf3\x1d\x8a\xcd\x47\x5f\xc1\x47\xbb\x34\xd8\xa7\xb6\xe5\xa9\x2d\x38\xc5\xf9\xdb\xab\xd6\x27\xe3\xbc\xa1\x0e\x2b\x76\x3e\x4f\x17\x7e\x3c\xfe\xe9\x26\x3a\x7f\x05\x74\x2a\x8e\xfd\x11\xdc\x74\x29\x48\xfd\x8a\xbb\x5a\xba\x1a\x51\xc3\xe0\x01\x4d\xb4\x32\xb6\x80\x3a\x97\x48\x2c\x32\x39\x91\x16\x83\x85\x15\xc5\x6e\x56\x41\x0f\x64\x5a\x46\x3b\x30\x05\x9b\xd4\x41\xc9\xd5\x30\x2b\xab\x90\x8a\xaa\x94\x1a\x78\x00\x75\x4a\x1f\x09\x75\x78\xbd\x9d\x7c\xee\x22\xe5\x0d\xba\x78\x89\xce\xfa\x0b\x9d\xc9\x64\xa5\xdf\xdd\x7d\x66\xcc\xf3\x5c\x28\xb3\x00\xee\x07\x15\x5a\x82\x8c\xa7\xc0\x19\x27\xa1\x56\x11\xd0\x50\x9f\x1f\x83\x99\x78\x21\xd8\xa5\x80\x70\xa7\x83\xd4\xbb\xe8\x75\xc1\xb0\x96\x65\x36\x0d\xf1\x37\x4d\x62\x6e\x0e\x3b\xec\xd4\x51\x5b\x51\x7f\x91\xca\x4d\xc1\xbb\x31\x2c\xe2\xbc\xf7\x1d\x61\xbe\xa4\xaa\x3c\x07\x55\x65\x9c\xc3\x5e\x78\xea\x33\x35\x2a\x56\x49\xe1\xdc\x34\x55\x54\x35\xe2\x80\x49\x58\xfe\xe6\xc7\x76\x9b\x72\x00\x0b\xe9\x68\xc5\xda\xce\xbb\x7c\xac\xad\x56\x3b\x92\xe8\x2f\xe6\x74\xd6\x9a\x84\xcc\x7b\xb9\x2e\x2e\x61\x8b\x93\x2a\xef\x25\x3a\x68\x4e\x64\x5e\xcf\x3a\xb5\x60\x3d\x74\x61\xef\x75\xb1\xad\x22\x7c\x51\xeb\xa6\xcd\xec\x6b\x2f\xd4\xe7\xed\xc7\xb4\x91\x11\x6e\xfe\x34\xff\x55\xea\xc1\xd4\x6e\x3e\xbf\xff\xc0\xf7\x5b\x4f\x8f\xda\xd7\xe7\xe5\x1f\xee\xc2\x64\x5a\x0c\x66\x5c\xff\xed\x13\x8e\x7e\x3c\xdd\x40\x30\xbc\xfc\xf1\xb4\x3e\x9d\x4b\x9e\x6a\xc3\xc0\x53\xc5\x4e\xc5\x02\x8f\xc2\xb2\x99\xad\xa5\xec\x14\x83\x95\xb6\x52\x93\xf0\x4c\xf4\x3f\x6c\xbc\x2e\x57\xf8\xfe\x06\x6b\x43\x6f\xd6\xd7\xc7\x3f\x9c\x65\x0f\x8b\x0e\xf4\xcf\x81\x1e\x22\x87\xdc\x6d\x36\x52\x2d\x13\xa9\x8e\xac\x3c\x3b\xc4\x81\xc8\xb4\x1a\x99\x1e\x3b\x9b\xe4\x76\x4a\x61\x23\x1e\xcc\x83\xdb\x1a\xef\x4e\xb5\x40\x75\x0a\x5f\x42\xac\x95\x69\xed\x7b\x1b\xe1\x79\xc0\xeb\x7a\x73\x81\x8e\x06\xf0\x61\x13\x97\x47\x78\xb7\xb1\xa7\xe1\xf1\x12\xd5\xdf\x1d\xfe\x25\x8a\x90\xdf\xf0\x10\x6e\x9b\xeb\x74\x9d\x9b\x10\x16\x66\xd5\x7d\xd8\x26\xa7\x4b\x46\x68\x5f\xa0\x28\x58\xa1\xd2\x60\xb8\x87\x88\x74\x50\x79\x38\xd5\x5f\x87\x00\xe1\x2a\xa1\x4b\x43\x12\x69\x21\x26\x4e\xac\x91\x8a\x15\xfc\x9e\x81\x57\x18\xa1\x91\x36\xcb\x02\xdb\x34\xff\xcb\xe4\x63\xe1\xbd\xf0\x9b\x8b\xc4\xd4\x8b\x2c\x6c\xc9\xb3\xb5\x38\xfd\xa7\x78\x00\xf5\xf3\x74\x77\x05\x3f\x6d\xcb\xe9\xfe\x8f\xc6\xac\xb7\x8d\xb9\x5c\x3b\x7d\x6c\x83\xcc\xb1\x56\x49\x08\x6d\x30\x99\x8e\xd9\x78\x4d\x54\xa6\xfb\x71\x4d\x84\x85\xf3\xed\xcb\x68\xb8\xd3\xb9\x89\x58\xd9\x36\x85\x85\x06\x35\x7b\xc5\x42\xa9\xe8\x0e\xc5\x7d\x63\xfd\x0c\x27\xe9\x76\xdc\x7d\x0a\xea\x04\x98\xc8\x76\x9e\x39\x8a\x33\xd8\x24\x58\x79\x35\x3c\xd5\x25\x22\x4a\x41\x1c\xe2\xa0\x90\x62\x58\x85\xfa\xd5\x30\xa8\x2a\x84\x06\xc7\x3f\x86\x5c\x66\x65\x81\x34\x13\x0a\xb2\x73\xe5\x35\x23\x24\xa6\x39\x2f\xc8\xf7\x91\x32\x2b\xd3\xa9\x13\x8a\xf3\x0c\x62\x13\x31\x1b\xeb\x5d\xff\xc9\x72\x7f\x56\x69\x02\x8b\xaf\xd2\xe5\xac\xc8\xcf\x96\xc8\xfc\x21\x04\x62\xf5\xf5\x19\x9a\xeb\x39\xc8\x56\x4d\xef\x4c\x45\x7f\x21\xe6\xdf\x6a\x24\x3c\x3d\xf6\x9e\x34\x3f\x1e\x13\x76\x68\x33\xa3\x0b\x02\x59\x0a\xb5\xaa\x02\x8a\xf1\xd9\x43\x8f\xdd\xbc\x10\x0f\xf6\x5b\x34\x54\x3d\x0c\x0d\xfe\x43\x59\xf7\xaf\x1e\xeb\x3b\x72\x9f\x48\x9b\x51\x3c\x69\x11\x38\x8c\x7f\xcd\xdd\x92\x52\x85\x84\xfc\x4d\xae\x66\xba\xb2\xac\x5a\xff\x94\xf8\x38\x95\x4a\x13\x66\xf5\x46\xec\xb6\x2e\x13\x0c\x92\xfe\xdc\x3c\x72\x5e\xa7\xcb\x48\xb6\xa6\x48\xe0\xc4\xcd\x27\xf1\x71\x30\x55\x4d\x1b\x5c\x83\x84\x2b\x56\x94\x0a\x0b\xf2\xa0\x0d\xeb\x1a\x63\xd6\x8d\xcf\x21\x09\x16\x89\xc1\x94\xa2\x7c\x31\x58\x86\x6c\x32\xc0\xb2\xac\xc6\x7a\x71\xfb\x30\xfb\x67\x1d\x66\xbf\x0f\x21\xff\x52\x42\xc8\xff\xdc\xd0\xc7\x3a\x6d\x05\x74\x5c\x0b\xab\x8e\x71\x94\x06\x62\xcc\xef\xa4\x2e\x42\x64\xe0\x82\x78\xd8\x5d\xae\x87\x9b\x31\x54\x11\xaa\x63\x43\xee\x16\xd8\x58\xa7\x2d\x60\x8c\xdf\x3b\xf6\x3d\x5b\xb0\xbd\x12\xdf\xc3\x92\x60\x70\x05\xb7\x1c\x2e\x70\xb8\x80\x8e\x46\xa6\xa0\xd7\x6d\x58\xd1\xe0\x69\xd6\x75\x95\x94\xf7\xf8\x79\x08\x3a\xdd\x71\xda\x81\x4e\xe7\x38\x7b\xe6\xb1\x7e\xef\x96\x44\x52\x0e\xe3\x84\x7a\xe4\x8e\x9d\x21\x80\xb7\x6f\x10\xb9\x56\x8a\x32\x13\x6d\x58\x78\xa8\x23\x7b\x0a\x59\xd3\x57\xa1\x87\xfe\x48\xe9\xf0\xf8\xec\x41\x24\xa5\x5d\xcd\xe7\xaf\x2b\xff\x0e\x54\xd6\xcb\x32\x2a\x54\x0b\x88\x5b\xf4\x03\xf9\x7c\x74\xf0\x25\x71\xcb\x0c\xb7\xd2\x50\xa1\xc8\x30\x1d\xf1\xe0\xb8\x8f\x01\x5f\x4b\x05\xec\x04\xa7\xd3\x3b\x97\x3a\x6c\x50\x5a\x26\x2d\x1c\xea\x64\xac\xb5\x11\x54\x1c\x8a\xd2\x6d\xa5\x06\xee\x0f\x6e\x53\xa8\x47\x59\x04\x7c\x9f\xa8\x7b\x4c\x87\xae\x5e\x73\x4a\x8b\xbb\x59\x61\x75\xbc\x7e\xec\xba\x01\xeb\x89\xfb\x63\x04\xc2\x94\x71\x6c\x6e\xe2\x3a\xbd\x17\x72\x34\xb6\xa6\xf3\xff\xb3\xf7\xee\xcd\x6d\x1c\x59\x9e\xe8\xff\xfb\x29\x32\xe8\xbb\x21\xb2\x03\x00\x25\xdb\xed\xde\xd5\xc4\xfc\x41\x93\x92\xcd\x6d\x8b\x42\x8b\xb4\x1d\xb3\xcb\x89\x9e\x64\x55\x02\xc8\x61\x21\xb3\x5c\x99\x45\x0a\x73\xf7\x7e\xf7\x1b\x79\xce\xc9\x57\xe1\x55\x00\x21\x59\xed\x66\x4c\xc4\xb4\x05\x66\xe5\xf3\xe4\xc9\xf3\xfc\x1d\x26\x47\x62\x04\xfa\x8e\xe0\xc5\x2c\xe9\x76\x2e\x84\xc5\xfc\x8c\xa4\xea\xa9\x3f\xb0\x04\x43\x8a\x1d\x87\xd7\x98\x5e\xce\x41\xc0\xe4\xe9\x9e\xd3\xca\xed\x1a\x30\x61\x8b\xd1\xc9\x80\x15\x7a\x5e\xb7\x80\xa0\xe5\xe6\x78\xb7\x60\xd2\x7a\x51\xdf\xd7\x4a\x87\xad\xf0\x00\x63\x5e\x00\xa3\x72\x93\xaa\x64\xbc\x84\x98\xd1\xdb\x23\x5c\xdd\xed\x91\x97\xaa\x5c\x87\x54\x43\x12\x56\x38\xe3\x06\x4f\x16\xad\x93\x73\x6e\x8b\x59\x40\xec\x6b\x1a\x61\x6a\x8d\xe1\xa7\x75\xa4\xfc\x1b\xd1\xcc\xff\x25\x74\x71\x6c\x4e\xe2\xe6\xce\xe4\x74\xe6\xf7\x96\x37\x98\x29\x9b\x9f\xc9\x81\xa1\x38\x7e\x85\xf5\x89\x72\x9c\x4f\xef\x49\x4e\xed\x75\x87\xb6\xd7\xe5\x22\xa0\xb5\x70\xde\x19\xc5\xac\xb9\x1f\xb0\x75\x8e\xd9\xcf\x85\x65\xee\x9e\x45\xba\xb1\x72\x2e\x06\xc1\x8a\x09\x77\x95\x5e\x85\x8e\x36\x60\x43\x8d\xea\xbd\x66\x50\x40\xf5\x6d\xd4\x0d\xfd\x2c\xf4\xdc\x8d\xea\x84\x45\x02\x6b\x70\x53\x10\x7e\x1f\x7c\xad\xfe\x56\x90\x97\x56\x97\x04\x07\x86\x02\xe3\xc9\x20\x79\x9f\xe0\xe6\x83\x69\x01\x5f\x35\xdb\x40\x71\x4e\xa8\x11\x8a\x5e\x58\xf1\x20\x0b\x1b\x63\x0e\xbd\x4b\x17\x97\xf4\x2b\x01\xc0\x34\x02\xb6\x0a\x42\x85\xea\x2a\xde\x08\x1c\xaa\x92\x06\x2f\x87\xa2\x54\xab\x94\x9e\xdd\x68\xee\x9e\x77\xe8\x1a\xfa\x03\x26\x6d\x20\x72\x9a\xd8\x82\xbb\xfd\x58\xc9\x38\xf8\x67\x81\xf7\x2d\xab\xc8\x4f\xce\x58\x7d\x2a\x21\x3f\xd9\xb4\xd2\x99\xc0\xfa\x67\xee\x22\xd6\xb8\x12\x36\x84\x05\x1c\x2b\xa7\x13\x38\x62\x72\x6c\x1d\x18\x8a\x57\x59\xaa\x14\x49\x8e\x35\xa2\xc2\xe0\x72\xa2\xd6\xa9\x7c\x10\x2a\xe2\x08\x1c\x9b\x93\x93\xc4\xf7\xe1\xa8\x20\x22\xad\x17\x7a\x58\x69\x70\x9d\xb3\x63\x4f\xd8\x50\x5b\xd6\x11\x53\xf6\x47\x65\xe5\x30\xb6\x70\x8c\x6a\xc0\xb0\xa0\x6d\xd2\x0c\x22\x58\xb1\x10\x2c\x37\x3e\x3e\x15\x55\x72\xe0\x92\x8f\xb0\x96\x07\x6f\x43\x0f\x6b\x41\xc6\x77\x2f\x16\xec\xb6\x7d\xf9\xf2\x9b\xc2\xea\x5a\x57\x7a\xba\xf8\xab\x58\xc0\x0f\x22\x61\xa8\x9c\x20\x62\x16\xd8\xa5\x56\xc4\x72\xf1\xa6\xf8\xa7\x25\xd9\x48\x19\x66\xd2\xa7\xa4\x41\x8a\xd1\xf7\x85\x60\xff\x05\xba\x08\x0a\xf3\x20\x18\x7e\x0b\xc7\x5e\xdc\x32\xd7\xf8\xdc\x02\x19\x7c\x69\x8b\x4a\x4e\x29\x56\x6c\xf5\x74\x2a\x80\x49\x30\x5e\xd7\x95\x14\xa8\x37\xdf\xf8\x1f\x9d\x1c\x58\xa3\xb7\x85\x08\xbe\x55\x89\x66\x94\x74\x86\x18\x8e\xcb\x8f\x02\x06\xf5\x39\x69\xc6\x00\x6f\x43\x2f\x4d\xe7\x63\x68\x3b\x62\xaa\xad\x2a\xe6\xc1\x20\xe1\x53\xf8\xc5\x49\x37\xe0\x60\x4c\xbe\xa0\xf4\x66\xae\x0c\xbb\x3d\xf2\x77\xed\x85\x89\x4d\x6e\x8f\x46\x80\x77\x0a\x1f\x86\x3e\x8f\xff\xdf\xff\xef\x24\x90\xb7\xe3\x8f\xb1\xcb\x3c\x90\xc8\xfd\xb5\x9e\xf1\x61\xe5\x34\x0a\x6f\x5d\x86\x72\xcc\x33\x0d\x0f\x2a\x7a\x9f\x12\xbe\x73\xd5\x3d\xfc\x00\x66\x2a\x4d\x80\x30\xdd\x42\x37\xdb\xa2\xfd\xd2\xfd\xa6\x37\x10\x6d\x2e\xdc\xca\x22\x44\x02\x46\x54\x13\xf8\xaf\xc3\x9e\x73\x7a\x86\xab\x4f\x39\xa5\x84\xa5\x1b\x31\xda\x72\xa4\xe1\xd0\x97\xbe\xdc\x72\xda\x9f\x3b\x88\x30\xe1\x9a\x5b\x35\x95\x83\xbe\x04\x5e\xbc\x30\x9b\x9e\x29\x0f\x72\x13\x04\xa5\xb8\xcf\x9f\xe4\x25\x49\x76\xa3\xcf\xeb\xa1\x16\xf1\xed\x20\x62\xe9\xbc\x1e\x3e\xa6\x20\xed\x98\xe2\xb1\x09\x91\x6b\x6f\xaf\xcd\x9a\x5a\x1c\xc9\x79\x1e\xc0\xc6\x7e\xa6\xac\xec\xab\x74\x2b\x2b\x7b\x68\xde\x59\xab\x3f\x88\xfa\x9d\x52\xf7\xb3\x0e\xde\x4f\x07\x5f\xb7\x67\xcf\x8a\x78\xf8\xf9\x8f\xa7\x88\x67\x87\xfe\xfb\x69\xe3\xbb\x4f\xe3\x59\x25\xff\x27\x56\xc9\x7b\xd5\xce\x4b\x9a\x45\x60\x19\x1f\x8a\xe3\xc1\x0b\x7d\xb0\x50\x91\x62\xf3\x7a\x41\xb0\xc7\xe3\xf7\x5c\x3d\xef\xb9\x7a\xde\x61\xaa\xe7\x69\x25\x86\x8f\xba\x29\x07\x49\x78\x52\x52\x0c\x2f\xdb\xaf\x15\x05\xf1\x0e\x55\xb2\x6e\x75\x8d\x51\x0f\x0e\x95\xf9\xe4\x22\xa9\xb1\x73\x4c\xa0\xb9\x69\xdc\x4a\xde\xf2\xca\x88\x01\xfb\x59\xdd\x2b\xfd\xb8\x7b\xb2\xd1\xa3\x6e\xee\x2b\xcd\x4b\x73\xea\x24\x00\xf7\xff\x86\x95\x9c\x60\x42\xc8\x57\xee\x5f\x09\xf0\xf6\xce\x8b\x5e\x55\x6d\xaf\x2b\x81\x2e\xea\x80\xfb\xe0\x81\x48\x3b\xcb\xfd\xdd\x57\xd4\x57\xf7\xf8\x44\x75\x00\x75\x79\x71\x75\x7d\xae\xd5\x44\x4e\x37\x73\xe0\xd0\x2c\x8b\x99\xb9\xb8\xba\x66\x35\x6f\xf8\x5c\xb8\x67\x8c\x22\x34\x35\xa6\xc1\x96\x9e\x23\x68\xb2\x99\x02\x2c\x41\x84\x00\xbe\xb8\xba\xc6\x44\xa9\x1e\xcc\x19\x74\x53\x0c\xf9\xe8\x9d\xed\xe8\xe6\x06\x48\xaf\xf8\x21\xbb\x1c\xbb\x39\x39\x59\x38\x58\x72\x3c\x5a\x33\x64\x61\x95\xd1\xb2\x71\xe7\xae\x6c\x32\xe6\xfa\xa9\xb3\x8b\xb6\xae\x24\xea\xc8\xe9\x07\x11\x07\x7a\xae\x1f\xfa\xbe\xdc\x07\xb4\x3d\xe8\x1d\x53\x43\xdd\x66\x39\x15\xa3\x72\x3b\x45\x1f\x77\x36\x09\x90\xd7\xcb\x28\x8a\xc3\x26\xf9\xec\xb3\x5e\x1b\x24\x94\x6d\xa4\x58\xde\x1c\xf6\xc1\x8d\x8c\xa2\x5d\xe8\x10\xac\xe6\x52\x31\x4a\x72\xc5\x8f\xf4\x83\x68\x1a\x09\xda\x93\x36\xa4\x43\xb9\xc3\xe3\xc1\x9e\x01\xb3\x5a\x41\x5a\x9b\xf6\x7d\x17\x89\x29\xdc\x03\x9c\xd7\x93\x0e\xc9\x08\xde\x38\x6d\x68\xa7\x53\xc2\x8f\x58\xa9\xe7\x20\x06\xb9\x17\x65\xa6\x8d\x1d\x02\xa9\x57\x5a\xdf\xb7\x75\x1f\xea\xa6\x6e\x6a\x6e\x67\x3d\x4f\x2f\xfb\xe2\x77\xa1\xef\x03\xc8\x9b\xdd\xe3\xeb\xc7\xf3\xb0\x71\xe0\x7c\xab\x2e\x4b\xe0\x7d\x3d\xb9\xd9\xd6\x50\x67\x7c\x05\xf6\xc9\x53\xe0\x55\xfb\x84\x3a\xb4\xbb\xef\xe9\xe5\x78\xc3\x36\x46\xae\x9b\xd6\x31\x47\x5b\x08\xb1\x03\xba\xb9\xc7\x75\xd5\x36\xbc\x3a\x61\xd0\x65\xb0\xf8\xbf\x71\xaa\x93\x6b\xba\xf0\x49\x1c\xe6\xf5\xad\x62\x8c\x5d\x8e\x5f\xb3\x33\x95\xb0\x75\x30\xfb\x21\xad\xa6\xb8\x00\x1f\x74\x6b\x41\x4e\xe4\x96\x55\xc2\x09\x5b\x8e\x85\xd1\xa0\x1e\x82\x61\xfb\xa1\xc9\x7a\xcb\x91\xc9\x1a\x2c\x73\xd9\x8c\x8e\x2f\xc7\x0f\xdf\x3a\xed\xf3\x72\xfc\xf0\xdd\x09\xe3\xc6\xc8\xa9\xca\xe6\xf7\xb9\x02\xcb\x75\xb9\x0d\x00\x1b\x5b\x74\x30\xaf\xc1\x93\xf5\x1c\x7a\xfb\x05\x87\xde\xee\x84\x70\xed\x8e\xf3\x13\xaf\xe5\xe0\x2f\xee\x33\xb6\xf5\x73\x60\xf2\x33\xb6\xf5\xe7\x88\x29\xfd\x04\x70\xd6\xba\xfc\x20\x78\xe9\x18\xbd\xf9\x61\x4b\xf9\xa2\x4e\xd3\xbc\x66\x5b\x56\x39\x0f\x75\xcc\xa0\x6a\xf7\xa8\x14\xe2\x9b\xf6\x48\x64\x3a\x4f\xdb\xe2\xb8\x84\xcf\x11\x8d\x5c\x24\x3c\xa0\x87\x39\xfe\x0c\x44\x07\xfa\x51\xf4\xbb\x2e\xea\xde\x79\x80\x3d\xe9\x25\x5f\xcc\x01\x2c\x00\xd7\xa2\x68\x1b\x69\x17\xe7\x5a\x59\xf1\x71\x8b\x8c\xd0\x69\xcc\x66\xba\x2a\xc1\xc4\x4a\x71\x10\x86\xfe\x9e\x56\x44\x06\x04\x5c\xac\x93\x1c\xd2\x84\x7c\x7d\x11\xc7\x32\x75\x52\xf8\xc7\x97\xf6\x21\x8e\x0a\x55\x1b\xfd\x37\x23\x93\x0f\x3e\x62\xec\x2d\xb8\x10\xf0\x95\xce\xd2\x90\xba\x6d\x99\xe5\xf7\xc2\xf5\x5a\x88\x12\xe8\x08\xa2\x5e\x26\x9d\xcf\x97\x17\xd8\x2b\x3f\xee\x07\xba\x5a\x9b\xb5\x38\x70\x80\xf0\x0a\xd2\xde\xd0\x7b\xc0\x2b\xf2\xe3\x7a\x45\x96\xc2\x2e\xc0\x09\x90\x64\x54\x01\x70\x18\x08\xb3\xb0\x57\x3e\x67\x1c\xea\xe8\x82\xaf\x1b\xc8\xf1\xaf\x98\xdd\x0b\x35\x49\xa1\x14\x13\x3a\x28\x1f\x5d\x17\x33\x59\xa3\x50\x15\xab\xfe\xa0\xc7\x25\x54\xe2\x21\x82\x7e\x7d\xab\x6e\xd5\x2b\x74\x7f\xea\x47\xf0\xf2\xff\x70\x79\x11\xf4\x3d\x40\x41\xbc\x86\xf5\xb2\xaf\xa9\x6e\x93\xb0\x53\x59\xb2\x3b\x09\xb2\xa3\x11\x96\x1d\x2b\xf1\x88\xc9\x7e\x21\xc5\x8b\x6e\x8c\xc7\xb5\xa1\xde\xc2\xe0\xd4\xe5\x09\xfb\x06\xfb\xac\x45\x33\x97\xe0\xb4\x74\xfd\x22\x59\xbc\xff\xf0\x82\xac\x0f\xcd\xe3\xb0\x79\x1c\x0e\x87\x43\x37\x57\xa8\xb2\x67\x84\x1d\x64\x7b\x10\x7c\x56\x73\x5d\x4a\xf2\x25\xc7\x9d\x70\x04\x19\x87\x30\x3e\x04\x61\x65\x01\x41\xd4\x59\x40\xc0\x57\xf6\xbb\x6f\x57\xdf\x65\x27\x52\x4e\x45\xb3\x06\x28\x13\xe9\xe3\x1c\xce\xa4\x17\x36\xd0\x8a\x2f\x82\xbc\x9c\xa6\x98\xc0\x31\x43\x20\xc6\x9a\xa5\x79\x8b\x67\x40\x63\x98\xb8\x87\x10\xe1\x2a\x3d\x86\x9a\x84\xf2\xb5\x8e\xf4\xb3\xf8\x26\xb4\xb7\xa8\x6a\x01\x74\x09\x3e\xb3\x8c\xee\xd0\x9f\xeb\xcb\x27\xd3\x8c\x7d\x3d\x64\x3f\x9d\xe3\xce\x4e\x9f\x8c\xd8\x25\x1d\xce\x8c\x3f\x08\xa6\x34\x13\x93\x89\x93\xa1\xb4\x62\xc2\xd7\x98\xcb\x07\x32\x6d\x31\x63\xdc\xbc\x76\xac\xa5\x71\xe7\x5c\x80\x4e\x3e\xe7\x35\x72\x16\x88\x12\x2a\x65\xe3\x01\x91\xe8\x36\x3b\x92\xb9\x3d\x7a\xaf\x3e\x68\x6d\xdf\x49\x03\x1c\xf9\xf6\x08\xbe\xb8\x3d\x3a\xab\x1e\xf9\x02\x53\x47\x27\x88\xe0\xe7\x9d\x93\x83\xe4\xaf\xbe\x68\xde\x3e\x0e\x83\x56\x9d\xf5\x62\x0b\x8e\xda\xdd\x05\xb3\x1a\xd2\x25\x51\x44\xb4\xcd\x02\x85\xc4\x68\xb0\x26\xae\x59\x37\xba\x10\xc6\x8c\xd8\xcf\x46\x40\x24\x0c\xb8\x60\x3c\x6c\x93\xa4\xbb\x30\x62\xef\xf8\x02\xf9\x28\xd5\x8e\x94\x8a\x75\x19\x1b\x73\x6b\xa7\xbf\xdd\x69\x3b\xeb\x36\x40\x30\xe4\x25\x86\x88\xf7\x0c\x65\xe4\xe8\xd2\x5d\xee\x1f\x18\xae\x49\x39\x2e\x3a\x3f\xb8\x4d\x98\xf4\xa1\xaf\x1a\x6c\xfb\x95\x86\x43\xdf\xe6\x37\x0f\x09\xf4\x21\xf8\x2d\x6e\x33\xb8\x5e\xdd\x79\x70\x03\xd1\x23\x6a\xd8\x68\x0d\xa8\x60\x0d\xba\xba\xc1\x3d\xb2\xc4\x70\x3c\x68\x1e\xfc\x45\xce\xf9\x14\x8c\x0e\xfe\x94\xac\x66\x42\x99\xb6\xf1\x21\x25\x36\x22\x9e\xd0\x50\x3f\x5f\x5e\xb0\x97\xec\xd8\x8d\x75\x02\xdb\x0f\x38\x7b\x56\x33\x63\x79\xd3\x9d\xa3\x9c\xf8\x2e\xa8\xd4\x28\x84\x6f\x36\x58\x97\x6b\xe0\xae\x16\xdc\x9c\x58\x79\x30\xb0\xdd\x5a\x34\x6e\xab\xa1\xf4\xc6\x97\x47\x27\xbd\x4b\x8a\x75\xcf\xfd\x67\xb3\x8c\x46\xbc\xe2\xb6\xfd\xbc\xc7\x6d\xa3\x9a\x67\x86\x4a\xda\x37\xf9\x8a\xf0\xa4\xbd\xb6\xd1\x4d\x35\xff\x12\xf7\xf8\x73\xdc\x45\x23\x7e\x92\xaa\xfd\xb8\x06\xa4\xb2\x3f\xfa\xce\x9b\xac\x9b\x4d\xda\x9f\x3b\x5d\x6a\x8e\x05\x2a\x3f\x5a\x92\x72\x92\xc8\xd5\x5c\xb4\xf2\x57\x27\xb2\xff\x9c\x02\xfc\xdd\x85\xab\xe3\xed\x8b\x8c\xb3\x86\xab\x52\xcf\x97\x46\x0b\x21\x5e\x71\x5b\xd9\x3f\xcc\xf9\xaf\x39\xc5\xa2\xd0\xf3\x7a\xdc\xe8\xc9\x53\x4a\x91\x5c\xe7\xdd\x6c\x3b\x45\x1a\x35\x18\xd7\xf1\xda\x85\x0a\xf0\x99\x64\x1c\x63\x3c\x56\x2f\x20\x91\xb6\xe1\x41\xee\xef\x6e\x01\xd9\x7c\x29\xec\x79\x22\x1b\x88\x37\x03\xd6\x00\x6c\x44\xaa\xce\xa1\x0f\x96\x1d\xa0\xc9\xac\x5f\xb8\x93\x90\x73\xde\x2c\xdc\xcb\x8f\x67\x9f\x91\xa0\xd2\x7e\xe8\xe0\xc2\x29\xc9\x7f\xe3\xc4\xd4\x75\x57\x76\x8d\xad\x6d\xd3\x4d\xde\x74\x97\xf7\x71\x68\x2d\x4c\x61\xab\xad\x91\x08\xd8\x0a\x54\xc7\xc4\xd6\x1c\xe2\x8f\x4b\x46\xfd\x20\x3e\x54\x56\x9d\x74\x0c\xa1\x84\x4e\x09\x68\x55\x84\x0f\xf1\xed\x8f\xbb\x04\xe2\xef\xef\x09\x9b\xcb\xe9\xcc\x86\xf7\xb4\xe2\xad\x2a\x66\x07\xf6\x0e\xe2\xba\x9e\xb4\x81\x8f\x52\x95\xfa\xd1\x3c\x95\x67\xfe\x8a\xdd\x74\xb8\x40\x5f\x16\x4a\x5f\x87\x02\x62\x41\x55\xdf\x95\x8d\xea\xe0\xba\x05\x7f\x0b\xcf\xae\x40\x97\x45\x79\x52\x07\x81\xfb\xb3\x8b\x1c\x07\xf5\xb4\x6c\x2b\xda\x86\x2d\xd0\xe6\xdc\x29\x27\xd4\xd7\x85\xc8\x0b\x2b\x1f\xc4\x85\xe0\x65\x25\x95\xb8\x16\x85\x56\xe5\xb6\x7b\x87\xe7\xcf\x2b\x56\xb6\x0d\xf7\x76\x2c\x83\x9f\x86\xf0\xc7\x39\x5f\x20\x80\x2e\xa4\xb0\x11\x04\x23\x44\xf2\xa6\x79\x6d\x50\x80\xfe\x46\x46\x95\x32\x89\xb7\xc4\xa7\x12\xbe\x77\x6a\x23\x86\x5b\xce\x79\x73\xef\xc4\x55\x77\x01\x09\x97\xec\x1e\xda\x19\xa3\x0b\x09\x26\x82\x94\x9a\x10\xd6\x6d\x1e\x90\x83\x6a\x6d\x24\x8c\x4d\x5c\xea\xe0\xc2\x0a\x7f\x2a\xd4\x71\x2f\x80\x63\x47\xd5\xf9\x15\x41\x13\x62\x12\x7a\x9b\xc0\x1d\xaf\x99\x69\x6b\x35\x20\x2b\x51\xf9\xad\xb3\xa2\x70\xff\xba\xd1\xf7\x62\xab\xf7\x6d\xc3\xa7\x09\xa0\xd8\xe3\x4c\x40\xed\x66\x1e\xea\x5b\x70\x6c\xc8\x2c\xb4\x8c\x49\x2a\x30\x17\x6e\x09\x24\xd8\xd7\xf3\xdb\x43\x7e\x8f\x67\xdf\xd3\x93\x95\x88\x00\x88\x16\x49\x81\xb6\xe1\xa1\x38\x8f\x0d\x0a\xf4\xa4\x50\x80\x68\xb5\x88\x0f\x2a\x64\x6b\x52\x0c\xca\x0d\xc4\xf8\x06\x92\xf3\xbe\x62\xad\x32\x9d\x0b\x8a\x92\x43\xff\x4b\xee\x99\xc3\x3e\x26\x61\xfe\x7d\xdf\x93\xec\x4f\x99\x93\xa0\xe6\xb6\x98\x0d\x21\x7c\x67\x78\x0f\xb9\x48\x18\x81\xb0\xed\x0b\x47\x87\x56\x4c\xe1\x03\xf8\x7a\xf5\xd9\x95\xca\x2c\x05\x90\xed\xb6\xd6\x2c\x0a\x6d\xa3\x7b\x27\x64\xb4\x6d\x08\x3e\x1b\xb1\x71\xfc\x31\x3e\x03\x70\xbc\x9d\x58\x26\x9f\xa1\x1b\xc2\x5f\x5c\x97\x68\x5e\xf2\x2c\x92\x0c\x5a\x2a\x8d\x29\x5a\xb7\x0d\xbd\x6c\x7b\xd7\xc2\xe2\xcc\xd1\xac\x97\x49\x37\xa9\x9a\x79\x7b\x74\x8e\xb1\x09\x6f\x9d\xbc\x79\x7b\xb4\xc2\xbc\xf5\x22\x6d\xf1\xab\xb4\xb3\x1f\xb5\xb1\x57\xc2\xbe\x18\xe4\x7f\x72\xff\xa6\xae\x5f\x38\x9a\x7f\x71\xa5\x95\x78\x31\xea\x6e\x60\x08\xb9\x8a\xb1\x7e\xeb\x62\xbf\x68\xf2\x21\x35\x0b\xfe\x90\x84\x0d\xdd\x68\xb4\xef\xb9\x11\xbc\x14\xe0\xde\x73\x0e\xc0\xae\xd0\x7a\x86\x73\x7d\xd4\xcd\xfd\x80\x2d\x74\x8b\x1f\x58\x4d\x47\xb6\x48\x37\x49\x7c\x0c\xf8\x6e\x56\xaf\x5f\xf6\x1e\x76\x3a\xcc\xba\x24\x7e\xf8\x93\x54\xf7\xdb\x18\xd0\x9b\xa5\x0f\x56\x70\xce\x34\xd2\x05\x43\x90\x89\x93\x9a\x84\x79\x4a\xf5\x9f\xb8\x79\x00\xe0\x8a\x0f\x81\x50\x0f\xb2\xd1\x0a\xaa\x8f\x3c\xf0\x46\xba\xb1\xcc\x20\x4f\xe3\x33\x0b\x65\xf9\x47\x08\x07\xc3\x6a\x44\x95\x9b\xc5\x88\xf9\xe7\xfd\x75\x46\x46\xb6\x69\xf7\xb2\xa8\x04\x63\xec\xf9\xae\xac\x39\x9a\x71\x13\x26\x4d\x6a\x52\xd0\xd5\xd8\x9b\x55\xad\x48\xf8\xa0\xc6\x50\x8b\x4a\x62\xf9\x15\x27\x9a\xb8\x5d\x42\xcb\x15\xd8\x60\x86\xc0\x52\xe0\xda\xf2\x82\x48\x0c\x4d\xc5\xac\x14\x77\xed\x74\x0a\x39\x82\x60\xd1\x06\x15\xa3\x08\x1c\x3b\x32\x05\xc8\xd0\x05\x1f\x05\x24\x4e\xb9\x61\x30\x1e\x44\xa6\xed\xc1\x87\x40\x89\x2b\xc0\xed\xfd\x51\x40\xca\x66\x2d\x0a\x70\xcd\xeb\xa6\xc4\xdc\x36\x5e\x96\x30\xf7\xe5\x15\xa2\x06\x97\xad\x6a\x40\xa5\x06\xbc\x28\x10\xbe\x4a\xb6\xc5\xb4\x77\x01\xae\x71\xc7\x14\xe4\xbb\x05\xf3\x21\xa9\xa0\xee\x23\xbd\xc3\x78\x6f\x96\x4f\xd8\xe7\x23\x1f\xf8\x2d\x5b\x1e\xe9\x8b\x7f\xd4\x1c\x77\x3a\xab\x24\x37\x5b\xa3\x33\x7f\x8c\x2d\x29\xfe\x4b\x7b\x39\xdb\x6b\xb6\x80\x60\x08\xc7\x73\x39\xa6\x73\xf0\x8c\x35\x67\x02\x91\x0c\xf0\x93\x89\xac\x04\x93\x89\xd0\x18\xcb\x17\xc1\x29\x83\x6d\x17\x9e\x10\xa5\xb1\x32\x11\x71\x54\x82\x20\x38\xe8\x29\x86\x85\x7e\x92\xc3\x93\xf5\x21\x8f\xee\x72\x7c\xbe\x2d\x59\x83\x6e\x9d\x6b\xfd\xc2\x30\x59\x17\xd1\x00\xb1\x82\x97\xba\x9b\x0b\x86\xf5\x7d\x78\x69\x72\x30\x3d\x88\x89\x29\x6c\xea\x73\x40\x05\x64\xd3\xa3\x9c\xe0\xb9\x67\x67\xf6\xf4\x45\xba\x82\x4b\x8a\xa0\x43\x62\x24\xcf\xac\xd7\x39\x1a\xdb\x21\x43\x30\xb4\x84\x7c\xb3\x48\x6d\x87\x5a\xfd\x78\x2b\x76\x6a\x67\x45\xb5\x2c\x3f\xed\x79\xf4\x88\xc1\xcd\xa5\x4d\xff\x91\xf7\x12\x8c\x75\xb9\xc2\x79\x98\xdf\x60\x68\xef\xf7\xd8\xa0\x6b\x9e\x93\x9e\x3c\xf4\xf9\xf4\x20\xd0\xed\x21\xba\x80\xd7\x61\xdc\x56\xd5\x35\xf8\x45\xb7\xf1\xa9\xcb\x4e\xf3\x75\xcc\x2a\x44\xda\x80\xf8\x60\x7c\x63\x42\x0b\x70\x0b\x8a\xe0\x11\x64\x96\x75\xb4\x59\xb7\x15\x25\x1f\x87\xc4\x7d\x98\x20\x19\xf1\x7c\xca\x27\xd9\x3e\xd0\xc0\x93\x6d\x1b\xc4\xa4\xe3\x60\xc1\x4f\xc5\x0d\x15\xf9\x72\x22\xd6\x83\x2c\x5b\x5e\xc1\x40\x4e\xc4\x9a\x7b\xab\x2e\x3e\xfd\x24\x47\xcf\x69\x4e\x23\xf6\x56\x37\x8c\xa0\xef\x07\x7e\xfa\x80\xce\xa2\x27\xac\x04\xc1\x69\x80\x4c\x14\xa5\x28\x12\x78\x11\x97\x98\xe6\xe1\x64\x6c\x7a\x48\x77\xce\x14\x8a\xcf\xf7\x29\xee\xc3\x57\x24\xd7\x4a\x35\x1d\xc2\x2f\x6e\x21\x34\xd2\x50\xab\x21\x1f\x2e\x45\x03\x3f\x95\x63\x43\xdd\xb1\x6e\xe1\xde\x2f\xfd\xe5\x75\x0b\xda\x59\xe6\x44\x51\xb0\x92\xff\xc5\xd3\x24\xd1\xf5\xd6\x81\x4b\x25\x6d\xda\xca\x9d\x34\xa6\x17\xa3\xc1\x10\x65\xb9\xba\x91\x58\x80\x20\xeb\x0f\x90\xa9\x2d\x6f\x2c\xd9\x29\x1d\xc5\xcb\xac\x3f\xb0\x72\x99\x98\x40\x2d\xb1\x8a\x95\x2c\x05\x01\x53\x83\xaa\x93\x98\xc2\x92\xc2\xbb\xbc\x28\x74\xe3\xd3\x86\x31\x28\x14\x06\x0b\x9a\x15\x61\xad\x00\xc1\x73\xd5\x1d\x19\x44\x81\x66\x9e\x09\x9d\x9e\xaf\xb7\x90\x9f\xc8\xf8\xdc\xe9\x60\x4b\xf6\xdb\xce\x8e\xf8\x74\x69\x98\xea\x4f\x3e\xc7\xcd\x4b\xda\x03\x16\x62\xf5\x30\x65\xd5\x0c\xd8\x4f\x4e\x7d\x4c\x7f\xd0\x0d\xda\x09\xdb\x9a\x7e\xc2\xd9\x7b\x51\xf6\x43\x9a\x1c\x8e\x91\xdd\x9d\xc5\x40\x82\x3f\x47\xe3\x94\xe3\x9c\x64\x85\xa2\x94\xf0\xc4\x68\x76\xb7\x60\x13\x2a\x27\x9d\x82\x04\xd0\xeb\x79\x8a\x15\xc3\x82\x6f\x2e\xc6\xf0\x2e\x6a\x0a\xff\x86\xa2\x82\x58\x01\x17\x10\x05\x50\xbf\x0a\x01\x53\x08\x6b\xd2\x04\x80\x03\x8f\x79\xd3\xd9\x69\x33\x62\x3f\xc9\xb9\x8f\x57\x4a\x8c\xe5\xb2\xb3\xb9\x60\x46\x32\x72\x2e\x2b\xee\x88\xc5\xcc\x20\x17\xb1\x7b\x04\xfd\xec\x56\x2b\xe2\x84\x9f\x96\xd4\xe8\x26\x3b\x4c\xd8\xd7\x3f\xab\x5d\x4b\xe9\x52\xf4\x29\x8b\x43\xcd\xd0\x9c\x4f\x24\x97\x41\x9c\x04\x9c\x37\x80\x4c\xe0\xd1\xaf\x12\x90\x13\x30\x74\xce\xc9\xf0\x10\xcc\x34\x48\xa1\x40\x44\xe3\x8b\x2e\xfa\x1f\x4c\xa7\x47\xeb\x4b\xe1\x0d\x18\x37\xa6\x9d\x87\x3a\x08\x8e\xe8\x89\x85\x44\xec\x10\x7f\xe5\xf6\x90\x38\xdc\x18\xeb\x70\xcb\xbc\xb7\x93\x57\xe3\xd5\x2e\x8b\x8d\xa3\x74\x49\x60\xc5\x1e\x47\xe0\x22\x44\xe6\xa3\x7f\x11\xac\x08\xb1\x38\xdb\xb4\x22\x35\xa9\x81\x98\x28\x6d\x04\x2a\x1a\xb1\xeb\x15\x5f\x82\x7d\x85\x5a\x40\x46\xf6\x9d\x48\x90\x05\xa8\x9f\x0e\xfa\x45\xdc\xf6\x7d\x64\x83\x68\x61\x3c\xc5\xa4\x20\xf7\xfa\x43\x55\xd8\xd3\xd5\xe7\x92\x7a\x9f\xba\xe7\xa2\x1f\x44\x33\x13\x7c\x29\xd1\xa1\xdf\x99\xec\x1c\x93\x3f\x0a\xc6\x88\xbf\xb5\x5c\xd9\xac\x46\xe9\x96\x83\x7c\x4f\x33\x4d\xab\xd7\xd8\xe4\x4d\x60\x7e\x29\xa9\x63\x08\x63\x3e\x09\x72\x8a\x87\x5a\xdd\x9c\x0c\x96\x1f\xd0\xc5\x8b\xf5\xa1\x96\x22\x18\xc9\x4b\x51\x07\x3c\x69\x6e\xa1\x74\x26\x86\x47\x42\x6c\x07\x39\x8d\xd3\x7e\x92\x26\x45\x28\xdd\x10\x40\x4e\xb6\xb6\x4c\xf0\xdc\x06\x71\x49\x40\x6a\xde\x04\x85\xce\x4d\xa7\x44\x60\x88\x6c\x48\xfe\xc0\x47\x72\xfb\x10\xb0\x3a\x4a\x59\x5a\xd1\x0d\x91\x37\x1a\x55\x67\xe9\xc6\x56\x8d\xe0\xe5\x82\x41\x98\xe0\xe5\x24\x1f\x09\x25\x15\x20\x4e\x12\x4d\x82\x89\x97\x44\x68\x12\xe0\x07\x2c\x1c\x65\x47\xbf\x89\x2e\x58\xaf\xe0\x78\xe1\x3b\x03\x45\x49\x87\x1d\x30\xc0\x84\x78\x94\x46\x38\x9e\x45\x2b\x83\x9a\x4f\x18\xd5\x06\x4f\x34\x45\x12\x73\xc3\xfe\x4b\x34\x7a\x5b\x4e\x87\x50\x33\xae\x0a\x64\x75\xa7\xf7\xa2\x36\x90\xc8\x01\x17\xec\xeb\x97\xaf\xfe\xe7\xcb\xaf\xbf\xfe\x0e\xae\x9c\xdf\x97\xd1\xbc\xdc\x64\x5a\x03\x09\x25\xa9\xab\xf6\xf0\x6a\xf4\xea\xbb\xc1\xae\x26\xb7\xb1\x2e\xc3\xb6\xad\x36\xb5\xf5\xb9\xee\x75\x23\xdc\x33\x21\xb5\xea\xe5\x70\x18\x77\x9a\x7b\x44\x84\x71\x74\x40\xf8\x1e\xd1\x24\x49\x01\x16\x95\x7e\xf4\x32\xb0\xb4\x8b\x11\x7b\xaf\x40\x77\xba\x12\x0f\x4e\x75\xa2\x5e\x7f\x72\x8d\xc6\xa1\x4d\x6a\x79\x5e\xd5\x22\x89\x50\xcd\x37\xfb\x4e\x58\xda\xeb\x01\x9b\xa6\xb8\xef\x57\x5a\x8d\xc3\xec\x42\x37\xb4\x79\xc3\xe9\x9e\x65\x96\xa8\x9f\x1e\xd1\x82\xbe\x29\xa9\xe9\xec\x17\xde\x48\xdd\x1a\xef\xec\x2e\xf4\xbc\xd6\x0a\xf8\x58\x28\x19\x8b\x8b\x82\x97\x87\x40\x0f\x43\x27\x29\x06\x3e\x20\x0b\x85\x15\x9d\x85\x3b\x7e\xbe\x9a\x8d\x48\xc0\xb8\x7a\xf0\x43\x35\x94\x53\x46\xb1\x19\xc9\xc8\xc8\x40\x56\xf2\x0c\xcf\x05\x4d\x3a\x51\xe8\xc6\xcf\x23\x14\x03\xc4\x5e\x40\x92\x6e\xe2\x9d\x1e\x44\xf9\xba\xc9\x56\xb6\xc9\x21\xff\xcd\xd7\x7b\x38\xe4\xeb\xee\x84\xb6\xc3\x60\x25\xf6\x04\x99\x04\xf7\x7a\x83\x4c\xa4\xe4\xdb\x23\x32\xc1\x38\x76\x30\x2c\x1a\x09\x1e\xec\x10\x1c\x4e\x7f\xa4\xd4\xe0\xec\xef\x4e\x21\x79\xd4\x21\x93\xe3\x5e\x2c\x1e\x75\x13\xc0\xcd\xfc\xa8\x99\x12\x42\xc3\x22\xee\x01\xb9\xcf\x20\xfa\xb6\x21\x5d\x72\x45\xe3\xc5\x88\x9d\xa9\x05\x72\x45\xd4\xf6\xbc\x80\xe3\x79\xea\xdd\x22\x75\x5b\x64\xa7\xe7\xb3\x12\x69\x34\x27\xa4\xc0\x79\xae\x35\x56\x45\xf2\xf4\xac\xdc\xc7\x93\xeb\x06\x78\x2d\x01\xba\x35\x54\xef\xde\xff\x79\x3f\x1c\x9d\x98\xe1\xb5\xd5\x62\x95\x1d\x29\x87\x47\xc1\x2b\x9d\x53\xf4\xb7\xd1\x7c\x85\x23\x4e\xee\xcd\xa4\x6e\x49\xa1\xe5\x88\x9d\x79\x1d\x1c\xdf\x3d\x70\xf9\xb8\xce\xa0\x92\x72\x6e\x02\xc0\x16\x67\x57\x17\x5e\x3d\x26\x2c\x97\x3c\x9a\x08\x05\x96\x7c\x26\xf0\xce\x12\xa8\x8e\xf8\xad\xe5\x15\xba\x70\x6f\x9a\x56\xdc\x1e\xed\xf7\x54\xa1\x4d\xf7\xf4\xe5\xcb\x97\x7f\x81\x97\x0a\x26\xf7\xdf\xbf\xfe\xfe\xbf\x7f\xfd\xfd\xa7\x48\xb3\xcd\xf3\xf4\x7a\x2a\x67\x6b\x0e\x39\xb1\x58\x6c\xc5\x39\xc0\xd0\xf6\xc4\x1b\xde\xc9\x7d\x4a\x92\xf5\x81\x6d\xd2\x33\x84\x39\x1a\x03\xf6\x5e\xbd\xc5\xfa\x6e\x03\x7c\x99\x32\x9b\x35\x36\x3a\x28\xca\xcf\xe9\x57\xb4\xbc\x21\x4e\x79\xaf\xd4\x90\x20\xf9\xf4\x60\x6c\x1f\x3a\xcd\xb3\x94\xc4\x4c\x78\xa3\x7b\x2f\x63\xcc\x16\x51\x18\x46\x93\x0e\x7c\xca\x4e\xf0\x40\xb7\x64\x5d\xc5\x50\x78\xef\x5b\x40\x46\x91\x77\x1d\xe4\xf3\x14\xbf\xd1\xb1\x95\x92\x15\x28\xc1\xad\x02\x0b\x6c\x5a\x95\xa7\x26\x24\xda\xed\xed\x51\x25\xa6\xbc\x58\xdc\x1e\xe5\x23\xa5\x1e\x09\x3f\x63\xb4\x54\x4b\x2a\xf2\x86\x23\x52\xd9\x50\x0f\xdf\x1c\xe9\x3b\xd4\x6f\xc7\x49\x7a\x56\xe6\x03\xb9\xd1\xce\xd6\x3c\x41\x7c\xa4\x9e\x86\x30\x8d\x20\x36\x62\x51\x42\x61\x79\xc0\x74\x5e\x29\x33\x7e\xbb\x0f\xbc\x97\x37\x04\xec\xfc\x0c\x66\x87\xe2\xf8\xba\x34\x60\x02\x21\x29\x35\x30\xb5\x30\xc2\xa6\x57\x62\x75\x27\x7e\x7f\x63\x17\x7b\x2c\x70\x6d\x02\xea\xce\x5c\xac\x9b\xcb\xba\x31\x9a\xe8\xf0\xa9\xac\xab\x63\x30\x80\x44\x47\x8c\x5d\x0b\xc2\x21\x4b\x83\x3e\xa1\xd4\x3e\x6d\x62\x4c\x44\x05\x43\x25\x8a\x73\xeb\xf6\x2c\x0d\xe1\xdb\x42\x15\x17\xa1\x22\x7f\x1e\xf9\xe7\x43\x50\xdd\x5f\x29\x92\xa2\x92\x1c\x2d\x1f\x79\x4b\x14\x09\x63\x3f\xaf\xc1\x05\x69\x96\xda\x30\xa9\x8c\x75\xea\xd4\x3e\x54\xd0\xed\x6c\x6b\x24\xd5\xf2\xe8\x91\x33\x79\x59\xbb\xb3\x62\x72\x59\x2d\x71\xbd\x7e\x4f\x84\xe5\xe6\x3e\xda\x6f\xc4\x90\x20\xdf\x90\x0e\x92\xdf\x69\x2d\x43\x32\x59\xaf\xb1\xe9\x6c\xde\x0d\xfb\x23\x79\x10\xcf\xcc\xdb\xbf\x5d\x5c\xf5\x80\x81\x6d\x5a\xb1\xc9\x01\x99\x6a\xf6\xa9\x60\xec\x7a\x1f\xb0\x86\x5b\x14\xea\x39\xbe\x1f\x95\xe0\x18\x93\xcf\x8e\x13\x3e\x7a\x02\xa1\x2e\x31\xe9\x05\x1f\xe9\x01\x6e\x24\xc2\xaf\x47\x8d\x44\x40\xd7\xfe\x41\x0a\xf3\x41\xb5\x83\x8e\xe7\xde\x6d\x71\x85\x63\x38\xf6\x9a\xb7\x30\xb6\x69\x0b\xcb\x5a\x6b\xdc\xef\x38\xb8\x0f\x4f\xef\x31\x7c\x23\xa6\xd2\xd8\x66\x11\x81\xc9\xe3\x24\xc8\xb8\x17\x9a\xdc\x8b\x05\xfb\xf1\xaf\x6f\xfe\xed\xef\x3f\xbd\x3f\x3f\xfb\xe9\xef\xef\xce\xce\x7f\xbc\xbc\x7a\x73\x7b\x7b\xfd\x6f\xd7\x37\x6f\xde\xdd\xde\x9e\xa3\x19\x9e\xb4\xb3\x6b\x61\x6f\x6f\x89\xb4\xcc\xed\xed\x4d\x51\xcb\xfa\xf6\x36\x09\x3c\xb4\x1a\x16\x8f\x1e\x22\xe0\x9f\x21\xd9\x0f\x64\x45\xdc\x74\x98\xf7\x8c\x9b\x98\x08\x7b\x18\x9f\x3b\x54\xca\x1f\x63\x8a\x4a\xa8\x3a\xb0\xed\x3a\xcd\xc0\x6b\xc1\x8c\x54\xd3\x4a\x84\x04\x97\xe8\xed\xbd\x13\xf6\x51\x90\xf0\xdc\x4d\x95\x4b\x73\xd4\x09\x32\x17\x1f\x45\xf7\xf2\x67\xd2\x1c\xd9\xe4\xc0\x24\xa2\xd9\x83\x14\x8f\x68\x67\x92\x53\xc5\x2b\x3f\xaa\x20\xed\x16\x35\xa0\x6e\xbe\x0f\xf9\xa1\x43\xb0\xd6\x72\x56\xce\x52\x46\x4e\x26\x97\x04\x18\xa6\xf1\xe5\x05\x7b\x35\x62\x3f\x62\x84\x02\xf4\x75\xbd\x6a\xe7\x42\x2c\x98\xb6\x33\x32\x75\x1d\x3a\x26\xc1\xb4\x77\x08\xe9\xb6\xf3\x03\x3f\x69\xab\x6a\xc1\x9c\xce\x81\x8f\xf9\x58\x97\xcb\x77\xff\xf6\x08\x2b\xb9\xf8\x3f\x60\x19\x97\x11\xfe\x18\xc6\xce\x7e\x75\x34\x1b\xab\x27\xe0\x5f\xcc\x43\x41\x7f\x25\xed\x98\xa5\x1f\xae\xce\xa7\x5e\x92\x0c\x81\xfe\x39\x7d\x09\xb3\xe4\x00\xd9\xbf\xc7\x9b\x61\x45\x33\x97\x0a\xec\xe8\x3f\x34\xbc\x10\x63\xd1\x48\x10\x02\x0e\x95\x0e\xa1\x84\x40\x7c\x7a\x3f\x92\x60\x53\x37\x10\x6c\x3a\xa6\x76\x82\xbe\xec\x94\x71\x4c\xa6\x67\xa5\xa8\x44\x34\xc4\x76\x73\x19\x94\x56\x43\x25\xa6\x3c\xcb\x66\x00\x5b\x0b\xf2\x28\xd4\xb7\x83\xf9\xc2\x58\x5d\x33\x39\x9f\x8b\xd2\xbd\xcf\xd5\x82\x3d\x48\x8e\x7c\xd3\xed\x26\x5d\x9a\x63\xa5\x99\x86\x5c\x28\x40\xb1\x01\xe7\xd3\xac\xb5\xac\xd4\x8f\xea\x24\x86\x02\xe1\x00\x4e\x85\x97\xd5\x20\x13\x8e\x61\x49\xac\x86\xcd\xcb\x63\x82\xfc\x73\x0e\x33\xcc\x9a\xd1\x53\xbb\x6a\xf3\xf8\xc4\x06\xf3\x90\xbf\xce\xde\x7e\x1f\x55\x39\xd0\xb8\x01\xe3\x83\xb3\xe4\x1c\xfd\xa2\xfc\xc5\xc6\xf4\x4b\x42\xe1\x4e\x3a\x74\x5f\x4f\x74\x53\xc8\xbb\x6a\xc1\x66\xbc\x0a\x9e\x02\x9e\xee\xcd\x88\x5d\x0b\x9b\x2e\xbf\xd2\x6a\x9a\x3e\x73\xe2\x63\x8d\xf6\xed\xc2\xdd\xcd\xb6\xc6\xf1\xdc\xeb\xb0\xd0\xed\x9a\x0c\xe0\x6f\x5e\xfa\xa5\x1e\x3c\x0f\xc5\xea\x4a\xe0\x86\xee\x66\x1d\x89\xaf\x79\xd2\xc3\x81\x03\x00\x6f\x42\xcf\x07\x29\x8b\x72\x5d\x37\x82\x97\xe7\x49\xbe\xcb\x16\x6b\xec\xba\xef\x92\x7a\xef\x33\xfd\x98\xd6\xc6\x00\x63\xb6\x6e\xa7\x33\x74\xc8\xc2\x87\x8c\x17\x8d\x36\x26\x94\x0d\xf1\x48\x9a\x23\x76\x9d\x17\xab\xc8\x4b\x54\xc0\xf3\xf6\xc8\x17\xbe\x3e\xc9\x9d\x2c\x85\x49\x12\x52\xfd\x64\x46\xec\xac\xaa\xd8\xda\x35\x02\xd9\x9e\x5d\x5d\x1c\x3c\x5f\x64\xdd\xee\x3c\xdd\xcd\x5e\x49\x63\x87\x73\x5e\x0f\xef\xc5\xc2\x64\x50\x44\xd9\x71\xfe\x55\x2c\xba\xa9\xa5\xee\xd6\xfe\xac\x08\xbe\xde\xbd\xf8\xe9\x64\xfe\x7d\xcb\x88\x7e\x7a\x73\xbe\x3d\x32\x34\x8b\x01\x58\x37\xa1\x27\x84\x02\x20\x1e\x49\xdf\x60\x24\x6a\x1d\xeb\xa0\x43\x08\x39\xe4\x46\x81\xdd\x76\x5b\x70\xd2\x8e\xd6\x2a\x63\x75\xc3\xa7\xe2\xd4\x4f\xf2\xa0\x64\xf5\x0b\x74\xfa\x05\xc5\x6a\x0c\x1a\xe1\x76\xef\xaf\x8e\x16\xe3\x59\xfd\xb7\xce\xdc\xd6\x43\x67\xf9\xb8\xb2\xff\xd6\xa1\xc2\x7d\xd2\x3c\xbb\xb0\xeb\xab\x12\x3d\xd1\x24\x9c\xb8\xbb\x97\x73\x43\x6c\x86\xc7\xee\x81\x9e\xf0\x87\x39\x5f\x30\x77\x91\x2b\x68\xc5\x0b\xdb\xf2\x0a\x1a\x0b\x6c\x8b\xbe\x8a\x01\x13\xe4\x92\xa8\x16\x59\xf5\x15\x20\x41\x8c\x25\xf7\xaf\xae\x8f\x2a\x72\x5b\x51\x44\x4c\x91\x46\x57\xac\xae\xb8\x12\x3d\x92\x4f\x13\x90\xf3\x2d\x58\x6a\x54\x93\xc1\xe7\x11\x86\x89\xef\x43\xe7\x7b\x63\xaf\x1f\xc0\x38\x1e\xcb\x54\x7c\x8a\x9b\xd0\x01\x77\x7f\x12\xab\x0a\x24\x8e\x04\xb4\x95\x69\xdd\x50\xf5\x12\xd0\x42\xb5\x22\x3c\x14\x27\xe4\xe5\x69\x8f\x18\x16\xa7\xe4\x04\x64\xda\x14\x94\xd7\x24\x11\x6a\x10\x69\xd0\xda\xba\x05\x46\xf8\x1f\x18\x67\xeb\x84\x48\x27\x64\xfd\xc7\xe1\x8f\x9c\xab\xc4\xfe\xe2\x0b\x75\x7f\x9a\x78\xb5\xeb\x4e\x15\xf0\x3d\x24\x9f\xe5\x9c\xaa\x9e\x87\x44\xcc\x00\x43\x3e\x17\xab\x33\xac\xf0\xaa\x3b\xd5\x6a\x29\xd7\xaa\x5f\xca\x50\x9d\x96\x5c\xff\xfd\x93\x86\x0e\xb9\xf1\x98\x12\xb2\x4d\xa0\x8e\xb0\xcd\x64\xdd\x70\x9f\xb9\x97\x19\x45\xbe\x24\x9a\xd7\x1b\x10\x7c\x09\x3a\x89\x4a\xef\x42\x44\x3b\xf8\x3e\x16\xd0\x2c\xf4\xf9\xe9\xf7\xb7\x13\x4d\xbb\x74\x89\x6f\x7c\xed\x2c\x2c\xd9\xcf\x4c\x5b\x38\x5d\x67\xd2\x56\xdd\x4f\x23\x60\x1b\x7a\x48\xff\x35\x01\xc0\x9a\x67\x45\xff\x29\x30\x7a\xe5\xb7\x26\x80\x06\x20\x44\xd9\x3f\x35\x2f\xe8\x57\xe9\xe6\x8c\xcd\xda\x39\x57\xac\x7f\xad\x9b\xc7\xd9\x22\xa5\xd4\x50\x97\x36\x16\x13\xda\x23\xec\x13\x2d\x1f\xe5\x55\xbf\x88\xd8\xa5\xf6\xde\x0e\x08\x6c\xe6\x31\x58\x07\x31\xf4\x00\x62\x7b\x0c\x59\xfa\x50\x61\x8b\x0e\xcc\x50\xcd\x2f\x49\xde\x0c\x31\x98\x0d\x40\xba\x70\xa7\x94\x71\xc3\x62\x54\x14\x7b\x90\x85\x95\x73\x03\x54\x29\x31\xfe\x4d\x36\xc1\x6e\x93\x19\x1b\xd0\x98\x91\xc7\x0d\x06\x43\xed\xb4\xe5\x0d\x57\x56\x88\x08\x11\x97\x3a\xc2\x3a\xd1\xa0\xd2\x97\x0c\x8b\x7a\xa4\x93\xde\x4a\x51\x40\xc1\x0a\xed\xc4\xab\x22\x18\xe8\x99\xa8\x8c\xc0\x32\x9b\x72\xe2\x23\x3d\xa0\x78\xd8\x9d\x28\xf4\x5c\x30\xfe\xc0\x65\x05\x67\x6e\xb4\x06\x20\xa9\xbc\x5f\x40\x94\x8a\x9d\x4f\x69\xa1\xb1\x28\x71\x36\x2b\x74\x17\x53\xe0\x4e\x88\xf7\x80\xc8\x56\x2a\x6f\xe8\x91\x3a\xd1\x78\x13\x77\x73\xc4\xce\x30\xb0\xd9\xb4\x95\x1d\xa4\x81\x43\x94\xad\x5b\xca\x09\xe4\x96\x58\x34\xaa\xf8\x0c\x1f\x1f\x3e\x9d\xd8\x6e\x90\x24\x9f\xc2\x21\xeb\x19\x37\x5b\xab\xfe\xb8\xa1\x66\x94\xe9\x03\x68\x0d\x14\x32\x2c\x31\x17\xc8\x6d\x82\xf7\xf0\xb5\x73\x80\x61\xd2\x13\xaa\x78\xea\x13\xbb\xf0\xe6\x48\x6b\x58\xe0\x31\xc8\x2f\x93\x98\x10\xb8\xdc\x03\x1f\x0d\x62\x9c\x38\xaf\xca\x70\x41\x11\xcf\x36\xda\xa7\x93\x0c\xa6\xc4\x71\x88\xef\x3a\xf4\x14\x1c\x1a\x58\x92\x12\x6f\x75\xa2\x21\x10\x52\x08\x7c\xe1\xd1\x2a\xc0\x06\xe6\x0e\xbe\xd6\xc6\x48\x47\x2b\xb8\x70\xf4\x23\x02\x94\xeb\x58\x40\xbc\xe5\x6b\x84\x55\xd5\x25\xbc\x13\x77\x60\xc6\x2f\x1c\x63\x8d\x91\x76\x89\xa7\xda\x6b\x15\xee\xf2\xad\xa8\x93\x99\xbc\x29\x98\xe2\x85\x1e\x0c\x8b\xfd\x12\x21\xf9\x54\x55\xaa\xd9\x40\xa1\xb6\x29\x00\x69\xbc\x3f\xdc\xb0\x47\x01\x68\x30\xd8\xcc\xd4\x8e\x9c\x4a\xfd\xa8\x1c\xc7\x07\xb3\x21\x0e\x14\x4a\x55\x2b\x8f\x1c\x80\x6f\x73\x01\x21\x0d\x00\xf1\xcb\xdd\x4f\xee\xb8\x3e\xa0\xc5\x71\xc5\xca\xef\x74\xab\x10\xc4\xc8\x87\xcd\xab\x72\x8d\x57\x03\x1e\xae\x7c\x59\x67\x6b\xa0\x41\xdc\xe1\x40\xe4\x2a\x8e\x0b\xf9\x2f\x32\x78\x2c\xbc\x67\x02\x9c\x5a\xbc\x01\xce\x0d\x69\x1c\xfe\x5f\x23\x76\xed\xde\x5f\x51\x8a\xf2\x35\xd8\x90\x96\xbd\x1e\xb8\x88\x07\x11\x8d\xd1\x60\x70\xa6\x77\x1b\x97\x91\xc5\x5f\x88\x90\xa7\xf4\x16\x92\x8d\x76\xe8\x98\x36\x65\xf5\x5a\xdd\x4e\xe6\x73\x98\x60\x10\x4e\xb8\x24\xd4\x50\x48\x60\x6c\xe2\xa3\x0c\xe6\x59\xa5\xd5\x10\x8c\xdc\x5e\xe5\x6d\xd8\x63\xde\x1d\xd1\x23\x12\xe1\xc8\x57\x1f\x7b\x0d\x19\x7d\x50\x19\x92\xae\x9b\xd7\x9b\x45\x12\x56\x49\x94\x40\x1b\xa0\xef\x60\x1e\xe5\x80\xd9\x45\x4d\x28\x35\xbe\x6a\xa4\x62\xa2\x69\xb0\x0e\x32\xe1\xbf\xd3\x7b\x1a\x6b\x8d\x6a\x63\xd3\x88\x4d\x77\x9d\x0e\x2d\xb4\x20\x43\xdb\x9d\x0f\x76\xaa\xae\xac\xe2\x83\x87\x29\x8c\xb2\x2c\xe1\x86\xce\xf6\xe1\xdf\x50\xda\x65\xcb\xc4\xb1\x11\x85\x63\xb8\xb9\xa4\x95\xbb\xd6\xac\xe5\x32\xab\x50\x2b\x4d\xd7\x36\xfe\xd2\x7a\x7d\x35\x49\xf8\xa0\xaf\x2f\xc7\x3e\x70\x76\x8c\x35\xb3\x31\xd3\x2a\x8c\xc3\x2d\x0a\xb9\xaf\xc8\x85\x10\x12\xc9\xf4\x84\x41\x7d\x17\xcc\xec\x7f\xf8\x2e\x45\x9b\x90\x86\x22\x93\x60\xe7\x20\xf1\x3f\xf2\x92\xd8\xf7\x42\x74\xc3\x28\x0f\x60\xad\xb8\x1c\x7f\xe1\x29\xfa\xbf\x69\x03\xd1\x5e\x3d\x5e\xf2\xbf\xb5\xbc\xa2\xc8\x69\x72\xb7\xb3\xe3\xbf\xbd\xbf\x3e\xc1\x28\x30\x39\x81\x5b\xeb\xde\xde\xe5\xd2\x3a\x11\xbb\x67\x65\x02\x14\x84\xe3\x8c\x75\xf9\xb7\xf7\xd7\x18\x7a\x06\xa1\x39\xa0\x63\x07\xd1\xeb\x6f\xef\xaf\x71\x20\x61\xf6\xad\x21\x81\xc9\x3d\x8d\xae\xb5\xe1\x95\x39\xc5\x10\x32\x9a\xcf\xf0\x37\xbd\x5c\x32\xe5\x60\xf5\x28\xcf\xd8\x5d\x23\xc5\x24\xa9\x42\xb9\xaf\xf6\x00\x5c\x76\xc4\xa0\xea\xee\x8b\x37\x4e\xbc\x16\xe5\x8b\xbd\xea\x54\xa2\x02\xf8\x39\x0b\x95\x7e\x78\x7b\xce\xbe\xf9\xe6\x9b\xff\xc9\x00\x98\x19\xc4\x31\x89\x2e\xe7\xa8\xd6\xfb\x88\x69\x6e\x18\x2f\xdc\x6b\x53\x89\x72\x9a\x4b\x46\x55\xc8\x59\x80\x6c\x85\x00\x7a\xe7\xf1\x9f\x21\x2d\xbd\x5c\x25\x1e\x1d\x9b\x93\x0c\xe5\xe9\xb0\x58\x83\x37\x62\x5e\x57\x5b\x2b\x6b\xf8\x56\x89\xab\x8c\x33\xeb\x7f\x74\xb3\x0b\xd1\xe4\x85\xae\xa5\xf0\x96\xe8\x46\xf8\x80\xf3\x9e\xb0\x84\xcf\x85\xa0\x7e\xb7\x42\x50\xcf\xa5\x8e\xfe\x28\xa5\x8e\x10\xb2\xa1\x7f\xb1\x23\x3c\x9b\x17\xe6\xf3\x15\x3c\x0a\x8b\x5e\xed\xe1\x5f\xe6\x49\xbd\xb6\x64\x15\x5f\x03\x2c\xd5\x4d\xbb\x90\xb0\xb6\xc8\x47\xc0\x8e\x94\x21\xdc\x78\xf3\x06\x51\x27\x99\x9f\xfc\x4c\x47\x9f\x64\x97\x9c\x0c\x0a\x66\x49\xd3\xb1\x17\x6e\x65\xfc\xe1\xf7\x4f\x58\xed\x29\xbc\x1c\x59\x83\x03\x54\x7c\xf2\x1d\x6f\x2f\x38\x98\xb6\x5c\x2a\x3c\xe8\xff\xf8\x5c\x80\xf0\xcb\x7e\x77\x76\x2c\x40\x18\xee\xdc\xe1\xbd\xb4\x81\xa2\x9f\x62\x98\x7f\x7e\x46\xff\x28\xcf\xe8\x73\xc5\x40\xfc\xfd\x33\xbc\x21\x9f\xa4\x72\x60\x26\x02\xf4\x7a\x47\x00\x56\x3d\xaa\x38\x10\x9f\xca\x2d\xa7\x00\x7c\x62\xd3\x60\x86\x89\xc0\x9f\x5e\x26\x88\xfa\xd0\xf6\xe7\xe6\x59\xe6\x5b\xba\xbf\x26\x3f\xa4\x5e\xdb\xb1\x84\x99\xbf\x71\xe5\x84\x9a\x13\x1e\x62\x0c\x60\x36\x12\x30\x17\x92\xa2\x68\x9b\xe2\xe8\xbe\x0c\xe9\x6e\x3b\xed\x37\x76\x39\xb8\x6c\x1d\x31\x82\x19\x7b\x1b\x6a\x31\x9a\xba\x41\x10\x71\xc2\x45\xe3\x71\x09\xf4\x5d\x05\x90\xfd\x64\xf2\xf6\x81\x5a\x50\xd3\xed\x86\x32\xd5\x79\xb0\x82\xa3\xc5\xdc\xcc\x30\x45\x17\x40\x89\x92\x9c\xf6\xaa\xd2\x8f\x00\x5a\xd9\x56\xc2\xbc\x66\x43\x76\xd7\xca\xca\x0e\xa5\xb7\xb4\x53\x76\x1b\x7e\x7e\x27\xba\x49\xd5\x92\xf0\x4e\xd1\x63\xa6\x8d\xa0\x96\xad\x11\xb7\x8a\x25\x56\x2c\x48\x4a\xb8\x55\x43\x56\x54\xba\x2d\xdd\x22\x1e\x64\x19\x6b\x32\x15\xf9\x70\x60\xef\xc5\x62\x73\x3c\x46\x65\xe6\x93\x77\xfd\xd3\x4a\x27\x5a\x8f\x08\x36\x70\x54\xe8\xf9\x69\x7c\x3e\xf7\xb1\x76\x37\xdb\x32\xf3\xdc\x51\xfb\x50\x7a\xd8\x74\xd5\xce\xef\x44\xa0\xe3\xec\x3c\xc0\x4b\x09\x19\xbc\xe8\x39\x01\xf1\xd4\x9d\x25\xa1\x9b\x1f\x1e\x82\x41\x5b\x5d\xe8\x6a\x2b\xbe\x08\x36\x0b\xcb\xf0\xff\xde\x67\x0d\x58\x51\x32\x14\x76\x89\x60\xe7\xaf\xd9\xed\xd1\xcd\xf9\xf8\xf6\x68\xc0\x6e\x8f\x7e\xbe\xa0\xff\xb8\x3e\xbf\x19\xdf\x1e\x1d\xb6\xbe\x2a\x9c\xda\xaa\x6d\xd8\xf6\xe0\xf6\xb9\xd6\x8f\xba\xf9\x88\x31\xb5\xd7\x20\x15\x6e\x7c\xd7\x96\x9b\xa7\x81\xa4\x9c\xf9\x16\xbe\x5e\x62\xc0\x65\xea\x53\xb3\xb4\x47\x29\xdc\xb7\xd7\x54\x03\x37\xc3\x6a\x82\xc2\x9e\x88\x7e\x02\x16\x73\xab\x31\xba\x99\xbd\x0b\xe5\x3a\xba\x4d\xe2\x81\x92\x45\x15\x5d\x6b\x35\xa4\x13\xa8\x69\x70\xf5\xbd\xf9\x38\x62\xb7\x47\xe2\xa3\xfd\x16\x8f\xf7\xe3\x04\x6b\x34\xce\x03\xfc\x3b\x08\xc8\x84\xa2\x08\x69\x4d\xd8\xb8\x5b\x73\x6d\x3f\x64\x8a\xf7\xaa\xda\x86\x57\x90\xa6\x81\x40\xae\x17\x3b\x76\x5f\x9e\x3e\x36\xd2\x8a\x93\x11\xc0\x22\xbe\x07\x34\xa0\x50\x6e\x60\xa2\x1b\x0a\xfb\x08\x7f\xf4\x39\x8a\x52\x31\x3c\xdd\x77\x6e\x03\xd7\x41\xb2\x6d\xcc\x1b\xc3\xa3\xdf\x0a\xaf\xfb\x0b\x35\x23\x10\x48\xb7\x93\xa5\x7b\xcb\x00\xde\x76\x89\x92\x0e\x7b\xa1\xc2\x14\x9f\x7c\x81\x00\xfa\xa0\x11\xe5\x75\x80\x7e\xbc\x11\xcd\x7c\xc3\x1d\x3a\xf3\xf8\x00\xb5\xff\x34\x85\x8d\xb4\xa2\x99\x07\x44\x03\xf0\xff\xc3\x3c\x08\x5b\x20\xe0\x0d\x3c\x0a\x08\x34\x7a\xc9\x8e\xe5\x48\x8c\x98\x74\x52\x17\x67\x4a\x0f\x75\x7d\x32\x62\x67\x4c\xb5\x55\xd5\x63\x00\xa5\x43\xff\xd4\x91\xc1\x20\x9e\xd0\xd7\xf6\x6b\x5b\x07\x74\xde\xbd\x65\xad\x14\x4b\x0f\x76\x6f\x93\xd0\x75\x86\xc1\x43\x01\x6d\xcf\x2d\x68\xb0\x84\xcd\xb6\x8c\xee\x85\x5b\xb6\x26\x75\x1d\xff\xb8\x85\x60\x7f\xc5\x4d\xef\x0e\x95\x55\x42\xc8\xc7\x54\x9d\x85\x05\xd4\xdf\x06\x6a\x21\xbf\x1a\xbe\x7a\xf9\xf2\x30\x30\x45\x3d\xe9\x9e\xd6\x39\x58\x79\x7c\x4f\xbf\x0b\xfa\x6e\xe3\xeb\xe1\xfe\x9e\xb9\x7b\x66\x82\x57\x76\xc6\x8a\x99\x28\xee\x89\x7d\x86\x42\xa0\x8c\x4f\xb9\x54\xc6\xa6\x35\xba\x5c\x9b\x52\x60\x5c\x86\x88\xa5\x2d\xd0\x50\x57\x41\x75\xa8\x86\xe2\x41\x51\xaa\xc4\x58\xbb\x86\x4f\x26\xb2\xe8\x41\xcb\xe2\xe3\x13\x34\x86\x37\x1f\x45\x71\x06\x58\xb4\x1b\xe9\xf7\xbd\x42\x79\x12\x22\x0f\xb5\x0a\x91\x22\x51\x58\x8d\x68\x28\x09\xec\xb9\xeb\x3d\xfc\xdb\xf8\xd4\x0b\x5f\xcb\x8f\xdf\x8b\x35\x94\x4d\x51\x30\x37\xb3\x46\x98\x99\xae\xb6\xd9\x91\xde\x49\x25\xe7\xed\x1c\xd2\xc7\x44\xd1\x42\x4a\x28\x75\x91\xa0\x4f\xc2\x41\xe2\x79\x25\x28\xc2\x1e\x3d\x18\xa2\xf5\x9c\xf2\xe3\xd6\xe2\x03\x88\x3a\xe9\x8a\x23\xe6\x47\x0a\x29\xa0\xaf\x0e\x0e\xd8\xe5\x54\xac\x1f\xc4\xfe\xe0\x1d\x3f\xde\xdc\x8c\x7f\x10\xb6\xc7\xa1\x52\xcb\xce\x01\xb9\xf1\x53\xf8\x55\xa2\xed\x35\x27\x45\x80\xd1\x17\xa2\xe2\x8b\x7e\xe9\xc2\x57\x41\x30\x5f\x4e\x73\xcd\x23\xa3\x7c\x0c\x34\x79\x89\xab\x1c\x17\x19\x82\xf6\x42\xe9\x92\xc3\x86\x41\xc7\xf0\x67\x1c\xeb\xe0\x1a\xc1\x0e\xe9\xd5\x3f\xea\x47\xa6\x27\x56\x28\x76\x1c\x53\x83\x4f\xd2\x22\x2e\x81\xba\x33\xcc\x83\x57\x31\xb9\xf6\x73\x90\x2d\x05\xcf\x3d\xe5\xca\x52\x17\xdb\xef\x6c\x12\x60\x9f\xdd\x5b\xbc\xcb\xf9\xa5\x7d\x35\x0a\xf2\xf4\x2b\xe8\x37\x90\x11\xa0\x25\x20\xae\xf6\x67\xd9\x21\x5b\xd4\xd7\xba\xb8\x7f\xc2\xd5\xbe\x39\x1f\x63\x0f\x3d\x2e\x77\x68\x9b\x5c\x6f\xae\x3c\xfb\x95\xea\x41\x57\x0f\x08\x7a\x77\x73\x3e\x06\x9d\x72\x04\xff\x35\xd3\xfa\xde\xc4\x2c\x0c\xaf\x70\x7c\x89\xb0\x01\xac\xad\xb5\x22\x1a\xc9\xe2\x26\xff\x99\xf3\xeb\xd7\x83\x14\x50\x5a\xfb\xa6\x23\xeb\x14\x0f\x7d\xef\xd1\x64\x07\x69\x9f\xfa\x41\x34\x0d\x64\x6d\xdb\x80\xb6\x40\xb6\xa3\xa0\x97\xc6\x82\x4e\xbf\x3b\x6a\x43\x40\x15\x53\x98\xb1\x45\xa1\x8d\xee\xd8\x48\xdc\x24\x70\x50\x77\xea\x20\xed\xdd\xac\xdc\xa2\x80\x47\xb6\x02\x2b\xf5\x00\x78\x05\x72\x2e\x74\x6b\x9f\xf6\x84\x26\xf9\x55\xc8\x38\xe5\x5c\x18\xa6\x5b\xdb\x61\x89\xf4\xd9\x4a\xae\xf7\xe5\xbf\xa3\x4f\xb6\x0a\x37\x1a\x6b\x45\xf5\xb4\x1f\x7d\x48\x4d\x45\xb5\xff\xd8\xdb\x8a\xd0\x52\xb4\x5d\x4a\x27\x88\x90\x77\xba\xdc\x66\x2d\x72\x4d\xd8\x9d\xb4\x26\xe0\x0a\x1a\x61\x1d\x37\x23\x20\x5a\x48\x48\x09\x2e\x17\x59\x21\x7c\x82\xc7\x12\x8d\xd6\x23\xc5\x74\x61\xbd\x73\x3c\x80\x0e\xbd\x7c\xf9\xf2\x25\x10\xff\xcb\xbf\xfc\xe5\x2f\x0c\xe0\xbf\x4b\x51\xc8\xf9\x72\x43\x68\xf5\xe7\x57\xaf\x46\xec\xdf\xce\xde\xfd\x44\x69\x0e\x06\xb1\x7b\xb0\x67\xd7\x20\xfb\xd8\x0c\xd8\xff\xba\x7e\x7f\x15\x2f\x56\xfe\x57\x60\x57\x73\xbf\xbc\x11\xbb\x90\x0d\x68\x99\x1e\xd3\xd5\xf3\x5c\xee\xb8\x63\x23\xe0\x15\xe2\x80\xe6\x94\x54\xbe\x21\x9b\x0f\x5d\x6c\x2c\x47\x0d\x05\xc0\x00\x97\xab\x92\x1e\xb1\x15\x53\x81\x42\xe1\xf3\x19\xf7\x7d\x05\xe3\x1b\x4c\x65\xc0\x2a\x79\x2f\xd8\xc4\xfc\x80\xd8\x8e\x9e\x9d\x63\x9e\x8e\x87\x1d\xc0\xce\xc2\xd4\x21\xf1\xee\xe0\x12\x14\x05\x0e\x6c\xa6\x8e\x2a\x03\x47\xf0\xf4\x78\xf8\x64\x6d\xbc\x1c\xe3\xd0\xfd\xee\xb1\x00\x4f\xbd\xa7\x7f\x6b\xf5\xdd\xc2\x8a\x7d\x6e\x29\x7d\x4a\xf6\x54\x38\xfb\x8a\xfb\xe4\x7d\xc7\x9e\xe0\xf1\x8c\x20\x01\xbe\xbd\x47\x9c\x28\x35\x82\x2f\xa1\xf4\xc3\xf4\xa3\x12\x8d\x99\xc9\x9a\xcd\xb9\xe2\x53\x08\x7b\x86\xaa\x2c\x6f\x10\xc0\xad\x11\x50\xe9\xc0\x51\xe5\x76\x46\xe0\x9d\xc1\x9b\x0e\x19\x68\x11\xcb\x3d\xd7\xfe\xa4\x39\xc8\xbc\xee\x47\x2f\xe4\x23\x88\x30\xf6\xf7\xa9\xec\xb4\x1b\xed\xb0\xf9\xb6\x91\x9c\xee\x11\x3a\xb0\xda\x80\xe0\xe5\x10\xb3\xa2\x23\xff\xca\x5f\xa3\xbd\x91\xbe\x3c\xe2\xdc\xd6\x15\x10\x30\x5d\x66\xf2\x27\x70\x36\xc7\x8f\xda\xca\xca\xba\x8a\xab\x09\x1f\xc4\x5a\xa3\xc1\xc1\xc6\x93\x60\x15\x8e\xd0\x80\xaf\x81\x44\x6a\x2e\x1b\x76\x1c\xfa\x12\xca\x02\x57\x43\xd1\xb1\xe6\x4d\xb4\xbc\x15\x7a\x3e\xe7\xe6\xc4\xe3\xdf\x14\x6e\x3a\x48\x98\x85\xfb\x8a\x57\x11\x4a\xcf\xb1\xcb\x95\x68\x24\xfd\x20\xbd\x14\xdf\x0a\x68\x79\x03\x8d\x1c\x81\x7b\x5b\x20\xd6\x82\xe8\x9c\x2c\x31\xe6\xef\x79\x71\x2f\x54\xc9\x7e\x36\x7e\x31\xe5\x42\xf1\x39\x25\x04\x81\x0c\x48\xd1\x5f\x9d\x0b\x35\x88\x12\x86\x7b\xcb\xbc\x90\x58\xb5\x53\xa9\x76\x5f\x59\x6b\xc4\x36\x3f\xed\xcf\x06\xed\x6e\x9b\xee\x0f\xd5\x65\x6b\xe4\x43\x21\x7c\x49\x24\xe8\x7a\xe7\x09\x91\xb1\xbf\x8f\xe7\x20\x0b\x77\x02\xc6\x94\xd4\x89\x03\x11\x15\x2d\x81\xfe\x7d\xef\x1c\xc4\xdd\x02\x41\xc8\x0f\xeb\x58\x08\x37\x69\x79\x4d\x4f\x35\xaf\x7e\xf8\xfe\x62\x2c\x1a\x23\x8d\x15\xca\xee\xc3\xca\x3f\xf0\x52\x1b\xf6\x7d\xa5\x8b\x7b\x76\x21\xc0\x01\xda\x97\xab\x7f\xf8\xfe\x22\x70\xf4\x8d\xac\x1c\xf0\x0a\xf7\xe1\xe5\xfd\xbc\x7f\x1d\x27\x1e\x99\x4e\x3d\xd3\x74\xcb\x58\xe8\x96\x3d\x72\x44\x55\x85\xd5\x8d\xd8\x8d\xac\x5f\xb3\x37\xca\xb4\x4d\x92\x35\xdd\xf5\x07\x4a\xb3\x83\x4b\x10\x7c\xf1\xe6\xf5\xb2\x63\xd0\xfd\x87\xb2\xfb\xba\x08\x9f\x08\xb3\xf4\x55\x73\xb7\x47\xde\x0e\x24\x84\xf4\xc8\x7a\x6a\x80\x7a\xa0\x35\xa1\xf7\xaf\x98\x2d\x85\x29\x18\x1f\xd1\x42\x33\x3b\x6d\xee\xca\xd3\x0f\x6f\xce\x2e\xde\xbd\x19\xcd\xcb\xaf\x66\xfa\x71\x68\xf5\xb0\x35\x62\x28\xed\x1e\x59\x05\x62\x01\x7f\xdc\x12\x11\x89\xad\x42\x08\x80\x93\x84\xad\x06\x4c\x55\xf8\xdd\xbd\x08\x1f\xbe\xbf\x70\xec\x6d\x94\xca\x01\xa7\xc2\x16\xa7\x85\xa8\x67\xa7\x34\xce\xef\xb7\xd0\xb9\x56\xd2\xea\xad\x15\x07\xcf\x58\xa1\xab\x0a\x65\x4b\x77\x25\xce\x45\x3d\x63\xfe\xdb\x4f\x33\xfb\x35\x22\x71\xdf\x5a\x5a\x3d\x62\x5e\x6b\xbd\x35\xca\x23\x52\xa5\x6b\x4c\x44\x99\x9c\x64\x73\xb7\xfa\x4a\x7d\x96\xb3\x3b\x84\x50\xb8\xd5\x39\xbf\x42\xfa\xfb\xa4\x0b\xde\x0c\x17\x0b\x85\x43\x3f\x80\x52\xb4\x9f\x51\xf6\xda\xf7\x40\x0e\xc9\x8d\xb1\x77\xbe\x2d\xc8\xee\x09\xb8\x36\x6f\xed\x4c\x28\xeb\xa3\xf2\x70\x56\xf9\x6d\xbf\x9c\x44\x2b\x5b\x34\xc1\x85\xeb\x9e\x2a\x05\xb2\x3a\xd8\x8e\xee\x2b\x80\x45\x32\x77\x8d\x97\xc9\x9c\x97\x73\xa9\x3e\x33\xa1\xf7\x94\x86\x02\x03\x5b\x7a\x6f\x0e\x20\x0c\x3d\x8b\x40\xcf\x22\xd0\xb3\x08\xf4\x2c\x02\x3d\x8b\x40\xcf\x22\xd0\x1f\x46\x04\x5a\x59\x1f\xfd\x59\x0e\x7a\x96\x83\xd6\xc9\x41\xc2\xbd\xb0\x70\xc4\xb1\x48\xe3\x66\x69\x68\xb9\x7d\x37\x9c\x3a\x2b\x06\x8c\x22\x50\x13\xbf\x4b\xcb\xcf\x3e\xa7\xc1\x7e\xc9\x69\xb0\xcf\x79\xa3\x7f\x94\xbc\xd1\x9e\xa9\x78\x54\x0c\xfa\x27\x2c\x16\x0e\x17\x77\xf5\x85\xe7\x8d\x48\x2a\xdf\x2d\xe0\xdf\xe4\xf6\x0e\x22\xba\xf5\x45\x6d\xb8\x2f\xce\x5b\x1e\x9b\x93\xa8\x3e\xac\x66\x09\xa4\x09\x19\x80\x0b\xff\x03\xe6\x05\xae\xdc\xcf\x5e\x99\x82\x19\x5b\x33\xbb\xa4\x0e\xae\x61\xbe\xbf\x5f\x36\x61\xba\x99\xdd\xa4\xc0\x43\x6c\xe7\x0a\xa0\xdc\xd5\xf0\xd3\xa4\xd9\xe4\x80\xbf\xfa\x0e\xa0\xa2\xcb\x04\xc1\x7e\xd3\x2e\x42\xf0\x03\xe4\xe4\x12\xcc\x9a\x46\xa8\x70\x00\x67\xba\x5b\x20\xbe\xdf\x23\x54\xf8\x82\xae\xa4\x93\x3b\xc6\x29\x32\x75\x0a\x0d\xf8\xc1\xbb\x69\xbf\xe0\x64\xcf\xf0\xfb\xa7\x4a\xc3\x5e\x2d\x95\x64\x4d\x9f\x9a\x8c\xbd\x72\x88\x88\x89\xbf\xa3\x04\x14\x3e\xec\xa4\x6a\x27\x65\x0d\xd6\xb0\x3b\x0e\x09\x0a\xa2\x01\x98\x54\x78\xdc\x7a\x08\x45\x15\x37\xf6\xa6\xe1\xca\xc0\x98\x9f\x1b\x7e\x0c\xf0\xb9\xb9\xb1\x18\xf7\x68\x53\x08\x59\x66\xc3\xac\x7c\x12\xba\x56\xa1\x14\x04\x60\x54\x42\xfc\xce\x9a\x10\xf6\x4f\x85\x20\x0d\x41\xa1\x61\x66\xfb\xa5\xd2\x6d\x07\xa7\xbb\x89\xb0\xb9\x3e\x6a\x3a\x6c\xcc\x0b\x43\x5b\xf6\x94\x59\xac\xe6\x95\xab\x39\x5b\xc4\x7d\xc5\x09\x0c\x7c\xae\xc8\x0d\xc0\x9c\xbf\x75\x9a\xee\xc0\x03\x91\xee\x53\xa6\x6c\xbb\xa9\xf1\x86\xec\x8b\x6b\x28\x7f\x67\xfc\xee\x9e\xca\x52\xa7\xf4\xc4\x51\xce\xde\x0e\xab\x29\x6d\xc1\x03\x5a\xfb\x0d\x8a\xcc\xb9\xcd\x69\xf5\x36\x3d\x43\x05\x7d\xd9\x3a\xd2\x2e\x50\x41\xeb\x4e\x78\xff\x40\xdf\xa4\x97\xd3\xa4\xf7\x62\xcd\xa3\xf9\xd4\x48\xc4\xd5\xef\xf2\x53\x6c\x94\xcf\x2a\xe6\x1f\x45\xc5\x7c\x86\x26\xc2\xdf\x3f\xab\x4c\x7c\x78\x90\xa2\xf5\xfa\xe9\x8e\xcf\x1c\xa8\xac\x72\x8d\xb6\xfa\x04\x83\xe0\x5c\x2a\xa7\x23\xf5\x4c\x71\xf4\x69\x15\x6a\x29\x4f\xc3\x89\x68\x14\xf8\xc9\x94\x78\xac\x62\xa0\x5f\x02\xac\x74\xe7\xcb\xc3\x3c\x4a\x3b\x73\x92\x24\x57\x80\xdb\xec\xb8\x41\xcc\x90\x2c\x1a\x6e\x66\x80\x8f\xef\x3a\x95\x76\x39\x4d\x2e\xc0\x2f\xe7\xfe\x86\x97\xec\x38\xad\xbe\xb1\xea\x03\xc6\x0d\x54\xcb\x70\xff\x8b\x89\xca\x30\xa1\x93\x43\x87\xbc\xd3\x79\x6c\xdb\x4f\x3a\xea\xa0\x39\xc7\x7d\xf5\xc6\x07\xdf\x51\x92\xee\x83\x7a\x0d\xa5\x5f\x4b\xe3\x38\x76\x2b\xcd\x2c\xe4\x37\x88\x8f\x04\x4b\x00\x39\x47\x4e\x1e\xc8\x5c\xba\xdd\x1c\xc2\x4f\xf6\x58\x7e\xf5\x38\xe3\x76\x28\xcd\x90\x0f\x7b\x3c\xa6\x07\x48\x33\xa0\xd4\xfe\xee\x9e\xf3\x12\x05\x63\x5e\x8d\x57\x5f\x02\xb6\x8b\xa7\x70\xc9\xe1\x43\xc0\x07\x08\x4e\xc9\xef\x44\xc5\x7e\x6b\x45\xb3\xc0\x4a\x14\x11\x66\x94\xae\x40\xc4\x95\x0f\x67\x5f\x60\x50\xc0\xe5\x84\xa5\x9d\x91\x3d\x10\x89\x34\x33\x06\xa2\xf0\x07\x36\x45\x7a\x88\x7d\x41\x9c\x71\x06\x58\x0a\x76\x47\x76\x2f\x16\x98\x11\x4a\x99\x2a\x30\x99\x04\xe2\x5e\x2a\xa6\x9b\x12\xa9\xe9\x4e\x44\xe6\x11\xf3\x52\x56\xf3\x96\x01\x93\x13\x82\xce\xc8\x66\x47\x33\xd3\xaa\x33\x9b\x1d\xe9\xcc\xed\xde\x83\x14\x8f\x40\x70\x52\x4d\x87\x8e\x65\x0c\x09\x1e\xe3\x14\x07\x39\xfd\x0a\xfe\x77\xe8\x0f\x7e\xcd\xcb\x9d\x6a\x24\x5d\x9a\xf9\x7d\x80\x68\xe9\xb6\x93\x3c\x05\x27\x92\x1b\x3a\x42\xd9\x9d\x2e\x38\xad\x9c\x30\xa9\x4c\x3b\x99\xc8\x02\x64\x29\xcf\x1e\xc8\x64\x6c\x21\xa3\x88\x78\x85\xe5\xf7\x02\x48\xa4\x10\xa5\x50\x05\xe6\x37\x32\xce\xfc\x34\x3e\x88\xc9\x27\xbd\xfe\xb5\x2e\x87\x76\x09\x70\xf3\xc9\xd9\x33\x9b\x6c\x94\xbb\x3e\xaa\x4b\xb5\x37\x41\x4c\xf5\x35\x29\x93\x8a\x9b\xfb\x3b\xdc\xfc\xcb\xf3\xa1\xdf\x8b\x70\x93\xbd\x02\xf1\xdd\x0a\x07\x7d\x8c\x2f\x28\x54\x21\xf0\x55\x39\x3a\x8f\xb8\x47\x93\x5f\x7b\x77\x0f\x9e\xe1\xd5\xbb\xde\xe7\x87\x7c\xab\x49\x87\x8d\xcb\x44\x63\x31\x16\xa7\xde\xb4\xf3\x2f\x4c\x76\x4c\x87\x2e\x2d\xb8\xc5\x9c\xd9\x53\x45\xcb\xfe\xf4\x39\x4b\x7c\x42\x12\x39\xb0\x7f\x51\xee\x45\x77\xf1\xd9\x02\x5c\x3c\xe2\xe9\x19\xb4\x4e\x15\xbc\x5a\x81\x61\x79\xf6\xb6\xd9\xc2\x7f\x68\xda\xf3\xfe\x85\x1f\x84\xf2\xc5\xc7\xb7\xe4\xe7\x2f\x7d\xc0\x1a\x31\xa9\x00\x77\x09\x12\x85\xe2\xef\xb4\x92\x35\x0e\x8d\xdd\x17\xb8\x57\x06\x35\x5c\xf8\xbd\x8e\x11\x59\x45\x60\x1d\x9f\x9b\x2b\xec\x29\x04\x77\x77\x1b\x37\x3b\x5d\x95\x17\x89\xff\xc1\x65\xd7\x9e\x1a\x73\xd8\xc6\xa7\xdb\x5c\xd1\x9a\xf3\x56\x8a\xaa\xbc\x5e\x96\x96\x97\x0f\x66\x45\xfb\xf4\xb5\x8c\x3a\x5b\xac\x29\x78\x5c\xd4\xed\x80\xcd\xc5\x5c\x37\x8b\x13\x9f\x74\x2c\x1b\x5f\xf4\x97\xb6\x6a\xeb\xbb\x19\xba\xee\x51\x4e\x32\x54\xdd\x84\x28\xa4\xd7\x3e\x49\xbb\x4c\xd3\x0c\x07\x94\x30\xcd\x2b\xac\xce\xa4\x1e\xd8\x03\x5f\x27\x31\x6e\xb2\xf5\x94\xf2\x41\x9a\x65\x25\x63\x67\x53\xcf\x28\x60\x31\xfe\xad\xe5\xca\x4a\xbb\xe8\x03\x6e\x4b\xf2\x61\xb6\x99\x01\x7b\xf5\x63\xad\x0d\xb0\x25\x3a\x8b\x81\x97\xcc\x41\xd7\xbb\x3d\x7a\x75\x7b\xb4\xee\xa2\x9a\x6e\xdc\xf6\x6a\x7a\xc0\x7d\x7d\x9d\xd8\x05\x35\x41\xbf\x1d\x3a\x6f\x8f\x26\x74\x28\x92\xff\x5b\xab\x33\xf3\xdc\x3a\x52\x87\x76\xcc\x08\x6b\x18\x9f\x4e\x1b\x31\x75\xef\xd9\x6f\xf0\x63\x23\xdc\x6a\x30\x23\x9d\x09\x05\x41\x91\x25\x94\xd1\x05\xd8\xd8\x9a\xf7\x01\x4b\x78\xf6\x2d\x3c\xc7\x5f\x3d\x1b\xc7\xf7\xe3\x98\xcf\x50\xe8\xcb\x2c\x6d\xf7\x50\x27\x6f\x58\x04\xa6\xf6\xb9\xab\xda\x1c\x32\x52\x29\xdd\x85\xde\x11\x4a\xe9\x4e\xf0\xc2\xb6\xbc\x8a\xac\x1c\xd9\x3c\x14\xbc\xb7\x51\xbd\x6c\x0d\x9f\xfe\xf3\x55\xff\xc9\xdf\xcd\x03\xbb\x44\x92\xae\xb7\x7a\xfc\x3b\x6d\xf3\x1a\x40\xf9\xab\x0d\x4a\xff\xb3\x7f\xff\x8b\x7e\x83\xfb\xf8\xf7\x2f\x5d\x9b\x4d\x07\x4d\x56\xe0\x9d\xf5\xbf\x5a\x57\xb2\x58\x24\xb5\x35\x5d\x6f\xe6\xf4\xd0\xa6\xa3\xf4\xe6\xf4\xb4\x14\x3d\xcb\x2b\x7f\x68\x79\xe5\xd9\x99\x8f\xbf\x7f\x96\xd7\xea\x53\x38\xf1\xbb\x12\x57\xcf\x17\x6b\xad\xf0\x35\xc3\x73\x86\x9b\x63\xb5\x17\x41\xc0\x32\x01\x1f\xf6\x78\xc5\x5c\x17\xfb\x79\x3a\x0f\x61\xaa\x58\xcb\xd7\x3a\xdb\x01\x0b\xf5\x61\x0b\xc2\xa6\x9e\xed\x74\x0f\x42\xc1\x6c\xa7\x4a\x47\x0b\xc6\xa7\xe1\xf0\x7d\xfc\x82\xa6\xd0\xb5\x58\x61\x22\xeb\xb5\x81\x11\x41\x21\xeb\x65\xd3\x3e\x65\xe3\x25\xb8\xff\x79\x4c\xe3\x44\x56\xd6\x31\x68\x00\xf6\x83\x4f\x96\xfd\xb9\x58\x77\x9c\x3c\x8b\x0d\x2f\xee\xd1\x93\xcb\x49\xbc\xbd\x6b\x2d\x13\x1f\x6b\x28\x95\x5e\xb2\xd6\xb8\x17\x22\x9b\xe6\x7b\xc8\x2e\x0f\x65\xef\xef\x3c\x28\x2c\xa0\x62\xd5\xda\x18\x79\x57\x89\x20\x69\xbc\x05\x9c\xc5\xd4\x1c\x04\xb3\x18\x20\x98\x22\x4d\xf1\xec\xea\x82\xe5\x0b\x3c\x96\x93\xbc\xb8\x8f\xfb\xc7\xc9\x20\xa0\xa9\x62\x45\x84\x72\x4d\x5c\x33\x76\xbb\x63\x0e\xb2\xdf\xbb\xdd\xf6\x0b\xdc\xf2\x80\x98\x97\x57\x8b\xc7\xcd\x5c\x51\x19\xa2\x9f\x23\xea\xa9\x69\xc9\xdb\xf4\x83\xdd\x38\xda\x76\xdf\xe9\x52\xeb\x8c\xab\x05\x0d\x2a\xbd\xd2\x00\xaa\xef\x3d\x25\xad\xe9\x53\x72\xe6\x1f\x83\xa5\xfd\xb8\xcc\xd2\x56\x6e\xc0\x17\xc7\xd3\x5a\x23\xfe\x01\xb6\x17\x20\xf8\x64\xee\x89\x0f\x74\x64\xb5\xe5\x15\xaa\xe4\xd1\xcb\x48\xbc\x87\xa0\xfc\x82\x31\x76\x4d\x1c\xfc\xd2\x0e\x1d\xea\x2e\x91\x75\x7c\xee\x64\xe9\x1e\x97\x29\x6d\xde\x89\xfe\x28\xf4\xbc\x6e\x6d\xb2\xb4\x26\x69\xdb\x27\x9f\x05\x08\xf0\xcb\x3f\xea\x9f\xf0\xa2\xe4\x8b\x9f\xf3\x8f\x10\x62\xc8\x11\x09\x46\x4f\x96\xb6\x03\xf8\xad\x7e\xdc\x03\x9e\x24\xcb\xa4\x3e\xc5\xd4\xc8\x61\xe8\x76\x18\x7c\x4e\xfb\xdc\x2e\xaf\x00\x7d\xf9\xdb\xfe\xc1\xab\x6a\x9d\x8d\xa7\xd8\xce\x4d\x1b\xef\xb5\x00\x78\x16\x43\x3f\x4e\x9b\x9c\x4b\x6b\xc9\xe3\x96\x54\x88\x81\xf8\xb5\xd4\x09\x45\x47\x2e\x27\xf8\x0e\x4b\x13\xa2\x15\xab\x45\xfa\xc6\x6a\x0f\xd0\x8e\x59\x4e\x50\x6a\x09\xe8\x1f\x8e\x6e\x88\xaf\x0f\x19\x3c\x7e\x7f\x32\x78\x2a\x0b\x21\x7c\x22\x2c\x1c\xb0\x89\x79\xe4\x0d\x21\xe8\x2b\x89\xc5\xc0\x08\x3e\x5e\xd7\x95\x8c\x91\x82\x61\x35\x3d\xf8\x86\x53\x1a\xb7\x25\x5f\xb8\x36\xee\xdc\x3c\xa6\x12\x7c\x44\x81\x8f\x88\x45\x0d\xe3\x9b\xa5\xf1\xf7\xc9\x13\xd3\xd5\x56\x9f\xa4\xae\x08\x7a\x34\x80\x3c\xb9\x5f\x3e\xcd\x7c\xfa\x66\x69\x65\xf3\x01\x30\xa7\x4f\x33\x9f\xbe\x78\xb1\xd9\x7c\x00\xae\xe3\x80\xf3\x79\x32\xf1\x17\xbc\x12\x97\xef\x77\x06\x53\xdd\xf8\x5d\x8e\x89\x5c\x87\x36\x8c\xbe\xea\x96\xb1\x3b\x2c\x0a\x58\x44\xfa\xfa\x44\x15\x0f\x53\x54\xaf\x04\x73\x85\xfe\xba\x3b\x21\x4d\xb9\x15\x8f\x7c\x1b\x34\xd0\x8d\x9f\x25\x2f\x4b\xa7\x40\x7a\x11\xcc\xef\xe9\xd9\xf8\x92\xfd\x80\x3d\xed\x53\x0b\xb5\xd1\x16\xd5\xb5\x0b\x3d\xe7\xb2\x4f\x7a\x68\x0a\xb0\xe3\x27\x31\x0e\xdd\x30\xec\x27\xcd\x1e\x05\xb6\x0f\xa9\xe8\x80\x53\xf6\x4f\x54\x05\xf2\xf7\x82\x83\x4c\x40\xa0\x89\xc1\x24\xd0\x47\xfe\xcc\x80\x25\x81\xc2\x08\xd5\x08\x8c\x80\xa4\xde\x07\x7c\xd3\x9b\x39\xbc\xd3\xb1\x00\x8c\xc4\x2a\x3e\x1e\x2b\x69\xc0\x7e\xd2\x53\xa9\xfc\xd5\x01\x53\x85\xdb\x4e\x2e\xab\x75\xf6\x03\x53\xbd\x51\xfc\xae\x5a\x56\x87\xba\xf7\xba\xe2\x53\xb4\xcf\xb9\xd6\xa7\xa5\x34\x10\xa4\x7a\x7d\xfd\x13\x23\xbb\x6b\x91\x18\x47\x88\xf4\x43\xd4\x0d\x1e\xfc\x3e\x67\x85\xd4\xd9\xa3\xa2\xc6\x65\x28\x28\xe3\xab\xef\x61\x9a\x3c\x7c\x4f\xc2\x98\x2f\xe7\x11\x52\x70\x6e\x66\xb2\xb8\x1f\x27\x98\xe6\xba\x71\xbf\xa9\xe4\xa7\x8c\xab\x74\xff\xb6\x4f\xa6\x35\x4c\x68\xdc\x0f\x41\xcd\x53\xc5\x35\x2d\xc3\x7d\xb6\xb2\xa2\x64\xe4\x18\xac\x84\xab\xbe\xcf\xd4\x80\xcd\xee\xc8\x6b\xfc\x06\x13\x3f\x87\x1c\x8e\xc0\x5b\xa4\xf2\x2b\xd8\x63\x3a\x78\x58\x3d\x62\xde\xd2\x29\x85\x33\xee\x62\xac\x93\x4a\xec\x37\xd4\x3f\x3f\x24\x79\x2f\x6f\xa9\x34\x79\xf1\x97\x03\xa7\x92\xfb\x57\x66\x79\xfb\x57\x32\x2a\xfa\x6d\xef\xd8\x2f\x5a\xf6\x6e\xe2\xc4\xb3\x10\xe1\x8b\x2a\x3f\x4b\x11\xcf\x52\x44\x77\xde\xbf\x2b\xa2\xe2\xb3\x28\xf1\x2c\x4a\x3c\x8b\x12\xbd\xa7\xf3\x2c\x4a\x1c\x52\x94\x58\xed\x0e\x5e\x76\x3a\x82\x6f\x32\x96\x43\xef\xa4\x16\x9e\x5d\x5d\x84\x83\xf7\x49\xab\xb1\x4d\x02\x5f\xe6\x7a\x29\x83\x4d\x32\xed\x6f\x27\x4f\x00\x38\x28\xdf\xa0\xbb\xb7\x47\x76\xde\x59\x08\xb8\x5a\x5a\x46\xe2\xac\xb8\x5b\xd0\x9f\x3b\x1e\x98\x9e\xbe\xcf\xdd\xbc\xe7\xa5\xf7\x97\xf8\xdd\x4f\xfc\x26\x9f\xdf\x6f\xba\x7d\x4a\x5b\x69\x63\xcb\xa9\x52\x34\x57\x28\xa7\xef\x2e\x18\x99\xe4\x4c\x28\x45\xc8\xe9\x00\xdc\xad\xc5\x88\x40\xee\x1f\x2d\xff\x4d\x23\x20\x7e\x30\x52\x13\x5e\xf1\x98\x08\xde\x83\x7a\x7c\x8f\xfd\x73\x3a\x69\x62\x2f\x0c\x8e\xef\x4e\x76\x26\xa1\xde\x1b\xf7\xbe\x52\x1f\x39\xf0\x0b\xaf\x64\x19\x26\x8d\xb6\xec\x4b\x35\x60\x57\xda\xba\xff\x79\xf3\x51\x1a\x6b\x06\xec\x42\x0b\x73\xa5\x2d\xfc\x73\x1f\x9e\xec\xa6\xb3\x23\x0f\x8c\x5b\x16\xc0\x35\xc3\x79\x44\x63\xe9\x3e\x1c\x19\x96\xbe\xed\x0e\x2a\x06\x54\x0b\xb7\x30\x09\xea\xf3\x15\x70\x45\x3c\x68\x69\xd8\xa5\x72\x4f\x2e\xed\x59\xa8\x5a\x6b\xa8\x8b\xb4\x38\x2d\xa4\xea\xaf\xec\x03\xb7\xda\xf5\x93\x6e\xf6\x86\xee\xa8\x2b\x48\x32\xc7\xbf\x50\x4e\x21\x2f\x44\xc9\xca\x16\x8b\xc8\x31\x4a\x56\x95\x05\x83\x54\x55\x06\x29\xac\xbf\x53\x7c\xc4\xea\x57\x24\x52\xc7\x60\x05\xd5\x3f\xf9\xd1\x10\x45\xa1\xe7\xf5\xb8\xd1\x4e\x6d\xdb\xa4\x7a\x66\x0d\x43\x68\x05\x54\xba\x38\x0d\xf6\xf8\x17\xc6\xc9\xbb\xae\xa1\x93\x56\xa0\x25\x49\xf6\x66\xc4\x40\xd0\xd7\x4a\xc4\x3f\x21\x8b\x21\x0c\xcd\xac\xaa\xe7\x7a\xff\x8f\x93\xcd\x9d\x6a\xb6\x3c\xe5\x55\xd3\xee\x36\x4f\xca\x1b\xf3\x30\x0f\xef\xa9\x93\x8a\xd4\x57\x8f\x55\xa1\x74\x99\x4a\x92\x58\x97\xf9\x66\x16\x57\xe0\xa9\xad\x6e\x44\x22\x12\xa5\x5f\x5b\xcd\x1e\x75\x73\x9f\x2a\xc8\x6e\x8a\x42\x95\x8e\x00\x6b\x6e\x67\x03\xe2\x43\x0f\xc2\xab\x0c\xf7\xed\x9d\xa8\x84\x7d\x91\xc9\x59\xdd\x7d\x75\x2b\x43\x45\x01\x7a\x86\x32\x8f\xb8\x8b\xe0\xb9\x24\x17\xcf\xed\xd1\x4f\x7e\x07\xf6\x52\x97\x7b\x78\x93\x70\xa8\x44\x32\x97\xc5\x8c\xdd\x4b\xa7\xde\x4c\x96\x66\xed\xb1\x22\xc8\x01\x18\x59\x6c\x70\x16\xbe\xbe\x55\xb7\x2a\x4c\x9a\x0d\xf7\x3e\xa7\x0f\xad\xb2\x72\x2e\xbc\x64\x3f\xcc\x3d\x47\xac\xc1\x3f\x07\xed\x25\x10\x65\xa7\x9b\x9f\x15\x1c\x82\x1b\x77\xc8\x94\x5e\xd1\xce\xaf\xe5\x13\x60\x1a\x6e\xbb\xde\xab\xa3\x56\x5b\x45\x72\xd4\x9a\x48\xd5\x52\xba\x03\x84\x2a\xdb\xf0\x70\xae\xc8\xeb\x87\x32\xdd\x66\x68\xf5\x30\x69\x2c\xbe\xef\x1a\x03\x56\x5f\xc8\x48\x73\xfe\xb7\x94\x39\x2e\xed\xc4\xd6\xd8\x56\x54\xaf\x37\x33\x27\xa7\x63\xcf\x74\x55\x1a\xaf\x70\x03\x3c\x2f\x68\x0b\x1e\x6a\xd5\xad\x12\xaf\x2f\x86\xe8\xdc\x2d\x1c\xbd\xfa\x6a\x38\xf8\x88\x90\x0a\x71\xe1\x3e\xc6\x52\xe5\xfe\x8a\x57\x50\xbf\x72\xc6\x15\x7b\xc7\x3f\xe2\x80\xd7\xf2\xbf\x04\xf6\xf2\x9c\xd1\xf1\x45\x67\x74\xac\x0a\x95\xef\x17\xf3\x12\xb3\xe6\xdd\x39\x67\x23\xef\x8f\xc7\x04\xd4\x15\x04\xe6\xc4\x48\x84\xc1\xf4\x6f\xb8\x63\xa0\x82\x64\x19\x40\x08\x43\x85\x07\x2a\xe8\xab\x76\x2e\x1a\x59\xb0\x62\xc6\x1b\x5e\x58\xd1\x98\x01\x7b\x31\x7c\x31\x60\x2f\xfe\xfe\xc2\xc9\x47\x2f\x46\x2f\x90\xc8\x8d\x68\x24\xaf\xe0\x84\xdc\x2a\xa2\x4e\x17\xaf\x07\xc8\xf1\x77\xdc\x88\xef\xbe\x65\x42\x15\xba\x04\x83\x61\x03\xb8\x66\x4b\xf9\x19\xbc\xb9\x93\xb6\xe1\xcd\x82\x1d\x53\x88\xed\x02\x84\x36\xfc\xe0\x04\x7b\xc4\xdc\x8e\x99\x68\x00\xf6\x0c\x43\x77\x80\x61\x7b\x8a\xb0\x5a\x57\x66\x24\x85\x9d\x8c\x74\x33\x3d\x9d\xd9\x79\x75\xda\x4c\x8a\x6f\xbf\xfb\xf6\x7f\x7c\x65\xd0\xba\x31\x5c\x03\x40\xb1\x29\xb2\x49\xce\xe7\xad\xe5\x77\x5b\xe5\x81\x4b\xdf\x0e\xa0\xa1\xdc\x63\xe9\xe8\x1e\xf0\x71\x05\xd4\xba\xa2\xe0\x5b\x58\x8c\xb1\xba\x49\xcc\x0a\xb8\x71\x45\x37\x6f\x84\x1d\xc3\xdb\x4b\xe1\xb9\x3e\x27\xc2\xd7\x2e\x9f\xeb\x12\xc2\x85\x4e\x62\x94\x6e\x3a\x28\x16\xd5\x72\x7c\xa6\xd3\x1e\x50\xa2\xd5\x82\xb0\xc3\x2f\x52\xf4\x2a\x25\xab\x7d\xec\xa2\xcf\xa9\x3a\x7f\x94\x54\x9d\x7f\xf8\xd4\x62\xd8\xae\x8b\xbd\x99\xf2\x9e\x6c\x37\x0e\x8b\xc1\x99\xbe\xb4\xf8\xc2\x91\xb5\xe3\x64\x77\x52\x71\xa8\x3c\x9e\x70\x48\xe5\xaf\x82\xe3\xa1\x23\x76\x09\xc6\x8f\x50\x02\x09\x2a\x92\x83\xa7\x03\xeb\xac\x4b\x05\x90\x17\x70\xa1\x27\xba\xc1\xf7\x56\x49\xa1\x0a\x31\x62\x67\xd5\x32\xd2\x1d\x6f\x04\x6a\x9e\x8e\xcd\xd0\x13\x5c\x46\xe1\x43\x2b\xec\x7d\x00\xb8\x68\xee\x3f\x41\x6d\x55\x0b\x26\x3e\x22\xaa\x62\x78\x7d\x81\xe5\xc7\x15\xe2\xf7\xd2\x30\x25\x1e\x44\x40\x36\x79\x9c\x09\x04\x51\x87\x15\xf9\x8b\x78\x36\xbe\xec\x1b\x88\xbc\x9b\x6a\x00\x71\xd2\xe0\x17\x2a\x64\x25\x01\x18\xbf\x6e\xf4\xb4\xe1\xf3\x39\xb7\xb2\x60\x33\xae\xca\xca\x4d\x05\x35\x85\xf0\x04\x1e\x28\xaa\x6b\xb5\x74\x7c\xc0\x9c\x2e\x12\x4c\xb3\xbf\x3d\x35\x91\x0b\xfb\x7c\xa3\x1e\xb6\x7b\x83\xf3\x96\x64\x00\x82\x30\x3a\xdc\x4b\xab\x59\x4d\x45\x27\x88\xe1\x3e\xc8\x46\x2b\x30\xe1\x3d\xf0\x46\xba\x77\xd0\x80\x31\x7c\xe4\x94\xae\x1b\xd2\x8f\xc0\x4a\x46\xd2\x82\xe5\xcd\x54\x58\xea\xf0\x85\x49\x05\x63\x50\xe5\x02\xbf\x47\xc5\x55\x2c\x86\xf8\x64\xd4\x5c\x36\x50\x5a\x7f\xe5\x98\x3d\xc4\x65\xb5\xdd\x1e\x76\x95\xd8\xc2\xc8\xef\x66\x0f\x8c\xe1\x08\x81\xfa\xa7\x5f\xc1\xff\xec\xce\xfa\x3d\x9a\xcf\x36\xf8\x7e\xe4\x42\x99\x4f\x8b\x4e\xd0\x2b\x1f\xa4\xf9\xf6\x7d\xf5\x9f\x6c\x42\x86\xd1\xff\x2a\x16\x3d\xdc\x09\x4b\x6d\x13\x3a\x74\x42\x2c\xa8\x60\xd8\xa8\xc7\xb1\x23\xd0\xdc\x36\x2b\x28\xf5\x9b\x88\xb3\x01\xe3\x07\xb8\xda\x88\x25\xe6\x96\x07\xb0\x30\x50\xbb\x7b\xb1\x8f\xc3\xfe\x99\x18\xdd\xde\x01\xd0\xb1\x89\x9a\xc9\x01\xe8\x72\xb5\xe9\xc3\x11\xc1\x01\x0c\x9b\x8d\xb0\x5b\xa0\x1b\x62\xa3\x3c\x95\xbf\x37\xb9\x3e\x2b\xf5\xff\x70\x30\x0d\xc4\x08\xf6\xc5\x67\xc8\xf3\x32\xcc\x0a\x01\xe0\xc9\x2e\x45\xec\x73\xad\x54\xfb\x8c\xca\xf0\x4f\xa4\xea\x3d\xa3\x32\xe0\xef\x9f\x56\x82\x3f\x3c\x1c\x03\xf6\x3b\x6e\xf4\x7f\xa2\x4d\x6b\x93\xcf\xbd\xe4\x35\xba\xa5\x91\x33\x81\x1e\x08\x4e\x8f\xff\x04\xa4\x6c\x8a\x51\xd9\x5b\x44\x47\xf7\x14\xc5\x6e\x80\xeb\xa4\xdb\xb5\x93\xd3\x21\x6a\x93\x72\xed\x49\x94\x5f\x65\x0d\xa7\xc2\x8e\xe0\x01\x01\x41\x64\xc4\xae\xb4\x0d\x5e\x68\x0c\x57\x93\x25\x56\x11\xae\xbc\x53\x1d\xd6\x95\x85\xda\x84\xea\x0a\x88\x38\x81\x2e\x98\xb9\x2e\xfb\xa4\x60\xf7\x62\xfc\x59\x8d\xf8\x01\x26\x39\xe7\xea\xc9\x8a\xd5\xe5\xf2\x5b\x21\x4a\x2f\xfa\xc4\x8d\xf4\x3b\x17\xb4\xf5\xb8\x85\xe4\x93\x7a\x9c\x69\x43\x8e\x7a\x4a\x11\x76\x12\x93\x7b\x6b\xe9\xe4\xfc\xcf\x94\x18\x78\x39\xe9\x26\xee\xbb\x6b\x2c\x4a\x3c\x82\x0d\x23\x47\x70\x82\x9a\xdb\x99\x19\x50\x19\x85\xa5\xaf\x89\xa1\x12\x11\xc0\x80\x28\x9a\x4b\x93\xf4\x81\x7e\xbb\x10\x6c\x88\x4a\x5d\x66\xfa\x1c\xa4\xeb\x35\xc2\xb6\x35\xf6\x2f\x9a\x46\x37\x6e\x60\x61\x7c\xc1\x8a\x39\x6f\xee\x45\x19\xe0\x4c\x47\x6c\xec\x66\x18\xc4\xc6\xe0\xf0\xf4\x12\x88\x1b\x93\x0c\xe2\x30\xc8\x8b\xd1\xe8\x05\x16\x9f\x77\xfa\x84\xe5\x8d\xc5\x98\x2d\xf7\xfb\x81\x23\x78\xfe\x2a\x16\x37\xda\x4d\xef\x49\x2f\xee\xb3\x86\xf0\x89\x34\x84\xbd\xc4\xfe\x18\xb5\xbb\x4d\xf6\x0f\x2d\xf3\x38\x7a\x5a\x4f\xf8\x2b\x18\xfe\x66\x60\xce\xd0\xed\x74\x96\x06\xea\x3a\x1e\xd7\x08\xdb\x48\xf1\x20\x22\x0b\x07\x1b\xdd\x0e\x98\xab\x7d\xe9\x47\x1a\xd6\x2a\xf9\x5b\x8b\x0c\x14\xb8\x79\x18\x05\x67\xe2\xd7\x13\xf8\x6e\x48\xc2\xde\x4f\xef\xc5\x05\x6c\x9f\x1a\x4e\x21\x2f\x58\xcb\x8b\x30\x4f\x64\x2f\x89\xc6\x0e\x0c\xd2\x53\x09\xae\xe9\xb3\x65\x73\xc2\x0c\x7a\xe6\x5c\x84\xe7\xf9\x3a\x7b\x9e\x0f\xfe\x28\x1f\xe2\x29\xbe\x4e\x5f\x5a\xe3\x33\x2f\x98\x7e\x54\xa2\x81\x20\x37\xcc\x23\x07\x63\x9c\x63\xbd\x21\x1d\x59\x40\xae\xad\x54\xd3\x1e\xcf\x2f\xbd\xd6\x3d\xc2\xb5\xdf\x13\x43\x79\x0d\x2f\x3b\xbb\x73\xbc\xa1\x25\x93\xb0\x11\x96\xd5\xa2\x99\x4b\x0c\xfa\x64\x5a\x85\x30\x5e\x5c\xff\x5d\xa8\xd9\x92\xc4\xce\x28\xa6\x0b\xeb\x15\xd8\x50\x4c\xe8\xe5\xcb\x97\x2f\x61\x3d\x2f\xff\xf2\x97\xbf\x30\x88\x02\x2f\x45\x21\xe7\xcb\x0d\xa1\xd5\x9f\x5f\xbd\x1a\xb1\x7f\x3b\x7b\xf7\x13\xe3\x05\x70\x55\x04\x02\xc2\x9e\x5d\x83\xec\x63\x33\x60\xff\xeb\xfa\xfd\x95\x8f\x7f\x34\x9d\xbf\x82\x99\x3f\x2c\xaf\x53\xeb\xe9\xbb\x6f\xbf\x1d\xb1\x0b\xd9\x80\x5d\x4c\x92\xad\x95\x4e\x12\x5e\x37\xde\x08\x78\xfb\xf8\x64\x82\x8f\xbb\xaf\x67\x43\x51\x53\x14\xc0\x36\x97\xd3\x19\x6c\x00\xe0\x1d\xa9\x49\x25\x0b\x7a\x10\x31\x83\xc0\x87\xcf\x60\xae\x34\xf4\x15\x69\xc3\x4d\x6e\x80\x70\x4c\x13\xf3\x83\x13\x87\x07\x1e\xf2\xdc\xf1\x06\x27\x78\x91\xef\x11\x3b\x8b\x67\x95\x45\x64\x31\x76\x10\xbc\xfd\x67\xe1\xed\x59\x78\x63\x1b\xa9\xe1\xf3\x0b\x6f\x87\x14\x7c\xcc\xbe\x92\xcf\x52\x4e\x40\x8f\x88\xe0\x54\xa4\x8c\xa2\x87\xc5\x5a\x27\x2f\x4c\x2e\x1a\xb4\x6b\xcc\x27\x9b\xc4\x4d\xca\xfc\x38\xa5\x17\xe5\xab\x55\xf6\xae\x4f\xf9\x4c\xb7\x8d\xb4\x8b\x73\x77\xf3\x3e\x6e\xb1\xe3\xa6\x2d\x63\x20\x18\xfc\xca\x32\x9b\x5d\x5e\xb3\x2a\x01\x22\x49\x20\x61\x46\xec\x5a\xcf\x29\x30\x03\x7d\xb4\xc9\x9d\x82\xc7\xa2\x3b\xa2\xbb\x0b\x63\x5d\x76\x7e\x1e\x31\xf6\xeb\x4c\xd0\x27\xae\x1b\x23\xf2\x98\x65\xa9\x96\x7a\xb2\xfc\x5e\x24\x05\xb1\xfa\x18\xa1\xab\x4a\x3f\x8e\x1b\xf9\x20\x2b\x31\x15\x6f\x4c\xc1\xab\x3e\x25\x66\xce\xd6\x7c\xe6\xab\xad\xc4\x24\x2b\xb0\x18\x14\x8e\x41\xb8\x87\x62\xea\xee\xf9\x5c\xc3\xa6\xd0\xc7\x14\x18\xe7\xae\x40\xcd\x01\x0d\x8b\x3e\xa0\xf7\xcb\x51\x3b\x2b\xe1\x1d\xac\x16\xb1\x7f\x39\xa1\xe8\xcd\xbf\x2b\xf1\xf8\x77\xd7\x9b\x61\x93\x8a\x4f\xc3\xe9\x40\x38\xbe\xea\x04\x6e\x86\xae\xd7\x2e\xc0\xb1\xe8\xa6\x15\x8c\x57\x8f\x7c\x61\xd0\xe9\x9d\xf7\x21\xcd\x6b\xf6\xea\x84\x35\x2d\x14\x59\x0c\x7d\x94\xec\xeb\x13\x10\xf3\xcf\xcf\xc6\x7f\xbf\xfe\xb7\xeb\xbf\x9f\x5d\xbc\xbb\xbc\xda\xe3\x06\x17\xbc\xe6\x77\xb2\x92\x2b\xe2\x17\xfa\x33\xb7\xf3\xb4\x93\x4d\xf6\x3f\x10\x40\x93\xc6\x40\xcd\x65\x79\x5a\x36\xba\x26\x97\x7f\xab\x94\x13\x27\x23\x6c\x50\x2e\xa9\xa4\x56\x18\xca\x81\xc8\x3a\x9c\x36\x3c\x4d\xfd\x59\x8a\xa2\x5d\x93\x79\x18\x08\x64\x9b\x35\xfa\x43\xab\xd2\xd3\x51\x91\xb4\x4a\xb4\x0a\xb1\x31\x9e\x3a\xde\x99\xe4\xaf\x71\x45\x70\xc1\x5c\x13\x65\x25\xaf\xaa\x05\x73\x02\xdb\x03\xaf\xc0\x39\xad\x59\xa3\x75\x20\xa6\x99\x36\x36\xdf\x00\xc8\x5d\xdc\x27\xaa\xca\x51\x23\xe4\xaa\x6e\x59\x61\x68\xc7\x4a\xa1\xb4\xcf\x7a\xb1\x54\x2f\xdd\xfd\x15\x33\xa9\x89\x53\xa7\xa9\xbc\xe1\xc4\x6e\x92\x53\x92\xc6\xcf\x7f\x1c\x7a\x46\x29\xa0\x35\x01\xa2\x6d\x4d\xac\x33\x0a\xad\x8d\xe0\x25\x04\xad\x80\x00\x42\xaf\xb9\xb9\xf7\x12\x09\x5d\xdd\x20\xf6\xba\x1e\xc3\x50\x80\x20\x34\x11\xdc\xb6\x8d\xc0\x2b\x8b\xb8\x4e\x98\x39\xba\x4f\xce\xa4\xcf\x36\xfe\xa0\xb5\x8d\x59\xe6\x5b\x36\xf5\xd7\xf0\x12\xcb\xb4\xd0\xcf\x0c\xe4\x39\xd7\x23\x46\xe5\xc0\xd1\xc7\xb4\xf4\x2c\xdb\x73\xef\x83\x6f\x5a\x75\x86\xe2\x74\x0f\x87\xf5\x0f\x97\x17\x40\x83\xad\x22\x77\x88\x6d\x16\xe8\x10\x89\x45\xfb\xbb\xec\xed\x67\x77\x8e\xdd\x28\x75\x09\xa2\xb1\x70\x3a\x11\x5f\x20\x00\xab\x0f\xfa\x57\xab\x1f\xa0\xcb\x89\xff\xf3\x0e\x0f\x57\xf2\x48\xe5\x18\xa8\xab\x5e\x2b\xb3\xf2\xb9\x62\x4b\xfa\xc2\x7e\x85\xc5\xdc\x36\x5f\x69\xe5\xe8\xa2\x77\x76\x70\xc8\x89\x8a\xdb\x0a\x52\x19\xf1\x7b\x0e\xd1\x5e\x40\x15\xad\x71\xaf\xfd\xe5\x24\x09\xc7\xfc\x2b\x66\x5f\xe0\x23\x04\xc1\x03\x3e\x7e\x46\xce\xf9\x54\x30\x6e\xc3\xa9\x40\xae\xb4\x69\x1b\xb2\x7f\x4b\xcb\x4a\x2d\x50\x08\xa7\xa1\x7e\xbe\xbc\x60\x2f\xd9\xb1\x1b\x0b\x0b\x4d\x4d\xb8\x04\xb3\x38\xca\xc5\x9d\x57\x69\xe2\xbb\x80\x29\xc1\x41\x3b\xd1\x12\x68\x74\xc0\x94\x66\xa6\x2d\x66\x7e\x4e\x21\xf5\xdb\xa9\x07\xa2\x71\x5b\x0d\x70\x83\xff\x08\x74\xd1\xff\x86\xfd\xbc\x1d\x3e\xcc\x5d\xb0\x9f\xf7\xb8\x60\x29\xff\x87\x94\xfc\x6c\x45\x78\xd8\x21\x9c\x57\x4e\xf2\x0a\xc5\xff\x10\xdb\xfc\xf4\xeb\x67\xc4\x1a\xd4\x3f\xb6\x9b\x4f\x3b\x07\x0f\xdc\x26\xcc\x78\xbb\x54\xe1\x97\xb9\x11\x34\xd0\x5f\x96\x5c\x0f\x5f\x7e\xfd\xe0\xb2\x38\x61\xd9\x31\x09\xf7\x40\x70\x55\xea\xf9\xd2\x60\x01\x13\x37\x19\xe0\x8b\x3d\xee\x75\xfa\xe3\xea\xa4\xbe\x1d\x0f\x2d\xef\x66\xdb\xa1\xf9\x54\xaf\x60\x8c\x42\x41\xc6\x5b\xb4\xf2\xe3\xea\x36\x46\x1d\xcb\x47\xd5\x5a\xdc\x3d\x52\x64\xd9\x6d\xfb\xf2\xe5\xd7\xdf\x25\x27\x0a\x78\x8e\xdd\x63\xf6\x5d\xe9\x07\xd1\x34\xb2\x14\xe1\x73\xfa\xc3\x9a\xcd\x7a\x94\xaa\xd4\x8f\xe6\xa9\x14\xfe\x2b\x76\xd3\x39\xb1\xbe\x04\x4f\x5f\x87\xaa\xf9\x21\x6b\x32\x53\x50\xab\x2a\x13\x07\x57\x51\xbd\xdf\x84\x10\x79\xb1\x4c\x6d\xe1\xd1\xc0\xfc\xb6\xdf\x8f\x62\x9f\x6e\x1f\x68\x1e\xe4\x16\x1f\x0f\xb4\xc0\x38\x17\x84\xb8\xe6\x77\xc6\x36\x3c\x20\xae\x1b\x3d\xb1\x8f\xa8\x99\x63\xd3\x63\xb8\xfe\x1f\xf9\xbc\xae\xc4\x80\xcd\x17\xe6\xb7\xea\xc4\xe7\xe0\x50\xa4\x32\x64\xbc\x31\xb0\xac\xa7\xad\xd9\x37\xdf\xbc\xfc\xee\x24\xca\x1e\x75\xa3\x3f\x2e\xd0\x1c\x08\xf6\xed\x68\x75\xcd\x33\xe7\x4b\x61\x45\x33\x07\xaf\x09\x0a\xf0\x50\xd8\x16\x99\x95\x32\x8f\xa2\x89\x11\x32\x14\x68\xdb\x80\x0f\x2a\x8c\xf1\x1c\xa7\xf6\x45\xc7\xa9\x3d\x07\x63\xfd\x51\x82\xb1\xfe\xe1\xf3\x6e\x9e\x52\xd2\x8f\x78\xe9\xee\xc5\xfc\xee\xc4\x8c\x3f\x48\x8d\xb5\xe2\x3d\x9f\xfd\xc7\x2d\xea\xe7\xf7\x61\x7b\x39\xbf\x77\xab\x2b\x72\xc7\x92\xfd\xf8\x16\xd0\x7e\x8c\x29\x53\x23\xe2\xeb\x90\xb1\xe2\x83\xb7\x63\x7c\x72\xea\xf9\x82\x6b\xfd\xf9\xb7\xfe\xc0\x41\x7a\xd0\xe9\x59\x51\x74\x0c\x78\x6b\xe4\x08\x6a\xc8\xee\x1c\x47\x62\x56\x4f\xc1\xfa\xf4\x9a\xfd\x89\xa4\x8b\x01\x6b\x55\x29\x1a\x63\xb5\x86\x53\x74\x4a\x25\x79\xf6\x6a\xd1\xcc\x78\x0d\x5e\xed\x5a\x34\xb2\x9e\x89\x86\x57\x74\xc4\x66\x80\xd0\x65\x8a\x02\xe7\xec\x02\x7a\xac\x1b\xa9\x0a\x59\x73\x82\xc0\x26\x1f\x2d\x6f\xed\x0c\xa3\xeb\x1c\xa9\x00\xac\x4e\x6b\x67\xba\x81\xc7\xf0\x4f\x11\xc2\x06\x3d\x35\xe6\x59\x34\xf8\x92\x45\x03\xde\x5a\x0d\x56\xdf\x9c\xc0\x6e\xf4\xbd\xd8\x7a\x1a\x1b\x3e\xcd\xd0\x38\xd0\x42\x0a\x32\xa5\xf7\x02\x40\xe4\x08\x04\x19\xa0\xcc\xcb\x89\xae\xe9\x30\x66\x1c\x9c\xbb\x00\x72\x69\xa1\x3f\x98\x27\x87\x90\xce\x6a\x81\x76\x6a\x27\x0c\x9c\x53\xd8\x00\x2a\x5c\xa5\x6b\x68\x83\xd6\x05\x3a\xda\x3e\x66\x1f\x30\xbc\x8c\xdb\xaa\xba\x26\x12\xde\x96\xd1\x9d\x37\xcf\xa3\xfd\x73\x3c\x46\xe3\x9b\xa0\x95\xc8\xf0\xb9\x58\xf2\x91\xc2\x5d\xac\xdb\xaa\xf2\x99\x96\x30\x1f\x74\x3b\xb8\x4d\x24\xe4\x2a\x1f\x66\x05\x1b\x99\x9f\xc1\x88\x2d\xcd\xc9\x69\x18\x25\x68\x10\x94\xa1\xc4\xfc\x5f\xee\x44\xc1\xdd\xa8\xfe\xdf\x21\x0d\xbc\x55\x09\xa4\x5d\xad\xcb\x01\x94\xc5\x5a\xd9\x33\x18\xb9\x79\x51\x60\xbd\x2c\x7a\x3e\x08\x44\x66\x9f\x04\x07\x5f\x59\x02\x57\x7e\xfa\x55\x4c\x93\x1d\xc2\x4f\x6e\x77\x68\x2b\x87\x5a\x0d\xf9\xb0\xd6\xe5\x61\xfd\xfa\x2b\x11\x38\x9f\xe2\xe2\x7f\x16\xc2\x9f\x85\xf0\x2f\x44\x08\xef\xc5\xd5\x12\x66\xe6\x83\x8a\x92\x57\xdd\x17\x17\x22\xc3\x68\x4b\xd7\x3e\x63\xf2\x3e\x7e\x70\x05\x7b\xfa\xe2\x52\x9e\xf6\xbc\xe9\xd9\x9f\x32\xc9\x13\x60\xdc\x86\x90\x58\x3f\xc4\x94\x52\x8c\xb0\xdd\xf6\x05\xc1\xc1\xc1\x07\xf0\xf5\x17\x28\x03\x7b\x71\xf5\x13\x8a\xc2\x5b\xd3\x26\xbb\x8d\xbb\xe9\x93\x99\xb8\x4c\xd1\xe9\xcf\xa2\xe8\x97\x2c\x8a\xf6\x89\xcb\xfc\x69\xe5\xf9\xf6\xce\xa1\xb4\xdc\xdc\x47\x6e\x22\x9c\xd4\x10\xeb\x58\x25\xbf\x93\x58\x3a\x24\xb1\xf4\xc0\xb5\xaf\x3b\xb7\xe8\x59\xa8\x78\x16\x2a\x9e\xd3\x2c\x3f\xef\xd3\xf5\x29\xd2\x2d\x97\x94\xe0\x5e\xb9\x97\x1b\xbf\xeb\x94\xd6\x08\x31\xdc\x5d\xb5\x19\x75\x64\x4a\x08\xc1\xa8\xa9\x3a\x76\x42\x0a\x9d\xcf\x7b\x90\xca\xb8\xd7\x85\xaf\xe9\x25\xc4\x87\x7b\x59\x0e\x3c\xd7\x49\x49\x0d\xa7\x9d\x3a\x7d\x91\x4f\xb9\x54\xc6\x3a\x25\xdd\xb0\xe3\xbf\x86\x53\x03\xad\x1d\xf9\x04\xd3\x4d\xac\x51\x78\xd2\xc7\x4b\xd4\x96\xb2\x93\x35\xb5\x6a\xd3\xce\xa8\x99\x17\x4e\xdd\x43\xa8\xc0\x6f\xeb\xff\xe0\x93\x60\xdc\x92\x46\xec\xcc\xbd\xa5\xb2\x06\x6e\x04\x36\x60\x5c\x2a\x44\xe4\xa0\xc5\x6b\xb2\x60\xd2\x1a\x51\x4d\x30\x50\x3c\x58\xc2\x26\xb2\x1b\x95\x01\x40\x74\xab\x86\x19\xc4\x82\x0a\x50\x92\x91\x5e\x73\x7a\x8c\x93\xd9\xdc\xa4\x3d\x94\x9d\x18\xc8\x64\x58\xea\xdc\xb1\x09\xd8\xcd\x3d\x62\xda\xc4\xc7\x5a\xa2\xd4\x7c\x2d\x0a\xed\xee\xef\xe6\x8d\x7d\xd3\x6d\xef\x77\x98\x78\x37\x02\x17\x07\x19\x06\xe2\x80\xa4\x5d\x74\x4c\xc9\x39\x45\x8d\xd8\x99\x89\xcb\x67\xbc\xae\x1b\xcd\xa1\x20\x74\x9c\xdd\x20\x35\x18\xf8\x1c\x81\xba\x6a\xa7\x92\x22\x8c\xe0\x1b\x2b\x1f\x04\x04\xd3\x59\x1f\x0f\xb5\x66\xc0\x9b\xa4\x33\xf8\x9c\x62\x9d\x1a\x00\xda\x82\x50\xcc\xd0\x05\x51\xfd\x24\xfd\x87\x61\xba\x2a\xe1\x6d\xe3\x8a\xfd\x8f\x97\xac\x16\x4d\x41\xb4\x03\xb5\xe8\x29\xf2\xaa\x92\x0f\x02\x02\xef\xd7\x7f\xfc\xf5\xb7\x6c\xa6\xdb\xc6\x8c\xd2\x50\x9f\x57\xf0\x1b\x8a\x6b\x3e\xaf\xc8\xb2\x4a\x70\x63\xd9\xab\x97\x6c\x2e\x55\x6b\x97\x70\xe2\x9f\x1e\x49\x53\x73\x3b\xdb\x72\xfe\x63\x6e\x67\xfe\xc8\x21\x7f\xa2\x0b\x0c\x8c\x11\xa2\x59\x5c\x13\x64\xad\x58\xed\x39\x4e\xba\x15\xaa\x3f\x00\x78\xcf\xd7\xa4\x4e\x32\x2d\x9e\x80\xcc\x02\x54\xd3\x4f\xc7\x00\x91\x13\xc3\xf9\x53\x08\x0f\xf8\xdb\x33\xea\xea\x1f\x47\xa5\xf0\x47\xfa\x49\x64\xfd\x67\x21\xff\x59\xc8\x7f\x16\xf2\x3f\x97\x90\xff\xc9\xa4\xfb\xb1\x6e\x7a\xbc\x18\xae\x55\x04\x57\x4e\x13\xf5\xb5\xf2\x6c\xe6\x85\x81\xf0\xad\x5e\xef\x47\x3d\x6e\xb4\xd5\x45\xaf\x52\x4e\x10\xac\x47\x35\xb2\x6a\xfa\x8c\x32\x39\x24\x0d\x89\xfa\x81\x47\x08\x25\x18\x52\x4f\x73\x89\x18\x8f\xc5\x8f\xcd\x42\x59\xfe\x71\xc4\x7e\x56\xc3\xba\x11\x13\xf9\x51\x94\xe8\xb0\x02\xbf\x8f\x63\x19\x10\x52\xe0\x86\xb8\x3c\xbb\x3a\x8b\x3d\x79\xd1\x0c\x1b\x1f\x73\xe3\xa4\x28\xf6\xe1\xed\xf9\xf0\xbb\x6f\xbe\xf9\x33\x3c\x2c\x8e\x8c\x5f\x9f\x9e\x3e\x3e\x3e\x8e\x24\x57\x1c\xe0\x98\xb9\x31\x72\x0a\x60\x8d\xe6\xd4\x9b\x61\xa0\x8b\x93\x11\xbb\x02\xac\x67\xea\xdf\xaf\x2e\xbc\x71\x4e\x27\xe9\x4c\x11\x82\xd5\xb9\x61\xf3\x45\xa1\xe7\x35\x57\x8b\x51\xa1\xe7\xa7\xf3\xc5\xb0\x68\x8d\xd5\xf3\xa1\xef\x83\xf6\x04\xc1\xa8\x45\xc8\xe7\xf5\x75\x9b\xa6\x2d\x6f\xca\xe8\xd7\xf2\x2a\x5b\x3c\x98\x90\x88\x32\x85\xb8\x5e\x55\xfa\x34\x94\x34\x87\xfc\x93\x80\xfe\xe5\x15\x59\xe8\x88\xd3\x24\xef\x10\xdd\x81\x69\xdc\x01\x93\xf0\xe2\xea\xfa\xef\x3f\x9d\x7d\xff\xe6\x27\x44\x85\x75\x9f\x99\x88\xe8\x90\x84\xda\xe0\x37\xe0\x91\x25\xdc\x07\x4a\xf5\x87\xbc\x42\x88\x4b\x2c\x45\xe3\x1f\x18\xff\x34\x18\xaa\x85\x46\x1d\x0d\x70\x72\xd0\x15\x54\x5b\xc2\x34\x5d\xd7\xd3\x0b\x0f\x14\x8b\xf3\x7d\x43\x1d\x8c\x81\x54\x7d\xfe\xbe\x13\xb1\xb5\x2f\xde\x91\x5e\x33\x69\x42\x4d\x06\xc8\xac\x8a\x3e\xe5\x7d\xf6\x5b\x97\xdd\x2b\xbe\x6e\xcf\x11\xd5\x40\x61\x98\x36\x14\x7f\xd0\x11\x61\x22\x71\x6c\x63\xe9\x7e\x6d\x20\x43\x5a\xa8\x50\x15\xe3\x8a\x86\x72\xea\xc3\x4f\x9a\x97\xdf\xf3\x8a\xab\x02\x02\xbd\x7f\x36\x2d\x38\xb9\xf1\x26\x2c\x47\xe3\x40\xfe\x35\xbe\xef\x69\x06\xf6\x80\x49\x35\x6c\xb8\x9a\x92\xd4\xe6\x1e\x5e\xa9\xe0\x56\xc8\x3c\xe2\x76\x90\x28\xa9\x36\x54\xb9\xc9\xeb\xf8\xb1\x80\x15\x1e\xfb\xe7\x9e\xb8\x28\x71\x95\xe2\xd8\x4b\xd4\x7f\xa2\x97\x27\x66\x6c\x69\x25\xb0\x27\x1b\x59\x4e\x27\x6b\x5c\x10\xea\x02\x16\xc3\xf1\x3d\xe0\x4e\x86\x54\x16\x25\xdc\x28\x76\x40\x4d\xf3\x99\x26\xec\xcc\x4f\xed\x51\xd6\xbe\x73\x10\x3c\xf2\xce\xad\x66\x4a\xb3\x4a\xab\xa9\x68\x7c\xd7\xec\x58\x8c\xa6\x23\x56\xcc\xb8\x9a\x02\x2d\x43\x7a\x99\x13\x78\xc2\x49\x59\xcd\xce\xab\xd6\x58\xd1\x5c\x8e\x4f\x76\xcf\x63\x26\xf1\x72\xa8\x84\x25\xe4\x1c\xff\xdb\x29\xbc\xbd\x43\x47\x45\x6e\x83\x0f\x8d\x77\x50\xef\x40\xd1\x59\x66\xb2\x27\xdc\x88\x08\xb1\xea\x62\x1d\x60\x82\xfd\x9f\xb7\xcb\xf1\xda\x57\xed\x1a\xa1\x46\x0c\xbb\x3d\xba\x39\x1f\x63\xdd\xd6\x9f\x2f\xe0\x3f\xdc\x75\xb8\x3d\xba\x3e\xbf\x19\x77\x8a\xb8\xde\x9c\x8f\xf7\xa9\x48\x03\xc8\x2a\xab\x18\xc5\x6e\xa2\x61\x6b\x65\x35\x72\xbc\xd2\x36\xa3\x4b\x65\xdf\x37\xd7\x38\xe8\x26\xe1\xf0\xaa\x9d\xdf\xa1\x5d\x2d\xad\xc3\x55\x13\x7d\x62\x04\x86\xcf\x31\xc5\x60\x11\x98\x6c\xc2\x45\xfc\x7b\x40\x3d\xf9\x17\x81\xd8\x2f\x30\x10\xf6\xca\x75\xf6\xdd\x9f\xff\xfc\xcd\x9f\x47\xec\x2a\x45\xc9\xe1\x0a\x5e\xf9\xbf\x5f\xff\x72\xfe\xf7\xab\xb3\x77\x6f\xb2\x1a\xa1\x3c\x54\x6e\x48\x18\x4e\xa5\xf5\xbd\x28\x59\x5b\x53\xda\x1b\x84\xc0\xc3\x7c\x69\x44\xc2\xa9\x19\x03\x5c\x40\x92\x23\xe5\xce\x72\xa9\x04\x69\x27\xd7\x00\xb9\x20\x6d\xc2\x0b\xf7\xc9\x8b\xc8\x65\xc0\xde\x79\x9c\xc6\xb4\xcd\x79\x7d\x92\xf1\x0b\xd7\xf1\x54\x41\x89\x85\x09\xc0\x06\xe3\x1d\x45\x1b\x60\xe1\x2f\xfb\xbf\x5e\x69\x45\x4c\x35\x96\xdc\xd1\x73\x69\x2d\x96\xf2\x34\xc2\x32\xf1\x5b\x8b\x60\x73\xdd\x99\x1c\x96\x51\x20\x59\xa9\xe9\x90\x7b\x1f\xd5\x1e\x26\x14\x47\xb8\x07\x32\xa1\x5c\xe7\xf1\xbc\x6b\x04\x62\x0a\xc8\xc5\x5a\x1c\x68\xd5\xe0\x16\x75\x14\x9f\x2a\xc9\x31\xff\x0d\x01\x78\x80\x82\xf9\x32\xbf\xd9\x88\x3f\xe0\x9e\xa2\xf4\x25\xf5\x7c\x7b\x9b\xfe\xbf\xf1\xdb\x60\x89\x91\x13\x16\x7f\x0c\x2f\x60\x16\x94\x16\xdf\xc3\x65\x5a\x82\xe7\xa4\xf3\xce\x67\xc5\xa4\x6d\xd3\x0a\xc7\x9c\x2e\x6d\x52\x8c\xcc\xd1\xd3\xed\x11\xe4\x5e\xde\x1e\x79\x2b\x23\x91\x25\xab\x34\x2f\x87\x77\xd4\x5d\x92\xf5\x29\x40\x4a\x8a\xb3\x1d\xb1\xcd\x2b\x74\xc3\xa5\xa5\xbb\x7a\x4c\x1e\xae\x82\xdf\x84\xa2\x12\xbc\xf1\x42\x80\x08\x02\x0e\xbc\xa4\x94\x35\xa4\x16\x04\xec\xe3\xeb\x1f\xa5\x17\x10\x4a\xca\x0c\x21\x56\x0f\xfa\x95\x06\xa7\x33\xd3\x78\x31\xef\x16\xcc\x90\x3d\x02\x28\x05\x25\xeb\x54\x10\xff\xe9\x7b\xbf\x9a\x73\xc4\x75\xf0\xe2\xf8\x3e\xb1\x7f\xe1\xd6\x6f\x21\x9b\xd0\xce\x9b\x4b\x2f\xc7\xdd\x52\xdd\xc1\x38\xad\x88\x1f\x75\xe4\x3a\xcc\xfe\xab\xb0\xdc\x20\x57\xe1\xf3\x4c\x42\x9a\x73\x05\x9f\x0d\x80\x59\x91\x84\x17\xd4\x29\x72\xc9\x64\xf1\x31\x27\x03\x3f\x62\x14\x01\x33\x96\x1c\x09\x35\x14\x88\x86\x89\xfe\x4b\x22\x17\x06\x41\xab\xb3\x96\xd5\x72\x97\xc7\xe0\x71\xe4\xe0\xcf\x9d\x72\x84\xd0\xf0\x63\x3c\xbe\x4f\x20\x91\xe4\xfc\x21\xa7\x11\xb0\x21\x22\xcd\xbc\xf9\x88\x76\x48\x78\x7d\x8e\x51\x1c\x4c\x80\x00\xc2\xc8\x18\x7e\x74\x57\x71\x75\x7f\xc2\x08\xb0\x20\xef\x3f\xef\x1a\x44\xba\xbc\xf3\x00\x0d\x57\x70\x23\xd2\xbe\xe1\x66\x90\x02\x42\xf7\x23\x11\x86\x4d\xe0\x68\x8c\xdf\xe9\x07\x71\x32\x62\x54\x4a\x2e\x29\xac\x71\x7b\xe4\xde\x0e\x27\x83\x40\x35\x48\x6f\x9d\x3b\xbe\x3d\xba\x3d\x3a\x19\x20\x50\x18\xa2\xc3\x47\xf2\x19\xb1\x6b\x2a\x45\x0e\x73\x01\x1e\x80\xbd\xb0\x39\xe4\xb2\x71\x76\x7b\x34\x13\xbc\x84\x0d\xa5\x83\xb9\x3d\x62\xc7\x4a\xb3\x07\xd9\x58\xf7\x10\x5d\x8e\x4f\x06\x11\x92\xa9\x35\x62\xd2\x56\x28\x0f\x23\x06\x4a\x34\xe1\x15\x5a\x29\xf4\x13\x06\x98\x99\x89\x68\x1a\x8a\xec\x86\xec\x2e\xa8\x8a\xee\xb9\x0b\xbe\x28\x23\x86\xb5\x14\x63\xa1\x4f\xd8\x75\x13\x25\xe4\x41\xe0\x40\x48\x8e\x39\xf3\xdb\x43\x25\xd0\x54\x52\x30\x3d\xbc\xc3\x29\x04\x4b\x5d\x1f\xf6\xdd\xa6\x73\x19\xca\xda\x60\x7a\x03\x59\x36\xdc\xfe\x2e\x61\xab\xf4\x91\x41\x03\xfb\xd9\xf6\xbc\x85\x03\xe9\x84\x25\x47\x7a\x13\x26\xb2\x24\x60\x08\x51\xd4\xa7\xaa\xb9\x8d\xd8\xc4\xbc\x9e\xb9\xd7\x13\xb9\x17\xb0\x86\x3f\x0e\xf7\x7a\x66\x5f\x5f\x04\xfb\x5a\x9e\x64\x47\x81\x4a\xee\x14\xa8\xaa\xbe\x52\x9f\xf7\xf2\x44\x09\x87\x14\x99\x0d\xcb\x1e\x90\x1b\x88\x4c\x7c\x29\x24\x49\xe4\x54\xff\xe7\xe5\xbf\x23\x8e\x61\xe8\x18\xac\x8a\x21\x0f\x02\x01\x0d\x6f\xd5\xad\xfa\x39\x5e\xb7\xdb\xa3\xcb\xf1\xc3\x77\x17\x2d\xaf\xae\x2d\x2f\xee\x6f\x8f\x72\x5b\xab\x34\xde\xd4\x3a\xe8\xcc\xad\x92\x73\x49\x5c\x42\x2b\xe1\xfd\x99\x48\x54\x5e\x9d\x0d\x43\x13\x92\xe9\x9a\x25\x8b\x5e\x63\xba\x0b\x37\xd3\x55\xc9\x38\x9b\xf3\x8f\x72\xde\x62\xc1\xc3\x47\x0d\x58\x20\x8e\xcc\x8e\x4b\xf7\x06\x18\xb7\x0e\x76\x39\x36\x03\xc7\xde\x84\x44\xfc\xcc\xa6\x14\x8d\xbb\x84\x37\x33\x61\x9c\x30\x69\x7c\xed\xc5\xa6\x11\xa6\xd6\x2a\xb0\x3b\xba\x9f\xc4\xd9\x64\xfd\x96\xcf\x25\x10\x31\x4d\xf9\x7b\x9d\xea\xae\x88\xaa\x94\xb4\x72\x97\x64\xaa\x1f\xdc\x33\x16\x6c\x02\xf4\xe7\xc5\x58\x57\xb2\x58\x7c\x0a\xbd\x75\xa7\xf7\xef\xa0\xd5\xae\xd7\xc7\x5b\xbb\x97\x70\x18\x1a\x5b\x3d\x97\xc5\xba\x20\x1a\xbc\x57\xdb\x1f\xdb\xa4\xe5\x86\xd7\xd6\x69\x58\x48\x87\x4a\x97\xb1\xe2\xab\x57\xec\x08\x24\xc4\x68\x02\x87\x65\xb6\xe1\x93\x89\x2c\xa2\xc1\x2b\xd8\x70\x12\x6a\xf1\x38\xae\x88\xaf\x0b\x47\x1b\x7d\x39\xd8\x12\x55\x6c\x88\x1c\x70\x14\x65\xa4\xd3\xa3\x00\x3e\xc0\x5d\x57\xe4\xd8\x3c\x0e\xc7\x9b\x46\x3e\x38\x8a\xb1\x00\x57\x54\x0a\xd2\x06\xdd\x0c\x2e\xc7\x23\xc6\xce\x58\xa1\xe7\x73\xad\x02\xfc\x00\x18\xbb\x29\x7e\x20\x53\x4f\xbd\x92\x4f\x73\xac\x79\x13\xa2\x47\x12\x87\x13\x19\xb8\x3f\x4b\xe9\xf3\x15\xc7\xdb\x03\xed\x32\x6d\xea\xf5\xbe\xb0\xe2\x34\x23\x8b\x5b\x56\x4a\x53\xb8\x7b\xb6\x60\x73\xe1\xde\x6f\x69\xe6\xc6\x57\x2c\xb3\x6d\x83\x30\x50\x8a\xf1\x4a\x72\xb3\x74\xb4\x64\x8e\x06\x37\x0d\x3b\xbf\x3a\x7b\xf7\x06\x42\x37\x9a\x12\xbc\x60\xf1\x5d\x8b\x0c\xfc\x41\x57\x0f\xf0\xb0\xc5\xb2\x53\x95\x7e\x14\x0d\x88\x05\x1f\xde\x9e\x0f\x5f\xbd\xfa\xfa\x1b\x80\x9d\x03\xc3\xe1\xf1\x96\x6a\xa8\xae\x35\xc2\x45\x05\xb9\xe5\x3f\xdc\x5e\xfe\x07\xc9\x2c\xb7\x47\xe9\x6b\xb3\x57\x61\x6f\xbf\x71\x37\x48\x6f\xc8\x7c\x7a\x1e\x40\xf6\x4d\xc0\xb3\xeb\xfa\x21\x4a\x61\x50\xe2\xd2\xac\xd1\xad\x4d\xce\xca\xd3\x38\xb8\x02\x4a\x31\x44\x40\x0d\xdd\xf8\x4b\x38\x7c\x94\x65\xe2\xcc\x1a\xf9\x2a\xe6\xb7\x47\x88\xc3\xd9\x3c\x78\x84\x3b\x8a\x7e\xc0\x80\x0a\x77\xcd\x9d\xc0\xfc\xa0\x65\x49\xf5\x34\x1c\xe7\x9e\xe9\x1a\x4e\x78\xc9\x86\x72\x45\x26\x7f\x7c\xbf\x3d\x07\xc5\x3c\xbb\x46\x9a\x7b\xc3\x6a\x6d\x03\x9a\xa0\x9c\xd3\x7d\x2a\xc3\xfc\x4d\x4d\xa5\x14\xdd\x0c\x49\x78\xb9\x3d\x62\xfa\xce\x14\x6d\xb3\x69\x8a\xee\xb1\xc2\xb4\xbf\x6c\x96\x60\xad\x41\x5b\x8d\x02\xd0\x66\x37\x93\x34\x29\x73\xaa\x75\x09\xe9\x96\xbc\xa2\x3b\x1e\xa7\xb0\x3b\x09\xcc\x04\xaf\xec\xec\x7c\x26\x8a\xfb\xab\x7e\xbe\xb7\x15\x5f\x04\x29\x04\x97\x8b\x2d\x0a\xd7\x82\x79\x87\x5e\xc0\x32\xcc\xbd\xa1\x3a\x95\x01\x33\xf7\x1c\x19\xdf\x96\x0e\x6c\x35\xfd\xa5\x1f\x14\xbc\xda\xe4\xa2\x33\x1d\x2f\xdd\x7a\x3d\x07\xb1\x71\x56\xba\xe1\xb0\xe7\x2d\x56\xc8\x11\x0b\x02\xa1\xcf\xf2\x26\xae\x92\xb3\xe6\x13\x88\x0f\x6e\xbd\xf2\xe0\x5d\x09\x01\x13\xc6\xdd\x2a\xce\xa6\xf2\x41\x28\x7c\x05\x30\x16\x2e\x77\xf4\x66\xbc\x4b\x3b\xe2\xb1\xff\xc0\x8e\xbf\x93\xc3\x63\x8e\xab\xdd\x79\xdd\xe5\xaa\x6f\x12\x62\xef\xd8\x83\x43\xe4\x5e\xe0\x0d\xc1\x57\x01\xcc\x2f\x00\x38\xc5\x93\xd3\x4d\xca\xfd\x92\xdf\x01\xea\x21\x65\x28\xd0\x83\x59\x1e\x03\x40\x8b\x93\xed\xcd\xfa\x4f\xb9\x26\x75\xb0\x9a\xef\xe6\x23\x0f\x42\x2b\x69\x58\xd9\xe8\xba\x46\xeb\xb2\x5a\xf3\x0d\xc6\xa1\xf0\x72\x91\xc3\x93\x86\xeb\x97\xac\x63\x0f\x16\x15\x45\xe7\x6d\xc7\x35\x0e\x32\x76\x57\xf4\x9b\xf8\x3f\x20\xad\x5d\x8e\x1f\xbe\x1d\xb8\xff\xff\xdd\xc9\x16\xcb\x8b\x34\xa0\x71\x04\x41\x7d\xb3\x32\x04\x52\x5e\x7a\xdd\x96\x8c\x36\x39\xab\xb8\xe3\x06\xc3\x26\x3c\x09\xe5\x28\xd5\x1e\x2b\x6a\xb5\x76\xb0\xe1\x6e\x47\xa3\x4f\x1e\x39\x0e\xdb\x00\xdc\x92\x3f\x70\x59\x81\x19\x3f\x97\x7d\x07\xa9\xb6\xe2\x07\xa4\x4a\xc9\x8e\x0b\x74\xd8\xe3\x8e\x26\x9f\xce\xee\xb8\x47\x4f\x06\xfb\x08\x15\x65\x7f\xed\xc6\xa0\x11\x21\x82\xa5\x84\x42\xc5\x00\x56\x3b\xd7\x0f\xc8\x4f\xf0\xc1\xe4\xcd\x22\x1c\xee\x02\x5f\xca\x14\x7e\x13\x3a\x49\xf8\x0a\x60\x65\xc9\x79\xf6\x95\x9f\xec\x75\x10\xe8\x57\xd8\x60\x1c\xb9\xdc\x1e\x91\x13\xdb\x9d\xff\xed\x51\xbe\x16\xdd\x31\x65\x5c\x7b\xef\x0d\xd9\x1c\x7a\x9a\x35\xf0\x17\x98\xbf\xeb\x6c\x81\xa6\x1b\x6f\xa9\xb9\x3d\x8a\x41\xcf\xec\x40\x36\x0a\x2c\x5d\xb2\xa7\x02\xed\x2f\xd5\x06\x2d\x3a\xdc\xbb\x5e\xaa\x74\xa2\x33\xc3\x7c\xb0\x3e\x7f\xc4\xdb\x3c\x94\x62\xfd\x65\x2b\xbb\xf9\x94\xfb\xf1\x3c\xbf\xbe\x24\x5b\xc9\xad\x3e\x1e\xd6\x50\x09\x63\x12\x4e\xa0\x9b\x60\x8a\x0b\xd1\x25\xd7\x4f\x62\x7c\x68\xa7\x69\x04\x0a\x54\xc4\xfc\x3d\x9c\x23\x30\x22\x95\xf2\xab\x14\xde\xdd\xdd\x18\xa9\xa6\x95\x80\xae\x47\xf1\xfa\x50\xde\xd4\xed\x51\xf2\xe7\xdb\x23\x76\xcc\x99\x81\x1f\xe2\x3d\x3e\x19\xb0\xdb\xa3\x31\x28\x80\xe9\x1c\x8f\x1d\xed\xa6\xfc\x5f\xab\x64\x53\x02\xbb\x15\xc1\x24\x66\xd0\xa6\xda\xed\x1e\xe2\x46\xe1\x37\xff\x25\x35\x47\x23\xec\xed\xd1\x07\xdc\xcc\xa7\x8d\x9d\x86\x85\x39\x86\x79\x82\xef\x69\x4a\xe2\xa9\xf1\xce\xf8\xe2\x04\xa5\xa8\x85\x2a\x7d\xd0\x49\x12\x92\x21\x83\x4d\xaa\x3f\xbf\x30\x9b\xf8\xc5\xee\xaf\x77\x95\xf0\xb7\xf3\x8a\x9b\x6d\x8f\xf8\x52\x7b\xaf\xe5\x17\xf0\x0f\xe2\x14\xae\x15\x0b\xae\x77\x39\xaf\x2b\x28\x68\xe4\x8b\x3b\x24\x1a\xe8\x9d\x70\xd2\x26\x06\xc3\x2f\x17\x6a\x59\xb1\x57\x49\x84\x26\xc4\xdf\x0e\x8d\x5d\x54\x69\x56\xd8\x20\x24\xa8\x79\xe3\x3e\x05\xbd\x0e\x18\x08\x17\xb7\x41\xd6\x1c\x3e\xc8\xda\xe9\x82\x8e\x40\xc8\x42\x03\xe1\xaf\xf9\xdf\x47\xec\x67\xb5\x2d\xb0\x57\xa8\x72\x08\x48\x52\x99\xcc\xed\xae\x47\x1a\x38\x10\x8a\x1c\x04\x9e\x4f\xca\xd4\x8b\xf4\x95\x79\x31\x0a\x2a\x8d\xaf\x44\xe1\x25\xb6\x8d\xdb\x4a\x01\x3d\x03\x66\x75\xc9\x17\x21\x28\xc8\x2e\x6a\x92\x66\x4a\xad\x44\x86\x4c\x59\x54\xba\x2d\x3d\x0f\x40\xf9\x78\xea\xb3\xcd\x12\xb5\x16\xdf\x3a\x84\xbf\x5a\x44\x94\xf3\x6c\x74\x8f\x51\x3a\xa0\xfa\x34\xdc\x98\x76\x2e\x4a\x1f\xba\xb2\x6d\xe2\x8f\xdc\x16\x33\x47\xdf\x6e\x94\xeb\x2c\xb6\x82\x63\x38\x2c\x38\x79\x1c\x89\x8d\xd8\x59\x32\x8b\x8d\x1d\x93\xe2\x92\xad\xd2\x9c\xf8\x65\x61\x5c\x53\x1c\x0d\xa6\x0a\xec\x2e\xb9\x97\xdb\x4e\x33\x28\x68\xba\xd9\xf4\xa8\x77\x0f\xf8\xbd\x2a\x44\xd8\x2e\xd7\x71\xee\x5d\xdb\xa6\xb9\xf1\x34\x7a\x96\x12\x47\x50\xd3\x50\x5a\x75\x06\xc3\x90\x92\xa7\x31\x86\xad\xb1\x1e\x5d\x5f\x91\x5f\xff\xcd\xa2\x16\xaf\x73\x23\x41\xf6\x0f\x58\xdb\x54\xd8\x50\x57\x8c\x0c\xa8\xc0\xda\x3b\x49\xa5\xdd\x43\xa1\xe7\x0d\x99\xab\xc1\xe8\xe2\x58\xf4\x07\x50\xde\xaa\x05\x92\x8d\x6e\xcb\x61\x20\x73\xe3\xc3\x20\x23\x64\x52\xe0\x59\x71\xc1\x7e\xa3\x3b\x04\x66\xfc\x4c\x57\x1e\x91\x0f\x95\x0b\x8a\x67\x36\x70\x10\x7c\x7d\xcd\xb7\xc4\x6f\xf2\xc4\x03\xc2\x0a\x79\x1f\x1c\xf1\xf4\x28\xdc\x15\x37\x16\x22\xf6\x70\x36\x51\x94\xa8\x2b\x6e\x9d\x42\x4f\xbe\x1b\xb2\xc8\xba\xa9\x14\xd1\xf6\xbd\xc4\x47\xe2\x3a\xf3\xb8\x2b\xbf\x37\xbe\x87\xc4\x2d\x1d\xa6\x41\x06\xb8\xcb\xb1\x39\xf4\xb6\xde\x1e\xed\x04\x7c\x81\xe1\xa1\xc3\x24\x47\x64\x48\xcf\x79\x82\x7d\x91\x8f\x3f\x9c\xc8\x46\x3c\xf2\xaa\xea\x87\x81\x71\x40\xb3\x7c\xdd\x23\x76\xef\x26\x01\x26\x42\xaa\x0f\x7e\x86\x75\xc1\xcb\x5f\x9c\x5b\x6b\xd7\x54\xc2\x71\x12\xbe\xb9\x6d\x63\xb7\xe8\x03\x73\x5e\x0f\xef\xc5\xc2\x64\xf1\xa1\x61\xf3\xb3\xaf\xd3\x30\xed\xe4\xe7\x7f\xef\xa9\x71\xcc\x79\xbd\x1b\x56\xd2\x72\x20\xfc\x8e\x58\x49\x29\x25\xb5\x77\x95\x34\xb3\x2b\x6d\x3f\x08\x5e\x2e\xce\xbc\x23\x6e\x5b\xbd\x9c\x35\x9f\x25\xd8\x86\x48\x6d\x6a\xc1\xf8\x54\x84\xea\x37\xa5\xe0\x15\xbd\xee\x2b\x8c\xa4\xfe\xed\xa0\x67\xba\x94\xa6\x11\x53\xde\x94\x08\xf4\x87\x3d\x23\x88\xfc\x04\xad\x5a\xa7\x4a\xdb\x61\x62\xdf\xf2\x46\x84\xd6\x08\x8c\xf9\xc0\x80\xcd\x24\xe4\x22\x58\x38\x28\x05\xc7\x72\x2b\x26\x6d\x75\x0d\x65\x40\x7f\xf4\x91\x17\xc9\x23\x5e\x37\xba\xe6\xe0\xda\xbe\xfe\xf0\x0b\xb8\x9c\xd0\xd9\x84\x3d\x48\x6b\xd8\x58\x97\x26\x18\xd1\xeb\xb6\x71\x77\x0b\x2e\x9d\x70\x2c\xca\x7b\xba\x70\x82\x89\x47\x8f\xea\x6c\x55\xc1\x03\x38\x15\x4a\xb8\x33\x0b\x69\x3e\xa8\x54\xf8\x7f\x5d\x57\x98\x3e\x42\x09\xbf\xb9\xbc\x04\x72\x6b\xdd\x78\x11\xc6\x6a\x36\x17\x9c\x8a\xa9\xe5\x76\x4d\x77\xff\x7d\x62\x92\x28\xd9\x2d\x94\xf6\x59\xdc\x1e\x31\xf1\x10\x53\xfd\xc7\x08\xa5\x28\xe6\x46\x54\x0f\x22\x38\x50\x47\xec\x6c\x0a\x1a\x2c\x45\xd5\x68\xe5\x44\x3d\x14\x8d\x92\x95\xf9\x85\x94\xc9\xb0\xe9\xa3\xf1\x26\x35\xb2\xae\x5b\x9e\x13\x8d\x0c\x9f\x08\x34\xd1\xb9\x61\x60\x65\x1e\xae\x78\x9f\xf0\x55\x0f\xec\xde\xa5\x6d\x5e\x7a\x5b\xd7\x78\x75\x0c\x35\xdb\x85\x7d\x77\x6b\x67\x81\x73\x2d\xa8\x6e\xd1\xc6\x4b\x38\xf2\x76\x46\xc9\x84\x50\x9d\xd0\x1d\x38\x59\x5e\x82\xec\x4b\x2c\x1a\xe7\x0e\xd2\x36\x46\x1c\xa1\x2b\xc1\xd7\xbe\x1b\x64\x96\xbd\x54\x0e\xd7\x01\x32\x34\xb8\xf8\x7c\xc1\x38\x70\x88\x43\x0c\x90\x4d\xbc\x16\x3e\x12\x24\x39\xd2\x50\xec\x72\xae\x4b\x39\x59\x8c\x9e\x18\x22\x94\xbc\xea\xa4\x07\x7d\xb2\xf0\xc2\xd5\x74\x92\x46\xf2\x2f\x93\x09\x14\xbd\x3d\x9b\xc0\x8b\xb3\xcd\xcc\x93\xa4\xd6\x9c\x83\x2c\x73\x39\x0e\x06\x49\x0c\xed\x82\x5a\x51\x70\x0e\x73\x2e\xb1\x0e\x27\x0d\xc1\x38\x8d\x31\x62\x6f\x30\x72\x3b\x88\x43\x64\x80\x5e\x6e\xe8\x5d\xd8\x7e\x30\x47\x06\x57\x90\x4b\x96\xa2\x68\xe0\x2f\x5f\x74\x94\x66\x67\x9b\xcf\x41\xc8\x7a\x02\xee\xf7\xaa\xde\x36\x5d\xcc\x95\xe3\xc7\xd4\x64\x8b\xd5\x4b\xa2\xcd\xdf\x20\x10\x42\xe7\x3c\xd6\x64\x41\xe9\x5a\x57\x7a\xba\xf8\x2b\x0a\x10\x9b\xe8\x27\x6d\x8a\xce\x91\x3a\x04\x4b\x0c\xc1\x66\x1b\xa4\x38\xdf\x94\xea\xcf\x62\x08\x60\xa6\xf7\x9a\x14\xac\x21\xcd\xfd\x85\x87\x8c\xaa\xda\xa3\xc3\xdc\x38\x79\x39\xf2\x67\xd4\x79\x40\x06\xee\x02\x53\x76\x35\x55\xc8\x1d\x22\x28\x61\x08\x10\x03\xc8\x17\x6e\x56\x3b\x80\xff\x95\xdc\xbe\x37\xd9\xe4\xbd\x25\x07\x23\x24\x3b\x0c\x90\x3b\x36\x63\x2c\x7b\xf5\x1d\x35\xe6\x79\x88\xe6\x28\x7d\x21\xdd\x73\x36\xd3\x46\xa8\xe8\xb2\x41\xe0\x95\xc6\xd8\x6c\xc7\xc8\xa6\x10\xbc\x2b\x77\xbc\xb8\x77\xea\xe3\x46\x77\x0d\x4c\x07\xde\x4f\x34\xb2\x03\x27\x55\x3a\x7c\x8c\x2f\x6c\xcc\xda\x0d\x03\x06\xbb\xb9\x5c\xe2\xcd\x33\x6e\xb2\x2e\x26\xbe\xd4\x08\x5d\x7e\x2a\x67\x1c\x42\x37\xe9\x18\xbd\x5f\x97\x36\x22\x54\xcf\xbe\x3d\xfa\x13\x84\x8f\x2e\x52\x1c\x2b\x78\xfd\x6f\x8f\x9c\xdc\xe4\xa7\xe4\x18\x11\x68\x58\x05\xc8\x87\xbc\x0a\x38\x26\x72\xe2\x53\x5f\x1d\x53\xc7\x40\x54\x23\x94\x09\xa1\x7f\x15\x37\xc1\x67\xa8\x02\xe2\xe9\xfa\x04\x34\xc7\x93\xe0\x8d\x82\xaa\x68\x61\x4f\x9c\xbc\x60\x1b\x8e\xf4\x96\x57\x78\x3d\x7c\xe2\x4b\xa0\x37\xaf\x0f\x76\x46\x28\x45\xdd\x88\x08\xd3\x1e\x75\xd5\xb9\x7e\xf0\x45\xdf\x27\x2d\xd8\x19\x08\x20\xe1\xb3\x07\x5f\x51\x93\x8d\xdc\xc3\x3d\x9f\x49\x89\x9a\x99\x7e\xcc\xcc\x8c\x31\xc5\x3a\x7f\x1f\xc2\x43\x3d\x22\xaf\x5a\x5a\xe9\x29\x0f\xc3\xed\xf9\xa6\xdf\xc6\x68\x7a\xf7\xfe\x51\xa4\x85\xe3\x67\x3e\x6c\x28\x38\xc8\x93\x6c\x20\x47\xfb\x89\xd1\x80\x10\xa8\x12\x2f\x79\x7e\xd3\xc3\x4a\x93\x94\x4d\x2a\xd6\xe3\xa1\xa6\x10\x95\xa0\x13\x16\x72\xb7\x20\xc7\x2b\xd1\x60\x5b\x24\xb0\x40\x89\x38\x8a\x70\x2f\x4b\x52\x29\x41\xa4\x02\xc1\x67\xb9\x4d\x31\x08\x3c\x0b\xd0\x46\x0a\xf6\xa1\xf8\xde\x57\x9c\xcb\xe0\xa4\x41\xb9\xbf\x9b\x58\x17\x20\xb6\x69\x38\x19\xb4\xb8\xa3\xc4\xd8\xf7\x08\x06\xc5\x73\xb8\x3d\x62\x77\xad\xac\xd0\x04\x16\xb6\xdf\x33\xad\x70\x00\x21\x1f\x1f\x22\xee\x30\x5a\x11\xc3\xee\x29\xf0\x40\x47\x5e\x9e\x4c\xb2\x13\xf6\x8b\x11\x0b\xf1\xc8\xb3\xc1\x43\xbc\x11\x30\x2f\x4a\x54\x4c\x25\xce\xdc\x32\x74\x2c\x27\x89\xf1\xc9\xfb\xb9\xdb\x06\x8a\x13\x83\x91\xe5\x64\xdf\x29\xe6\xa1\x77\x18\x42\x28\x3a\x88\xfa\x4b\x56\x28\x91\x49\x9f\xd7\x02\x62\xb8\x28\x2f\xcf\x7b\x72\x34\x7a\xae\xbd\xf7\x37\xcb\x34\x88\xde\xdf\x43\x8a\x5c\x44\x22\x52\x4d\x87\xa1\x9d\x17\xbb\x40\xde\xfe\x6c\x95\xbe\xd3\x9a\x2a\xdb\x33\x5a\xb1\x82\x4a\xc7\xe1\xe9\x4f\x37\xd6\x57\xd9\x25\x89\x35\xc4\x23\x6c\x4d\xe9\xf1\xc3\x78\x53\x82\x53\xf0\x0f\x62\x6b\xda\x00\x5d\x74\xee\x67\xf7\xc9\x6d\x4f\xd0\xcd\xe7\xb0\x31\xc1\x87\x07\xb2\x31\xa5\xe6\xea\xbd\x05\xfc\x94\xf5\xf4\xa8\xee\x93\xf9\x1a\x72\xa1\x7e\x89\x10\xbd\x0b\x20\xf0\xa7\x01\x42\xaa\xc0\xf3\x49\x44\x7c\xd8\xca\x78\x9b\x35\x9f\xe5\x7b\xb5\x4a\x53\xe9\xde\xaf\x1e\xba\xca\xf6\x6b\x46\x4a\xe5\xfe\x45\xd1\xa9\x83\x1e\xfa\x97\x1f\x6b\x9b\xca\x75\xbe\x4d\x25\x3e\xe4\xc9\x58\xdd\xf0\xa9\x78\x7f\x3d\x76\x22\x9f\xb1\x42\xd9\x5f\x00\x6f\x13\xbd\x2c\x1b\xce\xe8\x43\x0a\x46\x1b\xba\x61\x75\xe8\xc7\x03\x77\x7a\x0b\x57\x8f\xd3\x98\x98\x9b\xed\x12\x60\xac\xc6\x8d\xb6\x14\x27\xfc\x53\x1d\x81\xe0\x2d\x9f\x74\xda\x2c\xf9\x7d\x66\x4e\xdd\x22\xa8\x1b\x35\x0d\x68\x3a\x6f\x3e\x8e\xc0\x3f\x6e\xbf\x45\xc8\x90\x8f\x13\x83\xff\xa1\xac\xfb\xaf\x11\xbb\x9c\xd7\x95\x2c\xa4\xad\x08\x0b\xaf\x09\x45\x0f\xfc\x67\xdd\xca\xbc\xfb\x97\x1e\xdf\xb2\x0f\x4b\xe5\xe2\xd9\xb1\xfb\xf2\xf4\xb1\x91\x56\x9c\x60\x9d\x2e\x30\x5a\x41\x24\x0c\x46\xbe\x69\x04\xfa\x13\xf1\x8f\xde\x56\x2c\x15\xc3\x83\x7f\x87\x18\xea\x7b\x59\x1b\x8b\x46\xd8\x0f\x70\x71\xf6\xbb\x4c\xdd\xba\x0b\x1b\x81\xf1\xfc\x68\x9d\x88\x6f\x9c\x45\x5a\x3c\x47\xdf\xb9\xdb\xe6\x5d\x9f\x91\x54\xcf\xc6\x97\x4e\x72\x2b\xd1\x42\x60\x56\x86\x57\x67\xf1\xa3\x89\x12\x67\xad\x53\xf7\xdc\xf1\xae\xdc\x0a\x24\xfd\x1e\x39\x24\xbf\x84\x86\x3e\xb6\x64\xd6\xce\xb9\x02\x13\x3f\x28\x78\x29\xb0\x4b\x9c\xba\x07\x77\xa6\x33\x4b\x42\x35\x40\x69\x24\x68\xae\x00\xe0\x15\x6a\x0a\xed\x41\x8d\x71\x29\xd0\x43\xef\xf5\x60\x0d\xa3\xce\xd9\x14\xba\x0e\xab\x21\xf6\x40\x93\x0c\x6b\xf3\xc7\x90\x14\x42\xca\x0c\x14\xd6\x07\x96\x20\x46\x4c\x6c\xd5\x09\x95\x07\xe5\x97\x62\x37\x3b\xa9\x45\xb0\xa7\x6e\x2e\xa4\x7d\xdd\x09\x36\x97\x4d\x03\x7a\x76\x77\x3a\x68\xac\x90\xd3\x99\xcd\xa3\x46\x20\x2f\x9f\x25\xc7\x47\xd0\x16\x8a\xfe\x3b\xab\xfa\xeb\xa9\x88\x6c\xf9\x6d\x83\x5f\x43\x48\x25\xfd\x0d\x19\xc7\x42\xb7\x21\x2f\x0a\x0b\xa6\x84\xf5\x99\x15\x3b\x75\x15\xff\x88\x59\x46\xda\x1b\xc8\x87\xe2\xa3\x34\x76\x79\x35\x01\xa7\x83\x3c\xfb\x9f\x4b\xa0\xf6\x13\x78\x7e\x5c\x9e\x1f\x97\xdf\xe9\x71\x59\x59\xc3\xeb\xf9\x85\x79\x7e\x61\x9e\x5f\x98\x3f\xc2\x0b\xb3\x30\x85\xad\x36\xe9\x94\xd0\x20\x40\x78\x71\x76\xef\x0e\xab\x62\x35\x6f\xf8\x5c\xb8\xbd\xc7\x73\x32\x49\x31\xb1\xb5\x6f\x49\x0f\x2c\xd6\x2b\xba\x56\x50\xa9\xc3\x75\xb2\xc0\x8a\x8f\x76\x8f\x0b\xe2\x58\xc3\xb6\x6b\xe1\xa3\x87\xf7\x1d\x6f\xe9\x00\x56\xe3\xc5\x75\xca\x96\xd1\xdc\xe8\xdf\x7b\x03\xc8\xdd\x9c\x8f\xaf\x75\x71\x2f\xec\xd9\xb6\x0a\x29\x9d\x96\x09\x90\x1c\x57\x8c\xea\xe8\x07\xbf\x98\xae\x85\xa2\x48\x72\xf8\x66\xfb\xc1\xba\xa7\x7b\x5b\xfc\x27\x45\x5a\xbf\x66\x3f\xba\x77\xde\x5f\x47\x72\x60\x31\xab\x07\x4b\x65\x3c\x6a\x5d\xb2\xcb\x7d\xc0\x25\x57\xa1\x75\x7e\x59\xb0\x92\x01\xa3\xf1\x50\x18\x92\xbf\x13\x84\xe1\x0d\x97\x1b\x4b\x2e\x03\xb4\xb2\x2e\x29\x28\x07\x5a\x83\xd3\xc3\x5a\x5e\xcc\x7c\xd0\x89\x07\x29\x11\x93\x89\x28\x1c\xc3\x85\xc4\x39\x28\x84\xe8\xd9\x27\xc5\x6f\x5a\x5d\x61\xe8\x93\xfb\x00\x7a\xeb\x21\xc1\x62\xb7\x5b\xc8\xf3\x43\x40\xb5\x71\x53\xc6\x4f\x42\x65\x1a\x98\xb6\x4e\x2b\xc7\x12\x43\xcf\xe6\x03\xcd\xbc\x9f\x0c\x7b\xc0\xa7\xff\x4a\x5f\xbb\xc5\xb6\x95\x18\x30\x4c\x70\x89\xbf\x50\x0a\xfb\x9b\x8f\xa2\x68\xed\x3e\x62\x00\xda\x61\xfb\x2f\x0d\x17\x73\x2f\x16\xc4\xb8\xc9\xb1\xea\x63\xc3\xcb\x7d\xe6\x60\xe5\x5c\x9c\x95\xa5\x58\xaa\xb0\xf0\x04\x5b\xf9\x8d\xec\x16\x7a\xec\x92\x96\x1f\xb4\x6b\xe1\xc4\x30\x03\x1b\x90\xa4\xfd\x9a\x1f\xb9\x61\xdc\x7d\x00\x08\x91\xde\x53\xec\x44\x73\x2b\x14\x88\x13\xe1\x1c\xf0\x0b\xb3\x4e\x88\xec\xf1\xb0\xc4\xad\x46\x7f\x78\x4c\x9c\x23\xd9\xc6\xa6\x67\x71\xe0\x02\x2f\x8e\x26\x06\x4b\x17\xe0\xc9\x77\x1d\x89\x7d\xcb\x43\x43\x7c\x1b\xef\x7b\xf8\xa2\x7b\xe9\xfd\xc5\x31\x70\xd1\x71\x1f\x62\x88\x04\x49\xa5\xb6\x91\x75\x25\xd8\x6d\xfb\xf2\xe5\x37\xc5\xbd\x58\x0c\x30\x0e\x81\xd8\x84\xfb\x55\x84\xfa\xa8\x22\xc6\xc1\xa1\x0a\xa9\x1b\xfa\xd0\xff\x13\x3f\x38\x14\xbf\x78\x83\x1c\x22\x0d\x63\xf5\xe7\x49\xcc\x03\xe2\xb8\x6c\x31\x1b\xb1\x37\x10\x86\x37\x17\x5c\x51\xb4\x1e\x84\x8a\xa4\x8d\x3d\x12\x7c\x8a\x50\x40\xb5\x61\x93\x34\xd6\xdf\x99\x8f\xfc\x55\x2c\xbc\x2e\x94\x30\x91\x19\xf7\xd5\x8a\xc2\x59\xc7\x70\xbf\xcd\x6b\xbf\x17\x0b\x1f\x55\x23\xa0\x33\x69\x7c\x38\x48\x38\x43\xff\xe0\xbd\x71\x62\xb3\xf9\x17\xa4\xab\x42\xcf\xef\xa4\xc2\xc1\xb0\x6b\xbf\xd9\x2c\x84\xab\x98\x10\x93\x03\xc3\xec\xbe\x21\x7e\x0a\x5b\xe5\x1a\x9a\x69\x56\x66\xee\x5e\x2c\x5e\x18\x2a\xfc\xa4\x95\x99\xc9\x3a\xcb\x97\x8d\xd1\x14\xf8\xb1\x8f\xa7\x70\x6b\xc4\x60\xde\xdf\x5a\x5e\xe5\xa1\x18\xf4\x13\x35\x72\x5b\xf5\x5b\x2b\x1f\x78\x25\xa0\x64\x97\x53\x20\xca\x82\x37\x98\x6c\x46\x01\x3b\x46\xfb\xec\x2a\x77\x25\x0b\xae\xe2\x83\x15\x4e\x81\x5c\xac\x35\x6f\xac\x2c\xda\x8a\x37\xcc\xd1\xf3\x54\x37\xbd\x99\x52\x16\xcf\xe6\x89\xa0\x5f\xa9\xb4\x9b\x6e\xfb\x2e\x2f\xaf\x45\x23\x75\x09\x0f\x31\xd4\x0b\xcb\x09\xed\x38\x47\x22\xd3\x13\x7f\xf7\xc2\x45\xc8\x61\xfa\x57\x60\x56\x9f\x24\xac\x28\x79\xc4\xbf\x0f\xf9\x63\x3e\x5d\x2d\x64\xdb\xd1\x98\x44\x76\xdd\xf7\xdf\x6d\xbf\x78\x10\x0d\x3b\x26\x11\x41\x3c\xc8\xc2\x9e\x8c\xd8\xff\x16\x8d\xc6\x9a\x02\x62\x8a\xd5\xc0\x3a\xa6\x0b\x4b\xf9\x4d\xdc\xb0\x97\xec\x18\x3e\x63\x72\x3e\x17\xa5\xe4\x56\x54\x8b\x93\x4e\x09\x83\x43\x17\x36\xeb\xaf\x2d\x65\x3c\x00\x5f\xb7\xce\xb9\x04\x26\xae\xc3\xf5\x0e\x17\x1a\x62\x78\x1d\x09\xa7\xe9\x9b\x11\x66\xc3\xdf\xff\x70\x6a\xff\xe9\x0e\x97\xb3\x46\x4c\x81\x38\x91\xfa\x3e\x97\x7a\xec\x83\xc3\xae\x29\x7a\xe8\x27\x7e\x27\x2a\x92\xa7\xe6\x62\xa3\xe4\x7b\x16\xe3\xd9\x42\xec\x51\x13\xbf\x24\xac\x77\xff\x97\xec\xed\x43\x9c\x18\x08\x76\x4c\x8a\xaa\x28\x0c\x76\x0b\x59\x6d\x01\x81\x08\x12\x02\xbd\xde\x80\xa1\x68\x3d\x5e\xb9\xed\xfc\x1e\x12\x83\x7c\xc4\x65\x64\xf4\x61\xce\x09\x9b\xdf\x53\x39\xdf\xc6\x1e\xce\x14\x83\x38\x08\xf0\x52\x27\x35\xb9\xcc\x88\xbd\xf7\x70\x84\xdd\x7a\x28\x38\x63\x6f\x94\xa8\xa0\xd6\xe7\x88\xbd\xe1\xc5\x0c\x82\x33\x17\x60\x55\xc5\x9b\x27\x0d\x7b\xff\x61\xc9\xd6\xf2\x89\xe2\xf5\xf6\x13\xdd\x68\x9b\x9e\x2e\xba\xe5\x74\x7c\x23\x9a\xf9\x8e\xb4\x6b\x45\x33\xef\x72\xe7\x46\x98\xb6\x02\x35\x09\x77\xfd\xb7\x56\x34\xd2\x9d\xce\x19\x53\x6d\x55\x85\xf0\xce\x75\xdd\x79\x82\x57\x3a\x86\xce\xdd\xcc\x44\x7a\x4f\x7c\xe0\xc5\x1c\x5e\xc8\xb3\xab\x0b\x12\xdf\x29\xb7\x0e\x2e\x51\x7b\x47\x51\x71\x93\x56\x15\x68\x65\x90\x76\xe1\x18\xe9\x95\x2e\x45\xba\xe6\x4f\x77\x9d\x60\x29\xc0\x1e\xde\x7c\x74\x7b\x64\x7a\xc4\x20\x9d\x2d\x47\x6c\xaf\x62\x15\xc6\x71\x7e\xd8\xe0\xae\x18\xf3\xd4\x6c\xb8\xad\xec\xed\xe9\x54\xbe\x2f\xa1\x02\x20\xda\x79\x08\x04\xde\xa4\x71\xac\xf9\x24\x31\x71\x43\xb4\xab\x26\xa0\xb7\xa8\x28\x80\x3a\xcf\xe7\x9a\x14\x08\x64\xbb\xfe\x28\x7a\x9c\x39\x9c\xc9\xf5\x9a\x64\xa1\xa7\x54\xb8\xcb\xfa\xdd\x18\xbd\x94\xb6\x0c\xf5\x3a\xac\x66\x13\xa9\x3a\x0b\x1d\xf9\x64\xad\x24\x0e\x5d\x86\x02\x65\x81\xa7\x43\xd6\x57\xab\x28\x07\x37\x02\x98\xb9\x0d\x52\x64\xe0\x9a\xe0\xce\xe1\x15\x91\xcd\x92\x6e\x4b\xb4\x5c\xea\x39\x97\x6a\x8d\x0e\x3d\xe7\x1f\xaf\xef\xc5\xe3\x96\x1b\xf2\x0e\x5b\x75\xea\x5e\x94\x62\xda\x08\xb0\x1e\xa2\x2c\x06\xb3\xf1\x81\xed\x4a\x3c\x08\xa7\xd7\x97\xd2\x50\x75\x8c\x92\x94\xab\xff\x78\x9c\x09\xf5\xb3\x32\xdc\x4a\x33\x91\xfc\xae\x12\xff\x7a\xa1\xaf\xb4\xf5\x2a\xd4\x7f\x78\x51\x0f\xb5\x49\x04\xcf\xa9\xdd\xfa\xa1\x48\x49\x29\x27\x1e\x9b\xf2\x4e\xd8\x47\x41\xde\x8e\xb8\x29\x39\x5d\xe5\x95\x59\xc2\xa6\xf8\x20\xdf\x69\xa5\xef\x78\xc5\xe6\x52\xb9\x61\x46\xec\xad\xe3\x95\x08\x30\x31\xc0\xa0\xf2\x6f\x86\xff\xa5\x55\x82\xea\xe4\xf7\x22\x02\xe5\xbd\xc2\xf8\xea\x98\x20\x16\x42\x5f\x33\xca\xf4\x74\xcf\x0d\x7b\x75\xfa\xea\xf4\xe5\x6b\xf6\x7f\x99\xeb\xfa\x15\xfd\xef\xd7\xf4\xbf\xdf\xb0\xff\xcb\xfe\x2f\x63\x6c\xcc\x58\xf6\xbf\x0c\xfe\x77\xc8\xe4\x24\x9d\xc3\x2b\x37\xcd\x42\xcf\x69\xc1\x39\xf6\x01\xed\x28\xd0\x10\x76\x0d\x0f\x72\xa1\xe7\x02\xe6\xf0\xea\x5f\x7c\x1b\x4c\x2a\x63\x5a\x51\xcb\x57\xc7\x30\xa5\x13\xf6\x08\x12\xe1\x9c\xdf\x23\xed\x9d\x15\xb6\xe5\x95\x1b\xfc\xf8\xeb\xe1\xcb\x13\xa6\x55\xde\xfc\x41\xea\xca\x09\xe2\x34\xc3\xe3\x57\x27\xa3\xa5\x29\x7f\xbd\x62\xca\xd9\x6c\x61\x16\x5c\x2d\xa0\xeb\xf5\x54\xe3\x09\xe6\x4c\x2d\x1e\xf9\x22\x90\x8d\xbf\x7b\x8e\x8f\xb0\x99\x9c\xce\x44\xc3\xea\x46\x14\xa2\x44\x40\xd3\x90\xe1\x20\x03\x94\x04\x74\xba\x60\xd2\xba\x37\xed\x85\x01\x39\x97\x20\x7d\x08\xc8\xe0\xa2\x8b\xc4\xf6\x0a\xce\xfc\xa5\x57\x49\xc8\x4c\x70\x70\xb0\xbd\x24\xdd\x68\xab\x0e\x17\x5a\xfa\xcb\xe3\xe4\x45\x3d\x41\xc3\x2f\x3d\x5c\xf0\x14\xd3\xb2\x31\xcd\x90\x58\x4f\xc4\xc3\x75\x5f\x41\x0e\x07\x38\x7e\x0b\x5e\xa5\xb6\x8f\x24\x15\x15\x65\x3b\x5f\x9a\x0f\xfd\x08\xc4\xb3\xd9\xaf\xb1\x25\x96\x95\x8b\xc6\x23\xec\x8d\xcc\x46\x1c\x21\xd4\xef\xda\xe2\x5e\x58\x5f\xde\xca\x49\x87\x56\xb3\xba\xb5\x2c\x80\x84\x2e\xf1\x3c\xab\xb1\x63\xfc\x74\xdd\xb9\xed\x2e\x10\x2f\x91\xd9\x96\x6d\xff\xb5\xdb\x3e\xb1\x45\xd1\x7b\x57\x0a\x5e\x79\x84\x14\x47\xef\x72\xe2\xc1\xd5\xd4\x8b\x48\x7c\x18\xe1\x0e\x1c\x22\x26\xde\xb8\xcb\x93\x31\x47\x76\x4c\xfa\xf0\x09\xb3\xa2\xaa\xbc\xdb\x18\xff\xd8\x90\x31\x3c\xfc\x00\x14\x3d\x64\xf9\x45\x59\xf9\x61\xfa\x91\xf7\xf9\x48\x34\xff\x43\x62\x82\xd4\x6a\x70\xab\x18\x80\xcd\x4c\x25\x60\xc7\xf5\xba\x5a\xc8\x3e\x66\xa2\xaa\x59\x23\xca\x16\x43\x2c\x5c\x47\xe6\x5e\x3c\x8e\x6e\xd5\x59\xb2\x58\x02\xb2\x8b\xa9\xce\xd9\xbe\xde\x1e\x11\xb0\x4d\xce\x3c\xe4\x04\x4b\xd5\x3b\x96\x27\x27\x94\x33\x51\x6b\x83\x88\xd0\x40\xfa\x00\x19\x08\xca\x5e\x48\xdd\x72\x5f\xe2\xd4\x3c\xc3\xba\xf5\x8f\x1c\xfa\x3d\x8c\xce\xe8\xf9\xf3\x3c\x0b\xdf\x38\x96\xbc\xf9\x59\x18\xc3\xff\x2d\x3f\x0f\x97\x13\xb6\x82\x12\xc3\x5c\x32\x1a\xda\xe5\xc5\xf8\x1a\x18\xfb\x37\x27\xc9\xc3\xf1\xcd\xe9\xd7\xa7\xaf\x8e\xdd\x5c\xbf\x3e\x71\xb3\xce\x9e\x84\x57\xe1\x49\x08\x5f\xd2\x8c\x84\xc9\x1e\x85\x4b\x45\xf9\x1a\x8f\xba\x29\xc9\x08\x11\xb0\x1b\xb9\x62\xc6\x7a\x48\x91\x80\x14\x4c\x50\x47\x81\x66\x1f\xb5\xbb\x3f\xf0\x34\x49\xcb\xfe\x34\xd7\x8d\xf8\x53\xd2\xfc\x89\x3c\xa1\xa7\xa2\xe8\x05\xa8\x35\x3c\x7b\x23\x67\x79\xb2\x3a\xb9\xa8\x45\xb9\x32\x30\x68\x83\x98\xbe\xee\x9b\x18\xd7\x2d\x14\xa4\xfe\xa7\xc5\x7e\xad\x66\x95\xb0\x10\x7e\x81\x79\x4a\x28\x54\xb9\xbe\x22\x56\x78\xe9\x13\xb2\x24\xdc\xe1\x48\xef\x2b\xc2\x6b\x36\x95\x98\xff\x81\x0a\x23\x6f\x29\x30\x0f\xcd\xfc\x53\x07\xc5\x94\x03\xaa\x43\xa8\x0a\x8e\x25\x47\xe2\x0c\xc1\x0e\x96\x7e\xbb\xa2\x10\x5f\x0c\xa5\x81\x4a\xe4\x1d\x87\xb0\xdb\x7b\x88\x8c\x82\x11\x91\x33\x24\x45\xc1\x66\xb2\x29\x87\x35\x87\xf8\x85\x45\x2d\xcc\x20\x1b\x2d\xd4\xec\xd8\xc3\x2f\xd0\xbf\x70\xba\x3f\x1a\x84\xdd\x58\xb3\x13\x9f\xa4\x82\x6f\x1a\xa7\xe5\x9d\xef\x4f\x9d\x41\x5f\x83\x8d\xdb\x9f\xee\x6c\x9f\x7a\xc1\x30\x7c\x69\xc3\x6d\xfa\xc5\xc7\x71\x26\x3e\x07\x2c\x0b\x49\xd1\x5b\xf0\x56\x04\x07\x3a\x29\x47\x18\x83\x80\x11\x97\x8e\x76\x62\xa5\x48\x19\xaa\x5d\xf6\xb9\x2a\x8f\xe6\x4d\xc5\x8d\x95\xc5\xf7\x95\x2e\xee\xaf\xad\x6e\x96\x0e\xa8\xb7\x0d\xe2\xec\xd7\xeb\xa5\xce\xb2\x70\xd7\x4d\xfa\xef\xaa\x8f\xb3\x4d\x51\xec\xec\xd7\x6b\x76\x21\xcd\x7d\x5a\xb1\x9f\x2f\x05\x21\x70\x76\xdf\xde\x89\x0a\xd0\x5d\x20\x0e\x95\xd4\x73\xaf\xaf\xa9\x80\x85\x14\x63\x53\x76\x4f\xe2\xc3\x68\xaf\x53\x3c\x22\xf3\x15\x7f\x34\x02\x67\x7f\xe7\x66\x6f\x60\x1f\x57\x5e\x01\xfe\x5f\x6d\x23\xdc\x2a\xf6\xdf\x66\xdf\x43\xff\xbd\xf5\x5f\x74\x37\xd4\xfd\xce\x2e\xb8\xe5\xb8\xaf\x10\xe8\xeb\xe3\x5a\x60\xef\xdc\x9e\xdd\x01\x0b\x83\x3f\x25\x3b\xb6\x61\x75\x6f\xe5\xb2\xc8\xbb\xdb\xea\x5c\x0f\xbb\xad\xce\x7d\xb1\x72\x75\xf0\x07\x9f\x1b\xfd\xf4\x05\x16\xa2\x9e\x4d\x96\xac\x81\xfd\x93\xa5\x44\x3d\x7b\x7b\xdd\x7b\x69\xd8\x3c\xe7\x0d\xee\x37\xf6\xf6\x7a\xc5\x5a\x50\x11\x9d\xf1\x86\x52\x80\xcb\x17\x86\x55\x72\x22\xac\x9c\xaf\x21\xc6\x42\xaa\xf2\x09\x09\x7a\xe7\xf0\x79\xff\xd5\x40\xf3\x7c\x35\x38\x03\xcf\xea\xc2\x3d\xe6\xfe\x44\x30\x8c\x8d\x6e\x74\x7e\xa1\x57\x5e\x5a\x92\xb0\x0d\xcc\x55\xea\xd3\xf9\xc2\xfc\x56\x0d\x71\x94\x61\x5d\x9e\x7e\x78\x73\x76\xf1\xee\xcd\x68\x5e\xae\xd9\x10\xc8\x45\x7b\xc7\x97\x64\x87\xfe\x7b\xe2\x7b\xe8\xbf\x2d\xfe\x8b\xce\xce\x84\x9f\xe9\x5c\x41\xd7\xa8\x75\xdd\x56\x28\x3c\x49\x43\xdb\xb6\x66\x29\x46\xee\xbf\x88\xeb\xcb\xfe\xd3\xbf\xbe\x64\xc7\xe7\xe1\xf9\xa1\x38\x58\x06\x70\xfd\x13\x5e\x88\x93\x74\x59\xa2\x9e\x89\x39\x64\x5a\x13\x07\x0d\x2c\x7c\xc6\x55\x59\xe1\x7b\x56\x88\x06\x20\x73\x42\x26\xb9\x1b\xa2\x6c\x24\x60\x3f\x1c\x7f\x2f\x6c\x30\xf5\x9f\xac\xb9\xa5\xa5\x7e\x54\x8f\xbc\x29\xcf\xc6\x97\x7b\xef\xc1\x45\xec\xa3\xf7\x5e\x24\xdf\xa4\xab\xf6\xd3\x01\xa1\x8f\xdf\xe9\xd6\x06\x05\x79\xbf\xb3\x05\x57\xcc\x85\xdc\xff\xe6\xbe\xa1\x0e\x7a\xaf\xcc\x7f\x90\xd3\xa8\x15\xf3\x5a\x37\xbc\x59\x50\x21\x3a\xdd\x2c\x36\x72\xa1\x27\xbf\xb3\xb0\xf0\x52\xae\xb1\x74\x05\xea\xda\x7f\x5f\x7c\x0f\xfd\x37\x26\x50\x74\xb6\x33\xc4\xd0\x56\x50\x77\x40\xc7\x08\x57\x00\x49\x1b\xfd\x65\xf8\x1d\x6d\x59\xb1\x28\x50\x05\xb7\x32\x13\x57\x28\x70\xd1\xd7\x62\xb6\x6c\x98\x96\x02\xf0\xe8\xaa\x77\x62\xa2\x9b\x68\x8a\x31\x96\x37\xd6\x10\xaa\xbd\xe3\xa6\x1e\x5f\x36\xd8\x6a\x8c\x87\x42\xc1\xa2\x73\x3e\xce\x42\x4e\x5e\x33\x7e\x92\xe6\x13\xf8\x80\x3b\x25\x44\x09\xbd\xc8\xc4\xe4\xd3\xb4\xca\x0c\xd8\xdd\x89\xbf\xa3\x06\xed\x87\xcd\x9c\x57\xf4\xbd\x5b\xdc\x3d\x62\x84\x6a\xf0\x04\x43\x8d\x3d\xa3\x78\x6d\x66\x1a\xb0\x38\x0a\x5e\xf3\x42\xda\xc5\xad\x62\x8c\xd9\x86\x17\xf7\x10\xc4\xdc\x08\x1a\x72\x70\xab\x0a\x9c\x51\xbe\x87\xdd\x34\x06\x04\xa0\xe3\xa1\x15\x60\x0a\xd3\x16\xac\xfc\x3e\xc0\xc5\x96\x0b\xc5\xe7\xb2\xf0\x2b\x06\x1f\xa5\x91\x9a\x52\x5c\xa0\x5f\x98\x1c\x67\xdd\xbc\xe1\xf3\x8a\xcb\x39\x3b\x36\x42\xb0\x95\xd4\x04\x1a\xe6\x5c\x37\x60\xc2\xca\x34\xe4\x18\x50\x4c\x40\x40\x89\x77\x22\x30\x04\x50\xcb\x70\x68\x55\xae\x1e\xfc\x24\x9c\xdf\xea\xb9\xe9\x06\x32\xdd\x7d\x8e\x88\x50\xa5\x6e\x86\xb4\x6d\x85\xe3\x51\x08\xd2\xe2\x0f\x0b\xad\x5d\xd8\x13\xa1\xb7\x40\xc5\x18\xc0\x29\x41\x64\x20\x4f\xaa\x88\xae\x22\x55\x29\x1f\x64\xd9\xf2\x0a\x04\x29\x3f\x19\xc7\xc5\xe1\x73\x39\x9d\xd9\xe1\xa3\x70\xff\xc3\xa8\x7a\x49\xb8\x44\x7e\x50\x42\x25\x8c\x9c\xdf\x1d\xed\x5c\x70\x94\xd1\x02\xec\x11\xd8\x07\xf9\x82\x0d\x99\xdb\x6f\xf0\x28\xe9\xa2\x8d\xa0\xd0\xb4\x46\xea\xc2\xef\x7c\xba\xeb\x30\xbd\xb3\x60\xc5\x6a\x8d\x60\x77\x9a\xaa\x7c\x03\xe9\x2e\xcf\x0d\x4c\x72\xdd\x44\x3c\xb3\x84\x8f\x15\xeb\x39\x40\x80\xc8\x5d\xf2\x6e\x45\x7b\x63\x04\xa7\x0a\x77\xf1\x07\xa1\x44\x23\x8b\x0e\xf1\xac\xab\xb9\xb8\xe6\x05\x9c\x14\x7b\xf3\xc0\xb7\xe7\xbd\x99\xdf\xdb\xf3\x9c\xeb\xbd\x95\x77\x8d\x60\xe7\x33\xae\x94\xa8\x3e\x81\x9a\xb6\x66\xad\x95\xf8\xb8\xa4\x66\xef\xb8\xe6\xd0\x45\x9f\x55\x87\xc6\xf9\xea\xa7\x78\x70\xdd\xcc\xcc\xb0\xfc\xc0\x44\x44\x79\x1a\xb6\x02\xa3\x5e\x01\x37\x47\x14\x94\xb8\x51\x57\xed\x74\xad\xbb\x75\xe2\x14\xcc\x27\x08\xed\x6f\xf1\xfb\x1d\x56\x0b\xed\x3b\x07\x4d\x3f\x76\xe5\xf6\x0d\x07\x4b\x01\x1b\x09\x82\xb7\x3b\x55\xdf\x11\x41\xa3\x06\x10\x17\xb2\xf4\xb4\x4a\xad\x35\x26\x4d\x0b\x11\xf9\xdb\x93\x34\xea\x1f\xce\xdf\xe4\x3d\xf5\xde\x9c\xa5\x2f\xf3\x6d\xfa\xe1\xfc\xcd\x97\x6a\xb1\x98\x16\x22\xf2\xb0\xd2\xed\xde\xea\x4d\x96\xf6\x83\xa8\xf5\xfe\x5b\x8b\xdf\xf7\xdf\x50\x6c\xdf\xb9\x58\xd2\xba\x1f\xb4\x91\x20\x61\x62\x18\x6c\x8c\x72\x6d\x04\x5e\xab\x11\xbb\x78\x33\xfe\xf0\xe6\xfc\xec\xe6\xcd\xc5\x6b\xe6\x7b\xca\x80\xdf\x46\xec\x46\xc7\x7b\x88\x5a\x16\x29\x2e\xe4\x5d\xf3\x63\x0d\x48\xc1\xe6\x8a\x05\xd9\x57\xa2\x53\x99\x5d\x2a\x69\xa3\xc6\x43\x40\x7e\x5a\x09\x1f\x4a\x55\x6b\xba\xd6\x53\x69\xa9\xd8\x0a\x99\x17\x66\xa2\xd3\x5b\xcc\xb2\x8c\x79\x44\x6b\x4e\x02\xa5\xc6\x27\x18\x1f\x7e\xf0\x3d\xf4\x3f\x0d\xff\x45\x87\xac\xc3\xcf\xbb\x19\x21\x7a\x69\xec\x44\xa0\xa7\x61\xbd\xdb\x74\x76\x37\xec\x98\xdb\xd9\xde\xfb\xf2\x23\x75\xd0\x7b\x5b\xfc\x07\xf9\xae\x84\x94\x50\x10\x69\x9d\x48\xac\x9b\x44\x2f\x4a\x37\xc9\x5f\x70\xcf\x0d\xb0\x55\xb5\xe8\x5e\xf4\x24\xb7\xcc\x0b\x12\x88\xb4\x5c\x55\x0b\x94\x80\x00\xed\x1a\x53\xf1\x39\x02\x35\x3b\xe9\xce\xa2\x57\x55\x3e\xc8\x4a\x60\xfd\x76\x09\x65\x57\x3c\x1a\xbc\xcf\x48\x80\xfc\x48\xb1\x34\x2f\x77\x4e\x50\x21\x8a\x46\xa7\xc8\xe6\xab\xf7\x37\x58\x26\xd0\x89\xa3\x4f\x66\x40\x6e\xc0\xda\x1d\xdb\xca\x43\x95\xe6\x29\xf6\x8b\xcb\xeb\x5d\x2c\x18\xd0\xba\x63\x3c\xc4\xdf\x3e\x23\xef\x5e\x77\x0d\x60\x23\xb6\x5d\x81\x1e\x7e\x95\x5f\xbc\x62\xa9\x10\x6e\x39\x80\x39\x5c\x5c\x5d\xff\xfd\xa7\xb3\xef\xdf\xfc\x04\x53\xce\xd3\xda\xf7\x7d\x6c\xf4\x83\x7b\xc6\xc5\xe3\x29\x01\xdc\x0d\x5d\x7f\x43\x0a\x0c\x3d\x05\x5f\xde\xe9\x57\xf0\x3f\x7b\xf8\x90\x9e\xc0\x01\xaf\x76\xb0\xbd\x5e\x75\x0c\xaf\x8a\x5d\xed\x6c\x75\x7d\xea\x1d\x71\x6b\x5d\xb9\x09\xf5\x2a\xc5\x6e\xef\x6d\x59\xa9\x26\xf6\xde\xa8\xad\x5f\xe7\x6c\x32\xa9\x0b\xad\xd7\xaa\xcf\x69\x48\x50\x74\xfd\xee\xbb\x9d\x71\xb7\x86\x7e\x67\xe3\x4f\xf8\x4b\xe1\x86\x5d\xb7\xd9\x33\x6d\xb5\x3a\x90\xac\x39\x5e\xd1\x59\xff\xad\x5e\xf1\x71\xbe\xbb\xd8\xe2\x3c\x14\x1a\x48\x15\x55\x27\xe5\xed\x66\x62\x5f\x9f\x93\xfd\xa8\x9b\xa7\xea\x5c\xe3\xac\x9b\x3e\xab\xcf\x3e\xe8\x3c\xbe\xf4\xb7\xbd\x3c\x09\x6b\x96\xd9\xe8\xff\x84\x9c\x83\xfd\x57\xe8\x7b\xe8\xff\x14\x41\x5d\x62\x08\x52\xaa\x2a\x77\x0b\xb4\x4a\x2b\x24\x20\xf0\x8a\x19\x90\x73\x60\xce\x6b\x6f\xcd\x4a\x2c\xcc\xab\x57\xf3\x5b\xab\xef\x16\x76\xff\xd3\xfa\x1b\x7e\xdf\x7b\x25\xd4\x3e\x3f\x25\xff\xe3\x21\x7c\x57\xcd\xdd\xfe\x07\xf3\xe1\xfb\x8b\xde\x0b\xf9\xf0\xfd\x45\xbe\x88\x0f\xbc\xd4\x86\x81\x97\x9a\x5d\x88\x35\x7e\xc5\x83\x89\xc1\xcd\xdd\x56\xa7\x95\x29\x78\x25\x2e\xdf\xef\x0f\xa4\x8f\xdf\xf7\xde\x11\x6a\x9f\xef\x8a\xff\x71\x19\xa1\x6a\xdd\x55\x4c\xd1\x62\x74\x29\xd6\xa5\x68\x23\xcd\x3f\xa1\x4a\x80\xfb\xbc\xff\xda\x10\xda\x28\x5b\x9a\x87\x3b\xda\xe2\xaa\x79\xb2\x44\x4c\x2b\x5d\xbd\x0b\xd8\x56\xef\x2f\xfb\xac\x46\x20\xdb\xb8\x17\x01\xd2\xa6\x59\x8d\x46\x76\x98\x03\x7e\x30\xf5\x4c\xf8\x48\x91\xbd\x97\xf7\x0b\xf5\x82\xa8\xd9\x3b\xbd\xaa\xbf\xa4\x13\xe8\xb8\x71\xae\xe1\x4f\x4f\x7d\x55\xfe\x5b\x67\xd5\x9b\xa0\x65\xe8\x9f\x4f\x0c\x38\x42\xc6\xb4\x21\xec\xe8\x21\x69\x96\x62\xc8\xb0\x39\xaf\x01\xb4\x09\x72\x89\x1b\xfe\xc8\x20\xa2\x85\x95\x82\xea\x47\x13\xde\x55\x62\xae\xd8\x1a\x65\x84\xdf\xae\xd2\xd1\x3b\x93\x8a\x0d\x7d\x08\x58\x0d\xff\x8d\xc1\x80\xbe\xc0\x42\x6e\x79\xc1\x34\x92\x58\xdc\xfa\x4e\xc0\x12\x40\xe3\xda\x23\x48\xae\x87\x2a\xa5\x02\x7c\x4b\xcc\x55\x54\x11\xec\x68\x93\x40\x5b\xeb\x03\xc7\xac\x75\xd1\x88\x92\xad\x3e\x0c\x21\x01\x60\xdd\xd6\xf0\x35\x68\x95\x93\x91\xfb\x25\xd0\xd1\x2f\x19\x10\xd9\x6e\xd4\x03\x3d\xf5\x20\x1e\x20\x9b\x44\x71\x8d\x74\x92\x21\x88\xd0\x55\x8e\x79\xca\x74\x8f\x47\x0c\x95\x62\xa5\x83\xe5\x83\xbd\x78\xfd\x62\x0f\x12\xc2\x09\x53\x11\xb1\x1c\x63\x63\xd5\xbc\xbb\xcd\xbb\xc5\x1d\xe0\xef\x54\x41\xc0\x57\x26\x2b\xd1\x67\x1a\xc5\x0d\x9d\x2e\x97\x12\x93\x28\x38\x9a\x2f\x18\x6f\x74\xab\x7c\xf2\x54\x48\x7f\x7f\xd7\x19\xf8\x8a\xf0\xaf\x11\xdd\x2d\xaf\x9d\x01\xde\x2b\xa9\xd8\xab\xd1\xab\x97\x9f\xe6\x56\xc1\x78\x9d\x5b\x15\x21\xc4\x90\x80\x3e\x1d\xdc\xe3\x3b\x62\xe6\xae\xf9\xd0\x67\x02\xd8\xa6\x15\x03\xfc\x09\x60\x1f\x93\x5c\xf6\x63\xc4\x84\xd4\x4d\x8a\x46\x79\x92\xc3\x3c\x40\x93\xbd\xa0\x1e\xdb\xbb\x3d\xe8\x9d\x08\x1b\x08\x23\x92\x7b\x20\x8b\x17\x66\x03\xe9\xa7\xd3\xbe\x3d\xba\x3d\x62\xc7\x21\x10\xa1\xd1\xda\x9e\xec\xb1\xf1\xb4\x88\x37\x1f\xeb\x6d\xb8\x1b\x6f\x3e\xd6\x5c\x95\xa2\x44\x66\x7f\xa0\x15\x7d\x2f\x66\xfc\xc1\xa9\x4c\x72\x2e\x2b\xde\x60\x05\x87\x6b\x9c\x13\x24\x01\x08\xf5\x20\x1b\xad\x20\xa9\xe3\x81\x37\x98\xee\x10\x8c\x13\x86\xfd\x3f\xc7\xbf\x9c\x7d\x00\x44\xae\x13\x5f\x41\x13\x67\x19\x71\x6a\xd2\x99\x24\xdd\xf5\xd8\x4e\x3f\x13\xb7\x3b\x70\x5f\xfd\xcc\xdc\x48\xf3\xd6\x89\x30\x60\x0d\x2e\xaa\xd6\xc8\x87\xde\x74\xbf\xe7\xa3\x11\x39\xec\x61\xde\x8c\x2b\x5d\x8a\x15\xb5\xd4\xd6\x00\x59\x26\x8d\x43\x4c\x4b\x5a\x37\x08\x5e\xf9\x4a\xce\xa5\xe3\xe2\xdc\xa2\x2c\x99\x85\x44\x50\xf6\x5f\x88\x89\x76\x04\xd3\xe3\x61\x49\x36\x67\x4f\x73\x62\x92\x93\xbe\x59\x87\xf4\xe9\x23\x49\x22\xb3\xd3\xd6\x21\xb7\x68\x69\xad\x3e\x5d\x60\x2e\x0e\x5a\x83\x00\xb7\x9b\x6c\x12\x9b\xa1\x9f\x62\xa3\x2c\xe8\x3c\x58\x44\x18\xaf\xb4\x9a\xa2\xcb\x0c\x5f\x99\x08\x01\x9c\x84\xa9\x98\x5e\x55\x3e\x0e\x15\x70\x99\xac\x6c\xd3\x59\xa4\x11\x37\x31\x16\x2f\x46\x5b\x96\xdc\x72\xaa\x02\xba\xbe\x60\xe0\x81\x03\x0c\x9f\x34\xf5\x64\x2e\xfd\x26\x7f\x10\x8d\xfa\x49\x53\x26\x8d\xba\xe7\x6c\x21\x22\xe0\xac\x80\x64\xf6\x1b\x7d\x2f\x96\x04\xaa\x5d\x6b\x06\xa7\x7d\x3d\x71\x1d\x4b\xfd\x6d\x58\xd4\x93\x2f\xf0\x66\x15\xb7\x27\x98\x78\x47\xa5\x7d\xc6\x0f\x4f\xd6\xd2\x4b\xae\x41\xf3\x07\x96\x3a\xbc\xbc\xd8\x56\x2b\x94\xe2\x0b\xb1\x39\xfb\x1e\xe2\x7b\xde\x71\xc5\xa7\x88\x1d\x74\x7c\x3d\xfe\xfe\xdd\x89\x23\x16\xf0\x18\x5f\x5e\x30\x6e\x8c\x2e\x64\x5e\x1f\xff\x3a\x1d\x13\x2a\x56\x3d\x71\xde\x3d\x60\xb3\x77\x9c\xb9\xda\x6f\x56\x48\x85\x7d\xa5\x5d\xf4\xc0\x42\x52\x39\x3c\xa2\x1d\x5a\x7e\x98\x97\xf7\x87\x95\x94\x92\xe9\x3d\x55\x34\xfa\x15\x02\x1e\x45\x39\xd6\xa5\x17\x77\xb6\x60\xf7\xdc\xcc\x04\xc3\x30\x49\x44\x76\xab\x2a\x6f\x02\x41\xb4\x9d\x92\xad\xe9\xd3\x17\x30\x03\x57\x3f\xe0\x6a\xd6\xa2\x19\x22\x78\x2b\x01\x8a\x40\x2f\xee\x96\x61\x8d\x50\x77\x51\xdc\xdf\x8f\xcd\xc9\x76\x3e\x50\xaf\x5d\x01\xdb\xd1\x01\x94\xf7\xd3\x47\x82\x1a\x31\x8c\xd5\xf4\xa5\x80\x00\x7d\x68\xb0\xf2\xd2\xe4\x58\x26\xb8\x91\x6b\x4c\x90\xf8\xc7\x2d\x14\x48\x11\xab\xdd\xa1\x92\xa2\xcd\xdd\x31\x3b\x1b\x35\xe8\x20\x02\x0f\x5f\xbd\xec\xea\xd2\x7b\xa2\x3d\xf4\xa4\x66\x5a\xe6\x60\xfd\x51\x3e\x99\xc8\xa5\x2a\xf5\xa3\xb9\x16\x45\xdb\x60\xdd\x2a\x2b\x3e\x5a\x04\x8c\xde\x54\x47\x6e\xe3\x77\xc1\x1c\x43\xad\x62\xac\x72\x28\x61\x89\x25\x08\x43\x99\x81\xed\x34\x3c\x9d\x1b\x7e\x1e\xbe\xb8\xae\xc5\x52\xbc\x6c\x37\x14\xea\xdd\xf5\x59\xfe\x01\x93\x50\x43\x97\x42\xec\xdd\xdf\x19\x2f\xe7\x12\x4b\x55\x3d\x8a\xbb\x99\xd6\xf7\xec\xd8\x3b\x02\xa6\xd2\xce\xda\xbb\x51\xa1\xe7\x89\x4f\x60\x68\xe4\xd4\x9c\x3e\xd2\xb2\xdc\x9c\x4e\x98\x54\x95\xf4\xa1\x64\x6e\xe1\x09\x72\x16\x0e\x12\x17\x0a\xea\x04\x25\x8b\xd2\xcb\xb9\x3c\x4d\xb0\xa1\xec\x0b\x65\xb1\xbc\x4d\x3d\x5e\x8e\x35\x73\xe8\x24\xf5\xae\x5d\x0f\x96\x95\xd8\xc7\xd4\xd3\xaa\x33\xf3\xb3\x11\x4d\x8f\x39\x3a\xde\xea\x9b\xb2\x48\x5a\x6e\xf0\xa6\xc5\x5b\x0a\x18\x73\x50\x76\x72\xd9\xf2\x4c\xd5\xd4\x73\x4d\xdf\x35\x69\x8d\x53\x86\x42\x0a\x82\x54\x4c\xce\xdd\x2b\x3a\x17\x96\x83\x64\xd8\x91\x3f\xd8\x3b\xbe\x60\xbc\x32\x1e\x79\xdf\x7d\x31\xd6\x65\xe7\x22\x40\xce\x39\xfd\x15\xa2\xd3\x3b\x7f\xc7\x5c\x80\xa5\xcf\x32\x5c\xc6\x74\x4e\xdd\xcf\x2d\x14\x00\x8e\x30\x1c\x9f\x1a\x94\xb1\x94\xa6\xd0\x0f\xa2\x59\x40\xce\x0d\x15\xf7\xdc\xc0\x1e\x7c\x93\x8e\x5f\x4e\xaa\x69\x25\x58\xa5\xa7\x00\x31\x73\x7b\x44\xf5\x95\x9d\x94\xe7\x6b\x64\x13\xf8\x7d\xef\xaa\x93\x54\xa5\x76\x2b\x9e\x61\x68\x87\xb4\x21\x63\x2d\x7d\xcc\xe3\xc9\x6f\x6e\xb0\xa4\x72\x70\x10\x5a\xd1\xd4\x0d\x24\xe0\xf0\xa2\xd0\x4d\x8a\x23\x9d\x3f\x20\x79\x4d\x5a\x1a\xd3\x09\xe1\x1e\x53\xe8\x5c\x2b\xd3\xce\x45\x43\x96\x53\x4c\x33\x0a\xf8\x56\x36\x66\x31\xc4\xf9\x26\xd6\x71\x77\xf4\x48\xda\xb2\x61\xfa\x51\x41\xde\xcd\x9d\xac\xa4\x05\xe8\xbf\x68\x91\xf5\x0c\x98\x5b\x56\x09\xee\x64\x73\x15\xa6\x03\xc6\x34\xa5\x31\xb1\x02\x72\x42\x96\x9f\xb5\x83\x02\x31\x66\x7f\x5a\x5f\xff\xd2\xac\x73\xa5\xae\x2f\x2c\xba\x55\x72\x59\x49\xb7\xe7\xb1\xbf\x4d\x12\x4c\x1c\x36\xc2\x64\xac\xb1\x45\xac\x2c\x57\x19\xe8\x6b\x8d\x45\x22\xc4\x38\x7b\x14\xa7\xee\xea\x78\x89\xe3\xf3\x6a\xbc\x9a\xf8\x77\x3a\x93\x25\xcf\x5d\x77\xf8\xa4\xc8\xa3\xff\x25\x5d\x6e\xcd\x9b\xc0\x57\x1f\x5e\xdd\x09\xcb\x5f\xb1\xb3\xf1\xe5\xfa\x9a\xdd\x83\x95\x45\xbb\x43\xd6\x4c\xd2\x47\x92\xc9\xc6\x8e\x95\x66\x46\x6b\xe5\xf3\x95\x22\xb5\xb0\x87\x57\xa3\xaf\xbf\x3d\x19\x31\xf6\x2b\xe5\xaf\x85\x71\x0b\xae\xd8\x4c\x57\x1e\xb1\x3b\xc5\x0d\x7e\x6c\xa4\xa5\xba\xe3\x98\x5c\x86\x63\xbb\x61\x71\x82\x5c\x2d\x7c\xe9\x22\x78\x14\xd0\x71\x60\x75\x9a\xa1\x67\x64\x25\x14\x28\xa9\x88\x5c\x9c\x94\xca\x4f\xb7\x88\xcc\x9a\x13\xdd\xaa\x50\x31\x19\x10\x83\x00\x7b\x58\x97\x22\x3e\xed\x8e\x94\x8c\x15\x7c\xdd\x1b\x9f\xf2\xe3\x2e\xe5\xcc\xa4\xb2\x07\xba\x0a\x3f\x42\x57\x9b\xe8\x04\x06\x5b\x73\x01\x3a\x82\xf5\x4c\x3f\x42\x5e\x8c\xe7\xfd\xd1\xc8\x5f\x20\xd7\x5b\x97\x0f\x34\xd3\xc6\xf6\x70\x38\xf9\x66\x2b\x39\x78\xa0\x85\xb4\xca\xfe\xdd\xc2\x0f\xdd\x98\xbc\x74\xb7\xd5\x80\x52\x28\xd5\xb4\x95\x66\x96\xfc\x01\x7c\x17\x80\x32\x86\x76\xd2\x63\x31\x9a\x8e\xdc\x61\x5e\x5c\x5d\x63\x64\xe3\xc9\x88\xbd\x6b\x2b\x0b\xf8\xf8\xf1\x3b\x74\x77\xb4\x26\x81\xc0\x09\xf3\xcd\x37\x82\xa0\xae\x26\xad\x9a\x02\x5e\x15\x8e\x30\xf7\x5d\x9e\x79\xe8\x35\x1c\xf3\x24\xda\x61\x2a\xfd\x28\x9a\x82\x1b\xa4\xa7\x9a\x1b\x03\x93\x02\x20\x4a\x76\xfc\xe1\xed\x39\x7b\xf5\xea\xeb\x6f\x4e\xdc\xf7\xb2\xc4\x5c\xb9\x3d\x1c\x7f\x44\xa6\xdb\x5c\xea\x9e\x9a\x3b\xb0\xb4\xa9\xb0\x78\xe5\xf4\x57\xb7\x09\xa8\x6c\x2d\x1f\x18\xdd\x17\x0f\xde\x17\x11\x2f\xe3\xb6\x62\xba\x21\x04\x9e\xba\xee\xb2\x93\xa6\xcf\x29\xaf\x2e\xea\x91\xd9\x23\x7c\x15\xae\x5d\x92\x8e\xb7\x0f\xbc\x3a\x80\x49\x7e\xae\x52\xa1\x61\x34\x4c\x45\xec\x84\xe0\x26\x71\x3a\x84\xbe\x04\x76\x96\xec\x28\xd2\xdd\x5e\xbd\x22\xc7\x99\xb6\x9c\xf2\x7f\x91\x83\xb9\x7b\xb2\xff\x5b\x2b\x91\x8f\xc1\x04\x61\xe3\xf7\xa6\xb9\x9e\x2a\x70\x94\xef\xf6\x55\x75\xb7\xc9\x00\xdb\xa5\xd8\xd8\x78\x5d\xc5\xf4\x20\x2b\x50\x46\x6d\xdc\xfa\x1e\x4e\x2d\x5e\x6e\x73\x76\x43\x9b\xac\xe0\x05\xc4\xd1\xa4\xfb\x8f\x65\xb0\x6b\x4e\x16\x54\xa7\x19\xc8\x07\xc1\x6c\xc3\x27\x13\x59\x0c\x72\xc1\xf5\x71\xc6\x2d\x20\xe5\x93\x51\xd7\x89\x8d\x5c\xf1\xa9\xb7\x8a\xc4\x7b\x7a\xc6\x94\xac\x3c\x02\x66\x18\x9f\x2b\xd6\xaa\x7b\xe5\x24\x50\x28\xde\x0e\xd0\x6e\x60\x9d\x2a\xa0\x92\x7f\x64\xba\xc4\xfa\x82\x08\x8d\xb3\xce\x3e\x66\xdc\x80\xcb\x9e\x20\xf7\x0a\x3d\xaf\xb9\x95\x20\xd5\x2e\xdc\x1f\x8c\x56\x06\x9d\xfa\x0b\xdf\x9d\x82\xc9\x83\x95\xd8\x36\xad\x87\x09\x44\xee\x81\x16\xe8\xc0\x41\xf6\xab\xdc\xd8\x3c\x38\x62\xdd\x7c\x28\xd4\x0a\x0a\x1a\x04\xd8\x4c\xd8\x7a\x37\x53\xf1\xb1\x10\x35\x5d\x4c\x94\x46\x0c\x84\x29\x4e\x79\x53\x56\x50\x8d\x8a\x0a\x1c\x25\x93\xc6\xed\x48\xdf\x29\xcf\x28\x03\x79\xc5\xa7\x84\x50\xfe\xdc\xfa\x31\xfe\xd8\x0f\xec\x29\xc2\x67\xbf\x24\x23\x80\x5a\xaa\x64\x35\x58\x3e\xa1\xd2\xb1\x18\xaf\xd4\x60\x4f\x61\xd4\xdd\xb9\xee\x4d\x1c\x33\x5c\x9e\x3e\x1c\x78\xe3\xb1\x24\x0b\xd9\x72\x34\xe9\xa6\x6e\xbb\x35\xd9\xf6\xf4\x25\xf7\xf3\x9d\x08\xdc\x6a\xc8\x84\x8f\xe1\x6f\xe9\xf8\x00\xdf\x99\xce\xe1\xf7\xdb\xeb\x83\x5a\x07\x7e\xec\x48\xa9\xeb\x98\x2b\xb4\x8b\x98\xf2\x28\x6f\x52\x60\x1a\x40\x8e\xf6\x90\x2a\xb7\x7b\xc2\x74\xe3\xde\xac\x6d\x46\x02\xdf\xac\x53\x5b\xc8\x3d\x83\xc7\xe6\xa4\x43\x3b\xcb\x13\x01\x9b\x9e\xa6\xe3\x4a\x70\xa7\x1f\x79\x23\x58\xa3\x5b\xbb\x5c\x3e\x63\x5f\x18\xf9\x6c\xcb\xdf\xe2\xb4\x0f\xac\x8f\x73\xab\xe7\xb2\xf8\x54\xe4\x31\xce\xeb\x04\xae\xa3\x0e\xd7\xac\x93\x30\xe3\x7e\x69\x03\x92\x5e\x7e\x17\xfa\x60\x4d\xd6\xe3\x46\x5b\x5d\xe8\x25\xd0\x99\x15\x16\x47\xa8\xb3\x51\x90\x02\x4c\x9f\x11\xe2\xa4\x7b\x70\x75\x93\xeb\x1e\x13\x8d\xb5\x55\x8d\xe5\xaa\xe4\x4d\x99\x4a\x6a\x84\xf6\xbe\x50\x96\x7f\x1c\xb1\x9f\xd5\xb0\x6e\xc4\x44\x7e\x14\x65\x52\xa8\xd6\xad\xb2\x79\xa0\x2c\xd1\xcb\xb3\xab\xb3\xd8\x93\xcf\xb3\xc7\xc6\xc7\xdc\xb0\x5a\x34\xec\xc3\xdb\xf3\xe1\x77\xdf\x7c\xf3\x67\xd0\x08\x66\xd6\xd6\xaf\x4f\x4f\x1f\x1f\x1f\x47\x92\x2b\x3e\xd2\xcd\xf4\x14\x70\x70\x21\xc8\xc9\x9c\x52\x17\x43\xaf\xc5\x5c\x69\x35\x0c\xfd\xfb\xd5\x05\x8e\xe6\x54\x99\xce\x14\x4d\x5b\xcc\xdc\x6b\x3d\x5f\xc0\x23\xad\x16\x60\x1d\x9f\x2f\x86\x45\x6b\xac\x9e\x0f\x7d\x1f\x9f\x2a\xde\x30\x15\x42\xc3\xf6\x9f\x55\x15\x43\x08\x18\xc0\x2e\xee\x98\xe0\xc8\xca\x06\xa0\xd7\x94\x2a\x89\xf9\x94\x54\x1b\x27\x6f\x0d\xf6\x8b\xe6\x41\xfa\x70\xcd\x4c\xd4\xa6\xed\x1b\xf8\x3a\x58\xde\xee\x17\x4c\xc9\x14\xac\x30\x82\xd9\xfc\x9f\x7f\x1f\xe1\x40\xb1\x76\xa4\x90\xa0\x51\x62\x09\x49\x2c\xce\x41\x95\x55\x74\x13\xd4\x39\x4a\xed\x8c\x3a\xdc\x6b\xf6\xa7\x10\x60\x94\x59\xed\xbe\xfb\x86\x15\x33\xde\xf0\xc2\xba\x77\xa8\xd2\xee\xed\xf8\x53\x30\xff\x19\x2a\x6f\x01\x4a\x23\x43\xad\xb1\xaa\x67\x5c\xb9\x67\x4b\x16\xe9\xa7\xba\x61\x2f\x86\x2f\xc2\xc7\x80\x3b\x04\x04\x25\x14\xbd\x39\xbe\x62\xc7\xd2\xc7\x11\x24\xdd\xd7\x0f\xdb\xb1\x4a\x50\x27\x4b\xad\x07\x09\x40\x51\xcf\x08\x0d\x9e\x8b\xab\x97\x44\x1a\xcb\x28\xaf\x48\x22\xbe\x8e\x70\x23\xdc\x4c\x30\x32\x2a\xc3\x7b\x8d\x96\xde\x95\x66\x57\x16\x3c\x59\x5e\x80\x3a\x38\xfa\x7b\xdd\x9f\x3b\x5d\x8e\xd7\x32\x25\x6f\x33\xf8\xf9\x62\x3c\x60\x37\xe7\xe3\x81\x3b\xe5\xeb\xf3\x9b\x71\x76\x62\x37\xe7\xbd\x4b\xbc\x1e\x94\xf9\x23\xaf\xde\xce\xfd\xf1\x56\xe6\x3e\x84\x50\x71\x26\x3d\x79\x12\xee\x82\x17\x21\x71\x21\x20\x5a\x2f\x55\x18\xf1\x5c\xd4\x82\x1b\x90\x4c\x45\xc1\xf4\x92\x0f\x4b\xd9\xcf\x83\x50\xca\x28\xd6\x82\x09\x95\xc8\x68\x97\xff\x53\x4b\x85\x7a\x57\xdd\x68\x8f\x78\xce\x26\x6d\x55\x31\x9a\xec\x0a\x7d\x64\x9b\x4b\xa3\x47\xec\x4e\xea\x60\xc8\xab\x8a\x7b\x2c\x60\x6f\xf3\x2f\x78\xd3\x48\xef\x75\x94\x26\x5f\x2a\x32\xd1\x8e\xc7\xc1\x69\x2c\x91\x85\xde\x25\x76\x2d\xd7\x77\xd7\xec\x2b\xe7\xf3\x16\xed\xac\x7c\x02\x70\xde\x8d\xe0\x5e\x75\x10\xf4\x2e\x82\x6b\x87\xe6\x83\x7e\x0e\xa8\x2e\x80\x2a\x74\xb5\x88\x51\x45\x8e\xe5\x5d\x8e\x1f\xbe\x7d\xcd\x3e\xe4\x39\xfe\xe3\x87\x6f\xd9\x19\xf6\x30\xc2\x36\xdf\xad\x68\xf3\x5d\xda\xe6\xed\xdf\x2e\xae\xf2\x36\xec\x6d\x5b\x55\xff\x3f\x7b\x6f\xdb\xdc\x36\x92\xe4\x0f\xbe\xbf\x4f\x51\xa1\x8d\x0b\x59\x0e\x8a\xb2\xbb\x7b\xfb\x66\x3c\xb1\x31\xa1\x96\xdd\x33\x8a\x75\xbb\xb5\x92\xbb\x37\xf6\x86\x13\xab\x22\x50\x24\xeb\x0c\xa2\xb8\x28\x40\x32\xfb\x1f\xfb\xdd\x2f\x2a\x33\xeb\x09\x04\x09\x90\x22\x65\x59\xc6\xbe\xd8\x69\x53\x55\x85\x7a\xcc\xc7\x5f\x66\x2e\xd9\x7f\x54\x3c\x43\xff\xda\x5b\x28\x96\xc2\x76\x84\xe9\xf0\x85\xfc\x5d\x14\xba\x3d\x6c\xe0\xfc\xea\x92\x1a\x3a\xd4\x2c\xa6\xf3\x2a\x30\xc5\x10\x64\x39\x9f\x73\xc7\xde\xdc\xb5\xe7\x81\x61\x01\x2f\xe5\x10\x78\x4d\xa0\x7e\x24\x2a\xbf\x13\x20\x29\x25\x6a\x9a\xcb\x3f\xdc\x68\x8e\x39\x65\x46\x9a\x2d\x91\xc2\xe5\xb6\xbe\xc3\xc0\x95\x5e\x2a\x04\xd8\x91\xaa\x3c\x18\xc1\xd6\xfb\x6a\x88\x92\x9b\xca\xd2\xc6\x3d\x26\x6a\x3e\xaf\x72\x59\x2e\xcf\x20\x25\x90\x1c\x57\xa5\x2a\xf4\x59\x2a\xee\x44\x76\xa6\xe5\xf4\x94\x17\xc9\x4c\x96\x22\x31\xfa\xc8\x19\x5f\xc8\x53\x98\x6c\x0e\x22\xed\x70\x9e\xfe\x8b\x8b\x96\xdd\x7e\xef\xdd\xab\x6a\xd9\x7a\x4f\x26\xc0\x9c\x66\x4b\x3f\x91\x40\x10\xfc\x35\xbc\xf8\x54\xb9\x8c\x1e\x01\x5f\x32\x99\x27\x59\x95\x0a\x08\xb9\xc2\x0a\x35\x6a\xc2\x5e\xbf\x7a\xf5\x6a\xad\xb5\x61\x2f\xd2\xbd\x73\xb7\x1e\x58\xbc\x0f\xf6\x75\x8b\xc4\xe3\x3c\xaa\x0e\xe7\x2f\xad\x35\x25\x5d\xbf\xbb\xf9\x18\x66\xe4\x90\xce\x66\xe9\xc9\xba\xbf\xce\xb8\xcd\x13\x41\xbc\xcc\xc5\xcc\x04\x46\x0d\xc1\x92\x4c\x82\xb7\xad\x1a\xcf\x65\x89\x09\xd6\x85\x2e\xb1\xe4\xe1\x05\xcf\x0d\x7f\x1f\x0b\x56\x2d\x52\x4c\x20\x74\x99\xb3\x0b\x3e\x17\xd9\x05\xd7\xcd\x21\x9f\xfb\xbc\xcc\x40\xd7\x4e\xcd\xfe\xed\x70\x9d\x2d\xe6\x60\x8f\xf5\xac\xd0\xe8\xfc\x8b\x28\x79\x4b\xe4\x28\xa9\x01\x78\x36\xc7\xda\xe1\x1f\xd6\x18\x8f\x41\x9c\x6a\xb9\x22\x28\x72\xc5\x7c\xc9\x3e\xbd\x5c\x94\xf7\xaa\xf8\x44\x62\x99\x4d\xb9\x32\x5e\xa2\xeb\xc5\xdb\x47\x1a\x1e\x24\x08\x80\x6b\xe5\x7a\x88\x98\x22\x7d\xc0\x95\xb4\x95\xe5\xaa\x19\xc8\x08\x00\x28\x0e\x12\x39\x4e\xb1\x1b\x0d\x81\x19\x0a\x50\x23\xc0\xbf\x52\xbe\xa9\x5c\xa2\xbe\x61\x29\x68\x34\xf6\xe8\x88\x5b\x75\x64\x74\xd4\x99\x80\xd0\x87\x0f\x48\x3b\xae\x82\x82\xf3\x87\xa2\x1f\xdb\x19\xf4\x41\xba\x69\x24\xe5\x6d\x76\x7e\xf7\x7b\x34\x37\x28\xcd\x70\x4a\xcc\xf4\x94\x08\x98\xff\x6c\x74\x4f\xa7\x54\x6c\xe2\xc8\xef\x15\xbe\xff\x78\xed\x34\xc8\x51\xb3\x85\x01\x9a\xdc\x39\xce\x7f\x74\xf7\x7a\x75\x2f\xfe\xb9\xbd\x54\xfc\x5e\xea\x2e\x76\x11\xd7\x36\x96\x8e\xed\xf3\xf2\x46\x2a\xd3\xae\x43\x58\x47\x2f\xc5\x7c\x39\x29\xa6\xe9\xa5\xaf\x54\x1b\x6c\x39\xd8\xb5\x03\xed\x4c\x32\xf0\xb6\x77\xa4\x19\xbd\x14\xf1\xac\xa5\x08\x73\xfb\xba\xcb\x10\x40\x84\x9a\xe4\x87\x8e\x1c\x02\xaf\xf1\xd3\x66\x03\x40\xa6\xf7\xcf\x0a\xac\x25\x7f\x3d\x03\xa0\x16\xde\x61\xb2\x0a\x49\x43\xdb\xc4\x1f\xe0\xc8\xf0\x94\x55\x63\x7a\xf3\x08\x17\xd0\xca\x16\xba\x26\x57\xd8\x80\x02\x81\x7a\x8e\x07\x08\x87\x6d\xbb\x1f\x5d\xf6\x1b\x10\x68\x3d\x9e\xb5\xc7\xb3\x7e\x8d\x78\xd6\xf8\xf2\x3e\x0d\x50\xeb\xc3\xa1\x89\xf1\xaa\x7a\x7c\x62\x8f\x4f\xec\xf1\x89\xdf\x26\x3e\xb1\xfc\x12\xb0\xf8\x72\x05\x0c\xcf\x8b\xb1\x2c\xa1\x64\x4e\x23\x2c\xbe\x29\x90\x31\xe2\xc4\x1a\x6a\x32\x9f\xa1\x62\xb3\xe0\xb2\xf0\x2c\xcd\x8c\xe2\x7b\x21\x40\x00\x47\x1e\xee\x21\x6b\x2f\xba\xaa\x3c\x52\x7d\xbd\x05\xea\xc7\xfa\x0c\x6d\xf6\x6a\x6c\xad\xb1\x08\x2b\xf9\x54\x21\xb1\x87\x4f\x8f\xec\x5d\x3b\xf7\x22\xcb\x18\xc2\x9e\x3e\x89\xa5\x7e\xc3\x5e\xb2\x78\xf2\x96\xde\xbc\x09\xa2\x9c\x62\xa0\x4d\x4c\x41\xb1\x94\xef\x28\x67\x41\xd4\x5e\x88\x9c\xc2\xaa\xa4\x36\xf3\x11\x11\x31\x9f\x8b\x28\x92\x64\xcc\x28\xbe\x26\xf6\x70\x94\xbf\xf4\x95\x7e\xe3\x59\x1a\x79\x75\xfd\x0c\x01\x11\xeb\xa6\x63\x46\xdd\x75\x46\x1d\xa7\x53\x88\x29\x80\x00\xd6\x4d\x08\xff\x7e\x88\x29\xad\x8b\xeb\x68\x0c\xeb\x90\x39\x9b\x54\x58\x29\x65\x21\xad\x35\x68\x1d\xf8\x72\x25\xb8\x61\x3b\xd3\xe1\x9e\xb0\xc0\x6b\xe5\xa7\x1e\x10\xdc\x03\x82\x7b\x40\x70\x0f\x08\xee\x01\xc1\x2b\x74\xf9\xc1\x64\xb6\x47\x05\x37\xa3\x82\x21\xac\xdc\x59\x39\x42\xe9\xec\x4f\x10\xd7\x2e\xc5\x21\xfc\x83\x78\x36\x5f\x11\x7c\x38\xbe\x4c\x3d\x86\xb8\xc7\x10\xf7\x18\xe2\x1e\x43\xec\xaf\x40\x8f\x21\xb6\x84\xeb\xb9\x62\x88\x63\x0e\xd0\x03\x89\x3b\xf8\x92\x7a\x20\x71\x0f\x24\xee\x21\x38\xdf\x3c\x90\xb8\xe6\xec\x3e\xb0\xb4\xdf\xe3\x80\x9e\x21\x0e\xa8\x47\x13\x7f\xcb\x68\xe2\x06\xe5\xfb\xb1\x4d\x06\xdf\x1a\xa4\x18\xb6\x7c\x47\x30\x59\x83\xa4\xdc\x83\x8b\xbf\x39\xc9\xe6\x49\x81\x8b\x9b\x94\xb7\x8e\x24\xa4\x97\x2c\x9e\xb5\x64\xd1\x23\x8c\xb7\x44\x18\x3f\x9c\x33\xf4\x58\xe3\x2e\x57\xe5\x41\x58\x63\x71\x07\x64\xe3\xee\xf5\xf0\x9d\xf9\xaf\x4d\xac\xd7\xfc\xdd\x82\xa9\x40\x20\x24\xdc\x00\xfc\xae\xd5\x5c\x20\xc2\xc3\x5a\x14\xb1\xd6\xfe\x90\x5d\x96\x41\x81\xf9\x54\xe4\x0a\xac\xcc\x6a\x2e\xc8\xd3\x98\xcc\x20\x75\xb9\x2d\xcf\x6c\xeb\x32\xc0\xbc\xac\xc4\x6b\x11\x3d\x85\x28\x91\x42\x30\x28\x85\x0d\x55\xc9\x0a\x39\x9d\x1a\x82\x07\x4c\x50\x68\xcd\xa7\x02\xa9\x9f\xb8\x53\xd9\x9d\x20\x0f\x24\xd4\x48\xc5\x51\x57\x1d\xc9\x68\x2b\xcd\x5c\x41\xfd\x52\xce\x6d\x99\x39\xbb\x3e\x12\x86\xd1\xb4\x76\x0d\x1e\x7e\x56\x88\x49\x26\x12\xc2\x4f\x93\x31\xda\xb4\xad\xf2\x54\x14\xd9\x12\xe8\x36\xce\x0e\xec\x92\xd6\xce\x2a\xf3\x4a\xa4\x98\x8d\x0e\x00\x69\x86\xad\xe1\x6a\xc9\x59\xca\x4b\xfa\x82\x9d\xb1\x0e\x7c\x76\x65\x21\x10\xe2\x12\xdc\xf5\x3b\x31\x60\x63\xa1\xcb\x53\x31\x99\xa8\xa2\x1c\x80\x79\x09\xad\x83\x3c\x63\x48\x81\xda\x45\xa0\x7a\x05\x9f\xa6\x4b\x80\x8d\x30\x4d\x39\x2f\x19\xfd\xf3\xde\x48\x28\xfc\x93\xc8\xcf\x26\x5c\x66\x70\x4e\x53\x1e\x61\xb6\xfd\x0f\x56\xf6\xb9\x2c\x11\xc2\x01\xf4\xf6\xb4\x10\x3c\xe5\xe3\x6c\x05\x9d\x48\x1c\x08\x6d\xee\x13\x55\xb0\x5c\xdc\xdb\x3d\x31\x07\x2e\x4b\xcc\xac\x0a\xd7\xa4\x44\x3c\xc7\xeb\xef\xfe\x14\xd8\xfd\x7b\x33\xd7\x57\x25\x0c\x7a\x10\xd7\x45\xad\x4a\x64\xd3\x01\xd4\x5a\xdb\x44\x90\x01\x12\x8c\x62\x0a\xb4\xae\x40\xb4\x1a\xf3\xe4\x13\x14\xb5\x8e\x21\x3b\xf0\xf0\x08\x65\x4a\x44\x02\x2c\xbf\xfb\xf6\x7a\xf8\x89\xfd\x2c\x0b\x5d\x7e\x94\x73\xa1\x4b\x3e\xdf\xba\x52\xd5\x06\x31\xc5\x8c\xb9\x51\x44\x59\x37\x87\xfd\x6f\x5e\xcb\x16\xbc\xe7\x5f\x7c\x07\xa2\x29\x3c\xfa\x06\xac\x14\x59\xea\xb4\x72\x87\x86\x86\x2f\x75\xa8\x45\x5c\xff\xe0\x23\xad\x13\x78\x1a\x9c\xc5\xfe\x8e\xf6\x17\x99\x14\xaa\xf5\x7c\xdd\x97\xed\x4a\x41\x58\xa0\xb4\xde\x52\xd3\xd4\x0d\xd3\x9a\x98\x17\xc0\xd4\x18\xf1\x08\x96\x29\x59\x31\x6b\xcd\xc2\x7a\x95\xee\xb9\xa8\x74\x0f\x37\x16\x1f\x7a\xc7\xdc\xa2\x1b\xb7\xc4\xc8\xd2\xad\x51\x26\xa5\xc0\x9b\x38\xab\xe6\x3c\x77\x82\x16\x0b\xda\x39\xaf\x7f\x10\x47\x65\x6e\x22\x16\x4b\x33\x62\xe8\x2f\xfc\xb3\x9c\xf3\x8c\x65\x22\x9f\x96\x33\x8f\x7d\xc7\xb1\x5f\x7f\xfa\x09\xf1\xf7\x99\x1c\x17\xbc\x90\x22\x94\x57\x43\x84\x2f\xc5\xde\x51\x74\x4e\xb5\x30\xbf\xfd\xf8\xc3\xa7\x9f\x76\xab\xc1\xab\x5b\xe5\x33\x6c\x84\xd2\x2a\xd6\xb2\xa9\x0b\xac\xf6\xc9\xc7\x9b\xf3\x24\xa4\x50\x27\x32\x3f\x4a\xb8\x8c\x17\xd0\x7d\x8d\x85\x99\xf0\xc1\x31\x8e\x6c\x9a\xbb\x64\xf4\xea\x3a\x7e\x5a\x9a\x77\xc1\x73\xf6\xab\xa3\x5f\xaa\x28\xed\x78\x85\xca\x32\x51\x78\xcc\x82\x1e\x30\x08\xd9\xba\x16\x00\x3c\xbb\x11\xe5\x45\x53\xab\xe0\xef\x9a\x4a\x50\x1b\x85\xdd\xce\x43\xcc\x65\x09\x58\x05\x91\xf0\x4a\x0b\x73\x0c\x3c\x29\xb5\xd1\xe2\x40\xbf\x44\xcd\x12\x11\x53\xc1\x50\x56\xe2\x5e\xb7\xed\x46\xae\xde\xbd\x80\xeb\x76\x9b\x0e\xdf\xb2\x6c\x0a\x4b\x4f\xf1\x8c\x69\x91\x28\x43\x71\x96\x76\xff\xcd\x9d\x03\x48\x94\x61\xc8\x99\xf8\x4c\xf7\x58\x0f\xd9\x3b\xb3\x8d\xc0\xda\xea\x2a\x56\xa0\x19\x3b\x88\x82\x51\x43\x53\x91\x09\xfb\xea\xed\x04\x5a\x76\x84\x8e\xd2\x9f\x51\xeb\xbb\x5b\xe9\xd1\x94\xa3\x3d\xb8\x19\xa0\xf4\xda\xf3\xf4\xb7\x8d\xae\xc9\x6d\x1c\x70\x62\xfe\x95\x89\xf2\x76\x8b\x67\xba\xd3\xfb\xa3\x45\x5c\xe6\xba\xe4\xf9\xaa\xa0\xb6\x6e\xd1\xb6\xbd\x5d\xf2\xe5\xdb\x86\x05\x4b\x6a\x14\xae\x30\x13\xe5\xe9\xe7\xe5\x1f\x93\x6d\x16\x76\x38\xfa\xa3\x45\xb1\x1a\xb6\xd6\xfe\x0e\x6a\x06\xa5\x1b\x1c\x65\xd3\x2b\xc0\x0f\x81\xe7\x91\x97\x3c\x88\xef\x45\x82\x43\x7f\x0e\x9e\x7e\x60\x5e\x33\x7b\x21\x33\x26\x27\x44\x7f\x28\xe0\xbd\x54\x39\xf6\x5e\x17\xb8\xd7\x8e\x37\x02\x54\x91\x8c\x11\x46\xc1\x1c\x5e\x7c\x30\xca\x60\x36\x60\xff\xc9\x8b\x5c\xe6\xd3\x93\x01\x1c\x0a\x62\x7d\x12\xcb\xfc\xb0\x52\x22\x99\xb6\x30\xfa\x68\x0f\x96\x8f\x3d\xdb\x0f\xbd\xa0\xfe\x88\xe6\x66\xba\x26\x1b\x6d\xcd\x60\x90\x5c\x6f\x5f\xde\xc2\xb4\x5c\xbb\x94\x6d\x4e\x46\xdb\x26\x86\xd0\xe0\x75\x24\xa8\x5c\x17\x83\x5a\x6f\x46\x7a\xd2\x3e\x45\x68\x13\x1f\xb1\xdd\xe8\xfa\x19\xaf\x1d\x73\x07\x8a\xd8\xbb\x13\x7b\xdd\xf3\x81\xee\xc4\x2f\xa0\x75\x76\xe4\x25\x8f\xee\xb6\xec\xca\x47\xf6\x97\x0d\xa9\x59\xc0\x69\xe1\x26\xd8\xca\x85\x4f\x85\x5e\x4a\x95\x5b\x11\xc7\x39\x82\x06\x4c\x0e\xc5\xd0\xbc\x34\x78\xab\x1c\x8c\x55\x67\x46\x4d\xe5\x8b\x85\xc8\xad\x56\x25\xf3\x4a\x55\x3a\x43\xf1\x00\x34\x1e\x74\x73\xfd\x5d\xdd\x33\x35\x29\x45\x0e\x75\x4f\xe1\xb5\x79\x79\xea\xc6\x49\x5b\xa8\x7f\xc3\x23\xb6\x62\x95\x2a\x40\x58\x04\x20\x73\x4a\x00\xfa\xf8\x8f\x46\x98\x19\x1d\xd9\x8b\x06\xef\xfd\x74\xaa\xce\x4a\xa5\x32\x7d\x86\xb3\xc7\xff\xf9\xef\x71\xa1\x78\x9a\x70\x70\x02\x4e\xd5\xe8\xc8\x70\xa4\x7b\x0d\x61\x71\x08\x71\x2b\x8b\x2a\x29\x71\x22\x29\x6a\x21\x39\x9b\x09\x5e\x94\x63\xc1\x49\xb0\x35\x52\xed\xb4\x92\xa9\x60\x18\x7b\x03\xdc\xc7\x4f\xc5\x2a\x8a\xbc\x8c\x43\xb9\xd7\xb2\xe4\xa4\x83\x4f\x21\x09\x3d\x09\x3e\x02\x43\x25\x88\xde\x4e\x42\xd0\x38\xee\xa5\xdf\xc8\x8c\xeb\xd2\xaf\x01\x8f\x63\xdf\x3e\x04\xf3\x8d\x5f\xc9\x62\xf9\x45\xcc\xab\xf5\x09\xac\x5a\x59\x61\x1b\x50\x5c\x72\x8c\x82\xf6\xea\x9e\x9b\x6d\x13\x39\x1b\x8b\x89\x21\x62\xf1\x8e\xed\x00\x94\xc0\x23\xdd\xb4\x3f\x6d\xd4\xa8\xf5\xa1\x13\x26\xa8\xf7\x8f\xf7\xfe\xf1\xa7\xe6\x1f\xef\x3d\xdf\xcf\x46\x65\xe9\x3d\xdf\xbd\xe7\xbb\xf7\x7c\xf7\x9e\xef\xde\xf3\xdd\x5b\x1f\x7a\xcf\x77\xef\xf9\x7e\x12\x9e\xef\xde\xa7\xdd\xfb\xb4\x7b\x9f\x76\xef\xd3\xee\x7d\xda\x75\x4b\x50\xef\xd8\xee\xea\xd8\xee\xbd\xd5\xbb\x44\x43\x35\xdd\xb9\xde\x6f\xfd\xdc\x8d\x40\x4f\xd2\x6f\x1d\xda\xbf\x83\x31\x7a\xe7\xf5\x37\xab\x3e\xf6\xce\xeb\xa7\xe4\xbc\xde\x07\x6b\x79\x7a\x6e\xec\xde\x9b\xdb\x7b\x73\xf7\xe9\xcd\xfd\x5c\x8a\x1c\x53\xbe\xdb\x8b\xff\xf7\x8f\x1f\xaf\x2e\xf3\x69\x21\xb4\xbe\xe2\xe5\x6c\xc3\xe5\xaf\xb5\xf4\x25\x15\x0c\xa7\x5a\x98\x5f\xc8\xff\x49\xe5\x95\x0c\x7b\x48\x14\x38\x49\xab\x22\xd3\x98\xcd\xde\xf2\x2e\x68\xcf\x0b\x48\x81\x7d\xcf\x8b\xd4\x57\x2a\xb0\xbd\xdb\xaf\x3e\xb5\xdc\x5e\x93\x59\xdd\x05\x5a\xd7\x4f\x34\xe2\xa6\xbb\x42\x6d\x22\x69\xcf\x15\xd6\xf0\xc9\x5b\x3d\x5b\x55\x14\x7d\x0f\x17\x0a\xd3\xba\xbb\xbc\xfc\xe1\xea\xd7\x25\x5d\x8a\x4f\xa5\x69\x4a\x70\x1c\x92\x76\x58\xa4\x8c\x4f\xb9\x51\x43\xfd\x46\xa3\x94\x29\xed\x71\x10\x5b\x1f\xb2\x0b\x97\x8b\x8f\x34\x4d\x4b\xd4\x82\x94\xa1\xa9\xd4\x3c\xcb\xd4\xbd\x4d\x94\x4a\xfa\x2e\x71\x1b\xa8\xa7\x65\xbe\x31\x3a\x62\x0b\x4e\xfe\x7e\xf6\xdb\xf5\x7b\xc6\x7d\x12\xa5\xf1\x92\x5d\xff\x7c\xc1\xbe\xff\xf3\x9f\x7e\x1c\x32\x33\x59\x6d\x93\x0c\x4e\x65\x6e\x6f\xcd\xf1\xd9\x31\x65\x61\xaa\xf2\x20\x99\x27\xa4\x56\x82\x2e\xf0\xf5\xfa\x1a\x30\xa7\x20\x2d\x7c\x97\x4c\xa4\xbc\x9c\x75\x48\xbc\x78\x45\xcd\x7c\x71\x19\x3c\x78\x97\x45\x94\x87\x96\x54\x38\x0f\x7b\xdd\x71\xc5\xd0\x99\xd2\x82\xab\xdc\x59\x4a\x7c\xa2\x44\x14\xcb\xdf\xb0\x97\xec\xdd\x67\x9e\x94\x6f\xd8\x2f\xb0\x26\xfc\x8c\xd9\x4f\x38\x48\x61\xfe\x96\x2d\x87\xec\x25\xbb\x82\x84\xbd\xbe\xdd\x98\x6b\x84\x0f\x71\xdf\x1c\x93\xfa\x32\xbd\xc8\x64\x69\x4e\x01\xf6\xf8\x17\xfb\x0e\xa5\x1e\xe5\x8c\xa5\x30\x9d\xdc\xbe\x61\x41\x09\x35\xc7\x4b\xff\x9f\x5c\x4b\x3d\x64\xe7\x71\x03\xb8\xf3\x9a\x28\xa5\x19\xc8\xca\xe1\x54\xd0\x84\xf4\x62\xe8\xe3\x26\x60\x7e\x39\x3e\x3b\x66\x5a\x2c\x78\xc1\x4b\x55\x98\x61\xe9\x28\x41\xe4\x35\x03\x61\xd9\x8b\x09\x64\xca\x35\x8b\x60\x12\x98\x69\xb1\x64\xe0\xa4\xe3\xb9\x9d\xc3\xe9\xbd\x74\x99\x8b\xcd\x97\x17\xb4\xad\x66\x10\x3b\xa8\x19\x62\xc8\x3e\x28\x80\x7f\xf1\xd2\x8c\xe5\xd8\x9a\x5d\x0a\x1d\xc6\x82\x9e\x11\x26\x1d\x85\x4b\x63\x46\x52\x0d\x3d\x64\x1e\x7d\x60\x40\xa5\x02\x8c\x7c\xcc\x69\xfe\x58\x8f\xe9\x6c\xa2\xd4\xd9\x98\x17\x6e\x5d\x42\xbb\xdf\xce\xc6\xfc\x0f\xb4\x9c\xa7\x4a\x60\x67\xec\x6a\x1b\x8c\xf9\x1f\x27\x50\x74\xe4\x32\x02\x79\xdd\x50\x62\xda\x37\xec\xb2\xfd\xfa\x39\x90\x9b\x99\x01\x58\xad\x90\xd4\x5d\x64\x5c\xeb\x61\x6d\x64\xac\xa5\x04\xe8\x11\x14\x07\x38\xec\x06\x1e\x96\x70\x17\x19\x76\xa5\xa0\x76\x66\xe5\xb6\x8c\x42\x06\x29\xd4\xaf\xe8\x40\x0a\xbc\xca\xb8\xaf\x20\xbd\x0f\x47\x79\xfd\x83\x98\x0b\x1b\xd9\xa0\xe9\x4c\x49\x41\xdd\xbb\xa7\x8e\x36\x95\x2d\x68\xbe\xcd\xdb\xb1\x67\x1b\x8b\xe5\x2e\x87\xe1\xb5\xd7\x55\x26\x7e\x37\x4f\xbe\x1b\xc3\x75\xcd\x63\x95\xd7\xa8\x0e\x94\xae\x56\x15\x9a\x01\xc3\x21\x40\x0d\x4d\x5f\x83\x92\x06\x7a\xde\x67\x6e\xb6\xed\x8d\xcd\x1d\x3e\xaa\x5e\xbd\xfa\x3e\x99\x29\x5d\xc2\x7f\x09\xfa\x01\x68\x39\xfc\xf0\x57\xfc\x41\x0b\xa3\x6c\x18\xda\x8e\x3f\xb3\x53\xfa\x5f\xfa\x02\xd5\xb4\xc1\xff\x6f\x9a\xb9\x12\x19\x55\x91\x05\xb9\xb3\xcd\xa4\x2c\x17\x18\x58\x5b\x08\xe9\xae\x96\x1d\xda\x12\x5e\xf8\x0c\x2c\x1b\x83\xb7\x8f\x02\x34\x26\x9b\x75\xcf\xd1\x90\x12\x9e\xa7\x56\xf2\x02\x8a\x0a\x3e\xdd\xe3\xbf\x1e\x43\xae\xeb\x7f\x39\xee\x20\x47\x00\x7b\x69\x33\xf3\xb0\x44\x65\x00\xe4\xc2\x77\x86\x2c\x09\x28\xca\x9c\x2f\x42\x45\xd9\xef\xfc\x9e\x2c\x10\xed\x32\xdb\xd6\xf6\x88\x8e\x4f\x00\x37\x66\x8f\x0f\x80\x26\xbd\xe1\xce\x53\x0b\xbc\xe6\xf1\x96\x17\x55\x66\x13\x39\x82\x40\xc2\x64\x3e\x56\x55\x0e\x66\xb2\x1c\x9b\x69\xaa\xe3\x92\xcc\x6a\xd9\xa2\x03\x49\x24\x90\x4f\xcf\x73\x4b\x0d\x2d\x6b\x4e\x54\x3e\x91\xd3\x8a\x68\xd1\x54\xde\x09\x2b\xd0\x69\x66\xd6\x53\xe4\x86\xc8\x9d\xc2\x27\xc0\x8f\x6a\x24\xdb\x01\xcb\x14\x4f\xd9\x98\x67\xe0\x1d\x70\xa5\x7b\x6c\x75\x10\xc1\x6e\x6e\xde\x0f\x98\x9a\x4c\x44\x81\x7e\x12\xe4\xd5\x77\xb2\x28\x2b\x9e\xb9\xda\x76\xa2\x4c\x86\xec\xed\xbb\xab\xeb\x77\x17\xe7\x1f\xdf\xbd\x65\xa7\xe8\x2d\x00\x4d\xd9\x1a\x14\xcd\x46\x04\x7b\x14\x80\x38\xc6\x4b\x9b\x5f\xd3\x08\x1d\x64\x48\xa0\x8d\xb7\x5d\x86\xec\x46\x08\x92\x58\x33\xc1\x35\x3a\x71\xb5\x77\x43\x05\xca\x6c\x6f\x24\x7d\xd2\x46\xd2\xde\x8e\xf8\x5c\xec\x88\x5f\x3b\x0c\xc5\x28\x6b\x7b\xd4\xc1\x8d\x38\xb7\x79\x23\x16\x22\xf1\x20\x36\x0d\x82\xa3\xab\xc0\x15\x48\xb8\x07\xdf\x16\xb3\xf0\x53\x9e\xa7\xa7\x88\x9c\x59\xb3\x3b\xf8\xb7\x3d\xee\x0f\x0e\xd8\x72\x55\xca\xca\xaa\x66\x51\x85\xe0\x27\xb4\x47\x2b\x32\xc8\x01\x4d\xcc\x6e\x33\x9b\xed\xcb\x56\x2c\xd9\xa3\x75\xb9\xd5\xc4\xd4\x2a\x02\x79\x3b\x13\x54\xd3\x12\x1a\x54\xa2\xa0\xc2\x70\x43\x99\x0b\x28\xe8\xab\x8a\x6e\xe5\x0b\xf5\xc3\xf0\xa7\x46\x11\x4c\xdf\xab\x84\x67\xdb\x20\x63\xae\x2d\x9b\x91\x01\xa8\xe8\x5a\x4c\xa0\x22\x6d\x8e\xb5\x92\x83\x42\x3c\x8e\x2b\x91\x35\x01\x8a\x13\x2d\x78\x52\xbf\xc7\x3e\x62\x60\x12\xf4\xd1\x61\x55\x18\xda\x23\xa8\xd1\x63\xf6\x89\xfe\x7d\xe5\x12\x8b\x13\x53\x72\x5d\xd6\xd8\xe3\x82\x71\x5a\xf8\xef\x4d\x94\x04\x3d\x04\xc8\xac\xda\x0b\x77\xc3\x71\xd8\x05\x3c\x8c\x1b\x55\xa5\xcc\x86\xe6\x4e\x95\xc5\xf0\x32\x2f\x7f\x2d\x6e\xf0\xab\x6d\x44\xd8\xaf\xcd\x46\xfa\xac\x5b\x5b\xf7\x57\xbf\xfd\x83\x6a\xc1\x03\x04\xad\x9a\x94\x0a\x4b\x07\x7b\x61\xf7\x29\x0b\xbb\x5d\x10\x01\x97\x16\x11\x10\x56\x1c\x58\x39\xde\xb5\xc3\x3d\x8c\x29\xf7\x90\x80\x5e\x94\xdf\x1a\x12\xf0\x24\x04\xf9\x8e\xa6\xa0\xc7\x87\x05\x74\x93\xd9\xf6\x8d\x0a\x58\xfb\xc2\xaf\xab\x6c\x93\xad\x36\x68\x55\xcf\x7c\x8d\x76\xab\x39\x5f\x2c\x42\xe7\xa7\xc6\x08\x50\xf3\xa2\xad\xc0\x01\x86\x20\x1f\x0c\x89\x08\x5e\x6b\x65\xb5\x66\xa8\xc0\xab\x1a\xb9\xc0\xd0\xee\x29\x0c\x5d\xc0\x98\x1e\x10\x0f\x61\x44\xb0\xa6\x0e\xcc\xa8\x39\x14\x32\x5d\xf1\xb5\x36\x56\xc7\x77\x0e\x84\xba\x09\xba\x03\xaf\x34\x9f\x6d\xa1\x68\x7f\x57\xda\x41\x12\x26\x50\xa0\xeb\x7f\x5c\x81\xae\x14\x0b\x74\x59\x89\x89\xbb\xc2\x31\x66\xdc\xc1\x5a\xcf\x22\x39\x79\x42\xaf\x5a\x2a\xee\x24\x39\x1a\x1c\x75\x1b\xc1\xf4\x02\x7f\x25\x7a\xd8\x2e\xc3\x71\x65\xee\xc6\x7d\xc3\x5e\x0f\xd9\xe5\x95\x2f\x28\x48\xde\xd0\xd0\x7b\xca\xf3\x95\x5d\x02\x8b\xa2\xca\xcd\x1f\x17\x0b\xf0\x8b\x8c\x72\x46\x1e\x98\x2b\x2b\xce\x82\x2a\xeb\xbc\x4f\xa0\xa5\x59\x8e\x35\xca\xbf\xc3\x14\x04\xb7\x6f\x6e\x59\x2a\x30\xb8\xb9\xb0\x4e\xa6\x42\x98\x5b\x13\x62\xe4\xe3\xa2\x87\x76\x8e\xa3\x7c\x54\xb2\x60\xa2\xa1\xb0\xe6\x27\x8d\x05\xdd\x16\x99\x4c\xa4\x69\xf4\xe6\x4f\xaf\xe0\xfa\x80\x77\x81\xe7\x29\x0e\xf2\xe6\x87\x1f\xbe\x77\x3f\x9b\xf9\xfd\xa4\xf0\xa6\x68\xac\x73\x13\x87\x68\x3b\x38\xec\x26\x7f\x6d\xe4\xa8\x86\xab\x1a\x18\xf2\x57\xae\x9d\xad\xe3\x39\xa3\x9b\x13\xb9\x89\x43\x5d\x00\xee\x38\xaa\x4b\xd6\xdf\xee\x9c\xa3\xe5\x2c\x90\xf0\x57\xbf\x31\xca\x47\xf9\xdf\x31\xf6\x21\xc7\x3a\xe5\x8b\x42\x24\x52\x8b\xd1\x11\x79\xf1\x81\x09\x87\x17\xd4\x3c\x18\x8b\x69\x0e\xeb\x57\xa7\xaa\x5c\xbd\xbc\xe4\x15\x1c\x1d\x4d\x94\x1a\x8e\x79\x31\x4c\xd4\x7c\x74\x74\xc2\x54\xc1\x46\x47\xf7\x32\x4b\x13\x5e\xa4\xa3\xa3\xc1\xba\x8f\xb9\x2a\xad\xe4\x34\x47\x40\x34\xb3\x3d\xa9\xf2\xac\xfd\xc8\xcb\xa1\xf9\x0c\x7e\x02\x2f\x93\x6b\xe8\x1c\xfc\xec\xf8\xe5\x31\xea\x3f\x7c\xb1\x10\xbc\x30\x4f\x4a\x96\x5a\x64\x13\xf3\x1e\xbc\x47\xe5\xed\x87\x1b\x1a\x1d\x45\x49\x74\x65\xe2\x05\xb7\xd3\x80\xbf\x0f\xd9\x7f\xa9\xca\x82\xdb\x29\x34\xbf\x36\x3f\xff\x09\x9c\x29\xec\xf8\xbf\xfd\x9b\x99\x31\xcc\xf4\xda\xde\x15\xeb\x17\x6a\xba\x2f\xd0\x89\xea\x11\xe6\xb5\x67\x7f\xcf\x97\xf8\x6c\x27\xcc\xd2\x19\x3a\xc7\x01\x11\x57\xf4\xdd\xce\x9d\x8f\xdd\xc8\xe1\x86\x76\x93\x7b\x18\xae\x3e\x1c\xd8\x4c\xf0\x14\xdf\x9d\x30\x04\xca\x50\x4e\x33\xe4\x90\x7d\x17\x0d\xef\xd7\x48\x84\x76\xe7\xcf\x94\xca\x7f\x09\x6e\x6b\x35\x99\xc8\xcf\xec\x45\x21\xe6\xea\xce\x72\x10\x3c\x13\xd8\xcd\x13\x4b\x40\xdc\x26\x9b\x2f\xec\xa0\x4f\x9a\xc9\xec\xc3\x4e\xd5\xe8\xe5\x3c\xa4\x06\x78\x13\x1b\x20\xd7\xb0\x66\xa0\xb5\xde\x98\x12\x12\x0c\x70\x56\x6a\x51\xb0\x7b\xa9\xe1\x9c\x14\x66\x5e\x78\xb2\x18\xa4\x73\x97\x98\xc6\x72\xf0\x84\x2f\xc0\x1f\xa5\x26\x24\x29\x44\x34\x17\x9c\x66\xa9\xca\x8f\x2d\xc2\x80\xe7\x4b\xbc\x26\xec\xbc\x64\x99\xe0\x46\x5b\x42\x54\xca\x31\x8d\x88\xfe\x53\x90\x5d\x8e\x5d\x49\x50\x6f\x1b\xa9\x95\x03\x75\x11\x4e\xa5\x22\xe7\x1c\x68\x61\x8a\xa7\xe4\x15\x2b\xc2\x18\x19\x08\x56\x82\xf9\x9b\x59\x66\x6a\x2a\x13\x70\xfd\xc3\xe8\x86\x9e\x4c\x33\x35\xe6\x99\x6d\xb4\xc6\x10\x23\x03\x20\x43\x07\x6b\xcc\x65\xad\x79\x53\xe0\x52\xd8\xc6\x26\x27\x71\xea\x14\x52\xd0\x40\x54\x8a\x5a\x5b\x55\x1f\x09\x77\xb0\x58\xa0\x61\xbe\x50\x2d\xd2\x05\x3f\x22\x1a\x00\x32\x9e\x88\x95\xb0\xec\x5a\x74\x14\xad\x77\x98\x98\xef\xdd\x32\x20\xb0\x14\xa0\xf9\xb3\x2a\x5c\xd4\xb6\x8e\xc3\xb6\x07\x36\xf2\x99\x97\x41\x17\xb0\x8d\x89\x12\x70\x2b\xf6\x70\xd1\x94\x68\xbe\x2e\x52\xcc\x39\x72\xe7\x34\x43\x73\xce\xb8\xfe\x60\x65\x90\x3f\x65\x2e\x4b\x43\xfc\x30\x4e\xc6\xd2\x35\x0a\x28\x37\x92\xa5\xff\x24\xf0\x82\x54\x4e\xc0\x3c\x54\x3a\xab\x43\x1d\x10\x62\xcd\x22\xe7\x57\x97\xd6\xea\x21\xa7\xb9\x91\x0a\x68\xbf\x85\x76\x3c\x97\x33\xd8\x8c\xf0\x5e\x7a\x9f\x2e\x9e\x8b\x53\x86\x6d\xf1\x5f\x5e\x7c\xc2\xcc\x28\x74\xbb\x2c\xaf\x25\x8e\x6f\x21\x08\x5a\x98\xe1\xed\x33\x43\x75\xdb\x15\x5e\xa6\xfd\xf8\xb9\xc1\x6d\x3a\x40\x03\x98\xa5\xde\xf1\x1d\x51\x49\xe5\x56\xba\x4b\xe4\x9a\x79\x8d\xad\x40\x05\x07\x0e\x31\x7c\x05\x95\x0f\xbb\x28\xe7\xde\x8e\x7d\x00\x97\x93\x58\x98\x52\x05\xcb\x15\x32\x2a\x62\x5d\x83\x48\x9a\x82\xcb\x93\x3b\x55\xa5\x46\x8b\x0e\x6e\x6c\x01\x55\xec\x21\x06\x97\x32\x6b\xdb\xc5\x8f\xef\x6f\xdc\x66\xd1\x1b\x8b\x85\x68\x67\x77\xce\x7d\x21\x63\x1f\xa1\xc6\x4c\xff\x05\x64\xd9\xf9\xe1\x87\xef\x61\x83\x5d\xd1\xe9\xb9\x98\x8f\xa1\x14\x3b\xdd\x73\x38\x2e\x4b\xfa\xfc\xf3\x30\xa7\xa7\x41\x96\x58\x7a\x31\x88\xc6\xf8\x1c\xc8\xb2\x20\x15\x02\x60\x2a\x49\x54\x94\x4e\xc7\x8c\x00\xc4\xcd\xcb\xbb\xe5\xac\x50\xd5\x14\xf5\xbb\x9b\x0f\x97\x30\x4d\xb7\xcf\x03\xfb\x7a\xa5\xc5\x44\xf8\xa7\x3e\xa9\xb2\x89\xcc\x32\x2b\x7e\xd8\x16\x6e\xe1\x37\x1f\x2e\x0f\x7e\xec\x1f\xdf\xdf\xec\x01\xe9\xf2\x70\x69\xa3\xee\xd0\x5b\x27\x6f\xa0\x13\xce\x4a\x1c\xed\xae\xb8\x76\x61\xc3\xf0\xd3\x9f\x88\x9f\xee\xec\xb7\x79\x1f\x0c\xd2\xc1\x97\x18\x36\x8f\x43\xc8\xc3\xc5\x54\x0e\xf4\x65\xe6\x78\x6a\x99\xfe\x61\x2d\xff\xe6\x42\xb4\x1e\x83\xb9\xe2\xb1\xd4\x57\x16\x3c\xd7\xf0\x64\x32\xbe\x14\x05\xd3\x22\xa9\x0a\x59\x2e\x57\xac\x20\x5e\x41\xee\x68\xf2\x68\xa3\x2a\x46\x59\x40\x05\x98\x47\x54\x5a\xdb\x22\xb1\x4e\x95\x01\xfa\x63\x3e\x33\x81\x1a\xb3\xc8\x7a\x29\x71\x82\x0d\xd5\xc0\x88\xa2\xca\xea\x17\x4e\x98\x39\x23\x7a\x4f\x43\x95\x99\xbe\x11\x49\x21\xca\x18\x43\x19\x69\x0c\xc0\x2a\xb4\x28\x41\x1e\x9b\x50\x1a\xb2\x75\xd2\x5b\x44\x0b\xa4\xb6\x7b\x04\xe4\x23\x13\x93\x32\xe4\x25\xdd\x88\xc2\x3a\xde\xb7\x03\x69\xd7\xb0\xd4\x2e\xce\x39\xd7\xb0\x49\x10\xc4\x61\x1c\xdf\x8c\x90\x5c\x8e\x0d\xaa\x1c\xa9\xfb\xcf\x56\x0a\x86\xd5\xaf\x8a\xc2\xa6\x4f\xa1\xaa\x12\x73\xeb\x90\x21\xc2\x90\x5f\x47\xa1\x79\xa6\x72\x6f\xe0\xb0\x7f\xc2\xfc\x06\x19\xa4\x80\xc3\x23\x98\x64\x32\xf1\x29\xe0\x04\x1b\xc1\x95\x1a\x1d\x59\xf5\x11\xe5\xae\x8a\xaa\x2a\xc7\x56\xa9\x41\x6d\x6c\xba\x25\x70\xda\xd6\x6c\xa1\x72\x10\xda\x50\xda\xa1\xad\xf8\x7b\xac\x9e\xba\x4e\xb4\xa2\x9d\x51\xb7\x1d\x9f\xff\x24\x53\xf7\x74\xf9\x7c\x49\xc4\x4c\xdd\xbf\x95\x00\x9a\xab\x8c\xc6\x56\xfc\x22\xca\x99\xda\xe4\x53\x5f\xd3\xa3\x56\xa7\x7a\x8e\x3f\x82\xd5\xc6\x7c\x97\xa5\x61\x97\x0e\x44\xa0\x43\xe4\xf9\xad\x69\x73\x5b\x8f\x3d\x5f\xfd\x9a\x9d\xcc\x47\x30\x01\x00\x9b\x35\x77\x11\x22\xd0\x0d\x05\x19\x1d\xfd\xb4\xfc\x4d\x8b\x62\x74\x04\x47\x66\xfe\xf9\xc1\x3a\xc7\x47\x47\x68\x43\xc1\x2c\x46\x7b\x45\x45\x43\xff\x36\x37\xc0\xb6\x67\x79\x03\x2e\xcc\x96\xe3\xc3\x46\x91\x4b\xd5\x3b\x52\x39\xa1\x24\x69\x2b\x75\x88\xf8\xa7\xb3\x84\xf8\x98\x54\x30\x6c\xc5\x41\xc0\x57\x13\x07\x22\x35\xea\x46\xe1\xed\x4e\xe5\x8c\x69\x39\x97\x19\x2f\x18\x2f\xd1\xd5\x22\x28\x27\x83\x26\xbc\x3b\x48\x54\x00\x28\x5d\x70\x09\x01\x75\xb8\xa9\xfa\xcd\x0a\x39\x09\xe6\x0f\x4a\x11\x1b\x1d\xad\x9e\xf8\xe8\xa8\xf7\x42\x3f\x69\x2f\x74\xef\xa7\x7d\x2e\x7e\xda\x8e\x90\xcb\x5b\xfb\x69\x47\xaf\xf5\x93\xf2\xdd\x3e\x14\x84\xb9\x99\x1e\xb7\x02\x31\x6f\xcd\x47\xfd\xd6\x50\x18\x4e\x14\x8a\x64\xf1\x99\x63\x31\xe3\x77\x52\x15\x48\x7a\xfd\x37\xbe\x6a\x8c\x66\xcb\xf6\xb5\xeb\x56\xb7\xf8\xe1\xdb\x26\xa4\x26\x6a\x54\x4f\x64\xaf\xda\x84\xb7\x3d\xfa\xfd\xc3\x4d\x35\x6f\x16\x48\xe0\xc6\xec\x00\x81\x04\xb1\x3f\x20\xc0\xe6\xb3\xbd\x50\x79\x2a\xcb\x98\x09\xaf\x97\x59\x5c\xeb\x40\x11\x4d\xec\x6f\x16\xc8\x19\x9c\x73\x07\x43\x00\xd7\xe5\x47\xa3\xc6\xc2\x10\x7b\x0e\x99\x6f\x8d\x96\xbf\x5d\xfd\xbc\xbb\xc2\x10\x96\x05\x61\xf3\x14\x27\x4c\x2b\x2f\x5d\x73\x1b\x47\xac\x72\x97\x72\xd0\x63\x3f\xd7\x98\xfa\x29\x65\x77\x9b\x68\x4d\xcd\x6e\x1b\x33\x1e\xd2\x1f\x99\xcc\x53\x20\x52\x80\x0e\x28\xb9\xcc\x28\xef\x1d\x4d\xdd\xcd\xf3\x50\x59\x09\x6f\xb1\x15\x4d\xb2\xca\xe5\xff\x18\xc9\x48\xe5\xe2\xf4\x5e\x15\xe9\xc0\x73\x65\x46\xf9\x0b\x27\x3e\x2d\x38\x6e\xe6\xb1\xde\xc3\x5c\x9b\x69\x5e\x0b\x81\x8a\x4d\x3d\x6e\x42\x20\x60\x18\xe9\xe2\x63\x61\xd6\xf2\x33\xcf\xb4\x18\xb0\xdf\xf2\x4f\xb9\xba\xcf\xb7\x57\x45\x06\x7b\x50\xa8\x6a\xf3\x7b\xb0\x36\xb4\x17\x0d\xa7\x05\xaa\x1a\x37\x8c\x23\x3d\x03\x0d\xa2\x4f\x62\xf5\x35\x28\x0b\x5d\x20\xab\xb7\xd0\xe8\x76\xdd\x49\xef\x0b\xb6\xda\xa2\x76\x3f\xc4\xdc\xd6\xab\x44\xcf\x45\x25\xea\x04\x5d\xdd\xa0\x10\xf5\xf9\xad\x0e\x20\xd0\xee\x19\xdd\xda\x41\xdf\xeb\xc2\x9d\x6a\x48\x9a\x19\xa1\x3d\x7c\x83\x63\x5d\xd3\x06\x33\xa5\x3e\x69\x96\xc9\x4f\x5d\xc0\xa3\xe9\x46\xcb\x6e\xa7\x7b\xbe\x95\xd5\x78\xe3\x85\x6f\x98\xcc\xad\xe3\x91\xb0\x72\x05\x78\x8b\xca\x42\x4f\x57\x0d\xb9\x60\x2c\x8f\x90\x38\xd6\x5f\x23\x35\xb1\xc2\x21\xbb\xcd\x65\x76\x1b\x99\xa3\x39\xd2\xb0\x78\x2c\x89\xf9\x78\xc6\x99\x48\x29\x6f\x72\x45\x28\x39\x9e\xdd\xf3\xa5\x66\xe4\x68\xc4\x8c\xb2\x48\x42\xd6\xc9\xd4\x84\xef\xbd\x72\x80\x8f\x56\xf1\x7a\xa5\xc7\xad\xf3\x08\x98\x6d\x98\x29\xa5\x05\xe3\x73\x45\x14\x3d\xe0\x64\xe1\xba\x6d\xd0\x9a\xcb\x42\x04\xb0\x92\x99\xd2\x22\x0f\xc5\x1c\xc3\x32\x68\x28\x33\xac\xf3\x79\xe4\xd5\x5c\x14\x94\x6c\x24\x53\xf7\x46\x72\x78\x81\x08\x8e\x7b\x01\x59\xbd\x21\x07\x83\x40\x58\x11\xb4\x9a\xc9\xe9\x4c\xe8\xf2\xc4\x65\xbe\xf1\x0b\x18\x32\xf6\x8e\x27\xb3\x86\xbf\x10\x9b\xb2\xe0\x98\x82\xe7\x53\xf4\xa9\xfd\xe3\xf5\xe0\xf5\xab\x57\xaf\x5e\xfd\xb3\x21\xab\x4c\x00\x9e\x21\xa0\x6e\x80\xaa\x90\xa5\x73\xe4\x6b\x01\xe0\x09\x33\x4e\x80\x44\xd9\x7b\x5e\xb5\x45\x21\x55\x21\xcb\xe5\x7b\x43\x57\x2f\x42\x38\xc3\x5e\x1e\xd4\xd5\xda\xe1\xbb\xc5\x02\xde\xae\x9f\xdf\xad\x95\x1e\x5d\x34\x19\xe3\x6c\xfd\xf7\x56\xeb\x49\xd5\x62\xd1\x82\x64\xcb\x46\xc4\xc8\xee\x2c\x66\x38\xb8\x70\xf6\x70\x10\x6d\x94\x92\xfc\x69\xd1\x42\x32\xbf\xe3\x99\x84\x1b\x60\x64\x09\xd4\x84\x42\xc5\xa2\x59\x23\xec\x80\xd8\xb9\x85\x46\xb7\x01\x45\xc5\xeb\x5c\x44\x28\xd8\x80\x66\x00\x8d\xb1\x84\x03\x10\x64\xc1\x2a\x2c\xd6\x94\xfb\xb4\x4a\x13\x58\x0a\x20\x55\xcc\x7f\x87\x80\x3f\x04\xa3\xf8\xec\x1a\xf3\x20\xe9\x94\x7b\x9f\x90\x7f\xd9\x66\x5e\x42\xc2\x92\xc9\x04\x1d\x8a\x85\x4f\xde\x92\x2b\x3f\xe5\x28\xd7\x5b\x93\x69\x83\xed\x5b\xa0\xbd\x52\x99\x4c\x96\xd7\x66\x15\xff\x29\xcb\xd9\x4d\x85\x5a\x52\x57\xe9\x36\xfa\x53\xc4\xf4\x8d\x60\x73\xea\x1a\x97\x6a\x2e\x93\x1d\x32\xa9\xac\x7f\x89\x87\x71\xa6\xb5\xa2\x54\xea\x4d\xeb\x51\x2b\x2b\x50\x95\x2d\x4d\x54\xde\xc0\xd5\x76\xfd\x7d\xcb\x9a\x26\xb4\x32\x0d\x1d\xeb\x47\x8f\xa2\x1e\x79\x53\xdf\x7e\x6e\xd2\x9c\x2f\x4e\x3f\x89\xa5\x8e\xee\x07\xab\xbb\x56\xa3\x1b\xd1\x72\x27\xe7\x7c\x71\x20\xcb\xc5\xdf\x8c\x0c\x4b\x2f\x69\xc3\x55\x0a\x9b\xb1\x99\xca\x52\x4d\x96\x35\x60\x98\x3e\x3b\xaa\x11\x84\x50\x84\x36\x92\xae\x51\xcb\xb0\x38\x41\xeb\x5d\xca\xdb\xe1\x1c\x79\x00\xe4\x00\x28\x37\xfa\x83\xbd\xd8\x21\xf4\x00\xa3\x2c\x5e\x8e\x8e\x82\x14\x53\x59\x16\x34\xa7\xfc\x38\x81\xc2\x32\xab\xc6\xc3\x44\xcd\xcf\xfc\xde\x9f\x39\x19\xfe\x6c\x9c\xa9\xf1\xd9\x1c\x8a\x7b\x9e\x2d\x3e\x4d\xcf\x78\x55\xce\x30\x11\x9a\x99\xd5\x99\x19\x17\xfe\xdf\x70\xaa\x7c\x5a\xd7\x7b\x91\x65\xa7\x60\x18\xa3\x29\x42\x48\xfb\xc1\xfc\xf5\xb0\x75\xfb\x24\x31\xef\xe5\x5c\x96\xd7\x90\xd2\x4b\x6f\x0a\x88\x8b\xda\xd5\x25\x66\xaa\x04\x13\x4b\xc5\x09\xcf\x6d\x0c\xbe\xf8\x2c\x12\x88\x53\x2b\xe4\x74\x56\xb2\x5c\xdd\x77\xb8\x25\xff\x53\x89\x6a\x97\xaa\x2a\x4d\xab\xfc\x0f\x1c\x2b\xa6\xd4\x1b\x65\x19\xfa\xfa\x2d\x3d\x00\xb2\x3f\x06\x22\xca\x82\x17\x7c\x2e\x20\xa5\xa6\xb9\x0c\xd4\x3e\x02\xd2\x13\x44\x39\x57\xf9\x29\xf2\x59\xcb\xb3\xbd\x8d\xf3\x76\x74\x64\xe6\x26\x46\x47\xb7\xbb\x57\x3f\xf0\xc3\xb9\xd1\xf0\x6d\x5c\x83\xa9\x6d\x74\x34\x0c\xfe\x30\x17\x3c\xa7\x13\x6a\x3f\xaf\x6a\xa1\x72\xc6\x8b\x42\xde\xf1\x0c\x60\x2a\x33\x8a\xcf\xe1\xb0\x60\xc1\xaa\xbc\x94\x19\xa2\x5a\x09\x70\xed\xfa\x82\x1b\x84\xb6\x05\x8b\x79\x62\x35\x2e\x0e\xa9\x3d\x83\xd9\x3d\x70\x4a\x68\x4f\x34\x43\x7e\x49\x8c\x4c\xb3\x85\xa1\xca\x89\x63\xae\xb1\x2a\xa4\xd2\x1c\x24\x80\xb5\x54\x71\x44\x85\x2c\x6a\x6a\x83\xb9\x4a\xfa\xb4\x54\xa7\x41\x63\xf1\xd3\x72\x95\x33\xfa\x07\x73\x44\xf7\x3d\xe2\x71\x0f\xb3\x2b\xbc\xc7\x6a\xac\xeb\x65\xf6\x36\xda\xb1\xa9\x6f\xa0\x28\x6f\xa2\x28\xe6\xb4\x89\xcb\x98\x36\x70\xa7\x34\x94\xe8\xe0\x69\x4a\xa1\x04\xe5\xbd\x62\x52\xeb\x4a\xe8\x37\xa3\x9c\xbd\x84\xba\xd1\x36\x27\x25\x8c\xe4\x40\xff\x56\x86\x63\x99\x99\x8f\x2d\x37\xfb\x57\xe8\xf5\x9f\xe6\x73\xbe\xea\x15\xe4\x54\x05\x8d\x35\x9e\x90\xf8\x9c\x08\x80\x61\x0b\xec\xfe\xd7\x0e\x36\x7c\xad\xab\x42\xa4\x17\x2a\xa7\x64\xdd\xcb\x9b\x19\x2f\xda\x95\x8a\x75\xfd\x6e\xd9\x8b\xf3\x8b\x9b\x13\x1f\x0a\x80\xb4\x0a\x9f\x0b\xd8\x6a\xcc\xc4\xa2\x00\x44\x7c\x8b\x04\x38\xf7\xe9\xc3\xdd\xd2\xac\x57\xa0\xb6\x41\xc4\x7b\x97\xf4\x1a\x2b\x2a\x82\x5b\x3a\x03\x00\xd5\xdb\x3d\xbf\xb8\x71\x6a\x36\x67\x0b\xa5\x65\x29\xef\xec\x87\xd0\x3a\x80\x0c\xf7\x18\xdc\xa6\x76\x39\x34\xad\x17\x37\x17\xef\x4f\xd0\x2e\x72\x27\x53\xa3\xab\x39\xfb\x43\xd0\xf8\xd4\xe1\x57\xd3\xda\x34\x01\x4f\x6b\x36\x5f\x15\xe8\xa8\x04\x9f\x84\x2c\x18\x6d\x60\xf4\x49\x0d\x5b\x48\x34\x7b\x51\xa8\xb4\xb2\x61\x3b\x4d\xad\xd1\x82\xf0\xe2\xfc\xe2\xf7\x13\x76\x7a\x7a\xba\x6e\xfb\x6a\xfb\x94\x54\x7e\x9f\xc0\x91\x6a\xba\x9a\x4b\x08\x69\x0d\x75\x95\xcc\x6a\x2b\x78\x33\xca\x21\xb4\xd8\xfd\xdf\xf9\xc5\xef\x2f\xb2\x13\xf6\x6f\x2c\x11\x32\x7b\xc1\x6e\x2e\xde\xb3\x97\x66\x97\xcd\x8f\x67\xec\x05\xd3\xd5\xfc\x1f\xf5\x4d\xf8\xf4\x4f\x68\xf1\xe9\x84\x9d\xb0\x13\x33\xe0\x18\x6a\x4c\xd1\x7c\xe1\x8c\xe1\x9c\x04\xcf\x31\xe4\xc5\xe8\x0a\xc5\x5d\xb8\xe2\x80\x18\xbf\x20\xe3\x95\xf8\xbc\x10\x86\xfd\x2b\x9b\xc0\x17\x13\xfc\x5c\xbd\x3f\x89\xf8\xde\x0c\xd2\xcc\xc6\xb1\x36\x6a\xc2\xbe\x7f\xb5\xff\x4c\xf3\x6b\xa4\x17\xb6\xb3\xa4\x10\xcb\x43\x9b\xdd\xe6\x61\xd3\x5b\xeb\x88\x16\x54\x26\xb9\x54\x2c\x55\x4d\x44\x63\xa3\x5c\x74\x20\xc9\xff\x83\xca\x6d\xa6\x26\xaf\x58\x6f\xa0\xd8\x8d\xed\x91\x7a\x2c\x0a\x81\xeb\x8c\x84\x71\x10\x72\x9c\xb7\xc7\x07\x87\xd7\x82\x58\x64\xc1\xee\x44\x31\x26\x5b\xa7\x60\x25\x2f\xa6\xa2\x8c\x3b\xff\x76\xfd\x7e\xc8\xce\x59\xf3\x14\x5a\xcd\x21\x63\x55\xce\xd8\x0b\x7e\xb2\xce\x2e\x62\x3e\xdf\x68\x17\x81\x51\x5e\x8c\xd7\x76\xcc\xfd\x7c\x7e\xbb\x7e\xdf\x6c\x5a\xe9\xa0\xfa\xc4\xa3\xb4\x51\xfd\x5a\x73\x52\xa8\x09\xea\x5a\x15\x99\x0d\x20\xb7\x0c\x12\x95\x1f\x62\x5c\x18\xac\x9d\x24\x10\x12\xab\x9c\xff\x35\x2c\x52\x86\x31\x6f\x36\x95\xb0\x21\x3b\xa7\x6c\x74\x74\x36\x13\x3c\x2b\x67\x7f\x8c\x8e\x10\x05\x3f\xe5\x59\xf8\xa7\x97\xf8\xbb\xcc\x56\xfe\x12\x74\x80\x3c\xd8\xfe\x72\x40\xba\xdf\xb0\xe9\x99\x19\x85\x67\x5a\x6d\x6a\x64\x26\x01\x0d\xdd\xb1\x67\x19\x5b\x88\xe2\x34\x51\xf3\x85\xca\x21\xae\x0a\x5a\xb1\x64\x26\x92\x4f\x7a\x38\xca\x51\x21\x0c\xdb\x47\x97\xab\x2a\x32\x1d\x58\xc0\xc8\x44\x12\xc5\x4d\x9a\x03\x85\xdb\x24\xf2\xb2\x58\xae\x95\x2a\xf7\x1a\xfb\xd0\xd1\x34\xa0\x45\xd9\x4c\x07\xe1\x56\xb7\x5d\x26\x68\x54\xb3\xc9\x38\xc3\x1e\xbe\x8b\xe6\x3b\xb2\xba\xa7\xd0\x1a\xcc\xb2\xcf\x60\x1f\x3b\xaa\x01\xb8\xc7\x83\xf5\x6f\x79\x9f\x6a\xf9\x3a\xf3\xe7\x7a\x92\xbd\xa6\x07\x1c\x8d\x4d\x38\xc8\x00\x98\x81\xa4\x62\xb1\xc8\x24\xc6\xc6\x7b\x5a\x0a\x54\x82\x79\xaf\x26\x08\x6b\xd0\x27\x51\xb9\x96\xa9\x91\x1c\x30\x87\x01\x0a\xe1\x73\xfe\xc9\x1a\x85\x69\x88\x81\x05\x9a\x8c\xd9\x58\x04\x31\xeb\x50\xfa\x81\x88\xbe\x07\x05\x80\x63\x87\x27\x56\xad\x23\x21\x62\xdd\x4a\x1e\x4c\xfb\x75\x7d\xa4\x2d\xc8\xbf\x9d\x34\x4c\x0b\x23\x6a\xdd\xe9\x5f\xaf\xb5\xb5\x6f\xc5\x10\xae\xbb\x38\x17\xea\xed\x6b\xef\xb9\x91\x6b\x12\x77\xa0\x30\x87\xa5\x7f\xf4\x0f\xe6\xd3\x87\xb3\xd8\x36\x4b\x2c\x07\xb6\xfe\x47\xd8\xbf\x2d\x0e\xa5\x68\x38\x11\xf0\xa9\x98\x23\x39\xe0\x79\xf8\xc4\x03\xf5\xb4\x0f\xf5\x29\x99\x8e\x0d\x77\x67\x86\xa8\xad\xd0\x48\x75\xc0\x33\xfd\xa2\x07\xaa\x57\x49\x68\xd3\x59\x3a\x1a\x51\xcb\x3c\x98\x43\x05\x51\x90\xaf\x5c\xee\x51\x73\x4a\x95\xe1\x7a\x2a\xb2\x4f\xfb\xb4\x30\x89\x51\x2f\x6d\x19\xe6\x8f\xe0\x5d\x73\x9a\x71\x03\x99\x71\x45\xbb\xcc\xd5\x31\x32\x30\xde\x21\xbc\x2c\x18\x51\xaa\x91\xc8\x01\x11\x5e\xea\x52\xcc\xdf\x04\x56\x6a\x72\x72\xd2\x1f\xaa\x3c\xfe\x53\x60\x17\x77\xb4\x0a\xb5\x38\xe7\x19\xdc\x8e\x45\xef\x74\x07\xac\xfb\xe1\xc0\x07\xdf\x91\xa7\xeb\x9a\x5b\x71\x3f\xbc\x7b\x17\x1b\xd9\x06\xe3\x58\xdd\x93\x17\xfd\x11\x3c\x79\xb1\xf6\xdf\x23\x49\x9f\x34\x92\xb4\xc7\x58\x3e\x17\x8c\x65\x1f\x76\xb6\x03\x0d\x3c\x5c\x18\xda\xe8\x88\x6e\xeb\xa9\xa5\x87\xa3\xa3\x67\x17\x90\xb6\x61\x63\xf7\x13\xa0\xf6\xc4\x76\xb1\xcd\x0a\xfa\x45\x91\xbd\x1b\x38\xfd\x61\x51\xbe\xeb\x3f\xdc\x25\x94\xad\x43\xef\x88\xdb\xfb\xb0\x2f\x35\xd9\x5e\xd6\xe8\x83\xdb\x1a\xe7\xd5\x07\xb7\x75\x9f\x6b\x1f\xdc\xf6\x58\xc1\x6d\xeb\x49\x43\x4b\xb0\xdb\xe6\x8e\xb1\x91\x6a\x83\xae\xd3\x07\xc3\x7d\x0d\x2a\xcc\xce\xc1\x70\x35\xd1\x42\x8a\x43\xc6\xc4\x6d\xe0\xce\x1d\xad\x0f\xbd\xfe\xf6\xac\xf5\xb7\x87\xc6\xc8\x3d\x09\xed\xad\xa3\xa5\xeb\x2b\x88\x93\x6b\xe1\x3d\x5f\x4a\xa2\xf6\xc1\x2f\xbb\x70\xbf\x6b\x1f\xb2\x62\x93\x2d\x86\x18\x6a\xb0\xed\x52\x05\x30\xe2\x18\x4d\x0a\x18\x39\xd3\x2a\x2d\xba\x14\xd2\xef\x80\xaf\xbe\x35\x6d\x6e\x9b\x52\xe5\xd5\x50\x5f\xb1\xb5\xd1\xfa\xf4\x5c\x49\xa8\xaf\x05\xe6\xdc\x62\x8f\xd8\xe5\x64\x21\x6c\x32\x4e\x38\xb7\x0f\xd3\x2c\xe1\x10\xf7\x07\x66\xda\x08\xda\x6c\x07\x38\x89\xf4\xb6\x06\xcf\x8c\x4a\x3f\x20\x50\xd3\xd6\x27\xa1\x0f\xd6\x57\x1d\x81\xa2\xc9\x01\xe2\x51\xd1\x35\x2f\x6e\x04\x8e\xa6\x01\xf7\x02\x8f\x0e\xf0\x59\x02\x70\x6b\x4d\x28\x47\xa9\x57\x20\xa6\x74\x9a\xbe\x44\xbc\x03\x57\x0e\x19\x3b\xf7\xf8\xb6\xdb\xd1\xd1\xbb\xcf\x66\x49\xa3\xa3\xdb\x46\x4c\xf3\x1a\x60\xa5\x2d\xf2\x11\x7c\xd7\x82\x34\x5f\xb8\xa0\x50\x68\x24\xee\x04\x22\xcd\x45\x7a\x02\x7b\x96\x2a\xe8\x99\x8a\xb2\xe0\x49\xe9\x45\x82\x84\x2f\x78\x62\xbe\x00\x29\xf2\xf8\x1d\x97\x19\xe8\x95\xa5\x22\xc8\x5e\x0d\x2f\xb8\xb2\x10\xbf\xef\xe1\x4a\x5e\xf0\x93\xd6\xd5\xfc\x37\x2f\xc4\x7f\xaf\xc2\x74\x9d\x7f\x1d\xa2\x26\x5c\x5a\x4e\xc2\x81\xd2\x4d\xf3\xf3\xb6\xd9\xfd\xfc\xd4\xc5\xe7\x24\xab\xb4\xbc\x13\x58\x94\xbe\xe1\xd3\xdf\x3c\x00\xdc\x93\x0e\x7b\x7e\x7b\x04\x80\xb7\x1a\x1e\x77\xa2\xa1\x5d\x63\xd5\x1a\xad\x92\x07\x8c\x5a\x6b\x9c\xc6\xe6\x49\xb0\xc7\xd3\x5f\xbe\xe5\x20\xb6\xc6\x50\x9e\xf5\x77\xaf\xa9\xf9\x96\x31\x3d\x1d\x92\x45\xf3\x3c\xbd\x91\x7f\xb4\x32\x22\xdb\xce\x42\x44\xe6\x80\x67\x8c\x11\xf2\x04\x12\x8e\xe1\xfc\x7a\x56\x4d\x26\x99\x00\xc0\x3a\xc0\x42\x42\xc0\xb9\xcc\x4b\x85\x5c\xc1\xd0\xf1\xff\x9c\x89\x9c\x89\xdc\x06\xde\x78\xb0\x94\x45\x26\xac\xc0\xfa\x1d\x5c\xe9\x98\x62\x91\x5d\x3e\xd4\x82\xbd\x70\x2a\xec\x82\xcb\x02\x80\xf9\x33\xae\x67\x2e\x5d\x81\x80\x7f\x12\xeb\x08\x92\x07\xd8\x09\x87\x10\x0a\x9c\x22\xf2\x2d\xc1\x33\xc6\x41\x78\x70\xbc\x40\xfe\x11\xa6\xb6\x9f\x89\x42\x0c\x19\x00\xd0\x1c\xda\x4b\xb3\x45\x55\xe2\x72\x09\xe6\x82\x7b\xa3\x0a\xb0\xb1\xd0\xf8\x92\xa4\x6a\x33\xf8\x90\x05\x7b\xee\x25\x0f\x96\xf1\x62\x8a\x5b\x9d\xb3\x5b\xec\x77\x8b\x46\x19\x1f\xf4\xa1\xe5\x34\x07\xcf\x13\x14\x09\x80\xb3\x32\x1b\xa2\x95\x4b\x43\x2b\xee\xd9\x4c\xf0\xbb\x25\xe6\xa8\xb5\xcc\x58\xf3\xd2\xdc\x27\xc1\xe6\xca\xc7\xbd\xe2\x37\x4e\x86\xcc\x55\xec\xaf\xb4\x28\x4e\x27\x3c\xc1\xda\x52\x41\x21\x09\x5f\xbd\x9f\x52\xa5\xdf\x09\x36\xad\x64\xca\xa1\x86\x47\xee\xf2\x7a\x87\x95\x2b\x3a\xa0\xef\xff\xb4\x77\xf0\x3d\xac\xe9\xbd\xc8\xa7\xe5\x0c\xd8\x4d\xdb\xed\xaf\xb7\x77\x84\x76\xce\x3f\xcb\x79\x35\x6f\x0a\xa6\xa0\xc2\x67\x04\x52\xba\xe7\x12\x96\x0e\x01\x68\x18\x74\x82\x61\x68\xeb\x24\x2b\x1b\x74\xf1\x17\x08\xd5\xd1\x3a\x96\x5d\x7d\xe4\x18\xee\x5f\x9c\x22\xc2\xbe\xcb\x21\x63\x97\x93\x0d\xc9\x1f\x68\xa7\x71\x92\xff\xba\xff\x18\x07\xbc\x3a\x9d\x36\xd7\xf3\x2e\xbf\x95\xf4\x2a\xd6\x84\x3d\x21\xc4\x93\xda\x40\x91\x24\x23\x27\x8b\x85\xc8\x53\x2a\x85\x57\x62\xa0\x4a\x0d\x14\xba\x76\xab\x6e\xe8\x76\x4a\xcc\x88\xc1\xc4\x64\x22\x92\x12\xc5\xb6\x45\x21\x08\xc4\x44\xe4\xc1\x91\x33\x27\xe6\xce\xf9\x27\x5b\x38\xa7\x29\x7b\xb6\x91\x05\x7c\x56\xff\x20\x71\x82\x66\xb2\x28\x44\x26\xee\x78\x5e\x76\x7a\x0e\x3f\xfe\xb0\x9f\x83\xda\x27\x6b\xdb\x2a\x44\x63\xcb\xf8\x0c\x10\xbb\x57\x02\x34\x06\x80\xee\xad\x61\x78\x8f\x75\x1b\xd8\xb0\x01\xd3\x18\xa1\x73\xe3\xaf\xd4\x14\xbc\x37\x3b\x85\x67\x0c\x36\x81\x73\xf9\x42\xfe\x2d\x06\xb6\xc5\x3d\x93\x56\x58\xef\x9a\x9e\xa0\xb4\xa4\x27\xcd\x01\x21\x36\x3d\xfb\xae\xd0\x5f\x37\xeb\xd6\xd8\x3f\xdb\x70\x1d\x78\xff\xfc\xea\xd2\x22\xfb\xba\x22\xf8\xe3\x2e\x50\xec\xc1\x81\xf8\xbf\x3a\x04\x7f\x40\x2d\x29\x65\xcc\x4d\xa2\xda\xed\x02\x61\xdb\x46\xfb\x80\x4d\x2b\x50\x2f\xbc\x16\x70\x83\x25\xe3\x41\x15\x7b\xca\x5c\x34\xe3\x8b\x85\xc8\x35\x13\x12\xc6\xb1\x35\x3d\x23\xf0\x3b\x25\x14\x72\x7d\x21\x60\x3a\x04\xa4\xe3\xb3\xa3\x18\x16\x77\xd7\x4e\x28\x19\x4e\x54\xad\x6d\x2e\x4b\x8a\xb8\x9e\xf0\x0c\x3f\x84\xd1\x9d\xb7\xbe\xe3\x6d\x68\x7f\x21\x5b\xa4\x99\xbb\x33\xc3\x64\x51\x85\xbc\xe8\x68\xc6\x4a\x65\x82\xe7\xcd\x3b\xee\x3f\xd1\xc5\xe6\x68\x27\x13\x67\x06\x21\x78\xb9\x7f\x51\x64\x38\x31\x77\x27\x00\xec\x83\x99\xc2\xed\x0f\xc4\xe8\x3a\xcb\x14\x5f\x19\x25\xae\x6a\x29\x27\xf6\x38\x0c\xf9\xf1\x15\x57\x82\x1a\x38\xbc\x5c\x1d\x43\x15\x40\x78\x1a\xda\xc3\x9b\x1a\xb2\x20\x6b\x54\xed\x95\xe5\xcb\x40\x9e\xf5\x23\x8e\x2b\x73\x85\x30\xe0\xc9\xa5\xd0\x8a\x16\xf5\xdf\xee\xcf\x74\xc7\xfe\x3b\xbe\x64\x9a\x44\xc8\xda\x05\xc6\xf3\x45\x46\xcf\x4b\x1b\x92\x89\x89\xfc\x28\x1c\xd5\x1c\xf4\x00\x66\xe0\xac\x6d\xb5\x47\xa0\x59\x59\x54\xf5\x72\x93\x4f\xea\x85\x7b\xbf\x65\x47\x54\xfe\x5a\xb2\xe9\x89\xff\x0b\x39\x14\xc3\x01\xe4\x1f\x2b\x12\xae\x05\x90\xd1\x45\x56\x15\x3c\x3b\x81\x18\x4e\x20\x90\x04\x3b\x1b\x30\x5d\x8d\x3d\x37\x0c\x43\xe8\x06\xec\x1f\x6c\x74\x64\x6b\x3b\x8f\x8e\x06\x6c\x74\x94\xab\x54\xe8\x33\x44\x23\x8c\x8e\xd8\x3f\xad\x78\xe2\x0e\xa6\x8d\x54\xfb\x69\x3e\x2b\x4a\xfd\x45\x62\xd6\x9e\xc1\x16\x76\x34\x5a\xae\x84\xab\x79\x71\xa3\xf1\x31\xed\xd3\xdb\x72\x83\x0f\xe0\x1c\xe3\x23\xda\x33\x0e\x35\xb6\x6f\x4b\x3d\x44\xaf\xec\x94\xa2\x30\x0e\x90\x84\xa8\xd9\x49\xe6\xae\x5f\x3c\x6b\x0b\x5d\x69\x4a\x4b\x54\x88\x29\x2f\xd2\x0c\x0a\x0c\xa2\xe0\xf8\x20\xa0\x91\x63\x05\x9d\x19\x6e\xb4\x08\x62\x6c\xad\x2b\x39\x68\x12\x23\x9c\xff\xe0\x80\x2e\xbf\x0e\xd7\xce\x85\x31\x7a\xf1\x5d\x15\x72\x8a\xd6\x78\x34\x3c\x7b\x55\xa0\x5e\x27\x28\x0a\x1e\x8c\x52\x45\x51\x04\x8e\x0d\xf9\xe1\x50\x9f\xb3\x10\x82\x41\x4a\xcf\x70\xe3\x79\x1e\x7c\xf0\x2f\x66\x54\x0c\x30\x02\xc9\x1c\x6e\x12\xdd\x72\x46\xb7\xbc\xc3\xc5\xb6\x1e\xf8\x87\xbb\x0f\xa3\x7c\x61\x8d\x37\xb1\x03\x16\xc6\xde\xa1\x1d\x50\x7f\xd1\xad\xdc\xcb\x8a\x9a\x09\x53\xe3\xd7\xcd\x41\xec\xe5\x9b\xbf\x69\x51\xac\x7e\xa9\xe3\x53\x81\x0d\x6e\x7b\x15\x7b\x72\x3d\xc1\xb7\x76\x74\x3d\x39\xd8\x07\xdc\x99\x68\x94\xa6\x93\xac\x51\xfc\x7a\x7b\xda\xfb\x23\xb3\x75\x7b\x74\x61\x85\x27\xb1\x9e\x2a\x04\xad\xda\x58\x10\xd8\x70\x0f\xcd\x77\xcc\x47\x80\xf7\x74\x4d\x7e\xf7\x84\x33\xd0\xe5\xa2\xbc\x57\xc5\x27\x99\x4f\x87\x77\x51\x65\xf9\x2b\x5e\xce\x36\x9c\x49\xad\xa5\x37\x02\x82\xc5\xcb\xfc\x82\x15\x3e\x5d\xcd\x62\x76\x99\x27\x6a\x0e\x98\x99\x22\xab\xe5\x2f\x85\xf6\x86\x28\x4f\x54\x71\xcf\x8b\x94\x6a\x42\xce\xc4\x6a\xc5\xe3\xbd\xd7\x89\x8f\x37\x60\x8b\x12\xf1\xd4\x26\x82\xb0\x06\x38\x1c\xcb\x26\x3c\x16\x50\x51\xca\xa7\x12\x4b\xa4\x42\x85\x4b\x6b\xb2\x0e\x17\xbe\x06\x57\xb1\x88\x0f\xa4\x69\x4a\x70\x12\xd2\x2a\xe7\x29\xe3\x53\xa3\x17\x97\x7e\x8f\x11\x3a\x2b\xed\x49\xb8\x30\x53\x5f\x7a\x59\x62\x3a\x1c\x6b\x8e\x48\x66\xbc\xe0\x09\xf8\xdf\x52\xa9\xad\xed\xdf\xa3\x1a\x1c\x18\x8e\x67\x6c\x04\x53\x1c\x1d\xb1\x05\x2f\x4a\xe4\xd5\xbf\x5d\xbf\xa7\xf4\xcb\x32\x47\x1e\x7d\xfd\xf3\x05\xfb\xfe\xcf\x7f\xfa\x71\xc8\xcc\x64\xb5\x15\xf6\xa7\x32\xb7\x17\xe6\xf8\xec\x78\x88\x3e\xb3\xa8\x64\x36\x38\xe6\xa0\x0b\x7c\xbd\xbe\x06\xf4\x1f\xd0\xc2\x77\x90\xe0\xcc\xd0\x1f\xdb\x91\x2b\x57\xd4\xcc\x50\x20\xa8\xe9\x49\x07\x0f\x68\xe2\x45\x21\xca\x28\x2a\x0a\xce\xc3\xde\x74\x5c\x31\x74\xa6\xc4\x7c\x81\xcb\x6c\xa2\xcc\xd6\x3a\x60\xaa\x7e\xc3\x5e\xb2\x77\x9f\x79\x52\xbe\xc1\xcc\xd9\xf4\x19\xb3\x9f\x70\x90\xc2\xfc\x2d\x5b\x0e\xd9\x4b\x76\x05\x09\x67\x7c\x3b\x57\x00\x95\xfb\xe6\x98\x94\x86\xe9\x45\x26\x4b\x73\x0a\xb0\xc7\x36\x25\x37\x93\x7a\x94\x33\x4c\xa9\x06\xdd\xf0\x0b\x54\x4e\x7f\xbc\xf4\xff\xc9\xb5\xd4\x43\x76\x1e\x37\x80\x3b\x6f\xa3\xb3\xcd\x40\x56\x2b\xcc\xf8\x98\xb2\x7f\xb9\xfb\xe7\x26\x60\x7e\x39\x3e\x3b\x66\x5a\x2c\x78\x61\xd8\xdd\x30\xb0\x23\x19\xdd\xd2\x0c\x84\x44\xd4\x90\x75\x5c\x04\x58\x8c\x20\x3e\x7a\x61\x93\x25\xe3\x1c\x4e\xef\xa5\x16\x76\x91\x6a\xc2\x16\xb4\xad\x66\x10\x3b\xa8\x19\xa2\x21\xa1\x38\x84\x42\xd8\xa5\x58\xc0\x1d\x3d\x23\x6e\x98\x08\x5e\x1a\x33\x92\x6a\xe8\x21\xf3\xe8\x03\x03\xca\xbe\x62\x34\x5f\xca\x14\xcd\x5e\x88\xe1\x74\xc8\xce\x26\x4a\x9d\x8d\x79\xe1\xd6\x25\xb4\xfb\xed\x6c\xcc\xff\x18\x34\x59\xa1\x6c\x83\x31\xff\xe3\x64\x38\xca\x5f\xd6\x4a\xf9\xdf\x50\x24\xde\x1b\x76\xd9\x7e\xfd\xc0\x17\xbc\x60\xa5\x32\x33\x28\x6b\x85\xf3\x87\xb5\x91\x35\x5c\xd1\xb2\x10\xd6\x45\xcd\x31\xcb\x11\x1c\x96\x70\x17\x19\x76\xa5\xa0\x76\xd2\xe6\x4f\xc0\x9c\xf0\xa5\xa2\x9b\x69\x5a\xc0\x55\xc6\x7d\x05\xc8\xf1\x70\x94\xd7\x3f\x68\x53\x02\x42\x18\x61\xa9\x6c\x49\x56\xf7\xee\xa9\xe3\x7e\x59\xa7\x65\x1a\x7b\xe7\x9e\xd7\x55\x26\x7e\x37\x2f\xb9\x1b\x0b\x75\xcd\x63\xbb\xca\xac\x2c\x17\x4c\x8b\x4c\x24\xa5\x2a\x34\xa2\x52\x29\x05\x05\xcd\x5c\x03\x60\x1c\x33\xc1\x61\xca\x28\xe8\xf4\xe6\xec\x6c\x54\xbd\x7a\xf5\x7d\x32\x53\xba\x84\xff\x12\xf4\x03\x90\x68\xf8\xe1\xaf\xf8\x83\x16\xbc\x48\x66\x86\x64\xe3\xcf\xec\x94\xfe\x97\xbe\xc0\xee\x31\x07\x39\xfc\x7f\xd3\xcc\x05\xf0\x54\x45\xc6\x12\x55\x14\x90\x6f\x0d\xce\xcc\x12\xf7\x81\x8d\xdb\x20\xcb\xba\xe5\x72\x16\x8b\x40\xd2\x11\x71\x27\x78\xd2\x25\x6a\x5f\x93\x52\x14\xfe\x95\x19\x0a\xc1\xf3\x94\x8d\xc5\x44\x15\x54\xfe\x41\x16\xe6\x0f\x7f\x3d\x36\xd7\xea\xf8\x5f\x8e\x3b\x48\x06\xc0\x35\xda\x42\x52\x58\xa2\x32\xb3\xcf\x36\xa6\x0e\x38\x0d\xc9\x77\x8b\x10\xb4\xef\x77\x7e\x3f\x38\xa3\xcd\x02\xd8\x7e\xcd\x56\x3b\x27\x57\x87\x1d\xdc\xcf\x23\xb9\xbc\xfa\x29\x53\xc9\xa7\x0d\xef\x82\x5a\x04\xe9\xfa\x39\x5c\x3c\x99\x54\x19\x2f\xd8\xc5\xe5\xdb\x6b\xf6\xe2\xdd\xe7\x21\x1b\x1d\xbd\xfe\xf3\x77\xc3\xd7\x3f\xfe\x69\xf8\x7a\xf8\xfa\xec\xbb\x1f\x46\x47\x83\xd1\xd1\x77\xaf\x5e\xbd\x7e\x93\x8e\xff\xfc\xe6\xcd\xd9\x8f\x3f\x8c\x8e\x4e\x88\xda\x47\xc0\x05\x20\xf2\x2a\xf5\x82\x12\x14\x19\xfe\x80\xf3\x44\x0f\xaa\xa1\xad\xc7\xe6\xc9\xa5\x37\xf4\xfe\xd0\xcd\x2e\x3e\x27\x62\x51\xa2\x49\x32\x98\xa1\x99\x14\xdd\x17\xc2\xab\x90\xf1\xd3\xd5\x9d\x37\xd2\x8d\x4d\x27\x52\x54\x59\x97\x3a\x2d\x89\x4c\x57\x14\xde\xda\x5e\xc1\x66\x84\x71\x2d\x2b\x11\x2d\x97\x57\x0c\xb7\xf3\x77\xa8\xae\x40\x64\xc2\x96\xb8\xae\x6f\x20\x2a\x31\xb5\x3d\xdc\x5e\x9a\xc2\x5d\x6a\x99\xfb\x3b\xdc\xca\x38\x37\x4f\xe7\x8d\xe4\xf9\x3e\x96\xc6\x68\x12\x54\xf9\xdf\x12\x2a\x8b\x43\x21\x29\x61\x09\x43\xaa\xaa\xd4\x32\x45\x32\x04\xfb\x0e\x25\x4b\x0e\x68\x8c\xde\xfa\x9d\xc2\x85\xd9\xd3\x33\x45\x22\xb4\xe9\x99\x62\x0b\x3c\xbf\x98\x7a\x16\x3e\xa5\x12\x16\xe8\xb7\x35\xc0\x13\x95\xe7\xd8\x0c\x48\x29\xa4\x9e\x8e\x22\xa6\x22\x5d\x21\x50\x1e\xcf\x5d\xa5\x7d\x2b\x3c\x3b\x3c\x1e\xbc\xe8\xa9\xbc\x13\x56\xe5\xd2\x00\xd3\x2a\x72\x23\x86\x9c\xc2\x27\x00\xae\x6c\xd4\xce\x01\xcb\x14\x4f\xd9\x98\x67\x80\xdd\x22\x2d\x6c\xe0\xea\xf3\x0b\x76\x73\xf3\x7e\xc0\xd4\x64\x22\x0a\x34\x2f\xa3\x34\x7d\x27\x8b\xb2\xe2\x19\x14\xf6\x37\x0f\x4b\x94\x49\x1f\x10\xf9\xa4\x03\x22\xfb\x98\xc0\xe7\x12\x13\xd8\x31\xa7\xcb\xcd\x93\x8a\x01\x0c\x8d\xe6\xbb\x64\x70\x69\x24\xc6\xad\x89\x5a\x20\x00\x8a\x8c\x94\x36\x23\x8b\xc3\xca\x07\x3a\xdf\x57\x9d\x83\xa5\x79\x6b\xda\x53\xad\x50\x64\xc3\xba\x50\x82\xa7\xb1\x3d\x2b\x8c\xfe\x70\xe1\xa0\xc1\x3e\x6e\x8a\x01\xb5\x82\xc0\xfa\x60\xcf\x2d\xe2\x3c\x37\x1a\x5b\x5b\x45\x0d\x6f\x71\x75\x8a\x41\x96\x05\xa2\x03\x46\xbc\x21\x0a\xd9\x79\xe9\xf2\x94\x2d\x54\xd1\xc5\x0f\x60\x49\xfc\xd6\x37\x32\x51\x85\x80\xd4\x27\xcb\x85\x48\xdf\xab\x84\x67\x48\xb3\xba\x15\x69\xbb\x0e\xf0\x67\x3c\x67\xae\x6b\x90\xd7\x84\xfd\xbb\x3b\xeb\x00\xae\x96\xaf\xfa\x8f\x83\x4b\xec\xe4\x81\xcb\x49\x04\x71\x0b\x4d\xaa\x76\x97\x86\x1f\x8c\xa8\x03\x60\x7b\xfa\xe1\x4a\x15\x94\x37\x98\x78\x91\xeb\x46\x20\x26\xe0\x9b\xf3\xca\x48\x45\xd9\xd2\x87\x82\x39\x2c\x3c\x18\x73\x47\xd6\xab\x34\x3a\x5a\x63\xd4\xa6\xef\xed\x89\x08\xe0\x60\x5d\x8c\xf7\xd4\xd4\x1b\xec\xcd\x72\xec\x8f\x60\xec\xfa\xc9\x8a\x9e\xdb\x2c\xd7\x9e\x65\xbc\xde\xb6\x47\xbd\xd5\x6b\x01\x7b\x5d\xfb\x5b\x81\x66\x2b\x61\x5c\xf0\x63\x7c\x4f\x06\xa1\xd3\x82\x2c\xb3\xf6\x0a\x19\x7e\x82\x6a\xef\xad\xc4\x9f\x60\x84\xa1\x27\x3d\x86\x1c\x4a\x7d\x4a\x60\xee\x53\xf8\xf3\x2d\x03\x09\x06\x65\x53\x92\xd6\xad\xe5\xc7\x42\x3a\x49\x39\xc8\x23\x2b\x64\x10\xea\x61\xb3\x1b\x8b\xd4\xd5\x6e\x44\x9f\x00\x67\x5a\xe6\xd3\x2c\x36\x5f\xfa\x0b\x0e\xe9\x53\xc1\x60\xe9\xa7\x40\xb5\x20\x4b\xc8\x2e\x93\x8b\x7b\xb7\x3c\x0f\xe3\x32\xc7\xa7\xaa\xd2\x28\x32\x38\x11\x87\x12\xb4\x1a\x21\xd7\x5a\x4e\x73\x28\x2d\x22\x5d\x3d\x49\x6c\xdd\x6b\x02\xbd\x26\xd0\x6b\x02\xf5\x6d\xef\x35\x81\x55\x66\xb7\x37\x4d\x00\xa8\xde\xde\xd4\x01\x72\x01\xf5\x42\x6f\x5d\xe8\x45\x5e\x7b\x38\xc9\x17\xc6\x6f\x49\xe3\x55\x6f\xda\x64\x6f\x0b\xdb\x88\x9e\x1f\x3d\x6d\x7e\xd4\x25\x55\xd7\xa5\x69\x53\x4f\x78\xbe\xee\x94\xd7\x8e\xfa\x30\xf2\xd2\xa7\xe4\xea\x99\x6e\xd7\x94\x5c\x8e\xe5\x62\x08\x85\x65\xb7\x5f\x41\x52\xac\x1d\x18\x42\x4b\xee\xab\xbd\x30\x85\x2b\x97\xf7\xa0\x4b\xb2\xab\x96\x9e\x1e\x26\x0d\x16\x86\xf3\xab\x4b\x47\x92\x41\xb9\xad\xe9\x68\x3e\x8c\x8e\x22\x91\xa0\xb8\x8a\x35\x33\x9c\xea\x44\x2d\x44\xea\x83\x4f\xbb\x87\x55\xb6\xf3\x1a\x68\x66\xe9\x1e\x16\x70\x98\xb8\x20\x3c\xa2\x00\xf5\x8c\x57\x60\xe1\x08\xfb\xd6\x02\xc3\x83\x9c\xd5\x22\x65\x40\x75\x6c\x84\x89\x2d\x6a\x6f\x5e\xb4\x0b\xbf\xc4\x0a\x5c\x3c\xb7\xb5\xf4\xca\x99\x2c\xd2\xd3\x05\x2f\xca\x25\x62\x50\x06\xd1\xd7\x8a\xdd\xa3\x06\xb6\x20\x92\x61\x72\xd2\xf5\x3b\xb1\x5b\xe0\x42\xcb\x14\x3e\x04\x85\x9f\x6d\xc4\xc5\xbe\xa7\xd0\x25\x76\xe2\x83\x33\x74\x35\x45\x4e\xb4\x5c\x91\x8f\x51\x78\xa6\xc3\x19\xdd\xcf\x44\xce\xe0\x42\x83\x69\x0c\x0d\x05\x23\xff\xa9\xd1\x11\x0a\x1b\x74\x5f\xaa\xdc\x34\x59\xd3\xe9\x02\x1f\xcb\x4a\x02\x9a\x4e\xc0\xfa\x0e\xc1\xb1\x10\x0f\x18\x5a\x74\xa4\x93\xb9\x00\x80\x07\x49\xaa\x9a\x5e\x2c\xab\xbf\x58\xdc\x0d\x8a\x40\x5c\x9d\x3f\x7b\x41\xe6\x8d\x13\x74\x99\x07\xbb\x31\x64\x3f\xc3\x1e\xda\xca\xc2\x39\x1f\x67\xe4\x92\x8f\xc4\x13\xd7\x25\x05\x72\xa4\xd9\x44\x70\xc3\xf0\xd8\x94\x97\xf5\x50\xc6\x87\x62\xb8\x6a\x20\xf9\x7d\xc2\xa1\x57\xb4\xad\x6e\x24\x18\xf4\xae\x45\xa1\xee\x64\x2a\xe2\xe4\x82\x98\x2a\x3a\x32\xc5\x79\x1b\x58\xb7\xec\x49\x58\x64\xb5\x15\x17\xe2\x1a\x06\xd7\xa3\x9e\x58\xd0\x8f\x16\x01\x2e\xa8\xd2\x2f\xdc\x2d\x34\x70\xe1\x85\x01\x57\x3e\x5a\xd9\x53\x39\x81\xb7\x55\xb2\xd1\xd1\x24\xe3\x77\xaa\xd0\xa3\x23\x5f\x12\x38\xa8\x05\x4b\x16\x45\x6d\x3e\xeb\xbf\x37\x8c\x43\x34\x97\xaa\x82\xeb\x08\xf5\x11\xfd\xd8\x57\x71\xf2\x1f\x37\x8e\xb4\xd0\x41\xf3\xca\xc3\x41\x61\x9a\x41\xbe\x18\x47\xf5\x31\xe3\x84\x9a\x73\x99\x9f\x52\x81\xc6\x14\x51\x85\xb9\xc2\xcc\x2e\x90\x78\xe6\xbb\x7f\x7d\x15\x22\x9e\x65\xce\x32\x48\x8e\x32\x60\x80\xe1\x1c\x1d\xf1\x64\x2e\xc0\xe4\x89\x27\xe6\x8b\xde\x9a\x67\x5f\x23\x32\x72\x3e\xaf\x4a\xf3\x3e\x76\x42\x23\xdb\x95\xef\xd1\x5e\xd0\x24\x53\x6c\x12\xea\x82\xed\x27\x54\x62\xfe\x89\xa8\x4c\xa5\x4b\x35\xf7\xf4\x96\xd0\xe2\x80\xe0\x4b\x31\x0f\x16\xaf\x27\xaa\x0c\xf2\x90\xc7\xe7\x65\xe4\xf9\x05\x75\x91\x2b\x17\xd3\x21\x62\xe9\xf1\x33\xf1\xb9\x2c\x78\x90\x17\xea\x60\x86\xf6\x6e\x7a\x79\x8b\x4a\xde\xeb\xe2\xcf\x5a\x17\x3f\xa4\x12\xde\xeb\xdf\xbd\xfe\xbd\xb5\xfe\xfd\x24\x4c\xde\xcf\x43\xd7\x3f\xb0\x9a\xdf\x92\x4c\x2a\x68\x55\xf7\xe2\x16\x54\xdc\x74\xb1\x08\xe3\xe7\x34\xab\xf2\x54\x14\xe6\x39\xfb\x94\x7d\x0a\x4b\xc8\xa2\x72\x94\x41\x8a\x2e\x0b\xeb\xb7\x60\xc9\x20\x30\x2f\x0a\xa5\x42\xa0\xbd\x30\x44\x01\x53\x7b\x01\xb8\x02\x46\x04\xd4\xf4\x00\x73\xda\x14\xaa\x2a\x57\xc2\xf5\xc2\x94\x60\xa0\x1b\x60\x4e\x39\x0a\x44\xa9\xc7\x3c\x74\xe0\x91\xe6\xb3\x2d\xe4\xec\xef\x0a\x19\x31\x04\x09\x54\x59\xb6\x64\xff\x53\xf1\x0c\xf7\x01\x25\x3f\x27\xfb\x72\x46\x27\x02\xcb\x19\xac\x8d\x50\xa3\x60\xa1\x30\x3a\x2b\x15\x77\x92\x02\x56\x1c\x69\x1b\xc1\xf4\x82\xb8\x37\x8c\xd4\xba\x0c\xc7\x95\xb9\x1b\xf7\x0d\x7b\x3d\x64\x97\x57\xda\x65\x19\x26\x60\x7a\x18\x85\xe7\x95\x02\x1f\x19\x62\x74\x2e\x48\x87\xc1\x17\x0b\x88\xaf\x19\xe5\x8c\x59\x88\x37\x59\x32\x40\xf3\x70\x51\x4c\x20\x44\x5b\x4e\x35\xca\xbf\x23\x57\xfe\x9b\x5b\x96\x0a\xcc\x4c\x5b\x58\x7b\x49\x21\xcc\xad\x81\xfb\x41\xa9\x91\x16\xaa\x28\x57\xe7\x38\xca\x47\x25\x0b\x26\x8a\x48\x7a\x0a\xf7\xf3\x18\x5d\x10\x7f\x17\x99\x4c\xa4\x69\xf4\xe6\x4f\xaf\xe0\xfa\x40\x38\x0b\xcf\x53\x1c\xe4\xcd\x0f\x3f\x7c\xef\x7e\x36\xf3\xfb\x89\xea\x68\x6a\x01\x5c\x24\x99\xf1\x7c\xea\x6c\x34\x93\xca\x10\xa0\x75\x97\xb5\x29\xe0\x11\xae\x6a\x10\x39\xb2\x72\xed\x30\x6d\x13\x35\x94\x3a\x0e\x37\x0c\x61\x10\x70\xc7\x11\x6c\x64\xe3\x36\x5d\x90\x5d\x6c\x5d\x5a\xf9\xc6\x28\x1f\xe5\x70\x33\x49\x63\x1e\x1d\x2d\x0a\x91\x48\x2d\x46\x47\x14\x0d\x2a\xbd\x6a\x82\x17\xd4\x62\x11\xc0\xe4\x43\xb8\x64\x4c\x49\x59\xae\x5e\x5e\x8a\x2e\x1b\x1d\x4d\x94\x1a\x8e\x79\x31\x4c\xd4\x7c\x74\x44\x8a\xfb\xbd\xcc\xd2\x84\x17\xe9\xe8\x68\xb0\xee\x63\x4e\x19\xa2\xe0\x4b\x02\x57\xd8\x9e\x18\xc3\xe7\x3e\xf2\x72\x68\x3e\x83\x9f\xc0\xcb\xe4\x1a\x3a\xb5\x89\x1d\xbf\x3c\x46\x83\x09\x5f\x2c\x04\x2f\xcc\x93\x92\xa5\x16\xd9\x84\x71\x1d\x84\xf0\xbc\xfd\x70\x43\xa3\xa3\x08\x19\x24\x86\x72\xd3\x80\xbf\x0f\xd9\x7f\xa9\xca\xec\x9f\xb9\x87\x58\x41\xbf\x3e\x3f\xff\x09\x9c\x29\xec\xf8\xbf\xfd\x1b\x86\x63\x9f\x60\xe0\x35\xdc\x15\x8b\xe6\x68\xba\x2f\xd0\x89\xb4\xb7\xbc\xf6\xec\xef\xf9\x12\x9f\xed\x84\x59\x3a\x43\xe7\x38\x88\xb2\x4e\xf8\xbc\x15\xb6\xe0\x2c\x69\x34\x70\xf5\xe1\xc0\x66\x82\xa7\xf8\xee\x84\x21\x50\x86\x72\x9a\x21\x87\xec\xbb\x68\x78\xbf\xc6\x81\x4f\x1e\xb6\xd3\x67\x4a\xe5\xbf\x04\xb7\xb5\x9a\x4c\xe4\x67\xf6\xa2\x10\x73\x75\x67\x39\x08\x9e\x09\xec\xe6\x89\x25\x20\x6e\x93\xe3\x70\x95\xce\xc2\x90\x99\xcc\x03\xd5\xd7\xc6\x88\xba\x03\xe9\x7b\x35\xf4\x58\x2b\x6b\x8e\xdb\xc7\x48\xb2\x00\xaf\xd7\x08\x2a\xdb\x4b\x52\x82\xd0\x30\xbb\x1a\x78\x8e\xef\xd3\xc2\x20\xe1\x41\xda\x6c\xa2\xde\x92\xe2\x6d\x84\xf4\x36\x6b\xe0\xc1\x1d\x2c\x17\xaa\xd8\x3e\x31\x48\x7c\x1e\xf1\xc6\x5e\x99\x01\x37\x9a\x29\x94\xe7\xba\x4d\xdb\x70\x8e\x0c\x0a\x99\x7f\x41\xff\xc0\x64\xac\xa1\x29\x18\xe5\x9b\xc6\xb3\xdd\xc1\x8f\xb5\x7f\x23\x64\x37\xfb\x23\x08\x00\x1e\x1f\x1b\x1e\xa9\xcd\x5c\xc1\xee\xa5\x06\xe2\xa1\xf0\x42\x74\xb8\x8c\x64\x0f\x5e\x7d\x1a\xbb\x1c\xef\x16\x29\x16\xde\x46\xdf\xb5\x77\xdd\x0a\x99\x0d\x36\xcb\x7a\x5a\xc8\xfc\xd8\x25\xf4\xcb\x97\x48\xc7\x0c\x91\xc5\x92\xef\xae\xca\x83\xe7\xfa\xb5\x0f\x5a\xbb\x7f\x00\x7e\xbd\x9c\xd4\x1b\x59\x8f\x93\x28\x91\x17\xc0\x54\xea\x19\xc1\xc3\x34\x95\x7e\x42\xf6\xd6\xc2\x74\x5c\x90\xec\xc2\x52\x6a\x17\xf1\xe4\x4d\x66\x6b\xcc\x18\x35\xd3\x7b\x9b\x45\xa3\xd6\xbc\xa9\xe8\x4c\x04\xaf\xb4\x5e\x85\xd0\x83\x20\x42\x21\x3f\x6a\x6d\x8d\x53\x28\x72\x04\xb6\x3c\x58\xa1\x33\xde\x46\x2e\x1b\xb2\x05\x16\x62\x91\x51\xb6\x49\xc1\x52\xa3\xf6\x60\xa5\xf4\xdb\x1a\xe2\x94\x64\xda\x15\xb8\x29\xda\x95\xcd\x05\xb9\xe7\x45\x6a\x76\x6e\xbe\xe0\xa5\x1c\xcb\x4c\x96\xcb\x01\x7a\x6e\x08\x79\xea\xe0\xa1\xe8\xc3\x81\xc8\x7d\x7b\xde\x08\x21\x37\x5f\x17\x29\x38\x50\xd5\x9d\x33\x68\x60\x7a\xef\x8f\xb1\x95\xd2\xc8\xab\x62\x2e\x4b\xc3\xb6\x79\x01\x86\x50\xe2\xc8\x28\x50\x18\x11\x27\xf8\x64\xcd\xce\x6d\xed\x64\xf5\x90\x78\x6b\xc8\x3b\xbf\xba\xb4\xf7\x5c\x4e\x73\x23\xcf\xd2\x7e\x6f\x42\xae\x86\x31\x73\x35\x90\x2c\x79\x7e\xe6\xbc\xf8\x84\xb6\x71\x7a\xdf\x56\x4a\xac\xfb\x83\x45\xb9\x92\xaf\xd9\x25\xaf\xa6\xfd\xf8\xd9\x66\x48\x0f\xbc\x1d\x84\x2c\xae\xdd\x66\xba\x23\x61\x7e\xf5\x5d\x6a\x65\x9a\x27\xd3\x1a\xd3\xed\xe2\xe8\x8d\x44\x84\xaf\xcc\x2e\xca\x85\x0f\xc6\x81\x1f\x97\x93\x58\x0d\x50\x05\xcb\x15\x8a\x58\x2e\xcf\x4f\xa8\x07\xc0\xe5\xc9\x9d\x92\x6d\x37\x69\x25\x6d\x0d\xdb\xbb\x79\x10\xec\x07\x1d\x4d\x84\xbb\x86\x87\x07\x1b\x5e\x66\x6d\xdb\xfd\xf1\xfd\x4d\x6c\xf2\x1f\xd6\xf4\x44\x27\x5b\x18\x19\x9f\xd2\x3b\x68\x2f\xec\x9b\xfe\xe6\xa7\x01\xfb\xe1\x87\xef\xe1\x24\xe6\x55\x56\xca\x45\x66\x53\x3c\xfb\x07\x01\xe7\x6a\x61\x0a\xfe\x1d\x99\x63\xd6\x03\x0c\xd8\x75\x92\x3e\x8d\xf1\x39\x50\xd7\x40\xf1\x81\xdc\x12\x49\xa2\x30\xdd\x39\x9d\x9f\x19\x01\xa8\xa0\x57\xe9\xca\x59\xa1\xaa\x29\x9a\x30\x6e\x3e\x5c\xc2\x34\xa9\x0c\x80\xb9\xe2\xf4\xcc\xe5\x0a\xa9\x66\x93\x2a\x9b\xc8\x2c\xb3\x12\xb6\x6d\xe1\x16\x7e\xf3\xe1\xf2\x90\xf7\xe3\xe3\xfb\x9b\x47\xcf\x1e\xf0\x20\xf9\xa6\xad\x66\x4d\xd4\xce\xc9\x38\xed\xc1\x5c\x1d\x0a\x7c\x29\x9e\xfe\x84\x21\xc1\xdb\x27\x98\xb3\xc1\x3f\xef\x83\x41\x3a\x44\xa3\x85\xcd\xc3\x8c\xc7\x4d\x25\xc0\xc1\xf1\xa0\x78\x7a\x4a\x71\xcb\xc5\xc1\x7c\x5e\xe6\xd2\xb4\x9e\x80\x79\x01\xb1\x88\x09\xa5\x84\xe1\x45\x65\x7c\x29\x0a\xa6\x45\x52\x41\x45\x83\xba\x1d\x70\x2b\x67\x37\x3c\xe7\x0e\x56\x3f\x94\xe4\x78\x44\xed\xb5\xcf\x17\x40\xfa\x0e\x90\x27\xf3\x19\x28\x5d\x2f\x82\xa2\x09\x94\xa2\xc8\x25\x00\xae\xac\x86\xed\x84\xa2\x33\xe2\x1b\x34\x54\x99\xe9\x1b\x91\x14\xa2\x1c\x5a\x59\xd0\x79\xc9\x9c\xce\x0c\x2c\xc7\x46\x07\x59\xdf\xa7\x39\xc4\x71\x78\xe8\x4d\xa4\x42\x6a\x1f\x9a\x23\x27\x2c\x13\x93\x32\xe4\x49\x4f\x20\xfb\xed\x26\x3e\xa1\x61\x63\x3a\x08\xa1\x37\xae\x61\x93\xf8\x89\xc3\x38\x6e\xed\xe3\xf3\xcd\x31\x5a\xe6\xab\x72\x24\xe3\xc0\x2f\x7e\xb6\x7e\x77\xd8\x30\xe7\x51\x2e\x15\xa5\x20\x30\x1d\x0b\x55\xc1\x79\x38\xeb\x9d\x21\xe8\x8e\xe6\xf3\x4c\xe5\xde\x2a\x68\xff\x84\xa5\x4d\xcc\xfa\x45\x8e\xa7\x36\xc9\x20\x03\xba\x33\x6c\x8f\xe0\x16\x8e\x8e\xac\xcd\x05\x45\x3e\x98\xfa\xb8\x6e\xca\x1d\xd4\xc6\xa6\x8b\x05\x17\xc4\xda\xfa\x54\x0e\xf2\xa2\x2b\x8c\xe1\x8c\x53\xde\xa6\xe3\x3a\xd1\x8a\x0e\x5d\x98\x3a\x26\x16\x51\xa2\x94\x0d\xf4\x22\x6a\x17\x90\x8c\x7b\x23\x81\x5b\x2b\x66\x20\x49\xb9\xf4\x72\xa0\x8a\x1b\xb1\x53\x4d\xd8\x95\x0a\x1c\x71\xbd\x13\xfd\x09\x3a\xd1\x7b\x5f\xf3\x73\xf1\x35\xf7\x01\x56\xc3\x95\x24\x50\xad\x11\x56\x28\x50\x04\x69\xf7\x6c\xa8\xd5\x58\xcc\xf8\x9d\x54\x85\x57\x96\xa3\xc1\xb7\x11\xe2\x1e\xdf\x09\x1e\xd3\xf8\x03\xb8\xc1\xa3\x0f\xbc\xeb\xe2\x12\x5f\xd3\x63\x5d\x9e\x30\xe2\x1f\x96\xbf\xd4\xd3\x80\xa9\x0a\xfe\xbc\x63\x1a\x30\x3b\x6a\x20\x2c\x8e\x55\x39\xb3\x5e\x53\x48\x87\x47\x36\x2d\x80\x6d\x4b\xcd\xc6\xa2\xe4\xa7\x54\xd2\x36\x67\xaf\x87\x7f\xea\x90\xb9\xce\x8c\xd6\x42\x5a\xdf\x93\xd4\x9b\x42\xd9\x28\xaa\x9a\x08\xb3\x30\xd7\x4e\x55\xe5\x54\x01\x75\xc5\x09\x0f\xd9\x3b\x9e\xcc\x98\x91\x1a\x63\xa9\x57\x82\xb1\x6c\x0c\xce\xea\x4a\x63\x9d\xc2\x4c\x4d\x65\xc2\x33\xf6\xeb\x75\x43\x89\x1b\x2c\x51\xa3\x0a\x36\x97\xda\xb4\x1f\x04\xde\xa8\xb0\xc8\x03\xce\xe5\x85\xdd\x30\x72\x36\x43\x15\x19\xdc\x71\xd3\xa0\xa9\x86\x0e\xd1\x7b\xd8\x4c\xa7\x20\x45\x45\xa3\xcc\x2a\x9c\x77\xcc\x7e\x9b\x50\xaa\x5e\x46\xc4\xaa\x2a\x65\x78\x68\x76\x7a\xe1\x60\x20\x49\x92\x80\xdf\x50\x78\x67\x3f\xba\x79\x74\xb7\xc0\xb3\xd1\x51\x32\x6f\xb6\xc9\xa8\xed\xef\x46\xf3\xb5\x70\x2f\x01\x93\x4d\x5a\x89\xd4\xe5\xaa\x63\x04\x82\x0b\x6f\x0c\x02\x7d\xd7\x5e\x19\x66\xae\x34\xd9\x81\x76\xbe\x3c\xd1\xc4\x37\xdc\xa1\xa0\xdd\xc3\xae\xd2\x43\x6f\x91\x7f\x58\x02\x2b\x2d\x3f\xca\x45\x12\xb5\xa4\xec\x9d\x2e\xd2\x01\x74\x81\x6e\xd0\xa6\x75\x5d\x76\x24\xe4\x0f\xcb\xe7\xd8\x4e\xc8\x8d\x58\xd9\xc1\x5a\x61\x9a\x75\x7c\x8e\x2e\xeb\x04\x58\xdb\x3d\x5e\xdd\x16\x04\xe7\x49\x62\x1d\x76\x4f\xf1\x51\xba\x12\x4d\xeb\xdf\x23\x36\x79\x3a\x4f\x11\x54\x83\xa7\xfc\x18\x07\xbb\x31\x7d\xbc\xa5\xf5\x7b\x84\x75\xda\xe1\x12\x49\x73\xa5\xc8\xee\xbd\xf1\x2e\xf5\x62\xc1\xd7\x2d\x16\x1c\x80\x9a\xb7\x04\x40\xac\xb4\x8d\x73\x57\xc7\xc6\x1f\x5b\xc0\xa8\xb7\xe4\x3c\x65\x4b\xce\x56\xe1\x10\xfe\xa8\xed\x46\xd7\xcf\xf8\x50\x2f\xa4\x8f\x8c\xe8\xad\x55\x0f\xcc\x4c\xd0\x47\x45\x3c\xc8\x20\x74\xa8\xd8\x88\x55\x49\xaa\x23\xff\x31\x6d\x63\xfd\x41\x20\xf2\x04\x9d\x3f\x4e\x77\x50\x67\x20\xce\xb3\x5f\x0d\xff\x4f\x44\x81\x45\x6e\x40\xc2\xf1\xa0\x1b\x2c\xb2\x85\x5e\x45\x54\x32\xda\xd9\x96\x5c\xd4\xd3\xda\x77\xba\xde\x6b\x92\xe3\x6f\xba\xd1\x3e\x3d\x3e\x32\xbd\x05\x71\xd8\x3c\xd6\x9a\xa8\x59\x83\x04\x05\x11\xdf\x46\x3a\xca\xa9\xfc\x2e\xd9\x2d\x31\xdd\x01\x2d\x1e\x31\x40\x6b\xf0\x66\x0e\x36\x6a\x75\xa9\x7d\xbe\x6a\x3e\x16\x99\x1b\x77\xe3\xd3\x86\x46\x9a\x7d\xf0\x45\x8a\x51\x44\x25\xb8\x9a\xcd\x54\x81\x75\x68\xa2\xf0\x5c\x44\x76\x6b\xa6\x1d\x75\x00\x1c\xb9\x2d\xb5\xc1\xb4\x98\xf3\xbc\x94\x89\xfe\x4b\x50\x99\x14\x2a\xb4\x50\xc1\x5e\x59\x52\xe3\x7a\x35\x68\x40\xfc\x5f\x82\xdb\xca\x2e\x02\x95\x55\xad\x1c\x44\x10\xa5\xc9\xd5\xfb\x0b\x10\xe1\xfb\x99\xca\x84\x1b\xdc\x34\xbc\x72\x9a\xad\x59\x5c\x34\x30\x8d\xe4\x37\xc0\x89\xf7\xe3\xa5\xff\xd9\x6b\xbc\xbf\x9a\x23\x86\x62\x39\xb5\x05\xc0\x37\xb6\x1d\x6e\x9d\xfe\x92\x7e\xd1\x6b\xe1\xf3\x75\xd6\x0e\x95\xd4\x24\x5a\xb5\x59\xf1\x41\xef\x84\x51\xb7\xec\x6d\x58\xd9\xbb\xa7\x7e\x27\x3a\x7d\x03\x29\xcf\xb1\x66\xea\x3e\xf7\x23\xef\x1f\x9c\xb2\xaa\x1e\x75\xe5\x0a\x46\x79\x8b\xb8\x82\xf9\x61\x85\x2b\xa8\xbc\x9d\xbe\x5b\x24\x7a\x8b\x70\x3c\x21\x2c\xa9\xab\x5c\x8f\x35\xcc\x67\x02\x8b\x45\x78\x9d\x1d\xc4\x3f\x3b\x1d\x1a\x7c\x80\xa0\x15\x2d\xef\xc4\x20\x34\x0b\x91\xa1\x6b\xbc\x0c\x76\x3d\xba\xba\x89\x93\x0c\x5d\xbc\xd9\xc4\x87\x66\x39\xc2\x6f\xda\xd8\x06\xe6\x14\x9b\xda\xd8\xbf\xc3\xbd\x33\x64\x2d\x65\x2f\x50\xae\x3b\xc1\x3c\xca\x58\x05\x05\x27\xec\x00\xb3\x18\x60\xa2\x0a\x36\x2d\x04\xc7\x12\x3e\x3c\x77\xed\xa5\xcf\xff\x21\x81\xca\x9c\x67\x8b\x19\x27\xb4\x16\x64\x1d\x76\x6b\xb5\x19\x45\x90\x90\x9b\xe9\xfd\x4c\x3d\xff\x66\x1a\x8f\x6a\x4e\x20\x9c\xc6\x4a\xca\x15\x84\xa0\x9a\x03\x91\x79\xf9\xfd\x77\xcd\xd2\xaa\x51\xdd\xa6\xa1\xad\xe6\xa1\x61\x0c\x31\xf5\xaa\x4a\x99\x0d\x65\x5e\xea\xb2\x18\x5e\xe6\xe5\xaf\xc5\x0d\x4a\xc7\x9b\x49\x97\x8d\xa6\xc3\x07\x66\x71\xc8\xaa\x54\x89\xca\x82\x6c\x4d\xc4\xb8\xcd\xe5\x60\x79\x35\x17\x05\x18\x64\x28\xe9\x4b\xea\xc6\x30\x17\x3e\x6d\x90\x00\xcc\x45\xa0\xfc\x24\x29\x19\x68\xea\xb6\x19\x64\x69\x70\x3a\x18\x2c\x81\xe0\x58\x57\xa4\x1b\x0c\x28\x01\x10\x27\x8e\x83\xb3\x53\x66\xe7\x1f\xde\xe2\x70\xb5\xc8\xab\x75\xbc\x83\xfa\xb5\x41\x4d\xcd\x3e\xd9\x4f\xbc\xf8\x78\x71\x35\x60\xbf\xbd\xbd\x02\xb4\xee\xcd\xc5\xc7\xab\x13\x5b\x68\x71\xc5\xb6\x0b\x6b\x58\xc9\x0f\xe5\xb6\x26\x0d\xd0\x5c\x1f\x2f\xae\xbe\x20\xaa\xa6\x25\xda\x63\xa5\xad\x4f\x37\x13\x1c\x84\x77\x4b\xd7\x8c\xe1\x1d\xc8\x5d\xbd\xfa\x4b\xd3\x2c\xac\x15\x52\x50\x98\x24\x56\x7d\x51\x70\x2d\x17\x8b\x4c\x7a\xe3\xbc\x63\x41\xc0\x14\xd9\xaf\x75\xf7\x53\x60\xce\x47\xaa\x44\x45\x9a\x73\x15\x4d\x5c\x3a\x6e\xe6\x22\x9f\x55\xca\x5e\x80\x29\x90\x42\x14\xac\x34\xec\x98\x9a\x35\xfc\x79\x43\xdf\xc9\x80\xfd\x7a\xdd\xc9\xf8\x17\x2c\x8c\xf1\xa4\x50\x1a\xdf\x07\xc9\xcb\x8d\x16\x2e\xc3\xab\x21\x7a\xd6\x73\xcb\xb0\x98\x75\xf3\x7b\x44\xa3\xa9\xb7\x58\xc6\x23\x43\xa8\x2e\x7d\xb9\xbe\x71\x2f\x6c\xd2\x76\xb3\x33\x2a\x13\x58\x78\x4f\xe4\x1a\x91\xed\xc4\x7b\xc0\xf2\x1b\x8a\x27\x40\x89\x15\x05\x84\x2f\xed\xbd\x3f\xa9\xa7\xb0\x59\xef\xb2\x66\x07\x32\xed\xbc\xdb\x1a\xdb\xde\x6c\xc8\x5a\xa9\x5e\xb4\xe9\xfe\x5a\x68\x76\xf7\x0b\xfc\x71\xf5\xde\x42\x62\x1c\x73\x1d\xbf\xd0\x05\xf6\x19\xfe\x69\xd8\x63\xcd\x32\x65\xd8\x42\xae\x52\xd1\xf9\xca\x87\x7b\xf1\x05\xef\xbc\x4b\xfb\x83\x92\x1a\xcf\x97\x07\xba\xf2\x07\xbf\xd1\x3b\x84\x6b\x3c\x49\xb5\xea\x26\xd0\x0c\x60\x73\x83\x7a\xc6\x2b\xc7\x47\x66\x50\x7c\x44\x9a\xc2\xc5\xcc\xda\x56\x9f\x9b\x79\x42\xfe\xad\x99\x83\x8e\xfd\x54\x20\xf5\xfa\x40\xa3\x5f\x6c\x4c\x88\xc5\x8f\x2e\xec\xbb\x32\x72\x11\xf6\xf2\x51\x1e\xe4\x3a\xc6\x47\x7b\x49\x37\x2d\xe1\x36\x6c\x3b\x9e\xc9\x44\x15\x0c\x0a\x92\x45\x4e\x54\x4c\x68\x75\x27\xb2\x65\x9d\x3a\x7e\xf8\xf5\xa3\xc7\x19\x83\xa7\xb8\xab\x06\x09\xb1\x59\xf8\x00\x9a\x1e\x8d\xd5\x1e\x9d\x2b\x2e\x6f\xd2\xad\xa2\xbb\x61\x76\xfd\xe3\x72\xd1\x1a\x13\x65\x49\x1e\x3c\x6f\x30\xe8\xfa\x27\x13\x1f\x21\xe6\x0b\x41\xcb\x33\xd6\xd7\xc3\xb5\xe2\x53\xfa\xc7\xc8\x46\x03\x8c\x8e\xfe\x39\x30\xff\x7c\xe7\xff\xa5\x8a\xe8\xef\x03\x16\xfc\x75\x8d\x34\x1a\xc8\x63\x92\x84\x45\x1f\x4b\x15\xa4\x5a\x80\x88\x55\x0c\xc9\x9b\xf8\x80\xa2\x82\xbd\x0b\x0e\xf2\x2f\xfe\x4e\xc0\xda\x6c\x2d\x6b\x9e\xdb\x66\x9a\xf2\x74\x81\x85\x4f\xeb\x6a\x4e\x97\x6f\x32\x31\xb7\xe7\x1d\x81\xef\x21\x68\x0f\x8e\x82\x46\x7b\x71\x3f\x13\x68\x30\x2b\x60\xd2\x10\x68\x14\x8c\x6e\xe7\x43\xc3\x9f\xac\x19\x3f\x0c\x36\x5b\xaa\x8a\xdd\x73\xaa\x0e\x5e\x48\xd0\x87\x48\xec\x38\x05\x11\x1b\x8f\x96\x52\xe4\x61\x10\xb7\xcb\xab\x61\x23\xa0\x82\xe3\x67\xff\x08\x36\x9b\xfd\x73\xc8\xde\xcb\x4f\xe2\x1e\xf2\x14\xc8\xc6\xaf\x59\x7e\x83\xc1\xb4\x74\x0a\xb4\x71\xb9\xb2\x12\x90\xe7\x73\xc1\x4c\x7c\x9e\xd8\x70\x02\xe8\x2b\x41\x90\x06\x86\x60\x84\x33\x7a\xa1\xa5\x39\x3c\x5d\x99\x67\x66\xbf\x7d\xef\xea\x3c\xda\x1e\x0d\x47\x95\xa7\xd4\xce\x73\x46\x7b\x43\x4a\xc5\xfe\x3f\x33\x21\xb3\x76\x77\xeb\xd8\x3f\xf7\x24\xce\x3c\x52\xed\xc6\x90\xbe\xb7\x59\xff\xbb\x29\x14\x0d\x71\xf4\xeb\x35\x8a\xd5\xc6\x56\x94\xb0\x29\x04\x40\x8d\x5b\x9f\xef\x75\x5f\x99\x0c\xc2\x28\x90\x50\x17\xbe\xf1\x69\x0d\xba\xd7\xe3\xf9\x00\xaa\xeb\x4e\x29\x59\x51\xeb\x6d\x9b\xb8\xcb\x23\x00\x53\x77\x9a\x78\x98\x64\x00\x53\x92\xfc\xe9\xd5\xc9\xc3\x56\xc2\xe7\x62\x5f\x76\x8e\xbd\xe8\xab\xe6\x31\xad\xd6\x2b\xee\x54\xed\x1a\xea\x92\xbb\xd0\x30\x6d\x2b\xce\x53\x0a\x1a\x57\xf3\xd3\xa5\xfa\xa9\x8a\x2c\x30\x44\x96\xb6\x42\x3b\x64\xa9\x52\xc5\x3d\x2f\xd2\x95\x0c\x54\x1d\xee\xe5\x78\x1f\xd9\x0c\x70\x17\xb6\x48\x69\xe0\x6b\x98\x79\xc8\xc2\x6a\xd6\x8a\xc0\x29\xec\xa5\x2c\x2f\xb9\x5b\x63\x4a\xb8\xfa\x75\xa2\x41\x7c\x2a\x4d\x53\xba\xa2\x72\xf7\x4d\x49\x71\x60\xa3\x11\x2a\x21\x6b\x99\x97\xc2\xf0\x5e\x89\x09\x8e\x2c\x2f\x0c\x72\xa8\xa6\x52\xbb\xb0\x1e\xeb\xf1\xf6\xbe\x52\x9e\xb1\x11\x4c\x31\xc8\x9e\xc5\xd9\x6f\xd7\xef\xd7\xe6\xe4\xba\x82\x54\x67\x64\x77\x9c\xca\xdc\xde\x9a\xe3\xb3\x63\xaa\x10\x15\xc5\x6f\xdb\xea\xf1\x64\x70\xad\xaf\x21\xca\x1e\xb5\x53\x9e\x56\x2c\x84\xdf\x61\x87\x4d\x33\x96\x0a\x8c\xf2\xa2\x83\x97\xed\x65\xfb\x87\xae\xd8\xbe\x0d\xcb\x37\x5a\x1a\xb5\xf4\x09\x8a\x10\x5b\xf2\x86\xbd\xc4\x52\xfb\x6f\xd8\x2f\x81\x02\x66\xf6\x13\x0e\x52\x98\xbf\x19\x41\xf6\x25\xd5\xe6\xf7\xed\x9c\x94\xc5\x7d\x73\x4c\x0e\xc5\xf4\x22\x93\xa5\x39\x05\xd8\xe3\x5f\xec\x3b\x94\x7a\x94\x33\x96\xc2\x74\x72\xfb\x86\x05\xe5\x76\x18\x2f\xfd\x7f\x72\x2d\x35\xa4\x61\x09\x1b\x50\x56\x62\xa4\x9c\x66\x20\x0b\x26\x41\x6f\x9d\x73\x31\x98\x3e\x6e\x02\xe6\x97\xe3\xb3\x63\xa6\xc5\x82\x17\x1c\xbc\x17\xe7\x2e\x29\x92\x21\xa4\x66\x20\x04\x71\x1a\x61\x1e\x17\x61\x04\x1f\x28\x31\xcf\x16\x54\x62\x8f\xe6\x70\x0a\x42\x04\x2d\xd2\x68\x09\xb4\xad\x66\x10\x3b\xa8\x19\xc2\x25\x82\x33\x22\x0d\x45\xe3\x1a\x75\xd9\x2e\xc5\xe5\x5b\x2b\x29\xc1\x96\xae\xc6\x78\x69\xcc\x48\xaa\xa1\x87\xcc\xa3\x0f\x80\xcc\x4b\x82\x30\xa7\xf9\x23\xd7\x38\x9b\x28\x75\x36\xe6\x85\x5b\x97\xd0\xee\xb7\xb3\x31\xff\x63\x00\xfe\x27\xa7\x2c\x63\x57\xdb\x60\xcc\xff\x38\x19\x8e\xf2\x97\xb5\xbc\x12\x36\x66\xe5\x0d\xbb\x6c\xbf\x7e\x10\x6c\xb8\xa0\x64\x73\xf5\x2c\x0e\xab\x19\x2b\xcc\x15\x2d\x0b\x01\x0a\x85\xd9\x0a\xd8\x0d\x3c\x2c\xe1\x2e\x32\xec\x4a\x41\xed\xcc\xca\xa1\x3a\x41\x02\xfc\xaf\x54\x74\x33\x41\xa8\x37\xd7\x15\xf7\x15\x54\x95\xe1\x28\xaf\x7f\xd0\x3c\x5f\x97\xc2\xa7\x54\x36\xba\xde\xbd\x7b\xea\x18\xc5\xe9\x36\x6f\xc7\x9e\xb3\x92\x5b\xee\xb2\x17\x51\x6e\x85\xd7\xfa\x64\x58\x9d\x18\xae\x4f\x22\x18\xe1\xb6\x20\x5b\x98\xd5\x4e\x35\x03\x86\x43\xc9\x10\x68\xfa\x56\x6b\x16\x36\x57\x37\xa2\x65\xde\x9c\x9d\x8d\xaa\x57\xaf\xbe\x4f\x20\xf1\xa1\xf9\x2f\x41\x3f\x00\x2d\x87\x1f\xfe\x8a\x3f\x68\xc1\x8b\x64\x66\x68\x3b\xfe\xcc\x4e\xe9\x7f\x6d\x16\x9f\x7b\xb0\x95\xe1\xff\x37\xcd\x5c\xc4\x7b\x55\x64\x2c\x51\x45\x21\xf4\x42\x41\x3c\x8d\xe3\x02\x16\x53\x6a\x91\x57\x2e\x73\x0e\x45\x0b\x53\x82\x1d\x62\x63\xf0\xf6\x4b\xb8\xcc\x7c\x82\xbe\x29\x7a\x8e\x86\x94\x18\xbd\x22\x48\x12\x88\x79\xd0\x8e\xff\x7a\x6c\xee\xdf\xf1\xbf\x1c\x77\x90\x23\x80\xbd\xb4\xa6\x22\x89\xb3\x43\x23\x4b\x02\x8a\x32\xe7\x8b\x10\xe6\xe5\x77\xfe\x00\x96\xa9\x66\x99\xed\x60\x1a\x0d\x6c\xcc\x1e\x1f\x40\x5f\x93\xbe\xaf\x49\xff\x35\xc3\x6b\x7b\xe8\xe9\x73\x81\x9e\xf6\x81\xd2\x11\x45\xee\x0b\xd3\xb7\xec\x4f\x5f\x9d\xfe\x8b\x55\xa7\x87\x83\xd8\x15\x90\xdc\x68\xde\xe9\xeb\xd4\x3f\x72\x9d\x7a\xda\xa3\x7a\x91\xfa\x0d\x35\xea\x37\x16\x9b\xef\x92\x9c\x28\x70\x84\xc4\x26\xe9\x86\x0c\xb3\x3b\x94\xfb\xf2\x0b\x78\x7c\x90\x59\xbc\xb6\xc5\xe6\xec\xb9\x87\xb1\x1a\xf7\xa5\xec\xfb\x52\xf6\xbd\x02\xd1\x2b\x10\xbd\x02\xd1\x2b\x10\x7d\x3d\xfb\xa7\x53\xcf\x7e\x7f\xb2\x72\x5f\xd9\xfe\x1b\x64\x4f\x4f\xb8\xb2\x7d\x83\xdc\xb9\xb5\xd9\xbb\x67\xc4\xcf\x90\x11\xf7\xe5\xed\x9b\x48\xf1\xe3\xf1\x88\xbe\xd0\x7d\x5f\xe8\xfe\xa8\x2f\x74\xdf\x17\xba\xef\x0b\xdd\x7f\xb9\x42\xf7\x6b\x74\xb1\xbe\xda\x7d\x5f\xed\xfe\x6b\xaa\x76\xdf\x4d\xba\xd8\x24\xe8\x7d\xa3\x25\xef\xa3\x8d\xeb\xeb\xde\xf7\x9a\x7a\x9b\xa6\x7e\x70\x15\xbd\xd7\xce\x7b\xed\xbc\x2f\x7e\xff\x64\x8b\xdf\xef\xcf\x08\xd0\x97\xc1\xef\xcb\xe0\xf7\x65\xf0\xfb\x32\xf8\x7d\x19\xfc\xbe\x0c\x7e\x5f\x06\x7f\xeb\xf0\x9f\x43\x2a\x82\x5f\xb2\xe2\xf8\x97\x09\xce\x3d\xaf\x17\xf0\x65\x09\x5f\x40\xa0\x86\x9a\x90\xa4\x10\xd1\xdc\x0d\x55\xc6\xcf\xc3\xa4\x3a\x6a\xc2\x8e\x69\x44\x0c\x2c\x02\xd9\xe5\xb8\xa9\xbe\x78\x6c\x55\x59\x2d\x63\x58\x6e\x28\x23\xa9\x0a\x3b\x7f\x33\x4b\x48\xd3\x1f\xbb\x39\xa6\x99\x1a\x73\x97\x59\xa3\x2f\x26\xde\x17\x13\xef\x8b\x89\x7f\xd3\xc5\xc4\x57\x55\xb1\x87\xd8\x5d\xfa\x1a\xe1\x5f\x49\x8d\xf0\xe8\xd8\xb7\x28\x14\x7e\x50\x69\xa3\xaf\xff\xfd\xe5\xea\x7f\xaf\x5c\x88\xbe\x08\xf8\x37\x5b\x04\xbc\xd9\x6f\xdf\x97\xf5\x7e\x8e\x65\xbd\x55\x0a\xb4\xeb\xd7\x3b\x51\x98\x59\x6c\x78\xf6\xb6\x09\xd3\x65\x51\x81\x3d\x7c\xc5\x1e\x6b\x25\x42\x65\x9b\xd6\x1f\x7e\x51\xe5\xe8\x30\x85\x94\xa0\x5d\xca\x9f\xa6\x3f\xcb\xcf\x62\x45\x0b\xf4\x0e\xd7\xab\xe6\x9e\x6c\x27\xb7\xc3\xd0\xe9\x0f\xff\x51\xf1\xbc\x94\xe5\x86\x42\x43\x75\xbf\x31\xcd\xb4\xbe\x27\x13\xfa\x71\xc7\x9d\x59\x7b\x96\x7b\x39\xf5\xeb\x2a\x2f\xe5\x5c\xb4\x45\x61\x85\xcd\x9c\x3a\xc6\x3d\xa4\x83\x98\x97\xd1\xe8\xb0\xa5\x15\x5f\x3c\xad\x24\x95\x0f\xc9\x6d\x34\x9e\xf4\x42\xb4\xcb\x8d\x14\xe8\x7a\xf1\xb8\x41\xe3\xa2\xca\x41\x74\x76\x8d\x34\x3e\x68\xc8\x35\x1b\x7e\x41\x58\xcb\x68\x8e\x09\xd6\xa2\x54\x0e\x60\x9c\x50\x85\xcf\xbd\x5b\xa8\x3b\x09\x4e\xe5\x02\x3d\xbc\x41\x3c\x19\x2d\xe5\x4a\xa5\x3e\x94\xec\xdf\xab\xb1\xc8\x44\x89\x48\x2b\xbd\x50\x39\xd6\xdb\x83\x17\x2c\xb4\xca\x9c\x5d\x29\x9c\x11\xd0\x46\x37\xb0\x35\xcd\xda\x1b\x50\xda\x84\xb9\x5e\x0b\x4a\x45\xc9\x65\xa6\x07\x4c\x0b\xe1\xbc\x58\xb1\x0e\x9b\xaa\x44\x9f\x25\x2a\x4f\xc4\xa2\x84\xff\xa0\x4d\x39\xa3\xad\xc3\x68\xb6\xb3\xde\x29\xff\x94\x9d\xf2\x88\x44\x6a\xc3\x3a\xfd\x1d\x5b\x45\xb9\x3a\x05\x3a\xbd\xb2\x25\x58\xa7\xe8\xb5\x50\x81\xc4\x00\x8f\xe2\x32\xbd\x5e\x5c\x5f\x7a\xd3\x09\xfe\x0d\x74\xa1\x4a\x43\xfd\x51\x82\x44\x41\x0a\x5a\x7b\x7e\x0e\x1a\x65\x7e\xa7\xba\x92\x24\x38\x99\xf7\x65\x33\xce\x3b\xe0\x95\x4a\x05\x1b\x55\xaf\x5e\x7d\xf7\x23\x7c\xad\xa6\xf4\xb1\x4b\xb4\xee\xda\xdc\xa8\x94\x95\x85\xbe\x5c\x90\x30\x77\xc7\x65\xc6\xa9\x80\x25\x66\xf0\xc2\x54\xd6\x66\x65\xae\xa5\x95\x2c\xcc\xab\x42\x7e\x5f\x40\x3d\x0a\x79\xc7\x33\xc8\xce\x15\xf6\xad\x21\xb1\xb8\x1d\x86\x25\x1c\xf0\x5b\xa3\xa3\xa2\xca\x93\xd1\x11\x9b\xcb\xe9\xcc\xab\x8f\xbe\x88\x47\x95\x27\xec\xd7\x8b\x4b\xb7\xc9\x2f\xb0\x50\x85\xe1\xef\x77\x82\xbd\x97\x79\xf5\x39\xa0\x49\x27\x2b\xa9\x89\x0c\xdd\xb2\x70\x9f\x15\xba\x65\x36\xd7\x1e\xaf\xb5\x1e\x65\xea\x5e\x14\x98\xb1\xd8\xec\xa1\x2a\xe6\x76\x8b\xdf\x7e\xb8\x61\xef\xd1\x2f\x71\xfd\xf3\x05\x7b\xfd\xfa\xbb\xef\x4f\x2c\x64\xc8\x9c\x2b\x65\xb0\x7d\x20\x36\xab\xc7\x52\x3c\x17\x2c\x45\xc7\x90\xc3\x2f\x1a\x56\xa8\x56\x05\xd1\x4e\xcb\x5e\x95\x64\x37\x2d\xd1\xc9\xb2\x0f\x93\x60\xa3\x3c\x0e\x21\x87\x1f\x36\xf3\xee\x51\xde\x89\x7b\x1b\x56\x97\x56\x46\x0f\x3c\x15\x77\x12\x80\x75\x67\x0b\x95\x9e\xda\x49\x9d\x8d\xf2\x1a\xf4\x32\x87\xcc\xc6\x4c\x97\xbc\x80\xc7\x76\xf7\x7a\xf8\xfa\x4f\xf6\xf1\x83\x25\x6d\xa6\x72\x55\x50\x69\x66\x7a\x5f\x40\xd3\x10\xd7\x6c\x05\x1b\xb7\x2f\x04\x62\x5e\x97\x46\xc1\x4d\x70\xe7\x63\xba\xf1\x43\x6c\x44\xf6\xb8\x66\x6c\xa6\xb2\x94\xf2\x11\xfb\x1f\x13\x95\xeb\xb2\xe0\x90\x54\xa3\x56\x03\x00\x98\x97\x3d\x2e\xd2\xe9\xa4\x8e\x85\x4f\x60\x5c\x38\x1a\x52\x67\x33\x3d\xda\x19\x9b\x48\x50\x62\x66\x8a\xe0\xa3\x52\xb3\x5c\x66\x83\x86\xf1\x42\x8e\x06\x45\x24\xbc\x20\x6c\xc4\xcd\x0c\x4b\x31\x6c\x86\x6f\x36\xa3\x85\xac\x68\xf0\x98\x78\x21\x73\x54\x9b\x90\x42\x91\xfa\xb0\x1e\x2a\xb4\x0d\x4a\xa8\x41\x31\x69\x41\xa3\xd6\x9b\xc6\x09\x0e\xa3\xd3\xe9\x4b\x10\x7f\x0d\x42\xf0\x93\x2a\x41\xdc\xa4\x28\x3f\xc4\x8a\xd6\x0b\x53\xcf\x45\x98\xea\x6b\x0f\x3f\x3e\x93\xd9\x63\xd1\xe1\x55\x31\x64\x43\x65\x04\xcf\xfa\x63\x9d\x7b\x8d\x20\x32\x01\x37\xaf\x11\x24\x88\xfd\xa3\xc0\x18\x09\x88\x1d\xaa\x26\xa8\x74\x6d\x75\xdd\x6e\xf6\xcf\xae\xd6\xff\xda\x72\xc3\x0f\xc3\xc5\xd5\x36\x25\x37\xa6\xab\x25\xbd\xd4\xd6\x3f\x55\x79\x93\xd4\xb4\x22\x1b\x0d\xb1\x9a\xa8\x2d\xeb\x58\x97\x9c\x1c\xa8\x73\x5c\x93\xc8\x38\x5a\x12\x2c\x50\xcd\x16\x03\xd2\xae\x7a\xe9\x8a\x45\x31\x9a\xbf\xd4\x6c\x2e\x8a\xa9\x07\xf6\x61\x5d\x2c\x40\x21\x81\xde\x1e\x34\x1e\xb2\xf3\x7c\x19\x39\x02\xb2\x8c\x21\x08\x94\x8c\x72\x24\xd5\x21\x63\x45\x93\x20\x4f\xe7\x52\xeb\xf5\xb0\x83\x15\xa3\x6d\xe8\x2e\x57\x99\x40\x83\x48\x1b\xc3\x0b\x5a\xa2\x65\x64\xb1\x10\x79\x2a\x52\xf6\x02\xea\x45\x80\x77\x3a\xad\x16\x19\xd6\x1c\x3d\x31\xf3\xec\x22\xff\xa6\x55\x81\xf1\x4b\xb4\x86\x01\x13\x50\xa1\x06\xaa\x1d\xb1\x2a\x97\xca\x99\x24\xa9\x90\x12\x1d\x35\x4e\x27\x2c\x49\x8a\xa8\x94\xba\xa9\x73\x4f\x7c\xd8\xe5\xad\x73\xdb\xd0\x95\x0b\x47\x7f\x8a\xc8\x95\xb9\xd9\xa7\xae\x71\xa9\xe6\x32\xd9\x9f\x69\x1d\xdd\xa9\xbd\x57\xe5\x1b\xf4\xaa\xe0\xd1\x7f\x4b\xae\x95\x17\x89\x45\xf0\x9c\x3c\x3f\x37\x4b\x20\x97\x89\x7c\xc6\xf3\x04\x4d\xab\x67\x9f\xc4\x42\x83\x30\x66\x8e\x3d\xf6\xb2\x0c\xe7\x69\xaf\x62\x3e\x65\x15\xb3\xf7\xb3\xf4\x7e\x96\xde\xcf\xd2\x9b\x06\x7a\x3f\xcb\xce\x7e\x96\x9a\x80\xfb\x04\x9d\x2d\x5b\x72\xf0\xef\x5e\xbd\xfe\xf3\xab\xef\xbe\xfb\xf1\x34\xf4\xb4\x0c\xe7\x69\x2d\x1e\x83\x67\x8b\x99\x2d\x21\xc9\x81\x26\x06\x19\xaf\xef\x5e\x0f\x5f\xff\xeb\xe0\x29\xfb\x5d\xf0\xd8\x7a\xe7\x0b\xed\xed\xf3\x77\xbe\x6c\x1d\xa7\xbd\x4e\x89\xe9\xdd\x30\xdf\x96\x8c\xfc\x04\xdd\x30\x0d\x9a\x75\xef\x8b\xe9\x05\xae\xde\x17\xc3\x9e\x9e\x2f\xe6\x41\x7c\xa7\xf7\xca\xf4\x5e\x99\xde\x2b\xd3\x7b\x65\xf6\xe6\x95\x59\xa8\x4c\x26\x4b\x33\xd7\x2b\x95\xbe\x95\xba\xa8\xe0\x0c\x7f\xaa\xd2\xa9\xd8\x24\xd5\x36\xb4\xa6\xe2\x47\xc4\xde\xc1\xb4\x6e\x04\x4e\xca\xec\xf3\x99\xa5\xae\x3d\x3e\x3d\x5b\x18\x92\x5b\xc3\x54\x3d\x5f\x9e\xb9\x11\xbd\x28\xfc\x94\x45\xe1\x5e\x50\x7c\x2e\x82\xe2\x37\x59\x74\x65\x23\xf1\xeb\x54\x72\x05\x83\x65\x83\x0a\xe1\xb6\xf6\xca\x58\xcc\xf8\x9d\x54\x85\xab\x1c\xbe\xfa\x81\x75\xa6\xac\xdd\x2a\x2c\x6e\x5e\x4b\x7b\xd0\xf5\x2f\x90\xba\x41\x24\x98\x6f\x40\x8d\xc1\x26\x97\xd6\x22\xad\x5b\x56\xd1\xc6\x84\xf6\x28\x91\xe3\x72\x9b\x85\xf1\x26\x4e\xb6\x17\x6c\xd4\xc6\x3d\x6e\x31\x03\xad\xe9\xd1\x94\x27\xb6\xa1\x69\x6f\x13\x7a\xda\x8c\x70\x47\x9b\x50\xd3\x49\xef\x47\x02\xdd\x2c\xd7\xf5\xc6\xa1\x9e\xe7\xf7\x19\x64\xbf\x1c\x3b\xda\x1f\x5c\xb7\x5d\x84\xd9\x8a\x25\xd9\x32\x72\x9c\x05\x6d\x31\xa7\x64\x23\xef\x6f\x65\x4a\x73\xfe\xf9\xb7\xdc\xa1\x28\x1e\xbf\xa2\xeb\x79\xce\x6c\xa4\x18\xb3\x95\x0b\x44\xca\xe4\x84\xf1\x92\xcd\x8d\xcc\x33\xaa\xcd\x71\x74\x84\xa6\x08\xb4\xd8\xa0\xc9\x60\x74\x64\xed\x37\xa3\x23\xb0\x67\x54\xbe\x3d\xe3\x93\x52\x60\xfa\x12\xfb\xa5\x01\x93\x43\x31\x64\xe2\x4e\xe4\x60\x72\x19\x6b\x4c\x6e\x36\xf1\xad\x44\x8a\x78\x8b\x08\x0b\xa2\x72\xcc\xe1\xba\x28\x4c\x57\x84\xa3\xdc\xa9\xac\xca\x4b\x5e\x2c\xdd\xe8\x1a\x5c\xa6\x08\x0b\x31\x94\xf4\x95\xcf\x9c\xcf\xd9\xbc\x2a\x11\x65\x06\x76\x16\x2d\xef\x84\x4b\xb2\x02\x36\x95\xd1\xd1\x5c\xe6\xe7\x7e\xad\x6b\x84\xd0\xb0\xd1\x13\x3b\x34\x4c\x1d\x58\x5f\x47\xcb\x99\x81\x69\x4c\x97\xb6\xca\x6b\xf7\xb3\x33\x7f\xda\x74\x7e\xec\x46\x81\xfd\x94\xce\x10\x0a\x58\x6c\x7f\x84\xa3\xa3\xd7\xaf\x5e\xfd\xdf\x6b\x4f\x43\xaf\x31\xab\x3e\x84\xf6\xf3\xb1\xc8\x9c\xb9\x76\xd3\x61\x20\xbe\xe7\x7f\x2a\x51\x2c\x31\x3d\x1f\xec\xf4\xfd\x4c\x69\x11\xac\x87\x12\x49\xf0\xa9\xb7\xb1\x05\xf6\x9e\x31\x92\x0b\x76\xce\xf2\xca\x1c\x84\xb5\x76\xc2\xb1\x60\x2a\xa1\x1c\x2d\x80\x90\x1a\xcf\x1c\x4c\xce\xc4\x7c\x51\x2e\xd9\x8b\xff\xf3\xbf\x27\xb5\x0e\xf8\x2f\xd8\x5a\x9c\x8b\x2c\x67\xf5\x4a\xda\xc3\x0d\x96\xb4\x85\xf9\xe0\xa9\x2e\x0b\x5e\x8a\xe9\xd2\xac\x91\xd2\x21\x1e\xda\x9e\xd6\x9a\xc7\x6b\x6d\x9f\xa8\xe4\x4f\x63\x19\x19\xaf\xa8\x35\x93\x6a\x46\x03\x19\x29\xaa\x2c\xb8\xcc\xf0\x6a\x27\x86\x5c\xf8\xe4\x60\x9c\xe9\xa5\x2e\xc5\xbc\x5b\x05\x1a\x34\xea\xb7\xc9\xbd\x17\xae\xa1\x85\x9c\x31\xdf\x17\x1e\xcf\xd5\xdb\x9f\xd0\x2e\x1e\x5c\x99\x20\xfb\x93\x16\x84\x8b\xf1\x8b\x3a\x27\x92\xe0\x06\xc2\xfe\x3e\x1d\xaf\xb9\x8f\x9f\x72\x75\x9f\x5b\x84\xa0\x2f\x21\xc6\xb5\xca\x09\xb6\xf2\x22\xa8\x4f\x82\x7f\x30\x73\xa4\xa2\x31\x3c\x0d\xb2\x63\x61\x72\xe9\x93\x37\xec\x94\xdd\x2c\xf3\xe4\x67\x2e\x33\x91\xbe\xa9\xa7\xa7\x14\x79\xa2\x2a\xa3\xd8\x88\x14\x6e\x70\x51\x40\x15\xb1\x94\xdd\x73\x9d\x1f\x97\x0c\x91\x2d\x0a\xd2\x65\x56\xa5\x80\xf4\xdc\xc1\xff\xc1\x0d\xae\xe6\x63\x01\x66\x03\x4b\xf6\xfc\xa6\x20\xf8\xb1\x40\xb8\x6e\xae\xc2\xbf\x98\x05\xd7\x87\xb3\x03\x58\x43\x77\xac\xcb\xbb\xad\x73\x00\xc1\x9f\x79\xa6\xc5\x70\x94\x9f\xb2\xcb\x1c\x52\x00\x27\x46\x96\xbe\x52\xa9\xc6\x85\xfa\xa9\xc1\xb3\x03\x90\xa3\x84\xf2\x68\xbc\x64\xaa\x60\x63\x61\xb3\xb0\x62\xcb\xfa\x7c\xf0\xff\x5c\xdd\x2d\x22\x13\x8d\x97\xf5\x43\xeb\xe2\x1e\xba\xc4\x9b\xd5\x05\x16\x08\xdc\x04\xbc\x14\xac\x10\x4a\x01\x75\x99\x6f\xd3\xe4\x3e\x36\x4e\xe0\x63\x61\x95\xdd\xc6\xc3\x6e\x1a\xa8\xb6\x11\xb6\x9e\x54\x03\x9d\xd5\xf6\x59\xd0\x9b\x5d\xee\xc7\x9d\xb1\x81\x8d\xb8\xb7\xbd\x27\xff\xc6\x9c\x2f\x4e\x3f\x89\xa5\x8e\x44\x6e\x3f\x4c\xf0\xd3\x3f\x3b\x7a\x4a\xe6\x7c\xd1\xca\x0a\xc0\xe3\x66\xbe\x0b\xae\x2b\xd3\x71\x1b\xe6\x01\xbd\x9b\x19\x37\xc1\xff\xff\x2e\x78\x56\xce\x96\x2d\x74\xd2\x26\x37\xf4\x97\x62\x86\xfd\x62\x47\x08\x74\x45\x0e\x60\x7a\xc9\xbc\xfc\xfe\xbb\x66\x75\x52\xe6\xa5\x98\x7a\x70\x56\x3c\x35\x32\x54\x76\x9b\xda\x5c\xe6\x72\x5e\xcd\x9d\x75\xf3\x91\xa6\x88\x17\x5b\xa4\xe6\x85\x3e\x52\x48\x8e\xbf\xda\x1f\xe5\x7c\x43\xca\xd7\xda\x06\xbd\x0d\xa7\xea\x73\x56\xae\xb2\xea\x06\xe1\xc9\x30\x07\xf3\x62\x13\xa1\xb5\x7f\xd5\x90\x8b\x18\x2c\x1f\xbe\xa1\xae\xc6\xce\x5a\x62\x51\xe3\xe3\xaa\x64\x33\x8e\x25\x1a\x96\xa2\x64\x63\x21\x72\x6f\xbe\x5d\x4f\xb3\xa2\xca\x5b\xe7\xe0\x10\xb5\x34\xca\x66\x7b\x9c\xf3\x85\xb7\xb2\x00\xd4\xfc\xde\xa6\x99\x0f\x66\xe7\x67\x1e\x8a\xd1\x2e\x11\x3d\x59\xfd\xe2\xee\xe6\x6b\xe0\x14\x17\xb9\x99\xe2\xd5\xdb\x9f\x42\x2e\xca\x35\x9b\x71\x08\x5c\x81\xc5\x50\xfa\x64\xa8\x36\x27\x32\x01\xa3\xbf\x30\x7c\x15\x64\x77\x0e\x43\xab\xaa\xa4\x72\x03\x9f\xc4\xd2\xf2\x6c\x33\xff\x86\x44\x8b\xa1\xef\x17\x0d\x53\xb6\xb6\xe6\x6e\x4b\x74\xf9\x13\xdd\xec\x52\x99\x1a\x6e\xaf\x92\xa4\x42\xf6\xcf\xdd\x8a\x41\x05\x29\x81\xd7\xc8\xd2\xed\x38\x24\xda\x37\x6b\xb4\xbb\x0d\x06\x42\x5e\x95\xca\x5c\x9e\x04\x14\x3a\xb3\x4f\x1b\x8f\x91\x36\x44\xab\x39\x2e\x05\xe6\x05\x71\x07\x25\x14\x55\x99\x2a\xa1\x99\x9e\x2b\x65\x5d\xeb\x66\x7f\x7c\x8d\x3c\x14\xb7\xad\x98\x04\xaa\x31\x6d\x18\x0e\xf6\x9e\x17\xd3\x90\x63\x89\xbc\x2c\xa4\xcd\x0d\x8a\x9b\x8d\x16\xba\x14\x9c\xfa\x66\xd3\xc6\x99\x98\x53\xd6\x48\xb3\x7e\xbb\x3f\x75\x2f\x7b\x17\xe8\xc1\x2a\x93\x6b\xab\x14\x1a\x0a\x2b\x11\x0f\xf5\xc5\x09\x7d\x31\x15\xaa\x5d\xb2\x6f\x0a\x26\x3e\x63\xc9\x94\x26\x02\xb6\x82\x98\x28\x79\x56\x17\xb1\x50\x9a\xf4\x28\x92\x15\x95\x6a\xdf\x13\xb6\x84\xe3\x6f\x22\xb7\xc0\x85\xcd\xd3\x0e\xdc\x46\x6c\xea\x3a\x79\x02\x04\xcf\x09\xcc\xad\x0e\x47\x63\x5e\x3b\xca\x69\xc3\x40\xa2\x77\xb2\x8b\x79\x2f\x58\x74\x97\x84\xb9\x90\x88\x4a\x6d\x9e\xac\x4c\x11\x7b\x23\x27\x6c\x75\xc2\x58\xca\x02\xdc\x0d\x57\x6f\x7f\x3a\x76\x26\x65\x3f\xbb\x4d\xc7\xfc\xe3\x0f\x5d\x77\xad\xa3\x29\xb2\xe1\xe2\xae\x17\x10\xd6\xf3\xe7\x75\x97\xaa\xcd\xc6\xd9\xaa\xa7\x22\xae\x8c\xa6\x76\x71\x73\xf9\xb6\x90\x77\x51\x00\xd8\x8a\x71\xa6\xd6\x34\x54\x4d\x5d\x32\x72\x99\x67\x32\x17\xec\xe2\xe6\x92\x51\x2b\x78\x75\x81\x31\x07\x91\x49\x95\x16\x5d\xe2\x72\xb7\xac\x50\x5c\x88\xa9\xd4\xa8\x85\x85\x84\xdf\xcc\x26\xc5\xe5\x75\x33\xbf\x77\x3c\xe2\x07\x15\x9b\x6d\x3e\x88\x9f\x33\xf1\xf9\x77\x95\x55\xf3\x4d\x05\xc0\x56\xda\x36\x1e\x85\xf9\xf3\x1d\xfe\xf9\x41\x67\x90\xd6\x2f\x46\xd3\x94\xb0\x51\x13\xd7\x0d\xa6\x81\x8d\xf6\x5c\x01\x98\xa6\xb7\xdf\x63\xf8\xbb\xd2\xe5\x15\x2f\x67\xed\x87\x60\x5b\x46\x1e\x55\x48\x78\x4c\x8b\x0e\x4c\x1e\x70\x0c\x96\xf5\xdb\xf2\xc9\x10\x0d\x8c\xb3\x00\x26\x8c\x0a\xa8\x32\xa7\x33\x64\x97\xae\xe0\x29\x0e\x0c\x05\x6b\xb1\x30\x13\x1d\x22\x05\x15\x77\x89\x71\xe7\xe5\xec\x0a\xba\xb6\x9c\xa5\x6f\x68\xcf\x33\xfa\xac\x8d\x47\x0c\x17\xe9\x53\x83\xc3\x9c\x5d\xb5\x56\x8b\xb2\xbc\x7d\x79\x3b\x64\x1f\x0b\x2e\x11\x9c\x9a\x71\xa8\x7d\x63\x78\x71\x59\xc8\xf9\xdc\xf2\x0b\x20\xf1\xbc\x0c\x6b\xd7\xd9\xcf\x12\x2a\x12\x3e\x6a\x7e\x87\xf2\x59\xef\xd0\xf8\xaa\xdf\xb0\xdb\xb3\x89\x52\xb7\xec\x1e\x84\x1a\xcc\x82\x8d\x3f\x0d\xf0\x7f\xcf\x6e\x81\xbf\xe0\x7f\x8f\x79\x71\x1b\xf7\x70\x75\xcc\xf0\xe7\xf4\x96\xa9\x82\xdd\x9e\x89\x32\x81\x56\x3b\x94\xcf\x10\x3c\xfd\x35\xcf\xda\xf4\x2b\xac\x26\x8e\x45\xb8\x4b\xb0\x10\xc0\xf5\xc0\xa9\x04\x1b\xac\x7d\x89\x3c\xbb\x31\x74\x42\x96\x1f\x5a\x7b\xb3\x39\x0c\x23\x3c\xe0\xee\xda\x69\xac\x79\x73\x63\xa5\x32\xc1\xf3\x7d\x9a\x3f\xf1\x19\xbd\x23\x51\x79\xc3\xfb\xb1\x4d\x50\xac\xd6\x36\xa2\xcd\x08\xc2\xb2\x44\x70\xac\xd1\x7b\x2c\xa6\x30\x11\x05\x58\x10\xe1\x43\x46\xfc\x34\xc7\xa9\xf9\x44\x94\xcb\x10\xd3\x1c\xba\x44\x42\xad\x09\x7d\xee\x43\xc6\xce\x43\x05\x05\x31\xb3\xba\x82\x2a\x45\x91\xeb\x21\x29\x84\x85\x8d\x5e\xfd\x7a\xf3\x91\x4a\x5d\x0c\x87\xc3\x33\xf3\x3e\xcf\x46\xd5\xab\x57\xdf\x27\x66\xc2\x86\xd4\xc1\xbf\xc4\x99\x33\x8a\xf7\x98\x8d\x27\x8d\xd9\x00\x75\x44\xfc\xba\x68\xb4\x61\x3f\xc0\x70\xf0\x36\x1a\x77\xa3\xd5\x20\x6c\x69\xab\x05\x59\xf3\x5e\x8f\xbe\x78\xde\xe8\x8b\x8e\x88\x4b\xdf\xac\x56\x53\x04\xe0\xfd\x24\xd0\x8d\x85\x39\x54\x72\x4c\x3e\x41\x44\x9e\xe3\x03\xfb\x0b\x8b\xa9\x71\x9a\x9f\x6f\xfe\x66\x26\x72\x43\x76\xd9\xd5\x57\x5d\xdf\xd7\xe6\x0e\x11\x71\xb5\x46\x5e\x66\x36\x0d\xf5\x52\x6a\xe5\x8a\x5b\x01\x7b\x88\x1a\x77\x20\xfa\x05\xcf\xa7\xad\x45\xb5\xb0\x11\xca\x46\x33\xe1\x44\x76\xfa\x59\x4d\xd8\x44\x33\xd8\x7b\x3d\x64\xec\x72\x02\x8e\x67\x14\x62\x32\xf9\x09\x9c\x4c\x13\x65\xde\xb5\xd3\x03\x6c\x7b\x06\xb5\x22\x8d\x44\x16\xd6\xd1\x84\x71\x7d\x81\x0f\x48\x65\x01\x49\x73\x61\xdd\x22\x4f\xb1\x44\x26\x58\x7f\x8d\x78\xfa\x4b\xa5\xcb\xeb\x2a\x3f\xdf\x57\xc4\x44\xed\x38\x2f\xdf\x5e\x9b\x09\x3d\x08\xa8\x56\x54\xab\xd8\x85\xfa\x26\x43\x61\xcc\xfa\x69\x3b\xf1\x3c\x95\x09\x38\x46\xef\xcd\x2f\x74\x61\x5c\x3a\x20\x5b\x4f\x97\x4a\xf9\x5c\xa8\xbc\x14\x9f\xcb\x43\x97\x25\xa9\xed\x13\xa8\x1d\xaa\x28\x71\xb7\xd6\xdf\xf6\xa8\x5d\x90\x4e\x09\x8f\xdd\x56\x6e\xc3\xc2\x5a\xdb\xab\x27\x91\x7e\x32\x56\xf6\x0e\x85\xd7\x67\x6b\x35\x65\xce\xdb\xf4\x93\x39\x77\x8a\x89\xf9\x00\xe9\x99\xb0\xa2\x01\x56\x37\xd2\xf2\xae\x0e\x04\x78\xb8\x89\x6c\x2e\xdb\x64\xb5\xb9\xcc\xfd\xa5\x0a\x0a\x3e\x1f\x66\x6a\x1d\xf5\x63\x33\xed\x41\xbc\xbd\x7b\xd2\x95\xed\x5b\xdd\x50\x17\x0b\x5b\x58\xd1\x06\x70\x4a\x32\x3f\x33\x07\x88\x82\x69\x44\xdd\xcc\x6f\x97\x6f\xbb\x48\xcf\x8f\x71\x47\xba\x1b\x04\x1f\xfd\x8e\xec\xdd\x56\x79\xb8\x3b\xd2\x07\x97\xf5\xfa\xd9\xb6\x32\x77\xaf\xea\x3c\x43\x55\xa7\xf1\x93\x0f\x0b\xde\x5a\x4b\x61\xbe\xd6\x08\xae\xf5\x0b\xea\xc3\xb8\x0e\xa5\x3f\xf6\x01\x5d\x3d\xf3\x69\x0d\xe8\xda\x93\x72\xdb\x47\x64\xf5\x8c\xb2\x25\x22\x6b\x6b\xd1\xfd\x2b\x8f\x78\xda\x3f\xf5\xee\x63\x9f\xfa\xd8\xa7\x3e\xf6\xa9\x8f\x7d\x7a\xb2\xb1\x4f\xf8\x1f\xda\x06\x3e\x0d\xd9\xb9\x0d\x79\x72\x4d\x20\xf6\x89\x67\x5a\xd5\x1b\x0f\x28\x59\x7d\x2a\x27\x13\xc3\x88\x81\xf3\x6a\x1b\xa9\x1b\x6a\x2e\xd8\x11\x22\x62\x28\x5c\x0a\x58\x2c\xd2\xcf\xb3\xbb\xd7\x03\x1f\x69\xb5\x39\xc8\xea\xc9\x05\x58\xb5\x69\x49\x7d\x94\x55\x1f\x65\xd5\x47\x59\xf5\x51\x56\x7d\x94\x55\x1f\x65\xd5\x47\x59\xf5\x51\x56\x7d\x94\x55\x1f\x65\xd5\x47\x59\xf5\x51\x56\x7d\x94\x55\x1f\x65\x15\xee\xf3\x23\x46\x59\x5d\xa9\xd4\xc2\xc5\xae\xd0\x7c\xba\x51\x49\x8d\xdb\xb2\xa9\xba\x13\x45\xae\xc9\x2c\x23\x33\x59\x2e\xcd\xf6\xcf\xf9\x27\x11\x58\xd5\xe1\xd9\x41\x52\xe4\x08\x9e\xc6\x08\x9f\x16\xa3\xbb\xf8\x62\x91\x49\x8b\x8f\xb0\x14\xdb\xd5\x85\x1a\xb2\xb7\x46\x1f\x4e\x38\xa5\x8e\x7e\x3d\xfc\xee\x75\xef\xb6\x7a\xd2\x6e\xab\xde\x15\xf4\x5c\x5c\x41\xdf\x76\x42\xde\x35\xf4\xb2\x15\xd1\x61\xbe\x1a\x11\x13\x82\xac\x8a\x1c\xd0\xd0\x4f\x11\x1b\xbf\xca\x14\x0e\xe9\x26\x8b\x3f\xd5\x0e\x71\x58\x6d\xbf\x92\xc1\xb4\xc6\xa6\xfa\x22\x46\x5f\x03\xa3\xe8\x92\xb0\x56\x3e\x52\x11\xa3\x56\x29\xa9\xa3\xd5\xab\xe7\x88\xcf\x9a\x23\xf6\xb5\x8c\x1e\x9f\x17\x1d\x1c\xb6\xd1\xc0\xdf\xb7\xe0\x47\x37\xad\xec\xbe\x9d\x09\x19\x75\xf1\xaa\x90\x77\x32\x13\x53\xf1\x4e\x27\x3c\xeb\xa2\x91\xaf\xeb\xe6\xeb\x89\x6b\xf0\xd9\x83\x56\x95\xf0\xc8\x52\x87\x61\xdd\x0b\xdb\x99\x09\xd7\x1b\x8c\x49\x55\x6e\xab\x36\xa5\x03\xb3\x38\x5e\x65\x58\x46\xb2\x2c\xaa\x75\xe5\x73\x57\x23\xb8\x07\xb5\x25\x06\x19\x3b\xda\xe8\x7e\x3d\xc3\x87\x26\xf0\x3d\x8c\x63\x39\x41\x90\xe1\x23\xa5\x56\x51\xb9\x25\xf1\x79\x91\xc9\x44\x96\xd9\xd2\x06\xb6\x83\xf5\x6b\x2c\xc0\xdf\x47\x29\x3b\x71\x7b\x34\x54\x33\x77\xee\x6f\xb2\x16\x92\x85\xcb\xaa\xb4\xf9\x32\xf8\x96\x85\xf7\x03\xb8\x7f\xa2\x0a\x3b\x1b\xb1\x98\x89\xb9\x28\xb8\x8d\x81\x8f\xe2\xc0\xcd\x9d\x43\x8f\x64\x73\x21\x52\x39\x59\x31\x09\x43\xf0\x93\xb6\xc9\x43\x2e\xe1\x23\x94\x6a\x83\xea\x91\xb2\x29\x2f\xeb\x87\xb2\x27\x3e\xb8\x92\x93\xe5\x21\x6c\xd0\xde\x01\xbe\x40\xd3\xc1\xaa\x1d\xbf\xf1\x86\xc7\x3d\x62\x59\x20\x09\xff\x12\x06\x5d\xd0\x55\x27\xbb\x42\x9a\x5a\x41\x2a\x30\x2c\xc4\xa3\x92\x25\x1c\xbd\xc5\x14\x06\x8d\x7e\x61\xca\x31\x01\xa6\x89\xaa\x9c\xa9\xe2\x18\xcc\x73\x49\x21\xf0\xb9\xfc\x97\xaa\xf0\xc6\x19\x4e\x89\xe6\x5c\x3f\x2f\x30\x51\x43\x38\x5a\xd3\x5a\xb0\xb8\x3e\x92\xe4\xb7\x85\x5a\x84\x7f\xec\x76\xa0\x5d\xeb\x95\x75\x3f\x1e\x9f\xca\xa5\xe3\xe9\x04\x1d\x9a\x1e\xa9\x4f\xba\xa2\x87\x8c\xbd\x83\xe7\xa5\x0a\x96\xcb\x6c\xe5\x7d\x65\x59\xd8\xda\x9e\x02\xe4\x86\x61\xf8\x88\x16\xbc\xe0\x73\x43\xdd\xcc\x97\x5c\xdd\x2d\x7c\x43\xce\x9e\x5f\x69\x3e\x6d\xc8\xf9\xa2\x23\x2c\x13\x36\x1d\x1d\xd1\xdf\x46\x47\x78\xf4\x07\x7d\x46\x41\x46\x9d\x3d\x1c\x94\x4d\xf7\xd2\xf1\x98\x5c\xf3\xa6\x43\x72\xb9\x4c\xf4\x90\x8e\xa8\xe1\x6c\x7c\xa3\xe8\x68\x0e\xb9\x63\x2e\xf9\xcd\x1e\xf6\xeb\xaa\x50\xc9\x2f\xaa\xca\xcb\x8f\x46\xa8\xec\xc6\x7f\xe2\x3e\x4d\x3b\x67\x2f\x54\xdc\x72\xb8\xf1\xa2\xc3\x75\x05\x98\x0b\x72\xd6\xa8\x6f\x7c\xed\x3f\xa2\x2e\x19\xe4\xdd\x89\x1b\x5b\x16\x30\xc9\xf8\xd4\x32\x38\x0c\x97\xfd\x52\xf4\xe3\xb7\x5c\xf3\x89\xb8\x59\xea\xa4\xcc\x3a\x5e\xcd\xa8\x4b\x4c\xe0\x03\x16\x6e\x77\xba\x82\xd6\x4c\x63\xf3\x58\x3c\xc9\x55\x2e\x86\xec\x1d\x4f\x66\xe0\xb5\x5a\x02\x99\x20\xe4\x0a\x5b\x64\x5c\xe6\xd4\x8f\xfc\x84\x86\xbf\x22\xb0\x6c\x74\xf4\x72\x74\x64\xfe\x03\x51\x6d\x09\xd7\xe0\xb7\x93\xe0\xe3\xd5\x32\x45\xa4\x0f\xe4\x86\xa1\x6c\x37\xfe\xec\x69\x2a\x43\x76\x83\x81\xec\x2f\xd9\x5c\xf0\x1c\x88\x4d\x6d\xb6\x58\x88\x90\x7c\x50\x50\x9c\x3c\x13\xe8\xd5\xb5\x32\x19\x32\x10\x9b\x78\x67\x65\xb9\xe1\x86\x98\x2e\x77\x4a\xa6\xa4\xfe\x1b\x66\x14\x67\x22\x12\xc3\xe9\x90\x8d\x8e\x26\x4a\x9d\x99\xc5\xc1\x88\x9a\x7e\x18\xf3\x62\x74\x34\x70\xff\xf8\xc3\xfc\x43\x94\xc9\x30\xe8\x34\xac\x77\x1a\x86\x9d\x86\x41\xa7\xc7\xbe\x6a\x74\xe4\xe7\xe9\x36\xc2\x44\x73\x27\xeb\x12\xa6\xbf\xda\x9a\x8d\xab\x82\x85\xf3\x57\x80\x50\x50\x17\x27\x58\x95\x67\x42\xfb\xac\x18\x60\x04\xd4\x36\xb6\x2b\xcb\x96\x2c\x2d\xd4\x02\xff\xee\x85\x83\x21\x43\xe9\x81\x2f\x5b\x84\x87\x35\x73\xdf\x28\x3f\xc4\x02\x0e\x4e\xdb\x41\x9f\xe4\xbc\xfe\xae\x50\x20\xcd\x85\xc0\x14\x54\x80\x0e\x48\xb2\x2a\x40\xc6\x35\x49\x30\x66\xca\x5f\xec\xf8\x77\x53\x9b\x5a\x7a\x5b\x3f\xfb\xca\xb5\x00\x1b\x8c\x11\xf4\xef\x67\xc2\x52\x14\x84\x0b\x80\xd0\x39\x35\xc4\x05\x11\x65\x76\x50\xc2\x95\xc9\x12\x04\x17\x91\x97\xb6\xc3\x2e\x1a\xd4\x44\x15\x63\x99\xa6\x22\xef\x46\x5a\xeb\xcd\xd7\x92\x55\xd7\xf0\x29\x50\xd4\x95\xc9\x34\xd2\xd4\x90\x98\xba\x1e\x9b\x69\x1f\x36\xdb\x96\xf8\x45\xbd\x9e\x0c\xf5\x9b\xe8\xbf\x91\x21\xe5\x41\x9e\x8d\x35\xe9\x6a\x36\x59\xb6\xe8\xcb\x5d\xd3\x95\xb8\x74\x2f\x36\x5f\x09\x81\x94\x56\xf2\x95\x34\x2e\xd3\x88\x9b\x97\x57\x17\x2d\xf7\x9c\x5a\xd5\x6c\x1e\x81\x1d\x86\x18\x18\x2a\x06\xa0\x16\xfc\x9d\xba\xc8\x3c\x22\xd7\xbb\x3c\x4a\xf3\xf5\x0f\xa2\xbc\x57\xc5\xa7\x0e\xf3\xa4\x96\xdb\xce\xd5\x76\xdb\xd3\x7c\xaf\x2e\xdf\x76\x98\xeb\xd5\xe5\xdb\x6d\xe7\x69\xba\xec\x6b\x8e\xaa\x28\xdb\x28\x9c\x6b\x17\xce\x13\x69\x8d\xcb\x24\xc3\x82\x14\x46\x71\xc6\x51\xf1\x79\xa1\x0e\xa6\xbd\xc4\x29\x71\x1e\xf2\xd6\x1d\x2f\x69\x73\x20\xf8\x86\x5d\xcc\x7f\x63\xc1\x8a\x2a\x67\x00\x47\xb4\xfd\x76\x39\x2b\x9b\xd4\xf1\x5a\xa9\xf2\x67\x99\x09\x8c\x29\x68\xcb\x78\xd4\xd8\x89\xd5\x13\x50\x22\x41\xc1\x0c\x52\x4e\xce\x02\x9e\x64\xa6\x4e\x49\x38\xcd\x58\xa8\x4f\x15\x4a\x95\x6c\x22\x33\x61\x03\x1b\x98\x45\xeb\x79\x21\x2d\x12\xc8\x02\x47\x47\x38\x62\xae\xf2\xd3\xf5\xa3\xa2\x0a\x76\x73\x65\x5d\x77\xa9\xc8\x5d\x35\x6f\xb0\x9c\xd2\x02\x26\x3c\xa3\x12\xe8\xfe\xeb\xe0\xa9\xeb\x32\x75\x73\x6c\x80\x19\x84\xd4\xa4\xe3\xaa\x74\x08\x42\x92\xcc\xd0\xb2\xcc\x4a\xb5\xdb\x99\x35\x0b\x8c\xad\xa7\xd6\xdc\xcd\xa5\x07\x5b\x2f\x32\x1b\xd1\x77\x11\x82\x1e\x03\x2b\x1c\xfb\x38\x13\x5a\x50\x86\x50\xc2\xdf\x53\x9e\x26\xea\x05\x78\x20\xe7\x87\x02\x39\xf6\xd1\x59\x6e\x51\xe5\xe7\xfb\xe1\xba\xd7\x6e\xa4\x6d\x18\xaf\xef\xd5\x81\xf7\x3a\x59\x1d\x82\x50\x82\xae\x14\x20\x83\x36\x72\xb4\x32\x68\x61\x51\xad\xce\xf8\x29\x35\x53\x73\x59\x96\x46\x25\xa0\x9b\x7d\xac\xc3\x61\x0c\x2d\x29\xf9\x27\x01\x06\x71\x18\x93\xec\x14\xd8\x3f\xb2\x56\x04\xdd\x42\x6b\x75\xdd\x54\xb1\x7e\xd3\x7f\xd3\xab\x09\x9f\x77\xda\x73\x33\xd0\x36\x5b\xee\xbe\xbe\xdb\x8e\x43\xcf\x35\x1b\xbe\x76\xb9\xa5\x9c\x8b\x8b\x8c\xeb\x07\x27\xee\xb8\x0e\xc6\xda\x72\xd1\xae\xdf\x2e\xeb\x76\x9d\x29\x0e\x8b\x3b\xba\xd8\x7a\xc1\xc2\x4f\x43\x22\x75\xd7\xb8\xca\x0b\x61\xde\x30\x24\x96\x64\xef\xd0\xaf\x36\x37\xea\x94\x8a\xc6\x4d\xc5\x02\x74\x0f\x95\xdb\xab\xe7\xd7\x12\x5d\x3e\x4a\x55\xb9\xf1\xf2\x69\xf1\x5e\xe6\xd5\x4a\x6e\xaf\x6d\x0f\xe2\xe6\x1d\x0c\xb3\xcd\x19\xd0\x97\xb7\xde\xfe\x8c\x8f\x45\xd6\xf5\xb2\x41\xee\x45\xd8\x44\x9e\xc1\xf3\x7c\xf0\x95\xbb\x59\x19\x71\xab\x45\xaf\xf4\xee\xaa\x64\x84\x3d\x29\x1b\x25\x86\x88\x6f\xad\x70\xdc\x75\xf2\x7a\xdc\xad\x77\x75\x50\xd2\xeb\x45\x56\x4d\x65\xbe\xce\x92\x9e\x2b\xd6\xe8\xe0\xf8\x68\x9d\xb2\x3e\x7d\xb6\x86\x70\x66\xd3\xca\x48\xd9\xc7\x2f\x8f\x1f\x87\xef\xfd\x5f\xb5\xc6\x6b\x50\x03\xf6\x85\x34\x52\xec\xcd\x57\xad\x41\x99\xa5\x5f\x1e\x0a\x6f\x5e\xcf\x5e\xd7\xbb\xf4\xd7\xf6\x69\xc9\xc4\x6a\xd8\xdf\x53\xca\xc6\x3a\x95\x69\xfc\xfc\xf1\x62\x75\x49\xcc\x3a\x95\x10\xf1\xd2\xe7\x64\xdd\x2a\x27\xeb\xb6\x82\xd6\x7e\xab\x4d\xc0\x3a\xf6\xf9\x6c\x9a\x24\xa4\x96\x57\xd3\xd0\xe5\x2b\x7b\x34\xd5\xee\x8f\xa6\xea\x1f\xcd\x7e\x1e\xcd\x46\x59\xf9\x29\xbf\x99\xb5\x32\xf6\xc6\x67\xb3\xae\x57\x98\x4f\xf4\xe1\x42\x77\x47\xd8\x99\x48\xaf\x6b\x82\x77\x47\xa7\xed\x4a\xb7\x26\x89\x28\x92\xc1\x21\x6f\x47\x7c\xc0\x16\x64\x66\x64\x76\xd2\x15\xce\x09\x7c\xa5\x26\xe4\x41\x40\xbb\xbf\x43\x60\xad\x0c\x19\xc0\x3a\x08\x11\x4d\xf0\x2f\xb3\x51\x18\x3d\x06\x36\x95\xdc\xc5\x5b\x06\x40\x2f\x98\x68\x5d\x63\x6d\xd2\x43\xa8\x4e\x51\xbe\x7a\x27\x1f\xcd\xdf\x55\x9f\x59\x37\x3f\xd7\xca\x7a\x6a\x0e\xcf\x95\xbf\x97\x0a\x9d\xa0\xb9\xb7\x6b\x7d\x0c\xda\xff\xf2\xdb\xcd\x47\x30\xc4\x10\x29\x25\x11\x7b\xed\xad\xa0\x0d\xf7\xa7\x9a\xcb\xcc\x57\xe5\x99\x57\xee\x4e\x5f\xa9\x75\x26\xc8\x5d\x5f\xfb\xda\x0b\xbe\x27\x0a\xb0\x46\xb9\x5b\xff\xf8\x9b\x3b\x3c\x1e\xc7\x3c\x10\x11\x5f\xa7\x79\x6e\x8d\xd8\x26\x95\x62\xc7\x7a\x28\xc3\x44\x15\x62\x78\xe7\xce\x65\x0b\x65\xdb\x9e\x44\x68\x82\x44\x03\xf9\x5f\xfc\x6f\x11\xab\x6e\x42\x73\x7b\x58\xf4\x50\xaa\xb3\x54\x25\xfa\xac\xe4\xfa\x93\x3e\x4b\x54\x3e\x91\xd3\xaa\x10\xa7\x0b\x95\x9e\x3a\xeb\xe7\x99\x26\xbd\x14\x7e\x12\x9f\xcb\xb3\x2f\xcb\xd1\xda\x55\xf8\x0d\x57\xbb\xad\xef\x57\x54\xd6\xa2\xc1\xa4\xd0\xb1\xc0\xc5\x6a\xcf\x5e\x42\xdc\xad\xd4\x45\x93\x59\xe7\xcb\x96\xbd\x28\xc6\x3c\x31\xd4\xe5\x7c\x3a\x2d\xc4\x14\xb0\x22\xd7\xf1\x9a\x57\x40\x84\x71\xcb\xa0\x78\xce\x4c\xdd\x9b\xdb\x93\x29\x48\xa0\x70\x91\x55\xba\x14\xc5\xb5\x02\xa0\xb7\x62\x9c\xfa\x19\xfa\x42\x40\xa3\xa0\x49\x87\x84\x5d\xbe\xb1\x4d\x31\xd7\x9a\xba\xab\xa1\x0b\x9b\xa9\x2c\x8d\x22\xaf\xdc\x5f\xd0\xcd\x6a\xfd\x3b\xf6\xcd\x4e\x64\x9e\xc6\x8b\x01\xdf\x8d\x7f\xc9\xe6\x02\x68\x50\xae\x80\xa9\xa1\x7b\xce\x8f\x0a\x85\xe5\x06\xf8\x62\x6a\x8b\x3e\xd6\x6c\x21\x8a\xb9\xd4\x1a\xa8\x44\x04\xc6\x3a\x74\xea\xa3\x38\x57\xdf\xc3\xcd\x69\x5b\xde\xb7\xf0\xe8\xd7\xdf\xb5\xa0\x15\xa5\x7f\xc6\x1f\x58\x26\xee\x44\x36\x60\x99\x9a\xca\xc4\x3e\x25\x99\x4f\x31\x70\xd2\x50\x01\x73\x35\xeb\xe0\xf9\x89\x28\x44\x9e\x58\x7c\x4e\x95\xcb\x12\xab\xaf\x98\xe1\x7f\x92\x79\x0a\x03\x14\xe1\x01\xd1\xaf\x5d\xd4\x8e\xb5\xef\xa7\xd3\x41\xad\x7d\x87\x9b\xd8\x7c\xfd\x25\x52\x25\x07\xf8\x3b\xcf\xac\x88\x6f\xb6\x60\xe5\x8d\x8e\x2b\x99\xa5\xa4\x19\x64\x2e\xbd\x9c\xd4\xe1\xe2\xe1\x4a\x37\x7c\x43\x8b\x32\xb8\xce\xd8\x1f\xf2\x91\xf8\x54\x2e\x36\x69\xa3\x79\x29\xa9\x2c\x44\x52\xb2\x64\x86\x9c\xa8\x54\xd4\xc5\xde\x76\x5d\xaa\xf9\xc2\x8b\xdc\x41\x5e\x9f\x35\x88\xdc\x3e\xb8\xb5\xcf\x82\xd0\xc7\x7c\x3e\x90\xfc\x3f\x3c\x0b\xc2\x7a\x81\xa9\x8d\x2d\xe3\xfb\x27\x3e\x8c\xf9\xa4\x22\xaa\xdd\x44\x8c\xf6\x23\x21\x5a\x2a\xeb\xbf\xb6\x7f\xce\xb7\xc7\x88\x52\x98\x2e\x86\x67\xc9\x3f\x30\x8e\x11\xef\x63\x73\x90\xe9\xda\xed\x8a\x42\x4b\xb7\x88\x2a\x6d\x60\xd6\xc4\x11\xbb\xf1\x6c\xcb\x54\x1d\xeb\x35\x64\x21\xf8\xfb\x00\x60\x40\xe6\x5d\xda\xcc\xaa\xb2\xc4\xa2\x67\x88\xec\xa2\x5e\x71\x27\x2b\x28\x4f\x33\x35\xe6\x99\xcf\x9b\x8b\xb4\x95\xa7\x98\xa0\x2e\x4a\xbb\x74\x27\x39\xbb\xc1\x52\xb7\x7d\xf6\x84\x9e\xc1\xf4\x0c\xa6\xbe\xed\x5f\x13\x83\x51\x99\xb8\x86\x59\xed\x26\x60\x5f\x53\xff\x8d\xc0\x34\x6c\x03\x54\x08\xb1\x8c\xdb\x91\x22\x97\x52\x31\x18\x88\x2e\x87\xb9\x90\xd9\x9d\x05\x09\x9d\x13\x6d\x37\x22\x73\x05\x36\xfb\xb2\x2a\x72\x97\x7b\x79\x2d\xcc\x05\xb3\x84\xb4\x3c\x14\xa2\x78\x96\xd3\x06\x44\x98\x28\x08\x25\x1b\x41\x25\xd6\x2c\x07\xb3\x96\xe9\x55\x08\xe6\x43\xf9\x2d\x4d\xe5\x60\xa8\x0d\x7b\x29\xda\x4c\x86\x4f\x82\x37\x5b\x16\x7a\x60\x16\xdd\x92\x82\xa8\xb9\x43\x53\x91\xa5\xd5\x96\x7d\x7d\xbf\x27\xcd\x44\xbb\xa4\x20\xba\x5c\x4d\x41\xb4\xe9\x9c\xd7\x8e\xbb\x0d\x15\x68\x78\x03\x0f\xb1\xcd\xf6\xb2\xc2\x73\x91\x15\xb6\x4b\x40\xb4\x51\x52\xe8\xc8\x30\x1e\x3d\x39\xd0\x83\xd9\x45\x4b\xc2\xa0\x87\xb1\x8c\xee\xbc\xa2\x03\x93\xe8\xb9\xc3\x33\xe7\x0e\x87\x63\x0b\x3d\x3f\xe8\xf9\x41\xcf\x0f\x82\xf6\x0d\xfc\x60\xff\x8c\x20\xb0\x86\x6e\x4a\x11\x67\x1b\x91\x3e\x19\x1a\xd8\x6a\x4e\x26\x6e\x43\x6a\x8b\xca\x1a\xf9\x1c\x36\xca\x59\xfa\x56\x6a\x4b\xdc\xcf\x94\xf3\xa7\x06\xaa\x28\x83\xe4\x04\x32\x99\x79\xfd\xba\xa9\x59\x37\xc3\x5e\x73\x54\xc8\x2a\xd3\x89\xa3\x35\xc2\xf2\x0b\xf6\x8f\xe4\x5b\xb4\xa5\x32\x60\x46\x96\x28\x23\xae\x62\x5e\x65\xa5\x5c\x64\x98\xf8\x2c\x88\xe1\x08\x92\xd0\xf1\x7c\xc9\x78\x54\x8d\x41\xa4\x8c\x4f\xcd\x88\x25\x14\xee\xb3\xd5\xe1\xf2\x6a\x2e\x0a\x48\x17\xee\x3e\x02\x45\x00\xf3\xa5\x1f\xdd\xfb\x8f\x1b\xcb\x01\x1c\x1e\xd1\x97\xab\xfc\x9a\x66\xf7\xdb\xf5\xfb\xb6\x5d\xfe\x10\xb7\x26\xb2\x8c\x89\x4a\x16\xbc\x28\x25\xcf\x58\x55\x58\x04\x16\x67\x95\x16\x85\x65\xdd\x33\x7e\x27\x18\x4f\x20\x4d\x85\x21\xa0\xec\x65\x14\x0d\x8d\x57\x0e\x2c\x37\x1c\x8f\x66\x52\x65\xd9\x80\x4d\x64\x0e\xd5\xc2\xc4\xc2\x85\x74\xf3\x72\xc6\x6e\x64\x9e\x08\x0a\x91\x25\x92\x0f\x33\xe2\x50\xa6\xaa\xf4\xf7\x0e\xac\x36\x51\xc4\x17\x7c\xc2\xdc\xc1\x04\x30\x63\x93\xd8\x7d\xac\x43\xa7\x33\xb0\x05\xde\xe4\x5d\x26\x87\x68\xc2\x73\x97\x84\x02\x80\x35\xa5\x82\xc3\xf5\x27\xfe\x42\x57\xc9\xcc\x2c\x69\x74\xb4\x50\xa9\x1e\x1d\x99\xb7\x31\x3a\xd2\x22\x29\x44\xa9\x47\x47\x27\x90\x9a\xa9\xb6\x0e\x4a\x6e\x15\xf4\x35\x2c\x60\x74\x74\x32\x60\xce\xfc\x3e\x56\xe5\xec\xf1\xc3\x4f\x69\x92\x5d\xe0\xb9\xd7\x61\xdb\xba\xa3\xfb\xde\x30\x37\x27\xa8\x04\x80\xdc\x26\x32\xc1\xc2\x72\x80\x65\x88\xc3\x0d\x6a\x8d\x78\xf0\xed\x17\xdb\x95\xae\x3b\x52\x13\xd3\xfc\x65\x41\x79\x78\x65\xf5\xb6\xdf\x79\x96\x85\x55\xf9\x38\xfc\xd3\xd2\xaf\xc7\x5e\xf4\x9d\x28\xc6\x6d\x0b\xfe\xdd\xb4\x89\x17\x8b\x3f\x21\x7d\x70\x2f\xe6\xfd\x7b\x14\xe1\x68\x31\x46\xe4\x43\xc8\xce\x79\x89\xb2\x91\xb8\xa6\xc0\xcb\xb0\xa6\x9f\x05\x60\xd1\x9e\x0d\x19\x0c\xde\xb0\x49\x20\x25\x3d\xa9\x90\x35\xdc\xbc\x36\xd9\xa5\x4d\x08\x68\x41\xe2\x78\x08\x4e\x48\x0d\xf7\x8e\xbf\xe9\xdd\x73\x4f\x5a\x77\xec\x55\xac\xe7\xa2\x62\x7d\x15\xf8\x8f\x1e\xf8\xd1\x4d\x3b\xdc\x3f\xe2\xa3\x1b\xd4\x63\x2d\xc6\xa3\x50\xeb\xf5\xbe\x35\x08\x8f\xd0\x9f\x0a\xc8\x71\xaf\xed\x41\xf4\x57\x37\xb7\x6b\xd9\x0a\x00\x41\x59\xc0\x0f\x1e\x36\x1b\x2f\x57\x34\x4d\x59\x32\xf1\x59\x6a\xa8\x5b\x6c\xa4\xa7\xc0\x39\x02\x0a\x18\x9b\xca\x3b\x91\x87\x93\x85\xcc\xd7\x46\x3f\xc1\x4c\xbe\x38\x59\x5e\x36\x15\x78\xee\x79\x5c\xcf\xe3\x7a\x1e\x87\x6d\xbe\x26\x1e\xf7\xc8\x10\x94\x75\x64\xd2\x55\xdc\xdd\x85\x52\xf6\x00\x95\x1e\xa0\x52\x97\x21\x0e\x82\x4c\xe9\x0e\x49\xe9\x80\x45\xe9\x41\x28\x5f\x0b\x1b\xdd\xd1\xcd\x78\x38\xf4\x49\x0f\x3b\xe9\xe5\x83\xde\xcd\xd8\x99\x09\xec\xdf\xcd\xd8\x01\x68\xb2\x09\x61\xd2\x43\x4b\x9e\x33\xcd\x3f\x00\xb1\xef\xa9\x7c\x4f\xe5\x7b\x2a\x1f\xb4\x0f\xa9\xfc\x61\xc8\x7b\xac\x15\xaf\xd5\x69\x2d\x68\x62\x05\x42\x02\x37\xdc\xd1\x48\x50\xf9\x30\xad\x69\xa5\x83\x88\xf8\x56\x80\x47\x47\x7c\x87\x85\x77\x20\x7a\x02\xad\xce\x1e\xc5\x41\x5f\xf6\x6e\xab\x83\x9a\x92\xcc\x97\x21\x6d\x48\xe0\xc3\xdd\xc3\x0c\xf2\xf6\x8c\x4a\x61\xfa\x24\x0b\x74\x79\xe8\x0c\x3a\x3e\x14\x77\x5e\xf5\x3d\xab\xaf\xa0\xed\x2d\xb5\xdd\x4d\xab\xde\x6f\xca\xf4\x82\x24\xd9\xdd\x4d\x1e\x98\x5d\x22\x73\x04\x53\x05\x62\x51\x64\x6a\xa8\x1e\x66\x0b\xa7\xbb\x4a\xb6\xf0\xc8\xe1\x0e\x49\xa4\x03\x6c\xc7\x4c\x65\x29\xe3\x36\x2c\xfe\xfc\xea\xd2\x73\x03\xfa\xde\x00\xed\x38\xc8\x4e\x26\x04\xe9\xb0\xb6\x10\x0b\xe3\x80\x29\x18\x71\x01\x6f\x2f\x98\x76\xb6\xc0\x40\x75\x7d\x22\x68\x9a\x21\xe0\x13\x7d\x8b\x40\x49\x81\x43\x97\x0c\x3e\x43\x5b\xfb\x0b\x9e\xf0\xe8\x08\x8b\x8d\x00\x6b\x93\x89\x38\x4f\x12\x55\x21\xd7\xc2\x22\xc7\xb5\xd6\x6b\xa9\x18\x0d\xf3\x9b\x5d\x31\xce\xcc\x0d\x73\xb8\x77\xa9\x26\xf6\x6c\xea\xef\x60\xc8\x7e\xc7\xcc\x7e\x28\x3a\x52\xf6\x02\xa9\x83\x5d\xe2\x85\x60\xa3\x23\x33\x69\xac\xaf\x02\xb3\x36\xff\x69\x96\x30\x3a\x8a\x37\x65\x74\xe4\x4c\x72\x81\xc9\xcd\x39\x4f\x02\x29\xd0\x34\x31\xf3\xb7\x12\x63\xad\x0b\x09\xa0\x85\x80\x42\x11\xde\x4e\x77\x30\xca\x41\x97\x61\xdd\x3e\xed\xf6\x61\x30\x52\x76\xf8\x3a\x59\x3d\x57\xee\xa3\x15\xcb\xed\x9e\xd2\xec\x3e\x11\xb1\x35\xef\x29\x88\x1b\xf6\xc8\x28\x3c\x2d\x44\x55\x45\xe7\x05\x67\x4b\xf5\x53\xf1\x48\x10\x42\xb4\xd7\xdd\xef\x48\x35\x0f\x41\x21\xa9\x3e\x61\x9f\x04\xa8\x4f\x02\x54\x7f\x90\x87\x4b\x02\x84\x97\xee\xeb\xca\x04\xc4\xde\x1a\x9d\x2d\x01\x28\xae\xcc\xd9\xdd\xeb\xe1\xeb\xff\xc7\xfc\xc7\x84\xdf\xa9\x02\x44\xa7\x75\x5c\xec\xec\xee\x75\x9c\xfb\xc0\xdc\x20\xaa\x7f\xc2\x32\x95\x4f\x45\x81\x39\x06\x8b\x3b\x37\xf6\x77\xdf\x3d\x5e\xea\xa1\x66\x12\xb0\x49\x69\xea\xf3\x0f\xf5\x06\xa6\xde\x37\xdf\x5b\x65\x9e\x94\x6f\xfe\x6b\xc8\x3f\x84\xa4\xf6\x79\x62\xd1\xba\x25\x21\x82\x1d\xd8\xde\xc8\xb4\x22\x31\x7c\xf5\xe9\x88\xf6\x26\x4f\xd0\xe2\xf6\x28\x56\xf4\x7c\xae\xe7\x73\x3d\x9f\x7b\xaa\x7c\xee\x61\x18\x34\x2a\xf6\xd0\xe7\x42\x7a\x74\xa8\x99\x4d\x4a\xfe\xad\xe3\xcd\xb6\x4a\x88\xb4\x67\x71\xe1\x90\xa9\x91\xf6\xce\xd1\xcd\xb7\x7b\xae\xfe\x1c\xb8\xfa\x13\xcd\xcb\xb4\x56\xa8\xde\x9a\x38\xf5\x12\xcc\x33\x94\x60\x7a\xfc\x44\xed\x4e\x6f\x9f\x9c\x69\x5f\xec\x6b\xbf\x69\x9a\xf6\xc7\xa9\x74\xcf\x9f\x7a\xfe\xb4\x7f\x14\xdf\xaa\x7f\xa8\xe7\x48\x3d\x47\xea\x39\x12\xab\xdf\xe9\x2d\xd2\x43\x3d\x88\x15\xf5\x89\xa2\xfa\x44\x51\x7d\xa2\xa8\x3e\x51\xd4\x23\x5f\x97\x3e\x51\xd4\xa6\x5d\x39\x54\xa2\xa8\xe3\x97\xc7\x6b\x13\x44\xb9\x44\x0d\xae\xd4\xad\x23\x99\x43\x76\xfc\xf2\x6c\xa2\x54\xd4\x19\xda\x56\x63\x77\xdb\x8e\xa1\x01\x94\xf5\xed\x3a\x6c\x9f\x92\xea\x5b\x4b\x49\xe5\x7d\x14\x4f\x20\x2f\xd5\xc3\x74\xe5\x3d\x03\xbe\x7a\x1d\xb9\xf7\xcc\xf6\x5a\xe4\x53\xf5\xcc\x3e\xe9\x0c\x58\xcf\x19\x7a\x74\x48\xcc\x51\x9f\x10\xeb\x80\x09\xb1\x1e\xce\x5c\x7b\xf4\x53\xcf\x63\x7b\x1e\xfb\xed\xf0\xd8\x2f\x81\x7e\xea\xd3\x70\xf5\xd8\xa8\xa7\x94\x8b\x6b\x5f\xf2\xcc\x7e\xb3\x72\xed\x8d\x97\xf7\xb8\xa7\xe7\xc2\xcf\x9f\x5a\x2a\xb0\x55\x89\xfe\x21\x86\xc2\x5e\x5a\x79\x2e\xd2\x4a\xef\x57\xae\xdd\xe9\x2d\xf2\x81\x3d\x98\x19\x3d\x34\x33\xd8\xc3\xf9\x4e\xcf\x70\x7a\x86\x73\x10\x04\x53\x0f\x5d\xea\x59\x4c\xcf\x62\x76\x4f\x46\xf6\x60\xde\xd2\xa7\x25\xeb\xd3\x92\x3d\xc1\xb4\x64\xb1\xb9\xa3\xcf\x4d\xd6\xe7\x26\xeb\x73\x93\xf5\xb9\xc9\xfa\xdc\x64\x96\x4c\x1a\x55\x25\xad\x32\x99\x4f\xa1\x74\x53\x21\x55\x21\xcb\xe5\x45\xc6\xb5\xde\x84\x3f\x0e\xdb\x39\x95\x6a\xce\x17\x00\x04\x22\x70\xe5\x82\x1a\xb1\x04\x5a\x01\x83\x21\x4a\xea\xfe\x64\x74\x22\xa3\xfe\xc1\xd6\x0e\xd9\x47\xa3\x94\xc1\x2e\x13\x70\x88\xe7\x4b\xf3\x83\x4c\x6d\xcb\x5e\x2b\x7c\xd2\x5a\x61\xbc\xc3\x9b\x36\x3f\xf8\x27\x41\x48\x79\x31\x96\x65\xc1\x8b\xa5\x55\xaf\x40\x2e\xac\x74\xc5\xb3\x6c\xc9\x16\x85\xba\x93\xa9\xd0\x6c\x5a\xc9\x54\x64\x70\x5a\x2a\x67\xf7\x98\xa3\x4a\xea\xfa\x75\xa3\x73\xa0\xfc\x72\x3b\xd0\x21\x74\x24\x11\x8b\x6a\x59\x4c\xd4\xd6\x41\x2b\xb5\x99\x1d\xf0\x7c\x98\x60\xfc\x68\xfc\xfc\x12\x95\x6b\x99\x8a\x02\xc1\x71\xe6\x6a\xa4\x34\x90\x5b\x92\x61\x7f\x0b\x95\x12\xa8\x2e\x55\x40\x81\x10\x77\x9d\x2f\x6b\x2b\x1f\xb2\x5f\xf3\x6c\x09\x80\xf5\xf8\x8b\xf4\xa4\xe6\xbc\xf8\x84\x9f\xba\x8d\xa6\x7d\x3b\x64\x7f\x57\xf7\xe2\x4e\x14\x03\x26\x27\x6c\x6e\xee\x58\x39\x83\x8c\x04\xb5\x91\x84\xb6\xf0\x84\x7b\x59\xce\xcc\x8c\x65\x51\x1f\x8c\x60\xd9\x5a\x94\x70\xdf\x0b\xcb\xaa\xf4\x9c\x67\x99\xb9\xf7\xf8\xcc\xd5\x04\xa9\x2f\x79\xed\xec\xc2\xeb\x9f\x8b\x52\x05\xae\xd9\xa4\x35\x47\x3c\x56\x2a\x13\x3c\xef\x95\xfe\xe7\xad\xf4\x3f\xdc\x0b\x7e\xe8\x1d\x73\x8b\x6e\xdc\x92\x45\x21\x8c\x44\x21\x55\x8e\xb8\xb1\x96\x5b\x79\x55\x6b\x6e\xb5\x38\xfa\x17\xd0\x0b\x6a\x92\x4f\x91\x74\xc0\x5b\xcd\xd4\xbd\x28\xfc\x93\x61\xbf\x62\x58\xcb\x07\x7c\xf6\x34\xea\x7b\xd3\xe8\xca\xb5\x09\xa5\xf4\xa6\x16\x86\x5a\x54\xb9\x16\xe5\x10\x75\x1d\x17\x90\x61\x74\xaf\x53\xca\x1d\x39\x05\xa3\x31\xe5\xff\xfb\xa0\xf2\x2b\x37\x3b\x37\xcc\x44\x70\xb3\x77\xa7\xa6\xe9\x0e\xf4\x1a\xde\x65\xcb\xb6\x79\xf9\xc2\xf2\xf4\x3a\xed\x84\x15\xd0\x66\xf2\xa4\xac\x78\xe6\x9b\x90\x9d\x02\xfc\xf7\x89\x90\x77\xc2\x72\x1f\x41\xe0\xab\x38\x3c\xc9\xa8\x7d\x40\x78\x11\x99\x20\x81\x84\x03\x73\xa8\xad\x0e\x2d\x21\x66\x7e\x32\x2f\xbf\xff\xae\x79\xe9\x24\xff\xec\x80\x13\x87\x7d\x79\x44\xe3\x54\x20\x52\x6e\x32\x4a\xc5\xb2\xe6\x7a\xcb\xd4\x16\x46\xa9\x0d\xc2\x6c\x8b\xeb\x63\xa5\x6d\x93\x0f\x24\xbe\x2b\x5d\xd5\xed\x5e\x16\x7d\xc2\x1e\x0a\x69\x3d\x14\xb0\x0b\xe4\xa3\xa8\x49\x1f\xfb\xf1\x56\x6c\x52\xb4\x82\xa1\x7a\xbf\xc5\x37\x2b\xc2\x6c\xe7\xb7\x80\xcb\x6a\x67\xf1\x05\x64\x97\x8e\xdc\xe7\xd1\x5d\x23\xbb\x70\x9f\xfd\x15\x6a\x89\x5e\x39\xc5\x01\x74\xb4\xa9\xbc\x7d\x77\x75\xfd\xee\xe2\xfc\xe3\xbb\xb7\xec\x14\xc5\x10\xb4\x23\xd2\x54\x56\x08\x93\x79\xd1\xa9\xf7\xc7\x8f\x97\x6c\x65\xe9\x67\x77\xaf\xcf\xa2\x3e\x43\xd6\x5b\x6e\x7a\x6e\xd9\x5b\x6e\x7a\xcb\x4d\x6f\xb9\xe9\xc5\x9e\xa7\x21\xf6\xf4\x96\x9b\xde\x72\xd3\x5b\x6e\x9e\xa3\xe5\x66\x5b\x4c\x51\x9b\xf0\xdc\xdb\x70\xbe\x39\xa9\xf4\x09\xdb\x70\x9a\xb4\xbb\xde\x90\xd3\x4b\x34\xbd\x21\xe7\xc9\x1a\x72\xb6\x66\x48\xa5\x2a\xf8\x54\x98\x33\xbd\xb8\xb9\x7c\x5b\xc8\x3b\x51\x6c\xca\x0d\x6b\xdb\xb0\x84\x2f\xcc\x09\xe8\x86\xc4\x7a\x9c\x5d\x50\xea\xa1\x82\xdd\xe0\xf8\xec\xd2\xd0\xec\x09\x4f\x04\x7b\x71\x71\x73\x79\xc2\xee\x54\x56\xcd\x05\x4b\x71\xb0\x54\x2c\x32\xb5\x14\x29\x53\x14\x0b\x8b\x41\xaf\x43\xf6\xef\x6e\x87\x19\x2f\x4b\x9e\xcc\x58\x2a\xe0\x7f\x82\x2a\x5d\x95\xb6\xd9\xa7\x88\x02\x94\xca\xb4\x12\xc5\x5c\xe6\xc2\x69\xb9\xd4\x5d\xe2\xc3\x36\x87\x8f\xa3\x67\xa2\xec\x38\x82\x11\x90\xc2\xc5\xe6\x42\xa4\xc0\x9a\xc6\x82\x2d\x0c\x09\x86\xe9\xcf\x55\x95\x97\x43\xe6\x37\xca\xa2\x1a\x31\xbb\x5b\x80\xca\x4a\x7b\xc6\xfc\xa4\x19\x73\xcf\xad\x9e\x0b\xb7\xda\x4d\xff\x0e\xb4\x6f\xf7\x5f\x08\x27\xcf\x53\x99\x98\x1b\xbf\x92\xac\xf3\xe2\xe6\xd2\x92\x34\x4a\x08\x18\x9e\xf4\xc4\x1c\x6e\xa9\xfe\xc2\x64\xc9\x7e\xf9\xed\xe6\xa3\x39\xa0\x28\x2d\x0b\x05\xe4\x7b\x5d\xd4\x8c\xf7\x37\x51\x5e\x65\xd5\x54\xe6\xe6\xdb\x2f\x4e\x58\xc2\xb3\x8c\xe0\xfc\xbc\xa4\xaf\xa1\x71\x9a\xbe\x0c\x23\x41\x7c\xff\x58\xb0\x1f\xbf\x67\xc9\x8c\x17\x3c\x29\xcd\xc7\x55\xc1\x32\xa1\xf5\x80\x8d\xc5\x54\xe6\x39\x00\xb9\xf3\xd4\x5c\x2c\xf3\x9f\xa0\x84\xf3\x9c\xf1\x6c\x31\xe3\x90\x01\x54\x26\xbe\x37\x7b\xf1\x0f\x7e\xfa\xc7\xab\xd3\x3f\x9f\x9f\xfe\xbf\xff\x3c\xc1\xc6\x29\xd7\x33\xa1\xd9\x8b\xd3\x93\x01\x4b\x55\xa9\xd9\x8b\xe1\x09\x55\xac\x0a\xc6\x00\x65\xfb\x5e\x88\xfc\x0b\x9b\x31\x8c\x76\xbb\x75\xae\x87\x26\x06\x79\x63\x06\xda\x78\x93\xd0\xc8\x9a\x38\xe2\x6a\x0f\x13\xfb\xef\x10\x7f\x03\x73\x7f\x4c\xd1\x84\x96\xbd\x31\x5d\xb0\x13\x18\xf6\xe3\x58\x6a\xd8\xe9\xb6\x54\xf5\x61\xbb\xc6\x44\xf5\x75\x36\xdc\xf3\xdc\x27\xcd\x73\x77\x56\x86\xd7\xdc\xc5\x9d\xd5\xe0\x26\xb1\xb8\x57\x7d\x7b\x61\xa2\x57\x7d\xbf\x00\x7f\xd9\x23\x78\x61\x1d\x37\xef\xc0\x63\x4c\x3b\x4b\x76\x74\x9d\xc1\x73\x4f\x81\xba\xb0\x18\x50\x46\xaf\xfd\x51\x6c\xa2\x0b\x71\xe3\x48\xfa\x94\x1a\xa4\x8a\x58\x99\xa6\x13\x46\xb7\x35\x6a\xbd\x66\x16\x38\xd5\x17\x63\x91\xf0\x4a\x43\x02\x3e\x39\x5f\x64\x62\xee\x32\x2b\x9b\x91\x2e\x9c\x5a\x7d\x55\x8d\x33\xa9\x67\xbf\xc3\xd0\x2f\x4e\xcc\x1d\x9e\xa9\xf4\xc4\xc6\x0a\x51\xb6\xeb\x2e\xfa\xb9\xe5\x68\x36\x43\x25\x35\xa4\x49\x4b\x67\x18\xc0\x14\x81\xc9\x4c\x24\x9f\x88\x91\x42\x0b\x6c\x3e\x07\xfa\x54\xf2\xb2\xc2\x44\x83\xf7\xdc\x10\xaa\x2a\x2f\x65\x16\xb4\x05\xf2\x09\xed\x8d\x0c\x2d\x26\xe6\xb9\x2d\x0a\x95\x08\x01\x02\x6e\xa9\x50\x3d\x87\x4c\xbc\x1f\x69\xc9\xe2\x33\x32\xd0\x53\xea\x58\xb0\x44\xa9\x22\x95\x39\xec\x31\x88\xb9\xab\x7b\x6c\xa6\x80\xe4\x70\xf3\x54\xad\x0f\x66\xf5\x20\xa4\x66\x89\x32\x07\x50\xfa\xfc\x5d\xee\x0a\x5d\x8b\xa9\xd4\x65\xe1\xdc\x4e\xe0\xa1\x32\x5d\x44\xce\xc7\x19\x55\x24\x2f\x9d\xbf\x48\xea\x20\xd7\x75\xa9\xd8\x84\x67\x9a\x5c\xda\x2b\xdf\x75\xf5\xca\x3f\xc9\xc5\xc2\x10\xf3\x5f\xcb\x99\x28\xee\xa5\x16\x9b\xdb\x9b\xe3\x13\xe9\x70\x94\x8f\xf2\xd8\x91\x26\xe7\xf3\xaa\x34\xb3\xda\xc5\xc7\x3d\xd1\x10\x83\xd6\xc9\xad\xf8\x96\x64\x2c\x89\x9b\x55\xe5\xa9\x28\xb2\x25\x30\x4a\x3c\x1b\x5d\x2d\x16\xaa\x28\x35\x16\x69\x87\x7c\xcd\xf7\xb9\x28\xf4\x4c\x2e\x60\xc3\x16\xa2\x98\x4b\xad\x03\x91\x9c\x3a\xd2\x4d\xc1\xc8\x3e\xb8\x21\x66\x63\xae\x05\x70\x4d\x15\x3d\x78\xf6\xf3\x4d\x30\x63\x92\xa8\x30\x05\x79\x9a\x02\x1b\x01\xa4\x40\xc9\x65\xa6\xeb\x2e\x47\xd0\x89\xac\xcf\x91\xe7\x3e\xa3\xff\x4c\xe5\xaa\x20\x80\x13\xb1\x6d\xcc\x10\x0f\xa7\x6d\xaf\x06\x3e\xc5\xf8\xfb\xe1\xfd\xd8\xe1\x6c\x36\xb1\xce\x85\x4a\x2f\xf3\x89\xfa\x35\xff\xc5\x6c\x48\x5b\x1a\x8c\x49\x8c\xa6\x88\x3b\x6f\x43\xb3\xfc\x2e\xd6\xed\x6d\x2f\x32\xf9\x49\x98\x5f\x8d\x22\x0c\x9f\xf8\xed\xf2\xed\x80\x89\x32\x19\x9e\xb0\xb4\x2a\xdc\xe1\xf9\xdb\xab\xe1\x69\xd1\xcc\xe8\x55\xd4\x87\xa5\x2c\x2d\x65\xa3\x19\xcf\xa2\x66\xcc\xa6\x9a\xee\x9e\x6c\xd0\xc4\x3d\x9c\xa6\xb6\x64\xae\xa1\xaa\x84\xb9\x69\x91\x91\xd3\x50\x07\x7c\xf0\xb0\x51\xd6\x04\x09\xb3\x30\x9f\x5f\x99\x1f\xd7\x0c\x4f\xde\xd0\x66\xf1\xb9\xb4\x59\x00\xcd\x24\x3e\xa8\x54\xd4\x09\xb5\x79\xa8\x7a\x65\x9e\xa0\x7e\xe8\x85\xca\xb5\xb4\x85\x23\x16\xbc\xd0\xd6\x02\x00\x30\x36\xee\x44\xcc\xf0\xfb\xb4\x27\x72\x75\x26\xf8\x91\x89\xca\x32\x75\x6f\x7a\xba\x3f\x9a\x59\x5a\xba\x61\xbb\x4f\x56\xee\x84\x0e\xaf\x0c\xbd\x15\x14\x97\xe4\x74\x56\xb2\x69\xa1\xee\x31\xd7\x2d\x82\xf2\xc4\x44\x7e\x8e\xb0\x36\x43\x36\x3a\x4a\xb4\xe7\xe9\x24\x45\x2d\x54\x3a\xcc\xf9\x5c\x8c\x8e\xde\x98\x4f\xa2\xc9\x66\x63\x4b\xb0\xc6\x86\xcd\x31\xe6\x76\x6d\x9f\x4a\xa6\xa6\x35\x3e\x9e\x17\xe6\x97\xdf\x2e\xdf\x9e\x34\xb7\x17\x8b\x99\x98\x8b\x82\x67\xa6\xc7\xe8\xc8\x2c\x75\x74\x64\x49\x58\xc0\xb4\x72\xe6\x5a\x32\x99\x67\x32\xb7\x7f\x1d\xe5\xac\xe5\xff\x82\xf8\x6c\xee\xe9\xc4\x0d\xa8\x07\x03\xa6\x1c\x79\x1f\x1d\xc1\x15\x1e\x1d\x19\x3a\xd1\x36\x59\x4a\x86\x2f\xee\x1d\x89\x91\x79\xc8\xed\x5f\x0f\x5f\xff\x08\x79\x81\x2d\x0d\xb3\x72\x25\x5c\x2d\xbc\x74\x9a\x58\x3a\xd1\x65\xa8\xfa\x01\xeb\x1e\x1d\x5d\x19\xf9\x4d\x97\x22\x2f\x47\x47\x14\x2d\xfe\x2e\xf8\x38\x2e\xe1\xbd\x9c\x88\x64\x99\x64\xe2\x17\x95\x0a\x62\x54\x6e\xe8\x84\xe7\x2c\x13\xfc\x4e\xb8\x07\xc3\x52\xa9\x1d\x77\x3c\x53\x05\x93\xd3\x1c\x71\x62\x96\x24\x0e\xd9\xb9\xae\x2d\xe2\x5f\x21\x02\x3d\x3f\x2e\xdd\x2c\x7d\xf3\x41\xf4\x31\x58\xa5\x6d\xa4\x72\xc1\xe6\x2a\x25\x90\x45\xe8\xbe\xc0\x48\x6b\xeb\xc1\x70\x8c\xda\x3f\x7e\xef\x59\xb0\xfb\x03\x03\x01\xc1\x97\x7a\x00\xfb\x27\x3e\x73\x23\x1a\x40\x7e\x65\x6e\xe4\x84\xb9\x19\x07\x6e\xc5\x82\x17\x7c\x6e\x46\xb0\x3c\x8c\x2c\x80\x7b\x66\xcc\x96\x20\x5f\x8b\x05\xd2\x97\xd6\xf2\x20\xb5\xf6\x35\x2b\x69\x40\x8a\xee\xb9\x91\x38\x6f\x57\x68\xd7\x2d\x31\xe0\x85\x28\xa4\x32\x7d\xb3\x6c\x49\x62\x87\xa1\x12\x85\x98\x64\x46\xc9\x05\x50\xa1\xd2\x48\xc7\x80\xd3\xbb\xc4\xa8\xc4\xba\xe9\xe5\x44\xec\x37\x0d\x70\x42\x48\xc9\xcd\x86\x7d\x50\xa5\x78\xc3\xce\x27\x70\x52\xe6\xe8\x12\xa1\xf5\xa4\x32\x4f\x50\x42\x41\xa0\x95\x49\xc2\x84\x06\x46\x53\xd6\x46\x49\xce\x4b\xa4\xb7\x66\xd8\xd5\xb6\x24\xf9\xc2\xcd\x41\x69\x11\xb5\x6d\x43\x3e\xcd\x1e\x44\x52\xc8\x90\x7d\x10\xf7\xc4\xc0\x28\x53\x4c\xc8\x9a\xb4\x10\x39\x3e\xf1\xa2\x42\xcb\xad\xad\xef\x11\x9c\x3d\x3c\xda\xb1\x28\xb9\x7b\xb5\xe6\xde\x60\xd5\xa0\x3b\x2e\x33\x10\x27\x9c\x4c\x7a\x71\x73\x19\xa7\x68\xf8\xa8\x3e\x89\xdc\x3f\x78\x27\x6e\xee\x72\x81\x88\xb4\x5c\xf0\x05\x4f\x64\xd9\x26\xdb\xd5\xe5\x87\x5a\xef\xe8\x32\x91\xea\xb1\x2a\x44\xe0\xc5\x02\x1c\x93\x73\xac\x9a\x21\x2d\x86\x15\x05\x39\x72\x48\x26\x76\x68\x37\xe0\x0a\x9b\xc6\xfd\xa7\x4c\x07\xe3\x25\x4b\x0a\x81\x2c\xd2\x6c\x5c\x6d\x82\xd6\xcb\x07\xfa\x42\xe2\xa7\xed\xf8\x28\x1d\x92\x40\x05\xc7\xe2\x5d\xad\x3c\x2f\xe7\x73\x91\x4a\x5e\x8a\x6c\x19\x92\x14\x60\xcf\xce\xc6\x7f\x99\xdb\x8a\x23\x20\xc7\x14\xea\x4e\x1a\x61\xd6\x34\x32\x84\x1a\x37\xc3\x62\xe9\xcc\x65\xb3\xc9\x5a\x48\xb8\x30\x6a\x9f\xd7\x98\x56\x97\x3b\x33\x32\x0b\x5e\x60\x91\x32\xad\x40\xa4\x96\x40\x42\xd6\x2f\x19\xd6\x75\x9e\x81\x0e\x55\xca\x3b\x91\x2d\x07\xe1\xf0\xb4\x4e\x47\x21\x2d\x28\x97\x9e\x25\x40\xf3\x98\x2a\xf0\x4d\xa2\x50\xec\x4a\xaa\x4c\x32\x50\x51\x60\x2d\x05\x6e\xcb\xca\xe9\x85\x92\x8a\x99\xff\xd8\x3c\x13\xb7\x88\x8d\x54\xb1\xe9\xd5\x40\xab\xb6\x37\x53\xdb\x87\x86\xf7\x82\xee\x98\xba\xec\xb8\xc3\x2b\x2a\xcd\x8b\xbc\x26\x73\x5c\x1b\x7e\x30\x6c\xbb\x9e\xfc\xa2\xdb\x7a\xa1\x52\x7d\x0c\xda\x86\x4c\xa0\xb4\x19\xd0\x1d\xf8\x9c\x06\xdb\x80\x76\xaa\xb2\x7d\x65\xe0\x73\x52\x00\xf0\x16\x86\x4e\xf2\x62\xc9\x78\x55\xce\x44\x5e\x92\x21\x64\xd8\x20\xce\x42\xea\x27\x1a\x36\xdf\x42\x92\x5d\x23\xc7\x12\x49\x35\xb2\xab\x08\x25\x57\xa4\xac\x0d\xb2\xa8\xf9\xd0\x9b\x66\xd9\x4c\x47\xc4\x6f\x88\xb3\x34\x72\xda\xff\x31\x42\xd7\xe8\x68\x54\xbd\x7a\xf5\x7d\xc2\xab\x54\x8a\x3c\x11\xf0\x2f\xe1\xfe\x6c\x1a\x40\x0f\x10\xec\xa0\x25\xfe\x13\x9a\x0d\x6c\x13\xf1\x79\x21\x51\x17\xf9\x28\xe7\x42\x97\x7c\xbe\xf0\x1d\xfc\x1f\x59\x69\xff\x6a\x36\xe5\xfa\xe7\x8b\xef\xbf\xff\xfe\xcf\xc1\x50\xff\x0b\xff\x7f\x38\x1c\x8e\xf2\xff\x0d\x18\x17\x4d\xcd\xf4\x11\x46\x6d\x0f\xaf\x40\x00\xe2\x4f\xe5\x04\xf2\xc6\x94\xe8\x9a\x2b\xd9\x5c\x51\xbd\x3f\x98\x32\xdc\x5c\xac\x50\x06\x22\xed\x90\x7d\x54\x0e\x45\x8a\x42\x20\xb6\xe3\xc0\x28\x61\xd6\xcb\x01\x5b\x65\xf9\xf4\x6e\x01\x08\x0f\xa4\x5c\x4e\xa7\xa2\x68\x38\xdb\x90\xc5\x3f\x36\xf7\xda\x83\x4b\x20\xdc\xe6\xae\x5e\x81\xe8\x4f\x91\xfd\xd4\xe8\x3c\xa7\xae\x71\xa9\xe6\x32\x59\x03\x22\x5e\x95\x8a\xdb\x68\x42\x53\x17\xe7\xac\xba\x37\xcc\xe4\x13\x65\x81\xb2\xdc\x63\x8d\x82\x6e\x6d\x2b\x35\xd2\x36\xf1\x4e\x18\x77\x89\xa4\xae\x09\xf8\x03\x92\x73\xc9\x76\x5a\x69\x43\xc1\xa3\xac\x52\xf8\xc4\x63\xa3\x2a\xf0\x02\x6b\xa1\x44\x05\x34\x10\xdd\x8d\x64\x8c\x83\x55\x3c\x63\x57\xbf\x9f\x5d\xfd\x7e\xc1\xe6\xc2\xc8\x83\x52\xcf\x71\x96\xa0\xfa\xa0\x74\x0d\x73\x0a\x34\x0c\x62\xa6\x40\xe5\x52\x31\x70\xab\xe7\x85\x9f\x19\xa9\x61\x12\x84\x07\x54\x42\x09\x22\xed\xac\x82\xa1\xaa\x65\x45\x7d\x59\xb0\xcc\xee\x37\x2c\x99\x8c\x72\xb8\x51\xf6\x0f\x20\xfa\x21\x62\x7b\xc8\xce\xed\x2e\xcf\xb8\x05\x14\xf1\x7b\x33\x15\xeb\x39\x0c\x8d\xb6\xa4\x6f\x4d\x15\x49\x37\x53\x51\x32\xbe\x86\x7e\x02\xcd\x26\x8d\xc4\x4a\x99\x3f\xab\x02\xe3\x67\x56\x81\x5b\x6e\xbb\xd1\x0e\xe0\x76\x47\x0b\xe1\xfc\x15\xc1\xc5\x35\x24\x75\x2a\xcb\x59\x35\x36\xd4\x34\x55\x89\xf6\x1a\xe4\x69\xa6\x12\x9e\x9d\xd2\xbe\x0e\x67\xe5\x3c\xf3\xcb\x34\x74\x22\xd4\xa4\xec\x8c\x50\x1e\xd6\xa8\x5a\xa1\x9d\x17\x7e\xc7\x7f\xce\xf9\x12\x76\x26\x4d\x6d\x49\x3b\xc1\x26\x95\x79\xec\x4d\xd8\xfe\x2d\x14\xa2\xbd\x16\xb9\xeb\xf8\xce\xb5\x28\xb7\x28\x86\xd4\xcd\x9d\x61\xee\xc0\x66\x47\x86\x69\xd1\x50\x4e\x97\x60\x7b\x59\x16\x70\x5a\xd3\x42\x97\xa8\x7d\x99\x26\x2c\x07\x25\x3c\x6c\x40\xa1\x5e\x46\xa0\x00\x31\xdb\x88\xc7\xce\x5a\x09\x9f\x22\xbf\x24\x26\x02\xcc\x96\xa0\x7f\x67\xca\x08\xb5\x1a\x23\x13\x2a\x32\x3b\x9b\xc1\x4f\x71\xdc\xd3\x02\x8d\xdf\xbc\x60\xe6\xe1\x25\xbc\xf0\x9a\x0e\x8a\x96\x9f\x42\x21\x83\x57\xa5\x32\xcb\x40\x75\x71\xa1\x16\x55\xb6\x66\x16\x36\x05\x66\x20\x4d\x04\x46\x3a\x3b\xe8\x02\xb0\x36\xcc\x4e\x02\xc5\x1a\xb7\x75\x14\xde\xe5\x11\x3b\x50\xeb\x0f\xb7\x26\x4e\xc4\x66\x1e\x8f\xd4\x1a\xaa\x09\x49\x5b\xf7\x93\xf2\x23\x9a\xff\x27\x08\x10\x18\xc0\x42\x74\xc0\xe6\x08\x08\x99\xc3\xfb\xa3\x89\x5b\xe1\xca\x86\xcb\x4a\xb3\x99\xf7\x4c\xe4\xaa\x9a\xce\xc8\x80\x50\x3a\x7b\x86\x3b\x0e\xe7\x1f\x8e\xd7\xc1\x73\xf6\xeb\x7d\x2e\x8a\x6b\x9f\x03\x72\x35\x49\x69\xa2\x0a\x34\x1b\x82\x1e\x91\xfb\xdd\xec\x71\x14\x4f\x1a\x47\xd1\xc3\x0d\x9e\x0b\xdc\xa0\x23\x76\xd1\x21\x14\x23\xf4\x5f\xcd\x45\x0b\xef\xd7\x34\x58\x57\xe9\xe7\xe1\x00\x39\x43\x5e\x5a\xe1\x71\x7a\x93\x27\xdd\x32\xb2\xe7\x02\x91\x83\xc5\x1c\x00\xbc\x60\xc6\xed\x82\xd7\xf7\xed\xd6\x72\xfe\xc6\x73\x30\x82\x59\xe8\x40\x5a\x95\x06\x3a\xb0\x80\xcc\x88\x81\x20\x73\x3d\xe4\x5e\xa1\x44\x6b\x16\x72\xdd\x4c\x12\xeb\x88\x09\xff\xd9\x7a\xf9\x68\xd2\x6a\x7c\xad\x68\xc0\x6e\xe4\xce\x02\x0f\x55\xdd\x1d\x17\x06\xf1\xd9\x07\x69\x34\x89\x99\x3b\xa7\x96\x0d\x83\x39\xb7\xc6\x10\xd3\x54\xf6\x8c\x22\xde\x21\x93\xad\x4a\xc5\xe5\xdb\x96\x95\x62\x23\xbb\x3e\xd8\x6b\xc7\x17\x68\xa5\xc8\x1b\x8c\x1a\x2a\xc5\x7d\xb4\xcf\xa8\xc4\x47\x6e\x1b\x30\xe9\x02\x99\x4f\x8c\x84\x03\xca\x98\x35\x0c\xea\xa5\x06\x78\x60\x98\x8b\x40\xcf\x78\x11\xee\x91\x9a\x8b\x3c\xc9\xd0\x4c\x80\xb9\xa7\x53\xc3\xcd\x7f\xf6\x8e\x97\x41\xf8\x39\x94\x02\x08\x0b\xe0\x0a\x53\x9a\x55\x40\x42\x5d\xf3\x5f\xaf\x8d\x92\x6b\x5d\x95\xf1\x54\xe2\xee\xc1\x24\xc2\xfe\xe7\x46\x23\xfd\xcf\x99\x88\x54\x5c\xa9\x75\x25\x74\xe0\xff\xb1\xfd\xe3\xf1\xcd\xa4\x10\xb4\x61\x75\x3c\x9c\xa7\x43\x2c\xa0\x0c\x49\x66\x55\x14\xb8\xdd\xee\xa2\x5f\xc5\xcf\xcd\x71\x08\x56\x69\x2b\x00\x5c\xbe\xf5\x36\xf2\xda\xb7\x41\x02\x07\x20\x86\x2e\x79\x9e\x0e\x98\x18\x4e\x87\x7e\x4d\x40\x34\x04\x07\xfb\x82\xdb\xa8\xfa\x2b\x72\xe1\x38\xdb\xdf\xbe\x52\x2d\x54\xa6\xa6\xcb\x7f\x17\xcb\x36\x43\x48\xd8\xb4\x8e\x1d\xfd\x64\x7e\x23\x7d\xd4\xbf\x1a\x6b\x75\x87\x63\xe1\x81\x1f\x9d\x7c\x43\x20\x09\x02\x2d\x24\x5f\x1f\xec\xb1\xcb\x04\xc2\xc1\xa1\x61\xee\x3c\x7d\x19\x3f\x63\xa5\x74\xbf\x69\x9a\xbd\xa0\x5d\x4b\xd4\x7c\xc1\xf3\xe5\x30\x51\xf3\xb3\x3f\x54\x2e\x30\xa9\x76\xf8\xab\xd1\x4a\x54\x3e\x3a\x3a\xe9\x32\x2d\x77\xee\x6e\x4e\xee\xf6\xc5\x73\xe2\xa0\x92\xc1\x33\xb2\x92\x6d\x64\xc7\x15\x9f\x17\x0a\xf5\x34\xbd\xd2\x55\xb3\x8c\x8f\x45\x06\xe9\x4e\x8c\x2c\xa7\xee\xf3\x48\x4d\x58\xb9\xd5\x90\xf0\xdb\x0d\x82\x66\x8e\xd0\x95\xb1\x7a\x53\xe1\x98\x6a\x11\x59\x32\x99\xd9\x0f\xcb\xd2\xe7\xa4\x2e\x0b\x29\xee\x02\xea\x12\xcc\x04\x11\x40\x5c\x6b\x36\xe6\xc9\x27\x7b\xdf\x9d\x6b\x05\x14\x36\xe7\x56\x04\x1f\xb6\x33\x9a\x02\x7d\x30\x3d\xcc\x94\xfc\xcf\xd1\x4e\x0c\x7d\x12\xfc\xb1\xb0\x86\x30\x0f\xfd\xb0\x59\xce\x9d\x93\x99\xfa\x3e\xa9\x72\xfb\xc0\xb4\x56\x89\x7b\x9b\x48\xd5\x5d\x5c\x69\x47\xf3\xdb\x56\x6b\xb0\xfc\x81\x3a\xdf\x23\xf9\x9f\xb6\x06\xfa\x10\x24\xff\xaa\xc8\xbc\x1f\x1c\x7f\xac\x57\xf4\x28\xfe\x6f\x58\xad\xee\x51\xfc\x8f\xac\x02\x1f\x0a\xc3\xef\x0c\x0e\xad\x7c\x05\xf0\xfb\x5b\xa9\xc0\x1d\x2c\xe2\xed\x4c\x88\x3a\xb7\x65\x9c\xb3\x9f\x08\x2b\xc9\x85\xd3\x0c\xa6\x63\xad\xc5\x90\xe7\x0c\x60\xce\x79\x68\x84\x36\xcd\xfc\x8c\x3d\x6d\x35\x92\x56\x95\xbb\x35\x0c\x28\x0b\x10\x48\x2c\x89\x9a\x93\xd4\xb2\x7f\x6f\x69\x6c\xab\x78\xb0\x1b\x65\xc1\xcb\x64\x76\x3a\x17\xc5\x54\x9c\x7e\x12\x4b\x50\x30\x63\xc1\xa5\xb9\x07\x58\xf3\xc5\x74\x89\xd6\xb2\x62\xba\x83\x85\xc9\x1e\xe5\x1e\x24\x22\x0b\x22\x69\xc9\x98\x19\x36\x63\xf8\xb7\x31\x09\x27\x0e\x08\x48\xf0\x73\xca\xe7\xa4\x26\x4e\x49\x33\x3f\xa3\xa8\xec\xbd\xb1\xbf\x93\xa3\xd3\xe2\x72\x96\x39\x9f\x5b\xdf\x89\x95\xc2\x09\x37\x13\x7e\x5b\x34\xe5\x2f\xf8\xcb\x8a\xed\xc2\xc1\x73\x60\x2a\x3c\x49\x20\x90\x02\xdc\x94\xa2\x4c\xd0\x09\x97\x33\x6f\xd2\x04\xb4\x6d\x17\x41\x2e\xcb\xd4\x3d\x4e\xfd\xdd\xe7\x05\xcf\xbb\x88\x74\x0d\x5d\x8c\x48\x76\x1f\x26\x3e\x5c\x99\xb1\xe9\x64\xb5\x68\x61\xba\xad\xa9\x09\xb6\x11\xb4\x03\xa3\x88\xf4\x23\xca\xf8\xf5\xc5\x34\x61\x27\x0d\xf3\x4b\x4a\xaf\xb2\x94\xae\xab\x99\x6c\x21\x9c\x7f\xba\xe5\xd8\xd8\xbb\x20\xb2\x86\x3c\x59\x56\xa0\xb5\xda\x99\x57\x74\x9d\x02\x13\x11\x3e\x3d\x64\xe7\x39\x69\x30\xb4\x84\xe5\x8d\x30\x72\xb8\x2a\x3e\x8a\x62\x6e\x99\x21\xcf\x35\x39\xb2\xa0\x5c\x90\x1f\xad\xa0\xe5\x80\xe7\x2c\xd6\xf5\xbb\x46\x3b\x90\x5f\xdd\xa3\xf8\x08\xd5\xb1\x27\xe2\x94\xa8\x82\x70\x1c\xab\xcb\x7b\x90\x7c\xd8\x2b\x1c\xbd\xcb\xab\x97\xcd\x3b\x3d\xc2\x67\x9c\x2e\x13\x80\x93\xbf\xc2\x3c\xdb\x48\xff\xdb\x66\x42\xde\xc0\xb0\x2d\x25\xa8\x31\xac\x42\x90\xa3\xdf\x43\x6b\x35\x01\xe1\x69\x06\x64\x94\xfd\xc7\xe8\xa8\x50\x68\x51\xd4\x6a\x52\x8e\x8e\xfe\x39\x64\x1f\x54\xe9\xf0\x93\x29\x3b\xb5\xd1\x53\xc8\xcb\xaf\x7e\x27\x00\xba\x96\xf3\x45\xb6\x64\x13\x2e\x33\x26\xd1\x2f\x04\x7c\x1c\x7a\x3e\x8e\x01\x2b\x0c\x4b\x73\x62\x4f\x7d\x6b\x7d\xe8\xd8\x55\xb3\x18\xb1\xd5\x54\xea\x99\x17\xbd\xb4\xe5\xeb\x45\xd6\x44\x30\x8c\x53\xb2\x87\x48\xae\x15\x4b\x94\x11\x8d\x71\xb7\xe9\x34\xd7\x58\xc0\x43\xa1\x72\x65\x37\xfc\xe7\x5a\x93\xb2\xfa\x89\xc5\xd8\x60\x5b\x98\xb5\x36\xfd\x1d\xec\xf1\x85\x48\x32\x2e\xe7\xdd\xa2\x39\xf7\x7f\xf3\x81\x4f\x06\x33\x88\xb3\xc3\xbe\x15\x10\x6b\xbb\x43\xee\x56\x98\x07\xd5\xaf\xff\x25\xc6\x58\x35\xad\xec\xf7\x7a\xfb\x60\xbf\x67\xea\x7e\x65\x85\x17\x66\xc6\x61\xce\xed\x70\x3b\x0c\x4f\x1e\xab\x2a\x4f\x87\x0c\x4d\xe9\x80\x98\x1f\xb0\xe8\x23\x97\x36\x7a\xc0\x3c\x4c\x0c\x8d\x3b\xa8\xdc\xf5\xd0\xf2\x8e\xe1\xad\x7d\x62\xd6\x8a\x48\x2f\xdb\xb7\xb9\x22\x1c\xbc\xc5\x16\x5e\x6f\xda\x64\x10\x8f\x1e\x44\x9f\xe7\xf5\x89\xcb\xa7\x5d\x0c\xe2\x97\x4d\x06\xf1\x58\x0f\xdf\xbb\x79\x26\xba\xf1\xbd\x71\xbc\x17\xc0\x7b\xe3\xf8\x97\x61\x37\x07\xb1\x90\x47\xa1\x2a\xeb\xd9\x4d\x14\x38\xe4\x0a\xc4\x07\xf2\x2d\xc0\xa4\x1a\xc3\xc5\xba\xb0\x1d\x8a\x53\xfa\xff\xd9\x7b\xf3\xe5\x36\x92\x24\x4f\xf8\xff\x7d\x8a\x30\xd6\x98\x89\xec\x0f\x00\x2f\x49\xdd\xc5\xb6\xb1\x5a\xb6\x8e\x1a\x6e\x95\x24\xae\xc8\xaa\xde\x59\xa1\x66\x19\xc8\x0c\x00\xd1\x4a\x44\xa0\x33\x32\x41\xa1\x47\x65\x36\x0f\xb2\xfb\x72\xf3\x24\x9f\x85\xbb\xc7\x91\x07\x4e\x9e\x55\xc3\x36\x6b\x15\x01\x44\x46\xc6\xe1\xe1\xe1\xe7\xcf\x57\x5d\x3a\x3e\x9d\xc9\x10\x0a\x41\x21\x54\x6a\x85\x20\xf7\x03\x49\xa9\x94\xb5\xa4\x58\xbf\x32\xf0\x8b\xa9\x48\x20\xb5\x83\xe2\x16\x5c\x96\x0a\xdd\x2a\xae\x17\xe3\xc2\xbd\x99\x25\x7a\xe0\x21\x5b\x48\x85\x21\x77\xeb\x42\x24\xda\x9e\xdc\xe5\x93\x7b\x53\x6f\xef\x66\x99\x96\xb9\xbf\x34\x41\xa5\x82\xdc\xca\x75\x27\x5a\x89\x48\x77\x13\xf6\x55\x04\xfa\xcd\xd7\x42\x54\x4e\x7b\x7f\x4b\x80\xff\x5f\x3e\xbf\x65\xe0\x7f\x4f\x12\xb7\x60\x4b\x47\xa9\xf5\xd4\x83\xef\x2c\xa1\xf3\x7a\xd3\x00\x63\xec\x09\xae\x88\x22\xaa\x74\xee\xf0\x8c\x22\xff\x90\x4f\x30\x67\x85\xde\xf7\x97\x4d\xf8\x11\x1c\x31\x7d\xd5\x57\x8d\x97\x3d\x41\x01\xff\x46\x65\xb7\x27\xd1\xe6\xf7\x22\xda\xdc\x18\x0a\xf8\x37\x8d\x60\x5b\xe7\x48\xdb\x01\xd9\xa6\xc2\x00\xd2\x0b\x32\xc9\x7d\xe2\x90\x1e\x4b\x6b\xcc\x67\x52\xe7\x3d\x76\x4e\xb9\x58\x3e\xa2\x32\x8a\x02\xc4\xf8\xd1\x45\x69\x08\x80\x9d\x76\xab\xf3\xc4\x1e\x57\xec\x78\x51\x7a\x48\x8e\x06\xeb\xa6\x43\xd5\x32\x2b\xbb\x79\xc5\xdc\x81\xb9\xb9\x63\xde\xb8\x40\x3c\x26\x55\x87\xc9\x9e\xe8\xe1\xa3\x75\xe8\xb9\xdf\x09\x30\x70\xe3\x42\xbe\x6d\xa9\xb6\xfe\x82\x15\xc6\x94\xb6\xe6\x6d\x06\x95\x45\x17\xf6\xd3\xed\xfc\xa8\x6f\xe7\xad\x2d\x2b\xf5\xfd\xbe\x7d\xe3\x4a\xe3\x24\x3c\x19\x58\x9e\xa4\x90\x27\x03\xcb\xc3\x5d\x45\x77\x62\x64\x69\x88\x1b\x70\xac\x36\xb8\x90\x08\x41\x22\xca\x55\x0b\xb9\x3c\x91\x13\x71\x20\x3c\xba\x6d\x8f\x7d\x04\x94\x44\xa5\xaf\xd1\xbb\xe3\xbd\x4a\xb5\x08\x2f\x0f\x87\x3b\x93\xdc\x0b\x1c\xee\xdb\xbc\xc3\xa4\x22\x10\x05\x76\x2d\xe0\xa0\x63\x0c\x14\xcf\x8c\xae\x02\x11\x42\xe8\xd6\x54\xa7\xa6\xc7\xde\x7c\xe1\x49\x41\x65\x5c\x27\x62\x32\x08\x38\x4f\x46\xac\x93\x19\x8e\xfd\x92\xb3\x69\x1b\x91\xd6\x05\xf0\xd4\x5d\x69\x2b\xe5\xd9\xfa\x9b\x83\xad\xcb\xa1\x13\x57\x2b\xfc\x38\x9c\xa3\x38\xc9\x6a\xea\x5f\xea\x31\x52\x62\x04\xc6\xa9\x4e\x9f\x19\xb7\x74\x31\x40\x48\xdd\x29\x37\xf5\x92\x24\x6c\x60\x04\x4f\xf0\x4e\x8e\xc8\x26\xe4\xfc\x6f\xec\x2c\x32\xcb\x15\x39\x57\x06\x9f\x84\xce\x8c\x2f\x6a\xbd\xe8\xd5\x98\x11\xd6\xb6\x5a\x8b\xcb\x62\x6e\x80\x50\x9b\x2e\x1e\xf8\x02\xb7\x75\x6d\x24\xef\x57\xa7\x4b\xbe\x8f\xc2\x0c\x9b\x3b\xe0\xf7\x67\x6b\x4f\xe5\xcd\xcd\x4e\x2b\xa2\x90\xdb\x9a\x2f\x81\x13\x5f\xa8\x81\xac\x8b\x2e\xbe\x32\x22\xe0\xd4\xe1\x5d\x2f\xae\x67\x53\xc5\x00\x82\x1d\x87\x94\xd3\x31\x57\x69\x26\x9c\x80\x4a\x9a\x51\x23\xa1\x35\xce\x43\xad\xe5\x9f\x6e\x99\x6a\xba\x06\x9d\x5c\xfa\x18\x4a\x97\xb3\x38\xab\x80\x31\xc6\x2c\xb1\xd0\x5b\x8c\xc3\xd4\x99\xfb\x7a\x2c\x6b\xf5\x75\xb1\x54\x16\x68\x5c\x10\xd1\xcc\x16\x5d\x11\x5b\x58\x65\x1d\xe5\x34\xe7\xdb\xb6\x13\x77\x60\xbb\xbd\xa8\xeb\xfe\x2b\x8f\x11\xea\xed\xee\x20\x79\x2d\xfe\x16\x4e\xd0\x9b\x3c\xd7\x8d\x43\xb4\xf9\x46\x63\x37\xcb\x76\xf7\x12\x34\x33\x53\x30\x61\x9b\x32\xa1\xc0\xbd\x02\x45\xd7\x09\xd7\xba\x0e\xcb\x0e\x55\xd0\xb9\x9a\x57\xd8\x37\xa0\x3e\x00\xbb\xc6\x9b\x78\x3d\x0b\xc5\xa6\x76\x89\x4e\x83\x5c\x56\x29\x25\x67\x15\xfe\x12\x40\x8f\x03\xde\x6a\x36\x8f\x04\x9b\x7b\x9a\xd1\x16\x71\xdd\x9e\x94\xde\x2d\x50\x09\xee\x34\x04\xed\xa7\x29\xc2\x0b\x3b\x8c\x5a\x1c\x4e\x27\x4e\xe7\xae\x48\x15\x54\xce\xab\x8a\x91\x59\xc7\x06\x68\xe0\xfd\x03\x33\x71\xf8\x21\x1e\xfb\xbb\xd0\x31\xe4\xed\x5f\xb9\x2c\xde\xea\xfc\xd4\xdb\xb8\x10\xd1\xdb\x23\x36\x3e\xdc\xfe\x2d\x8b\x95\x43\x43\xdc\x23\x3a\xd4\x2d\x96\xc1\x9b\x1e\xea\x3b\x36\x36\xfa\x03\x7f\x6b\x9c\xbf\xbe\x1d\xed\xec\x1e\x5a\x05\x5f\x1d\x57\x4b\x38\xa5\x63\x30\x7e\x0d\xd6\xe0\xf7\x13\x2b\xe6\x8f\x56\x89\x16\x17\x85\xdf\x36\x99\xb9\x15\x5f\x38\x90\x70\x3a\x5e\xd7\x36\x85\xf6\x97\x2c\x34\x04\x6b\x97\xe9\xd1\x48\xa4\x1d\x66\xd5\x2e\x7f\x9b\x2b\xed\xc5\x7e\x66\x84\x32\xb2\x90\xb3\x8a\x8a\xb2\x0d\x68\x82\x6c\xca\x50\x37\x30\x65\x5c\xca\x7a\xee\x55\xfd\x1c\xc8\x89\x88\x56\xea\x9a\x9b\x78\xb5\x96\x12\xe1\xb6\x44\x55\x45\x8a\x59\x45\x5c\x95\xd6\x64\x3c\x43\xe8\x06\x6f\x20\xcb\x24\xd8\xb4\xaa\x70\x30\x11\x6a\xe6\x1a\x24\x96\xac\x51\x45\xe3\x1d\xff\x22\x27\xe5\x84\xa9\x12\x74\x6a\x3d\x64\xa5\x92\x7f\x2f\x83\x06\x3e\xe1\x8a\x8f\xaa\xc0\x2e\xb1\x6c\x1e\xe3\xaf\x46\x39\x81\xa7\x15\x41\xd1\x2a\x79\xda\xde\x0c\x4e\x0a\x46\x98\x45\x44\x4e\xf7\x4f\x61\x7d\x1a\xc4\xcd\x46\x78\xbf\xd0\x71\x22\x3a\x40\x99\xc5\xb5\x4c\xa8\x22\x06\x84\x1f\xe4\x65\x26\x18\x9f\x4e\x33\xe9\x4a\xa2\x54\xc7\xef\xdf\x0f\x80\x2c\x29\xe3\x13\x6d\xe9\xbf\xcc\x0a\x39\xcd\x00\x5d\xd3\x38\xdc\x3b\x8f\x91\x42\xb0\x7a\xf1\x0d\x07\x38\x0a\xce\xdb\x0e\x88\x80\xf4\x8c\x4f\x6c\x0a\xeb\xe7\xe3\xad\x09\xed\xd3\x4d\xad\x54\x10\x54\xdb\x40\x1d\xa9\x04\x3d\x1c\x1f\x6d\x1d\xf4\xb0\x31\xe5\x62\xa9\xf5\xc7\x58\x82\x79\x6d\xc4\xc7\x4a\xa1\xc5\x08\xf3\xf1\x8c\x40\x60\x00\xf0\xd1\x72\x3b\x07\xfa\x48\xaf\x58\x03\xf7\x91\x60\x44\xaa\x28\xe2\xbc\x02\x4f\x55\xd4\x90\x20\x71\x6c\x26\x2e\xcc\xd5\x30\x71\xfb\x5b\x93\x50\x40\x9e\xaa\x4d\x3f\x39\xb1\x9e\x42\x4c\x9e\x9c\x3b\x4f\xd5\xa6\x9f\xaa\x4d\x3f\x74\xac\x4e\x4d\x20\x78\x2a\x39\xbd\x76\xc9\x69\x58\xb9\xad\x1c\x79\xb5\x35\x7f\x2a\x3e\xfd\x5f\xeb\x0a\x7e\x7c\xc5\xa7\xeb\x5a\xc1\x42\x53\xe1\x53\xf4\xc8\x7f\x21\x01\xe3\x29\x7a\xe4\xb1\x55\xa0\xbe\xb5\x2b\xe7\xa9\x16\xf5\x53\x2d\xea\xa7\x5a\xd4\x4f\xb5\xa8\x9f\x6a\x51\x3f\xd5\xa2\x7e\xaa\x45\xdd\x08\xc8\x7b\xaa\x45\xfd\x54\x8b\xfa\xa9\x16\xf5\x53\x2d\xea\xa7\x5a\xd4\x4f\xb5\xa8\x37\x20\xa0\xa7\x5a\xd4\x4f\xb5\xa8\x9f\x6a\x51\x3f\xd5\xa2\x2e\x9e\x6a\x51\x3f\xd5\xa2\xfe\x7d\xd5\xa2\x46\xfb\xe1\x6f\xa7\x20\x75\x8b\x34\xfd\x54\x90\xfa\xa9\x20\xf5\xef\xad\x20\xf5\x03\x15\x9f\xbe\x93\x88\xc4\x15\x65\xa5\x5f\xbf\x39\xff\xf8\xe6\xd5\xe9\xe5\x9b\xd7\xac\x8b\x5a\x0e\xb8\x58\x7c\x95\xe2\xa8\x72\x93\xb4\x47\x7d\x9a\x8b\xc4\xe1\x67\xd0\xdb\xf6\x67\x87\xfb\xd4\xa6\xc7\x2e\x04\xd2\x76\x2e\x32\xc1\x8d\xb0\x3a\x07\x59\x35\xeb\x44\x12\xd5\x33\x7e\x2a\x69\xfd\x54\xd2\xfa\xa9\xa4\xf5\xef\x3a\x3a\xe3\x29\x7e\xe1\xf7\x12\xbf\xf0\x1b\x2a\x69\x5d\xb9\x04\x9f\xea\x5a\x6f\x50\xd7\xfa\x16\x42\x22\xfe\xeb\x54\xb8\xc6\x29\x3f\x96\x32\xd7\x4f\x25\xad\x9f\x4a\x5a\x3f\x95\xb4\x7e\x2a\x69\xfd\x54\xd2\xfa\xa9\xa4\xf5\x53\x49\xeb\x35\x84\x94\xa7\xba\xd6\xff\x75\xd4\xd0\xc7\x56\xd7\xba\x6a\xa6\xdb\xf8\x1c\x3d\x29\xd8\xbf\x43\x05\xfb\x29\x41\xe0\x71\x15\xb7\xbe\x25\x5d\xf8\xa9\xcc\xf5\x23\x2e\x73\xdd\x66\xb5\xb8\xb1\x27\xf6\x77\x51\xeb\xda\xaf\xcc\xc5\xc2\x30\xac\x16\x52\xae\x47\xb6\xd8\xfe\x48\x7c\xc9\x85\x29\xb3\x22\xb6\xe0\x7c\x2f\x0a\xdf\x30\xe1\x59\x86\x9a\xaf\x53\x6c\xe3\x22\x3b\x44\x0e\xd5\x52\xda\xc1\x12\x12\xc5\xf2\x30\x0e\x8e\x14\x99\x94\x19\xcf\xa3\x5a\xc9\x62\x84\x61\xd3\x15\xe9\x18\xc2\x0c\x20\x1c\xc0\x05\x78\x41\xac\x13\x38\x45\x0a\x8d\x27\x4a\x15\x50\xa2\x4f\x89\x66\x09\x40\x03\x0e\xc3\x48\x5b\x0f\x44\x2b\xbe\xd8\x0b\x13\xdc\xe0\x6a\x64\x35\x87\xcf\xe2\x84\x75\x2b\x73\x62\xfd\x1d\x43\xcc\xbc\xbf\x03\x8e\x90\xfe\xce\xe1\xd1\xf1\x73\xf6\xbd\xfc\x4b\x7f\x27\x9a\x1d\x14\x7e\xf1\x72\x7a\xa0\x1a\xcb\xd9\xad\x76\xf6\xcf\xa5\xe9\x0a\x6e\x8a\xc3\xfe\x4e\xf3\x15\xe0\x3f\x35\x26\x7a\xc5\x41\xfb\x0b\xaa\xfd\x8e\xb5\x29\x2c\xcd\xfe\xf3\x67\x70\x88\xf1\x41\x72\x78\x74\x8c\x71\xbf\xd5\x88\xed\x62\x9c\x0b\x01\xf1\x64\x08\xc6\x8a\x55\x47\x41\xb9\x54\x3a\xda\x18\x53\x33\x5c\x71\x96\x88\x1c\x10\x92\x12\x3d\x19\x48\x05\x7c\xc4\x2e\x91\xd2\x4e\xe8\x00\x0e\x42\xc1\x68\x3e\x8a\x2c\x28\x6c\x2a\xad\xd5\x96\x04\x6b\x41\x97\xfc\xd4\xaa\xda\x4b\x30\x8a\xc4\x43\xc2\xd8\xb1\x8d\x1e\xf9\x87\xc8\xb5\x5b\x85\x69\xae\xd3\x32\xf1\x71\xb4\xc6\x2b\x03\x40\x02\xa9\x48\x64\xea\x54\x44\x3e\x9d\xe6\x9a\xb0\x45\xc0\x21\xea\x26\xe4\x82\xfa\xe6\x58\x1a\x53\x2b\x53\x4e\x82\xea\x6f\x37\xa5\x4b\x36\x3e\xab\x5c\x0f\x17\x45\x90\x55\x62\x5e\xea\xa9\x3e\xe4\xe5\x53\x69\x15\x7c\x45\x4f\x21\xc8\xab\x08\xdb\xd4\x45\x2d\x38\x8a\x7d\x74\x11\x0a\x94\x97\x56\x7b\xed\x93\xd2\xf3\xa8\x95\x9e\x64\x41\xe4\xec\xc6\x32\x6a\xcf\x0d\xa2\xf7\x3f\x4b\x0e\x08\x76\x4b\x65\xd4\x57\xd1\x79\x09\x29\x66\x18\x05\xdb\x0a\x83\x25\xd1\x64\x13\xdd\x07\x1f\x31\xd3\xc4\xf1\x8a\xca\x2f\x18\x9b\x86\x61\xa0\x31\x37\x88\xea\x9e\x21\x1c\xa2\xbd\x54\x5d\xea\xc7\x4c\xea\x92\x6c\x7d\xc6\x07\xd2\x1a\x31\xb1\xd3\x01\xef\x4f\x52\xe6\xb9\x50\x45\x36\x07\x9c\x25\x8c\xcf\x39\xec\x1d\xed\xf9\x38\x1e\x6e\x4e\x20\x1c\xa8\x79\xed\x00\x1c\xf7\x60\x5e\x08\xd3\x71\xb6\x65\xc7\x99\x1a\x00\x5f\x85\x0e\x46\x26\x8f\x43\x66\x05\x23\x30\xca\x88\xa2\x43\x86\xb9\x48\xb8\xaa\x0c\xae\x54\xe1\xfd\x60\x8a\xa5\x62\xba\x90\xd9\x64\x99\x93\x1f\xd5\x02\x87\xc0\x93\xbe\xf8\x30\xfa\x22\x82\xc4\x51\xa4\x97\xfc\xc7\xcd\xc1\xfc\x36\x3c\x94\xef\xea\x03\x78\xe4\xa7\x13\x7d\x52\xee\xf0\x19\xa9\x92\x10\xdd\xc7\x0e\x7b\xcf\x7b\x07\x14\xbb\xc3\x32\x9e\x8f\x20\x5a\xd5\x4e\x8a\xfa\x9e\xfb\x03\x07\x22\xe1\x2b\x38\x25\x38\x77\x1a\x62\xcf\x9d\x93\xff\x93\x73\x35\x12\x3d\x27\x4f\xff\x1f\x38\xc8\xc1\x2b\x41\xd1\x2b\xde\xa5\xe1\xc3\xcf\xc1\x7e\x1d\xcd\x0a\x46\xa3\x0d\x88\x53\xcd\x15\xc1\x50\xc2\x6a\x14\x0b\xa5\xde\xaa\xba\x77\xfc\xf4\xfc\xcc\xce\xdd\xb9\x13\x29\x4a\x16\xd2\xac\x7b\x51\x74\x76\x18\x13\x54\xcf\x5e\x70\xde\x1f\x0d\x54\x52\xa5\xd2\xff\xa5\xf3\x35\x5a\xa1\x54\xe9\x58\x66\x9f\x08\xae\x20\x84\xf8\x2c\x20\xda\x0e\xec\x06\xbc\x7e\x7f\x61\x19\x43\xaa\x27\x56\x6c\xdc\x05\x2c\x21\x28\x7b\x60\xd5\xc5\xa3\x17\x31\x88\xd1\x1e\x04\x20\x0b\x65\xca\x3c\x40\x8a\x87\x48\xa7\x44\xab\x61\x26\x7d\xb2\x05\x06\x78\xc6\xba\x74\x15\x4d\xaf\x43\xfa\x8b\xe5\x20\x42\xa5\x9e\x2b\x93\x21\x3e\x31\xd2\x24\x5d\x8c\xc7\x2e\x4b\x99\x52\xd0\xb5\x55\x64\x84\x12\x39\xb0\x67\x05\x09\xa7\x70\x5a\x72\x61\x5f\x21\xba\x34\x0f\x58\x05\x14\x12\x85\x4a\x4d\xa0\x2f\x02\x61\x8c\xe3\xee\xf9\x04\xe5\xc5\x0f\x31\x5c\x5c\x80\x8a\xb3\x3f\x3d\x28\x78\x92\xd5\x15\x2e\xe9\xd0\xdf\xa6\x61\x8c\x0f\x44\x76\x21\x32\x91\x14\x2b\xd0\x7b\xdf\x47\x03\x88\xe2\x93\xed\xe2\xa2\xef\x64\xcc\x67\x90\xab\x00\xba\x59\xd5\x8b\x69\x79\x19\x01\x08\x38\xf9\xe5\x9a\x1b\xcf\x18\xeb\x97\x74\x78\x90\xc0\x2d\xb1\x57\xf4\xda\x40\x61\x07\x35\x27\xe0\xca\x1a\x34\xe3\xd9\x10\x8d\x19\x8d\x5e\x1a\x3d\x40\xee\x16\xb8\x84\x17\x46\xa5\xb6\x87\xcf\x44\x3a\xe0\xba\xe0\xfb\x91\xe3\xbf\xa2\x42\x7a\x8f\xab\xbf\x21\xfc\xf2\x38\xd0\x50\x7b\x39\xbb\xc3\x3a\x11\xa2\x08\xec\x31\x8f\x58\x97\x63\xd7\xee\x4d\xbc\xfa\x1e\x92\x1c\x76\x95\x56\x5d\x5a\x9e\xca\x81\xdf\xa3\xb8\x46\xee\xea\x7b\xd9\x83\x9c\x69\x35\x82\x7c\x02\x54\xd8\x16\x28\x47\x21\x10\x52\x0f\x8c\xce\x44\x81\xa2\x53\xc8\x6e\xc8\xc5\x44\xcf\xf0\xee\xb3\x37\x1d\xb0\x7c\x9d\x2f\x59\xf5\xf5\xae\xff\x75\x23\x85\xea\xbb\xf5\xf8\xac\xa5\x75\x1b\xd0\x9d\x1a\x4d\x6b\x2f\x5b\xed\xa6\x6b\x79\x60\x81\xc7\x6e\x41\xce\xdd\x93\x1e\xfb\xa8\xf5\xd8\xad\x2b\xc5\xad\xb3\xe3\x0b\xdf\xb0\xa5\x21\xb9\x7e\x54\x6e\x6c\x4d\x86\xbc\x9e\x09\x9f\x76\x3f\x63\x70\xc9\xa7\xea\x18\x55\xc4\x31\x58\xcc\x35\x16\xf4\xe4\x5e\x3b\xe1\xd3\x27\x05\xf1\x31\x29\x88\x4f\x0e\xc5\xea\x9a\xfc\xc6\x1c\x8a\x6d\xb7\xd6\xdd\x5d\x93\xb1\xe8\xb4\xe4\x72\xac\x48\x58\x55\xef\x49\xa4\xb9\x92\x3d\x1e\xc5\xb0\x61\x8b\x40\xdc\x70\x7c\xf8\xa4\xec\xb9\xe2\x13\x97\xf1\xe2\xcc\x5a\xa4\x89\xc4\xef\x16\x6d\xd0\xd6\x7f\x6e\x44\x9c\x56\xed\xf9\x3c\x49\x00\x45\x0b\xd2\xd3\x44\x91\xa0\x10\xa6\x58\x50\x3f\x01\x6a\x65\x9d\xcb\xdb\x6a\x89\x54\x93\xe2\xcb\x94\xab\x75\xae\xf1\x96\x47\xec\x35\x7c\x6d\x3c\xd6\x77\xcb\x88\xa1\x08\x1f\x29\xe5\xc2\x3e\x96\x6e\x53\xb0\x06\x75\x5a\xd2\x63\x9a\xb5\x68\x9a\xc0\x19\x96\xaf\x24\x45\x08\x34\x2b\xfc\xa3\xe4\xcc\x9a\xad\xb7\x6d\xec\x4d\x04\xab\x46\xf9\x47\x4e\x88\x71\x31\x75\x21\x3c\x31\x38\xd7\x62\xd7\xb4\xe9\xb1\x53\x45\x71\x67\x4e\x15\x73\xba\xdb\xa5\xc8\x27\x8e\xcf\x70\x65\x48\x29\x07\xfd\x29\xf4\x96\xd3\x74\x42\xc9\x0d\x2f\x81\xaf\x0b\x75\x45\x46\xae\xe0\xc6\xf0\x75\xed\x6e\xe5\xd6\x77\x75\x0c\xdb\xa6\x77\xa3\x58\x9e\x27\x21\xf3\x29\x51\xe9\x49\xec\x59\xeb\x10\xde\xad\x79\xf2\x41\xad\x68\x80\x9a\xf1\x01\xc6\xb9\x8a\xf5\xbf\x6e\x67\xe4\x2d\x17\xb6\xe3\x04\xb5\x0b\x2b\x17\x64\xe0\x0e\xb8\x2a\x86\x50\x90\x68\x04\x14\x4a\xff\xa9\xbf\x93\x6b\x8c\x03\x37\x7a\x58\xf4\x77\x7e\xe9\xb1\xf7\xba\xf0\xe0\x19\x29\xeb\x3a\xe8\x3c\xbc\xcb\xcf\x7f\x26\xf4\x21\x83\x21\x01\x43\x2e\x33\x26\x31\xf8\x03\xee\x71\x78\xf2\x7e\xc2\x8e\x63\x4c\x42\x2f\xf6\xdc\x6b\x15\xb8\xf3\x20\x6d\x61\x90\x57\x8b\x08\x86\xbe\x10\xb7\x89\x79\xa5\x40\x24\x79\x21\x66\xcb\x76\x73\x8b\xe2\x6a\xd1\xeb\x56\x50\xda\x79\x34\xb0\x2a\x30\x8c\x7d\x8f\x2f\xf1\x1a\x5a\x6d\x91\x45\x91\x0b\x70\x64\xac\x07\xe5\x79\xfb\x94\x0f\xf7\x64\x34\x02\x8f\xdd\x08\x17\xdf\x6b\x01\x40\xab\x9b\xcf\x0a\xf7\xec\x2f\x08\xa4\xf4\xae\x9a\x95\xdf\x36\xb3\x9f\xeb\xed\xa3\xf5\x1e\xeb\x66\x14\xd2\x2b\x3b\x62\x13\x59\x33\xe3\xe5\xb0\x77\x32\xd4\x4c\xea\x31\x4c\x80\x80\x90\x97\x0e\xab\xbc\xe4\xcc\x41\x47\x41\x4c\x8c\xa9\x55\x73\xbc\x7d\xb9\xeb\xa6\x06\xd3\x98\x6a\x1f\x99\x22\x58\xd1\xcb\xee\x47\xfd\x5b\x61\x1f\xad\x37\x6d\xb3\x8c\x56\x8e\xc6\x5a\x75\xd1\x9e\x24\xd5\xdf\xa0\x39\xb4\xaa\x91\xdf\x8d\x05\xb4\x72\x00\x6e\x72\x51\x3f\xc9\xe3\xbf\x17\x79\xfc\xc9\x0c\xf9\x10\xb7\xcf\x1d\x1b\x20\x2b\xd8\x65\x8b\x6f\x9f\x0a\x9c\x1c\xa1\xe7\x98\x58\xf0\x05\x47\x70\x2b\x88\xe0\x3a\xb7\x10\xa1\xd7\xad\xba\x83\x3c\xc8\x1d\xf2\x43\x7b\x1d\xa8\xd4\x4a\x47\xee\x07\x12\x5f\x09\xcb\x4e\xb1\x7e\x65\xe0\x17\x53\x91\x00\xd6\x17\xa5\xa1\x3a\xd8\x32\xba\x64\x5c\x2f\xc6\xa1\xf7\x30\x4b\xfe\xc0\x4d\xb6\x10\x17\x03\xa2\xdf\x85\x48\xb4\x3d\xc3\xcb\x27\xf7\xa6\xde\xde\xcd\x32\x2d\x73\x7f\x87\x82\xae\x05\xee\xaf\x75\x27\x5a\x01\x18\x72\x13\x46\xfe\x0a\x39\xd4\x8d\xd7\x42\x92\x75\x6b\x7f\x4b\x6a\x75\xbe\x7c\xbe\x75\xad\xce\x05\xa5\x8e\x1d\x45\xac\x3a\x99\xeb\xd2\x79\xbd\x1c\xfd\x06\x35\xee\x43\xa5\x4f\x4f\x74\x45\x94\x24\xaf\x73\x57\xe9\x22\x4a\xef\xf1\xd0\xc3\xac\xd0\xfb\xfe\xea\x09\x3f\x42\x1e\x4d\x5f\xf5\x55\xe3\x65\x4f\x25\x24\x7f\xa3\xe2\xdc\x93\xa0\xf3\x7b\x11\x74\x6e\x5c\x42\xf2\xb7\x5f\xf9\xb0\xce\x96\xb6\x2b\x80\x98\x0a\x03\x85\x00\x90\x53\xee\x13\x9b\xf4\xa5\x56\xc6\x7c\x26\x75\xde\x63\xe7\x84\xb1\xe7\x83\x96\xa3\x18\x5a\xc4\x05\x59\x18\x1f\xc7\x8b\xb2\x71\xb1\xde\x7c\xb2\xd8\xed\x8a\xbd\x2f\x4a\x0f\xdb\xde\x60\xe2\xb9\x0b\x16\x6e\x4c\x4d\x40\x84\xb7\x2b\xf8\xe3\x0e\x7c\xe3\x2a\xf1\x75\x4b\x3a\x4c\xf6\x44\x0f\x1f\xad\x97\x27\xfa\x9d\x54\x95\x6c\x5c\xcd\x77\x27\xed\xd6\x5f\xb5\xc2\xe6\xd2\xd6\xbc\xcd\xee\xb2\xe8\x12\x7f\xba\xb1\x1f\xf5\x8d\xbd\xb5\x01\xa6\xbe\xdf\x77\x64\x83\x69\x1c\x8c\x27\x3b\xcc\x93\x78\xf2\x64\x87\x79\xb8\x9b\xe9\x8e\x6d\x31\x0d\x39\x04\x0e\xd8\x06\xf7\x13\x21\x8f\x47\x68\x84\x01\xc1\x2d\x72\x42\x0e\x84\x2f\x8d\xd8\x63\x1f\xa1\xc4\x96\xd2\xd7\xe8\x1d\xf2\x5e\xa9\x5a\x84\x98\xaf\xa5\x38\x93\xdc\x4b\x22\xee\xdb\x1c\x32\x27\x11\x7c\x9b\x5d\x0b\x38\xf2\x18\x43\xc5\x33\xa3\xab\x55\xac\x20\xf4\x6b\xaa\x53\xd3\x63\x6f\xbe\xf0\xa4\xc8\xe6\x58\x42\x49\x4c\x06\xa1\x48\x88\x11\xeb\xe0\x01\x63\xbf\xe4\xac\xda\x46\xea\x75\x01\x40\x75\x57\xdc\x4a\x69\xb7\xfe\xe6\x60\x12\x73\xa5\x2d\xe3\xc4\xcf\x50\x24\x23\x86\xd6\x9b\xfa\x97\x7a\x6c\xfd\xb8\x7c\xd7\x54\xa7\xcf\x8c\x5b\xba\x18\x58\xbe\xee\xd4\x9b\x7a\x11\x13\x36\x30\x02\xa5\x7e\x27\x47\x64\x3a\x72\xfe\x3b\x76\x16\x59\xef\x8a\x9c\x2b\x83\x4f\x62\xc6\x1e\x65\xab\x2c\x7e\x35\xe2\x00\xb6\xad\x56\x7d\x50\x96\xa0\xb1\xbe\xe1\x06\xe5\x0d\xd3\xc5\x03\x5f\xe0\xf6\xae\x8d\x64\x8d\x1c\x99\xf7\x51\x98\x62\x73\x07\xfc\xfe\x6c\xed\xe9\xbc\x25\xf3\xd4\x0a\xb0\x99\xb6\xe6\x4b\x0a\xd2\x2e\xd4\x4f\xd6\xad\x4f\xbb\x32\xac\xe0\xd4\x55\x4c\xad\xc6\x14\xc4\x41\xa1\xd5\x02\x12\xb0\xed\x80\x36\x3a\xe6\x2a\x75\x90\x1b\x79\x48\xb2\xac\x61\x99\xc6\x10\xa4\x35\xe8\xd1\x2d\x51\x46\xd7\x4d\xa8\xf2\xa8\xad\xd1\x24\x9a\x8c\xd4\x4a\x2a\x9b\x8f\xc3\xd4\x39\xfc\x7a\x7c\x6b\xcd\x8b\x63\xa9\x7c\xd0\xb8\x2a\xa2\xe9\x2d\xba\x2c\xb6\xb0\xe3\x3a\xf2\x69\x4e\xba\x6d\x3b\xee\xca\xda\x7b\x51\x37\x14\xac\x3c\x50\xa8\xdf\xbb\x23\xe5\xb5\xfd\x5b\x38\x4b\x6f\xf2\x5c\x37\x8e\xd3\x96\x5b\x8e\x7d\x2d\xdb\xe7\x4b\x50\xde\x4c\xc1\x84\x6d\xca\x84\x02\xcf\x8c\xb0\x4c\x98\x0a\xa5\xd6\xeb\xfc\x76\x98\xb4\xba\xe2\xbc\xc2\xd2\x21\x27\x10\x58\x38\xde\xce\xeb\x99\x33\x36\x35\x62\x74\x1a\x84\xb3\x4a\x65\x39\xab\xb0\x9b\x50\x45\x33\x14\xf0\xcb\xe6\x91\xb0\x73\x4f\x33\xda\x22\x56\xdc\xd3\xd3\xbb\x05\x0a\xc3\x9d\x86\xb5\xfd\x34\xc5\x7a\x95\xae\xe8\x21\x0e\xa7\x13\x03\xfb\x56\x24\x0d\x88\xb4\xe2\xaa\x5a\x74\xad\x8e\x12\xdd\x28\x20\x8d\x39\xfd\x94\x0a\xee\x8b\xc9\x16\x3a\xae\xa1\xf8\x57\x2e\x8b\xb7\x3a\x3f\xf5\x06\x31\x2c\x11\xeb\x4b\x80\x3d\xdc\xfe\x2d\x8b\xbf\x43\xab\xdd\x63\x3b\xd9\x2d\xb6\xc4\x9b\x9e\xec\x3b\x36\x4f\xfa\x53\x7f\xbb\x17\x41\x7d\x63\xda\xb9\x3f\xb4\x0a\xce\x3e\xae\x96\xf0\x4c\xc7\x6a\xfc\x42\xac\xc1\xfe\x27\x56\x09\x18\xad\x92\x39\x2e\x0a\xbf\x77\x32\x73\xcb\xbe\x70\x20\xe1\x9c\xbc\xae\xed\x0c\x6d\x32\x59\x72\x08\x49\x23\xd3\xa3\x91\x48\x3b\xcc\x2a\x65\xfe\x86\x57\xda\x2b\x05\xcc\x08\x65\x64\x21\x67\xd5\x4a\x3f\x5b\x00\x69\xcb\xa6\x70\x75\x03\x93\xc7\xa5\xac\xc3\xee\xd5\x0f\x83\x9c\x88\x68\xa5\xae\xb9\x89\x57\x6b\x29\x25\xde\x88\xb2\xaa\xe5\x02\x56\x51\x58\xa5\x35\x59\xda\x10\xd3\xdb\x5b\xd3\x32\x09\x06\xb0\x6a\x4d\x80\xa8\x20\xdb\x1a\x74\x96\xac\x51\xa5\x9d\x50\x64\x98\x2a\x41\xed\xd6\x43\x07\x53\xe1\x94\xf4\x09\x57\x7c\xd4\x0a\x23\xd3\x80\x42\x8a\x80\x21\x4f\x2b\x12\xa4\xd5\x03\xb5\xbd\x28\x9c\x8c\x8c\x15\xbc\xb0\x32\xaf\x7f\x0a\x70\x91\x08\xb6\x0f\x81\x95\x42\xc7\x89\xe8\x00\x79\x16\xd7\x32\xa1\x8a\xeb\x88\x47\x50\x66\xc2\xc3\x16\x60\xda\x5b\x65\xfc\xfe\xfd\x80\xd4\x9f\x32\x3e\xd1\xf6\x10\x94\x59\x21\xa7\x19\x14\x6e\xf3\xd8\x20\x1e\x3c\x9f\x70\x09\xe2\x0b\x4f\xc9\x0c\xc0\x08\xa8\xa5\xcf\x98\x0a\xab\xe6\x03\xb9\xa9\x7c\x9c\x9b\x50\xa9\x20\x5a\xb7\x01\x42\x5f\x89\x9a\x38\x3e\xda\x3a\x6a\x62\x3d\xa2\xb5\x2c\x19\x32\xde\x4c\x37\x84\xb2\xf8\xc3\x55\x69\x60\x4f\xd9\xab\xd2\x14\x7a\xe2\x08\xf4\x95\x9d\x9a\x7a\xed\x8f\xea\xb2\xdc\xfd\xa5\x0f\x46\x95\xf1\xc1\x71\x52\x4e\x14\xd2\x37\x8c\x07\x6a\x72\xb1\x69\x2e\xc1\xbe\xbc\x06\x79\x57\xdf\xbd\x14\xee\x34\x7c\xc4\xc3\x36\x2e\x27\xdc\xca\x29\x3c\x85\x50\xe7\xf8\x77\xe7\x36\xc1\xf1\x6d\xc1\xf1\xfc\xce\x2e\x1b\x11\x36\xa2\x32\xef\x7a\x8a\xf2\x1c\xfb\x30\x15\xea\xf4\xfc\x0c\x23\xf0\x03\x6f\x24\x53\x4e\x18\x14\xd0\xff\x33\xab\x0e\x3f\x63\x51\x4f\x70\x0c\x7c\x31\x87\x69\x2e\x27\x3c\x9f\x33\x99\xda\x1b\x7c\x28\x45\xee\xd6\xbc\xd0\x8c\x1b\x03\x2e\x2c\x45\x06\x77\xe3\x9a\xcd\xb1\x8c\x34\xb4\x93\x1e\xe7\x13\x59\x12\xc0\xd5\x40\x61\xb8\xc8\x64\x3c\x2e\x07\x50\x40\xe0\xc3\xe9\xd9\x3e\x8d\xbf\x5b\xf1\x01\xef\x0f\x32\x3d\xd8\x9f\x70\x53\x88\x7c\x9f\xcc\xa4\x66\xff\xa8\x77\xd0\x9b\xa4\xdf\x58\x01\x17\x32\xd8\xf1\xf4\xe2\x65\xb7\x28\xf1\x61\xd9\xaa\xff\xcd\x68\x75\xce\x8b\x55\x35\xc9\x5d\x33\xe2\xb9\x50\xd8\x90\xfd\x8f\x8b\x0f\xef\xd9\xd4\x7e\xbb\x0b\x42\x0c\x0a\xb5\x79\xce\xe7\x96\xe7\xc0\x24\xf6\x42\xa9\x4a\x31\xe3\x59\x09\xc2\x2f\x1f\x71\xa9\xac\xdc\x65\xef\xdb\x04\x48\x3f\xf2\x86\x68\x07\x27\x19\x81\x72\xd5\x37\x72\x0b\x83\xc5\x6a\x63\x05\x98\x49\xda\xc8\x1c\x7e\x70\x66\xc1\xad\x47\x30\xcd\xa5\xce\x57\x97\xef\x76\xcd\x88\xc6\x89\x95\x11\x55\x93\x34\x93\x8b\x8c\xa3\x8c\x31\xb1\x0c\x95\xfb\xc8\x3d\xbf\x42\x20\x76\x72\xba\x0e\x00\xd6\xc9\xf4\xd8\x8f\xfa\x5a\xe4\xc4\x7b\x8d\x87\xd9\xa4\x6b\x63\x2c\x47\x63\x91\x33\xf7\xfa\x1e\x43\x2e\x64\x2a\x40\x62\x7a\x22\x0b\xaa\x1d\x0a\xf7\xac\x48\x19\x84\x56\x31\x93\x08\xc5\x73\xa9\xe3\xf4\x0b\x44\xaf\xe5\xbe\x4b\x36\x82\x34\x13\xb8\x00\x15\x3b\xb8\x1d\xc6\x1e\x8b\x4c\xd8\x68\x69\xcd\x11\xcb\x20\x70\x61\xd7\xe6\x19\x8f\xe8\xdc\xae\xa9\x04\xd4\xab\x46\x40\x7f\x6d\x67\x7e\x4b\x25\xe1\x86\xb7\xa2\x9a\x35\xfc\xf5\xab\xee\x43\xf7\x48\x94\xba\x3f\xd6\xd7\x54\x90\x1e\x3c\xef\xa1\x08\x88\x5b\x72\xb4\x36\xbd\xfa\xb8\xc6\x8d\x18\xe1\x4d\x2f\xa3\x1e\xd7\x2c\xba\x8f\xed\x28\x6a\x1c\xcc\x9f\x2c\x3b\x2e\x2b\x00\x8a\xe2\x5a\x08\xe5\xc7\xd5\x63\xa7\x98\xd7\x4e\x0e\x7e\xdb\xfc\x84\x75\xd9\xd5\x7b\xad\xc4\xd5\x09\xc1\xe3\xe1\xd3\x39\x2a\x96\xc9\x98\xab\x11\xf2\xc3\x10\xee\x00\xc2\xe0\xb5\x57\x40\x0a\x8d\xd8\xbd\x73\x42\x71\x23\x19\x8c\x20\xb7\xaa\x43\xec\xd9\xd7\xfd\x55\x0c\xc6\x5a\x7f\xbe\x3a\x01\x98\x3d\x74\x36\x63\x58\x2f\x54\xa2\xb2\x97\x9d\x0a\x8e\xaa\x6b\x6c\x4d\x55\xcb\x0b\x3f\x46\x03\x9a\xd2\xa9\xb7\xad\xc4\x6a\x4f\x5f\x31\x10\x02\x85\x48\x45\x1a\x0e\x16\x5e\xdb\xa4\x5e\x11\x05\x1b\x58\xd3\x1e\xd8\x52\xf3\x99\xf8\x49\x7d\x56\xfa\x5a\xbd\x45\xaf\x0a\x4a\xb4\x50\xf8\x1d\x23\x26\xa0\x6d\xf4\xfe\x68\x70\x75\xdf\xd7\xda\xec\x99\xfa\xd8\x54\xe7\xda\xf0\x2c\xd0\xa2\x47\x87\x60\x99\x52\xe6\xe6\xd5\xa4\x7a\xe7\x25\x0b\x8b\xe0\x76\xa8\xe7\x8a\x89\x13\xa0\xf7\x95\xa3\xda\x2b\x10\xe7\x05\x44\xde\xfa\xcd\xdf\x26\x02\xca\x1d\x96\x87\xe0\x1e\x5b\x48\xd3\x91\x1c\x5d\xf1\xeb\x46\xf1\x17\x15\x63\x3d\xd6\x56\x4a\x9d\x7a\x63\x0f\x07\x0d\x92\xb1\xb3\x82\xd0\xb5\x5d\x99\x37\x57\x36\x19\x85\x49\x84\x3e\xec\x01\x79\xda\x66\x08\x80\xd8\x8b\xbf\x06\xf7\x39\x7d\xff\x14\xdc\xf4\x98\x83\x9b\x9e\xe2\x7d\x7e\x2f\xf1\x3e\x51\x38\x72\xeb\x2b\xb7\x09\xf8\xbd\x25\x2e\xb6\x5e\x4d\xd6\x1a\xff\x87\x32\xfd\xf6\xb2\xe6\xce\xed\x18\x64\x0f\x7b\x6d\x4f\xa7\x82\x2f\x90\x91\xb7\x0b\xf8\xbd\xad\xc9\xae\x0e\x0b\x26\x47\x61\xd5\x09\xce\x93\xa2\xe4\x19\x38\x11\x43\x4d\xce\x45\xd7\xc2\xe6\xf7\xd9\x3d\x47\xf4\x56\x97\x6b\x29\x98\xd6\xa2\x39\x2e\x8e\xa0\x5a\x3f\x78\xea\x96\xf6\xf4\x95\x56\xe9\xb6\xf7\xb1\x7f\x36\x84\xd4\x90\x42\x14\xb4\x6d\xc4\x7b\xb7\x0d\xa8\xa9\xbb\xc1\xa6\x7a\x9d\x7c\x9e\x8c\x9b\xe2\x32\xe7\x60\x93\xd7\xea\xf2\x9e\x8d\xea\xcd\xb7\xa3\xc3\xa9\x70\xc6\xf6\x30\xad\xc2\x37\xb3\xa2\xb2\x65\xf9\x5a\x79\xbf\x39\xc8\xe2\x20\xd6\x2f\xc4\xb6\x5e\xc7\x33\x42\xad\x22\x1b\x47\xd7\xdb\x38\xfc\x6f\x78\xf2\x82\x07\xc5\x50\xe9\x25\x1c\xb8\x1f\xe5\x56\xa8\x16\xdc\xac\x14\x64\xb0\x11\x0e\x11\x2d\xd2\x1d\xbb\x12\xdd\x6b\x9d\xa7\x9d\x70\x87\x31\x6a\x17\xac\x32\xb4\x90\xcf\xcc\x2d\x8c\xb4\x9d\x4b\x2e\x60\x55\xf5\x08\x87\xca\x70\xe0\x32\xb6\x37\xf1\x65\x6e\x67\xf2\x16\x75\x18\x52\x6f\xb6\x71\x0b\xad\x6f\xe3\xa8\x43\x92\x44\x63\xba\x04\x03\x84\x54\x49\x56\xa6\x82\xbd\x31\x05\x1f\x64\xd2\x8c\x45\xda\x61\xef\xf9\x44\x98\xd3\x24\x11\xd3\x82\xfc\x0d\x97\x50\xe2\x93\x57\x8d\xcb\xcb\x07\xbc\x26\xe7\xad\xdb\x25\x68\xd9\x1f\x56\xaf\x58\x85\xb2\xbb\xe4\xb1\x6a\x59\xb0\x85\x5a\xc8\x53\x6e\xc3\x6f\x41\xfc\x5f\xbf\x50\x66\x86\x1e\x81\x54\xce\x64\x6a\xe5\x94\x55\x1b\x7f\x2b\xb9\x0e\xb7\xa5\x45\x47\x6f\x7d\xca\x88\xf8\x2f\xab\x21\xf9\x8c\x88\x8d\x79\xf8\xbd\xa7\x1d\xdc\x5c\x7c\x5e\x91\x84\x70\xef\x22\x34\x5c\xb9\x5b\x5c\x39\xf0\x5c\x4b\xbc\x30\xf0\x65\x18\x0d\x1e\x8f\x95\x6a\xc4\xe2\x40\x08\x5e\x88\x91\xce\x57\x23\xaf\x86\x86\xd5\x3b\x10\x76\x4d\xa4\xb1\x7e\x0a\xae\x95\x9a\xcf\x6f\x20\x32\xad\x46\x30\x6e\xac\xbc\xfe\x8c\x67\xd9\xb3\xbd\x10\xc5\x3c\x2d\x49\x40\x61\x52\x81\x45\x2e\x95\x26\xd1\x33\x91\xcf\x59\xaa\x93\x12\x52\xc8\xf0\xc2\x81\xb8\x87\xc1\xdc\xbb\x67\x21\x38\x0e\x2b\x7c\x4b\x35\xd3\x04\xcd\x8a\x55\xa2\xae\x2c\x2d\x26\x45\xc6\x46\xa2\x60\x3c\xcb\xae\xee\x1d\x84\x6f\x0d\x0e\xfa\x99\x38\x28\x08\x99\x22\x77\xf5\xe4\xe1\x6b\x92\xec\x82\x59\x1f\x8b\xa6\x2b\x9d\x4f\x00\x0f\x2e\x88\xcb\x60\x35\x97\x6a\x54\x66\x3c\xef\x11\x45\x84\xf5\xc7\xfa\x8e\x76\x7b\xc0\xfe\xef\xeb\xbc\x23\xb3\x26\x00\x8c\x2b\xfb\xca\x2b\xc6\x0b\x64\x78\xc2\x6d\x05\x46\x16\x6e\xce\xc6\x2c\x8d\xfc\xb0\x7a\xfe\xae\xd9\x8a\x35\x00\x8a\xf3\x2e\x86\xb0\x22\x31\x72\x5d\x7f\x07\xe7\x60\x19\x40\x7f\x67\x1b\x17\x6e\x56\xe6\x3c\x5b\xe5\xc0\x85\x46\x6e\xb8\xf4\x29\x8e\xe3\x8f\x5d\xdd\x70\x4c\xa9\x24\x52\x9b\x1b\x09\x7e\x4f\x59\xa9\x52\x91\xb3\x2b\x7b\x95\x98\x7d\x34\x27\x47\x86\x64\xfa\x86\xb8\x18\x7d\xd7\xeb\xf5\xe8\x7b\x1c\x02\x7e\x7d\xd5\x63\xef\xa0\x3a\x89\x2f\x3a\x15\x8f\x6c\xa1\xe4\xb2\x1b\xd9\xb9\xd9\x15\x76\x0b\xac\xa6\x17\x77\xde\x6b\x8c\xec\x6a\x8f\xde\x37\x10\x90\xd8\x93\xe9\x6b\x91\x27\xf6\x86\xdd\x42\x29\x1b\xeb\xbc\xa8\xf3\xca\xb6\x0d\x08\x0d\x71\x09\xed\x47\x62\x8c\x4e\x5d\x74\x8b\xdc\xf1\xd6\xfe\x3b\xe3\x2b\xb8\x26\x30\x88\xe0\x12\xb8\xaa\x14\x75\x5a\xb6\x32\x77\xcf\x83\x1c\x5b\x58\xb5\xaa\xd4\xcc\x9f\x43\xf7\xb9\x8d\xb4\x97\x4c\xaf\x72\x22\xfd\xd7\x29\xb1\x97\xdb\x06\x48\xc4\x03\x5b\xe7\xb8\x0f\xab\x61\xae\xaa\x83\xbd\xe4\xb1\x9a\x25\x98\xd7\xec\xc0\x32\xaf\x30\x17\x32\x04\xaf\x11\xef\xd8\xe2\x92\x67\x77\xae\x85\xac\xe9\x04\x4d\x62\xef\x3f\xea\xb6\xd1\x57\x46\x14\x05\x54\x16\xf6\x69\x7b\x1f\x5f\x2f\x30\x92\x39\x11\x72\x19\x95\x43\x1b\x47\xe2\x96\x21\xe0\x17\x1e\x8e\x03\xf3\x0b\x1b\xee\xf4\x1b\xf2\xef\x5e\xaf\x77\xff\x8c\x79\xbb\x18\xaa\x87\xf2\x1d\x20\xe3\x5f\x46\x27\xc8\xe1\x31\x34\x63\x5e\xbd\x68\x2d\x03\x07\x61\xa1\x7a\x0b\xd4\xb7\x71\x51\xdc\x56\x4b\x4c\xc2\xca\x20\xae\xb6\x38\x86\x58\x54\x0f\xd5\xbb\x28\x75\x94\xca\x23\x03\x68\x55\x11\x01\x5d\xd1\x06\xbb\x70\x25\x32\xe4\xc4\x20\xb7\x82\x88\x0c\xdc\xfd\x94\x92\x49\xc5\x22\x5c\xcc\x75\x14\x36\xd2\x81\x95\xe8\x84\x8c\x76\x58\x1c\x3b\x4a\x37\x12\x09\x31\x61\x51\x83\xdc\xf2\xf0\x6b\x3e\x37\xe1\x65\xf5\x74\xd5\xd4\x6a\xe9\x09\xa7\xd8\xb0\x21\x9f\x69\x88\xee\xa5\xd3\xc9\xae\xbe\x74\xdd\xa3\xdd\x12\xd7\xa4\x8b\x6f\xbb\x02\x23\x52\x8e\xe5\x1f\xaf\xc0\x45\xee\x02\x65\x3e\xfd\xe1\x97\x1e\x4e\xb7\xa7\x71\xf6\x3f\x1f\x5f\xc0\xe7\xab\x6a\x54\x56\xb5\x62\x77\xaa\x13\xb3\x5f\x70\xf3\xd9\xec\x63\x1d\xb9\x58\xe5\xe4\x53\xb9\x8f\xdb\xde\xf5\x07\xb5\xfe\x45\x37\x26\xe4\x6f\xa6\x79\xa9\xa4\x1a\x81\x9a\x5a\x1a\x37\x0d\xfb\x4d\x75\x22\x6b\xc4\x73\x2d\x4d\x60\x32\x89\x5e\x69\xda\x85\x36\x11\x19\xc5\x05\x38\x16\xf0\x26\x08\x0e\xc7\x82\x7b\x5d\xa6\xf3\x50\x25\xb1\x0b\x9d\xa5\x6d\xd1\x48\xec\xea\x15\x3e\x71\x05\xc4\x71\xf5\xde\x23\xa8\xad\x7d\x3f\x47\x13\x73\xdb\xb9\x62\x6e\x3e\x6c\xab\x06\x15\x62\xa5\x07\x4b\xf8\x71\x58\xd7\x52\x5e\xec\x0c\xa1\xca\x4b\x80\xae\xde\x70\xa2\x27\x53\xab\xb8\xd8\xc7\x75\x9e\x62\x45\x57\x3c\x77\x74\x84\xfc\x4b\xec\x63\x76\x04\x2d\x92\x21\x85\xb9\x7b\xeb\xaa\xb3\x6c\x49\x43\xc5\xe3\xbb\x56\x08\xec\xef\x74\x98\x24\x98\x44\x63\xa5\x44\x3e\xd0\x33\x00\xa4\xab\xb6\xaa\xf5\x62\x3a\x11\x23\x80\x31\x8a\x94\x65\xe2\x8b\x4c\xf4\x28\xe7\xd3\x31\x02\x7d\xf7\x58\x7f\xe7\x87\x66\x1f\x86\x99\x82\xe7\x54\x73\x96\xb3\xfe\xce\xcc\x8e\x02\xc2\xef\x6d\x77\x58\xab\xde\xa5\xc7\x53\x08\xfe\xae\x9d\xc9\x84\xff\x4d\xe7\xae\x97\x3d\x7a\xc4\x45\x57\x67\x73\x72\x70\xc0\x2c\xfb\x3b\x3c\x9b\x8e\x79\x7f\xc7\x12\x53\x7f\x67\x20\x0a\xfb\x37\x94\x54\x47\x0f\x55\xb5\x63\xa9\xa2\x8e\xe1\x9e\x34\x58\x7c\xd4\x60\x22\xc0\x50\xe6\x06\x32\xa6\xbe\x3f\x45\x49\x59\x60\x05\x77\xfa\x1b\xde\xc5\x76\xb1\x76\xcb\xf7\xa7\x68\x5c\xf0\x01\x4f\x76\x9a\xca\xca\xe1\xc3\xa1\xfc\x42\xb5\xeb\x31\x73\x1e\x0a\x8c\xda\x67\xf7\x50\x7a\x87\x09\x0d\xe6\x14\x15\x8b\xf9\x3c\xd1\x94\x69\xc6\x95\xd1\x62\xf5\x96\x2f\x1c\x22\x9d\x69\xb4\x8e\x26\xdd\x7a\x9f\xb0\xd9\xe1\x41\x87\xcd\x8e\x3a\x6c\x76\x68\xff\x0f\xa9\x2d\xf0\xe9\xc0\xfe\x75\xdc\x61\xb3\x63\xc8\x76\xb1\x5f\x1d\xc1\x88\xb0\x1d\xfc\x79\xd4\x61\x43\xad\x0f\xf1\xdf\x7a\x3c\xec\xc3\xda\x85\x9d\xdb\x61\x63\xc5\x62\x4d\xc1\x1c\x65\xb1\x86\x6c\xd1\xe0\x87\x6d\x7c\xe4\x81\xa5\xf7\x55\x99\xd0\xcb\x1f\xac\xd9\xeb\xd6\x8b\x69\x58\xed\x28\x22\x87\x5d\xab\x7a\xfc\x68\x24\xb4\xca\x28\x81\x0b\x44\x26\x4b\x2b\x11\x81\xa4\x01\xc1\x1e\x90\x4d\x69\xcf\xa9\xe3\xdd\x68\xcf\x8c\x98\xf0\xe5\x58\xcc\x5d\x58\x7a\x08\xfe\x85\xd0\xf2\xd0\xab\xc4\xdc\x99\x05\x92\x9d\xf7\x88\xae\x34\x6f\xfa\x86\x7e\xfb\x68\xe7\xec\xa5\x1f\x95\x6c\xe6\xf6\x6d\x85\x0b\x3d\x5e\x2b\x7c\xe3\x61\xcf\x79\x08\xdf\x58\xf3\xa4\x57\x7e\xda\xa4\x3c\x23\x74\x13\x7d\x75\xe3\xf2\x8c\x56\xb6\x15\xe9\xcf\xeb\x49\x17\xd5\xc6\xc0\xc8\x11\x6a\x26\x16\x2b\xaa\x8b\x44\x34\x79\x6d\xaf\x1e\x31\x13\xb9\x47\x3b\xb1\xc2\x6f\xce\x93\xcf\xe4\xbb\x32\x22\x12\x1b\xec\x0d\x6b\xef\xa8\x89\x07\x60\x81\xfc\x18\xc8\xd6\x82\x21\x84\xb6\x52\x41\x2d\x37\x54\x1e\xbd\x20\x4d\x95\x75\x99\xd1\x95\x5e\xc0\xcf\xa4\xb3\x8c\x10\x7e\xec\xf6\x99\x71\xa5\x45\x88\x11\xf1\x17\xe4\x2e\xd4\xfd\xb6\xc3\x54\x9a\xe9\x2c\xad\x40\xe3\x66\x62\x08\x79\x4c\xa4\x22\xc4\x17\x25\x56\x01\x76\x2a\x94\x2f\x64\xe3\x47\x4e\xfe\x36\x89\xeb\xe8\x25\x2e\xf4\xcb\x91\x5f\xcd\x55\x12\x86\xb6\x55\xb9\xfe\xca\x8a\x38\x58\x28\x63\x8e\x15\x8b\x51\xc9\x71\xfd\xdd\x8b\x01\xac\x71\x4f\xdd\xeb\x25\xd2\xf4\xea\xaf\x7b\x8b\xfc\xdc\x48\x84\x08\x02\x91\xa5\x32\x30\x7f\xac\xbe\x2f\x22\x2c\x04\x70\xdb\x53\xb2\xcf\x8a\x53\xb4\xe8\xb1\x38\x41\x31\x64\x02\x24\xf4\xa3\x87\x35\x90\x8a\x5d\x02\x71\xeb\xb2\x98\x96\xc5\x4a\x25\x2e\x17\xc0\xd5\x13\xb1\x5f\x1a\xab\x70\x59\xe5\x8d\x9c\xa9\xf6\x22\x31\xfb\xdf\xe4\x22\x11\x12\x94\x31\xaf\xcd\x75\xb9\xe9\xc2\x11\xaa\x6a\x64\x58\xb4\xdc\x8f\x09\x44\x50\xa7\x63\x77\x20\xa5\x4d\x8d\x32\x97\xdd\x65\xef\x99\x69\xc6\xe7\x1e\xfc\x60\x14\xa2\x68\x9a\xea\x15\x14\x8a\x79\x78\xa6\xde\x48\x37\xbd\x89\x51\x38\xe8\xf3\x2b\x53\x44\x23\xc5\x3f\x48\x36\xd2\x78\xaa\x5c\xb0\x70\x56\xa7\xaa\x18\x0e\x7a\x58\x97\x87\x32\x14\x0a\x88\x97\xb2\x8d\x22\xc7\x7d\xb5\x63\xdc\x7c\xc1\x38\xbb\xe6\x39\xe4\xc6\x8d\x05\x27\xad\x8e\x3c\x45\x96\x6d\xe7\xc2\x4c\xb5\xaa\x5b\x9e\x21\x9b\x64\x1b\x3d\xdd\x0d\x58\x6a\xf5\x57\x7c\xed\x9a\x2b\x14\x1e\x60\x56\x84\xc9\x65\x4a\x32\xa0\x03\x95\x77\xb3\xf0\xe7\xa5\xd0\xe8\x60\x43\x97\x43\x8f\xbd\xe3\xf3\x0a\xd0\x04\xe6\x77\x84\x15\x84\x0c\x0f\xbb\x70\x78\xa7\xd4\xfb\x5d\xb0\x3f\x55\xeb\x8d\xbd\x04\x72\x91\xe8\xc9\x44\xa8\x14\x68\xdb\x6d\xa0\x12\xd7\xf6\x32\xa8\x6a\xca\xf6\x47\xf1\xf7\x92\x67\x56\xe3\x72\xf9\x7d\xa6\xe0\x03\x99\xc9\x62\xde\x71\x75\xce\xb0\x2e\xfd\xdd\xa6\x6d\xc6\x2a\xb9\xfd\x8e\xea\xb5\xfd\xe7\x7f\xfc\xdf\xd9\xe1\x7f\xfe\xc7\xff\xeb\xc0\x5f\x47\xa0\x8d\xc1\x47\x51\x24\xeb\x1a\x6e\x2b\xeb\xc5\x8b\x8d\x1d\x71\x57\x76\x1d\xae\xb0\xcb\xb0\x49\x5b\xb8\xc0\xc0\xfa\x75\xaf\xf2\xfd\xcf\x58\xd6\x6e\x95\x91\x9e\xcc\x92\xd5\xca\xba\xf4\x25\x88\xf0\x96\x17\xcf\x7c\x5f\x1d\x46\x66\x35\x94\x3a\x88\x52\x09\xa8\x61\x0d\xee\xb1\x08\xce\x1a\x56\x78\x95\x28\x88\x3b\x0b\xa6\x84\x61\xc6\x47\x88\x9d\x27\xd5\x68\x3f\x95\x06\xff\xaa\x0e\x01\x44\x18\xd4\x46\x1c\xf1\x4b\x8e\x11\x4b\xa7\xe7\x67\x0b\x02\x78\x96\xdb\xfa\x50\xe6\x5a\x43\x66\x8d\x42\x72\xeb\xe7\x36\x98\x80\x61\x81\xeb\xd6\xdf\x06\x55\xc7\xe6\xe0\x4b\x30\xa8\x38\x07\x9d\x88\x60\x24\x2b\xc6\x15\x6a\xff\xcf\x4b\xc8\x75\xf9\x3c\xcb\x41\xde\x82\xed\x71\xf7\x54\x7b\x11\xbf\x78\x29\xdd\x46\x0d\xbd\xef\xe0\x1a\x12\xc2\xe2\x5f\xda\x48\x72\x91\xc1\x75\xcc\x67\x62\x8b\xb4\xba\x7a\xd2\x2e\xd1\x72\x0b\xd5\x3c\x84\xfd\x23\x5a\xd0\x8b\x84\x67\xcb\x30\x55\x97\x3f\xe8\x7d\x78\x94\xc9\xe8\xe2\x94\x2c\xb7\xb0\x3f\x47\xcb\x8e\xf2\x6c\x55\x27\x5b\x2b\xe4\x7f\x20\x32\x57\x89\x78\x0d\x68\x83\x46\xfb\x4a\x08\x6d\xc0\x38\x20\xb7\x08\xa8\xf6\x0d\xd0\x02\x80\x74\xd1\x39\xca\x1a\x98\xb2\x8a\xd3\xbd\xc2\xa0\xe6\x9e\xa1\x17\x5c\xf5\xd8\x07\x7b\x85\xfb\x7e\x0d\x1c\x35\x5d\x62\xd0\x62\x15\x3d\x81\x5c\x2f\x60\xb5\x8d\x02\x29\xf0\x61\x18\x2a\x39\x16\x7b\xf8\x96\x2b\x7b\x0b\x5f\x41\xa2\xe1\x55\x68\x4f\x12\xd5\xb5\xce\x3f\xe3\xb1\xfe\x17\x9d\xcb\x7f\x68\x55\xf0\xec\x5c\xa7\xa7\x65\xa1\x61\xe9\xf3\x58\x13\x85\x30\x4a\x87\x5e\x23\x4d\xb4\x0c\xde\xab\xef\x2c\xc2\xf8\xc0\xae\xd5\xfb\x38\xa1\x5d\x7d\x61\x6e\xba\xb6\x51\x99\x14\x0e\x06\x22\xa0\xbc\xc6\x71\x3c\xb0\x03\xe1\x11\xe9\x4d\xea\x43\x9d\x4f\x5a\x63\x31\xef\xd0\xe3\xf3\x0d\x2c\x46\x37\xa6\x43\xb4\xf7\xfb\x02\xdd\x18\x15\xe5\x24\x03\x87\x73\x40\x34\xd2\x76\x5b\x75\x30\x7e\xaa\x4e\x09\xd4\x11\x3d\x73\xb5\x0f\x2f\xbe\xaa\x9c\x80\xb6\x2a\x4b\x58\x51\x1c\x57\x68\x1b\x19\x62\x2a\x92\x8f\x62\x9a\xc9\x84\x9b\x35\x4e\x47\xbd\xf9\x2d\x1f\x8e\xa9\x48\x7a\x39\x75\x7f\x57\x47\x03\x4f\xc3\x2d\x6d\xe2\xc2\x5d\x42\xa9\x3d\x80\x9e\x69\xc5\xbe\x7f\x73\xb9\x75\xf2\xc9\x26\x5b\xd4\x78\xe0\x4e\x38\xd8\x5d\x6f\x13\x72\xb0\x5b\xdb\xa8\xfa\xa8\xb7\x38\x6d\x75\x97\xcc\x4d\xa3\x91\x1a\x47\x6f\xf9\xae\x3f\xf4\x3d\xbf\x99\xa3\xa3\xf1\xe4\x92\x9b\x1e\x7f\x5f\x75\xd5\xb3\x80\x21\xeb\x93\x00\x02\xa0\x5a\xb8\xf3\xda\x09\xbc\xda\x5b\x30\x2e\x74\xd8\x1f\x28\xe8\xcf\xde\x42\xfb\x0b\xc6\xd2\x66\xb1\xf8\x03\x3b\xff\xe9\xb2\x66\x8e\x10\xad\x3d\x14\xfc\xb3\x68\x39\x63\xb8\x6f\xa8\xf2\xc8\x91\xb2\xd7\x1a\x22\x7b\x50\x86\xdf\xbc\x18\xdb\x5b\x4f\x7c\x49\xc4\xb4\xa8\xac\x54\xc1\xd5\x3f\x38\x0e\x60\xff\xfc\xc3\xc5\xe5\xfe\xf9\xe9\xe5\xab\x7f\x69\x8c\xa5\x61\x9c\x6a\xbc\xa4\xd1\xe9\xce\x03\x51\xd7\x56\x84\x65\x2a\x8c\x8d\xe6\x01\xa1\xcd\x75\xd9\xd1\x6c\x29\x3c\x9a\x9a\x70\xcb\xee\x53\x55\x41\xc9\x7a\xb9\x9a\x6d\xe7\x59\x75\x21\xd6\x37\x9d\xf4\x42\x3c\x6e\xbc\x9d\xd3\x01\xb7\xc7\x1b\x0b\xc0\x90\xae\x38\x49\x81\x56\x0d\x9e\x1d\x5e\x11\xeb\xa7\x8c\xb0\x47\x93\x4a\xde\xe4\x4e\x1b\xe7\x92\xaf\x5e\x2d\xe2\x2a\xd1\x72\x11\xf3\x20\x8c\xfd\x13\x76\xd8\x5b\x79\xf2\x1c\x88\x9c\xcf\x48\x6a\x3f\x8a\x57\xfe\x6d\x78\xc2\x49\xb5\x74\x99\x78\x47\xab\x5f\xd4\x3a\xe0\x65\xdc\x45\x53\xc4\x10\xf9\x49\x97\x8f\xe0\x81\x1d\x26\x91\xf1\x69\x5d\x6e\x11\x1e\xa9\x66\xa2\x04\xdb\x13\x9b\x88\x62\xac\xd3\x6d\x39\x44\x2d\x14\xed\x8e\xe9\xdf\xde\x6d\xf8\xa2\xf3\x5c\x4f\x97\xd3\x7b\x6d\x64\xce\x26\xea\x22\x07\x67\xc7\xce\x20\x57\x68\xb0\xeb\x56\x4d\x72\xc0\x47\xc9\x2a\x77\xff\xfb\xfe\x86\x70\xa6\x5e\x53\xd4\xfd\xaa\x4d\x6f\x6d\xef\xdc\xaf\xce\x6f\x04\x40\xc3\x11\x86\x55\xe5\x86\x87\xf7\xa7\x22\xf5\x81\xfe\xeb\xa2\x10\x2f\x81\xcf\x5c\x47\xbc\x2f\xf3\x46\x02\xc9\x6d\x17\xc7\xd8\x82\xc6\x96\x2c\x35\x88\x57\x31\x72\x92\x9a\x23\xd9\xa0\xe0\x05\x62\xb5\x8b\xec\x42\x64\x3b\xb0\x9f\x3b\xac\xd7\x13\x36\xd0\x3a\xeb\x30\x28\x72\xdb\x61\xc3\x4c\x73\xf8\x03\x27\xdb\x61\x9f\x7e\x01\x4f\xe2\x90\x27\xe2\xdf\x7f\xed\xb0\x09\x9f\x7e\xc2\x9f\xe2\xef\x81\x38\x95\xcc\x7a\xb7\x38\xe5\xf8\x58\x2d\x9f\x7d\xd4\x12\x99\x8a\xfd\xb2\x4b\xa7\x0c\xa3\xea\x2c\xa9\x55\x2b\x38\xbe\xce\xf9\xb0\x60\xcf\xd9\xee\xb8\x28\xa6\x27\xfb\xfb\x7f\x33\x5a\x75\x5d\x38\x6b\x3e\xda\xdf\x5b\x83\xd4\x88\x99\x6c\x4c\x63\xff\xd4\xee\x28\x58\xe7\xd1\xe0\xbf\x3d\x6b\x4b\x80\xbe\x5b\xf6\xf6\x21\xff\x8b\xd6\xd9\xaa\x81\x2d\x84\xef\x7f\xc8\xd1\x65\xd9\x87\xc6\x56\xdd\x8f\x17\xb8\x4e\xcb\x37\x71\xfb\x72\x35\xff\x3d\x4c\x83\x74\xf8\x7b\x20\x8f\xa5\x17\xb2\x33\x25\x00\xcf\xa8\x96\x0e\xb7\x37\x50\xa9\x9c\x0b\xa1\x92\x09\xe0\xfd\xd4\x14\x54\xcc\x31\xa2\x95\x0a\x39\x45\x96\x90\x46\x88\x88\x7b\xc8\x35\x1d\xf1\x42\x54\x7a\xdb\x10\x6c\x71\x81\xe0\x1f\x2d\xde\x76\x35\x36\x1e\x9a\x72\x96\x17\xa2\x98\x5a\xb1\x40\x25\x2d\xec\xe5\x31\xcc\xee\x43\x8e\xf5\x0d\x4e\xab\xd4\xbf\xdd\x54\x6f\x24\xc8\x08\x55\x4e\x1e\x8e\x55\xdc\x88\x3f\x50\x58\xf7\x7d\xf0\x87\x05\xef\x4f\xb2\xd2\xc8\x99\xa0\x2a\x02\x8b\x96\x7f\xa9\x73\x35\x74\x22\xd5\x0d\x3a\xf1\x72\xf4\x5d\xdf\xa6\xed\x22\x7e\xeb\xa8\x36\x87\x82\x8f\x94\x1c\xfa\x9e\x1c\x24\x0e\x6b\x89\xbe\x46\xe1\x14\xd5\x63\x17\x7a\xe9\x05\xb8\xb8\x09\x29\x46\x22\x3d\xe9\xab\xbe\xea\xb2\x81\xd1\x0a\x0f\x93\x4c\x4f\x2c\x4f\x36\x1e\xd0\x85\x9d\xbd\xa6\x2a\x2e\x9c\x1d\x3d\xb7\x4a\x77\xce\x93\x42\xe4\x86\x8d\xc5\x17\xe7\xca\xea\xb2\x32\x97\x27\x76\xa8\x3f\x7d\x3c\x63\xdc\xb0\x29\xcf\x29\xa5\xf8\x7b\x9d\x71\x35\x62\x4a\x14\xfb\x65\x9e\xf5\xce\xed\x0f\x1f\x51\xed\xb7\x6d\xbb\x4c\x4c\xb8\xcc\xe0\x59\xf8\x8b\xf1\x34\xcd\x85\x31\x0b\x7b\xb1\x8d\xb0\x9b\x53\x6a\xd9\x65\x63\x6d\x20\xff\xd8\x8e\x1d\xa5\xf7\x1a\x06\x10\x14\x81\x50\xec\x0c\x40\x7c\x44\x01\x0f\x50\x1c\x0d\x37\x71\x65\xc5\x8f\x6f\x5f\xb1\xc3\x83\x63\x2b\xc2\x53\x01\xe7\xe3\xde\x21\xfb\xf4\xf1\xed\x2b\xfb\xed\x2f\x3d\xd6\x65\x72\x3a\x7b\x0e\xe3\x3d\x3b\x9f\x3d\x67\x67\xe7\x8b\x46\x8a\x83\x3c\x3b\xc7\x47\x5e\xba\x47\x5e\xae\xf7\x48\x22\xd3\xdc\x4e\xe7\xd5\xd9\xeb\x8f\xcb\x9b\x43\x8b\x2e\x9b\xf0\xc4\xb6\x7f\x77\xfa\x6a\xd5\x12\xe2\x63\xb6\x61\x97\x95\x25\xec\xb8\x62\x3f\xfd\x74\xf6\x9a\xe2\xd4\x51\xcf\x2c\xa7\x53\xcc\x5e\x8e\x97\x07\xa3\x66\x47\xe2\x0b\xdb\xfd\x4e\xee\xfd\xdb\xa7\x83\xee\xb7\xbc\x3b\xfc\xe5\xdf\xff\xf4\x6b\xf7\x3b\xff\xe1\xf9\x7a\x1f\x0e\x8f\x7e\xfd\x27\x1a\xc1\xb1\x1f\xc2\xf1\x2d\x8e\xe1\xd8\x7f\x3a\x5e\x67\x10\xcf\xfd\x20\x9e\xdf\xe2\x20\x9e\x57\x07\xf1\xa7\x6f\xf9\xe0\x97\xf6\x71\x45\x43\x79\xe1\x87\xf2\xe2\x16\x87\xf2\x62\xd3\xa1\x48\x33\x50\x48\xb6\x17\x7f\x79\x7f\x78\xc0\x74\x8e\x7f\x1d\xbb\x34\x28\x3a\xfe\x80\x0b\xd0\xdf\x39\x38\x3e\x3a\xfc\xe3\x8b\xc3\x83\xe7\xc7\x2e\x81\xea\xdb\x3f\xfe\xa9\xeb\xbf\x3d\xec\xef\x50\x9f\x87\x07\x71\xaf\xab\xfb\xa2\xa7\x8e\xc3\x53\x0b\x46\xd0\xf2\xbe\x24\x17\xa9\x2c\x12\x9e\x03\x63\xc3\x4f\xcc\x7e\x74\x3d\xb4\xae\xe4\xbf\xed\x7e\x77\x02\x3b\x07\x6b\xb1\xfb\xdd\x09\xfe\x7d\xfc\xeb\xde\x77\x5f\x5f\x7c\x3a\xec\xbe\xf8\x85\x7e\x7c\xfe\xeb\xd7\x97\xbb\xdf\x9d\x1c\x1c\x1e\x7e\x85\xe5\xc5\xef\xf7\xfc\xa3\x5f\x8f\x3f\x3d\xff\xa3\x6b\x7c\xfc\xeb\xd7\x63\xdb\xf8\xd3\x41\xf7\xc5\x2f\x5f\x3f\xbd\xfc\x53\xb5\xf5\xe1\xaf\x5f\x77\xbf\x3b\x39\x3a\x3c\x3e\xfc\x7a\xf8\xa7\x83\x83\xaf\xc7\x2f\xfa\xfd\xd4\xbe\xd3\xfe\xe7\xf0\xf0\xd7\xbd\x7f\x0a\x95\xd5\x94\x56\x2c\x95\x23\x3b\x97\xc0\x91\x27\xf2\x0b\x06\x22\x77\x99\x31\x76\xe7\xd8\x4f\xbd\x8b\x1e\x33\x3a\x91\x3c\xb3\x0c\xad\x84\x4a\x05\x34\xf1\x70\x35\x44\xf3\xc6\x37\x7e\xea\xb2\x5f\xbe\xb3\x7f\x1e\x85\x3f\x9f\x03\x49\x8c\xc5\x97\x44\x67\x3a\x87\xad\x18\x8b\x2f\x3c\x15\x89\x9c\x60\x3c\xb4\xce\x59\xa2\x53\xe1\x36\xe3\x9b\xb7\xf0\xbf\x93\xf6\x17\x7d\xf3\xdd\x2e\x91\xdb\x69\xf7\xad\x5d\xd9\xaf\xf1\xc7\x97\x76\xb2\x5d\x96\x8f\x06\xe1\x6d\x1f\xbf\xff\x4b\xe3\x2d\xf9\x68\xe0\x5e\x97\x8f\x06\xbb\x47\x2f\x5e\x74\xe8\xff\xdf\xc2\xee\x0f\xe6\x85\x38\x61\x03\x6e\xc4\xcb\xe7\x50\xf2\x29\xb5\x3b\x2d\x15\xcf\xe7\x0c\xd2\x7f\xbb\x50\x69\xee\x5a\x03\x79\xa8\xb9\x47\x5d\xf1\x17\x9b\xbd\x26\xed\x4a\xa6\x98\x16\x13\x53\xdb\xd1\xc1\xc1\xcb\xee\xc1\x61\xf7\xe0\xa8\xbf\x53\xbb\x46\x86\x65\x96\x75\xe1\x11\xa9\xec\x9d\x72\x7c\x7c\xfc\xad\xed\xac\xc4\x7c\x06\xe8\x90\xfe\xae\x77\x7a\xc4\x94\xc1\xfe\x1a\xbc\xbb\x90\x13\x81\xcc\xfb\xb5\x7b\x18\x56\x63\x32\xe5\x85\x1c\x64\x02\xc9\xe3\x22\xe1\x59\xd4\x3d\x49\x0c\x38\x13\xdb\x83\x9f\x0d\x00\x75\xd6\xa7\x74\xf8\xbc\x7b\x78\xd4\x3d\x7c\x71\x79\xf8\xed\xc9\xf1\xc1\xc9\xd1\x41\xef\xe0\xe0\xe0\x7f\x37\x26\x68\x3b\xe8\x42\x07\x61\x82\x5b\x84\x03\xc8\x46\x3c\xe3\xd6\xe8\x75\x77\xad\x99\x9c\x2e\x96\xb8\x27\xfc\x4b\xab\x3d\xa9\x52\xf5\xe3\xe5\xf3\x2d\xaa\x7e\x4c\xf8\x97\x1f\x85\x1a\x35\xa3\x24\x6e\xa5\xeb\xc5\xb6\xa6\x5b\xe9\xbe\x4d\x6e\x0f\x1d\xa7\xba\x1c\xd4\x1d\x82\xae\x67\xe4\x50\x0b\x3a\x96\xea\xae\x16\x5b\xaa\x3b\x5b\x6c\xa9\xee\x74\xb1\xdb\x95\xa4\x5b\x58\x6c\xaa\x89\xd6\xb4\x9b\xdd\xbc\x6f\xa5\xef\xc3\x86\xd5\x6a\x3b\xa9\x0c\xa3\xcc\x32\x3e\x68\xea\xcb\x6b\x69\x98\x5a\xb5\x2c\xcd\x6f\xcf\xa4\x38\xe5\x85\x55\x8c\xb6\xe1\xc5\xf4\xe8\x62\xea\x7e\x0c\x76\xa5\x9b\x99\x92\x16\x38\x30\x7e\x17\x73\x8b\x62\xb9\xd6\xa1\xe1\x5b\x44\xe6\x2a\x64\xb1\xf8\xd0\x6d\x8a\x12\xbd\x96\x6f\x12\x00\xb7\x5b\xef\x8e\xb5\xce\x7a\x25\x8b\x57\x4c\x06\x22\x4d\x45\xea\xa3\x6c\x57\xd8\x73\x96\x3f\x1c\x45\xfe\xb8\x4a\xf2\x18\xcf\x87\x75\x66\xa9\x39\xfb\xc1\x77\xc1\xf2\x52\x81\x34\xf8\x81\xa2\xae\x40\xf2\xbb\x9c\x4f\xc5\x3b\x41\xa8\x37\xa1\x2e\x04\x5a\x82\x00\x2d\xdb\xc5\x37\xbb\x18\x0c\x84\x54\xa4\x10\x46\xc8\x1c\x2b\x73\x08\xa1\xc8\x85\x5d\xca\xa4\xa0\xa0\x5c\x1a\x80\x7b\x0c\x41\x76\x6a\xd5\x9a\x2a\x90\x3a\xde\xc2\xc4\x78\x59\xe8\x09\x2f\x1c\xb6\x47\x65\x21\x16\xc0\xe6\xd4\xc6\x34\x10\x94\x30\x37\x28\x0b\x96\x6a\x61\x20\x0d\x77\xcc\x67\x82\x7e\x95\x71\x58\x87\x7d\x18\x0b\x7b\x07\x98\xa1\xdd\x72\x6a\x9b\xd6\x87\x1d\x70\x82\x16\x01\x46\xad\x4f\x10\x52\x15\x5d\x9d\x77\x89\x00\x37\x20\x86\xca\x83\x51\xae\x29\x91\x82\x07\xaa\x94\x86\x09\x09\x7b\x13\x15\xce\x83\xda\xa6\xce\x18\xe8\x0a\x94\x52\x0a\x56\x07\x69\x67\x5a\xcc\x99\xaf\x0c\x47\x8b\x0a\xc9\xd0\xf6\x3b\x6e\x58\x32\x96\x59\x8a\x20\xd9\xf3\x0f\x43\xc0\x23\x15\xb9\xab\x84\x37\x8c\x94\x37\xad\x7c\xb6\x5c\xf8\x92\xd8\xbf\x01\x43\xe2\xe1\x1e\x76\x72\xd2\x57\x8c\xb1\x2e\xbc\xe2\xc4\x8d\xb5\xf2\x1d\x0e\xb9\xaf\x8e\xf6\x18\x38\x17\xdd\x13\xd1\xe3\xed\x1d\x34\xbb\x80\xaf\x7a\xbd\x1e\xfb\x87\xc8\xb5\x5d\x90\x89\xce\x17\x48\x23\xeb\xef\x66\x3d\xdd\x7f\xed\xdd\xac\x3c\xc8\x00\x88\x19\xa2\xb3\xb8\xa2\xd8\x61\x38\xa8\x76\x0d\xdb\x41\x01\xd8\xd5\x84\x4f\xaf\xac\x86\x45\xf9\x3a\x4e\x6d\x86\xfe\x20\x17\x8a\x10\x4b\xa5\x4a\xc5\x17\xb7\x21\x13\x3e\xed\xd9\x1d\x00\xdc\xaa\x82\x8f\xb0\x84\x93\x4b\xa7\x74\x75\x78\x11\x18\x00\x08\x0b\x4f\xcf\xd8\xea\x7c\xed\x03\xe9\xef\x30\x7f\xed\xb8\x24\x8b\xfe\xce\x84\x4f\xfb\x3b\x3d\x76\x9a\x19\xdd\x09\x7c\xca\x44\x47\xcd\xa3\x94\x06\x28\xd5\x28\xa9\xc2\xaa\xa6\x39\x6c\x60\x4a\xa9\x15\x2e\x05\x0e\xa8\x10\xf3\x29\xca\x5c\xb0\x5d\xa5\x99\x12\xc6\xb9\x09\x7d\xc0\xc5\x1e\x4d\x53\xb0\x70\x2b\x47\x6f\x87\x57\xd1\x31\x81\x3c\x7d\x2a\x16\xa6\x73\x9c\x71\xcd\x53\xd9\xb1\xb3\x02\x1c\x01\xbb\x18\xda\x54\x7a\xb5\x6c\x8c\x8c\xc8\x68\x3f\xce\x32\x42\x43\xb7\x57\xc8\xbd\x23\x59\x2e\x04\x91\xd8\x8c\x36\xf1\xd8\x37\xe9\x32\xe2\xfd\x2e\xcf\x91\x49\x88\xcc\x9b\xea\x4c\x8f\x5c\x55\xf8\x40\x13\x95\xca\xf0\x55\x0a\x73\xd8\xf8\xb0\xe4\xc7\x6c\xaa\x8d\x01\xf3\x04\x12\x8b\x63\x15\x57\xbc\xd0\x13\x99\x5c\x9d\x04\x44\x2c\xe0\x5c\x02\xaf\x0d\x13\xf2\xd6\xb1\xd8\x7c\x07\x8d\x14\x8e\x8a\x7a\xc4\x0f\x4e\xa1\x17\x7a\x33\x04\xb9\x0f\xf0\x89\x5c\x64\x73\x96\x8b\x69\xc6\x13\x97\x41\xe8\xf1\xd0\xab\x73\xa1\x9e\x08\x6f\xc5\x57\xad\x56\x73\x5f\x62\x02\x46\xb7\x8b\xe4\xd9\xa1\x01\x74\x2c\xd7\xb1\xf4\x78\xb4\xc7\xae\x8c\x28\xae\x1c\xdf\xba\x10\x45\xc0\xd8\x72\x25\x46\xed\x6a\xf9\x6b\xcb\x97\x9a\x46\x8c\x7d\xcf\x13\xa0\xda\x34\xc5\x1c\xbd\xe1\xc9\x98\x3a\xc4\x0b\xa0\x7e\x8c\x3a\xa1\xac\x01\xf6\x50\xd9\x6c\xcb\x83\x90\xa1\xd0\x32\xc3\x5d\xe1\xa6\x1a\xf1\xa2\x45\x7c\x88\x1e\xeb\xf5\xd5\xf1\x1e\x72\x25\x37\x3f\x8c\x86\xa2\xad\xce\xc9\x12\x37\xe1\x53\x83\xf9\x07\x28\xc1\xc8\x9c\x89\x4c\x00\xc6\xac\x3b\x7a\x4a\xab\x2e\x72\xad\xcf\x62\x4e\x7d\x39\x04\x1c\x57\x68\xd8\x3e\x3a\xe9\xb1\x0f\x08\x60\x16\x61\xf2\xb1\x72\x0a\xd1\x8d\x39\x65\x78\xda\x17\x5a\x4e\xe7\xf6\xae\x8d\x1a\x29\x40\x12\xa6\xe9\x07\x63\x19\x0e\xec\x2a\xca\x32\x7d\x15\x27\xce\xe3\xa4\xf1\xb8\xdb\x25\xda\x26\xab\xbb\x75\x1b\x36\x39\xa7\x7e\xeb\x2a\xc7\x94\x76\xfa\x16\xce\x29\x1c\x05\x27\x12\x50\xb7\x95\x23\x7b\xb4\xf0\xc8\x8e\x72\xae\xca\x8c\xe7\x35\x5a\x80\xcd\x0f\xf8\x46\xf8\x79\xf7\xb3\x98\x77\x91\x74\xa7\x5c\xe6\x66\x0f\x5e\x02\x65\x91\x49\xcc\x03\x6f\xa5\x72\x41\x09\x05\x75\x09\x19\xc9\xd0\x0c\xa3\x79\x77\x01\x4a\x25\xb1\xc2\x8c\xfd\x72\x60\x5f\xa7\xe4\xb4\xcc\x38\x25\x4c\x18\x31\xe5\x39\x2f\xe0\xed\x3a\x37\x01\x59\x9d\x3a\x8c\x61\x08\x06\x62\xcc\x67\x52\x97\xb9\x67\xe9\x76\xac\x74\x88\x6f\x95\x21\xc1\x1a\xac\xc9\x8f\x6e\x48\x64\x0b\xc4\xe8\x4d\x68\x6e\x91\x24\x6e\x0a\x3d\x0d\x78\xb1\x04\x3a\x91\x8a\x44\xa7\x20\xad\x16\x62\x8a\xfb\x45\xb1\xb5\x6b\xe2\x7d\x46\x81\xb9\x14\x34\x88\x5b\xc6\x87\x43\x80\xf0\xa1\x5e\x72\x91\x94\xb9\x91\x33\x91\xcd\x51\xf8\x37\xd7\xb2\x48\xc6\xc2\xb0\x01\x4f\xa0\x20\x2a\x82\xc1\xfb\xb7\x87\xdd\x95\x43\x10\x1f\x44\x1a\xdf\xe8\x76\xc7\x5b\x34\xf6\x2a\x5e\x8a\x07\xd8\x88\x07\x06\xd4\xe7\xc5\x0a\x40\xf4\x8c\x63\x9c\x7a\x58\xfb\x08\x54\x0f\x9d\x0f\x64\x9a\x8a\x45\xf5\x8f\x9a\x32\xe8\x7f\xab\xed\xee\xdd\xc5\xc1\xb6\xd8\xb3\xd7\x8e\x0d\xa5\x07\xaa\x55\x46\xf1\x74\x63\x76\x5d\x65\x85\x30\x8a\x34\x0e\x2d\x45\x07\x3c\xde\x3b\x7a\x58\xff\xb9\xc7\xde\x71\x69\x79\x14\xe4\xc6\x51\xf9\x7f\xc8\xa0\x25\x9c\xa9\x32\x87\xa4\xa6\x3b\x0a\x91\xa5\xe0\xc7\x0d\x16\xc3\xb6\x8f\xd7\xa2\x6d\xba\x8c\xf6\xda\xdd\xe8\xf1\x45\x03\x24\xe4\x72\xb1\x5c\x3b\x22\xd5\xf9\x9d\xcd\x32\x8e\xae\xda\x60\xb2\xd1\x63\xd5\xfd\x6f\x9d\x35\x69\xb2\xb0\xd5\xb7\x35\x93\x0b\x91\xcf\x64\x22\x3e\x3a\xcc\xa4\x25\xa3\xaf\x37\x65\x63\x0d\x77\x8d\x0f\x9c\x07\xab\x01\xb5\xea\x65\x62\xc4\x93\x79\xbd\xd2\xca\xc2\x98\xe5\x0d\x11\x5b\x62\x94\x6b\x43\x6f\xf4\x15\x8c\xb7\x84\xa8\x9e\xf2\x95\xc6\x26\xdf\x2e\x1e\x07\x7e\x71\x7b\x83\x99\xae\xce\xdd\xc5\xb4\x45\x94\x5e\x08\x6f\x95\xfd\xf4\xf1\x47\x4c\x67\xe4\x05\xdd\x12\x76\x3c\xae\x16\xb4\xbb\x2f\x21\x95\x3e\xd9\xee\x6a\xb4\x8a\xe2\xaa\x81\x41\x65\x83\xea\xc0\x68\x49\x18\xfc\xb6\xe6\xe0\xd8\x95\x6d\x7d\x15\xa1\x95\xb8\xf8\x23\xe8\xc5\x81\xc5\x1e\x76\x5f\xbe\x78\x71\xfc\xa2\x83\x45\xe9\xec\x85\xb6\x57\xe5\x06\xcf\x9f\x43\x64\x17\x5c\x6b\xd7\x3c\x4f\xbd\x4f\x17\x80\x86\x6a\x6b\x50\x71\x17\x1d\x1f\xad\xeb\x2e\x6a\x5c\x33\x8b\x91\x3a\x90\xc6\xea\x40\x45\xf4\xf1\x8e\x33\x76\x5d\x0d\x71\x80\x85\x7a\xa5\xd5\x50\x8e\x96\x1c\xf6\x96\xd6\x01\x86\x01\xad\x24\xbe\x60\xbb\x5d\xe8\x09\xe6\xae\x5e\xfe\x78\x61\x9b\x29\x0a\xf1\xf2\xfa\x97\xab\x32\xbe\x4e\xf1\xa0\xbf\x94\x2a\x6d\x1a\xb0\x1b\xa5\x83\xb0\x19\x86\x3a\x9f\xbf\x79\xe7\x83\x10\x5e\x9d\xb2\x01\xfe\x84\x84\xe6\x88\xcb\x29\x44\xce\x80\x1a\x8f\xeb\x99\x71\x12\x58\x62\xc7\x04\xd9\x18\x02\xec\x7e\xa5\x8a\xf0\xde\xcc\xdc\x14\x62\x62\xaf\x18\x53\xb0\x5c\x6b\xab\xf4\xa0\x4c\xe3\x37\xc0\x23\x47\x2f\xa4\xad\xc1\xbc\x58\x60\x45\x5b\x9a\xde\x8f\x87\xe8\x8e\xfd\x7a\x8d\xdb\x60\x69\xa2\x24\x9d\x6b\xd9\xb8\x03\x22\x46\x18\xcc\x56\xbe\xd0\xfc\x1b\x14\x66\x5c\x03\x2b\xee\xe5\x99\x57\xc2\xfd\x72\x83\x3d\x8a\x30\xb3\x1d\xa3\x90\x60\x9f\x07\x89\xd4\x92\x96\xcb\xe4\x47\xd8\x71\x82\x63\x9e\xeb\xd2\xb1\x8d\xd2\x08\xc4\xcf\x92\x89\xb8\x5a\x10\x96\xde\x92\x58\x55\x9b\xa7\x1d\xdd\x48\xce\x28\x13\x34\xa3\xa2\x2d\x8e\xe1\xd3\xd0\x3a\x88\x3f\xc2\x55\x6a\xb9\x8c\xe5\xc5\x50\x5b\x61\xf7\x0a\xa4\x5d\x71\xb2\xbf\x3f\xd6\xa6\x38\xb1\xdc\x6b\xdf\x72\xe9\xab\xbd\x1e\x7b\x13\x01\x28\xe9\x21\xbb\x2a\xf3\x0c\xa1\x58\xdc\x90\x17\x2c\x8a\x55\xd2\xaf\x6c\x77\x9e\x3f\x5a\x5d\x00\x76\x00\x54\x6d\xbf\xb4\x6e\xad\xaa\xeb\xf4\x67\xaa\xd4\x14\xad\x8d\x03\x12\x55\xa6\x10\x9c\x02\x5c\x21\x92\x73\x22\x47\x63\x02\xe6\x34\x3a\x73\x20\x56\x3e\x35\xee\xf5\xfb\x0b\x98\xb7\x9e\x44\x47\xc0\x60\x35\xae\x0e\x16\xb4\x09\x74\x77\x65\x45\x59\x1c\x29\xf4\xc5\xa4\xea\xd2\x90\xa0\x23\xee\xa0\x53\x03\xcb\xcf\xf8\x5c\x60\xfd\x3f\xa9\x33\x58\xf6\xbd\x9e\x9b\xba\x55\xaa\x79\x66\xc0\x4f\x01\x01\xa0\x2e\x3a\x13\xd6\xe8\x3c\x13\xdc\x80\x92\x44\x62\x34\x60\x41\xb2\x2b\xbb\x7d\x19\x76\x60\x57\xfa\xf0\xe8\x8f\xbd\x83\xde\x41\xef\xf0\x0a\xd5\x50\xea\xdb\xd2\x99\x34\x9f\xe7\xac\x54\x99\x30\x06\x68\x0a\xb2\xf3\x01\xab\x8e\x25\x00\x42\xac\xed\xfa\x56\x68\x9b\x61\x32\x21\x2c\x9d\x53\xd5\x6c\x1b\x2b\x9f\x7b\x06\x81\x5f\xe3\xc2\x2a\x81\x3c\x09\xb8\x27\x54\xc4\xf2\x70\x85\xfe\xb8\x5c\x94\xc9\x18\x4b\x6d\xd9\x9f\x9d\x59\x28\x9b\x93\x8b\x46\x69\xd5\xb5\x54\xc5\x07\x99\xc0\x78\xe2\x0e\x90\x83\xe0\x06\x9a\x00\xbc\x48\x39\xb5\xdb\xc4\x99\x12\xd7\x8e\x0a\x3c\x25\x21\x81\x7a\x52\xeb\xef\x00\x5a\x4e\x7f\xe7\xcf\x40\x22\x96\x92\xe9\xa7\x91\x24\x86\x4e\x4d\x4e\xf6\xf7\xfb\x3b\xd0\xcd\x29\x73\x02\x89\xbb\xf4\x09\xad\x60\xe8\xed\xbc\x64\x02\xe4\xca\x61\xd0\xa0\x33\x84\x8c\x21\x30\xb8\x9f\x3e\xfe\xd8\x63\xff\xaa\x4b\x68\xeb\x48\x14\x3a\x2e\x34\x04\x93\xa1\x9e\x33\x90\x45\xce\x73\xdf\x0d\xb1\x1b\x7f\x0c\x31\x49\x13\x02\xf5\x3b\x8c\xbb\xd9\x3a\x33\x98\xa4\x89\x9f\x16\x85\x98\x4c\x5d\xbd\x0b\xfb\x32\x2a\x8a\x03\xb2\x82\x91\x09\xe3\x65\x31\x46\x28\xc0\xfe\x8e\xfd\xe5\xc4\x85\xb3\xfd\xf7\xfe\x0e\x62\x8c\x14\x01\xa1\xe4\x6d\xce\x47\x68\x04\xdb\xed\xef\x7c\xd3\xeb\xf5\xfa\x3b\x68\x94\xf9\x7b\x29\xf2\x39\x9b\xf2\x9c\x4f\x04\x44\x12\xee\xf6\x77\xbe\x73\xbf\x93\x12\x4f\xbd\x74\x48\xcb\xdb\x1a\x3d\xe4\x4e\xa5\x86\xb6\x5a\x3f\x8b\x64\x86\xb8\xf2\x4e\xa5\x02\xbd\x06\x1a\x07\xbc\x27\xdf\x84\x36\x6e\x0d\xc1\xa0\x5d\x70\xb9\x8b\x6b\xb0\x4d\x54\x5a\x76\x13\xc6\x43\x73\x9a\x81\x3d\xb1\x79\x99\x20\xfc\xb7\x25\xca\x78\x05\x2a\x77\x1a\xc4\x44\xf2\x42\x8c\xe6\xf6\xd9\x2b\x7a\xf9\xa2\xfb\x2a\x2c\xdd\x47\x31\x93\xe2\x7a\x4d\x24\xeb\x45\x8f\x39\x61\xdd\xd5\x8c\xa0\xbc\xf7\x29\xdc\x26\xf6\x9b\xab\x57\xb5\x27\xaf\x02\xa2\xb3\x9d\x06\x0d\x97\x89\x2f\x80\x61\x8e\x77\x47\x64\xd2\x8a\x4a\x03\x0a\xaa\xdb\xe0\x21\x44\x55\xb0\x07\x22\x57\x94\x85\x73\x48\x39\xe8\xdd\xe0\x1a\x0d\xd5\x2a\xaa\x06\x25\xc2\x7f\xae\xa6\x0f\xb3\xc1\x3c\x1a\x44\xa7\x42\x70\x76\x40\x43\x2e\xb3\x85\x05\x7d\xec\x9b\x79\xc0\xed\xf6\x53\x4c\x60\x83\x7d\x74\x69\x00\x2f\x76\xa5\x50\x3c\x9e\xb7\x4a\x83\x3b\xdd\xd5\xcb\x86\x04\x68\xd7\x02\x93\x4b\x88\x77\xd9\x81\x5e\xb8\x81\x86\x4b\xa0\xa6\x1f\xd9\x21\x3f\x10\xc8\x75\xbb\x42\xb3\x90\x12\xef\x45\x9f\x01\x44\xd6\x55\x58\xc6\xeb\xc2\x3f\xd4\x1f\x8c\x37\xd7\x81\x3b\x93\xed\xcc\xd2\x34\xc0\x05\x4d\x73\xa9\xaa\xd5\xcd\x17\xb2\xae\xff\x71\xf1\xe1\xfd\x1a\x88\x5c\xae\x19\x55\x3e\x96\x50\x43\x24\xc0\x14\xed\x42\xb2\x10\x06\xaa\x57\xd0\xb2\x1c\x4c\x9e\x34\x4c\xcc\x78\x56\xa2\x55\x7d\x64\x55\xb5\x02\x4d\xfb\x0d\xd8\x2e\xcd\xa6\xb9\x4e\xcb\x44\x44\x31\x31\x5e\x52\xc7\x09\x6f\x61\x20\x58\x92\x1a\xd8\xc8\x71\xf5\x1f\x71\xb6\xe3\x72\xc2\x15\xcb\x05\x4f\x01\xea\x3b\xfe\xdd\x61\xbb\x6e\x3d\xac\xcd\xf3\xc2\xbc\xed\xc2\x25\x88\x81\x53\x27\xdc\x2d\x8d\xb5\x02\xae\xf7\xcc\x6a\xf3\xcf\x58\xd4\xd3\x74\x9a\x49\x94\xf0\x40\x96\x21\x74\x97\x20\x8b\x38\xda\xb2\x52\xbb\x31\x04\x69\xef\x6a\x45\x3a\xcf\x1d\xc0\xb2\x62\x3b\xba\x5b\xfc\x3e\xda\x17\x56\xf1\xd0\x47\xb2\x18\x97\x83\x5e\xa2\x27\xfb\x1f\x4e\xcf\xf6\x69\xfc\xdd\x0a\xc8\xc0\xfe\x20\xd3\x83\xfd\x09\xb7\x82\xd1\xbe\x63\x49\xfb\x47\xbd\x83\xde\x24\xfd\x26\xe5\x05\xef\x22\x20\xc3\xea\xd2\x54\xb7\x84\xc1\xdc\xd8\x7e\xf8\xc1\xb3\xe7\x6d\xf7\x7d\x9a\x4b\x9d\xcb\x62\xbe\xb2\xea\x1a\x36\xa3\xbd\x77\x11\x40\xb8\xdb\x3e\xb7\xc2\xaa\x1f\x56\x67\x99\x80\xb0\xad\x9c\xc5\xcf\x93\x00\x15\x09\xc2\xdd\x06\xff\x9a\xe9\xb1\x1f\xf5\xb5\x2f\x6d\x84\xb2\x7b\xa2\x01\x6c\xcc\xb6\x1b\xcb\x91\xd5\x83\xdd\xeb\x7b\xcc\xc1\xe2\xa3\x5f\x1b\x05\x66\xed\x02\x86\x14\xcb\xe4\x44\xda\x3f\xd1\xde\x68\x12\xa1\x78\x2e\xb5\x89\x6c\x64\x08\x72\xc7\x7d\x97\x1e\x5a\x1b\x70\x7b\xea\xb8\x74\x5b\x9a\xbb\x56\x04\x0c\xd6\x16\xd7\x07\x48\xa9\xf5\xcf\xd2\x23\xa2\xe7\x0d\x6c\x7b\x3b\xf5\x85\xe9\xb4\x5c\x00\x0f\x78\x35\xae\x21\xc0\x2f\x7a\xa4\x45\x8e\x87\xdf\x8a\xa8\x84\x4e\x5c\x11\x85\xb3\x57\x1f\xd7\x31\xf5\x3d\x89\xb2\xff\x85\x45\xd9\x8a\x9d\xfe\xea\x53\x7f\x87\x08\xb7\xbf\xf3\xcb\xfd\x57\x54\x77\x1a\xd8\x4a\xcc\x54\x52\xd4\xc2\x8a\xd9\x03\xd1\x5a\x0a\x80\x8e\x88\xdd\x40\x51\x5c\x0b\xa1\xfc\x92\xb5\x15\x4f\x3c\x61\x5d\x76\xf5\x5e\x2b\x71\x75\x82\xd5\x05\xe8\xe9\x1c\x23\x4c\x10\x92\xcd\x99\x9a\xe3\xe0\xe0\x6b\x6f\x00\x2c\x34\x94\xb2\x53\x73\x0a\xef\x70\x36\xbd\x76\xc2\xe8\x06\x4d\xf3\x24\xda\x36\xdc\x20\x54\x52\x75\x05\x06\xcb\xed\x60\xa1\x59\x4a\xa0\x72\x9e\x12\x7b\xec\x34\x14\x70\x89\x3c\x03\x7d\xc5\xc0\x56\x22\x44\x1a\x47\x30\xa2\x78\x45\x11\x00\x1b\xa2\x8b\xa0\x65\x09\xda\x46\xef\xbf\x6e\x71\x57\xe0\x43\x46\xd4\x4b\x03\xad\x23\x3a\xb4\xf4\x77\xb7\x36\x07\xe4\xd9\x9b\x1a\x1e\xda\xa6\x7d\x6b\xf6\x07\xef\xc2\xa4\x8a\x21\xae\x15\x98\x47\x29\x70\xb5\xd5\x5a\xb1\xe6\xa5\xe9\xcf\xdc\x83\x5d\x8a\x5b\x68\x8a\x91\x8e\x58\x71\xd8\x57\x31\x32\x83\x48\xe6\x0a\xc5\x93\x9f\x28\x30\xf2\x1e\x63\x67\x85\x41\x49\x17\x62\x8a\x07\x1e\x65\x98\x14\x08\xac\x0a\x02\x40\xd4\xbd\x50\x03\xbe\x17\x7f\x1d\x15\x11\xb1\xfc\x34\x2e\xa6\x3b\x3b\xec\x1d\xbe\xec\xb0\x69\xc6\x95\xa2\xb3\x07\xc5\xb5\xe0\x80\xda\x5f\x8f\x8e\x7a\xec\x27\x03\xfc\x24\x5a\x28\xf4\xd7\xef\xcf\x0e\x17\x17\x8f\x76\x5e\x82\x35\xea\x45\x79\x56\xb5\x82\xaf\x9e\x9e\x9f\xfd\x5c\x2b\xd6\x1d\xdd\x93\x56\xe6\x45\xd4\x34\x27\x72\xd7\x40\x28\x20\xc6\xde\xe7\x50\x5c\x90\x17\x82\x36\xc1\x89\x2a\xb9\x48\xf4\x48\x01\x72\x3c\xf6\xe6\xef\xa6\x8c\x17\x02\x54\x2f\xe2\x74\x14\xc1\xec\x22\xf7\x72\x01\x81\x7c\xa5\x8a\x7a\x40\xc6\xdd\x0a\x32\x3f\x92\x85\x5b\xc5\x44\x4f\x26\xa5\x92\xc5\x7c\x1f\x0a\xb1\xc9\x41\x59\xe8\xdc\xec\xa7\x62\x26\xb2\x7d\x23\x47\x5d\x9e\x27\x63\x59\x08\x88\xcc\x76\x35\xaa\x66\x56\xeb\xb3\x5b\x31\x49\xbf\x59\x50\x8d\x62\x1d\x0e\x06\x15\xeb\x97\xaf\xfa\x0f\x52\x51\x41\x13\xb2\xa5\xa3\x1d\xc0\x2f\xae\x53\x7e\xa0\x66\x49\x44\xe0\x21\xb8\x31\x1c\x81\xb0\xec\x76\xc9\xa4\x1a\xba\xfa\x37\x54\xf5\x4d\x04\x4c\x53\x74\x45\x59\x8e\xc5\x4c\x39\x98\xc8\xc2\xc4\x70\xa5\x3d\xf6\x0a\xbd\x44\x03\x11\xa2\x8a\xcf\x14\x7b\xc5\x27\x22\x7b\xc5\x8d\xb8\xf3\x45\x07\x65\xa1\x6b\xd7\x6f\x8b\x65\x77\x79\x2f\x9b\xde\x16\x13\x9e\x8c\xa5\x12\xf9\x3c\x70\x30\xdb\x55\x6f\x76\xd8\x0b\xf9\x46\x8b\xa1\xf9\xef\xe3\x72\x5a\x58\xa1\xd4\xbe\x7f\xa9\xa3\x78\x2a\x92\xba\x0a\x31\x16\xe8\x6f\xb9\xe6\xaa\xa8\x1a\x35\x30\x5c\x78\x3a\x15\x7c\x81\xd6\x79\x1f\x08\xc2\x2b\x66\xbc\x25\x8a\x30\x05\xf1\xae\x57\xbd\x75\xf3\xfb\xd4\xee\xc3\xaa\xbb\xd4\x7f\x5f\x09\x52\x85\x7b\xa4\x4b\xec\xb6\x4b\xac\x23\x74\x5d\x59\x68\xac\xc1\x7b\x02\xdc\xbd\x71\x71\x54\xd7\x84\x3a\x5a\x78\x85\x56\x5b\x07\xfd\xd4\xa9\x02\xcd\x35\xf8\xe5\x1e\x64\x81\x50\xdc\x74\x73\xa1\xc0\x3f\x1b\x82\x65\xc8\xe2\x10\xa9\x68\x39\x28\xcc\xbe\x3a\xac\xbf\xd5\xa6\x7a\x9d\x4b\x35\xe3\xa6\xb8\xcc\xb9\x32\xf0\xf0\xa5\x6c\x5a\xd9\x6e\xc0\x6b\xa0\xbb\x65\x74\xdd\x7c\x3b\xb3\x5f\x21\xe4\x05\x29\x05\x34\xad\xc2\x37\x73\x05\x3d\xad\x0a\x4c\x07\x23\xd4\x1d\x5d\xe0\xe7\x9a\x08\x63\x56\x17\xbb\xa2\x56\x91\x11\xb1\xeb\x8d\x88\xfe\x37\x3c\x83\xf6\x36\x73\x7b\xc1\x07\xba\x2c\x68\xe0\x7e\x94\x5b\xa8\x09\xb9\xe0\x66\xa5\x70\x83\x8d\x70\x88\x98\x2a\xdb\xb1\x2b\xd1\xbd\xd6\x79\xda\x09\xf7\x1a\xa3\x76\xc1\xec\x49\x0b\xf9\xcc\xdc\xc2\x48\xdb\x99\xe6\x02\xa6\x55\x01\xca\x77\x79\x64\x6e\x38\x70\x41\xdb\xdb\xf9\x12\x52\x21\xdf\xa2\x52\x46\xfa\xda\x16\x23\xdb\xc0\x88\x58\xb8\x6c\xdb\xe6\x98\x2e\xc1\xc2\xe7\x0c\x14\x6f\x4c\xc1\x07\x99\x34\x63\x91\x76\x18\xd4\x8d\x3e\xa5\x22\xd2\x20\xd5\x5d\x8a\x7c\x22\x15\x2f\x36\x28\x85\xb3\x26\x0f\xae\x1b\xfe\x68\xd9\x1f\x81\x86\xf3\xa3\x34\xc5\x16\x0c\xed\x47\x4a\xd6\x08\x90\xe8\x0b\xf5\x02\x2a\x13\xfc\xa4\x17\x3c\x6a\xbd\xa0\x15\xe2\xa7\xb6\xec\x98\x3c\x87\x79\x3a\x2a\x95\x33\x99\x5a\xb1\x65\xd5\xc6\x3f\x40\x2d\xdb\x15\x4a\xfd\x4d\x2c\x82\x4f\xfa\xd3\xef\x45\x7f\xb2\x2c\xac\xa6\x3d\xad\xc9\xcd\x91\x86\x7f\x53\x22\x35\xb0\xf9\x47\x29\x56\xc3\x35\xbc\xc5\x0d\x04\xcf\xd5\x14\x29\x88\xa5\x8f\xab\x43\x49\xb3\x58\x91\x5a\x23\xe4\xbc\x10\x23\x9d\xb7\xc0\xd0\x34\x82\xce\x5d\xc3\xea\x95\x08\xfb\x27\x52\x56\xab\xfc\x59\x8f\xba\x18\x88\x4c\xab\x11\x8c\x1b\x22\x64\xd9\x33\x9e\x65\xcf\x42\x56\x25\x9b\x96\x24\xb4\x30\xa9\xc0\x54\x98\x4a\x93\xe8\x99\xc8\xe7\xbe\xdc\x84\xc1\xfb\xa7\x24\xfc\x3a\x17\x2b\x60\x97\x02\x1d\x46\x4c\xaa\x19\x85\x28\x1b\x4c\xa3\x84\x30\xdc\xa4\xc8\xd8\x48\x40\xb0\xe1\xfd\x7b\x57\xd6\xe0\xa5\x9f\x89\x97\x52\xe8\xb8\xab\xf1\xe8\x50\x03\x63\x03\x81\x03\x57\xc1\x14\xc5\x6c\x1e\x89\xd0\xe0\x1a\x90\x6a\x54\x66\x3c\xef\x11\x45\x44\x75\xad\x94\x01\xcf\xbd\x89\x3d\x79\x1e\x06\x84\xd0\x1f\xae\xec\x2b\xaf\x22\x90\x05\xda\x0a\xf0\x66\x6d\x21\xde\x5a\x1a\xf9\x61\xf5\xfc\x5d\xb3\x15\x6b\x00\x14\xe7\xfd\x28\x61\x45\x62\x5f\x5a\x7f\x07\xe7\x60\x59\x41\x7f\x67\x9b\xb8\x89\xac\xcc\xf9\xaa\xa8\x78\x6c\xe4\x86\x4b\x9f\xe2\xb4\xac\x38\xd8\x08\x8e\xe9\xba\x65\xb3\x37\x2d\x93\x4d\xdf\xe3\x10\xf0\x6b\x57\xc6\x74\xc2\x0b\x4a\x35\x8a\x47\xb6\x50\x90\xd9\x8d\x0c\xf0\xec\x0a\xbb\x05\x56\xd3\x8b\x3b\xef\x35\x46\x76\xb5\x17\x15\x29\xcc\x32\x96\xe9\x6b\x44\x93\xdd\x46\x51\x1b\xeb\xbc\xa8\xf3\xca\xb6\x0d\x08\x0d\x71\x09\xc7\x90\x18\x05\x9f\x9d\x0a\x19\x6a\x1b\x3a\x37\xc4\x9d\xf1\x15\x5c\x13\x18\x44\xf0\x55\x5c\xc1\x51\x9d\xac\xb1\x32\xf7\xe0\xe1\x25\xb6\xb0\x6a\x55\xa9\x99\x3f\x87\xee\x73\x1b\x69\x2f\x99\x5e\xe5\x44\xfa\xaf\x53\x62\x2f\xb7\xac\x75\xd2\x81\xad\x73\xdc\x47\xa0\x75\x5e\x54\x6d\xd3\xeb\xde\xf9\x17\x4d\x8b\x31\xaf\xd9\x8b\x65\x5e\xe1\x30\x64\x30\x5e\xad\x7a\x46\x69\xea\xa0\xd8\x51\xd0\xd5\x0a\xb2\x58\xf4\x58\x1c\x3a\x11\x3c\xe0\x09\xfd\x88\xa5\xf2\xf0\xd8\x5d\x82\x4d\x4a\x97\xc5\xb4\x2c\xaa\x21\x4e\x2d\x55\x89\x7d\x36\xd5\x3e\xa4\xad\x40\x35\x62\x92\xb4\x13\x31\x2d\xcc\xfe\x37\xb9\x48\x84\x9c\xd9\xdf\x3c\x27\xed\x72\xd3\x85\x34\x90\x6a\xa4\x13\x3b\xf3\x59\x18\x1d\x52\x29\x20\x30\xc0\x85\x80\x08\xe3\xc7\xeb\x90\x1b\x42\xa0\xc2\xa5\x9e\x76\x33\x2b\xf9\x63\x9d\x2f\x91\x3b\x89\xd6\x3f\xc3\xa1\x22\x7c\x51\xc2\x4d\xec\x8b\x0b\x50\xc8\x0b\x2b\xfc\xf3\x3a\x5f\xf8\x78\x94\x61\xe7\x81\x20\x28\xa8\x2e\x95\x66\x9a\x71\x8f\xd5\xc4\x47\x62\x41\x69\x7f\x7b\x5e\x5b\xd2\xee\x1e\x4c\x0b\x6d\x84\x22\xdf\x84\x77\x25\x6d\xc1\x5b\xf7\x36\x11\xff\xee\xa5\x29\x10\x71\xb0\x18\x5a\x6a\xa2\xaf\x8c\x28\xac\x36\x1c\x6e\xa6\x57\x1f\x5f\x2f\xb0\xfb\x3a\x5d\x68\xd9\x69\x84\x36\x8e\x43\xdb\xfb\x0c\xbf\x58\x5e\x61\xff\xc6\xe2\x47\xaf\xd7\xbb\x7f\xb9\x62\xcb\x5c\xf6\x87\xf4\x8e\xa1\xf0\xb2\x8c\x58\x50\x4a\x21\x1c\xb6\xaa\xb0\x68\xd9\x0c\x08\xbc\x55\x49\xa6\xbe\x97\x8b\x02\x7e\x5b\x82\x87\x56\x46\xff\xb6\x05\x1c\xc5\xea\x26\x2f\xaa\x95\x96\x56\x61\xb0\xb8\x38\x57\xb2\x4d\x86\x58\x90\x00\xb9\x04\x01\x35\x14\x95\x47\x39\x68\xa6\xd0\x39\x1f\x89\x5e\x05\x45\x11\x71\x15\x03\xfe\xa3\x5d\x1c\x2c\x4b\xe2\x86\x09\xa9\x08\x15\x80\x48\x9e\x5d\xf3\x79\x84\xef\x04\xac\x98\x42\xa7\x9c\x81\xd3\xc9\x2c\xee\xa8\x34\x19\x7f\x03\x52\x03\x82\x46\xb0\xa4\x54\x94\x4f\x6f\x6a\x09\xf5\x51\x10\xca\x89\xcf\xbc\xf6\x60\x71\x51\x18\x17\x05\xa1\xb0\x73\x1c\xa6\xb7\xd7\x96\xaa\x32\xc1\x04\x5d\x0d\xab\x71\x6e\x28\xbf\x13\x34\xb8\x75\xf0\x77\x4e\x60\x56\x57\x01\xce\x69\xe5\x9d\x5c\x70\xf3\xd9\xec\xf3\x24\x11\xc6\xc4\x2f\xb0\x77\x33\x92\x67\xb8\x8a\xeb\x5f\x74\xe3\x53\xf7\x0d\x81\xea\xc0\x5d\x58\xfa\x11\xda\x6f\x6a\x18\x41\xab\x03\x96\x97\x02\x2f\x9a\x44\xaf\x74\xad\x40\x9b\x88\xdc\xaf\xc7\x82\x2a\xbd\x2e\x64\xa4\x96\xf1\x52\x5a\x65\xd7\x5e\xeb\x1e\xd8\xa0\x0b\x9d\xa5\x6d\xe1\x8d\xec\xea\x15\x3e\x71\x05\x44\x7c\xf5\xde\x3d\x93\x5e\x79\x5a\x83\xe8\xb3\xf8\x87\x2d\x94\xa7\xf6\x4a\xd1\xf7\xc4\x02\x2b\x75\xaa\x97\x06\x07\xc4\x15\xa7\x1d\x1b\xbc\x86\xc0\xb1\xf8\x97\x65\x7b\x30\xe6\x6b\x49\x76\x8d\xda\xd6\xeb\x8a\x77\x95\x07\x17\xc8\x78\xed\x7b\x30\x6b\xab\xbe\x7b\x4f\x3b\x10\x55\xfe\x5d\xb6\xfe\x11\xf7\x08\x4a\x46\x80\xa6\x42\x2d\x78\x71\x9d\xdb\x05\x22\x68\xcb\x7e\x34\xd9\x14\x89\xa9\x15\x20\x8a\xb5\xf7\x84\xb8\xf7\x66\xdb\xb1\x96\xa3\xcd\xc7\xb1\x07\x99\xca\x7d\x75\xc7\x52\xd5\x02\xa3\xce\x72\x49\x0b\x83\xef\xad\x70\xef\x2e\x84\x2b\xb7\x80\x57\xe4\xb7\x1a\xfa\xaf\x88\xe5\x84\x06\x76\x70\x03\x5d\x8c\x23\x58\x05\xf6\xc1\x65\x7c\x45\x0f\x1a\x8c\x74\x0d\x8d\xe2\xcb\x0d\xb0\x25\xa2\x86\xf5\xa0\xc8\xb5\x79\xd6\x6c\xbd\xac\x87\x59\x94\xe5\xe0\x2d\x81\x7a\x08\xc4\x13\x6d\x97\x59\xb9\x5f\x6d\x33\xad\x4f\xf4\x72\xe3\xf5\x9e\x54\x37\x2b\x74\x4c\x51\xe8\x1b\x6e\x87\xf3\xfa\x2a\x6f\xdf\x72\xa7\xc6\xca\x1b\x25\xa1\xb7\x68\x04\xb3\x54\x24\x91\x11\xc1\x85\xdc\x05\x42\x0a\x6d\xb1\x7b\x11\xa6\xb3\x77\x25\x3b\x0f\x9e\x34\xac\xbf\x03\xb0\x15\x99\xfc\x2c\xfa\x3b\x1d\x26\x0b\x94\x63\x0c\xa0\x17\x0d\xf4\x0c\x20\x17\xaa\xad\x6a\xbd\x98\x4e\x24\x22\xfa\x74\x14\xf1\x45\x26\x7a\x94\xf3\xe9\xd8\x21\x76\xf7\x77\x7e\x68\xf6\x61\x98\x29\x78\x4e\xd8\x9a\x9c\xf5\x77\x66\x76\x14\x80\x6c\xc2\x73\x07\x10\x8d\x46\x3a\xee\x71\x90\x10\xa9\xf8\x6f\x96\x63\x61\x2f\x7b\xf4\x88\x4b\x64\xcc\xe6\x14\xd2\x01\xb3\xec\xef\xf0\x6c\x3a\xe6\xae\x98\x94\xe5\xa4\xfd\x1d\xd8\x16\x8a\xc9\xa9\x76\x2c\x55\xd4\xb1\xab\xd9\x0c\x27\x1c\x13\x54\x90\x3a\x06\x73\xf6\xfd\x29\xda\x01\x05\xd6\x1e\xa5\xbf\xe1\x5d\x6c\xf7\x1a\x10\xe8\xbe\x3f\x45\xd7\x49\x48\x61\x29\xc6\x4c\x69\x66\xca\xe1\x50\x7e\x61\x06\x52\x18\x0c\x3e\x0f\xd7\xd5\x74\xcc\xf7\xd0\x36\x09\x13\x1a\xcc\x29\xd1\xce\xce\xa3\x32\x65\x9a\x71\x65\xb4\x3d\x76\xaa\x1c\x1a\x84\x1b\xad\x2f\xed\x4e\xeb\x7d\xc2\x66\x87\x07\x1d\x36\x3b\xea\xb0\xd9\xa1\xfd\x3f\xdc\x2c\xf0\xe9\xc0\xfe\x75\xdc\x61\xb3\x63\xb8\x6c\xec\x57\x47\x30\x22\x6c\x07\x7f\x1e\x75\xd8\x50\xeb\x43\xfc\xb7\x9e\x62\xf7\x08\x9c\xe0\x2e\xd0\x62\x63\xfb\xc3\x9a\xb6\x47\xd4\xd7\x1b\xfa\x67\x43\x0c\x7d\x0c\xc6\xc8\x7a\x0c\xd4\xda\xe6\xc8\xb6\x60\xce\xf5\xa2\x38\x57\x1b\x24\x29\x30\xa9\xd5\xe4\xff\xb8\xd4\xf6\xca\x50\x81\x01\x44\xbe\x58\x28\xa6\xe7\x81\x6a\x01\x14\xd7\x1e\x51\xc7\xb6\xd1\x51\x1b\xf1\xdf\xcb\xb1\x98\xbb\x24\xd7\x90\x45\x08\x89\xaa\xa1\x57\x89\xb9\x69\x8b\xa1\x30\xd2\xf6\x82\xc2\x4d\xe3\x14\x35\xf4\x7b\x48\xdb\x67\x85\xbc\x29\xcf\x0b\x99\x80\x91\x9f\x1b\xc8\xfc\xa3\x1c\xc6\xb5\xa2\x56\x1f\xc1\x11\x0f\x01\xab\x6b\x1e\xf2\xca\x4f\x4b\xe1\xf9\x3f\xb5\xf8\x63\xa2\xaf\x7e\x59\xd1\x93\x7b\xed\x84\x4f\x17\x85\x25\xea\x5c\xa4\x6b\x26\x7e\x56\x1b\x3b\x9c\xec\x48\x78\x6e\x86\xa7\x39\x48\x29\x7b\xf5\x88\x99\xc8\x43\x2a\x64\x8f\x5d\xe6\x3c\xf9\x4c\x46\x03\x13\x25\x65\x52\x49\x48\xce\x26\x72\x44\x09\x92\x80\xbf\x00\x00\x10\x30\x84\xd0\x56\x2a\x26\x8a\xc4\x95\x84\x45\x51\xc7\x58\xe1\x1c\xac\xfd\x46\x57\x7a\x81\x78\x1a\x9d\x65\x22\x07\xbb\x86\xdd\x3e\x33\xae\xb4\x08\x51\xb1\xfe\x82\xdc\x05\x14\x7d\x3b\x4c\xa5\x99\xce\x5c\xa9\x10\x92\x6e\xc4\xb0\x40\xe0\x31\x30\x1e\xc5\x17\x25\x24\xfb\x08\x67\x5c\x2b\x1a\xa9\xa7\x14\x57\x44\x29\xa7\x5e\xe2\xc2\xf8\x23\x8a\x1f\xc2\x3e\x28\x78\xf7\x0a\x4e\x62\x10\xdb\xae\xc7\x32\x83\xfe\xad\x0e\x42\xd0\x05\xa1\xbf\x87\x01\x2a\xb9\xff\x3b\xa5\x19\xc7\xb8\xee\xa5\xf2\x73\x23\xb7\x3a\x48\x45\x96\xd4\xc0\x44\xfe\xe4\xcf\x6a\xfa\xb3\xb6\xf7\x49\x9d\xb7\xb4\xf5\xf5\x03\x38\x1a\x2b\x29\xb1\x11\xc1\x37\x12\x17\xf5\x69\xd8\x6e\x70\x65\xb9\x47\x83\x65\xb7\x44\xdf\x3a\xa8\x80\x7b\x4f\xbe\xaf\xdb\xf4\x7d\xa5\x5e\xe7\x5e\x09\x29\x13\xa5\x3f\x06\x41\x4d\x9a\xba\x25\xa3\xbe\x7a\x56\x31\x94\x86\x85\xe7\x7b\xec\xaf\x96\x83\x12\x25\x60\xc5\x1f\xdb\x28\x8a\xb2\xac\x76\x8c\xc4\x2b\x18\x67\xd7\x3c\x07\x0b\xd1\x58\x70\x52\x4d\x1d\x16\x26\x96\x7e\x9a\x6a\x55\x0f\x0e\x00\x73\xf8\x36\xe6\x5d\x37\x60\xa9\xd5\x5f\xf1\xb5\x6b\xae\x50\x78\x80\x59\x61\x2c\x97\x69\x30\x36\x82\x21\xd6\xcd\xc2\x9f\xf7\x42\x63\x0c\x14\x46\x85\xf4\xd8\x3b\x3e\xf7\x95\x0f\xec\x32\x61\x82\x70\x58\xc1\x2b\x57\x2a\x09\x2f\xc6\x7a\xbf\x0b\xf6\xa7\xb2\x09\x70\xb8\x73\x91\xe8\xc9\x44\xa8\x14\x08\xdc\x6d\xa0\x12\xd7\xf6\x46\xab\xaa\xfb\xf6\x47\xf1\xf7\x92\xc3\x69\x73\xb8\x27\xa6\xe0\xe8\x98\xe8\x30\x39\x84\xf4\x13\xb8\xaa\xee\x18\xce\x26\xb6\x2b\x60\x29\x74\x88\xf6\xfb\xcf\xff\xf8\xbf\xb3\xc3\xff\xfc\x8f\xff\xd7\x81\xbf\x8e\xe0\xe4\xc0\x47\x51\x24\xeb\x9a\xd1\x2a\xeb\xc5\x8b\xcd\xcd\x6a\x60\x89\xc1\x2e\xc3\x26\x6d\x61\x68\x07\x53\xe4\xa3\x35\xf0\x92\xb1\x75\x7b\xe3\xee\x4a\xae\x71\x03\x3b\x6d\xe5\x1a\xaa\x78\xe4\x36\xbb\x86\x9a\xc6\xe5\x45\x17\xd2\x62\x48\xe1\x95\x5c\x95\xa8\x0f\x6c\x36\xc3\x8c\x8f\x98\x50\x7c\x90\x49\x35\xda\x4f\xa5\xc1\xbf\xaa\xcb\x05\xb2\x22\xea\x7e\xee\x80\x4a\x8e\x21\xf0\xa7\xe7\x67\x0b\x22\xc2\x97\xbb\xb1\x50\xb8\x5d\x43\x39\x88\xb2\xbd\xea\xbc\xa5\xb6\x34\x75\x07\x6c\xe3\xe4\xc5\x1e\xd9\x4b\xb0\x5c\x39\x9f\xa9\x88\x50\x7b\x2b\x56\x2c\x6a\xff\xcf\x4b\x8e\xd4\xf2\x79\xfe\xce\x9c\x57\xcd\x33\xb4\xd8\x99\x35\x5b\x7e\xa0\xd6\x70\x46\x55\x4f\x55\xfc\xc0\x16\x47\xab\x3a\xc7\xd5\xa7\x6a\x4d\x5b\x59\x1d\x26\x8a\x4e\x60\x0b\xad\x3f\x98\xb5\x2c\x22\x83\x8b\x84\x67\xcb\xea\x41\x2c\x7f\xd0\x87\x01\x11\xee\x88\x8b\xd4\x17\x50\xd4\x47\xc4\x4b\x8c\xea\x4e\x55\x6f\x5f\x2b\x11\x76\x20\xb2\x0b\x91\x89\xa4\xd0\xf9\x1a\xf0\x8a\x8d\xf6\x95\x9c\xb2\x80\xb3\x48\x41\x15\x60\x03\x6a\x00\x27\x42\x45\x16\x9d\xa3\x28\x87\xc8\x34\x38\xdd\x2b\x4c\xf5\xeb\x19\x7a\xc1\x55\x8f\x7d\xb0\x12\x92\xef\x17\xab\x91\xe9\x12\x13\x78\xaa\x08\x8e\x14\xb8\x41\x68\xc2\x3e\x94\x18\x1f\x86\xa1\x92\x17\xad\x87\x6f\x41\xf0\x6a\xc0\x00\xb9\x0a\xed\x89\xb0\xaf\x75\xfe\x19\x39\xd2\xbf\xe8\x5c\xfe\x43\xab\x82\x67\xe7\x3a\x3d\x2d\x0b\x0d\x4b\x9f\xc7\xd6\x0a\x48\x29\x42\x77\x02\x9c\xd8\xb0\x0c\x51\x55\x34\xf4\x1a\xe0\x03\xbb\x70\x92\xc0\x08\x9f\x89\x2f\xcc\x4d\x97\x2a\x0c\x3a\x28\x4a\x9f\xfd\xcc\xe3\x48\x76\xd8\x81\xf0\x88\xf4\x6e\x97\xa1\xce\x27\xad\x79\x49\x77\x18\x87\xf1\x0d\x2c\x46\x37\xa6\x43\xf4\x09\xe5\x02\xb3\x0b\x28\x2f\xc0\x09\x5e\x0e\x5e\x8f\x68\xa4\x4d\x28\xe8\x10\xaa\x7a\x8d\x12\x5c\x9d\x51\xf2\x9c\xed\xc3\x8b\xaf\x2a\x27\x00\x5c\x4c\x4e\x4c\xa6\xf4\x43\xac\x30\x4a\x35\x48\xb7\x10\xd1\xa6\x22\xf9\x28\xa6\x99\x4c\xb8\x59\xe3\x74\xd4\x9b\xdf\xf2\xe1\x98\x8a\xa4\x97\x53\xf7\x77\x75\x34\xf0\x34\xdc\xd2\x26\x2e\xdc\x25\x54\x8a\x00\x1a\x2b\xcf\x75\xce\xb4\x62\xdf\xbf\xb9\xdc\x3a\x25\x7b\x93\x2d\x6a\x3c\x70\x27\x1c\xec\xae\xb7\x09\x39\xd8\xad\x6d\x54\x7d\xd4\x5b\x9c\xb6\xba\xdb\xee\xa6\xf1\xf8\x8d\xa3\xb7\x7c\xd7\x1f\xc5\x65\xbf\x99\x6f\xac\xf1\xe4\x92\xeb\x1e\x7f\x5f\x75\xdf\xb3\x0b\x0f\x3e\xe0\xb3\x62\xdd\xbd\x24\xa2\x8b\xaf\x9d\xca\xab\xbd\x05\x03\x4e\x87\xfd\x81\x72\x5f\xec\x55\xb4\xbf\x60\x2c\x6d\x56\xa1\x3f\xb0\xf3\x9f\x2e\x6b\x26\x1f\xd1\xda\x43\x81\xa5\x6f\xea\x1d\x68\x2a\x20\x0e\x85\x10\x46\xca\xde\x6d\x88\xe2\x47\xe0\x17\xf3\x62\x6c\xaf\x3e\xf1\x25\x11\xd3\xa2\xb2\x52\x05\x57\xff\xe0\x38\x80\xfd\xf3\x0f\x17\x97\xfb\xe7\xa7\x97\xaf\xfe\xa5\x31\x96\x86\x15\xb0\xf1\x92\x46\xa7\x3b\x0f\x49\x62\x5b\x51\x97\xa9\xb0\x38\x9a\x0c\xa4\xf9\xd5\xa5\x48\xb3\xa5\x18\x69\x6a\x62\x2e\xbb\x77\x7d\x0b\x05\xed\xe5\xf6\x0c\x9e\x89\x9a\xff\xb9\xbe\xfd\xa4\xa6\xe0\xc1\xe3\xed\x8c\x0f\x98\x3f\x5e\x60\x80\x95\x7a\xc5\x49\x28\xb4\x0a\xfd\xec\xf0\x8a\x6e\x02\x42\x4c\x78\x5c\xf0\x4b\x4d\x66\xb5\x74\xc5\xda\x5c\xf6\xab\x97\x8c\x98\x4c\xb4\x66\xc4\x4b\xc0\xec\x21\xd2\x13\x76\xd8\x5b\x79\x10\x1d\xce\xb7\xcf\xd8\x6f\x3f\x99\x57\xfe\x6d\x78\xe0\x75\x5c\x6c\xbf\xc7\x8e\x56\xbf\xa8\x75\xc0\xcb\x98\x8d\xa6\xd8\x5e\x72\xb2\x2f\x1f\xc1\x63\x70\xb4\xfd\xdc\x16\x4c\xba\x9c\x79\x84\x47\xaa\x49\xda\x91\xb9\x6c\x22\x8a\xb1\x4e\xb7\x65\x18\x1a\xe3\xfb\x7f\x3e\xbe\xb8\x37\x23\x68\xad\x1c\xe4\x52\xca\xaf\x0d\xcf\x19\xa4\x5d\x56\xc2\xec\xd8\x59\x0b\xa9\xf0\xcd\x62\x53\xe8\x03\x51\xc0\x1b\x42\x9c\x7d\x4d\xa9\xa9\xab\xb6\xbf\xb5\xbd\xf3\xe2\x3b\xcf\x23\x14\xce\x8c\xd0\x6c\x2b\xf7\x3f\x0c\x22\x15\xa9\xcf\x86\x85\x2e\xd6\x20\x85\x25\x05\x0f\xd6\xd1\x00\x5a\x6a\x8f\x3d\x6c\xb9\x9f\x40\x6d\x2b\xaa\x98\x56\xc0\x4f\xd5\x9c\x6a\x33\xc2\x2f\x54\x93\x15\xa3\x04\x11\x78\xbd\x82\x67\x7d\x02\x55\x59\x3b\x4c\xaa\xe2\xe5\xf3\x0e\x1b\x66\x9a\xc3\x1f\x38\xe3\x0e\xfb\xf4\x0b\x38\xa4\x87\x3c\x11\xff\xfe\x6b\x87\x4d\xf8\xf4\x13\xfe\x14\x7f\x0f\x64\xaa\x64\x76\x4b\x65\x50\xdb\x4f\xd9\xda\x85\x5c\x91\xd1\xd8\x2f\xbb\x74\xe8\x30\x4c\xd3\x12\x5d\x05\xa9\x9e\xbd\xce\xf9\xb0\x60\xcf\xd9\xee\xb8\x28\xa6\x27\xfb\xfb\x7f\x33\x5a\x75\xa9\x20\xb2\xce\x47\xfb\x7b\x6b\x10\x1d\x31\x98\x8d\xa9\xed\x9f\xda\x9d\x36\xeb\x3c\x1a\x62\x01\xce\xda\xe0\x83\xee\x81\xe5\x51\x21\xe1\x15\xa3\x3b\x6f\x5f\xb2\x47\x30\xc4\x2c\xfb\xd0\xd8\xb4\x7b\x74\xd0\xd7\x49\xfb\x26\x1e\x79\xae\xe6\xbf\x9b\xb9\x90\x11\xe0\xbe\xa8\x65\xe9\xc5\x9d\x86\x34\x28\xee\xad\x13\xa1\x34\x8f\xaf\x89\x5e\xcd\x46\xf4\xc1\x04\x14\xbe\xce\x31\x76\x7a\x28\x78\x51\xe6\xb1\x3d\xa5\x11\x87\xe4\x1e\x72\x4d\x47\x50\xf3\x74\x51\xb8\x12\x1a\x7f\xdc\xb8\x42\x0a\x61\x42\x55\xfc\x43\xfe\xdd\xec\x90\xed\xea\x1c\xbc\xf4\xf9\xde\xe2\xa4\xd8\xd3\xf3\xb3\x05\x1a\x46\xb4\xe6\xf5\x8d\x59\xe3\xa8\x3f\x16\xaa\x8b\xef\xe5\xe6\x0c\xa7\x56\xe0\x50\x49\x0b\xa7\x7a\x34\x53\xac\x56\x35\xbf\xe1\x7c\x6f\x24\x27\x09\x55\x4e\x1e\x98\xe1\xdc\x88\xcb\x50\x06\xc2\xbd\x71\x99\x05\x83\x20\x57\xe9\x3b\xfe\x45\x4e\x9a\x0b\xba\x96\x8f\x3a\x74\x22\xd5\x0d\x3a\xf1\x02\xfb\xbd\xdc\xd3\xed\x0a\x45\xeb\xd0\x36\x2f\x15\x16\xe9\x55\xf4\x3d\x79\x6c\x1c\x24\x2a\x7d\x8d\x52\x30\xea\xe6\x2e\x5e\xd8\x0b\x89\x71\x13\x97\x16\x98\x9e\xf4\x55\x5f\x75\xd9\xc0\x68\x85\x67\x4b\xa6\x27\x96\xbd\x1b\x0f\xb9\xc8\xce\x5e\x63\xc9\x57\xc6\xd9\xd1\x73\xab\xf1\xe7\x3c\x81\x32\xa3\x63\xf1\xc5\xf9\xd6\xba\xac\xcc\xe5\x89\x1d\xea\x4f\x1f\xcf\x18\x37\x6c\xca\x73\x42\xf9\xf9\x5e\x67\x5c\x8d\x98\x12\xc5\x7e\x99\x67\xbd\x73\xfb\xc3\x47\xb4\x39\xd8\xb6\x5d\x26\x26\x5c\x66\xf0\x2c\xfc\xe5\x2a\xec\x2e\xec\xc5\x36\xc2\x6e\x4e\xa9\x65\x17\x8a\xe1\x2a\x3e\x11\x27\xbe\x84\x7b\x0d\xa5\x13\xd2\x52\x15\x3b\x03\x98\x4d\x51\x60\xe1\x61\x8c\x9b\xe2\xc6\xc7\x0c\x0c\xe6\xec\xe3\xdb\x57\xec\xf0\xe0\xd8\xea\x0a\x54\x5f\xfc\xb8\x77\xc8\x3e\x7d\x7c\xfb\xca\x7e\xfb\x4b\x8f\x75\x99\x9c\xce\x9e\x9f\x60\x39\xe0\xd9\x73\xa8\x09\xdc\x3e\x52\x1c\xe4\xd9\x39\x3e\xf2\xd2\x3d\xf2\x72\xbd\x47\x12\x99\xe6\x76\x3a\xaf\xce\x5e\x7f\x5c\xde\x1c\x5a\x74\xd9\x84\x27\xb6\xfd\xbb\xd3\x57\xab\x96\x10\x1f\xb3\x0d\xbb\xac\x2c\x61\xc7\x15\xfb\xe9\xa7\xb3\xd7\x94\x61\x81\x5a\x6d\x39\x9d\x22\xa0\x50\xbc\x3c\x18\xea\x3d\x12\x5f\xd8\xee\x77\x72\xef\xdf\x3e\x1d\x74\xbf\xe5\xdd\xe1\x2f\xff\xfe\xa7\x5f\xbb\xdf\xf9\x0f\xcf\xd7\xfb\x70\x78\xf4\xeb\x3f\xd1\x08\x8e\xfd\x10\x8e\x6f\x71\x0c\xc7\xfe\xd3\xf1\x3a\x83\x78\xee\x07\xf1\xfc\x16\x07\xf1\xbc\x3a\x88\x3f\x7d\xcb\x07\xbf\xb4\x8f\x2b\x1a\xca\x0b\x3f\x94\x17\xb7\x38\x94\x17\x9b\x0e\x45\x9a\x81\x42\xb2\xbd\xf8\xcb\xfb\xc3\x03\xa6\x73\xfc\xeb\xd8\xe5\xee\xd1\xf1\x07\xa8\xae\xfe\xce\xc1\xf1\xd1\xe1\x1f\x5f\x1c\x1e\x3c\x3f\x76\x59\x7f\xdf\xfe\xf1\x4f\x5d\xff\xed\x61\x7f\x87\xfa\x3c\x3c\x88\x7b\x5d\xdd\x17\x3d\x75\x1c\x9e\x5a\x30\x82\x96\xf7\x25\xb9\x48\x65\x91\xf0\x1c\x18\x1b\x7e\x62\xf6\xa3\xeb\xa1\x75\x25\xff\x6d\xf7\xbb\x13\xd8\x39\x58\x8b\xdd\xef\x4e\xf0\xef\xe3\x5f\xf7\xbe\xfb\xfa\xe2\xd3\x61\xf7\xc5\x2f\xf4\xe3\xf3\x5f\xbf\xbe\xdc\xfd\xee\xe4\xe0\xf0\xf0\x2b\x2c\x2f\x7e\xbf\xe7\x1f\xfd\x7a\xfc\xe9\xf9\x1f\x5d\xe3\xe3\x5f\xbf\x1e\xdb\xc6\x9f\x0e\xba\x2f\x7e\xf9\xfa\xe9\xe5\x9f\xaa\xad\x0f\x7f\xfd\xba\xfb\xdd\xc9\xd1\xe1\xf1\xe1\xd7\xc3\x3f\x1d\x1c\x7c\x3d\x7e\xd1\xef\xa7\xf6\x9d\xf6\x3f\x87\x87\xbf\xee\xfd\x13\x65\x6c\xaa\x39\xe4\x87\xa6\x72\x64\xe7\x12\x38\xf2\x44\x7e\xc1\xc0\xf9\x2e\x33\xc6\xee\x1c\xfb\xa9\x77\xd1\x63\x46\x27\x92\x67\x96\xa1\x95\x50\xb1\x8f\x26\x1e\xae\x86\x68\xde\xf8\xc6\x4f\x5d\xf6\xcb\x77\xf6\xcf\xa3\xf0\xe7\x73\x20\x89\xb1\xf8\x92\xe8\x4c\xe7\xb0\x15\x63\xf1\x85\xa7\x22\x91\x13\x8c\xdf\xd7\x39\x4b\x74\x2a\xdc\x66\x7c\xf3\x16\xfe\x77\xd2\xfe\xa2\x6f\xbe\xdb\x25\x72\x3b\xed\xbe\xb5\x2b\xfb\x35\xfe\xf8\xd2\x4e\xb6\xcb\xf2\xd1\x20\xbc\xed\xe3\xf7\x7f\x69\xbc\x25\x1f\x0d\xdc\xeb\xf2\xd1\x60\xf7\xe8\xc5\x8b\x0e\xfd\xff\x5b\xd8\xfd\xc1\xbc\x10\x27\x6c\xc0\x8d\x78\xf9\x9c\x09\x65\x1f\x4c\xd9\x40\x2a\x9e\xcf\x19\xa0\x99\x74\x99\xab\xb9\x7d\x02\xeb\xea\x80\x10\xfd\xc5\x66\xaf\x49\xbb\x92\x29\x26\x74\xc5\xd4\x76\x74\x70\xf0\xb2\x7b\x70\xd8\x3d\x38\xea\xef\xd4\xae\x91\x61\x99\x65\x5d\x78\x44\x2a\x7b\xa7\x1c\x1f\x1f\x7f\x6b\x3b\xa3\x6a\x68\xd0\xa1\xaf\x8c\x56\xed\xf4\x88\x29\x83\xfd\x35\x78\x77\x21\x27\x02\x99\xf7\x6b\xf7\x30\xac\x06\xa2\xa3\x64\x02\xc9\xe3\x22\xe1\x59\xd4\x3d\x49\x0c\x38\x13\xdb\x83\x9f\x0d\xe0\xe9\xd7\xa7\x74\xf8\xbc\x7b\x78\xd4\x3d\x7c\x71\x79\xf8\xed\xc9\xf1\xc1\xc9\xd1\x41\xef\xe0\xe0\xe0\x7f\x37\x26\x68\x3b\xe8\x42\x07\x61\x82\x5b\xc4\x27\xc8\x46\x6c\xe8\xd6\xf8\xd2\xf7\xa2\xad\x9c\x2e\x16\xc0\x27\xfc\x4b\xab\xe1\xaa\x52\x02\xf3\xe5\xf3\x2d\x4a\x60\x4e\xf8\x97\x1f\x85\x1a\x35\x63\x37\x6e\xa5\xeb\xc5\xf6\xac\x5b\xe9\xbe\x4d\x82\x0f\x1d\xa7\xba\x1c\xd4\xfd\x92\xae\x67\x64\x53\x0b\x3a\x96\xea\xae\x16\x5b\xaa\x3b\x5b\x6c\xa9\xee\x74\xb1\xdb\xd5\xa5\x5b\x58\xec\x32\x2b\xe4\x34\x13\x4d\x8b\xdc\xcd\xfb\x56\xfa\xde\x0c\x63\xad\x96\x95\xca\x58\xca\x2c\xe3\x83\xa6\x0e\xbd\x96\xc2\xa9\x55\xcb\xfa\xfc\x46\x2d\x96\x53\x5e\x58\x3d\x69\x1b\xd6\x4c\x8f\x2e\xa6\xf3\x47\x63\x7a\xba\x99\xb5\x69\x81\xe3\xe4\xf7\x33\xc1\x28\xea\x6c\x1d\x92\xbe\x45\x14\xdd\x42\x16\x8b\xcf\xe0\xa6\x55\x5e\xd6\x72\x91\x42\xc1\x9c\xd6\xfb\x64\xad\xa3\x5f\xc9\x49\x17\x93\x81\x48\x53\x91\xfa\x78\xe0\x15\x86\x9e\xe5\x0f\x47\x91\x49\xbc\x70\xa8\x74\xa5\xab\x76\xed\x9a\xb3\x1f\x7c\x17\x2c\x2f\x15\x88\x89\x1f\x28\x34\x0c\x44\xc2\xcb\xf9\x54\xbc\x13\x84\xee\x17\x6a\xbd\xa1\x89\x08\xaa\xdd\x38\x53\xbb\x8b\x0c\x41\xf8\x73\x57\xaa\xb7\xd0\x6c\x58\xe6\x10\xd8\x91\x0b\xbb\x94\x49\x41\xe1\xc3\x34\x00\xf7\x18\x82\x09\xd6\xca\xc7\x56\xa0\x03\xbd\xe9\x89\xf1\xb2\xd0\x13\x5e\x38\xa4\x9a\x75\x10\xf5\x6a\x63\x1a\x08\xca\x9c\x1c\x94\x45\xa8\x20\x3c\xe6\x33\x41\xbf\xca\x38\xd8\xc4\x3e\x6c\xe5\xf2\x79\x04\xf5\xb7\x5b\x4e\x6d\xd3\xfa\xb0\x03\x1e\xe2\x22\x74\xcc\xf5\x09\x42\xaa\xa2\xab\xf3\x2e\x11\xe0\x06\xc4\x50\x79\x30\x4a\x9a\x26\x52\xf0\xa0\xf2\xd2\x30\x21\x61\x6f\xa2\xca\xf2\x3a\xf7\x41\xf5\x14\x05\x8b\xf0\xff\xb8\x5e\x40\x3b\xd3\x62\xce\x7c\xe9\x74\x5a\x54\x48\xed\xb7\xdf\x71\xc3\x92\xb1\xcc\x52\xac\x6f\x33\xff\x30\x84\xda\x01\x22\x77\xa5\xe2\x87\x91\x56\x17\x55\x9d\x0e\x5f\xd2\x45\x60\xc0\xc2\x78\xb8\x87\x9d\x9c\xf4\x15\x63\xac\x0b\xaf\x38\x71\x63\xad\x7c\x87\x43\xee\xab\xa3\x3d\x06\xfe\x4c\xf7\x44\xf4\x78\x7b\x07\xcd\x2e\xe0\xab\x5e\xaf\xc7\xfe\x21\x72\x6d\x17\x64\xa2\xf3\x05\x12\xca\xfa\xbb\x59\x07\xaf\x58\x7b\x37\x2b\x0f\x32\x28\x9f\x02\x31\x63\x5c\x51\x94\x33\x1c\x54\xbb\x86\xed\x10\x17\xec\x6a\xc2\xa7\x57\x56\xf5\xa2\x7c\x28\xa7\x4f\x43\x7f\x90\x35\xc4\x5d\x55\xde\x54\x7c\x71\x1b\x32\xe1\xd3\x9e\xdd\x01\x28\xff\x50\xf0\x11\xd6\x81\x75\x79\xb5\x25\x95\x8d\x45\x98\x0b\x20\x2c\x3c\x3d\x63\xab\x0c\xb6\x0f\xa4\xbf\x13\x00\x2d\x5d\x3a\x48\x7f\x67\xc2\xa7\xfd\x9d\x1e\x3b\xcd\x8c\xee\x04\x3e\x15\x57\x1f\xf7\x15\x05\x42\xd9\x83\x28\xfd\xc3\xea\xac\x39\x6c\x60\x4a\x49\x20\x2e\x27\x12\xa8\x10\x33\x3f\xca\x5c\xb0\x5d\xa5\x99\x12\xc6\xb9\x22\x7d\xc8\xc7\x1e\x4d\x53\xb0\x70\x35\x47\x6f\x87\x57\xd1\x31\x89\xe1\x42\x75\x8e\x33\xae\x79\x43\x3b\x76\x56\x80\x8a\x61\x17\x43\x9b\x4a\xaf\x96\x8d\x91\x75\xd9\xe3\x1d\x22\x20\x9c\xbd\x42\xee\x1d\x75\x7e\x21\x24\xca\x66\xb4\x89\xc7\xbe\x49\x97\x11\xef\x77\xb9\xae\x4c\x42\xbc\xe0\x54\x67\x7a\x34\xa7\xd2\x22\x81\x26\x60\xa9\xdb\x29\xcc\x95\xb5\x82\x25\x3f\x66\x53\x6d\x0c\xd8\x2d\x90\x58\x1c\xab\xb8\xe2\x85\x9e\xc8\xe4\xea\x24\x80\xd0\x01\xe7\x42\x27\x30\x37\x01\xc5\x40\xa8\x02\x12\xaf\xc1\x7a\xe1\xa8\xa8\x47\xfc\xe0\x14\x7a\xa1\x37\x3b\x9c\x58\xfb\x44\x2e\xb2\x39\xcb\xc5\x34\xe3\x89\x4b\xd3\xf4\x55\x8c\xaa\x73\xa1\x9e\x08\x42\xc8\xcd\x85\xab\xb9\x2f\x11\x07\xa3\xdb\x45\xf2\xec\xd0\x00\x3a\x96\xeb\x58\x7a\x3c\xda\x63\x57\x46\x14\x57\x8e\x6f\x5d\x88\x22\x20\xc6\xd1\x79\xf3\x99\x83\xb0\x26\x4e\xd5\x42\x52\x0a\x3c\xc1\xf0\x89\x70\x51\x4f\x6f\x78\x32\xa6\x0e\xf1\x02\xa8\x1f\xa3\x4e\xa8\x48\x86\x3d\x54\x36\xdb\xf2\x20\x64\x28\xb4\xcc\x70\x57\xb8\xa9\x46\xbc\x68\x11\x1f\xa2\xc7\x7a\x7d\x75\xbc\x87\x5c\xc9\xcd\x0f\xe3\xb1\x68\xab\x73\x32\xd1\x4d\xf8\xd4\x60\xa6\x04\x4a\x30\x32\x67\x22\x13\x50\x0f\xc2\x1d\x3d\xa5\x55\x17\xb9\xd6\x67\x31\xa7\xbe\x1c\xa8\x13\xa6\x50\x22\x84\xf3\xa4\xc7\x3e\x20\x1c\x5f\x84\x3d\xcc\xca\x29\x84\x5b\xe6\x94\x46\x6b\x5f\x68\x39\x9d\xdb\xbb\x36\x6a\xa4\x88\x4d\x98\xa6\x1f\x8c\x65\x38\xb0\xab\x28\xcb\xf4\x55\x8c\xa0\x80\x93\xc6\xe3\x6e\x97\x68\x9b\xf4\xfe\xd6\x6d\xd8\xe4\x9c\xfa\xad\xab\x1c\x53\xda\xe9\x5b\x38\xa7\x70\x14\x9c\x48\x40\xdd\x56\x8e\xec\xd1\xc2\x23\x3b\xca\xb9\x2a\x33\x9e\xd7\x68\x01\x36\x3f\x40\x76\xe1\xe7\xdd\xcf\x62\xde\x45\xd2\x9d\x72\x99\x9b\x3d\x78\x89\xe0\xc9\xd8\x41\x32\x83\x1b\x53\xb9\x08\x86\x82\xba\x84\xb4\x6f\x68\x86\x31\xc6\xbb\x00\x0c\x94\x58\x61\xc6\x7e\x39\xb0\xaf\x53\x72\x5a\x66\x9c\xb2\x3a\x8c\x98\xf2\x1c\xd0\x4f\x93\x42\xe7\x26\x54\x41\xa2\x0e\x63\x3c\x8a\x81\x18\xf3\x99\xd4\x65\xee\x59\xba\x1d\x2b\x1d\xe2\x5b\x65\x48\xb0\x06\x6b\xf2\xa3\x1b\x12\xd9\x02\x31\x7a\x13\x9a\x5b\x24\x89\x9b\x42\x4f\x03\x90\x2b\xa1\x8f\xa4\x22\xd1\x29\x48\xab\x85\x98\xe2\x7e\x39\xc8\x83\xf5\x70\xcd\x1b\x78\x03\xb4\x65\x7c\x38\x04\x40\x2a\xea\x25\x17\x49\x99\x1b\x39\x13\xd9\x1c\x85\x7f\x73\x2d\x8b\x64\x2c\x0c\x80\x86\xdb\xa3\x80\x85\x9b\xfc\xdb\xc3\xee\xca\x21\x88\x0f\x22\x8d\x6f\x74\xbb\xe3\x2d\x6a\x7b\x15\x3d\xc7\x23\xad\xc4\x03\x03\xea\xf3\x62\x05\xa0\x98\xc7\x71\x54\x3d\xac\x5d\x0a\xaa\x87\xce\x07\x32\x4d\xc5\xa2\xfa\xa5\x4d\x19\xf4\xbf\xd5\x76\xf7\x8e\xc3\x71\x5b\x0c\xdd\x6b\x47\xa7\xd2\x03\x95\x90\x5d\xba\x9d\x30\x19\xb0\xb2\x4c\x18\xc7\x1a\x07\xb7\xa2\x7b\x1e\x2f\x1f\x3d\xac\xff\xdc\x63\xef\xb8\xb4\x8c\x0a\x52\xf9\x00\x23\x8d\x12\x7e\x09\x3a\xad\xcc\x21\xfd\xea\x2e\x23\x75\x29\xf2\x72\x83\x15\xb1\xed\xe3\x05\x69\x9b\x33\xa3\x5d\x77\x77\x7b\x03\x12\xdf\xa5\x8e\xb9\x76\x44\xb4\xf3\xbb\x9d\x6a\x1c\x94\xb5\xc1\x8c\xa3\xc7\xaa\x94\xd0\x3a\x75\x52\x6c\x61\xd3\x6f\x75\x3a\x17\x22\x9f\xc9\x44\x7c\x74\x80\x60\x4b\xa6\x50\x6f\xca\xc6\x1a\xee\x1f\x1f\xd3\x0f\x96\x04\x6a\xd5\xcb\xc4\x88\x27\xf3\x7a\xcd\xc4\x85\x41\xd4\x1b\xc2\xf9\xc4\x60\xc8\x86\xde\xc8\x3e\x3a\x33\xdc\x56\x60\x42\x80\x72\xbf\xc6\x10\xa0\x5d\x3c\x0e\xfc\xe2\xf6\x06\x33\x5d\x9d\x79\x8c\xf9\x96\x28\xd1\x38\xf8\xe8\x9f\x3e\xfe\x88\x79\x98\xbc\xa0\x9b\xc3\x8e\xe7\x5a\x0c\xc6\x5a\x7f\xf6\x77\x28\x00\x01\x24\xdb\x5d\x97\x56\x79\x5c\x35\x30\xa8\x4c\x56\x1d\x18\x2d\x09\x83\xdf\xd6\x1c\x1c\xbb\xb2\xad\xaf\x22\xac\x0f\x17\xac\x04\xbd\x38\x38\xe4\xc3\xee\xcb\x17\x2f\x8e\x5f\x74\xb0\xd0\xb4\xbd\xe4\xf6\xaa\x7c\xe1\xf9\xf3\xe3\x4a\x7d\x8c\x5a\x79\x8c\xea\x1a\x54\xdc\x4a\xc7\x47\xeb\xba\x95\x1a\x57\xcf\x62\xb0\x11\xa4\xb1\x3a\x8a\x15\x7d\xbc\x8f\x7c\xe3\xbf\xe2\x8a\xbf\x02\xe0\xb0\x57\x50\x97\x60\xc9\x89\x6f\x69\x1d\x90\x24\xd0\x7c\x82\x6b\x46\x58\x99\x13\xcc\xbc\xbd\xfc\xf1\xc2\x36\x53\x14\x14\xe6\x15\x33\xda\xee\x35\x52\x2a\x12\xfe\x97\x52\xa5\x4d\xcb\x76\xa3\xfe\x27\x36\xc3\x38\xeb\xf3\x37\xef\x7c\xd8\xc2\xab\x53\x36\xc0\x9f\x90\xda\x1c\x85\x35\xb0\xfe\xa3\x71\x3d\x33\x4e\x34\x4b\xec\x98\x20\x47\x04\x8b\x08\x94\x2a\x82\x05\x34\x73\x53\x88\x89\xbd\x71\x4c\xc1\x72\xad\xad\x36\x84\xc2\x8e\xdf\x05\x0f\x90\xbe\x90\xc0\x06\xf3\x62\x81\x79\x6d\x29\x42\x01\x9e\xa4\xfb\x70\x02\x36\xee\x85\xa5\xc9\x9d\x74\xc2\x65\xe3\x36\x88\x58\x62\x30\x6a\x39\x3a\x60\x6f\x50\xca\x71\x0d\xac\x30\x98\x67\x5e\x45\x0f\xf0\xf3\x56\x71\x22\x7c\x78\xc7\x32\x24\x58\xef\x41\x5e\xb5\xf4\xe5\x10\x09\xb0\xa8\x09\x41\x8f\xcf\x75\xe9\x18\x08\x54\x07\xa0\xf7\x5c\x2d\x08\x73\x6f\xc9\xfe\xaa\xcd\xd3\x8e\x6e\x24\x67\x94\xbd\x9a\x51\xf9\x45\xc7\xfa\x69\x68\x1d\xc4\x51\xe1\x2a\xb5\xfc\xc6\x72\x65\x28\x33\xb5\x7b\x05\xb2\xb0\x38\xd9\xdf\x1f\x6b\x53\x9c\x58\x3e\xb6\x6f\xf9\xf5\xd5\x5e\x8f\xbd\x89\x30\xac\xf4\x90\x5d\x95\x79\x86\x90\x32\x6e\xc8\x0b\x16\xc5\xaa\xf0\x57\xb6\x3b\xcf\x29\xad\xa6\x00\x3b\x00\x8a\xb8\x5f\x5a\xb7\x56\xd5\x75\xfa\x33\xd5\x5c\x8d\xd6\xc6\x81\xe6\x52\xf9\x04\x30\x12\x40\x00\xe8\x44\x8e\xc6\x04\x42\x6b\x74\xe6\x70\xc4\x7c\xfe\xde\xeb\xf7\x17\x30\x6f\x3d\x89\xce\x81\xc1\xba\xba\x1d\x2c\x4d\x19\x88\xef\xca\xca\xb8\x38\x52\xe8\x8b\x49\xd5\xa5\x21\x41\x47\xdc\xc1\x04\x07\xe6\x9f\xf1\xb9\xc0\x9a\xde\x52\x67\xb0\xec\x7b\x3d\x37\x75\xab\x72\xf3\xcc\x80\x17\x03\xe2\x46\x5d\x50\x27\xac\xd1\x79\x26\xb8\x01\x15\x8a\xe4\x6b\xcc\x8c\xb8\xb2\xdb\x97\x61\x07\x76\xa5\x0f\x8f\xfe\xd8\x3b\xe8\x1d\xf4\x0e\xaf\x50\x49\xa5\xbe\x2d\x9d\x49\xf3\x79\xce\x4a\x95\x09\x63\x80\xa6\x00\x60\x00\x20\x0d\x59\x02\xa8\xdb\xda\xae\x6f\x85\xb6\x19\x66\x3c\xc2\xd2\x39\x45\xce\xb6\xb1\x82\xbb\xe7\x12\xf8\x35\x2e\xac\x12\xc8\x98\x80\x85\x42\x6d\x5b\x8f\x6a\xe9\x8f\xcb\x45\x99\x8c\xb1\x68\xae\xfd\xd9\x19\x8d\xb2\x39\x39\x70\x94\x56\x5d\x4b\x55\x7c\x90\x09\x0c\x43\xee\x00\x39\x08\x6e\xa0\x09\xc0\xa4\x94\x53\xbb\x4d\x9c\x29\x71\xed\xa8\xc0\x53\x12\x12\xa8\x27\xb5\xfe\x0e\xa0\xfe\xf4\x77\xfe\x0c\x24\x62\x29\x99\x7e\x1a\x49\xe2\xea\xd4\xe4\x64\x7f\xbf\xbf\x03\xdd\x9c\x32\x27\x9a\xb8\xeb\x9f\x00\x17\x7c\x25\x16\x67\x20\xe4\xca\x61\xe9\xa0\xab\x84\x4c\x25\x30\xb8\x9f\x3e\xfe\xd8\x63\xff\xaa\x4b\x68\xeb\x48\x14\x3a\x2e\x34\xc4\xa0\xa1\x02\x34\x90\x45\xce\x73\xdf\x0d\xb1\x1b\x7f\x0c\x31\x93\x14\x22\xfd\x3b\x8c\xbb\xd9\x3a\x23\x99\xa4\x89\x9f\x16\x85\x98\x4c\x5d\xd5\x2f\xfb\x32\xaa\x6c\x09\x52\x83\x91\x09\xe3\x65\x31\x46\xc4\xc8\xfe\x8e\xfd\xe5\xc4\x45\xc1\xfd\xf7\xfe\x0e\x62\xa5\x14\x01\x69\xe5\x6d\xce\x47\x68\x22\xdb\xed\xef\x7c\xd3\xeb\xf5\xfa\x3b\x68\xb2\xf9\x7b\x29\xf2\x39\x9b\xf2\x9c\x4f\x04\x04\x20\xee\xf6\x77\xbe\x73\xbf\x93\x8a\x4f\xbd\x74\x48\xfd\xdb\x1a\x05\x65\x3d\xf9\xa1\x51\xa2\xbd\xe7\x73\xec\xff\x67\xc9\xc1\x38\xb3\x44\x36\x70\x4d\x08\x8a\x50\x7e\x11\x69\x17\xb3\xeb\x6b\xe1\xe4\x80\x07\x82\x02\x1b\xb8\x4a\xa7\xb9\x9e\x01\xc2\x29\x96\xa9\x97\x48\x13\xb9\x19\x23\xea\x41\xa9\xc2\x07\x4b\x0d\x90\xc3\x6a\x17\xf0\x5f\x4f\xdf\xfd\x08\xbc\xd5\x59\x1f\x40\xdb\x80\xb5\xd8\xc5\x25\x3e\x35\x67\xaa\x78\xf9\xdc\x7e\x02\x34\x2a\x9d\x9b\x40\xdb\x15\x25\xd8\x67\x0c\x80\x4d\x0e\xb1\x39\xff\x4e\x13\xa2\x2a\x19\xf4\xbf\x93\x93\x7f\x76\xb5\x74\xe5\x48\x89\xf4\x3d\x4c\x04\xdb\xd0\xf7\x50\x29\x83\xbe\x51\x8c\xed\xbe\xf7\x9c\xa6\xd9\xc0\x51\x3f\x78\x14\x3b\x0e\xf4\xdb\x9e\xb5\xfe\x0e\x83\x60\x65\xa9\xe8\x31\x0a\x16\xbd\x38\xa3\x6a\x84\x7b\x6e\xa0\x10\xca\x5a\x1d\x25\x0d\xf4\x80\x7d\x65\x87\xec\x2b\x38\xf2\xbe\xb2\x6f\x59\xd4\xde\xd4\x1f\x08\x13\x8b\xfb\xfb\xda\xfc\xae\xa5\x13\xaa\x98\x18\x2d\xc5\xc2\x7e\x4d\x5b\xc7\xa6\x52\x60\x71\x75\x3b\x3b\xa5\x85\xc3\xb0\xfb\xd2\x58\x0d\x1c\xc6\xce\xff\xd7\xdf\xb1\x3d\xee\x74\xfb\x3b\x0b\x77\xb1\x3a\xe8\xca\xa4\xbe\x36\x5e\xd1\xd2\xa8\x65\x93\x5b\x16\x03\xe3\x68\xdd\x66\x86\x69\xe2\x26\xbf\xf9\x32\xd5\x4a\xa8\xc6\x2e\x54\x49\xa0\xbd\xab\xe8\x55\x3f\x48\xf6\x95\xbd\xb3\xff\x7c\x6f\xff\xb9\xb4\xff\x9c\xdb\x7f\xde\x48\xa0\x4c\x4c\xe9\xe0\xa4\x97\x5d\xa0\x20\x0b\x45\xfe\x64\x61\xfe\xcc\x2e\x84\x40\xa4\xb7\x93\xfd\xfd\xe9\x78\x6e\x64\x62\x7a\x4a\x9a\xa2\x37\xd2\xb3\xfd\xa4\x2c\xf7\x7f\xb2\xed\xf6\xf1\xfd\xbd\x71\x31\xc9\x02\x4d\xd6\x46\x1a\xc6\x34\x81\x0d\x80\x7d\xf8\x6c\x47\x67\x07\x67\xc7\x66\x87\x66\x47\x56\x3b\x32\x87\x07\x47\xcf\xd9\x3f\xb3\xc3\x1f\x24\xd8\x2a\x0f\x0f\x0e\x0e\xec\xc7\xcf\x7f\x66\x67\x2c\x95\xa9\x7a\x56\xb0\x64\xac\x35\xdd\x09\x09\x9f\xca\xc2\x1f\xeb\x5e\x7d\x38\xb5\x65\x45\x9a\x10\xcb\x68\xc1\x8e\xf5\xcd\x92\x06\x96\x5d\xbc\xb7\xb7\x74\x51\xf8\x0b\x9c\xc4\xbf\x62\x9c\x0b\x01\xe0\x46\x8a\x9c\x9d\x13\xe3\x90\xc0\xed\x45\xcc\x1c\x83\x01\x1e\xe0\x99\x64\xa8\x1a\xe4\x40\x92\x01\x0e\xe4\xe8\xdf\x5e\x1e\x77\x0f\x2d\x37\x98\xf0\x91\x92\x45\x99\x0a\xdb\x49\x0e\x0f\x4b\xe7\x01\xd3\xe0\x72\xe5\x8a\x1d\x33\x17\x5b\x0e\x96\x71\xd3\x63\x38\x6a\xc3\x32\x9e\x53\x8c\x03\xb4\x9e\xe6\x22\x91\x46\x04\x95\x9b\x4f\xa7\xe8\xda\xcd\x75\x09\x98\x0b\xe5\xb4\xc7\x76\xdf\xf4\x46\xbd\x13\x76\xd0\x3b\x9c\x10\xc8\x9a\xff\xd1\x72\xdd\xc3\x49\x6f\x0f\x4d\xba\x8e\x9d\x39\xc0\x06\x57\x58\xb5\x04\xff\xb3\x1c\xb2\x6b\xef\x3f\x8e\x46\x62\x26\x1c\xaa\x2e\xd0\x8a\x48\x81\x7c\x1a\x80\x5d\x38\x8b\x6f\x16\x0a\xeb\x06\x3e\xc9\x3d\x24\x81\xab\x01\x95\x8b\x89\x80\xa5\x2b\x5c\x68\x8e\x1e\xba\xca\x45\xb0\x46\x29\x4a\x1f\xd0\xd8\xc9\x11\xe0\x1e\x44\xcf\xd0\x88\x43\xad\x2a\xa1\x6c\x6b\x69\x22\x68\x44\x18\xcf\x5f\xc4\x50\xe7\xe1\xea\x80\x57\xfb\xc1\xb9\x05\x9c\x96\x50\x69\xa1\xbf\x93\x70\xa5\x15\xe0\x97\xda\xad\xef\xef\x90\xd1\x7b\x22\xb8\x22\x71\xd6\x91\xe3\x3e\x0d\xd1\x75\xc1\xd3\xbf\x95\x60\x65\x2f\xa7\x76\x75\x52\x7d\xad\xd8\x2e\xd5\x9b\x0a\xc8\x70\x78\x1f\x26\x39\x48\xb3\x80\xbf\x4f\x7f\x4b\xc5\xde\xd9\x41\x19\xc3\xf7\xb0\x60\x93\x7d\x1b\xf8\x96\x78\x8f\xbd\xd7\xb4\xe7\x04\xc0\x92\x69\x03\x3e\xa2\x01\xfc\x34\xcc\x79\x42\xec\x00\x59\x6b\x70\xb6\x60\xf4\x8a\x6d\x4a\x68\xd8\x9e\xb4\x77\xed\x16\xc2\x14\xf6\xe0\xf6\x27\x22\x83\x30\x7c\x72\x79\xf5\xe8\xd6\x95\x23\xe5\x7b\xd4\x14\x0f\x43\x92\x34\x98\xcf\x90\xf2\xad\x10\x25\x46\xbc\x90\x33\x01\x0b\xff\x06\xa5\x36\x03\x73\x38\xec\xbd\xf0\x5d\x44\xd8\x95\xdc\xb0\xfe\xce\xe1\x8b\x83\x83\x49\x7f\x87\x9a\x7d\x2f\x97\x34\x3c\x7e\xf9\x4e\xda\x96\xf6\xfc\x3a\x66\x63\x87\xf0\xf7\xca\x86\xbe\x7f\xf3\xf3\x9b\x8f\x10\x0d\x85\xac\x32\xcb\xe6\x75\xf8\x33\x8e\x10\x19\x20\xb8\x82\xbc\xe3\x64\x9b\xcb\x31\x26\x21\x82\x10\x3a\xd6\x99\xa0\xdf\x1d\x80\xb5\xf8\x22\x72\x7b\xf6\x7a\x38\x08\xd5\x0d\x14\x43\x01\x20\x58\xd8\xac\xb0\xff\x02\xe1\xc3\xd2\x6a\x35\xa2\x68\x95\x39\x08\x8a\xd7\x22\x43\x12\xb3\x6c\xc5\xf2\xc8\x50\xd6\xb5\x2b\x5c\xc8\x91\x22\xef\x71\x95\x28\x7b\x6c\xf7\x42\xbb\x82\xb4\xf6\x3c\x54\x7f\xee\x20\xf5\x59\x1e\x9b\xca\xe1\x10\xd8\x29\x06\xc3\x84\x0c\x4b\xbb\x2e\x70\xd2\x9d\xae\x22\xb1\xb1\x4c\x08\xbb\x8f\x8e\x99\x71\x9b\x1b\x40\x0a\xaf\x73\x09\xab\x06\x3a\x22\x94\x6f\xb3\xa7\xd5\xea\xb3\x3c\x63\x63\xae\x52\x10\xf9\x20\x5f\x85\xd8\xc8\x58\x4f\x43\x0c\x17\xa7\x99\x26\xdc\xbe\x42\x5a\x02\xb1\x82\xb6\xce\xd1\xe7\x6c\xf5\x3f\x94\xde\x41\x16\xa5\xb5\xf7\xcd\xea\x08\x32\x6d\xc2\xf4\x1a\x22\xb2\xe9\x4d\x44\xc1\x7b\xb3\xc3\xde\xe9\xf9\xd9\xf7\xb5\xd2\xd8\x75\x11\xd9\x35\xa9\xda\xcc\x30\x93\x12\x38\x91\x8b\xc7\xf1\x55\x60\x7c\xbd\x18\x7b\x66\x87\x22\xcf\xab\x78\xfa\x1c\x0b\x6b\xaf\x53\x86\xc4\x87\xe7\xad\x30\x69\x9c\x9e\x9f\xfd\x5c\xab\x13\x1e\xc1\xe5\x8b\xd4\x81\x13\x39\x22\x6e\x11\xee\x95\x8f\x68\xbc\x20\xad\x9f\x6c\x11\x58\x70\xbc\x80\xaa\x01\x23\x05\x87\xd1\xc1\xab\x93\xae\x96\xf1\x42\x40\xa5\x1a\xb2\x22\x50\x3c\x91\xf3\xa3\xe7\x02\xdc\xea\xa5\x8a\x7a\xc0\xa3\xd2\x0a\x4e\x3b\x92\x05\xf9\x1b\xf6\x13\x3d\x99\x58\xa9\x66\xbe\x0f\x45\x7e\xe4\xa0\xb4\x84\xb2\x9f\x8a\x99\xc8\xf6\x8d\x1c\x75\x79\x9e\x8c\x65\x21\x20\x4e\xca\x95\x3e\x99\x59\xc5\x50\x2b\xd3\x9b\xa4\xdf\x2c\xc0\xde\x5e\xc7\x4a\xf7\x59\xaa\x55\x28\xee\x3f\x48\x45\x18\xee\xa4\xbb\xa2\xfb\xcf\x2f\xae\x8b\x57\x03\x98\xf6\x08\x2d\x2e\x84\x1a\x04\x97\x51\x58\x76\x10\x0d\xd4\xd0\x95\x25\xf0\xca\x85\xc7\x3d\x43\xd3\x0f\x68\x5c\xa6\x1c\x4c\x2c\xbb\x8f\x20\xcd\x7a\xec\x15\x5a\x65\x06\x22\xc4\xf8\x9c\x29\xf6\x8a\x4f\x44\xf6\x8a\x1b\x71\xe7\x8b\x0e\xe8\x44\x5d\xbb\x7e\x5b\x2c\xfb\x0d\x3c\x48\xb5\x53\xb5\xf6\x2b\xfd\x21\x5d\x70\xd6\x56\x19\x66\x97\xb0\x17\x60\x1c\xd4\xed\x5b\x9d\xbf\x76\x85\xda\x96\xda\x61\xeb\xe3\xa9\x17\xbf\x08\x4c\x85\x12\x38\x43\x38\x82\x2b\x91\x39\xcd\xf5\x80\x0f\xb2\xb9\x7b\xd4\xc1\xf8\xbb\x02\x8e\x4b\x4a\x17\xe4\x94\x63\xfe\x97\x39\x39\x0c\xce\x5e\x7f\x5c\x59\xf7\x08\x22\x90\xf4\xd0\x91\x25\xe4\x67\x3b\xb8\xd2\xdc\x27\x67\x17\x74\xb5\x52\x5d\x6e\xa4\x6f\xdc\x35\x17\xa6\x62\x9f\x1a\x8b\x6c\xea\x8a\xa2\xb0\x1c\x02\x5d\x9c\x21\x92\x6e\x94\x09\xe4\xb2\x8b\xe2\x5a\xe7\x9f\xbb\xc2\x5e\x5b\xf0\xda\x6b\x3e\x0f\xa2\x0b\x7b\x45\x3d\x24\x5c\x79\xa9\x91\x4f\x2d\xab\xcd\x25\x64\x36\x56\x07\xc7\x21\xd8\x17\x31\x5d\x60\xf8\x24\x5a\xcc\xb1\xfe\x2a\x9c\x21\x50\xed\xf5\x30\xc4\xac\xc1\x4f\xc2\x74\xfc\x70\x23\x43\x35\x1a\x97\xd5\x48\xb8\x12\xae\x76\xca\xb6\x6b\x94\xc3\x7c\xf5\x1a\x84\x8d\x84\xa8\x24\x8c\xbb\x84\x15\xa7\xc5\x82\xb0\x67\xf5\x39\x8a\x86\xa7\x25\xb6\xb3\xa2\x81\xbd\x0d\x16\xb2\x13\x8a\x80\x05\x13\x59\x0d\x57\xd9\xb3\xe7\xb3\x73\x9c\xa1\x7d\x65\xc7\x05\x8c\x53\xb7\xb0\xdc\x0e\x16\x14\x47\x88\x86\xd6\x6a\x07\x8e\x5b\xb1\x4c\xeb\xcf\x86\xf1\x82\xfd\xaf\xee\x5b\x9d\x5f\xf3\x3c\x15\xa9\xfd\xcb\x95\xea\xd1\x39\xfb\x5f\xdd\x8f\x82\x67\xdd\xb3\x69\xf4\x1d\xf1\xab\xde\x47\x31\xd1\x05\xa0\x1a\xb0\x5d\x17\x30\x07\xa5\x5d\xf7\x2c\x21\x8c\x44\x65\xca\x67\xe7\xb7\x53\x8a\x69\xc9\x79\xbd\x58\x74\x02\x6e\x14\xae\xba\x69\x2d\x62\x57\x03\x32\xd4\xae\xf5\x22\x86\xab\x06\xd7\xc6\xeb\x6e\x7f\x39\x16\xb2\xaf\x8d\x57\x63\x03\xef\xea\x4e\xdb\xca\xad\x72\xae\xfa\xef\x2b\x91\x5c\xb0\x4a\xae\x7c\x45\x97\x6e\xf4\xf0\xba\xca\x66\x8c\x48\x0c\xdc\xa9\x2e\x2a\x3d\xe4\xa5\xc0\xea\xaf\xa1\x0c\xf8\xce\xec\xb0\x39\xdd\x5f\xb6\x17\x48\x7f\x94\xa6\x58\x43\x28\xfd\x91\x22\xf3\x02\x20\xa7\xfb\xa5\x83\xf2\x74\xa6\xaf\x3d\x73\x2a\xb4\x2f\x15\xea\xef\x0d\x5e\x30\x28\x76\xf4\x24\x8d\x3e\x6a\x69\x14\xa8\x73\x15\x03\xc1\x46\xed\xe4\x70\xe7\xbc\xc2\x1f\x90\x9b\x70\xca\x27\xa1\xfb\xfe\x84\xee\x35\x59\x32\x51\xde\xa3\x61\xc0\xc0\x18\xef\x9e\x09\x7f\x6c\xe6\x32\xb6\xb0\xb9\x8f\x1e\xf3\x3a\xca\x55\x0b\x5a\x09\x0f\x04\x08\x06\xcc\xb1\x80\x48\x09\x34\x53\xfa\x48\xa2\x74\xad\x50\x9a\x42\x8c\x74\xde\x92\x7c\xdb\x08\xa6\x71\x0d\xab\x7c\xc0\x2b\x48\x22\x65\xb5\x72\x52\x7e\x8c\x03\x61\xe5\x55\x60\xa4\xe0\xf1\x67\xcf\x78\x96\x3d\xdb\xbb\xef\xec\x9e\x51\xcd\x20\xd3\x36\x4d\x68\xe3\xb4\x9b\xa0\x10\xe1\xd7\x34\xdd\x80\x35\xce\xde\x40\xea\x9f\x9c\x4c\x33\xb7\x45\x95\x96\x64\xd9\xc1\xe2\x8c\xb4\x18\x58\xbf\xf7\x2d\x18\x49\x03\x1a\x7e\x07\x97\xcc\xa7\x07\xf0\xa8\xca\x36\x5d\x34\xc3\x58\x1c\x07\xe4\xf7\xfe\xce\x16\x5a\xe9\x1a\xac\xf0\x33\xb1\x42\xc8\x89\xb3\x7f\xbb\xd0\x59\x3f\x09\xda\xc6\xb7\x5a\x3f\x6b\x34\x8c\x88\xf3\xd9\x50\xeb\xfa\x3e\xdf\x81\xb2\x3e\xcd\xca\x9c\x67\x15\x9d\xdd\xef\xd1\x0d\xa2\x3d\x57\x2d\x53\x68\x18\x01\xd7\xcb\xca\xe9\xac\x1c\x47\xab\xa0\x28\x5d\x2f\xb6\xbc\x5e\xb1\xb9\xb1\xce\x8b\xd6\x9a\xf3\xf5\x58\x2b\xdf\xb0\x7a\x4c\x4d\x39\x1a\x61\xac\x3e\xb4\xa0\x82\xed\xcb\x17\xeb\xee\x4f\xa4\xd5\x00\xcb\x8c\xe7\xef\x57\xef\x77\xdc\xd4\x5b\x1f\xe8\xbb\xf6\x9d\x67\x94\xef\x80\x78\x5f\x91\xac\x0a\xc6\x64\x4f\x35\x50\x9d\xc2\x75\xa4\xa7\xfc\xef\xa5\xc8\xe6\xa4\x4a\xd7\xde\x09\x2e\x32\x70\xb9\x24\x98\xae\x98\x0b\xab\x3e\x61\x96\x06\x14\x30\x80\x84\x28\x4a\x60\xb1\xcb\x07\xbd\x0f\x74\x31\x0e\xaf\x00\xc4\x76\x7a\x75\x28\xc2\x13\x24\x03\x7b\xcb\x25\x45\xc6\x5e\xfd\x78\xc6\x3c\x84\xf6\x56\xf5\x8a\xc0\x34\x43\x02\xf3\xbf\x70\xb3\x2a\x6a\x18\x62\xb9\xb8\x19\x93\xe0\xe3\x22\x96\xab\x16\x9e\x4e\xc5\x62\x54\x65\xf3\xd2\x38\x29\x1a\x1d\x00\xe0\x3a\xbb\xce\x65\x51\x08\xe5\x84\x68\x48\x5e\x87\xb2\xec\x3d\xf6\x73\x25\xe5\x2e\xca\x01\xc2\x5d\x60\x83\x79\x28\x61\x0b\xa5\x8d\xa0\x60\xac\x2c\xe6\x18\xa6\x9b\x4b\x80\x56\x54\xd5\x5c\x7e\x08\xdd\x0c\x66\x1f\xae\x18\xcf\xa6\xe3\x80\xb0\xeb\xc4\x75\xac\xb7\x00\x61\x3c\xa1\x72\x7a\xc5\x3f\x59\xab\x12\x3f\xd5\x51\x3a\x54\x35\x9e\x13\x6c\x2c\x64\xef\xb8\x68\x2c\x7b\x05\xb1\x17\x52\xcc\xb1\x38\x05\x0d\x12\x5f\xe0\x1c\x96\x5c\x46\xa1\xd1\x62\x26\x94\xed\x57\x16\x6c\x94\xf3\xb4\xb4\x0c\x66\x0b\x4a\x98\x89\x7c\xb0\x86\x8d\x60\xd0\x60\x19\xce\x38\x60\x49\x92\x61\x8b\x5d\xcc\x7e\x57\x49\x56\xa6\xc2\xb0\x91\x28\x3a\xf0\x40\x87\x5d\xf3\x22\x19\x77\x08\x60\xb8\x43\xd2\x6a\x87\x4d\xf1\xeb\x54\x64\xc2\x7e\xc4\xff\x26\x3a\xcb\x30\xfc\xb7\x43\x15\x0c\xf4\x97\xf9\xbd\xcb\x03\xb3\xb5\x94\xce\x59\xd5\x58\xda\xea\x79\x59\x29\x15\xd4\xab\xd3\x2e\x90\x0b\x6e\x2c\x16\xcc\x0e\xd9\x2e\x56\xfa\xa7\x72\x4b\x9c\x51\xc8\x6e\x73\x08\x79\x18\xf3\x33\x32\xfc\xec\xad\x2f\x51\x6c\x69\x78\xa9\x70\xfc\xf6\x4b\xb7\x2e\xab\x34\x28\x79\x95\xca\x70\x23\xb9\x7c\xb5\x7d\x24\x6e\xd9\xd0\x89\x3f\xfa\x6a\x67\x28\x8c\xbb\x88\x72\xac\x6a\xd5\x70\x2d\x44\x65\x4b\x63\x53\x1c\x77\x72\x7f\x42\xf2\xa4\x3d\x24\x9e\x03\x53\xc4\x64\x45\x20\xdb\x54\xee\x7f\xb2\xb9\x3c\xb0\xcd\x65\xbd\xd5\x8f\x9b\x3a\x0e\xd4\xa0\x08\x5c\xf8\x16\xca\x1c\xea\xb5\x83\x44\x9f\x6c\x25\x0f\xed\xa0\x5c\x58\x4c\xba\xb6\xf6\x81\x65\x34\xe2\x06\x9a\x5c\x25\xb0\x0a\x8c\x0e\x69\xe3\x11\xec\xce\xec\x76\xde\xd6\xb1\xf1\x2d\xbd\x89\x0d\xc9\x9d\xa4\xd6\xb5\x7c\x0c\xe6\xa5\xca\xd5\x72\xf7\x16\xa6\x9f\x9b\x5e\xa1\xc5\x4c\xdd\x78\x00\x8d\xc8\x2d\x84\x38\xc9\x56\x58\x9e\x71\x99\x61\xc2\xc0\x26\x46\x7f\xe7\x2d\x26\x86\x95\x6b\x5d\x60\x7c\x3e\xd1\x27\x26\x7f\x5a\x61\x05\xaa\x4a\x3c\x5d\x56\x8f\xf8\xb2\x7a\xba\x0d\x1e\xe4\x36\x78\x0a\x99\x78\x0a\x99\x78\x0a\x99\x78\x3c\x21\x13\x7c\x2a\x97\xdd\x8f\xf7\x63\x39\x5d\x53\x2a\xf2\x73\x5c\x8f\x9f\x3c\x06\x11\xe9\xe7\xe6\x90\xef\x44\x3c\x7a\xa5\x15\x66\x87\x2d\xab\x4f\xea\xda\x04\x01\x3b\x15\x05\x97\x19\x56\x20\xd5\x4a\x30\x6e\xd5\x73\xef\xfe\x4a\xca\x1c\x0c\x32\xa6\xb0\xbc\xcc\xc9\x16\x56\x1e\xfa\xd8\x30\xac\x2f\x94\x71\x32\x6e\x8a\xcb\x9c\x2b\x03\xaf\xbe\x94\x4d\x83\xf8\x0d\xce\x12\x74\xb7\x2c\x34\xb0\xf9\x76\x27\xbc\xd9\x5f\x10\xde\x9e\x0c\x57\x2e\xbb\xce\xb7\x76\xc6\x6b\xbb\x30\x64\x06\x87\x22\xb6\x80\x2c\x45\xb7\x49\x00\x6a\x40\x60\xac\x31\x95\x3a\xcb\xe6\x18\xd4\xed\x57\x1c\xac\xb2\x69\x8f\x21\xd0\x26\xde\x51\xf6\x16\x07\xc0\x24\x4a\xdc\x0e\xb5\xcb\x60\x5c\xbe\x47\xbb\xe2\x68\x4d\xa5\x6e\x40\x28\x49\x12\x31\x2d\xf0\x8c\xb6\x72\x84\x89\x30\x86\x8f\x56\xb9\x1f\xa8\x15\x8a\x39\xe3\x72\xc2\x95\xe5\xcf\xa9\xed\x97\xf9\xdf\xd0\x09\x64\x07\xe7\x08\x86\x0f\x5c\xfd\xfd\xb0\x5e\xbd\x4a\x6e\x8c\xc7\x0f\x25\x84\xd1\xcd\x45\x05\x3d\x40\xf4\xb6\xef\x85\x12\x79\xbd\xfa\x6a\xdb\x5c\x9a\x0f\xc4\x10\x33\x76\xb0\x3d\x87\xd9\xda\x1b\x85\x36\xe1\xda\xf3\xdb\x75\xcd\x0d\xe0\x56\x0e\xb8\x21\xf4\x38\xbc\x02\x21\x0b\x59\x81\x15\x6c\xd8\xde\x99\x34\xee\xd8\x64\x73\x76\x78\x84\xa9\x0a\xf0\x6a\x24\xa1\x9e\x7f\x89\xf9\xf4\xe5\x97\x5e\xcb\x90\xa5\x61\xdf\x76\x6a\xe3\xb1\x12\x65\x09\xe7\x12\xd0\x1b\x20\x49\x26\x17\x78\x58\x7d\x51\xe6\xc6\x61\x15\x7e\xbc\xcb\x10\x3f\xb6\x02\x92\xcf\x05\x37\x2b\xf7\x03\x1b\x05\x6e\xc3\xd9\x34\xd7\xa3\x9c\x4f\x00\xd2\x37\xca\x48\x8e\x29\x0c\xf5\x7c\x78\xd0\xd7\xc4\x77\xeb\xf0\xcc\xd0\xb1\x8d\x68\xee\x3c\xd7\x69\x99\x58\xc1\xcd\xa5\x55\x0c\x65\x12\x9f\x67\x28\xfd\x6a\x89\x12\x35\x27\x26\xbe\xd8\x65\xf3\x3a\x0a\xc1\x0f\x73\x25\xd5\xc8\x04\xb0\x06\x38\x6f\x9d\x4a\x14\x42\x11\x20\x4b\x39\xf8\xcb\xc0\x12\x9d\x8b\x94\x71\x36\x2a\x79\xce\x55\x21\x44\x0a\xaa\x1f\x48\x5f\xa8\x2d\xc4\x50\x2e\x5e\x46\xf7\xb0\xbb\x91\xa7\xc4\x0e\x91\xe4\x7a\x38\x38\x5b\xb9\xc6\xda\x6a\xa2\xb7\x97\x24\x0f\x16\x7b\x5c\xa8\x8e\x43\x61\xb8\x04\xf8\x5f\xc0\x24\xeb\xb8\xe2\x61\x5b\x8c\x65\x0d\xe0\x42\x97\xba\x16\xd1\x79\xa4\xc7\x30\x38\x6f\x6c\xa8\x75\x8f\x24\xcf\x5e\xa2\x27\xfb\x41\xcf\xb9\x5d\x83\x3e\x3c\xdf\x5c\xcb\xce\xd2\x9b\xac\x79\x22\x5a\x18\xf0\xed\x9b\xf5\x5f\x83\xb3\xe9\x03\x2c\xe4\x32\x73\x48\xa5\x9d\x63\xcc\x94\x88\x4e\x28\x82\xe0\xb7\x22\xe1\xdb\xde\x33\xae\xe8\xfa\x93\xed\xe2\x11\xdb\x2e\xd2\x7c\xfe\xb1\x5c\xb5\xee\x90\x56\x4a\x4b\xd9\x89\x02\x39\x10\x52\x56\xa7\xbe\x1a\xb4\x89\x41\x54\x2c\x81\xd8\x9d\x31\x60\x57\x38\xb5\x47\x12\x01\xa8\x00\xb2\x30\x5a\x25\x1c\x03\x4b\x65\x2e\x92\x42\xce\x84\x53\x05\x0d\xd4\x8e\x05\x6d\x50\xe4\x39\xe8\x61\x66\xaa\x95\x41\x0f\xb5\x0a\x08\xa4\xd3\x5c\x27\xc2\x80\xc8\xe3\xcd\xbb\xa8\xb1\x31\xa8\x9d\x1f\xf1\xda\x13\xd6\x65\xa7\x59\x76\x02\xd8\x22\x69\x3e\x07\x4c\x11\x53\xf0\x91\x08\x89\x9b\xd4\x5d\x1d\x79\xec\x3e\xa2\xaf\x78\x22\xce\x45\x2e\x75\x7a\x21\x2c\x2b\x5b\xc5\x80\xed\xdd\xe0\x4b\x2f\x49\xc5\x0c\x3e\xc5\x06\x98\x77\x5b\x04\x34\xfa\x70\x77\xa0\x7b\x39\xad\xc7\x16\x28\xad\xba\x2e\x85\xd4\x41\x9d\xc7\x97\x0f\xc0\x9a\x87\xad\xc7\x5e\x98\x9c\x4c\x44\x2a\x79\x01\xf1\x20\x0e\xf8\xdd\x07\x1a\x28\x99\xa1\xf8\xe1\x60\x4f\x61\x82\x96\x2a\xa4\x0e\x11\x53\x01\xf2\x12\xb8\x78\x0c\x34\x55\x85\x22\xe3\x60\xf2\xa0\x09\xd1\x4b\x86\x55\x64\x4f\x82\x5f\xc7\x94\xe1\x96\x31\xde\xb6\xf0\xf2\x64\xfa\x7b\x10\xd3\x9f\xce\xa7\x63\xae\x5e\x3b\xc4\xde\x55\xc7\xe4\xb5\x5d\xc0\x04\x2a\x90\xb2\x29\x82\x19\x39\x93\xd7\x79\xae\xa7\x7c\x04\x07\xe8\x5c\x67\x32\x99\x77\x22\xa1\xcd\xd3\x62\xea\x3b\xb0\xa7\xec\xb0\xf7\xc7\x1e\xbb\xc0\x03\x85\xd4\x4d\xe3\xa0\x0d\x33\x90\xab\x0d\x43\x84\x65\x1d\x02\xb8\xe6\xfe\x10\xe5\x20\x04\x2b\xc1\x9f\xfb\x3b\x6c\x28\x15\xa4\x59\xe7\x51\x32\x3b\x66\x07\xef\xbb\x90\x1b\xbf\xb9\xd8\xfd\x33\x13\x1e\x32\x14\x2b\x49\x38\x60\xd1\xd0\x75\xde\x9c\x9b\xbb\xb7\x8d\x28\x50\x9b\x00\x0a\xd0\xc5\x78\x9b\x78\x3b\xbb\x22\x5e\x01\xb9\x45\x45\xfc\xbc\xd2\xef\x32\x8d\xfc\x1d\xb1\xae\x61\x99\x0d\x65\x96\x89\xd4\xf1\x3d\x4e\xb2\x08\x29\x51\x3c\xcf\x2d\x77\xd1\x65\x01\x9b\x61\x27\xed\xec\xae\x1d\xc6\xd9\xf3\x83\x6f\xd9\x2b\xad\x86\x99\x4c\x0a\xa7\x9d\x87\x8c\xf0\xa2\xcc\xed\x2e\x2e\xae\xcb\x53\x59\xe1\xd5\x17\x29\x95\xce\x48\xd9\x58\x5f\xb3\x11\xcf\x07\x56\x2d\x0e\xc1\x3e\xe1\x12\x12\x39\xa6\xa8\x2f\xd8\xdc\x0f\xb5\x23\xb0\x78\x6f\x81\x89\x3b\x0e\x3c\x45\x42\x90\x06\xe0\x2e\xd2\x10\xaa\x25\xbe\x48\x2c\x73\x10\x08\xd2\xaa\xad\xce\x84\xed\xf4\xd3\x88\xf2\x5c\xa2\xb5\xe3\x59\x5d\xaf\x32\x55\x5f\xd6\x63\xa7\xde\xc0\x50\xb9\x89\x9f\xe1\x1c\x9e\xb1\x2e\x9d\x96\xea\x69\x32\x7f\x66\xcf\xfe\xc2\x93\xcf\x23\x80\xce\xb0\xad\xd0\xbb\x06\x0e\xfe\xea\xc2\x69\x00\x6b\x23\x7e\x5f\xed\xc4\xcd\x60\xe0\x7b\xfa\x33\x7b\xf6\x56\xe7\x22\xea\x96\x25\xdc\x24\x3c\x45\x40\x02\x58\x1f\x90\x6c\xb0\x3f\x83\xa2\x42\xa3\xc3\xa1\xef\xe3\xb6\x50\xa6\xee\xdc\x8a\x58\x15\xf6\xd7\xb2\x23\x76\x56\xbc\x88\xa7\x00\x3c\xa6\x55\x1d\xa7\xf6\xb7\xf5\x62\x88\xff\xda\xe6\xed\xb9\x18\x49\x53\xa0\x04\xf6\x60\x4b\x70\xeb\x83\xd8\x78\x39\x2a\x08\x98\xf7\xbd\x0c\xb7\xfe\xf2\x2d\xa6\xff\xa0\x74\x70\x07\xaf\xdf\x7c\x09\xa6\xe6\x1e\x27\x7c\xd3\x97\xdd\xff\xf4\xec\x1b\x8f\x36\x79\x63\x59\x8c\xad\xb8\x9c\x3c\x0c\x49\xdd\xfe\xdb\x37\x5e\xf2\xb2\x18\xeb\xdc\x01\x93\x3d\xc0\xfc\x6f\xf7\xe5\x5b\x4c\x5f\x9b\x04\x40\x1c\xef\x73\xd6\xb7\xf2\xce\xa3\x87\x9a\xec\xd1\xa6\xa7\x6c\xc0\x8b\x64\x7c\x6f\xeb\x7b\x0b\x6f\xdb\x74\x65\x23\x20\xee\x7b\xbf\x98\x6f\xfd\xdd\x1b\x4f\x5e\xeb\x3c\x95\xea\x41\x38\xc8\xad\xbf\x7b\xd3\xc9\xbb\xc8\xc3\x46\x05\x89\xbb\x9e\xf9\xed\xbe\x78\xd3\x69\x8b\x19\x18\xca\xee\x79\xce\xb7\xf8\xd6\x8d\x27\xec\x65\xdf\xfb\x7d\xef\x30\xd3\xd7\x60\xfb\xd3\x59\x2f\x80\xe2\xdf\xc6\x0a\x40\x36\xda\xe3\x18\xca\xa6\x8b\x22\x27\x7c\x24\xc8\xec\xf1\x20\x4b\xe1\xbc\x53\x0f\xbd\x25\x14\xee\x28\xd5\xe8\xbe\x8f\xe2\x2d\xbf\x79\x53\x0a\x50\x3a\x15\xf7\x3e\xe5\xdb\x7a\xe7\xe6\xdb\x7c\x5b\x6f\xde\x74\x99\xf1\x8c\xdd\xdb\x0a\xdf\xc6\xeb\x36\x9d\x62\x3e\xe0\x49\xef\x41\xb5\xa0\x3b\x1a\xc1\xc6\x54\x76\x47\xe3\xd8\x74\x43\x4c\x32\x16\x69\x99\x3d\x00\x4f\xbb\xe5\x37\x6f\xbc\x01\xb7\xfc\xfe\x8d\x17\x1e\x13\xc6\xef\x7d\xd5\x6f\xf1\xb5\x9b\x2f\xf9\x2d\xbe\xbc\xbe\xde\xf4\xd7\x16\xc1\xc1\x6f\xa1\x22\xe6\xcf\x87\x4b\x22\x85\x5c\x13\x84\x30\x00\xbf\xb7\x80\x78\x43\x57\x54\x5f\x31\xee\x30\x0e\x5c\x99\x6d\x2a\x60\x7a\x99\x4b\xd1\xf1\x25\x2b\xd0\x3b\x8f\x70\xd6\x3c\x19\xb3\xcf\x62\x1e\x57\x9f\x67\xcf\x7a\xcf\x9a\x5e\x74\xc2\x22\x28\x8c\xc8\x86\x11\x74\x39\x21\x36\x43\xb1\x5e\x1d\x05\x94\x8a\xa2\x53\x29\x0f\x58\xe9\x8f\x33\x53\x0e\xba\xde\xe3\x26\x0b\x31\xa1\x64\x08\x6c\x0c\x3d\x63\x0d\xfa\xa8\x2a\xbd\x11\x6c\x48\x85\x5d\x27\xbc\x30\x27\xec\xd9\xf0\x84\x8a\x1e\xf0\x09\x96\x3f\x10\xcf\x3a\xec\x1a\xaa\x4b\xd6\x7f\xa8\x63\xab\x72\x5f\x4d\x88\xb9\xf5\x82\x01\xc3\x5a\xd8\xef\xec\x8c\x9e\xcd\xe8\x05\xe0\x5c\x6b\x7d\x43\xf4\x8b\x7b\x85\xf8\xc2\x93\x82\xfd\xcd\xf8\x62\x1e\x3e\x90\x11\x5f\xec\x6b\x8c\xb3\x67\x92\xfa\x87\xaa\xc9\xad\xfd\x47\xbf\x20\x10\x04\x46\xb6\x61\x4f\xd0\x89\xf4\x75\x90\x9f\x7d\xa6\xee\x3e\x8b\xb9\x69\xed\x2d\xfc\x80\x81\x13\x94\xae\x13\x0f\xea\x99\x81\x35\x20\x9a\xc2\x08\x2d\x99\xb3\x52\xc9\xbf\x97\xde\xcb\x78\x66\xdf\xfe\x19\x72\x62\xa6\xa6\xb2\xf1\x48\xa4\xbe\xfa\xba\x27\x1c\xf0\xfb\xd9\x27\xa2\x68\x5f\x04\xd1\x2f\x42\x7d\xc2\xc2\xd7\x44\xc1\x35\x0c\xd8\xde\x54\x87\x15\x42\x71\xe4\xc8\xe9\x83\xfb\x9e\xd0\xd3\x2e\x54\x8e\xee\xa6\x72\x38\x0c\xee\xbe\x1b\x07\xf1\x2d\xc4\x8a\x5c\x7c\x4a\xe3\x47\xaa\x59\xb2\x7d\xe4\x41\xfb\xc4\x41\xfa\x3b\x70\x8a\xfa\x3b\xe1\x33\x91\x3f\xec\xad\x43\xb5\x65\x67\xb0\x00\x13\x0e\x80\x0a\x38\x61\xbb\xe2\x9f\x85\x98\xba\x2a\xd0\xf5\x92\x81\x0b\x03\x02\xb7\xcd\xfe\xae\x22\x81\x9d\x9e\x9f\xb5\x24\x82\x07\xef\xed\xa4\x39\xd5\xcd\x23\x51\x36\x03\xc8\xa8\x0e\xb0\x6d\x48\x7a\x18\x2f\x75\x25\xd1\xcc\xf0\x99\x88\xc2\x7a\x0c\xc5\xcc\xeb\x72\x90\x61\xd9\x86\x69\x26\x0b\xcf\x08\xe3\x0d\xbe\xe5\xf8\xd6\x45\x29\xc5\x6e\x2d\xdc\xf5\x72\x7b\x04\xfe\x23\x1f\x88\xec\x42\xa0\xab\x7f\x59\xd2\x2e\xcb\x6c\x4b\x66\xa8\x29\x61\x4f\xc0\x77\x58\x3e\x0a\x72\x71\xfd\x95\xe4\x03\x27\x91\xaf\x53\xc8\xa1\x1e\x62\xae\x1a\xbc\x95\xa2\xba\xed\xe7\x37\x5f\x2c\x4f\x08\x49\x4f\xa7\xef\x5f\x53\x64\x23\x32\x95\xda\xbb\x29\xdb\x0e\xc2\x07\x28\x30\xa8\xc7\x4e\x99\x2a\xb3\x6c\x51\x53\xa5\x7d\xcb\xd5\xa7\xa4\x3e\xa6\x55\xe9\x19\xf5\x29\x54\x70\x39\x6a\x03\xa2\x8d\x9f\x60\xd0\xd9\xe5\x58\x54\xbe\x89\x66\xbf\x56\x88\xe4\x0d\xa2\x81\x2a\x3b\xff\x31\x8c\xe1\x46\x71\x96\xd1\xee\xd6\x17\xad\xad\x30\xf7\xf6\x31\x9f\x6d\x5b\x40\x54\x15\x5f\x6c\xff\xfe\x59\xcc\x3b\x70\x17\xfd\x8a\x35\xea\x2d\x9d\x10\x44\x56\xfc\x9b\x0b\xc6\x89\xba\xb1\x3d\x58\xa1\xe8\xef\xa5\x9c\xf1\x4c\xa8\xc2\x5d\x73\x58\xb4\xc1\xd3\x72\xb4\xf1\xf6\xae\xd5\x46\x84\xfb\xd3\x76\xd0\xdf\xf9\x2c\xe6\xfd\x1d\xbc\x0b\xed\xc4\x39\x1d\x9f\xfe\xce\x99\xb2\xdf\xbb\x68\x1f\x1f\xc0\x93\xf3\x79\xb8\x38\x20\x1f\xb4\xbf\x83\x62\xc6\xce\x06\x14\xd3\xc6\x1a\xda\x79\xd1\x5a\xc1\x32\x13\x3e\xed\x7a\x02\x80\x02\xf8\x37\xe5\x36\x31\xcd\x6d\xc0\x78\xa2\xc9\x53\xf0\xa7\xfb\x05\x2b\x94\xbb\x85\xc3\xe5\xec\xa0\x9c\x82\xab\x0c\x95\x7f\x69\x03\xa0\x71\x2e\x32\x0a\xb7\xc6\x4d\x83\xeb\x0c\x23\xcb\x57\x73\x89\xcf\x62\x55\x50\x1a\xc9\xd5\x18\xe2\x6e\x27\x61\xbf\xf0\x99\x4c\x7e\xdc\x7c\x4a\x58\x4d\x7a\xf9\x75\x52\xf9\xad\x5a\xdc\xdf\x12\x22\x49\x40\x38\x2c\x18\xdd\xaa\x07\x20\xae\x41\x8c\xa0\x3d\x3c\xbc\x20\x26\x94\xd6\x6c\x55\x66\x97\x5b\xda\x4a\xc9\xf0\xcf\x62\xfe\xcc\xe0\x42\xdb\x23\x32\x96\x53\x57\xfd\x13\x8e\x90\x8b\xe3\xc7\x68\x72\xd7\x05\x52\xf5\x99\xea\xb0\xf7\xba\xb0\xff\x79\xf3\x05\x80\x22\xec\xfe\xbc\xd6\xc2\xbc\xd7\x05\x7c\xb3\x0d\x1e\x19\xbc\x70\x95\x54\x81\x47\x91\x20\xdc\x5c\x35\xfb\x38\xca\xd8\x50\x50\x76\xf5\x48\x9f\x29\xab\x42\xd0\x98\x1b\x67\x3a\x0e\x08\xc7\xec\xa1\xb6\x3e\x68\xaa\x3a\xaf\xcc\x74\x49\x77\xd4\x15\xe2\x0d\xc2\x2f\x98\xa0\x91\x01\xec\x63\x5a\xe6\xa4\x71\xe1\x66\xcb\x84\xc1\x56\x23\x36\xda\xa3\x4a\x1d\xae\x92\x6c\x20\xbb\x3b\x90\x7a\xa4\x29\xde\x89\x82\x2f\xe1\x3b\xae\x09\xc3\xef\x07\xc2\xf8\x50\x4d\x3c\xc2\x66\xae\x8a\xb1\x28\x64\x12\x21\xde\xc0\x96\x8c\xf9\x4c\x50\xd5\x6f\x08\x7c\xcc\x3c\xe9\xce\x78\x2e\x75\x69\x3c\x5e\x63\x10\x5d\x7c\x74\xba\x07\x5b\x03\xbe\x4f\xba\xef\xbf\x7f\x80\x96\x76\x38\x1d\xe6\x06\xf6\xeb\x3a\x00\xbb\xda\xea\xdb\xe5\xca\x5a\xd5\xd4\x2c\x8a\x74\x75\x70\x00\x50\x6e\xd4\x7e\xb6\x02\xcd\x44\x16\x0e\xf2\x90\xaa\x63\xe9\x21\xe8\x8c\xc6\x87\xf3\x12\x40\x58\x35\x91\x25\x02\x11\x18\x73\x42\xb2\x84\x85\x0c\x29\xec\x51\x3e\x84\xf4\x18\x8c\x2e\x01\x28\x2a\x8e\x2d\x8d\x81\x1f\x20\xbf\xd7\xc5\xdd\xbb\x3c\xa2\x28\x44\xdf\x6e\x10\x24\x6d\x62\x70\x2f\x08\x63\x85\xb6\xc3\xcc\xa5\x20\x69\x5f\x89\x2f\x85\xe3\x43\x7e\x24\x61\x57\x5e\xe1\xaa\xe0\xe9\x81\x44\x42\x53\xd8\x4b\x07\xfa\x8a\x12\x01\x5d\xc4\xb3\x5b\x32\x57\xa8\x1b\x6a\x92\xbb\x14\x12\x3b\x6f\x97\x18\xec\xea\xdd\x41\x75\x3c\xce\x86\xe2\x9a\x4d\xa4\x2a\xed\x72\xc1\xd6\x4f\xb9\x31\x22\xf5\x82\x33\x10\x86\x53\xc4\x50\xac\x70\xab\x8d\xe9\x61\x2e\x25\x19\x21\x30\x71\x27\x71\x29\x5d\xc8\x33\x66\x71\x26\x3c\x73\x2b\x45\x2b\x4d\xea\x91\xcc\x4d\xe1\x53\x80\x3a\x71\x39\x61\x18\x4f\x2e\x12\x21\xfd\x52\x16\xfa\xb3\x50\x54\xf5\xce\xa5\x0f\x51\x16\xdd\x16\xec\x18\x51\x27\xa5\x1a\x9d\x15\x62\xf2\x4a\x97\x6a\x55\x15\xff\xe6\x03\xde\xb2\xe3\x49\xd2\x94\x03\x63\x29\x43\x15\x44\x9d\x34\x51\xd8\x39\x44\x07\x72\x65\x6d\x09\x4c\x32\xd4\xa0\x80\x36\x6e\x2d\x3c\x83\xa6\x6f\x91\xda\x48\xc4\x10\x29\xdd\xea\x3a\xa7\x6d\x71\x37\xba\xa1\x5c\xf1\xea\xa8\xfc\xc8\xdd\xa0\x0c\x2b\x31\x73\xd3\x8b\x80\xd5\xdc\x88\x4c\x0c\x0b\x56\x2a\x38\x7d\x2a\xf5\x35\xea\x88\xa3\x57\xaa\xc6\x56\x07\x0a\x84\x30\x99\x42\xcc\xf6\x2e\x59\xf5\x06\x82\x8a\x93\xf9\xac\xf6\x64\x5c\xaa\xcf\x60\x6e\x08\xbf\x16\x4e\x29\x76\xc9\xf7\xd0\x68\x2f\xcc\x27\x17\xb4\x74\x48\xc2\xf5\x39\xe1\x44\x1a\x59\x1e\x1b\xcd\xc4\x25\xe2\xe8\x2c\x75\x15\x27\x67\x87\xbd\xc3\x17\x2c\xd5\x98\x92\x04\x68\x20\xee\x1d\x78\x4c\x7c\xe9\xb7\xd2\x44\x40\x64\x6d\x94\xf2\x07\x61\x0a\x39\x81\x34\xe6\x3f\xe0\x71\x95\xff\x20\xbb\x5c\xc8\x15\x08\xa0\x31\x95\xd2\xe5\xc0\x91\x17\xf5\x8d\x85\xae\x81\x9d\xe4\xf4\x01\x8c\x58\x77\x90\xd6\x5d\x61\x09\x2b\xce\xcb\x05\x15\xa0\x06\x38\x03\x97\xcc\x1d\xe3\xba\x3c\x33\x51\xe2\x65\x0c\xd3\x19\xd2\xa4\x50\xb0\xe6\xca\x33\xe2\x00\x8e\x8b\xd9\x01\x85\xc8\x27\x52\x11\x1a\x82\x4b\xd5\x01\xde\xe1\x31\x15\xd6\xc7\xdb\x45\x50\x56\xe0\x81\xac\x54\x98\x04\x69\xdf\xc9\x93\xcf\x71\xd9\x7e\x91\xf7\xd8\x79\x1d\x16\xd7\x40\xdd\xd8\x1e\xfb\x28\x78\xda\xb5\x57\xe8\x9d\x67\x5b\x25\x5a\x61\x56\x7f\x32\xef\x52\xa4\x44\x97\xab\xb4\xeb\x2f\x8c\xba\x73\x73\x3d\x00\xa6\x6c\xf8\xa3\x54\x9f\x57\x65\x89\x53\x33\xd4\x83\x7e\xfa\xf8\x63\xdd\x6a\xef\xb7\x70\xad\xa5\xea\xab\xbe\x7a\xfd\xe6\xfc\xe3\x9b\x57\xa7\x97\x6f\x5e\xb3\x1f\xbc\xba\xe0\x8a\x3f\xea\x29\xf3\x79\x39\xae\x7f\x6f\x45\x3f\xec\x1d\x1d\xd8\x33\x02\x49\x60\x55\x86\x26\x0d\x9b\x66\x5c\x29\xbc\xc2\xab\x90\xc7\x87\xbd\xa3\x43\xf7\xd8\x7d\x17\x15\x0f\x02\xe1\x3b\xae\xf8\x48\xa4\x68\xbc\x7e\xa3\x8a\xa5\x16\xde\x66\x63\xdc\x80\x6b\x9d\x7f\x1e\x66\xfa\xba\x2b\xad\x18\x84\x96\xf0\x0b\x62\x79\x01\x3b\x73\x01\x72\x6f\x90\x94\xd0\xf2\x6e\x9f\x6b\xd1\x0b\xef\x3a\xd5\x3b\xca\xf0\xae\x8e\xcb\x6f\x75\x6d\x64\x88\x53\xed\xed\xf4\x4d\x1b\xf7\xdf\xec\x91\x07\x37\x14\x58\x55\xf5\xb4\x9b\xd9\xc3\xc5\xa2\x71\x10\x23\x47\x43\xb7\x12\x89\x95\x26\xf2\x39\x1c\xf6\x1c\x4e\x7d\x75\x7c\x3c\x1a\x49\x74\xad\x25\x3e\xef\x92\x97\x85\x06\xf8\x0a\xa8\x91\xea\x61\xc1\xb7\x10\x4f\x70\x2f\x2e\x57\xc3\x24\xbc\xf5\x0d\xdd\xf5\x99\x4a\xdb\x60\x22\x15\x28\x76\x2e\x25\x37\x20\x28\x93\x83\x85\x96\x2e\x32\xa4\xc3\x92\xe6\xa2\x8a\x52\xe2\xd5\x01\x2f\x6d\x82\x08\x77\xc2\xfa\xde\x2d\xb8\x8d\x91\x7d\xd8\xf4\x3a\xb2\x1b\xda\x15\xbd\x23\x73\x99\xbd\xce\xbb\x32\xc7\x1a\xbc\x4c\x5e\x0a\x05\xff\xa4\xdb\x6b\xb7\x36\xc6\x2b\x61\x1e\x25\x3d\x9e\x36\x64\x37\x2f\x02\xd8\x81\xb3\xba\xca\x74\x81\x27\x3a\x27\x85\x3f\xc2\x3c\xa1\x43\xea\x4e\x36\x83\xee\xc8\x11\x60\xdc\x51\xdd\x06\x36\x67\xba\x1e\x5a\xce\x87\x69\x84\x38\x53\x44\x95\xa4\x7d\x07\x24\xcf\x66\x82\xa7\x78\x3b\x4a\xc3\x5a\x18\xd4\x40\x00\xd6\x11\x5e\xbb\x78\x68\x81\xa4\x66\x71\x16\x7f\x15\x58\x05\x04\xbd\x67\xa7\xd3\x69\x36\x7f\x06\xf4\xf9\xec\x27\xc8\x67\x7e\xb6\x0d\xd0\xc8\x3d\x43\x4a\x79\x10\x29\x39\x11\xa6\xe0\x13\x30\x06\x3b\xac\x26\xbf\x71\xec\x5a\xe4\xe8\x76\xb4\xbc\x87\x44\x3d\x72\x68\x3b\xc3\x8a\xd5\xea\x2a\xbb\x40\x2b\x72\xb7\xd7\x91\x4c\x72\x5d\x83\xe1\x6a\xd0\xac\x6b\x03\x85\x07\x02\x77\x84\xaf\x00\x7c\x68\x62\x5b\x20\x70\x01\x43\x9e\xeb\xab\x6d\x47\x17\x4a\x10\x48\xed\xe6\x76\x8b\x78\x69\x6f\x5e\x8a\x38\x58\x2e\x96\x4c\x25\x34\x02\x4f\x67\xc5\xcc\xc2\xb3\x2c\x80\x5d\xb4\x9b\x5a\x08\xef\xd5\x95\x05\x88\xbc\x42\x60\xbe\xa0\xb6\x48\xfb\xeb\xdc\xa4\xf6\x1a\xe1\xad\xc9\xd7\x77\xea\xc3\x38\x0d\xef\x25\x46\x54\xaa\xe0\xdf\x06\xdb\x31\xaa\xed\x13\x3e\xc5\x10\x90\x94\x51\x25\xf6\xea\x65\x1d\x59\x71\x06\x73\x70\x11\x83\x70\x5f\x68\x9d\xa1\xbb\xb3\xd0\x54\x8b\xc2\x9b\x43\x78\x3e\x90\x45\x6e\x2f\x5d\x9f\x8f\x6c\x79\xc4\xdc\xeb\xc9\xe0\xe3\x03\xfb\x08\x94\x2c\xf1\x98\x17\x20\x6e\x82\x9d\x05\x4e\x17\x48\xeb\x00\xab\xe6\xcd\x28\x35\xf9\xfb\x64\x7f\x3f\xd8\xa1\xad\x04\x9e\xea\xc4\xec\xdb\x7d\xea\x8e\x4a\x99\x8a\xfd\x78\xf9\xd7\x73\x68\x44\x7c\x26\xc9\x4a\x53\x88\x75\x4a\xba\x5c\xd6\x60\xab\xe9\x49\x22\xa6\x08\xdf\x23\xd4\x8f\x0a\x3e\x63\x67\x8d\x4a\x31\xb3\xbb\x94\x66\x1c\x91\x26\x6c\x0a\x94\xf2\x87\x17\x00\xa4\x8a\x83\xbe\xb6\xf7\x57\x90\x01\xe8\xa5\xa6\x82\x31\x45\xea\x39\x2a\xcb\x73\x8c\xde\xc8\xe5\x68\x5c\x30\xa5\xaf\xd1\x8f\xe1\x8b\x7f\x48\xc3\x46\x1a\xee\x23\xcd\xe4\x48\xc1\x52\x83\xed\x8e\x32\xcc\x91\xe8\x01\x17\x06\x78\xb7\x87\x6f\xd9\x9c\x85\x43\x57\x84\xa9\x04\x2c\xf5\x3e\xf9\xf9\xab\xfa\xcb\x51\xe2\x0e\xec\xbd\x11\xae\x44\x0b\x14\x83\xf4\x05\x85\xf6\x9a\x9b\x70\x17\x9e\x79\x8b\x48\x04\x10\x16\xb4\x79\xa9\xd8\x98\x4f\xa7\x42\x99\x2e\x81\x20\x00\x30\x29\xe3\x96\xb9\x1a\x66\xc4\x94\xe7\xb0\xc6\xee\x92\x30\xc1\x7a\xe0\xac\x84\xde\x64\x01\x07\xd8\xbd\x32\x2e\xde\x2f\x15\xfb\xf8\xf6\xd5\xf1\xf1\xf1\xb7\x18\xad\xc0\x11\xda\x44\x2a\xf6\xd3\xe5\x2b\xd0\xcc\xd6\xd1\x75\xdf\x97\x58\x7f\x1f\x6d\xce\x77\xae\xfb\x3a\x5e\xb1\x00\x00\x89\x90\x22\xbe\xdf\x14\x7b\xe7\x7d\x30\xe4\x11\xea\x8e\xaf\x53\xe4\x04\x14\x67\x98\xd0\x08\x7c\x33\x2c\xad\xa0\x8f\x56\x08\xbb\x17\xb4\x51\xb2\x88\xe0\x26\x6a\x88\x1f\x6e\xf5\xa0\xb6\x8f\xdd\x9f\x08\x69\xab\x4e\x67\x99\xd1\x28\x25\xbc\xe3\x24\x89\x0f\x04\x96\xb2\x12\x80\x43\x12\x76\xe0\xb6\x6d\x3d\x8d\xf1\xdc\xe7\xa1\x7b\xdd\xb6\x18\x1f\xdf\xbe\x62\x40\xa6\xc0\x4e\x40\xb5\xb5\x47\x8c\x17\x9e\x73\xc6\xca\x63\x80\x79\x21\x68\xa4\x2a\x9f\xa3\x2b\x2a\x3a\xaf\xb0\x0b\xdc\xef\x6a\x05\x6e\x84\x78\x57\x38\x01\xf6\xd6\xe8\xb8\xa3\x62\xcf\x19\x02\x5d\xe1\x86\x22\x2a\xc6\x60\xce\x38\x19\x96\xaa\x06\x75\xf0\xed\x3b\x94\x41\x3c\xed\x34\x48\xb6\xab\x34\x02\x36\xe7\x6c\x26\x51\xd9\x02\xb2\xa9\x54\xcb\x31\x1d\xc2\xca\x22\xac\x64\xf7\x36\xcb\xe9\xf7\x18\x1f\x16\x04\x46\x08\xab\xe3\x8c\xcb\x04\x58\xa8\x55\x22\x48\xe7\xa9\xa0\xcd\xc0\x98\xd0\x9b\x77\x6a\x60\x08\x56\xf7\x69\x6b\xe8\xbd\xdc\x60\x76\xed\x54\x96\x69\x90\xe9\xe4\xb3\x5d\xeb\x0f\xee\x35\xad\x54\x0d\x11\x9a\x11\xaa\x54\xe4\xd1\x40\x4b\x2d\x56\xa7\xb2\x7f\x39\x34\x30\xa9\xc8\xfe\x86\x35\xaa\x3a\x8c\x67\xc5\x58\x97\xa3\xb1\x3d\x69\x4e\xea\x70\xc7\x82\xd5\xcb\xf6\x51\x03\xb7\xca\xd3\x5c\xa2\xa1\x14\xbd\x0a\x72\x22\x2a\x08\xd6\x1d\xc6\xd1\xf9\x84\x08\x70\xe4\xe7\x01\x89\x90\x4d\x75\x8a\x31\x81\xd8\x93\x54\xec\xf8\xc0\xf1\x0a\xdc\xe5\x1f\xca\x81\xfd\xd1\xe1\x9d\xf1\x04\xe8\xcc\x08\x95\xa2\x3b\xc7\xd3\x97\xe3\x19\x10\x43\x26\x47\x2a\xb8\x48\x9c\x95\x3f\xa0\x8d\x4f\x75\xda\x63\xa7\xb4\xb3\xbc\x88\x5e\x8a\xde\xd9\xca\x4b\xed\xbb\x18\x67\x63\x9e\xa7\x6d\x2f\xd9\xbd\x38\xfb\xfe\x87\xb3\x1f\x7f\xdc\x6b\xbc\x0e\x6f\x78\x78\x4b\x92\x09\xae\xca\x69\x87\xb8\x97\x1b\x44\x60\x62\x00\x63\x79\x46\xa3\x83\xbb\x24\x01\x81\x86\x32\x75\x20\xba\x12\x59\x42\xa7\xc2\x37\xed\x9a\x9a\xc2\x0e\x13\xc0\x69\x3c\xb9\xc6\x1a\x53\x87\x95\xaa\x90\x19\x78\xc0\xd3\x89\x54\x88\x82\xa0\x01\xb6\x9b\x0c\x2c\xb0\x8b\x80\xe8\x06\xd6\xe1\x60\x07\x2e\x6a\x07\xad\xc6\x9f\x53\x8f\x16\x04\x44\xd8\x3c\xec\x24\x93\xd1\x68\xc7\xdc\x10\x65\x0a\x15\x98\xc0\xb2\x4b\x71\x3d\x36\x72\x9f\x66\xe2\xe5\x57\x65\x38\xde\xab\x0c\x15\xb1\xcf\xbf\x05\x8c\x2e\x3a\x15\x9e\x48\x08\xc1\x62\xde\x63\x10\xec\x2d\xbc\xc1\xb2\x62\xe9\x88\xaa\x6c\x4e\xb5\x42\xae\x97\xe8\xc9\x54\x2b\xe1\x1c\xaa\xae\x4c\x9c\x23\x45\xec\xc9\xbf\x07\xf1\xb2\xc8\x0f\xd5\x64\x39\xd5\x3d\x05\x86\xad\xba\x80\x63\x67\xfb\x81\xd2\xae\xb1\x0b\xce\x12\x94\xbb\x6a\xe9\xf2\xee\xb1\xb7\x81\x0d\x06\xa0\x4c\x44\x14\x24\x7d\xc6\xdb\x95\xb9\x9a\xa3\xa0\xd6\x63\xec\x03\x08\x6c\xd2\xb0\xf7\x1f\x2e\x99\x50\x43\x9d\x27\x00\x69\x15\x3c\x62\xaa\x40\x84\x5a\x03\xe7\x13\x52\xab\x55\xc1\x72\x69\x3e\x63\xe0\x47\x99\x7c\x8e\x78\x70\x2f\xe6\xc7\x18\x83\x34\xe6\x56\x1d\xf3\x80\xb4\x73\xc6\x21\xb4\x07\x54\x81\xa9\xa5\x7b\x83\xf1\xc0\x00\xdd\x8c\x02\xa4\x0c\xab\x15\x90\xa1\xdc\x35\x10\xe6\x25\x15\xce\xc3\xfb\xe0\x24\x9e\x36\x67\xf1\xe1\xcc\xc8\xa2\xf4\x40\x85\x41\x7f\x09\xbb\x17\xef\xa9\xdb\x67\x34\xb7\x85\x17\xc7\x2e\x52\x69\xd8\x35\x97\x88\x59\x85\x31\xfc\xc4\xb4\xf0\xe2\xa6\xd8\x6e\xaf\x58\xe2\x99\x83\xe8\x79\x70\xcb\xef\xd9\xd1\xdb\xd5\x4c\xe9\xfa\x5d\x38\x10\x1e\xcf\x9c\x17\xd5\x61\x74\x28\x6a\x14\xbc\x8b\x90\xda\x20\x78\x6a\xef\xb6\x1e\xfb\xab\xb4\xf7\x4e\x11\xf6\x12\x56\xa8\x82\xb1\x85\x21\x44\xc3\x5c\x08\xbb\x48\x24\xb2\x4f\xac\x26\x07\x56\xf6\x89\x11\xd9\x8c\x80\x85\x9d\x8e\x3b\x2b\x33\x25\x72\xb8\xc8\xdd\x23\x60\x34\x03\x17\x56\xc5\x89\x7c\x97\x61\x33\xb7\x14\xb4\x45\x70\xd7\x62\x0d\x55\xf8\xfb\xa8\x29\x31\x06\x5f\x05\x72\x9a\x8b\xa1\xfc\xd2\xf1\x6e\xbf\x20\xaa\x75\xb0\x32\x03\x3e\x6a\x2f\x6b\x4c\x10\x00\x95\xf7\xc3\xfb\x1f\xff\xf5\xff\x67\xef\x6d\x9b\xdb\x46\x92\x74\xd1\xef\xfe\x15\x15\xda\x0f\xb6\x77\x29\xc9\xee\x99\xbd\xe7\xdc\xee\x98\x38\xa1\xb6\xdd\xd3\x3e\x6d\xb7\x75\x2c\xf5\x74\x6c\x5c\x4d\x9c\x2e\x01\x45\xb2\x56\x00\x0a\x8b\x02\x24\x73\x36\xe6\xbf\xdf\xa8\xcc\xaa\x02\x08\x82\x24\x48\x01\x24\x48\xe6\x87\xdd\x71\x8b\x40\xa1\x5e\xb3\x9e\xcc\x27\x5f\xd8\xc7\x9f\xe0\x69\x68\x15\x37\xce\x9c\x20\x77\x29\x6e\xcb\xec\x96\x1e\x16\x9a\x8f\x8d\xca\x68\x0d\xef\xed\xe0\xae\x4a\x4c\xbe\xe8\xb1\xa5\x57\xa7\x73\x97\xe9\x0c\x5e\x2b\xdd\x28\x3c\xc6\xb1\x11\x2b\x1a\xe0\x5e\xa0\xe2\x7b\x60\xf1\xad\x11\xc5\x0e\x40\x17\xe3\xb1\xfc\x86\x30\xc2\xa7\xe1\xc5\xd7\xa7\x16\x8d\x81\x6e\x0f\x96\x53\x9b\xc0\xbc\x88\x84\x76\x50\xad\x1c\xef\xa8\xea\xc0\x92\x67\x45\x12\x54\x6f\xaa\x48\x24\x93\xb2\x2a\x11\x7e\xd5\x39\x37\xc2\x50\x63\x6e\x39\x13\xfc\xb8\xed\x9e\x25\xa0\x2d\x03\x6a\xee\xc0\x85\xe9\x2b\xd3\x7e\x7a\xe6\xc9\x2e\x13\x1a\x22\xf0\xd2\xb7\xa0\xc5\xe1\x6e\x33\x33\x46\x3c\xba\x3a\x21\x90\xbc\xef\x1c\x92\x93\x0b\x1e\x8e\xbc\x2e\x65\xdd\x09\xec\x63\xdf\xbd\x79\xcb\xde\x59\x2e\x57\x65\xec\xdf\xdf\xbc\xc1\xd9\xfc\x8a\xc9\xc1\x91\xca\x37\x77\x80\x39\xad\x95\x04\xe2\xf3\xdb\x25\xa8\x66\xb6\x1d\xab\x22\xf1\x66\x7e\xd4\x2d\xa2\x48\xe5\xb9\xf3\x2d\xaa\xa6\xdf\x44\x33\x54\x26\xcc\x3d\xf4\xca\xed\xd9\x68\xb6\x08\xbf\xd1\x1d\xc9\x37\xfb\xd5\xbc\x71\x8e\x50\x0e\x8b\x91\xbc\x86\xa9\xbc\x02\x5e\x2b\xf4\x35\x55\xdd\x89\xa8\x65\x42\xed\x19\x2b\xc8\x50\xc4\xa9\xda\x92\x3a\x9e\xb4\x4d\xc4\x7f\xc5\xd0\x47\x26\xf0\x3e\x2a\xf5\x10\x2d\x5f\x05\xb2\xcc\x7b\xaf\xdc\xed\xae\x61\x97\x42\x1e\xfb\x56\xdc\x72\xd7\x8a\x71\xb4\x7b\x1f\xf3\xcf\xe8\x52\x6e\xbd\x40\x1f\xc4\x4c\x57\xfc\x85\x17\x7d\x24\xe0\x0a\x99\xf0\x44\xfe\x03\xd5\x64\x57\xc3\xfe\x1f\x82\xbd\xd2\x81\x4a\xad\x25\x15\x5c\x86\x5e\x57\xcc\xa5\xdc\x16\x1a\x2a\xbd\x89\xd0\x79\x28\x8d\x6c\xce\x28\x66\xdd\x0c\x22\x97\x2a\x12\xca\x28\x05\x0d\xd9\xb0\xd7\xda\x5a\xed\x2c\x6e\x6c\x66\x8d\xab\x04\x53\x2b\x6e\xcd\x3e\x8b\xf1\x62\x15\xa2\x7c\xbe\x94\xa4\xf3\xee\xa8\x46\x35\xfa\x7a\x37\xf6\xa3\xb8\xc7\x0c\x1c\xb5\xad\x94\x66\xd9\x58\x69\xa3\xfc\x8f\x21\x29\xbd\x05\x27\x53\x55\x68\xf1\x20\x44\x2a\x93\x09\x0a\x10\xe4\x04\xf2\x59\x6a\xf9\x61\x94\x22\xc9\xcb\x9c\x25\xd6\xf2\x67\xb5\x5f\x28\x12\xa2\xf3\x79\x9f\xa6\x0b\x76\x55\xd2\x81\x76\xbd\x9d\x2d\xe2\x25\xd6\x41\x1d\xa1\xbf\xa0\x5d\x23\xff\x47\x0b\xbc\xca\x00\x44\x7f\xc0\x78\x9a\x46\x33\x2c\x52\x07\x44\xf9\xdd\x59\x20\xcf\x83\xd0\xb9\xfb\xd7\xa2\x3c\xb5\xa3\xa8\xac\x30\x2b\x0b\x71\x5a\x07\x02\xdf\x3d\xd8\x87\x35\xbb\x7c\x89\xc1\x7b\x8f\x30\x69\x70\xaa\xd8\xd8\x75\xb8\xb2\xe9\x5a\xd4\xe5\x07\x79\xed\x7c\x8c\xec\x0d\x63\xee\x23\x80\x8f\xde\x06\x7f\xc1\x3e\xea\xf2\xa6\x85\xf9\x41\xe3\x76\xa5\x22\xb2\xae\x18\x37\xb4\x8a\xab\x65\x2d\xcd\x85\x8e\xf9\x52\x9d\x65\x09\x3d\x4b\x9d\x89\x42\xd4\x04\xa6\x51\xa0\x2b\xe5\xc6\x90\x13\xa8\x7a\x28\x5c\xf8\x7b\x26\xcd\x64\xcc\x33\x69\x2e\x1f\xe7\xd0\x66\x36\xb3\x33\xbd\xb3\xf2\x66\xb0\x32\x65\xce\xc7\xb4\x5c\xa0\xc6\x24\xd4\x9b\x0a\x87\x52\x39\xd4\xff\x02\x73\xb7\xf9\x65\xe4\xa7\xbc\xc5\xba\x21\x3d\x52\x75\x49\xc1\xbf\xd8\xf5\x43\xbd\x06\x8a\xc0\x25\x8b\xab\x5c\x89\x15\xab\x50\x2d\xf5\xe8\x1d\x74\x1c\xb0\x39\x74\xef\xce\xca\x47\x31\xaf\x6f\xf5\x27\x4b\xb7\x07\x3c\x51\x09\x38\xce\xce\x57\x3c\xb8\x60\xbf\xaa\x7c\x8e\x69\xe4\x99\x98\x43\x6f\xf7\x82\x81\x94\xb7\x3a\x5a\xd9\xab\xf3\x0a\xa6\x53\x73\xd0\x0d\x55\x33\xa5\xbd\x0f\xb2\x87\xb8\x68\x14\x34\x08\xc5\x19\x00\x38\x7b\xff\xeb\xcd\xff\xfd\x74\xf5\xe3\x87\x4f\x9d\x2c\xb6\xef\xdf\x36\x39\xc3\x9f\x12\x91\x7d\x15\x00\xc2\xd7\x97\x90\xfd\x64\xe3\xe2\xdc\x18\x6d\xfe\x5f\x2b\xd7\x2b\x1e\x6b\x1f\xc7\xec\xea\xd3\x27\xff\x5c\x55\x41\x05\xd7\x42\xd0\x22\xac\xb5\x63\xde\xbc\xe5\xa6\xad\x96\xcb\xb8\xaa\x6b\x94\x66\x88\xca\xb5\x52\x15\xdb\x56\xdd\xe6\x89\x33\x98\x54\x8d\x13\xf0\x01\xeb\x6a\xae\x4a\xcf\x6b\xf7\x26\x40\x60\x67\xd4\xc3\x3f\x56\x5c\x96\xc0\xad\xa9\x10\xce\xcd\xa7\x74\x5b\x2a\x9d\xc2\x55\x22\x4a\x57\x93\xb2\x91\xde\x25\xf6\x97\xb9\x95\xec\x4a\x63\x9d\x8b\x4b\x2a\x64\xd8\x95\x8a\xbb\x99\x23\xec\x55\xe2\x5c\x4d\xf1\xec\xd9\x00\xb0\xb9\xd2\x53\xbb\x70\x84\xfd\x5c\x09\x68\x80\x92\x6e\x69\x2e\x63\xa9\x73\x2c\x88\xe4\x7c\x49\x47\xf6\x05\x68\x13\x7c\x92\x4b\xed\xe7\x09\xe0\x61\xe9\x01\xa4\x92\xaa\x0b\x80\xca\x1a\x62\x70\x3d\x21\x59\x40\x65\x26\x81\x48\x41\x97\x11\x45\x73\x31\x17\xed\x9c\x6f\x6f\xb1\x26\x66\xc9\x88\xa1\x2f\x11\xda\x75\xc0\xf2\x1c\x14\x11\xcf\x56\xf7\xac\x2d\xb3\xb9\xa1\xfb\xf0\x51\xbb\xfd\xde\x9c\xa8\xdb\x6f\x65\xa6\x8c\x14\x59\x3d\x49\xbf\x7d\x7c\xef\x2e\x71\x0b\x04\x8d\x04\x97\xd6\x1f\x03\xaf\x62\x14\x04\x35\x52\xd9\xb1\xf3\xa5\x82\x50\x5a\x4f\xe6\xb9\x4a\x95\x30\x5d\x04\x81\xd0\x7a\x5c\x44\x25\x48\x03\x6c\xef\x37\x7d\x85\x9d\x74\x2c\x76\xae\xdc\xe1\x56\x09\xbb\xfe\xed\xb6\xea\x3a\xd0\xf6\x3c\x3c\x07\xcc\x15\xb2\x75\x65\x90\xee\x5d\xdb\x6a\x57\xcc\x0a\xa7\xb0\xb9\x07\x4b\xc6\x53\x24\xc8\x38\x26\x68\x44\xb0\x7a\x63\x24\x72\x08\x58\xb2\xe3\x9c\x81\x11\xf3\x29\x29\x3d\x91\x00\x21\xce\xfd\xc5\x4b\x13\x8b\x2c\xbc\xc7\x0e\x6e\x0e\x6b\xce\xf3\xe5\x09\x46\x96\x10\xb5\x3e\x3b\xe7\x88\xee\x46\x4c\x2b\x1b\x17\x03\xab\x5c\x69\x00\xd5\xc5\x6e\x3d\xb7\x17\xbd\xc7\xd1\xf4\xb9\xc5\x11\x02\x9a\x18\x26\xd9\xf1\xfc\x6b\x3e\x6f\xab\xad\x8c\xd8\xd5\xaf\xef\x5d\xac\x1b\x40\x3f\x6f\x17\xbd\x3b\x2b\x4b\x37\xb8\x46\xab\x85\x58\x2a\x61\x51\xf8\x62\x89\x7d\x16\x58\xab\x07\x31\x3b\xb7\xc5\xf9\xc0\x5d\x0d\xc9\x48\xeb\x5d\xe0\x36\x05\xfc\x87\xe5\x86\xaa\xf5\x8c\xa0\x20\xcc\x05\xbb\x55\xb5\x60\x21\x4f\x2a\x1b\x4d\x5f\x03\xe0\x37\x9f\xbd\x3b\xab\x72\x34\xaa\x32\xb4\x11\x32\x1a\x4f\x52\x0b\xf6\xe7\xef\xbe\x63\xaf\x7e\x4b\x2c\x33\x03\x34\xc1\x87\x24\x97\xf9\xec\x75\x43\x51\x93\xc6\xe5\x58\x59\xf5\xa5\x84\x79\x6d\xd7\xa1\x36\x19\x80\x47\x7d\x4d\xb5\xf5\xf0\xb1\x55\xaf\xda\x96\x61\xaa\xef\xc7\x41\x17\x39\x6a\x6b\x49\x58\x37\xa8\x5d\xa8\xd0\xed\x6e\xba\x4e\x7b\xfa\x9c\xfb\xa1\x39\xb2\xbb\x22\xe2\xea\x7b\xab\xbe\x2c\xb5\xa1\xdb\xff\xea\x30\xf6\xfb\x1a\x52\x85\x2f\xbf\x77\xe0\x77\x4b\xc1\x22\xf9\x93\x2b\x36\x91\x8f\x02\xd5\xc3\x20\x13\x79\xc5\xb1\x13\xfc\xf1\xed\x91\xab\x20\xa7\xeb\xab\xdb\x77\x3f\x7b\x9b\xd0\xbd\x0a\xab\xc9\x99\x9e\x3f\x84\x25\x05\xa2\x16\x86\x52\x7d\xce\x5f\x77\x8b\x45\x9d\x92\x8a\x32\xf1\x0a\x4d\x08\xd6\xa5\x48\x8c\x98\xc8\x83\x8b\xd7\xf5\x6a\x4f\xeb\x6f\xb5\x0d\xa3\x14\xe7\xd2\x37\xe5\x3c\x9b\x88\xdc\x17\xb0\x5e\xdc\x3a\x9d\x9d\x9d\xc6\xef\xfe\xf6\xf1\xfd\xfe\x22\xd1\x96\x57\x9e\x5f\xbe\xce\x4b\xdf\x61\x53\x11\xa5\xba\x4a\x99\xcd\x69\xa9\x15\x2c\xcb\xf1\x65\x6f\x44\x76\x66\x71\x73\x5d\x8e\x2c\x08\x02\xe8\x94\x54\x5a\x83\x4f\x94\x6f\xc4\xf3\x19\x25\x96\x67\x25\x68\x1a\x53\xd3\xb8\x6e\xa7\x82\xc1\x37\xc0\xa0\x82\x16\x40\xa7\xe5\x19\x2d\x1c\x79\x12\xcc\x4f\xf7\xf1\x1a\x2e\x7e\x39\x29\x32\xc1\x5c\xdd\xeb\x16\x83\xdb\xa6\x82\x6f\x75\xba\xd7\x61\x36\xfb\x69\x67\x48\x70\xdc\xb9\x2e\x24\x3a\x28\xa2\xba\xec\x56\x07\xdd\xf7\x31\x65\x95\x19\x00\xbf\x57\x8f\x38\x07\x96\xe5\xb0\xc6\x07\xce\xa6\x4a\xe7\xc8\x2b\xb8\x7f\x7d\x9f\xaa\x2c\x1f\x99\x89\x50\x66\x3a\xe0\x3f\x3b\xce\x4f\x56\x59\xb9\xa5\xf3\xd1\xbd\xc4\xbe\xa9\x57\x4c\x5e\x8c\x71\x86\x7c\x1a\xa0\x0e\x5b\x62\xba\x54\xed\x8c\x0e\x67\x97\x3e\x54\xc9\xcb\xdc\x3d\x81\x19\x24\xda\x27\x05\xa3\x5a\xba\xfb\xab\xa5\x1b\xa8\x70\x1d\x60\xbb\x29\x26\x13\x74\x0e\xfe\xf9\xf6\xf6\xda\x2d\xb2\x79\xb1\x54\xf0\x31\xef\xca\x88\xbd\xf1\xd5\x4d\xc5\xca\xf0\xfc\x3f\x7d\xb7\x95\xcb\x36\x54\xdf\xef\xd0\x51\x1b\xb7\xf7\x7b\xdb\xee\x2a\x8a\xfa\xc3\x37\xcb\x1a\x61\x76\x15\xad\x55\x20\xc1\x90\xe0\x2d\xd2\x58\x01\xfb\x82\xa1\x2f\xa0\xad\xe1\x5e\x29\xbc\x2e\x73\x6d\x34\x1f\x4c\x2c\x09\x2d\xe1\x67\xeb\x9e\xdb\xde\x41\xc8\x99\x7c\xe0\x8b\xde\x53\xa7\x31\xa0\x22\x50\xa0\xb3\x63\x1e\xb5\x99\x3b\x06\xe2\x5b\x20\xd2\xdc\xd5\x05\xc4\x2c\x9f\xd6\xee\x61\xbb\xb7\x22\xbc\x93\xaa\xc4\xee\x45\x81\x72\x55\xd3\xd7\x79\x98\x4c\x8b\x98\x27\xe7\x99\xe0\x21\xdc\x75\x95\xdf\xbd\xdf\x53\xa5\xd0\x3d\x6c\x2b\x8b\x43\xb7\xb8\x96\xbd\x8b\x6d\x77\x27\xcf\xe7\x89\x5a\x75\xe8\x6e\x72\x9e\x84\x3c\x0b\x6d\x62\x20\x1f\x3f\xb7\xc3\x05\x5c\x42\x8f\x40\xb1\xfb\x75\x6b\x64\x87\xbf\x74\x95\x9e\xa6\xb3\xda\xda\xd8\xc0\x24\x1b\x86\xcd\x65\x54\x64\x02\x92\xd7\x9a\xa5\x6c\x28\x56\x8d\xbc\x6c\xd5\x48\x56\x35\xde\x55\x72\x40\x5d\x39\xbf\xb1\x20\xe2\x19\xc2\x72\x9e\xa0\x3c\xb7\xfb\x04\xe4\xf9\x7d\x61\xae\x72\x81\x22\x46\x3d\x8a\x2c\x93\xa1\x91\x5c\xdb\x40\xb9\x3a\xb4\x58\xb2\xc0\x7e\x8f\x56\xe2\xbc\x2e\xd8\x17\x48\xcf\xf5\x3d\xbb\x3b\xbb\x41\x3b\xf0\xdd\x99\xc1\x5e\x95\x49\xe9\x7d\x17\xe8\x54\x04\x40\x3c\xd8\x91\x74\xa3\xb6\xf8\xbf\xf7\x55\x2f\xf5\xa6\xa1\xb7\xcb\x92\xc9\x3b\x40\xb9\x2d\x70\x7c\xc7\x0b\xbd\xca\xd0\x5c\x79\xca\xe9\xfc\x36\x47\xd9\xdc\x36\xbd\x37\x4a\x05\xf8\x72\x48\xdb\x30\x1b\xe3\x32\x57\x93\xbd\x05\x5c\x0b\x6d\x7d\x6e\x8a\x28\x97\x69\x24\x30\x47\x16\x7a\x08\x88\x24\x50\x85\x81\x66\xa2\x8d\x65\x18\x6e\xdb\x16\x3a\x92\x4d\xa4\xde\x94\x50\x04\xf2\x8e\x71\x74\x48\x33\x87\x12\xfa\x32\x62\x1c\x9d\x92\xe0\xa6\x35\x57\x13\xa4\x5d\xa8\xe5\x61\xfa\x0c\x57\x1c\x04\x55\xb3\x50\x61\x8a\x8a\x54\xe9\x7c\x2c\xbf\x31\x17\xa2\x0b\xd8\x2a\x41\xdc\xc5\x73\xdc\xc0\x06\x4a\x5e\x65\x19\x9f\xe1\x90\xff\x21\x32\x75\x0e\x59\xcc\xcd\x1d\xc7\xbc\x1f\xd8\x8c\xf1\x34\x15\x3c\x9b\xa3\xbd\x31\x40\xb6\x9a\x74\x11\x3a\xaf\x59\x58\x08\xd4\xef\xe0\xed\x29\x7f\x34\x93\x5d\x9b\xe1\x0b\xf6\xc5\xa2\x12\x4c\x6d\x8f\x81\x44\xfa\xfb\xbb\x84\xb1\x3b\xb0\x2e\xdd\x9d\x59\xf7\x0b\x9c\x31\xff\x47\xa7\xd5\x62\xba\x0d\x3f\x85\xf8\x22\xd0\xec\xff\xdf\x9b\xbf\x5f\xb4\x68\x01\xbd\xea\xb1\xf3\xde\x6f\xc0\x36\xb1\x4d\x7e\x8e\xee\x2e\x5a\x8c\x75\xb0\xff\x01\xf3\x75\xc1\xaa\x98\xce\xc7\x53\xb8\x88\x54\xae\xcf\x31\x3b\xb6\x81\x75\x3c\x5c\x6a\x3e\x5e\x9d\xdd\xad\x93\x2b\x68\x59\xff\xb7\xbe\x69\xf6\x67\xdd\x99\x83\xf2\xeb\x64\x92\x7d\xce\xa5\xb9\xc5\x44\x85\xde\xc5\x95\x95\x62\x03\xcf\xfa\xe7\xab\xff\xa8\xc4\xfd\x57\x83\xa0\x95\x13\x6c\xd5\xd7\x1b\xa4\x5b\x25\xf1\xdd\x2d\xb8\x49\xc3\x6d\xec\xc5\x0b\x67\x37\xd5\xcc\x95\x5e\xbd\x7d\x02\x17\x4d\x7f\xfc\x3d\x1d\x02\x31\xb3\x73\xae\x07\x36\x46\xbd\xea\xda\x69\xb3\xba\x79\x5b\x8e\x57\x02\x5c\xaa\x13\xf0\xf9\xf2\xad\x8f\xaa\x09\x08\xb8\xd6\x45\x6c\x25\x1d\x04\xdd\xb8\xa7\xdc\x76\x86\x0d\x61\xe4\x33\xf8\x26\x8c\xbc\x57\xa7\xfb\x48\x1b\x6b\x15\x08\xa0\x36\x96\x2a\x94\x54\x36\x05\xab\xcb\x46\x81\xc9\x2e\xed\x42\x36\x69\x64\x38\xa5\x6e\xaa\xf1\x46\x29\xdd\xcb\xaa\xbf\xa2\xd4\x74\x2b\x89\x6d\x8a\xd0\x4a\xc8\xde\x7d\x83\xaa\x97\x69\xa5\xd1\x8d\xdd\x38\x1d\x32\x58\x37\x9d\xb6\xc0\x80\x5f\xd1\xfa\xf5\xd6\x34\x97\x16\x25\x56\x27\x6d\x0b\xa9\xd5\x42\xa9\x34\x1d\x34\x8f\x75\xd0\x3f\xf6\x25\x41\x0f\xd3\xd2\x0b\x00\x15\x72\x08\x6b\xa9\x86\xf1\xb9\xe8\x67\xff\x09\xa3\xda\x0e\x5b\x51\x6c\xc1\xb4\xf9\x44\x1c\xcf\x9e\x4a\xf6\xea\xa9\xcc\x52\x89\x32\x13\x33\xbd\x43\xf3\xd6\x7c\x8c\xf6\x53\x9f\x4f\xea\xf5\x56\xb7\x5a\x9e\xcd\x20\x78\xa4\x5d\x3e\x83\x8f\xe3\x32\x78\x64\x54\x8d\x4a\xf1\xf9\x0d\xaa\x81\x9c\x5e\xcb\x2a\x93\xac\x60\x9a\x96\xf0\x82\xdd\x98\x7d\x62\xe1\x24\x5a\x20\x30\xb0\xa5\x6a\x6d\x40\x17\x2f\xfe\x00\xbc\x0e\x8f\xc0\x0c\x98\x0b\xc6\xc1\x89\x8c\x9d\x57\xbc\x4c\x6d\x43\xf9\x3c\x08\xf0\x6d\x4e\xd5\x13\xc6\xa0\xe7\x0a\xc2\x01\x7d\x2f\xf9\x83\xb3\x99\xd4\x9b\xef\xdc\x98\xb6\x21\xfb\x89\xfb\xe5\x62\xe9\x46\x28\xf3\x12\x2c\xd9\x0c\x87\xeb\x57\xb3\x26\x5b\x94\x4b\x14\xc5\xd9\x53\x66\x70\x77\xc6\x38\xb8\x69\x60\xe0\x3d\xe6\x8c\x82\x39\xd1\x45\x9a\xaa\x2c\x37\xaa\x76\x96\x61\xac\x78\xa6\xa7\x50\x40\xda\x6c\x84\xff\xb8\xfa\xfc\x09\x6e\x60\xa3\x31\x5c\x30\xf6\x3b\xb6\x86\x50\xdf\x33\xa6\x63\xa8\xbc\x91\xcc\xdc\xca\x8c\x21\x1a\x16\x92\x0b\x4d\x55\x58\xc9\x0a\x0d\x07\x21\xe5\xc1\x03\x9f\x98\x63\x3f\x16\x99\xde\x59\x6a\xaa\xdf\xa1\x7a\xc3\xe3\xea\xf2\x03\xf0\xfb\x7c\x46\x7b\xbb\x97\xa0\x30\x2d\xe2\x63\x70\xc8\xac\x08\xe6\x16\xa8\xc2\xae\xf3\xb3\x4c\x55\x59\x91\xc0\xea\x7d\xe5\x4f\x1f\x5c\xa9\xda\x95\x96\xaa\x2f\xce\xe9\xd9\xa8\x44\xff\x6a\xe0\xb3\x4b\x58\x78\x15\x86\x18\xc1\xf7\xd9\x7a\x7c\x7e\x8f\xb1\x2a\xe2\x09\x63\xbc\xe6\xa3\xb7\x2f\xea\xaf\x63\xb9\x34\xfb\x52\xc3\x0b\x4c\xc6\xb1\x08\x8d\x04\x8f\x7c\xd4\xba\x8b\x10\x5f\x68\xec\x83\x11\x4b\xdf\xb3\x7f\x2d\x59\x9d\x4c\x98\x5b\x0c\xec\xd1\x3f\x58\xde\x06\x6e\x25\x90\x57\x10\x26\xa9\x45\xa2\x41\x5d\x9b\xa7\x2a\xcd\x95\x27\xbe\xe5\x4b\x8c\xc7\x79\x43\x5a\xc7\xe7\x32\x64\xf0\xfe\x68\x61\x9d\xd7\x91\x62\xbd\x1b\x5c\x2a\x9b\xbd\x95\xd1\x65\xb4\xe6\x2b\x3c\xb4\xee\x52\x2b\xcb\xe8\x0d\xf8\xab\x1b\x17\xd2\x77\x9f\xb6\xe9\x14\xd6\x17\xcb\xec\x6d\xf0\xdd\xf6\x60\xe3\x89\x48\x65\x59\x18\x7b\xb7\x13\xd0\xed\x97\xb7\x18\xf8\xfe\xd6\xbe\xeb\x6f\x6f\x3e\xf8\x74\x49\x15\xf4\xee\x87\xfa\xac\x2f\xed\x78\x60\xe6\x73\xdf\x6d\xf2\xb9\x22\x9f\x62\x2d\x86\xdd\xef\xa1\x8e\x3f\xbd\xf1\x4c\xb7\x2e\x33\xdc\xc7\xc8\x3b\xfc\xf2\x16\x03\x57\x3a\x00\x08\xbd\xb3\xf1\x3e\xff\x83\xdf\xed\x65\x98\xdf\x6d\x7a\xa0\xee\xc1\x9d\x73\x27\xd3\xfa\xdc\x4f\x6d\x3a\xa1\x81\x51\x1c\xc6\x58\x48\x67\xa7\xe7\xa5\xdb\x0f\x6f\x3c\x6c\xa5\xb2\xd0\xa6\x4b\xdb\xed\xb0\x3b\xfd\xf0\xa6\xc3\x0e\x5d\x6d\xd9\x9d\x8e\xb9\xc3\xaf\x6e\x3a\x60\x50\xa0\x77\xbb\xb1\xbb\xfa\xe4\xc6\x43\xf5\xb0\x75\x87\x1f\x1d\x47\xea\xc9\x06\x7f\x5c\xf8\x8c\xc1\xcf\x1f\xfb\xc6\xf5\xd6\x7b\xea\xc7\xa6\xd3\x21\x63\x3e\x11\xa9\x8a\x64\xd0\xc1\x5e\xdf\x78\x12\x9c\x3f\xe6\x5e\x57\xc2\xa6\x85\x94\xc9\x64\xa7\xa7\xae\xcb\xcf\x6e\xba\xea\x89\x0a\x57\x57\xfa\xef\x7c\xb0\x9d\x7c\x70\xf3\xa5\xed\xe4\xb3\x9b\xce\x2e\x1e\xa7\xdd\x4c\xec\xb3\xbf\xb5\xe9\xe0\xb2\x7b\x1e\x5c\xec\x4f\x69\xe9\xe3\xf3\x1b\x6f\xab\x3e\x3a\xb1\xe9\x3a\xe8\x60\x2a\xc2\x22\xda\xb5\xd4\xea\xf2\xb3\x1b\xcf\x7b\x97\x1f\xdf\x78\xbe\x73\x95\xf1\xc9\x6e\xa5\x66\x67\xdf\xdc\x7c\xa6\xbb\xfa\x72\x7d\x9a\xed\xbf\xda\xb9\x2d\x36\x52\x39\xcb\x59\xa9\xea\x63\xd5\x7a\x14\x53\x15\x85\xac\x04\x9b\x4c\x26\x65\x96\x56\xdb\x59\x4c\x31\x70\xab\x98\x2b\xf7\x38\x42\x06\xc5\x15\xd5\x42\x16\x70\xca\x35\x9b\xfb\x08\xd7\xe0\x27\x08\x3e\x39\x32\x61\x33\x55\x64\xbe\xe9\x51\x35\xb6\x05\x0a\x96\xa0\x93\x8e\xa3\x9b\xec\xe3\x3e\x24\x05\x9f\xb9\x60\xff\xa1\x0a\x4c\xc6\xe9\xf2\xae\xa1\x89\x53\x64\xf8\xbc\xab\x96\x9b\x46\xc5\x44\x62\x14\x00\x76\xfe\xf2\x92\x7d\x74\x6d\x59\xee\xf0\x7b\xec\xd9\xe7\xd9\xd5\xf5\x47\xfb\x59\xfc\x0a\xfb\xef\xbb\xe4\x2e\x77\xd3\x7b\x3b\x4b\x05\x94\x99\xf9\xe3\x3f\xb5\x4a\xbe\xbf\x3b\x1b\xc9\x24\x92\x89\xb8\x3b\xfb\xc3\x3c\xf6\x79\x76\x8d\xdf\x72\xcf\xdb\xa6\xdc\xd3\xb1\xfd\x1d\x1e\xff\x27\x7e\x12\xff\x72\x35\xf7\xb9\x2b\xf4\x43\x74\x01\x07\xee\x75\x8e\x7f\xc6\xb7\xed\x40\x3e\x7c\xdb\xc9\x40\xe6\xd6\xb2\xc7\xe1\x7c\x41\x37\xc8\x27\x99\x09\xf4\x74\x00\xc7\x52\xf0\x07\x8b\x94\x7a\x00\x47\x97\x7c\x8a\x55\x91\x1f\x70\xff\x7d\x8f\x1f\xb9\x83\xd3\x76\x77\xf6\xfd\xdd\x59\x65\xf0\x77\x67\x23\xfc\xb1\x8c\xbe\x82\x47\x1e\xdf\xfa\x5f\xca\x51\xb8\x96\xaa\x6d\xd9\xf1\xb8\xa7\xf3\x4a\xb7\xbf\xbf\x3b\x1b\x2b\x65\x7f\xf9\xe7\xc8\x0e\xe2\x46\xa1\x3b\x9b\xad\xf9\xf1\xbf\xd8\x7b\x81\x41\x44\xe0\xd9\x09\x1e\x5e\x66\xfc\x4c\x65\x6c\xc6\x63\xc8\x16\x5f\x24\x96\x23\x77\x3e\x77\xe0\x45\xeb\xa2\x70\x20\x69\xfe\xdc\x79\xa9\xae\xee\x05\xbb\xc5\x9c\x42\xd0\x32\x78\x31\xf0\x27\x9c\x35\x9b\x44\x0c\x0a\xfd\x60\x82\xb2\x44\xe5\xac\x48\xcc\x4e\x71\x35\xbc\xb0\x84\x71\x2e\x20\xa3\x3f\x84\xd8\xa4\x33\xf6\x0a\x0b\x02\xa7\x0f\x93\x4b\x8c\x17\x33\xd3\xf6\xba\xcc\xde\xbf\x70\x10\xa1\x2e\x02\xee\x14\xb7\x0f\x5f\x6a\x97\x50\xe1\x26\x98\x8a\x18\x73\xdf\x96\xad\xb1\x71\x91\x04\xb9\x95\x31\x3a\xe7\x10\x4e\x8c\xa2\x03\x16\x1b\x7b\x59\xee\x00\x5b\xae\x48\x26\x73\x52\x65\xc4\xf2\x22\xb3\xd5\x63\xcb\xee\x39\xc7\x03\x97\x73\x69\x96\x3a\xa7\xbf\x5c\x65\xfe\x61\x78\xd4\xcd\xe1\xab\xdb\x2f\xef\xbf\x7c\xef\x32\xe1\x07\x5c\x43\x06\xa6\x85\xd4\xe8\x18\x5a\xe7\x8a\xee\xda\x86\xfd\x19\xf9\xcd\xfe\xbd\x96\x44\x2c\x70\xb9\x86\x6c\x0f\x44\x78\xf1\x7a\xd1\x0b\x61\x13\xbf\x8d\x22\x97\xd1\x85\x4c\x72\x9d\x67\x17\x1f\x93\xfc\x4b\x86\x35\x5a\x57\xc8\xfb\xca\x53\xb6\xf0\x0d\x84\x9d\xbb\x6c\x54\x20\xf6\x79\xc2\xc0\xcb\x86\x61\xc6\x6e\x78\xf8\x82\xb1\xdf\xb1\x42\x34\x4e\x3e\xac\x85\xca\xd0\x8b\xc3\x6e\x5a\xf0\xec\x80\xbc\x98\x49\xe5\x2f\x90\xf0\x37\x75\x49\xd1\x15\x94\xb3\xd6\x45\x2c\x5c\x9e\xac\xc4\x72\xf0\xce\x89\x18\x72\xdb\x60\xcd\x68\x73\x0f\x41\x5d\xae\xf1\x7c\x35\x07\xf8\x38\x5e\x32\xbe\xe7\x3c\x80\xe0\x2f\x6e\xb3\x62\x66\x36\x15\x6d\xa3\x0f\x88\x4c\xf2\x73\x95\x9d\x5b\x66\x7e\x61\x05\x36\xf1\x03\x71\x95\x16\x3f\x26\x63\xb5\x72\xda\xc7\xaa\x4c\x3c\x63\x5f\xc2\x74\xe4\xde\x75\xf6\x02\xfc\xa4\x9e\xc4\xcb\x28\x62\x4f\xdc\x46\x58\x4b\xed\x5c\xd9\xb0\xee\x6e\xe5\xf1\xf5\xae\x21\xf7\x85\x8c\xc2\xf7\x3c\x6f\xef\x9b\x50\x82\x92\xb3\x40\xc5\xa9\x6c\xc8\x21\xd2\x2a\x75\xb0\xcc\xdf\xa9\x38\x96\x0b\x6e\x29\x2d\x5f\xbe\xcd\x84\xb8\xc9\xb7\xec\xf8\x44\xe6\x4b\xc2\x6b\x5b\xbd\xad\x9e\xf1\x72\xcc\xff\x53\x6d\x35\x61\xb1\x4c\xb6\x7b\x31\x8d\x78\x6e\xb6\x44\xd7\xde\x27\x38\x92\x85\x1e\x36\x4f\x73\xe3\xca\x2f\x5b\xd1\x51\xd3\xfe\x6c\x5c\x80\xa6\xcd\xd8\x34\x74\x87\x8f\x37\x11\xa5\x0f\xc5\xbd\x38\xe7\x93\x49\x26\x26\x3c\x57\x59\xe9\xd3\x55\xe7\xc7\x1f\xdf\x5e\x5c\x5d\x7f\xbc\xc1\xc4\xc8\x2b\x4e\x78\xf9\x50\xcd\xc7\x0b\x1d\xe7\x17\x72\xd9\xfd\xd5\xa8\x0d\x7f\x73\x75\x5a\xe7\xd2\xcd\xde\x39\x75\xe0\x02\x74\x8b\xbb\x33\x8a\x29\x1f\x74\x4c\x39\x85\x0e\xef\x29\x74\xb8\xf3\x28\xdd\x4a\x8d\xd1\xc6\x4f\xea\x54\x04\x1b\x7d\x6e\x3b\x31\x73\x63\x3e\x33\x5a\xb1\x9d\xcc\x03\x95\xca\x5d\x95\xf0\x1b\x28\xd9\xa7\x5c\x6d\x04\x48\xec\x0c\x6b\x64\xff\x62\x0b\x54\xa0\x50\xda\x24\x90\xb5\x8f\x51\x36\x44\x6e\x36\xc7\xcb\xfa\x91\x86\x22\x93\x98\xf6\xb1\x21\x9c\xf2\xea\xfa\xe3\xe2\xc0\x16\xae\xbb\xfe\xdc\x25\x37\xf1\xac\xaa\x5c\x29\xad\xac\x5e\xab\x4c\x40\xdb\xcd\xfe\x3b\x97\xce\xa9\xd5\x9d\xe6\x9f\xf6\x2e\xee\x7a\xde\x43\x17\xe7\xdf\xdd\x80\x58\x5b\xad\xbc\xec\x40\x1a\xad\xbf\xc4\x22\xae\xf3\xdb\x8c\x27\x1a\x3e\x75\xbb\xe3\x4a\xcf\x9f\xb8\xce\xd1\x8d\xdc\x26\x5c\xb6\x23\xce\x7d\x8f\x5c\x56\x41\x95\xf8\xa8\x11\xc8\x40\x01\x8e\xc4\xcb\xca\x86\xb7\x8a\xbb\xfc\x79\x3e\xea\xd2\xbe\x54\xad\x73\xe2\x03\xbf\x60\xbb\x47\xd0\x57\xdf\xb1\xbe\x02\x2a\x7f\x83\x7c\xa7\x23\x33\xe0\xf3\x27\x95\x85\xa3\xf2\x6e\x70\x29\x35\x5c\x15\x28\x3f\x5f\x2f\x75\x07\xbd\xdb\x24\x9a\x5e\xea\x85\xfc\x0f\x95\xee\xc0\x25\x67\x6e\xb8\x5b\xc8\x74\xf8\x13\x8f\xb4\x18\x31\xab\xa1\x6f\x53\x7f\x7c\x7d\x05\xff\x6a\xed\x7e\x17\x7a\x38\xdf\xa7\x96\x9f\x6d\x89\xd5\xeb\x9e\xe2\x76\xf2\x76\x07\x8b\x3f\x49\xbd\x2a\xf2\x61\xfe\x41\x84\x41\x91\xcd\xdd\x5e\x11\x1a\x94\x40\xe9\x10\xc0\x6e\x53\x38\xe8\x56\x31\xa2\x5b\x6a\x60\x95\x2f\x6c\x1c\x30\x4a\x40\xfd\x58\x80\xba\x4f\xa7\xb3\xb1\xb0\xc4\xad\xba\x4e\x36\xee\x1d\x16\x82\x48\xdd\x13\x34\xbc\x99\xd7\x72\x96\x8b\xf3\x6e\xd4\x10\x5b\x39\x1b\xb6\x2d\x14\x9d\xc3\xb8\x41\x8c\x70\x85\x0c\xdd\x33\x55\x40\x54\xa0\x2b\xa8\x18\x4a\x4c\x9a\x5c\xf1\x2e\x35\x32\x1d\xff\xd9\xce\x34\x1a\xf0\x1f\x8b\x24\x8c\xd6\x5d\xe5\xef\xae\xf0\x31\x14\x09\xd7\x1f\x3e\x43\xde\x95\x50\x84\xec\xdd\x15\xbb\xc7\x9f\x2a\x64\x45\xa5\x62\x97\x2d\xea\x27\xe6\x35\x93\x97\x98\xb7\x11\xf2\xbb\x94\x9d\x87\xfc\x13\x45\x52\x09\xed\xb5\xc5\x67\xf3\xac\xd0\x39\xcb\x94\xca\xb5\xcb\x0b\x52\x56\xec\x37\x33\x62\xbe\xb6\x34\x54\xf6\x7e\x96\x8b\x95\xa7\x75\xee\xb7\xb9\x9d\x6e\xae\xe7\x73\x2f\x51\x73\x15\xcb\x60\xfb\x18\x7c\x30\x75\x39\x40\x64\xe6\x02\x03\xf2\xc1\x50\x5f\x49\x65\x09\xe9\x27\xb7\x10\x2f\xd0\xda\x75\x26\x55\x26\xf3\xd9\x67\x99\xc8\xb8\x58\x30\x87\x36\xf5\xa8\xfa\x4a\x52\xc4\xae\x83\xa9\xfd\x33\x76\x0d\xbb\x6a\xaf\x7c\x28\xbf\xc1\x73\x16\x09\xae\xf3\x0b\xf6\xb3\x9c\x4c\x45\x56\xbe\x10\x0b\x9e\x54\x22\x52\x27\x6e\xd8\x29\x24\x53\xce\xe6\x8b\x7c\x28\x33\xe2\x48\x3d\x55\x1b\x50\x89\xb9\xfb\x7f\x55\xce\xda\x8f\x01\x8a\x8e\x6e\xf7\x28\x05\x1b\x8e\xe5\x64\xea\x6a\x09\xce\x20\x86\x94\x4d\xb1\x43\x8d\xa3\xb3\xe5\x39\x74\x01\xb9\x31\x5c\x7d\xaf\xa9\x8a\x5c\x47\x27\x02\xec\x95\xd3\xf9\x41\xb9\xea\x95\x32\xe6\xd9\x8c\x69\x95\x01\x7e\xbb\xe7\x1a\x6a\x1b\x2e\x7e\x2a\x2e\xa0\x7c\x6b\x28\xcc\x70\xa1\x2d\x9d\xbb\xaa\x80\xb9\x82\x01\xeb\x9c\xbd\xfa\xee\x8d\x0b\xde\x7c\xfb\xe6\xb5\xab\x4d\x66\xf0\x71\xe3\x57\x30\x40\x3c\x9d\xf2\x7b\x01\x85\xae\xa0\x0e\x2c\xcf\xa4\x2e\x93\xba\x24\x95\x2c\xdb\x0e\xb0\xb1\x57\x8f\x6f\x2f\xee\x79\xe6\x3e\xf5\xf8\xf6\x62\xac\xd4\x6b\xf6\xbb\x78\x19\x96\x91\xa0\x35\x26\xf9\x7b\xf6\xaf\x56\x44\xb3\x57\x36\xa1\x60\xe9\x06\xf1\xda\xac\xfe\xdb\xff\xf9\xe6\xcd\x1b\x10\x6a\xd7\x9c\xdf\x08\xcd\x5e\x7d\x49\x45\x72\x33\x95\xe3\x7c\xc4\xde\x0b\x69\x9e\x82\x12\x4e\x3e\xd4\xd4\x12\xb0\x96\x6a\xfc\xee\xcd\x9b\x37\x7a\xd9\x99\xdd\x36\xbc\x5d\x26\x5a\x04\x45\x26\x6e\x1e\x64\x7a\xfb\xe9\xe6\x6f\x46\x1a\xce\xd6\x65\x13\x68\x7a\xc7\x09\x57\xcd\x6e\x3f\xdd\x2c\x95\xb0\xb6\xd6\xd9\xa2\x50\xaf\x9c\xe7\xb2\x9a\x9e\xce\x33\x95\x4c\x22\x68\x3b\x50\x45\xc6\xa1\x7c\x0d\x78\x6d\x94\xe9\x73\x61\x6e\x4a\x79\x8b\xd5\x42\xb7\x49\x34\xaf\x17\x6c\xf5\xac\x53\x30\x6a\x2f\xbf\xb2\xf2\xc4\x4a\x0b\x96\x55\x6e\x6c\x46\x59\x97\x61\xbf\x52\x00\xc7\xfc\xea\xf3\x8a\x96\x37\xc5\x05\x63\x1f\x6d\x0a\x86\x72\x9a\xa1\xce\x87\xb9\x1c\xd9\x9f\xff\xfc\x27\x5f\xf3\xb9\xf2\x0d\xa8\x82\x8d\xb9\x7f\xad\x30\x12\x6c\xca\x93\x30\x72\x15\x98\xe7\x44\xb0\xa3\xe0\xa5\xc6\x87\x44\x08\x97\x76\x14\xcd\xf0\xd4\xcd\x2d\xa5\x80\xfc\xb7\xb6\x92\x8b\x8c\x53\xb3\x9c\x22\x32\xf3\xe5\x87\x93\x98\x6d\x1c\xd9\xb6\x32\x16\x4c\xb9\x4c\xec\xde\xf7\xa9\xc2\x97\x98\x49\x1e\x5b\xe9\x73\x7f\x2b\x3b\xec\x06\x52\xd6\x2c\xac\x5d\x24\x17\x8c\xfd\x54\xa5\x8d\xd1\xd5\x63\xf3\xeb\xc5\x7e\xc0\x09\xb9\x76\x3d\x74\x4f\xbb\x9a\x09\xd8\x5f\x5f\x08\xda\x49\xf2\xea\x00\x64\xa2\x65\x08\x32\xcc\xa0\x7f\x58\x9f\x0b\xc6\x5c\x95\xb6\x09\xf8\x0e\x64\x98\xdd\xec\x1f\x22\x53\x6b\x04\x73\xad\x1f\x8b\x32\x79\xb9\x30\xbe\x91\x90\x3c\x2d\x7f\xa9\x2b\x7d\xe2\xd8\x23\x5b\x4b\x19\xe5\xb9\x4d\x7a\xa1\x63\x1e\x45\x23\x96\x66\xea\x9e\xdf\x47\x33\x27\xe6\xde\xbe\xd1\xa0\xa4\x80\x0f\x85\x1a\x33\xf1\x5f\x45\xa5\x1c\x96\xbd\x5f\xa4\xb0\xc5\x83\xdd\xdf\xad\xd6\x55\x47\x53\x46\xe0\x17\x36\x3b\x89\xad\x79\x8e\x5d\xe3\x6e\xa6\xec\x59\xa8\xb5\x23\x35\xbb\x3b\x83\xc3\x6d\x64\xfb\xdd\x59\x59\x7d\x18\x66\x0c\x93\x62\x27\x2a\x99\x7f\xaa\xd6\x8a\x1e\x59\x8c\x67\xc4\xba\x9b\xc7\x48\x7c\x93\x81\x9a\x64\x3c\x9d\xba\xda\x8b\x77\x67\xbf\x2c\xb6\x01\xb9\x82\xb3\xdc\x41\xde\xbb\xb3\x47\xd3\x0b\xac\x08\x97\x99\x93\x6f\x4b\xf9\x40\xd1\x38\x3b\xb1\xaf\xb0\xec\xc6\x7f\x2a\x7f\xf9\xbf\xb6\xaf\x54\x2a\x13\xa3\xcd\x0b\x46\x79\x77\x06\xb7\xa3\xcb\x19\x79\x2f\x72\xf3\x6f\x28\x48\x8e\xb6\xc9\xf9\x86\x65\x52\x69\x18\xf6\x91\x16\xd0\x19\x0d\xb0\xdb\x3a\x28\xdd\xcf\xd8\x5f\xaf\xd8\x5d\xf1\xe6\xcd\x9f\x04\x33\x4d\xba\x7f\xc3\xb7\x20\x31\x4a\x26\xcc\x23\x20\xda\xdc\x8c\xc1\x30\x13\xe5\xaa\x50\x03\xdc\xe0\x1a\xdf\x57\x19\xbe\xfb\xda\x17\x20\x4b\x00\x11\xe1\x65\x9e\x4c\xe6\x87\x6c\x47\x3c\xd7\x5b\x2c\xce\x88\x27\xda\xf5\xd6\x59\x92\xdc\x7c\x7f\xcf\x1e\xdf\xbe\x19\xb1\xc7\xef\x46\xec\xf1\xad\xf9\x3f\x8c\xac\x35\xff\x7a\x63\xfe\xf5\xa7\x11\x7b\xfc\x13\xb8\x58\x9a\x3f\x7d\x87\x6e\x9e\xf0\x1c\xfc\xf3\xbb\x11\x1b\x2b\xf5\x16\xff\xff\x9b\x6e\xd2\xd0\xb4\x54\x4d\x1b\x81\xec\x0a\x49\xb4\x3b\x03\xdf\xda\xbc\xe9\xf5\x47\x37\xa7\x6c\xd6\x6b\x6c\x4d\x75\x2a\x9a\xfa\xf2\xce\xe6\x5e\x74\x97\x6b\xc9\x51\xa4\xd2\x76\xb2\x83\x14\x67\xcf\x65\x5d\x5a\xda\xb1\xd6\xa8\x68\x31\x4f\xcf\x1f\xc4\x4c\xcf\x6d\xa4\xb2\x99\xca\x9f\xfe\xde\x52\xd9\x8b\x79\xba\xe2\xa3\x0d\x65\x18\x6b\xd6\xe7\xcd\xeb\x30\x2e\x9c\x8e\x8e\xb7\xf1\x02\x5e\x5b\x5d\xfe\xa2\xfa\x28\xf8\xc3\x2d\x20\x37\xb7\x89\x0c\xf8\x59\x0c\x01\x5b\xba\x81\xdb\xd6\x0a\xb2\xe0\xa6\xaa\xd1\xe8\x26\xae\xb0\x9f\xb2\xb9\x95\xaf\xe3\x1f\x9e\xdb\x05\x03\x57\x37\x4e\x6b\x06\x18\xd7\x6a\x7e\xee\x1c\x63\x16\x5a\xa5\x51\xd9\x10\xf7\x53\xa5\x1e\x7c\xb1\x2e\xb3\x2e\x7f\xfe\xf3\x9f\x00\xe3\xde\xf3\xe0\xe1\x89\x67\x21\xde\x2c\xb9\xbc\x97\x11\x68\xb2\x7f\x98\x56\xff\xa8\x64\x43\xe3\xb6\xd0\x24\x7c\xcd\x5d\x91\x6f\xcf\xff\x9f\x7f\xff\xf7\x3f\xfd\xbb\x4d\xc5\xab\xe5\xa3\xa8\x67\x76\xeb\xea\x16\xe8\x76\x9f\xc3\x95\x46\xbe\x4a\x44\xdf\x90\xaf\xd2\x49\x50\x20\xfb\xf4\x55\xaa\xcb\x9a\x23\x76\x58\x5a\x18\x2a\x79\x2d\xad\xf6\x5a\xda\x24\x7a\xed\x19\xeb\x40\xfe\x4b\xe4\xbf\x44\xfe\x4b\xe4\xbf\xd4\x99\x40\x21\x27\xa6\xd3\x41\xc1\xfb\x70\x62\x5a\xd0\xcf\x5a\x5a\x80\x08\xc6\x1f\x35\x8c\x3f\x75\x4f\xa6\x1d\xc1\x45\xf2\x69\x22\x9f\x26\xf2\x69\x22\x9f\x26\xf2\x69\x22\x9f\x26\xf2\x69\x6a\xbe\x2d\xc9\xb1\x89\x1c\x9b\xd6\xf5\x90\x1c\x9b\xc8\xb1\x89\x1c\x9b\xc8\xb1\x09\xa5\x49\x4b\x4d\x75\x60\x8e\x4d\x4b\x28\x1d\xf2\x6e\xea\xc4\xae\x45\x2e\x4e\x3b\x77\x71\x5a\x02\xdf\xc8\xcf\x89\xfc\x9c\x06\xeb\xe7\xf4\xc2\x3e\x71\x26\xab\x99\xd3\xce\x72\x99\x83\x01\x0b\x10\x07\x9e\x2f\xfb\xdd\x79\xb3\xe1\xc5\x77\x6f\x2f\xa0\xb8\x07\x36\x92\xf2\x7c\x5a\x6e\xc3\xb3\xcb\x8b\x27\x11\x45\xe7\xc0\x91\x5d\xaa\x54\x24\x32\x3c\x0f\x54\x32\x96\x93\x02\x0f\xcd\x65\xf5\x70\x4c\xc4\xfc\xc2\xd5\x97\x6d\x22\x4a\x71\xcb\x03\x28\xbb\xce\xa4\xd6\x85\xc8\x98\xd1\x92\x3f\xbe\x67\x73\x6d\x8f\x30\x15\x29\xa6\x00\xe4\xb8\xcd\x5e\x7e\xf9\xf8\xfe\x1d\xf3\x25\x12\x58\xa8\x82\x97\xd5\x1b\xd0\xd7\xea\xfc\x18\xda\x2f\xda\xc3\x77\x85\xdf\xfb\x08\x9f\xc3\xaf\xbd\xab\x7e\x6c\x2e\x21\x96\x4d\xb2\x57\x93\x94\x67\x3c\x4d\x23\xab\xe3\x5e\xfe\xa7\xae\x0a\xe6\xbf\xcf\x11\xaa\x58\xb0\x79\xe1\x02\xfa\xee\xcd\x9b\xc5\xdb\xa3\x5e\x0f\xf0\x97\xb9\xdd\xc1\x30\xef\x70\x5c\x37\x94\xaf\x3c\x4c\xd5\xcd\xc3\x16\xee\x8c\x3f\xbf\x79\xbb\xb6\x17\xbf\x25\x2e\xc1\xb4\x08\xe7\x6e\x9f\x66\x9d\x1a\xd2\x51\x2e\xcc\x16\xd8\x6c\x9b\xa7\x28\xe7\x93\x85\xc7\x7f\x17\x51\xf4\x8b\x59\xea\xca\x2b\x2f\xaa\x9f\x75\x62\xfd\x92\xa7\x72\xf5\xb6\x73\x89\x11\xd7\xae\xdf\x68\xd9\xaf\x33\x1e\x47\xcb\x7f\x7d\x4c\xc2\x8b\x4a\x0d\xd2\x34\x53\xb9\xba\x2f\xc6\xcd\x63\x6d\x38\x03\xbe\xea\x79\x55\xbd\xd3\xab\xb7\xf1\x3b\x95\x89\x92\xc0\xd4\x5b\x6d\xd7\x5d\x0c\x77\x67\xbb\xff\x19\x54\x51\x75\x1e\x0f\xfc\xd4\x04\x2a\x13\xad\x0e\xcc\xe3\xdb\x63\x39\x33\x4d\x74\xf5\x92\x03\xf3\xb7\xb7\x57\xd7\x1f\xbf\x36\x3d\x4f\x67\x66\xf3\x33\xe3\x26\x12\x88\xc8\x23\x38\x37\xff\xb7\x9a\xfe\x61\xf5\xd1\x31\xc0\x50\x25\x22\xc9\xd1\xa5\x66\x6e\xa5\xda\x9f\xa5\x7f\xbd\xfc\xd7\x56\xfb\x1d\x0d\x16\xe8\x00\x63\xe0\x34\x94\xb5\x7f\xe7\xba\xb0\xe0\x38\x59\xdf\xfc\xe6\x75\xdc\xfd\x2b\xde\xd9\xd7\x01\x58\xfa\x82\xf9\xd8\x0f\x3a\xcf\x04\x8f\xff\xf2\xb4\x58\xd6\xad\x45\xdb\xf3\x6f\x0f\xfb\xa4\x5d\x98\x0d\x68\xce\x55\x6d\x89\x8e\xf3\x6c\x55\x5e\x98\x53\xf8\xb1\x44\xbd\xdb\xb3\x67\xcb\x1e\x6b\x74\xb2\x68\x76\xad\x68\x76\xa2\x58\x7e\x0e\xd6\xe7\x83\x29\xd5\xaf\x94\x67\x3c\x16\xb9\xc8\xf4\x72\x1f\x8f\xda\xf4\x43\x0e\x6e\xa8\x55\xf1\xa3\x52\x0f\x31\xcf\x1e\x2a\x5e\x3c\xb0\x4f\xb1\x68\xb9\xb6\x04\xd9\x2c\x15\xec\xee\xec\xc7\x2f\x5f\x7e\xf9\x7c\xf5\xf5\x97\xbb\xb3\xd2\x5f\x08\x94\xd9\x50\x41\xc2\x79\x19\xa7\x91\x88\x45\x92\xb3\x7b\xdf\x2a\xf8\x13\x4d\x12\x95\x59\xda\x7c\x1c\x71\x74\xae\x28\x1f\x01\x03\xae\x79\xcb\x12\xbc\xde\xeb\xc0\xa8\x53\x99\xb0\x4e\x92\x96\x82\xb6\x4a\xaf\xf9\x1c\xd7\x46\x9a\xd5\x1a\xca\x44\x5e\x64\x89\x08\xc1\xc5\x37\x99\x39\x7d\x3c\x40\x07\xb7\x47\x1e\x8d\x58\x02\x25\xe7\xc1\x0e\x3d\x73\x8d\x94\xdf\xb5\x46\x76\x01\x36\xe8\x19\x73\x63\xb6\x45\xdc\xc3\x02\xec\xbd\x9c\x69\x81\xd5\xa5\xd1\x7c\x8f\x94\x21\x74\x0a\xa7\x6f\x64\x47\x0b\x39\xcc\xcd\xaf\x30\x05\xa1\xb7\xf6\x8f\x05\xcf\x8b\x4c\x30\x20\xa1\x6a\x0b\x61\x5b\x12\x89\x81\x15\x90\x8c\xdd\xfb\x4f\x2c\x6b\xb6\x66\x10\x84\x35\xfe\xaf\x42\x64\x35\xe3\x9b\xb5\xdc\x34\x2d\xff\x6a\xce\x72\xee\xc7\x02\x9c\x6e\x3f\x5a\xab\x63\x9e\x15\xa2\xe9\xd0\xae\x74\x40\x45\x67\xd3\x5c\x26\x85\xb0\xcc\x40\xc5\x9a\xa1\x45\x8e\x54\x6d\x26\xf2\x4c\x0a\x70\x3c\x89\x15\xac\xad\x2e\xa2\xbc\xe2\x94\xe6\x38\x3e\x24\x7e\x60\x6a\xd0\x09\xae\x64\xd4\xd0\xa3\x32\x1c\x79\x1f\x06\xb3\xf2\x2a\x89\x66\x9e\xbe\xf5\x1d\xc1\x57\xa1\x71\xce\xd2\x4c\x3c\x42\x4d\x11\x98\x46\xfb\x69\x3c\x0d\x32\xc4\xda\xb8\x91\xfd\xad\x3c\x7f\x9e\x7d\x77\x84\x25\x36\xa9\xc6\xfe\x23\xaf\x1d\x81\xe0\xfa\x57\xf1\xb1\xe4\xf5\xae\x48\x73\xb2\x04\xee\x06\xef\x7e\xe9\xb7\x90\xb7\x34\x2d\xbc\x66\xde\x60\x91\x4a\x26\x22\xb3\x86\xa1\xa7\xa9\x00\x36\x25\x2c\xc0\xf0\x27\xbe\xa5\x12\x6f\x66\xf6\x6a\x22\x12\x91\x01\x2f\x33\x96\x8f\xf0\xeb\x58\x8e\x73\x81\x04\x46\x91\x0b\xfd\x1a\xcb\x04\xcc\x99\x40\x58\x30\xe5\xc9\x44\x54\x2d\x5b\xb8\x39\xe7\x4f\x11\x5e\x6b\xa1\xa3\x90\xfe\xfc\xf6\x0d\x73\x60\xed\x83\xe9\x82\x08\x99\xc8\x32\x33\x57\x6a\x82\x1d\xb4\x4f\xfa\x11\xe5\xea\x41\x24\x7e\xc8\xd6\xef\x30\x11\x02\x8c\x99\x06\xcf\x48\x9d\x9b\x3f\x19\x39\x0d\x14\x19\xf0\xce\x99\x40\xea\x2a\x9f\x0a\x99\x21\xcf\x62\x1a\x56\x45\x3e\xbf\xe2\x70\x8e\x2e\xd8\x17\xf3\xe9\x27\xa9\x6d\x21\x12\xfb\x15\xb3\x32\x56\x0c\x20\x15\x05\xed\x58\x29\xe9\x1c\x07\x6c\x0f\xcd\xf2\x08\x20\x0a\xfc\xdf\xcd\x60\x61\x70\x6b\xa7\x05\xda\x85\x0e\x03\xd7\xed\x36\x37\x14\xec\x78\x10\x33\x2c\xe8\xe1\xff\x6c\xfd\x75\x75\xc2\x53\x3d\x55\xb9\x63\xf8\x8c\x30\x48\x2a\x13\xe2\x9f\xf7\x1b\xd9\x76\x1f\x8f\xd0\xb9\xc7\x71\x20\xc0\x8d\xe4\xb4\xd5\x2b\x46\x2c\x56\xa1\xb5\x60\xaa\x0c\x98\x72\xa8\x69\x31\x46\x12\xd7\x95\x37\xa9\x4d\x06\x92\x9e\x60\x69\x0c\x51\x66\x41\x81\x12\x0b\x6b\x46\x8c\x6b\xd8\x90\xd6\x5c\x26\x33\x33\x30\x14\xd8\x65\xc3\x77\x67\x6e\xc8\x77\x67\x58\x7a\x68\x4e\xd6\x99\x53\xe0\xdd\xec\x50\x40\xe0\x4d\x25\x35\x08\xa1\xf2\x8e\x80\x95\x83\x0d\x60\xa5\x71\x75\xf6\x70\x12\x60\x0f\x3a\x52\xde\x39\xce\xda\x9b\xe3\x7e\x56\x5d\x31\x73\x5e\xcd\xa7\x63\xa9\x35\xdc\x08\x38\x3d\x08\xf9\xf4\xa6\x92\xd7\x6d\xbd\xf6\x2e\x6e\xcf\x97\xb6\x57\x4c\x8b\x48\x04\x39\x9c\x33\x38\x1b\x99\x0c\xf0\x24\x38\x0a\xd2\x8f\xdd\xed\x0a\x9c\x03\x99\xe1\xf4\x6b\x6f\x9e\x06\xb7\x71\xf1\x28\xb2\x19\x78\x1f\x6d\x3a\x7c\x68\xed\xc6\xf6\xe6\x60\xe6\x20\xe2\xf7\x22\xea\x6c\x0e\xa0\xb5\x7d\xcc\x41\x24\x63\x69\x03\x1b\x62\xfe\x4d\xc6\x45\xec\xb8\x02\x18\xbd\xd5\x40\x70\x7e\xcc\x54\xd8\x38\x61\x98\x9f\x80\x47\x11\x88\x61\xb8\x88\x81\x71\x64\xe2\x1b\x08\xdd\x45\xe8\x84\xf3\xfa\x87\xdb\xeb\x7f\xd8\x33\x6c\x2f\x0b\x68\xcf\x39\x5a\x43\x7c\x92\x3d\x80\xbe\xd4\x8b\x73\x9f\xf0\xb2\x54\x03\x9d\x64\xb4\x15\x7f\xe9\x62\x2f\x0d\x3c\x10\xa5\xb4\x34\x9f\xc6\xb1\x98\x65\x32\x20\x35\x47\x67\x5e\x86\x63\xc7\xcb\x16\xc7\x26\x9e\x9c\x53\x0a\x4a\x2a\x90\x64\x46\xd0\xc5\x60\xff\x07\x6f\x16\x33\xca\x57\x45\x6a\x3e\xf6\x0f\x91\x29\xfc\xcb\x6b\x27\xdd\x10\x11\x72\x10\xe8\xee\x6d\xb7\x77\xc0\x43\x42\x46\x39\x78\x5c\x20\x5d\x1c\x7a\x08\x62\xa1\xce\x1c\x0a\x41\x4f\xfc\xa0\x1a\x8b\x53\xb9\xa3\xc0\x81\xd8\x40\x8c\x58\x26\xc2\xdf\xe6\x73\xa0\x08\x64\xa9\x33\x46\xcd\xfb\xf3\x07\x53\xa5\xb4\x00\x29\x96\x2b\x27\x43\xed\x5a\x98\x69\xe1\xd9\xa4\x00\xd8\xce\xe1\x52\x82\x01\xc1\x24\x99\xb1\xd9\xfe\xcc\xd9\xb9\x70\x76\x3f\x8e\x99\xdf\x52\x25\x18\x71\xf8\xa6\x36\x00\xa9\x99\x88\xd3\x7c\x36\x0f\xc4\x3c\xfa\xe6\xb9\xc1\x2c\xab\x06\xb4\xea\x32\x90\xe3\xda\x55\x80\xb7\x87\xdf\x97\x93\x82\x67\x3c\xc9\x85\xa8\x78\xba\xba\x95\xf2\xc7\xfe\x09\xcb\x1f\x81\x9b\xb3\xeb\xbb\xbf\xd8\x3c\xe4\xcb\x15\x50\x43\x56\x09\x90\xc9\x24\x12\xe5\x09\xf1\x28\xc3\x6d\xb8\x73\x5b\xd5\x47\x1b\xad\xc3\x7f\x72\xb3\x9b\xd6\x5d\xb2\xa0\x63\xe8\x42\x84\x8d\xd7\x2d\xe8\x3a\xc5\xbd\x36\x0f\x27\xb9\x1f\x41\xe8\xd5\xba\x8a\x67\xa3\x8a\x45\x2e\x63\xa1\x99\xf7\xf1\x35\xa7\xb0\x86\xa8\x4a\x80\x61\x56\x54\x24\xba\xc8\xdc\xf4\x71\x07\x91\xec\xe0\xec\xac\xe1\x90\xe1\x60\x02\x18\x42\xff\x2a\x70\xa7\x2b\x92\x07\xac\xa9\xc5\x80\x1d\x8b\x78\x36\x71\x0b\x0d\x27\x1e\x9b\x47\x8d\x4c\x0b\x01\x1b\x2f\x55\x5a\x4b\xb3\xe1\x5c\xc8\x95\xd9\x70\xd5\xf3\x65\xe3\x4b\x4a\x9d\x0c\xbe\xe3\x1c\x6b\xaa\x3e\x55\x73\x3e\xb6\xd8\xeb\x27\xae\xed\x99\xf3\x7a\xa7\x0f\xad\x9c\x43\x38\x88\xfb\xb9\x36\x0b\x1c\x14\x11\x7c\x51\x96\xdb\x66\x63\xe9\x2f\xe7\x6b\xe7\x34\x30\xad\x1d\x8b\xfd\x8f\x63\xf6\xd2\xbc\xf7\xd2\xfa\x25\xc1\x4c\x14\x79\x5a\xe4\xd6\xcf\x3b\xcf\x67\x2c\xcd\xcc\xd7\x37\x1e\x0d\xbe\xbd\xcb\x4b\xac\x8e\xdd\x34\x7a\x80\x9b\x8d\x9b\x67\x5c\x26\xc0\xb6\x43\x59\x3e\x1f\xf2\xe4\xfd\xd9\xb8\x3f\x4b\x46\xf6\xdc\x5b\xf1\x80\x31\xb3\x46\x62\x0a\x1f\x90\x54\xb1\xe2\x49\x75\x19\xaa\x40\x5f\x7a\xcf\x89\x4b\xd8\xed\xe7\x3c\x95\x2e\xfc\xc8\xa8\x7c\xfa\xd2\xc7\xab\x9d\xfb\x0f\x8e\xe1\x58\x43\x5c\x2c\x88\xa4\x2a\x80\x28\x12\x2d\xf2\x0d\xa7\xbb\x36\xf8\x3d\xce\xfb\x67\x10\xb7\xfe\x4a\xd2\x50\xda\xac\xbe\x36\x06\x6a\xa4\x69\x24\x51\xc0\x78\x29\x69\x4e\x32\xec\xbd\xa9\x9c\x4c\xa3\xd9\xbc\xd3\x79\x75\xe5\xe6\xbe\x65\x0d\x03\x10\xa4\xe3\x5b\xb2\xb5\xfb\x1a\x3e\x6c\x9e\x3d\xbc\x15\xfd\xbc\x68\x60\xee\x77\x59\x6f\x65\x2c\xcc\x85\xe5\x0c\x16\x66\x6a\x2f\xf1\x2e\x45\xc8\x07\x97\x06\x08\x2d\x74\x74\x08\x9d\x05\xc0\xe1\x14\x70\xa1\xcd\xc4\x84\x67\x61\x24\xb4\xad\x9c\x38\x63\x3c\xc8\xe5\x23\xc4\x87\x64\x4c\x26\xee\xbf\x36\x95\x2f\x39\x76\xef\x06\xc2\x2c\x96\xd8\xa8\x7a\x12\x9b\xbf\xa3\xe2\xa8\x32\x6b\xeb\xf0\x01\xb3\x2e\xc1\x40\x58\x32\x7e\x70\x45\x5a\xcc\x94\x4f\x45\x8c\x97\x29\x9a\xfd\x61\x42\xc2\x70\x64\xaf\xab\x91\x7d\x36\x46\xff\xdd\xbc\xa2\x4a\xb2\x1b\x1b\x17\x53\xdb\x14\x9b\x4e\x5a\x03\x4b\xb1\xb5\x3d\xcf\xfe\xeb\xef\xed\xd8\xa7\xcb\xff\x36\x7d\xf8\x67\xaf\x24\x54\x26\x78\x58\xb3\x7f\xb5\xa7\xa0\xcc\xcb\x83\xa5\xa0\x0e\x93\x19\x3a\x45\x56\x68\x22\x8e\x91\x14\xaa\x3a\x6a\xae\xec\x04\x4a\xa0\x94\xe7\xd3\x66\x01\x04\xff\x3b\xf7\x4b\xc5\x6d\xdc\xc8\x97\x1d\x5e\x70\x87\x82\x7e\xd7\x08\xda\x64\x2c\x27\x31\x4f\x77\xc1\xef\x67\x56\x97\x5e\x24\xfa\x4d\x27\x3e\xcf\xf9\x56\xaf\xa2\xf8\xed\xd3\x3f\xa9\xec\x2a\x8a\xbc\x5f\xee\x20\x24\x2d\x91\xfd\x75\x91\x6e\x17\x8b\x68\xfe\x86\xc7\x3a\x90\xe8\x8b\x27\x87\x08\x7e\x22\xf8\x89\xe0\x27\x82\x9f\x08\x7e\x22\xf8\x89\xe0\x27\x82\x9f\x08\x7e\x22\xf8\x89\xe0\x27\x82\x9f\x08\x7e\x22\xf8\x89\xe0\x27\x82\x7f\x03\xb1\x7f\x28\x26\x4e\x22\xf8\x89\xe0\x27\x82\x9f\x08\x7e\x22\xf8\x0f\x85\xe0\x77\x49\x9f\xf7\x49\x3b\x7d\xf0\x7d\x68\x43\x3b\xf9\xa7\x89\x76\xaa\xcf\xfa\xf0\x68\x27\xbf\x58\x44\x3b\x35\x3c\xf6\x6c\xda\xa9\xe9\xe4\x10\xed\x44\xb4\x13\xd1\x4e\x44\x3b\x11\xed\x44\xb4\x13\xd1\x4e\x44\x3b\x11\xed\x44\xb4\x13\xd1\x4e\x44\x3b\x11\xed\x44\xb4\x13\xd1\x4e\x44\x3b\x6d\x20\xf6\x89\x76\x22\xda\x89\x68\xa7\xc3\x58\x51\xa2\x9d\xe6\xa7\x87\x68\xa7\x41\xd3\x4e\x60\x22\xde\x27\xe7\x64\x3a\xd0\x8e\x6f\x32\x4f\x12\xd7\x54\x9f\xed\x01\x72\x4d\x66\xa1\x88\x67\x6a\x78\xec\xf9\x3c\x53\xed\xb4\x10\xc7\x44\x1c\x13\x71\x4c\xc4\x31\x11\xc7\x44\x1c\x13\x71\x4c\xc4\x31\x11\xc7\x44\x1c\x13\x71\x4c\xc4\x31\x11\xc7\x44\x1c\x13\x71\x4c\xc4\x31\x6d\x20\xf6\x89\x63\x22\x8e\x89\x38\xa6\xc3\x58\x51\xe2\x98\xe6\xa7\x87\x38\xa6\x21\x73\x4c\xb0\x2d\x32\x98\x9c\x3d\x12\x4d\x9f\x4c\x2f\xbe\x9a\x5e\xb4\x62\x9b\xca\xc7\x89\x72\xaa\xcf\xfb\xf0\x28\xa7\x72\xb5\x88\x77\x6a\x78\xec\xd9\xbc\x53\xe3\xe1\x21\xf2\x89\xc8\x27\x22\x9f\x88\x7c\x22\xf2\x89\xc8\x27\x22\x9f\x88\x7c\x22\xf2\x89\xc8\x27\x22\x9f\x88\x7c\x22\xf2\x89\xc8\x27\x22\x9f\x88\x7c\xda\x40\xec\x13\xf9\x44\xe4\x13\x91\x4f\x87\xb1\xa2\x44\x3e\xcd\x4f\x0f\x91\x4f\x43\x26\x9f\x92\x92\xb7\xd9\x1f\xf7\xe4\xc9\xa3\x56\xd4\x53\xe3\xd3\x4b\x0c\xe8\x6c\x0d\x7d\x41\x46\xf4\x23\x36\xa2\xaf\x38\x68\x1b\x18\xd2\xd7\x1c\xbd\xd5\x87\xaf\x46\xa9\xad\xde\x8c\x64\x52\x27\x93\x3a\x99\xd4\xc9\xa4\x7e\x6c\x26\xf5\x76\x72\xb8\xd1\xac\xbe\x1a\x3c\x77\x28\x7b\x77\x66\x60\x6f\x37\x19\xcb\x8d\xec\x87\x31\x23\x9b\x98\xdb\xdb\xcd\xc8\x72\x93\xfb\xce\x66\x84\x8c\xef\x64\x7c\x27\xe3\x3b\x19\xdf\xc9\xf8\xde\x9b\xf1\xbd\xe5\x5d\xb0\x60\x80\x5f\x63\x4b\xea\xf0\x12\x38\x62\xe3\x75\xbb\xc9\x5f\x65\xc0\xde\xd9\x55\x4c\xa6\xec\x5d\xad\xef\xa2\x39\x7b\x67\x8b\xbc\x57\xc3\x76\xbb\xc9\x5a\x61\xdc\xde\x9d\x48\x1a\xaa\x99\xbb\xdd\x14\x2e\x9a\xba\x9f\x6b\x71\x6b\x34\x48\x53\x28\xc2\x30\x42\x11\xbc\xf5\x9e\x22\x11\x1a\x1e\x7b\x76\x24\x42\x13\x39\xd2\x73\x20\xc2\xa1\x38\x27\xbc\xa8\x2d\xd1\x59\xaa\x74\xc7\x34\x17\x2a\x26\x8c\xb7\x62\xb4\xf0\xe1\x0e\x38\x2d\x9c\xc5\x7b\x15\x2e\x95\xb1\x4d\xbf\x19\x28\x2a\x33\x11\xda\x79\xea\xf1\xa4\xb7\x3c\xe5\x6b\x2e\x39\xb3\xb5\xac\xc2\x31\x62\x32\x09\x8d\x70\x74\x0a\xd5\x9c\xf1\xb1\x4a\x8d\xdd\x0b\x96\x9a\xad\xaf\xcd\xde\x63\x57\x09\x93\x09\x9a\xfe\x55\xc6\x8a\xc4\xb3\x07\x21\x0b\xb3\xd9\xd7\x22\x61\xa1\xcc\x84\x81\x03\xc2\x9b\xa4\x8d\xf6\x02\xea\xa1\xb5\xc9\x3b\x89\x6a\x2d\xa0\x6c\x5c\x64\x60\x4b\x48\x33\x15\x08\x0d\x7a\x9c\x45\x1f\x16\xeb\x5f\xb0\xbf\xc1\x17\xc1\x46\x03\x8a\xd7\xf7\xec\x9c\x5d\x45\xd1\xf7\xa0\xa5\x85\xd9\x8c\x65\x45\xc2\x74\xce\xcd\xcd\xed\x54\x53\xdb\x9c\x08\xb7\xb8\x51\x71\x2c\xfb\xc1\x6c\x60\x60\xf8\xcc\x13\x3e\x11\x19\x9a\xca\x4c\xaf\x18\xd7\x5a\x05\x12\x74\x3f\x6f\x94\xe2\x60\x5b\x54\x19\x13\x49\x6e\xc0\x98\x53\x86\x63\xfe\x60\x66\x31\x9f\x0a\x2d\x1c\xa2\x31\x58\xcf\x11\x39\xc0\x65\xdc\x0b\x06\x88\x0e\x0c\x50\x2a\x63\x6f\xbf\xfb\x9f\xe6\xd9\x8c\x07\xc0\x38\x45\x2a\x99\x20\x7e\x01\x23\x91\xd1\xe6\xb9\x4c\x50\x0a\x81\x11\xa6\x7c\x16\xac\xf0\x96\x0f\x63\xf7\x33\x0f\xd1\x27\x2a\xe2\xc9\xe4\x42\x65\x93\xcb\xf4\x61\x72\x59\x24\x32\x50\xa1\xb8\xfc\x97\x8f\xfa\xda\xb4\xb2\xb5\x55\xd7\x4e\x4e\x97\xcb\x33\x28\xc0\x73\x68\x38\xa4\x2d\x06\xf9\xae\x05\x06\x79\x87\x86\xa9\x61\x74\xf7\xbb\xb5\xdd\xbd\x0a\x8c\x66\x39\x8c\xfe\x1e\x13\xc4\x03\x60\x31\x34\x88\xf7\x82\xad\x74\xff\xb9\xfc\x6f\xff\xef\x7f\x5e\xde\x9b\xfb\x35\x99\xcc\xf9\x04\x6d\x81\x0c\xe9\xce\x6e\x05\x72\x1b\xee\xeb\x9e\x5d\x06\x4f\xf4\x96\x6e\x19\xdc\xd4\x74\x43\xf7\xbc\x20\xd6\xb2\x8e\xab\x90\x84\xcc\xc8\x39\xa6\x03\x95\x8a\x11\xd3\x45\x30\x35\xa3\x07\x33\x98\xe0\x31\xda\x70\xd2\x4c\x81\x25\xbf\x69\x80\x29\xcf\xa7\xcd\xe3\x4b\x9a\x65\xc7\x0a\x5d\xa0\xe7\x81\x93\xf2\xb8\xa8\x3c\xfe\x88\xd2\x77\x53\xd5\x31\x6c\x78\xef\xc0\x55\x48\x37\xa2\xe5\x18\x82\xa0\x6f\x1f\xb3\x3a\x20\xe0\xbb\x71\x67\xf7\x0a\x7b\x37\xec\x2d\x81\x5e\xff\xf8\x1a\xd0\xbb\x28\xdb\x3a\x86\xbc\xe8\xc8\x19\xf3\x74\x0e\xf4\xa2\x4f\x41\xb7\x72\x1e\xdb\x64\x81\x8a\x22\x11\x38\xba\xea\x1d\x7c\xfe\x33\x4f\x57\x48\x7d\x7c\x11\xa5\xfe\x3b\xff\x76\x29\xff\x1b\xdb\xe8\xf7\x06\xd8\xfe\xc8\xc4\x3c\x98\xca\x44\x64\xb3\x8b\xf4\x61\x62\xfe\xa0\x2f\x62\x91\x73\x73\x88\xde\xc3\x38\xbf\xc0\x84\xe9\x4e\x8c\x87\xe4\x59\x4d\x9e\xd5\xe4\x59\x4d\x9e\xd5\xe4\x59\x5d\xfd\x7d\x37\x8c\x00\x19\x81\x5a\x2f\xd4\x3e\x89\x1b\x72\x80\x6f\x02\x0d\xde\xa3\x48\x26\x4c\xa3\x93\x0f\xbb\x17\x63\x8c\xe2\xf3\x0e\x91\x25\x94\xb0\xd2\x0b\xb6\x4e\xc5\x08\x96\xa8\xe4\x3c\x11\x13\x0e\x1b\xd4\x7a\x03\x55\x8d\x65\xe8\x1c\xed\x8f\x86\x45\x88\x32\x8e\x45\x28\x79\x2e\xa2\x59\x19\x5e\x57\x5e\xb9\x32\x1a\x59\x2f\x1f\x98\x74\x36\xc9\x78\x00\xa7\x46\xaa\xd0\x03\x82\xf2\xd2\x86\xd8\x45\xb7\x4b\x0b\x6d\x3a\x59\x5d\x2e\x6e\xde\x74\x03\xb2\x1f\x19\xa3\x0c\x74\x4d\x5c\x60\x3f\x63\xc1\x93\xc6\x3e\x6e\xb1\xcc\xd0\xe7\x6b\xe8\xf2\x7e\x7d\xa8\x28\xda\x81\xa2\x1d\x28\xda\x81\xa2\x1d\x28\xda\x81\xa2\x1d\x28\xda\xc1\x5f\x02\xef\x45\x9a\x09\x03\x4a\xc2\xef\x59\x1a\x09\xae\x85\x17\x41\xd7\x99\x4a\xf9\x04\xd0\xd1\xb5\x8a\x64\x30\x9b\x8b\xc9\x77\x9b\x2e\xf4\x0d\x98\x6d\xf7\xf6\xe2\x7f\x5c\xb0\x1b\x94\x67\x08\x5d\x52\x91\x98\xc3\x52\xde\xa9\x82\xa9\x2c\x9d\xf2\xc4\xe5\x08\xc8\x0a\x71\x39\xe6\x91\xd3\x95\xef\xce\xf0\xe7\xbb\x33\x36\x96\x09\x8f\xe4\x3f\xdc\x45\x72\x2f\x18\x0f\xc1\x69\x5f\x5d\xa2\xd3\x72\x58\xaa\x61\xd8\xfc\x4b\x5d\xbe\x84\xfa\xe9\x05\xfb\x20\x41\x38\x56\xba\xae\xb2\xc5\xb1\x95\x01\x1b\x39\xaa\xc7\xa0\xa3\xa8\x7c\xba\xcd\x82\xe2\x08\xde\xbb\xb1\xef\x2b\xdd\xc0\xef\xf6\x5e\x30\x07\x76\xaa\x9e\xd8\x84\x67\xf7\x7c\x32\x67\x98\xf4\x4a\x8d\xc8\xc6\x2a\x8b\xcd\x9a\x34\xce\xd7\x97\xda\x88\x96\x4f\x17\x80\x5e\x87\x58\x53\x9c\x5b\x69\xd0\x64\x20\xc3\x52\x15\x06\xac\x00\xc6\x09\xbf\xc6\xe6\xb2\xb6\x37\xa9\x43\x03\x17\x95\xc5\x74\xf7\x88\x8f\x91\xf0\xf9\x2e\xe6\x3f\x76\xc1\xd0\xfa\x0f\x77\x53\x55\xb3\x7b\x89\x63\x78\xc9\xce\xed\x06\x9c\xdf\xa0\xfa\x07\xf6\xf2\x47\x1e\x3c\x4c\x32\x55\x24\xa1\x79\x0a\xf2\x46\xc0\x43\xb5\x89\x43\x08\x69\xf1\xf1\x7c\x23\x6e\x04\xf7\xbe\xa5\x1f\xd8\xcb\x9f\x54\x26\x2a\xcd\xb2\x80\xeb\x80\x87\x66\xf4\x76\x7e\x30\xb5\x08\xb4\xa7\x51\xf5\x5c\x68\x70\xec\xdb\xd8\x66\x43\xa6\xf5\xed\x3e\x88\xa0\x1e\x0a\xad\x1a\xc2\x2a\x50\x68\x15\x85\x56\x1d\x5b\x68\x55\x23\x4b\x47\x4e\x03\x1b\xd2\x74\x37\x39\xcf\x8b\xb6\xfc\xdc\x51\x51\xdd\x78\x17\x97\x38\xa9\x3f\xda\xbb\x89\xd2\xdd\x24\x9c\x67\xc7\x89\xdc\xda\xb0\xd8\x0d\x89\xdc\x9e\xc7\x5c\x53\x4a\x37\x4a\xe9\x86\x3f\x51\x4a\x37\x72\x3c\x20\xc7\x03\x72\x3c\x20\xc7\x03\x72\x3c\x20\x46\x9b\x48\xce\xf5\x33\x42\x24\x27\x91\x9c\x44\x72\x12\xc9\x49\x24\xe7\x09\x93\x9c\xc4\x3b\x10\xef\x40\xbc\x03\xf1\x0e\x94\xd2\x8d\x52\xba\x51\x4a\x37\xff\x4b\xeb\xa0\x47\x6f\xbd\xa7\x94\x6e\x0d\x8f\xed\x9d\x03\xda\x22\x71\x07\xa5\x23\xa0\x74\x04\x3e\x1d\x41\x1b\x52\xaf\x39\x21\xc1\x1e\x02\x52\x7b\x4f\x49\x50\x8e\xa9\x9d\xa0\xa3\xe0\xa8\x23\x08\x8e\x3a\xd1\x7c\x39\x94\xd5\xee\x40\xbc\x74\xb6\x96\x4e\x7b\x4e\xee\xb1\x45\x77\xf7\x9a\xde\x63\xe3\xfe\x1e\x13\xca\xed\x37\xc1\xc7\x96\x28\xf7\x05\xdb\x26\xc5\x07\xfe\xf9\x9f\x3b\xca\xf4\xd1\x0e\x42\x55\xb3\x7b\x50\x4e\x8f\x86\xd1\x10\x74\x3a\x44\xe8\x44\x51\xd4\x27\x14\x45\x4d\xe1\x62\x14\x2e\x46\xe1\x62\x14\x2e\x46\x5a\xdf\xb2\x53\x34\xc8\xd8\x8c\xfd\x68\x55\x14\x5a\xb2\x34\xb4\x64\x70\x6a\x96\xb7\x33\x77\x1e\x50\x92\x09\x1e\xd6\x30\x56\x1b\x6d\xc9\xbc\xd6\x4e\x57\x22\xd1\x41\x16\x8d\x25\x87\x6d\x22\x86\x67\xd0\x78\x0e\x6d\x07\x46\x69\xab\x6c\x2e\xf9\x7c\x1b\x46\x6e\x28\x64\x1c\xb1\x90\x07\xc7\x42\x82\xdb\x42\xab\xfb\xa1\x2e\x7f\xcf\xe1\xdd\x7f\x5b\x2d\x8a\x63\x91\x4d\x44\xab\x27\x75\x9e\xf1\x5c\x4c\x64\x70\xde\xfe\x1d\xf3\xef\x99\x7d\x12\x84\x7e\x9b\xfb\x2b\xe5\x59\x2e\x21\xaa\x08\x5d\x6c\xb6\xb8\xcb\xe0\x8b\x03\x30\xfc\xf5\xc5\x9d\xae\x00\x7a\xd7\xf3\x7e\x2e\x8c\xcc\x81\x47\x6e\x0e\x3c\x1d\x26\xb5\xe6\x9d\xef\x0e\x17\x46\x90\x18\x49\x53\x46\x25\xbf\x5a\x22\x85\x5e\x83\x31\x04\xc3\x46\x79\x04\x6f\x26\x2a\x39\xc7\xb7\xe1\x09\xb0\x47\x6a\xf6\xea\x7f\x6b\x95\x5c\x63\x70\xee\x67\x23\xef\xec\xbf\x6f\x9c\x14\x2c\xff\xf8\x7a\x48\x14\x6f\xfb\x7d\xf3\x93\xca\x02\x30\xd8\x4e\x14\x2c\xbe\x62\x77\x67\x63\xf3\xb7\xbb\x33\x76\x35\x37\x9b\xe0\xfb\x8b\xd6\xd5\x42\x97\x81\x88\xe7\x3c\x80\x05\x80\xf0\xce\x48\x06\xd6\x5e\x24\xa2\x50\x33\xf5\x64\xd7\x16\xc3\x1f\x53\xa1\xd2\x48\x5c\x30\xfc\x26\x44\x75\xbb\x3d\x05\x1e\xb8\x8d\x0b\xe1\x3f\xbf\xcd\xf4\x9a\x0f\x1d\xaf\xbf\x24\xa9\x42\xc3\x57\x85\xd2\x9a\xbb\xea\xd0\x94\xa1\xa2\x73\xb3\x43\x1a\xf1\x60\x1b\xb4\x66\xdf\x3c\x62\xbc\x46\xbe\x6e\x84\xd0\x4e\x01\xa1\x0d\x08\x08\xd1\x7d\xed\x7f\x21\x5f\x37\xdb\xf2\x51\xc1\x8b\x62\x78\x96\xd6\x17\xac\xbd\xeb\x98\x48\xc2\x54\xc9\x24\xdf\x4f\x71\xa8\x0f\xfe\xeb\xcb\x61\xc9\xba\xe2\x50\x8d\x6d\x90\x23\x19\xe5\x68\xa2\x1c\x4d\x94\xa3\x89\x72\x34\x51\x8e\xa6\xbd\x28\x1b\xa4\x13\xb6\x5e\x28\x2a\x0e\x35\xa4\x54\x5a\xe4\xd6\x7c\x42\x6e\xcd\x94\x37\x8d\xf2\xa6\x51\xde\x34\xca\x9b\x46\x79\xd3\x28\x6f\x1a\xe5\x4d\xa3\x68\x1f\x8a\xf6\xa1\x68\x1f\x8a\xf6\xa9\xef\x48\x2a\x0e\x45\x49\x1a\x29\x49\x23\x25\x69\x3c\xf0\x24\x8d\x8d\x2c\x1d\x51\xf1\x14\xc1\x57\x7f\x61\xef\xc5\xa1\x9a\x28\xdd\x01\x17\x87\x6a\xc3\x62\x37\x15\x87\x7a\x16\x73\x4d\xc5\xa1\xa8\x38\x14\xfe\x44\xc5\xa1\xc8\xf1\x80\x1c\x0f\xc8\xf1\x80\x1c\x0f\xc8\xf1\x80\x18\x6d\x22\x39\xd7\xcf\x08\x91\x9c\x44\x72\x12\xc9\x49\x24\x27\x91\x9c\x27\x4c\x72\x12\xef\x40\xbc\x03\xf1\x0e\xc4\x3b\x50\x71\x28\x2a\x0e\x45\xc5\xa1\xfc\x2f\xad\xc3\x1e\xbd\xf5\x9e\x8a\x43\x35\x3c\xb6\x77\x0e\x88\x8a\x43\x9d\x42\x5a\xb6\xbe\x8a\x43\xb5\xa1\xf4\x9a\x4b\x43\xed\x21\x1c\xb5\xf7\x74\x19\xe5\x98\xda\x89\x39\x0a\x8d\x3a\x82\xd0\x28\x4a\x97\x41\xe9\x32\x1a\x3a\x33\x60\x20\x76\x18\xe9\x32\xb6\xe8\xee\x5e\x4b\x43\x6d\xdc\xdf\x63\xc2\xb8\xfd\x96\x86\xda\x12\xe3\xbe\x60\x5b\xe4\xf7\xd8\x6d\x65\xa8\x4d\x13\x7b\x50\x3a\x8f\x86\xd1\x10\x6e\x3a\x44\xdc\x44\x01\xd4\x27\x14\x40\x4d\x91\x62\x14\x29\x46\x91\x62\x14\x29\x46\x2a\xdf\xb2\x53\x34\xc8\xb0\x0c\xaa\x0b\x35\x18\x0d\xab\xef\xba\x50\x83\x8b\x25\x69\xa8\x0b\xd5\x46\x5b\x6a\xaa\x0b\xd5\xac\x2b\x91\xe8\x20\x73\xc6\x3e\xea\x42\xed\x81\xb1\xab\xd6\x85\x5a\xf2\x79\xaa\x0b\xd5\x3c\x66\x22\x20\xa9\x2e\x54\x1f\x75\xa1\xda\xdc\x65\x8d\x75\xa1\x8e\x88\x38\xa5\xba\x50\x64\x0e\x3c\x3d\x1a\x95\xea\x42\x75\xb9\x6f\xa8\x2e\x14\x59\x51\x48\x15\x5a\x9c\xc6\x03\xa9\x0b\xf5\x6c\x65\x68\x37\x75\xa1\xda\x59\x1e\x1a\xeb\x42\x1d\x11\x5e\x23\x47\x37\x42\x68\xa7\x80\xd0\x06\x04\x84\xe8\xbe\xf6\xbf\x90\xa3\x9b\x6d\xf9\xa8\xe0\x45\x9f\x75\xa1\x76\xe1\x37\x06\xc9\xa2\xf6\x53\x14\xca\x7c\xba\xa5\xdf\x58\x63\x41\xa8\xfa\xfb\xe4\x3d\x46\x39\x99\x28\x27\x13\xe5\x64\xa2\x9c\x4c\x94\x93\x69\x2f\x1a\x06\x29\x82\xad\x17\x8a\x8a\x41\x0d\x29\x75\x16\xf9\x32\x9f\x90\x2f\x33\xe5\x49\xa3\x3c\x69\x94\x27\x8d\xf2\xa4\x51\x9e\x34\xca\x93\x46\x79\xd2\x28\xc4\x87\x42\x7c\x28\xc4\x87\x42\x7c\xea\x3b\x92\x8a\x41\x51\x52\x46\x4a\xca\x48\x49\x19\x0f\x3c\x29\x63\x23\x3b\x47\xfc\x3b\x85\xed\xd5\x5f\xd8\x7f\x31\xa8\x1a\x9d\x3b\xe4\x42\x50\x6b\x98\xeb\xc6\x22\x50\xdb\xb2\xd5\x54\x00\x8a\x0a\x40\xe1\x4f\x54\x00\x8a\x9c\x0d\xc8\xd9\x80\x9c\x0d\xc8\xd9\x80\x9c\x0d\x88\xc5\x26\x62\x73\xfd\x8c\x10\xb1\x49\xc4\x26\x11\x9b\x44\x6c\x12\xb1\x79\xc2\xc4\x26\x71\x0d\xc4\x35\x10\xd7\x40\x5c\x03\x15\x80\xa2\x02\x50\x54\x00\xca\xff\xd2\x3e\xbe\xd1\x80\x7e\x2a\xfe\xd4\xf0\xd8\x5e\x39\x1f\x2a\xfc\x74\x0a\x79\xd7\xfa\x2a\xfc\xc4\x93\xb5\x2c\xde\x92\xba\x4f\xbb\x8d\x3a\xed\x3f\x15\x06\x8c\xa7\x9d\x64\xa3\xe8\xa7\x23\x88\x7e\xa2\x34\x18\x94\x06\xa3\xa1\x33\x03\xc5\x5d\x07\x92\x02\x63\xb3\xae\xee\xb7\xce\xd3\x26\x7d\x3d\x26\x28\xdb\x73\x8d\xa7\xcd\xa1\xec\x0b\xb6\x69\x9e\x8e\xdd\x16\x77\x6a\x81\x91\x96\xd4\x76\xa2\xcc\x1c\x84\x8f\x0e\x15\x1f\x51\x2c\xf4\x09\xc5\x42\x53\xd0\x17\x05\x7d\x51\xd0\x17\x05\x7d\x91\x6a\xb7\xec\x14\x0d\x32\xc2\x82\xea\x3a\x0d\x46\xab\xea\xbd\xae\xd3\x90\xc2\x42\x9a\x6a\x3a\xad\xd1\x90\x1a\xeb\x39\x2d\xe8\x47\x24\x2e\xc8\x64\xb1\xf3\x3a\x4e\xbb\x25\xdf\xe6\x6a\x38\x2d\x7e\x9a\xea\x37\x35\x8f\x99\x78\x44\xaa\xdf\xd4\x4b\xfd\xa6\x35\xf7\x56\x73\xed\xa6\xe3\x20\x3f\xa9\x6e\x13\x99\xfb\x4e\x8f\x0e\xa5\xba\x4d\x5d\xee\x1b\xaa\xdb\x44\x56\x12\x52\x7b\x0e\xb3\x66\xd3\x73\x14\x9f\x1d\xd5\x6b\x5a\x6b\x55\x68\xae\xd5\x74\x1c\xf8\x8c\x9c\xd3\x08\x8d\x1d\x3b\x1a\x1b\x10\xe8\xa1\xbb\xd9\xff\x72\xf2\xce\x69\x47\x05\x23\x7a\xad\xcd\xd4\xaf\xbf\x17\xc4\x88\x65\x20\xbc\xf6\x52\x9c\xe9\x93\xf9\xfe\x57\xf3\xfd\x96\xde\x5f\x4d\x15\x9a\x9a\x1b\x21\x67\x30\xca\x9c\x44\x99\x93\x28\x73\x12\x65\x4e\xa2\xcc\x49\x7b\x51\x32\x48\x17\x6c\xbd\x50\x54\xa6\x69\x48\x09\xae\xc8\x35\xf9\x84\x5c\x93\x29\x9b\x19\x65\x33\xa3\x6c\x66\x94\xcd\x8c\xb2\x99\x51\x36\x33\xca\x66\x46\x11\x3b\x14\xb1\x43\x11\x3b\x14\xb1\x53\xdf\x91\x54\xa6\x89\x52\x27\x52\xea\x44\x4a\x9d\x78\xe0\xa9\x13\x1b\x79\x3a\xa2\xe0\x29\x0a\xaf\xfe\xc2\xde\xcb\x34\x35\x72\xba\x03\xae\xd5\xd4\x8a\xc8\x6e\x2a\xd8\xf4\x3c\xf2\x9a\xaa\x36\x51\xd5\x26\xfc\x89\xaa\x36\x91\xef\x01\xf9\x1e\x90\xef\x01\xf9\x1e\x90\xef\x01\x91\xda\xc4\x73\xae\x9f\x11\xe2\x39\x89\xe7\x24\x9e\x93\x78\x4e\xe2\x39\x4f\x98\xe7\x24\xea\x81\xa8\x07\xa2\x1e\x88\x7a\xa0\xaa\x4d\x54\xb5\x89\xaa\x36\xf9\x5f\x5a\x47\x3d\x96\xe6\x7b\x2a\xdd\xd4\xf0\xd8\xfe\x79\x20\xaa\xdf\x74\x0a\x79\xd7\x7a\xab\xdf\xd4\x8e\xd8\x6b\xae\xe1\xb4\x8f\xb8\xd4\xde\x73\x65\x54\x06\xd5\x4e\xd8\x51\x90\xd4\x11\x04\x49\x51\xc2\x0c\x4a\x98\xd1\xd0\x99\x21\xe3\xb1\xc3\xc8\x9a\xb1\x4d\x7f\xf7\x5a\xd7\x69\xf3\x0e\x1f\x13\xd8\xed\xb7\xb8\xd3\xb6\x60\xf7\x05\xdb\x2a\xe3\xc7\x8e\xcb\x3c\x6d\x9e\xec\x83\x52\x7c\x34\x8d\x86\x10\xd4\x21\x22\x28\x0a\xaa\x3e\xa1\xa0\x6a\x8a\x1e\xa3\xe8\x31\x8a\x1e\xa3\xe8\x31\x52\xfe\x96\x9d\xa2\x41\x86\x6a\x50\xbd\xa7\xc1\x28\x5a\x7d\xd7\x7b\x1a\x5e\x7c\x49\x43\xd1\xa7\x56\x0a\x53\x53\xe5\xa7\x25\xea\x12\x49\x0f\xb2\x6c\xec\xa5\x06\xd4\x3e\x58\xbc\x6a\x21\xa8\x65\xdf\xa7\x6a\x50\xcd\x63\x26\x56\x92\xaa\x41\xf5\x51\x0d\xaa\xd5\x85\xd6\x58\x12\xea\x98\xb8\x54\xaa\x0b\x45\x66\xc1\xd3\x23\x56\xa9\x2e\x54\x97\xfb\x86\xea\x42\x91\x35\x85\xf4\xa1\x86\x79\x3c\x90\xe2\x50\xcf\xd7\x88\x76\x53\x21\xaa\xa5\x09\xa2\xb1\x4c\xd4\x31\x61\x36\xf2\x7f\x23\x98\x76\x12\x30\x6d\x40\x68\x88\x2e\x6d\xff\x0b\xf9\xbf\xf9\xa6\x8f\x0a\x64\xf4\x59\x3a\x6a\x17\xde\x64\xee\x16\x4a\xf2\x47\x15\x15\xb1\x08\x22\x2e\xe3\xfd\x94\x92\xba\xf6\x5d\xf9\x1b\x74\xe5\x9d\xe9\x4a\x4b\x47\xb3\xa6\xaa\x52\x6b\xdb\x23\xef\x33\x4a\xf2\x44\x49\x9e\x28\xc9\x13\x25\x79\xa2\x24\x4f\x7b\x51\x4a\x48\x77\x6c\xbd\x50\x54\x60\x6a\x48\xb9\xb8\xc8\x17\xfa\x84\x7c\xa1\x29\xf1\x1a\x25\x5e\xa3\xc4\x6b\x94\x78\x8d\x12\xaf\x51\xe2\x35\x4a\xbc\x46\x21\x42\x14\x22\x44\x21\x42\x14\x22\x54\xdf\x91\x54\x60\x8a\xb2\x3c\x52\x96\x47\xca\xf2\x78\xe0\x59\x1e\x1b\xd9\x3b\xa2\xec\x29\xec\xaf\xfe\xc2\xde\x0b\x4c\xad\xa3\x77\x07\x5c\x6b\x6a\x53\xa6\xbb\xa9\xec\x54\x67\xec\x36\x55\xa0\xa2\x0a\x54\xf8\x13\x55\xa0\x22\xe7\x04\x72\x4e\x20\xe7\x04\x72\x4e\x20\xe7\x04\x62\xbd\x89\x08\x5d\x3f\x23\x44\x84\x12\x11\x4a\x44\x28\x11\xa1\x44\x84\x9e\x30\x11\x4a\xdc\x04\x71\x13\xc4\x4d\x10\x37\x41\x15\xa8\xa8\x02\x15\x55\xa0\xf2\xbf\xb4\x8e\xa0\x6c\xb4\xe4\x53\x31\xaa\x86\xc7\x06\xc5\x19\x51\x5d\xaa\x53\xc8\x00\xd7\x5f\x5d\xaa\x4d\x49\xc0\xe6\x12\x55\x7b\x0e\x72\xed\x3d\x5b\x47\xf3\xf8\xda\x09\x46\x0a\xbe\x3a\x82\xe0\x2b\x4a\xdc\x41\x89\x3b\x1a\x3a\x73\x20\x30\xee\x30\x72\x78\x3c\xb3\xeb\x7b\x2d\x67\xf5\xac\xbe\x1f\x13\x72\xee\xb7\xb2\x55\x07\xc8\xf9\x05\x7b\x6e\x5a\x92\x5d\xd7\xbb\x7a\x4e\x46\x92\xc1\x40\xb4\x03\xc9\x43\x42\x70\xac\xba\xc8\x83\x85\x63\x14\xf9\x7d\x42\x91\xdf\x14\xe2\x46\x21\x6e\x14\xe2\x46\x21\x6e\xa4\x49\x2e\x3b\x45\x43\xd4\x24\x49\x1d\x1b\x82\x3a\xd6\x77\xfd\xab\x41\x87\xbf\x34\x94\xc2\xda\x54\x97\x6a\xaa\x8a\xb5\x5e\x93\x22\xc1\x42\x87\x73\xdf\xb5\xb2\xf6\x4c\x32\x56\xcb\x66\xb5\xe8\x0a\x55\xd0\x6a\x1e\x33\xf1\xa7\x54\x41\xab\x8f\x0a\x5a\x9b\xde\x83\x8d\xc5\xb4\x8e\x94\xf5\xa5\xba\x5a\x64\x68\x3c\x3d\xde\x97\xea\x6a\x75\xb9\x6f\xa8\xae\x16\xd9\x67\x48\x8d\x3a\x8a\x12\x5b\x9d\x2a\x52\xbb\xa9\xb6\xb5\xb9\x95\xa3\xb1\xf0\xd6\x91\xe2\x3b\xf2\xea\x23\x74\x77\x6a\xe8\x6e\x40\x20\x8a\xee\x7a\xff\x0b\x79\xf5\xad\xe9\xfa\x51\xc1\x94\x3e\x8b\x74\x0d\xc9\x31\xee\x52\x63\xde\xb9\x8a\x7f\x5c\x3f\xd4\x0e\x7e\xc7\xdd\x60\x3b\x20\x79\x6c\x42\x3d\x92\x5b\x74\xf8\x89\xea\x21\xaa\x87\xa8\x1e\xa2\x7a\x86\x48\xf5\x74\x75\x2f\xb6\x27\x7d\x1a\x2e\xc6\x83\x34\x0d\x10\xf5\x43\xc6\x81\xd3\x33\x0e\x10\xf5\xd3\xe5\xbe\x21\xea\x87\xcc\x41\xa4\x56\x11\xf5\x33\x3f\x4d\xfd\x51\x3f\xdd\x59\x41\xda\x93\x40\xc7\x82\xf7\x88\x0a\x22\xb4\x77\x6a\x68\x6f\x40\xa0\x8a\xee\x7e\xff\x0b\x51\x41\x6b\xba\x7e\x54\xb0\xe5\x98\xa8\x20\x15\xea\x1d\xa5\x42\xa8\x04\x85\xaa\x31\xbb\x56\xe1\x0a\x34\x53\x4d\x82\xf0\xce\xbf\x57\x81\x35\xf3\x6f\x53\xf2\x03\xaa\x73\x42\x75\x4e\xa8\xce\x09\xd5\x39\xa1\x3a\x27\x7b\xd1\x3f\x48\x4d\x6c\xbd\x50\xfb\x54\x13\xa9\x1c\x0d\xa5\xe2\x39\xe1\x54\x3c\x54\x7b\x88\x6a\x0f\x51\xed\x21\xaa\x3d\x44\xb5\x87\xa8\xf6\x10\xd5\x1e\xa2\x0c\x75\x94\xa1\x8e\x32\xd4\x51\x86\xba\xfa\x8e\xdc\x69\x89\x2d\x2a\x74\x36\x84\x55\xa0\x42\x67\x54\xe8\xec\xd8\x0a\x9d\x35\x32\x73\xc4\xce\x6f\x48\xd3\x59\x57\xa9\x13\x64\xb9\xf1\x2e\x2e\x71\x52\x8f\x94\xb7\x0a\xb7\xf4\xca\xeb\x3c\x30\x11\xcd\x60\x99\x55\x9d\x1d\x5e\x57\x63\x66\xfa\xba\x86\xb3\x36\xef\x2e\xb8\xdf\x6d\xc7\x53\xd7\x7a\x05\x28\x0c\xca\x11\xfe\xa8\xd4\x43\xcc\xb3\x07\x5d\xfa\x74\x63\x57\xc1\xf0\xa2\xad\x79\x68\x96\x1a\x1d\xe2\xc7\x2f\x5f\x7e\xf9\x7c\xf5\xf5\x97\xbb\xb3\xd2\xf4\x81\x28\x4b\x01\x54\x95\x71\x1a\x09\xb0\x71\xdc\xfb\x56\x0d\xae\x90\x93\x04\x4d\xbf\x06\xfc\x46\x7c\x02\xb0\xb3\x7c\xc4\xa8\x99\x55\x15\x11\xed\x09\x2f\x35\x0b\xa5\x0e\x32\x61\xfa\x5c\x92\x46\x15\xb2\xc3\xda\x35\xe6\x1b\xf2\x96\x06\xa3\x42\x1b\x75\xdd\x01\x5a\x23\xf2\xb2\x47\x1e\x8d\x58\xa2\x90\xcf\x05\x45\xd8\x1b\x47\xea\xf6\x35\x60\x14\x67\xcc\x8d\xd9\x1a\xa2\xbc\x1a\xac\x85\x86\x42\x8a\xde\xc2\x6c\xed\x25\x96\xca\x9a\xd3\xea\xcc\xaf\x30\x05\xa1\xa7\x48\xc7\x82\xe7\x46\x19\x9f\xf0\x5c\xb0\xda\x42\xd8\x96\x44\x62\xd0\x36\xda\x1d\x52\x59\x72\xb7\x4d\xcd\x6e\x71\x51\x34\x6c\x81\x3d\x69\x54\xe4\x66\x40\x6e\x06\xe4\x66\x40\x6e\x06\xe4\x66\xd0\x24\x7c\x89\xbf\x3e\xa0\x19\x21\x4a\x93\x28\x4d\xa2\x34\x89\xd2\x24\x4a\x93\x28\xcd\xe3\xa2\x34\x89\x65\x20\x96\x81\x58\x06\x62\x19\x7a\x67\x19\x36\x60\xe2\x51\x99\x53\x99\x0b\xae\x34\xcb\x8f\xcc\xb1\x79\xee\x1e\x2e\x31\x5c\x54\x64\xba\x2d\x3a\xc9\xa7\x22\xc6\x6b\x4b\xe7\x99\xe0\x31\x4c\x4f\x18\x8e\xec\xc5\x30\xb2\xcf\xc6\xea\x11\xb0\x4f\x45\xbd\x63\x37\x00\x57\x66\xf5\xad\xbe\xcd\x14\x3e\xad\xda\x60\x87\x9f\x39\x61\xe9\x0b\xe6\x63\x3f\xe0\xc4\xff\x65\x71\x0e\xda\xb4\x3d\xff\xf6\xb0\x89\xa0\x32\xd6\x51\x85\x9f\xa4\xce\x4f\x91\xf7\x31\xf2\x6b\x88\x5c\xcf\x16\xa9\xed\x28\xff\xdb\xc1\xe5\x7f\x53\xba\x63\x46\x0f\xb5\x30\xc6\xd7\x90\x77\xf8\x58\x47\xf4\xdd\x50\xb3\x64\xa8\x90\x72\x62\x9c\x4e\xb0\x13\xe5\xc4\xa0\x9c\x18\x0d\x9d\x19\x24\xd8\x3a\x90\x0c\x18\x9b\x74\x74\xbf\x15\x74\xdb\xf7\xf4\x98\xb0\x2b\xc0\x87\xe1\x60\xd7\x17\x6c\xb3\x44\x1c\x36\x03\xfb\x8e\xf2\x71\xac\x83\x44\xd5\x1c\x1c\x94\x79\x63\xee\xeb\x04\x88\x0e\x11\x10\x51\xac\xf3\x09\xc5\x3a\x53\x50\x17\x05\x75\x51\x50\x17\x05\x75\x91\x2e\xb7\xec\x14\xed\x5f\x97\x23\x15\x69\x5f\x61\x1d\x03\x52\x92\xbc\xed\xb7\x9f\x2a\x53\xf3\x98\x69\xb5\xc6\xd3\x58\x49\xaa\xa6\xef\xd0\xf1\xa7\x43\xb5\xe3\xfa\x50\xbb\xa4\xcc\xe6\xaa\x41\xd5\x3f\x4c\xb5\x9f\x9a\xc7\x4c\xdc\x1f\xd5\x7e\xea\xa6\xf6\xd3\x26\xb7\x55\x73\x7d\xa7\x63\x60\x2c\xa9\x8e\x13\x19\xed\x4e\x8f\xc5\xa4\x3a\x4e\x5d\xee\x1b\xaa\xe3\x44\xb6\x0e\x52\x76\x0e\xb1\x6a\xd3\xf6\xea\x4e\x5f\x35\x9a\x36\xb3\x21\x34\xd7\x61\x3a\x06\x5c\x46\x9e\x64\x84\xc1\x8e\x1b\x83\x0d\x08\xea\xd0\x8d\xec\x7f\x39\x69\x4f\xb2\xa3\x82\x0e\xbd\x56\x4e\xda\x91\x7b\xd6\x25\xcf\x73\x3e\x67\xa9\xea\x9e\xba\x08\x54\x92\x88\x20\x67\x7f\xfd\x70\x5b\x6a\x7d\xb9\x62\xf8\xe9\xf5\xf5\x93\xec\xfb\x88\x42\xfe\x2a\xf2\x39\x20\x72\x85\xfd\x6f\x21\x56\x96\x76\x77\x67\x47\xbf\x26\x41\x4f\xf0\xcc\xd8\xa5\xec\xf5\xdc\xe0\x8e\x70\x2e\x71\x3b\x23\x1b\x5c\x2a\x29\x2e\x13\x03\x2c\x12\x9b\x0e\x07\x92\x1c\x89\xa0\xc8\x5d\x8e\xa7\x38\xe6\x49\xcd\xbb\xa9\x8a\x00\xcc\xbb\x80\xce\x32\x50\xf8\xe1\x27\x95\xd4\x9a\x86\xec\x0b\x6a\x63\x8b\xb7\x6f\xa3\x1b\xa3\x77\x3b\x13\x7e\x8d\x84\x59\xb1\x3a\xc4\xc8\x34\x8f\x79\x50\x8c\xcc\x4d\x1e\x8a\x0c\xf7\x68\x56\x88\xba\x9a\xa3\xed\xaf\xb0\xad\xef\x8d\x86\x81\xfa\x8a\x28\x7d\xfe\xac\xd4\xc7\x70\xe2\xea\x29\x80\x2c\x18\x1b\xee\x68\xfc\x5e\xf3\x76\x6e\x32\x1d\x75\x33\x01\x32\x71\xe3\x1f\xf9\x11\x62\x38\xb4\xce\x79\x12\xf2\x2c\x64\x32\x49\x8b\xbc\x12\xe4\x6b\x4f\xac\x9d\x05\xa9\x1b\xc6\x0f\xee\x75\x5b\x4c\x80\x4c\x76\x3d\x7e\x55\xe4\x2b\x36\x80\x42\x72\x6e\x67\x1b\x40\x15\xf9\x4e\x27\xe0\xf6\xf6\x3f\x96\x8d\x9e\xb3\x3c\x9f\x95\x7e\x90\x51\xa4\xd0\xe7\xb2\x71\xe8\x2e\xb7\x49\xca\x8d\x16\xcd\xf2\x69\xa6\x8a\xc9\xd4\x27\xa2\x41\x61\x9f\x15\x09\xe4\xf8\xd0\x18\x5e\x6e\x9a\x97\xba\xd2\xb2\x4d\x50\xf4\xa4\xb2\x07\x91\xb1\x44\x85\xc2\x39\xef\x2d\xb4\xd1\xc1\x6e\x5b\xca\x97\x6e\x3c\xd5\xf6\x5f\xbd\x06\x4b\x5a\xd8\x79\xfd\xe5\xa6\x03\xdc\x79\xad\x34\x01\x4f\x02\x9e\x3d\x01\xcf\x6d\xb5\xb7\x7b\x23\x80\x92\x49\x55\x7d\xdb\x02\xba\x92\xe5\xb2\x95\xf4\x6b\xb0\x5a\xf6\x0c\xb6\x4e\xd4\x56\xb9\x7e\x29\x96\xda\x29\x77\xa8\xcc\xfc\x68\xcf\x1e\xe9\x30\x87\xa6\xc3\x1c\xae\x57\x59\x5f\x19\x25\xec\x3d\x82\xf9\xee\xb6\x4c\x2e\xb1\x78\x1e\x0e\x9d\x19\x74\x23\x5a\x8e\x97\x1a\xa7\x98\x78\x8d\x67\xce\xea\x80\xb8\x8d\x8d\x3b\xbb\xd7\x30\x90\x0d\x7b\x7b\x4c\x00\xbf\xdf\x68\xf9\xc6\xbb\xbe\x2f\x50\x2f\x1e\xa5\x1b\x16\xa1\x7a\x42\xf5\x84\xea\x77\x89\xea\x3f\xb8\xc3\x47\xb0\x9e\x60\xfd\xa1\xc3\x7a\x77\x93\x3c\x0b\xd7\x37\x9c\x88\x43\x05\xf6\x36\xf8\xfc\xf1\xed\xbd\xc8\xf9\xdb\x0b\x3f\x32\x02\xf8\xfb\x99\xdd\x01\x00\xfd\x67\x77\x7a\x2f\x80\xff\x99\xbd\x26\xe0\xef\x1f\xf7\xc0\x3f\x5d\x4c\xb9\xe0\xe1\x7f\x33\x28\x98\xc3\xff\xb0\x10\x5d\x2a\x01\xdf\x44\xb0\x17\xaf\x2c\xf3\xe1\x67\xfa\x64\x7d\x30\x7d\x27\x62\xec\x20\x8e\xcf\x2e\x88\x31\xb3\x1f\x76\xee\x8f\xf5\x0e\x3d\xad\xc0\x15\x01\x74\xcb\x58\xe5\xde\xff\xaa\xe2\x96\x75\xc1\x78\x36\x79\x64\x3c\xcb\xf8\xec\x82\xfd\xaa\x72\xf7\x03\xaa\x61\x46\x93\x65\x7a\x2a\xa2\x68\x73\x6f\x2b\xf8\xd4\x2e\x15\x99\x77\xe4\x7f\xb6\xce\xff\x6c\xe9\x5e\x24\x15\xaf\x79\xcc\x83\x52\xf1\xbe\x5a\x77\xa2\x79\x67\x2b\xb4\x33\x6d\xe4\x6c\x75\x20\xce\x66\xcd\xe3\x3d\x5e\xe7\xb2\xe6\xf1\x5a\x25\x7e\x17\x0b\x7c\x40\xce\x64\x00\xd4\x3a\x5a\xe9\xe3\x70\xec\xda\x02\xba\x2e\xb8\x75\x11\x76\x25\xec\xda\x09\x76\xdd\x56\xf1\x8b\xd4\xa4\x57\xbd\x0f\x12\x89\x45\xca\x93\x2e\xcf\xcc\x27\xf6\x49\x4d\xda\x1c\x97\x5c\x7c\xcb\x2f\xd3\x88\xd7\xef\x93\xe3\x36\x99\xd1\x11\x3d\x9e\x64\x62\xf3\xf1\x3d\xe6\x12\xf6\x0a\x96\x05\x26\x91\x9a\xe8\x0d\x14\xab\x03\xd6\xa9\x7e\x52\x3e\xeb\xaa\x91\x24\x0b\xc0\xac\x03\x44\x32\x86\x4f\xec\x14\x8b\xc9\x44\x8b\xa0\xc8\xc4\xcd\x83\x4c\x6f\x3f\xdd\xfc\x4d\x64\x72\x3c\xfb\x91\x07\x0f\x22\x09\xeb\xe0\x0c\xc8\xd9\x54\xda\x62\xad\x15\xfe\x1c\xaa\xd3\x67\xb1\x2b\xba\x2f\x43\x28\x7a\x37\xf6\x25\x87\xa1\x56\xab\xc8\x6c\x69\x37\xaf\x99\xde\xbb\xcf\x00\x57\x65\x2f\x36\xcc\xf5\x72\xc1\x30\x54\x00\x90\x60\xcc\x1f\x50\x91\xff\xf9\xf6\xf6\xfa\xc6\x3f\xa8\x12\x76\x2f\xf2\x27\x61\x59\xaf\xb2\x67\x2e\x21\xaf\x6f\xdf\x8e\xd1\x86\x1f\x60\xa6\x98\xf9\x57\x02\x9e\x98\x81\x3c\xc2\xf0\xfd\x1a\x43\xe5\x63\xec\x1d\xd6\x4a\x85\x81\x18\x05\xd4\x67\x77\xce\x04\x8f\x98\x39\xdf\x91\xc8\x2f\x98\x2b\x95\x6f\xff\x60\x87\x05\x95\xfb\xb1\x1c\x64\xe5\x03\xfe\xe3\x2f\x35\xbb\xfd\x74\xc3\x82\x4c\x40\xf5\x5a\x1e\x69\xa8\xa5\x1f\x2a\x81\xf5\x73\x4d\x7f\x5d\x74\x83\x1b\xb8\xad\xbc\x57\xfd\xba\xf9\xd8\x63\x11\x25\x22\x03\x22\x1b\x12\x88\xc7\x3c\xf1\x99\x8b\x65\x18\x46\x36\x1a\xe3\x81\xbd\x12\x17\x93\x0b\xc6\x13\xfb\xdf\x66\x06\xfc\x6a\xca\x24\x17\x59\x20\xd2\xdc\xb1\xf1\x05\x8f\xca\xe9\x08\x54\x3c\x57\x28\xbf\xda\x85\xd7\x9b\x6e\xf8\x55\xbb\x6f\xa7\xc7\xe0\xe3\x18\x13\x46\x43\x89\x6a\x5f\x6c\xfb\x7e\x96\xbb\x42\xdb\xbc\x92\xd1\xdb\xee\x19\x97\x75\x1e\x8a\x81\xf2\xdc\xfa\x26\x20\xcc\x00\xe5\xcd\xed\x37\x3e\x83\x79\x0d\xa5\x4e\x23\x3e\x83\x2a\xae\x71\x0a\x29\x9a\x21\x8b\x34\x8b\x64\x02\x67\x22\x52\x93\x89\x74\xfe\x09\x95\x1a\xd8\x3a\x92\x93\x69\x1e\xcd\xb0\xee\xb2\xd1\xfa\xdd\x1f\x4a\x57\x87\x79\x54\x03\xc5\x2a\x37\x5d\x0c\x78\xe9\x47\x33\xe4\xe6\xa9\x6f\xca\xf7\xde\xbd\xad\x8a\x0c\x54\x07\x67\xa0\x3a\x14\x1f\x84\xb6\xe6\x18\x38\x74\x69\x26\x1e\xa5\x2a\xb4\x3f\xdf\x22\xac\x60\x97\x45\xd8\xb3\xd5\x85\xef\x3e\xb2\x53\x59\x77\xc5\x32\x11\x61\xe1\x0b\x08\xb3\x6b\x2e\xa4\x11\x14\x59\x06\xb5\xc3\xa5\xbb\xee\x4a\xe8\x37\x55\x4f\x76\x06\xe6\x6b\x60\xa4\xe6\x96\x0c\x85\x2e\xcb\x74\x73\x30\x59\x3d\x71\xcd\x74\xce\x33\x28\xa6\x0e\xf8\xd0\xbc\xcd\xb4\x4c\x6c\x6e\x26\xf3\x10\x3c\xe0\x4d\x3f\xbe\x6e\xf7\x62\x99\x0d\x97\x77\xbe\xc8\x8b\x4c\x40\xc1\x76\x68\x6d\xf1\xcd\x2f\xce\x8e\xaf\xc6\xf8\x2d\x5b\xd0\x02\x44\xa8\xf9\xef\x5b\xd3\x45\x57\x2f\xc0\xd7\xd4\xd8\xd4\x80\x56\x69\x79\xa7\x82\xb3\xf9\xce\x8a\xa0\x30\xb5\xbf\xab\x0c\xfe\xb1\xc2\x15\x66\xc9\x2e\x1f\x4c\xeb\x5c\x29\x91\x11\xfe\xce\x33\x01\x0f\x24\x65\x13\xe0\x24\x53\x2d\x77\xec\x4f\x81\x9b\xc7\xa6\x79\xdd\xd4\x18\xc7\x65\xf4\xc9\x74\x7d\xd7\x53\x88\x11\xcd\x3c\x0c\x0d\x1a\xfa\xfa\xd3\xbb\x3f\xfd\xe9\x4f\xff\xaf\x19\x88\xfd\xe7\xaf\x3c\x51\xb0\x95\x75\xce\xe3\xd4\x95\xa0\xbf\x17\x13\x99\x24\xd6\x8b\x53\x60\xad\xfc\xf2\x12\xf7\xd7\xff\xf3\x4d\x94\xee\xc3\x5d\x49\x08\xfb\xaf\xbf\x6f\x6b\xa8\x49\x55\x96\x8f\x55\xf6\xc4\xb3\x70\x2f\x44\x7d\xe5\xfb\xcf\xe4\xeb\xaf\x2b\x23\x21\xd3\xe7\x41\xd8\x55\x76\x61\xfa\x34\xdb\xe2\x27\xdc\x16\x3b\x67\xef\x6b\x48\x78\x5d\x57\x08\x1b\x37\x8f\x79\x50\xd8\xf8\x93\xd4\xb9\x59\x53\x23\xb8\xf0\x1e\xb0\xd2\xeb\xab\xcb\x0e\xfc\x64\x20\x73\x01\x21\x01\xbf\x8b\xfb\x1b\x15\x3c\x88\xe6\x51\xaf\xc2\x91\xa6\xf5\x8e\x6e\x4e\x77\x45\xec\x83\xcc\xda\x5e\xbc\x2f\x70\x5a\x24\xdf\x49\xbe\xbb\x3f\x77\x28\xdf\xb7\x06\x4e\x99\xfa\x36\xeb\xbb\x2e\xa8\x3b\x57\xef\x3f\x7c\xfa\x70\xfb\x61\xfe\x64\x99\xef\x6f\x78\xa6\xb0\xce\xe6\xfc\xa9\x82\x61\xd0\x79\xa2\xf3\xe4\xce\x93\xd9\x10\xcf\x43\x4a\xbb\x53\x1e\xb6\x38\x03\x0b\x6a\x03\x1d\x00\x3a\x00\x1d\x1f\x80\xa9\xe0\x61\x3f\x27\xe0\xe7\x0f\x57\xef\x9f\x7d\x04\x7e\x16\x3c\xa4\x33\x40\x67\xa0\xd7\x33\xa0\xec\xdb\xbd\x1c\x83\x2f\xd7\xb7\x1f\xbf\xfc\x7a\xf3\xec\x93\x60\x87\x48\x87\x81\x0e\x43\xaf\x87\xa1\x03\xdb\xd1\xd2\x4e\x90\xd5\xa8\x79\xcc\x83\xb2\x1a\x5d\xf3\x7c\xea\x82\x78\x7e\xfb\xfa\x89\x99\xae\x1b\xa1\x55\x68\xe1\x5d\xa1\x1d\x41\x87\x82\xcc\x8a\x36\x34\xa2\x6c\xce\xb2\x2e\x4c\xcd\x3e\x8a\x02\x6e\x6c\x3e\xba\xba\x7d\xf7\xf3\xb3\x85\x3a\xd4\xc8\x22\x91\x4e\x22\xbd\x5f\x91\xbe\x43\x23\xea\x36\x87\x60\xc1\x7c\x4a\x67\x80\xce\x40\xd7\x67\xa0\xeb\xf2\x5e\xfe\x08\xfc\xd6\xc1\x09\x28\xe8\x00\xd0\x01\xe8\xe5\x00\xbc\x60\xcf\xe0\x0c\x2e\xff\xdb\x80\xb3\x7f\x1e\x09\x75\xf0\xbb\xcc\xa7\xd7\xf3\x60\x93\x0e\x16\x1d\xac\xd3\xa3\x10\xe8\x20\xd0\x41\x60\xdd\x1f\x84\x83\xa4\x12\xe8\x2c\xd0\x59\x60\xdd\x9f\x85\xc3\xa6\x14\xe8\x50\xd0\xa1\x60\x3d\xe8\xe0\x44\x2d\x9c\x36\xb5\xe0\xa8\x04\x8c\xdd\xd4\xaa\xc8\xea\x7d\x5b\x37\xa4\xc5\x5f\x88\x28\x39\x61\xa2\x84\x2e\x2a\xba\xa8\x58\x0f\x17\xd5\x21\x12\x26\x74\x16\xe8\x2c\xb0\x1e\xce\xc2\xc1\x11\x27\x74\x10\xe8\x20\xb0\xce\x0e\xc2\x0b\xb6\x1d\x81\xa2\x73\x9e\x17\xba\xff\xcc\x62\xf8\x9d\x8e\x92\x8b\xdd\x60\xa7\x5b\x1c\x9c\xe3\xce\x23\xd6\xba\x00\x94\x99\xe5\x13\x3c\xb2\xc7\x93\x65\x8c\x32\xc0\x1c\xba\x51\xe1\x50\x32\xc0\xd8\x7f\x6d\xa5\x74\xd7\xa5\xed\x39\xbc\xfb\x6f\xab\x05\x6f\x2c\xb2\x89\x68\xf5\xa4\xce\x33\x9e\x8b\x89\x0c\xce\xdb\xbf\x63\xfe\x3d\xb3\x4f\x82\x88\x6f\x73\x63\xa5\x3c\xcb\x25\x8f\xa2\x19\x2b\xd2\x90\xe7\x62\xcb\xdb\x0b\xbe\xda\xee\xfa\x3a\xc8\xba\x39\x31\x0f\xa6\x32\x11\xd9\xec\x22\x7d\x98\x98\x3f\xe8\x8b\x58\xe4\x1c\x2e\x1c\xd8\x34\xed\xae\x9c\xd5\x77\x0d\x95\xab\xab\x2e\xfd\xa2\x10\x58\x5d\xb2\x6e\xb5\x20\x58\x2d\x0a\x36\x5a\xa6\xd3\x29\x5e\x87\x19\xeb\x60\xbc\x98\xf5\xd0\x26\x29\x30\xb7\x16\x48\x9b\x52\x5d\x7c\xb5\x44\x12\xbd\x66\xf7\x45\xce\x90\x7c\xe3\x11\xbc\x99\xa8\xe4\x1c\xdf\x86\x27\x98\x59\x35\xcd\x5e\xfd\x6f\xad\x12\x38\x4b\x23\xf6\xd9\xc8\x3c\xfb\xef\x1b\x27\x09\xcb\x3f\xd6\x12\x0b\xb6\xdb\x31\x4b\x2b\xeb\xed\x6c\xdf\xfc\xa4\xb2\x00\x52\x56\x4d\x14\xa6\xb5\x64\x77\x67\x63\xf3\xb7\xbb\x33\x76\x35\x37\x9b\x17\xec\x63\x6e\x13\x53\x16\x5a\x64\xee\xa0\x9e\xf3\x00\x16\x00\xb2\x48\x46\x12\xb3\x63\xc2\xb8\x34\x53\x4f\x76\x6d\x15\x1e\x55\xa1\xd2\x48\x5c\x30\xfc\xe6\x38\xe2\x13\xbf\xa7\x8a\x44\x8b\xbc\x71\x21\xfc\xe7\xb7\x99\x5e\x55\x67\x0e\xd6\x24\x26\x5a\x3b\xb1\x8d\xb7\x17\x29\x3f\xa4\xfc\x34\x14\xc0\x82\x2b\x78\x88\xea\x4f\xd7\xa6\xba\x4c\xa4\x11\x0f\xb6\x45\x69\xf6\xed\x23\xc6\x69\x5b\x9c\x04\xc2\x64\x84\xc9\x0e\x08\x93\x0d\x08\xfa\xd0\x0d\xed\x7f\xe9\xe3\x86\xde\x6f\xd9\xff\x53\x85\x12\xc5\x90\xec\xa8\x2f\xd8\x46\x54\x47\x2e\xe2\x34\x32\xd7\x53\xdf\xf1\x21\xd8\x26\x0b\x54\x14\x09\x5f\x5e\xf9\x5a\x85\xb7\xb6\x03\x2b\x30\x08\xbe\x8a\x10\xe4\x9d\x7f\x7f\x0e\x8c\x34\xb5\xd2\x2f\x1c\xe9\xc5\x30\x84\x51\x2f\x8e\xe2\xea\x02\x8c\xb8\x02\x1c\x32\x29\x84\xd5\xa9\x1d\xea\xb8\x17\xcc\xa8\x75\x90\x3e\x30\x13\x79\x26\x05\x94\x27\x80\x1c\xf1\x08\x27\x74\x3d\x65\xfd\x05\xbb\xb1\x29\x97\xab\xf9\x94\x6d\x3a\x7b\x7b\x33\x8d\x58\x10\x49\x91\xe4\x98\xb7\x1e\x2e\xb5\x42\x0b\x9f\xf8\x17\x3a\x82\xaf\x42\xe3\xbc\x4c\x94\x0d\x37\x92\x43\x32\x70\xf9\x4a\x28\x68\x10\xf0\xc8\xfe\x56\x2e\x29\x7b\x25\xbe\x41\x89\x01\xe7\xa4\x85\x4d\xaa\xb1\xff\xc8\x6b\x5f\xc6\xc1\xf6\x0f\x13\xe2\x83\x81\x9d\xd7\xbb\x52\x2d\x97\xe0\xb1\xd6\x85\xab\xc6\x50\x82\xe5\xfa\x6b\x1a\xb3\x47\x27\x06\x43\x20\x5c\x7b\x9a\x0a\x40\x59\x61\x21\xb0\xba\x56\x2a\x71\x2f\xb3\x57\x13\x91\x88\x0c\x0c\xa7\x63\xc8\x9d\xad\xd8\x58\x8e\x73\x21\x12\x16\xcb\xa4\xc8\x85\x7e\x6d\xf0\x01\xf7\x15\x1f\xf0\x35\xc4\x15\x4c\x25\x95\xb1\x8c\xaa\xe3\x72\xf8\x2f\x55\x89\xc5\x2c\x9c\xfd\xf9\xed\x1b\xf6\xd5\x3a\xe7\x7d\x30\x5d\x10\xae\xe0\x5f\xae\x26\xd8\x41\xfb\xa4\x1f\x51\xae\x1e\x44\xe2\x87\x8c\x6b\xc8\x12\x21\x42\x8d\x4f\x01\x34\x4d\x72\x16\x49\x9d\x43\x7d\x09\x40\x37\x99\xc0\xb4\xdb\xf9\x54\xc8\x0c\x7e\x83\x86\x55\x91\xcf\xaf\x38\x00\x8a\x0b\xf6\xc5\x7c\xfa\x49\x6a\x31\xaa\x7e\xc5\xac\x8c\x16\x49\xc8\x78\x82\xb6\x08\x68\xc7\x39\xda\x79\x18\x06\x3d\xb4\x85\x34\xaa\xf0\xcc\x0c\x16\x06\xb7\x76\x5a\xa0\x5d\xe8\xf0\x5c\x09\x8a\x44\x7c\xcb\xd9\x83\x98\x8d\xc0\xf2\xe4\xff\x0c\x72\x31\x67\x3a\xe1\xa9\x9e\xaa\x7c\x64\x13\x98\x43\x06\xf1\xca\x84\xf8\xe7\xfd\x46\xb6\xdd\xc7\x23\x74\xce\x90\xd5\x71\x05\xea\x32\x9b\x10\xdb\x9c\x14\xd4\x06\x20\xa9\xb9\x39\x3f\xe6\xf0\x87\x8c\x8f\x73\x81\x7b\x7a\x2c\x33\x9d\xd7\x27\x03\x51\xb7\x4c\x82\xa8\x08\x45\xe8\x92\x99\x3b\xd8\x02\x18\xd1\x6c\x48\xf3\xbf\xb8\x28\x0f\x62\x86\x69\xb9\xcb\x86\xef\xce\xdc\x90\xef\xce\x2e\xee\x92\xbb\x64\xde\x6a\x07\x79\xbd\x8b\x34\x55\x59\xee\xf2\x8b\x3e\x81\xb9\x47\x6a\x2c\x11\xc8\xde\x55\x8e\x38\x6e\x00\x6e\x1f\xa9\xcc\x1e\x4e\x02\xec\xc1\xbf\xe1\xad\x65\x8f\x8d\xcb\xb0\x6e\x40\x6c\x65\xc5\x50\x4f\xc9\x59\x2c\xb5\x66\x3c\x99\xcd\x2b\x4b\xdb\xc0\x58\xb7\xfd\xf6\xa3\x61\x90\x22\xd8\x7a\xa1\xf6\xa9\x08\x5e\x31\x2d\x0c\xa6\x00\xe1\x08\x02\x2d\x93\xb6\x98\x66\x64\x93\xef\xfa\x0d\xeb\x8e\x32\x6e\x5c\x99\x59\x5b\xea\x7c\xa6\x76\xc8\xe7\x9e\x4f\x65\x32\xd9\x5a\xf5\xba\xb1\x3d\xda\xcf\x8c\x18\xd0\x10\xba\xfb\xa7\xb9\xba\x83\x65\xaa\x4b\x28\x61\xa5\x17\x6c\x9d\x8a\xea\x9b\xa8\xe4\x3c\x11\x13\xac\x16\x61\x53\x09\x57\x55\xe4\x7f\x88\x4c\x55\x8e\x86\x45\x89\x32\x8e\x45\x68\x94\xf0\x68\xd6\x50\xbf\x21\x91\x11\x4a\xfa\x10\x27\x9d\x4d\x32\x1e\xc0\xa9\x91\xaa\xac\xf4\x59\x5e\xda\x66\xd2\xfc\x2e\x2d\xb4\xa8\x55\xda\xe2\xe6\x4d\x37\x20\xfb\x91\x5a\x6d\x83\x0b\xec\x27\xda\xd7\x1b\xfa\xb8\xc5\x32\x43\x9f\xaf\xa1\xcb\x4d\xb5\x1f\xd6\x24\x60\x1e\xca\xf6\x8f\xf8\xbd\x88\x3a\xdd\xfe\xd0\xe2\x7e\xb7\x3f\xd4\x31\x42\x93\x50\xcc\xbf\xc9\xb8\x88\x2b\xe5\x31\xbc\x7d\x00\x67\x0b\x4a\xbd\x00\xb9\x85\xb3\x85\xa5\x65\x3f\x8e\x11\x46\x4b\xd3\x17\x26\xbe\x01\x64\xaa\x63\x13\x03\xbe\xcd\xdf\xfe\x70\xb7\xd4\x1f\xf6\x06\xb6\x50\x0f\xda\x33\x9a\x01\x94\xcd\x82\x8d\x8a\xbb\x13\xee\x8f\x80\x27\x6e\x3b\x97\x48\x48\x73\x28\xc7\x22\x73\xe9\x21\x33\xf6\xd2\x80\x7b\x51\x62\x1d\xf3\x69\x1c\x8b\x59\xb4\x0b\x76\x23\x72\x40\x44\x1c\x0b\x3f\x55\x6b\x47\x8d\xc5\x13\x80\x06\x9e\x54\x6f\x08\x03\x53\x62\x55\x24\xd0\x0c\x8e\xf2\x55\x91\x9a\x8f\xe1\x81\x36\x7f\x79\xed\xb0\x89\x78\x34\x30\x89\xc3\xe5\xe4\xde\x76\x3b\xc9\xe0\x92\xb1\x8c\x72\x61\x10\xaa\x41\x8d\xe6\x8e\x72\x0a\x84\x95\x2e\x73\x3a\x04\xde\xa7\x81\xa8\x16\x13\x29\x11\xa6\xe9\x41\x28\xb0\xe2\x8e\xf0\x58\x7c\x4e\xa5\x01\x24\xf4\xc8\x65\xc4\xef\x23\x61\x86\x6e\x56\x04\x91\x4c\x30\x55\x4a\x0b\x38\xfa\xb9\x72\x08\xc8\xae\x85\x99\x16\x9e\x4d\x8a\x18\xc6\x02\x90\x12\x06\x04\x93\x64\xc6\x66\xfb\xe3\x9b\x2e\x67\xf7\xe3\x98\xf9\x2d\x55\x4a\x25\xa7\x9d\xd4\x06\x20\x35\x13\x71\x9a\xcf\xe6\xd5\x28\xae\x8d\xf2\x8d\x2b\x9f\xa8\x95\x03\x5a\x05\xe5\xe4\xb8\x06\xe4\x10\xfb\xf9\x7d\x39\x29\x78\xc6\x93\x5c\x54\x0b\xf6\xb9\x95\xf2\x42\xa0\x92\x6f\xde\xf7\xdd\xc3\x52\xaf\xb0\xe5\x8a\x49\xad\x0b\xdc\x55\xe6\xe1\x48\x94\x27\xc4\xeb\x08\x6e\xc3\x9d\x3b\x9b\x2a\x94\xe3\x71\x9f\xdc\x0c\x27\x3b\x88\x6c\xf0\xb9\xd6\x85\x08\x1b\xc1\xb2\xc1\x95\xba\xb8\xd7\xe6\xe1\x24\xf7\x23\x08\x2b\x4c\x2a\xcc\xa0\x59\x2b\x15\x0b\x28\xa0\xc2\x32\x31\x16\x99\xad\xc0\xc7\x6b\xfa\x50\xa9\x1e\x98\x15\x15\x89\x2e\xb2\xb2\x18\xb5\x55\x70\x9c\xc1\x18\x67\x0d\x87\x0c\x07\x13\x54\x19\xa6\x63\x1e\x45\x22\x63\xc1\xb4\x48\x1e\x80\xa2\xe1\x0c\x6b\xc2\xf0\x6c\xe2\x16\x1a\x4e\x3c\x36\x6f\x06\x6d\x34\x26\x28\x70\xcd\x52\xa5\xb5\x34\x1b\xce\x4e\x1b\x6c\xb8\xea\xf9\x42\x37\x9d\xd0\x5c\xe9\xb8\x1c\xf0\x1d\xa8\xf2\xa6\x71\x8d\xad\x51\xc9\xed\x61\x7b\x17\x42\xaf\x9f\xb8\x76\x18\xd6\x15\xaf\x81\xc2\x4c\x0b\xfa\x09\x6a\xed\x1c\xca\x8a\x07\x45\x04\x5f\x94\xe5\xb6\xd9\xea\x2e\x30\x13\xb5\xa7\x6b\xf1\xbd\x48\x33\x01\xb5\xc3\xbf\x67\x69\x24\xb8\x16\x5e\x04\x5d\x67\x2a\xe5\x13\x40\x47\xd7\x2a\x92\xc1\x6c\x84\x00\x05\x0f\x9d\xdb\x74\xa1\x6f\xc0\x6c\xbb\xb7\x17\xff\xe3\x82\xdd\xa0\x3c\x43\xe8\x92\x8a\xc4\x1c\x96\xf2\x4e\x15\x4c\x65\xe9\x94\xfb\x9a\x55\x59\x21\x2e\xa1\xe8\xcf\xc8\xea\x6c\xf8\xf3\xdd\x19\x56\xfd\x93\xff\x70\x17\xc9\xbd\x60\x3c\x0c\x61\x77\x5e\x66\x22\x56\x46\x39\xf6\x6a\x18\x36\xff\x52\x97\x2f\xa1\x7e\x7a\xc1\x3e\x48\x10\x8e\x95\xae\xab\x6c\x71\x6c\xbe\xbc\x95\xc8\x51\x3d\x06\x1d\x45\xe5\xd3\x6d\x16\x14\x47\xf0\xde\x8d\x7d\x29\xe4\xd9\x8a\xfd\xdf\x48\x31\x83\xa1\x9b\x03\x3b\x55\x4f\x6c\xc2\xb3\x7b\x3e\x99\x33\x4e\x7a\xa5\x46\x64\x63\x95\xc5\x66\x4d\x1a\xe7\xeb\x4b\x6d\x44\xcb\xa7\x0b\x40\xaf\x43\xac\x29\xce\xad\x34\x68\x32\x90\x61\xa9\x0a\x03\x56\x40\x27\x0d\xb7\xc6\xe6\xb2\x76\x35\x38\x2d\x1a\xb8\xa8\x2c\xa6\xbb\x47\x9c\xaa\x7d\x6e\xaf\x98\xa0\xf6\xb1\x0b\x76\x15\x04\x22\x45\x52\xa9\xaa\xd9\xbd\xc4\x31\xbc\x64\xe7\x76\x03\xce\x6f\x50\xfd\x03\x7b\xf9\x23\x0f\x1e\x26\x99\x2a\x92\xd0\x3c\xc5\x7d\x1d\xdb\xda\xc4\x21\x84\xb4\xf8\x78\xbe\x11\x37\x82\x7b\xdf\xd2\x0f\xec\xe5\x4f\x2a\x13\x95\x66\x59\xc0\x75\xc0\x43\x33\x7a\x3b\x3f\x20\x81\xb0\x3d\x8d\xaa\xe7\x42\x83\x63\xdf\xc6\x36\x1b\x32\xad\x6f\xf7\xfd\x20\xce\xba\x99\x44\x8b\xdc\xdd\x32\x79\xc6\xa5\x91\x12\x09\x7b\x32\x93\xe1\x9e\x74\x22\xdb\x3c\xe6\x2e\x3e\xbf\xf5\x32\x27\x01\x0c\xbc\x11\x9e\x27\xac\x70\x60\x52\x5d\x86\x2a\xd0\x97\x70\xb1\x19\x38\x75\x09\x57\xd3\x39\x4f\xe5\x25\x4f\xe5\x79\xa0\x12\xb3\x57\xf4\xe5\xbf\xf8\x6d\xe5\x3f\x38\x86\x3b\x38\xe7\x32\xd2\x80\x1f\xaa\xd8\x1f\x3c\x85\xb6\x58\x87\xda\x04\x0c\x62\x15\x3e\x03\x52\xf2\x68\x52\x83\xa8\xa8\xaf\x94\xd1\x12\xd2\x34\x92\x88\x0d\x3c\xc0\x41\x7f\x2c\xa9\xd9\x54\x4e\xa6\xe0\xa6\x15\xa8\x38\x36\x5b\x37\xc4\x4d\xdd\xf8\x2d\x6b\x91\x37\x13\x5c\xb6\x64\xf0\x56\x26\x9a\x3e\x6c\x9e\x3d\xcc\xf5\xfd\x5c\xf3\xbe\xd9\xe1\x22\xdf\xca\x58\x18\xe4\xe9\xcc\x04\x66\xa2\x2f\x11\x14\xa3\xee\x06\xe8\x0f\x90\x07\x46\x85\x7b\x43\x88\x53\x38\x78\x14\x8d\x58\x26\x26\x3c\x0b\x81\xd8\x37\x70\x2d\x99\x31\x1e\xe4\xf2\x11\xea\x56\x67\x4c\x26\xee\xbf\xb6\x11\x4a\x39\x76\xb1\x0f\xb3\x40\x23\x53\x47\xfc\xfb\x86\x34\x9d\x75\x7d\x3a\x41\xae\x1b\xef\xe2\x12\x27\xf5\x4a\x7c\x37\x90\xba\x7b\xcd\xe9\x86\xe6\xb0\xcc\xaa\xd0\x0e\xb7\xab\x31\x33\x7d\x6e\xc9\x65\x9b\x36\x1a\x9c\xe9\x9e\xc3\x5f\xd7\x7a\x09\xe8\xec\x77\xd3\xc5\x1f\x95\x7a\x88\x79\xf6\xa0\x4b\x9f\x6b\xec\x3a\x18\x64\xb4\x35\x1b\xcd\x52\xa3\x5b\xfc\xf8\xe5\xcb\x2f\x9f\xaf\xbe\xfe\x72\x77\x56\x9a\x44\x10\x7d\x29\xac\xe9\x1e\xa7\x91\x00\xdb\xc7\xbd\x6f\xd5\xe0\x0d\x39\x49\xd0\x24\x6c\x40\x71\xc4\x27\x00\x47\xcb\x47\xa0\x1a\x6c\x45\x75\xf4\x05\xeb\x43\xa9\x83\x4c\x98\x3e\x97\x64\x52\x85\x04\xb1\xf6\x8e\xf9\x86\xbc\x05\xc2\xa8\xd6\x46\x8d\x77\x40\x17\x0a\xce\x3f\xf2\x68\xc4\x12\x85\x3c\x2f\x28\xc8\xde\x68\x52\xb7\xbb\x01\xd3\x38\x63\x6e\xcc\xd6\x40\xe5\xd5\x63\x2d\xb4\x86\x8e\x39\xcb\xb3\xb5\xa3\x58\x8a\x6b\x4e\xdb\x33\xbf\xc2\x14\x84\x9e\x3a\x1d\x0b\x9e\x1b\x25\x7d\xc2\x73\xc1\x6a\x0b\x61\x5b\x12\x89\x41\xe1\x68\x8f\x70\x55\xfc\x97\x35\xbb\xc5\x05\xd2\xb0\x05\xf6\xa4\x69\x91\xfb\x01\xb9\x1f\x90\xfb\x01\xb9\x1f\x90\xfb\x41\x93\xf0\x25\x5e\xfb\x80\x66\x84\xa8\x4e\xa2\x3a\x89\xea\x24\xaa\x93\xa8\x4e\xa2\x3a\x8f\x8b\xea\x24\xf6\x81\xd8\x07\x62\x1f\x88\x7d\xe8\x9d\x7d\xd8\x80\xa1\x47\x65\x4e\x65\x2e\xac\xd2\x65\x1c\xc6\xe7\xee\xe1\x12\xc3\x45\x45\x06\xdc\xa2\x93\x7c\x2a\x62\xbc\xb6\x74\x9e\x09\x1e\xc3\xf4\x84\xe1\xc8\x5e\x0c\x23\xfb\x6c\xac\x1e\x01\xfb\x54\xd4\x3b\x76\x03\x70\x65\x56\xdf\xea\xdb\x4c\xe1\xd3\xaa\x0d\x76\xf8\x99\x0d\x96\xbe\x60\x3e\xf6\x03\x4e\xfc\x5f\x16\xe7\xa0\x4d\xdb\xf3\x6f\x0f\x9b\x20\xaa\xc6\x3d\x3a\xfb\xfd\x27\xa9\xf3\x53\xe4\x85\x8c\x1c\x1b\x32\x17\xb4\x45\x52\x39\xca\xc5\x76\x70\xb9\xd8\xba\xcf\xf8\x0c\x5a\x19\xe3\x2d\xc9\x3d\x7c\xbc\x63\x7a\x6f\xb8\xd9\x32\xfc\xa8\xda\x09\x3c\x0a\x96\x3a\x82\x60\x29\xca\x9a\x41\x59\x33\x1a\x3a\x33\x68\x50\x76\x30\xd9\x33\x36\xef\xf0\x77\x6b\x3b\x8c\x4e\xbf\x43\xe9\xf1\x31\x61\x5e\x80\x1b\xc3\xc3\xbc\x2f\xd8\x76\x09\x40\x6c\xce\xf3\x1d\xe5\x01\x69\x0b\xa9\xaa\xb9\x3f\x28\xe3\x47\xe3\x68\x08\x48\x1d\x22\x90\xa2\x18\xeb\x13\x8a\xb1\xa6\x60\x32\x0a\x26\xa3\x60\x32\x0a\x26\x23\x1d\x70\xd9\x29\x1a\x8e\x0e\x48\x2a\xd5\xbe\xc3\x4b\x06\xa8\x54\x79\x1b\x73\x3f\xf5\x9f\xf2\x7a\x46\xe6\x16\x9a\xd1\x92\xea\x4f\x8d\x7a\x11\x89\x09\x3a\x74\x7b\xab\x03\xb5\x7b\xea\xae\x56\x0f\xaa\xb9\x03\x54\x17\xaa\x79\xcc\xc4\x45\x52\x5d\xa8\x6e\xea\x42\x6d\x73\xab\x2d\xab\x0a\x75\x3c\x0c\x2a\xd5\x85\x22\x23\xe0\xe9\xb1\xa9\x54\x17\xaa\xcb\x7d\x43\x75\xa1\xc8\x76\x42\x4a\x51\xd3\x44\x1e\x4e\x7d\xa8\xe7\xaa\x45\x7d\xd5\x89\xda\xce\x16\xb1\xac\x4a\xd4\xf1\xe0\x36\xf2\x7c\x23\xac\x76\x1a\x58\x6d\x40\x90\x88\x6e\x6e\xff\x0b\x79\xbe\x55\xda\x3e\x2a\xa8\xd1\x73\xfd\xa8\xfe\xdd\xc8\xcc\xf5\x6f\x0f\x8f\x91\x47\x99\x8a\x22\xbc\xdc\x77\x5f\x51\xea\x6b\xd9\x95\x77\xbe\x2b\x2d\xfd\xcb\x9a\x6a\x4b\xad\x6d\x8f\x7c\xce\x28\xcd\x13\xa5\x79\xa2\x34\x4f\x94\xe6\x89\xd2\x3c\xed\x45\x2f\x21\xf5\xb1\xf5\x42\x51\x95\xa9\x21\x65\xe3\x22\x0f\xe8\x13\xf2\x80\xa6\xd4\x6b\x94\x7a\x8d\x52\xaf\x51\xea\x35\x4a\xbd\x46\xa9\xd7\x28\xf5\x1a\x05\x06\x51\x60\x10\x05\x06\x51\x60\x50\x7d\x47\x52\x95\x29\xca\xf3\x48\x79\x1e\x29\xcf\xe3\x81\xe7\x79\x6c\x64\xef\x88\xb5\xa7\x2a\x53\xf5\x17\xf6\x5e\x65\x6a\x1d\xbd\x3b\xe0\x7a\x53\x9b\x32\xdd\x4d\x95\xa7\x3a\x63\xb7\xa9\x06\x15\xd5\xa0\xc2\x9f\xa8\x06\x15\x39\x27\x90\x73\x02\x39\x27\x90\x73\x02\x39\x27\x10\xeb\x4d\x44\xe8\xfa\x19\x21\x22\x94\x88\x50\x22\x42\x89\x08\x25\x22\xf4\x84\x89\x50\xe2\x26\x88\x9b\x20\x6e\x82\xb8\x09\xaa\x41\x45\x35\xa8\xa8\x06\x95\xff\xa5\x75\x0c\x65\xa3\x25\x9f\xaa\x51\x35\x3c\x36\x28\xce\x88\xea\x52\x9d\x42\x2e\xb8\xfe\xea\x52\x6d\x4a\x02\x36\x57\xa8\xda\x73\x90\x6b\xef\x19\x3b\x9a\xc7\xd7\x4e\x30\x52\xf0\xd5\x11\x04\x5f\x51\xee\x0e\xca\xdd\xd1\xd0\x99\x03\x81\x71\x87\x91\xc5\xe3\x99\x5d\xdf\x6b\xda\xf5\x67\xf5\xfd\x98\x90\x73\xbf\x35\xad\x3a\x40\xce\x2f\xd8\x73\xd3\x92\xec\xba\xce\xd5\x73\x32\x92\x0c\x06\xa2\x1d\x48\x1e\x12\x82\x63\xd5\x45\x1e\x2c\x1c\xa3\xc8\xef\x13\x8a\xfc\xa6\x10\x37\x0a\x71\xa3\x10\x37\x0a\x71\x23\x4d\x72\xd9\x29\x1a\x64\x3c\xc9\x7e\x34\x32\x0a\x87\xd9\x43\x55\xac\x41\x07\xc1\x34\xd4\xc7\xda\x54\xa3\x6a\xaa\x94\xb5\x5e\x9f\x22\xf1\x42\x16\x93\x7d\x57\xcf\xda\x33\xd5\x58\xad\xa3\xd5\xa2\x2b\x54\x51\xab\x79\xcc\xc4\xa2\x52\x45\xad\x3e\x2a\x6a\x6d\x7a\x0f\x36\xd6\xd6\x3a\x52\xee\x97\xaa\x6c\x91\xb9\xf1\xf4\xd8\x5f\xaa\xb2\xd5\xe5\xbe\xa1\x2a\x5b\x64\xa5\x21\x35\xea\x28\xea\x6d\x75\xaa\x48\xed\xa6\xf2\xd6\xe6\x56\x8e\xc6\x1a\x5c\x47\x8a\xef\xc8\xb7\x8f\xd0\xdd\xa9\xa1\xbb\x01\x81\x28\xba\xeb\xfd\x2f\xe4\xdb\xb7\xa6\xeb\x47\x05\x53\xfa\xac\xd5\x35\x24\xf7\xb8\x4b\x1d\xf0\xa8\xea\x12\xd7\x13\xb3\x03\x9f\x71\xf7\xd7\x0e\x28\x9e\x1b\x18\x16\x09\xad\x75\x27\x9f\x17\xb9\x32\x6b\x23\x93\x09\x90\xaf\x30\x6d\x27\x78\xe0\x3b\xa2\x77\x2a\xd3\xd9\x7c\xf6\xeb\xfb\x72\x87\xcc\x4e\xc3\xa7\x89\xc9\x69\x1e\x33\x31\x39\xc4\xe4\x74\xc3\xe4\x74\x74\xef\xb5\xa7\x74\x16\x2f\xbe\x83\xd4\xfb\x89\xd7\x21\xcd\xff\xf4\x34\x7f\xe2\x75\xba\xdc\x37\xc4\xeb\x90\xad\x87\xd4\xa6\x5e\xd5\xa6\xce\xe8\x9c\x7e\x15\xa7\xbe\x98\x9c\xce\xac\x1a\xed\x29\x9d\x23\xc1\x77\xcf\x39\x41\x04\xea\x08\xd4\x1d\x10\xa8\x1b\x10\x76\xa2\x2b\xde\xff\xd2\xeb\x15\xbf\x1f\x16\x87\x40\x49\xa7\xe4\x4d\x1f\x90\xe4\x05\xeb\x8c\xb7\xc1\x30\xa9\xfe\x89\x1b\xf8\xce\x2e\x99\x1b\x1c\x18\x09\x28\x22\x6d\x29\x44\x87\x42\x74\x88\xd8\x21\x62\x67\x90\xc4\x4e\x47\xf7\xe2\x06\xcc\xce\xe2\xc5\x78\x90\xaa\x3f\x51\x3b\x64\x05\x38\x3d\x2b\x00\x51\x3b\x5d\xee\x1b\xa2\x76\xc8\xee\x43\x6a\xd5\x81\x71\x3c\x07\x1c\xb2\xd3\x9d\x15\x64\x03\xa6\xe7\x48\xf0\x1e\x85\xf0\x10\xda\x3b\x35\xb4\x37\x20\x50\x45\x77\xbf\xff\x85\x42\x78\xd6\x74\xfd\xa8\x60\xcb\x51\x85\xf0\x60\xaa\xca\xff\x2a\x54\xce\xf5\x8e\x52\x5a\x57\x92\x7b\xaa\xb1\x2f\xb1\xfd\x7f\x4c\x17\x56\x20\x9c\x6a\x5a\xeb\x77\xbe\x85\x2a\xd4\x59\xd2\x0e\x25\xb6\xa6\x1a\xf6\x54\xc3\x9e\x6a\xd8\x53\x0d\x7b\xaa\x61\xbf\x17\xed\x84\x94\xc8\xd6\x0b\xb5\x4f\x25\xf2\x59\x85\xf5\xd1\xc2\xdb\x65\x61\x7d\x68\x71\xbf\x85\xf5\xa9\xcc\xc2\x09\x95\x59\x78\xd6\xf6\x8f\xf8\xbd\x88\x3a\xdd\xfe\xd0\xe2\x7e\xb7\x3f\xd6\x7d\x07\x73\x52\xcc\xbf\xc9\xb8\x88\x59\x52\xc4\xf7\x66\x93\x8c\xbd\x30\xd5\x38\x5b\x50\xb8\x17\x28\xb7\xb2\xee\x34\x6c\x59\x80\xd1\xd2\xf4\x05\x2b\x0a\x2c\x62\x13\x03\xbe\xcd\xdf\xfe\x70\xb7\xd4\x1f\xae\xa8\x41\x52\xce\xbe\xab\x37\x80\x1b\x15\x77\x27\xdc\x1f\x01\x4f\xdc\x76\x2e\x91\x90\xe6\xb1\x39\x65\x32\x97\x1e\x32\x63\x2f\x0d\xb8\x17\x25\xd6\x31\x9f\xc6\xb1\x98\x45\xbb\x60\x37\x22\xcf\xb1\xe4\x3c\x8e\x1d\xa1\x32\x8e\x4d\x3c\x01\x68\xe0\x49\xf5\x86\x30\x30\x25\x56\x45\x02\xcd\xe0\x28\x5f\x15\xa9\xf9\x18\x1e\x68\xf3\x97\xd7\x0e\x9b\x88\x47\x28\x4a\x0f\x97\x93\x7b\xbb\x5a\xf7\x7e\x2c\xa3\x5c\x18\x84\x6a\x50\xa3\xb9\xa3\x9c\x02\x61\xa5\xcb\x9c\x0e\x81\xf7\x69\xe0\x7d\x97\xe6\x11\x26\x56\x3f\xb0\x65\xc7\x3d\x16\x9f\x53\x69\x00\x09\x3d\x72\x19\xf1\xfb\x48\x98\xa1\x9b\x15\x41\x24\x13\x4c\x95\xd2\x50\x5b\xd9\xb4\x63\x11\x90\x5d\x0b\x33\x2d\x3c\x9b\x14\x31\x8c\x25\x09\xdd\x6d\x0b\x93\x64\xc6\x66\xfb\xe3\x9b\x2e\x67\xf7\xe3\x98\xf9\x2d\x55\x4a\x25\xa7\x9d\xd4\x06\x20\x35\x13\x71\x9a\xcf\xe6\xd5\x28\xae\x8d\x02\x8e\x2b\x9f\xa8\x95\x03\x5a\x05\xe5\xe4\xb8\x06\xe4\x10\xfb\xf9\x7d\x39\x29\x78\xc6\x93\x5c\x38\x90\x52\x4a\x7a\x5d\x0a\x01\xc0\x83\x50\x13\xbd\xec\xbb\x87\xa5\x5e\x61\xcb\x15\x93\x5a\x17\xb8\xab\xcc\xc3\x91\x28\x4f\x88\xd7\x11\xdc\x86\x3b\x77\xf6\xd8\x91\x19\x9e\xfb\xe4\x66\x38\xd9\x41\x64\x83\xcf\xb5\x2e\x44\xd8\x08\x96\x0d\xae\xd4\xc5\xbd\x36\x0f\x27\xb9\x1f\x41\x58\xe1\x77\x61\x06\xcd\x5a\xa9\x58\xe4\x32\x16\x66\xec\x63\x91\x65\x58\xa8\x9e\xd7\xf4\xa1\x52\x3d\x30\x2b\x2a\x12\x5d\x64\x6e\xfa\xb8\x53\x70\x9c\xb1\x19\x67\x0d\x87\x0c\x07\x13\x54\x19\xa6\x63\x1e\x45\x22\x63\xc1\xb4\x48\x1e\xb0\x2a\x3a\x33\x42\x94\x45\x3c\x9b\xb8\x85\x86\x13\x8f\xcd\x9b\x41\x1b\x8d\x49\xc0\xc6\x4b\x95\xd6\xd2\x6c\x38\x3b\x6d\xb0\xe1\xaa\xe7\x0b\x1d\x8c\x42\x73\xa5\xe3\x72\xc0\x77\x44\x88\xeb\x01\xca\xb3\x85\xe7\x76\x0f\xdb\xbb\x10\x7a\xfd\xc4\xb5\xc3\xb0\xcc\xee\x08\x33\x27\x8b\xfa\x09\x6a\xed\x5c\x9b\x05\x0e\x8a\x08\xcb\xee\x94\xdb\x66\xab\xbb\xc0\x4c\xd4\x9e\xae\x45\xaa\x3e\x44\xd5\x87\xa8\xfa\x10\x55\x1f\xda\x09\xe2\xac\x9b\x49\xb4\xc8\xdd\x2d\x93\x67\x5c\x1a\x29\x91\xb0\x27\x33\x19\xee\x49\x27\xb2\xcd\x63\xee\xe2\xf3\x5b\x2f\x73\x12\xc0\xc0\x1b\xe1\x39\xc6\x0a\x7f\x26\xd5\x65\xa8\x02\x7d\x09\x17\x9b\x81\x53\x97\x70\x35\x9d\xf3\x54\x5e\xf2\x54\x9e\x07\x2a\x31\x7b\x45\x5f\xfe\x8b\xdf\x56\xfe\x83\x63\xb8\x83\x73\x2e\x23\x0d\xf8\xa1\x8a\xfd\xc1\x7f\x69\x8b\x75\xa8\x4d\xc0\x20\x56\xe1\x33\x20\x25\x8f\x26\x35\x88\x8a\xfa\x4a\x19\x2d\x21\x4d\x23\x89\xd8\xc0\x03\x1c\xf4\x12\x93\x9a\x4d\xe5\x64\x0a\xce\x63\x81\x8a\x63\xb3\x75\x43\xdc\xd4\x8d\xdf\xb2\x16\x79\x33\xc1\x65\x4b\x06\x6f\x65\xa2\xe9\xc3\xe6\xd9\xc3\x5c\xdf\xcf\x35\x0f\xa0\x1d\x2e\xf2\xad\x8c\x85\x41\x9e\xce\x4c\x60\x26\xfa\x12\x41\x31\xea\x6e\x80\xfe\x00\x79\x68\x94\x61\xce\x10\xe2\x14\x0e\x1e\x45\x23\x96\x89\x09\xcf\x42\x70\x0a\x30\x70\x2d\x99\x31\x1e\xe4\xf2\x51\xe6\x33\x73\x2b\xc8\xc4\xfd\xd7\x36\x42\x29\xc7\x2e\xf6\x61\x16\x68\x64\xeb\x88\xbb\xa7\x8a\x62\xf5\x17\x56\x56\x14\x2b\x71\x52\x9f\x84\x78\x33\xad\xbb\xd7\x9a\x62\x68\x10\xcb\xac\x12\xed\x90\xbb\x1a\x33\xd3\xeb\xd6\x8c\xb6\x69\x65\xd1\x61\xef\x99\x2c\x76\xad\xa7\x80\xd1\x7e\x37\xdd\xfc\x51\xa9\x87\x98\x67\x0f\xba\xf4\x07\xc7\xee\x83\x59\x46\x5b\xe3\xd1\x2c\x35\x1a\xc6\x8f\x5f\xbe\xfc\xf2\xf9\xea\xeb\x2f\x77\x67\xa5\x61\x04\x31\x98\x02\x20\x2b\xe3\x34\x12\x60\x01\xb9\xf7\xad\x1a\xd4\x21\x27\x09\x1a\x86\x0d\x34\x8e\xf8\x04\x40\x69\xf9\x88\x51\x42\xab\x0a\x24\x5a\x1b\x5e\x6a\x16\x4a\x1d\x64\xc2\xf4\xb9\xa4\x94\x2a\x54\x88\xb5\x7a\xcc\x37\xe4\xed\x10\x46\xc1\x36\xca\xbc\x83\xbb\x46\x20\x66\x8f\x3c\x1a\xb1\x44\x21\xdb\x0b\x6a\xb2\x37\x9d\xd4\xad\x6f\xc0\x37\xce\x98\x1b\xb3\x35\x53\x79\x25\x59\x0b\xad\xa1\x63\xce\xfe\x6c\xad\x29\x96\xe8\x9a\xd3\xf9\xcc\xaf\x30\x05\xa1\x27\x50\xc7\x82\xe7\x46\x55\x9f\xf0\x5c\xb0\xda\x42\xd8\x96\x44\x62\xb0\x38\x5a\x25\x52\x59\x32\xbb\x4d\xcd\x6e\x71\x8d\x34\x6c\x81\x3d\xe9\x5b\xe4\x84\x40\x4e\x08\xe4\x84\x40\x4e\x08\xe4\x84\xd0\x24\x7c\x89\xdd\x3e\xa0\x19\x21\xc2\x93\x08\x4f\x22\x3c\x89\xf0\x24\xc2\x93\x08\xcf\xe3\x22\x3c\x89\x83\x20\x0e\x82\x38\x08\xe2\x20\x7a\xe7\x20\x36\xe0\xe9\x51\x99\x53\x99\x0b\xcc\x34\xcb\x8f\xbc\xb2\x79\xee\x1e\x2e\x31\x5c\x54\xe4\xc1\x2d\x3a\xc9\xa7\x22\xc6\x6b\x4b\xe7\x99\xe0\x31\x4c\x4f\x18\x8e\xec\xc5\x30\xb2\xcf\xc6\xea\x11\xb0\x4f\x45\xbd\x63\x37\x00\x57\x66\xf5\xad\xbe\xcd\x14\x3e\xad\xda\x60\x87\x9f\x75\x61\xe9\x0b\xe6\x63\x3f\xe0\xc4\xff\x65\x71\x0e\xda\xb4\x3d\xff\xf6\xb0\x69\xa2\x4a\x9c\x64\xc5\x82\xff\x49\xea\xfc\x14\xf9\x21\x23\xc9\x86\xcd\x09\x6d\x91\x2a\x8f\xf2\xc9\x1d\x5c\x3e\x39\xa5\x3b\x66\xfe\x50\x33\x63\xbc\x35\xc9\x87\x2f\x74\x4e\xf3\x0d\x36\x13\x47\x75\x5c\xed\x04\x1f\x05\x4f\x1d\x41\xf0\x14\x65\xe0\xa0\x0c\x1c\x0d\x9d\x19\x38\x3c\x3b\x94\xcc\x1b\x5b\x75\xf9\xbb\xb5\x5d\x46\x47\xe0\xe1\xf4\xf9\x98\x10\x30\x40\x8f\x21\x22\xe0\x17\x6c\xdb\xf4\x20\x36\x43\xfc\x8e\xb2\x84\xb4\x87\x58\xd5\xcc\x20\x7b\x87\x58\x07\x92\x0f\x84\x60\x55\x75\x91\x07\x0b\xab\x28\x02\xfb\x84\x22\xb0\x29\xd4\x8c\x42\xcd\x28\xd4\x8c\x42\xcd\x48\x23\x5c\x76\x8a\x86\xa4\x11\x92\x7a\xb5\xff\x00\x94\x41\x2a\x58\xde\xfa\xdc\x4f\xdd\xac\xbc\x96\x27\xba\x9d\x8e\xd4\x5c\x25\x6b\x99\x86\x44\x02\x83\x0e\xdf\x8a\xc3\xd7\x73\x3d\xac\xbd\x90\x7b\xf3\x75\xb0\x96\x76\x81\xea\x5f\x35\x8f\x99\xf8\x4a\xaa\x7f\xd5\x4d\xfd\xab\xed\xee\xb7\x25\xd5\xae\x8e\x8a\x65\xa5\xfa\x56\x64\x18\x3c\x3d\xbe\x95\xea\x5b\x75\xb9\x6f\xa8\xbe\x15\xd9\x53\x48\x3d\x3a\xf0\xba\x56\x1d\x28\x48\x7d\xd5\xb3\xda\xd6\x3a\xb1\xa4\x7a\xd5\x51\xe1\x37\xf2\x92\x23\xd4\x76\x2a\xa8\x6d\x40\xe0\x88\xee\x70\xff\x0b\x79\xc9\x1d\x33\xec\xe8\xb7\x2e\xd5\xfe\x1c\xce\x2e\xb1\x48\x66\xd5\xef\xac\x1f\x6a\x65\x79\x31\xce\x8e\x48\x96\x86\xca\x9b\x24\x87\xe8\x50\xaf\x38\xd4\x44\xb5\x10\xd5\x42\x54\xcb\xf3\x47\x63\xff\x45\x54\x4b\x95\x6a\x79\xee\x7d\xb7\x9e\x74\x39\x96\x52\xd3\x44\xbd\x90\x12\x7f\x7a\x4a\x3c\x51\x2f\x5d\xee\x1b\xa2\x5e\xc8\x6c\x43\xea\x12\x51\x2f\x7d\x51\x2f\xcf\xb7\x5e\xac\x27\x61\x8e\x05\xcf\x11\x15\x43\x28\xee\x54\x50\xdc\x80\xc0\x12\xdd\xe9\xfe\x17\xa2\x62\x8e\x19\x86\x1c\x01\x15\xa3\x45\x90\x89\x5c\xef\x28\xda\xbf\x12\x07\xa9\xc6\xec\x06\xbe\xbd\x02\xab\x54\x43\xfe\xdf\xf9\x57\x4b\xd0\xb2\xd8\x00\x45\xfd\x53\x01\x0e\x2a\xc0\x41\x05\x38\xa8\x00\x07\x15\xe0\xd8\x8b\xc2\x41\x7a\x61\xeb\x85\xda\xa7\x5e\x48\x75\x52\x28\x07\xcd\x09\xe7\xa0\xa1\xa2\x38\x54\x14\x87\x8a\xe2\x50\x51\x1c\x2a\x8a\x43\x45\x71\xa8\x28\x0e\xa5\x66\xa3\xd4\x6c\x94\x9a\x8d\x52\xb3\xd5\x77\xe4\x4e\x6b\x3f\x51\x05\xae\x21\xac\x02\x55\xe0\xa2\x0a\x5c\xc7\x56\x81\xab\x91\x9f\x23\x3a\x7e\x43\x9a\xce\xfa\x44\x9d\x20\xcd\x8d\x77\x71\x89\x93\xfa\xe3\xbc\x17\xf8\xdc\xbd\xe6\x61\x44\x4b\x58\x66\xb5\x67\x07\xd9\xd5\x98\x99\xee\xae\x27\xaf\xcd\xeb\x75\x2f\xbb\xed\x09\xeb\x5a\xdf\x00\x8e\x41\xc1\xbc\x1f\x95\x7a\x88\x79\xf6\xa0\x4b\x2f\x6d\xec\x30\x58\x60\xb4\xb5\x13\xcd\x52\xa3\x4c\xfc\xf8\xe5\xcb\x2f\x9f\xaf\xbe\xfe\x72\x77\x56\xda\x40\x10\x6e\x29\xc0\xac\x32\x4e\x23\x01\xc6\x8e\x7b\xdf\xaa\x01\x18\x72\x92\xa0\x0d\xd8\xa0\xe0\x88\x4f\x00\x7f\x96\x8f\x18\x7d\xb3\xaa\x2b\xa2\x61\xe1\xa5\x66\xa1\xd4\x66\xbc\x52\x25\x25\x7b\x54\x61\x3d\xac\x81\x63\xbe\x21\x6f\x72\x30\xba\xb4\xd1\xdb\x1d\xb2\x35\xb2\x2f\x7b\xe4\xd1\x88\x25\x0a\x89\x5d\xd0\x88\xbd\x95\xa4\x6e\x68\x03\x6a\x71\xc6\xdc\x98\xad\x45\xca\xeb\xc3\x5a\x68\x28\xf5\xe7\x4d\xcd\xd6\x70\x62\x39\xad\x39\xf5\xce\xfc\x0a\x53\x10\x7a\xae\x74\x2c\x78\x6e\xb4\xf2\x09\xcf\x05\xab\x2d\x84\x6d\x49\x24\x06\x76\xa3\x01\x22\x95\x25\x89\xdb\xd4\xec\x16\x37\x46\xc3\x16\xd8\x93\x6a\x45\xfe\x06\xe4\x6f\x40\xfe\x06\xe4\x6f\x40\xfe\x06\x4d\xc2\x97\x88\xec\x03\x9a\x11\xe2\x36\x89\xdb\x24\x6e\x93\xb8\x4d\xe2\x36\x89\xdb\x3c\x2e\x6e\x93\xe8\x06\xa2\x1b\x88\x6e\x20\xba\xa1\x77\xba\x61\x03\x4a\x1e\x95\x39\x95\xb9\xb0\x4a\xb3\xfc\x48\x21\x9b\xe7\xee\xe1\x12\xc3\x45\x45\xca\xdb\xa2\x93\x7c\x2a\x62\xbc\xb6\x74\x9e\x09\x1e\xc3\xf4\x84\xe1\xc8\x5e\x0c\x23\xfb\x6c\xac\x1e\x01\xfb\x54\xd4\x3b\x76\x03\x70\x65\x56\xdf\xea\xdb\x4c\xe1\xd3\xaa\x0d\x76\xf8\xb9\x10\x96\xbe\x60\x3e\xf6\x03\x4e\xfc\x5f\x16\xe7\xa0\x4d\xdb\xf3\x6f\x0f\x9b\x11\xf2\xd1\x8e\x68\xba\xff\x24\x75\x7e\x8a\x1c\x90\x11\x61\x03\xe5\x7d\xb6\x48\x4d\x47\x79\xdc\x0e\x2e\x8f\x9b\xd2\x1d\xb3\x7b\xa8\x8b\x31\xbe\x9e\xc8\xc3\x27\xbb\xa3\xf2\x06\x9a\x23\xc3\x0e\xa8\x9d\x70\xa3\x20\xa8\x23\x08\x82\xa2\xe4\x18\x94\x1c\xa3\xa1\x33\x43\xc5\x5e\x87\x91\x15\x63\xd3\xbe\xee\xb5\xc0\xec\x66\x9d\x3d\x26\x40\x0b\x80\x62\x50\x80\xf6\x05\xdb\x38\x6b\x87\xcd\x9c\xbe\xa3\xe4\x1d\x2d\xa0\x52\x35\x61\x07\xa5\xe9\x20\x94\x74\x0c\x28\x89\x02\xa3\x4f\x28\x30\x9a\x22\xc0\x28\x02\x8c\x22\xc0\x28\x02\x8c\x14\xbc\x65\xa7\x68\x90\xe1\x16\xfb\x51\xa3\x28\x5a\x64\x69\xb4\xc8\xb0\x54\x2b\x6f\x46\xee\xa7\xa0\xd4\x3c\xc0\x5a\xab\x24\x35\xd5\x8f\x6a\x50\x91\x48\x62\x90\xe5\x62\xe7\xb5\xa2\x76\xcd\xc4\x55\x8b\x44\x35\x7d\x9b\xaa\x43\x35\x8f\x99\x58\x45\xaa\x0e\xd5\x4d\x75\xa8\x0d\x2f\xaf\xc6\x62\x50\xc7\xc2\x85\x52\xfd\x27\x32\xfb\x9d\x1e\x39\x4a\xf5\x9f\xba\xdc\x37\x54\xff\x89\xac\x25\xa4\xfb\x1c\x66\xe1\xa7\xe7\x69\x3f\x7d\x55\x7c\xda\xd8\xbc\xd0\x58\xe0\xe9\x58\x30\x1a\xf9\xab\x11\x24\x3b\x7a\x48\x36\x20\xe4\x43\x17\xb4\xff\x85\xfc\xd5\x8e\x0b\x4c\xf4\x59\xbe\xa9\x7f\x0f\xb0\xec\x51\x06\x82\x07\x81\x2a\x92\xbd\xd5\x6f\x82\x3e\x5c\x61\x1f\x5a\xba\x85\x35\xd7\x71\x5a\xd6\x10\x39\x8a\x51\x7e\x25\xca\xaf\x44\xf9\x95\x28\xbf\x12\xe5\x57\xda\x8b\xce\x41\xaa\x61\xeb\x85\xa2\x7a\x4e\x43\x4a\x83\x45\x6e\xcb\x27\xe4\xb6\x4c\x39\xcf\x28\xe7\x19\xe5\x3c\xa3\x9c\x67\x94\xf3\x8c\x72\x9e\x51\xce\x33\x8a\xe6\xa1\x68\x1e\x8a\xe6\xa1\x68\x9e\xfa\x8e\xa4\x7a\x4e\x94\x60\x91\x12\x2c\x52\x82\xc5\x03\x4f\xb0\xd8\xc8\xd7\x11\x23\x4f\x11\x7a\xf5\x17\x06\x50\xcf\x69\x09\xaf\x3b\xe8\xba\x4e\x2d\x49\xed\xe6\xfa\x4e\xcf\x25\xb2\xa9\xce\x13\xd5\x79\xc2\x9f\xa8\xce\x13\xf9\x21\x90\x1f\x02\xf9\x21\x90\x1f\x02\xf9\x21\x10\xc1\x4d\x9c\xe7\xfa\x19\x21\xce\x93\x38\x4f\xe2\x3c\x89\xf3\x24\xce\xf3\x84\x39\x4f\xa2\x21\x88\x86\x20\x1a\x82\x68\x08\xaa\xf3\x44\x75\x9e\xa8\xce\x93\xff\x65\x83\x78\xc8\xaa\x09\x9f\xea\x3d\x35\x3c\x36\x0c\x5e\x88\xea\x3e\x9d\x42\x86\xb6\x3e\xeb\x3e\xb5\x24\xfa\x96\xd5\x7f\xda\x4f\xcc\xea\x0e\xf2\x6a\xcc\x0d\xac\x9d\xf0\xa3\x20\xaa\x23\x08\xa2\xa2\xfc\x1a\x94\x5f\xa3\xa1\x33\x43\xc7\x68\x87\x92\x67\x63\xbb\x3e\xef\xb9\x3e\xd4\x36\x9d\x3e\x26\x20\xdc\x77\x9d\xa8\xed\x81\xf0\x0b\xb6\x75\xb6\x90\xdd\xd7\x8d\xda\x22\x51\xc8\xfe\xa1\xd6\x81\xa4\x07\x21\x74\x55\x5d\xe4\xc1\xa2\x2b\x0a\xc8\x3e\xa1\x80\x6c\x8a\x3c\xa3\xc8\x33\x8a\x3c\xa3\xc8\x33\x52\x0c\x97\x9d\xa2\x41\x29\x86\xa4\x64\x0d\x20\x22\x65\x98\x6a\x96\x37\x45\xef\xa6\x76\x54\x4b\x45\xa9\xb9\x86\xd4\x52\x35\x89\xa4\x06\x1d\x40\xb6\xe2\x00\xf6\x5c\x53\x6a\x3f\x6c\xdf\x7c\x6d\xa9\xe5\x7d\xa0\x1a\x53\xcd\x63\x26\x06\x93\x6a\x4c\xf5\x53\x63\xaa\xe5\x25\xb7\xa4\xd6\xd4\x71\xf1\xae\x54\x73\x8a\x4c\x84\xa7\x47\xc0\x52\xcd\xa9\x2e\xf7\x0d\xd5\x9c\x22\xcb\x0a\xe9\x48\x87\x5e\x7b\xaa\x0b\x2d\x69\x57\x35\xa8\x5a\x9b\x29\x96\xd4\xa2\x3a\x2e\x0c\x47\xbe\x73\x04\xdd\x4e\x06\xba\x0d\x08\x21\xd1\x45\xee\x7f\x21\xdf\xb9\xe3\x06\x1f\xfd\xd6\xaa\xda\xa7\x17\xda\x25\xa4\x62\xa9\xfa\xa2\x6d\x61\xeb\xa5\x5b\xb2\x95\xa5\xb3\xe1\x86\xec\xd9\x6e\x7b\xa2\xf7\xe2\xfa\xa5\x58\x7a\x27\xf6\xbc\x20\x55\x56\xe4\xd6\x9c\xbc\xaf\xb8\x11\x89\x13\x21\x4e\xe4\xe0\xa3\xba\x30\xab\x17\xe4\xa1\xe8\x34\xbc\x0b\x0e\xca\x11\xe8\xa9\xe6\x68\x60\xa2\x13\x48\xd6\xf8\xf8\xf6\x62\x4e\x04\x2c\x07\x56\x84\xb4\x77\x30\xc9\x03\x40\xdc\x5d\xf5\x7d\x2f\x0e\x55\xdd\x74\xfe\xa8\xd4\x86\x8e\xa2\x57\x6a\x33\x6b\x26\x5c\xaa\x66\x65\x62\x39\xa6\xe8\x41\x95\x98\xab\x7b\xbb\x9f\x44\xc1\x2b\x6e\x96\x15\x19\x82\xb7\xb9\x4b\x28\x35\x30\xa5\x06\xc6\x9f\x28\x35\x30\xa5\x06\xa6\xd4\xc0\x94\x1a\x98\x52\x03\x53\x6a\x60\x4a\x0d\x4c\xa9\x81\xd7\xcf\x08\xa5\x06\xa6\xd4\xc0\x94\x1a\x98\x52\x03\x53\x6a\x60\x4a\x0d\x4c\xa9\x81\x29\x35\x30\xa5\x06\xa6\xd4\xc0\x94\x1a\x98\x52\x03\xaf\xe4\xd9\x96\xbe\x70\xda\xa9\x81\x29\x27\x70\xc3\x63\x5d\x39\xa1\x6d\xeb\xf8\x4e\xc9\x80\xc9\x6d\xa4\x6c\x76\xdb\x64\xc0\xdb\xba\x89\x1c\x81\x6b\x48\x4d\xc8\x51\xec\x02\xc5\x2e\x1c\xb9\x8f\x26\xc5\x2e\x1c\x8a\x47\xd5\x76\xb2\x69\x18\x41\x0b\x03\xf7\x99\xda\xb2\xb7\xc7\x84\x6b\x77\x92\xe2\xb7\x7f\x57\xa8\x3d\x25\xf5\x5d\x01\x99\x56\x66\xf3\xdd\x1d\x64\xa2\x34\xbe\x04\x96\x28\x8d\x2f\xa5\xf1\xdd\x62\xb1\x29\x8d\x2f\xa5\xf1\xa5\x34\xbe\x94\xc6\x97\xf4\xbc\x65\xa7\xa8\x4b\x3d\x6f\x05\xdc\xba\xc9\x79\x5e\xb4\xc5\x59\x7b\xd2\xa5\x3a\xeb\xfe\x31\x29\x57\x3b\x4a\xed\xbb\x25\x6d\xb0\xc3\x9c\xbe\x2b\xf4\xa4\x15\xc9\x7c\xcf\x48\x68\x90\x05\x63\xed\x21\xdb\x45\xfa\xde\xdd\x11\x73\x0d\x79\x7b\x37\x67\xdc\x86\x42\xb6\x11\xcb\x78\x70\x2c\x23\x25\xec\xdd\xf8\x06\x5b\x95\xa9\xf7\xf0\xb9\x51\x4a\xd1\x4b\xe6\xbf\xd3\xe3\x4a\x29\x45\x6f\x97\xfb\x86\x52\xf4\x92\xd5\x84\x14\xa0\xfa\x24\x1e\x56\x6e\xde\x6d\x55\xa0\x9d\x26\xe5\x5d\x69\x67\x58\x95\x8d\xf7\xf0\x71\x1a\xf9\xb0\x11\x2e\x3b\x7e\x5c\x36\x20\xf8\x43\xb7\xb4\xff\x85\x7c\xd8\x8e\x0d\x52\xec\x20\xe3\xee\xce\x9c\xc2\x2e\xd3\x4c\x7d\x9b\xf5\xed\x1a\x16\xa8\x24\x11\x41\xce\xde\x7f\xf8\xf4\xe1\xf6\x43\xa9\x1e\xe6\x8a\xc1\xf7\xcd\x05\xd5\xc2\xd1\x1e\x5b\x41\x94\x82\x6e\x56\x0b\x58\xe5\x1a\x86\xd3\x42\xe8\x2c\xed\xfa\xce\x04\x43\x4d\xbe\x9e\xe0\x49\xb2\x0b\xda\xfb\x69\x82\x4d\xe1\x3c\xf2\x06\xc2\x07\xba\x23\xf1\xd7\x0f\xb7\x9d\x9c\x87\xbf\x8a\x9c\x0e\x43\x53\x2f\xe8\x30\x74\x7e\x18\xa6\x82\x87\xfd\x9c\x86\x9f\x3f\x5c\xbd\xef\xe4\x38\xfc\x2c\x78\x48\xe7\xa1\xa9\x17\x74\x1e\x3a\x3f\x0f\xca\xbe\xdd\xcb\x91\xf8\x72\x7d\xfb\xf1\xcb\xaf\x37\x9d\x9c\x0a\x3b\x4c\x3a\x18\x4d\xbd\xa0\x83\xd1\xf9\xc1\xe8\xc6\xc7\x63\x79\x47\xc8\xdf\xa3\x79\xcc\x83\xf2\xf7\xb8\xe6\x39\xe6\xe0\x9a\x0a\x96\xf2\x0c\xb2\xa8\xfd\xf6\xf5\x93\x35\x94\xda\x74\x55\xcc\xea\xa5\x4c\x24\x61\xaa\x64\x92\x6b\x33\x2b\xe3\xb1\xfc\x26\x34\x9a\xcd\x2a\xa9\x57\x73\x05\xce\xf6\x2e\x66\x21\x28\xb2\x4c\x24\xb9\x95\x8a\x2e\x1b\x51\xae\x5c\x9b\xc0\x77\x31\xf1\x8d\xc7\x69\x64\xbd\xe5\x9f\xa6\x2a\xf2\xf6\x50\xd3\x1b\xc8\x95\x93\xe7\xe9\xf7\x97\x97\x91\x0a\x78\x34\x55\x3a\x6f\xd0\xa4\xcd\x31\x3b\xd7\x33\x9d\x8b\xb8\xd4\xa4\x45\xc4\x75\x2e\x03\x2d\x78\x16\x4c\xcf\x23\x35\x99\xc8\x64\x72\xf9\x7f\xf1\xbf\xff\xd7\x7f\xfd\xa5\xd0\x22\xfb\xfe\x41\xc6\xc1\x74\x76\xc1\xdc\x6c\x34\xff\xbc\xa9\xbb\xcb\xc2\x2e\xd8\x87\xb3\xcb\xa6\x37\xda\xf5\xd5\xed\xbb\x9f\x3b\xb9\xcf\x80\xf7\xa5\xdb\xac\xa9\x17\x74\x9b\x75\x7f\x9b\x75\x9f\x65\xc2\x9d\x88\x2f\x37\xdd\x58\x01\xae\x95\x26\x33\x40\x63\x2f\xe8\x3c\x74\x7f\x1e\xba\xa6\xaf\xfd\x71\xf8\xad\xa3\xd3\x50\xd0\x61\x68\xec\x05\x1d\x86\xae\x0e\xc3\x0b\xf6\x4c\xea\xe5\xf2\xbf\x0d\x88\xeb\x3d\x38\x7f\xc7\x0c\xcc\xef\x32\x9f\x5e\xcf\x83\x53\x3a\x68\x74\xd0\x4e\x9b\x89\xa1\x43\x41\x87\x82\xf5\x73\x28\x0e\x9a\x91\xa1\x73\x41\xe7\x82\xf5\x73\x2e\x8e\x83\x99\xa1\x03\x42\x07\x84\xf5\xa4\xc3\x13\x43\x43\x0c\x8d\xe9\xaa\x4b\xaf\xee\xf2\xc4\x6c\x36\xa4\xc5\x5f\x88\x6f\x22\xbe\xe9\x94\xf8\x26\xba\xa3\xe9\x8e\x66\x3d\xdd\xd1\x87\xcc\x3b\xd1\xb9\xa0\x73\xc1\x7a\x3a\x17\x07\xcb\x3f\xd1\xa1\xa0\x43\xc1\x3a\x3d\x14\x2f\xd8\xf6\x3c\x94\xc6\x1c\x74\x15\x06\xaa\x9f\xec\x67\xf8\x1d\xa7\x3a\x76\x94\x07\xcd\x26\xd0\x6b\x71\x90\x28\xcc\xf0\xd4\x23\xf7\x28\x1b\x1a\x23\xdb\xcb\xc0\x6c\x2f\x94\x0d\x6d\xc9\x83\x87\x90\x0d\x6d\xfb\x1b\x6d\x55\x5e\xb4\x86\x2b\xed\x20\xb3\x6e\x50\x76\x34\xca\xc2\x71\x7a\x59\x38\x28\x3b\x5a\x97\xfb\x86\xb2\xa3\x6d\x34\xb1\x8d\xb7\x18\x29\x44\xa4\x10\x51\x76\xb4\x32\x3b\xda\x73\xec\x10\xab\xf2\xa4\x1d\x0b\x6e\xa3\x6c\x69\x84\xd3\x8e\x1f\xa7\x0d\x08\x0e\xd1\xad\xed\x7f\xa1\x6c\x69\xc7\x06\x31\x0e\x33\x5b\xda\xee\xaa\x65\xfe\xda\x60\x91\x6c\x55\x2f\x73\x77\x40\x83\xea\x64\x12\xc4\xa0\x3a\x99\x54\x27\x73\x8b\xc5\xa6\x3a\x99\x54\x27\x93\xea\x64\x52\x9d\x4c\xd2\x8e\x96\x9d\x22\xaa\x93\x49\x75\x32\xd9\x0a\x05\xaa\xef\x3a\x99\x4d\xfa\xc4\xd0\x2a\x65\xb6\xd1\x91\x1a\x7c\xc4\xc8\x2b\xac\xb5\x85\xa2\x9c\xb3\x13\x3c\x62\xbd\xfa\x85\x3d\xf7\x7c\x3d\xd3\x33\x6c\xc9\xe7\x0f\xc9\x37\x8c\x5c\xa4\x96\x3c\x78\x08\x2e\x52\x9b\x0b\xf2\x26\xd7\xa8\xc3\x27\xd5\xc8\x19\x8a\x2c\x60\xa7\x47\xb2\x91\x33\x54\x97\xfb\x86\x9c\xa1\xc8\x70\x40\x7a\xc0\xe2\x34\x1e\x88\x3b\xd4\xb3\x35\x81\xdd\x94\x8b\x6c\xa7\x6c\x37\x39\x42\x1d\x3e\x4a\xdb\xfa\x1c\x10\x2e\x23\x5c\x76\x40\xb8\x6c\x40\xf0\x87\x6e\x69\xff\x4b\x7f\xb7\xf4\x7e\xdd\x9f\x4e\x1b\x54\xf4\xe9\x00\xb5\x25\xa4\x78\xc1\xda\xb8\x40\x5d\x3a\x7a\xb4\xea\x0b\xb5\x85\x39\x92\x6e\xbf\x56\xa6\xc8\x86\x9b\xaf\x67\xc3\xea\x89\xde\x77\xeb\x97\x62\xe9\x5d\xd7\xf3\x82\x90\xe1\xbe\xf5\x12\xf5\x6b\xb8\xef\x4b\xd3\x72\x12\x75\x31\xf8\x64\x7b\xad\xeb\x27\x27\xa5\x4f\x4b\xfb\x22\xdc\xd8\xcf\xbc\x12\x6e\x24\xdc\xf8\x4c\xdc\xb8\xef\x84\x42\x5b\xba\x8b\x50\x2a\x21\xfc\x85\xce\x27\x39\x8d\x10\xf6\x24\xa7\x91\xe1\xe5\xd5\xd9\xd6\x7d\xe4\x58\x22\xb3\xc9\x89\x84\xc8\x8a\xd3\x33\xde\x90\x13\x49\x97\xfb\x86\x9c\x48\x88\x9e\x22\xbd\x60\x71\x1a\xc9\x89\xa4\x9f\xac\x3a\xdb\x1b\x36\x8f\x05\xb5\x91\x53\x09\xe1\xb4\x53\xc0\x69\x03\x82\x43\x74\x6b\xfb\x5f\x88\x1c\xb0\x2d\x1f\x15\xc8\x38\x18\x72\x40\x85\x73\x5b\xbc\xcf\x5c\x3a\x95\xbc\x03\x6a\xcc\x7e\x55\x61\xdb\x94\x3a\xef\xfc\x8b\xf5\x97\x28\xaf\x8e\x4d\xd8\x62\xee\x0b\x99\x14\xc2\xea\xd0\x95\xd4\x2c\x46\x8d\x7b\x32\x50\x24\x13\x79\x26\xc5\xa3\xb9\xa9\x62\x95\x09\x0b\x15\x74\x99\x43\x43\x8b\xec\x51\x64\x17\xec\x46\x26\xe0\x74\x5c\xcd\xba\x82\xbf\xb9\x5b\x67\xc4\x82\x48\xfa\x3c\x10\x70\x61\xb9\xac\x21\xbe\x23\xf8\x2a\x34\xce\x0d\x0c\x7a\x94\xaa\xd0\x0c\x6e\x1b\x87\x52\xe0\x62\x95\xa1\xb9\x4d\x03\x1e\xd9\xdf\x2a\x75\xdd\x5e\x89\x6f\x81\x48\x73\x9f\xd4\x05\x9b\x54\x63\xff\x91\xd7\x3e\x2d\x84\xed\x9f\xe9\x4e\x26\x20\x97\x0b\xaf\x77\x45\xe6\x2c\x54\x42\x03\xca\xf2\x38\xca\x26\x98\xa9\x02\xe2\xfa\x6b\xe6\x0d\xb8\x9e\x45\xc6\x10\x8a\x3d\xd9\xc4\x1a\x61\x21\x8c\x7e\x2e\xbe\xa5\xd2\xa6\xcb\x79\x35\x11\x89\xc8\xc0\x54\x3a\x36\x98\x2c\x57\x6c\x2c\xc7\xb9\x10\x09\x8b\x65\x52\xe4\x42\xbf\x36\x77\x3f\xf4\x6d\x2c\x27\x2e\xcb\x0e\x62\x06\xa6\x92\xca\x58\x46\xd5\x71\x39\x6c\x97\xaa\xc4\xe2\x11\xce\xfe\xfc\xf6\x0d\xfb\x6a\xb3\x61\x7c\x30\x5d\x10\xa1\x45\x7c\xb9\x9a\x60\x07\xed\x93\x7e\x44\xb9\x7a\x10\x89\x1f\x32\xae\x21\x4b\x84\x08\x35\x3e\x05\xb0\x33\xc9\x21\x73\xca\xc8\x4c\x18\x20\x97\x4c\xe8\x9c\x67\xb9\x79\x47\x66\xf0\x1b\x34\xac\x8a\x7c\x7e\xc5\x01\x2c\x5c\xb0\x2f\xe6\xd3\x4f\xd2\x25\x74\xb1\x5f\x31\x2b\xa3\x45\x12\x32\x9e\xa0\xed\x01\xda\x71\x15\xf7\x3c\xc4\x82\x1e\x9a\xe5\x11\xf2\xb1\x0a\xbd\xcc\x60\x61\x70\x6b\xa7\x05\xda\x85\x0e\x83\xdd\xc3\x6d\xee\x44\x7c\xcb\xd9\x83\x98\x61\xba\x12\xff\xe7\xc8\x40\xf2\x9c\xe9\x84\xa7\x7a\xaa\xf2\x11\x7b\x9a\xca\x00\x0a\xf2\xc9\xa4\x32\x21\xfe\x79\xbf\x91\x6d\xf7\xf1\x08\x9d\xfb\xf4\x36\x00\x09\x79\x26\x58\x80\x17\xeb\xc8\x22\x7d\xf3\x2f\x95\xb9\x3c\x49\x8c\x8f\x73\x81\x7b\x7a\x2c\x33\x9d\xd7\x27\x03\x11\xb5\x2d\x85\x18\xba\x1c\x20\x0e\x92\x00\xfe\x33\x1b\xd2\xfc\x2f\x2e\xca\x83\x98\x01\x50\xaf\x34\x7c\x77\xe6\x86\x7c\x77\x76\x71\x97\xdc\x25\xf3\x56\x3a\xc8\x70\x54\xa4\xa9\xca\x00\xe2\x1a\x01\xf1\x04\xe6\x1d\xa9\x01\xad\x5d\xb0\x77\x95\x23\x8e\x1b\x80\xdb\x47\x2a\xb3\x87\x93\x00\x7b\xf0\x6f\x78\xff\xd8\x63\x93\x89\xbc\xc8\x92\x32\xe3\x8b\x5d\x31\xd4\x41\x72\x16\x4b\xad\x19\x4f\x66\xf3\x8a\xd0\x36\x10\xd5\x6d\xbf\xfd\x68\x0f\xa4\xe4\xb5\x5e\xa8\x7d\x2a\x79\x57\x4c\x8b\x32\x75\x8f\x11\x68\x99\x0c\x50\x7c\xc1\xd1\x53\xe3\x72\xc3\xfa\x4c\x55\x33\x7b\xb8\xd0\x76\x3a\x9f\x36\x4c\x3c\x8a\x6c\x96\x4f\x65\x32\xd9\x5a\xad\xba\xb1\x3d\xda\xcf\x8c\x50\x96\xb7\x13\xca\xf2\xf6\xac\xed\x1f\xf1\x7b\x11\x75\xba\xfd\xa1\xc5\xfd\x6e\xff\x48\xc6\x32\x47\x73\x4f\xcc\xbf\xc9\xb8\x88\x59\x52\xc4\xf7\x66\x93\x8c\xbd\x30\xd5\x38\x5b\x66\x62\x90\xcc\xc2\xd9\x0a\x78\x14\xc1\x96\x05\x18\x2d\x4d\x5f\x30\xa1\xd9\x22\x36\x31\xe0\xdb\xfc\xed\x0f\x77\x4b\xfd\xe1\x72\xaa\x25\xe5\xec\xbb\x74\x67\xb8\x51\x71\x77\xc2\xfd\x11\xf0\xc4\x6d\xe7\x12\x09\x69\x1e\x9b\x53\x26\x73\xe9\x21\x33\xf6\xd2\x80\x7b\x51\x62\x1d\xf3\x69\x1c\x8b\x59\xb4\x0b\x76\x23\x72\x40\x44\x66\x10\x66\xec\x08\x95\x71\x6c\xe2\x09\x40\x03\x4f\xaa\x37\x84\x81\x29\xb1\x2a\x12\x68\x06\x47\xf9\xaa\x48\xcd\xc7\xf0\x40\x9b\xbf\xbc\x76\xd8\x44\x3c\x1a\x98\xc4\xe1\x72\x72\x6f\xbb\x9d\x64\x70\xc9\x58\x46\xb9\x30\x08\xd5\xa0\x46\x73\x47\x39\x05\xc2\x4a\x97\x39\x1d\x02\xef\xd3\xc0\xbb\xbb\xcc\x23\x4c\x4c\xbe\x96\x8b\x2c\x96\x89\xf0\x58\x7c\x4e\xa5\x01\x24\xf4\xc8\x65\xc4\xef\x23\x71\x01\x89\xe3\x8d\x3e\x61\x86\x1c\x4c\x95\xd2\x02\x8e\x7e\xae\x1c\x02\xb2\x6b\x61\xa6\x85\x67\x93\x22\x86\xb1\x24\xa1\xbb\x6d\x61\x92\xcc\xd8\x6c\x7f\x7c\xd3\xe5\xec\x7e\x1c\x33\xbf\xa5\x4a\xa9\xe4\xb4\x93\xda\x00\xa4\x66\x22\x4e\xf3\xd9\xbc\x1a\xc5\xb5\x51\xb2\x71\xe5\x13\xb5\x72\x40\xab\xa0\x9c\x1c\xd7\x80\x1c\x62\x3f\xbf\x2f\x27\x05\xcf\x78\x92\x0b\x07\x52\x4a\x49\xaf\x4b\x21\x00\x78\xb0\x00\xd8\xe0\xfb\xee\x61\xa9\x57\xd8\x72\xc5\xa4\xd6\x05\xee\x2a\xf3\x70\x24\xca\x13\xe2\x75\x04\xb7\xe1\xce\x9d\xbd\x74\x64\x86\xe7\x3e\xb9\x19\x4e\x76\x10\xd9\xe0\x73\xad\x0b\x11\x36\x82\x65\x83\x2b\x75\x71\xaf\xcd\xc3\x49\xee\x47\x10\x56\x98\x53\x98\x41\xb3\x56\x2a\x16\xb9\x8c\x85\x19\xfb\x58\x64\x19\xa4\x97\x34\xb8\x7a\x4e\x1f\x2a\xd5\x03\xb3\xa2\x22\xd1\x45\xe6\xa6\x8f\x3b\x05\xc7\x19\x83\x71\xd6\x70\xc8\x70\x30\x41\x95\x61\x3a\xe6\x51\x24\x32\x16\x4c\x8b\xe4\x01\x68\x18\xce\x8c\x10\x65\x11\xcf\x26\x6e\xa1\xe1\xc4\x63\xf3\x66\xd0\x46\x63\x12\xb0\xf1\x52\xa5\xb5\x34\x1b\xce\x4e\x1b\x6c\xb8\xea\xf9\x42\xc7\x9c\xd0\x5c\xe9\xb8\x1c\xf0\x1d\x11\xe2\x7a\x80\xf2\x6c\xe1\xb9\xdd\xc3\xf6\x2e\x84\x5e\x3f\x71\xed\x30\x2c\xb3\x3b\xc2\xcc\xc9\xa2\x7e\x82\x5a\x3b\xd7\x66\x81\x83\x22\xc2\xac\x9f\xe5\xb6\xd9\xea\x2e\x30\x13\xb5\xa7\x6b\x91\x92\x9f\x52\xf2\x53\x4a\x7e\x4a\xc9\x4f\x77\x82\x38\xeb\x66\x12\x2d\x72\x77\xcb\xe4\x19\x97\x46\x4a\x24\xec\xc9\x4c\x86\x7b\xd2\x89\x6c\xf3\x98\xbb\xf8\xfc\xd6\xcb\x9c\x04\x30\xf0\x46\x78\x0e\xb0\xc2\x6f\x49\x75\x19\xaa\x40\x5f\xc2\xc5\x66\xe0\xd4\x25\x5c\x4d\xe7\x3c\x95\x97\x3c\x95\xe7\x81\x4a\xcc\x5e\xd1\x97\xff\xe2\xb7\x95\xff\xe0\x18\xee\xe0\x9c\xcb\x48\x03\x7e\xa8\x62\x7f\xf0\x0c\xda\x62\x1d\x6a\x13\x30\x88\x55\xf8\x0c\x48\xc9\xa3\x49\x0d\xa2\xa2\xbe\x52\x46\x4b\x48\xd3\x48\x22\x36\xf0\x00\x07\xfd\xaf\xa4\x66\x53\x39\x99\x82\x5b\x56\xa0\xe2\xd8\x6c\xdd\x10\x37\x75\xe3\xb7\xac\x45\xde\x4c\x70\xd9\x92\xc1\x5b\x99\x68\xfa\xb0\x79\xf6\x30\xd7\xf7\x73\xcd\xcf\x66\x87\x8b\x7c\x2b\x63\x61\x90\xa7\x33\x13\x98\x89\xbe\x44\x50\x8c\xba\x1b\xa0\x3f\x40\x1e\x1a\x65\x98\x33\x84\x38\x85\x83\x47\xd1\x88\x65\x62\xc2\xb3\x10\x48\x7b\x03\xd7\x92\x19\xe3\x41\x2e\x1f\x65\x3e\x33\xb7\x82\x4c\xdc\x7f\x6d\x23\x94\x72\xec\x62\x1f\x66\x81\x46\x46\x8e\xb8\x75\x4a\x68\x5c\x7f\x61\x65\x42\xe3\x12\x27\xf5\x48\x64\xcf\xb3\xb9\x7b\xcd\x6a\x8c\x76\xb0\xcc\xea\xce\x0e\xb0\xab\x31\x33\x9d\x5d\x47\x56\x9b\x97\xad\x73\xdc\x96\x04\x75\xad\x37\x00\xbf\x7e\x37\x5d\xf9\x51\xa9\x87\x98\x67\x0f\xba\x74\xa2\xc6\x2e\x82\xc5\x45\x5b\xbb\xd0\x2c\x35\xca\xc3\x8f\x5f\xbe\xfc\xf2\xf9\xea\xeb\x2f\x77\x67\xa5\xcd\x03\xe1\x95\x02\x8c\x2a\xe3\x34\x12\x60\xdc\xb8\xf7\xad\x1a\x40\x21\x27\x09\xda\x7c\x0d\xea\x8d\xf8\x04\xf0\x66\xf9\x88\xd1\x2f\xab\xba\x21\x1a\x12\x5e\x6a\x16\x4a\x1d\x64\xc2\xf4\xb9\x64\x8b\x2a\x2c\x87\x35\x68\xcc\x37\xe4\x4d\x0c\x46\x77\x36\x7a\xba\x43\xb2\x46\xd6\x65\x8f\x3c\x1a\xb1\x44\x21\x91\x0b\x1a\xb0\xb7\x8a\xd4\x0d\x6b\x40\x25\xce\x98\x1b\xb3\xb5\x40\x79\xfd\x57\x0b\xad\xa1\x63\xce\xb4\x6c\x0d\x25\x96\xc3\x9a\x53\xe7\xcc\xaf\x30\x05\xa1\xe7\x46\xc7\x82\xe7\x46\x0b\x9f\xf0\x5c\xb0\xda\x42\xd8\x96\x44\x62\x60\x36\x1a\x1c\x52\x59\x92\xb6\x4d\xcd\x6e\x71\x43\x34\x6c\x81\x3d\xa9\x52\xe4\x5f\x40\xfe\x05\xe4\x5f\x40\xfe\x05\xe4\x5f\xd0\x24\x7c\x89\xb8\x3e\xa0\x19\x21\x2e\x93\xb8\x4c\xe2\x32\x89\xcb\x24\x2e\x93\xb8\xcc\xe3\xe2\x32\x89\x5e\x20\x7a\x81\xe8\x05\xa2\x17\x7a\xa7\x17\x36\xa0\xe0\x51\x99\x53\x99\x8b\x89\x34\xcb\x8f\x94\xb1\x79\xee\x1e\x2e\x31\x5c\x54\xa4\xb8\x2d\x3a\xc9\xa7\x22\xc6\x6b\x4b\xe7\x99\xe0\x31\x4c\x4f\x18\x8e\xec\xc5\x30\xb2\xcf\xc6\xea\x11\xb0\x4f\x45\xbd\x63\x37\x00\x57\x66\xf5\xad\xbe\xcd\x14\x3e\xad\xda\x60\x87\x9f\xaa\x60\xe9\x0b\xe6\x63\x3f\xe0\xc4\xff\x65\x71\x0e\xda\xb4\x3d\xff\xf6\xb0\x19\xa0\x32\x5c\x51\x85\xe2\x93\xd4\xf9\x29\x32\x3e\x46\x80\x0d\x92\xe5\xd9\x22\x4d\xda\xe1\xe6\x15\x53\xba\x63\x4a\x0b\xd5\x11\xc6\xd7\xb1\x57\xf8\xdc\xf3\xf8\xab\xa1\x66\x74\x30\xc3\x69\x77\xa2\x29\xce\xe7\x08\xe2\x7c\x28\x99\x03\x25\x73\x68\xe8\xcc\x30\xe1\xc6\x81\xe4\x71\xd8\xa8\xa7\xfb\x28\x4b\xbe\x55\x57\x8f\x09\xbf\x01\x74\x18\x10\x7e\x7b\xc1\x96\x65\x9a\xb0\x19\xa8\x77\x94\x70\x62\x2d\xf2\xa9\x26\x99\xa0\xd4\x12\x04\x7b\x0e\x15\xf6\x50\x30\xef\x09\x05\xf3\x52\xd4\x12\x45\x2d\x51\xd4\x12\x45\x2d\x91\xc6\xb6\xec\x14\x0d\x32\x44\x60\x3f\xba\x11\x45\x38\x2c\x8d\x70\x18\x92\xc6\xe4\xad\xc0\xfd\x14\xe2\x99\x87\x57\x6b\x94\xa2\x4a\xe5\x9d\xba\x4a\x44\x12\x82\xcc\x0f\xbb\xae\xb4\xb3\x53\xf6\x68\xae\xc8\xce\xc2\x97\xa9\xbe\x0e\xd5\xd7\xd9\x49\x7d\x9d\x8d\xe4\x75\xb5\xa0\xce\x51\xb0\x77\x54\x45\x87\x2c\x5b\xa7\x47\xe8\x51\x15\x9d\x2e\xf7\x0d\x55\xd1\x21\x83\x00\xc1\xfd\x83\x2c\xa0\xf3\x0c\xc0\xdf\x57\xed\x9c\x0d\xf5\xe7\x6a\xb1\x9c\xa3\x40\x64\xe4\x4f\x45\xf0\xeb\xc8\xe1\xd7\x80\x50\x0e\x5d\xc6\xfe\x97\x13\xf7\xa7\x3a\x2a\xd8\xd0\x6b\x49\x9c\xee\x7d\x94\x2e\xd3\x4c\x7d\x9b\xf5\xed\xa9\x14\xa8\x24\x11\x41\xce\xde\x7f\xf8\xf4\xe1\xf6\x43\xa9\xe2\xe5\x8a\xc1\xf7\x5b\x54\xca\xb1\x4d\x20\xde\x40\x17\x20\xf3\xc6\x35\x74\xbf\x85\x04\x59\xda\xd5\x9d\x9d\xf2\x9a\xb0\x3c\xc1\xc3\x61\xd7\xb0\xdf\x03\x02\x3b\xc2\x79\x87\x0d\x84\x9e\x72\xfb\xff\xaf\x1f\x6e\x9f\xbf\xf9\xff\x2a\x72\xda\xf9\xb4\xf3\xf1\xcf\x1d\xef\xfc\xa9\xe0\x61\x3f\x5b\xff\xe7\x0f\x57\xef\x9f\xbf\xf7\x7f\x16\x3c\xa4\xcd\x4f\x9b\x1f\xff\xdc\xf1\xe6\x57\xf6\xed\x5e\xf6\xff\x97\xeb\xdb\x8f\x5f\x7e\xbd\x79\xfe\x11\xb0\x63\xa4\x53\x40\xa7\x00\xff\xdc\xf1\x29\xe8\xc0\x9f\x60\x79\x2f\x0e\xc9\xb7\xe0\x9a\xe7\x98\x92\x67\x2a\xd8\x6f\x5f\x3f\x31\xd3\x6b\x48\xed\xa0\x85\xf7\xe6\x0e\x8a\x2c\x13\x49\x6e\x4f\xb2\xcb\x2f\x92\x2b\x66\x74\xac\x8d\x1d\x0e\x16\xa6\x65\x1f\xee\x06\x9b\x0a\xb6\xeb\xab\xdb\x77\x3f\x3f\x5f\xac\x01\x0d\x47\x42\x8d\x84\x1a\xfe\xb9\x6b\xa1\xd6\x7d\xd8\xb9\xdb\xfe\x5f\x6e\x3a\xd0\xe9\xae\x95\x26\xa5\x8e\x36\xbf\xfd\x73\xd7\x9b\xbf\x6b\xc2\xd0\xef\xfd\xdf\xba\xd8\xfa\x05\xed\x7c\xda\xf9\xf6\xcf\xdd\xec\xfc\x17\xac\x95\xd5\xfb\xf2\xbf\x0d\xe2\xea\x3d\x4c\xb7\x67\xe3\xf7\xef\x32\x9f\x5e\xcf\x23\x47\x3a\x3b\x74\x76\x4e\xc8\x08\x4e\x27\x80\x4e\x00\xeb\xe1\x04\x1c\x94\x31\x9c\x0e\x01\x1d\x02\xd6\xc3\x21\x38\x4c\xa3\x38\x9d\x06\x3a\x0d\xac\x0f\x55\x9a\x8c\xe3\xde\x3d\x7a\xea\x12\xdd\xba\xcc\x07\x9b\x8d\x66\xf1\x17\x32\xf5\x9f\xa2\xa9\x9f\x44\x35\x89\x6a\xd6\x87\xa8\x3e\x24\x93\x3f\x1d\x02\x3a\x04\xac\x8f\x43\x70\x30\xa6\x7f\x3a\x01\x74\x02\x58\x77\x27\xe0\x05\x5b\x47\x01\x68\x4c\x0c\x54\x31\xfe\xf7\x93\x95\x06\xbf\xe3\x34\x80\x2d\xf3\xd3\xd8\x2c\x46\x2d\xce\x06\x45\xca\x9c\x74\xfc\x09\x65\xa9\x19\xa0\xb2\x4c\x59\x6a\x96\x3c\x78\x08\x59\x6a\xb6\x94\xdf\xb5\x7c\x35\x0d\x02\xfc\x20\x63\xa4\x29\x6b\x0d\x85\x4d\x9f\x5e\xd8\x34\x65\xad\xe9\x72\xdf\x50\xd6\x9a\x8d\x26\xb6\xf1\xd6\x22\xf8\x4f\xf0\x9f\xb2\xd6\xf0\x60\x6b\x7c\xb6\x90\xbf\xe6\x58\x10\x1a\x65\xb1\x21\x38\x76\xe4\x70\x6c\x40\xa8\x87\x2e\x67\xff\x0b\x65\xb1\x39\x1e\x18\x71\x00\x59\x6c\xdc\xe5\x92\xe4\x8f\x2a\x2a\x62\x11\x44\x5c\xc6\xfd\xda\xf3\xa1\xd6\xb8\xca\x18\x56\xc1\x76\x85\x63\xd4\x98\x99\xa1\xb1\x6b\xdf\xa1\xbf\x41\x87\xde\x99\x0e\xad\x40\x20\xa6\x35\xcb\x83\x35\xbd\xf9\x93\xca\xae\xa2\xe8\x57\x1e\x0b\x9d\x72\x23\x4c\x06\x20\x60\x96\xbe\x70\xa2\xe5\x94\x1b\x17\x8e\xea\x2b\x37\x3c\xf6\x6c\xa9\xb1\xee\x74\xf5\x4c\x46\x40\xcd\x1d\x28\xf5\xfe\xa3\x52\x0f\x31\xcf\x1e\x74\x69\xf3\x41\x79\x20\x1e\xa1\x2e\x0e\x82\xac\x59\x2a\xd8\xdd\xd9\x8f\x5f\xbe\xfc\xf2\xf9\xea\xeb\x2f\x77\x67\x17\xec\x46\x64\xa6\x83\xb6\xa6\x8e\x02\x8c\x2c\xe3\x34\x12\xb1\x48\x72\x76\xef\x5b\x8d\xf9\x8c\xc9\x49\x82\x15\xcd\xa4\x46\x9b\x85\x81\x53\xe5\x23\x3c\x13\xcc\x80\x71\xc6\x73\x54\x7a\xa0\xe9\x97\x9a\x85\x52\x07\x99\x30\x7d\xbe\x60\xef\x22\x09\xfd\xa9\x40\x72\xae\x8d\xf8\xab\x35\x84\xe5\xe8\x45\x68\x1a\xe3\xc9\x8c\xf9\xf2\x45\x32\xc9\x45\xf6\xc8\xa3\x11\x4b\x54\x06\xdd\xca\xa7\x62\xe6\x1a\x29\xbf\x8b\xc0\x59\x8b\x24\x84\xf7\xdd\x98\x71\x3e\x58\x58\x18\x50\xc5\x38\xd3\x06\xa2\x9b\x8e\xb9\xc2\x69\x52\x63\xa7\x70\xfa\xe6\x6a\x78\x99\x5f\x61\x0a\x6c\x29\xae\xa9\x60\x63\xc1\xf3\x22\x13\x6c\xc2\x73\xc1\x6a\x0b\x61\x5b\x12\x89\xc1\x97\x50\xee\x8b\xa7\x12\x3b\xb7\xac\xd9\x0d\x59\x96\x86\xe5\x6f\xa6\x5c\x9a\x2c\x3c\x1d\x30\x48\x06\x82\x1b\x24\x2d\x93\x42\x58\x23\x62\xa5\xc8\x9d\x16\x39\x7b\x32\x4a\x5a\x26\xf2\x4c\x8a\x47\x33\xe1\xb1\x82\xb5\xd5\x50\x4e\xce\x57\x23\xc3\x49\xb9\x60\x37\x32\x09\x44\xad\x7e\x9d\x5d\x4d\x8b\xc7\x47\x2c\xb0\x1b\xc8\xac\x3c\x40\x79\x57\x7f\xcd\x77\x04\x5f\x85\xc6\xb9\x51\x10\x1f\xa5\x2a\x34\x83\x69\x74\xfa\x1b\x9c\x06\x19\x1a\x3d\x23\xe0\x91\xfd\xad\x3c\x7f\xec\x95\xf8\x16\x88\x34\xf7\x5e\x96\xd8\xa4\x1a\xfb\x8f\xbc\xf6\x05\xb6\x6c\xff\x4c\x77\x32\x01\x55\xf1\x78\xbd\x2b\xd2\x9c\x2c\x81\xbb\xc1\x6b\x98\x7e\x0b\x95\xb6\x81\xfa\x6b\xe6\x0d\x50\x5c\x44\xc6\x50\x49\x7d\xb2\x25\xca\xc2\x42\xb0\x5c\x31\xf1\x2d\x95\xb6\xf0\xe0\xab\x89\x48\x44\x06\x0c\xd1\xd8\x68\xab\xb9\x62\x63\x39\xce\x85\x48\x58\x2c\x93\x22\x17\xfa\xb5\xc1\x08\xd0\xb7\xb1\x9c\xb8\x7a\x85\xa8\x4d\x31\x95\x54\xc6\x32\x5a\x38\x45\x78\xc5\x59\x4d\x8d\xb3\x3f\xbf\x7d\xc3\xbe\x5a\xef\xda\x0f\xa6\x0b\x22\xb4\xba\x70\xae\x26\xd8\x41\xfb\xa4\x1f\x51\xae\x1e\x44\xe2\x87\x8c\x6b\xc8\x12\x21\x42\x8d\x4f\x59\x21\x0a\x35\xe8\x46\x66\xc2\x40\xa7\xcb\x84\xce\x79\x06\xd2\x44\x66\xf0\x1b\x34\xac\x8a\x7c\x7e\xc5\xe1\x1c\x5d\xb0\x2f\xe6\xd3\x4f\xd2\x95\xc6\xb3\x5f\x31\x2b\x63\xc5\x00\x1a\x5f\xa1\x1d\xe7\x29\xeb\x95\x4f\xe8\xa1\x59\x1e\x21\x1f\xab\x4a\xa9\x19\x2c\x0c\x6e\xed\xb4\x40\xbb\xd0\x61\x30\xfc\xba\xcd\x9d\x88\x6f\x39\x7b\x10\x33\x2c\xfc\xe6\xff\x1c\xf1\xdc\x7c\x5f\x27\x3c\xd5\x53\x95\x8f\xd8\xd3\x54\x06\xe0\xee\x2b\x93\xca\x84\xf8\xe7\xfd\x46\xb6\xdd\xc7\x23\x74\xee\xf1\x1e\x08\x70\x23\x39\xb1\xa2\x7c\x38\xb2\x36\x10\xf3\x2f\x95\xb9\x8a\x93\x8c\x8f\x73\x81\x7b\x7a\x2c\x33\x9d\xd7\x27\x03\x6d\x0d\x32\x09\xa2\x22\x44\x99\x65\x5d\xa9\x01\xe2\x80\x66\x6c\x36\xa4\xf9\x5f\x5c\x94\x07\x31\x43\x81\x5d\x36\x7c\x77\xe6\x86\x7c\x77\x76\x71\x97\xdc\x25\xf3\x34\x05\xd4\x8a\x2c\xd2\x54\x65\xa0\xfc\x1b\x01\x81\x37\x95\xd4\x20\x84\xca\x3b\x02\x56\x0e\x36\x80\x95\xc6\xd5\xd9\xc3\x49\x80\x3d\xf8\x37\xbc\x61\xed\xb1\xf1\x37\x87\xad\x9d\x67\x57\x0c\xad\x33\x39\x8b\xa5\xd6\x70\x23\xcc\x99\x88\x36\x95\xbc\x6e\xeb\x75\xc3\x70\xb7\x93\xb6\x57\x4c\x8b\xb2\x9e\x9e\x39\x1b\x99\x0c\xf0\x24\xa0\x0a\x30\x2e\xc7\xee\xcb\x47\xce\xec\x3a\x21\x0f\x31\x5f\xcb\x53\x3c\x8a\x6c\x96\x4f\x65\x32\xd9\x74\xf8\xd0\xda\x8d\xed\xcd\xc1\xcc\x41\xc4\xef\x45\xd4\xd9\x1c\x40\x6b\xfb\x98\x83\x48\xc6\x32\x47\x53\x5a\xcc\xbf\xc9\xb8\x88\x59\x52\xc4\xf7\x22\xc3\xd1\x5b\x6d\x04\xe7\xc7\x4c\x05\xf2\x81\x38\x3f\x01\x8f\x22\x10\xc3\x70\x11\x4b\xd3\x0b\x2c\x2e\xb9\x28\xdd\xcc\xf5\x6d\xfe\xf6\x87\xdb\xeb\x7f\xb8\xfa\x96\x49\x39\xdf\xae\xf4\x24\x96\x86\xc5\x03\x08\x92\x28\xe0\x89\x2b\x20\x5b\xca\x52\xcd\x63\x23\x5c\x64\x2e\xfd\xa5\x8b\xbd\x34\xf0\x40\x94\xd2\xd2\x7c\x1a\xc7\x62\x96\xc9\x80\xd4\x3c\x47\xb8\x86\x63\xc7\xcb\x16\xc7\x26\x9e\x40\xec\xf0\xa4\x6a\x62\x35\x82\x2e\x56\x45\x02\xcd\xe0\x28\x5f\x15\xa9\xf9\x18\x96\xd0\x35\x7f\x79\xed\xa4\x1b\x22\x42\x0e\x02\xdd\xbd\xed\xf6\x8e\x91\x6c\x63\x19\xe5\xc2\xdc\x71\xe6\xde\x31\x62\x24\x98\xc7\xb0\x73\x28\x04\x0d\xd2\x81\x77\x11\x9a\xbf\xa3\xb0\x10\x66\x2e\xb2\x58\x26\xc2\xdf\xe6\x73\xa0\x08\x64\xe9\x23\x97\x91\x41\x8d\x25\x3e\x37\x43\x0e\xa6\x4a\x69\x01\x52\x2c\x57\x4e\x86\xda\xb5\x30\xd3\xc2\xb3\x49\x01\xb0\x9d\x27\xa1\xbb\xa1\x60\x92\xcc\xd8\x6c\x7f\x7c\xd3\xe5\xec\x7e\x1c\x33\xbf\xa5\x4a\x30\xe2\xf0\x4d\x6d\x00\x52\x33\x11\xa7\xf9\x6c\x1e\x88\x79\xf4\xcd\x73\x83\x59\x56\x0d\x68\xd5\x65\x20\xc7\xb5\xab\x00\x6f\x0f\xbf\x2f\x27\x05\xcf\x78\x92\x0b\x67\xe5\x2f\x2b\xd9\xea\xf2\xd8\xc3\x8d\x52\x80\xdd\xdd\xf7\xdd\x5f\x6c\x1e\xf2\xe5\x8a\x49\xad\x0b\xab\x04\xc8\x64\x12\x89\xf2\x84\x78\x94\xe1\x36\xdc\xb9\xb3\x45\x1b\xad\xc3\x7f\x72\xb3\x9b\xd6\x5d\xb2\xa0\x63\xe8\x42\x84\x8d\xd7\x2d\xe8\x3a\xc5\xbd\x36\x0f\x27\xb9\x1f\x41\x58\x21\x9f\x6f\xad\x9a\xa2\x55\x2c\x72\x19\x0b\x33\xf6\xb1\xc8\x32\x28\xf5\x6b\x6e\xe6\x39\x44\x55\x02\x0c\xb3\xa2\x22\xd1\x45\xe6\xa6\x8f\x3b\x88\xe4\x0c\xed\x38\x6b\x38\x64\x38\x98\x00\x86\x98\x8e\x79\x14\x89\x8c\x05\xd3\x22\x79\x00\xcb\x12\x67\x46\x6c\xb2\x88\x67\x13\xb7\xd0\x70\xe2\xb1\x79\xd4\xc8\xb4\x10\xb0\xf1\x52\xa5\xb5\x34\x1b\xce\x4e\x1b\x6c\xb8\xea\xf9\x42\x8f\xa6\xb0\xd4\xc9\xe0\x3b\x22\xc4\xf5\x00\xf8\x6d\x2f\x78\xbb\x87\x6d\xf5\x69\xe8\xf5\x13\xd7\x8e\x04\x72\x7a\xa7\x99\x93\x45\x84\x83\xb8\x9f\x6b\xb3\xc0\x41\x11\x61\x05\xe6\x72\xdb\x6c\x2c\xfd\xcd\x24\x35\x4b\xfd\xa6\x12\xd4\x27\xe4\xae\xd7\x6e\x34\x75\xec\xa6\x45\xee\x36\x6e\x9e\x71\x69\x24\x77\xc2\x9e\xcc\x0a\xbb\x27\xdd\x2e\x30\x8f\xb9\xb3\xe4\xcb\x2a\x67\xae\xba\xb5\x91\x98\xc2\x53\x36\x15\x8b\x9e\x54\x97\xa1\x0a\xf4\x25\x9c\x15\x23\xa1\x2f\x61\xb7\x9f\xf3\x54\x5e\xf2\x54\x9e\x07\x2a\x31\x2a\x9f\xbe\xfc\x17\x5f\x32\xd9\x7f\x70\x0c\xc7\x3a\xe7\x32\xd2\x20\x92\xaa\x00\x02\xfc\x35\x36\x9c\xee\xda\xe0\xf7\x38\xef\x9f\x41\xdc\xfa\x2b\x49\x43\xe1\xeb\xfa\xda\x18\xa8\x91\xa6\x91\x44\x01\xe3\xa5\x24\xfa\xc1\x48\xcd\xa6\x72\x32\x05\xf7\x98\x40\xc5\xb1\x48\xa0\xe6\x78\x75\xe5\xe6\xbe\x65\x0d\x03\x66\x4a\xcb\x96\x8c\xd0\xce\x44\xd3\x87\xcd\xb3\x87\xb7\xa2\x9f\x17\x8d\xcd\xfd\x2e\xeb\xad\x8c\x85\xb9\xb0\x9c\xc1\xc2\x4c\xed\x25\xde\xa5\x08\xf9\xe0\xd2\x00\xa1\x85\xf1\xa4\xa1\xb3\x00\x38\x9c\xc2\xa3\x68\xc4\x32\x31\xe1\x59\x08\x3c\xaa\x91\xf2\xc9\x8c\xf1\x20\x97\x8f\x32\x9f\x99\x9b\x4d\x26\xee\xbf\x36\x95\x2f\x39\x76\xaf\xa9\x76\x7f\xdf\x62\xf3\x77\x54\x1c\x55\xe6\x98\x63\x17\x1f\x8c\xcf\xdd\xc3\xd5\x8a\x8b\x87\x55\xd3\x2d\x66\xca\xa7\x22\xc6\xcb\x14\x29\x00\x98\x90\x30\x1c\xd9\xeb\x6a\x64\x9f\x8d\xd5\x23\x20\xb2\x8a\x2a\xc9\x6e\x00\x44\xcd\xea\xdb\x79\xd3\x49\x6b\x60\x2c\xb6\xb6\xe7\xd9\x7f\xfd\xbd\x15\x67\xa5\xfb\xce\x3d\x65\x6b\xc1\x57\x0a\xeb\xab\xf1\x02\x51\xb5\x82\xa3\xc2\xf7\x91\xa5\x7a\xe7\x1b\x59\xd5\x40\xbf\x4e\x33\xbd\x38\x2e\x63\x42\x2d\x17\x66\xd4\x8e\xb9\x59\x4d\xd9\x90\xb9\x96\xcc\xb5\x64\xae\x25\x73\xed\xb1\x99\x6b\xdb\xf9\x5a\x35\x9a\x6c\x77\xe6\x06\x47\xde\x8a\xad\x17\x6a\x9f\xde\x8a\x3b\xb3\xb1\x6f\xe0\x1f\xd8\x68\x63\xde\xd9\x8c\xdc\x56\x95\x05\x69\x14\x75\xc0\xf0\xec\x5e\x8c\xd1\x19\xc0\xdb\x63\x4a\x28\x61\xa5\x17\x6c\x9d\x8a\x7f\x66\xa2\x92\xf3\x44\x4c\x38\x6c\x50\x0b\xf7\xab\x7e\x9c\x68\x9b\xf5\x47\xc3\xa2\x44\x19\xc7\x22\x94\x3c\x17\xd1\xac\x64\xe9\xcb\x2b\x57\x46\x23\x0b\xe7\x61\xd2\xd9\x24\xe3\x01\x9c\x1a\xa9\x42\x0f\x08\xca\x4b\x1b\x5c\x20\xdc\x2e\x2d\xb4\xe9\x64\x75\xb9\xb8\x79\xd3\x0d\xc8\x7e\x64\x8c\x32\xd0\x35\x71\x81\xfd\xc4\xf8\x8f\x86\x3e\x6e\xb1\xcc\xd0\xe7\x6b\xe8\x72\x93\x8a\xb4\x46\x49\x1a\xca\xf6\xdf\x84\x5e\x69\x37\x2f\xcb\x29\x96\x9d\x6d\x7f\x22\x5b\x88\x6c\x21\xb2\x85\xc8\x16\x22\x5b\x7a\x23\x5b\x5a\xde\x05\x0b\x84\xcb\xee\xae\xc5\xf7\x22\xcd\x84\x01\x25\xe1\xf7\x2c\x8d\x04\xd7\xc2\x8b\xa0\xeb\x4c\xa5\x7c\x02\xe8\xe8\x5a\x45\x32\x98\xcd\xb9\xf6\xb9\x4d\x17\xfa\x06\xcc\xb6\x7b\x7b\xf1\x3f\x2e\xd8\x0d\xca\x33\x84\x2e\xa9\x48\xcc\x61\x29\xef\x54\xc1\x54\x96\x4e\x79\xe2\x5c\x0d\xb3\x42\x5c\x8e\x79\xe4\x74\xe5\xbb\x33\xfc\xf9\xee\x8c\x8d\x65\xc2\x23\xf9\x0f\x77\x91\xdc\x0b\xc6\x43\xb0\xc0\xab\x4b\xb4\x4e\x86\xa5\x1a\x86\xcd\xbf\xd4\xe5\x4b\xa8\x9f\x5e\xb0\x0f\x12\x84\x63\xa5\xeb\x2a\x5b\x1c\x5b\xc9\xb7\xe4\xa8\x1e\x83\x8e\xa2\xf2\xe9\x36\x0b\x8a\x23\x78\xef\xc6\xbe\x14\xf2\x6c\x15\x9d\xba\x91\x62\x06\x43\x37\x07\x76\xaa\x9e\xd8\x84\x67\xf7\x7c\x32\x67\x9c\xf4\x4a\x8d\xc8\xc6\x2a\x8b\xcd\x9a\x34\xce\xd7\x97\xda\x88\x96\x4f\x17\x80\x5e\x87\x58\x53\x9c\x5b\x69\xd0\x64\x20\xc3\x52\x15\x06\xac\x80\x41\xc4\x6e\x8d\xcd\x65\x6d\x6f\x52\x87\x06\x2e\x2a\x8b\xe9\xee\x11\x4f\x78\x78\xb7\xd9\xf9\x8f\x5d\xb0\xab\x20\x10\x29\x46\x3e\x55\x35\xbb\x97\x38\x86\x97\xec\xdc\x6e\xc0\xf9\x0d\xaa\x7f\x60\x2f\x7f\xe4\xc1\xc3\x24\x53\x45\x12\x9a\xa7\xc0\x05\x15\x1e\xaa\x4d\x1c\x42\x48\x8b\x8f\xe7\x1b\x71\x23\xb8\xf7\x2d\xfd\xc0\x5e\xfe\xa4\x32\x51\x69\x96\x05\x5c\x07\x3c\x34\xa3\xb7\xf3\x83\x1e\xca\xd0\x9e\x46\xd5\x73\xa1\xc1\xb1\x6f\x63\x9b\x0d\x99\xd6\xb7\xfb\x7e\x10\xe7\x11\x33\xa3\xed\xd6\x61\x15\x3b\xba\xaf\x55\x20\x9e\xb4\xb7\xf5\x5d\xe4\x4a\x77\x67\xdb\xd8\x27\x6b\xda\x6e\xb2\x56\x30\xa7\xcf\xc5\x3f\x8d\x4c\x1d\x05\x89\x6e\x48\xd3\xd9\x00\xfd\x76\xfc\xdc\x51\x45\x56\xe1\x5d\x5c\xe2\xa4\xdd\x45\x59\x6d\x19\x60\xb5\xe7\xc8\xcb\xad\x82\x2e\xb7\x21\xb1\x29\x48\xec\x74\x82\xc4\xda\xdd\x22\xeb\x02\xc5\x76\xa7\x6e\x91\x0f\x02\xf9\x20\x90\x0f\x02\xf9\x20\x90\x0f\x42\x93\xf0\x25\x72\xfb\x80\x66\x84\xf8\x4e\xe2\x3b\x89\xef\x24\xbe\x93\xf8\x4e\xe2\x3b\x8f\x8b\xef\x24\x0a\x82\x28\x08\xa2\x20\x88\x82\xe8\x9d\x82\xd8\x80\xa6\x1f\x68\x18\x57\xbb\x29\x5c\x0c\xe5\x3a\xaa\xf4\xdb\x4b\x5f\xa0\x04\x7c\x60\xc4\xa7\xdc\x7b\x0d\x8f\x0d\x85\x15\xda\x22\xed\xde\xa1\x84\xe2\xbf\xa8\xad\x54\x1f\xd5\x27\x41\x4d\x61\x7c\x13\xb6\x0b\xdf\xe9\x8e\xef\x1a\x68\xa6\xf3\x85\xa1\xb5\x93\x00\x14\x47\x74\x04\x71\x44\x94\xf5\x9c\xb2\x9e\x37\x74\x66\xf8\x50\xe5\x30\x32\xa0\x6f\xdf\xeb\xef\xd6\xf6\x1a\x3d\x63\x07\xd5\xed\x63\xc2\x84\x00\x41\x06\x8a\x09\x5f\xb0\x36\xd9\x31\x6c\xa9\xd6\x1d\x25\xc9\xd8\x08\x59\x55\x13\x63\x50\x3a\x0c\x82\x52\xc7\x00\xa5\x28\x00\xf9\x84\x02\x90\x29\xd2\x8a\x22\xad\x28\xd2\x8a\x22\xad\x48\x0b\x5c\x76\x8a\x06\xa6\x05\x92\x3e\xc5\xf6\xab\x4f\x59\xd5\x63\xa0\x1a\x95\xb7\x3c\x77\x1e\x7b\x91\x09\x1e\xd6\xa0\xd5\x06\x8a\x92\x79\xbb\x85\x9a\x44\x52\x83\x8e\x9f\xfd\x71\xc9\xf1\x9b\x88\xc1\x5a\x33\x9e\xc3\x70\x81\xb5\xda\x6a\x9d\xab\x7b\x21\x5d\x85\xdf\x69\x33\x9f\x05\xff\x3b\xf7\xcb\x0a\xe2\xa5\xe7\x2c\xb9\x87\xcb\xdb\x01\xfb\xdd\x4a\x7e\xd6\x65\x13\xd6\x79\xff\xb7\xd5\x62\x2a\x16\xd9\x44\xb4\x7a\x52\xbb\x7a\xef\xe7\xed\xdf\xa9\xd4\x9b\xff\x37\x10\x88\x6d\xe4\x7b\xca\xb3\x5c\x42\x70\x0a\x7a\x6a\x6c\x2f\xeb\xe1\xc3\xfb\xb6\x89\xf5\xc5\x36\xae\xb0\x98\x5d\xcf\xbb\x4c\x30\xb2\x94\x1d\xb9\xa5\xec\x74\x48\xc7\x9a\xa3\xb7\x3b\x5c\x18\x8c\x60\xa4\x4d\x19\xe0\xfa\x6a\x89\x24\x7a\x0d\x76\x02\x8c\x40\xe4\x11\xbc\x99\xa8\xe4\x1c\xdf\x86\x27\xc0\x54\xa7\xd9\xab\xff\xad\x55\x72\x8d\x71\x9e\x9f\x8d\xcc\xb3\xff\xbe\x71\x92\xb0\xfc\xe3\xeb\x21\xb1\xa1\xed\xf7\xcd\x4f\x2a\x0b\xc0\x96\x39\x51\xb0\xf8\x8a\xdd\x9d\x8d\xcd\xdf\xee\xce\xd8\xd5\xdc\x6c\x82\x1b\x29\x1a\x1e\x0b\x5d\xc6\xb4\x9d\xf3\x00\x16\x00\x22\x05\x23\x19\x58\x53\x8a\x88\x42\xcd\xd4\x93\x5d\x5b\x8c\xa4\x4b\x85\x4a\x23\x71\xc1\xf0\x9b\x10\x20\xec\xf6\x14\x38\x73\x36\x2e\x84\xff\xfc\x36\xd3\x6b\x3e\x74\xbc\xae\x77\xa4\x2a\x1c\x8c\xaa\x90\xd6\x1c\x20\x07\xaa\x2c\x14\x9d\x2b\xea\x69\xc4\x83\x67\xe0\x37\xdb\xc0\xb1\x22\x38\xf2\x17\x23\xe8\x76\x42\xd0\x6d\x40\x08\x89\x2e\x72\xff\x0b\xf9\x8b\x35\xf6\xfa\xa8\xe0\x47\x31\x58\x4b\xe5\x0b\xb6\x81\xdf\xd5\xa5\xc6\x8c\x5b\x15\xf7\xab\x7e\xc8\x05\xfc\x8e\xbb\x96\x3a\xa6\x19\x6c\xda\x30\x12\x3c\x74\x84\x1b\x5e\x20\xb2\x81\xc8\x06\x22\x1b\xf6\x48\x36\x74\x20\xfb\x57\xd0\x0e\x0d\xc2\xff\x20\x55\x57\x22\x1f\x48\x83\x3d\x3d\x0d\x96\xc8\x87\x2e\xf7\x0d\x91\x0f\x64\xb3\x20\xd5\x81\xc8\x07\x78\xb0\x37\xf2\xa1\x13\x5d\x7e\x05\x0d\x71\x2c\x88\x8e\xc8\x08\x82\x72\x27\x04\xe5\x06\x84\x98\xe8\x62\xf7\xbf\x10\x19\xd1\xd8\xeb\xa3\x82\x23\x87\x46\x46\xa8\xb0\x5f\xc6\x61\x4d\x29\x09\x15\xae\x40\x26\x95\xea\x11\x2a\xfc\x49\x65\x57\x51\xf4\x2b\x8f\x85\x4e\xb9\x11\x1d\x03\x10\x27\x4b\x5f\x38\xd5\xfc\x60\x2a\xa4\x94\x60\x0d\x8f\x3d\xff\xe4\xab\x70\x77\xb4\x05\xd5\x55\x39\xe2\xba\x2a\xeb\x39\x98\x75\x35\x55\x56\xda\x79\x3a\xe0\x97\xa8\x92\x0a\x55\x52\xa1\x4a\x2a\x54\x49\xe5\xd8\x2a\xa9\xac\x97\xbc\x8d\x55\x54\x7a\x66\xf3\x77\x56\x3b\x65\xfd\xf0\x97\xd7\x4d\x19\xf2\x1c\x6c\x52\x2d\x65\xfd\x1c\x2c\xaf\x94\xd2\xf3\x1c\x50\x7d\x14\xaa\x8f\x42\xf5\x51\xa8\x3e\x0a\xd5\x47\xe9\xad\x3e\x4a\x0b\xe9\xbf\x50\x1b\x65\x65\x7e\xb2\x13\x72\xe6\x6b\x37\x9a\x23\xae\xef\xb2\x7e\xba\x57\xd5\x76\xd9\xed\xbc\x53\x45\x97\x5e\x56\x74\xb1\x9a\x4b\xcf\xcb\xba\xd7\x1a\x2e\xeb\xa7\x67\x45\xfd\x96\xbe\xc5\xe6\x50\xab\xb6\xac\x9f\xb4\x06\x36\x62\x6b\x7b\x9e\xfd\xd7\xdf\x97\x31\x4b\xb9\x88\x53\xb0\x48\xec\x97\x61\xba\xb5\xdd\x68\xcb\x34\xb9\xe7\x89\x71\xaa\xcf\xfc\x20\x19\x27\xb7\x5c\xc4\x3c\x35\x3c\xd6\x05\xf3\xd4\x70\x7e\x88\x81\x22\x06\x8a\x18\x28\x62\xa0\x88\x81\x22\x06\x8a\x18\x28\x62\xa0\x88\x81\x22\x06\x8a\x18\x28\x62\xa0\x88\x81\x22\x06\x8a\x18\x28\x62\xa0\x36\x10\xfb\xc4\x40\x11\x03\x45\x0c\xd4\x61\xac\x28\x31\x50\xf3\xd3\x43\x0c\xd4\x90\x19\xa8\x4c\x78\xce\xc3\xe0\x8d\x4c\x99\xdb\x7e\x9f\x5c\xd4\xd7\xb2\x43\xef\x7c\x87\x5a\xb1\x52\x8d\x6f\x12\x3f\x55\x5f\x8d\xe1\xf1\x53\x8d\x0b\x47\x4c\x55\xc3\x63\xcf\x66\xaa\xd6\x9d\x2e\xe2\xac\x88\xb3\x22\xce\x8a\x38\x2b\xe2\xac\x88\xb3\x22\xce\x8a\x38\x2b\xe2\xac\x88\xb3\x22\xce\x8a\x38\x2b\xe2\xac\x88\xb3\x22\xce\x8a\x38\xab\x0d\xc4\x3e\x71\x56\xc4\x59\x11\x67\x75\x18\x2b\x4a\x9c\xd5\xfc\xf4\x10\x67\x35\x6c\xce\x0a\xfb\xf9\x5f\x85\xca\xf9\x7e\xb9\x2a\xec\xc8\xff\x31\x1d\x69\xc9\x51\x55\xde\x20\x6e\xaa\x3e\xfb\x43\xe4\xa6\x2a\x0b\x46\x9c\x54\xc3\x63\x1d\x70\x52\xcd\xa7\x88\xb8\x28\xe2\xa2\x88\x8b\x22\x2e\x8a\xb8\x28\xe2\xa2\x88\x8b\x22\x2e\x8a\xb8\x28\xe2\xa2\x88\x8b\x22\x2e\x8a\xb8\x28\xe2\xa2\x88\x8b\x22\x2e\x6a\x03\xb1\x4f\x5c\x14\x71\x51\xc4\x45\x1d\xc6\x8a\x12\x17\x35\x3f\x3d\xc4\x45\x0d\x99\x8b\xd2\x22\xc8\x44\xbe\x4f\x12\xea\x06\x7a\xd0\x8a\x7d\xc2\x47\x89\x76\xaa\xcf\xf7\xf0\x68\x27\x5c\x29\xe2\x9b\x1a\x1e\x7b\x36\xdf\xb4\x70\x60\x88\x68\x22\xa2\x89\x88\x26\x22\x9a\x88\x68\x22\xa2\x89\x88\x26\x22\x9a\x88\x68\x22\xa2\x89\x88\x26\x22\x9a\x88\x68\x22\xa2\x89\x88\x26\x22\x9a\x36\x10\xfb\x44\x34\x11\xd1\x44\x44\xd3\x61\xac\x28\x11\x4d\xf3\xd3\x43\x44\xd3\xb0\x89\xa6\xec\x51\x06\x82\x07\x81\x81\xcc\xfb\x25\x9c\xa0\x27\x57\xd8\x93\x96\xc4\x53\xf5\x15\x22\xa0\xea\xf3\x3f\x44\x02\xaa\xba\x62\x44\x44\x35\x3c\xd6\x01\x11\xb5\xe4\x20\x11\x21\x45\x84\x14\x11\x52\x44\x48\x11\x21\x45\x84\x14\x11\x52\x44\x48\x11\x21\x45\x84\x14\x11\x52\x44\x48\x11\x21\x45\x84\x14\x11\x52\x44\x48\x6d\x20\xf6\x89\x90\x22\x42\x8a\x08\xa9\xc3\x58\x51\x22\xa4\xe6\xa7\x87\x08\xa9\x03\x20\xa4\x06\xc0\x44\x6d\x42\x41\x11\xf7\x54\x9f\xf1\xc1\x72\x4f\x44\x3a\x35\x3c\xd6\x15\xe9\x44\x6c\x13\xb1\x4d\xc4\x36\x11\xdb\x44\x6c\x13\xb1\x4d\xc4\x36\x11\xdb\xd4\x91\xb4\x25\xb6\x89\xd8\x26\x62\x9b\x88\x6d\x22\xb6\x89\xd8\x26\x62\x9b\xfe\x7f\xf6\xde\xaf\xb9\x6d\xe4\xe8\xf7\xbf\xf7\xab\x98\x52\x2e\x64\x57\x24\xea\xd8\x75\xaa\x92\xda\xad\xe7\x42\x6b\xef\xe6\xe7\x64\x7d\xac\x63\xb9\x76\x6f\x9c\x7a\x32\x02\x86\xd0\x94\x41\x0c\x0e\x00\x4a\xab\x3c\x95\xf7\xfe\xab\xe9\x19\x0c\xfe\x10\x24\x41\x12\x20\x01\xf0\x9b\x9b\x68\x4d\x60\x30\xff\xa7\xbb\x3f\xdd\xd3\xa0\x4d\xa0\x4d\xa0\x4d\xa0\x4d\x83\x1c\x51\xd0\xa6\x6a\xf7\x80\x36\x0d\x99\x36\xd1\x87\x6e\x8c\x61\x68\xc1\xe3\x7e\xa9\x93\x15\xf0\x22\x5f\x3e\x49\x7f\xc9\xc3\xf2\xb0\x70\xa7\xc4\xbd\xa7\xca\x7c\xe2\xf1\x8c\xf9\x22\x4e\x84\xa7\xcf\xeb\x1f\x9c\x94\x7d\x49\xa5\x5c\x16\x26\xbb\x8a\x0d\xc6\x71\x2a\x26\xa3\x34\x13\xbc\x72\x1c\xd6\x29\x16\x95\x64\x30\x96\xfb\xe8\xaf\x32\x45\x20\xd5\xca\x40\x0e\x06\x66\x2d\xb8\xf7\x28\x23\x91\xbc\xcc\xe2\xef\x81\xfe\x87\x74\xa6\xf5\xd0\xd9\xd3\xdb\x19\xad\xf6\x9f\xb5\x42\x77\x8e\x74\x8b\x06\xaf\x5f\xc4\xe5\xd6\x08\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x57\x47\xbb\x2d\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\x17\x20\xd7\x20\x47\x14\x90\xab\xda\x3d\x80\x5c\xc3\x87\x5c\x22\xf2\x63\x25\xfb\xbe\xe3\xaf\x1d\xe3\xfa\x39\xaf\xcb\x31\x19\x97\xfb\x28\x18\x57\xd3\x40\x82\x71\x81\x71\x5d\xb8\x35\x02\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\xd5\xd1\x6e\x0b\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x05\xc6\x35\xc8\x11\x05\xe3\xaa\x76\x0f\x18\xd7\x08\x18\x17\x19\x8a\x87\x00\xb8\x74\x45\x8e\x0a\xb7\xf4\x07\x01\xb6\x9a\x06\x10\x60\x0b\x60\xeb\xc2\xf4\x2d\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\xd6\x00\x80\x0e\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x16\xa0\x56\xb5\x35\x80\x5a\x80\x5a\x80\x5a\x80\x5a\x80\x5a\xe7\x0b\xb5\x68\x72\x24\xd4\x45\x03\x20\x5b\xbf\xea\xda\x7c\xd1\x3f\x1c\x13\x6f\x15\x5f\x05\xe3\x6a\x1a\x4a\x30\x2e\x30\xae\x8b\x62\x91\x00\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x75\xb4\xdb\x02\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x01\x74\x0d\x72\x44\x01\xba\xaa\xdd\x03\xd0\x35\x7c\xd0\x15\x15\x40\xe7\xf4\x9c\xcb\xd1\xa5\x63\x62\x2e\xf7\xd1\x5f\x6b\xa0\x00\x54\x0b\x54\x8b\x9d\x27\xd5\x72\x6b\x02\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\xab\xa3\xdd\x16\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x0b\x50\x6b\x90\x23\x0a\xa8\x55\xed\x1e\x40\xad\x31\x41\xad\x9b\xff\x71\x7f\xff\xe7\xc6\xd8\x8b\x16\x3c\x1e\x02\xeb\x7a\x4f\x95\xf9\xc4\xe3\x93\xb0\x2e\xdf\x7d\x1e\xd4\x0b\xd4\x0b\xd4\x8b\x16\x8a\x5b\x13\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\x1d\xed\xb6\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\xa0\x5e\x67\x47\xbd\x6c\xab\x75\x05\x68\x28\xf9\x32\x7b\x64\xa9\xa7\x62\x71\xc5\xd2\xa5\xf7\xa8\x47\x9e\xf4\x15\xc1\x17\xc6\x7e\x1b\x27\x8a\x7a\xb9\xa9\x69\x31\xcf\x1e\x9b\x5b\x16\x35\x3b\xef\xea\xf9\xa7\x25\x7d\x5b\xfb\x23\x9e\x77\xc0\x7d\xc0\x7d\xc0\x7d\xe3\x18\x51\xe0\xbe\x6a\xf7\x00\xf7\x4d\x00\xf7\x99\x7f\xfe\xcf\x11\xa8\x5f\x19\xf5\x45\xb9\x9c\xa3\xe6\xec\xbb\x8c\xfc\x8e\x91\xdf\x55\xa1\xd7\x90\xee\x66\x65\x60\xad\x1a\x15\x0a\xdb\x65\x45\xd1\x2f\x95\xbd\x3f\x30\x04\x2c\x04\x2c\x1c\x05\x2c\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x04\x28\x6c\xbb\xfb\x1f\x1d\x14\x12\x21\xb4\x3d\xb0\xc6\xd4\xd0\x86\x01\x0e\x05\xff\x81\x7b\x82\x7b\x82\x7b\x82\x7b\x0e\x7a\x44\xc1\x3d\xab\xdd\x03\xee\x39\x5a\xee\x29\x22\x3f\x56\x32\xca\x86\x10\xe5\xf8\x73\x5e\x97\xd3\x44\x39\xba\xcf\x23\xca\x11\xe0\x72\x34\xe0\xb2\xdf\x28\x47\xb7\x26\x00\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x3b\xda\x6d\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\xcf\x0e\x5e\x82\xf6\x81\xf6\x81\xf6\x81\xf6\x0d\x7a\x44\x41\xfb\xaa\xdd\x03\xda\x37\x7e\xda\x37\x90\x20\xc7\x6e\x89\xdf\x91\x83\x1c\x9b\xd8\x08\x58\x21\x58\x61\xad\xd4\x01\xb1\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\x42\x70\xc2\xb6\xbb\xff\x49\x83\x1c\xd7\x98\x1a\x10\xe4\xd8\xdc\x66\x60\x4f\x60\x4f\x60\x4f\x60\x4f\x60\x4f\x60\xcf\xb3\xc5\x9e\xc4\x01\x86\x10\xe1\xa8\x2b\x72\xa2\xe8\x46\xfd\x69\x44\x36\x82\x56\x8e\x86\x56\xf6\x1c\xd9\x48\x7d\x0b\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x39\x00\x52\x07\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x09\x5a\x39\x46\x5a\x09\xbc\x07\xbc\x07\xbc\x07\xbc\x37\xe8\x11\x05\xde\xab\x76\x0f\xf0\xde\xc8\xf1\xde\x50\x42\x1a\x3b\x43\x7c\xc7\x0e\x67\xac\x01\x11\xc0\x41\xc0\xc1\x5a\xa9\x03\x82\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x00\x83\x83\x04\x83\x95\x30\xc6\x55\x33\x03\x42\x18\x9b\xdb\x0c\xc6\x09\xc6\x09\xc6\x09\xc6\x09\xc6\x09\xc6\x79\xae\x8c\x93\xe6\x4c\x42\x3d\x37\x80\x38\xc6\x5f\x75\x6d\xbe\xe8\x1f\x4e\x13\xcc\x58\x7c\x1f\x11\x8d\x80\x96\xa3\x81\x96\xfd\x46\x34\x16\x8b\x02\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\xb2\xa3\xdd\x16\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\x12\xf4\xf2\xec\xe8\x25\x90\x1f\x90\x1f\x90\x1f\x90\xdf\xa0\x47\x14\xc8\xaf\xda\x3d\x40\x7e\x53\x40\x7e\x03\x89\x6d\xec\x18\xfb\x1d\x39\xc0\xb1\x91\x8f\x00\x18\x02\x18\xd6\x4a\x1d\x10\x30\x04\x2c\x04\x2c\x04\x2c\x64\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x80\x85\x6d\x77\xff\x93\x86\x3a\xae\xb3\x35\x20\xde\xb1\xb9\xcd\x80\x9f\x80\x9f\x80\x9f\x80\x9f\x80\x9f\x80\x9f\xe7\x0a\x3f\x63\x5d\x79\x92\x09\x9f\x54\xb8\x5c\x08\x2f\xe4\x72\x31\x84\xd0\xc7\x3b\x57\xb1\xdf\xa8\x62\xef\x75\xc5\x4e\x13\x05\xd9\x58\x15\x04\x44\x82\x6f\x8e\x86\x6f\xf6\x1b\x10\xd9\xb8\x3e\x80\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x3b\xda\x6d\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\x81\x3b\xcf\x0e\x77\x02\x0f\x02\x0f\x02\x0f\x02\x0f\x0e\x7a\x44\x81\x07\xab\xdd\x03\x3c\x38\x31\x3c\x38\x90\x30\xc9\xfe\x10\xe1\x91\x23\x26\xb7\x01\x14\xc0\x45\xc0\xc5\x5a\xa9\x03\x82\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\x00\x8b\xa3\x00\x8b\xe5\x38\xca\x16\x66\x07\x84\x54\x36\xb7\x19\xcc\x14\xcc\x14\xcc\x14\xcc\x14\xcc\x14\xcc\xf4\x6c\x99\xa9\xf2\x07\x11\x40\xa9\xfc\x13\x85\x4b\x2a\x1f\xc1\x91\xe0\x97\xa3\xe1\x97\x3d\x07\x47\x2a\x1f\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\xb2\xa3\xdd\x16\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\x12\xc4\xf2\xec\x88\x25\xb0\x1e\xb0\x1e\xb0\x1e\xb0\xde\xa0\x47\x14\x58\xaf\xda\x3d\xc0\x7a\xa3\xc6\x7a\x43\x09\x7c\xec\x08\xed\x1d\x3b\xcc\xb1\x82\x42\x00\x05\x01\x05\x6b\xa5\x0e\x08\x0a\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x02\x08\x0e\x10\x08\x56\x42\x18\xeb\x46\x06\x04\x2c\x36\xb7\x19\x64\x13\x64\x13\x64\x13\x64\x13\x64\x13\x64\xf3\x8c\xc9\x66\x26\x16\x31\x19\x9c\x86\x11\xb8\xf8\xd5\x56\xe7\x64\x01\x8c\x79\x05\x10\xc8\x08\x66\x39\x1a\x66\xd9\x7b\x20\x63\xbe\x2a\xc0\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\x3b\xda\x6d\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xc1\x2f\xcf\x8e\x5f\x02\xfb\x01\xfb\x01\xfb\x01\xfb\x0d\x7a\x44\x81\xfd\xaa\xdd\x03\xec\x37\x09\xec\x37\x9c\xc0\xc6\x4e\xd1\xdf\xf1\x03\x1c\x1b\x10\x09\xa0\x21\xa0\x61\xad\xd4\x01\x41\x43\x00\x43\x00\x43\x00\x43\xf3\x23\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\x21\x80\xe1\x20\x81\x61\x2d\xe0\xb1\xd9\xd8\x80\xc0\xc7\xe6\x36\x83\x80\x82\x80\x82\x80\x82\x80\x82\x80\x82\x80\x9e\x2b\x01\x4d\x84\x03\x5d\x5a\xac\x4c\x94\x16\xea\x86\x10\x02\xf9\xa5\xa8\xd8\x7b\x57\xb1\xd3\x04\x43\x36\x56\x05\x61\x91\x20\x9c\xa3\x21\x9c\xfd\x86\x45\x36\xae\x0f\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\xce\x8e\x76\x5b\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\x4e\xf0\xce\xb3\xe3\x9d\xc0\x83\xc0\x83\xc0\x83\xc0\x83\x83\x1e\x51\xe0\xc1\x6a\xf7\x00\x0f\x4e\x0c\x0f\x0e\x24\x54\xb2\x3f\x44\x78\xe4\xa0\xc9\x6d\x00\x05\x70\x11\x70\xb1\x56\xea\x80\xe0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\x22\xc0\xe2\x28\xc0\x62\x39\x90\xb2\x85\xd9\x01\x21\x95\xcd\x6d\x06\x33\x05\x33\x05\x33\x05\x33\x05\x33\x05\x33\x3d\x5f\x66\x6a\x1a\xf1\xff\x96\x2a\xe3\xc3\x08\xa5\x34\x15\xfa\xbf\xba\x42\xa7\x0a\xa1\x2c\x55\x01\xa1\x93\xa0\x9b\xa3\xa1\x9b\x7d\x87\x4e\x96\xd6\x05\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\x66\x47\xbb\x2d\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\x26\xc8\xe6\xd9\x91\x4d\xe0\x3f\xe0\x3f\xe0\x3f\xe0\xbf\x41\x8f\x28\xf0\x5f\xb5\x7b\x80\xff\x26\x82\xff\x06\x13\x2a\xd9\x35\x02\x3c\x7a\x88\x64\x33\x28\x01\x3c\x04\x3c\xac\x95\x3a\x20\x78\x08\x70\x08\x70\x08\x70\x98\xff\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x08\x70\x38\x48\x70\x58\x0d\x89\x5c\x6b\x6e\x40\x28\x64\x73\x9b\xc1\x42\xc1\x42\xc1\x42\xc1\x42\xc1\x42\xc1\x42\xcf\x95\x85\xa6\xc2\x4b\x44\x36\x84\x18\xc8\x7b\xaa\xc9\x69\x82\x1f\xcd\xb7\x11\xf5\x08\x70\x39\x1a\x70\xd9\x6f\xd4\xa3\x59\x10\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\x1d\xed\xb6\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\xa0\x96\x67\x47\x2d\x81\xf8\x80\xf8\x80\xf8\x80\xf8\x06\x3d\xa2\x40\x7c\xd5\xee\x01\xe2\x1b\x3b\xe2\x1b\x48\x9c\x63\x87\x98\xef\xc8\x01\x8e\x2b\x4c\x04\x80\x10\x80\xb0\x56\xea\x80\x00\x21\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\x20\xe0\xe0\x30\xe1\x60\x39\xa4\xb1\xc9\xce\x80\x58\xc6\xe6\x36\x03\x74\x02\x74\x02\x74\x02\x74\x02\x74\x02\x74\x9e\x2f\xe8\x4c\x9e\xa4\x27\xb8\xe7\x69\xa5\x68\x18\x31\x8d\x54\xa3\x5b\x53\xa3\x53\xc5\x36\x96\xeb\x80\x18\x47\x20\xcc\xd1\x20\xcc\xbe\x63\x1c\xcb\x0b\x03\x38\x13\x38\x13\x38\x13\x38\x13\x38\x13\x38\x13\x38\x13\x38\xb3\xa3\xdd\x16\x38\x13\x38\x13\x38\x13\x38\x13\x38\x13\x38\x13\x38\xf3\xec\x70\x26\x10\x20\x10\x20\x10\x20\x10\xe0\xa0\x47\x14\x08\xb0\xda\x3d\x40\x80\x53\x41\x80\x83\x89\x79\xec\x1c\x03\x1e\x3d\xf6\x71\x0d\x2b\x01\x40\x04\x40\xac\x95\x3a\x20\x80\x08\x78\x08\x78\x08\x78\xe8\x7e\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x04\x3c\x1c\x24\x3c\xac\xc6\x42\xae\xb7\x37\x20\x26\xb2\xb9\xcd\x00\xa2\x00\xa2\x00\xa2\x00\xa2\x00\xa2\x00\xa2\x67\x0e\x44\x07\x14\x0c\x79\xd2\x28\x48\x84\x3f\x82\x5e\x8e\x86\x5e\x1e\x25\xfc\x11\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\xb2\xa3\xdd\x16\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\x12\xe8\xf2\xec\xd0\x25\x30\x1f\x30\x1f\x30\x1f\x30\xdf\xa0\x47\x14\x98\xaf\xda\x3d\xc0\x7c\xa3\xc7\x7c\xc3\x0a\x78\x1c\x71\xa4\x23\x20\x21\x20\xe1\x28\x20\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\x21\x00\xe1\x40\x01\x61\x43\x6c\x23\x82\x1a\x41\x3b\x41\x3b\x07\xc2\xc6\x40\x3b\x41\x3b\x41\x3b\x41\x3b\x6b\x9d\x76\x62\xda\x79\x72\xb0\xe9\x38\xe1\x08\xd1\x26\x90\x26\x90\xe6\x99\x23\xcd\xa6\xb5\x00\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\x09\xa8\xb9\xc3\xb6\x5f\x86\x9a\x6b\x4c\x0d\x63\xc2\x9a\xa0\x7b\xa0\x7b\xa0\x7b\xe3\x18\x51\xd0\xbd\x6a\xf7\x80\xee\x8d\x80\xee\x29\x7f\x10\x17\x93\xfe\x1f\xe5\x1f\xf7\x56\x52\xe5\xe3\x22\x52\x06\x20\x37\x1a\x20\xd7\xef\x45\xa4\x7a\x39\x80\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x75\xb4\xdb\x82\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x81\xc7\x9d\x1d\x8f\x03\xc0\x02\xc0\x02\xc0\x1a\xc7\x88\x02\x60\x55\xbb\x07\x00\x6b\x24\x00\x6b\x28\x91\x69\x5d\x41\xac\xe3\x04\xa5\x55\x6d\xfe\xc0\x5f\xc0\x5f\xb5\x52\x07\x84\xbf\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x80\xbe\x86\x88\xbe\x2a\xa1\x68\x2b\x56\x06\x44\xa1\x01\xe2\x9d\x1e\xf9\x00\xe2\x01\xe2\x01\xe2\x01\xe2\xd5\x3a\xed\xc8\x10\x2f\xd6\xb5\x24\xe9\xe7\x49\x85\xcb\x85\xf0\x42\x2e\x17\x43\x08\x4b\xbb\x73\x15\xfb\x8d\x2a\xf6\x5e\x57\xec\x98\x71\x6a\x8d\x15\xf8\x55\xa6\xd9\x2f\x2a\xb9\x0d\x43\x17\xe1\x9e\x82\xe4\x81\xe4\x8d\x82\xe4\xf5\x1b\xc8\xd6\xb8\x5e\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x3a\xda\x6d\x81\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\x80\xf7\xce\x0e\xef\x01\x8a\x01\x8a\x01\x8a\x8d\x63\x44\x01\xc5\xaa\xdd\x03\x28\x36\x3e\x28\x36\x44\x1e\x76\x4a\x14\x86\xeb\x1b\x41\xbd\x40\xbd\x1a\xa9\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x57\x47\xbb\x2d\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\x17\x80\xd7\x20\x47\x14\xc0\xab\xda\x3d\x00\x5e\x23\x04\x5e\x03\xb9\xd6\xb1\x17\xe8\x75\x94\x2b\x1e\x37\x70\x01\xe0\x32\xe0\xb2\x5a\xa9\x03\xc2\x65\x40\x65\x40\x65\x40\x65\xa5\x1f\x81\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x80\xca\x06\x89\xca\xca\x57\x3f\x6e\xb6\x38\xe0\x1a\x48\x00\xc0\xd3\xe3\x22\x00\x40\x00\x40\x00\x40\x00\xc0\x5a\xa7\x1d\x1b\x00\x2a\x7f\x10\x41\x6e\xca\x3f\x6a\x5c\x9b\xf2\x71\xa1\x63\xd3\xe0\x81\xd5\x8d\x82\xd5\xf5\x1c\xda\xa6\x7c\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\xba\x8e\x76\x5b\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\x3a\x20\xba\xb3\x43\x74\x80\x59\x80\x59\x80\x59\xe3\x18\x51\xc0\xac\x6a\xf7\x00\x66\x8d\x02\x66\x65\x62\x11\x93\x5d\x62\x18\x50\xeb\xab\xad\xce\x91\xe1\x56\xfe\x59\x40\xae\xa6\xc1\x04\xe4\x02\xe4\xba\x28\xad\x12\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\xae\x8e\x76\x5b\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\x2e\xc0\xae\x41\x8e\x28\x60\x57\xb5\x7b\x00\xbb\x86\x0f\xbb\x12\xe1\x58\x88\x96\x3a\x12\xa5\xcf\xfc\x21\x60\xaf\x2f\x45\xc5\xde\xbb\x8a\x1d\x13\x80\x35\x56\x00\x28\xac\x69\x80\x81\xc2\x80\xc2\x2e\x1a\xd7\x0b\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x58\x47\xbb\x2d\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\x18\xa0\xd8\x20\x47\x14\x50\xac\xda\x3d\x80\x62\x63\x80\x62\xa6\xb6\xff\x6f\xa9\x32\x3e\x0c\x18\x66\x2a\xf4\x7f\x75\x85\x8e\x0b\xc1\x4a\x1f\x06\xfc\x6a\x1a\x50\xc0\x2f\xc0\xaf\x8b\xca\x3a\x01\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\xea\x68\xb7\x05\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x02\xf4\x1a\xe4\x88\x02\x7a\x55\xbb\x07\xd0\x6b\xf8\xd0\x2b\x15\x5e\x22\xb2\x21\xd0\xae\x7b\xaa\xc9\x31\x31\x97\xf9\x22\xf8\x56\xd3\x10\x82\x6f\x81\x6f\x5d\x98\x05\x02\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\xd5\xd1\x6e\x0b\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x05\xb0\x35\xc8\x11\x05\xd8\xaa\x76\x0f\xc0\xd6\x18\xc0\x56\xf2\x24\x3d\xc1\x3d\x4f\x0b\xce\xc3\x00\x5c\x54\xa3\x5b\x53\xa3\xe3\x82\xae\xf2\x97\x01\xbc\x9a\x86\x14\xc0\x0b\xc0\xeb\xa2\xba\x50\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x3a\xda\x6d\x01\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x00\xbe\x06\x39\xa2\x00\x5f\xd5\xee\x01\xf8\x1a\x0d\xf8\x1a\x10\xf1\x3a\x01\xea\x02\xe3\x6a\x1a\x44\x30\x2e\x30\xae\x9c\x71\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x75\xb4\xdb\x02\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x01\x6e\x0d\x72\x44\x01\xb7\xaa\xdd\x03\xb8\x35\x54\xb8\x95\xde\xec\x05\xb3\xfa\x86\x39\x6d\x40\x59\x20\xb2\x92\x38\x7b\x7b\xf7\xd1\x9d\x10\x1b\x78\x56\x20\xb2\xdb\xbb\x8f\xbf\x35\x3c\x78\x2a\x6e\x35\x5a\x9c\x74\x7b\xf7\xf1\x6f\x89\x5a\xc6\xbf\xca\x74\xf4\x40\x49\x37\xac\xf4\xf4\xab\xf2\x17\xab\xcb\x85\xfb\x0b\x49\xc8\x20\x11\x81\xd4\xb2\x0a\x71\x0d\xdd\x5b\x52\x8d\x7b\x2d\xc9\x68\xae\x92\x85\x3b\x15\x38\x33\xb4\x6b\xf3\x5a\x6a\xea\x8d\x7c\x62\x60\x75\x75\xb0\xba\x46\xbf\xb2\x9a\x66\x48\x07\x4b\xed\xe9\xed\xb8\x57\x5b\xc5\x10\x63\xc4\x8f\x3d\x96\xda\x6f\x6f\x6f\xef\x3e\x7e\x69\x2a\x00\x0b\x6e\xf7\x05\x97\x77\xe4\x24\x4e\xb4\xa6\xe9\x52\xf5\x99\x38\x60\xe9\x2d\x96\x19\xcf\x64\x14\x3c\x8b\x87\x47\xa5\xbe\x57\xa0\x62\xc5\x3d\xca\x58\xc3\xba\xf5\x90\x32\x65\x32\x4f\x85\xa1\xf0\xf2\xe3\xea\x93\xad\xd1\xef\xa6\x46\xef\xcb\x35\xda\xb0\xb0\x4c\x59\x6b\xd6\xd6\x7b\xf7\x85\xb6\xa5\xaf\xf1\xe1\x60\xf5\x09\x62\x84\xff\x07\xe5\xbf\xd4\xe7\x76\x2e\xfd\x37\xfd\xd6\xcb\xbc\xff\x40\x3d\xf0\x39\x36\x43\xd7\x6e\xd6\x6f\x9e\xee\x70\x0b\x80\x5b\x00\xdc\x02\xe0\x16\x30\x35\xb7\x80\x0d\x46\x9b\x6d\xae\x01\x9b\x0d\x80\x9b\x8d\x37\x3b\xed\xbd\xbf\xeb\x8e\xb3\x40\xe4\x8a\xbc\x88\x3d\x3d\xa3\xcc\x3c\xa8\xb4\xad\xec\x82\xf7\x20\x58\xac\x7b\x2b\xcd\x84\x3f\x63\xb7\x11\x93\x91\xd9\x59\x54\xc2\x96\x91\xdb\x9c\x7c\xe6\x27\x2f\x5f\x96\x11\xf3\x65\xa2\xcf\xc5\x27\xe1\x66\xbc\xde\x3e\x09\x5f\xd9\x25\x9f\xcf\x0d\xdb\xc1\x6c\xbe\x4c\x68\x95\xc5\x89\xf2\x44\x4a\x9c\xc9\x5a\x1e\xed\x2c\x9b\xb1\xdf\xe8\x8b\x34\x5a\x34\x77\x7e\x60\xd7\xec\x36\x0c\x7f\x20\x8a\xe4\xeb\x5d\x7a\x19\xe9\x81\x0f\x44\xea\xa6\xa4\x2d\x4e\xf8\x7b\x0c\x94\x69\xcb\x69\x86\xe9\x68\xbe\x1c\xed\xba\x62\xbd\x3f\xc7\xd1\x7a\xe4\x6b\xd9\x28\x2d\x23\x96\x1a\x5b\x31\x7b\x10\x73\xe3\x74\xea\xb8\x5f\x21\x4a\xd8\xdd\x8b\xa6\xce\x52\x98\xc3\xe1\x41\xb0\x48\x45\xd7\x91\x08\x38\x4d\x50\x6b\x56\x9e\xb1\xaf\xee\xc0\x36\x3e\x00\x6e\x69\x58\x71\x52\x2e\x16\xc2\x97\x3c\x13\xe1\x4b\xe1\x0d\x5a\x1c\xb9\x32\xbc\xb2\x66\x63\xea\x74\x16\x24\xdc\xa3\x55\x23\x95\xef\x04\x82\xe2\xd0\x26\x57\xdb\x7c\x96\x2e\x53\x5d\xc9\xf2\x70\x71\xfd\x66\xde\x20\xfb\x91\xb9\xd9\x03\xf3\x22\x66\xa6\x9e\x0b\xc1\xa3\xc6\x3a\xee\x31\xcc\x54\xe7\x3b\xaa\x72\x93\x29\x7e\x8b\x31\x7e\x28\xd3\x7f\x17\x37\x9e\x76\xfd\xb2\xde\x95\xe7\x68\xd3\x1f\x4e\x3d\x70\xea\x81\x53\x0f\x9c\x7a\xe0\xd4\xd3\x9b\x53\x4f\xcb\xb3\x60\xc5\xb1\xe7\x78\xc7\xe2\x87\x52\x2c\x5f\x1c\x0a\x9e\x0a\xb7\x05\xdd\x25\x2a\xe6\x01\x49\x47\x77\x2a\x94\xde\x4b\x25\x84\x24\x9f\x74\x45\x30\xa0\x9e\x76\x6f\x67\x7f\x99\xb1\x7b\xb3\x9f\x19\xd1\x25\x16\x91\x5e\x2c\xc5\x99\x2a\x98\x4a\xe2\x47\x1e\xe5\x21\x2d\xc9\x52\xdc\xcc\x79\x98\xeb\xca\xdf\x2e\xcc\xcf\xdf\x2e\xd8\x5c\x46\x3c\x94\xff\xce\x0f\x92\x07\xc1\xb8\x4f\x9e\x1e\xea\xc6\x50\x70\xbf\x50\xc3\x4c\xf1\x97\x69\xf1\x92\xd1\x4f\x67\xec\x67\x49\x9b\x63\xa9\xea\x2a\x59\x6d\x5b\xe1\xd7\x93\x19\xf5\x98\x74\x14\x95\x3d\xee\x33\xa0\xa6\x05\x1f\xf2\xb6\xaf\x15\x79\x9a\x98\x7a\xb7\x8a\x19\x35\x5d\x2f\xd8\x47\xf5\xcc\x02\x9e\x3c\xf0\xa0\x62\xc5\x74\x4a\x8d\x48\xe6\x2a\x59\xe8\x31\x69\xec\xaf\xcf\xb5\x16\xad\xef\x2e\x12\x7a\x73\x89\x35\x36\x7d\x2b\xb5\x34\xe9\x49\xbf\x50\x85\x49\x56\x20\xe3\x84\x1b\xe3\x94\x78\x20\xfd\x9a\x4b\x03\xb3\xd2\x60\xe6\xe7\x88\x73\xac\x71\xe1\x59\xd5\x8f\xcd\xd8\xad\xe7\x89\x38\xa3\xb3\xa9\xac\xd9\x5d\x9a\x36\x5c\xb2\x6b\x3b\x01\xab\x13\x34\xfd\x91\x5d\xfe\xc4\xbd\xef\x41\xa2\x96\x91\xaf\x9f\xa2\x50\x27\x7a\xa8\xd6\x71\x46\x84\xb4\xf2\x71\xb5\x90\xbc\x05\x0f\xae\xa4\x1f\xd9\xe5\x2f\x2a\x11\xa5\x62\x99\xc7\x53\x8f\xfb\xba\xf5\xb6\x7f\x4c\x24\x1c\x95\x97\x1a\xd5\x73\xa5\xc0\xb9\x2b\x63\x9f\x09\x19\xd7\xa7\xfb\x69\x24\xce\x09\x7b\xe0\xb5\x1b\x87\x4d\x5e\x78\xa7\x1a\x05\xf8\xe3\xf5\x36\xbe\xab\x3e\x79\xc7\xb3\x6d\x9c\xd2\x3b\xaf\x5d\x67\x6d\xf0\xd0\x3b\x54\xfe\x69\x44\x7a\xc0\xd3\x3b\x62\xba\xfb\x8c\x67\xcb\xb6\x7c\x6e\xcc\x54\xba\x54\xc2\x9a\x48\x7e\x73\x38\x17\x82\x53\x17\x01\xfd\x9b\x80\x77\x73\xb0\x7f\x4b\x24\xbc\xcb\x0d\x00\x9d\xdf\x25\x62\x8c\x69\x89\x55\xc0\x73\xa9\x5f\xcd\x99\x6e\xc4\xbe\xc8\x5c\x17\xba\x06\x98\x77\x8d\xc9\x71\xdd\xc1\xf9\x5c\x77\xd0\xee\x9c\xda\x76\xe5\xc1\xf1\x14\x3a\x78\x39\xc0\xcb\x01\x5e\x0e\xf0\x72\x80\x97\x43\xd3\xe6\x0b\x7c\x3e\xa2\x1e\x01\x51\x05\x51\x05\x51\x05\x51\x05\x51\x05\x51\x9d\x16\x51\x05\xe4\x00\xe4\x00\xe4\x00\xe4\xe8\x1d\x72\xec\xe0\x08\x30\xd0\x0b\x09\xda\x75\xe1\xea\xa5\x04\x87\x5a\xdc\x06\x85\x87\xd6\xbe\x70\x5e\x97\x48\xcf\x9a\x71\xc8\xd3\xdb\xd9\x26\x0b\xff\x99\x84\x4d\x6e\x07\x54\x5d\xdd\x32\x3d\x08\x28\xb5\xc7\xb5\xd4\x63\xb9\xaa\xea\x55\x6d\x44\x2f\x62\x95\x76\x4c\xe0\x8c\xf2\xc3\xf8\xbe\xb0\xcd\xbc\x7f\x24\xdc\xb6\x5f\x54\xaa\x96\x92\x65\x22\x7c\xdb\xbd\x27\xde\x84\x3a\x89\x60\x45\x14\x55\x79\x42\x0c\x36\x8a\x8a\xec\x23\x9f\x78\xc4\x03\x91\x18\x4b\x9f\xae\x15\xe3\x69\xaa\x3c\x49\xaa\xab\xb3\xa9\x71\x32\x8d\xaa\x84\x89\x28\xd3\xb2\x64\xae\xcb\x2f\xf8\x77\xdd\x8b\xd9\xa3\x48\x45\x2e\x90\x95\x63\x85\xf2\x98\x22\x12\x48\xc9\x7e\xa6\x12\xf6\xf6\xdd\x5f\xf5\xb3\x09\xf7\x08\x98\x85\x2a\x0a\x8c\xf8\x45\x36\x2e\x4f\x45\x19\x97\x91\xd9\xe0\xc8\x86\x54\x3c\x4b\x10\xc1\xe2\x3c\xf6\xf0\xe2\x34\x8c\x40\x85\x3c\x0a\x66\x2a\x09\x6e\xe2\xef\xc1\xcd\x32\x92\x9e\xf2\xc5\xcd\x9f\x3e\xa6\x77\xba\x94\xbd\x8d\xd2\xb6\x73\xba\x1c\x9e\x41\xc9\x6b\x53\x14\xa3\xda\x8a\x50\xef\x5a\x88\x50\xef\x8d\xed\x6d\x3c\x4d\x7a\xb7\xb5\x49\xc6\xa3\x78\x3c\x6d\x9a\xb4\xa4\x4b\x02\xd3\xc8\x25\xdd\x57\xac\xdb\xeb\x4f\x6e\xfe\x47\x6f\xc1\xff\x39\xd2\x2d\x28\x7b\x4b\x96\x1b\x6f\x3e\x19\x86\x64\x39\x92\xfb\x4e\x20\x2d\x96\x07\x79\xb0\xd2\x22\x22\xcc\xcf\x28\xc2\x1c\xa1\x74\x08\xa5\x43\x28\x1d\x42\xe9\xa0\xe8\xae\x5b\x45\x83\x8c\x5b\x39\x8d\x02\x88\xb0\x9b\xf6\x61\x37\x63\xd7\xf6\x9c\xad\xbf\xf3\x60\x9b\x44\x70\xbf\x26\xa3\xed\xa9\x9a\xe9\x92\x0e\x55\xcc\xb0\x4f\xc1\xd2\x93\x8f\x5b\x17\xab\x3f\x10\xa3\x37\xf4\x1c\x82\x34\x09\x2c\x58\xed\xb9\x7d\x8d\x8c\x08\x13\xf3\xec\xb1\x19\x66\xd2\xff\x57\x7e\xd9\x00\xd3\x7a\x4e\x21\x32\x5e\x68\x4b\x0e\x15\x7b\x5d\xfe\x7d\x4d\xef\xfe\x79\xf3\x46\xb8\x10\x49\x20\x5a\x3d\x49\xf3\x59\x04\xd2\xbb\x6e\xff\x8e\xfe\xfb\xc5\x3e\x49\x5b\x6e\x9b\xa3\x26\xe6\x49\x26\x29\xde\xc9\x38\xff\x74\x73\xec\x50\x25\x06\x6d\x10\xec\x0b\x35\x6f\x10\x00\xef\xaa\xee\x3a\x0c\x66\xc2\x89\x9b\x09\xcf\x07\x2a\xd7\x82\x0c\xf2\xc5\x65\x02\x61\xf4\xb6\x54\x04\x57\xbf\x5e\xb3\x65\xbd\x21\x23\x89\x89\x7e\xe5\x21\xbd\x19\xa9\xe8\xda\xbc\x4d\x4f\x90\x9d\x32\x65\xaf\xff\x9e\xaa\xe8\xce\xc4\x18\x7f\xd2\x9b\xa3\xfd\xfb\x3e\xdf\x32\x8b\x7f\x7c\x33\x24\xda\xdd\x7e\xde\xfc\xa2\x12\x8f\x0c\xb9\x81\xa2\xc1\x57\xec\xdb\xc5\x5c\xff\xdb\xb7\x0b\x76\x5b\xe9\x4d\x72\x61\x36\x56\xd7\x65\x5a\xc4\x53\x5e\x73\x8f\x06\x80\xa2\x54\x43\xe9\x59\x3b\x92\x08\xfd\x94\xa9\x67\x3b\xb6\x26\x8a\x33\x16\x2a\x0e\xc5\x8c\x99\x6f\x52\x70\x7a\x3e\xa7\xc8\x91\xb8\x71\x20\xdc\xe7\xf7\xe9\x5e\xfd\xa1\xe9\xba\x7d\x42\x6b\x99\xa8\xd6\x12\xd7\x5c\x75\x47\xae\xb7\x2c\x3b\x37\x59\xc4\x21\xf7\x3a\x12\x1f\x6d\x61\x67\x29\x40\xc2\x57\x11\x62\x25\xc4\x4a\xf8\x2a\x42\xc8\x70\x7f\xd7\xb8\xce\xe4\x7c\x15\xa7\x2d\x37\x2d\x47\x6f\xed\x7d\xc5\x76\x76\xeb\xa3\x13\x70\x60\x79\xcd\x7e\x73\x75\xea\x27\xb3\x59\xfb\xf2\xe1\xeb\x87\x5b\xbf\x70\xeb\x17\x6e\xfd\xc2\xad\x5f\xb8\xf5\xeb\x24\x2a\x14\x34\xdd\xd6\x03\x85\xdc\x66\x43\xba\x9c\x0d\x9e\xe7\x67\xe4\x79\x8e\x9b\xf8\x70\x13\x1f\x6e\xe2\xc3\x4d\x7c\xb8\x89\x0f\x37\xf1\xe1\x26\x3e\x04\x64\x21\x20\x0b\x01\x59\x08\xc8\xaa\xcf\x48\xe4\x36\xc3\xb5\x9f\xb8\xf6\x13\xd7\x7e\x8e\xfc\xda\xcf\x46\xac\x07\x07\x03\x04\x59\x8e\x3b\xb7\x59\x6b\x28\x3c\xe0\xec\x66\x7b\x83\xf3\x0d\xf9\xcd\xba\x87\xe5\xc8\x70\x86\x0c\x67\xe6\x27\x64\x38\x83\xaf\x03\x7c\x1d\xe0\xeb\x00\x5f\x07\xf8\x3a\x00\xa2\x83\xab\x6e\xef\x11\x70\x55\x70\x55\x70\x55\x70\x55\x70\xd5\x33\xe6\xaa\x40\x1d\x40\x1d\x40\x1d\x40\x1d\xc8\x70\x86\x0c\x67\xc8\x70\xe6\x7e\xd9\x3f\x36\x74\xb3\x8d\x1f\x39\xce\x4e\x9e\xe3\xac\x17\x38\x85\x2c\x67\x9d\x64\x39\xdb\x1b\xba\x6d\xcc\x73\x36\x94\x18\xd5\xe3\xdf\x1e\xb2\xa5\xe5\xed\x36\x22\x44\x55\x4d\x20\xaa\x0a\xf7\x87\xe0\xfe\x90\x86\xca\x8c\x5e\xa0\x1a\xe9\x0d\x22\x5d\x35\x6a\x58\xf9\xce\xba\x69\xd5\xa4\xe5\xde\xd3\x65\x3c\xeb\x52\xee\x7d\xc5\xba\xbe\x1c\xe5\xd8\x59\xcf\xfa\xb9\x17\x65\x28\x92\xe6\x48\x6e\x43\x81\xec\x58\x1e\xe4\xc1\xca\x8e\x88\x3f\x3f\xa3\xf8\x73\x04\xda\x21\xd0\x0e\x81\x76\x08\xb4\x83\xda\xbb\x6e\x15\x0d\x32\xaa\x05\x99\xcf\x86\xab\xf3\x9d\x32\xf3\xd9\x38\x42\x71\x1a\x72\x9f\xed\xad\xa0\x6d\xc8\x7e\xb6\x83\x7a\x86\xdd\x0a\x96\x9f\x62\xe4\x46\x9d\x01\x6d\x28\xc0\xb3\x9c\x03\x6d\x97\x3a\x21\x0b\x1a\xb2\xa0\x9d\x20\x0b\xda\xde\x07\xd0\xa6\x3c\x68\x43\x31\x10\x22\x13\x1a\xcc\x86\x40\xce\xc8\x84\xb6\x3a\x63\x90\x09\x0d\x99\xd0\xa0\xbf\x40\x7f\x19\x52\x2e\xb4\x7e\x34\x98\xe3\x64\x43\x3b\xc0\x8e\xb1\x29\x1f\xda\xd4\x05\x49\xf8\x34\x42\xc0\x84\x80\x09\x9f\x46\x88\x1b\x67\xe6\xd3\x38\x6d\x19\xea\x54\x79\xd1\x4e\xec\xfc\x47\x21\x5d\x37\x0b\x9b\x9c\x6d\x6b\x76\xb4\xce\xf9\x92\xbd\x0d\x20\xf2\xe5\x93\xf4\x97\x3c\x2c\x47\x16\x72\x77\xff\xc7\xa6\xe4\x71\xb3\x92\x5f\xcb\x0f\xce\x23\xe6\x92\x0a\xbe\x2c\x2e\x87\xaa\xdc\xf6\xe3\x04\x3a\x26\xa3\x34\x13\xbc\x62\xf1\xad\x8b\x7b\xcf\x1b\xac\x86\x9b\x2a\xf6\x6b\x2d\x90\x0a\x81\x81\x43\x05\xfa\x14\xd7\xfa\xf3\x93\x88\x10\x01\xe8\x26\xfc\xe9\xc2\x00\xfb\xc8\xaf\xbd\x3b\x13\xc3\x85\x8d\x13\xbe\xb0\x71\x3b\xd2\xdb\x76\x59\xe3\x46\xcb\x60\x07\xb8\x12\x57\x34\xe2\x8a\x46\x5c\xd1\x88\x2b\x1a\xa7\x76\x45\xe3\xf6\x9d\xb7\xf1\x7a\xc6\x9e\x9d\x43\x8e\x76\x29\xe3\xf6\xe6\xaf\xbf\x90\x71\xc8\x7d\xb0\xcb\x35\x8c\xdb\xfb\x60\xfd\x15\x8c\x3d\xf7\x01\x2e\x5e\xc4\xc5\x8b\xb8\x78\x11\x17\x2f\xe2\xe2\xc5\xde\x2e\x5e\x6c\xb1\xfb\xaf\x5c\xba\xb8\x31\xc2\xee\x8c\x7c\x43\xdb\xb5\x66\xc2\x17\x47\x6e\xef\xee\x4d\x97\x46\x1e\xb7\xdf\x71\x55\x64\x2f\x23\xba\x7a\x4d\x64\xcf\xc3\x7a\xd2\xcb\x21\xb7\x77\xcf\x86\x8b\x21\xfb\xde\x36\x87\x7a\x1d\xe4\xf6\x4e\x6b\xa0\x1d\x7b\xdb\xf3\xec\x5f\xff\xec\x07\xbe\x35\xdc\xbe\xd1\x13\x83\x2b\x83\xb7\x28\x17\x04\xf2\x9c\x4b\xbd\x03\xb8\xab\x42\x17\x20\x7d\xc7\xca\x8d\x5a\x9d\x28\x94\x9c\xcb\x8a\x72\x5c\x2a\xbb\x0f\x7c\x07\x74\x07\x74\x37\x4e\x74\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x07\x6c\x37\x15\x6c\x57\xbe\xb6\xa6\xbd\xf5\x01\x97\xd6\x00\x4c\x9e\x1e\x63\x01\x4c\x02\x4c\x02\x4c\x02\x4c\xd6\x3a\x6d\x50\x60\x72\x4b\x62\x80\x01\xc4\x05\x6e\x0e\x9e\x3c\x69\x64\x60\x8b\x6c\x73\x00\x8c\x00\x8c\xa3\x04\x8c\x48\x11\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x08\xcc\x38\x2d\xcc\x08\x08\x07\x08\x07\x08\x37\x8e\x11\x05\x84\xab\x76\x0f\x20\xdc\xc4\x21\xdc\x40\xe2\x03\x8f\x00\xe2\x4e\x13\x21\x38\xfc\xc4\x74\x40\x78\x40\x78\x63\x89\x11\x04\xbe\x03\xbe\x03\xbe\x03\xbe\x03\xbe\x03\xbe\x03\xbe\x03\xbe\xab\x6d\xb7\x03\x44\x57\xc0\x77\xc0\x77\xc0\x77\xc0\x77\xc0\x77\xc0\x77\xc0\x77\x63\xc4\x77\x48\x6e\x0f\x44\x09\x44\xb9\x47\xbf\x03\x51\x02\x51\x02\x51\x02\x51\xae\x47\x94\x0f\x22\xe3\x6f\x6f\xf6\x62\x8f\x27\xc9\x3f\x5a\x1b\xfe\x40\x64\x55\xb9\xde\x8c\xf4\x06\x52\x18\x88\x6c\x0d\x27\xa4\xae\xb8\xbd\xfb\xf8\xa5\xa9\x14\x24\x61\xdd\x91\xd8\x95\x3a\x92\x22\x25\x27\x8a\xed\x68\xd2\x94\x8a\x79\x55\xae\xca\x1e\x2b\xb1\x75\x1a\x4f\xa3\x6b\x75\xeb\x25\x60\xca\x64\x9e\x0a\x43\xe1\xe5\xc7\x47\xdb\x0b\x76\x6b\xeb\xcc\x94\xb5\x69\xa9\xbd\x77\x9f\x69\x7d\x87\x6f\xaf\xd9\xd6\x7b\x59\x06\x1f\xa8\x1b\x3e\xc7\x66\xfc\xda\x2d\x82\xcd\xb3\x1f\xe4\x09\xe4\x09\xe4\x09\xe4\x69\x6a\xe4\xa9\x5d\xe6\xfd\x46\xfa\x74\x60\xd6\xfd\xf6\x7b\xef\xef\xba\xe3\xac\xcd\xed\x8a\xae\xb6\xf0\xf4\x8c\x32\xf3\xa0\xd2\xb6\xb2\x97\xc7\x83\x60\xb1\xee\xad\x34\x13\xfe\x8c\xdd\x46\x4c\x46\x66\x67\x51\x09\x5b\x46\x6e\x73\xf2\x99\x9f\xbc\x7c\x59\x46\xcc\x97\x89\x3e\x17\x9f\x84\x9b\xf1\x7a\xfb\x24\x0b\xa9\x5d\xf2\xf9\xdc\xb0\x1d\xcc\xe6\xcb\x84\x56\x59\x9c\x28\x4f\xa4\x64\xca\xb4\x8a\x9f\x9d\x65\x33\x63\x37\x33\xa3\x45\x73\xe7\x07\x76\xcd\x6e\xc3\xf0\x07\x32\x54\xfa\x7a\x97\x5e\x46\x7a\xe0\xb5\x0a\x95\x4f\x49\x5b\xdc\x6a\x86\xfb\x16\x03\x65\xda\x72\x9a\x61\x3a\x1a\x2e\x6c\xd7\x15\xeb\x91\xe1\xd1\x7a\xe4\x6b\xd9\x26\x20\x23\x96\x1a\x55\x9d\x3d\x88\xb9\xf1\x6b\x72\xa6\xe5\x42\x94\xb0\xbb\x17\x4d\x9d\xa5\x30\x87\xc3\x83\xd6\x86\xa3\xeb\x48\x04\x9c\x26\xa8\xd5\xea\x67\xec\xab\x3b\xb0\x0d\x66\x72\x4b\xc3\xca\x94\x72\xb1\x10\xbe\xe4\x99\x08\x5f\x0a\x87\xa3\xe2\xc8\x95\xe1\x95\xd5\xda\xa9\xd3\x59\x90\x70\x8f\x56\x8d\x54\xbe\x13\x08\x8a\x43\x9b\xbc\xb9\xf2\x59\xba\x4c\x75\x25\xcb\xc3\xc5\xf5\x9b\x79\x83\xec\x47\xe6\x66\x0f\xcc\x8b\x98\x99\x7a\x2e\x04\x8f\x1a\xeb\xb8\xc7\x30\x53\x9d\xef\xa8\xca\x4d\x96\x90\x2d\xb6\x90\xa1\x4c\xff\x5d\x48\x71\xbb\x7e\x59\x4f\x8b\x8f\x36\xfd\xc1\x8d\xc1\x8d\xc1\x8d\xc1\x8d\xc1\x8d\x7b\xe3\xc6\x2d\xcf\x82\x15\x76\x7c\xbc\x63\xf1\x43\x29\x80\x25\x0e\x05\x4f\x85\xdb\x82\xee\x12\x15\xf3\x80\xa4\xa3\x3b\x15\x4a\xef\xa5\xe2\xa5\x9c\x4f\xba\x22\x02\x46\x4f\xbb\xb7\xb3\xbf\xcc\xd8\xbd\xd9\xcf\x8c\xe8\x12\x8b\x48\x2f\x96\xe2\x4c\x15\x4c\x25\xf1\x23\x8f\x72\xaf\xe9\x64\x29\x6e\xe6\x3c\xcc\x75\xe5\x6f\x17\xe6\xe7\x6f\x17\x6c\x2e\x23\x1e\xca\x7f\xe7\x07\xc9\x83\x60\xdc\x27\xd0\xa6\x6e\x0c\x84\xf0\x0b\x35\xcc\x14\x7f\x99\x16\x2f\x19\xfd\x74\xc6\x7e\x96\xb4\x39\x96\xaa\xae\x92\xd5\xb6\x15\x58\x35\x33\xea\x31\xe9\x28\x2a\x7b\xdc\x67\x40\x4d\x0b\x3e\xe4\x6d\x5f\x2b\xf2\x34\x21\x8d\x6e\x15\x33\x6a\xba\x5e\xb0\x8f\xea\x99\x05\x3c\x79\xe0\x41\xc5\x94\xe9\x94\x1a\x91\xcc\x55\xb2\xd0\x63\xd2\xd8\x5f\x9f\x6b\x2d\x5a\xdf\x5d\x24\xf4\xe6\x12\x6b\x6c\xfa\x56\x6a\x69\xd2\x93\x7e\xa1\x0a\x93\xac\x40\xc6\x09\x37\xc6\xfa\xb0\xb6\x27\x69\x2e\x0d\xcc\x4a\x83\x99\x9f\x23\x8e\x6b\xba\x08\x80\xea\xc7\x66\xec\xd6\xf3\x44\x9c\xd1\xd9\x54\xd6\xec\x2e\x4d\x1b\x2e\xd9\xb5\x9d\x80\xd5\x09\x9a\xfe\xc8\x2e\x7f\xe2\xde\xf7\x20\x51\xcb\xc8\xd7\x4f\x91\x37\x3d\x3d\x54\xeb\x38\x23\x42\x5a\xf9\xb8\x5a\x48\xde\x82\x07\x57\xd2\x8f\xec\xf2\x17\x95\x88\x52\xb1\xcc\xe3\xa9\xc7\x7d\xdd\x7a\xdb\x3f\x26\xd8\x82\xca\x4b\x8d\xea\xb9\x52\xe0\xdc\x95\xb1\xcf\x84\x8c\xeb\xd3\xfd\x34\x12\xe7\x84\x1d\x20\xda\x8d\xc3\x26\x27\x88\x53\x8d\x02\xdc\x21\x7a\x1b\xdf\x55\x97\x88\xe3\xd9\x36\x4e\xe9\x1c\xd1\xae\xb3\x36\x38\x48\x1c\x2a\xff\x34\x72\x3d\xd0\xea\x1d\x31\xdd\x7d\xc6\xb3\x65\x5b\x3e\x37\x7a\x48\x5d\x2a\x66\x4d\x80\xa9\x39\xa1\x0b\xe9\xe9\x34\xb1\xa6\x7b\xe6\xa3\xac\x35\x77\x35\xdc\xb4\xf3\xf0\x7a\x63\x56\x4b\xac\x2a\x9e\xcb\xff\x6d\x32\xef\x6e\x20\xe8\xba\xd0\x4d\xfc\xbc\x6b\x6a\x8e\x00\xdb\xf3\x09\xb0\x6d\x77\x6c\x6d\x0b\xb2\x3d\x9e\x7e\x07\xa7\x07\x38\x3d\xc0\xe9\x01\x4e\x0f\x70\x7a\x68\xda\x7c\x41\xd3\x47\xd4\x23\x00\xac\x00\xac\x00\xac\x00\xac\x00\xac\x00\xac\xd3\x02\xac\x60\x1e\x60\x1e\x60\x1e\x60\x1e\xbd\x33\x8f\x1d\xfc\x02\x06\x1a\x1e\xda\xae\x0b\x57\x43\x44\x0f\xb5\xb8\x0d\x8a\x16\xad\x7d\xe1\xbc\xae\x3d\x9d\x35\x83\x11\xcb\x31\x66\x9b\xcc\xfc\xe7\x14\x59\xb9\x1d\x5a\x9d\x2e\xa7\x61\x5f\xa0\x6a\x8f\x7b\x51\xc7\x72\x8f\xc8\xab\xda\xb0\x5e\xc4\x2a\xed\x98\xca\x19\x5d\x88\xf1\x7d\x01\x9c\x79\xff\x98\x08\x6e\xbf\xc0\xd5\x0d\x97\xd6\x9c\x6a\x63\xea\x24\xd2\x15\xd1\x56\xe5\x59\x31\xd8\x68\x2b\x32\x9c\x7c\xe2\x11\x0f\x44\x62\x4c\x80\x74\x5f\x13\x4f\x53\xe5\x49\xd2\x69\x9d\xb1\x8d\x93\xcd\x54\x25\x4c\x44\x99\x16\x32\x73\x25\x7f\xc1\xbf\xeb\x5e\xcc\x1e\x45\x2a\x72\x49\xad\x1c\x53\x94\xc7\x1e\x91\xa4\x4a\x86\x35\x95\xb0\xb7\xef\xfe\xaa\x9f\x4d\xb8\x47\x24\x2d\x54\x51\x60\xe4\x32\x32\x7e\x79\x2a\xca\xb8\x8c\xcc\x56\x47\xc6\xa5\xe2\x59\xa2\x0b\x96\xf3\xb1\x87\x17\xa7\x7a\x04\x2a\xe4\x51\x30\x53\x49\x70\x13\x7f\x0f\x6e\x96\x91\xf4\x94\x2f\x6e\xfe\xf4\x31\xbd\xd3\xa5\xec\x6d\xad\xb6\x9d\xd3\xe5\xf0\x0c\x4a\x90\x9b\xac\x7c\xd5\x56\xb6\x7a\xd7\x42\xb6\x7a\x6f\x2c\x73\x23\x6b\xd7\xbb\xad\xed\x32\x3e\xc8\x23\x6b\xd8\xf4\x85\x61\x12\xa7\xa6\x20\x0c\xbf\x62\x3d\xdc\xa4\xd2\x90\x73\xa5\xc7\x0b\x55\xf6\x96\x40\xb7\x5f\xa2\x32\x0c\x09\x74\x24\x57\xa7\x40\xa0\x2c\x0f\xf2\x60\x05\x4a\x04\xab\x9f\x51\xb0\x3a\xa2\xf2\x10\x95\x87\xa8\x3c\x44\xe5\x41\x17\x5e\xb7\x8a\x06\x19\x02\x73\x1a\xcd\x10\x11\x3c\xab\xc5\x6c\x8c\xe0\x99\x84\x06\xe8\x10\x41\xe7\x71\x3b\x89\xe0\x7e\x4d\x5a\xdb\x53\x53\xd3\x25\x75\xa2\xa7\x61\xdb\x82\x45\xa8\x9f\x1d\x21\x10\xd3\x30\x08\x1d\x42\x47\xcb\x99\x24\xda\x57\x0b\x79\x24\x8e\xc1\x7f\xc9\x55\x63\xaf\x9b\xc7\xaf\xe9\xdd\x3f\x6f\xde\x17\x17\x22\x09\x44\xab\x27\x69\x52\x8b\x40\x7a\xd7\xed\xdf\xd1\x7f\xbf\xd8\x27\x69\x07\x6e\x73\xfc\xc4\x3c\xc9\x24\x45\x52\x19\xb7\xa2\x6e\x8e\xa2\x78\x43\x2e\xe4\x01\xd9\x0c\xfb\xa2\xd6\x1b\x64\xc4\xbb\xaa\x37\x10\x83\x25\x71\xe2\x96\xc4\xf3\x41\xd3\xb5\x18\x86\x7c\x71\x99\x38\x1b\xbd\x37\x15\xb1\xdb\xaf\xd7\xec\x5b\x6f\xc8\x8e\x62\x82\x6b\x79\x48\x6f\x46\x2a\xba\x36\x6f\xd3\x13\x64\xca\x4c\xd9\xeb\xbf\xa7\x2a\xba\x33\x21\xcc\x9f\xf4\x0e\x69\xff\xbe\xcf\xf7\xcd\xe2\x1f\xdf\x0c\x89\x99\xb7\x9f\x37\xbf\xa8\xc4\x23\x5b\x6f\xa0\x68\xf0\x15\xfb\x76\x31\xd7\xff\xf6\xed\x82\xdd\x56\x7a\x93\x3c\xa4\x8d\x61\x76\x99\x16\xe1\x9a\xd7\xdc\xa3\x01\xa0\x20\xd8\x50\x7a\xd6\xd4\x24\x42\x3f\x65\xea\xd9\x8e\xad\x09\x12\x8d\x85\x8a\x43\x31\x63\xe6\x9b\x14\xfb\x9e\xcf\x29\xf2\x53\x6e\x1c\x08\xf7\xf9\x7d\xba\x57\x7f\x68\xba\x5e\xa5\xd0\x64\x26\xaf\xc9\xc4\xa7\x4b\x7f\xdf\x9b\x2e\xb3\xec\xdc\xb4\x11\x87\xdc\xeb\x48\xa4\xb4\x85\x9d\xaf\x50\x09\x57\x48\xc8\x9b\x2d\x86\xe9\x7c\xe4\xcd\x01\x89\x75\x90\x3e\xdc\x2f\xa7\xdf\xc6\x26\xeb\x0a\x79\x06\x52\xd5\x72\x1a\xf6\xe1\x57\x6c\x3f\x87\xc1\x27\x97\x59\x78\x38\xc9\xd7\x5a\x67\x3b\x3e\x24\xfd\x5a\xfb\x8f\xc0\x8b\x10\x77\x91\xe1\x2e\x32\xdc\x45\x86\xbb\xc8\x70\x17\xd9\x49\x14\x2c\xe8\xc1\xad\x07\x0a\x09\xd8\x86\x74\x65\x1c\x7c\xda\xcf\xc8\xa7\x1d\xf7\x03\xe2\x7e\x40\xdc\x0f\x88\xfb\x01\x71\x3f\x20\xee\x07\xc4\xfd\x80\x08\xf5\x42\xa8\x17\x42\xbd\x10\xea\x55\x9f\x91\x48\xc0\x86\xcb\x48\x71\x19\x29\x2e\x23\x1d\xf9\x65\xa4\x8d\x6c\x0f\xee\x07\x08\xdf\x9c\x40\x02\xb6\xd6\x64\xf8\xf4\xa1\x9c\x9b\x53\xb0\xed\xcd\xd1\xb7\x25\x61\xeb\x9e\x9d\x23\x0d\x1b\xd2\xb0\x99\x9f\x90\x86\x0d\xae\x0f\x70\x7d\x80\xeb\x03\x5c\x1f\xe0\xfa\x00\xa6\x0e\xcc\xba\xbd\x47\x80\x59\x81\x59\x81\x59\x81\x59\x81\x59\xcf\x18\xb3\x82\x7c\x80\x7c\x80\x7c\x80\x7c\x20\x0d\x1b\xd2\xb0\x21\x0d\x9b\xfb\xe5\xc0\x18\xd2\xcd\x86\x7e\x24\x62\x1b\x46\x22\xb6\xfe\x80\x15\x52\xb1\x75\x92\x8a\x6d\x6f\x10\xb7\x3d\x19\xdb\x50\xc2\x58\x4f\x74\x07\xc9\x96\xe6\xb7\xdb\x9c\x10\x7d\x35\x81\xe8\x2b\xdc\x42\x82\x5b\x48\x1a\x2a\x33\x0d\x49\x6b\xcc\xf7\x90\x74\xd5\xb2\x01\x26\x65\xeb\xa6\x69\xd3\x17\x8d\x4f\x97\x96\xad\x73\xd1\xf8\x15\xeb\xe5\x9e\x95\x63\xa7\x66\xeb\xf1\x8a\x95\xa1\x48\xa4\x23\xb9\x58\x05\xe2\x65\x79\x90\x07\x2b\x5e\x22\x94\xfd\x8c\x42\xd9\x11\xb3\x87\x98\x3d\xc4\xec\x21\x66\x0f\x9a\xf1\xba\x55\x34\xc8\x00\x19\xa4\x67\x1b\xb8\x1e\x78\xca\xf4\x6c\x23\x8a\xea\x69\x48\xd0\xb6\xb7\xbe\xb6\x2d\x45\xdb\x0e\xda\x1a\x36\x2f\x58\x88\x26\x97\xa6\x6d\x50\xec\xb4\x9c\xa8\x6d\x97\x8a\x21\x55\x1b\x52\xb5\x9d\x20\x55\xdb\xde\x87\xd2\xd6\x64\x6d\x43\xb1\x21\x22\x5d\x1b\x2c\x8b\x00\xd7\x48\xd7\xb6\x3a\x63\x90\xae\x0d\xe9\xda\xa0\xd3\x40\xa7\xd9\xa0\xd3\x9c\x30\x61\x5b\x8f\x5a\xcd\x71\x52\xb6\x1d\x60\xef\xd8\x9a\xb4\x6d\xea\xc2\x25\x5c\x26\x21\x79\xb6\x1a\xa6\xf3\x91\x3c\x07\x24\xe0\x41\x0e\x71\xbf\x0c\x61\x23\x9b\xb0\xcb\xe4\x19\x48\x58\xa7\x4a\xde\x36\x18\xb7\x42\x8a\x31\xbb\x59\xd8\x5c\x72\x5b\x53\xb8\x75\x8e\xaa\xec\xf5\x04\x91\x2f\x9f\xa4\xbf\xe4\x61\x39\xd4\x91\xbb\x0b\x49\x36\xe5\xba\x9b\x95\x9c\x65\x7e\x70\x6e\x36\x97\x54\xf0\x65\x71\x5b\x55\xe5\xfa\x21\x27\xf3\x31\x19\xa5\x99\xe0\x15\x43\x71\x5d\x22\x7c\xde\x66\x6c\xdc\x54\xbb\x5f\x6b\x41\x5d\x08\x57\x1c\xaa\xab\x00\x45\xdb\xfe\xfc\x24\x22\x84\x24\x7a\x95\xd5\x79\xba\xb8\xc4\xde\xd2\x86\xef\x4e\xd6\x70\xa1\xe4\x84\x2f\x94\xdc\x0e\x06\xb7\x5d\x26\xb9\xd1\xb4\xd8\x01\xf4\xc4\x15\x92\xb8\x42\x12\x57\x48\xe2\x0a\xc9\xa9\x5d\x21\xb9\x7d\xe7\x6d\xbc\x3e\xb2\x67\x17\x93\xa3\x5d\x1a\xb9\xbd\xf9\xeb\x2f\x8c\x1c\x72\x1f\xec\x72\x4d\xe4\xf6\x3e\x58\x7f\x45\x64\xcf\x7d\x80\x8b\x21\x71\x31\x24\x2e\x86\xc4\xc5\x90\xb8\x18\xb2\xb7\x8b\x21\x5b\xec\xfe\x2b\x97\x42\x6e\x8c\xe2\x3b\x23\x0f\xd3\x76\xad\x99\xf0\xc5\x96\xdb\xbb\x7b\xd3\xa5\x96\xc7\xed\x77\x5c\x65\xd9\xcb\x88\xae\x5e\x63\xd9\xf3\xb0\x9e\xf4\xf2\xca\xed\xdd\xb3\xe1\xe2\xca\xbe\xb7\xcd\xa1\x5e\x57\xb9\xbd\xd3\x1a\xb8\xc7\xde\xf6\x3c\xfb\xd7\x3f\x7b\x04\x72\x0d\x77\x7d\xf4\xc4\xe5\xca\x30\x2e\xca\xa5\x81\x3c\x3b\x54\xef\x50\xee\xaa\x50\x08\x48\xe9\xb1\xc2\xa3\xd6\x29\x0a\x4d\xe7\xb2\xa2\x21\x97\xca\xee\x0d\xe9\x01\xe7\x01\xe7\x8d\x18\xe7\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x01\xe5\x4d\x0a\xe5\x95\x2f\xc4\x69\x6f\x82\xc0\x75\x38\x80\x95\xa7\x47\x5b\x80\x95\x80\x95\x80\x95\x80\x95\xb5\x4e\x1b\x1e\xac\xdc\x92\x9a\x60\x00\xf1\x83\x9b\xc3\x2d\x4f\x1f\x41\xd8\x22\x4d\x1e\xa0\x23\xa0\xe3\x78\xa1\x23\x72\x1b\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x02\x3d\x4e\x10\x3d\x02\xcc\x01\xcc\x01\xcc\x8d\x63\x44\x01\xe6\xaa\xdd\x03\x30\x77\x0e\x60\x6e\x20\x71\x84\x47\x80\x73\x27\x8c\x24\x1c\x7e\x7e\x3c\x60\x3d\x60\xbd\x51\xc5\x12\x02\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x8d\x04\x67\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x01\xe9\x8d\x11\xe9\x21\xbd\x3e\xb0\x25\xb0\xe5\x1e\xfd\x0e\x6c\x09\x6c\x09\x6c\x79\xde\xd8\x32\x96\xe2\x8f\x4c\x44\xb4\x30\x72\x5c\xb9\x17\x7a\x3c\x49\x4e\xd3\xda\x70\x07\x22\x63\x32\x9a\xab\x64\xe1\xa6\x37\x67\x06\x69\xac\x67\x85\x81\xc8\x6e\xcb\xbd\x70\x7b\xf7\xf1\x6f\xf5\x57\x90\xc8\x75\x47\x36\xe7\x3a\x71\xec\x64\xae\x3c\x33\x4a\xaf\xbd\x2a\x7f\xba\xc5\x92\x7a\x7a\x3b\xee\x55\x55\xd1\x8e\xcd\x7e\xb9\xc3\x92\xfa\xed\xed\xed\xdd\xc7\x2f\x4d\x2f\x62\x61\xed\xbe\xb0\xf2\x8e\xa4\x00\xe4\x29\xad\xaf\xff\x7e\x7a\x7b\xd8\x12\xf3\x96\x69\xa6\x16\xf9\x0c\x2d\xf5\x6d\x79\xed\x19\x33\x44\xb7\xfe\x34\xa6\x4c\xe6\xa9\x30\x14\x5e\x7e\xf4\xbc\xa7\xda\xe4\xa3\xf5\xc1\xd5\x66\xc3\xc2\x31\xe5\xd4\xd6\xce\x7b\x57\x6a\x9b\x12\xd7\xc0\xf2\x95\xa4\xf1\x46\x02\x79\x50\xfe\xda\x54\xe9\x4d\xbf\xf5\x32\xa7\x3f\x50\xab\x3f\xc7\x59\x75\x93\x65\x9b\x66\xf4\xe6\xa9\x0c\xfe\x0a\xfe\x0a\xfe\x0a\xfe\x3a\x35\xfe\xba\x41\x73\xdc\xc6\x60\x37\x5b\x21\x36\x6b\x90\x3b\xed\xbd\xbf\xeb\x8e\xb3\x96\xe7\x2b\xba\x03\xc6\xd3\x33\xca\xcc\x83\x4a\xdb\xca\xbe\x4e\x0f\x82\xc5\xba\xb7\xd2\x4c\xf8\x33\x76\x1b\x31\x19\x99\x9d\x45\x25\x6c\x19\xb9\xcd\xc9\x67\x7e\xf2\xf2\x65\x19\x31\x5f\x26\xfa\x4c\x7c\x12\x6e\xc6\xeb\xed\x93\x38\x81\x5d\xf2\xf9\xdc\xb0\x1d\xcc\xe6\xcb\x84\x56\x59\x9c\x28\x4f\xa4\x64\xd0\xb7\xe6\x0f\x3b\xcb\x66\xc6\x7a\x6c\x46\x8b\xe6\xce\x0f\xec\x9a\xdd\x86\xe1\x0f\x64\xae\xf7\xf5\x2e\xbd\x8c\xf4\xc0\x07\x22\x75\x53\xd2\x16\x27\xfc\x3d\x06\xca\xb4\xe5\x34\xc3\x74\x34\x68\xde\xae\x2b\xd6\x83\xf3\xa3\xf5\xc8\xd7\xb2\x65\x4c\x46\x2c\x35\x06\x2b\xf6\x20\xe6\xc6\xbb\xcf\x01\x96\x42\x94\xb0\xbb\x17\x4d\x9d\xa5\x30\x87\xc3\x83\x60\x91\x8a\xae\x23\x11\x70\x9a\xa0\xd6\xb6\x35\x63\x5f\xdd\x81\x6d\x60\xab\x5b\x1a\x56\x7c\x94\x8b\x85\xf0\x25\xcf\x44\xf8\x52\xb8\xdd\x15\x47\xae\x0c\xaf\xac\xed\x8a\x3a\x9d\x05\x09\xf7\x68\xd5\x48\xe5\x3b\x81\xa0\x38\xb4\xc9\xa7\x31\x9f\xa5\xcb\x54\x57\xb2\x3c\x5c\x5c\xbf\x99\x37\xc8\x7e\x64\x6e\xf6\xc0\xbc\x88\x99\xa9\xe7\x42\xf0\xa8\xb1\x8e\x7b\x0c\x33\xd5\xf9\x8e\xaa\xdc\x64\x0f\xdc\x62\x11\x1c\xca\xf4\xdf\xc5\x5f\xa2\x5d\xbf\xac\xf7\x99\x38\xda\xf4\x87\xf7\x04\xbc\x27\xe0\x3d\x01\xef\x09\x78\x4f\xf4\xe6\x3d\xd1\xf2\x2c\x58\xf1\xa0\x38\xde\xb1\xf8\xa1\x14\xd5\x15\x87\x82\xa7\xc2\x6d\x41\x77\x89\x8a\x79\x40\xd2\xd1\x9d\x0a\xa5\xf7\x52\xf1\xd5\xcf\x27\x5d\x11\x16\xa6\xa7\xdd\xdb\xd9\x5f\x66\xec\xde\xec\x67\x46\x74\x89\x45\xa4\x17\x4b\x71\xa6\x0a\xa6\x92\xf8\x91\x47\x79\xec\x40\xb2\x14\x37\x73\x1e\xe6\xba\xf2\xb7\x0b\xf3\xf3\xb7\x0b\x36\x97\x11\x0f\xe5\xbf\xf3\x83\xe4\x41\x30\xee\x13\x6e\x56\x37\x06\xc5\xf9\x85\x1a\x66\x8a\xbf\x4c\x8b\x97\x8c\x7e\x3a\x63\x3f\x4b\xda\x1c\x4b\x55\x57\xc9\x6a\xdb\x0a\xe7\x82\xcc\xa8\xc7\xa4\xa3\xa8\xec\x71\x9f\x01\x35\x2d\xf8\x90\xb7\x7d\xad\xc8\xd3\x04\xf6\xba\x55\xcc\xa8\xe9\x7a\xc1\x3e\xaa\x67\x16\xf0\xe4\x81\x07\x15\xab\xa5\x53\x6a\x44\x32\x57\xc9\x42\x8f\x49\x63\x7f\x7d\xae\xb5\x68\x7d\x77\x91\xd0\x9b\x4b\xac\xb1\xe9\x5b\xa9\xa5\x49\x4f\xfa\x85\x2a\x4c\xb2\x02\x19\x27\xdc\x18\xa7\xc4\xf2\xe8\xd7\x5c\x1a\x98\x95\x06\x33\x3f\x47\x1c\xdd\x77\x71\x30\xd5\x8f\xcd\xd8\xad\xe7\x89\x38\xa3\xb3\xa9\xac\xd9\x5d\x9a\x36\x5c\xb2\x6b\x3b\x01\xab\x13\x34\xfd\x91\x5d\xfe\xc4\xbd\xef\x41\xa2\x96\x91\xaf\x9f\xa2\x98\x12\x7a\xa8\xd6\x71\x46\x84\xb4\xf2\x71\xb5\x90\xbc\x05\x0f\xae\xa4\x1f\xd9\xe5\x2f\x2a\x11\xa5\x62\x99\xc7\x53\x8f\xfb\xba\xf5\xb6\x7f\x4c\xc8\x11\x95\x97\x1a\xd5\x73\xa5\xc0\xb9\x2b\x63\x9f\x09\x19\xd7\xa7\xfb\x69\x24\xce\x09\xbb\x01\xb5\x1b\x87\x4d\xae\x40\xa7\x1a\x05\x38\x05\xf5\x36\xbe\xab\x8e\x41\xc7\xb3\x6d\x9c\xd2\x45\xa8\x5d\x67\x6d\x70\x13\x3a\x54\xfe\x69\x44\x78\x40\xcf\x3b\x62\xba\xfb\x8c\x67\xcb\xb6\x7c\x6e\x8c\xc4\xb9\xf4\xe6\x9a\xf0\x6a\x73\x28\x17\x02\x53\x27\x91\xd6\x0d\x30\xbb\x39\xc2\xba\x05\xfe\xad\xc7\x56\x6f\x0a\xab\xee\xfc\x56\x09\x63\x38\x4b\xac\xb2\x9d\x4b\xf8\xf9\x85\x12\x7b\xe0\x70\x5d\x60\x1d\x86\x77\x88\xc0\x11\x33\x7e\x3e\x31\xe3\xed\xce\xa0\x6d\x71\xe3\xc7\x53\xd6\xe0\xc1\x00\x0f\x06\x78\x30\xc0\x83\x01\x1e\x0c\x4d\x9b\x2f\xd0\xf8\x88\x7a\x04\xb4\x14\xb4\x14\xb4\x14\xb4\x14\xb4\x14\xb4\x74\x5a\xb4\x14\x00\x03\x00\x03\x00\x03\x00\xa3\x77\x80\xb1\x03\xe4\x1f\x68\xc4\x73\xbb\x2e\x5c\x8d\x7a\x3e\xd4\xe2\x36\x28\xf4\xb3\xf6\x85\xf3\xba\xd3\xb7\xb0\xe7\x5f\x3b\x23\x6e\x81\x9b\xaa\x3c\xe4\xe9\xed\x6c\x9d\xc9\x7f\xe2\xf1\x8f\xdb\x69\x54\x67\xe9\x3b\x4f\x45\xa0\xf6\xb8\xd8\x77\x2c\x17\xe1\xbc\xaa\x8d\xe2\x45\xac\xd2\x8e\x71\x9b\xd1\x7c\x18\xdf\x87\xac\x99\x77\x7b\x64\x6b\xfb\x85\x97\x6e\xb8\x60\x69\x08\x3b\x4e\x27\xb1\xa9\x88\x8f\x2a\xcf\x90\xc1\xc6\x47\x91\x75\xe4\x13\x8f\x78\x20\x12\x63\xe7\xa3\x7b\xc6\x78\x9a\x2a\x4f\x92\xe2\xea\x2c\x6a\x9c\x0c\xa3\x2a\x61\x22\xca\xb4\x24\x99\x6b\xf2\x0b\xfe\x5d\xf7\x62\xf6\x28\x52\x91\x8b\x63\xe5\x28\xa0\x3c\x5a\x88\xc4\x51\xb2\x9e\xa9\x84\xbd\x7d\xf7\x57\xfd\x6c\xc2\x3d\xc2\x65\xa1\x8a\x02\x23\x7c\x91\x85\xcb\x53\x51\xc6\x65\x64\x76\x38\xb2\x20\x15\xcf\x12\x42\xb0\x30\x8f\x3d\xbc\x38\xfd\x22\x50\x21\x8f\x82\x99\x4a\x82\x9b\xf8\x7b\x70\xb3\x8c\xa4\xa7\x7c\x71\xf3\xa7\x8f\xe9\x9d\x2e\x65\x6f\x93\xb4\xed\x9c\x2e\x87\x67\x50\xd2\xda\x59\x08\x51\x6d\x05\xa8\x77\x2d\x04\xa8\xf7\xc6\x14\x37\xe2\x36\xbe\xdb\xda\x46\xe3\x4d\x3c\xe2\x46\x4e\x52\x12\x26\xe1\x6a\x84\x92\xf0\x2b\x76\xf8\xdd\x26\x0d\xf9\x82\x7a\xbc\xe2\x64\x2f\x69\xb3\xf9\x5a\x93\x93\x4b\x9b\x23\xb9\xcc\x04\x02\x63\x79\x90\x07\x2b\x30\x22\x7c\xfc\x8c\xc2\xc7\x11\x27\x87\x38\x39\xc4\xc9\x21\x4e\x0e\xba\xee\xba\x55\x34\xc8\xa0\x94\xd3\x68\x78\x88\xa9\x61\x1b\x74\x37\xab\xac\x8c\x50\x7b\x73\xb6\xfd\xce\x23\x69\x12\xc1\xfd\x9a\x3c\xb6\x87\xda\xa5\x4b\xd9\x47\xe9\xc2\x1e\x04\x33\x4d\x2f\x4b\x3d\x10\xa3\xb4\xd2\x1c\xc2\x2b\xcb\xc9\x49\xda\xd5\x06\x69\x49\x8e\x41\x63\xc9\x4d\x62\xaf\x2b\xb8\xaf\xe9\xdd\x3f\x6f\xde\x01\x17\x22\x09\x44\xab\x27\x29\xb7\xae\x08\xa4\x77\xdd\xfe\x1d\xfd\xf7\x8b\x7d\x92\xf6\xda\x36\x67\x4a\xcc\x93\x4c\x52\x14\x93\x71\xe9\x39\xfc\x7c\xa1\x0a\x0c\xce\xaa\xd7\x17\x43\xde\x20\xc5\xdd\x55\x9d\x6e\x18\x6c\x7d\x13\xb7\xf5\x9d\x0f\x1c\xae\x85\x0a\xe4\x8b\xcb\x84\xb3\xe8\x6d\xa8\x08\x91\x7e\xbd\x66\x8b\x7a\x43\x96\x0e\x13\xc3\xca\x43\x7a\x33\x52\xd1\xb5\x79\x9b\x9e\x20\x63\x63\xca\x5e\xff\x3d\x55\xd1\x9d\x89\x14\xfe\xa4\x37\x43\xfb\xf7\x7d\xbe\x45\x16\xff\xf8\x66\x48\xd4\xba\xfd\xbc\xf9\x45\x25\x1e\x59\x63\x03\x45\x83\xaf\xd8\xb7\x8b\xb9\xfe\xb7\x6f\x17\xec\xb6\xd2\x9b\xe4\x88\x6c\x4c\xa7\xcb\xb4\x88\x8a\xbc\xe6\x1e\x0d\x00\xc5\x9a\x86\xd2\xb3\xc6\x20\x11\xfa\x29\x53\xcf\x76\x6c\x4d\x2c\x66\x2c\x54\x1c\x8a\x19\x33\xdf\xa4\x10\xf3\x7c\x4e\x91\x3b\x70\xe3\x40\xb8\xcf\xef\xd3\xbd\xfa\x43\xd3\x75\xde\x84\x7a\x52\xaa\xce\x24\xd5\x93\xb8\xe6\x79\x3b\x42\x05\x65\xd9\xb9\x21\x22\x0e\xb9\xd7\x81\xac\x68\x0b\x3a\x1b\x69\x11\x1e\x87\x10\x2a\x77\x1c\xa6\xf3\x11\x2a\x07\x24\xbb\x41\xc4\x70\xbf\x0c\x6b\x4b\x3b\x0b\x8f\xc3\x69\x8a\x51\xcb\x51\x5a\x79\x5f\xb1\xce\x7c\xf1\x6e\x52\x83\xf5\xf6\xc9\xf8\xb7\x13\x22\x32\xdf\xc9\x4f\xcd\x63\xc1\x22\x0b\x2d\xb1\x61\x62\x33\xa9\xf7\x3d\x90\x51\xb5\x13\x81\x8c\x80\x8c\x26\x84\x8c\x3a\x3c\x6f\x76\x81\x47\x0d\x07\xce\x28\x8d\x02\x40\x48\xd0\xf6\xcf\x4f\xdb\x07\x42\xea\x72\xde\x00\x21\xc1\xbe\x03\x75\x65\xa8\xea\x0a\x10\xd2\x5a\x84\xd4\xa9\xad\x62\x17\x98\x34\x15\xe9\x11\x48\x09\x42\xe6\x8e\xc3\x74\x3e\x42\xe6\x80\x64\x39\x88\x1c\xee\x97\x61\x6d\x69\x40\x4a\xa3\x15\xab\x26\x8f\x94\xe8\xde\xbe\xf5\x60\xa9\x57\x94\x64\xaf\x7b\x8e\x7c\xf9\x24\xfd\x25\x0f\xcb\x57\x47\x72\x77\xc1\xfb\xba\x2e\x99\x95\x62\x99\x7f\x70\x51\xd0\x97\x54\xe8\x65\x91\xf9\xa3\x92\xca\xc1\xc9\x73\x4c\x46\x69\x26\x78\xc5\xd2\x5b\x97\xf6\x9e\x77\xb0\x14\xfe\x5a\xbb\x12\x0f\x37\x3d\x0e\x35\x70\x93\x2e\x2a\xfd\xf9\x49\x44\xe7\x7d\x87\x23\x8d\xe2\x39\x5e\xe4\x88\x6c\x5b\x13\xce\xb6\xb5\x1d\xd5\x6d\xcb\xb4\xb5\xd1\xea\xd7\x01\x86\x44\x7e\x2d\xe4\xd7\x42\x7e\x2d\xe4\xd7\x9a\x5a\x7e\xad\xed\x3b\x6f\x63\x6e\xad\x9e\x9d\x3e\x8e\x96\x51\x6b\x7b\xf3\xd7\x67\xd3\x1a\x72\x1f\xec\x92\x43\x6b\x7b\x1f\xac\xcf\x9f\xd5\x73\x1f\x20\x6b\x16\xb2\x66\x21\x6b\x16\xb2\x66\x21\x6b\x56\x6f\x59\xb3\x5a\xec\xfe\x2b\x19\xb3\x36\xde\x9a\x78\x46\x3e\x9f\xed\x5a\x33\xe1\xac\x5f\xdb\xbb\x7b\x53\xc6\xaf\xe3\xf6\x3b\xf2\x7c\xf5\x32\xa2\xab\x39\xbe\x7a\x1e\xd6\x93\x66\xf6\xda\xde\x3d\x1b\xb2\x7a\xf5\xbd\x6d\x0e\x35\x97\xd7\xf6\x4e\x6b\x20\x1b\x7b\xdb\xf3\xec\x5f\xff\xec\x0e\xa6\x35\xdc\x98\xde\x13\x53\x2b\x83\xb4\x28\x3f\xfc\xd5\x9c\x7d\x97\xd1\x7a\xc7\xa7\x4e\x80\xda\x55\x21\xfb\x93\x7e\x63\xe5\x44\xad\x3e\x14\x4a\xcd\x65\x45\x19\x2e\x95\xdd\x15\x8e\x03\x8a\x03\x8a\x1b\x17\x8a\x03\x86\x03\x86\x03\x86\x2b\x1e\x04\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x1b\x1f\x86\xc3\xc5\x32\x80\x8c\x80\x8c\x80\x8c\xa7\x1f\x51\x40\xc6\x6a\xf7\x00\x32\x8e\x0e\x32\x3e\x88\x8c\xbf\xbd\xd9\x8b\x21\x9e\x24\xe6\xb7\x36\xec\x81\xc8\xaa\x92\xbc\x19\xe1\x0d\xdc\x2f\x10\x59\x8d\xfa\x51\x17\xdc\xde\x7d\xfc\xd2\xf4\x36\x02\x9e\x77\xa4\x70\xa5\x8e\xa4\x28\xc6\x89\xa1\x38\x9a\x2c\xa5\xd7\x5f\x95\xab\xb0\xc3\x8a\x6b\x15\x22\xdb\x63\x02\xf4\x52\x16\xd8\x0d\x41\xb1\x1b\xd6\x51\x63\x32\x74\x6a\xdb\x7b\x57\xf4\xe9\xef\xc5\x1f\x49\x6e\x74\xf0\x23\xf0\x23\xf0\x23\xf0\xa3\xa9\xf1\xa3\x76\x37\xd8\x34\x32\xa4\xa3\x5d\x2e\x84\x3b\xa0\x5a\x0f\xd4\x29\xef\x80\x3a\x1a\xf4\xdb\xe1\xd6\xa5\x46\xe8\x75\xb4\x1e\xf9\x5a\xd6\xef\x65\xc4\x52\xa3\x76\xb3\x07\x31\x37\xde\x49\xce\x40\x5c\x88\x12\x76\xf7\xa2\xa9\x53\xba\xf5\x2a\x52\xd1\x75\x24\x02\x4e\x13\xd4\x6a\xe8\xe5\xdb\xb1\x0c\x2c\x72\x4b\xc3\xca\x90\x72\xb1\x10\xbe\xe4\x99\x08\x5f\x0a\xb7\xa1\xe2\xc8\x95\xe1\x95\xd5\xc0\x4d\x86\xfe\x20\xe1\x1e\xad\x1a\xa9\x7c\x27\x10\x14\x87\x36\xf9\x64\xe5\xb3\x74\x99\xea\x4a\x96\x87\x8b\xeb\x37\xf3\x06\xd9\x8f\xcc\xcd\x1e\x98\x17\x31\x33\xf5\x34\x77\x85\x36\xd4\x71\x8f\x61\xa6\x3a\xdf\x51\x95\x9b\xac\x1a\x5b\xec\x1a\x43\x99\xfe\xbb\xf0\xde\x76\xfd\xb2\x9e\xf9\x1e\x6d\xfa\x83\xfe\x82\xfe\x82\xfe\x82\xfe\x82\xfe\xf6\x46\x7f\x5b\x9e\x05\x2b\x04\xf8\x78\xc7\xe2\x87\x52\x88\x49\x1c\x0a\x9e\x0a\xb7\x05\xdd\x25\x2a\xe6\x01\x49\x47\x77\x2a\x94\xde\x4b\xc5\xd7\x38\x9f\x74\x45\x8c\x8a\x9e\x76\x6f\x67\x7f\x99\xb1\x7b\xb3\x9f\x19\xd1\x25\x16\x91\x5e\x2c\xc5\x99\x2a\x98\x4a\xe2\x47\x1e\xe5\xbe\xcf\xc9\x52\xdc\xcc\x79\x98\xeb\xca\xdf\x2e\xcc\xcf\xdf\x2e\xd8\x5c\x46\x3c\x94\xff\xce\x0f\x92\x07\xc1\xb8\x4f\xd0\x4c\xdd\x18\xa0\xe0\x17\x6a\x98\x29\xfe\x32\x2d\x5e\x32\xfa\xe9\x8c\xfd\x2c\x69\x73\x2c\x55\x5d\x25\xab\x6d\x2b\x10\x69\x66\xd4\x63\xd2\x51\x54\xf6\xb8\xcf\x80\x9a\x16\x7c\xc8\xdb\xbe\x56\xe4\xd9\xeb\x26\xf3\x9d\x14\x33\x6a\xba\x5e\xb0\x8f\xea\x99\x05\x3c\x79\xe0\x41\xc5\x74\xe9\x94\x1a\x91\xcc\x55\xb2\xd0\x63\xd2\xd8\x5f\x9f\x6b\x2d\x5a\xdf\x5d\x24\xf4\xe6\x12\x6b\x6c\xfa\x56\x6a\x69\xd2\x93\x7e\xa1\x0a\x93\xac\x60\x2e\x9c\xcf\xc7\x58\x1f\xd6\xf6\x24\xcd\xa5\x81\x59\x69\x30\xf3\x73\xc4\x31\x4a\xe7\xc7\x5f\xfd\xd8\x8c\xdd\x7a\x9e\x88\xcd\x7d\xb2\x65\xcd\xee\xd2\xb4\xe1\x92\x5d\xdb\x09\x58\x9d\xa0\xe9\x8f\xec\xf2\x27\xee\x7d\x0f\x12\xb5\x8c\x7c\xfd\x14\xf9\xc4\xd3\x43\xb5\x8e\x33\x22\xa4\x95\x8f\xab\x85\xe4\x2d\x78\x70\x25\xfd\xc8\x2e\x7f\x51\x89\x28\x15\xcb\x3c\x9e\x7a\xdc\xd7\xad\xb7\xfd\x63\x42\x26\xa8\xbc\xd4\xa8\x9e\x2b\x05\xce\x5d\x19\xfb\x4c\xc8\xb8\x3e\xdd\x4f\x23\x71\x4e\xd8\x99\xa1\xdd\x38\x6c\x72\x68\x38\xd5\x28\xc0\xb5\xa1\xb7\xf1\x5d\x75\x6f\x38\x9e\x6d\xe3\x94\x8e\x0e\xed\x3a\x6b\x83\xb3\xc3\xa1\xf2\x4f\x23\xc7\x03\x89\xde\x11\xd3\xd9\x84\x09\x13\x07\xd0\xa5\xd7\xd7\x04\x84\x9a\x93\xb9\x90\x9a\x06\x1f\x1b\x5a\x6b\xe2\x6a\x80\x68\xe7\x61\xee\xc6\x84\x96\x58\xb5\x3b\x97\xf5\xb7\x45\xb8\x6f\xa0\xe3\xba\xc0\x46\x36\xde\x21\x11\x47\x08\xec\xf9\x84\xc0\xb6\x3b\x92\xb6\x85\xc1\x1e\x4f\x77\x83\x43\x03\x1c\x1a\xe0\xd0\x00\x87\x06\x38\x34\x34\x6d\xbe\x20\xe5\x23\xea\x11\xc0\x53\xc0\x53\xc0\x53\xc0\x53\xc0\x53\xc0\xd3\x69\xc1\x53\xf0\x0c\xf0\x0c\xf0\x0c\xf0\x8c\xde\x79\xc6\x0e\xcc\x7f\xa0\x61\x9c\xed\xba\x70\x35\x94\x73\x52\x79\xdf\xd7\xbe\x70\x5e\x57\x90\xee\x96\x09\x95\xcc\xfe\x6b\xd3\xa1\x9e\x43\x88\xe4\x76\x42\x35\x8a\xc4\x81\x5b\xa9\xd4\x1e\xd7\x96\x8e\xe5\xb2\x8f\x57\xb5\xa1\xbc\x88\x55\xda\x31\x82\x33\x8a\x10\xe3\xfb\xd0\x36\xf3\x6e\xdf\xbc\x6d\xcc\x69\xf4\x37\xef\x42\xc8\xa5\x7f\x3e\x71\x54\xc8\xa5\x8f\x5c\xfa\x0d\x95\x99\xa4\x74\x35\xa1\x84\xfa\x5d\x35\xf4\xdd\xd6\x86\x1a\xff\xe3\xb1\xb7\x74\xba\xc2\x32\x89\x5e\x63\x15\x96\x5f\xb1\x8e\xae\x49\x69\x48\x7e\xd2\xe3\x6d\x29\x7b\x49\xa5\x1b\x6e\x48\x39\xb9\x54\x3a\x92\x7b\x51\x20\x53\x96\x07\x79\xb0\x32\x25\x22\xd1\xcf\x28\x12\x1d\x21\x77\x08\xb9\x43\xc8\x1d\x42\xee\xa0\x0e\xaf\x5b\x45\x83\x8c\x6f\x39\x8d\xea\x87\xf0\x9c\xad\xfa\x9c\x55\x5b\xc6\xaa\xd1\x39\x24\xd0\x79\x50\x4e\x22\xb8\x5f\x93\xcc\xf6\xd0\xc2\x74\x29\x7b\xeb\x60\xd8\x92\x60\xce\x71\x3f\xf5\xb3\xfc\x03\x31\x5e\x6b\xce\x21\xe8\x13\x59\x1c\x86\x09\x76\xc9\x01\x63\xaf\xfb\xbf\xaf\xe9\xdd\x3f\x6f\xde\x10\x17\x22\x09\x44\xab\x27\xd3\x2c\xe1\x99\x08\xa4\x77\xdd\xfe\x1d\xfd\xf7\x8b\x7d\x92\xb6\xde\x36\xe7\x4c\xcc\x93\x4c\x52\x7c\x94\x71\x16\x3a\xfc\xcc\x89\x1b\x72\x0b\x0f\xc4\xf0\xd7\x17\x8e\xde\x20\xe8\xdd\x55\x7d\x7a\x18\xcc\x81\x13\x37\x07\x9e\x0f\x62\xae\x45\x22\xe4\x8b\xcb\x44\xcb\xe8\xbd\xa8\x88\xc0\x7e\xbd\x66\x9f\x7a\x43\xc6\x10\x13\x22\xcb\x43\x7a\x33\x52\xd1\xb5\x79\x9b\x9e\x20\x7b\x64\xca\x5e\xff\x3d\x55\xd1\x9d\x09\x44\xfe\xa4\x77\x44\xfb\xf7\x7d\xbe\x4f\x16\xff\xf8\x66\x48\xec\xbb\xfd\xbc\xf9\x45\x25\x1e\x19\x6c\x03\x45\x83\xaf\xd8\xb7\x8b\xb9\xfe\xb7\x6f\x17\xec\xb6\xd2\x9b\xe4\xe7\x6c\xac\xab\xcb\xb4\x08\xba\xbc\xe6\x1e\x0d\x00\x85\xb2\x86\xd2\xb3\xf6\x22\x11\xfa\x29\x53\xcf\x76\x6c\x4d\xa8\x67\x2c\x54\x1c\x8a\x19\x33\xdf\xa4\x08\xf6\x7c\x4e\x91\xb7\x71\xe3\x40\xb8\xcf\xef\xd3\xbd\xfa\x43\xd3\xf5\x0d\x85\xca\x72\x3e\x2a\x4b\x3c\x8a\x0c\xf3\xdb\x95\x96\x65\xe7\x06\x8b\x38\xe4\x5e\x07\xf2\xa3\x2d\xe8\xbc\x24\x48\x38\x34\x42\xda\xdc\x67\x98\xce\x47\xda\x1c\x90\x50\x07\xd9\xc3\xfd\x32\xc0\x7d\xed\x7c\x1c\x1a\x27\x2c\x64\x2d\xc7\x6b\x17\x7e\xc5\xba\xf5\xf2\xbb\x49\x0d\x2b\xdc\x27\x4b\xe1\x4e\xb4\xc9\x7c\x27\x3f\x4e\x8f\xca\x9d\x2c\x0e\xc5\x76\x8a\x5d\xe6\x88\xbb\x0c\xe8\x13\xe8\x13\xe8\x53\xc3\x93\xa7\xa3\x4f\x1d\x9e\x41\x3b\x73\xa8\x86\x43\x68\x94\xb6\x04\xd0\x28\xd8\x07\xce\xcf\x3e\x00\x1a\xd5\xe5\xbc\x01\x8d\x82\x45\x08\x2a\x0c\x1b\xbc\x0a\x03\x1a\xd5\x3c\x9a\x39\x8d\xea\xd4\xa6\xb1\x33\x97\x9a\x8a\x44\x09\x3a\x05\xe9\x73\x9f\x61\x3a\x1f\xe9\x73\x40\x42\x1e\x64\x11\xf7\xcb\x00\xf7\x35\xd0\xa9\x09\x08\x5d\x67\x44\xa7\xe8\x4e\xc2\xf5\x8c\xaa\x57\x2a\x65\xaf\xb2\x8e\x7c\xf9\x24\xfd\x25\x0f\xcb\xd7\x62\x72\x77\x79\xfd\xba\xce\x99\x95\x62\xad\x7f\x70\x51\xda\x97\x54\xe8\x65\x91\xd5\xa4\x92\xa6\xc2\x89\x7c\x4c\x46\x69\x26\x78\xc5\x40\x5c\x17\x08\x9f\x77\x35\x30\xfe\x5a\xbb\xe9\x0f\x57\x59\x0e\x35\xba\x94\x6e\x62\xfd\xf9\x49\x44\xb8\x9f\xd2\x4c\xf3\xb3\xbd\xa4\x12\x89\xc5\x26\x9c\x58\x6c\x3b\xf0\xdb\x96\x54\x6c\xa3\xd9\xb0\x03\x98\x89\x54\x62\x48\x25\x86\x54\x62\x48\x25\x36\xb5\x54\x62\xdb\x77\xde\xc6\x34\x62\x3d\xbb\x8e\x1c\x2d\x79\xd8\xf6\xe6\xaf\x4f\x1c\x36\xe4\x3e\xd8\x25\x5d\xd8\xf6\x3e\x58\x9f\x2a\xac\xe7\x3e\x40\x82\x30\x24\x08\x43\x82\x30\x24\x08\x43\x82\xb0\xde\x12\x84\xb5\xd8\xfd\x57\x92\x83\x6d\xbc\xe4\xf1\x8c\x3c\x47\xdb\xb5\x66\xc2\x09\xce\xb6\x77\xf7\xa6\xe4\x66\xc7\xed\x77\xa4\x34\xeb\x65\x44\x57\xd3\x99\xf5\x3c\xac\x27\x4d\x62\xb6\xbd\x7b\x36\x24\x30\xeb\x7b\xdb\x1c\x6a\xda\xb2\xed\x9d\xd6\xc0\x38\xf6\xb6\xe7\xd9\xbf\xfe\xd9\x31\x60\x6b\xb8\xea\xbd\x27\xce\x56\x86\x6b\x51\x2e\x01\xa8\x39\xfb\x2e\xa3\xf5\xfe\x52\x9d\x40\xb6\xab\x42\x01\x20\x25\xc7\x0a\x8b\x5a\x87\x28\x34\x9b\xcb\x8a\x46\x5c\x2a\xbb\x53\x44\x07\x3c\x07\x3c\x37\x42\x3c\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x07\x34\x37\x7a\x34\x87\x2b\x6b\x00\x1e\x01\x1e\x01\x1e\x4f\x3f\xa2\x00\x8f\xd5\xee\x01\x78\x1c\x34\x78\x4c\x44\x20\xe9\x3a\x2f\x5d\x4b\x8b\x1e\xf7\x82\x89\x27\x89\x14\xae\x0d\x78\x40\x39\x2f\xe7\x2a\x59\xb8\x09\xce\x99\x01\x18\xeb\x19\x60\x20\xb2\xdb\x6a\x3f\xdc\xde\x7d\xfc\x5b\xfd\x25\x04\x48\xef\xc8\xe0\x5c\x27\x8e\x9f\xc0\x95\xe7\x46\xe9\xc5\x57\xe5\x8f\xb7\x5a\x58\x4f\x6f\xc7\xbd\xb6\x2a\xfa\xb1\xd9\x37\x77\x5a\x58\xbf\xbd\xbd\xbd\xfb\xf8\xa5\xe9\x55\x2c\xaf\xdd\x97\x57\xde\x91\x14\x36\x3c\xad\x55\xf6\xdf\x4f\x6f\x0f\x5d\x68\x16\x27\x4a\xaf\x32\x8c\x79\x42\xd1\x4e\xfd\x63\x6c\xea\xe2\x52\x1e\x68\x35\x67\xb7\x77\x1f\xef\xcd\xf7\x37\x2c\x11\xf3\xe6\xca\x2a\x79\xef\x4a\x6a\x2e\xa5\xdf\x5b\x82\x7a\x99\xaf\x1f\xa8\xa5\x9f\x63\x73\x2b\x40\xbb\xd9\xba\x3d\xaf\x3e\xf8\x2a\xf8\x2a\xf8\x2a\xf8\xea\x94\xf8\x6a\xbb\xdb\xa1\x1a\x19\xeb\xd1\x2e\xee\xc2\xfd\x6a\xad\x07\xea\x94\xf7\xab\x1d\x0d\x8a\xef\x70\xa3\x59\x23\x14\x3e\x5a\x8f\x7c\x2d\xdb\xbf\x64\xc4\x52\x63\x96\x62\x0f\x62\x6e\xbc\xf7\x1c\x40\x29\x44\x09\xbb\x7b\xd1\xd4\x29\xdd\x28\x17\xa9\xe8\x3a\x12\x01\xa7\x09\x6a\x2d\x58\xe5\x9b\xe7\x0c\x4c\x75\x4b\xc3\x0a\x89\x72\xb1\x10\xbe\xe4\x99\x08\x5f\x0a\xb7\xba\xe2\xc8\x95\xe1\x95\xb5\x50\x51\xa7\xb3\x20\xe1\x1e\xad\x1a\xa9\x7c\x27\x10\x14\x87\x36\xf9\x2c\xe6\xb3\x74\x99\xea\x4a\x96\x87\x8b\xeb\x37\xf3\x06\xd9\x8f\xcc\xcd\x1e\x98\x17\x31\x33\xf5\x34\x17\xf4\x36\xd4\x71\x8f\x61\xa6\x3a\xdf\x51\x95\x9b\xac\x7e\x5b\xec\x7e\x43\x99\xfe\xbb\xf8\x43\xb4\xeb\x97\xf5\x3e\x11\x47\x9b\xfe\xf0\x8e\x80\x77\x04\xbc\x23\xe0\x1d\x01\xef\x88\xde\xbc\x23\x5a\x9e\x05\x2b\x1e\x12\xc7\x3b\x16\x3f\x94\x22\xb2\xe2\x50\xf0\x54\xb8\x2d\xe8\x2e\x51\x31\x0f\x48\x3a\xba\x53\xa1\xf4\x5e\x2a\xbe\xf8\xf9\xa4\x2b\x42\xba\xf4\xb4\x7b\x3b\xfb\xcb\x8c\xdd\x9b\xfd\xcc\x88\x2e\xb1\x88\xf4\x62\x29\xce\x54\xc1\x54\x12\x3f\xf2\x28\x8f\x0d\x48\x96\xe2\x66\xce\xc3\x5c\x57\xfe\x76\x61\x7e\xfe\x76\xc1\xe6\x32\xe2\xa1\xfc\x77\x7e\x90\x3c\x08\xc6\x7d\x82\xca\xea\xc6\x00\x37\xbf\x50\xc3\x4c\xf1\x97\x69\xf1\x92\xd1\x4f\x67\xec\x67\x49\x9b\x63\xa9\xea\x2a\x59\x6d\x5b\xe1\x42\x90\x19\xf5\x98\x74\x14\x95\x3d\xee\x33\xa0\xa6\x05\x1f\xf2\xb6\xaf\x15\x79\xf6\x4a\x1f\xb0\x93\x62\x46\x4d\xd7\x0b\xf6\x51\x3d\xb3\x80\x27\x0f\x3c\xa8\xd8\x26\x9d\x52\x23\x92\xb9\x4a\x16\x7a\x4c\x1a\xfb\xeb\x73\xad\x45\xeb\xbb\x8b\x84\xde\x5c\x62\x8d\x4d\xdf\x4a\x2d\x4d\x7a\xd2\x2f\x54\x61\x92\x15\x4c\x96\x87\x7c\x8c\x53\xe2\x75\xf4\x6b\x2e\x0d\xcc\x4a\x83\x99\x9f\x23\x8e\xe1\xbb\x38\x97\xea\xc7\x66\xec\xd6\xf3\x44\x6c\xee\x6a\x2e\x6b\x76\x97\xa6\x0d\x97\xec\xda\x4e\xc0\xea\x04\x4d\x7f\x64\x97\x3f\x71\xef\x7b\x90\xa8\x65\xe4\xeb\xa7\x28\x66\x84\x1e\xaa\x75\x9c\x11\x21\xad\x7c\x5c\x2d\x24\x6f\xc1\x83\x2b\xe9\x47\x76\xf9\x8b\x4a\x44\xa9\x58\xe6\xf1\xd4\xe3\xbe\x6e\xbd\xed\x1f\x13\x52\x44\xe5\xa5\x46\xf5\x5c\x29\x70\xee\xca\xd8\x67\x42\xc6\xf5\xe9\x7e\x1a\x89\x73\xc2\xce\x3e\xed\xc6\x61\x93\xc3\xcf\xa9\x46\x01\xae\x3f\xbd\x8d\xef\xaa\xfb\xcf\xf1\x6c\x1b\xa7\x74\x04\x6a\xd7\x59\x1b\x9c\x81\x0e\x95\x7f\x1a\x41\x1d\xb0\xf2\x8e\x98\xce\x66\x24\x99\x32\x4d\x2e\xbd\xbb\x26\x64\xda\x1c\xcb\x85\xc8\xd4\x51\xf4\x74\x03\xa8\x6e\x8e\x9f\x6e\x84\xbe\xf5\x88\xe9\x4d\xc1\xd2\x9d\xdf\x00\x61\xcc\x65\x89\x55\xb1\x73\xb9\x3e\xbf\xfc\xa1\x15\xea\xd6\x45\x34\xb9\x83\x1c\x80\xb7\x11\xef\x7d\x3e\xf1\xde\xed\xce\x97\x6d\x31\xdf\xc7\x53\xc4\xe0\x9d\x00\xef\x04\x78\x27\xc0\x3b\x01\xde\x09\x4d\x9b\x2f\xb0\xf7\x88\x7a\x04\x24\x14\x24\x14\x24\x14\x24\x14\x24\x14\x24\x74\x5a\x24\x14\x70\x02\x70\x02\x70\x02\x70\xa2\x77\x38\xb1\x03\xc0\x1f\x68\xcc\x72\xbb\x2e\x5c\x8d\x5b\x3e\xd4\xe2\x36\x28\xac\xb3\xf6\x85\x33\xba\x79\x57\xd7\xfd\x9a\x07\x81\x5e\x89\x99\xaa\x66\x09\xae\x10\x0e\x13\xa4\x68\xcd\xfb\x93\x8f\x51\xdc\x4e\x95\x3a\x4c\x91\x79\x3c\x92\xb4\xc7\xb5\xbb\x63\xb9\xac\xe6\x55\x6d\xe4\x2e\x62\x95\x76\x8c\xcd\x8c\x6e\xc3\x78\xd4\x0e\x91\x99\xc7\x3b\x86\x64\xfb\xc5\x80\x6e\xb8\xeb\xe8\xd8\x5b\x47\x27\xc1\xa2\x08\x58\x2a\xcf\x86\xc1\x06\x2c\x91\x49\xe3\x13\x8f\x78\x20\x12\x63\x9c\xa3\x8b\xbd\x78\x9a\x2a\x4f\x92\xb6\xe9\xcc\x60\x9c\xac\x99\x2a\x61\x22\xca\xb4\xf8\x97\xab\xdf\x0b\xfe\x5d\xf7\x62\xf6\x28\x52\x91\xcb\x50\xe5\xb0\x9c\x3c\x7c\x87\x64\x48\x32\x79\xa9\x84\xbd\x7d\xf7\x57\xfd\x6c\xc2\x3d\x62\x5c\xa1\x8a\x02\x23\x31\x91\x59\xca\x53\x51\xc6\x65\x64\x36\x2d\x32\xfb\x14\xcf\x92\xdd\xdf\x12\x38\xf6\xf0\xe2\x94\x82\x40\x85\x3c\x0a\x66\x2a\x09\x6e\xe2\xef\xc1\xcd\x32\x92\x9e\xf2\xc5\xcd\x9f\x3e\xa6\x77\xba\x94\xbd\xed\xc8\xb6\x73\xba\x1c\x9e\x41\x89\x58\x93\x93\x7c\xda\x4a\x3d\xef\x5a\x48\x3d\xef\x8d\xad\x6c\x24\xed\x79\xb7\xb5\x3d\xc6\x6d\x77\x24\x0d\x9a\xa8\x58\x4a\x52\xcf\x48\xc4\xd2\x57\x6c\xbf\x0b\x40\x1a\x92\xe4\xf4\x78\x0f\x48\x5b\x71\x6f\xcd\xe5\x1f\xb8\xf2\x83\xad\xeb\x60\x48\x71\xe5\x41\x1e\xac\x14\x87\x20\xeb\x33\x0a\xb2\x46\x34\x19\xa2\xc9\x10\x4d\x86\x68\x32\x28\xa0\xeb\x56\xd1\x20\x43\x37\x4e\xa0\x9e\x21\xf2\x64\xab\x32\x66\xb5\x92\x91\xa8\x63\xce\x72\xde\x79\xbc\x49\x22\xb8\x5f\x93\xc2\x5a\xa9\x54\xfa\xbd\xb6\x0a\x15\xf6\x17\xd8\x4f\x3a\x58\xb2\x81\x18\x8d\xf9\xe4\x10\xaa\x57\x4e\xb0\xb1\xee\xfb\x48\xa9\x71\x0c\x4a\x49\x0e\x02\x7b\x5d\x1b\x7d\x4d\xef\xfe\x79\xf3\xae\xb6\x10\x49\x20\x5a\x3d\x49\x73\x55\x04\xd2\xbb\x6e\xff\x8e\xfe\xfb\xc5\x3e\x49\xfb\x67\x9b\xd3\x20\xe6\x49\x26\x29\x7e\xc7\x38\xb3\xec\x73\x32\xc4\x36\xd3\xf3\xe9\x6d\x6d\xbd\xa0\xd5\xcd\xb2\xd5\x5d\xd5\xa9\x84\xc1\x02\x37\x71\x0b\xdc\xf9\x70\xd4\x9a\x2b\x7c\xbe\xb8\x4c\xb8\x86\xde\x6c\x8a\x10\xe0\xd7\x6b\x36\xa2\x37\x64\x7f\x30\x31\x9a\x3c\xa4\x37\x23\x15\x5d\x9b\xb7\xe9\x09\x32\x01\xa6\xec\xf5\xdf\x53\x15\xdd\x99\x48\xd8\x4f\x7a\xcb\xb3\x7f\xdf\xe7\x1b\x61\xf1\x8f\x6f\x86\x04\x78\xdb\xcf\x9b\x5f\x54\xe2\x91\x8d\x34\x50\x34\xf8\x8a\x7d\xbb\x98\xeb\x7f\xfb\x76\xc1\x6e\x2b\xbd\x49\x8e\xb6\xc6\xa0\xb9\x4c\x8b\xa8\xbf\x6b\xee\xd1\x00\x50\x2c\x65\x28\x3d\x6b\xa2\x11\xa1\x9f\x32\xf5\x6c\xc7\xd6\xc4\x1a\xc6\x42\xc5\xa1\x98\x31\xf3\x4d\x0a\xa1\xce\xe7\x14\xb9\xbb\x36\x0e\x84\xfb\xfc\x3e\xdd\xab\x3f\x34\x5d\xe7\x44\x28\x16\x1b\x9a\x32\x42\xc5\x22\xee\x30\x71\xff\x11\x55\x8b\x65\xe7\xa6\x80\x38\xe4\xde\x5e\x32\x9f\x7d\x75\xba\x52\x1f\x1c\xea\x20\x08\x42\x10\x84\x43\x1d\xc4\x02\xf3\x77\x8d\x70\x4c\xcb\xa1\x6e\xaa\x62\xce\x72\x34\xf6\xd3\x57\xec\x20\xf7\xb3\x9b\xd4\x20\xae\x7d\x32\xc0\xed\x04\x4e\xcc\x77\xf2\x73\xaf\x5b\x84\x62\x31\x1d\x36\x36\x6c\x04\x00\x29\x00\x29\x00\x29\xa3\x06\x29\x07\x9d\x14\xdb\x90\x4a\xc3\x51\x31\x3e\x15\x1b\x60\x05\xfa\xf4\x59\xea\xd3\x00\x2b\x5d\xce\x1b\x80\x15\x58\x50\xa0\x68\x0c\x43\xd1\x00\x58\xa9\x80\x95\x03\xad\x05\xdb\x10\xcb\x24\xa4\x40\x80\x16\x08\x86\x10\x0c\x01\x5a\x20\x26\x98\xbf\x01\x5a\x46\x28\xf6\x4c\x14\xb4\xd0\x8d\x69\x65\xdc\xd2\x2b\x60\xb1\x57\xeb\x46\xbe\x7c\x92\xfe\x92\x87\xe5\x6b\xfa\xb8\xbb\x4c\xbb\x68\xf8\xac\x14\xdf\xfa\x83\x8b\x8c\xbd\xa4\x62\x2e\x8b\xbc\x0a\x95\x8b\xf2\x9d\x8c\xc5\x64\x94\x66\x82\x57\xec\xa6\x75\x09\xec\x79\x8b\x15\xee\xd7\xda\xb5\x63\xb8\x3b\x6f\xa8\x01\x7c\x74\xf5\xe3\xcf\x4f\x22\x3a\xf7\x9b\xf2\x68\x1c\xcf\xe5\xba\x3c\x64\x2d\x9a\x70\xd6\xa2\xed\x88\x6b\x5b\xc6\xa2\x8d\x76\xb4\x0e\xf0\x1d\xf2\x14\x21\x4f\x11\xf2\x14\x21\x4f\xd1\xd4\xf2\x14\x6d\xdf\x79\x1b\x73\x14\xf5\xec\x2c\x71\xb4\xcc\x44\xdb\x9b\xbf\x3e\x2b\xd1\x90\xfb\x60\x97\x5c\x44\xdb\xfb\x60\x7d\x1e\xa2\x9e\xfb\x00\xd9\x87\x90\x7d\x08\xd9\x87\x90\x7d\x08\xd9\x87\x7a\xcb\x3e\xd4\x62\xf7\x5f\xc9\x3c\xb4\xf1\xce\xbc\x33\xf2\x95\x6c\xd7\x9a\x09\x67\x4f\xda\xde\xdd\x9b\x32\x27\x1d\xb7\xdf\x91\x2f\xa9\x97\x11\x5d\xcd\x95\xd4\xf3\xb0\x9e\x34\x43\xd2\xf6\xee\xd9\x90\x1d\xa9\xef\x6d\x73\xa8\x39\x91\xb6\x77\x5a\x03\xcf\xd8\xdb\x9e\x67\xff\xfa\xe7\x61\x70\xac\xe1\x2a\xec\x9e\x18\x59\x19\x8c\x45\xf9\x81\xaf\xe6\xec\xbb\x8c\xfc\xae\x01\xd9\x55\x21\xe1\x93\x16\x63\xa5\x41\xad\x24\x14\xaa\xcb\x65\x45\xe5\x2d\x95\x7d\x08\x5e\x03\x5a\x03\x5a\x1b\x1b\x5a\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x03\x56\x1b\x1b\x56\xc3\x95\x2a\xed\x47\x07\x98\x10\x98\x10\x98\x10\x98\x10\x98\x10\x98\xd0\x61\xc2\x07\x91\xf1\xb7\x37\x7b\x31\xc1\x93\x44\xd5\xd6\x06\x3e\x10\x59\x55\x7a\x37\x63\xbc\x81\xea\x05\x22\x5b\x61\x7a\xd4\x09\xb7\x77\x1f\xbf\x34\xbd\x8f\xa0\xe2\x1d\x89\x5b\xa9\x23\x29\x02\x71\x72\xd8\x8d\xa6\x4b\xa9\x80\x57\xe5\x4a\xec\xb4\xee\xd6\x84\xae\xf6\x98\xa1\xba\x94\xbf\xb3\x12\xac\xba\x61\xc5\xac\x49\x56\x4d\x2d\x78\xef\x8a\x43\xee\x6a\xb6\xae\xeb\x41\x84\x40\x84\x40\x84\x40\x84\xa6\x46\x84\xda\xdd\x00\xd3\x48\x85\x8e\x76\x39\x0f\xee\x50\x6a\x3d\x50\xa7\xbc\x43\xe9\x68\x18\x6f\x87\x5b\x8b\x1a\x31\xd6\xd1\x7a\xe4\x6b\x59\x7f\x97\x11\x4b\x8d\x5a\xcd\x1e\xc4\xdc\xf8\x1b\x39\x93\x6f\x21\x4a\xd8\xdd\x8b\xa6\x4e\xe9\xd6\xa8\x48\x45\xd7\x91\x08\x38\x4d\x50\xab\x81\x97\x6f\x97\x32\xf8\xc7\x2d\x0d\x2b\x29\xca\xc5\x42\xf8\x92\x67\x22\x7c\x29\x1c\x81\x8a\x23\x57\x86\x57\x56\xc3\x36\x19\xd4\x83\x84\x7b\xb4\x6a\xa4\xf2\x9d\x40\x50\x1c\xda\xe4\x65\x95\xcf\xd2\x65\xaa\x2b\x59\x1e\x2e\xae\xdf\xcc\x1b\x64\x3f\x32\x37\x7b\x60\x5e\xc4\xcc\xd4\xd3\xdc\x8f\xd9\x50\xc7\x3d\x86\x99\xea\x7c\x47\x55\x6e\xb2\x5a\x6c\xb1\x5b\x0c\x65\xfa\xef\x42\x70\xdb\xf5\xcb\x7a\x8a\x7b\xb4\xe9\x0f\x9e\x0b\x9e\x0b\x9e\x0b\x9e\x0b\x9e\xdb\x1b\xcf\x6d\x79\x16\xac\x30\xdd\xe3\x1d\x8b\x1f\x4a\xe1\x21\x71\x28\x78\x2a\xdc\x16\x74\x97\xa8\x98\x07\x24\x1d\xdd\xa9\x50\x7a\x2f\x15\xef\xe1\x7c\xd2\x15\xf1\x25\x7a\xda\xbd\x9d\xfd\x65\xc6\xee\xcd\x7e\x66\x44\x97\x58\x44\x7a\xb1\x14\x67\xaa\x60\x2a\x89\x1f\x79\x94\x7b\x33\x27\x4b\x71\x33\xe7\x61\xae\x2b\x7f\xbb\x30\x3f\x7f\xbb\x60\x73\x19\xf1\x50\xfe\x3b\x3f\x48\x1e\x04\xe3\x3e\x41\x31\x75\x63\x80\x81\x5f\xa8\x61\xa6\xf8\xcb\xb4\x78\xc9\xe8\xa7\x33\xf6\xb3\xa4\xcd\xb1\x54\x75\x95\xac\xb6\xad\x40\xa0\x99\x51\x8f\x49\x47\x51\xd9\xe3\x3e\x03\x6a\x5a\xf0\x21\x6f\xfb\x5a\x91\x67\xaf\xdb\xbb\x77\x52\xcc\xa8\xe9\x7a\xc1\x3e\xaa\x67\x16\xf0\xe4\x81\x07\x15\x03\xa5\x53\x6a\x44\x32\x57\xc9\x42\x8f\x49\x63\x7f\x7d\xae\xb5\x68\x7d\x77\x91\xd0\x9b\x4b\xac\xb1\xe9\x5b\xa9\xa5\x49\x4f\xfa\x85\x2a\x4c\xb2\x82\xb9\x64\x3d\x1f\x63\x7d\x58\xdb\x93\x34\x97\x06\x66\xa5\xc1\xcc\xcf\x11\xc7\x20\x9d\x67\x7e\xf5\x63\x33\x76\xeb\x79\x22\x36\xf7\xb1\x96\x35\xbb\x4b\xd3\x86\x4b\x76\x6d\x27\x60\x75\x82\xa6\x3f\xb2\xcb\x9f\xb8\xf7\x3d\x48\xd4\x32\xf2\xf5\x53\xe4\xe5\x4e\x0f\xd5\x3a\xce\x88\x90\x56\x3e\xae\x16\x92\xb7\xe0\xc1\x95\xf4\x23\xbb\xfc\x45\x25\xa2\x54\x2c\xf3\x78\xea\x71\x5f\xb7\xde\xf6\x8f\x09\x82\xa0\xf2\x52\xa3\x7a\xae\x14\x38\x77\x65\xec\x33\x21\xe3\xfa\x74\x3f\x8d\xc4\x39\x61\x67\x85\x76\xe3\xb0\xc9\x61\xe1\x54\xa3\x00\xd7\x85\xde\xc6\x77\xd5\x7d\xe1\x78\xb6\x8d\x53\x3a\x32\xb4\xeb\xac\x0d\xce\x0c\x87\xca\x3f\x8d\xb4\x0e\x94\x79\x47\x4c\x67\x93\x0b\x4c\x1e\x2e\x97\x0a\x58\x13\xd8\x69\xce\xe6\x42\x6e\x1a\x64\x8c\x67\xad\x59\xab\x81\x9e\x9d\x87\xa2\x1b\xc3\x59\x62\x95\xed\x5c\xc2\x5f\x8d\x42\xdf\x40\xbe\x75\x11\x6b\x9d\x45\x0e\xa0\xdd\x08\x58\x3d\x9f\x80\xd5\x76\xc7\xcd\xb6\xa0\xd5\xe3\xe9\x65\x70\x56\x80\xb3\x02\x9c\x15\xe0\xac\x00\x67\x85\xa6\xcd\x17\x14\x7c\x44\x3d\x02\x30\x0a\x30\x0a\x30\x0a\x30\x0a\x30\x0a\x30\x3a\x2d\x30\x0a\x56\x01\x56\x01\x56\x01\x56\xd1\x3b\xab\xd8\x81\xe7\x0f\x34\x04\xb3\x5d\x17\xae\x86\x61\x4e\x2a\x8f\xf9\xda\x17\xce\xe8\x9a\xd0\x1d\x32\x87\x92\x89\x7f\x56\x4b\xa4\x08\xd2\x74\x31\xd8\xc4\x7c\x5b\xe9\xd2\x1e\xd7\x88\x8e\xe5\x2a\x8e\x57\xb5\xe1\xbb\x88\x55\xda\x31\x4a\x33\xaa\x0e\xe3\x51\x3b\x6c\x66\x1e\xef\x03\x9c\x8d\x33\x2f\x7c\x7d\x3b\x41\x72\xf8\xf3\x09\x6c\x42\x72\x78\x24\x87\x6f\xa8\xcc\xe8\x45\xa2\x49\x64\x88\xdf\xbf\x51\xef\xb6\x36\xca\x38\xfa\x8e\xa9\x55\x53\x96\x5c\x49\x26\x1a\x93\xe4\xfa\x8a\x1d\x70\x97\x48\x43\xa6\x8f\x1e\xaf\x14\x69\x2b\x16\x6e\xba\x47\x04\xb7\x87\xb0\x75\xbd\x0c\x41\xaf\x3c\xc8\x83\x15\xf4\x10\xaf\x7d\x46\xf1\xda\x08\x4c\x43\x60\x1a\x02\xd3\x10\x98\x06\x1d\x75\xdd\x2a\x1a\x64\x14\xc8\x09\xf4\x36\x04\xb1\xec\x12\xc4\x32\x2a\x15\xcd\x19\xdc\x3b\x0f\x5d\x49\x04\xf7\x6b\xf2\x58\x2b\x0d\x4b\xbf\xb7\x93\x7e\x85\xed\x06\x76\x96\xd2\xc8\x1d\xbe\x8c\x03\x31\x2e\x33\xcb\x21\x80\x10\xb9\x07\x6a\xcd\x3c\x19\xf0\x24\xd7\x83\xbd\xee\xac\xbe\xa6\x77\xff\xbc\x79\x93\x5b\x88\x24\x10\xad\x9e\xa4\x09\x2b\x02\xe9\x5d\xb7\x7f\x47\xff\xfd\x62\x9f\xa4\xed\xb4\xcd\x09\x11\xf3\x24\x93\x14\x19\x64\xdc\x64\xf6\x39\x2d\xe2\xc6\xfc\xb6\xd3\xa2\xb4\x9b\xc5\xaf\xbb\xaa\xcf\x0a\x83\x91\x6e\xe2\x46\xba\xf3\xa1\xb1\x35\x4f\xfb\x7c\x71\x99\x68\x10\xbd\xe3\x14\x11\xc6\xaf\xd7\xec\x46\x6f\xc8\x44\x61\x42\x40\x79\x48\x6f\x46\x2a\xba\x36\x6f\xd3\x13\x64\x25\x4c\xd9\xeb\xbf\xa7\x2a\xba\x33\x81\xb6\x9f\xf4\xbe\x67\xff\xbe\xcf\x77\xc3\xe2\x1f\xdf\x0c\x09\x13\xb7\x9f\x37\xbf\xa8\xc4\x23\x33\x6a\xa0\x68\xf0\x15\xfb\x76\x31\xd7\xff\xf6\xed\x82\xdd\x56\x7a\x93\xfc\x78\x8d\xcd\x73\x99\x16\x41\x85\xd7\xdc\xa3\x01\xa0\x50\xcd\x50\x7a\xd6\x8a\x23\x42\x3f\x65\xea\xd9\x8e\xad\x09\x65\x8c\x85\x8a\x43\x31\x63\xe6\x9b\x14\xa1\x9d\xcf\x29\xf2\xa6\x6d\x1c\x08\xf7\xf9\x7d\xba\x57\x7f\x68\xba\xbe\x8f\x50\x36\xa6\xaa\x6c\xc4\x83\xcd\x68\xbe\x5d\xdd\x58\x76\x6e\x32\x88\x43\xee\xed\x25\x07\xda\x57\x27\x2e\x09\xc2\x5f\x0f\x12\x62\x8b\x61\x3a\x1f\x09\x71\x40\x82\x18\xe4\x05\xf7\xcb\xa9\xe5\x85\x49\xfa\xeb\x4d\x5a\x08\x5a\x8e\xcb\xe2\xfa\x8a\x1d\xee\xd8\x76\x93\x1a\x6e\xb6\x4f\xd6\xba\x9d\x18\x8c\xf9\x4e\x7e\x20\xf6\x40\x63\x2c\x00\xc4\xb6\x87\x1d\x02\x4c\xa6\xd6\x89\x60\x32\x60\x32\xa3\x66\x32\x07\x9d\x1e\xad\xe8\x4c\xc3\xf1\x31\x3e\xcd\x1c\x8c\x06\x1a\xf8\x59\x6a\xe0\x60\x34\x5d\xce\x1b\x30\x1a\xd8\x5c\xa0\x7c\x94\xda\x3a\x08\xe5\x03\x8c\x66\x95\xd1\x1c\x68\x55\x68\x45\x6b\x26\x21\x19\x82\xd9\x40\x62\x6c\x31\x4c\xe7\x23\x31\x0e\x48\x30\x83\xfc\xe0\x7e\x39\xb5\xfc\x00\x66\x33\x36\xa1\x68\xf2\xcc\x86\x6e\x83\x2b\x93\x9b\x5e\x59\x8d\xbd\x36\x38\xf2\xe5\x93\xf4\x97\x3c\x2c\x5f\x41\xc8\xdd\x45\xe1\x45\x17\xcc\x4a\xf1\xb7\x3f\xb8\xc8\xdd\x4b\x2a\xe6\xb2\xc8\x19\x51\x49\x02\xe0\xc4\x30\x26\xa3\x34\x13\xbc\x62\x6e\xad\x0b\x69\xcf\x6d\x8c\x77\xbf\xd6\x6e\x53\xc3\xe5\x80\x43\x8d\x32\xa4\xbb\x2d\x7f\x7e\x12\x11\x6e\x01\xcc\x27\xf7\x59\x5d\x05\x88\x04\x4d\x13\x4e\xd0\xb4\x1d\x94\x6d\x4b\xce\xb4\xd1\x10\xd7\x01\x04\x44\x4a\x26\xa4\x64\x42\x4a\x26\xa4\x64\x9a\x5a\x4a\xa6\xed\x3b\x6f\x63\x3a\xa6\x9e\x5d\x2e\x8e\x96\x84\x69\x7b\xf3\xd7\x27\x60\x1a\x72\x1f\xec\x92\x76\x69\x7b\x1f\xac\x4f\xb9\xd4\x73\x1f\x20\xd1\x12\x12\x2d\x21\xd1\x12\x12\x2d\x21\xd1\x52\x6f\x89\x96\x5a\xec\xfe\x2b\x49\x96\x36\x5e\xf1\x77\x46\x1e\x97\xed\x5a\x33\xe1\x44\x51\xdb\xbb\x7b\x53\x92\xa8\xe3\xf6\x3b\x52\x43\xf5\x32\xa2\xab\x69\xa1\x7a\x1e\xd6\x93\x26\x83\xda\xde\x3d\x1b\x12\x41\xf5\xbd\x6d\x0e\x35\xfd\xd3\xf6\x4e\x6b\x20\x1b\x7b\xdb\xf3\xec\x5f\xff\xec\x00\x98\x35\xdc\xe1\xdd\x13\x37\x2b\xc3\xb2\x28\x3f\xf5\xd5\x9c\x7d\x97\x91\xdf\x35\x34\xbb\x2a\xc4\x7c\x52\x65\xac\x48\xa8\x35\x85\x42\x7f\xb9\xac\xe8\xbd\xa5\xb2\x0f\x46\x6e\xc0\x6d\xc0\x6d\xa3\xc4\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\x40\x6d\xa3\x44\x6d\xb8\xac\xa5\xfd\xe8\x00\x1d\x02\x1d\x02\x1d\x02\x1d\x02\x1d\x9e\x23\x3a\x8c\xd3\x9b\xbd\x40\xe0\x49\xe2\x6e\x6b\xc3\x1b\x50\x86\xc2\xb9\x4a\x16\x6e\x3a\x73\x66\xa0\xc4\x7a\x9a\x17\x88\xec\x36\x8e\xd3\xdb\xbb\x8f\x7f\xab\x3f\x89\x18\xe3\x1d\x71\x9a\xeb\xc4\xd1\xc3\xb4\xca\xd3\xaf\xca\x5f\x6c\x58\x30\x4f\x6f\xc7\xbd\x66\x2a\x7a\xad\xd9\xfd\xb6\x2f\x98\xdf\xde\xde\xde\x7d\xfc\xd2\xf4\x3c\x96\xcd\xee\xcb\x26\xef\x48\x8a\xd4\x9d\xc0\xea\xf9\xef\xa7\xb7\xbb\x2d\x20\xad\xac\x27\x4a\xab\xca\x89\x78\x92\x24\x98\xf5\xea\x90\x62\x2c\x9e\x89\xb5\x99\xe4\x2a\x75\xee\x8b\xf2\xde\xd5\xe6\x8b\xad\xcd\x86\x05\xa1\x8b\x32\x2b\x62\xf5\xb5\x5f\x54\x72\x1b\x86\xff\x87\x2f\x44\x1a\xf3\x81\xac\x13\xb8\x85\xd0\x82\x9c\xe9\xa9\xa7\x97\xdf\xea\xa8\x4d\x73\x15\x6e\x77\x00\xe9\x2e\xd4\x3a\x4e\x9b\xbd\x3d\x36\x2e\xac\xba\xd7\x07\x1c\x3e\xe0\xf0\x01\x87\x0f\x38\x7c\xc0\xe1\x03\x0e\x1f\x70\xf8\x80\xc3\xc7\x2e\xbb\x2d\x1c\x3e\xe0\xf0\x01\x87\x0f\x38\x7c\xc0\xe1\x03\x0e\x1f\x70\xf8\x38\x3b\x87\x0f\x38\x48\xc0\x41\x02\x0e\x12\xe3\x18\x51\x38\x48\x54\xbb\x07\x0e\x12\x03\x77\x90\x78\x7a\x7b\xe3\x73\xb1\xd0\x9a\x43\x76\x4a\x4a\xf5\x81\x2a\x71\x5f\x4d\xba\xb7\x16\x4e\xb9\xa7\xc1\xa4\xea\xbd\x3e\x3c\x26\xe5\x06\x0b\x28\xaa\xe1\xb1\x4e\x50\x54\xd3\xea\x01\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\x02\x81\xda\x61\xdb\x07\x81\x02\x81\x02\x81\x1a\xc7\x88\x82\x40\x55\xbb\x07\x04\x6a\x04\x04\x4a\xc4\xa1\x7a\xd1\xf2\xe3\x49\x11\x94\xab\x45\x3b\x06\xe5\x1e\x07\x84\xaa\xf7\xfb\x00\x21\x94\x1b\x2d\x50\xa8\x86\xc7\xba\xa1\x50\x4d\x0b\x08\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x0a\x18\x6a\x87\x6d\x1f\x18\x0a\x18\x0a\x18\x6a\x1c\x23\x0a\x0c\x55\xed\x1e\x60\xa8\xe1\x63\xa8\xc8\x11\x1c\x93\x46\x92\xfe\xfe\xcf\xb6\xeb\xfc\x8c\xb4\xd3\x2d\xa8\x32\x65\x32\x4f\x7f\xd5\xcb\x27\xe9\x4e\x17\xf9\x99\x12\xf2\xab\xfc\xf2\x62\x1c\xa3\xf2\x37\x17\xb6\xc6\x10\xcf\xea\x28\xc4\x8c\xe0\x83\xf2\x5f\xea\xc8\x26\x1f\xc2\xa6\xdf\x7a\xb9\x78\xf2\x03\x35\xf8\x33\x75\x61\xda\x92\xef\x6c\x06\x3b\xb0\xed\xc2\xb6\x0b\xdb\x2e\x6c\xbb\x53\xb3\xed\x6e\x38\x79\xb7\xd9\x77\x37\x4b\x71\x9b\x4f\xe0\x9d\xf6\xde\xdf\x75\xc7\x59\xad\xf6\x8a\xc9\xc8\xd7\x4d\xc9\xb5\xf6\x4a\xdb\xca\x1c\xf5\x41\xb0\x58\xf7\x56\xaa\x15\x40\x76\x1b\x31\x19\x99\x9d\x45\x25\x6c\x19\xb9\xcd\xc9\x67\x7e\xf2\xf2\x65\x19\x31\x5f\x26\xfa\x5c\x7c\x12\x6e\xc6\xeb\xed\x93\x6c\x10\x76\xc9\xe7\x73\xc3\x76\x30\x9b\x2f\x13\x5a\x65\x71\xa2\x3c\x91\x92\xb1\xc0\x8a\x8f\x76\x96\xcd\xd8\x6f\xf4\x45\x1a\x2d\x9a\x3b\x3f\xb0\x6b\x76\x1b\x86\x3f\x90\x29\xc0\xd7\xbb\xf4\x32\xd2\x03\xaf\x05\xb1\x7c\x4a\xda\xe2\x84\xbf\xc7\x40\x99\xb6\x9c\x66\x98\x8e\x66\x90\x6f\xd7\x15\xeb\x8d\xf2\x47\xeb\x91\xaf\x65\xcd\x42\x6a\xad\x9e\x04\x7e\xf6\x20\xe6\xc6\x73\xc0\x19\x6f\x0a\x51\xc2\xee\x5e\x34\x75\x96\xc2\x1c\x0e\x0f\x5a\xa6\x8e\xae\x23\x11\x70\x9a\xa0\x56\x37\xd0\x6a\x4c\x7e\x82\x1a\x43\xae\x5b\x1a\x56\x66\x94\x8b\x85\xf0\x25\xcf\x44\xf8\x52\x20\xfd\xe2\xc8\x95\xe1\x95\x95\xfd\xa9\xd3\x59\x90\x70\x8f\x56\x8d\x54\xbe\x13\x08\x8a\x43\x9b\xfc\x25\xf2\x59\xba\x4c\x75\x25\xcb\xc3\xc5\xf5\x9b\x79\x83\xec\x47\xe6\x66\x0f\xcc\x8b\x98\x99\x7a\x2e\x04\x8f\x1a\xeb\xb8\xc7\x30\x53\x9d\xef\xa8\xca\x4d\xfa\xd4\x16\x8d\x6a\x28\xd3\x7f\x17\x16\xd3\xae\x5f\xd6\xf3\x98\xa3\x4d\x7f\x90\x19\x90\x19\x90\x19\x90\x19\x90\x99\xde\xc8\x4c\xcb\xb3\x60\x85\xce\x1c\xef\x58\xfc\x20\xe2\x44\x68\xa1\xc4\xff\x81\xc5\xa1\xe0\xa9\x70\x5b\xd0\x5d\xa2\x62\x1e\x90\x74\x74\xa7\x42\xe9\xbd\x54\xfc\x00\xf3\x49\xe7\xbb\x02\xf4\xb4\x7b\x3b\xfb\xcb\x8c\xdd\x9b\xfd\xcc\x88\x2e\xb1\x88\xf4\x62\x29\xce\x54\xc1\x54\x12\x3f\xf2\x28\xf7\x4b\x4c\x96\xe2\x66\xce\xc3\x5c\x57\xfe\x76\x61\x7e\xfe\x76\xc1\xe6\x32\xe2\xa1\xfc\x77\x7e\x90\x3c\x08\xc6\x7d\x32\xd7\xab\x1b\x63\xca\xf4\x0b\x35\xcc\x14\x7f\x99\x16\x2f\x19\xfd\x74\xc6\x7e\x96\xb4\x39\x96\xaa\xae\x92\xd5\xb6\x15\x70\x26\x33\xea\x31\xe9\x28\x2a\x7b\xdc\x67\x40\x4d\x0b\x3e\xe4\x6d\x5f\x2b\xf2\x34\x19\x46\xbb\x55\xcc\xa8\xe9\x7a\xc1\x3e\xaa\x67\x16\xf0\xe4\x81\x07\x15\x53\xa5\x53\x6a\x44\x32\x57\xc9\x42\x8f\x49\x63\x7f\x7d\xae\xb5\x68\x7d\x77\x91\xd0\x9b\x4b\xac\xb1\xe9\x5b\xa9\xa5\x49\x4f\xfa\x85\x2a\x4c\xb2\x02\x19\x27\xdc\x18\xa7\x94\x45\x8b\x7e\xcd\xa5\x81\x59\x69\x30\xf3\x73\xc4\xd1\x11\xe7\x63\x5b\xfd\xd8\x8c\xdd\x7a\x9e\x88\x33\x3a\x9b\xca\x9a\xdd\xa5\x69\xc3\x25\xbb\xb6\x13\xb0\x3a\x41\xd3\x1f\xd9\xe5\x4f\xdc\xfb\x1e\x24\x6a\x19\xf9\xfa\x29\xf2\x57\xa5\x87\x6a\x1d\x67\x44\x48\x2b\x1f\x57\x0b\xc9\x5b\xf0\xe0\x4a\xfa\x91\x5d\xfe\xa2\x12\x51\x2a\x96\x79\x3c\xf5\xb8\xaf\x5b\x6f\xfb\xc7\xb8\x33\x53\x79\xa9\x51\x3d\x57\x0a\x9c\xbb\x32\xf6\x99\x90\x71\x7d\xba\x9f\x46\xe2\x9c\x30\x46\x6d\x37\x0e\x9b\x50\xea\xa9\x46\x01\x50\xb5\xb7\xf1\x5d\x05\xab\xc7\xb3\x6d\x9c\x12\xb1\xb6\xeb\xac\x0d\x98\xf5\x50\xf9\xa7\x91\xdb\x21\x3f\xdc\x8e\x98\xee\x3e\xe3\xd9\xb2\x2d\x9f\x9b\x54\xfc\x95\x39\x8b\x0b\x39\xa9\xdf\x58\xac\xce\x92\x53\x8d\x23\x5b\x5d\xd7\x60\x1b\x51\x66\xe7\x13\x65\xd6\xee\x64\xd9\x16\x69\x76\x3c\x15\x0c\x7e\x09\xf0\x4b\x80\x5f\x02\xfc\x12\xe0\x97\xd0\xb4\xf9\x02\x78\x8f\xa8\x47\xc0\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xa7\xc5\x40\x81\x25\x80\x25\x80\x25\x80\x25\x7a\xc7\x12\x3b\xa0\xfb\x81\xc6\x81\xb5\xeb\xc2\xd5\x58\xb0\x43\x2d\x6e\x83\x02\x3a\x6b\x5f\x38\xd3\xfb\xfa\x56\xcd\xf8\xb8\xb7\xaf\xe1\xb1\x61\xb1\xa2\x3d\xee\xef\xb3\xb2\xa2\x5e\xe5\xb4\x8f\xe8\x31\x61\xa9\xa7\x62\x71\xc5\xd2\xa5\xf7\xa8\x37\x1e\xda\xd8\x05\x5f\x98\x5d\x29\x4e\x14\xc9\xa6\x4d\xb1\xa4\x31\xcf\x1e\x9b\x43\x49\x5d\x3c\x67\xf5\x67\x2d\x68\xc9\x44\xf8\x76\x7b\xa8\xfc\xd6\x6f\xbc\xf2\x58\x2e\x33\xb0\x7f\xfd\xb3\x18\x64\x95\x76\x4c\x04\x8d\x9e\xc6\xf8\x6e\xf0\xcf\xbc\xd5\x0f\xfe\xdb\x2f\xae\x75\xc3\x64\xea\x6b\x53\xec\x24\xd0\x15\xc1\x56\xe5\x51\x1f\x6c\xb0\x15\x19\x65\x3e\xf1\x88\x07\x22\x31\xe6\x45\xb3\x6b\xa6\xa9\xf2\x24\xe9\xcb\xce\x90\xc7\xc9\x1e\xab\x12\x26\xa2\x4c\x0b\xb0\xb9\x01\x61\xc1\xbf\xeb\x5e\xcc\x1e\x45\x2a\x72\x29\xb0\x1c\x52\x94\x87\x1e\x91\x14\x4c\x46\x3b\x95\xb0\xb7\xef\xfe\xaa\x9f\x4d\xb8\x47\x94\x2e\x54\x51\x60\x64\x3e\x32\xac\x79\x2a\xca\xb8\x8c\xcc\x56\x45\x86\xab\xe2\x59\x22\x17\x96\x21\xb2\x87\x17\xa7\xd6\x04\x2a\xe4\x51\x30\x53\x49\x70\x13\x7f\x0f\x6e\x96\x91\xf4\x94\x2f\x6e\xfe\xf4\x31\xbd\xd3\xa5\xec\x6d\x09\xb7\x9d\xd3\xe5\xf0\x0c\x4a\x48\x1c\xad\xec\xd6\x56\x6e\x7b\xd7\x42\x6e\x7b\x6f\xac\x7a\x03\xab\xf7\xbb\xad\xf5\x36\x2e\xc4\x03\xab\xf8\x94\x04\x65\x12\x4c\x06\x2d\x28\xbf\x62\x1d\xdc\x3d\x62\x7e\xff\xcf\x91\xae\x20\xd9\x51\x28\x2b\x5f\x3b\x32\x0c\xa1\x6c\x24\x97\x8d\x40\x06\x2b\x0f\xf2\x60\x65\x30\x84\x77\x9f\x51\x78\x37\xe2\xd8\x10\xc7\x86\x38\x36\xc4\xb1\x41\x7d\x5c\xb7\x8a\x06\x19\x34\x72\x1a\x65\x0c\x31\x2f\x6b\x63\x5e\x86\xad\x94\x39\xc3\x76\xe7\x91\x2e\x89\xe0\x7e\x4d\xe0\xda\x49\x99\xd2\xef\xef\xa8\x4a\x61\x67\x81\x9d\xc4\xfd\xb8\x66\x51\x06\x62\xe0\x66\x92\x43\x78\x22\x99\xc4\xad\x86\xba\xad\x1e\x6d\x98\xe1\x50\x70\x21\x38\xe9\xe8\x38\x29\xb9\x5b\xb4\x3a\x50\xea\xdb\xf3\x35\xbd\xfb\xe7\xcd\x3b\xf5\x42\x24\x81\x68\xf5\x64\x9a\x25\x3c\x13\x81\xf4\xae\xdb\xbf\xa3\xff\x7e\xb1\x4f\xd2\x99\xd0\xe6\xc0\x8b\x79\x92\x49\x8a\x86\x32\xae\x41\x87\x1c\x7e\xf4\xe9\x21\x19\x12\xfb\xa2\xbb\x1b\x04\xc7\xbb\xaa\xc7\x0e\x83\x79\x71\xe2\xe6\xc5\xf3\x41\xbc\xb5\x38\x83\x7c\x71\x99\x58\x18\xbd\xf7\x14\xf1\xd5\xaf\xd7\xec\x4b\x6f\xc8\xb8\x62\x02\x60\x79\x48\x6f\x46\x2a\xba\x36\x6f\xd3\x13\x64\xdf\x4c\xd9\xeb\xbf\xa7\x2a\xba\x33\x61\xc6\x9f\xf4\x0e\x68\xff\xbe\xcf\xf7\xc5\xe2\x1f\xdf\x0c\x89\x3d\xb7\x9f\x37\xbf\xa8\xc4\x23\x03\x70\xa0\x68\xf0\x15\xfb\x76\x31\xd7\xff\xf6\xed\x82\xdd\x56\x7a\x93\xbc\x98\x8d\xb5\x76\x99\x16\x21\x95\xd7\xdc\xa3\x01\xa0\x40\xd5\x50\x7a\xd6\xfe\x24\x42\x3f\x65\xea\xd9\x8e\xad\x09\xe4\x8c\x85\x8a\x43\x31\x63\xe6\x9b\x14\x9f\x9e\xcf\x29\xf2\x25\x6e\x1c\x08\xf7\xf9\x7d\xba\x57\x7f\x68\xba\x9e\x9f\xd0\x9d\x46\xa4\x3b\xc5\x35\x0f\xdc\x41\x6b\x4f\xcb\xce\xed\x19\x71\xc8\xbd\x83\xa4\x3a\x5b\xc4\x39\xc8\x75\xf0\xda\x83\x48\x77\x56\x22\xdd\x80\x24\x27\x1c\xf0\xee\x17\x78\xed\x9d\x87\x60\xb2\x1c\xb8\x51\xf7\x15\xdb\xd5\xf7\xcd\xe7\x62\xa1\x97\x48\x76\x9a\x74\x5b\x1f\xe8\xf3\xf7\x55\x63\xf9\x8e\x59\xb6\x1a\xcb\x80\xbf\x1b\x2e\xb1\xc2\x25\x56\xb8\xc4\x0a\x97\x58\xe1\x12\xab\x93\xa8\x24\xd0\x1c\x5b\x0f\x14\x92\x6b\x0d\xe9\xae\x31\x78\x5f\x9f\x91\xf7\x35\x2e\x96\xc3\xc5\x72\xb8\x58\x0e\x17\xcb\xe1\x62\x39\x5c\x2c\x87\x8b\xe5\x10\x94\x84\xa0\x24\x04\x25\x21\x28\xa9\x3e\x23\x91\x5c\x0b\xb7\x58\xe2\x16\x4b\xdc\x62\x39\xf2\x5b\x2c\x1b\x29\x1d\x80\x3d\x02\x0d\xeb\x2f\x0c\x22\xb9\x56\x13\xd6\x1d\x70\x4e\xad\x36\x24\xbb\x29\x95\xd6\x41\xf4\x1a\x19\xb4\x90\x41\xcb\xfc\x84\x0c\x5a\x70\x3e\x80\xf3\x01\x9c\x0f\xe0\x7c\x00\xe7\x03\x50\x6d\x80\xce\xed\x3d\x02\xd0\x09\xd0\x09\xd0\x09\xd0\x09\xd0\x79\xc6\xa0\x13\xec\x01\xec\x01\xec\x01\xec\x01\x19\xb4\x90\x41\x0b\x19\xb4\xdc\x2f\xad\xe3\x22\x9d\xf5\x1e\x89\xb3\x1a\x1e\x1b\x04\x07\x42\xbe\xac\x73\xb8\x07\xae\xbf\x7c\x59\x6d\xc0\x5e\x73\x9a\xac\x13\x04\xa6\xf6\x7e\xcf\x46\xd1\xa6\x76\x9b\x1d\x82\xa4\x26\x10\x24\x85\xeb\x35\x70\xbd\x46\x43\x65\x06\x2c\x8e\x8d\xe3\x56\x8d\x3d\xaa\x7b\xd2\x14\x58\x3b\xd7\x77\x4a\x92\x6e\xff\x99\xaf\xf6\x94\x74\x5f\xb1\xfd\x2f\xfd\x38\x76\x9e\xab\x5d\xef\xfb\xc0\x2d\x1f\x0d\xad\x81\x10\x35\x46\x21\x0a\x71\xd5\x67\x14\x57\x8d\x00\x32\x04\x90\x21\x80\x0c\x01\x64\xd0\xff\xd6\xad\xa2\x41\x46\x6b\x20\xab\xd5\x60\xd4\xad\x63\x64\xb5\x1a\x5c\x88\x49\x43\x32\xab\x36\x1a\x53\x53\x0e\xab\x66\x7d\x09\xdb\x07\xec\x1b\xa7\xca\x58\x75\x02\x90\x57\x4e\x54\xb5\xe6\xf3\xc8\x4f\xd5\xdc\x66\x70\x49\xe4\xa7\xea\x23\x3f\x55\x9b\xf3\xac\x31\x2d\xd5\x84\x68\x2a\xb2\x51\xc1\x2c\x78\x7e\x6c\x15\xd9\xa8\xba\x9c\x37\xc8\x46\x05\x6b\x0a\xd4\xa1\xd5\x6e\x1c\x51\x12\xaa\x83\x15\xa2\xe3\xe4\x9e\x6a\x67\x81\x68\x4c\x39\x35\x21\x99\x0d\x1e\x70\x90\xd2\xce\x41\x4a\x1b\x90\x30\x84\x33\xdb\xfd\x02\x0f\x38\x5b\xf2\xa4\x44\x8c\xbe\xd3\x49\x9d\xce\xa1\xec\x26\x35\xe0\xaa\xe4\x57\xd6\x0f\x2c\x31\xdf\xc9\xcf\xa6\x0e\xb1\x89\x25\x6f\xd8\x79\xb0\x94\x01\x4f\x00\x4f\x76\x6b\x33\xe0\x09\xe0\x49\x37\xf0\xe4\x90\xf3\x6d\x33\x46\x69\x38\xe0\x46\xa9\x98\x03\xa6\x40\x4d\x3f\x3f\x35\x1d\x30\xa5\xcb\x79\x03\x98\x02\xc3\x0c\xd4\xa3\xd5\x6e\x04\x4c\x39\x1c\xa6\x1c\x66\xa1\xd8\x8c\x55\xa6\x22\xc3\x01\xae\x40\x6a\x3b\x07\xa9\x6d\x40\xc2\x11\xce\x70\xf7\x0b\xe0\x8a\x2d\x79\x52\x22\xc7\x74\xe0\x8a\x88\x43\xf5\xb2\xa0\x88\xc7\xe3\xc4\xe9\x97\x22\x19\xd5\x9c\x7d\x70\xdf\xdf\x20\xa9\x94\x83\xf6\xdf\xbb\xd7\x4b\x22\x4b\x63\x21\x88\xdf\x47\xa2\x0c\x24\xca\x40\xa2\x0c\x24\xca\x40\xa2\x8c\x93\xa8\x1e\xd0\x10\x5b\x0f\xd4\x29\x35\x44\xe4\x33\xc1\x6d\x32\x67\x7c\x9b\x0c\x92\xd7\x20\x79\x0d\x92\xd7\x20\x79\x0d\x92\xd7\x20\x79\x0d\x92\xd7\xe0\x92\x35\x5c\xb2\x86\x4b\xd6\x70\xc9\x5a\x7d\x46\x1e\x35\x47\x13\x32\x65\x0d\x61\x14\x90\x29\x0b\x99\xb2\xa6\x96\x29\xab\x91\xd3\x01\xcc\xe3\xe2\xc4\xfa\x0b\x1b\x2f\x4e\x2c\xe4\xa4\x9e\x29\x78\x13\xd7\x3d\xe9\x1d\x8a\xc6\x22\x96\x58\x2d\x3a\x17\xdd\xd5\x9c\xe9\x2a\xb7\x83\xd9\xba\x88\x15\x9f\xbb\x83\x00\x76\xad\x8e\x24\x9e\x51\xa2\xbb\x9f\x94\xfa\xbe\xe0\xc9\xf7\xb4\xf0\xd7\x36\x15\x27\x8b\x4c\x6a\xed\x46\x2f\xb1\x56\x2e\x7e\xfa\xfc\xf9\x1f\x9f\x6e\xbf\xfc\xe3\xdb\x45\x61\x13\x31\xe2\x97\x22\x19\x56\x2e\xe2\x50\x90\xf1\xe3\xc1\x95\xaa\x05\x0e\x19\x44\xc6\x26\xac\xa5\xe2\x90\x07\x24\x8f\x16\x8f\x68\xfd\xb3\xac\x3b\x1a\x43\xc3\x65\xca\x7c\x99\x7a\x89\xd0\x75\x2e\x68\x52\x89\x82\x58\x83\x47\xb5\x20\x67\x82\xd0\xba\xb5\xd6\xe3\x73\x49\x57\xef\x85\xc9\x13\x0f\xaf\x58\xa4\x0c\xe8\x25\x0d\xd9\x59\x4d\xea\x86\x37\x42\x8d\x2f\x2c\x6f\xb3\xb5\x50\x39\xfd\x38\x15\x29\xa5\xe8\x73\xa6\x67\x6b\x48\xb1\x8c\xab\xa2\xee\xe9\x5f\xa9\x0b\x7c\xc7\x4e\xe7\x82\x67\x5a\x4b\x0f\x78\x26\x58\x6d\x20\x6c\x49\x22\xd2\x62\xb8\x31\x48\xc4\xb2\x80\xba\x4d\xc5\xee\x71\x82\x34\x4c\x81\x13\xa9\x5a\xf0\x3f\x80\xff\x01\xfc\x0f\xe0\x7f\x00\xff\x83\xa6\xcd\x17\x60\x7b\x44\x3d\x02\xd6\x09\xd6\x09\xd6\x09\xd6\x09\xd6\x09\xd6\x39\x2d\xd6\x09\xfc\x00\xfc\x00\xfc\x00\xfc\xd0\x3b\x7e\xd8\x01\xd1\x1b\x65\x4e\x25\x79\xc0\xa5\x1e\x7e\x83\x94\xf5\x73\x0f\x74\x88\x99\x41\x35\x08\xdc\x4a\x27\xd9\xa3\x58\x98\x63\x2b\xcd\x12\xc1\x17\xd4\x3d\xbe\x7f\x65\x0f\x86\x2b\xfb\xec\x42\x3d\x91\xec\x53\x52\xef\xd8\x3d\x89\x2b\x2f\xf5\xa9\xbe\x4f\x17\x3e\x6f\x9a\x60\xe3\xbf\x15\x61\xed\x0b\xfa\x63\x3f\x9a\x8e\xff\xaf\xd5\x3e\x68\x53\x76\xf5\xed\x61\x13\xa2\x22\x16\xd2\x99\xef\x7f\x95\xe9\x59\x06\x44\xea\x6d\x6c\xe0\x2c\x68\x8f\x4b\xea\x70\xab\xdb\xe8\x6e\x75\x53\x69\xc7\xc4\xcf\xe8\x65\x8c\xb7\x83\x7b\xe6\xe9\x6e\xf1\xde\x50\x6f\xd3\x28\x1a\xd5\x6e\xc3\x43\xb0\xd4\x04\x82\xa5\x70\x9d\x06\xae\xd3\x68\xa8\xcc\x90\x65\xb2\x91\xdc\xa7\xb1\x47\x7d\x4f\x91\x4f\xf6\x80\x0a\x4f\x49\xe0\x25\x41\x63\x90\x02\xef\x2b\x76\xc0\x1d\x20\xf6\x86\xf5\x23\x5d\x05\xd2\x52\xa8\x2a\x5f\xff\x81\x4b\x3f\x9a\x5a\x03\x59\x6a\x8c\xb2\x14\xc2\xac\xcf\x28\xcc\x1a\xf1\x64\x88\x27\x43\x3c\x19\xe2\xc9\xa0\x06\xae\x5b\x45\x83\x0c\xde\x38\x8d\x92\x85\xd8\x93\xb5\xb1\x27\xc3\x54\xba\x9c\x01\xba\x9f\x44\x54\x55\x41\xab\x95\xd2\xd4\x98\x7f\xaa\x59\x65\xc2\x0e\x02\x3b\xc7\xe9\x72\x4f\x9d\x80\xeb\x55\x92\x4f\xad\xf9\x3e\xb2\x4f\x35\xb7\x19\x9c\x12\xd9\xa7\xba\xc9\x3e\xb5\xc7\xa1\xd6\x9c\x74\x6a\x42\x74\x15\xf9\xa6\x60\x1e\x3c\x3f\xd4\x8a\x7c\x53\x5d\xce\x1b\xe4\x9b\x82\x55\x05\x3a\x51\x43\x3f\x8e\x29\xe1\xd4\xc1\x5a\x51\x5f\x19\xa7\xf6\x32\x45\x34\x27\x9a\x9a\x90\xdc\x06\xaf\x38\x88\x6a\x67\x21\xaa\x0d\x48\x22\xc2\xc1\xed\x7e\x81\x57\x9c\x2b\x7a\x52\x82\x46\xef\x69\xa6\x4e\xe8\x63\x76\x93\x7a\x3c\x2c\xfb\x95\xf5\xc4\x4e\xe8\x33\x0d\x19\x32\x0f\x87\x28\xf7\xd4\x00\x6c\x3e\x5b\x17\xf3\x32\x53\x7a\x14\x64\x14\x10\xc1\xa4\x6e\x3b\xc3\xe5\xdc\x15\x4b\x29\xba\xb3\x79\x55\xd7\xe7\xe5\x11\x69\x4a\xc3\xa7\x01\x52\x9a\xdb\x0c\x90\x02\x90\xd2\x0d\x48\x39\xe4\x84\xdb\x42\x54\x56\x8f\xb8\x51\xaa\xe7\xc0\x2a\xd0\xd5\xcf\x4f\x57\x07\x56\xe9\x72\xde\x00\xab\xc0\x3a\x03\x05\xa9\x57\x05\xa9\x3b\xb0\xd2\xab\x8a\xd4\x17\x5a\x39\xcc\x52\xb1\x85\xb1\x4c\x44\x92\x3b\x64\xad\x40\x7c\x83\xf8\x36\x22\xf1\x6d\x40\x52\x12\x0e\x73\xf7\x4b\xaf\x87\xf9\x89\x60\x0b\xc4\x8f\x4e\x71\x4b\x0f\xc2\xc7\x2b\xd6\x05\x70\x31\xa1\x43\xfd\x13\x17\xfa\x4e\x3f\xc8\xc5\x34\x01\xbb\x10\x00\x2a\xa2\x57\x10\xbd\x02\xe8\x02\xe8\x72\x2a\xe8\x72\xc8\x21\xb7\x8d\xba\xac\x9e\x72\xa3\x54\xd6\x81\x5d\xa0\xb7\x9f\x9f\xde\x0e\xec\xd2\xe5\xbc\x01\x76\x81\xa5\x06\x3a\x52\x43\x3f\x0e\x0f\xba\x8c\x30\x9a\xe5\x40\x53\xc5\x36\xe6\x32\x11\x39\x0e\xd1\x2d\x10\xdd\xce\x42\x74\x1b\x90\x84\x84\x83\xdc\xfd\x82\xe8\x16\x57\xf4\xa4\x04\x8f\xe9\x44\xb7\x68\x49\x40\x7a\x3c\x15\x59\x7a\xa4\xab\x93\x4b\x57\x4b\xaa\x39\xfb\x62\xbe\x7f\x2f\xda\x5e\xa3\xfc\xde\xbd\x5e\xc8\x2d\xcd\x85\xe0\x42\x65\x64\x31\x47\x16\x73\x64\x31\x47\x16\x73\x64\x31\x3f\x89\xf6\x01\x25\xb1\xf5\x40\x9d\x52\x49\x44\xb2\x79\x5c\xef\x7f\xc6\xd7\xfb\x1f\x34\xfd\x43\xfe\x20\xc2\x4e\xa7\x3f\x95\x78\xda\xe9\xef\xd2\xc0\x73\xb6\xe0\x7f\xc8\xc5\x72\xc1\xa2\xe5\xe2\x41\x4f\x92\xb9\xdb\x4c\x53\x9b\xb3\x9f\xb2\xef\x93\xd8\xe6\x32\x0f\xd3\x94\x25\x31\xda\xe4\xdc\xa7\x9b\xec\x57\x65\x13\x2d\x7c\xeb\x7f\xfb\x57\x7e\x4a\xfd\x2b\xbf\x4c\x3f\x2a\x7a\x3f\xbf\xe7\xde\x4c\x54\x33\x3b\xe9\xfc\xf0\x78\x94\x4f\xe7\x42\x12\x4a\xf9\x42\xaf\x32\x99\x49\x27\x32\x9b\x5a\x6a\xe1\x5e\x14\xb2\x8e\xfe\xb4\x69\x8b\xc9\x7d\x7f\x2f\xb2\xcc\x24\x1d\x37\x6d\x37\xa2\xb2\x69\x9b\x78\x26\xa1\x81\x47\xe5\x13\x42\x8b\x29\x0b\xb5\x8c\xa8\x18\xd3\xca\xd7\xcb\x58\x7f\xcc\x2c\x68\xfd\x2f\x6f\x72\xd9\x44\x3c\x51\x5a\x72\x3a\x9c\xf2\xb7\xcb\x99\xcf\xe7\x32\xcc\x84\x96\x50\x29\xd7\x7c\xe4\x3b\x05\xc2\xee\x2e\x15\x1d\xc2\x9c\xa7\x9e\xf3\x23\xaa\x25\xe6\xa7\x5b\xf7\x6d\xe2\x69\x27\x8b\x6f\x4a\xc4\x7f\x4f\x23\x62\x24\x19\xef\x51\xa9\x94\xb2\xeb\xea\x72\xac\x04\x64\xc7\x42\x77\x0b\x4f\x82\xe5\x82\xda\x12\xf9\xf9\x69\x4b\x9d\xa4\xdb\x66\xeb\xe3\x8a\x2e\x7a\xf7\xe3\x9c\xb9\x29\x55\xec\x4a\xb9\x76\x52\x6b\x80\x4c\x99\x58\xc4\xd9\x4b\x55\x8d\xe2\xa9\x56\xbd\xcd\xc8\x47\x6a\x63\x83\x36\x89\x72\x72\x5e\x13\xe4\x8c\xec\xe7\xe6\x65\xb0\xe4\x09\x8f\x32\x91\x0b\x29\xc5\x4e\x5f\xa4\x88\x37\xf2\xa0\xc9\x91\xef\xea\xee\xc4\x52\xa7\xb0\x65\x8a\xf2\xfb\x9b\x59\xa5\x1f\x0e\x45\xb1\x42\x9c\x8e\x90\x4f\xb8\xeb\xdc\xde\x7a\xa5\x9b\x97\x7f\x72\x37\x39\x39\x17\x91\xb5\x7c\x9e\xa6\x4b\xe1\x37\x0a\xcb\x5a\xae\x4c\x97\x0f\xa9\x7e\x38\xca\x5c\x0b\xfc\x12\x8c\xa5\x1e\xd4\x63\xa5\x16\x22\x93\x0b\xa1\xdb\x3e\x17\x49\x62\x52\x95\xf3\x9a\x3e\x54\xa8\x07\x7a\x44\x4d\xea\xff\x5c\xd6\xcf\x15\x9c\xdc\x98\x6c\x7a\xcd\x34\x99\x16\x26\xa9\x32\x2c\x5d\xf0\x30\x14\x89\xc9\xf8\x6f\xf2\x62\x33\xbd\x89\xb2\x90\x27\x41\x3e\xd0\xb4\xe2\x4d\xf1\xba\xd1\x5a\x63\x12\x34\xf1\x62\x95\xa6\x52\x4f\x38\xdb\x6d\x34\xe1\xca\xeb\xcb\xf8\xfd\xf8\xfa\x48\x37\xc3\x41\xdf\x11\xbe\x19\x0f\x52\x9e\xad\x78\x6e\xe7\xb0\x3d\x0b\xa9\xd6\xcf\x3c\xcd\x65\x58\x66\x67\x84\xee\x93\x55\xfd\xc4\x68\xed\x3c\xd5\x03\xec\x2d\x43\x93\xee\xa5\x98\x36\x7b\x9d\x05\xba\xa3\x4e\x74\x2c\x22\xeb\x0d\xb2\xde\x20\xeb\x0d\xb2\xde\x1c\x45\xe2\xac\x9b\x49\x52\x91\xe5\xa7\x4c\x96\x70\xa9\x77\x89\x88\x3d\xeb\xce\xc8\x9f\xcc\xb7\x6c\xfd\x58\x7e\xf0\xb9\xa9\x97\xe4\x3b\x80\x16\x6f\x84\x63\x88\x25\x3e\x26\xd5\x8d\xaf\xbc\xf4\x86\x0e\x36\x2d\x4e\xdd\xd0\xd1\x74\xcd\x63\x79\xc3\x63\x79\xed\xa9\x48\xcf\x95\xf4\xe6\x4f\x6e\x5a\xb9\x0f\xce\xe9\x0c\xce\xb8\x0c\x53\x92\x1f\xca\xb2\x3f\x39\x1b\xed\x31\x0e\xb5\x0e\x18\xc4\x28\x7c\x22\x49\xc9\x49\x93\x29\x6d\x15\xf5\x91\xd2\x5a\x42\x1c\x87\xd2\xc8\x06\x4e\xc0\x31\x2e\x5d\x32\x65\x8f\x32\x78\x24\x4f\x2f\x4f\x2d\x16\x7a\xea\xfa\x66\x52\x37\x7e\xcb\x5a\xe4\x75\x07\x17\x25\x69\x79\x2b\x11\x4d\x1f\xd6\xcf\x8e\x73\x7c\x3f\xd5\x3c\x77\x8e\x38\xc8\x5f\xe5\x42\x68\xc9\x33\x37\x13\xe8\x8e\xbe\x31\x42\xb1\xd1\xdd\x48\xfa\x23\xc9\x23\x35\x7b\x58\x6e\x08\xc9\x15\x0e\x1e\x86\x57\x2c\x11\x01\x4f\x7c\x82\xfe\x5a\x5c\x8b\x5e\x18\xf7\x32\xf9\x24\xb3\x17\x7d\x2a\xc8\x28\xff\xaf\x7d\x36\xa5\xcc\x54\xb1\x0f\xb3\x40\x23\xa7\x03\x9b\x47\x26\xab\xfa\x0b\x1b\x33\x59\x15\x72\x52\xbf\x18\xbc\x91\xeb\x9e\x34\xa7\x95\xb1\x88\x25\x56\x8b\xce\x45\x77\x35\x67\xba\xca\xed\x60\xb6\x2e\xa2\xee\x78\x77\x18\xc0\xae\xd5\x91\xc4\xb3\xdf\x75\x05\x7f\x52\xea\xfb\x82\x27\xdf\xd3\xc2\x6f\xdb\x54\x9c\x2c\x32\xa9\xb5\x1b\xbd\xc4\x5a\xb9\xf8\xe9\xf3\xe7\x7f\x7c\xba\xfd\xf2\x8f\x6f\x17\x85\x4d\xc4\x88\x5f\x8a\x64\x58\xb9\x88\x43\x41\xc6\x8f\x07\x57\xaa\x16\x38\x64\x10\x19\x9b\xb0\x96\x8a\x43\x1e\x90\x3c\x5a\x3c\xa2\xf5\xcf\xb2\xee\x68\x0c\x0d\x97\x29\xf3\x65\xea\x25\x42\xd7\xb9\xa0\x49\x25\x0a\x62\x0d\x1e\xd5\x82\x9c\x09\x42\xeb\xd6\x5a\x8f\xcf\x25\x5d\xbd\x17\x26\x4f\x3c\xbc\x62\x91\x32\xa0\x97\x34\x64\x67\x35\xa9\x1b\xde\x08\x35\xbe\xb0\xbc\xcd\xd6\x42\xe5\xf4\xe3\x54\xa4\x29\x55\x2c\x37\x3d\x5b\x43\x8a\x65\x5c\x15\x75\x4f\xff\x4a\x5d\xe0\x3b\x76\x3a\x17\x3c\xd3\x5a\x7a\xc0\x33\xc1\x6a\x03\x61\x4b\x12\x91\x16\xc3\x8d\x41\x22\x96\x05\xd4\x6d\x2a\x76\x8f\x13\xa4\x61\x0a\x9c\x48\xd5\x82\xff\x01\xfc\x0f\xe0\x7f\x00\xff\x03\xf8\x1f\x34\x6d\xbe\x00\xdb\x23\xea\x11\xb0\x4e\xb0\x4e\xb0\x4e\xb0\x4e\xb0\x4e\xb0\xce\x69\xb1\x4e\xe0\x07\xe0\x07\xe0\x07\xe0\x87\xde\xf1\xc3\x0e\x88\xde\x28\x73\x2a\xc9\x63\x2e\xf5\xf0\x1b\xa4\xac\x9f\x7b\xa0\x43\xcc\x0c\xaa\x41\xe0\x56\x3a\xc9\x1e\xc5\xc2\x1c\x5b\x69\x96\x08\xbe\xa0\xee\xf1\xfd\x2b\x7b\x30\x5c\xd9\x67\x17\xea\x89\x64\x9f\x92\x7a\xc7\xee\x49\x5c\x79\xa9\x4f\xf5\x7d\xba\xf0\x79\xd3\x04\x1b\xff\xed\x08\x6b\x5f\xd0\x1f\xfb\xd1\x74\xfc\x7f\xad\xf6\x41\x9b\xb2\xab\x6f\x0f\x9b\x10\xb9\x68\xc8\xc2\x7c\xff\xab\x4c\xcf\x32\x22\x52\x6f\x63\x03\x67\x41\x7b\xdc\x57\x87\xfb\xdd\x46\x77\xbf\x9b\x4a\x3b\x26\x7e\x46\x2f\x63\xbc\x1d\xdc\x33\x4f\x77\x8b\xf7\x06\x7a\xa3\x46\xa9\x51\xed\x36\x3c\x04\x4b\x4d\x20\x58\x0a\x37\x6a\xe0\x46\x8d\x86\xca\x0c\x59\x26\x1b\xc7\x8d\x1a\xfb\xd4\xf7\xdd\xd6\xfa\x1a\x97\xdf\x81\x54\x78\x4a\x02\x2f\x09\x1a\x83\x14\x78\x5f\xb1\x03\xee\x00\xb1\x17\xae\x1f\xe9\x2a\x90\x96\x42\x55\xf9\xfa\x0f\x5c\xfa\xd1\xd4\x1a\xc8\x52\x63\x94\xa5\x10\x66\x7d\x46\x61\xd6\x88\x27\x43\x3c\x19\xe2\xc9\x10\x4f\x06\x35\x70\xdd\x2a\x1a\x64\xf0\xc6\x69\x94\x2c\xc4\x9e\xac\x8d\x3d\x19\xa6\xd2\xe5\x0c\xd0\xfd\xe4\xa5\xaa\x0a\x5a\xad\x94\xa6\xa6\x6c\x54\x6b\x54\x26\xec\x20\xb0\x73\x9c\x2c\x0f\xd5\x29\xb8\x5e\x39\x0f\xd5\xba\xef\x23\x0f\x55\x73\x9b\xc1\x29\x91\x87\xaa\x9b\x3c\x54\x7b\x1c\x6a\x8d\xd9\xa7\xa6\x44\x57\x91\x77\x0a\xe6\xc1\xf3\x43\xad\xc8\x3b\xd5\xe5\xbc\x41\xde\x29\x58\x55\xa0\x13\x35\xf4\xe3\x88\xf2\x4e\x1d\xae\x15\xf5\x95\x77\x6a\x2f\x53\x44\x63\xb6\xa9\x29\xc9\x6d\xf0\x8a\x83\xa8\x76\x16\xa2\xda\x80\x24\x22\x1c\xdc\xee\x17\x78\xc5\xb9\xa2\x27\x25\x68\xf4\x9d\x67\xea\x94\x3e\x66\x37\xa9\xc7\xc3\xb2\x5f\x59\x4f\xec\x84\x3e\xb3\x9a\x27\xb3\x03\x88\x72\x4f\x0d\xc0\xe6\xb3\x75\x31\x2f\x33\xa5\x47\x41\x46\x01\x11\x4c\xea\xb6\x33\x5c\xce\x5d\xb1\x94\xa2\x3b\x9b\x57\x75\x7d\x5e\x1e\x91\xa6\x34\x7c\x1a\x20\xa5\xb9\xcd\x00\x29\x00\x29\xdd\x80\x94\x43\x4e\xb8\x2d\x44\x65\xf5\x88\x1b\xa5\x7a\x0e\xac\x02\x5d\xfd\xfc\x74\x75\x60\x95\x2e\xe7\x0d\xb0\x0a\xac\x33\x50\x90\x7a\x55\x90\xba\x03\x2b\xbd\xaa\x48\x7d\xa1\x95\xc3\x2c\x15\x5b\x18\xcb\x44\x24\xb9\x43\xd6\x0a\xc4\x37\x88\x6f\x23\x12\xdf\x06\x24\x25\xe1\x30\x77\xbf\xf4\x7a\x98\x9f\x08\xb6\x40\xfc\xe8\x14\xb7\xf4\x20\x7c\xbc\x62\x5d\x00\x17\x13\x3a\xd4\x3f\x71\xa1\xef\xf4\x83\x5c\x4c\x13\xb0\x0b\x01\xa0\x22\x7a\x05\xd1\x2b\x80\x2e\x80\x2e\xa7\x82\x2e\x87\x1c\x72\xdb\xa8\xcb\xea\x29\x37\x4a\x65\x1d\xd8\x05\x7a\xfb\xf9\xe9\xed\xc0\x2e\x5d\xce\x1b\x60\x17\x58\x6a\xa0\x23\x35\xf4\xe3\xf0\xa0\xcb\x08\xa3\x59\x0e\x34\x55\x6c\x63\x2e\x13\x91\xe3\x10\xdd\x02\xd1\xed\x2c\x44\xb7\x01\x49\x48\x38\xc8\xdd\x2f\x88\x6e\x71\x45\x4f\x4a\xf0\x98\x4e\x74\x8b\x16\x23\xc4\x7c\x19\xa6\x22\x4b\x8f\x74\x77\x72\xe9\x6e\x49\x35\x67\xf7\xb6\x02\xed\x2f\x52\x7e\xef\xde\x2f\x24\x97\x35\xa5\xe0\x4e\x65\x24\x32\x47\x22\x73\x24\x32\x47\x22\x73\x24\x32\x3f\x89\x02\x02\x3d\xb1\xf5\x40\x9d\x52\x4f\x44\xbe\x79\xdc\xf0\x7f\xc6\x37\xfc\x1f\x34\xfd\x43\xfe\x20\xc2\x4e\xa7\x3f\x95\x78\xda\xe9\xef\x32\xc1\x73\xb6\xe0\x7f\xc8\xc5\x72\xc1\xa2\xe5\xe2\x41\x4f\x92\xb9\xdb\x4c\x53\x9b\xb6\x9f\x12\xf0\x93\xd8\xe6\x92\x0f\xd3\x94\x25\x31\xda\xa4\xdd\xa7\xcb\xec\x57\x65\x13\x2d\x7c\xeb\x7f\xfb\x57\x7e\x4a\xfd\x2b\xbf\x4f\x3f\x2a\x7a\x3f\xbf\xea\xde\x4c\x54\x33\x3b\xe9\xfc\xf0\x78\x94\x4f\xe7\x42\x12\x4a\xf9\x42\xaf\x32\x99\x49\x27\x32\x9b\x5a\x6a\xe1\x5e\x14\xb2\x8e\xfe\xb4\x69\x8b\x49\x7f\x7f\x2f\xb2\xcc\xe4\x1d\x37\x6d\x37\xa2\xb2\x69\x9b\x78\x26\xa1\x81\x47\xe5\x13\x42\x8b\x29\x0b\xb5\x8c\xa8\x18\xd3\xca\xd7\xcb\x58\x7f\xcc\x2c\x68\xfd\x2f\x6f\x72\xd9\x44\x3c\x51\x66\x72\x3a\x9c\xf2\xb7\xcb\xc9\xcf\xe7\x32\xcc\x84\x96\x50\x29\xdd\x7c\xe4\x3b\x05\xc2\xee\x2e\x15\x1d\xc2\x9c\xa7\x9e\x73\x25\xaa\xe5\xe6\xa7\x8b\xf7\x6d\xee\x69\x27\x8b\x6f\xca\xc5\x7f\x4f\x23\x62\x24\x19\xef\x51\xa9\x94\x12\xec\xea\x72\xac\x04\x64\xc7\x42\x77\x0b\x4f\x82\xe5\x82\xda\x12\xf9\xf9\x69\x4b\x9d\xa4\xdb\x66\xeb\xe3\x8a\x2e\x7a\xf7\xe3\x9c\xb9\x29\x55\xec\x4a\xb9\x76\x52\x6b\x80\x4c\x99\x58\xc4\xd9\x4b\x55\x8d\xe2\xa9\x56\xbe\xcd\xc8\x47\x6a\x63\x83\x36\x89\x72\x72\x5e\x13\xe4\x8c\xec\xe7\xe6\x65\xb0\xe4\x09\x8f\x32\x91\x0b\x29\xc5\x4e\x5f\x64\x89\x37\xf2\xa0\x49\x93\xef\xea\xee\xc4\x52\xa7\xb0\x65\x8a\x52\xfc\x9b\x59\xa5\x1f\x0e\x45\xb1\x42\x9c\x8e\x90\x4f\xb8\xeb\xdc\xe4\x7a\xa5\x9b\x97\x7f\x72\x37\x39\x39\x17\x91\xb5\x7c\x9e\xa6\x4b\xe1\x37\x0a\xcb\x5a\xae\x4c\x97\x0f\xa9\x7e\x38\xca\x5c\x0b\xfc\x12\x8f\xa5\x1e\xd4\x63\xa5\x16\x22\x93\x0b\xa1\xdb\x3e\x17\x49\x62\xb2\x95\xf3\x9a\x3e\x54\xa8\x07\x7a\x44\x4d\xf6\xff\x5c\xd6\xcf\x15\x9c\xdc\x9e\x6c\x7a\xcd\x34\x99\x16\x26\xa9\x32\x2c\x5d\xf0\x30\x14\x89\x49\xfa\x6f\x52\x63\x33\xbd\x89\xb2\x90\x27\x41\x3e\xd0\xb4\xe2\x4d\xf1\xba\xd1\x5a\x63\x12\x34\xf1\x62\x95\xa6\x52\x4f\x38\xdb\x6d\x34\xe1\xca\xeb\xcb\xb8\xfe\xf8\xfa\x48\x37\xc3\x41\xdf\x11\xbe\x19\x0f\x52\x9e\xad\x78\x6e\xe7\xb0\x3d\x0b\xa9\xd6\xcf\x3c\xcd\x65\x58\x66\x67\x84\xee\x93\x55\xfd\xc4\x68\xed\x3c\xd5\x03\xec\x2d\x43\x93\xf1\xa5\x98\x36\x7b\x9d\x05\xba\xa3\x4e\x74\x2c\x22\xf1\x0d\x12\xdf\x20\xf1\x0d\x12\xdf\x1c\x45\xe2\xac\x9b\x49\x52\x91\xe5\xa7\x4c\x96\x70\xa9\x77\x89\x88\x3d\xeb\xce\xc8\x9f\xcc\xb7\x6c\xfd\x58\x7e\xf0\xb9\xa9\x97\xe4\x3b\x80\x16\x6f\x84\xc3\x88\x25\x44\x26\xd5\x8d\xaf\xbc\xf4\x86\x0e\x36\x2d\x4e\xdd\xd0\xd1\x74\xcd\x63\x79\xc3\x63\x79\xed\xa9\x48\xcf\x95\xf4\xe6\x4f\x6e\x5a\xb9\x0f\xce\xe9\x0c\xce\xb8\x0c\x53\x92\x1f\xca\xb2\x3f\xf9\x1b\xed\x31\x0e\xb5\x0e\x18\xc4\x28\x7c\x22\x49\xc9\x49\x93\x29\x6d\x15\xf5\x91\xd2\x5a\x42\x1c\x87\xd2\xc8\x06\x4e\xc0\x31\x5e\x5d\x32\x65\x8f\x32\x78\x24\x67\x2f\x4f\x2d\x16\x7a\xea\xfa\x66\x52\x37\x7e\xcb\x5a\xe4\x75\x07\x17\x25\x69\x79\x2b\x11\x4d\x1f\xd6\xcf\x8e\x73\x7c\x3f\xd5\x9c\x77\x8e\x38\xc8\x5f\xe5\x42\x68\xc9\x33\x37\x13\xe8\x8e\xbe\x31\x42\xb1\xd1\xdd\x48\xfa\x23\xc9\x23\x35\x7b\x58\x6e\x08\xc9\x15\x0e\x1e\x86\x57\x2c\x11\x01\x4f\x7c\xe2\xfe\x5a\x5c\x8b\x5e\x18\xf7\x32\xf9\x24\xb3\x17\x7d\x2a\xc8\x28\xff\xaf\x7d\x36\xa5\xcc\x54\xb1\x0f\xb3\x40\x23\xa9\x03\x9e\x47\x32\xab\xfa\x0b\x1b\x93\x59\x15\x72\x52\xbf\x24\xbc\x19\xec\x9e\x34\xaf\x95\x31\x89\x25\x56\x8d\xce\x65\x77\x35\x67\xba\xce\x2d\x79\xb6\x2e\xa3\xee\x7d\x77\x20\xc3\xae\xd5\x92\x24\xb4\xdf\x75\x15\x7f\x52\xea\xfb\x82\x27\xdf\xd3\xc2\x7b\xdb\x54\x9d\x8c\x32\xa9\x35\x1d\xbd\xc4\x5a\xbf\xf8\xe9\xf3\xe7\x7f\x7c\xba\xfd\xf2\x8f\x6f\x17\x85\x59\xc4\x48\x60\x8a\xc4\x58\xb9\x88\x43\x41\xf6\x8f\x07\x57\xaa\x96\x39\x64\x10\x19\xb3\xb0\x16\x8c\x43\x1e\x90\x48\x5a\x3c\xa2\x55\xd0\xb2\xfa\x68\x6c\x0d\x97\x29\xf3\x65\xea\x25\x42\xd7\xb9\x00\x4a\x25\x10\x62\x6d\x1e\xd5\x82\x9c\x15\x42\xab\xd7\x5a\x95\xcf\x85\x5d\xbd\x1d\x26\x4f\x3c\xbc\x62\x91\x32\xac\x97\x94\x64\x67\x38\xa9\xdb\xde\x88\x36\xbe\xb0\xbc\xcd\xd6\x48\xe5\x54\xe4\x54\xa4\x29\x55\x2c\xb7\x3e\x5b\x5b\x8a\xc5\x5c\x15\x8d\x4f\xff\x4a\x5d\xe0\x3b\x7c\x3a\x17\x3c\xd3\x8a\x7a\xc0\x33\xc1\x6a\x03\x61\x4b\x12\x91\x96\xc4\x8d\x4d\x22\x96\x05\xd7\x6d\x2a\x76\x8f\x43\xa4\x61\x0a\x9c\x48\xdb\x82\x0b\x02\x5c\x10\xe0\x82\x00\x17\x04\xb8\x20\x34\x6d\xbe\x60\xdb\x23\xea\x11\xe0\x4e\xe0\x4e\xe0\x4e\xe0\x4e\xe0\x4e\xe0\xce\x69\xe1\x4e\x10\x08\x10\x08\x10\x08\x10\x88\xde\x09\xc4\x0e\x94\xde\x28\x73\x2a\xc9\x23\x2f\xf5\xf0\x1b\xaa\xac\x9f\x7b\xa0\x43\xcc\x0c\xaa\xa1\xe0\x56\x3a\xc9\x1e\xc5\xc2\x1c\x5b\x69\x96\x08\xbe\xa0\xee\xf1\xfd\x2b\x7b\x30\x5c\xd9\x67\x17\xea\x89\x64\x9f\x92\x7a\xc7\xee\x49\x5c\x79\xa9\x4f\xf5\x7d\xba\xf0\x79\xd3\x04\x1b\xff\x1d\x09\x6b\x5f\xd0\x1f\xfb\xd1\x74\xfc\x7f\xad\xf6\x41\x9b\xb2\xab\x6f\x0f\x1b\x12\xb9\x98\xc8\x92\xfd\xfe\x57\x99\x9e\x65\x60\xa4\xde\xc7\x86\xce\x83\xf6\xb8\xb7\x0e\xf7\xbc\x8d\xee\x9e\x37\x95\x76\x4c\xfd\x8c\x66\xc6\x78\x4b\xc0\x67\x1e\xef\x18\xf1\x0d\xf4\x6e\x8d\x72\xab\xda\x6d\x7a\x08\x9a\x9a\x40\xd0\x14\x2e\xd7\xc0\xe5\x1a\x0d\x95\x19\xb4\x60\x36\x8e\xdb\x35\xf6\xaa\xf0\xbb\xad\x15\x36\xce\xbf\x43\xa9\xf1\x94\xe4\x5e\x12\x37\x86\x29\xf7\xbe\x62\x87\x5c\x09\x62\x2f\x60\x3f\xd2\xcd\x20\x6d\x85\xab\xf2\x6d\x20\xb8\x03\xa4\xb1\x35\x10\xa9\xc6\x28\x52\x21\xea\xfa\x8c\xa2\xae\x11\x5e\x86\xf0\x32\x84\x97\x21\xbc\x0c\xda\xe0\xba\x55\x34\xc8\x58\x8e\xd3\x68\x5a\x08\x45\x59\x1b\x8a\x32\x50\xc5\xcb\xd9\xa2\xfb\x49\x55\x55\x95\xb4\xda\xe9\x4d\x4d\x19\xaa\xd6\x69\x4d\xd8\x44\x60\xef\x38\x5d\x76\xaa\x93\x60\xbe\x72\x7a\xaa\xb5\x15\x40\x7e\xaa\xe6\x36\x83\x5b\x22\x3f\x55\x37\xf9\xa9\xf6\x39\xd9\x1a\xd3\x52\x4d\x8a\xb6\x22\x23\x15\xcc\x84\xe7\x47\x5e\x91\x91\xaa\xcb\x79\x83\x8c\x54\xb0\xae\x40\x31\x6a\xea\xc8\x11\xa5\xa4\xea\x40\x35\xea\x2b\x27\xd5\x7e\x36\x89\xc6\x54\x54\x93\x92\xdd\xe0\x29\x07\x79\xed\x3c\xe4\xb5\x01\x89\x45\x38\xbd\xdd\x2f\xf0\x94\x2b\x95\x3d\x29\x71\xa3\xef\x44\x54\xa7\x75\x3b\xbb\x49\x3d\x1e\x96\x5d\xcd\x7a\x62\x29\xf4\x99\xd5\x54\x9a\x9d\x40\x95\x7b\x6a\x02\xb6\xa0\xad\x2b\x7a\x99\x29\x3d\x0e\x32\x0a\x68\x61\x53\xb7\x9d\xe1\x92\xee\x0a\xad\x14\xdd\xb9\x66\x65\xd7\xe6\xe5\x31\xd9\xca\xea\xa7\x41\x55\x9a\xdb\x0c\xaa\x02\xaa\xd2\x0d\x55\x39\xe8\x8c\xdb\x86\x57\x56\x0f\xb9\x51\xea\xe9\x60\x2c\xd0\xd9\xcf\x4f\x67\x07\x63\xe9\x72\xde\x80\xb1\xc0\x4a\x03\x15\xa9\x57\x15\xa9\x3b\xc8\xd2\xab\x92\xd4\x17\x65\x39\xd0\x5a\xb1\x0d\xb7\x4c\x44\x96\x3b\x64\xb5\x40\x80\x83\x00\x37\x22\x01\x6e\x40\x72\x12\x8e\x73\xf7\x4b\xaf\xc7\xf9\x89\xa8\x0b\x04\x90\x4e\xb1\x4b\x0f\xe2\xc7\x2b\xd6\x09\x77\x31\x21\x45\xfd\x83\x17\xfa\x4e\x5f\xe4\xc5\x34\x02\x1b\x11\x60\x2a\x82\x5a\x10\xd4\x02\xfc\x02\xfc\x72\x42\xfc\x72\xd0\x49\xb7\x95\xbf\xac\x1e\x75\xa3\x54\xda\x01\x60\xa0\xbf\x9f\x9f\xfe\x0e\x00\xd3\xe5\xbc\x01\x80\x81\xc5\x06\x8a\x52\x53\x47\x0e\x8f\xbf\x8c\x31\xc8\xe5\x50\x9b\xc5\x56\xfe\x32\x11\x59\x0e\x41\x2f\x90\xdf\xce\x43\x7e\x1b\x90\x98\x84\xd3\xdc\xfd\x82\xa0\x97\x52\xd9\x93\x12\x3f\xc6\x18\xf4\xa2\xcf\x7d\xe9\xf1\x54\x64\xfd\x62\x95\xcd\xc9\xe9\xbf\x98\x5a\xb4\xcd\x4d\x5f\x3c\xfe\x8b\x4a\x6e\xc3\xd0\xc9\x2b\x83\xa0\x2a\x6b\x5f\x38\xd3\xfc\x43\xc5\x68\x21\xfd\x50\xc3\x63\x9d\x6c\x0d\x8d\x0b\xa8\x67\x82\xd3\x90\xc6\xbf\x30\x08\x99\x75\x4e\xf9\x66\x53\x2b\x50\xbd\xc4\x82\x7d\xbb\xf8\xe9\xf3\xe7\x7f\x7c\xba\xfd\xf2\x8f\x6f\x17\x45\xc6\x57\x73\xd9\xa9\x22\x79\x58\x2e\xe2\x50\x50\x6a\xd7\x07\x57\xea\x82\xbf\x30\x19\x44\xe6\xaa\x69\x99\x1a\x83\x86\x16\x9d\x8a\x47\x78\x22\x58\x39\x33\xa6\x49\xa3\x7a\x99\x32\x5f\xa6\x5e\x22\x74\x9d\x8b\xbc\xdc\x25\xf1\xdb\xa6\x73\xad\x16\xe4\x12\xac\xf2\xcc\x64\x29\xcd\xef\x95\x95\x51\x26\x92\x27\x1e\x5e\xb1\x48\x99\x94\xf9\x94\xff\xd3\xe5\x84\xad\xa7\x15\xa6\xa4\xed\x2f\x2c\x6f\xb3\xcd\xbf\xeb\xb2\x7f\xa6\x5a\x1c\x57\x51\x71\xa3\xb5\x4d\x13\x6b\xb3\x85\x57\x2e\x57\xd6\xbf\x52\x17\xf8\x2e\x0b\xfd\x5c\xf0\x6c\x99\x08\x16\xf0\x4c\xb0\xda\x40\xd8\x92\x44\xa4\x65\x49\x93\x6e\x35\x96\x45\x7a\xfc\xa6\x62\x77\x44\x33\x0d\xc3\xdf\xcc\x69\x9a\xcc\x3f\x1d\x60\xa7\xaf\xe5\x8c\xbd\xc6\xc2\x58\xba\x7d\x3c\x15\x99\x49\x8f\x6b\x53\x2e\xeb\x0e\xaf\xe4\xea\x75\xd7\x44\x9b\x4e\x99\xb1\x7b\x19\x79\xa2\x76\xb1\xb8\x1d\x4d\x2b\x7b\x57\x13\x01\x57\x72\x21\xbb\x8a\x98\x57\xa9\x70\x5e\xa4\xbc\x37\x09\xa0\xf3\xcc\xac\x7a\x35\x14\xe9\x79\xcd\x6f\xc5\xfa\x63\xaf\xc5\x1f\x9e\x88\x8b\x24\x8c\xa6\x48\x35\x77\x1f\x79\xe3\x6e\x3e\xb6\xf5\x33\x49\xa2\x09\x3f\xf2\x7a\x55\xa4\x5e\x59\xc2\xcc\x06\xa7\x4d\xba\x29\x54\x98\x09\xea\xaf\xe9\x37\x48\x49\x11\x09\x33\x0a\x69\x9e\xc3\xd9\x5f\x0a\x4a\x2e\xfe\x47\x2c\xed\x8d\xf0\xaf\x03\x11\x89\x84\xb0\xd2\x5c\x6b\xa6\x99\x62\x73\x39\xcf\x84\x88\xd8\x42\x46\xcb\x4c\xa4\x6f\x18\x25\xe6\xf6\x54\x34\x97\x41\x7e\x91\xbc\xd1\x9c\xf2\x24\xdb\xc5\xe4\xac\xae\x22\x73\xa0\x59\xad\x8c\xb3\xff\xfd\xf6\x7f\xb1\x2f\xf6\xc2\xe7\x9f\x75\x15\x84\x6f\xf5\xde\x4c\x05\xa6\x82\xf6\x49\xd7\xa2\x4c\x7d\x17\x91\x6b\xb2\x4d\x04\x1c\x09\xe1\xd7\xf2\x07\x87\x94\x1c\x5c\x66\x46\x7f\x4b\x84\x49\xdd\x6f\xd3\xab\x6b\xf9\x25\xcf\x95\xbc\x9a\x2c\x7a\xc6\x3e\xeb\x4f\x3f\xcb\xfc\xce\x72\xfb\x15\x3d\x32\x76\x1b\x30\x96\x59\x9b\xa2\xd7\xe4\xa4\x75\x8a\x26\xd5\x30\x4f\x42\x5c\x52\x40\x75\x63\xa9\x71\x5b\xbb\x85\xca\xa5\x0a\x93\x55\x38\x9f\xdc\x94\x63\xfc\xbb\x78\x31\x37\x72\xbb\x7f\x0e\x79\xa6\xbf\x5f\x24\x4c\x7e\x7e\x94\x26\x17\xb5\x8c\x4a\x1d\xe2\x9e\x77\x13\xb9\x94\x61\x38\x65\xd7\x4e\x8e\x33\x39\x96\x13\xb1\x63\x9e\xe8\x5a\x67\xac\xa6\x88\xb6\xb7\x7b\x93\x40\x43\x5a\xb0\x9e\x90\xfa\xff\xcd\xa0\x7c\x17\x2f\x36\xe9\xb6\x2b\xf8\xdb\x45\xde\xe4\x6f\x17\x36\xa7\xf6\xfa\x24\xdc\xb4\x41\x54\xd3\x70\xbb\x33\x82\x46\x8e\x26\x80\xdd\x8d\xcb\xbd\x97\xae\xe4\xa8\xb5\xcb\xc6\x9d\x1c\xf6\x52\x73\x3b\x62\xc6\x12\x93\xb1\x85\x4c\x53\x3a\x11\x2a\xe6\xa0\x5d\x77\xde\x7c\xea\x75\x83\xc5\xdb\xed\xb6\xb7\x2c\x15\xc5\x45\xe7\x7a\x6d\x24\xd2\xcb\x8a\xec\xf8\x94\xc3\xde\xb6\xdd\xdd\xeb\xff\x62\xc7\xc9\x40\x8a\x6a\x92\x05\xf1\x24\x92\x97\xec\x51\x46\xc1\xae\xcd\xa7\xd2\xee\x6d\x6d\x46\xd3\x07\x21\x7f\x10\x61\x67\x7d\x40\xa5\x9d\xa2\x0f\x5c\xfa\x7c\xce\x16\xfc\x0f\xb9\x58\x2e\x58\xb4\x5c\x3c\x88\xc4\xb4\xde\xea\x1e\xa6\x7f\x28\xe5\x2d\xc1\xc2\x22\x63\x33\x6d\xc3\x74\x10\x4b\x5d\x0b\x73\xeb\xff\xea\xee\xa6\x8f\x6f\xfd\x6f\xff\xca\xe7\xfa\xbf\xf2\xc4\x03\x51\xd1\xdf\x79\x4e\x00\x93\xb3\xc3\x2c\x40\xda\x89\x3c\x1e\xe5\x99\x3d\x8a\xbd\x34\xe5\x0b\xbd\xb9\xc8\x4c\xba\x43\xd7\xd4\x52\x8b\x07\xa2\xd8\x2d\xf5\xa7\x4d\x5b\xf4\x30\x69\x21\x35\xcb\x8c\xb8\x66\xda\x6e\x0e\x5b\xd3\x36\xf1\x4c\xdb\x0e\x8f\xca\xe6\x54\xbd\xd1\x2d\xd4\x32\xa2\x62\x4c\x2b\x5f\x2f\x63\xfd\x31\x93\xdb\x44\xff\xcb\x9b\x7c\x77\x33\x12\x21\xa7\x0d\x3d\x7f\xbb\x9c\x31\x7e\x2e\xc3\x4c\xe8\x33\x8e\x72\xf4\x47\xbe\x13\x41\xac\xa8\x53\x91\x42\x8c\xf1\xd9\x73\x7e\x55\xd5\x33\xca\x64\x28\xb0\x09\xbb\xdd\x69\x5e\x11\x8a\x68\x2f\x7d\xe2\x32\xd4\x52\x63\x21\x9f\xeb\x26\x7b\x8f\x4a\xa5\x94\x95\x58\x97\x63\xf7\x50\x3b\x16\xba\x5b\x78\x12\x2c\x49\x6c\xe7\x91\x9f\x9f\x50\xd4\x49\xba\x6d\xb6\x3e\xae\xe8\xa2\x77\x3f\xce\x99\x9b\x52\x85\x30\x92\xcb\x37\xb5\x06\xc8\x94\x89\x45\x9c\xbd\x54\x05\x31\x27\x7d\xf3\x4c\xcb\x2c\x9b\x1a\xb4\xe9\x30\x90\xf3\xda\x51\x60\x4e\x0f\x37\x2f\x83\x25\x4f\x78\x94\x89\xdc\xa2\x5f\xa4\x18\x29\x52\xeb\x9b\x13\x85\xb2\x89\x17\x75\x77\x07\x9b\x13\xf9\x32\xc5\x64\x9a\x2e\xad\x12\x20\xa3\x20\x14\xc5\x0a\x71\x52\x46\x3e\xe1\xae\x73\xbb\xb3\xd6\x3a\xdc\x27\x77\x3b\x69\xf3\x43\x96\x74\x8c\x74\x29\xfc\xc6\xe3\x96\x74\x9d\xe5\x43\xaa\x1f\x8e\x32\xd7\x02\xbf\x44\xa6\xbf\x5a\x35\x25\x55\x0b\x91\xc9\x85\xd0\x6d\x9f\x8b\x24\x31\x29\xde\x79\x4d\xa2\x2a\x04\x0c\x3d\xa2\x22\x4a\x97\x49\xde\x7d\x3c\x17\x91\x72\xa3\xba\xe9\x35\xd3\x64\x5a\x98\x24\x0c\xb1\x74\xc1\xc3\x50\x24\xcc\x7b\x5c\x46\xdf\x4d\x3e\x71\xa6\xb7\x4d\x16\xf2\x24\xc8\x07\x9a\x56\xbc\x29\xde\x68\x64\xa9\x10\x34\xf1\x62\x95\xa6\x52\x4f\x38\xdb\x6d\x34\xe1\xca\xeb\xcb\xb8\x41\xf9\x85\x4e\x46\xdf\x11\xbe\x19\x0f\x12\xbf\xed\x01\x6f\xe7\xb0\x75\xf3\xa3\x5a\x3f\xf3\x34\x07\x3e\xb9\xde\xa9\xfb\x64\x55\xc2\x31\x72\x3f\x4f\xf5\x00\x7b\xcb\xd0\xa4\xc6\x29\xa6\xcd\xce\xbb\xbf\xee\xa4\xe6\x5d\xbf\x29\x37\xd0\x19\xf9\xf8\xb5\x6b\x4d\x5d\x76\x4b\x45\x96\x4f\xdc\x2c\xe1\x52\xef\xdc\x11\x7b\xd6\x23\x9c\x3f\x99\xcf\x02\xfd\x58\xbe\x96\x5c\xbe\x9b\x24\x4f\x3b\xa4\x77\x4c\xe1\xf0\x4c\xc9\x7e\x27\xd5\x8d\xaf\xbc\xf4\x86\xd6\x8a\xde\xa1\x6f\x68\xb6\x5f\xf3\x58\xde\xf0\x58\x5e\x7b\x2a\xd2\x2a\x5f\x7a\xf3\x27\x97\xcb\xc6\x7d\x70\x4e\xcb\x3a\xe3\x32\x4c\x69\x4b\x2a\x0b\x10\xe4\xcc\xb1\x63\x77\xd7\x1a\x7f\xc2\x7e\xff\x44\xdb\xad\x3b\x92\x52\xca\x48\x54\x1f\x1b\x2d\x6a\xc4\x71\x28\xcd\x06\xe3\x76\x49\xe3\x24\x23\x53\xf6\x28\x83\x47\xf2\x9d\xf1\xd4\x62\x21\x22\x4a\x06\x55\x1e\xb9\xca\xb7\xac\x61\x40\x77\x69\x51\x92\xde\xb4\x13\xd1\xf4\x61\xfd\xec\xf8\x46\xf4\xd3\xaa\x69\xb9\xdf\x61\xfd\x2a\x17\x42\x1f\x58\xb9\xc1\x42\x77\xed\x8d\x39\x4b\x8d\xc8\x47\x87\x06\x6d\x5a\xa9\x49\x8e\x94\x5b\x00\x72\x39\x85\x87\xe1\x15\x4b\x44\xc0\x13\x9f\x98\xa9\xde\xe5\xa3\x17\xc6\xbd\x4c\x3e\xc9\xec\x45\x9f\x6c\x32\xca\xff\x6b\xd7\xfd\x25\x33\xd5\x6b\x4a\xaa\xd6\xf7\xb6\xf9\xbb\x51\x1c\x55\x92\x53\x62\x3d\xc4\x26\x3d\x94\x7e\xee\x81\x8e\x56\x33\x78\xc6\x25\xdc\xca\x4c\xd9\xa3\x58\x98\xc3\xd4\x18\xfc\xa9\x43\x7c\xff\xca\x1e\x57\x57\xf6\xd9\x85\x7a\x22\x89\xac\xa4\x4a\xb2\x7b\x12\xa2\x5e\xea\xd3\x79\xd7\x4e\x6b\xe0\x13\x7b\xdb\xf3\xec\x5f\xff\xdc\x80\xa1\xca\xc1\x3e\x27\xe4\x50\xed\x7c\x65\x0a\x10\x55\x7a\x1e\x24\xaa\xde\xf3\xc3\x23\x51\xa5\xe1\x02\x8a\x6a\x78\x6c\x28\x2e\x72\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x60\x51\x63\x18\x51\xb0\xa8\x6a\xf7\x80\x45\x0d\x9f\x45\xd1\xe7\x6e\xb4\xc0\x91\x28\x7d\xdc\x27\xe2\x49\xd2\x62\xe9\x15\x4c\x59\x79\x2f\xf2\xe5\x93\xf4\x97\x3c\x2c\x8f\x12\x77\x3a\xdd\x7b\x57\xab\x2f\xb6\x56\x33\xe6\x8b\x38\x11\x9e\x3e\xc7\x7f\x70\xd2\xf7\x25\x15\x77\x59\x98\xf2\x2a\xb6\x19\xc7\xb3\x98\x8c\xd2\x4c\xf0\xca\x31\x59\xa7\x5d\xcf\xc5\x1d\x3f\xab\x5f\xff\x55\xa6\x20\x5f\x2b\x43\x3b\x18\xf2\xb5\xe1\xde\x22\xda\x0e\x7e\xd6\x1a\xdf\x39\x62\x30\x1a\xbc\xfe\x59\xd8\xea\x82\x01\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\xeb\x68\xb7\x05\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x1b\xe4\x88\x02\x89\x55\xbb\x07\x48\x6c\x2c\x48\xcc\xe7\x62\xa1\xf5\x87\x9e\x43\xb4\xda\x91\xb0\x0f\x54\x99\x7b\x91\x1d\x13\x80\xb9\x8f\x82\x7b\x35\x0d\x24\xb8\x17\xb8\x17\x2d\x19\xb7\x4e\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x3a\xda\x6d\x81\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x80\xbb\x06\x39\xa2\xc0\x5d\xd5\xee\x01\xee\x1a\x0d\xee\x12\x71\xa8\x5e\xb4\x14\x39\x08\xde\xe5\x6a\x73\x54\xe0\xe5\xbe\x0a\xe2\xd5\x34\x94\x20\x5e\x20\x5e\x86\x78\xb9\x85\x02\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\xd5\xd1\x6e\x0b\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x05\xe4\x35\xc8\x11\x05\xf2\xaa\x76\x0f\x90\xd7\x58\x90\x57\xe4\xd0\xce\xcd\xff\xb8\xbf\xff\x83\xbb\x10\x1b\xc8\x98\xa3\x60\x7e\xf3\xad\x88\x60\x63\x60\x63\x60\x63\xb8\x05\x11\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x6c\xc0\x7c\x08\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x0c\x8c\x6c\x8c\x8c\xcc\xb6\x5a\x57\x80\x86\x92\x2f\xb3\x47\x96\x7a\x2a\x16\x57\x2c\x5d\x7a\x8f\x7a\xe4\x49\x5f\x11\x7c\x61\xac\xbd\x71\xa2\xa8\x97\x9b\x9a\x16\xf3\xec\xb1\xb9\x65\xce\x32\x5a\xfd\x59\xcf\x3f\x2d\xe9\xdb\xda\x1f\xf1\xbc\x03\x1c\x04\x1c\x04\x1c\x1c\xc7\x88\x02\x0e\x56\xbb\x07\x70\x70\x7a\x70\xd0\xfc\xfe\x9f\x23\x30\xc2\x32\x18\x8c\x72\xb1\x47\xcd\xd9\x77\x19\xf9\x7d\x01\xc2\xab\x42\xdf\x21\x9d\xce\xca\xc6\x5a\x65\x2a\x14\xb9\xcb\x8a\x01\xa0\x54\x76\x07\x78\x11\x68\x11\x68\x71\x14\x68\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x11\x58\x71\x1c\x58\x91\x78\xa2\xed\x81\x6d\x36\x87\x36\xe8\x70\x28\xd4\x10\xb8\x14\xb8\x14\xb8\x14\xb8\x74\xd0\x23\x0a\x5c\x5a\xed\x1e\xe0\xd2\x91\xe3\x52\x24\xd1\x2b\xd0\x66\x25\x9d\x1e\xa8\x26\xa8\xe6\x28\xa8\x26\xd2\xe7\x01\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x02\x68\x0e\x1e\x68\x02\xfc\x01\xfc\x01\xfc\x01\xfc\x0d\x7a\x44\x01\xfe\xaa\xdd\x03\xf0\x37\x19\xf0\x37\x90\xf0\xc8\x6e\xe1\xdf\x91\xa3\x22\x9b\x10\x09\xb0\x21\xb0\x61\xad\xd4\x01\x61\x43\x20\x43\x20\x43\x20\xc3\xfc\x47\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\x43\x20\xc3\x41\x22\xc3\x72\x0c\xe4\x1a\x53\x03\x42\x1f\x9b\xdb\x0c\x02\x0a\x02\x0a\x02\x0a\x02\x0a\x02\x0a\x02\x7a\xe6\x04\x54\xc4\xa1\x7a\xd1\x4a\xc2\x20\x62\x1f\x5d\x6d\x4e\x14\xfc\xe8\xbe\x8f\xe8\x47\x60\xcc\xd1\x60\xcc\x23\x44\x3f\xba\x85\x01\x96\x09\x96\x09\x96\x09\x96\x09\x96\x09\x96\x09\x96\x09\x96\xd9\xd1\x6e\x0b\x96\x09\x96\x09\x96\x09\x96\x09\x96\x09\x96\x09\x96\x79\x76\x2c\x13\xf0\x0f\xf0\x0f\xf0\x0f\xf0\x6f\xd0\x23\x0a\xf8\x57\xed\x1e\xc0\xbf\xe9\xc0\xbf\xa1\xc4\x3f\x76\x0b\x00\x8f\x1d\x00\xd9\x44\x49\x80\x0e\x81\x0e\x6b\xa5\x0e\x08\x1d\x02\x1b\x02\x1b\x02\x1b\xba\x1f\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x81\x0d\x07\x89\x0d\x2b\x21\x90\x6b\x6c\x0d\x88\x81\x6c\x6e\x33\x30\x28\x30\x28\x30\x28\x30\x28\x30\x28\x30\xe8\x79\x63\xd0\x44\x10\xf0\x1a\x48\xfe\xc7\x2f\xa6\x36\x27\x4b\x00\x59\x7c\x1f\x31\x90\x00\x99\xa3\x01\x99\xfd\xc7\x40\x16\x0b\x03\x30\x13\x30\x13\x30\x13\x30\x13\x30\x13\x30\x13\x30\x13\x30\xb3\xa3\xdd\x16\x30\x13\x30\x13\x30\x13\x30\x13\x30\x13\x30\x13\x30\xf3\xec\x60\x26\xe0\x1f\xe0\x1f\xe0\x1f\xe0\xdf\xa0\x47\x14\xf0\xaf\xda\x3d\x80\x7f\xd3\x81\x7f\x03\x89\x81\xec\x18\x00\x1e\x39\x06\xb2\x91\x92\x00\x1d\x02\x1d\xd6\x4a\x1d\x10\x3a\x04\x36\x04\x36\x04\x36\x74\x3f\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x02\x1b\x0e\x12\x1b\x96\x63\x20\xd7\xd9\x1a\x10\x03\xd9\xdc\x66\x60\x50\x60\x50\x60\x50\x60\x50\x60\x50\x60\xd0\xf3\xc6\xa0\x69\xc6\x33\x31\x5f\x86\x03\x09\x82\xbc\xb7\xd5\x39\x59\x14\x64\xa9\x02\x08\x83\x04\xcb\x1c\x0d\xcb\xec\x3f\x0c\xb2\xb4\x32\x00\x34\x01\x34\x01\x34\x01\x34\x01\x34\x01\x34\x01\x34\x01\x34\x3b\xda\x6d\x01\x34\x01\x34\x01\x34\x01\x34\x01\x34\x01\x34\x01\x34\xcf\x0e\x68\x02\x00\x02\x00\x02\x00\x02\x00\x0e\x7a\x44\x01\x00\xab\xdd\x03\x00\x38\x21\x00\x38\x90\x40\xc8\xae\x21\xe0\x91\x23\x21\x9b\x41\x09\xf0\x21\xf0\x61\xad\xd4\x01\xe1\x43\xa0\x43\xa0\x43\xa0\xc3\xe2\x47\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\x43\xa0\xc3\x41\xa2\xc3\x72\x2c\xe4\x5a\x63\x03\x82\x21\x9b\xdb\x0c\x16\x0a\x16\x0a\x16\x0a\x16\x0a\x16\x0a\x16\x7a\x26\x2c\x14\x99\x1f\x7f\x7b\x5b\xcd\xf7\xf8\x8b\x4a\x6e\xc3\xd0\x41\xcc\x14\xe4\x12\xe4\x72\x14\xe4\x12\xf9\x1f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x01\x2f\x87\x0f\x2f\x81\xbc\x80\xbc\x80\xbc\xc6\x31\xa2\x40\x5e\xd5\xee\x01\xf2\x1a\x0b\xf2\xc2\x45\x9f\x71\xfa\xdb\xdb\xda\xf5\x9e\xa0\x5e\xf5\xc1\x04\xf5\x02\xf5\x42\xcc\x1e\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\xd7\x10\x91\x0f\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\x17\xb0\x57\xb5\x35\xc0\x5e\xc0\x5e\xc0\x5e\xc0\x5e\xc0\x5e\x67\x88\xbd\x96\xfa\x38\xc9\x6c\xf5\x09\x27\x48\x75\xb3\x17\xf2\xea\x1b\xf5\xb4\xc1\x69\x81\xc8\x98\x8c\xe6\x2a\x59\xb8\xf9\xcd\x99\xb1\xdf\xaf\x27\x5e\x81\xc8\x6e\x2b\xdd\x70\x7b\xf7\xf1\x6f\xf5\x77\x4e\x05\xb8\x46\xcb\x9d\x5c\x27\x8e\x9d\x3a\x55\xa6\x46\xe9\xbd\x57\xe5\x6f\xb7\x59\x55\x4f\x6f\xc7\xbd\xb0\x2a\xda\xa3\xd9\x33\x77\x59\x55\xbf\xbd\xbd\xbd\xfb\xf8\xa5\xe9\x4d\xac\xad\xdd\xd7\x56\xde\x91\x94\x77\x73\x52\x4b\xac\x8a\x78\xf7\x59\x65\x64\xcd\x4f\xc4\x93\x14\xcf\x15\xef\x8d\x3d\x18\xeb\xef\x5a\xd9\xb2\x2a\xe6\x15\xf9\x69\x78\x3c\xcb\x55\xe8\x8a\x11\xb9\x0c\x35\x1f\x04\x8b\xf5\xb1\x9f\x6a\x6d\x8c\xdd\x46\x4c\x46\x06\xe1\xa8\x84\x2d\x23\x47\x81\x7c\xe6\x27\x2f\x5f\x96\x11\xf3\x65\x22\xb4\x70\x25\x1c\x5a\xd0\xfa\x2a\x19\x04\x2c\x5b\xc9\x67\xa5\xb5\x64\xb3\xf9\x32\x21\xeb\x51\x9c\x28\x4f\xa4\xa4\xb9\x5b\x59\xce\x6a\x47\x33\xf6\x1b\x7d\x91\xac\x72\xa4\x6a\xff\xc0\xae\xd9\x6d\x18\xfe\x40\x7a\xb9\x9f\xbc\xb0\x64\x19\xb1\x34\xe3\x5a\x2a\xca\x8d\x11\xb6\x38\xe1\xef\x28\xad\x98\x76\x1c\x53\xe6\x25\x23\xd2\x27\x1e\xf1\x40\x24\xc6\x1c\x6a\xae\x7f\x49\x53\xe5\x49\xd2\xef\x9d\xe1\x91\x93\xc5\x58\x25\x4c\x4f\x96\xec\xc5\x19\x3c\x16\xfc\xbb\xee\xb7\xec\x51\xa4\x22\x97\x0f\xb5\xac\x9c\x23\x38\xa2\x50\x0f\x82\x91\x44\x4c\x46\x46\x95\xb0\xb7\xef\xfe\xaa\x9f\x4d\xb8\x47\xac\x30\x54\x51\x60\xa4\x41\x32\x04\x7a\x2a\xca\xb8\x8c\x8c\x26\x4e\x5b\x65\xf1\x2c\xf1\x13\x4b\x32\xd9\xc3\x8b\x53\x6a\x02\x15\xf2\x28\x98\xa9\x24\xb8\x89\xbf\x07\x37\xcb\x48\x7a\xca\x17\x37\x7f\xfa\x98\xde\xe9\x52\xf6\xb2\xce\xdb\x8e\x39\xe6\x80\x8c\xc5\x42\x91\x0b\xc3\x85\xe7\x85\x4a\x3b\x76\xea\x32\xa6\x41\xc6\xd9\x57\xbd\x11\x7d\xa1\x8d\x68\xc3\x49\x69\x1e\xaf\x1f\x96\x6b\xde\x5d\xb3\x87\xb1\xfa\xb6\x6e\xfa\xf4\x41\xf9\x2f\xf5\x13\x29\xef\xd4\xa6\xdf\x36\x5c\x65\x74\xd0\x59\x36\xab\xed\xd5\x4f\x6f\x67\xe5\xf6\xad\x3f\xbf\x1a\xbb\x1b\xf2\x42\xa7\x7d\x7c\x55\xad\xf5\x76\x19\xe1\xbd\x31\x7d\x0f\xaf\xea\xef\xb6\x56\xfd\xd6\xf3\x44\x3c\xc0\xba\x8f\x51\x34\xdb\xee\x7d\x47\x5b\x6b\x17\x8e\x77\x4d\x92\x5e\xb3\x27\x5e\xf3\xb6\xd9\xc2\x13\x6f\x07\x01\xf3\x41\x64\xfc\xdc\x75\x39\xea\x03\x28\x74\xe5\x5f\xa0\xd0\xb9\xb1\xaa\xef\x1a\x34\x5b\x0e\xd3\xea\xcc\xa2\x83\x6a\x07\xd5\x0e\xaa\x1d\x54\xbb\x51\xab\x76\xb4\x95\x4d\x5c\xbf\xa3\x36\x42\xc9\xeb\x5f\xc9\xdb\xa5\xa3\x87\xa8\xe9\x1d\x50\xff\x61\xa8\x7b\x7b\x37\x60\xb4\xd2\xdb\x88\x15\xbf\x5a\x53\xb6\x69\x7f\xba\xe3\x41\xc6\x5d\x2f\x00\x8c\xe7\xbf\x00\x8c\x5f\x54\xd6\x47\x7b\xdd\x6e\x65\x49\x9d\x25\x16\x77\xbd\x00\x2a\x5e\xf9\x1f\x8c\x28\xc5\x58\x95\xa7\xc9\x4e\x50\xbc\x69\x89\xad\x49\x68\x1c\x2a\x8f\x87\xe9\x92\x7c\xaa\xb9\xe7\x89\x34\x85\x71\x05\xc6\x15\x18\x57\x8e\x37\x20\x48\x5e\x03\xab\x92\xb3\x2a\xfd\xaa\xb7\xe3\x7b\xb3\x1d\xdf\xd2\x76\xbc\x83\x89\xa9\x24\x53\x14\xf9\xd5\xdb\x94\x38\x62\x9b\x53\x71\xd4\x3d\xbd\x9d\xad\x6d\xeb\x7a\x49\xa0\x71\x74\x20\x79\xf5\xd6\xdf\x03\xb1\x40\x75\xdc\x8c\x93\x19\xa2\x3a\x6d\xc7\x08\x05\xe1\xe3\x5a\xa2\xea\x72\x75\xb3\x21\xaa\xc5\x8e\xbb\xbf\x3b\x42\x93\x68\x9f\x8a\x70\x0e\x11\x1e\x22\x3c\x44\x78\xf0\xd1\xc1\x48\xb2\xf7\x22\x9c\x77\x20\xc8\xb6\x28\x66\x2a\xd2\xeb\xba\xa6\x42\x78\x1d\x48\x77\x0f\x51\x76\x3d\xb8\x15\xc3\x10\x5d\x0f\x6c\x06\x24\xd7\x4e\x24\xd7\xed\x9b\x6d\x6f\x82\x6b\xb2\x0c\x05\xe4\x56\xc8\xad\x90\x5b\x21\xb7\x0e\x45\x6e\xfd\xa2\xf7\xa4\x83\xc5\xd6\x35\xa5\x4c\x50\x6a\x2d\xb7\x14\x42\xeb\x30\x7a\x7b\xe0\x32\xeb\x5e\x8d\x18\x9c\xc8\xba\x47\x2b\x20\xb1\x76\x2d\xb1\x36\xef\xb3\x1d\x0b\xac\xb0\xb2\x42\x5a\x85\xb4\x0a\x69\x75\x30\xd2\x6a\x07\x16\xd6\x33\xb1\xae\xc2\xb2\x7a\x34\x21\x75\xfc\x56\xd5\x09\x58\x54\x61\x4d\x3d\xb5\x6c\x7a\x3c\x4b\xea\xb9\x5e\x48\x50\x3a\xc6\x70\x1f\x01\x5c\xe9\x59\xdb\x9d\x63\xc7\xeb\x08\xd6\xae\x38\x38\xd5\x43\x57\x84\xae\x38\x40\x5d\x11\x4e\xf5\x50\x92\x3b\x77\xaa\xa7\x3d\xff\x2c\x3d\xeb\x4d\x88\x3b\xdc\xeb\x8f\xaa\x47\xef\xdd\xe9\x03\xd4\xa8\xbb\x6a\xcb\x20\x74\xeb\x6e\x1a\x33\x56\x59\x79\x88\xaa\xf6\x1e\x2e\xf7\x87\x5e\x04\x91\xab\x00\x70\xbe\x87\xa8\x0f\x51\x1f\x58\x68\x6b\x6b\x8e\x29\xf1\x76\xe4\x7c\x4f\x3b\xdc\xf9\x78\xe0\x9b\x73\x1d\x6e\xf8\xc7\x17\x72\x27\xe1\x8b\xdf\x51\x53\x06\x24\xe2\x9e\x89\x57\xfe\x18\x24\xdc\xdd\x5d\xf3\x7b\x10\x70\xe1\xa4\x0f\xf9\x16\xf2\x2d\xe4\xdb\x21\xc9\xb7\x07\x38\xe9\xd7\xc5\xdb\x69\x7b\xea\xaf\x1c\xe9\x70\xd7\x3f\xba\x70\x3b\x5a\x9f\xfd\x6e\x5a\x32\x4c\xd1\x76\xc2\xde\xfb\x23\x93\x6c\xdb\xb9\xf0\x77\x26\xd8\xc2\x6a\x0b\xa9\x16\x52\x2d\xa4\xda\xc1\x48\xb5\x5d\x59\x6c\xcf\xc9\x5a\x0b\x4b\xed\x71\x85\xd9\x89\x58\x69\xa7\x62\xa1\x85\x75\x76\x10\x32\x6c\x8f\x96\x59\x95\x7a\x3c\x94\x51\x30\x6e\xf7\xfe\x3d\x53\x4f\xe4\x8d\x47\xe2\x89\xfc\x17\x24\x9e\xb8\x28\x2d\x8a\xd6\x3e\xfc\x6e\x15\x9d\x63\xb6\x89\xbc\xf1\xc8\x35\x51\xf9\x1f\x02\x64\x8a\xb1\x2a\x26\xc9\x2e\x99\x26\xca\xab\x8a\x6a\xac\x15\xda\x30\x56\x7e\xfe\x9b\x51\x32\x76\x5f\x6d\x6d\x75\xa7\x50\xa6\x99\xd6\xb3\x9f\x79\xe6\x3d\x32\xe3\xf5\x9f\xea\x03\x46\x9f\xcc\xec\xff\x73\x55\xba\x53\xfe\xad\xab\xd2\x86\xf5\xa2\xcb\xab\x2c\x98\x35\x45\xfc\xa2\x92\xdb\x30\x74\xbe\xe0\x83\x58\x4b\x6b\x5f\xd0\x1f\xfb\x31\xcd\x12\xc1\x17\xff\x45\x1d\xb5\x73\xd9\xd5\xb7\x87\xbd\x68\x67\xa5\x79\xa9\x57\xea\x9a\x11\x9c\xf4\xaa\xdd\x2e\x23\xeb\x89\xde\x91\x8c\xec\xce\xe2\x46\xd1\x78\xfb\x1a\x6c\x11\x09\x5b\x58\x5f\x76\xb7\xc9\xf2\x30\x54\xcf\xbf\xeb\x89\xfb\x93\x52\xdf\x17\x3c\xf9\x9e\xe6\x56\xcf\xd4\xee\x1b\xe2\x49\x44\xfa\x3f\xc8\x04\xf8\x12\x0b\xf6\xed\xe2\xa7\xcf\x9f\xff\xf1\xe9\xf6\xcb\x3f\xbe\x5d\xcc\xd8\xbd\x48\x74\x05\x8d\x25\xd0\x57\x64\xb3\x95\x8b\x38\x14\x0b\x11\x65\xec\xc1\x95\xba\xe0\x2f\x4c\x06\x91\x4a\x04\xcb\x1e\x65\xca\xe6\x21\x0f\xc8\xd8\x57\x3c\xc2\x13\xc1\x52\xfd\x16\xcf\xc8\xe4\x95\x52\xd1\x97\x29\xf3\x65\xea\x25\x82\x14\x0d\xf6\x3e\x94\x54\x9f\x92\x89\x98\xa7\x7a\x9b\xac\x15\x94\x88\x6c\x99\x44\xc2\xd7\x85\xf1\xe8\x85\xa5\xb1\xf0\xe4\x5c\x7a\x4c\x46\x99\x48\x9e\x78\x78\xc5\x22\x95\x50\xb5\xb2\x47\xf1\x92\x17\x52\x7c\xd7\x18\x72\x53\x11\xf9\xf4\x7e\xde\x66\xd3\x1f\xcc\x5f\x26\x32\x0a\x18\x67\xa9\x48\x53\xaa\xd8\xc7\xb9\x69\x98\x4c\x4d\xa5\x4c\xf7\x5d\xd9\xd6\x4a\x11\xfa\xfa\x27\xd3\x05\xbe\x7d\x5c\xb0\xb9\xe0\xd9\x32\x11\x2c\xe0\x99\x60\xb5\x81\xb0\x25\x89\x48\x4b\x34\x3e\xd9\xb0\x63\x69\x2a\xb7\xae\xd8\x1d\x8d\x81\x0d\xc3\xdf\x6c\x19\x7c\x50\x2a\x14\x3c\xea\xda\xd0\xf9\xf5\x51\x90\x9d\x57\x46\x4b\xc1\x14\xfd\x73\x3e\xb0\x0f\x7a\x1c\x32\xf6\xfc\x28\x22\x3d\x96\x89\x14\x4f\xba\xc3\x17\x8a\xc6\x36\x5d\x86\x59\xca\xe6\x89\x5a\x94\x46\x6c\xc6\xee\x65\xe4\xd9\xf9\x65\xec\xce\x32\xcd\x47\xd3\x5a\x8b\xaf\x98\x67\x27\x90\x1e\x79\x32\x34\x2f\x53\x33\xec\xae\x22\xe6\x55\x2a\x9c\xb3\x38\x11\x4f\x52\x2d\x53\x46\xdd\x98\xf3\x04\x5a\x0d\xd2\x37\xd9\x17\x43\xfb\x5b\xb1\xfe\xd8\x6b\xf1\x87\x27\xe2\xcc\x84\xd1\x39\x2b\xb8\x9a\xbb\x8f\xbc\xa1\xb9\x5f\x9a\x6d\xba\x3a\x89\xa0\xc0\x3c\x5e\xaf\x8a\xd4\x2b\x4b\x98\xd9\xe0\x88\x87\x9b\x42\x76\x66\x0b\x7f\xe5\x35\xfd\x06\x99\xd5\x45\xc2\x0c\x34\x79\x7e\x14\xc4\x3a\xfc\xa5\x60\x99\x62\xe2\x8f\x58\x9a\x13\x9e\xbd\x0e\x44\x24\x12\x1e\x86\x2f\x6c\x2e\x9f\xe8\xd7\xb9\x9c\x67\x42\x44\x6c\x21\xa3\x65\x26\xd2\x37\x5a\x96\xa0\xba\xcd\x65\xb0\xb4\xaf\x19\x5b\x3f\x53\x51\xa9\x2d\x57\x2b\xab\xc8\x9c\x7f\x96\x23\x70\xf6\xbf\xdf\xfe\x2f\x96\x0b\x88\x3f\xeb\x2a\x08\xdf\xb2\x99\x4c\x05\xa6\x82\xf6\x49\xd7\x22\x4a\x6d\xee\x9a\x6c\xc6\x90\x45\x42\xf8\xa9\x79\x8a\x00\x51\x94\x31\xbd\x75\x5f\xe9\x0e\x23\xe2\x90\x88\x34\xe3\x09\xed\x26\x32\xa1\xdf\xa8\x60\xb5\xcc\xaa\x23\x4e\xeb\x68\xc6\x3e\xeb\x4f\x3f\xcb\x54\x5c\x95\xbf\xa2\x47\xc6\x6e\x03\x8a\xea\x46\xe5\xd8\x5d\xb2\x40\x23\x54\x43\x3d\x3c\x42\x3e\x95\x91\x89\x6e\x2c\x35\x6e\x6b\xb7\x50\xb9\x54\x61\x3d\xd3\xdd\xe4\x8e\xc4\x1f\x19\xfb\x2e\x5e\xae\xd8\xc3\x32\x2b\xfe\x39\xe4\x99\xfe\x7e\x1a\xf1\x38\x7d\x54\xd9\x15\x7b\x7e\x94\xde\x23\x6d\x06\x51\xa9\x43\xdc\xf3\x6e\x22\xdb\xea\x9b\x25\x74\xed\xe4\x42\xda\xc0\xf5\xce\x69\x6c\xe7\xfe\x95\x65\x72\xfa\x2f\xa5\xd7\x4f\x28\x32\xbd\x9d\xce\x33\x61\xe6\xf4\x5c\x26\x69\x56\xef\x0c\xc3\xbe\x64\xe4\x85\x4b\xdf\xec\x59\x06\xa4\x19\xf9\x87\xb8\x8d\x9e\x90\xfa\xff\xcd\xa0\x7c\x17\x2f\x66\xc3\x2e\x0a\xfe\x76\x91\x37\xf9\xdb\xc5\xec\x5b\xf4\x2d\xfa\x5a\xd9\xeb\xf4\x2a\x48\x97\x71\xac\x12\x42\x53\x7a\x83\x30\x27\x95\x4c\x69\x13\x2a\xce\x08\x1a\x39\x9a\x00\x76\x37\x2e\xf7\x9e\xe9\x04\x9a\x83\xbf\x99\x13\xd6\x2e\x1b\x77\x72\x3c\xbc\x94\x47\xcc\xd0\xc2\x8c\x2d\x64\x9a\xd2\x89\x50\x41\x96\xbb\xee\xbc\xf9\xd4\x3b\x26\x56\xba\x65\xa9\x08\x05\x11\xbc\x4c\xd1\xda\x48\xa4\x67\x56\x82\x51\x15\xe6\x45\xdb\xf3\x59\x61\xfa\x40\x26\xa6\xfb\xd3\x19\xfb\x20\xe6\x9c\x66\x8e\xde\x3e\x9e\x44\xf2\x92\x3d\x6a\x59\x72\x1f\xb2\x76\x6f\x6b\x33\x9a\x3e\x08\xf9\x83\x08\x3b\xeb\x03\x2a\xed\x14\x7d\x10\xca\x85\xcc\x0c\xe8\x5d\xf0\x3f\xe4\x62\xb9\x60\xd1\x72\xf1\x20\x12\xd3\x7a\xab\xaa\x98\xfe\xd1\x5d\x41\xa7\x98\xdd\x9e\x3c\x1e\x86\xb4\x0d\xd3\x41\x2c\x75\x2d\x98\xf8\x83\x36\xdd\x55\xd1\xc9\xf4\xeb\xbf\xf2\xb9\xfe\x2f\xbb\x86\xed\x61\x41\xe5\x2d\x44\xc6\x7d\x9e\x71\xfd\x35\x6e\x17\x20\xed\x44\x1e\x8f\xf4\x4e\xb2\x4c\xcb\x7b\x69\xca\x17\x7a\x73\x91\x99\x74\x87\xae\xa9\xa5\x16\x0f\x44\xb1\x5b\xea\x4f\x9b\xb6\xe8\x61\xd2\x42\x6a\x96\x19\x71\xcd\xb4\xdd\x1c\xb6\xa6\x6d\xe2\x99\xb6\x1d\x1e\x95\x91\xbf\xde\xe8\x16\x6a\x19\x51\x31\xa6\x95\xaf\x97\xb1\xfe\xd8\xbf\x45\xa2\xcc\xbf\xbc\xc9\x77\x37\x23\x11\x72\xda\xd0\xf3\xb7\xf3\xb9\xa3\x77\xb6\xb9\x0c\x33\xa1\xcf\x38\x7d\xee\xe8\x6d\xc4\xab\xca\xb0\x15\x29\xc4\x38\x48\x78\x22\xf7\x41\xa8\x9e\x51\xba\x06\xbe\x16\x31\x16\x32\x12\xee\x34\xaf\x08\x45\xb4\x97\xe6\x76\xb0\x42\x3e\xd7\x4d\xf6\x1e\x95\x4a\x05\xed\x62\x99\xca\xf7\x50\x3b\x16\xba\x5b\x78\x12\x2c\x49\x6c\xe7\x74\x28\x51\x83\xa8\x93\x74\xdb\x6c\x7d\x2a\x26\x36\xd3\xbb\x1f\xe7\xcc\x4d\xa9\x42\x18\xc9\xe5\x9b\x5a\x03\x64\xca\xc4\x22\xce\x5e\xaa\x82\x98\x93\xbe\x79\xa6\x65\x96\x4d\x0d\xda\x74\x18\xc8\x79\xed\x28\x30\xa7\x87\x9b\x97\xc1\x92\x27\x3c\xca\x44\xee\x75\x42\x60\xdd\x8e\x94\x5b\xf6\x74\xa2\x2c\xc9\x0f\xc4\xd5\xdd\x1d\x6c\x4e\xe4\xcb\x14\x93\x69\xba\xb4\x4a\x80\x8c\x82\x50\x14\x2b\xc4\x49\x19\xf9\x84\xbb\xce\x3d\x25\xb4\xd6\xe1\x3e\xb9\xdb\x49\x9b\x1f\xb2\xa4\x63\xa4\x4b\xe1\x37\x1e\xb7\xa4\xeb\x2c\x1f\x52\xfd\x70\x94\xb9\x16\xf8\x4e\xad\xb3\x3d\xa8\xc7\x4a\x2d\x44\x26\x17\x42\xb7\x7d\x2e\x12\x3d\x43\xf5\x2a\xac\x49\x54\x85\x80\xa1\x47\x54\x44\xe9\x32\xc9\xbb\x8f\xe7\x22\x52\xee\x06\x62\x7a\xcd\x34\x99\x16\x26\x09\x43\x2c\x5d\xf0\x30\x14\x09\xf3\x1e\x97\xd1\xf7\xd4\x20\x0e\xbd\x6d\xb2\x90\x27\x41\x3e\xd0\xb4\xe2\x4d\xf1\x46\x23\x4b\x85\xa0\x89\x17\xab\x34\x95\x7a\xc2\xd9\x6e\xa3\x09\x57\x5e\x5f\xcb\xd8\x27\x2f\x15\xa7\x93\xd1\x77\x84\x6f\xc6\x83\xc4\x6f\x7b\xc0\xdb\x39\x6c\x2f\xc0\xa0\x5a\x3f\xf3\x34\x77\x4a\xca\xf5\x4e\xdd\x27\xab\x12\x8e\x91\xfb\x79\xaa\x07\xd8\x5b\x86\xf4\x45\x59\x4c\x9b\x9d\x77\x7f\xdd\x49\xcd\xbb\xbe\xd6\x50\x57\x3c\x4e\xce\xc7\xab\xa4\x5d\x6b\xea\xb2\x5b\x2a\xb2\x7c\xe2\x66\x09\x97\x7a\xe7\x8e\xd8\xb3\x1e\xe1\xfc\xc9\x7c\x16\xe8\xc7\xf2\xb5\xa4\xf7\x9e\x07\xbb\x3d\xf8\x24\x1d\xea\x1d\x53\x38\x87\xa2\x92\xb9\x4f\xaa\x1b\x5f\x79\xe9\x0d\xad\x15\xbd\x43\xdf\xd0\x6c\xbf\xe6\xb1\xbc\xe1\xb1\xbc\xf6\x54\xa4\x55\xbe\xf4\xe6\x4f\xf9\x07\xaf\xdd\x07\xe7\xb4\xac\x33\x2e\xc3\x94\xb6\xa4\xb2\x00\xb1\x8c\x52\x91\xed\xd8\xdd\xb5\xc6\x9f\xb0\xdf\x3f\xd1\x76\xeb\x8e\xa4\x94\x3d\xaa\xe7\x15\xb9\x5a\x8b\x1a\x71\x1c\x4a\xb3\xc1\xb8\x5d\x52\xaf\x64\x9a\x7b\x8f\x32\x78\x0c\x5f\x48\xb5\x5d\x2c\x44\xa4\x77\xb2\xac\x3c\x72\x95\x6f\x59\xc3\x80\xee\xd2\xa2\x24\xbd\x69\x27\xa2\xe9\xc3\xfa\xd9\xf1\x8d\xe8\xa7\x55\x4b\x74\xbf\xc3\xfa\x55\x2e\x84\x3e\xb0\x72\x83\x85\xee\xda\x1b\x73\x96\x1a\x91\x8f\x0e\x0d\xda\xb4\x48\x73\xd3\x9b\xad\x03\xd6\x74\xcc\xf3\x30\xbc\x62\x89\x08\x78\xe2\x93\x97\x9f\xde\xe5\xa3\x17\xc6\xbd\x4c\x3e\xc9\xec\x45\x9f\x6c\x32\xca\xff\x6b\xd7\xfd\x25\x33\xd5\xbb\x17\x9e\x8a\xfc\x35\x36\xaa\x9e\xb6\xcd\xdf\x8d\xe2\xa8\x92\xdc\xaf\x51\x0f\x31\xf5\x00\x3d\xf7\x40\x47\xab\xa5\x86\x74\x44\x5a\x99\x29\x7b\x14\x0b\x73\x98\x1a\x3e\x40\x1d\xe2\xfb\x57\xf6\xb8\xba\xb2\xcf\x2e\xd4\x13\x49\x64\x25\x55\x92\xdd\x93\x10\xf5\x52\x9f\xce\xbb\x76\x5a\x03\xce\xd8\xdb\x9e\x67\xff\xfa\xe7\x76\xd4\xb5\xe6\xda\xb7\x36\x04\xcc\x48\x3e\xdd\x42\x30\x53\x26\xf3\x54\xa8\x15\x2d\x3b\x61\x77\x67\x5f\xa6\x98\x0a\xfd\x7a\xef\x8a\x2c\xae\x3d\x6a\x51\x70\xbf\x1e\x86\xbd\xf0\xdc\x0f\xd4\xf8\xcf\xd4\xa7\x69\x4b\x2e\xb4\x19\x08\xc1\xf0\x0b\xc3\x2f\x0c\xbf\x30\xfc\x4e\xcd\xf0\xbb\xe1\x58\xde\x66\xfc\xdd\x2c\xe2\x6d\x3e\x9e\x77\xda\x7b\x11\x87\xd3\x7a\xa0\x1a\x62\x71\x8e\x36\x4c\x47\xb3\xd6\xb7\xeb\x8a\xf5\x16\xfb\xa3\xf5\xc8\xd7\xb2\xda\x21\xb5\xca\x4f\xda\x00\x7b\x10\x73\xe3\x56\xe0\x2c\x3b\x85\x28\x61\x77\x2f\x9a\x3a\xa5\x38\xa4\x48\x45\xd7\x91\x08\x38\x4d\x50\xab\x38\x94\xe3\x95\x8c\x95\xd7\x2d\x0d\x2b\x44\xca\xc5\x42\xf8\x92\x67\x22\x7c\x29\x78\x7f\x71\xe4\xca\xf0\xca\x2a\x06\xd4\xe9\x2c\x48\xb8\x47\xab\x46\x2a\xdf\x09\x04\xc5\xa1\x4d\xce\x14\xf9\x2c\x5d\xa6\xba\x92\xe5\xe1\xe2\xfa\xcd\xbc\x41\xf6\x23\x73\xb3\x07\xe6\x45\xcc\x4c\x3d\x17\x82\x47\x8d\x75\xdc\x63\x98\xa9\xce\x77\x54\xe5\x26\x65\x6b\x8b\xba\x35\x94\xe9\xbf\x0b\xa8\x69\xd7\x2f\xeb\x61\xcd\xd1\xa6\x3f\xb0\x0d\xb0\x0d\xb0\x0d\xb0\x0d\xb0\x4d\x6f\xd8\xa6\xe5\x59\xb0\x82\x6e\x8e\x77\x2c\x7e\x10\x71\x22\xb4\x50\xe2\xff\xc0\xe2\x50\xf0\x54\xb8\x2d\xe8\x2e\x51\x31\x0f\x48\x3a\xba\x53\xa1\xf4\x5e\x2a\x4e\x82\xf9\xa4\xf3\x5d\x01\x7a\xda\xbd\x9d\xfd\x65\xf6\xff\xb3\xf7\x6f\xbd\x6d\x1b\x5d\xdf\x3f\x7e\x9e\x57\x31\x70\x0f\x94\xa0\x96\xfc\x38\x78\x80\x5e\x48\xf0\x3f\x70\xb3\xb9\x91\xde\xcd\x3f\x46\x52\xb4\x27\x2e\xee\x7b\x44\x8e\x68\x3e\xa6\x38\x04\x49\xd9\x97\x0b\x5c\xef\xfd\x87\x59\x33\xc3\x9d\x28\x89\x92\x49\x89\xa4\xbe\x47\x75\x23\xee\x66\xbf\xd6\xfa\xac\x0d\xfb\xa1\xf7\x33\x2d\xba\x44\x22\x54\x8b\x25\x3f\x53\x05\x93\x71\x74\xcf\x43\xeb\xb4\x18\xaf\xc4\xd5\x82\x07\x56\x57\xbe\xbb\xd0\x3f\xdf\x5d\xb0\x85\x1f\xf2\xc0\xff\xc7\x1e\x24\x73\xc1\xb8\x4b\xb6\x7c\x79\xa5\xed\x9c\x6e\xae\x86\xe9\xc7\x4f\x92\xfc\x26\xad\x9f\xce\xd8\x27\x9f\x36\xc7\xc2\xa7\xcb\x78\xbd\x6d\x39\xb9\x49\xb5\x7a\x4c\x3a\x8a\x4c\xef\x0f\x19\x50\xdd\x82\x8f\xb6\xed\x1b\x45\x9e\x3a\xab\x69\xbb\x8a\x19\x35\x5d\x2d\xd8\x7b\xf9\xc4\x3c\x1e\xcf\xb9\x57\xb2\x5d\x66\x4a\x8d\x88\x17\x32\x5e\xaa\x31\xa9\xed\xaf\x6f\x95\x16\x6d\xee\x2e\x12\x7a\xad\xc4\x1a\xe9\xbe\xf5\x95\x34\xe9\xf8\x6e\xae\x0a\x93\xac\x40\xc6\x89\x6c\x8c\x13\x0a\x5c\xa3\x5f\xad\x34\x30\x2b\x0c\xa6\x3d\x47\x32\x74\x92\x39\xe0\x96\x5f\x36\x63\x3a\x1e\x94\xce\xa6\xa2\x66\x37\xd1\x6d\x98\xb0\xa9\x99\x80\xe5\x09\x9a\xbc\x67\x93\x5f\xb9\xf3\xe0\xc5\x72\x15\xba\xea\x2a\x72\x66\xa5\x8b\x2a\x1d\xa7\x45\x48\x23\x1f\x97\x1f\x62\x5b\x30\xcf\x9e\xf4\x9e\x4d\x3e\xcb\x58\x14\x1e\xcb\x1c\x9e\x38\xdc\x55\xad\x37\xfd\xa3\x7d\x9d\xe9\x79\x89\x56\x3d\xd7\x1e\xb8\xc8\x9e\x71\xc8\x84\x8c\xaa\xd3\xfd\x34\x12\xe7\x88\x19\x6b\xb3\x71\xd8\xc6\x59\x4f\x35\x0a\x20\xae\x9d\x8d\xef\x3a\x75\x3d\x9e\x6d\xe3\x94\xfc\xb5\x59\x67\x6d\x61\xb0\x2f\x95\x7f\x6a\x41\x1e\xc2\x2e\xf7\xc4\x74\x3f\x52\x9e\xae\x9a\xf2\xb9\x31\xc6\x6d\xe9\x23\x39\x17\x97\x06\x18\xc3\x35\xbc\x20\xd0\x4e\xe0\x37\xc2\xd4\xce\x27\x4c\xad\xd9\xe9\xb3\x2b\x54\xed\x78\x6a\x1a\x7c\x17\xe0\xbb\x00\xdf\x05\xf8\x2e\xc0\x77\xa1\x6e\xf3\x05\x14\x1f\x50\x8f\x80\x93\x82\x93\x82\x93\x82\x93\x82\x93\x82\x93\x8e\x8b\x93\x02\x5d\x00\x5d\x00\x5d\x00\x5d\x74\x8e\x2e\xf6\xc0\xfb\x3d\x0d\x24\x6b\xd6\x85\xeb\xc1\x64\x2f\xb5\xb8\xf5\x0a\xfa\x6c\xbc\x01\xf9\x01\x91\x1f\xf0\x7c\xf3\x03\x1a\x51\x52\xd7\x03\x09\x5d\xa6\x86\x89\x25\x8e\x8c\xc4\x25\x4b\x56\xce\xbd\xda\x97\x68\xdf\x17\x7c\xa9\x37\xad\x28\x96\x24\xba\xd6\xc5\xaa\x46\x3c\xbd\xaf\x0f\x55\xcd\x02\x45\xcb\x3f\x6f\xa9\x97\x80\x12\x1c\xec\xd8\x25\x38\xf6\x87\x85\x59\x19\x8e\x8e\x71\x61\xff\xaa\x71\x34\xd8\x44\x5b\x09\xa4\x45\x30\x57\x71\x06\xf4\x36\x98\xeb\x4c\x4b\x2c\xed\x61\x45\xaf\x2b\xb3\xf4\xc2\xe1\xe9\x95\x80\x39\x0a\xb9\xaf\xf7\xd5\x6c\x5a\x6d\xc3\xa9\x4a\xd9\xb4\xd8\x88\x11\x0a\xdf\x2d\x16\xb0\x39\x82\xf0\xfd\x8a\xb5\x9c\x2f\x45\x5f\xf4\x9f\x23\xa5\x4d\x39\x44\xe8\xab\x49\x95\xd2\x23\xa1\x6f\x20\x09\x52\x20\xd7\x15\x07\xb9\xb7\x72\x1d\x42\xd2\xcf\x28\x24\x1d\xb1\x77\x88\xbd\x43\xec\x1d\x62\xef\xa0\x92\x6e\x5a\x45\xbd\x0c\x74\x39\x8d\x22\x87\x38\x9d\x5d\x71\x3a\xc3\x51\xe2\x32\xe3\x7a\xeb\xd1\x39\xb1\xe0\x6e\x45\x06\xdb\x5f\xe1\x52\x0f\x79\x81\xba\x85\xdd\x07\x76\x98\x03\x16\xb1\x27\x06\x64\x86\x79\x09\x03\x25\x4b\xbd\x51\x72\x1b\x7d\x4c\x13\xd8\xd9\x17\xce\x09\xc0\x3b\x38\xc0\x4b\x6e\x24\x07\x95\xe5\x9d\xd2\xbd\x3f\x6f\xdf\xcd\x97\x22\xf6\x44\xa3\x2b\x93\x34\xe6\xa9\xf0\x7c\x67\xda\xfc\x1e\xf5\xf7\xb3\xb9\x92\xce\x8d\x26\xa7\x64\xc4\xe3\xd4\xa7\x28\x2f\xed\xf2\xf4\xe2\x13\x93\xde\xdf\x57\x0b\x65\x57\x58\x7a\x8b\x44\x7a\x5b\x76\x4d\x62\xb0\x5b\x8e\xdc\x6e\x79\x3e\x3c\xba\x12\x50\x61\x17\x97\x0e\xfa\x51\x9b\x51\x1e\x48\xfe\x7a\xc3\x46\xf5\x86\xac\x36\x3a\xd2\x97\x07\x74\x67\x28\xc3\xa9\xbe\x9b\xae\x20\xc3\x69\xc2\x5e\xff\x96\xc8\xf0\x56\xc7\x53\x7f\x55\x5b\xa2\xf9\xfb\x87\xdd\x28\xf3\x7f\x7c\xd3\x27\x50\xde\x7c\xde\x7c\x96\xb1\x43\x96\x65\x4f\xd2\xe0\x4b\x76\x77\xb1\x50\xff\x76\x77\xc1\x6e\x4a\xbd\x49\xee\xda\xda\x0c\xbc\x4a\xf2\xd8\xd1\x29\x77\x68\x00\x28\x22\x37\xf0\x1d\x63\xd8\x12\x81\x9b\x30\xf9\x64\xc6\x56\x47\xac\x46\x42\x46\x81\x98\x31\xfd\x4e\x0a\xc4\xb7\x73\x8a\x9c\xa6\x6b\x07\x22\x7b\xfd\x21\xdd\xab\x5e\x34\x5e\x17\x57\x28\x5c\xc3\x56\xb8\xa2\x8a\xf7\xf1\x60\x54\xae\x55\xeb\x46\x93\x28\xe0\xce\xcb\xa5\x40\xf3\x9c\x73\x93\x03\xe1\x9e\x08\x71\xf0\x6c\xc5\xc1\x1e\x49\x5d\x10\x0e\xb2\x5f\xe0\x9e\x08\x01\x47\x0b\x0a\x83\x11\x6f\x5e\xb1\x6e\x1c\xfb\xae\x12\x4d\x07\x0b\xfe\x7d\xdd\x50\x27\xfd\x1e\x7b\xec\x1d\x97\x3f\x19\x02\x8a\x7d\x0f\x7b\xc6\x0b\xf7\x0c\x50\x28\x50\xa8\xfd\xda\x0c\x0a\x05\x0a\xd5\x0e\x85\x6a\xef\x04\x3d\x80\x47\xd5\x1c\xa1\x83\xb4\x46\x80\x4a\xc1\x0c\x71\x7e\x66\x08\x50\xa9\x36\xe7\x0d\xa8\x14\x0c\x4f\x50\xc0\x4e\xa3\x80\x81\x4a\x55\xa8\x54\x9b\x76\x95\x03\xf8\xd4\x58\xe4\x42\x50\x2a\x88\x87\x67\x2b\x1e\xf6\x48\x0a\x83\xb0\x90\xfd\x02\x4a\x05\x81\x67\x74\x94\x8a\xb2\x12\x6e\x84\x52\x9d\x62\x28\x93\xcb\x3a\x74\xfd\x47\xdf\x5d\xf1\xa0\x98\x17\x93\x67\xd9\xeb\x37\xf4\xc3\xac\x10\x4d\xfd\x2e\x8b\xc3\x9e\xd0\x33\x27\x79\x55\x93\x52\x99\x8a\x4c\xbe\x62\x7e\x98\xa4\x82\x97\x4c\xaa\x55\xe9\xeb\x69\xcd\x26\xb7\x25\x19\xe2\x67\x19\xdf\x04\x41\x26\x9c\xf5\x02\x6d\x6d\xbc\xe1\xbc\x52\x5a\x6e\x31\x30\x52\x46\xd6\x4f\x8f\x22\x3c\xe7\x64\x96\x34\x86\xe7\x93\xd1\x12\xa5\xc4\x46\x5c\x4a\x6c\x37\x14\xdb\x55\x46\x6c\xab\x65\xad\x05\xe0\x87\xe2\x61\x28\x1e\x86\xe2\x61\x28\x1e\x36\xb6\xe2\x61\xbb\x77\xde\xda\xc2\x61\x1d\xbb\x57\x1c\xad\x5c\xd8\xee\xe6\x6f\x2e\x15\xd6\xe7\x3e\xd8\xa7\x40\xd8\xee\x3e\xd8\x5c\x1c\xac\xe3\x3e\x40\x49\x30\x94\x04\x43\x49\x30\x94\x04\x43\x49\xb0\xce\x4a\x82\x35\xd8\xfd\xd7\xca\x81\x6d\x4d\xdc\x78\x46\xde\x95\xcd\x5a\x33\xe2\x92\x66\xbb\xbb\x7b\x5b\x39\xb3\xe3\xf6\x3b\x8a\x98\x75\x32\xa2\xeb\x05\xcc\x3a\x1e\xd6\x93\x96\x2d\xdb\xdd\x3d\x5b\x4a\x96\x75\xbd\x6d\xf6\xb5\x50\xd9\xee\x4e\xab\xa1\x19\x07\xdb\xf3\xcc\x5f\x7f\x37\x45\x68\x7b\x86\x7b\x81\xac\xed\xe3\xd5\xf4\x7b\x85\x4f\x80\xa9\x81\xa9\x31\x30\x35\x30\x35\x30\x35\x30\x35\x30\x35\x30\x35\x30\x35\x30\x35\x30\xb5\xf2\x76\xdb\x43\x9e\x04\xa6\x06\xa6\x06\xa6\x06\xa6\x06\xa6\x06\xa6\x06\xa6\x36\x44\xa6\x86\x54\x2d\x80\x89\x80\x89\x80\x89\xbd\x1e\x51\xc0\xc4\x72\xf7\x00\x26\x8e\x1b\x26\xd6\x14\x85\xee\x88\x29\x16\x41\x62\x68\x45\x20\xb9\x60\x0f\x7e\xb8\x31\xc5\x41\x2b\x40\xf1\x32\x57\x80\x48\xc9\x33\xc2\xb2\xd2\xa1\x72\xcd\x6e\x52\xb2\x08\x14\x9e\xdd\x32\x8e\x04\x8a\x04\x8a\x1c\x12\x8a\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x04\x86\x1c\x1e\x86\x44\x39\x0c\x30\x56\x30\xd6\xe1\x10\x39\x30\x56\x30\x56\x30\x56\x30\xd6\x4a\xa7\x9d\x82\xb1\xbe\x9d\x8b\x94\x5f\x5f\x1d\x04\x4b\x4f\x92\xe0\xb8\x32\xda\x9e\x48\xcb\x8a\x8b\x1e\xd8\x2d\x84\xd3\x13\x69\x91\x6f\xea\x0e\xb8\xb9\xfd\xf2\xbd\xee\x5e\xe4\x76\xde\x13\x33\x16\x3a\x92\xc2\x54\xc7\xc4\x1a\xf5\x54\x29\xdc\xfc\xaa\xf8\x01\xbb\x17\xd9\x49\xa2\x9f\xb5\xed\x2b\x36\xda\xb3\x55\xae\x76\x38\x29\x6c\x59\x3e\xea\x79\xeb\xeb\x67\xc3\x73\x90\x09\xb8\x3a\x3a\xbd\x59\xc3\xe5\xdc\xe6\x7a\x14\x37\x25\x38\x1f\xff\x4a\xde\xed\x3a\xd0\xdf\x00\xe6\x6a\x63\xe0\x3e\x00\xf7\x01\xb8\x0f\xc0\x7d\x00\xee\x03\x70\x1f\x80\xfb\x00\xdc\x07\x76\xef\xb6\x70\x1f\x80\xfb\x00\xdc\x07\xe0\x3e\x00\xf7\x01\xb8\x0f\xc0\x7d\xe0\xec\xdc\x07\x00\x9a\x01\x9a\x01\x9a\x87\x31\xa2\x00\xcd\xe5\xee\x01\x68\x1e\x16\x68\x7e\x41\x62\x60\x2d\xfe\xb4\x4b\xc7\xf4\x33\x99\x23\x03\xa5\x6d\x99\x59\xbb\x3f\x14\xd3\x8f\x59\xc7\x62\x1f\xb2\xe7\xee\x17\x45\xdb\x69\x91\xf2\x4e\xb8\xef\x47\xea\x81\x6f\xd4\xb1\x49\x2b\x75\xc8\x61\x02\x86\x09\x18\x26\x60\x98\x80\xc7\x66\x02\x6e\x56\xc1\xbe\xd6\x0c\xfc\xc2\xea\xf5\xcd\xf7\xde\xbf\x54\xc7\x19\xe5\xf7\x92\x52\xe7\x3b\x6a\x46\xe9\x79\x50\x6a\x5b\x11\xb7\xce\x05\x8b\x54\x6f\x25\x4a\x4f\x64\x37\x21\xf3\x43\xbd\xb3\xc8\x98\xad\xc2\x6c\x73\x72\x99\x1b\x3f\x7f\x5f\x85\xcc\xf5\x63\x75\x38\x3e\x8a\x6c\xc6\xab\xed\x93\x4c\x15\x66\xc9\xdb\xb9\x61\x3a\x98\x2d\x56\x31\xad\xb2\x28\x96\x8e\x48\xc8\xa6\x60\xa4\x4c\x33\xcb\x66\xec\x4f\x7a\x23\x8d\x16\xcd\x9d\x77\x6c\xca\x6e\x82\xe0\x1d\x59\x0c\x5c\xb5\x4b\xaf\x42\x35\xf0\x4a\x5e\xb3\x53\xd2\x3c\x6e\xbd\x74\x7c\x83\x81\xd2\x6d\x39\xcd\x30\x1d\xcd\x6e\xdf\xac\x2b\x36\xdb\xee\x8f\xd6\x23\x7f\x14\x15\x10\x5f\x29\xff\xa4\x17\xb0\xb9\x58\x68\x07\x83\xcc\xc6\x93\x8b\x12\x66\xf7\xa2\xa9\xb3\x12\xfa\x70\x98\x2b\xd1\x3b\x9c\x86\xc2\xe3\x34\x41\x8d\x0a\xa1\xb4\x1d\x7b\x82\x6a\x7b\x6f\xb6\x34\x8c\x24\xe9\x2f\x97\xc2\xf5\x79\x2a\x82\xe7\x9c\xfc\xe7\x47\xae\x1f\x5c\x1a\x15\x81\x3a\x9d\x79\x31\x77\x68\xd5\xf8\xd2\xcd\x04\x82\xfc\xd0\x26\xb7\x0a\x3b\x4b\x57\x89\xfa\xc8\xe2\x70\x71\x75\xa7\x6d\x90\x79\xc9\x42\xef\x81\xf6\x11\x33\xfd\x9d\x4b\xc1\xc3\xda\x6f\x3c\x60\x98\xe9\x9b\x6f\xe9\x93\xeb\xd4\xae\x1d\x8a\x57\x5f\xa6\xff\x3e\xc8\xa6\x59\xbf\x6c\xc6\x36\x47\x9b\xfe\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x9d\x01\x9c\x86\x67\xc1\x1a\xc4\x39\xde\xb1\xf8\xb1\x90\x5f\x2e\x0a\x04\x4f\x44\xb6\x05\xdd\xc6\x32\xe2\x1e\x49\x47\xb7\x32\xf0\x9d\xe7\x92\xbb\xa0\x9d\x74\x79\x82\x3a\x35\xed\xae\x67\xbf\xcc\xd8\x0f\xbd\x9f\x69\xd1\x25\x12\xa1\x5a\x2c\xf9\x99\x2a\x98\x8c\xa3\x7b\x1e\x5a\xf7\xc5\x78\x25\xae\x16\x3c\xb0\xba\xf2\xdd\x85\xfe\xf9\xee\x82\x2d\xfc\x90\x07\xfe\x3f\xf6\x20\x99\x0b\xc6\x5d\xb2\xea\xcb\x2b\x6d\xf1\x74\x73\x35\x4c\x3f\x7e\x92\xe4\x37\x69\xfd\x74\xc6\x3e\xf9\xb4\x39\x16\x3e\x5d\xc6\xeb\x6d\xcb\x19\x4e\xaa\xd5\x63\xd2\x51\x64\x7a\x7f\xc8\x80\xea\x16\x7c\xb4\x6d\xdf\x28\xf2\xd4\xd9\x4f\xdb\x55\xcc\xa8\xe9\x6a\xc1\xde\xcb\x27\xe6\xf1\x78\xce\xbd\x92\x01\x33\x53\x6a\x44\xbc\x90\xf1\x52\x8d\x49\x6d\x7f\x7d\xab\xb4\x68\x73\x77\x91\xd0\x6b\x25\xd6\x48\xf7\xad\xaf\xa4\x49\xc7\x77\x73\x55\x98\x64\x05\x32\x4e\x64\x63\xac\x0e\x6b\x73\x92\x5a\x69\x60\x56\x18\x4c\x7b\x8e\x64\x10\x25\x73\xc5\x2d\xbf\x6c\xc6\x6e\x1c\x47\x44\x29\x9d\x4d\x45\xcd\x6e\xa2\xdb\x30\x61\x53\x33\x01\xcb\x13\x34\x79\xcf\x26\xbf\x72\xe7\xc1\x8b\xe5\x2a\x74\xd5\x55\xe4\xd6\x4a\x17\x55\x3a\x4e\x8b\x90\x46\x3e\x2e\x3f\xc4\xb6\x60\x9e\x3d\xe9\x3d\x9b\x7c\x96\xb1\x28\x3c\x96\x39\x3c\x71\xb8\xab\x5a\x6f\xfa\x47\x7b\x3d\xd3\xf3\x12\xad\x7a\xae\x3d\x70\x91\x3d\xe3\x90\x09\x19\x55\xa7\xfb\x69\x24\xce\x11\xd3\xd6\x66\xe3\xb0\x8d\xb8\x9e\x6a\x14\xc0\x5e\x3b\x1b\xdf\x75\xfe\x7a\x3c\xdb\xc6\x29\x49\x6c\xb3\xce\xda\x42\x63\x5f\x2a\xff\xd4\xd2\x3c\x84\x67\xee\x89\xe9\x7e\xa4\x3c\x5d\x35\xe5\x73\xa3\x8d\xe5\xd2\xe7\x72\x2e\x33\x0d\x35\xae\x6b\xa0\xc1\xa2\x9d\xb0\x70\xc4\xaf\x9d\x4f\xfc\x5a\xb3\xc3\x68\x57\x0c\xdb\xf1\xb4\x36\xb8\x32\xc0\x95\x01\xae\x0c\x70\x65\x80\x2b\x43\xdd\xe6\x0b\x46\x3e\xa0\x1e\x01\x36\x05\x36\x05\x36\x05\x36\x05\x36\x05\x36\x1d\x17\x36\x05\xc9\x00\xc9\x00\xc9\x00\xc9\xe8\x9c\x64\xec\x41\xfb\x7b\x1a\x61\xd6\xac\x0b\xd7\xa3\xcc\x5e\x6a\x71\xeb\x15\x03\xda\x78\x03\xf2\x08\x22\x8f\x20\xf2\x08\x22\x7b\xff\x30\x92\x2a\x98\xbf\xfe\xce\x07\x59\x26\x2d\x53\x45\xad\xd5\x31\x7e\x00\x40\xd4\xb7\x1e\x09\x21\x1e\x16\x4e\xbb\x65\x8a\x1d\x6d\x63\x6d\x25\xe0\x16\x41\x5f\xc5\x69\xd0\xdb\xa0\x2f\xb2\xf4\x7c\xe5\x21\xf7\x44\xac\x6d\x96\x7a\x73\x4d\x12\xe9\xf8\xa4\x84\x67\xd6\x41\x4e\x46\x5e\x19\x33\x11\xa6\x4a\x2a\xb6\x56\x89\x25\x7f\x50\xbd\x98\xde\x8b\x44\x58\xd1\xb2\x18\xda\x64\x43\xa0\x48\xb4\x26\x4b\xa0\x8c\xd9\xf5\xdb\x7f\xa9\x6b\x63\xee\x10\xfa\x0b\x64\xe8\x69\x41\x92\xac\x75\x8e\x9a\x94\x7e\xa8\x77\x34\xb2\x86\xe5\xd7\x12\x0e\x31\x60\x92\xcd\x9f\x33\x5d\xc9\x93\x01\x0f\xbd\x99\x8c\xbd\xab\xe8\xc1\xbb\x5a\x85\xbe\x23\x5d\x71\xf5\xd3\x97\xe4\x56\x3d\xe5\x60\xf3\xba\xe9\x9c\x36\x87\xa7\x57\x92\xe7\x78\x04\xc2\xa6\xc2\xe0\xdb\x06\xc2\xe0\x07\x6d\x3b\xec\x7b\x43\xde\xee\x6c\x88\x76\x76\xee\x7b\x4b\xc6\x2a\x9f\x93\xf8\x33\x2c\xf9\xfc\x15\xeb\x22\xf5\x8a\xbe\xe8\x3f\x47\xca\xc0\x72\x88\x70\xb8\x29\xeb\x4a\x8f\x84\xc3\x81\xe4\x5a\x81\xe8\x57\x1c\xe4\xde\x8a\x7e\x88\x6e\x3f\xa3\xe8\x76\x84\xf1\x21\x8c\x0f\x61\x7c\x08\xe3\x83\xd6\xba\x69\x15\xf5\x32\x66\xe6\x34\x1a\x1e\x42\x7e\xec\x85\x5b\x43\x7e\x06\xa6\xd8\x65\x36\xf9\xd6\x03\x7d\x62\xc1\xdd\x8a\x34\xb6\xbf\xfe\xa5\x1e\xf2\x52\xed\x0b\x9b\x11\xec\x35\x2f\x5a\xd8\x9e\x18\x9a\xb9\xe6\x25\x38\x15\x95\xde\xc1\x8a\xfb\xc4\x8a\xc9\x41\xe5\xa0\x62\xc1\x53\xba\xf7\xe7\xed\x9b\xfb\x52\xc4\x9e\x68\x74\x65\x92\xc6\x3c\x15\x9e\xef\x4c\x9b\xdf\xa3\xfe\x7e\x36\x57\xd2\x31\xd2\xe4\xe4\x8c\x78\x9c\xfa\x14\x3f\xa6\x9d\xa9\x5e\x7c\x8a\xd2\xfb\x7b\x6d\xc4\xec\x8a\x70\x6f\x11\x5a\x6f\xcb\x9e\x4f\x0c\xa6\xcd\x91\x9b\x36\xcf\x87\x6a\x57\xe2\x35\xec\xe2\xd2\x31\x45\x6a\x47\xca\xe3\xd4\x5f\x6f\xd8\xad\xde\x90\x61\x47\x07\x12\xf3\x80\xee\x0c\x65\x38\xd5\x77\xd3\x15\x64\x5b\x4d\xd8\xeb\xdf\x12\x19\xde\xea\x70\xed\xaf\x6a\x5f\x34\x7f\xff\xb0\xbb\x65\xfe\x8f\x6f\xfa\x84\xdb\x9b\xcf\x9b\xcf\x32\x76\xc8\xf8\xec\x49\x1a\x7c\xc9\xee\x2e\x16\xea\xdf\xee\x2e\xd8\x4d\xa9\x37\xc9\x1b\x5c\x5b\x8a\x57\x49\x1e\x9a\x3a\xe5\x0e\x0d\x00\x05\xfc\x06\xbe\x63\x6c\x5f\x22\x70\x13\x26\x9f\xcc\xd8\xea\x80\xd8\x48\xc8\x28\x10\x33\xa6\xdf\x49\x71\xfe\x76\x4e\x91\x4f\x76\xed\x40\x64\xaf\x3f\xa4\x7b\xd5\x8b\xc6\xeb\x41\x0b\x25\xac\xae\x0d\x43\x54\xc2\xa2\x8a\x9b\xf3\xb0\xd4\xb0\x55\xeb\xc6\x95\x28\xe0\xce\xcb\x25\x43\xf3\x9c\xb3\x94\x0d\xe1\xfd\x08\x39\xb1\x6e\x98\xce\x47\x4e\xec\x91\x38\x06\xa9\x21\xfb\x05\xde\x8f\x10\x7f\xd6\xc5\x9f\xd5\xd0\x6c\xd0\xaf\x58\x87\x2e\x83\x57\x89\x46\x8e\x05\xcf\xc1\x6e\x00\x96\x7e\x8f\x3d\x0f\x4f\x80\xb2\x0c\x5b\xc5\xae\x88\xcd\x24\x1f\x2d\x00\x2d\x00\x2d\x00\x2d\x00\xad\xba\x0b\x87\x00\xb4\xda\x3b\x55\x0f\x45\x5b\x35\xc7\xea\x20\x8d\x18\x00\x5c\x30\x5c\x9c\x9f\xe1\x02\x80\xab\xcd\x79\x03\xc0\x05\x53\x15\x94\xb2\x53\x2b\x65\x00\x5c\x75\x80\xab\x4d\xfb\xcb\xa1\xa8\x6b\x2c\xb2\x22\x80\x17\xe4\xc6\xba\x61\x3a\x1f\xb9\xb1\x47\xe2\x19\xa4\x88\xec\x17\x00\x2f\x88\x43\xe7\x03\xbc\x28\xe3\xe2\x46\xbe\xd5\x29\xd1\x32\x79\xba\x43\xd7\x7f\xf4\xdd\x15\x0f\x8a\x39\x3f\x79\x96\x99\x7f\x43\x8f\xcc\x0a\xd1\xde\xef\xb2\x38\xf1\x09\x3d\x73\x92\x57\x6c\x29\x95\xe0\xc8\x44\x30\xe6\x87\x49\x2a\x78\xc9\x12\x5b\x15\xd0\x9e\xea\x4d\x79\x5b\x12\x3d\x7e\x96\xf1\x4d\x10\x64\xf2\x5b\x2f\x28\xd9\xc6\x1b\xce\x2b\x67\xe7\x16\xbb\x24\xa5\x9c\xfd\xf4\x28\xc2\xb3\x4f\xd4\x49\x03\x79\x66\xd9\x3a\x51\x35\x6d\xc4\x55\xd3\x76\xa3\xb5\x5d\x15\xd3\xb6\x9a\xe6\x5a\xc0\x86\xa8\x93\x86\x3a\x69\xa8\x93\x86\x3a\x69\x63\xab\x93\xb6\x7b\xe7\xad\xad\x91\xd6\xb1\x93\xc6\xd1\x2a\xa3\xed\x6e\xfe\xe6\xaa\x68\x7d\xee\x83\x7d\x6a\xa1\xed\xee\x83\xcd\x75\xd0\x3a\xee\x03\x54\x3f\x43\xf5\x33\x54\x3f\x43\xf5\x33\x54\x3f\xeb\xac\xfa\x59\x83\xdd\x7f\xad\xf2\xd9\xd6\x3c\x93\x67\xe4\xa3\xd9\xac\x35\x23\xae\xde\xb6\xbb\xbb\xb7\x55\x6e\x3b\x6e\xbf\xa3\x5e\x5b\x27\x23\xba\x5e\xab\xad\xe3\x61\x3d\x69\x85\xb6\xdd\xdd\xb3\xa5\x3a\x5b\xd7\xdb\x66\x5f\x6b\xb2\xed\xee\xb4\x1a\xae\x71\xb0\x3d\xcf\xfc\xf5\xf7\x5e\x58\x6d\xcf\x68\x32\xd0\xb6\xbd\x9d\xa1\x7e\xaf\xe0\x0a\x70\x36\x70\x36\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\x06\xce\xd6\xa9\xc1\x18\x49\x60\x00\x18\x01\x18\x01\x18\x7b\x3d\xa2\x00\x8c\xe5\xee\x01\x60\x3c\x03\xc0\x58\x53\xe1\xba\x23\xce\x58\x84\x8b\xa1\x95\x83\xe4\x82\x3d\xf8\xe1\xc6\x6c\x09\xad\x40\xc6\xcb\x5c\x0b\x22\x4d\xcf\x48\xcc\x4a\x91\xca\xd5\xbb\x49\xc9\x2c\x50\x78\x76\x17\x88\x12\x78\x12\x78\x72\x70\x78\x12\x68\x12\x68\x12\x68\x92\x01\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x02\x4d\x0e\x13\x4d\xa2\xf8\x06\xb8\x2b\xb8\xeb\x70\x28\x1d\xb8\x2b\xb8\x2b\xb8\x2b\xb8\x6b\xa5\xd3\x4e\xc6\x5d\xdf\x5e\x1d\xc4\x4e\x4f\x92\x30\xb9\x32\xda\x9e\x48\xcb\x8a\x8b\x1e\xd8\x2d\xc0\xd3\x13\xe9\x1a\xee\x7c\x7b\x73\xfb\xe5\x7b\xdd\xbd\xc8\x15\xbd\x27\x70\x2c\x74\x24\x05\xb1\x8e\x8e\x3a\xbe\x2d\xdc\xfc\xaa\xf8\x01\xbb\x17\xd9\x49\x02\xa4\xb5\xed\x2b\x36\xda\xb3\x55\xae\x76\xf8\x2c\x6c\x59\x3e\xea\x79\xeb\xeb\x67\xc3\x73\x90\x3b\xb8\x3a\x3a\xbd\x59\xc3\x35\x69\xd2\xdf\x6e\x4a\x93\x3e\xfe\x95\xbc\xdb\x7f\xa0\xe7\x91\xcd\x6f\xe1\x3e\x00\xf7\x01\xb8\x0f\xc0\x7d\x00\xee\x03\x70\x1f\x80\xfb\x00\xdc\x07\xf6\xd9\x6d\xe1\x3e\x00\xf7\x01\xb8\x0f\xc0\x7d\x00\xee\x03\x70\x1f\x80\xfb\xc0\xd9\xb9\x0f\x00\x34\x03\x34\x03\x34\x0f\x63\x44\x01\x9a\xcb\xdd\x03\xd0\x3c\x2c\xd0\xfc\x82\xdc\xc1\x5a\xfc\x69\x97\x8e\xe9\x67\x32\x47\x06\x4a\xdb\x32\xb3\x76\x7f\x28\xa6\x1f\xb3\x8e\xc5\x3e\x64\xcf\xdd\x2f\x9e\xb6\xd3\xca\xe7\x9d\x70\xdf\x8f\xd4\x03\xdf\xa8\x63\x93\x56\xea\x9a\xc3\x04\x0c\x13\x30\x4c\xc0\x30\x01\x8f\xcd\x04\xdc\xac\x22\x7e\xad\x19\xf8\x85\xd5\xf0\x9b\xef\xbd\x7f\xa9\x8e\x33\xca\xef\x25\x65\xd7\x77\xd4\x8c\xd2\xf3\xa0\xd4\xb6\x22\x6e\x9d\x0b\x16\xa9\xde\x4a\x94\x9e\xc8\x6e\x42\xe6\x87\x7a\x67\x91\x31\x5b\x85\xd9\xe6\xe4\x32\x37\x7e\xfe\xbe\x0a\x99\xeb\xc7\xea\x70\x7c\x14\xd9\x8c\x57\xdb\x27\x99\x2a\xcc\x92\xb7\x73\xc3\x74\x30\x5b\xac\x62\x5a\x65\x51\x2c\x1d\x91\x90\x4d\xc1\x48\x99\x66\x96\xcd\xd8\x9f\xf4\x46\x1a\x2d\x9a\x3b\xef\xd8\x94\xdd\x04\xc1\x3b\xb2\x18\xb8\x6a\x97\x5e\x85\x6a\xe0\x95\xbc\x66\xa7\xa4\x79\xdc\x7a\x15\xfa\x06\x03\xa5\xdb\x72\x9a\x61\x3a\x9a\xdd\xbe\x59\x57\x6c\xb6\xdd\x1f\xad\x47\xfe\x28\x2a\x20\xbe\x52\xfe\x49\x2f\x60\x73\xb1\xd0\x0e\x06\x99\x8d\x27\x17\x25\xcc\xee\x45\x53\x67\x25\xf4\xe1\x30\x57\xa2\x77\x38\x0d\x85\xc7\x69\x82\x1a\x15\x42\x69\x3b\xf6\x04\xd5\xf6\xde\x6c\x69\x18\x49\xd2\x5f\x2e\x85\xeb\xf3\x54\x04\xcf\x39\xf9\xcf\x8f\x5c\x3f\xb8\x34\x2a\x02\x75\x3a\xf3\x62\xee\xd0\xaa\xf1\xa5\x9b\x09\x04\xf9\xa1\x4d\x6e\x15\x76\x96\xae\x12\xf5\x91\xc5\xe1\xe2\xea\x4e\xdb\x20\xf3\x92\x85\xde\x03\xed\x23\x66\xfa\x3b\x97\x82\x87\xb5\xdf\x78\xc0\x30\xd3\x37\xdf\xd2\x27\xd7\xa9\x5d\x3b\x14\xaf\xbe\x4c\xff\x7d\x90\x4d\xb3\x7e\xd9\x8c\x6d\x8e\x36\xfd\x01\x70\x00\x70\x00\x70\x00\x70\x00\x70\x3a\x03\x38\x0d\xcf\x82\x35\x88\x73\xbc\x63\xf1\x63\x21\xdd\x5c\x14\x08\x9e\x88\x6c\x0b\xba\x8d\x65\xc4\x3d\x92\x8e\x6e\x65\xe0\x3b\xcf\x25\x77\x41\x3b\xe9\xf2\x7c\x75\x6a\xda\x5d\xcf\x7e\x99\xb1\x1f\x7a\x3f\xd3\xa2\x4b\x24\x42\xb5\x58\xf2\x33\x55\x30\x19\x47\xf7\x3c\xb4\xee\x8b\xf1\x4a\x5c\x2d\x78\x60\x75\xe5\xbb\x0b\xfd\xf3\xdd\x05\x5b\xf8\x21\x0f\xfc\x7f\xec\x41\x32\x17\x8c\xbb\x64\xd5\x97\x57\xda\xe2\xe9\xe6\x6a\x98\x7e\xfc\x24\xc9\x6f\xd2\xfa\xe9\x8c\x7d\xf2\x69\x73\x2c\x7c\xba\x8c\xd7\xdb\x96\x33\x9c\x54\xab\xc7\xa4\xa3\xc8\xf4\xfe\x90\x01\xd5\x2d\xf8\x68\xdb\xbe\x51\xe4\xa9\xb3\x9f\xb6\xab\x98\x51\xd3\xd5\x82\xbd\x97\x4f\xcc\xe3\xf1\x9c\x7b\x25\x03\x66\xa6\xd4\x88\x78\x21\xe3\xa5\x1a\x93\xda\xfe\xfa\x56\x69\xd1\xe6\xee\x22\xa1\xd7\x4a\xac\x91\xee\x5b\x5f\x49\x93\x8e\xef\xe6\xaa\x30\xc9\x0a\x64\x9c\xc8\xc6\x58\x1d\xd6\xe6\x24\xb5\xd2\xc0\xac\x30\x98\xf6\x1c\xc9\x20\x4a\xe6\x8a\x5b\x7e\xd9\x8c\xdd\x38\x8e\x88\x52\x3a\x9b\x8a\x9a\xdd\x44\xb7\x61\xc2\xa6\x66\x02\x96\x27\x68\xf2\x9e\x4d\x7e\xe5\xce\x83\x17\xcb\x55\xe8\xaa\xab\xc8\xad\x95\x2e\xaa\x74\x9c\x16\x21\x8d\x7c\x5c\x7e\x88\x6d\xc1\x3c\x7b\xd2\x7b\x36\xf9\x2c\x63\x51\x78\x2c\x73\x78\xe2\x70\x57\xb5\xde\xf4\x8f\xf6\x7a\xa6\xe7\x25\x5a\xf5\x5c\x7b\xe0\x22\x7b\xc6\x21\x13\x32\xaa\x4e\xf7\xd3\x48\x9c\x23\xa6\xad\xcd\xc6\x61\x1b\x71\x3d\xd5\x28\x80\xbd\x76\x36\xbe\xeb\xfc\xf5\x78\xb6\x8d\x53\x92\xd8\x66\x9d\xb5\x85\xc6\xbe\x54\xfe\xa9\xa5\x79\x08\xcf\xdc\x13\xd3\xfd\x48\x79\xba\x6a\xca\xe7\x46\x1b\xcb\xa5\xcf\xe5\x5c\x66\x1a\x6a\x5c\xd7\x40\x83\x45\x3b\x61\xe1\x88\x5f\x3b\x9f\xf8\xb5\x66\x87\xd1\xae\x18\xb6\xe3\x69\x6d\x70\x65\x80\x2b\x03\x5c\x19\xe0\xca\x00\x57\x86\xba\xcd\x17\x8c\x7c\x40\x3d\x02\x6c\x0a\x6c\x0a\x6c\x0a\x6c\x0a\x6c\x0a\x6c\x3a\x2e\x6c\x0a\x92\x01\x92\x01\x92\x01\x92\xd1\x39\xc9\xd8\x83\xf6\xf7\x34\xc2\xac\x59\x17\xae\x47\x99\xbd\xd4\xe2\xd6\x2b\x06\xb4\xf1\x06\xe4\x11\x44\x1e\x41\xe4\x11\x44\xf6\xfe\x61\x24\x55\x30\x7f\xfd\x9d\x0f\xb2\x4c\x5a\xa6\x8a\x5a\xab\x63\xfc\x00\x80\xa8\x6f\x3d\x12\x42\x3c\x2c\x9c\x76\xcb\x14\x3b\xda\xc6\xda\x4a\xc0\x2d\x82\xbe\x8a\xd3\xa0\xb7\x41\x5f\x64\xe9\xf9\xca\x43\xee\x89\x58\xdb\x2c\xf5\xe6\x9a\x24\xd2\xf1\x49\x09\xcf\xac\x83\x9c\x8c\xbc\x32\x66\x22\x4c\x95\x54\x6c\xad\x12\x4b\xfe\xa0\x7a\x31\xbd\x17\x89\xb0\xa2\x65\x31\xb4\xc9\x86\x40\x91\x68\x4d\x96\x40\x19\xb3\xeb\xb7\xff\x52\xd7\xc6\xdc\x21\xf4\x17\xc8\xd0\xd3\x82\x24\x59\xeb\x1c\x35\x29\xfd\x50\xef\x68\x64\x0d\xcb\xaf\x25\x1c\x62\xc0\x24\x9b\x3f\x67\xba\x92\x27\x03\x1e\x7a\x33\x19\x7b\x57\xd1\x83\x77\xb5\x0a\x7d\x47\xba\xe2\xea\xa7\x2f\xc9\xad\x7a\xca\xc1\xe6\x75\xd3\x39\x6d\x0e\x4f\xaf\x24\xcf\xf1\x08\x84\x4d\x85\xc1\xb7\x0d\x84\xc1\x0f\xda\x76\xd8\xf7\x86\xbc\xdd\xd9\x10\xed\xec\xdc\xf7\x96\x8c\x55\x3e\x27\xf1\x67\x58\xf2\xf9\x2b\xd6\x45\xea\x15\x7d\xd1\x7f\x8e\x94\x81\xe5\x10\xe1\x70\x53\xd6\x95\x1e\x09\x87\x03\xc9\xb5\x02\xd1\xaf\x38\xc8\xbd\x15\xfd\x10\xdd\x7e\x46\xd1\xed\x08\xe3\x43\x18\x1f\xc2\xf8\x10\xc6\x07\xad\x75\xd3\x2a\xea\x65\xcc\xcc\x69\x34\x3c\x84\xfc\xd8\x0b\xb7\x86\xfc\x0c\x4c\xb1\xcb\x6c\xf2\xad\x07\xfa\xc4\x82\xbb\x15\x69\x6c\x7f\xfd\x4b\x3d\xe4\xa5\xda\x17\x36\x23\xd8\x6b\x5e\xb4\xb0\x3d\x31\x34\x73\xcd\x4b\x70\x2a\x2a\xbd\x83\x15\xf7\x89\x15\x93\x83\xca\x41\xc5\x82\xa7\x74\xef\xcf\xdb\x37\xf7\xa5\x88\x3d\xd1\xe8\xca\x24\x8d\x79\x2a\x3c\xdf\x99\x36\xbf\x47\xfd\xfd\x6c\xae\xa4\x63\xa4\xc9\xc9\x19\xf1\x38\xf5\x29\x7e\x4c\x3b\x53\xbd\xf8\x14\xa5\xf7\xf7\xda\x88\xd9\x15\xe1\xde\x22\xb4\xde\x96\x3d\x9f\x18\x4c\x9b\x23\x37\x6d\x9e\x0f\xd5\xae\xc4\x6b\xd8\xc5\xa5\x63\x8a\xd4\x8e\x94\xc7\xa9\xbf\xde\xb0\x5b\xbd\x21\xc3\x8e\x0e\x24\xe6\x01\xdd\x19\xca\x70\xaa\xef\xa6\x2b\xc8\xb6\x9a\xb0\xd7\xbf\x25\x32\xbc\xd5\xe1\xda\x5f\xd5\xbe\x68\xfe\xfe\x61\x77\xcb\xfc\x1f\xdf\xf4\x09\xb7\x37\x9f\x37\x9f\x65\xec\x90\xf1\xd9\x93\x34\xf8\x92\xdd\x5d\x2c\xd4\xbf\xdd\x5d\xb0\x9b\x52\x6f\x92\x37\xb8\xb6\x14\xaf\x92\x3c\x34\x75\xca\x1d\x1a\x00\x0a\xf8\x0d\x7c\xc7\xd8\xbe\x44\xe0\x26\x4c\x3e\x99\xb1\xd5\x01\xb1\x91\x90\x51\x20\x66\x4c\xbf\x93\xe2\xfc\xed\x9c\x22\x9f\xec\xda\x81\xc8\x5e\x7f\x48\xf7\xaa\x17\x8d\xd7\x83\x16\x4a\x58\x5d\x1b\x86\xa8\x84\x45\x15\x37\xe7\x61\xa9\x61\xab\xd6\x8d\x2b\x51\xc0\x9d\x97\x4b\x86\xe6\x39\x67\x29\x1b\xc2\xfb\x11\x72\x62\xdd\x30\x9d\x8f\x9c\xd8\x23\x71\x0c\x52\x43\xf6\x0b\xbc\x1f\x21\xfe\xac\x8b\x3f\xab\xa1\xd9\xa0\x5f\xb1\x0e\x5d\x06\xaf\x12\x8d\x1c\x0b\x9e\x83\xdd\x00\x2c\xfd\x1e\x7b\x1e\x9e\x00\x65\x19\xb6\x8a\x5d\x11\x9b\x49\x3e\x5a\x00\x5a\x00\x5a\x00\x5a\x00\x5a\x75\x17\x0e\x01\x68\xb5\x77\xaa\x1e\x8a\xb6\x6a\x8e\xd5\x41\x1a\x31\x00\xb8\x60\xb8\x38\x3f\xc3\x05\x00\x57\x9b\xf3\x06\x80\x0b\xa6\x2a\x28\x65\xa7\x56\xca\x00\xb8\xea\x00\x57\x9b\xf6\x97\x43\x51\xd7\x58\x64\x45\x00\x2f\xc8\x8d\x75\xc3\x74\x3e\x72\x63\x8f\xc4\x33\x48\x11\xd9\x2f\x00\x5e\x10\x87\xce\x07\x78\x51\xc6\xc5\x8d\x7c\xab\x53\xa2\x65\xf2\x74\x87\xae\xff\xe8\xbb\x2b\x1e\x14\x73\x7e\xf2\x2c\x33\xff\x86\x1e\x99\x15\xa2\xbd\xdf\x65\x71\xe2\x13\x7a\xe6\x24\xaf\xd8\x52\x2a\xc1\x91\x89\x60\xcc\x0f\x93\x54\xf0\x92\x25\xb6\x2a\xa0\x3d\xd5\x9b\xf2\xb6\x24\x7a\xfc\x2c\xe3\x9b\x20\xc8\xe4\xb7\x5e\x50\xb2\x8d\x37\x9c\x57\xce\xce\x2d\x76\x49\x4a\x39\xfb\xe9\x51\x84\x67\x9f\xa8\x93\x06\xf2\xcc\xb2\x75\xa2\x6a\xda\x88\xab\xa6\xed\x46\x6b\xbb\x2a\xa6\x6d\x35\xcd\xb5\x80\x0d\x51\x27\x0d\x75\xd2\x50\x27\x0d\x75\xd2\xc6\x56\x27\x6d\xf7\xce\x5b\x5b\x23\xad\x63\x27\x8d\xa3\x55\x46\xdb\xdd\xfc\xcd\x55\xd1\xfa\xdc\x07\xfb\xd4\x42\xdb\xdd\x07\x9b\xeb\xa0\x75\xdc\x07\xa8\x7e\x86\xea\x67\xa8\x7e\x86\xea\x67\xa8\x7e\xd6\x59\xf5\xb3\x06\xbb\xff\x5a\xe5\xb3\xad\x79\x26\xcf\xc8\x47\xb3\x59\x6b\x46\x5c\xbd\x6d\x77\x77\x6f\xab\xdc\x76\xdc\x7e\x47\xbd\xb6\x4e\x46\x74\xbd\x56\x5b\xc7\xc3\x7a\xd2\x0a\x6d\xbb\xbb\x67\x4b\x75\xb6\xae\xb7\xcd\xbe\xd6\x64\xdb\xdd\x69\x35\x5c\xe3\x60\x7b\x9e\xf9\xeb\xef\xbd\xb0\xda\x9e\xd1\x64\xa0\x6d\x7b\x3b\x43\xfd\x5e\xc1\x15\xe0\x6c\xe0\x6c\x0c\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\x0d\x9c\xad\x53\x83\x31\x92\xc0\x00\x30\x02\x30\x02\x30\xf6\x7a\x44\x01\x18\xcb\xdd\x03\xc0\x78\x06\x80\xb1\xa6\xc2\x75\x47\x9c\xb1\x08\x17\x43\x2b\x07\xc9\x05\x7b\xf0\xc3\x8d\xd9\x12\x5a\x81\x8c\x97\xb9\x16\x44\x9a\x9e\x91\x98\x95\x22\x95\xab\x77\x93\x92\x59\xa0\xf0\xec\x2e\x10\x25\xf0\x24\xf0\xe4\xe0\xf0\x24\xd0\x24\xd0\x24\xd0\x24\x03\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x04\x9a\x1c\x26\x9a\x44\xf1\x0d\x70\x57\x70\xd7\xe1\x50\x3a\x70\x57\x70\x57\x70\x57\x70\xd7\x4a\xa7\x1d\x89\xbb\xce\x89\xb1\x1e\x44\x4b\x4f\x92\x22\xb9\x32\xbe\x9e\x48\x99\x1f\x2e\x64\xbc\xcc\xe6\x33\x67\x9a\xce\x6c\xa6\x9c\x9e\x48\x7f\x25\xd0\x79\xfb\xe5\xbf\xaa\x97\x22\x1f\xf4\x9e\x50\x31\xeb\xc4\x81\x23\xc5\x79\x85\xed\xbe\x2a\xbe\xb2\x6e\xcd\x3c\x5e\x0f\x7b\xd9\x94\x34\x7c\xbd\x03\x36\x58\x33\x7f\x5e\xdf\xdc\x7e\xf9\x5e\x77\x03\x56\xce\xfe\x2b\xc7\x76\x24\x85\x78\x8f\x61\x01\xfd\xcf\xe3\xf5\x9e\x6b\xc8\x89\x65\xf8\xff\xe4\xbc\xdb\xc4\x00\xda\xe6\x1b\x1b\xab\x91\x35\x2a\x58\x5f\x9d\x0f\xb1\x0c\x7f\x93\xf3\x2d\xb3\x5f\xdd\x6f\xa6\xbf\xb9\x18\x89\xb0\xab\x5d\xde\x9b\x25\x37\xa3\xb9\xa5\x56\x98\x19\xab\x91\xae\xae\xdd\x6e\x2e\x6d\x05\xe0\xcf\xd7\xe7\x8c\xf5\x6f\x59\x5f\x3b\x15\x7f\x96\x6b\xb8\xb2\xc0\x95\x05\xae\x2c\x70\x65\x81\x2b\x0b\x5c\x59\xe0\xca\x02\x57\x96\x7d\x76\x5b\xb8\xb2\xc0\x95\x05\xae\x2c\x70\x65\x81\x2b\x0b\x5c\x59\xe0\xca\x72\x76\xae\x2c\x70\x7a\x80\xd3\x03\x9c\x1e\x86\x31\xa2\x70\x7a\x28\x77\x0f\x9c\x1e\xfa\xee\xf4\xf0\x78\x7d\x75\x62\xf0\xd4\x18\x3a\x01\x38\xd5\x74\x75\x0f\x81\x13\x60\x53\xa7\xb0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\xa9\xbd\xdd\x16\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\x09\xa0\xa9\x97\x23\x0a\xd0\x54\xee\x1e\x80\xa6\x01\x80\xa6\x0d\x49\x8c\xeb\x82\x9f\xb4\x8c\xd3\x2e\x86\xd2\xcf\x64\x8e\x0c\x94\x4a\x65\xa6\xe6\xee\xb0\x27\x7d\x9b\x0d\x7c\xca\x6e\xce\xd3\x01\xd7\x3c\x62\x83\xa5\x9d\x55\x31\x87\x1e\xa2\xb9\x74\x9f\xab\x20\xc6\x8e\x51\xdd\x6f\x9d\x04\xe2\x7d\xa4\x66\x7e\xa3\xde\x4a\x1a\xb2\x9b\xed\xd0\x06\xc6\x5b\x18\x6f\x61\xbc\x85\xf1\x76\x6c\xc6\xdb\x2d\x47\xeb\x2e\x03\xee\x76\x31\x6d\xfb\x11\xbb\xd7\xde\xfb\x97\xea\x38\xa3\xb6\x5e\x52\x31\x70\x47\xcd\x28\x3d\x0f\x4a\x6d\x2b\x82\xd2\xb9\x60\x91\xea\xad\x44\x69\x78\xec\x26\x64\x7e\xa8\x77\x16\x19\xb3\x55\x98\x6d\x4e\x2e\x73\xe3\xe7\xef\xab\x90\xb9\x7e\xac\x0e\xc3\x47\x91\xcd\x78\xb5\x7d\x92\x91\xc1\x2c\x79\x3b\x37\x4c\x07\xb3\xc5\x2a\xa6\x55\x16\xc5\xd2\x11\x09\x59\x03\x8c\x7c\x68\x66\xd9\x8c\xfd\x49\x6f\xa4\xd1\xa2\xb9\xf3\x8e\x4d\xd9\x4d\x10\xbc\x23\x5d\xdf\x55\xbb\xf4\x2a\x54\x03\xaf\x24\x2d\x3b\x25\xcd\xe3\x84\x7b\xc0\x40\xe9\xb6\x9c\x66\x98\x8e\x66\x71\x6f\xd6\x15\x9b\xad\xee\x47\xeb\x91\x3f\x8a\xaa\x83\xaf\xd4\x76\x92\xe8\xd9\x5c\x2c\xb4\x6b\x40\x66\x9d\xc9\x45\x09\xb3\x7b\xd1\xd4\x59\x09\x7d\x38\xcc\x95\xd0\x1c\x4e\x43\xe1\x71\x9a\xa0\x46\xf8\x57\x7a\x8a\x3d\x41\xb5\xa5\x36\x5b\x1a\x46\x3c\xf4\x97\x4b\xe1\xfa\x3c\x15\xc1\x73\xce\xec\xf3\x23\xd7\x0f\x2e\x8d\x70\x4f\x9d\xce\xbc\x98\x3b\xb4\x6a\x7c\xe9\x66\x02\x41\x7e\x68\x93\x43\x84\x9d\xa5\xab\x44\x7d\x64\x71\xb8\xb8\xba\xd3\x36\xc8\xbc\x64\xa1\xf7\x40\xfb\x88\x99\xfe\xce\xa5\xe0\x61\xed\x37\x1e\x30\xcc\xf4\xcd\xb7\xf4\xc9\x75\x0a\xd3\x0e\x95\xa9\x2f\xd3\x7f\x1f\xd8\xd2\xac\x5f\x36\x03\x97\xa3\x4d\x7f\xa0\x17\xa0\x17\xa0\x17\xa0\x17\xa0\x97\xce\xd0\x4b\xc3\xb3\x60\x0d\xbf\x1c\xef\x58\xfc\x58\xa8\x8e\x15\x05\x82\x27\x22\xdb\x82\x6e\x63\x19\x71\x8f\xa4\xa3\x5b\x19\xf8\xce\x73\xc9\xd1\xcf\x4e\xba\xbc\xbc\x96\x9a\x76\xd7\xb3\x5f\x66\xec\x87\xde\xcf\xb4\xe8\x12\x89\x50\x2d\x96\xfc\x4c\x15\x4c\xc6\xd1\x3d\x0f\xad\xe3\x61\xbc\x12\x57\x0b\x1e\x58\x5d\xf9\xee\x42\xff\x7c\x77\xc1\x16\x7e\xc8\x03\xff\x1f\x7b\x90\xcc\x05\xe3\x2e\xd9\xe3\xe5\x95\xb6\x55\xba\xb9\x1a\xa6\x1f\x3f\x49\xf2\x9b\xb4\x7e\x3a\x63\x9f\x7c\xda\x1c\x0b\x9f\x2e\xe3\xf5\xb6\xe5\xf4\x25\xd5\xea\x31\xe9\x28\x32\xbd\x3f\x64\x40\x75\x0b\x3e\xda\xb6\x6f\x14\x79\xea\x2c\x9f\xed\x2a\x66\xd4\x74\xb5\x60\xef\xe5\x13\xf3\x78\x3c\xe7\x5e\xc9\x2a\x99\x29\x35\x22\x5e\xc8\x78\xa9\xc6\xa4\xb6\xbf\xbe\x55\x5a\xb4\xb9\xbb\x48\xe8\xb5\x12\x6b\xa4\xfb\xd6\x57\xd2\xa4\xe3\xbb\xb9\x2a\x4c\xb2\x02\x19\x27\xb2\x31\x4e\x28\xb3\x20\xfd\x6a\xa5\x81\x59\x61\x30\xed\x39\x92\xe1\x8f\xcc\x89\xb6\xfc\xb2\x19\xbb\x71\x1c\x11\xa5\x74\x36\x15\x35\xbb\x89\x6e\xc3\x84\x4d\xcd\x04\x2c\x4f\xd0\xe4\x3d\x9b\xfc\xca\x9d\x07\x2f\x96\xab\xd0\x55\x57\x91\x43\x2a\x5d\x54\xe9\x38\x2d\x42\x1a\xf9\xb8\xfc\x10\xdb\x82\x79\xf6\xa4\xf7\x6c\xf2\x59\xc6\xa2\xf0\x58\xe6\xf0\xc4\xe1\xae\x6a\xbd\xe9\x1f\xed\xaf\x4c\xcf\x4b\xb4\xea\xb9\xf6\xc0\x45\xf6\x8c\x43\x26\x64\x54\x9d\xee\xa7\x91\x38\x47\xcc\x49\x9b\x8d\xc3\x36\x56\x7a\xaa\x51\x00\x35\xed\x6c\x7c\xd7\xc9\xe9\xf1\x6c\x1b\xa7\x64\xa8\xcd\x3a\x6b\x0b\x47\x7d\xa9\xfc\x53\x8b\xe8\x90\x2f\x73\x4f\x4c\xf7\x23\xe5\xe9\xaa\x29\x9f\x1b\x57\x6c\x95\x3e\x8c\x73\x41\xa9\xe3\x38\xab\x97\x25\xf5\xeb\x73\xf6\xce\x56\xd0\x35\x02\xc5\xce\x27\x50\xac\xd9\xd9\xb1\x2b\x58\xec\x78\x4a\x16\x3c\x0f\xe0\x79\x00\xcf\x03\x78\x1e\xc0\xf3\xa0\x6e\xf3\x05\xd2\x1e\x50\x8f\x80\x72\x82\x72\x82\x72\x82\x72\x82\x72\x82\x72\x8e\x8b\x72\x02\x3c\x00\x3c\x00\x3c\x00\x3c\x74\x0e\x1e\xf6\x80\xf3\x3d\x0d\xe5\x6a\xd6\x85\xeb\xe1\x5c\x2f\xb5\xb8\xf5\x0a\xd9\x6c\xbc\xe1\x5c\xf3\xec\xa1\xb0\xd3\xf8\x0a\x3b\xa1\xb4\x77\xcf\x93\x0f\x98\xbf\xfe\xce\x07\x59\x26\x2d\x93\x3e\xad\x94\x31\xde\x00\xea\xe9\x4b\xdb\xc4\x7a\x87\x45\xa4\x6e\x99\x37\xed\x6e\x76\xad\x04\xa6\x22\x38\xaa\x38\xd6\xbd\x0d\x8e\x22\x13\xcb\x57\x1e\x72\x4f\xc4\xda\x58\xa8\xb7\xc5\x24\x91\x8e\x4f\xda\x6f\x66\x96\xe3\x64\x5d\x95\x31\x13\x61\xaa\xc4\x51\x6b\x0e\x58\xf2\x07\xd5\x8b\xe9\xbd\x48\x84\x95\xe9\x8a\x21\x40\x36\x54\x88\x64\x5a\x32\xc1\xc9\x98\x5d\xbf\xfd\x97\xba\x36\xe6\x0e\x31\xb7\x40\x86\x9e\x96\xe0\xc8\x4c\xe6\xc8\x30\xe5\x7e\xa8\xf7\x22\x32\x43\xe5\xd7\x12\x87\x30\x44\x90\xcd\x9f\x33\x25\xc5\x93\x01\x0f\xbd\x99\x8c\xbd\xab\xe8\xc1\xbb\x5a\x85\xbe\x23\x5d\x71\xf5\xd3\x97\xe4\x56\x3d\xe5\x60\xbb\xb6\xe9\x9c\x36\x87\xa7\x57\x22\xdf\xc0\x24\xb1\xa6\x52\xd8\xdb\x06\x52\xd8\x07\x6d\x99\xeb\xc5\xd7\xbe\xdd\xf9\xb5\xda\xbd\xb7\x17\x9f\x3b\x2a\x11\x97\x84\x8b\x1e\x8a\xb8\xaf\xd8\xc1\x59\x3e\xf4\x3f\xfe\xe7\x48\xc9\x3e\x9a\x08\x51\xa5\x04\x1f\x48\xeb\x01\xe9\x69\x14\xd2\x13\x02\xa9\xcf\x28\x90\x1a\x11\x63\x88\x18\x43\xc4\x18\x22\xc6\xa0\xf8\x6d\x5a\x45\xbd\x0c\xcf\x38\x8d\x6a\x85\xe8\x92\xcd\xd1\x25\x7d\x54\xb6\x32\x53\x73\xeb\x31\x25\xb1\xe0\x6e\x45\xce\xda\xad\x2e\xa9\x9b\x1a\x29\x4b\xd8\x3b\x60\xd7\xd8\xb0\xd8\x3c\xd1\x4b\xb3\xc6\x4b\xc8\x1d\xd9\xa6\x8d\xc2\x59\xfb\xf2\x26\x48\xae\x2f\x34\x0e\x18\x72\x70\x18\x92\x96\x42\xa3\xd3\xa1\xba\x01\x4f\xe9\xde\x9f\xb7\xef\xc5\x4b\x11\x7b\xa2\xd1\x95\x49\x1a\xf3\x54\x78\xbe\x33\x6d\x7e\x8f\xfa\xfb\xd9\x5c\x49\xbb\x7e\x93\xd3\x2b\xe2\x71\xea\x53\x64\x91\x76\xb3\xd9\xfb\x24\xa3\xf7\x9d\xde\xee\xd7\x15\x3c\xdd\x22\xe7\xdd\x96\x1d\x5d\x18\xac\x81\x23\xb7\x06\x9e\x0f\x4b\xad\xb8\xe7\xdb\xc5\xa5\x43\x48\xd4\x36\x93\x87\x25\xbf\xde\xb0\x05\xbd\x21\x5b\x88\x8e\x1b\xe5\x01\xdd\x19\xca\x70\xaa\xef\xa6\x2b\xc8\x1c\x99\xb0\xd7\xbf\x25\x32\xbc\xd5\xd1\xb9\x5f\xd5\x66\x67\xfe\xfe\x61\xb7\xc0\xfc\x1f\xdf\xf4\x09\xf2\x36\x9f\x37\x9f\x65\xec\x90\xbd\xd6\x93\x34\xf8\x92\xdd\x5d\x2c\xd4\xbf\xdd\x5d\xb0\x9b\x52\x6f\x92\xf3\xaf\x36\xae\xae\x92\x3c\x12\x71\xca\x1d\x1a\x00\x8a\xef\x0c\x7c\xc7\x98\x8b\x44\xe0\x26\x4c\x3e\x99\xb1\xd5\xf1\x8f\x91\x90\x51\x20\x66\x4c\xbf\x93\xc2\xba\xed\x9c\x22\x17\xdc\xda\x81\xc8\x5e\x7f\x48\xf7\xaa\x17\x8d\xd7\x61\x12\x8a\x50\xff\x15\xa1\xa8\xa2\xc1\xf4\x50\x15\x5a\xb5\x6e\x74\x88\x02\xee\xec\x2f\xad\x99\xfb\xc6\x2b\xaf\xc1\xd9\x0d\x02\xda\x19\x08\x68\x3d\x92\x83\x70\x5c\x67\xbf\xc0\xd9\x8d\x8d\x4f\xb8\x58\xf5\xd2\xca\xfa\x8a\xbd\xd4\x79\xec\x2a\xd1\x9c\xaa\xe0\x43\xd6\x0d\x1b\xd1\xef\xb1\x07\x53\x5b\x94\xc4\x50\x36\xec\x39\x58\xc5\x60\x25\x60\x25\x7b\xb4\x19\xac\x04\xac\xa4\x1d\x56\x72\xf8\xc9\xb6\x95\x9a\xd4\x1c\x6d\x83\xd4\xc5\xc1\x4e\xa0\x9a\x9f\x9f\x6a\x0e\x76\xd2\xe6\xbc\x01\x3b\x81\x31\x06\x8a\xd1\x5a\x2f\x82\x9d\xbc\x9c\x9d\xbc\xc4\x2e\xb1\x95\xa2\x8c\x45\x7e\x03\x4b\x81\xc0\x76\x06\x02\x5b\x8f\xe4\x22\x1c\xdf\xd9\x2f\x60\x29\x6c\x7c\xc2\xc6\x68\x58\xca\xff\x93\xf3\xe4\x48\xd1\xf7\x85\x10\x45\xb9\x60\x7b\x44\xe1\x7f\xc8\x6e\xcc\x25\x14\xc4\xe2\xa3\xd0\x05\x0a\x5d\xa0\xd0\x05\x0a\x5d\xa0\xd0\x45\x1f\x0a\x5d\x40\x19\x6c\x3c\x50\xa7\x54\x06\x51\x8f\x04\x99\x61\xce\x38\x33\x0c\x8a\xcf\xa0\xf8\x0c\x8a\xcf\xa0\xf8\x0c\x8a\xcf\xa0\xf8\x0c\x8a\xcf\x20\x61\x1a\x12\xa6\x21\x61\x1a\x12\xa6\x55\x67\xe4\x51\x6b\x2c\xa1\xd2\x55\x1f\x46\x01\x95\xae\x50\xe9\x6a\x6c\x95\xae\x6a\xd1\x1c\x18\x3c\x92\x20\xae\xdd\xb1\x35\x09\x62\x2e\x28\x75\x8c\xbc\x7b\x94\x0a\x51\x1b\xc3\x62\xa3\x40\x5b\xa9\x5d\x2e\x98\xfa\xd6\x1d\xe8\x5a\xdd\xbb\xe6\x50\x77\x20\xae\xae\x7c\x16\x09\x63\x54\x96\xee\x57\x29\x1f\x96\x3c\x7e\x48\x72\x1f\x6c\xfd\xad\x64\x7f\x49\x8c\x95\xe8\x39\x52\xaa\xc4\xaf\xdf\xbe\xfd\xf7\xd7\x9b\xef\xff\x7d\x77\x91\x5b\x40\xb4\xb0\x25\x49\x62\xf5\x97\x51\x20\xc8\xd4\x31\xcf\x9e\xaa\xc4\x0b\xdf\x0b\xb5\x05\x58\xc9\xc0\x01\xf7\x48\xfa\xcc\x2f\x51\xda\x66\x51\x53\xd4\x66\x85\x49\xc2\x5c\x3f\x71\x62\xa1\xbe\x39\x67\x47\x05\xe6\x61\xcc\x1b\xe5\x07\x65\x06\x07\xa5\x49\x2b\xad\xdd\xca\xb5\x6a\xe7\x8b\x1f\x79\x70\xc9\x42\xa9\xb1\x2e\xe9\xc3\x99\x8d\xa4\x6a\x66\x23\xb0\xf8\xcc\x6c\x9b\x8d\x3d\x2a\xd3\x86\x13\x91\x50\x41\xbd\xcc\xd0\x6c\xcc\x26\x86\x68\x95\x94\x3b\xf5\x2b\x75\x81\x9b\x91\xd2\x85\xe0\xa9\xd2\xc9\x3d\x9e\x0a\x56\x19\x08\xf3\x24\x11\x2a\xa1\x5b\x9b\x1f\x22\x3f\x47\xb8\x75\x8f\x3d\xe0\xbc\xa8\x99\x02\x27\x52\xac\xe0\x6d\x00\x6f\x03\x78\x1b\xc0\xdb\x00\xde\x06\x75\x9b\x2f\x30\xf6\x80\x7a\x04\x64\x13\x64\x13\x64\x13\x64\x13\x64\x13\x64\x73\x5c\x64\x13\xb0\x01\xb0\x01\xb0\x01\xb0\xa1\x73\xd8\xb0\x07\x90\xd7\xca\x9c\x8c\x6d\x24\xa5\x1a\x7e\x0d\x90\xd5\x75\x73\x3a\xc4\xf4\xa0\x6a\xe0\x6d\xa4\x93\xf4\x5e\x2c\xf5\xb1\x95\xa4\xb1\xe0\x4b\xea\x1e\xd7\xbd\x34\x07\xc3\xa5\xb9\x76\x29\x1f\x49\xf6\x29\xa8\x77\xec\x07\x89\x2b\xcf\xd5\xa9\x7e\x48\x17\x3e\x6d\x9b\x60\xc3\xcf\x74\xb0\xf1\x06\xf5\xb2\xf7\xba\xe3\xff\x7f\xeb\x7d\xd0\xe4\xd9\xe5\xbb\xfb\xcd\x83\xf2\x28\xc7\xdf\xe4\xfc\x77\x3f\x49\xcf\x92\xff\xa8\x1d\xac\xb7\xcc\xe7\x80\x44\x73\xc8\xcd\x36\xb8\xdc\x6c\x32\x69\x99\xec\x69\x65\x8c\xf1\x1d\x10\x4f\x5f\xd6\x16\xc6\xeb\x6b\x36\x0c\x64\xc2\x38\xab\xe0\x27\x64\xc2\x40\x26\x8c\x9a\x8f\xe9\xa7\xd4\x35\x90\x2c\x18\x7b\x7d\xe9\x29\xea\xbb\x1e\xf4\xa9\xa3\x12\x63\x49\x88\xe8\x99\x18\xfb\x8a\x1d\x94\xa9\xc3\x64\x3c\x3f\x52\xc2\x8e\x5d\x42\x52\x29\x49\x07\x52\x73\x94\xde\x0e\x09\x69\x88\x12\x12\x82\xa1\xcf\x28\x18\x1a\x51\x5f\x88\xfa\x42\xd4\x17\xa2\xbe\xa0\xdc\x6d\x5a\x45\xbd\x0c\xb1\x38\x8d\x1a\x85\x08\x91\xcd\x11\x22\x7d\x53\xae\x32\xf3\x71\x37\x65\xa0\xca\x32\xd6\x01\x85\x9f\xaa\x0a\x12\xf6\x0b\xd8\x2d\x4e\x52\xea\xe9\x64\x65\x9e\x50\xe2\x09\x18\xb1\xdc\x58\x94\x78\xda\x78\x4f\x3b\x25\x9e\xf6\x39\xb5\xea\x8b\x3a\x8d\x02\x7e\xa2\x94\x13\xac\x7d\xe7\xc7\x43\x51\xca\xa9\xcd\x79\x83\x52\x4e\x30\x92\x40\xe9\x19\x6e\x19\xa7\x1e\x96\x70\xda\xcf\xa6\x50\x5f\xb4\x69\x14\xf2\x19\x9c\xd3\x20\x8c\x8d\x5c\x18\xeb\x91\xcc\x83\xa3\x39\xfb\xe5\xcc\x9d\xd3\xc6\x25\x44\x74\x5e\x9e\xe9\xc8\x0e\x5f\x57\xba\xc4\x63\xd1\xef\xab\x1b\xb6\xb1\xa9\x94\xe4\x61\x94\xa3\xa6\x7e\x24\xf6\x16\xac\x58\xb0\x0e\xb0\x8e\x9a\x36\x83\x75\x80\x75\xb4\xc3\x3a\x0e\x3b\xc5\x36\x52\x8f\xb1\x94\x41\x06\xfb\x80\xba\x7d\x7e\xea\x36\xd8\x47\x9b\xf3\x06\xec\x03\x06\x16\x28\x41\x60\x1f\x2d\xb2\x8f\x43\x6d\x0e\x1b\x29\xc8\x58\xe4\x35\xb0\x10\x08\x67\x23\x17\xce\x7a\x24\x03\xe1\xa8\xce\x7e\x01\x0b\x19\x91\x50\x31\x2c\x16\x42\xd9\xc1\xae\x9c\x58\x86\xff\x4f\xce\xbb\x05\x1e\x26\x87\x6c\xe8\xfa\x8f\xbe\xbb\xe2\x41\x31\x1f\x1d\xcf\xb2\x46\x7f\x88\x65\xf8\x9b\x9c\xcf\x0a\xd1\x9e\xef\xb2\x38\xd1\x09\x3d\x63\x92\x57\x0f\x28\xa5\x83\xcf\x24\x16\xe6\x87\x49\x2a\x78\xc9\x50\x58\x95\x67\x9e\x0a\xd6\x27\xf3\xce\xdf\xfd\x24\xfd\x2c\xe3\x9b\x20\xc8\xc4\x9b\x5e\xc0\x94\x8d\x37\x9c\x57\x92\xb8\x2d\xe6\x34\xca\x71\xf8\xe9\x51\x84\xe7\x99\x38\x8e\x46\xef\x08\xd9\xe3\xcc\x3a\x39\x1e\xd7\x41\x01\x9e\x11\x17\xe0\xd9\x0d\x6e\x76\x15\xdf\xd9\x6a\x2b\x6a\x01\x4a\xa1\xe4\x0e\x4a\xee\xa0\xe4\x0e\x4a\xee\x8c\xad\xe4\xce\xee\x9d\xb7\xb6\xdc\x4e\xc7\x2e\x00\x47\x2b\xb2\xb3\xbb\xf9\x9b\x0b\xec\xf4\xb9\x0f\xf6\x29\xab\xb3\xbb\x0f\x36\x97\xd4\xe9\xb8\x0f\x50\x48\x07\x85\x74\x50\x48\x07\x85\x74\x50\x48\xa7\xb3\x42\x3a\x0d\x76\xff\xb5\x22\x3a\x5b\xd3\xc4\x9d\x91\x07\x60\xb3\xd6\x8c\xb8\x10\xd0\xee\xee\xde\x56\x04\xe8\xb8\xfd\x8e\xd2\x3f\x9d\x8c\xe8\x7a\xd9\x9f\x8e\x87\xf5\xa4\xc5\x7e\x76\x77\xcf\x96\x42\x3f\x5d\x6f\x9b\x7d\x2d\xef\xb3\xbb\xd3\x6a\x88\xc5\xc1\xf6\x3c\xf3\xd7\xdf\xbb\x51\x57\x4f\x30\xd7\xb1\x11\x17\xf0\x16\xf0\x16\xf0\x56\x8f\x42\x96\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x80\xb6\x9a\xb6\x06\x68\x0b\x68\x0b\x68\x0b\x68\x0b\x68\xeb\xec\xd1\xd6\x86\xbc\x76\x67\x1e\xdc\x95\x87\xaa\x17\xc2\xbc\xc0\xbd\xc0\xbd\xc0\xbd\x10\xd6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\xd5\x3f\xee\x03\xf6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\x05\xf6\x35\x44\xf6\x85\x8c\xf6\x80\x7e\x80\x7e\x80\x7e\xbd\x1e\x51\x40\xbf\x72\xf7\x00\xfa\x8d\x05\xfa\x99\x82\x56\x47\x60\x7f\x45\xe0\x17\x5a\x61\x47\x2e\xd8\x83\x1f\xba\xad\x82\xbf\xcb\x5c\xb5\x21\xf5\xcd\x88\xc1\x4a\x3b\xca\x75\xb6\x49\x49\xd7\x2f\x3c\xfb\x60\x6c\x08\x64\x08\x64\x38\x0c\x64\x08\x5c\x08\x5c\x08\x5c\x68\x7e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\x04\x2e\xec\x25\x2e\x2c\x56\xf2\xae\x35\x34\xa0\x9a\x77\x7d\x9b\xc1\x3e\xc1\x3e\xc1\x3e\xc1\x3e\xc1\x3e\xc1\x3e\xcf\x9c\x7d\xf6\x24\xd8\xf1\x74\x81\x8e\x08\x72\x34\x4f\x01\xb1\x1c\x06\xb1\x44\x72\x4f\x10\x4b\x10\x4b\xf3\x23\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x25\x88\x65\x2f\x89\x25\x20\x1f\x20\x1f\x20\x1f\x20\x5f\xaf\x47\x14\x90\xaf\xdc\x3d\x80\x7c\x63\x80\x7c\x3d\x09\x6e\x1c\x6a\x60\x23\x82\x1a\x81\x08\x07\x83\x08\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x81\x07\x1b\xee\xfe\x27\x0d\x68\x44\x30\x23\x38\x67\xb9\xb1\xe0\x9c\xe0\x9c\xe0\x9c\xe0\x9c\xe0\x9c\xe7\xcb\x39\xe7\x22\xe5\xd7\x57\x07\x41\xcc\xae\xd1\x5c\x2d\xa5\xa9\x8c\xb3\x27\xd2\xb2\x7a\xa2\x87\x74\x0b\x8d\xf4\x44\x6a\x58\x24\x35\xfd\xe6\xf6\xcb\xf7\xba\xbb\x4e\xc5\x23\x07\x8b\x09\x0b\x1d\x49\xe1\x9f\x23\x61\x85\x34\x49\x0a\xb7\xbd\x2a\xbe\x7a\xdb\x92\x3a\x4a\xe1\x53\x6d\xbf\x8a\x8d\x06\x6c\x15\xa4\x4a\xde\xe3\x2d\x8b\x41\xdd\x5f\x5c\x0d\xe6\x8e\xcf\x32\xbe\x09\x82\x8c\xd5\xf7\x62\x61\x00\xd4\xd3\x0a\x9c\xd1\x2c\x9b\x99\x59\x36\x2b\x56\x95\x1d\xe9\x8a\xdb\x8d\xe8\x7b\x51\xa5\xb4\xf2\xd9\x40\xf5\x40\xf5\x40\xf5\x40\xf5\x40\xf5\x40\xf5\x40\xf5\x40\xf5\xbb\x77\x5b\xa0\x7a\xa0\x7a\xa0\x7a\xa0\x7a\xa0\x7a\xa0\x7a\xa0\xfa\xb3\x43\xf5\x00\xbd\x00\xbd\x00\xbd\xc3\x18\x51\x80\xde\x72\xf7\x00\xf4\x0e\x05\xf4\xee\x28\xd8\x59\x84\x55\x5a\xd0\x69\x97\x57\xe9\x67\x32\x47\x06\x4a\xaf\x32\xf3\x73\x37\xa6\xd2\xb7\x95\x40\x55\xf6\x84\xed\xa5\x32\xeb\x6d\xee\xac\x8a\x3f\xf4\x60\xcd\xa5\xfb\x5c\x25\x35\x76\xb4\xea\x7e\xeb\x84\xa3\x7e\xa4\xb6\x7e\xa3\x2e\x4b\x1a\x32\x9d\xed\x30\x07\x66\x5c\x98\x71\x61\xc6\x85\x19\x77\x6c\x66\xdc\x2d\x87\xec\x2e\x53\xee\x76\x81\x6d\xfb\x61\xbb\xd7\xde\xfb\x97\xea\x38\xa3\xc0\x5e\x52\xd2\x76\x47\xcd\x28\x3d\x0f\x4a\x6d\x2b\x22\xd3\xb9\x60\x91\xea\xad\x44\xe9\x7a\xec\x26\x64\x7e\xa8\x77\x16\x19\xb3\x55\x98\x6d\x4e\x2e\x73\xe3\xe7\xef\xab\x90\xb9\x7e\xac\x0e\xc3\x47\x91\xcd\x78\xb5\x7d\x92\xb9\xc1\x2c\x79\x3b\x37\x4c\x07\xb3\xc5\x2a\xa6\x55\x16\xc5\xd2\x11\x09\xd9\x05\x8c\xa4\x68\x66\xd9\x8c\xfd\x49\x6f\xa4\xd1\xa2\xb9\xf3\x8e\x4d\xd9\x4d\x10\xbc\x23\xad\xdf\x55\xbb\xf4\x2a\x54\x03\xaf\x64\x2e\x3b\x25\xcd\xe3\x84\x7b\xc0\x40\xe9\xb6\x9c\x66\x98\x8e\x66\x7b\x6f\xd6\x15\x9b\xed\xef\x47\xeb\x91\x3f\x8a\x4a\x84\xaf\x14\x78\x92\xed\xd9\x5c\x2c\xb4\x93\x40\x66\xa7\xc9\x45\x09\xb3\x7b\xd1\xd4\x59\x09\x7d\x38\xcc\x95\xf8\x1c\x4e\x43\xe1\x71\x9a\xa0\x46\x0d\x50\x1a\x8b\x3d\x41\xb5\xcd\x36\x5b\x1a\x46\x46\xf4\x97\x4b\xe1\xfa\x3c\x15\xc1\x73\x4e\xef\xf3\x23\xd7\x0f\x2e\x8d\x98\x4f\x9d\xce\xbc\x98\x3b\xb4\x6a\x7c\xe9\x66\x02\x41\x7e\x68\x93\x6b\x84\x9d\xa5\xab\x44\x7d\x64\x71\xb8\xb8\xba\xd3\x36\xc8\xbc\x64\xa1\xf7\x40\xfb\x88\x99\xfe\xce\xa5\xe0\x61\xed\x37\x1e\x30\xcc\xf4\xcd\xb7\xf4\xc9\x75\xaa\xd3\x0e\xe5\xa9\x2f\xd3\x7f\x1f\xec\xd2\xac\x5f\x36\xa3\x97\xa3\x4d\x7f\x40\x18\x40\x18\x40\x18\x40\x18\x40\x98\xce\x20\x4c\xc3\xb3\x60\x0d\xc4\x1c\xef\x58\xfc\x58\xc8\xaa\x16\x05\x82\x27\x22\xdb\x82\x6e\x63\x19\x71\x8f\xa4\xa3\x5b\x19\xf8\xce\x73\xc9\xe5\xcf\x4e\xba\x3c\x2d\x9b\x9a\x76\xd7\xb3\x5f\x66\xec\x87\xde\xcf\xb4\xe8\x12\x89\x50\x2d\x96\xfc\x4c\x15\x4c\xc6\xd1\x3d\x0f\xad\x0b\x62\xbc\x12\x57\x0b\x1e\x58\x5d\xf9\xee\x42\xff\x7c\x77\xc1\x16\x7e\xc8\x03\xff\x1f\x7b\x90\xcc\x05\xe3\x2e\x59\xe6\xe5\x95\xb6\x5a\xba\xb9\x1a\xa6\x1f\x3f\x49\xf2\x9b\xb4\x7e\x3a\x63\x9f\x7c\xda\x1c\x0b\x9f\x2e\xe3\xf5\xb6\xe5\x1c\x26\xd5\xea\x31\xe9\x28\x32\xbd\x3f\x64\x40\x75\x0b\x3e\xda\xb6\x6f\x14\x79\xea\x6c\xa0\xed\x2a\x66\xd4\x74\xb5\x60\xef\xe5\x13\xf3\x78\x3c\xe7\x5e\xc9\x34\x99\x29\x35\x22\x5e\xc8\x78\xa9\xc6\xa4\xb6\xbf\xbe\x55\x5a\xb4\xb9\xbb\x48\xe8\xb5\x12\x6b\xa4\xfb\xd6\x57\xd2\xa4\xe3\xbb\xb9\x2a\x4c\xb2\x02\x19\x27\xb2\x31\x56\x87\xb5\x39\x49\xad\x34\x30\x2b\x0c\xa6\x3d\x47\x32\x10\x92\xb9\xd3\x96\x5f\x36\x63\x37\x8e\x23\xa2\x94\xce\xa6\xa2\x66\x37\xd1\x6d\x98\xb0\xa9\x99\x80\xe5\x09\x9a\xbc\x67\x93\x5f\xb9\xf3\xe0\xc5\x72\x15\xba\xea\x2a\x72\x4d\xa5\x8b\x2a\x1d\xa7\x45\x48\x23\x1f\x97\x1f\x62\x5b\x30\xcf\x9e\xf4\x9e\x4d\x3e\xcb\x58\x14\x1e\xcb\x1c\x9e\x38\xdc\x55\xad\x37\xfd\xa3\x3d\x97\xe9\x79\x89\x56\x3d\xd7\x1e\xb8\xc8\x9e\x71\xc8\x84\x8c\xaa\xd3\xfd\x34\x12\xe7\x88\x89\x69\xb3\x71\xd8\x46\x4d\x4f\x35\x0a\xe0\xa7\x9d\x8d\xef\x3a\x43\x3d\x9e\x6d\xe3\x94\x34\xb5\x59\x67\x6d\x21\xaa\x2f\x95\x7f\x6a\x39\x1d\xc2\x1d\xf7\xc4\x74\x3f\x52\x9e\xae\x9a\xf2\xb9\x11\xc6\x5c\xe9\x13\x39\x97\x96\xfa\x1f\x7f\xd5\xfb\xe0\xcb\x56\x48\x36\x22\xc8\xce\x27\x82\xac\xd9\x51\xb2\x2b\x8a\xec\x78\x3a\x17\x1c\x11\xe0\x88\x00\x47\x04\x38\x22\xc0\x11\xa1\x6e\xf3\x05\xe1\x1e\x50\x8f\x00\x7a\x02\x7a\x02\x7a\x02\x7a\x02\x7a\x02\x7a\x8e\x0b\x7a\x82\x43\x80\x43\x80\x43\x80\x43\x74\xce\x21\xf6\x60\xf5\x3d\x8d\xf1\x6a\xd6\x85\xeb\x71\x5e\x2f\xb5\xb8\xf5\x8a\xe0\x6c\xbc\x01\x79\xf9\x90\x97\x6f\xa4\x79\xf9\x90\x8d\xbe\xe7\x49\x0a\xcc\x5f\x7f\xe7\x83\x2c\x93\x96\xe9\x9f\xd6\xd1\x18\x6f\x00\xfa\xf4\xa5\xad\xa3\xbe\xc3\x82\x56\xb7\x4c\x9e\x0e\x36\xc0\x56\x02\x58\x11\x44\x55\x1c\xf0\xde\x06\x51\x91\xed\xe5\x2b\x0f\xb9\x27\x62\x6d\x45\xd4\x1b\x64\x92\x48\xc7\x27\xb5\x38\xb3\xd7\x71\x32\xbb\xca\x98\x89\x30\x55\x72\xaa\xb5\x13\x2c\xf9\x83\xea\xc5\xf4\x5e\x24\xc2\x0a\x7b\xc5\x50\x21\x1b\x52\x44\xc2\x2e\xd9\xe6\x64\xcc\xae\xdf\xfe\x4b\x5d\x1b\x73\x87\x60\x5c\x20\x43\x4f\x8b\x76\x64\x3f\x73\x64\x98\x72\x3f\xd4\xbb\x12\xd9\xa7\xf2\x6b\x09\x50\x18\x54\xc8\xe6\xcf\x99\xf6\xe2\xc9\x80\x87\xde\x4c\xc6\xde\x55\xf4\xe0\x5d\xad\x42\xdf\x91\xae\xb8\xfa\xe9\x4b\x72\xab\x9e\x72\xb0\xc1\xdb\x74\x4e\x9b\xc3\xd3\x2b\x59\x70\x88\x22\x5a\x53\xf1\xec\x6d\x03\xf1\xec\x83\xb6\xdb\xf5\xe7\x93\xdf\xee\xfc\x64\xed\x10\xdc\x9f\x6f\x1e\x9f\x14\x4c\xa2\x47\x5f\xa5\xe0\x57\xec\x65\x09\x43\x6a\x8a\xe0\x77\x98\x37\xa4\x89\xb0\xb5\x9e\x2b\x04\x19\x42\x20\x60\x8d\x42\xc0\x42\x4c\xf6\x19\xc5\x64\x23\xf8\x0c\xc1\x67\x08\x3e\x43\xf0\x19\x74\xc3\x4d\xab\xa8\x97\x91\x1e\xa7\xd1\xb9\x10\xa8\xb2\x23\x50\xa5\xb7\x0a\x58\x66\xa1\x6e\x3d\x3c\x25\x16\xdc\xad\x48\x5c\xbb\xb5\x27\x75\x53\x73\xdd\x09\x5b\x09\xec\x1f\x3b\x17\xa0\x27\xfa\x6b\xfe\x78\x09\x04\x2c\xd6\xd6\xae\xfd\x02\xd4\xd7\xae\x6f\x33\x88\x66\x2b\x44\x93\xd6\xc3\x41\x85\x5a\xa7\x74\xef\xcf\xdb\xb7\xe6\xa5\x88\x3d\xd1\xe8\xca\x24\x8d\x79\x2a\x3c\xdf\x99\x36\xbf\x47\xfd\xfd\x6c\xae\xa4\x43\xa0\xc9\x89\x16\xf1\x38\xf5\x29\x66\x49\x3b\xf0\xec\x7d\xba\xd1\xfb\x7a\x62\x1a\xec\x8a\xc3\x6e\x11\x05\x6f\xcb\x7e\x34\x0c\x06\xc3\x91\x1b\x0c\xcf\x87\xc8\x56\xbc\xff\xed\xe2\xd2\x11\x2a\x6a\xaf\xc9\xa3\x9e\x5f\x6f\xd8\x87\xde\x90\xb9\x44\x87\xa5\xf2\x80\xee\x0c\x65\x38\xd5\x77\xd3\x15\x64\xb1\x4c\xd8\xeb\xdf\x12\x19\xde\xea\xe0\xdf\xaf\x6a\xc7\x33\x7f\xff\xb0\xfb\x60\xfe\x8f\x6f\xfa\x84\x8a\x9b\xcf\x9b\xcf\x32\x76\xc8\xa4\xeb\x49\x1a\x7c\xc9\xee\x2e\x16\xea\xdf\xee\x2e\xd8\x4d\xa9\x37\xc9\xb7\x58\xdb\x5f\x57\x49\x1e\xe8\x38\xe5\x0e\x0d\x00\x85\x8f\x06\xbe\x63\x2c\x4a\x22\x70\x13\x26\x9f\xcc\xd8\xea\xf0\xca\x48\xc8\x28\x10\x33\xa6\xdf\x49\x51\xe3\x76\x4e\x91\x87\x6f\xed\x40\x64\xaf\x3f\xa4\x7b\xd5\x8b\xc6\xeb\x8f\x09\xe5\x68\x48\xca\x51\x54\xd1\x6a\xfa\xaa\x1e\xad\x5a\x37\x4e\x44\x01\x77\xf6\x97\xe0\xcc\x7d\x23\x97\xe1\xe0\x4b\x07\xc9\xed\x5c\x24\xb7\x1e\x09\x48\x38\xc7\xb3\x5f\xe0\x4b\x37\x7e\xd1\x63\xd5\x5f\xbb\xec\x2b\xd6\x8a\x5b\xda\x55\xa2\xe1\x57\xc1\x3b\xad\x1b\xcc\xa2\xdf\x63\x4f\xac\x56\x81\x8b\xe1\x77\xd8\x91\xb0\xbc\x81\x5d\x80\x5d\x80\x5d\x80\x5d\x4e\x8d\x5d\x0e\x3f\xed\x76\x03\x98\x9a\xe3\x6e\x90\x2a\x3c\x30\x0c\x94\xf9\xf3\x53\xe6\x81\x61\xda\x9c\x37\xc0\x30\x30\xdf\x40\x59\x02\x86\xe9\x1e\xc3\xbc\xc4\x7e\xb1\x1b\xc8\x8c\x45\xa6\x03\x96\x81\x24\x77\x2e\x92\x5c\x8f\x04\x26\x9c\xeb\xd9\x2f\xc0\x32\xe3\x17\x45\x86\x8c\x65\x28\x53\x5b\x46\x61\x3a\xe5\x2e\x26\x9f\x6f\xe8\xfa\x8f\xbe\xbb\xe2\x41\x31\x37\x20\xcf\x32\x78\x9b\xb6\xce\x0a\xd1\xb0\xef\xb2\x38\xda\x09\x3d\x63\x92\x57\x72\x28\xa5\xe6\xcf\x04\x1d\xe6\x87\x49\x2a\x78\xc9\x0e\x59\x15\x83\x9e\xaa\x86\xad\x42\x02\xb8\xcf\x32\xbe\x09\x82\x4c\x2a\xea\x05\xcb\xd9\x78\xc3\x79\x65\xed\xdb\x62\xa5\xa3\xa4\x93\x9f\x1e\x45\x78\xc6\x09\xfc\x68\x08\x47\x9b\xc5\x0f\xb5\x91\x46\x5c\x1b\x69\x37\x26\xda\x55\x17\x69\xab\x31\xaa\x05\x04\x86\x6a\x48\xa8\x86\x84\x6a\x48\xa8\x86\x34\xb6\x6a\x48\xbb\x77\xde\xda\x4a\x48\x1d\x3b\x1c\x1c\xad\xfe\xd1\xee\xe6\x6f\xae\x7d\xd4\xe7\x3e\xd8\xa7\xe2\xd1\xee\x3e\xd8\x5c\xed\xa8\xe3\x3e\x40\x8d\x23\xd4\x38\x42\x8d\x23\xd4\x38\x42\x8d\xa3\xce\x6a\x1c\x35\xd8\xfd\xd7\xea\x1b\x6d\xcd\xaa\x77\x46\xfe\x86\xcd\x5a\x33\xe2\x1a\x4d\xbb\xbb\x7b\x5b\x7d\xa6\xe3\xf6\x3b\xaa\x32\x75\x32\xa2\xeb\x15\x99\x3a\x1e\xd6\x93\xd6\x61\xda\xdd\x3d\x5b\x6a\x30\x75\xbd\x6d\xf6\xb5\xf2\xd2\xee\x4e\xab\x61\x17\x07\xdb\xf3\xcc\x5f\x7f\x37\xc4\x5f\x3b\x62\x93\xce\x99\x8a\xad\xb9\x06\xfd\x5e\x81\x0b\xe0\x61\xe0\x61\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\xac\x67\x2c\x08\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x0c\x3c\x6c\x88\x3c\x0c\x89\x47\x00\x02\x01\x02\x01\x02\x7b\x3d\xa2\x00\x81\xe5\xee\x01\x08\x1c\x15\x08\xac\xa9\x9d\xdb\x11\x0f\x2c\x42\xc0\xd0\x4a\x3c\x72\xc1\x1e\xfc\xd0\x6d\x15\x06\x5e\xe6\xfa\x0d\xe9\x70\x46\x16\x56\x2a\x52\xae\xb8\x4d\x4a\x0a\x7f\xe1\xd9\x2f\x43\x89\xc0\x88\xc0\x88\x03\xc2\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\x40\x88\xbd\x47\x88\x28\xc4\x00\x1e\x0a\x1e\xda\x5f\x7a\x06\x1e\x0a\x1e\x0a\x1e\x0a\x1e\x5a\xe9\xb4\x23\xf1\x50\x47\xc4\xe6\xeb\x45\x42\x58\xc8\x97\x57\x07\x91\xce\x93\x24\xf4\xad\x8c\xb6\x27\x52\xe6\x87\x0b\x19\x2f\xb3\xd9\xcd\x99\xa6\x30\x9b\x89\xa5\x27\xd2\x0f\x85\x4e\xb8\xb9\xfd\xf2\x5f\xd5\x3b\x90\xc4\x78\x4f\x7a\x98\x75\xe2\xc0\xd9\x61\x71\x75\x14\xee\x7a\x55\x7c\xf3\xee\xf5\xf4\x78\x3d\xec\x25\x55\xd2\xfd\xf5\x5e\xd9\x7c\x3d\xfd\x79\x7d\x73\xfb\xe5\x7b\xdd\x7d\x58\x55\xfb\xaf\x2a\xdb\x91\x14\x8f\x3d\xa2\xc5\xf5\x3f\x8f\xd7\x2f\x5a\x5f\xc5\x7f\xf6\xbd\xd0\x0f\x3d\x6b\xf7\x28\xae\x3c\x6d\x62\x69\xd7\x73\x47\x3f\x93\x39\x32\x08\x84\x63\x4f\x9d\xc2\x02\xf8\xa1\x3f\xe7\xbb\xfe\x9c\x2d\xeb\x46\x3f\xa8\xbc\x74\x3e\x64\x4f\x6d\xf4\xc4\x6e\xcb\x75\x74\x32\xa7\x3f\x52\xab\xbf\x51\x77\x26\xad\x94\xe8\x00\x5c\x06\x5c\x06\x5c\x06\x5c\x1e\x1b\x5c\x6e\x56\xdc\xa5\x16\x30\x1f\xad\xee\x0e\xca\x23\x35\x1e\xa8\x53\x96\x47\x3a\x9a\x47\xc0\x1e\x05\x89\x6a\x89\xf8\xd1\x7a\xe4\x8f\xa2\x51\xcc\x0f\x59\xa2\x6d\x55\x6c\x2e\x16\xda\x75\x31\xa3\x47\xb9\x28\x61\x76\x2f\x9a\x3a\x85\x82\x50\xa1\x0c\xa7\xa1\xf0\x38\x4d\x50\x63\xd6\x2a\x16\x8e\xd2\x24\x39\x5b\x1a\x46\x7e\xf4\x97\x4b\xe1\xfa\x3c\x15\xc1\x73\xee\x53\x98\x1f\xb9\x7e\x70\x69\xcc\x56\xd4\xe9\xcc\x8b\xb9\x43\xab\xc6\x97\x6e\x26\x10\xe4\x87\x36\x39\x6c\xda\x59\xba\x4a\xd4\x47\x16\x87\x8b\xab\x3b\x6d\x83\xcc\x4b\x16\x7a\x0f\xb4\x8f\x98\xe9\xef\xd4\xb5\x2a\x6b\xbe\xf1\x80\x61\xa6\x6f\xbe\xa5\x4f\xae\x33\x05\xee\x30\x06\xf6\x65\xfa\xef\xe3\x0c\xd2\xac\x5f\x36\x3b\x84\x1c\x6d\xfa\xc3\x35\x04\xae\x21\x70\x0d\x81\x6b\x08\x5c\x43\x3a\x73\x0d\x69\x78\x16\xac\xb9\x87\x1c\xef\x58\xfc\x58\x88\x2b\x8b\x02\xc1\x13\x91\x6d\x41\xb7\xb1\x8c\xb8\x47\xd2\xd1\xad\x0c\x7c\xe7\xb9\x14\x88\x60\x27\x5d\x1e\x98\xa6\xa6\xdd\xf5\xec\x97\x19\xfb\xa1\xf7\x33\x2d\xba\x44\x22\x54\x8b\x25\x3f\x53\x05\x93\x71\x74\xcf\x43\x1b\x18\x11\xaf\xc4\xd5\x82\x07\x56\x57\xbe\xbb\xd0\x3f\xdf\x5d\xb0\x85\x1f\xf2\xc0\xff\xc7\x1e\x24\x73\xc1\xb8\x4b\xa4\x59\x5e\x69\x0a\xe7\xe6\x6a\x98\x7e\xfc\x24\xc9\x6f\xd2\xfa\xe9\x8c\x7d\xf2\x69\x73\x2c\x7c\xba\x8c\xd7\xdb\x96\xfb\x15\xa4\x5a\x3d\x26\x1d\x45\xa6\xf7\x87\x0c\xa8\x6e\xc1\x47\xdb\xf6\x8d\x22\xcf\x41\x95\xb4\xf7\x52\xcc\xa8\xe9\x6a\xc1\xde\xcb\x27\xe6\xf1\x78\xce\xbd\x92\xd9\x32\x53\x6a\x44\xbc\x90\xf1\x52\x8d\x49\x6d\x7f\x7d\xab\xb4\x68\x73\x77\x91\xd0\x6b\x25\xd6\x48\xf7\xad\xaf\xa4\x49\xc7\x77\x73\x55\x98\x64\x05\x5d\xf0\xdc\x8e\x71\x42\x1c\x8f\x7e\xb5\xd2\xc0\xac\x30\x98\xf6\x1c\xc9\xc0\x7e\x16\xe4\x53\x7e\xd9\x8c\xdd\x38\x8e\x88\x74\xa9\xd5\xa2\x66\x37\xd1\x6d\x98\xb0\xa9\x99\x80\xe5\x09\x9a\xbc\x67\x93\x5f\xb9\xf3\xe0\xc5\x72\x15\xba\xea\x2a\x0a\x98\xa1\x8b\x2a\x1d\xa7\x45\x48\x23\x1f\x97\x1f\x62\x5b\x30\xcf\x9e\xf4\x9e\x4d\x3e\xcb\x58\x14\x1e\xcb\x1c\x9e\x38\xdc\x55\xad\x37\xfd\xa3\xe3\xa9\xe8\x79\x89\x56\x3d\xd7\x1e\xb8\xc8\x9e\x71\xc8\x84\x8c\xaa\xd3\xfd\x34\x12\xe7\x88\x3d\x80\x9a\x8d\xc3\x36\x2f\xa0\x53\x8d\x02\xfc\x81\x3a\x1b\xdf\x75\x9f\xa0\xe3\xd9\x36\x4e\xe9\x1d\xd4\xac\xb3\xb6\x78\x08\xbd\x54\xfe\xa9\x65\x78\x40\xcf\x7b\x62\xba\x1f\x29\x4f\x57\x4d\xf9\xdc\x00\x89\x73\xe1\xc6\x0d\xc1\xe0\xfa\x4c\xce\xe5\xa5\x36\xe2\xc2\x6b\x60\xf6\x86\x28\xf1\x06\xf4\xb7\x1a\x37\xbe\x2d\x64\xbc\xf5\xfc\x15\xda\x6e\x16\x1b\x5d\xdb\x0a\xf8\x59\xea\x8a\x03\x70\xb8\x7a\x62\x05\x86\xb7\x89\xc0\x11\x10\x7f\x3e\x01\xf1\xcd\xce\xa0\x5d\x41\xf1\xc7\x53\xd6\xe0\xc1\x00\x0f\x06\x78\x30\xc0\x83\x01\x1e\x0c\x75\x9b\x2f\xd0\xf8\x80\x7a\x04\xb4\x14\xb4\x14\xb4\x14\xb4\x14\xb4\x14\xb4\x74\x5c\xb4\x14\x00\x03\x00\x03\x00\x03\x00\xa3\x73\x80\xb1\x07\xe4\xef\x69\xb0\x73\xb3\x2e\x5c\x0f\x78\x7e\xa9\xc5\xad\x57\xe8\x67\xe3\x0d\xe7\x95\x72\x78\x56\x62\x1e\x8f\xd7\xb3\x8d\x56\xfd\x71\x87\x38\xee\x06\x4e\x6d\xd5\x2f\x3d\x19\x64\x3a\x20\x2f\xf1\x50\xb2\xdc\xbc\xaa\x8c\xe2\x45\x24\x93\x96\x89\x9a\xd6\x6d\x18\x3f\x08\x9e\xe9\x9b\x3b\xc4\x67\x87\x45\x90\x6e\x49\x9f\x74\xa4\x4d\xa5\x95\x08\x53\x44\x39\x15\x27\x41\x6f\xa3\x9c\xc8\xc6\xf1\x95\x87\xdc\x13\xb1\xb6\xd6\xe9\xb4\x61\x49\x22\x1d\x9f\xd4\xcf\xcc\x2e\xc6\xc9\xbc\x29\x63\x26\xc2\x54\xc9\x83\x56\x1f\x5f\xf2\x07\xd5\x8b\xe9\xbd\x48\x84\x15\xaa\x8a\xb1\x3c\x36\xe6\x87\x84\x4a\xb2\x81\xc9\x98\x5d\xbf\xfd\x97\xba\x36\xe6\x0e\x41\xaf\x40\x86\x9e\x16\xa1\xc8\x4e\xe5\xc8\x30\xe5\x7e\xa8\x77\x31\xb2\x03\xe5\xd7\x12\x08\x30\x48\x8e\xcd\x9f\x33\x2d\xc1\x93\x01\x0f\xbd\x99\x8c\xbd\xab\xe8\xc1\xbb\x5a\x85\xbe\x23\x5d\x71\xf5\xd3\x97\xe4\x56\x3d\xe5\x60\xc3\xb2\xe9\x9c\x36\x87\xa7\x57\x32\xd7\x58\x44\xa1\xa6\x62\xd0\xdb\x06\x62\xd0\x07\x6d\x33\xeb\x77\x33\xde\xee\x6c\x86\xf6\xec\xed\x77\x3b\xc6\x28\x95\x92\xa0\x33\x40\xa9\xf4\x15\x7b\x79\x2a\x91\x9a\x42\x40\x1d\x66\x14\x39\x4c\xf2\xab\xcd\x22\x72\x7a\xc9\x6f\x20\xb9\x43\x20\xd9\x15\x07\xb9\xb7\x92\x1d\xa2\xb5\xcf\x28\x5a\x1b\x61\x69\x08\x4b\x43\x58\x1a\xc2\xd2\xa0\x94\x6e\x5a\x45\xbd\x8c\x01\x39\x8d\x12\x87\x10\x96\x2d\xba\x9b\x51\x56\x06\xa8\xbd\x65\x76\xf6\xd6\x03\x57\x62\xc1\xdd\x8a\x38\x76\x88\xda\xa5\x1e\x73\x88\xd2\x85\x3d\x08\x96\x98\x03\x57\xb3\x27\x06\x69\x88\x79\x09\x1e\x2c\x95\x32\x69\xf6\x39\x43\x2a\x6e\x32\x5c\xfa\x49\x8e\x07\x07\xe5\xb4\x9e\xd2\xbd\x3f\x6f\xdf\xe4\x96\x22\xf6\x44\xa3\x2b\x93\x34\xe6\xa9\xf0\x7c\x67\xda\xfc\x1e\xf5\xf7\xb3\xb9\x92\xb6\xd3\x26\xe7\x46\xc4\xe3\xd4\xa7\xb8\x20\xed\x24\xd3\xc2\x19\x42\x5f\xd0\x3b\xcb\x5d\x57\xcc\x76\x8b\xa4\x76\x5b\xf6\x63\x61\xb0\xe7\x8d\xdc\x9e\x77\x3e\xa4\xb6\xe2\x7d\x6f\x17\x97\x8e\x10\x51\xfb\x50\x1e\x75\xfc\x7a\xc3\x1e\xf5\x86\xac\x19\x3a\x2c\x94\x07\x74\x67\x28\xc3\xa9\xbe\x9b\xae\x20\x83\x62\xc2\x5e\xff\x96\xc8\xf0\x56\x07\xdf\x7e\x55\xbb\xa1\xf9\xfb\x87\xdd\x23\xf3\x7f\x7c\xd3\x27\x84\xdc\x7c\xde\x7c\x96\xb1\x43\x16\x57\x4f\xd2\xe0\x4b\x76\x77\xb1\x50\xff\x76\x77\xc1\x6e\x4a\xbd\x49\xbe\xbd\xda\x3c\xba\x4a\xf2\x40\xc3\x29\x77\x68\x00\x28\x7c\x33\xf0\x1d\x63\xf0\x11\x81\x9b\x30\xf9\x64\xc6\x56\x87\x37\x46\x42\x46\x81\x98\x31\xfd\x4e\x8a\xda\xb6\x73\x8a\x3c\x6c\x6b\x07\x22\x7b\xfd\x21\xdd\xab\x5e\x34\x5e\x7f\x48\xa8\x20\xc3\x57\x41\xa2\x8a\xbb\xea\x00\x95\x90\x55\xeb\xf6\x84\x28\xe0\x4e\x1b\xe2\xa0\x79\xd2\xd9\x08\x84\x70\xe2\x83\x68\x78\xce\xa2\x61\x8f\x24\x30\x08\x0a\xd9\x2f\x70\xe2\x83\xbc\x93\xcb\x3b\xab\x41\x9a\x5c\x5f\xb1\xd6\x7c\xdf\x94\x22\x1a\xcb\x47\x1e\x1c\x54\xd0\x6e\x2f\x28\x63\xdf\x64\x8f\xbf\xa3\x01\x9a\x1b\xdb\x44\x6c\x7e\xd8\x35\xcc\xbf\x01\xd4\x00\xd4\x00\xd4\x8c\x02\xd4\xb4\x7b\xae\xec\x03\x6d\x6a\x0f\x96\x41\xea\xea\x80\x37\xd0\xd0\xcf\x4f\x43\x07\xbc\x69\x73\xde\x00\xde\xc0\x26\x03\xb5\x04\xf0\xa6\x87\xf0\xa6\x6d\xd3\xc3\x3e\x20\x67\x3c\x42\x22\x80\x0e\xc4\xc5\x73\x16\x17\x7b\x24\x95\x41\x78\xc8\x7e\x01\xd0\x81\x0c\x04\xa0\x93\x03\x9d\x44\x87\x45\x75\x8e\x73\xf4\x7b\x8e\x0e\x73\x4c\xd4\x17\xb6\x3d\xec\x17\xe6\xdf\x80\x72\x80\x72\x80\x72\x46\x81\x72\xda\x3c\x53\xf6\x01\x39\x35\x87\xca\x20\x35\x74\x60\x1c\xe8\xe5\xe7\xa7\x97\x03\xe3\xb4\x39\x6f\x80\x71\x60\x89\x81\x4a\x02\x8c\xd3\x43\x8c\xd3\xae\xc9\x61\x1f\x88\x33\x16\x01\x11\x08\x07\xa2\xe2\x39\x8b\x8a\x3d\x92\xc8\x20\x38\x64\xbf\x00\xe1\x40\xfe\x39\x1f\x84\x43\x55\x7d\xb6\x80\x9c\x4e\xd1\x8d\xa9\x06\x19\xba\xfe\xa3\xef\xae\x78\x50\xac\x2c\xc5\xb3\xfa\xaf\x1b\xfb\x64\x56\x48\xbe\xfa\x2e\x4b\xdb\x3a\xa1\xa7\x4e\xf2\xca\xe0\xa5\x52\xcf\x99\xe0\xc5\xfc\x30\x49\x05\x2f\x99\x5d\xab\x62\xd9\xd3\x1e\x56\xbb\xdf\xfd\x7e\x24\x5f\xdb\x78\xc3\x79\x55\x82\xda\x62\x7c\xa4\x42\x66\x9f\x1e\x45\x78\xd6\x3b\x1b\x0d\xe2\x39\x56\x81\xa2\xb4\xb6\x34\x07\x7e\x95\xf2\x61\xc9\xe3\x87\x24\x37\xc9\xe9\x1d\x89\x4a\x06\x27\x46\xce\x7c\x8e\x04\xbb\xbb\xf8\xf5\xdb\xb7\xff\xfe\x7a\xf3\xfd\xbf\xef\x2e\xf2\xa2\xbd\x3a\x6d\xad\x24\x35\xc1\x5f\x46\x81\xa0\xea\xbc\xf3\xec\xa9\x4b\xfe\xcc\x7c\x2f\xd4\x49\xc3\xfd\x44\x9b\x94\x94\x44\x99\x5f\xc2\x63\xc1\x8a\xc5\x4d\x75\x25\xdc\x49\xc2\x5c\x3f\x71\x62\xa1\xbe\x39\x2f\xad\x5e\xd0\x4a\x4c\x45\xde\xf2\x83\xb2\x1a\xb9\x3c\xd5\x85\x66\x6d\x86\x60\x3f\x4c\x45\xfc\xc8\x83\x4b\x16\xca\x98\x3e\x8b\x4a\xb8\x66\x65\x7d\xab\x95\xa1\xa9\xee\xfe\x33\xb3\x6d\x36\x25\x94\xb3\x02\xae\x89\xd2\x52\xd4\x87\xd9\xdc\xe4\xa6\xd2\xaf\x29\xf8\x5e\x4a\x93\xad\x7e\xa5\x2e\x30\xd9\xae\xef\x05\x5b\x08\x9e\xae\x62\xc1\x3c\x9e\x0a\x56\x19\x08\xf3\x24\x11\x2a\x11\x5b\x57\xcc\x8d\x7c\xfd\x71\x9b\x1e\xbb\x27\x36\xab\x19\xfe\x7a\x86\x56\x67\x80\x6b\x01\x09\xfe\x51\x2c\xba\xac\x6d\xbc\x85\x3c\xf2\x89\x48\x75\x85\x63\x53\x35\x5b\x75\x78\xa9\xdc\x72\x96\xf0\x5b\x77\xca\x8c\xfd\xf0\x43\x47\x54\x52\xc4\x9b\xd1\x34\x2a\x49\xb9\x96\x73\xa9\x9c\x75\xf6\x21\xfa\x56\x7a\x38\x57\x3a\xf2\xa3\x2f\x57\x89\xa9\xe1\x6d\x8b\xeb\xaa\xd5\x90\x57\x58\xd6\xbf\xe5\xeb\x8f\xbd\x16\xff\x76\x44\x94\xd7\xd1\xd4\x8f\x94\x8b\xec\x25\x6f\xb2\x1c\xd6\xe6\xfb\x74\x9d\x6f\x4a\x3c\xcf\xab\x9f\xe2\xab\x95\x25\xf4\x6c\xc8\x94\xec\x6c\x0a\xe5\xd6\x96\xea\x6d\xea\x0e\xd2\xdd\x44\xcc\xb4\x9e\x6e\xcb\x70\xbb\x2b\x41\xf5\xe1\xff\x1d\xf9\x46\x02\x78\xed\x89\x50\xc4\x84\xfc\x16\x4a\x61\x4f\x25\x5b\xf8\x8b\x54\x88\x90\x2d\xfd\x70\x95\x8a\xe4\x0d\xa3\xda\xea\x8e\x0c\x17\xbe\x67\x4b\x02\x68\x21\xc5\xd6\x49\xcf\x27\x67\x79\x15\xe9\x93\xd0\xb5\xc2\xc7\xff\xbd\xfe\x3f\xec\xbb\x49\xdd\xfd\x49\x7d\x82\x70\x8d\x39\x20\x95\x9e\xfe\x40\x73\x65\xd6\xa2\x54\x3e\x88\x30\x6b\xb2\xa9\xe5\x1c\x0a\xe1\x56\x4a\x40\x07\x54\xdf\xdd\x4f\xb5\x5a\x1b\x8b\x24\xe5\xba\x6e\xb8\x6f\xaa\xc6\xda\x72\xd7\xeb\xf5\xbe\x67\xec\x9b\x7a\xf5\x93\x6f\xb3\xcf\x9b\xb7\xa8\x91\x31\xdb\x80\xb6\x8d\x9b\x2a\xcb\xba\xac\x70\xa6\x7f\xd3\x17\xda\x3a\xd2\x05\xbd\x5c\x35\x96\x1a\xb7\xb3\x5b\xe8\xb9\xf4\xc1\x64\x97\xb7\x93\x9b\xca\xc4\x3f\x88\x67\x9d\x5b\x3d\xfb\xe7\x40\x9d\x2f\xc5\x9a\xd7\x4f\xf7\xbe\x2e\x27\xee\x87\x85\x0e\xc9\xae\xcf\x26\x72\xa1\x48\x74\xc2\xa6\x59\x2e\x7e\x5d\x26\x3b\x16\x7b\x96\xfa\xae\x74\xc6\x7a\x95\x6f\x93\xa7\x9d\x24\x21\x32\x0e\xa8\x09\xa9\xfe\xab\x07\xe5\x41\x3c\x9b\xba\xe9\xd9\x83\xef\x2e\x6c\x93\xef\x2e\x4c\x59\xf4\xcd\x75\xd4\x69\x83\x28\x57\x52\xcf\xce\x08\x1a\x39\x9a\x00\x66\x37\x2e\xf6\x5e\xb2\x56\x66\xd8\x2c\x9b\xec\xe4\x30\xe9\xe9\xcd\x88\x69\x03\x55\xca\x96\x7e\x92\xd0\x89\x50\xb2\x92\xed\xbb\xf3\xda\xa9\xd7\x8e\xcb\x42\xb3\xdd\xf6\x86\x25\x22\x4f\x59\xaf\xd6\x46\xec\x3b\x69\x56\xe7\x57\x6d\x4f\x59\xdb\xb3\x0a\x0d\xcf\x66\x9c\x34\x26\x2a\x97\xcb\x10\x8f\x22\x7e\x4e\xef\xfd\xd0\xdb\xb7\xf9\xf4\xb4\x1f\xe6\x6b\x06\xd3\x07\x01\x9f\x8b\xa0\xb5\x3e\xa0\xa7\x9d\xa2\x0f\x74\xd1\x7b\xb2\x26\x2e\xf9\xbf\xfd\xe5\x6a\xc9\xc2\xd5\x72\x2e\x62\xdd\x7a\xa3\xb4\xe8\xfe\xa1\xaa\xc5\x84\x6b\xf3\xa2\xdb\xb4\x0d\xd3\x41\xec\xab\xaf\xd0\xf5\x1b\xd6\x77\x37\x75\x7c\xab\x7f\xfb\x5f\x3b\xd7\xff\xd7\x96\x90\x08\xf3\xfe\xb6\xd5\x1d\xb4\x96\xab\x17\x20\xed\x44\x0e\x0f\x6d\x8d\x96\x7c\x2f\x4d\xf8\x52\x6d\x2e\x7e\xea\x67\x87\xae\xfe\x4a\x25\x1e\x88\x7c\xb7\x54\xaf\xd6\x6d\x51\xc3\xa4\x84\xd4\x34\xd5\xe2\x9a\x6e\xbb\x3e\x6c\x75\xdb\xc4\x13\x6d\x3b\x3c\x2c\x5a\x99\xd5\x46\xb7\x94\xab\x90\x1e\xa3\x5b\xf9\x7a\x15\xa9\x97\xe9\x2a\x35\xea\x5f\xde\xd8\xdd\x4d\x4b\x84\x9c\x36\x74\x7b\x77\xb1\xe8\xff\xc2\x0f\x52\xa1\xce\x38\x75\xee\xa8\x6d\xc4\x29\xcb\xb0\x25\x29\x44\xdb\xe4\x9d\xcc\x11\xac\x7c\x46\xe9\x5a\x13\xa6\xe6\x7a\x76\x9a\x97\x84\x22\xda\x4b\x1f\xb9\x1f\x28\xa9\x31\x97\xcf\x55\x93\x9d\x7b\x29\x13\x2a\x2c\xad\x9e\x63\xf6\x50\x33\x16\xaa\x5b\x78\xec\xad\x48\x6c\xe7\xa1\x6b\x4f\x28\xea\x24\xd5\x36\xf3\x3d\xd9\xa3\xf3\xde\xfd\xb2\x60\xd9\x94\xca\x85\x11\x2b\xdf\x54\x1a\xe0\x27\x4c\x2c\xa3\xf4\xb9\x2c\x88\x65\xd2\x37\x4f\x95\xcc\xb2\xad\x41\xdb\x0e\x03\x7f\x51\x39\x0a\xf4\xe9\x91\xcd\x4b\x6f\xc5\x63\x1e\xa6\xc2\x82\x8e\xbc\x58\x4c\x92\x2f\x7b\x3a\x51\xa8\x20\x7c\xfe\xed\xd9\xc1\x96\x89\x7c\xa9\x64\x7e\x92\xac\x8c\x12\xe0\x87\x5e\x20\xf2\x15\x92\x49\x19\x76\xc2\x4d\xad\x39\x5e\x69\x1d\xd9\x2b\xf7\x3b\x69\xed\x21\x4b\x3a\x46\xb2\x12\x6e\xed\x71\x4b\xba\xce\x6a\x9e\xa8\x8b\xc3\x34\x6b\x81\x5b\xf0\x0d\xf8\xc3\xa8\x29\x89\x5c\x8a\xd4\x5f\x0a\xd5\xf6\x85\x88\x63\x5d\xa5\x9f\x57\x24\xaa\x5c\xc0\x50\x23\x2a\xc2\x64\x15\xdb\xee\xe3\x56\x44\xb2\xac\x41\xf7\x9a\x6e\x32\x2d\x4c\x12\x86\x58\xb2\xe4\x41\x20\x62\xe6\xdc\xaf\xc2\x07\x5d\x12\x9e\xa9\x6d\x93\x05\x3c\xf6\xec\x40\xd3\x8a\xd7\x8f\xd7\x1a\x59\x22\x04\x4d\xbc\x48\x26\x89\xaf\x26\x9c\xe9\x36\x9a\x70\xc5\xf5\xa5\x5d\xd4\xdc\x5c\x27\xa3\xf7\x08\x57\x8f\x07\x89\xdf\xe6\x80\x37\x73\xd8\x14\x78\xa2\xaf\x7e\xe2\x89\xe5\x60\x56\xef\x54\x7d\xb2\x2e\xe1\x68\xb9\x9f\x27\x6a\x80\x9d\x55\xa0\x8b\x1c\xe5\xd3\x66\xef\xdd\x5f\x75\x52\xfd\xae\x5f\x57\xe5\xe9\x8c\xfc\x2f\x9b\xb5\xa6\x2a\xbb\x25\x22\xb5\x13\x37\x8d\xb9\xaf\x76\xee\x90\x3d\xa9\x11\xb6\x57\xda\x59\xa0\x2e\xb3\x6b\x29\xab\x5c\x14\xdb\x02\x52\x6a\xc7\x14\x19\xb5\x2a\x18\xfe\x7c\x79\xe5\x4a\x27\xb9\xa2\xb5\xa2\x76\xe8\x2b\x9a\xed\x53\x1e\xf9\x57\x3c\xf2\xa7\x8e\x0c\x95\xca\x97\x5c\xfd\x94\x55\x25\xca\x5e\xb8\xa0\x65\x9d\x72\x3f\x48\x68\x4b\x2a\x0a\x10\xe4\x4e\xb3\x67\x77\x57\x1a\x7f\xc2\x7e\xff\x4a\xdb\x6d\x76\x24\x25\x54\x5b\xaa\x3a\x36\x4a\xd4\x88\xa2\xc0\xd7\x1b\x4c\xb6\x4b\x6a\x37\x25\x3f\x61\xf7\xbe\x77\x4f\xde\x4b\x8e\x5c\x2e\x45\x48\x65\xbd\x8a\x23\x57\x7a\x97\x31\x0c\xa8\x2e\xcd\x9f\xa4\x36\xed\x58\xd4\xbd\x58\x5d\x3b\xbc\x11\xfd\xba\x6e\x93\xee\x76\x58\xff\xf0\x97\x42\x1d\x58\xd6\x60\xa1\xba\x56\xf3\x10\x23\xf2\xd1\xa1\x41\x9b\x56\xa2\xcb\x5c\x59\x0b\x80\x95\x53\x78\x10\x5c\xb2\x58\x78\x3c\x76\x09\x25\xab\x5d\x3e\x7c\x66\xdc\x49\xfd\x47\x3f\x7d\x56\x27\x9b\x1f\xda\xff\xdb\x77\x7f\x49\xf5\xe7\xd5\x95\xc7\xeb\x7a\xdb\xfc\x4b\x2b\x8e\x32\x2e\x02\x19\x5d\xe8\x4b\x5d\x37\xa7\xa3\x55\x0f\x9e\x2e\x4c\x66\x64\xa6\xf4\x5e\x2c\xf5\x61\xaa\x49\x01\x75\x88\xeb\x5e\x9a\xe3\xea\xd2\x5c\xbb\x94\x8f\x24\x91\x15\x54\x49\xf6\x83\x84\xa8\xe7\xea\x74\xde\xb7\xd3\x6a\xc0\xc6\xc1\xf6\x3c\xf3\xd7\xdf\xed\xc1\xb4\x9a\x12\xaf\x1d\x31\xb5\x22\x48\x0b\xed\xe1\x2f\x17\xec\xc1\x0f\xb7\x78\x28\xb5\x02\xd4\x2e\x73\xe1\x9f\x14\x1c\x23\x28\x2a\xfd\x21\xd7\x6a\x26\x25\x6d\xb8\xf0\xec\xb6\x70\x1c\x50\x1c\x50\xdc\xa0\x50\x1c\x30\x1c\x30\x1c\x30\x5c\x7e\x21\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\x1c\x30\xdc\xf0\x30\x1c\xb2\xbc\x80\x32\x82\x32\x82\x32\xf6\x60\x44\x41\x19\xcb\xdd\x03\xca\x38\x34\xca\x38\x17\x29\xbf\xbe\x3a\x88\x21\x9e\x24\x70\xb7\x32\xea\x9e\x48\xcb\x92\xbc\x1e\xe0\x2d\xd8\xcf\x13\x69\x19\xfa\x51\x0f\xdc\xdc\x7e\xf9\x5e\x77\x33\x82\x96\xf7\x64\x70\x85\x8e\xa4\x18\xc6\x71\x81\x38\x9a\x2b\x85\xbb\x5f\x15\xbf\xa0\xf9\x72\x6b\x16\x20\xab\xf5\xa7\x76\x79\xbe\x7e\x26\x73\x64\x10\x08\xc7\x9e\x0b\x87\xe4\x18\xd1\x0f\xaa\x59\x49\x1f\xb2\x47\xf7\xa0\xfe\x6f\x27\x53\xfc\x23\x35\xfd\x1b\xf5\x69\xd2\x4a\x2e\x11\xe0\x23\xe0\x23\xe0\x23\xe0\xa3\xb1\xe1\xa3\x66\x59\x68\x6a\x11\xd2\xd1\x12\x04\x21\x8f\x53\xe3\x81\x3a\x65\x1e\xa7\xa3\x31\xbf\x3d\x32\x27\xd5\x32\xaf\xa3\xf5\xc8\x1f\x45\xed\xde\x0f\x59\xa2\x95\x6e\x36\x17\x0b\xed\x9c\x94\xd9\x87\x73\x51\xc2\xec\x5e\x34\x75\x0a\x99\xab\x42\x19\x4e\x43\xe1\x71\x9a\xa0\x46\x3f\x2f\x66\xb8\xd2\xac\x28\x5b\x1a\x46\x88\xf4\x97\x4b\xe1\xfa\x3c\x15\xc1\x73\xee\x35\x94\x1f\xb9\x7e\x70\x69\xf4\x6f\xea\x74\xe6\xc5\xdc\xa1\x55\xe3\x4b\x37\x13\x08\xf2\x43\x9b\x5c\xb2\xec\x2c\x5d\x25\xea\x23\x8b\xc3\xc5\xd5\x9d\xb6\x41\xe6\x25\x0b\xbd\x07\xda\x47\xcc\xf4\x77\xea\xac\x9d\x35\xdf\x78\xc0\x30\xd3\x37\xdf\xd2\x27\xd7\xd9\x34\x76\x58\x35\xfa\x32\xfd\xf7\xc1\xbd\xcd\xfa\x65\x33\xf2\x3d\xda\xf4\x07\xfc\x05\xfc\x05\xfc\x05\xfc\x05\xfc\xed\x0c\xfe\x36\x3c\x0b\xd6\x00\xf0\xf1\x8e\xc5\x8f\x85\x00\x93\x28\x10\x3c\x11\xd9\x16\x74\x1b\xcb\x88\x7b\x24\x1d\xdd\xca\xc0\x77\x9e\x4b\xae\xc6\x76\xd2\xe5\x11\x2a\x6a\xda\x5d\xcf\x7e\x99\xb1\x1f\x7a\x3f\xd3\xa2\x4b\x24\x42\xb5\x58\xf2\x33\x55\x30\x19\x47\xf7\x3c\xb4\xae\xcf\xf1\x4a\x5c\x2d\x78\x60\x75\xe5\xbb\x0b\xfd\xf3\xdd\x05\x5b\xf8\x21\x0f\xfc\x7f\xec\x41\x32\x17\x8c\xbb\x84\xcc\xe4\x95\xc6\x09\x6e\xae\x86\xe9\xc7\x4f\x92\xfc\x26\xad\x9f\xce\xd8\x27\x9f\x36\xc7\xc2\xa7\xcb\x78\xbd\x6d\x39\x20\x4d\xb5\x7a\x4c\x3a\x8a\x4c\xef\x0f\x19\x50\xdd\x82\x8f\xb6\xed\x1b\x45\x9e\x83\x72\x8a\xef\xa5\x98\x51\xd3\xd5\x82\xbd\x97\x4f\xcc\xe3\xf1\x9c\x7b\x25\xdb\x65\xa6\xd4\x88\x78\x21\xe3\xa5\x1a\x93\xda\xfe\xfa\x56\x69\xd1\xe6\xee\x22\xa1\xd7\x4a\xac\x91\xee\x5b\x5f\x49\x93\x8e\xef\xe6\xaa\x30\xc9\x0a\x3a\xf5\xbb\x1d\x63\x75\x58\x9b\x93\xd4\x4a\x03\xb3\xc2\x60\xda\x73\x24\x23\x94\x99\x1b\x7f\xf9\x65\x33\x76\xe3\x38\x22\xd2\x39\x61\x8b\x9a\xdd\x44\xb7\x61\xc2\xa6\x66\x02\x96\x27\x68\xf2\x9e\x4d\x7e\xe5\xce\x83\x17\xcb\x55\xe8\xaa\xab\xc8\x25\x9e\x2e\xaa\x74\x9c\x16\x21\x8d\x7c\x5c\x7e\x88\x6d\xc1\x3c\x7b\xd2\x7b\x36\xf9\x2c\x63\x51\x78\x2c\x73\x78\xe2\x70\x57\xb5\xde\xf4\x8f\x8e\x98\xa0\xe7\x25\x5a\xf5\x5c\x7b\xe0\x22\x7b\xc6\x21\x13\x32\xaa\x4e\xf7\xd3\x48\x9c\x23\x76\x65\x68\x36\x0e\xdb\xdc\x19\x4e\x35\x0a\x70\x6c\xe8\x6c\x7c\xd7\x9d\x1b\x8e\x67\xdb\x38\xa5\x9b\x43\xb3\xce\xda\xe2\xea\xf0\x52\xf9\xa7\x16\xe4\x81\x44\xef\x89\xe9\x4c\x5d\x83\x71\x03\xe8\xc2\xdd\x1b\xc2\x41\xf5\xc1\x9c\x0b\x4d\xbd\x8f\x0c\xad\x34\x71\x3d\x3c\xb4\xf5\x20\x77\x6d\x41\x8b\x8d\xd6\x6d\x45\xfd\x9d\xf1\xed\x5b\xe8\xb8\x7a\x62\x1d\x1b\x6f\x93\x88\x23\x02\xf6\x7c\x22\x60\x9b\x1d\x49\xbb\xa2\x60\x8f\xa7\xbb\xc1\xa1\x01\x0e\x0d\x70\x68\x80\x43\x03\x1c\x1a\xea\x36\x5f\x90\xf2\x01\xf5\x08\xe0\x29\xe0\x29\xe0\x29\xe0\x29\xe0\x29\xe0\xe9\xb8\xe0\x29\x78\x06\x78\x06\x78\x06\x78\x46\xe7\x3c\x63\x0f\xe6\xdf\xd3\x20\xce\x66\x5d\xb8\x1e\xc8\x39\xaa\x0a\xec\x1b\x6f\x38\xaf\x04\xa4\xd5\x52\xa7\x64\xd9\xdf\x5c\xef\xf4\x0c\xa2\x20\x77\x43\xa8\x41\x54\x06\xdc\x09\x9e\x0e\xc8\x4b\x3a\x94\x64\x1e\xaf\x2a\x43\x79\x11\xc9\xa4\x65\xca\xa6\x55\x1d\xc6\x0f\x02\x6a\xfa\xe6\xae\x91\x5a\xbf\x0b\xda\xef\xd8\x68\x50\xd5\xfe\x7c\xa2\xa1\x50\xd5\x1e\x55\xed\x6b\x3e\x66\xa8\x32\xd2\xa0\x4a\xdb\xb7\xd6\x96\xb7\x3b\xdb\xa2\x7d\x81\x07\xd0\x98\xd1\x0a\xae\x24\x06\x0d\x55\x70\x7d\xc5\x5a\xca\x4a\x52\x53\x69\xa4\xc3\xe4\x24\x87\x49\x88\x9b\x13\x92\x9c\x5e\x42\x1c\x48\x1a\x12\x08\x7f\xc5\x41\xee\xad\xf0\x87\xc0\xef\x33\x0a\xfc\x46\x84\x1b\x22\xdc\x10\xe1\x86\x08\x37\xe8\xad\x9b\x56\x51\x2f\xc3\x49\x4e\xa3\xdd\x21\x1a\x26\xbb\x72\x6b\x34\xcc\x60\x35\xba\xcc\x3c\xdf\x7a\x0c\x4c\x2c\xb8\x5b\x11\xcc\x0e\xd1\xc2\xd4\x63\x0e\xd6\xc1\xb0\x25\xc1\x62\xf3\xe2\x15\xee\x89\xe1\x1a\x6c\x5e\x42\x1a\x51\x15\xa1\xa7\x20\x95\x5c\x1a\x0e\x4a\xa8\x3d\xa5\x7b\x7f\xde\xbe\xe7\x2d\x45\xec\x89\x46\x57\x26\x69\xcc\x53\xe1\xf9\xce\xb4\xf9\x3d\xea\xef\x67\x73\x25\xed\xae\x4d\xce\x92\x88\xc7\xa9\x4f\x11\x47\xda\xfd\xa6\x85\x73\x25\x5a\x2f\xd6\xdb\x17\xe3\x5e\x57\xf8\x77\x8b\x30\x77\x5b\x76\x93\x61\x30\xf9\x8d\xdc\xe4\x77\x3e\xbc\xb7\xe2\xdc\x6f\x17\x97\x0e\x40\x51\x9b\x51\x1e\xd4\xfc\x7a\xc3\x46\xf5\x86\x0c\x1e\x3a\xea\x94\x07\x74\x67\x28\xc3\xa9\xbe\x9b\xae\x20\x9b\x63\xc2\x5e\xff\x96\xc8\xf0\x56\xc7\xf6\x7e\x55\x5b\xa2\xf9\xfb\x87\xdd\x28\xf3\x7f\x7c\xd3\x27\x10\xdd\x7c\xde\x7c\x96\xb1\x43\x46\x59\x4f\xd2\xe0\x4b\x76\x77\xb1\x50\xff\x76\x77\xc1\x6e\x4a\xbd\x49\xae\xc3\xda\x82\xba\x4a\xf2\x38\xc6\x29\x77\x68\x00\x28\x3a\x34\xf0\x1d\x63\x13\x12\x81\x9b\x30\xf9\x64\xc6\x56\x47\x4f\x46\x42\x46\x81\x98\x31\xfd\x4e\x0a\x0a\xb7\x73\x8a\x1c\x78\x6b\x07\x22\x7b\xfd\x21\xdd\xab\x5e\x34\x5e\x77\x4b\xa8\x25\x1b\x9a\x31\x48\xb5\x24\x1a\x44\x55\xf6\xdd\x8a\xc9\xaa\x75\xbb\x43\x14\x70\xa7\x0d\x11\xd1\x3c\xe9\xbc\x84\x44\xf8\x08\x42\x66\xdc\x30\x4c\xe7\x23\x33\xf6\x48\x34\x83\x04\x91\xfd\x02\x1f\x41\x48\x43\x1b\xa5\xa1\xd5\x70\x8d\xb4\xaf\x58\xbb\x5e\x75\x4a\x75\x8d\xe5\x23\x0f\x0e\x2a\xc2\xb7\x17\xdf\xb1\x6f\xb2\xe7\xe2\x71\x59\xcf\x8d\x6d\x27\xb6\x46\x6c\x27\xad\x6e\x27\x60\x3e\x60\x3e\x60\x3e\x75\x57\x9e\x8e\xf9\xb4\x7b\xd6\xec\xcd\x7f\x6a\x0f\x9b\x41\xaa\xf8\xe0\x40\xd0\xe9\xcf\x4f\xa7\x07\x07\x6a\x73\xde\x80\x03\xc1\x8a\x03\x55\xa5\x0f\xaa\x0a\x38\x50\xfd\x60\x5a\x0e\xd4\xb6\x89\x62\x6f\x26\x34\x1e\xc1\x11\x6c\x08\x72\xe4\x86\x61\x3a\x1f\x39\xb2\x47\xe2\x1a\xa4\x8a\xec\x17\xb0\x21\x48\x48\x60\x43\x0d\xd8\x50\xa2\xc3\xb6\x3a\x27\x43\xfa\x3d\xa7\xe1\x42\x26\x34\x0d\x9b\x22\x36\x92\x56\x37\x12\x50\x21\x50\x21\x50\xa1\xba\x2b\x4f\x47\x85\xda\x3c\x67\xf6\x66\x42\x35\x07\xcd\x20\x15\x7b\x10\x21\x68\xf2\xe7\xa7\xc9\x83\x08\xb5\x39\x6f\x40\x84\x60\xbb\x81\x9a\xd2\x07\x35\x05\x44\xa8\x7e\x30\x2d\x11\x6a\xd7\x34\xb1\x37\x0f\x1a\x8b\xd0\x08\x1a\x04\x19\x72\xc3\x30\x9d\x8f\x0c\xd9\x23\x51\x0d\x12\x45\xf6\x0b\x68\x10\xa4\x23\xd0\x20\x5d\x0f\x6c\x0b\x13\xea\x94\x02\x99\xa2\x99\xa1\xeb\x3f\xfa\xee\x8a\x07\xc5\x02\x5c\x3c\x2b\x93\xbb\xb1\x77\x66\x85\x3c\xb3\xef\xb2\x0c\xb5\x13\x7a\xea\x24\x2f\xa0\x5e\xaa\x88\x9d\xc9\x66\xcc\x0f\x93\x54\xf0\x92\xb5\xb6\x2a\xb9\x3d\xed\x6b\xec\xfb\xdd\xef\x47\x76\xb9\x8d\x37\x9c\x57\xd5\xac\x2d\x36\x4b\x2a\xfa\xf6\xe9\x51\x84\xd8\xed\x68\x24\xcf\xb6\x58\x16\x25\xf4\xa5\xd9\xf0\xab\x94\x0f\x4b\x1e\x3f\x24\xb9\x4d\x4f\x6f\x50\x54\x68\x39\x31\xf2\xe8\x73\x24\xd8\xdd\xc5\xaf\xdf\xbe\xfd\xf7\xd7\x9b\xef\xff\x7d\x77\x91\x97\x3a\xd6\x09\x7b\x25\xa9\x13\xfe\x32\x0a\x04\xd5\x34\x9e\x67\x4f\x5d\xf2\x67\xe6\x7b\xa1\x4e\x97\xee\x27\xda\x26\xa5\x24\xcf\xfc\x12\x1e\x0b\x56\x2c\x09\xab\xeb\x07\x4f\x12\xe6\xfa\x89\x13\x0b\xf5\xcd\x79\x41\xfa\x82\xf6\x62\xea\x18\x97\x1f\x94\x55\x16\xe6\xa9\x2e\xcf\x6b\x73\x23\xfb\x61\x2a\xe2\x47\x1e\x5c\xb2\x50\xc6\xf4\x59\x54\xf8\x36\x2b\x86\x5c\xad\xa7\x1d\xba\x74\xbf\x6d\xb3\x29\x3c\x9d\x95\xbd\x4d\x94\x36\xa3\x3e\xcc\x66\x65\x37\xf5\x91\x4d\x99\xfc\x52\x82\x70\xf5\x2b\x75\x81\xc9\xf3\x7d\x2f\xd8\x42\xf0\x74\x15\x0b\xe6\xf1\x54\xb0\xca\x40\x98\x27\x89\x50\x89\xe2\xba\xce\x70\xe4\xeb\x8f\xdb\xf4\xd8\x3d\xe1\x5b\xcd\xf0\xd7\x93\xb8\x3a\x0b\x5e\x0b\x60\xf1\x8f\x62\xa9\x6a\x6d\x24\x2e\x64\xd0\x4f\x44\xaa\xeb\x42\x9b\x5a\xe3\xaa\xc3\x4b\x45\xaa\xb3\x54\xe7\xba\x53\x66\xec\x87\x1f\x3a\xa2\x92\x1c\xdf\x8c\xa6\x51\x5d\xca\x15\xb0\x4b\x45\xc0\xb3\x0f\xd1\xb7\xd2\xc3\xb9\xd2\xa5\x1f\x7d\xb9\x4a\x4c\xe5\x73\x5b\x92\x58\xad\x86\xbc\x2e\xb5\xfe\x2d\x5f\x7f\xec\xb5\xf8\xb7\x23\xa2\xbc\xfa\xa8\x7e\xa4\x5c\x64\x2f\x79\x93\x65\xef\x36\xdf\xa7\xab\xa3\x53\xca\x7d\x5e\xfd\x14\x5f\xad\x2c\xa1\x67\x43\xa6\x8c\x67\x53\x28\xb7\xcf\x54\x6f\x53\x77\x90\x8e\x27\x62\xa6\xf5\x79\x5b\xbc\xdc\x5d\x09\xaa\xaa\xff\xef\xc8\x37\x02\xc1\x6b\x4f\x84\x22\x26\x70\xb8\x50\x8a\x7d\x2a\xd9\xc2\x5f\xa4\x42\x84\x6c\xe9\x87\xab\x54\x24\x6f\x18\x55\xa4\x77\x64\xb8\xf0\x3d\x5b\x0c\x41\xcb\x2c\xb6\xba\x7c\x3e\x39\xcb\xab\x48\x9f\x89\xae\x95\x45\xfe\xef\xf5\xff\x61\xdf\x4d\xd2\xf2\x4f\xea\x13\x84\x6b\xcc\x06\xa9\xf4\xf4\x07\x9a\x2b\xb3\x16\xa5\xf2\x41\x84\x59\x93\x4d\x05\xec\x50\x08\xb7\x52\x38\x3b\xa0\xaa\xf8\x7e\xaa\xd5\xdf\x58\x24\x29\xd7\xd5\xd6\x7d\x53\x6b\xd7\x16\x09\x5f\xaf\x92\x3e\x63\xdf\xd4\xab\x9f\x7c\x9b\x77\xdf\xbc\x45\x8d\x8c\xd9\x06\xb4\x71\xdd\xd4\xa6\xd6\xc5\x98\x33\x3d\x9d\xbe\xd0\x56\xdf\x2e\xe8\xef\xaa\xb1\xd4\xb8\x9d\xdd\x42\xcf\xa5\x0f\x26\xc3\xbe\x9d\xdc\x54\x5c\xff\x41\x3c\xeb\xac\xf2\xd9\x3f\x07\xea\x90\x29\x56\x0a\x7f\xba\xf7\x75\x11\x76\x3f\x2c\x74\x48\x76\x7d\x36\x91\x0b\xa5\xb5\x13\x36\xcd\xaa\x10\xe8\xe2\xe2\xb1\xd8\xb3\x40\x7a\xa5\x33\xd6\x6b\xa3\x9b\x0c\xf5\x24\x13\x91\x11\x41\x4d\x48\xf5\x5f\x3d\x28\x0f\xe2\xd9\x54\x9b\xcf\x1e\x7c\x77\x61\x9b\x7c\x77\x61\x8a\xc9\x6f\xae\x3e\x4f\x1b\x44\xb9\xfe\x7c\x76\x46\xd0\xc8\xd1\x04\x30\xbb\x71\xb1\xf7\x92\xb5\xe2\xcc\x66\xd9\x64\x27\x87\x49\xcc\x6f\x46\x4c\x1b\xb2\x52\xb6\xf4\x93\x84\x4e\x84\x92\x35\x6d\xdf\x9d\xd7\x4e\xbd\x76\x1c\x1f\x9a\xed\xb6\x37\x2c\x11\x79\xb2\x7e\xb5\x36\x62\xdf\x49\xb3\xea\xc8\x6a\x7b\xca\xda\x9e\xd5\xa6\x78\x36\xe3\xa4\x39\x53\xb9\x50\x88\x78\x14\xf1\x73\x7a\xef\x87\xde\xbe\xcd\xa7\xa7\xfd\x30\x5f\x33\x98\x3e\x08\xf8\x5c\x04\xad\xf5\x01\x3d\xed\x14\x7d\x40\x45\xaf\xb5\xd5\x71\xc9\xff\xed\x2f\x57\x4b\x16\xae\x96\x73\x11\xeb\xd6\x1b\xf5\x45\xf7\x0f\xd5\x7a\x26\xde\x9b\x97\x2a\xa7\x6d\x98\x0e\x62\x5f\x7d\x85\xae\x5c\xb1\xbe\xbb\xa9\xe3\x5b\xfd\xdb\xff\xda\xb9\xfe\xbf\xb6\x78\x46\x98\xf7\xb7\xad\x6b\xa1\x95\x5e\xbd\x00\x69\x27\x72\x78\x68\xab\xd3\xe4\x7b\x69\xc2\x97\x6a\x73\xf1\x53\x3f\x3b\x74\xf5\x57\x2a\xf1\x40\xe4\xbb\xa5\x7a\xb5\x6e\x8b\x1a\x26\x25\xa4\xa6\xa9\x16\xd7\x74\xdb\xf5\x61\xab\xdb\x26\x9e\x68\xdb\xe1\x61\xd1\x1a\xad\x36\xba\xa5\x5c\x85\xf4\x18\xdd\xca\xd7\xab\x48\xbd\x4c\xd7\xe7\x51\xff\xf2\xc6\xee\x6e\x5a\x22\xe4\xb4\xa1\xdb\xbb\xed\xdc\x51\x3b\xdb\xc2\x0f\x52\xa1\xce\x38\x75\xee\xa8\x6d\xc4\x29\xcb\xb0\x25\x29\x44\xdb\xee\x9d\xcc\x9d\xac\x7c\x46\xe9\x2a\x1b\xa6\x52\x7d\x76\x9a\x97\x84\x22\xda\x4b\x1f\xb9\x1f\x28\xa9\x31\x97\xcf\x55\x93\x9d\x7b\x29\x13\x2a\xc7\xad\x9e\x63\xf6\x50\x33\x16\xaa\x5b\x78\xec\xad\x48\x6c\xe7\xa1\x6b\x4f\x28\xea\x24\xd5\x36\xf3\x3d\xd9\xa3\xf3\xde\xfd\xb2\x60\xd9\x94\xca\x85\x11\x2b\xdf\x54\x1a\xe0\x27\x4c\x2c\xa3\xf4\xb9\x2c\x88\x65\xd2\x37\x4f\x95\xcc\xb2\xad\x41\xdb\x0e\x03\x7f\x51\x39\x0a\xf4\xe9\x91\xcd\x4b\x6f\xc5\x63\x1e\xa6\xc2\x02\x91\xbc\x4c\x4e\x92\x2f\x7b\x3a\x51\xa8\x8c\x7e\xfe\xed\xd9\xc1\x96\x89\x7c\xa9\x64\x7e\x92\xac\x8c\x12\xe0\x87\x5e\x20\xf2\x15\x92\x49\x19\x76\xc2\x4d\xad\xd9\x5e\x69\x1d\xd9\x2b\xf7\x3b\x69\xed\x21\x4b\x3a\x46\xb2\x12\x6e\xed\x71\x4b\xba\xce\x6a\x9e\xa8\x8b\xc3\x34\x6b\x81\x5b\x70\x2e\xf8\xc3\xa8\x29\x89\x5c\x8a\xd4\x5f\x0a\xd5\xf6\x85\x88\x63\xaa\x23\xa4\x6b\xba\x17\x04\x88\x5c\xc0\x50\x23\x2a\xc2\x64\x15\xdb\xee\xe3\x56\x44\xb2\x4c\x42\xf7\x9a\x6e\x32\x2d\x4c\x12\x86\x58\xb2\xe4\x41\x20\x62\xe6\xdc\xaf\xc2\x07\x5d\x48\x9f\xa9\x6d\x93\x05\x3c\xf6\xec\x40\xd3\x8a\xd7\x8f\xd7\x1a\x59\x22\x04\x4d\xbc\x48\x26\x89\xaf\x26\x9c\xe9\x36\x9a\x70\xc5\xf5\xa5\x1d\xdd\xdc\x5c\x27\xa3\xf7\x08\x57\x8f\x07\x89\xdf\xe6\x80\x37\x73\xd8\x94\xb6\xa2\xaf\x7e\xe2\x89\xe5\x65\x56\xef\x54\x7d\xb2\x2e\xe1\x68\xb9\x9f\x27\x6a\x80\x9d\x55\xa0\xcb\x3b\xe5\xd3\x66\xef\xdd\x5f\x75\x52\xfd\xae\x5f\x57\xdf\xea\x8c\xbc\x38\x9b\xb5\xa6\x2a\xbb\x25\x22\xb5\x13\x37\x8d\xb9\xaf\x76\xee\x90\x3d\xa9\x11\xb6\x57\xda\x59\xa0\x2e\xb3\x6b\x29\xab\xd9\x14\xdb\xd2\x59\x6a\xc7\x14\x19\xdd\x2a\x98\x00\x7d\x79\xe5\x4a\x27\xb9\xa2\xb5\xa2\x76\xe8\x2b\x9a\xed\x53\x1e\xf9\x57\x3c\xf2\xa7\x8e\x0c\x95\xca\x97\x5c\xfd\x94\xd5\x63\xca\x5e\xb8\xa0\x65\x9d\x72\x3f\x48\x68\x4b\x2a\x0a\x10\xe4\x8f\xb3\x67\x77\x57\x1a\x7f\xc2\x7e\xff\x4a\xdb\x6d\x76\x24\x25\x54\x55\xab\x3a\x36\x4a\xd4\x88\xa2\xc0\xd7\x1b\x4c\xb6\x4b\x6a\x3f\x27\x3f\x61\xf7\xbe\x77\x4f\xee\x4f\x8e\x5c\x2e\x45\x48\x05\xcd\x8a\x23\x57\x7a\x97\x31\x0c\xa8\x2e\xcd\x9f\xa4\x36\xed\x58\xd4\xbd\x58\x5d\x3b\xbc\x11\xfd\xba\x6e\x9d\xee\x76\x58\xff\xf0\x97\x42\x1d\x58\xd6\x60\xa1\xba\x56\xe3\x11\x23\xf2\xd1\xa1\x41\x9b\x56\xa2\x0b\x7c\x59\x0b\x80\x95\x53\x78\x10\x5c\xb2\x58\x78\x3c\x76\x09\x39\xab\x5d\x3e\x7c\x66\xdc\x49\xfd\x47\x3f\x7d\x56\x27\x9b\x1f\xda\xff\xdb\x77\x7f\x49\xf5\xe7\xd5\x15\x06\xec\x7a\xdb\xfc\x4b\x2b\x8e\x32\x2e\xf2\x19\x5d\xe2\x4c\x5d\x37\xa7\xa3\x55\x0f\x9e\x2e\xc9\x66\x64\xa6\xf4\x5e\x2c\xf5\x61\xaa\x99\x01\x75\x88\xeb\x5e\x9a\xe3\xea\xd2\x5c\xbb\x94\x8f\x24\x91\x15\x54\x49\xf6\x83\x84\xa8\xe7\xea\x74\xde\xb7\xd3\x6a\x10\xc7\xc1\xf6\x3c\xf3\xd7\xdf\x2d\x03\xb6\x9a\x32\xb7\x1d\x71\xb6\x22\x5c\x0b\xad\x04\x20\x17\xec\xc1\x0f\xb7\x38\x36\xb5\x02\xd9\x2e\x73\x0d\x80\xb4\x1c\x23\x2d\x2a\x25\x22\x57\x6d\x26\x25\x95\xb8\xf0\xec\x56\x11\x1d\xf0\x1c\xf0\xdc\xf0\xf0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\x1c\xd0\xdc\xe0\xd1\x1c\xf2\xc7\x80\x3c\x82\x3c\x82\x3c\xf6\x60\x44\x41\x1e\xcb\xdd\x03\xf2\xd8\x63\xf2\x28\x65\xec\xfa\x21\x7d\xbc\x25\x8f\x07\xa1\xc4\x93\x04\xfb\x56\x46\xdb\x13\x29\xf3\xc3\x85\x8c\x97\xd9\xec\xe6\x4c\xe3\x8b\xcd\x00\xd0\x13\xe9\x87\x42\x27\xdc\xdc\x7e\xf9\xaf\xea\x1d\x08\x70\xde\x93\xbe\x65\x9d\x38\x74\xf6\x56\x98\x18\x85\xbb\x5e\x15\xdf\xbc\x7b\x3d\x3d\x5e\x0f\x7b\x49\x95\x94\x62\xbd\x57\x36\x5f\x4f\x7f\x5e\xdf\xdc\x7e\xf9\x5e\x77\x1f\x56\xd5\xfe\xab\xca\x76\x24\xc5\x09\x8f\x68\x71\xfd\xcf\xe3\xf5\x8b\xd6\x57\x20\x78\x79\xec\xda\xf7\x81\xd1\x06\xd4\xd8\x98\x60\xac\x86\x6e\xdd\x5f\x7e\x57\x1f\xb0\x65\x55\xa8\xbb\xcb\xcb\x82\xee\xf8\x2c\xe3\x9b\x20\xf8\xff\xf3\xa5\x48\x22\xde\x93\xf5\x01\xe7\x12\x93\xf3\xa2\x38\xd5\x1e\xaf\x67\x34\x60\xe3\x5e\x78\xbb\x9d\x49\x5a\x0b\xf3\x5e\x5f\xc7\xf5\xbe\x24\xd5\x85\x55\xf5\x1b\x81\xcb\x08\x5c\x46\xe0\x32\x02\x97\x11\xb8\x8c\xc0\x65\x04\x2e\x23\x70\x19\xd9\x67\xb7\x85\xcb\x08\x5c\x46\xe0\x32\x02\x97\x11\xb8\x8c\xc0\x65\x04\x2e\x23\x67\xe7\x32\x02\x9f\x0a\xf8\x54\xc0\xa7\x62\x18\x23\x0a\x9f\x8a\x72\xf7\xc0\xa7\x62\x58\x3e\x15\x8f\xd7\x57\x61\x46\x79\x74\xc8\x36\xfd\xfd\x9f\x1a\x74\xa5\xe5\x9d\x76\xe9\x95\x7e\x26\x73\x64\xa0\xd4\x2b\x33\x4d\x77\x41\x2b\x7d\x53\x19\x5b\x7d\xc8\x9e\x90\x51\x2b\x77\xed\x39\xdd\x16\x9b\xe8\x04\xae\x7e\xa4\xb6\x7e\xa3\x0e\x4b\x5a\xa9\x23\x01\x5b\x2e\x6c\xb9\xb0\xe5\xc2\x96\x3b\x36\x5b\x6e\xb3\x0a\x24\xb5\xf6\xdc\xa3\x15\x87\x41\x0d\x9f\xc6\x03\x75\xca\x1a\x3e\x47\x33\xc0\xef\x51\x35\xa7\xd6\x00\x7d\xb4\x1e\xf9\xa3\xa8\x49\xf8\x4a\x8b\x27\x01\x9f\xcd\xc5\x42\x7b\x0a\x64\xc6\x9a\x5c\x94\x30\xbb\x17\x4d\x9d\x42\xd5\xa2\x50\x86\xd3\x50\x78\x9c\x26\xa8\xd1\x05\x8a\xd5\x8d\xb4\xe1\x36\x5b\x1a\x46\x42\xf4\x97\x4b\xe1\xfa\x3c\x15\xc1\x73\x8e\xf0\xf3\x23\xd7\x0f\x2e\x8d\xac\x4f\x9d\xce\xbc\x98\x3b\xb4\x6a\x7c\xe9\x66\x02\x41\x7e\x68\x93\x7f\x84\x9d\xa5\xab\x44\x7d\x64\x71\xb8\xb8\xba\xd3\x36\xc8\xbc\x64\xa1\xf7\x40\xfb\x88\x99\xfe\x4e\x5d\xca\xb1\xe6\x1b\x0f\x18\x66\xfa\xe6\x5b\xfa\xe4\x3a\xfd\x69\x87\x06\xd5\x97\xe9\xbf\x0f\x7b\x69\xd6\x2f\x9b\xf9\xcb\xd1\xa6\x3f\x48\x0c\x48\x0c\x48\x0c\x48\x0c\x48\x4c\x67\x24\xa6\xe1\x59\xb0\x46\x63\x8e\x77\x2c\x7e\x2c\xe4\x0b\x8c\xc8\x3c\x96\x6d\x41\xb7\xb1\x8c\xb8\x47\xd2\xd1\xad\x0c\x7c\xe7\xb9\xe4\xf7\x67\x27\x5d\x9e\x70\x50\x4d\xbb\xeb\xd9\x2f\x33\xf6\x43\xef\x67\x5a\x74\x89\x44\xa8\x16\x4b\x7e\xa6\x0a\x26\xe3\xe8\x9e\x87\xd6\x0f\x31\x5e\x89\xab\x05\x0f\xac\xae\x7c\x77\xa1\x7f\xbe\xbb\x60\x0b\x3f\xe4\x81\xff\x8f\x3d\x48\xe6\x82\x71\x97\xcc\xf3\xf2\x4a\x9b\x2e\xdd\x5c\x0d\xd3\x8f\x9f\x24\xf9\x4d\x5a\x3f\x9d\xb1\x4f\x3e\x6d\x8e\x85\x4f\x97\xf1\x7a\xdb\x72\x18\x93\x6a\xf5\x98\x74\x14\x99\xde\x1f\x32\xa0\xba\x05\x1f\x6d\xdb\x37\x8a\x3c\x07\x15\x9a\xde\x4b\x31\xa3\xa6\xab\x05\x7b\x2f\x9f\x98\xc7\xe3\x39\xf7\x4a\x86\xc9\x4c\xa9\x11\xf1\x42\xc6\x4b\x35\x26\xb5\xfd\xf5\xad\xd2\xa2\xcd\xdd\x45\x42\xaf\x95\x58\x23\xdd\xb7\xbe\x92\x26\x1d\xdf\xcd\x55\x61\x92\x15\x74\x3d\x70\x3b\xc6\x09\x05\x94\xd1\xaf\x56\x1a\x98\x15\x06\xd3\x9e\x23\x19\x0d\xc9\x7c\x6a\xcb\x2f\x9b\xb1\x1b\xc7\x11\x91\xae\x07\x5a\xd4\xec\x26\xba\x0d\x13\x36\x35\x13\xb0\x3c\x41\x93\xf7\x6c\xf2\x2b\x77\x1e\xbc\x58\xae\x42\x57\x5d\x45\xfe\xa9\x74\x51\xa5\xe3\xb4\x08\x69\xe4\xe3\xf2\x43\x6c\x0b\xe6\xd9\x93\xde\xb3\xc9\x67\x19\x8b\xc2\x63\x99\xc3\x13\x87\xbb\xaa\xf5\xa6\x7f\xb4\xfb\x32\x3d\x2f\xd1\xaa\xe7\xda\x03\x17\xd9\x33\x0e\x99\x90\x51\x75\xba\x9f\x46\xe2\x1c\x31\x36\x6d\x36\x0e\xdb\xd0\xe9\xa9\x46\x01\x10\xb5\xb3\xf1\x5d\x07\xa9\xc7\xb3\x6d\x9c\x12\xa9\x36\xeb\xac\x2d\x58\xf5\xa5\xf2\x4f\x2d\xa5\x43\x0c\xe4\x9e\x98\xce\x14\xb6\x6f\xc6\xe7\x46\x19\x81\xa5\xcf\xe4\x5c\x5e\x1a\x4c\x34\x56\xef\x23\x32\x5b\x00\xda\x88\x26\x3b\x9f\x68\xb2\x66\x27\xca\xae\x88\xb2\xe3\xa9\x5e\xf0\x47\x80\x3f\x02\xfc\x11\xe0\x8f\x00\x7f\x84\xba\xcd\x17\xa0\x7b\x40\x3d\x02\xf6\x09\xf6\x09\xf6\x09\xf6\x09\xf6\x09\xf6\x39\x2e\xf6\x09\x1c\x01\x1c\x01\x1c\x01\x1c\xd1\x39\x8e\xd8\x03\xd9\xf7\x34\xde\xab\x59\x17\xae\xc7\x7c\xbd\xd4\xe2\xd6\x2b\x90\xb3\xf1\x06\x24\xeb\x43\xb2\xbe\xb1\x27\xeb\x33\x02\x23\x95\x7e\x50\x9b\x89\x1a\x1d\x96\x38\x32\x12\x97\x2c\x59\x39\xf7\x6a\xf7\xa1\xdd\x5d\xf0\xa5\xde\x9a\xa2\x58\x92\x80\x5a\x17\x38\xba\xbd\x10\x04\x81\xa1\xf2\xcf\xa8\x06\xb1\xab\x35\xe6\xaf\xbf\xf3\x41\x96\x49\xcb\x10\x50\x2b\x6b\x8c\xef\xe4\x7d\xfa\xc2\xd6\x89\xdf\x61\x21\xac\x5b\xa6\x4e\x07\xfb\x60\x2b\xe1\xac\x08\xa9\x2a\x0e\x78\x6f\x43\xaa\xc8\x04\xf3\x95\x87\xdc\x13\xb1\x36\x26\xea\xed\x31\x49\xa4\xe3\x93\x76\x9c\x99\xed\x38\x59\x5f\x65\xcc\x44\x98\x2a\x71\xd5\x9a\x0b\x96\xfc\x41\xf5\x62\x7a\x2f\x12\x61\x65\xbe\x62\xe0\x90\x0d\x30\x22\x99\x97\x4c\x74\x32\x66\xd7\x6f\xff\xa5\xae\x8d\xb9\x43\x4c\x2e\x90\xa1\xa7\x25\x3c\x32\xa3\x39\x32\x4c\xb9\x1f\xea\x3d\x89\xcc\x54\xf9\xb5\xc4\x29\x0c\x31\x64\xf3\xe7\x4c\x89\xf1\x64\xc0\x43\x6f\x26\x63\xef\x2a\x7a\xf0\xae\x56\xa1\xef\x48\x57\x5c\xfd\xf4\x25\xb9\x55\x4f\x39\xd8\xee\x6d\x3a\xa7\xcd\xe1\xe9\x95\x48\x38\x44\x49\xad\xa9\x94\xf6\xb6\x81\x94\xf6\x41\x9b\xef\xfa\xf3\xc9\x6f\x77\x7e\xb2\x76\x0f\xee\xcf\x37\x8f\x51\x18\x26\xd1\xa3\xe7\xc2\xf0\x2b\xd6\x4a\x32\x11\xfd\x4f\xff\x39\x52\x4e\x91\xdd\xa2\x57\x5d\x1e\x11\x64\x0f\x81\xb8\x35\x02\x71\x0b\xf1\xda\x67\x14\xaf\x8d\xc0\x34\x04\xa6\x21\x30\x0d\x81\x69\xd0\x14\x37\xad\xa2\x5e\x46\x81\x9c\x46\x03\x43\x10\xcb\x16\x65\xcc\xa8\x23\x3d\x57\xc7\x32\xb3\x75\xeb\xa1\x2b\xb1\xe0\x6e\x45\xf4\xda\xa5\x44\xa9\x5b\x9a\xab\x50\xd8\x51\x60\x14\x69\xb0\x0e\x3d\xd1\x7b\x9b\xc8\x4b\x00\x61\xb1\x28\x7c\xcd\xab\x87\x54\x00\x1e\xac\x73\x70\xac\x93\xfc\x26\x0e\xaa\xf4\x3a\xa5\x7b\x7f\xde\xbe\x43\x2f\x45\xec\x89\x46\x57\x26\x69\xcc\x53\xe1\xf9\xce\xb4\xf9\x3d\xea\xef\x67\x73\x25\x9d\x05\x4d\x8e\xb5\x88\xc7\xa9\x4f\x61\x4d\xda\xc7\x67\xcf\x23\x8e\xde\xd6\x13\x33\x61\x57\x84\x76\x8b\x58\x78\x5b\x76\xb4\x61\x30\x1e\x8e\xdc\x78\x78\x3e\xac\xb6\x12\x1e\x60\x17\x97\x0e\x61\x51\x3b\x4d\x1e\x16\xfd\x7a\xc3\x2e\xf4\x86\x4c\x27\x3a\x6e\x95\x07\x74\x67\x28\xc3\xa9\xbe\x9b\xae\x20\xeb\x65\xc2\x5e\xff\x96\xc8\xf0\x56\x47\x07\x7f\x55\xfb\x9d\xf9\xfb\x87\xdd\x05\xf3\x7f\x7c\xd3\x27\x88\xdc\x7c\xde\x7c\x96\xb1\x43\xe6\x5d\x4f\xd2\xe0\x4b\x76\x77\xb1\x50\xff\x76\x77\xc1\x6e\x4a\xbd\x49\xce\xc7\xda\x16\xbb\x4a\xf2\x48\xc8\x29\x77\x68\x00\x28\xbe\x34\xf0\x1d\x63\x5d\x12\x81\x9b\x30\xf9\x64\xc6\x56\xc7\x5f\x46\x42\x46\x81\x98\x31\xfd\x4e\x0a\x2b\xb7\x73\x8a\x5c\x80\x6b\x07\x22\x7b\xfd\x21\xdd\xab\x5e\x34\x5e\x87\x4d\x68\x48\xc3\xd2\x90\xa2\x8a\xef\x6c\xcf\x75\xa4\x55\xeb\x86\x8a\x28\xe0\xce\xbe\x82\x9c\xb9\x6b\xe4\xa2\x1c\x9c\xed\x20\xc0\x9d\x8b\x00\xd7\x23\x39\x09\xc7\x79\xf6\x0b\x9c\xed\xce\x41\x02\x59\xf5\xde\x46\xfb\x8a\x35\xf5\x5b\xa3\x60\xa2\x9a\x9a\x57\xad\x13\x16\x13\x70\x1e\xba\xfe\xa3\xef\xae\x78\x50\x0c\x5e\xe3\x59\x8a\x09\x6a\xeb\xac\xe0\x97\xf1\x2e\xf3\xe8\x98\xd0\x13\x26\x79\xa2\xa1\x52\xe6\x98\x4c\xe0\x61\x7e\x98\xa4\x82\x97\x4c\x8f\x55\x71\xe8\x69\xdd\xae\x95\xc5\x27\x7d\x96\xf1\x4d\x10\x64\xb2\x51\xd2\x07\x8a\xb3\xf1\x86\xf3\x0a\x2a\xdb\x62\xaa\xa3\x98\xc8\x4f\x8f\x22\x3c\xeb\xf8\x32\x1a\xc4\xb1\x07\x99\x21\x87\xdf\x88\x73\xf8\xed\x46\x44\xbb\xf2\xf7\x1d\x5e\x41\xb2\x19\xfe\x42\xd6\x3e\x64\xed\x43\xd6\x3e\x64\xed\x1b\x5b\xd6\xbe\xdd\x3b\x6f\x6d\xc6\xbe\x8e\x9d\x0d\x8e\x96\xa7\x6f\x77\xf3\x37\xe7\xe8\xeb\x73\x1f\xec\x93\x99\x6f\x77\x1f\x6c\xce\xca\xd7\x71\x1f\x20\x17\x1f\x72\xf1\x21\x17\x1f\x72\xf1\x21\x17\x5f\x67\xb9\xf8\x1a\xec\xfe\x6b\x79\xf8\xb6\x06\x7a\x9d\x91\xaf\x61\xb3\xd6\x8c\x38\x97\xe0\xee\xee\xde\x96\x47\xf0\xb8\xfd\x8e\xec\x81\x9d\x8c\xe8\x7a\xe6\xc0\x8e\x87\xf5\xa4\xf9\x02\x77\x77\xcf\x96\x5c\x81\x5d\x6f\x9b\x7d\xcd\x10\xb8\xbb\xd3\x6a\x20\xc6\xc1\xf6\x3c\xf3\xd7\xdf\xfb\xc2\xb0\xad\xa9\x1c\xce\x99\x91\x55\x1c\x86\x7e\xaf\x80\x06\xd0\x31\xd0\x31\x06\x3a\x66\xae\x04\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\xeb\x1d\x19\x02\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\x03\x1d\x1b\x22\x1d\x43\x0a\x12\x60\x41\x60\x41\x60\xc1\x5e\x8f\x28\xb0\x60\xb9\x7b\x80\x05\xc7\x88\x05\x6b\x32\xbc\x77\x44\x07\x8b\x48\x30\xb4\x82\x8f\x5c\xb0\x07\x3f\x74\x5b\x44\x83\x97\xb9\x92\x43\x8a\x9c\x11\x88\x95\x9e\x94\x6b\x6f\x93\x92\xd6\x5f\x78\xf6\xcb\xc0\x22\xa0\x22\xa0\xe2\xa0\xa0\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\x22\x80\xe2\x50\x80\x22\xca\x33\x80\x8d\x82\x8d\xf6\x95\xa4\x81\x8d\x82\x8d\x82\x8d\x82\x8d\x56\x3a\xed\xa4\x6c\x74\x2e\x52\x7e\x7d\x75\x10\xf6\x3c\x49\x26\xe0\xca\xa8\x7b\x22\x2d\xab\x2b\x7a\x80\xb7\xd0\x4b\x4f\xa4\x65\x76\x49\x3d\x70\x73\xfb\xe5\x7b\xdd\xcd\xc8\x82\xbc\x27\x54\x2c\x74\x24\x85\x97\x8e\x8b\x2c\xd2\x5c\x29\xdc\xfd\xaa\xf8\x05\xcd\x97\xdb\x11\x22\x91\xb5\xa5\x2b\x36\xba\xb2\x55\xa5\x4a\x6e\x06\x5b\x16\x89\xba\xbb\x66\x95\xd0\x6d\xc8\xaf\x5b\xed\xfa\xde\xac\xcb\x6a\xaa\x6f\x1a\xb4\x59\x1e\xeb\x3d\xee\xc5\xb8\x9b\xf5\xf7\x2e\x76\xb8\xd2\x04\xf0\x7e\xf0\x7e\xf0\x7e\xf0\x7e\xf0\x7e\xf0\x7e\xf0\x7e\xf0\xfe\xdd\xbb\x2d\x78\x3f\x78\x3f\x78\x3f\x78\x3f\x78\x3f\x78\x3f\x78\xff\xd9\xf1\x7e\xb0\x62\xb0\x62\xb0\xe2\x61\x8c\x28\x58\x71\xb9\x7b\xc0\x8a\x87\xc9\x8a\x1b\x67\xd7\xd5\x42\x4f\xbb\x58\x4b\x3f\x93\x39\x32\x50\x3a\x96\x99\xab\xbb\x68\x96\xbe\xa9\x86\x67\x7d\xc8\x1e\x73\xb2\x52\xda\x9d\x40\xd8\x8f\xd4\xe0\x6f\xd4\x6b\x49\x2b\xe5\xb3\x61\xd5\x85\x55\x17\x56\x5d\x58\x75\xc7\x66\xd5\x6d\x56\x78\xbd\xd6\xb2\x7b\xb4\x9a\xf8\x7f\xa9\x8e\x33\xfa\xec\x25\x25\x97\x77\xd4\x8c\xd2\xf3\xa0\xd4\xb6\x22\x41\x9d\x0b\x16\xa9\xde\x4a\x94\xea\xc7\x6e\x42\xe6\x87\x7a\x67\x91\x31\x5b\x85\xd9\xe6\xe4\x32\x5d\xee\x9f\xb9\x7e\xac\x8e\xc2\x47\x91\xcd\x78\xb5\x7d\x92\xf5\xc1\x2c\x79\x3b\x37\x4c\x07\xb3\xc5\x2a\xa6\x55\x16\xc5\xd2\x11\x09\x99\x09\x8c\xe0\x68\x66\xd9\x8c\xfd\x49\x6f\xa4\xd1\xa2\xb9\xf3\x8e\x4d\xd9\x4d\x10\xbc\x23\x23\x80\xab\x76\xe9\x55\xa8\x06\x5e\x89\x60\x76\x4a\x9a\xc7\xad\x97\x40\x6f\x30\x50\xba\x2d\xa7\x19\xa6\xa3\x99\xe2\x9b\x75\xc5\x66\x73\xfc\xd1\x7a\xe4\x8f\xa2\x4e\xe1\x2b\x7d\x9e\x44\x7d\x36\x17\x0b\xed\x33\x90\x99\x6d\x72\x51\xc2\xec\x5e\x34\x75\x56\x42\x1f\x0e\x73\x25\x4d\x87\xd3\x50\x78\x9c\x26\xa8\xd1\x0a\x94\x02\x63\x4f\x50\x6d\xc2\xcd\x96\x86\x11\x13\xfd\xe5\x52\xb8\x3e\x4f\x45\xf0\x9c\xc3\xfc\xfc\xc8\xf5\x83\x4b\x23\xf5\x53\xa7\x33\x2f\xe6\x0e\xad\x1a\x5f\xba\x99\x40\x90\x1f\xda\xe4\x29\x61\x67\xe9\x2a\x51\x1f\x59\x1c\x2e\xae\xee\xb4\x0d\x32\x2f\x59\xe8\x3d\xd0\x3e\x62\xa6\xbf\x73\x29\x78\x58\xfb\x8d\x07\x0c\x33\x7d\xf3\x2d\x7d\x72\x9d\x26\xb5\x43\x97\xea\xcb\xf4\xdf\x87\xc2\x34\xeb\x97\xcd\x24\xe6\x68\xd3\x1f\x4c\x06\x4c\x06\x4c\x06\x4c\x06\x4c\xa6\x33\x26\xd3\xf0\x2c\x58\xe3\x32\xc7\x3b\x16\x3f\x16\x32\xb9\x45\x64\x23\xcb\xb6\xa0\xdb\x58\x46\xdc\x23\xe9\xe8\x56\x06\xbe\xf3\x5c\xf2\x00\xb4\x93\x2e\x4f\x05\xa7\xa6\xdd\xf5\xec\x97\x19\xfb\xa1\xf7\x33\x2d\xba\x44\x22\x54\x8b\x25\x3f\x53\x05\x93\x71\x74\xcf\x43\xeb\x91\x18\xaf\xc4\xd5\x82\x07\x56\x57\xbe\xbb\xd0\x3f\xdf\x5d\xb0\x85\x1f\xf2\xc0\xff\xc7\x1e\x24\x73\xc1\xb8\x4b\x86\x7a\x79\xa5\x8d\x98\x6e\xae\x86\xe9\xc7\x4f\x92\xfc\x26\xad\x9f\xce\xd8\x27\x9f\x36\xc7\xc2\xa7\xcb\x78\xbd\x6d\x39\x96\x49\xb5\x7a\x4c\x3a\x8a\x4c\xef\x0f\x19\x50\xdd\x82\x8f\xb6\xed\x1b\x45\x9e\x3a\x93\x68\xbb\x8a\x19\x35\x5d\x2d\xd8\x7b\xf9\xc4\x3c\x1e\xcf\xb9\x57\xb2\x4e\x66\x4a\x8d\x88\x17\x32\x5e\xaa\x31\xa9\xed\xaf\x6f\x95\x16\x6d\xee\x2e\x12\x7a\xad\xc4\x1a\xe9\xbe\xf5\x95\x34\xe9\xf8\x6e\xae\x0a\x93\xac\x40\xc6\x89\x6c\x8c\xd5\x61\x6d\x4e\x52\x2b\x0d\xcc\x0a\x83\x69\xcf\x91\x8c\x8b\x64\xde\xb5\xe5\x97\xcd\xd8\x8d\xe3\x88\x28\xa5\xb3\xa9\xa8\xd9\x4d\x74\x1b\x26\x6c\x6a\x26\x60\x79\x82\x26\xef\xd9\xe4\x57\xee\x3c\x78\xb1\x5c\x85\xae\xba\x8a\x3c\x55\xe9\xa2\x4a\xc7\x69\x11\xd2\xc8\xc7\xe5\x87\xd8\x16\xcc\xb3\x27\xbd\x67\x93\xcf\x32\x16\x85\xc7\x32\x87\x27\x0e\x77\x55\xeb\x4d\xff\x68\x47\x66\x7a\x5e\xa2\x55\xcf\xb5\x07\x2e\xb2\x67\x1c\x32\x21\xa3\xea\x74\x3f\x8d\xc4\x39\x62\x80\xda\x6c\x1c\xb6\x41\xd4\x53\x8d\x02\x70\x6a\x67\xe3\xbb\x8e\x54\x8f\x67\xdb\x38\x25\x5c\x6d\xd6\x59\x5b\x00\xeb\x4b\xe5\x9f\x5a\x54\x87\x58\xc9\x3d\x31\xdd\x8f\x94\xa7\xab\xa6\x7c\x6e\xbc\x51\x59\xfa\x60\xce\x85\xa6\x61\x45\x68\x0d\x23\x72\xb3\x05\xbe\x8d\x30\xb3\xf3\x09\x33\x6b\x76\xc0\xec\x0a\x35\x3b\x9e\x26\x06\xf7\x04\xb8\x27\xc0\x3d\x01\xee\x09\x70\x4f\xa8\xdb\x7c\xc1\xbd\x07\xd4\x23\x40\xa1\x40\xa1\x40\xa1\x40\xa1\x40\xa1\x40\xa1\xe3\x42\xa1\xa0\x13\xa0\x13\xa0\x13\xa0\x13\x9d\xd3\x89\x3d\x08\x7e\x4f\x03\xc1\x9a\x75\xe1\x7a\x30\xd8\x4b\x2d\x6e\xbd\xe2\x3a\x1b\x6f\x40\x52\x3f\x24\xf5\x3b\xb3\xa4\x7e\xc8\x86\xdf\xf3\x0c\x07\xe6\xaf\xbf\xf3\x41\x96\x49\xcb\x60\x50\xeb\x6e\x8c\xef\x64\x80\xfa\xc2\x6e\x28\xe0\x61\x51\xae\x5b\xe6\x4f\x57\x7b\x63\x2b\x61\xaf\x08\xbd\x2a\x8e\x7a\x6f\x43\xaf\xc8\x36\xf3\x95\x87\xdc\x13\xb1\xb6\x32\xea\x8d\x32\x49\xa4\xe3\x93\xda\x9c\xd9\xf3\x38\x99\x65\x65\xcc\x44\x98\x2a\x39\xd6\xda\x11\x96\xfc\x41\xf5\x62\x7a\x2f\x12\x61\x85\xc1\x62\x80\x91\x0d\x44\x22\x61\x98\x6c\x77\x32\x66\xd7\x6f\xff\xa5\xae\x8d\xb9\x43\xb0\x2e\x90\xa1\xa7\x45\x3f\xb2\xaf\x39\x32\x4c\xb9\x1f\xea\xdd\x89\xec\x57\xf9\xb5\x04\x30\x0c\x4a\x64\xf3\xe7\x4c\xbb\xf1\x64\xc0\x43\x6f\x26\x63\xef\x2a\x7a\xf0\xae\x56\xa1\xef\x48\x57\x5c\xfd\xf4\x25\xb9\x55\x4f\x39\xd8\x20\x6e\x3a\xa7\xcd\xe1\xe9\x95\xac\x38\x58\x11\xae\xa9\xf8\xf6\xb6\x81\xf8\xf6\x41\x1b\xf7\x7a\xf6\xdd\x6f\x77\x7e\xb7\x76\x28\xee\xd9\x87\x8f\x56\x5e\x26\xc1\x64\x08\xf2\xf2\x2b\xd6\x5e\x5e\x92\x9a\xf2\xfe\x1d\xa6\x27\xd9\x2d\xa2\x6d\x4c\x49\x82\x44\x24\x90\xc8\x46\x20\x91\x21\xf4\xfb\x8c\x42\xbf\x11\xe3\x86\x18\x37\xc4\xb8\x21\xc6\x0d\xca\xe4\xa6\x55\xd4\xcb\x80\x92\xd3\xa8\x66\x88\x87\xc9\xae\xdc\x1a\x0f\x33\x08\x15\x2d\xb3\x76\xb7\x1e\x05\x13\x0b\xee\x56\x84\xb0\x5d\x3a\x95\xba\x65\x4f\x8d\x0a\x1b\x0c\x8c\x27\x7b\xad\x4d\x4f\x0c\xc3\x76\xf2\x12\xd6\x88\x22\xe2\xc0\xa6\xa7\xc3\xa6\xe4\x91\x71\x50\xfd\xd9\x29\xdd\xfb\xf3\xf6\x0d\x7b\x29\x62\x4f\x34\xba\x32\x49\x63\x9e\x0a\xcf\x77\xa6\xcd\xef\x51\x7f\x3f\x9b\x2b\xe9\x68\x68\x72\xd4\x45\x3c\x4e\x7d\x0a\x98\xd2\xde\x43\x7b\x1e\x7b\xf4\xb6\x3e\x59\x12\xbb\x82\xbd\x5b\x24\xc7\xdb\xb2\x1f\x0f\x83\x7d\x71\xe4\xf6\xc5\xf3\x21\xbe\x95\xe8\x03\xbb\xb8\x74\x84\x8c\xda\x6e\xf2\xa8\xeb\xd7\x1b\xb6\xa2\x37\x64\x5d\xd1\x61\xb1\x3c\xa0\x3b\x43\x19\x4e\xf5\xdd\x74\x05\x19\x38\x13\xf6\xfa\xb7\x44\x86\xb7\x3a\xf8\xf8\xab\xda\xf4\xcc\xdf\x3f\xec\x56\x98\xff\xe3\x9b\x3e\xa1\xe8\xe6\xf3\xe6\xb3\x8c\x1d\xb2\x00\x7b\x92\x06\x5f\xb2\xbb\x8b\x85\xfa\xb7\xbb\x0b\x76\x53\xea\x4d\xf2\x6d\xd6\xe6\xda\x55\x92\x07\x5a\x4e\xb9\x43\x03\x40\xe1\xab\x81\xef\x18\x03\x94\x08\xdc\x84\xc9\x27\x33\xb6\x3a\xbc\x33\x12\x32\x0a\xc4\x8c\xe9\x77\x52\xd4\xba\x9d\x53\xe4\x61\x5c\x3b\x10\xd9\xeb\x0f\xe9\x5e\xf5\xa2\xf1\xfa\x83\x42\x6b\x1a\xaa\xd6\x14\x55\x9c\x74\x87\xa0\x37\xad\x5a\x37\x68\x44\x01\x77\xf6\x15\xee\xcc\x5d\xe7\x20\xde\xc1\x97\x0f\x92\xdd\x59\x49\x76\x3d\x12\xa0\x70\xce\x67\xbf\xc0\x97\xef\x0c\xe5\x93\xd5\x30\xac\xba\xaf\xd8\x5e\x1e\x71\x14\xdd\x54\x53\x98\xab\x75\x58\x63\x22\xe0\x43\xd7\x7f\xf4\xdd\x15\x0f\x8a\xd1\x74\x3c\xcb\x79\x41\xad\x9e\x15\x9c\x3d\xde\x65\x6e\x22\x13\x7a\xc2\x24\xcf\x7c\x54\x4a\x65\x93\xc9\x44\xcc\x0f\x93\x54\xf0\x92\xc5\xb2\x2a\x31\x3d\x6d\x30\x87\x65\x01\x53\x9f\x65\x7c\x13\x04\x99\xf8\x94\xf4\x01\x08\x6d\xbc\xe1\xbc\x42\xdd\xb6\x58\xf8\x28\x52\xf3\xd3\xa3\x08\x11\xf0\x46\x23\x79\x16\x51\x6f\xc8\x31\x38\xe2\x1c\x83\xbb\x41\xd3\xae\xfc\x82\x87\x97\xbe\x6c\x06\xd1\x90\x55\x10\x59\x05\x91\x55\x10\x59\x05\xc7\x96\x55\x70\xf7\xce\x5b\x9b\x51\xb0\x63\x97\x85\xa3\xe5\x11\xdc\xdd\xfc\xcd\x39\x04\xfb\xdc\x07\xfb\x64\x0e\xdc\xdd\x07\x9b\xb3\x06\x76\xdc\x07\xc8\x15\x88\x5c\x81\xc8\x15\x88\x5c\x81\xc8\x15\xd8\x59\xae\xc0\x06\xbb\xff\x5a\x9e\xc0\xad\xc1\x64\x67\xe4\xb1\xd8\xac\x35\x23\xce\x75\xb8\xbb\xbb\xb7\xe5\x39\x3c\x6e\xbf\x23\xbb\x61\x27\x23\xba\x9e\xd9\xb0\xe3\x61\x3d\x69\x3e\xc3\xdd\xdd\xb3\x25\x97\x61\xd7\xdb\x66\x5f\x33\x18\xee\xee\xb4\x1a\x9c\x71\xb0\x3d\xcf\xfc\xf5\xf7\x41\x80\x6c\x6b\xe2\x88\xb3\xe7\x66\x15\x3f\xa3\xdf\x2b\xdc\x01\xc4\x0c\xc4\x8c\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x55\xb6\xdb\x1e\xd2\x22\x10\x33\x10\x33\x10\x33\x10\x33\x10\x33\x10\x33\x10\xb3\x21\x12\x33\x24\x37\x01\x2a\x04\x2a\x04\x2a\xec\xf5\x88\x02\x15\x96\xbb\x07\xa8\x70\xb4\xa8\xb0\x26\xc7\x7c\x47\xc4\xb0\x88\x09\x43\x2b\xfd\xc8\x05\x7b\xf0\x43\xb7\x45\x5c\x78\x99\x6b\x3a\xa4\xcd\x19\xa9\x58\x29\x4b\xb9\x0a\x37\x29\xa9\xfe\x85\x67\xb7\x00\x1b\x01\x1a\x01\x1a\x87\x07\x1a\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x01\x19\x07\x05\x19\x51\x0c\x02\xbc\x14\xbc\xb4\xaf\x74\x0d\xbc\x14\xbc\x14\xbc\x14\xbc\xb4\xd2\x69\x47\xe2\xa5\xae\x9f\x38\x52\x89\x64\x16\x96\x1e\x84\x3e\x4f\x92\x4e\xb8\x32\xd4\x1e\xd5\x0d\x5d\xc8\x78\x99\x4d\x6d\xce\x34\x8c\xd9\x0c\x31\x3d\x91\x7e\xb4\x3d\x70\x73\xfb\xe5\xbf\xaa\x97\x23\x7f\xf2\x9e\x20\x31\xeb\xc4\x81\x63\xc4\x6c\x5d\x14\x6e\x79\x55\x7c\xed\x8e\x65\xf4\x78\x3d\xec\x95\x54\xd2\xf6\xf5\xfe\xd8\x70\x19\xfd\x79\x7d\x73\xfb\xe5\x7b\xdd\x4d\x58\x4c\xfb\x2f\x26\xdb\x91\x14\xb3\x3d\x96\x35\xf5\x3f\x8f\xd7\x87\x2f\x2b\x11\xba\x91\xf4\xc3\x34\x09\x7c\xa7\xe3\xd8\x7e\x6d\x18\x8e\x8d\x69\xc9\x5a\x1e\xac\x93\xce\x27\xf3\x21\x3f\xd4\x87\x6c\x59\x1c\xea\x29\x85\xd5\x51\xba\x0d\x89\xac\xab\x43\xd0\x9b\x75\x39\xcb\x27\xdf\xe3\xf5\xac\x34\x6a\x23\x5e\x8c\xbb\xfd\x63\xda\x8a\xc1\xaf\xae\xed\x7a\xdf\x98\x4d\x8b\xac\xea\x23\x03\xf7\x18\xb8\xc7\xc0\x3d\x06\xee\x31\x70\x8f\x81\x7b\x0c\xdc\x63\xe0\x1e\xb3\xcf\x6e\x0b\xf7\x18\xb8\xc7\xc0\x3d\x06\xee\x31\x70\x8f\x81\x7b\x0c\xdc\x63\xce\xce\x3d\x06\xae\x15\x70\xad\x80\x6b\xc5\x30\x46\x14\xae\x15\xe5\xee\x81\x6b\xc5\x80\x5c\x2b\x1e\xaf\x37\x05\x9f\x6f\x66\x5a\x5a\xe8\x69\x17\x6b\xe9\x67\x32\x47\x06\x4a\xc7\x32\x73\xb5\x29\xcd\xd2\x37\x17\x78\xd6\x87\xec\x31\x79\xe4\xf7\xc6\x87\x75\x5b\xd6\xbe\x13\x08\xfb\x91\x1a\xfc\x8d\x7a\x2f\x69\xa5\x8a\x3d\xac\xbb\xb0\xee\xc2\xba\x0b\xeb\xee\xd8\xac\xbb\x5b\xce\xde\x5d\x16\xde\xed\x72\xdc\xf6\x33\x78\xaf\xbd\xf7\x2f\xd5\x71\x46\xaf\xbd\xa4\xb2\x0d\x8e\x9a\x51\x7a\x1e\x94\xda\x56\x24\xa9\x73\xc1\x22\xd5\x5b\x89\x52\x01\xd9\x4d\xc8\xfc\x50\xef\x2c\x32\x66\xab\x30\xdb\x9c\x5c\xe6\xc6\xcf\xdf\x57\x21\x73\xfd\x58\x1d\x89\x8f\x22\x9b\xf1\x6a\xfb\x24\x2b\x84\x59\xf2\x76\x6e\x98\x0e\x66\x8b\x55\x4c\xab\x2c\x8a\xa5\x23\x12\x32\x17\x18\x01\xd2\xcc\xb2\x19\xfb\x93\xde\x48\xa3\x45\x73\xe7\x1d\x9b\xb2\x9b\x20\x78\x47\xc6\x00\x57\xed\xd2\xab\x50\x0d\xbc\x12\xc5\xec\x94\x34\x8f\x13\xee\x01\x03\xa5\xdb\x72\x9a\x61\x3a\x9a\x49\xbe\x59\x57\x6c\x36\xcb\x1f\xad\x47\xfe\x28\xea\x16\xbe\xd2\xeb\x49\xe4\x67\x73\xb1\xd0\xbe\x03\x99\xf9\x26\x17\x25\xcc\xee\x45\x53\x67\x25\xf4\xe1\x30\x57\x52\x75\x38\x0d\x85\xc7\x69\x82\x1a\xed\x40\x29\x32\xf6\x04\xd5\xa6\xdc\x6c\x69\x18\x71\xd1\x5f\x2e\x85\xeb\xf3\x54\x04\xcf\x39\xd4\xcf\x8f\x5c\x3f\xb8\x34\xd2\x3f\x75\x3a\xf3\x62\xee\xd0\xaa\xf1\xa5\x9b\x09\x04\xf9\xa1\x4d\x1e\x13\x76\x96\xae\x12\xf5\x91\xc5\xe1\xe2\xea\x4e\xdb\x20\xf3\x92\x85\xde\x03\xed\x23\x66\xfa\x3b\x97\x82\x87\xb5\xdf\x78\xc0\x30\xd3\x37\xdf\xd2\x27\xd7\x69\x54\x3b\x74\xaa\xbe\x4c\xff\x7d\x68\x4c\xb3\x7e\xd9\x4c\x64\x8e\x36\xfd\xc1\x66\xc0\x66\xc0\x66\xc0\x66\xc0\x66\x3a\x63\x33\x0d\xcf\x82\x35\x3e\x73\xbc\x63\xf1\x63\x21\x1f\x62\x44\x09\x1b\xb3\x2d\xe8\x36\x96\x11\xf7\x48\x3a\xba\x95\x81\xef\x3c\x97\x3c\x01\xed\xa4\xcb\x13\x2a\xaa\x69\x77\x3d\xfb\x65\xc6\x7e\xe8\xfd\x4c\x8b\x2e\x91\x08\xd5\x62\xc9\xcf\x54\xc1\x64\x1c\xdd\xf3\xd0\x7a\x26\xc6\x2b\x71\xb5\xe0\x81\xd5\x95\xef\x2e\xf4\xcf\x77\x17\x6c\xe1\x87\x3c\xf0\xff\xb1\x07\xc9\x5c\x30\xee\x92\xc1\x5e\x5e\x69\x63\xa6\x9b\xab\x61\xfa\xf1\x93\x24\xbf\x49\xeb\xa7\x33\xf6\xc9\xa7\xcd\xb1\xf0\xe9\x32\x5e\x6f\x5b\x8e\x67\x52\xad\x1e\x93\x8e\x22\xd3\xfb\x43\x06\x54\xb7\xe0\xa3\x6d\xfb\x46\x91\xa7\xce\x34\xda\xae\x62\x46\x4d\x57\x0b\xf6\x5e\x3e\x31\x8f\xc7\x73\xee\x95\xac\x94\x99\x52\x23\xe2\x85\x8c\x97\x6a\x4c\x6a\xfb\xeb\x5b\xa5\x45\x9b\xbb\x8b\x84\x5e\x2b\xb1\x46\xba\x6f\x7d\x25\x4d\x3a\xbe\x9b\xab\xc2\x24\x2b\x90\x71\x22\x1b\xe3\x84\x82\xcd\xe8\x57\x2b\x0d\xcc\x0a\x83\x69\xcf\x91\x8c\x8f\x64\x5e\xb6\xe5\x97\xcd\xd8\x8d\xe3\x88\x28\xa5\xb3\xa9\xa8\xd9\x4d\x74\x1b\x26\x6c\x6a\x26\x60\x79\x82\x26\xef\xd9\xe4\x57\xee\x3c\x78\xb1\x5c\x85\xae\xba\x8a\x3c\x56\xe9\xa2\x4a\xc7\x69\x11\xd2\xc8\xc7\xe5\x87\xd8\x16\xcc\xb3\x27\xbd\x67\x93\xcf\x32\x16\x85\xc7\x32\x87\x27\x0e\x77\x55\xeb\x4d\xff\x68\x87\x66\x7a\x5e\xa2\x55\xcf\xb5\x07\x2e\xb2\x67\x1c\x32\x21\xa3\xea\x74\x3f\x8d\xc4\x39\x62\x90\xda\x6c\x1c\xb6\xc1\xd4\x53\x8d\x02\xb0\x6a\x67\xe3\xbb\x8e\x56\x8f\x67\xdb\x38\x25\x64\x6d\xd6\x59\x5b\x40\xeb\x4b\xe5\x9f\x5a\x64\x87\x58\xc9\x3d\x31\xdd\x8f\x94\xa7\xab\xa6\x7c\x6e\x7c\x51\x59\xfa\x40\xce\x85\xa5\x61\x45\x68\x0d\x23\x72\xb3\x45\xbe\x8d\x70\xb3\xf3\x09\x37\x6b\x76\xc0\xec\x0a\x39\x3b\x9e\x26\x06\xf7\x04\xb8\x27\xc0\x3d\x01\xee\x09\x70\x4f\xa8\xdb\x7c\xc1\xbd\x07\xd4\x23\x40\xa1\x40\xa1\x40\xa1\x40\xa1\x40\xa1\x40\xa1\xe3\x42\xa1\xa0\x13\xa0\x13\xa0\x13\xa0\x13\x9d\xd3\x89\x3d\x08\x7e\x4f\x03\xc2\x9a\x75\xe1\x7a\x50\xd8\x4b\x2d\x6e\xbd\xe2\x3a\x1b\x6f\x40\x52\x3f\x24\xf5\x3b\x93\xa4\x7e\x28\x1e\xd1\xf3\x0c\x07\xe6\xaf\xbf\xf3\x41\x96\x49\xcb\x60\x50\xeb\x6c\x8c\x87\x8d\x21\xa0\xbe\xa3\x1b\x0c\x78\x58\x98\xeb\x96\x89\xd4\xd5\xe6\xd8\x4a\xdc\x2b\x62\xaf\x8a\xa3\xde\xdb\xd8\x2b\x32\xce\x7c\xe5\x21\xf7\x44\xac\xcd\x8c\x7a\xc7\x4c\x12\xe9\xf8\xa4\x37\x67\x06\x3d\x4e\x76\x59\x19\x33\x11\xa6\x4a\x90\xb5\x86\x84\x25\x7f\x50\xbd\x98\xde\x8b\x44\x58\x69\xb0\x18\x61\x64\x23\x91\x48\x1a\x26\xe3\x9d\x8c\xd9\xf5\xdb\x7f\xa9\x6b\x63\xee\x10\xad\x0b\x64\xe8\x69\xd9\x8f\x0c\x6c\x8e\x0c\x53\xee\x87\x7a\x9b\x22\x03\x56\x7e\x2d\x11\x0c\xc3\x12\xd9\xfc\x39\x53\x6f\x3c\x19\xf0\xd0\x9b\xc9\xd8\xbb\x8a\x1e\xbc\xab\x55\xe8\x3b\xd2\x15\x57\x3f\x7d\x49\x6e\xd5\x53\x0e\xb6\x88\x9b\xce\x69\x73\x78\x7a\x25\x2c\x0e\x56\x86\x6b\x2a\xbf\xbd\x6d\x20\xbf\x7d\xd0\xd6\xbd\x9e\x7d\xf7\xdb\x9d\xdf\xad\x3d\x8a\x7b\xf6\xe1\xa3\x13\x98\x49\x32\x19\x82\xc0\xfc\x8a\xb5\x97\x98\x44\xff\xf4\x9f\x23\xe5\x27\xd9\x43\x46\x5b\x4b\x4a\x72\x72\x19\x6d\x20\xa9\x48\x20\x92\x15\x07\xb9\xb7\x22\x19\x82\xbf\xcf\x28\xf8\x1b\x51\x6e\x88\x72\x43\x94\x1b\xa2\xdc\xa0\x4d\x6e\x5a\x45\xbd\x0c\x29\x39\x8d\x6e\x86\x88\x98\xed\x11\x31\x83\xd0\xd1\x32\x7b\x77\xeb\x71\x30\xb1\xe0\x6e\x45\xf8\x6a\xaa\x53\xa9\x5b\xf7\xd4\xa8\xb0\xc1\xc0\x7a\xd2\x68\x6d\x7a\x62\x18\xc6\x93\x97\xd0\xc6\x62\xd5\xfd\x2d\x9f\x80\xea\xfb\xf5\x6d\x06\x40\x6d\x05\xa0\x92\x4f\xc6\x41\x95\x67\xa7\x74\xef\xcf\xdb\x37\xec\xa5\x88\x3d\xd1\xe8\xca\x24\x8d\x79\x2a\x3c\xdf\x99\x36\xbf\x47\xfd\xfd\x6c\xae\xa4\xa3\xa1\xc9\x91\x17\xf1\x38\xf5\x29\x64\x4a\xfb\x0f\x1d\x78\xfc\xd1\x5b\xfb\x64\x51\xec\x8a\xfa\x6e\x91\x20\x6f\xcb\x1e\x3d\x0c\x76\xc6\x91\xdb\x19\xcf\x07\xfd\x56\xe2\x10\xec\xe2\xd2\xb1\x32\x6a\xdb\xc9\xe3\xaf\x5f\x6f\xd8\x92\xde\x90\x95\x45\x07\xc8\xf2\x80\xee\x0c\x65\x38\xd5\x77\xd3\x15\x64\xe8\x4c\xd8\xeb\xdf\x12\x19\xde\xea\x30\xe4\xaf\x6a\xf3\x33\x7f\xff\xb0\x5b\x62\xfe\x8f\x6f\xfa\xc4\xa4\x9b\xcf\x9b\xcf\x32\x76\xc8\x12\xec\x49\x1a\x7c\xc9\xee\x2e\x16\xea\xdf\xee\x2e\xd8\x4d\xa9\x37\xc9\xcb\x59\x9b\x6d\x57\x49\x1e\x72\x39\xe5\x0e\x0d\x00\x05\xb2\x06\xbe\x63\x0c\x51\x22\x70\x13\x26\x9f\xcc\xd8\xea\x40\xcf\x48\xc8\x28\x10\x33\xa6\xdf\x49\xf1\xeb\x76\x4e\x91\xaf\x71\xed\x40\x64\xaf\x3f\xa4\x7b\xd5\x8b\xc6\xeb\x19\x0a\xed\x69\x68\xda\x53\x54\x71\xd3\x1d\x82\xfe\xb4\x6a\xdd\xb0\x11\x05\xdc\x39\x54\xb8\x33\x77\x9f\x83\x78\x07\xa7\x3e\x48\x76\x67\x25\xd9\xf5\x48\x80\xc2\x39\x9f\xfd\x02\xa7\xbe\x33\x92\x4f\x56\xc3\xb0\xee\xbe\x62\x8d\x5c\xe3\x28\xae\x69\x4b\x89\xae\xd6\xa1\x8d\x89\x81\x0f\x5d\xff\xd1\x77\x57\x3c\x28\xc6\xd3\xf1\x2c\xeb\x45\xa9\xe1\xb3\x82\xd3\xc7\xbb\xcc\x5d\x64\x42\x4f\x9a\xe4\x39\x90\x4a\x49\x6d\x32\x99\x88\xf9\x61\x92\x0a\x5e\xb2\x5c\x56\x25\xa6\xa7\x8a\x39\x6c\x2d\x74\xea\xb3\x8c\x6f\x82\x20\x13\xa3\x92\x3e\x80\xa1\x8d\x37\x9c\x57\xd0\xdb\x16\x0b\x1f\xc5\x6c\x7e\x7a\x14\xe1\xf9\x86\xbe\xd1\x08\x9e\x45\xfc\x1b\xb2\x0c\x8e\x38\xcb\xe0\x6e\xd0\xb4\x2b\xc3\xe0\xe1\x45\x30\x9b\x41\x34\xe4\x15\x44\x5e\x41\xe4\x15\x44\x5e\xc1\xb1\xe5\x15\xdc\xbd\xf3\xd6\xe6\x14\xec\xd8\x65\xe1\x68\x99\x04\x77\x37\x7f\x73\x16\xc1\x3e\xf7\xc1\x3e\xb9\x03\x77\xf7\xc1\xe6\xbc\x81\x1d\xf7\x01\xb2\x05\x22\x5b\x20\xb2\x05\x22\x5b\x20\xb2\x05\x76\x96\x2d\xb0\xc1\xee\xbf\x96\x29\x70\x6b\x30\xd9\x19\x79\x2c\x36\x6b\xcd\x88\xb3\x1d\xee\xee\xee\x6d\x99\x0e\x8f\xdb\xef\xc8\x6f\xd8\xc9\x88\xae\xe7\x36\xec\x78\x58\x4f\x9a\xd1\x70\x77\xf7\x6c\xc9\x66\xd8\xf5\xb6\xd9\xd7\x1c\x86\xbb\x3b\xad\x06\x63\x1c\x6c\xcf\x33\x7f\xfd\xbd\x17\x20\x6b\x94\x41\xe2\xec\xb9\xd9\x06\x3f\xa3\xdf\x2b\xfc\x01\xc4\x0c\xc4\x8c\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\xf5\x97\x16\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x81\x98\x0d\x91\x98\x21\xb9\x09\x50\x21\x50\x21\x50\x61\xaf\x47\x14\xa8\xb0\xdc\x3d\x40\x85\xa3\x45\x85\x35\xc9\xe6\x3b\x22\x86\x45\x4c\x18\x5a\xe9\x47\x2e\xd8\x83\x1f\xba\x1d\xe0\xc2\xcb\x5c\xe3\x21\xad\xce\x48\xc7\x4a\x69\xca\x55\xb9\x49\xc9\x04\x50\x78\x76\x0b\xb0\x11\xa0\x11\xa0\x71\x38\xa0\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x11\x90\x71\x50\x90\x11\x45\x21\xc0\x4d\xc1\x4d\xfb\x4e\xd9\xc0\x4d\xc1\x4d\xc1\x4d\xc1\x4d\x2b\x9d\x76\x3a\x6e\x3a\x17\x29\xbf\xbe\x3a\x08\x85\x9e\x24\xad\x70\x65\xc8\x3d\x91\x96\x75\x16\x3d\xba\x5b\x48\xa6\x27\xd2\x02\xc7\xa4\xe6\xdf\xdc\x7e\xf9\x5e\x77\x27\xf2\x29\xef\x09\x16\x0b\x1d\x49\x61\xa7\x23\xa2\x8b\x34\x51\x0a\xb7\xbe\x2a\xbe\xbe\xe1\x2a\x3b\x62\xc0\xb2\xb6\x76\xc5\x46\x5f\xb6\xea\x54\xad\xe7\xc1\x96\xb5\xa2\x9e\x52\x5d\x2c\xa5\x7b\x91\x9a\xb7\x3a\x0e\xbd\x59\xa6\xa5\xf4\xe1\x34\x72\xb3\xf5\xb8\xf0\x11\x2f\xd0\xdd\x3e\x00\xfd\x8c\x33\xae\xb4\x03\x7e\x00\xf0\x03\x80\x1f\x00\xfc\x00\xe0\x07\x00\x3f\x00\xf8\x01\xc0\x0f\x60\xf7\x6e\x0b\x3f\x00\xf8\x01\xc0\x0f\x00\x7e\x00\xf0\x03\x80\x1f\x00\xfc\x00\xce\xce\x0f\x00\xec\x18\xec\x18\xec\x78\x18\x23\x0a\x76\x5c\xee\x1e\xb0\xe3\x01\xb2\xe3\xbd\xb3\xf3\x6a\xc9\xa7\x5d\xde\xa5\x9f\xc9\x1c\x19\x28\x45\xcb\x4c\xd8\xa6\x98\x4b\xdf\x5c\x05\x5d\x1f\xb2\x67\x9d\xbc\x82\x77\x27\xb0\xf6\x23\xb5\xfa\x1b\x75\x61\xd2\x4a\xc1\x6e\xd8\x79\x61\xe7\x85\x9d\x17\x76\xde\xb1\xd9\x79\x9b\x95\x7a\xaf\xb5\xf5\x1e\xad\x0a\xff\x5f\xaa\xe3\x8c\x86\x7b\x49\x99\xea\x1d\x35\xa3\xf4\x3c\x28\xb5\xad\xc8\x54\xe7\x82\x45\xaa\xb7\x12\xa5\x0c\xb2\x9b\x90\xf9\xa1\xde\x59\x64\xcc\x56\x61\xb6\x39\xb9\xcc\x8d\x9f\xbf\xaf\x42\xe6\xfa\xb1\x3a\x12\x1f\x45\x36\xe3\xd5\xf6\x49\xf6\x08\xb3\xe4\xed\xdc\x30\x1d\xcc\x16\xab\x98\x56\x59\x14\x4b\x47\x24\x64\x38\x30\xa2\xa4\x99\x65\x33\xf6\x27\xbd\x91\x46\x8b\xe6\xce\x3b\x36\x65\x37\x41\xf0\x8e\xcc\x02\xae\xda\xa5\x57\xa1\x1a\x78\x25\x94\xd9\x29\x69\x1e\xb7\x5e\x6f\xbd\xc1\x40\xe9\xb6\x9c\x66\x98\x8e\x66\x9c\x6f\xd6\x15\x9b\x0d\xf4\x47\xeb\x91\x3f\x8a\x5a\x86\xaf\x34\x7c\x12\xfe\xd9\x5c\x2c\xb4\x17\x41\x66\xc8\xc9\x45\x09\xb3\x7b\xd1\xd4\x59\x09\x7d\x38\xcc\x95\x7c\x1d\x4e\x43\xe1\x71\x9a\xa0\x46\x4f\x50\x2a\x8d\x3d\x41\xb5\x51\x37\x5b\x1a\x46\x66\xf4\x97\x4b\xe1\xfa\x3c\x15\xc1\x73\x8e\xf7\xf3\x23\xd7\x0f\x2e\x8d\x1e\x40\x9d\xce\xbc\x98\x3b\xb4\x6a\x7c\xe9\x66\x02\x41\x7e\x68\x93\xef\x84\x9d\xa5\xab\x44\x7d\x64\x71\xb8\xb8\xba\xd3\x36\xc8\xbc\x64\xa1\xf7\x40\xfb\x88\x99\xfe\xce\xa5\xe0\x61\xed\x37\x1e\x30\xcc\xf4\xcd\xb7\xf4\xc9\x75\xba\xd5\x0e\xed\xaa\x2f\xd3\x7f\x1f\x2e\xd3\xac\x5f\x36\xb3\x99\xa3\x4d\x7f\x50\x1a\x50\x1a\x50\x1a\x50\x1a\x50\x9a\xce\x28\x4d\xc3\xb3\x60\x8d\xd4\x1c\xef\x58\xfc\x58\x48\xfd\x16\x05\x82\x27\x22\xdb\x82\x6e\x63\x19\x71\x8f\xa4\xa3\x5b\x19\xf8\xce\x73\xc9\x27\xd0\x4e\xba\x3c\x77\x9c\x9a\x76\xd7\xb3\x5f\x66\xec\x87\xde\xcf\xb4\xe8\x12\x89\x50\x2d\x96\xfc\x4c\x15\x4c\xc6\xd1\x3d\x0f\xad\x8f\x62\xbc\x12\x57\x0b\x1e\x58\x5d\xf9\xee\x42\xff\x7c\x77\xc1\x16\x7e\xc8\x03\xff\x1f\x7b\x90\xcc\x05\xe3\x2e\x99\xee\xe5\x95\x36\x6b\xba\xb9\x1a\xa6\x1f\x3f\x49\xf2\x9b\xb4\x7e\x3a\x63\x9f\x7c\xda\x1c\x0b\x9f\x2e\xe3\xf5\xb6\xe5\xa0\x26\xd5\xea\x31\xe9\x28\x32\xbd\x3f\x64\x40\x75\x0b\x3e\xda\xb6\x6f\x14\x79\xea\x8c\xa4\xed\x2a\x66\xd4\x74\xb5\x60\xef\xe5\x13\xf3\x78\x3c\xe7\x5e\xc9\x54\x99\x29\x35\x22\x5e\xc8\x78\xa9\xc6\xa4\xb6\xbf\xbe\x55\x5a\xb4\xb9\xbb\x48\xe8\xb5\x12\x6b\xa4\xfb\xd6\x57\xd2\xa4\xe3\xbb\xb9\x2a\x4c\xb2\x02\x19\x27\xb2\x31\x56\x87\xb5\x39\x49\xad\x34\x30\x2b\x0c\xa6\x3d\x47\x32\x52\x92\xf9\xdb\x96\x5f\x36\x63\x37\x8e\x23\xa2\x94\xce\xa6\xa2\x66\x37\xd1\x6d\x98\xb0\xa9\x99\x80\xe5\x09\x9a\xbc\x67\x93\x5f\xb9\xf3\xe0\xc5\x72\x15\xba\xea\x2a\xf2\x5d\xa5\x8b\x2a\x1d\xa7\x45\x48\x23\x1f\x97\x1f\x62\x5b\x30\xcf\x9e\xf4\x9e\x4d\x3e\xcb\x58\x14\x1e\xcb\x1c\x9e\x38\xdc\x55\xad\x37\xfd\xa3\x5d\x9b\xe9\x79\x89\x56\x3d\xd7\x1e\xb8\xc8\x9e\x71\xc8\x84\x8c\xaa\xd3\xfd\x34\x12\xe7\x88\x91\x6a\xb3\x71\xd8\x86\x55\x4f\x35\x0a\x00\xac\x9d\x8d\xef\x3a\x64\x3d\x9e\x6d\xe3\x94\xb8\xb5\x59\x67\x6d\x41\xae\x2f\x95\x7f\x6a\xb9\x1d\x62\x2a\xf7\xc4\x74\x3f\x52\x9e\xae\x9a\xf2\xb9\x91\x46\x6a\xe9\x53\x39\x97\x98\x06\x18\xb5\x35\xa0\x08\xcf\x16\x71\x37\xe2\xd0\xce\x27\x0e\xad\xd9\x79\xb3\x2b\x16\xed\x78\x8a\x19\xbc\x15\xe0\xad\x00\x6f\x05\x78\x2b\xc0\x5b\xa1\x6e\xf3\x05\x06\x1f\x50\x8f\x80\x8c\x82\x8c\x82\x8c\x82\x8c\x82\x8c\x82\x8c\x8e\x8b\x8c\x02\x56\x00\x56\x00\x56\x00\x56\x74\x0e\x2b\xf6\x00\xfa\x3d\x8d\x14\x6b\xd6\x85\xeb\xd1\x62\x2f\xb5\xb8\xf5\x0a\xf3\x6c\xbc\x01\xc9\xff\x90\xfc\xef\x3c\x93\xff\x21\x8b\x7e\xcf\x33\x21\x98\xbf\xfe\xce\x07\x59\x26\x2d\xc3\x42\xad\xc2\x31\x1e\x36\x06\x83\xfa\x8e\x0e\xd1\xe0\x61\x91\xb0\x5b\x66\x53\xa7\x1b\x66\x2b\xf1\xb1\x88\xd1\x2a\x0e\x7d\x6f\x63\xb4\xc8\x6a\xf3\x95\x87\xdc\x13\xb1\xb6\x3f\xea\xbd\x33\x49\xa4\xe3\x93\x42\x9d\x59\xfa\x38\x19\x6c\x65\xcc\x44\x98\x2a\x09\xd7\x5a\x18\x96\xfc\x41\xf5\x62\x7a\x2f\x12\x61\xc5\xc4\x62\x24\x92\x8d\x58\x22\x31\x99\xac\x7a\x32\x66\xd7\x6f\xff\xa5\xae\x8d\xb9\x43\x18\x2f\x90\xa1\xa7\x85\x42\xb2\xbc\x39\x32\x4c\xb9\x1f\xea\x0d\x8b\x2c\x5b\xf9\xb5\x84\x36\x0c\x64\x64\xf3\xe7\x4c\xef\xf1\x64\xc0\x43\x6f\x26\x63\xef\x2a\x7a\xf0\xae\x56\xa1\xef\x48\x57\x5c\xfd\xf4\x25\xb9\x55\x4f\x39\xd8\x54\x6e\x3a\xa7\xcd\xe1\xe9\x95\x14\x39\x6c\xe1\xae\xa9\x60\xf7\xb6\x81\x60\xf7\x41\xdb\xfe\xfa\xf8\xf1\x6f\x77\x7e\xbc\xf6\x41\xee\xe3\xd7\x8f\x53\xa6\x26\xb9\x65\x30\x32\xf5\x2b\xd6\x72\x8e\x13\xfd\xd3\x7f\x8e\x94\xea\x64\x0f\x59\xae\x3e\xbf\xc9\xc9\x65\xb9\x81\x64\x35\x81\xd4\x56\x1c\xe4\xde\x4a\x6d\x88\x23\x3f\xa3\x38\x72\x04\xcc\x21\x60\x0e\x01\x73\x08\x98\x83\xc2\xb9\x69\x15\xf5\x32\x3a\xe5\x34\x4a\x1b\x82\x6b\xf4\x65\x5b\x83\x6b\x86\xa3\xb7\x65\x66\xf2\xd6\x43\x6a\x62\xc1\xdd\x8a\x18\xd6\x54\xc5\x52\xb7\x1e\xa2\x60\x61\xbf\x81\x95\x65\xcf\xf5\xea\x89\x01\x19\x59\x5e\x02\x2e\x51\xd1\x1c\x2c\xf6\xf4\x2c\x96\xbc\x3d\x0e\xaa\x87\x3b\xa5\x7b\x7f\xde\xbe\x7f\x2f\x45\xec\x89\x46\x57\x26\x69\xcc\x53\xe1\xf9\xce\xb4\xf9\x3d\xea\xef\x67\x73\x25\x9d\x14\x4d\x8e\xc1\x88\xc7\xa9\x4f\xc1\x58\xda\x33\xe9\xc0\x23\x91\xde\xda\x3b\xa3\x63\x57\x00\x79\x8b\x90\x79\x5b\x76\x18\x62\x30\x45\x8e\xdc\x14\x79\x3e\x00\xb9\x12\xe6\x60\x17\x97\x0e\xc5\x51\x7b\x4f\x1e\xde\xfd\x7a\xc3\xbe\xf4\x86\x0c\x31\x3a\xfe\x96\x07\x74\x67\x28\xc3\xa9\xbe\x9b\xae\x20\x5b\x68\xc2\x5e\xff\x96\xc8\xf0\x56\x47\x39\x7f\x55\x3b\xa0\xf9\xfb\x87\xdd\x17\xf3\x7f\x7c\xd3\x27\xb2\xdd\x7c\xde\x7c\x96\xb1\x43\xc6\x62\x4f\xd2\xe0\x4b\x76\x77\xb1\x50\xff\x76\x77\xc1\x6e\x4a\xbd\x49\x4e\xd4\xda\xb2\xbb\x4a\xf2\x88\xce\x29\x77\x68\x00\x28\x4e\x36\xf0\x1d\x63\xab\x12\x81\x9b\x30\xf9\x64\xc6\x56\xc7\x91\x46\x42\x46\x81\x98\x31\xfd\x4e\x0a\x8f\xb7\x73\x8a\x5c\x99\x6b\x07\x22\x7b\xfd\x21\xdd\xab\x5e\x34\x5e\xc7\x53\x68\x54\xc3\xd5\xa8\xa2\x8a\x3f\xf0\x60\x74\xaa\x55\xeb\x06\x90\x28\xe0\xce\xa1\x02\x9f\xb9\xfb\x6c\x44\x3e\xf8\x0c\x42\xe4\x3b\x3f\x91\xaf\x47\x92\x15\x04\x80\xec\x17\xf8\x0c\x36\xf8\xf8\x91\x4a\x2f\xab\x01\xd9\x83\x5f\xb1\xe6\x4e\x77\x14\x68\xb5\xa5\x8e\x58\xeb\xfc\xc7\x04\xe5\x87\xae\xff\xe8\xbb\x2b\x1e\x14\x03\xfc\x78\x96\x86\xa3\xd4\x05\xb3\x82\x27\xc9\xbb\xcc\x07\x65\x42\x4f\x9a\xe4\x49\x99\x4a\x59\x76\x32\xb1\x89\xf9\x61\x92\x0a\x5e\x32\x78\x56\x85\xaa\xa7\x3a\x2b\xda\x5a\x2c\xd7\x67\x19\xdf\x04\x41\x26\x69\x25\x7d\x60\x4c\x1b\x6f\x38\xaf\x50\xbc\x2d\x86\x41\x8a\x24\xfd\xf4\x28\xc2\x33\x8f\xc5\xa3\x61\x3c\x9f\x80\x3c\x64\x41\x1c\x71\x16\xc4\xdd\xb8\x6a\x57\x06\xc4\xc3\xab\x77\x36\x43\x71\xc8\x7b\x88\xbc\x87\xc8\x7b\x88\xbc\x87\x63\xcb\x7b\xb8\x7b\xe7\xad\xcd\x79\xd8\xb1\xe3\xc3\xd1\x32\x1d\xee\x6e\xfe\xe6\x2c\x87\x7d\xee\x83\x7d\x72\x1b\xee\xee\x83\xcd\x79\x0d\x3b\xee\x03\x64\x33\x44\x36\x43\x64\x33\x44\x36\x43\x64\x33\xec\x2c\x9b\x61\x83\xdd\x7f\x2d\x93\xe1\xd6\x80\xb5\x33\xf2\x7b\x6c\xd6\x9a\x11\x67\x63\xdc\xdd\xdd\xdb\x32\x31\x1e\xb7\xdf\x91\x7f\xb1\x93\x11\x5d\xcf\xbd\xd8\xf1\xb0\x9e\x34\xe3\xe2\xee\xee\xd9\x92\x6d\xb1\xeb\x6d\xb3\xaf\x39\x16\x77\x77\x5a\x0d\xd0\x38\xd8\x9e\x67\xfe\xfa\x7b\x7f\x68\xd6\x28\x5f\x05\x58\xda\x16\xf7\xa4\xdf\x2b\x38\x02\x14\x0d\x14\x8d\x81\xa2\xe9\xcb\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\xfa\x4d\x90\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x40\xd1\x86\x48\xd1\x90\x36\x05\xf8\x10\xf8\x10\xf8\xb0\xd7\x23\x0a\x7c\x58\xee\x1e\xe0\xc3\x71\xe3\xc3\x9a\x74\xf7\x1d\x51\xc4\x22\x3a\x0c\xad\x08\x24\x17\xec\xc1\x0f\xdd\x0e\x10\xe2\x65\xae\xf6\x90\x6a\x67\x44\x64\xa5\x39\xe5\xfa\xdc\xa4\x64\x07\x28\x3c\xbb\x2d\x00\x09\xf8\x08\xf8\x38\x30\xf8\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x08\xf0\x38\x3c\xf0\x88\x12\x14\x60\xa9\x60\xa9\x7d\x27\x6f\x60\xa9\x60\xa9\x60\xa9\x60\xa9\x95\x4e\x3b\x12\x4b\xd5\xc6\x7e\x0b\x52\x0f\xc2\xa1\x27\xc9\x4d\x5c\x19\x67\x8f\x0a\x99\x2e\x64\xbc\xcc\xe6\x35\x67\x1a\xcb\x6c\x06\x9a\x9e\x48\x09\x7e\x25\x37\xb7\x5f\xfe\xab\x7a\x2d\x32\x31\xef\x09\x13\xb3\x4e\x1c\x38\x4a\xd4\x2b\xa2\x70\xfd\xab\xe2\x3b\xb7\xad\x9e\xc7\xeb\x61\x2f\xa0\x92\xa6\xaf\xf7\xc4\x26\xab\xe7\xcf\xeb\x9b\xdb\x2f\xdf\xeb\xee\xc0\x1a\xda\x7f\x0d\xd9\x8e\xa4\x10\xee\x51\x2c\xa5\xff\x79\xbc\x3e\x70\x35\x99\xa5\xd8\xa5\x8f\x8e\xb6\x01\xc7\xc6\x8a\x64\x8d\x0c\x99\x7b\x0e\xf9\x46\x6c\x5e\x03\xea\x6e\xbb\x08\xe8\xbf\x48\x65\x5d\xed\xef\xde\x2c\xbb\x99\x99\x5e\x8f\xd7\x33\x1a\xaa\xb1\x2e\xb0\xdd\xee\x2e\x6d\x85\xd9\x97\xd6\xeb\x06\x57\x97\xca\x02\xaa\xba\xb8\xc0\xbb\x05\xde\x2d\xf0\x6e\x81\x77\x0b\xbc\x5b\xe0\xdd\x02\xef\x16\x78\xb7\xec\xb3\xdb\xc2\xbb\x05\xde\x2d\xf0\x6e\x81\x77\x0b\xbc\x5b\xe0\xdd\x02\xef\x96\xb3\xf3\x6e\x81\x47\x04\x3c\x22\xe0\x11\x31\x8c\x11\x85\x47\x44\xb9\x7b\xe0\x11\x31\x14\x8f\x88\xc7\xeb\x8d\xf1\xe4\x6b\x70\x4a\x4b\x3a\xed\xf2\x29\xfd\x4c\xe6\xc8\x40\x29\x56\x66\x82\xee\xc2\x52\xfa\x26\x0b\xa6\x3e\x64\xf7\x16\x82\xb5\xab\x4f\xe8\xb6\x88\x7d\x27\xb0\xf4\x23\xb5\xf2\x1b\x75\x55\xd2\x4a\xb9\x7a\xd8\x6f\x61\xbf\x85\xfd\x16\xf6\xdb\xb1\xd9\x6f\xb7\x9c\xae\xbb\x6c\xb8\xdb\x25\xb5\xed\xa7\xec\x5e\x7b\xef\x5f\xaa\xe3\x8c\xe6\x7a\x49\xa5\x17\x1c\x35\xa3\xf4\x3c\x28\xb5\xad\xc8\x4a\xe7\x82\x45\xaa\xb7\x12\xa5\xe4\xb1\x9b\x90\xf9\xa1\xde\x59\x64\xcc\x56\x61\xb6\x39\xb9\xcc\x8d\x9f\xbf\xaf\x42\xe6\xfa\xb1\x3a\x0a\x1f\x45\x36\xe3\xd5\xf6\x49\x76\x06\xb3\xe4\xed\xdc\x30\x1d\xcc\x16\xab\x98\x56\x59\x14\x4b\x47\x24\x64\x10\x30\x22\xa2\x99\x65\x33\xf6\x27\xbd\x91\x46\x8b\xe6\xce\x3b\x36\x65\x37\x41\xf0\x8e\xd4\x7d\x57\xed\xd2\xab\x50\x0d\xbc\x12\xb6\xec\x94\x34\x8f\x13\xee\x01\x03\xa5\xdb\x72\x9a\x61\x3a\x9a\xd1\xbd\x59\x57\x6c\x36\xbc\x1f\xad\x47\xfe\x28\x6a\x0f\xbe\xd2\xdc\x49\xa8\x67\x73\xb1\xd0\xde\x01\x99\x81\x26\x17\x25\xcc\xee\x45\x53\x67\x25\xf4\xe1\x30\x57\x72\x73\x38\x0d\x85\xc7\x69\x82\x1a\xf9\x5f\xa9\x2a\xf6\x04\xd5\xc6\xda\x6c\x69\x18\xd9\xd0\x5f\x2e\x85\xeb\xf3\x54\x04\xcf\x39\xb6\xcf\x8f\x5c\x3f\xb8\x34\xf2\x3d\x75\x3a\xf3\x62\xee\xd0\xaa\xf1\xa5\x9b\x09\x04\xf9\xa1\x4d\x3e\x11\x76\x96\xae\x12\xf5\x91\xc5\xe1\xe2\xea\x4e\xdb\x20\xf3\x92\x85\xde\x03\xed\x23\x66\xfa\x3b\x97\x82\x87\xb5\xdf\x78\xc0\x30\xd3\x37\xdf\xd2\x27\xd7\xe9\x4c\x3b\xb4\xa6\xbe\x4c\xff\x7d\x78\x4b\xb3\x7e\xd9\xcc\x5c\x8e\x36\xfd\x41\x5f\x40\x5f\x40\x5f\x40\x5f\x40\x5f\x3a\xa3\x2f\x0d\xcf\x82\x35\x02\x73\xbc\x63\xf1\x63\x21\x6f\x61\x14\x08\x9e\x88\x6c\x0b\xba\x8d\x65\xc4\x3d\x92\x8e\x6e\x65\xe0\x3b\xcf\x25\x5f\x3f\x3b\xe9\xf2\xc4\x87\x6a\xda\x5d\xcf\x7e\x99\xb1\x1f\x7a\x3f\xd3\xa2\x4b\x24\x42\xb5\x58\xf2\x33\x55\x30\x19\x47\xf7\x3c\xb4\xbe\x87\xf1\x4a\x5c\x2d\x78\x60\x75\xe5\xbb\x0b\xfd\xf3\xdd\x05\x5b\xf8\x21\x0f\xfc\x7f\xec\x41\x32\x17\x8c\xbb\x64\x92\x97\x57\xda\x5c\xe9\xe6\x6a\x98\x7e\xfc\x24\xc9\x6f\xd2\xfa\xe9\x8c\x7d\xf2\x69\x73\x2c\x7c\xba\x8c\xd7\xdb\x96\x03\x98\x54\xab\xc7\xa4\xa3\xc8\xf4\xfe\x90\x01\xd5\x2d\xf8\x68\xdb\xbe\x51\xe4\xa9\x33\x7e\xb6\xab\x98\x51\xd3\xd5\x82\xbd\x97\x4f\xcc\xe3\xf1\x9c\x7b\x25\x93\x64\xa6\xd4\x88\x78\x21\xe3\xa5\x1a\x93\xda\xfe\xfa\x56\x69\xd1\xe6\xee\x22\xa1\xd7\x4a\xac\x91\xee\x5b\x5f\x49\x93\x8e\xef\xe6\xaa\x30\xc9\x0a\x64\x9c\xc8\xc6\x38\xa1\x40\x30\xfa\xd5\x4a\x03\xb3\xc2\x60\xda\x73\x24\x23\x20\x99\x1f\x6d\xf9\x65\x33\x76\xe3\x38\x22\x4a\xe9\x6c\x2a\x6a\x76\x13\xdd\x86\x09\x9b\x9a\x09\x58\x9e\xa0\xc9\x7b\x36\xf9\x95\x3b\x0f\x5e\x2c\x57\xa1\xab\xae\x22\x9f\x54\xba\xa8\xd2\x71\x5a\x84\x34\xf2\x71\xf9\x21\xb6\x05\xf3\xec\x49\xef\xd9\xe4\xb3\x8c\x45\xe1\xb1\xcc\xe1\x89\xc3\x5d\xd5\x7a\xd3\x3f\xda\x65\x99\x9e\x97\x68\xd5\x73\xed\x81\x8b\xec\x19\x87\x4c\xc8\xa8\x3a\xdd\x4f\x23\x71\x8e\x18\x95\x36\x1b\x87\x6d\xb8\xf4\x54\xa3\x00\x70\xda\xd9\xf8\xae\xc3\xd3\xe3\xd9\x36\x4e\x89\x51\x9b\x75\xd6\x16\x94\xfa\x52\xf9\xa7\x96\xcf\x21\xa6\x71\x4f\x4c\xf7\x23\xe5\xe9\xaa\x29\x9f\x1b\x59\xa4\x95\x3e\x8d\x73\x49\x69\x00\x51\x57\x3d\x8e\xb0\x6c\x01\x5f\x23\x5e\xec\x7c\xe2\xc5\x9a\x9d\x1f\xbb\x62\xc6\x8e\xa7\x68\xc1\xfb\x00\xde\x07\xf0\x3e\x80\xf7\x01\xbc\x0f\xea\x36\x5f\x60\xed\x01\xf5\x08\x48\x27\x48\x27\x48\x27\x48\x27\x48\x27\x48\xe7\xb8\x48\x27\xe0\x03\xe0\x03\xe0\x03\xe0\x43\xe7\xf0\x61\x0f\x40\xdf\xd3\x88\xae\x66\x5d\xb8\x1e\xd5\xf5\x52\x8b\x5b\xaf\xb0\xcd\xc6\x1b\x90\x7c\xef\x3c\x91\xd0\x78\x93\xef\xa1\x36\x43\xcf\x33\x11\x98\xbf\xfe\xce\x07\x59\x26\x2d\xc3\x3e\xad\x9a\x31\x1e\xee\x04\x7b\xfa\xca\x16\xd1\xde\x61\x91\xa9\x5b\x66\x4d\xab\x1b\x5e\x2b\xf1\xa9\x88\x91\x2a\x0e\x75\x6f\x63\xa4\xc8\xca\xf2\x95\x87\xdc\x13\xb1\xb6\x17\xea\x3d\x31\x49\xa4\xe3\x93\x02\x9c\x59\xe6\x38\x19\x58\x65\xcc\x44\x98\x2a\x89\xd4\x5a\x04\x96\xfc\x41\xf5\x62\x7a\x2f\x12\x61\xc5\xba\x62\x24\x90\x8d\x18\x22\xb1\x96\xac\x70\x32\x66\xd7\x6f\xff\xa5\xae\x8d\xb9\x43\xd8\x2d\x90\xa1\xa7\x85\x38\xb2\x94\x39\x32\x4c\xb9\x1f\xea\x8d\x88\x2c\x51\xf9\xb5\x84\x22\x0c\x14\x64\xf3\xe7\x4c\x4f\xf1\x64\xc0\x43\x6f\x26\x63\xef\x2a\x7a\xf0\xae\x56\xa1\xef\x48\x57\x5c\xfd\xf4\x25\xb9\x55\x4f\x39\xd8\xb4\x6d\x3a\xa7\xcd\xe1\xe9\x95\xd4\x37\x2c\x61\xac\xa9\x20\xf6\xb6\x81\x20\xf6\x41\xdb\xe6\xfa\xf0\xb1\x6f\x77\x7e\xac\xf6\xf1\xed\xc3\xd7\x8e\x4b\xc6\x25\xb9\xa2\xb7\x32\xee\x2b\xf6\xc2\x9c\x1f\xfa\x9f\xfe\x73\xa4\xd4\x1f\x0d\x64\xa9\x72\xbe\x0f\x64\xf9\x80\x14\x35\x02\x29\x0a\x71\xd5\x67\x14\x57\x8d\x00\x32\x04\x90\x21\x80\x0c\x01\x64\x50\x00\x37\xad\xa2\x5e\x46\x6b\x9c\x46\xc9\x42\xb0\xc9\x96\x60\x93\xfe\xea\x5d\x99\xd9\xb9\xf5\x10\x93\x58\x70\xb7\x22\x6e\xed\x52\x99\xd4\x2d\x4d\x14\x26\xec\x1f\xb0\x72\x6c\x58\x6f\x9e\xe8\xb1\x91\xe3\x25\x20\xaf\x54\x37\x7e\xfd\xd5\xa8\x17\x5f\xdf\x66\x30\xc9\x56\x98\x24\x79\x33\x1c\x54\x37\x75\x4a\xf7\xfe\xbc\x7d\x3f\x5e\x8a\xd8\x13\x8d\xae\x4c\xd2\x98\xa7\xc2\xf3\x9d\x69\xf3\x7b\xd4\xdf\xcf\xe6\x4a\xda\xf9\x9b\x1c\x5f\x11\x8f\x53\x9f\x82\x8d\xb4\xe7\xcd\x9e\x47\x19\xbd\xed\xe4\xc6\xbf\xae\x40\xea\x16\x61\xef\xb6\xec\xf8\xc2\x60\x12\x1c\xb9\x49\xf0\x7c\xc0\x6a\xc5\x5d\xdf\x2e\x2e\x1d\x52\xa2\xf6\x98\x3c\x4c\xf9\xf5\x86\xfd\xe7\x0d\x19\x44\x74\x1c\x29\x0f\xe8\xce\x50\x86\x53\x7d\x37\x5d\x41\x36\xc9\x84\xbd\xfe\x2d\x91\xe1\xad\x8e\xd6\xfd\xaa\x76\x3a\xf3\xf7\x0f\xbb\xff\xe5\xff\xf8\xa6\x4f\xc4\xb7\xf9\xbc\xf9\x2c\x63\x87\x8c\xb6\x9e\xa4\xc1\x97\xec\xee\x62\xa1\xfe\xed\xee\x82\xdd\x94\x7a\x93\x9c\x81\xb5\x85\x75\x95\xe4\x91\x89\x53\xee\xd0\x00\x50\xbc\x67\xe0\x3b\xc6\x66\x24\x02\x37\x61\xf2\xc9\x8c\xad\x8e\x87\x8c\x84\x8c\x02\x31\x63\xfa\x9d\x14\xe6\x6d\xe7\x14\xb9\xe4\xd6\x0e\x44\xf6\xfa\x43\xba\x57\xbd\x68\xbc\x0e\x94\xd0\x84\xfa\xaf\x09\x45\x15\xff\xd5\xde\xea\x42\xab\xd6\x0d\x0f\x51\xc0\x9d\x7d\x05\x36\x73\xd7\x68\x45\x36\xf8\xbe\x41\x44\x1b\xbf\x88\xd6\x23\x49\x08\x07\x76\xf6\x0b\x7c\xdf\xc6\x27\x5d\xac\x7a\x6c\x67\x7d\xc5\x76\x3b\x93\x51\x80\x4e\x4d\xbd\xa8\xd6\x39\x88\x09\xe2\x0e\x5d\xff\xd1\x77\x57\x3c\x28\x06\x84\xf1\x2c\x6d\x03\xb5\x72\x56\xf0\x98\x78\x97\xf9\x5a\x4c\xe8\x09\x93\x3c\x79\x4f\x29\x1b\x4b\x26\xc6\x30\x3f\x4c\x52\xc1\x4b\x86\xc3\xaa\x90\xf3\x54\xb4\x4a\x65\x31\x3f\x9f\x65\x7c\x13\x04\x99\xc4\x93\xf4\x81\xb5\x6c\xbc\xe1\xbc\x42\xb4\xb6\x18\xda\xfe\xca\xc6\xf2\x3c\x77\x20\x1a\xbe\xf1\x06\x6e\x21\x0b\xde\x88\xb3\xe0\xed\xc6\x39\xbb\x32\xe0\x1d\x5e\x65\xb1\x19\xaa\x42\xde\x3b\xe4\xbd\x43\xde\x3b\xe4\xbd\x1b\x5b\xde\xbb\xdd\x3b\x6f\x6d\xce\xbb\x8e\x1d\x03\x8e\x96\xe9\x6e\x77\xf3\x37\x67\xb9\xeb\x73\x1f\xec\x93\xdb\xae\x41\xdd\xfc\x8d\x79\xed\x3a\xee\x03\x64\xb3\x43\x36\x3b\x64\xb3\x43\x36\x3b\x64\xb3\xeb\x2c\x9b\x5d\x83\xdd\x7f\x2d\x93\x5d\xd7\xe5\xff\x87\xe2\x17\xd8\xac\x35\x23\xce\xc6\xb7\xbb\xbb\xb7\x65\xe2\x3b\x6e\xbf\x23\xff\x5e\x27\x23\xba\x9e\x7b\xaf\xe3\x61\x3d\x69\xc6\xbd\xdd\xdd\xb3\x25\xdb\x5e\xd7\xdb\x66\x5f\x73\xec\xed\xee\xb4\x1a\x70\x71\xb0\x3d\xcf\xfc\xf5\x77\x73\xe8\xb5\x35\x8f\xc2\x79\xb2\xb0\x8a\xbb\xcf\xef\x15\xac\x00\x0a\x06\x0a\xc6\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\xfa\x44\x80\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x40\xc1\x86\x48\xc1\x90\x16\x04\xf8\x0f\xf8\x0f\xf8\xaf\xd7\x23\x0a\xfc\x57\xee\x1e\xe0\xbf\x71\xe1\xbf\x9a\x34\xea\x1d\x51\xc0\x22\xfa\x0b\xad\xc8\x23\x17\xec\xc1\x0f\xdd\x16\x11\xe0\x65\xae\xde\x90\x0a\x67\x44\x61\xa5\x21\xe5\x7a\xdb\xa4\xa4\xef\x17\x9e\x7d\x28\x40\x04\x3c\x04\x3c\x1c\x08\x3c\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\x04\x38\xec\x3f\x38\x44\x69\x04\x30\x50\x30\xd0\xbe\x12\x33\x30\x50\x30\x50\x30\x50\x30\xd0\x4a\xa7\x9d\x88\x81\xce\x45\xca\xaf\xaf\x0e\xc2\x9b\x27\xc9\xd1\x5b\x19\x6f\x4f\xa4\x65\x45\x45\x0f\xed\x16\x4a\xe9\x89\xd4\x32\x4a\x6a\xfb\xcd\xed\x97\xef\x75\xb7\x21\x33\xf1\x9e\xf0\xb0\xd0\x91\x14\x2e\x3a\x16\x82\x48\xb3\xa4\x70\xdf\xab\xe2\xbb\x9b\x2c\xae\x23\xc4\x11\x6b\x8b\x56\x6c\x74\x62\xab\x32\x95\x9c\x07\xb6\x2c\x09\x75\x77\x69\x4d\xd0\xff\x20\x0b\x6e\xb5\xd3\x7b\xb3\x0a\xf3\x94\xdb\x34\x5c\xb3\x3c\x46\x7b\xac\x8b\x6e\x37\xbb\xef\x51\xcc\x6f\xe5\xe3\xc1\xef\xc1\xef\xc1\xef\xc1\xef\xc1\xef\xc1\xef\xc1\xef\xc1\xef\x77\xef\xb6\xe0\xf7\xe0\xf7\xe0\xf7\xe0\xf7\xe0\xf7\xe0\xf7\xe0\xf7\x67\xc7\xef\xc1\x7e\xc1\x7e\xc1\x7e\x87\x31\xa2\x60\xbf\xe5\xee\x01\xfb\x1d\x1a\xfb\x6d\x9c\xfd\x56\x8b\x3b\xed\x82\x2b\xfd\x4c\xe6\xc8\x40\x69\x57\x66\x96\xee\xe2\x55\xfa\xa6\x12\xb1\xfa\x90\x3d\xe0\x64\x85\xaa\x3b\x81\xaa\x1f\xa9\xa9\xdf\xa8\xbf\x92\x56\x4a\x54\xc3\x92\x0b\x4b\x2e\x2c\xb9\xb0\xe4\x8e\xcd\x92\xdb\xac\xb8\x79\xad\x35\xf7\x68\x75\xe7\xff\x52\x1d\x67\x74\xd8\x4b\x4a\xfb\xee\xa8\x19\xa5\xe7\x41\xa9\x6d\x45\x6a\x3a\x17\x2c\x52\xbd\x95\x28\x75\x8f\xdd\x84\xcc\x0f\xf5\xce\x22\x63\xb6\x0a\xb3\xcd\xc9\x65\xba\xa4\x3e\x73\xfd\x58\x1d\x85\x8f\x22\x9b\xf1\x6a\xfb\x24\x8b\x83\x59\xf2\x76\x6e\x98\x0e\x66\x8b\x55\x4c\xab\xcc\xd4\xf3\x57\x4b\xc1\x08\x8b\x66\x96\xcd\xd8\x9f\xf4\x46\x1a\x2d\x9a\x3b\xef\xd8\x94\xdd\x04\xc1\x3b\x52\xfc\x5d\xb5\x4b\xaf\x42\x35\xf0\x4a\xec\xb2\x53\xd2\x3c\x6e\xbd\xd8\x78\x83\x81\xd2\x6d\x39\xcd\x30\x1d\xcd\xfc\xbe\x47\x41\xfe\x5a\xf3\xf3\xd1\x7a\xe4\x8f\xa2\x1e\xe1\x2b\x1d\x9e\xc4\x7b\x36\x17\x0b\xed\x27\x90\x99\x6a\x72\x51\xc2\xec\x5e\x34\x75\x56\x42\x1f\x0e\x73\x25\x41\x87\xd3\x50\x78\x9c\x26\xa8\xd1\x04\x94\xd2\x62\x4f\x50\x6d\xb6\xcd\x96\x86\x11\x10\xfd\xe5\x52\xb8\x3e\x4f\x45\xf0\x9c\x03\xfc\xfc\xc8\xf5\x83\x4b\x23\xe9\x53\xa7\x33\x2f\xe6\x0e\xad\x1a\x5f\xba\x99\x40\x90\x1f\xda\xe4\x1d\x61\x67\xe9\x2a\x51\x1f\x59\x1c\x2e\xae\xee\xb4\x0d\x32\x2f\x59\xe8\x3d\xd0\x3e\x62\xa6\xbf\x73\x29\x78\x58\xfb\x8d\x07\x0c\x33\x7d\xf3\x2d\x7d\x72\x9d\xf6\xb4\x43\x7f\xea\xcb\xf4\xdf\x87\xbc\x34\xeb\x97\xcd\xf4\xe5\x68\xd3\x1f\x1c\x06\x1c\x06\x1c\x06\x1c\x06\x1c\xa6\x33\x0e\xd3\xf0\x2c\x58\x63\x31\xc7\x3b\x16\x3f\x16\x72\xaf\x45\x81\xe0\x89\xc8\xb6\xa0\xdb\x58\x46\xdc\x23\xe9\xe8\x56\x06\xbe\xf3\x5c\xf2\xfa\xb3\x93\x2e\x4f\xde\xa6\xa6\xdd\xf5\xec\x97\x19\xfb\xa1\xf7\x33\x2d\xba\x44\x22\x54\x8b\x25\x3f\x53\x05\x93\x71\x74\xcf\x43\xeb\x85\x18\xaf\xc4\xd5\x82\x07\x56\x57\xfe\xff\xd8\xfb\x97\xde\xb8\x8d\x6d\xff\x1f\x9e\xeb\x55\x14\xb4\x07\xb2\x11\xab\x05\x7b\xb2\x37\x1c\xfc\x06\x8a\x1d\x1f\x38\x27\xde\x11\xe2\x20\x7b\xe2\xe0\xa0\x44\x56\x53\x84\x29\x16\x41\xb2\xed\x47\xfb\x41\xde\xfb\x1f\xb5\x8a\xf7\xe6\xad\x29\xb2\x59\x24\xbf\x23\x0b\x6e\x5e\x57\x15\xab\xd6\x5a\x9f\x75\xf9\x72\xa9\x7f\xfe\x72\xc9\xf6\xae\xcf\x3d\xf7\xbf\xe9\x46\x72\x2f\x18\xb7\xc9\x39\x2f\x6f\xb4\xe3\xd2\xce\xcd\x30\x7d\xf9\xab\x28\x3f\x49\xdb\xa7\x3b\xf6\xb3\x4b\x8b\x63\xe1\xd1\x65\x78\xfc\x6e\x39\x8a\x89\xb5\x79\x4c\x36\x8a\x8c\x1f\x86\x0c\xa8\x7e\x83\xf7\xe9\xbb\x37\xaa\x3c\x75\x6e\xd0\x71\x0d\x33\x7a\x75\xf5\xc1\x3e\xc8\xef\xcc\xe1\xe1\x3d\x77\x4a\x7e\xc9\xcc\xa8\x11\xe1\x5e\x86\x8f\x6a\x4c\x6a\xe5\xf5\x5b\xe5\x8d\x9a\xc5\x45\x4a\x6f\xaa\xb1\x06\x5a\xb6\xae\xd2\x26\x2d\xd7\xce\x4d\x61\xd2\x15\xc8\x39\x91\x8d\xb1\xda\xac\x93\x9d\x34\xd5\x06\x76\x85\xc1\x4c\xf7\x91\x8c\x85\x64\x11\xb5\xe5\x9b\xed\xd8\xad\x65\x89\x20\xa6\xbd\xa9\x68\xd9\x5d\xe9\x77\xb8\x62\xd7\xc9\x04\x2c\x4f\xd0\xe8\x47\x76\xf5\x13\xb7\xbe\x3a\xa1\x3c\xf8\xb6\x3a\x8a\xa2\x53\xe9\xa0\x8a\xe0\xb4\x0a\x99\xe8\xc7\xe5\x8b\xa4\x6f\x70\x9f\x5d\xe9\x47\x76\xf5\x41\x86\xa2\x70\x59\x66\xf1\xc8\xe2\xb6\x7a\xfb\x44\x3e\x3a\x78\x99\xae\x17\x69\xd3\xf3\xe8\x82\xfb\xec\x1a\x43\x26\x64\x50\x9d\xee\xf3\x68\x9c\x2b\x86\xa6\xfd\xc6\xa1\x0d\x9c\xce\x35\x0a\x40\xa8\x93\x8d\xef\x31\x46\x3d\x9f\x6f\x63\x4e\xa0\xda\x4f\x58\x2d\x50\xf5\xb9\xfa\x4f\x2d\xa4\x43\xee\xe3\x89\x98\xee\x73\xcc\xe3\x43\x5f\x3e\xb7\xc6\xec\x2b\xbd\x25\xe7\xea\xd2\x52\x32\xb1\x4c\xcf\xc4\x1c\x81\x66\x23\x91\x6c\x3b\x89\x64\xfd\xb6\x93\xae\x64\xb2\xf3\xd9\x5d\x08\x46\x40\x30\x02\x82\x11\x10\x8c\x80\x60\x84\xba\xc5\x17\x94\x7b\x41\x12\x01\xf8\x04\xf8\x04\xf8\x04\xf8\x04\xf8\x04\xf8\x5c\x17\xf8\x04\x8b\x00\x8b\x00\x8b\x00\x8b\x98\x9c\x45\x9c\xc0\xeb\x0d\x4d\xf5\xea\x27\xc2\xe3\x74\xaf\xe7\x7a\xdc\x8c\xa2\x38\x8d\x27\xa0\x48\x1f\x8a\xf4\xad\xba\x48\x1f\xaa\xd5\x1b\x5e\xb1\x20\xf9\xeb\xaf\x7c\x90\x65\x34\x32\x00\xd4\x96\x1a\xe3\x7e\x27\xec\xd3\x47\x8e\x8d\xfb\x86\x25\xaf\xb6\x4c\x9d\xf1\x17\xc1\x51\xf2\x58\x91\x4b\x55\x1c\x6f\x63\x73\xa9\xc8\xfd\xf2\x89\xfb\xdc\x11\xa1\x76\x24\xea\xd5\x31\x8a\xa4\xe5\x92\x65\x9c\xb9\xec\x38\x79\x5e\x65\xc8\x84\x1f\x2b\x55\x35\x75\x15\x3c\xf2\xaf\x4a\x8a\xf1\x83\x88\x44\xaa\xef\x15\x33\x86\xd2\xcc\x22\xd2\x77\xc9\x3d\x27\x43\xf6\xfa\xcd\xbf\xd4\xb1\x21\xb7\x88\xc7\x79\xd2\x77\xb4\x76\x47\x2e\x34\x4b\xfa\x31\x77\x7d\xbd\x24\x91\x8b\x2a\x3f\x96\x18\x45\x42\x0b\xd9\xfd\x53\x66\xc0\x38\xd2\xe3\xbe\xb3\x93\xa1\x73\x13\x7c\x75\x6e\x0e\xbe\x6b\x49\x5b\xdc\xfc\xe3\x63\x74\xa7\xae\x32\xd8\xe7\x9d\x08\x67\xcc\xe1\x31\x4a\x1d\x5c\xa0\x96\xd6\x57\x43\x7b\xd3\x43\x43\x7b\xa7\x3d\x77\xc6\x3c\xf1\x9b\xce\x27\xd6\x51\xc1\xc6\x3c\xf2\x0a\xd5\x60\xd2\x3a\xcc\x56\x83\x2f\xd8\x18\xe5\x43\x6a\xba\xe7\x4f\x58\x45\xa4\x87\xce\x55\x53\x3a\x04\x05\x43\xa0\x68\xad\x40\xd1\x42\x8a\xf6\x86\x52\xb4\x91\x8b\x86\x5c\x34\xe4\xa2\x21\x17\x0d\x36\x62\xd3\x57\x64\x64\xe2\xc7\x3c\xd6\x17\xf2\x56\xba\xf2\x56\x0c\xb7\xc5\x32\x6f\xf5\xe8\xd9\x2a\xa1\xe0\x76\x45\xf1\xea\xb2\xa0\xd4\x29\xbd\xed\x27\x2c\x27\xf0\x86\x74\x7e\x83\x8e\x30\xdd\x19\xf2\x1c\x26\x88\x66\xdc\xc0\x9b\xf3\xe1\x4d\x8a\x93\x18\xd4\xcd\xf5\x9a\xce\xfd\xa1\x7d\x79\x7e\x14\xa1\x23\x7a\x1d\x19\xc5\x21\x8f\x85\xe3\x5a\xd7\xfd\xcf\x51\x7f\x3f\x25\x47\xd2\x46\xd0\x67\x4b\x0b\x78\x18\xbb\x94\xc6\xa4\x63\x7a\x4e\xdc\xde\xe8\x6e\x66\xf8\x07\xa7\x62\xb2\x2d\xfa\xe0\x5d\x39\xae\x86\xc1\x6b\xb8\x72\xaf\xe1\x76\xf0\x6c\x25\x1b\x20\xfd\xb8\x74\xc6\x8a\x5a\x68\xf2\x2c\xe8\x17\x0d\x8b\xd0\x4b\xf2\x99\xe8\x34\x55\xee\xd1\x99\xbe\xf4\xaf\xf5\xd9\x74\x04\xb9\x2d\x23\xf6\xe2\x97\x48\xfa\x77\x3a\x19\xf8\x93\x5a\xee\x92\xbf\x3f\xa7\x8b\x60\xfe\x9f\x2f\x4d\xe2\xc6\xfd\xe7\xcd\x07\x19\x5a\xe4\xd7\x75\x24\x0d\xbe\x64\x5f\x2e\xf7\xea\xff\xbe\x5c\xb2\xdb\x92\x34\x29\xd6\x58\x3b\x61\x0f\x51\x9e\xf8\x78\xcd\x2d\x1a\x00\x4a\x27\xf5\x5c\x2b\x71\x2b\x09\xcf\x8e\x98\xfc\x9e\x8c\xad\x4e\xb7\x0c\x84\x0c\x3c\xb1\x63\xfa\x9e\x94\x45\x9e\xce\x29\x8a\xf8\xad\x1d\x88\xec\xf6\x43\xc4\xab\x6e\xb4\xde\xf8\x4c\x58\x47\x4b\xb2\x8e\x82\x4a\xa0\xac\xd9\xf6\xd1\x61\x74\x07\x45\xe0\x71\xeb\x54\x25\x2e\x39\x6b\xdd\x6a\x1c\x42\xeb\xa0\xbb\x6d\x44\x77\x33\x48\x45\xc2\x4e\x9e\xfd\x82\xd0\xba\xd5\xeb\x1e\x07\xd3\x3d\xb3\x17\xac\x67\x98\x1a\x65\x0c\xd5\x34\xb5\x1a\x1d\xa9\x24\x59\xe5\xbe\xed\x7e\x73\xed\x03\xf7\x8a\x19\x6a\x3c\xab\x23\x41\xef\xbb\x2b\x84\x61\xbc\xcd\x02\x38\xae\xe8\x0a\x57\x79\x35\xa1\x52\x79\x98\x4c\xd3\x61\xae\x1f\xc5\x82\x97\xfc\x8d\x55\x3d\xe8\xfb\x91\x33\x2b\x4b\x42\xfa\x20\xc3\x5b\xcf\xcb\x94\xa2\xc8\x04\x6c\xd3\x78\xc2\xb6\x12\xc7\x5a\xfc\x73\xff\xc9\x06\x74\xc3\xab\x12\x8d\xe1\xca\x33\xc9\x50\xa5\x6f\xc5\x55\xfa\xba\xa1\x50\x57\x85\xbe\xe1\xed\x21\xfb\x01\x2f\xd4\xe5\x43\x5d\x3e\xd4\xe5\x43\x5d\xbe\xb5\xd5\xe5\xeb\x5e\x79\x6b\x6b\xf2\x4d\x1c\x5e\x70\xb6\x4a\x7c\xdd\xaf\xdf\x5c\x85\xcf\x64\x19\x9c\x52\x7b\xaf\x47\xc3\xff\xc6\xba\x7b\x13\xcb\x00\xd5\xf6\x50\x6d\x0f\xd5\xf6\x50\x6d\x0f\xd5\xf6\x26\xab\xb6\xd7\x63\xf5\x3f\xaa\xb4\xd7\x9a\xd4\xb5\xa1\xe8\xc2\x7e\x6f\xb3\xe2\x6a\x81\xdd\xe2\x6e\xab\x14\x78\x5e\xb9\xa3\x3e\xe0\x24\x23\x7a\x5c\x1b\x70\xe2\x61\x9d\xb5\x22\x60\xb7\x78\x5a\xaa\x01\x4e\xbd\x6c\x9a\x5a\x03\xb0\x5b\x68\x35\x08\x63\xb0\x3f\x2f\xf9\xeb\xaf\x13\x41\x58\x6b\xd5\x86\x0d\xf3\xb1\x4a\x94\xd0\xaf\x15\xca\x00\x32\x06\x32\xc6\x40\xc6\x40\xc6\x40\xc6\x40\xc6\x40\xc6\x40\xc6\x40\xc6\x40\xc6\x40\xc6\xcc\xa4\x42\x20\x63\x20\x63\x20\x63\x20\x63\x20\x63\x20\x63\x20\x63\x4b\x24\x63\x28\x38\x02\x24\x08\x24\x08\x24\x68\xf4\x88\x02\x09\x96\xc5\x03\x24\xb8\x42\x24\x58\x53\xc8\x7d\x22\x32\x58\xc4\x81\x7e\xaa\xf7\xc8\x3d\xfb\xea\xfa\xf6\x88\x58\xf0\x55\x6e\xe3\x90\x1d\x97\xe8\xc3\xca\x4c\xca\x8d\xb7\xab\x92\xd1\x5f\xb8\xf6\xb3\xa0\x22\x80\x22\x80\xe2\x92\x80\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\x22\x60\xe2\x42\x60\x22\x1a\x31\x80\x8b\x82\x8b\x9a\x4a\xd1\xc0\x45\xc1\x45\xc1\x45\xc1\x45\x2b\x42\x3b\x17\x17\xfd\xff\xc5\xc2\xa7\xaf\xe2\x66\x10\xe2\x9c\xa5\xd0\x6f\x65\x90\x1d\xea\xc4\xb9\x97\xe1\x63\x36\xa9\x39\xd3\x00\xa6\x19\x56\x3a\x22\xfe\x39\x7b\xf7\xdb\xbb\x8f\xff\x53\x3d\x1e\xa5\x8d\x4f\xe4\x86\x99\x10\x97\x4e\x0d\xb3\x69\x51\x38\xe7\xa2\x78\xdf\xc6\x4f\x28\x8d\x2b\x58\xf4\xa7\x54\x32\xf4\xf5\xd2\xd8\xf7\x3b\x4a\xb0\xff\xed\xdd\xc7\xdf\xeb\x4e\xc5\x27\x75\xfa\x27\x95\x0a\x92\x12\xb2\x57\xf3\x65\xd5\x30\xf9\xd3\xbe\x30\xd7\x77\x42\x11\x95\x47\x6f\xfc\xc0\x1c\xed\x19\x0e\x13\xdf\x52\xea\x7a\x48\x63\x72\x3e\xea\x67\x68\xf9\x38\xd4\xf9\x47\x5f\x47\x72\x1a\xea\x50\x57\x85\x6f\xcc\x17\xb9\xcb\x27\x5c\x56\x11\x3f\x19\xb5\xd5\x7f\x86\xdd\xa1\x31\xa3\xa5\xd9\xe7\xfb\x6c\x6d\x58\xcc\xf1\xe7\x85\xc0\x18\x04\xc6\x20\x30\x06\x81\x31\x08\x8c\x41\x60\x0c\x02\x63\x10\x18\x83\xc0\x98\xb9\x65\x80\xc0\x18\x04\xc6\x20\x30\x06\x81\x31\x08\x8c\x41\x60\xcc\xf2\x02\x63\x10\x54\x81\xa0\x0a\x04\x55\x2c\x63\x44\x11\x54\x51\x16\x0f\x82\x2a\x16\x11\x54\x91\xf2\xaa\x86\x1c\xf3\x5a\x8c\xa5\xd5\x9d\x71\x49\x96\xbe\x26\xb3\xa4\xa7\xac\xab\x64\x96\x76\x03\x2c\x7d\xda\x11\xc2\x7a\x97\x5d\x26\xcf\xf0\xae\xb9\xd8\xb4\xed\xe5\x27\x21\xae\xef\xe9\x85\x7f\x23\xb9\x45\xa3\xf4\x94\x87\x47\x17\x1e\x5d\x78\x74\xe1\xd1\x5d\x9b\x47\xb7\x65\xbf\xed\xf2\xea\xb6\xeb\x6e\xed\xfb\xee\x49\x6b\xef\x7f\x94\xe0\x12\x5b\xf6\x15\xb5\x5e\xb0\xd4\x8c\xd2\xf3\xa0\xf4\x6e\x45\x7a\x7a\x2f\x58\xa0\xa4\x15\x29\xb3\x8f\xdd\xfa\xcc\xf5\xf5\xca\x22\x43\x76\xf0\xb3\xc5\xc9\x66\x76\xf8\xf4\xfb\xc1\x67\xb6\x1b\xaa\xcd\xf0\x9b\xc8\x66\xbc\x5a\x3e\xc9\xf3\x90\x7c\xf2\xe9\xdc\x48\x04\xcc\xf6\x87\x90\xbe\xb2\x20\x94\x96\x88\xc8\x45\x90\x28\x8d\xc9\x2c\xdb\xb1\x3f\xe9\x8e\x34\x5a\x34\x77\xde\xb2\x6b\x76\xeb\x79\x6f\xc9\x01\x60\xab\x55\xfa\xe0\xab\x81\x57\xea\x57\x3a\x25\x93\xcb\x09\x7b\xc0\x40\xe9\x77\x99\x67\x98\xce\xe6\x86\xef\x27\x8a\x66\x57\xfc\xd9\x24\xf2\x47\xd1\x9e\x70\x95\x2d\x4f\x6a\x3e\xbb\x17\x7b\x1d\x2f\x90\xb9\x6c\x72\x55\x22\x59\xbd\x68\xea\x1c\x84\xde\x1c\xee\x95\x26\xed\x5f\xfb\xc2\xe1\x34\x41\x13\x8b\x40\x19\x2f\xe9\x0e\xaa\xdd\xb7\xd9\xa7\x91\x28\x8a\xee\xe3\xa3\xb0\x5d\x1e\x0b\xef\x29\x07\xf9\xf9\x96\xeb\x7a\xaf\x12\x8d\x9f\x84\xce\x9c\x90\x5b\xf4\xd5\xb8\xd2\xce\x14\x82\x7c\xd3\xa6\x28\x89\x74\x96\x1e\x22\xf5\x90\xc5\xe1\xe2\xea\xcc\xf4\x85\x92\x9b\xec\xf5\x1a\x98\x5e\x62\xa7\x9f\xf3\x51\x70\xbf\xf6\x19\x07\x0c\x33\x3d\xf3\x1d\x3d\x72\x9d\x15\xd5\x61\x47\x99\x32\xfd\x4f\x21\x30\xfd\xe4\xd2\x4c\x61\xce\x36\xfd\xc1\x63\xc0\x63\xc0\x63\xc0\x63\xc0\x63\x26\xe3\x31\x3d\xf7\x82\x23\x26\x73\xbe\x6d\xf1\x7d\xa1\xd6\x61\xe0\x09\x1e\x89\x6c\x09\xba\x0b\x65\xc0\x1d\xd2\x8e\xee\xa4\xe7\x5a\x4f\xa5\xe8\xbf\x74\xd2\xe5\xc5\x12\xd5\xb4\x7b\xbd\xfb\xe7\x8e\x7d\xd6\xeb\x99\x56\x5d\x02\xe1\xab\x8f\x25\xdf\x53\x05\x93\x61\xf0\xc0\xfd\x34\x1a\x31\x3c\x88\x9b\x3d\xf7\x52\x5b\xf9\xcb\xa5\xfe\xf9\xcb\x25\xdb\xbb\x3e\xf7\xdc\xff\xa6\x1b\xc9\xbd\x60\xdc\x26\x27\xbd\xbc\xd1\x0e\x4c\x3b\x37\xc3\xf4\xe5\xaf\xa2\xfc\x24\x6d\x9f\xee\xd8\xcf\x2e\x2d\x8e\x85\x47\x97\xe1\xf1\xbb\xe5\x48\x26\xd6\xe6\x31\xd9\x28\x32\x7e\x18\x32\xa0\xfa\x0d\xde\xa7\xef\xde\xa8\xf2\xd4\xb9\x43\xc7\x35\xcc\xe8\xd5\xd5\x07\xfb\x20\xbf\x33\x87\x87\xf7\xdc\x29\xf9\x27\x33\xa3\x46\x84\x7b\x19\x3e\xaa\x31\xa9\x95\xd7\x6f\x95\x37\x6a\x16\x17\x29\xbd\xa9\xc6\x1a\x68\xd9\xba\x4a\x9b\xb4\x5c\x3b\x37\x85\x49\x57\x20\xe7\x44\x36\xc6\x11\x25\x98\xd1\xaf\xa9\x36\xb0\x2b\x0c\x66\xba\x8f\x64\x4c\x24\x8b\xac\x2d\xdf\x6c\xc7\x6e\x2d\x4b\x04\x31\xed\x4d\x45\xcb\xee\x4a\xbf\xc3\x15\xbb\x4e\x26\x60\x79\x82\x46\x3f\xb2\xab\x9f\xb8\xf5\xd5\x09\xe5\xc1\xb7\xd5\x51\x14\xa5\x4a\x07\x55\x04\xa7\x55\xc8\x44\x3f\x2e\x5f\x24\x7d\x83\xfb\xec\x4a\x3f\xb2\xab\x0f\x32\x14\x85\xcb\x32\x8b\x47\x16\xb7\xd5\xdb\x27\xf2\xd1\x41\xcc\x74\xbd\x48\x9b\x9e\x47\x17\xdc\x67\xd7\x18\x32\x21\x83\xea\x74\x9f\x47\xe3\x5c\x31\x3c\xed\x37\x0e\x6d\x00\x75\xae\x51\x00\x4a\x9d\x6c\x7c\x8f\x71\xea\xf9\x7c\x1b\x73\x82\xd5\x7e\xc2\x6a\x81\xab\xcf\xd5\x7f\x6a\x61\x1d\x12\x23\x4f\xc4\x74\x9f\x63\x1e\x1f\xfa\xf2\xb9\xb5\x26\x62\xe9\x6d\x39\x57\x99\x16\x92\x94\xb5\x8c\x2c\xcd\x51\xc0\x36\x72\xcb\xb6\x93\x5b\xd6\x6f\x67\xe9\xca\x2f\x3b\x9f\x09\x86\xb8\x04\xc4\x25\x20\x2e\x01\x71\x09\x88\x4b\xa8\x5b\x7c\x01\xbc\x17\x24\x11\x30\x50\x30\x50\x30\x50\x30\x50\x30\x50\x30\xd0\x75\x31\x50\x60\x09\x60\x09\x60\x09\x60\x89\xc9\xb1\xc4\x09\xe8\xde\xd0\xec\xaf\x7e\x22\x3c\xce\x00\x7b\xae\xc7\xcd\x28\xa0\xd3\x78\x02\x0a\xf8\xa1\x80\xdf\x36\x0a\xf8\xa1\x45\x84\xe1\xd5\x0c\x92\xbf\xfe\xca\x07\x59\x46\x23\x13\x41\x6d\xb2\x31\xee\xf7\xa0\x7f\xfa\xd8\x69\xf8\xdf\xb0\xc4\xd6\x96\x29\x34\xd5\xaa\x38\x4a\xa6\x2b\xb2\xad\x8a\xa3\x6e\x6c\xb6\x15\x79\x65\x3e\x71\x9f\x3b\x22\xd4\xfe\x45\xbd\x56\x46\x91\xb4\x5c\x32\x98\x33\x4f\x1e\x27\x87\xac\x0c\x99\xf0\x63\xa5\xc1\xa6\x1e\x84\x47\xfe\x55\x49\x31\x7e\x10\x91\x48\xd5\xc0\x62\x4e\x51\x9a\x7b\x44\x6a\x30\x79\xed\x64\xc8\x5e\xbf\xf9\x97\x3a\x36\xe4\x16\x61\x3a\x4f\xfa\x8e\x56\xfa\xc8\xb3\x66\x49\x3f\xe6\xae\xaf\x17\x28\xf2\x5c\xe5\xc7\x12\xba\x48\x20\x22\xbb\x7f\xca\xec\x1a\x47\x7a\xdc\x77\x76\x32\x74\x6e\x82\xaf\xce\xcd\xc1\x77\x2d\x69\x8b\x9b\x7f\x7c\x8c\xee\xd4\x55\x06\xbb\xc2\x13\xe1\x8c\x39\x3c\x46\x69\x89\x8b\x55\xde\xfa\x2a\x6e\x6f\x7a\x28\x6e\xef\xb4\x5b\xcf\xb0\xe7\x7e\xd3\xf9\xdc\x3a\x86\xd8\xb0\x07\x5f\xa9\xa6\x4c\x9a\x89\xd1\x9a\xf2\x05\x1b\xa3\xfa\x88\xfe\xdf\xbf\xcf\x54\x84\xa4\x97\x5a\xd6\x50\x79\x04\xf5\x46\xa0\x85\xad\x42\x0b\x43\x86\xf7\x86\x32\xbc\x91\xca\x86\x54\x36\xa4\xb2\x21\x95\x0d\x06\x64\xd3\x57\x64\x64\xde\xc8\x3c\xe6\x18\xd2\x5e\x92\xe3\x5a\xd3\x5e\xcc\x36\xcb\x32\xdf\xf6\xe8\xc9\x2e\xa1\xe0\x76\x45\xf7\xea\x36\xa6\xd4\x49\x27\x9a\x52\x58\x59\xe0\x29\xa9\x3b\xb7\xe1\xa3\x74\x84\xe1\x8e\x92\xe7\x20\xc5\x62\x03\xfd\xda\x27\x40\x0b\xfd\xfa\x77\x06\x1f\x1d\x85\x8f\x52\xc4\xc5\xa0\x1e\xb2\xd7\x74\xee\x0f\xed\x2b\xf5\xa3\x08\x1d\xd1\xeb\xc8\x28\x0e\x79\x2c\x1c\xd7\xba\xee\x7f\x8e\xfa\xfb\x29\x39\x92\xf6\x84\x3e\xbb\x5c\xc0\xc3\xd8\xa5\x84\x28\x1d\x1d\x74\xf2\x8e\x47\xf7\x33\xc9\x7b\x38\x15\xd4\x6d\xd1\x16\xef\xca\x91\x3a\x0c\x3e\xc5\x95\xfb\x14\xb7\x43\x76\x2b\xf9\x05\xe9\xc7\xa5\x73\x60\xd4\x82\x93\xe7\x55\xbf\x68\x58\x8c\x5e\x92\x47\x45\x27\xbe\x72\x8f\xce\xf4\xa5\x7f\xad\xcf\xa6\x23\xc8\xa9\x19\xb1\x17\xbf\x44\xd2\xbf\xd3\xe9\xc5\x9f\xd4\xb2\x97\xfc\xfd\x39\x5d\x0c\xf3\xff\x7c\x69\x12\x72\xee\x3f\x6f\x3e\xc8\xd0\x22\xaf\xaf\x23\x69\xf0\x25\xfb\x72\xb9\x57\xff\xf7\xe5\x92\xdd\x96\xa4\x49\xd1\xcb\xda\x45\x7b\x88\xf2\x54\xca\x6b\x6e\xd1\x00\x50\x82\xaa\xe7\x5a\x89\xd3\x49\x78\x76\xc4\xe4\xf7\x64\x6c\x75\x02\x67\x20\x64\xe0\x89\x1d\xd3\xf7\xa4\xbc\xf4\x74\x4e\x51\x0c\x71\xed\x40\x64\xb7\x1f\x22\x5e\x75\xa3\xf5\x46\x7c\xc2\x60\x5a\xa6\xc1\x14\x54\x82\x70\x8d\x36\x99\x0e\xa3\x3b\x31\x02\x8f\x5b\xa7\x6b\x75\xc9\x79\x5b\xd0\xeb\x10\xac\x07\x95\x6e\x53\x2a\x9d\x41\x9a\x13\x36\xf8\xec\x17\x04\xeb\x6d\x4e\x31\x39\x18\xee\xc9\xbd\x60\x23\x86\xbc\xdd\x44\x1a\xa9\x15\x22\xdf\xa6\x41\x36\xfa\x3e\xe9\x5e\x36\x3e\xbc\x49\xd0\x20\x16\x2c\x7c\xf8\x40\x38\x40\x38\x40\x38\x40\x38\xb5\x47\xce\x87\x70\x86\xef\x80\x3d\x61\x4e\xcd\x16\xb8\x48\xd3\x1f\x48\x07\xf6\xff\xf6\xec\x7f\x20\x9d\x31\xe7\x0d\x90\x0e\x3c\x3e\x30\xa0\x80\x74\xca\x42\x3b\x03\xd2\x79\x8e\x9f\xa3\x27\xdc\x59\x8b\x9e\x07\xc4\x03\x15\x6f\x53\x2a\x9e\x41\x9a\x14\x36\xfc\xec\x17\x20\x9e\xcd\x29\x2a\xeb\x40\x3c\x54\x89\x2e\x27\x3a\x93\x32\x9c\xa4\x60\xb1\x6f\xbb\xdf\x5c\xfb\xc0\xbd\x62\xf1\x43\x9e\x95\x28\x4f\xde\x78\x57\xc8\xd7\x7d\x9b\x65\xfa\x5e\xd1\x35\xae\xf2\x56\x15\xa5\xde\x03\x99\x32\xc4\x5c\x3f\x8a\x05\x2f\xf9\x2f\xab\xaa\xd2\xf7\x5a\x87\x58\xa1\xc2\xdd\x07\x19\xde\x7a\x5e\xa6\x39\x19\xc1\x85\x1a\x4f\xd8\x56\x6d\xc2\x16\xef\x1e\x95\xd6\xfc\xf9\x9b\xf0\xb7\x5e\xa1\x90\xc6\x71\xdd\x65\x0a\xd1\x0b\x6a\xc5\xbd\xa0\xba\x69\x53\x57\x1f\xa8\x56\x77\xd6\x08\x24\x0d\xdd\x9f\xd0\xfd\x09\xdd\x9f\xd0\xfd\x69\x6d\xdd\x9f\xba\x57\xde\xda\xce\x4f\x13\xc7\x2d\x9c\xad\xdf\x53\xf7\xeb\x37\xf7\x7a\x32\x59\x06\xa7\x74\x78\xea\x96\x41\x73\x77\xa7\x89\x65\x80\x9e\x4e\xe8\xe9\x84\x9e\x4e\xe8\xe9\x84\x9e\x4e\x93\xf5\x74\xea\xb1\xfa\x1f\xf5\x73\x6a\x2d\x03\xb8\xa1\xb0\xc5\x7e\x6f\xb3\xe2\x9e\x54\xdd\xe2\x6e\xeb\x47\x75\x5e\xb9\xa3\x0b\xd5\x24\x23\x7a\xdc\x81\x6a\xe2\x61\x9d\xb5\xef\x54\xb7\x78\x5a\x7a\x4e\x4d\xbd\x6c\x9a\xda\x69\xaa\x5b\x68\x35\x14\x63\xb0\x3f\x2f\xf9\xeb\xaf\x53\x98\x58\x57\xf2\xd3\xe6\x51\xd9\x51\x4c\xd1\xaf\x15\xd8\x00\x48\x06\x48\xc6\x00\xc9\x00\xc9\x00\xc9\x00\xc9\x00\xc9\x00\xc9\x00\xc9\x00\xc9\x00\xc9\x8c\x05\x44\x80\x64\x80\x64\x80\x64\x80\x64\x80\x64\x80\x64\x80\x64\x4b\x84\x64\x28\x6a\x02\x3a\x08\x3a\x08\x3a\x68\xf4\x88\x82\x0e\x96\xc5\x03\x3a\xb8\x42\x3a\x58\xd3\x0d\x78\x22\x48\x58\x24\x83\x7e\xaa\xf7\xc8\x3d\xfb\xea\xfa\xf6\xa8\x84\xf0\x55\x6e\xe5\x90\x25\x97\x68\xc4\xca\x50\xca\xcd\xb7\xab\x92\xd9\x5f\xb8\xf6\x08\x7c\x11\x6c\x11\x6c\x71\x69\x6c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x11\x5c\x71\x19\x5c\x11\x9d\x1f\x00\x49\x01\x49\xcd\x45\x6a\x80\xa4\x80\xa4\x80\xa4\x80\xa4\x15\xa1\x9d\x09\x92\xee\x3d\xf9\x5d\x29\x8b\xa1\xf4\x76\x99\x9b\x99\x48\x91\x2b\x6f\x06\x11\xd0\x59\x8a\x05\x57\x86\xdd\x11\x31\x73\xfd\xbd\x0c\x1f\xb3\x69\xce\x99\x66\x32\xcd\x24\xd3\x11\xf1\x87\x5c\x1a\xb7\xa9\x30\x6e\xef\x3e\xfe\x4f\xf5\x4c\x14\x4a\x3e\x11\x2c\x66\x42\x5c\x38\x56\xdc\xd7\x4c\x90\xc2\xd9\x17\xc5\x27\x38\xe1\x43\x4b\xe3\x13\x16\xfd\xc1\x95\x5c\x04\x7a\x49\x3d\xfd\x6b\x4b\xe2\x07\x6e\xef\x3e\xfe\x5e\x77\x11\x7c\x78\xa7\x7f\x78\xa9\x20\x29\xc5\x7b\x85\xdf\x5f\x0d\xe0\x7f\xee\x77\xa8\x0e\xd2\xc3\x51\x2a\x15\xa0\x5d\x34\xe3\x06\x02\xe9\x6b\x32\x4b\x7a\x9e\xb0\xd2\xcd\x4a\x7d\x19\x9f\xf5\x74\x68\xfe\x82\xf4\x99\x2d\x1f\xd1\xbb\xec\x9a\xf5\xd7\x9b\xb6\x6b\xc8\x24\xd3\xf9\x3d\xbd\xf3\x6f\x24\xbd\x71\x9a\x84\x80\x45\x83\x45\x83\x45\x83\x45\xaf\x8d\x45\xf7\x6b\x2f\x53\xcb\xa3\xcf\xd6\xf9\x07\x0d\x9a\x7a\x0f\xd4\x9c\x0d\x9a\xce\x16\x40\x70\x42\x4b\xa4\x5a\x80\x7e\x36\x89\xfc\x51\xf4\xa1\xb9\x3e\x8b\xb4\x6b\x8b\xdd\x8b\xbd\x8e\x74\xcc\x60\x53\xae\x4a\x24\xab\x17\x4d\x9d\x42\x4b\x2a\x5f\xfa\xd7\xbe\x70\x38\x4d\xd0\xc4\x0b\x56\x6c\x5d\xa5\xc1\x73\xf6\x69\x24\xea\xa2\xfb\xf8\x28\x6c\x97\xc7\xc2\x7b\xca\x43\x10\xf3\x2d\xd7\xf5\x5e\x25\x5e\x2e\x12\x3a\x73\x42\x6e\xd1\x57\xe3\x4a\x3b\x53\x08\xf2\x4d\x9b\xe2\x3b\xd3\x59\x7a\x88\xd4\x43\x16\x87\x8b\xab\x33\xd3\x17\x4a\x6e\xb2\xd7\x6b\x60\x7a\x89\x9d\x7e\x4e\xdd\x46\xb3\xe6\x19\x07\x0c\x33\x3d\xf3\x1d\x3d\x72\x9d\xe7\xb0\xc3\x77\x68\xca\xf4\x3f\x25\x76\xa4\x9f\x5c\x9a\xe3\x47\xce\x36\xfd\x11\x49\x82\x48\x12\x44\x92\x20\x92\x04\x91\x24\x93\x45\x92\xf4\xdc\x0b\x8e\xa2\x49\xce\xb7\x2d\xbe\x2f\x64\xa5\x05\x9e\xe0\x91\xc8\x96\xa0\xbb\x50\x06\xdc\x21\xed\xe8\x4e\x7a\xae\xf5\x54\xca\x5b\x48\x27\x5d\x9e\xd6\xa6\xa6\xdd\xeb\xdd\x3f\x77\xec\xb3\x5e\xcf\xb4\xea\x12\x08\x5f\x7d\x2c\xf9\x9e\x2a\x98\x0c\x83\x07\xee\xa7\x79\x14\xe1\x41\xdc\xec\xb9\x97\xda\xca\x5f\x2e\xf5\xcf\x5f\x2e\xd9\xde\xf5\xb9\xe7\xfe\x37\xdd\x48\xee\x05\xe3\x36\x81\x69\x79\xa3\xa1\x9d\x9d\x9b\x61\xfa\xf2\x57\x51\x7e\x92\xb6\x4f\x77\xec\x67\x97\x16\xc7\xc2\xa3\xcb\xf0\xf8\xdd\xf2\x30\x84\x58\x9b\xc7\x64\xa3\xc8\xf8\x61\xc8\x80\xea\x37\x78\x9f\xbe\x7b\xa3\xca\x33\xa8\xc9\xf7\x49\x86\x19\xbd\xba\xfa\x60\x1f\xe4\x77\xe6\xf0\xf0\x9e\x3b\x25\x2f\x65\x66\xd4\x88\x70\x2f\xc3\x47\x35\x26\xb5\xf2\xfa\xad\xf2\x46\xcd\xe2\x22\xa5\x37\xd5\x58\x03\x2d\x5b\x57\x69\x93\x96\x6b\xe7\xa6\x30\xe9\x0a\xba\x17\x7b\x3a\xc6\x11\xd1\x3e\xfa\x35\xd5\x06\x76\x85\xc1\x4c\xf7\x91\x2c\x0e\x20\xcb\x09\x2a\xdf\x6c\xc7\x6e\x2d\x4b\x04\xba\xd9\x6b\xd1\xb2\xbb\xd2\xef\x70\xc5\xae\x93\x09\x58\x9e\xa0\xd1\x8f\xec\xea\x27\x6e\x7d\x75\x42\x79\xf0\x6d\x75\x14\xe5\xd7\xd0\x41\x15\xc1\x69\x15\x32\xd1\x8f\xcb\x17\x49\xdf\xe0\x3e\xbb\xd2\x8f\xec\xea\x83\x0c\x45\xe1\xb2\xcc\xe2\x91\xc5\x6d\xf5\xf6\x89\x7c\x74\xfa\x15\x5d\x2f\xd2\xa6\xe7\xd1\x05\xf7\xd9\x35\x86\x4c\xc8\xa0\x3a\xdd\xe7\xd1\x38\x57\x1c\x30\xd4\x6f\x1c\xda\x82\x86\xe6\x1a\x05\x84\x0f\x4d\x36\xbe\xc7\x21\x44\xe7\xf3\x6d\xcc\x19\x4c\xd4\x4f\x58\x2d\x01\x45\xcf\xd5\x7f\x6a\x91\x1d\xa8\xf3\x89\x98\xee\x73\xcc\xe3\xc3\xe2\xbb\x4c\xf7\x84\xcd\x85\xab\x34\x64\x93\xeb\x0d\x3a\x57\x9e\xc6\x48\x2c\x6f\xe3\xd8\xf5\xa9\xe6\xb5\x10\xf8\xe4\x6c\xf3\xd1\x2b\x61\x68\x1f\x5a\x98\xd8\xdd\xa9\xb2\x9f\x16\xc1\xe8\x45\xc2\xd5\x25\x5a\x38\xf8\xf3\xe8\x37\x52\xe7\xb7\x93\x3a\xdf\x6f\xfb\xe9\x4a\x9f\x3f\x9f\x9d\x86\xe0\x05\x04\x2f\x20\x78\x01\xc1\x0b\x08\x5e\xa8\x5b\x7c\x41\xc5\x17\x24\x11\x80\x52\x80\x52\x80\x52\x80\x52\x80\x52\x80\xd2\x75\x81\x52\xb0\x0b\xb0\x0b\xb0\x0b\xb0\x8b\xc9\xd9\xc5\x09\x7c\xdf\xd0\xb4\xe8\x7e\x22\x3c\x4e\x8d\x7e\xae\xc7\xcd\x28\xea\xd3\x78\xc2\xb6\xca\x14\xef\x8a\x84\x23\x01\x13\xbb\xdc\x95\xbf\xa1\x6c\xc6\x6e\xc0\x34\x56\x17\xd4\xb9\xa0\xd2\x80\x12\xc6\x4b\x29\x88\x73\x51\x19\xc4\xcb\x40\x46\x23\x13\x34\x6d\xdc\x30\xde\x0f\x96\xe9\xa3\x27\xc3\x65\xc3\x92\x45\x5b\x0a\x2b\x4d\xb9\x88\x8c\x92\x41\x8a\x2c\xa6\xe2\xc8\x1b\x9b\xc5\x44\x8e\x8c\x4f\xdc\xe7\x8e\x08\xb5\x4b\x4e\x57\x11\x8b\x22\x69\xb9\x64\x63\x66\xce\x2f\x4e\x3e\x4c\x19\x32\xe1\xc7\x4a\xe9\x4b\x8d\xee\x47\xfe\x55\x49\x31\x7e\x10\x91\x48\x35\xa7\x62\xae\x4e\x9a\xd3\x43\x9a\x23\x39\xba\x64\xc8\x5e\xbf\xf9\x97\x3a\x36\xe4\x16\x91\x2d\x4f\xfa\x8e\xd6\x93\xc8\x19\xa5\xe6\x26\x77\x7d\xbd\x52\x91\xb3\x27\x3f\x96\xbc\xfd\x09\x77\x63\xf7\x4f\x99\x29\xe0\x48\x8f\xfb\xce\x4e\x86\xce\x4d\xf0\xd5\xb9\x39\xf8\xae\x25\x6d\x71\xf3\x8f\x8f\xd1\x9d\xba\xca\x60\xef\x71\x22\x9c\x31\x87\xc7\x28\xc5\x6a\xd1\xfa\x4e\x5f\x5d\xe7\x4d\x0f\x5d\xe7\x9d\xf6\x86\x19\xf8\xec\x6f\x3a\x9f\x5d\xc7\xe8\x1a\xf8\xf0\xab\x57\x32\x49\x71\x59\x9e\x92\x79\xc1\x9e\x5d\x03\xa4\xa6\x21\xd0\x84\xa5\x40\x7a\xea\x71\x9d\xe5\x3f\x50\xf4\x83\x35\x49\x1a\x2a\x5b\x71\x90\x8d\x55\xd9\x90\x66\xbd\xa1\x34\x6b\xe4\x93\x21\x9f\x0c\xf9\x64\xc8\x27\x83\xb5\xd9\xf4\x15\x19\x99\xbc\x31\x8f\xcd\x86\xdc\x93\xa3\xab\xb4\xe6\x9e\x2c\xd0\x6e\xcb\x1c\xe6\xa3\x67\x9c\x84\x82\xdb\x15\xd5\xac\x97\xc5\xa5\xce\x3b\xdd\xde\xc2\xf2\x03\x9f\xcb\xe0\xaf\xd7\x11\x4b\x74\xb9\x3c\x87\xeb\x15\xdb\x95\x34\x3d\xc4\x92\x3a\x96\x2c\x97\x53\x52\x8c\xc0\xa0\x0a\xd4\xd7\x74\xee\x0f\xed\xcb\xda\xa3\x08\x1d\xd1\xeb\xc8\x28\x0e\x79\x2c\x1c\xd7\xba\xee\x7f\x8e\xfa\xfb\x29\x39\x92\x16\xd0\x3e\x1b\x43\xc0\xc3\xd8\xa5\x14\x1e\x1d\xcf\x32\x64\x93\xa0\x5b\x1a\xe6\x95\x9b\x8a\xae\xb6\x68\x61\x77\xe5\x08\x13\x06\x5f\xdd\xca\x7d\x75\xdb\xc1\xab\x95\xb8\xf8\xf4\xe3\xd2\xb9\x1b\x6a\xd9\xc9\xf3\x81\x5f\x34\x2c\x49\x2f\xc9\x53\xa1\x13\x36\xb9\x47\x67\xfa\xd2\xbf\xd6\x67\xd3\x11\xe4\x2c\x8c\xd8\x8b\x5f\x22\xe9\xdf\xe9\xb4\xd8\x4f\x6a\xf1\x4b\xfe\xfe\x9c\x2e\x89\xf9\x7f\xbe\x34\x89\xfb\xf6\x9f\x37\x1f\x64\x68\x91\x37\xd5\x91\x34\xf8\x92\x7d\xb9\xdc\xab\xff\xfb\x72\xc9\x6e\x4b\xd2\xa4\xa8\x5b\xed\xfa\x3c\x44\x79\x0a\xe0\x35\xb7\x68\x00\x28\xb1\xd2\x73\xad\xc4\x99\x23\x3c\x3b\x62\xf2\x7b\x32\xb6\x3a\xf1\x30\x10\x32\xf0\xc4\x8e\xe9\x7b\x52\x3e\x75\x3a\xa7\x28\xf6\xb5\x76\x20\xb2\xdb\x0f\x11\xaf\xba\xd1\x7a\x23\x15\x61\x63\xac\xc1\xc6\x08\x2a\xa1\xa4\xcb\xb3\x32\x0e\xa3\x3b\x08\x02\x8f\x5b\x83\xd4\xbf\xe4\xd4\x8d\x28\x80\x08\xaf\x83\xfe\xb7\x39\xfd\xcf\x20\x35\x0b\xda\x40\xf6\x0b\xc2\xeb\x3a\x9f\x7d\xfd\x9a\xcc\x61\x89\xde\xd2\x0b\x36\x56\x80\xda\x4d\xa4\xd9\xd7\x90\x2e\x72\x27\xc1\x13\x7d\x9f\x74\xbf\x9b\x0a\xa3\x24\x24\x0f\x4b\x1b\x96\x07\xc0\x14\xc0\x14\xc0\x94\x65\xc3\x94\x67\x6d\x1a\xfd\xb1\x4a\xcd\xae\xb1\x48\xdb\x1a\x70\x05\xc6\xf5\xf6\x8c\x6b\xc0\x95\x31\xe7\x0d\xe0\x0a\xdc\x29\xb0\x39\x66\x75\x49\x00\xae\x34\xc0\x95\x67\xfa\x10\xfa\x63\x96\xb5\x28\x84\x80\x2d\xd0\x07\x37\xa7\x0f\x1a\xa4\x76\x41\x3b\xc8\x7e\x01\x6c\xe9\x7c\xf6\xf5\x6b\x36\x9b\x82\x2d\x41\xe8\xca\xd0\x8d\x9f\x3c\xf1\x4d\x78\xa5\x12\xfe\xd1\x99\xca\x02\x14\x72\x25\xe5\x9e\xdd\x25\xcf\xf3\xab\x7a\x9e\x77\xc5\xe7\x69\xd1\x9a\x3a\x4b\x06\xbc\xcb\xee\xd1\xef\xfa\x28\x26\x80\x26\x1c\x68\xc2\x81\x26\x1c\x68\xc2\x81\x26\x1c\xb3\x18\x42\xb0\x57\x7b\x0f\xd4\x9c\xf6\x2a\x7a\xa5\xa0\xb4\xcd\x86\x4b\xdb\xa0\x31\x0e\x1a\xe3\xa0\x31\x0e\x1a\xe3\xa0\x31\x0e\x1a\xe3\xa0\x31\x0e\x2a\xbe\xa1\xe2\x1b\x2a\xbe\xa1\xe2\x5b\x75\x46\x9e\xb5\xff\x13\xba\x70\x99\x30\x0a\xe8\xc2\x85\x2e\x5c\x6b\xeb\xc2\x55\x8b\xf4\x10\x26\x80\x2a\x8e\xcf\xaf\xe2\x98\x2b\x4f\xf3\x90\xf7\x5e\x50\x78\xfe\xfa\x8e\xda\xa7\x16\x26\x76\x78\xaa\xfc\xcb\x3d\x53\xef\x31\x8c\x9c\xab\x4b\xb6\x70\xf3\x71\x69\x79\xe5\x75\x48\x17\xa4\x8e\x7d\x3f\x49\xf9\xf5\x91\x87\x5f\xa3\x3c\x08\x5e\xbf\x23\xb9\x7f\xa2\xc4\x49\xf5\x14\x28\x4b\xe6\xa7\xdf\x7e\xfb\xdf\x4f\xb7\xbf\xff\xef\x97\xcb\xdc\x01\xa3\x75\x3d\x49\x0a\xb3\xfb\x18\x78\x82\x3c\x2d\xf7\xd9\x55\x95\x76\xe3\x3a\xbe\x76\x40\x2b\x15\xdc\xe3\x0e\x29\xbf\xf9\x21\xca\xd8\x2d\x1a\xaa\x5a\x0c\x57\x11\xb3\xdd\xc8\x0a\x85\x7a\xe6\x1c\x5d\x15\x90\x4b\xe2\x5d\x29\x5f\x28\xf3\x77\x28\x43\xde\x7f\x62\x99\x5a\xad\x16\xde\xf0\x1b\xf7\x5e\x31\x5f\x6a\xaa\x4c\xe6\x78\xe6\xa2\xa9\x7a\xf9\x88\x6b\x3e\xb1\xf4\x9d\x13\x77\x58\x66\x8c\x47\x22\xa2\x5e\x83\x99\x9f\x3b\xf1\xda\x24\x40\xad\x64\x5b\xaa\x5f\x49\x04\x76\x06\x6a\xf7\x82\xc7\x87\x50\xa9\xe2\xb1\x60\x95\x81\x48\xae\x24\x7c\xa5\xf3\x6b\xef\x47\x3a\x37\x9a\x2e\x3b\x60\xbb\xaa\x99\x02\x33\xd9\x75\x08\x76\x40\xb0\x03\x82\x1d\x10\xec\x80\x60\x87\xba\xc5\x17\x14\x7d\x41\x12\x01\x58\x05\x58\x05\x58\x05\x58\x05\x58\x05\x58\x5d\x17\x58\x05\xeb\x00\xeb\x00\xeb\x00\xeb\x98\x9c\x75\x9c\x10\x0f\xa0\x8d\x39\x19\xa6\xb9\xa6\x6a\xf8\x35\xbf\x56\xc7\xdd\xd3\x26\xa6\x07\x55\xf3\xf6\x44\x3b\x89\x1f\xc4\xa3\xde\xb6\xa2\x38\x14\xfc\x91\xc4\x63\xdb\xaf\x92\x8d\xe1\x55\x72\xec\xa3\xfc\x46\xba\x4f\xc1\xbc\x63\x9f\x49\x5d\x79\xaa\x4e\xf5\x21\x22\xfc\xde\x36\xc1\x96\x5f\x6a\xa2\xf1\x04\x75\xb3\x1f\xb5\xe0\xff\xdf\xb1\x0c\xfa\x5c\xbb\x7c\xb6\xd9\x38\xaa\x36\xf3\xb3\xd9\xb5\xff\xab\x1b\xc5\x00\x54\x05\xe6\xb2\x26\x28\x35\xa0\xd8\xde\x72\x8b\xd3\xc9\x68\x64\x02\xa7\x8d\x1f\xc6\x87\xc1\x36\x7d\xf6\xd9\x70\xdb\x02\xaa\x7c\xb4\xbc\x70\xbf\x05\x08\x59\x54\x2b\xc8\xa2\x42\xd5\x0f\x54\xfd\xa8\x79\x98\xa5\xea\x4f\xcb\xab\x02\x32\xc6\xbb\xcc\xd1\x2d\x77\xa2\x97\x59\xbd\x52\x4b\x8a\xd1\xf2\x95\xda\x0b\x36\x7a\xcd\x93\xa4\xe0\xfc\x99\x4a\x9f\x0c\xd4\x23\x3b\xcb\x9d\x98\xa0\x47\x2e\xa4\xc8\x09\x54\xc4\xe2\x20\x1b\xab\x22\x22\xad\x7c\x43\x69\xe5\xc8\x9f\x43\xfe\x1c\xf2\xe7\x90\x3f\x07\xeb\xb6\xe9\x2b\x32\x32\x59\x65\x1e\x1b\x10\xb9\x36\x47\x57\x69\xcd\xb5\x59\x81\xdd\x97\x39\xf8\xa7\x69\x02\x56\x56\xd5\x06\x59\x68\x1d\xad\xc0\x7a\xda\x67\x58\xae\xe0\xf3\x59\x7e\x93\x30\x63\x38\x66\xb1\x69\x58\xdf\x87\x42\x13\x31\x34\x11\x3b\x4b\x13\xb1\x11\x36\x9d\xae\x56\x62\x26\x78\x05\xd1\x54\x0c\xbe\x42\xe0\x64\x34\x15\x3b\x9e\x31\x68\x2a\x86\xa6\x62\xb0\x59\x60\xb3\x18\xd2\x64\x6c\x22\xab\x65\xaa\xa6\x63\xa3\xf8\x2c\xba\x5a\x8f\xad\x59\x81\x44\x78\x22\xf4\xc9\x86\x61\xda\x8e\x3e\x69\x90\xda\x06\xed\x22\xfb\x05\xe1\x89\xd0\x94\xb2\x33\x4c\x6b\x5a\xb6\x90\x80\xbe\x1b\xdd\x95\xb5\x18\xd7\x37\x0d\x3c\x6a\xea\xfe\x7a\x5e\x8c\x54\xd3\x1a\x16\x4b\x27\x96\x1b\xc0\x24\x06\x98\x04\x98\x94\xfe\xff\x6a\x61\xd2\xa8\x9b\xd0\x70\xac\xb4\x96\x06\xe5\x80\x4b\x70\x06\x6c\xcf\x19\x00\xb8\x34\xe6\xbc\x01\x5c\x82\xfb\x07\x36\x8c\x49\x36\x0c\xe0\xd2\x91\xa4\x1a\xe0\xd2\xc8\x3e\x8d\xe1\x98\x69\x2d\x0a\x25\x60\x13\xf4\xcb\x86\x61\xda\x8e\x7e\x69\x90\x1a\x07\x6d\x23\xfb\x05\xb0\x09\x9a\x53\x76\x06\x60\x53\x0d\x6c\xa2\x8a\x7f\x74\xa8\x9e\x79\xd3\x42\xa5\xa4\x34\xb4\x6f\xbb\xdf\x5c\xfb\xc0\xbd\x62\x99\x49\x9e\x15\x83\x57\xda\xd4\x67\x7a\x9a\x5d\x21\xf9\xf9\x6d\x96\x36\x7d\x45\x97\xb9\xca\xfb\x82\x94\x1a\x3d\x64\x1a\x1a\x73\xfd\x28\x16\xbc\xe4\xd0\xad\xea\x6f\xdf\x3b\xdc\x81\xf9\xa3\xfc\x5a\x29\x9d\x87\x2a\x90\xa6\xe6\x79\x52\x11\xd3\x9f\xbf\x09\x1f\x75\x1f\x4b\xdf\xdd\x7c\xc5\x1f\xf3\xaf\xe8\xcc\x5c\x0b\x4d\xb9\x56\xdc\x94\xab\x1b\xcd\x75\x35\xe4\x6a\xf5\xea\x8d\x80\x1d\xd1\x86\x0b\x6d\xb8\xd0\x86\x0b\x6d\xb8\xd6\xd6\x86\xab\x7b\xe5\xad\x6d\xc1\x35\x71\x90\xc7\xd9\x1a\x6f\x75\xbf\x7e\x73\xd3\x2d\x93\x65\x70\x4a\xab\xad\x6e\x19\x34\xb7\xd9\x9a\x58\x06\x68\xae\x85\xe6\x5a\x68\xae\x85\xe6\x5a\x68\xae\x35\x59\x73\xad\x1e\xab\xff\x51\x63\xad\xd6\x7a\x8b\x1b\x8a\xf1\xec\xf7\x36\x2b\x6e\x0e\xd6\x2d\xee\xb6\xc6\x60\xe7\x95\x3b\xda\x81\x4d\x32\xa2\xc7\xad\xc0\x26\x1e\xd6\x59\x1b\x80\x75\x8b\xa7\xa5\xf9\xd7\xd4\xcb\xa6\xa9\x2d\xbf\xba\x85\x56\x03\x39\x06\xfb\xf3\x92\xbf\xfe\x1a\x0d\xa3\xd5\x94\x5e\x9f\x88\xa6\x15\x11\x9a\x9f\xee\xfd\x72\xcf\xbe\xba\xbe\x3d\x36\x4a\x7b\x95\x2b\xfb\x64\xd0\x24\x8a\xa1\xb2\x17\x72\x2b\xe6\xaa\x64\xfd\x16\xae\x3d\x0e\x88\x03\x84\x03\x84\x5b\x2e\x84\x03\x80\x03\x80\x03\x80\xcb\x3f\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\xb8\xc5\x01\xb8\x62\x11\x99\x26\x87\x03\x8a\xc6\x00\x28\xce\x8f\x9f\x00\x14\x01\x14\x01\x14\x01\x14\x2b\x42\x33\x0f\x28\xb6\x94\x82\x34\x20\x4f\xaf\x39\x81\x71\xf6\xbc\xbd\xe6\x47\x43\x1e\x1f\x10\xe2\xb2\x11\xe2\x7c\x79\x7c\xc6\xd4\xab\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x04\x56\x5c\x17\x56\x04\x86\x03\x86\x03\x86\x5b\xc6\x88\x02\xc3\x95\xc5\x03\x0c\xb7\x76\x0c\x67\x48\x9e\xdf\xc4\x28\x6e\xbe\xbc\xbf\x9e\x5d\x7a\x01\xf1\x00\xf1\x16\x05\xf1\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x00\xf0\x56\x04\xf0\xd0\x5c\x1e\x80\x12\x80\xf2\x44\xb9\x03\x50\x02\x50\x02\x50\x6e\x1a\x50\xfa\x22\xfe\x2e\xc3\xaf\xca\xc2\x4b\xa8\xe4\x20\xca\x38\x4b\x87\xcf\xca\x58\x3b\x22\x66\xae\xbf\x97\xe1\x63\x36\xb7\x39\xd3\x1c\xa3\x19\x0d\x3a\x22\xfe\x77\x26\x82\xdb\xbb\x8f\xff\x53\x3d\x1e\x3d\x4d\x4f\x84\x71\x99\x10\x17\x8e\xe2\xf2\x2f\xa3\x70\xce\x45\xf1\xbe\x5d\x5f\xd2\xb7\xd7\xcb\xfe\x98\x4a\xd6\xb0\x5e\x23\xfb\x7e\x49\x7f\xbe\xbe\xbd\xfb\xf8\x7b\xdd\x59\xf8\x9e\x4e\xff\x9e\x52\x41\x52\x5a\xf1\x6a\x3e\xab\xff\xfb\xf6\xfa\x19\x5f\x96\xeb\x3b\xa1\x88\x22\xcb\xe3\x51\x79\xfc\x2e\xb5\x8b\x61\xdc\xe8\x18\x7d\x4d\x66\x49\xcf\x13\x56\xba\xbb\x7c\xd4\x8f\xf0\x4e\x3d\x42\xcb\x87\xa1\xcf\x2d\x7e\x1b\xef\xb2\xcb\x34\x5d\x62\xda\x26\xfd\x93\xcc\xd3\xf7\xf4\x9a\xbf\x05\xba\x70\x40\xbf\x59\xda\x3e\x3d\x01\x50\x01\x50\x01\x50\x01\x50\xd7\x06\x50\x5b\xcc\xbf\x2e\x88\xda\xee\x4a\x68\x37\x03\x4f\x5a\x7b\xff\xa3\x04\x97\xb8\x8e\x5f\x51\x91\x16\x4b\xcd\x28\x3d\x0f\x4a\xef\x56\x0c\x56\xba\x17\x2c\x50\xd2\x8a\x62\x61\xef\xd8\xad\xcf\x5c\x5f\xaf\x2c\x32\x64\x07\x3f\x5b\x9c\x6c\x66\x87\x4f\xbf\x1f\x7c\x66\xbb\xa1\xda\x07\xbf\x89\x6c\xc6\xab\xe5\x93\x1c\xfd\xc9\x27\x9f\xce\x8d\x44\xc0\x6c\x7f\x08\xe9\x2b\x0b\x42\x69\x89\x88\x3c\xf2\x89\x0f\x23\x99\x65\x3b\xf6\x27\xdd\x91\x46\x8b\xe6\xce\x5b\x76\xcd\x6e\x3d\xef\x2d\xf9\xdb\x6d\xb5\x4a\x1f\x7c\x35\xf0\x8e\x88\xb2\x29\x99\x5c\x4e\xd8\x03\x06\x4a\xbf\xcb\x3c\xc3\x74\x36\xea\xdd\x4f\x14\xcd\xe4\xfb\x6c\x12\xf9\xa3\xe8\xde\x72\x7d\x16\x69\xaf\x13\xbb\x17\x7b\x1d\x9e\x97\x11\x92\x5c\x95\x48\x56\x2f\x9a\x3a\x07\xa1\x37\x87\x7b\xc1\x7c\xe9\x5f\xfb\xc2\xe1\x34\x41\x13\x07\xd5\x8e\xfd\x91\x6d\xd8\x9a\x96\x66\x9f\x46\xa2\x23\xba\x8f\x8f\xc2\x76\x79\x2c\xbc\xa7\x3c\x6e\x2e\xdf\x72\x5d\xef\x55\xe2\x80\x22\xa1\x33\x27\xe4\x16\x7d\x35\xae\xb4\x33\x85\x20\xdf\xb4\x29\x28\x31\x9d\xa5\x87\x48\x3d\x64\x71\xb8\xb8\x3a\x33\x7d\xa1\xe4\x26\x7b\xbd\x06\xa6\x97\xd8\xe9\xe7\x7c\x14\xdc\xaf\x7d\xc6\x01\xc3\x4c\xcf\x7c\x47\x8f\x5c\xe7\xd4\xeb\x70\xeb\x99\x32\xfd\x4f\x09\x78\xe8\x27\x97\xe6\xa0\x87\xb3\x4d\x7f\x84\x3f\x20\xfc\x01\xe1\x0f\x08\x7f\x40\xf8\xc3\x64\xe1\x0f\x3d\xf7\x82\xa3\x10\x88\xf3\x6d\x8b\xef\x0b\xc9\x58\x81\x27\x78\x24\xb2\x25\xe8\x2e\x94\x01\x77\x48\x3b\xba\x93\x9e\x6b\x3d\x95\x82\xed\xd3\x49\x97\x67\x73\xa9\x69\xf7\x7a\xf7\xcf\x1d\xfb\xac\xd7\x33\xad\xba\x04\xc2\x57\x1f\x4b\xbe\xa7\x0a\x26\xc3\xe0\x81\xfb\x69\xf0\x7f\x78\x10\x37\x7b\xee\xa5\xb6\xf2\x97\x4b\xfd\xf3\x97\x4b\xb6\x77\x7d\xee\xb9\xff\x4d\x37\x92\x7b\xc1\xb8\x4d\xcc\x58\xde\x68\x9e\x66\xe7\x66\x98\xbe\xfc\x55\x94\x9f\xa4\xed\xd3\x1d\xfb\xd9\xa5\xc5\xb1\xf0\xe8\x32\x3c\x7e\xb7\x3c\x42\x20\xd6\xe6\x31\xd9\x28\x32\x7e\x18\x32\xa0\xfa\x0d\xde\xa7\xef\xde\xa8\xf2\xd4\xd1\xb9\x71\x0d\x33\x7a\x75\xf5\xc1\x3e\xc8\xef\xcc\xe1\xe1\x3d\x77\x4a\xae\xc9\xcc\xa8\x11\xe1\x5e\x86\x8f\x6a\x4c\x6a\xe5\xf5\x5b\xe5\x8d\x9a\xc5\x45\x4a\x6f\xaa\xb1\x06\x5a\xb6\xae\xd2\x26\x2d\xd7\xce\x4d\x61\xd2\x15\xc8\x39\x91\x8d\x71\x44\x4c\x8e\x7e\x4d\xb5\x81\x5d\x61\x30\xd3\x7d\x24\x43\xf4\x59\x22\x4b\xf9\x66\x3b\x76\x6b\x59\x22\x88\x69\x6f\x2a\x5a\x76\x57\xfa\x1d\xae\xd8\x75\x32\x01\xcb\x13\x34\xfa\x91\x5d\xfd\xc4\xad\xaf\x4e\x28\x0f\xbe\xad\x8e\xa2\xa4\x10\x3a\xa8\x22\x38\xad\x42\x26\xfa\x71\xf9\x22\xe9\x1b\xdc\x67\x57\xfa\x91\x5d\x7d\x90\xa1\x28\x5c\x96\x59\x3c\xb2\xb8\xad\xde\x3e\x91\x8f\xce\x19\xa2\xeb\x45\xda\xf4\x3c\xba\xe0\x3e\xbb\xc6\x90\x09\x19\x54\xa7\xfb\x3c\x1a\xe7\x8a\x63\x79\xfa\x8d\x43\x5b\x3c\xcf\x5c\xa3\x80\xc8\x9e\xc9\xc6\xf7\x38\xba\xe7\x7c\xbe\x8d\x39\xe3\x7c\xfa\x09\xab\x25\xd6\xe7\xb9\xfa\x4f\x2d\xa7\x03\x4e\x3e\x11\xd3\x7d\x8e\x79\x7c\xe8\xcb\xe7\x16\x47\x91\x0b\xa7\x35\x24\x46\xeb\x1d\x39\xd7\x96\xc6\xc8\x91\x3e\x02\xd4\xf5\x89\xd1\x0d\xb0\xb7\x9a\x0a\xdd\x96\x05\x3d\x7a\xd9\x07\xed\x26\x0b\x13\xd3\x3a\xd5\xe7\xd3\x8a\x0f\x3d\x09\xb7\xba\x48\x91\x6f\x3f\x97\x6a\x23\x8f\x7b\x3b\x79\xdc\xfd\xb6\x95\xae\x5c\xee\xf3\xd9\x5f\x08\x4a\x40\x50\x02\x82\x12\x10\x94\x80\xa0\x84\xba\xc5\x17\xb4\x7b\x41\x12\x01\x00\x05\x00\x05\x00\x05\x00\x05\x00\x05\x00\x5d\x17\x00\x05\x93\x00\x93\x00\x93\x00\x93\x98\x9c\x49\x9c\xc0\xed\x0d\xcd\x44\xee\x27\xc2\xe3\x6c\xe4\xe7\x7a\xdc\x8c\xa2\x39\x8d\x27\x6c\xab\xc4\xee\xae\x00\x32\xbe\xbd\xde\x15\xdd\xf8\x6b\x4e\x3d\xec\x86\x46\x63\x75\xc3\x3c\x1f\x28\x1a\x50\x2e\x77\x29\x25\x66\x2e\x2a\xc3\x76\x19\xc8\x68\x64\x2a\xa6\x6d\x17\xc6\xfd\xbe\x04\x4c\x9f\x30\x26\x03\x1b\x96\xd9\xd9\x52\xa0\x68\xaa\x95\x61\x94\x54\x4f\xa4\x1b\x15\x47\xdd\xd8\x74\x23\xf2\x4c\x7c\xe2\x3e\x77\x44\xa8\x7d\x6c\x54\x77\x8b\x47\x91\xb4\x5c\x32\x1a\x33\x6f\x16\x27\xa7\xa4\x0c\x99\xf0\x63\xa5\xc5\xa5\x56\xf4\x23\x57\x93\x48\x1d\x12\x89\x54\x15\x2a\x26\xd5\xa4\xc9\x37\xa4\x0a\x92\xe7\x4a\x86\xec\xf5\x9b\x7f\xa9\x63\x43\x6e\x11\xaa\xf2\xa4\xef\x68\xc5\x87\xbc\x4b\x96\xf4\x63\xee\xfa\x7a\x6d\x22\xef\x4d\x7e\x2c\xb9\xef\x13\x90\xc6\xee\x9f\x32\xdd\xde\x91\x1e\xf7\x9d\x9d\x0c\x9d\x9b\xe0\xab\x73\x73\xf0\x5d\x4b\xda\xe2\xe6\x1f\x1f\xa3\x3b\x75\x95\xc1\xee\xe0\x44\x38\x63\x0e\x8f\x51\x9a\xd2\x62\x15\x98\xbe\xca\xcb\x9b\x1e\xca\xcb\x3b\xed\xda\x32\xec\xb9\xdf\x74\x3e\xb7\x0e\xa2\x35\xec\xc1\xd7\xa7\x2d\x92\x3e\xb2\x04\x6d\xf1\x82\x0d\xa9\xb5\x51\xd3\x8d\x66\xc2\x92\x1b\xfd\x75\xb0\xe3\x3a\x1b\xa8\xae\x51\xbc\x3b\x54\xae\x25\xaa\x5c\xc8\x67\xde\x50\x3e\x33\x12\xb7\x90\xb8\x85\xc4\x2d\x24\x6e\xc1\x5a\x6c\xfa\x8a\x8c\xcc\x92\x98\xc7\xf6\x42\x92\x47\x47\x92\xc7\x22\x6c\xb0\xcc\x8b\x3d\x7a\x6a\x47\x28\xb8\x5d\xd1\xbe\x7a\x5a\x52\xea\xcc\x5e\x76\x14\x96\x15\xf8\x44\xfa\x7d\x91\x8e\x58\x86\x4b\xe4\x39\x00\xad\xd8\x83\xa2\xf9\x09\xd0\x75\xe2\x1c\x48\x90\x68\xfb\xa0\x6a\xcb\xd7\x74\xee\x0f\xed\xeb\xd6\xa3\x08\x1d\xd1\xeb\xc8\x28\x0e\x79\x2c\x1c\xd7\xba\xee\x7f\x8e\xfa\xfb\x29\x39\x92\x56\xc8\x3e\xcb\x7d\xc0\xc3\xd8\xa5\x64\x18\x1d\x19\x32\x6c\xe9\xa7\x9b\xce\xef\x43\x9b\x8a\x63\xb6\xe8\x4c\x77\xe5\x00\x0d\x06\xcf\xda\xca\x3d\x6b\xdb\x81\x99\x95\xb0\xf2\xf4\xe3\xd2\xa9\x0f\x6a\xad\xc9\xd3\x69\x5f\x34\xac\x43\x2f\xc9\xaf\xa0\xf3\x1d\xb9\x47\x67\xfa\xd2\xbf\xd6\x67\xd3\x11\xe4\xda\x8b\xd8\x8b\x5f\x22\xe9\xdf\xe9\xac\xd2\x4f\x6a\xc5\x4b\xfe\xfe\x9c\xae\x83\xf9\x7f\xbe\x34\x89\xb2\xf6\x9f\x37\x1f\x64\x68\x91\xef\xd3\x91\x34\xf8\x92\x7d\xb9\xdc\xab\xff\xfb\x72\xc9\x6e\x4b\xd2\xa4\xa0\x55\xed\xa8\x3c\x44\x79\x06\xdd\x35\xb7\x68\x00\x28\x2f\xd1\x73\xad\xc4\xf5\x22\x3c\x3b\x62\xf2\x7b\x32\xb6\x3a\x6f\x2f\x10\x32\xf0\xc4\x8e\xe9\x7b\x52\x3a\x72\x3a\xa7\x28\x74\xb4\x76\x20\xb2\xdb\x0f\x11\xaf\xba\xd1\x7a\x03\xfd\x60\x39\x2c\xce\x72\x08\xc6\xea\x64\x7f\x46\xdb\xe1\x30\xba\x29\x1f\x78\xdc\x1a\xa8\xd2\x25\x27\xaf\x57\xa9\x43\x70\x1a\xf4\xb9\x4d\xe9\x73\x06\xa9\x4d\xd8\xdd\xb3\x5f\x10\x9c\xb6\x25\xad\xe4\xb0\x0c\x7f\xe6\x05\x3b\x29\xc4\xab\xdc\x49\x69\x9e\x6a\x53\x2d\xaa\x4c\x43\xa1\xa9\x0f\x32\xbc\xf5\xbc\x7f\xf3\x47\x11\x05\xdc\x90\x7e\x63\x8d\x27\x20\xa5\x08\xd9\x44\x73\xc4\x87\x9e\x8f\x83\xa0\x5e\xdb\x8a\xeb\xb5\x75\x83\x9d\xae\x5a\x6d\xc3\xfb\xd8\xf6\x83\x56\xa8\xd0\x86\x0a\x6d\xa8\xd0\x86\x0a\x6d\x6b\xab\xd0\xd6\xbd\xf2\xd6\x56\x67\x9b\x38\x44\xe0\x6c\x35\xd9\xba\x5f\xbf\xb9\x1e\x9b\xc9\x32\x38\xa5\x0a\x5b\xb7\x0c\x9a\x2b\xb0\x4d\x2c\x03\xd4\x5d\x43\xdd\x35\xd4\x5d\x43\xdd\x35\xd4\x5d\x9b\xac\xee\x5a\x8f\xd5\xff\xa8\xe6\x5a\x6b\xe6\xd2\x86\x22\x04\xfb\xbd\xcd\x8a\xeb\xc6\x75\x8b\xbb\xad\x66\xdc\x79\xe5\x8e\x4a\x71\x93\x8c\xe8\x71\x95\xb8\x89\x87\x75\xd6\xda\x70\xdd\xe2\x69\xa9\x0b\x37\xf5\xb2\x69\x6a\x35\xb8\x6e\xa1\xd5\x20\x8b\xc1\xfe\xbc\xe4\xaf\xbf\xfa\x42\x2a\x3f\x23\x3c\xba\x06\x01\xfd\xfd\x77\x3d\xbb\x9a\xb0\x24\x41\x21\x63\x53\xee\x7b\x50\xab\xe3\xc2\x04\xef\xb2\x2b\x64\xd0\xca\xae\xb9\x0e\xea\x14\xc0\x9d\x0b\x77\x2e\xdc\xb9\x70\xe7\xae\xd0\x9d\xbb\x84\x86\x1b\x88\x7c\xec\x3d\x50\x73\x46\x3e\xa2\x2f\x0a\xaa\xe6\x6c\xb8\x6a\x0e\x9a\xe0\x00\xc6\x00\xc6\x00\xc6\x00\xc6\x00\xc6\xa0\x09\x0e\x8a\xc9\xa1\x98\x1c\x8a\xc9\xa1\x98\x5c\x75\x46\x9e\xb5\xd7\xd3\x9a\xc8\x29\x3a\x6e\xad\x9b\xa3\xa2\xe3\xd6\x92\x3a\x6e\xd5\x72\x3a\x24\x9c\xa2\x40\xe4\x80\x02\x91\xb9\xb6\xb4\x98\x74\x2c\xe3\x53\x32\x47\x01\xda\x48\x28\xdb\x4e\x42\x59\xbf\x1d\xa5\x2b\xa9\xec\x7c\xa6\x17\xe2\x11\x10\x8f\x80\x78\x04\xc4\x23\x20\x1e\xa1\x6e\xf1\x05\xe8\x5e\x90\x44\xc0\x3e\xc1\x3e\xc1\x3e\xc1\x3e\xc1\x3e\xc1\x3e\xd7\xc5\x3e\x81\x23\x80\x23\x80\x23\x80\x23\x26\xc7\x11\x27\x20\x7b\x43\x53\xbe\xfa\x89\xf0\x38\xed\x6b\x55\x75\xc1\x1b\x4f\x40\xb5\x3e\x54\xeb\x5b\x77\xb5\xbe\x44\x5d\xd4\xb5\x92\x7d\x9b\xa9\xb1\x61\x91\x25\x03\xf1\x8a\x45\x07\xeb\x41\xad\x3d\xb4\xb6\x0b\xfe\xa8\x17\xa6\x20\x94\xa4\x9e\xd6\x65\x8e\xb6\xf7\x35\x22\x30\x54\xfe\x19\xcd\x8d\xba\xde\x26\xf9\xab\xd0\xdc\x48\x46\x23\x43\x40\x6d\xaa\x15\x7a\x6d\xb7\x00\x3f\x7d\xec\xe8\xc8\x6f\x09\x25\xe5\x51\x4d\x7e\x3b\x39\x55\xa8\x26\x8f\x6a\xf2\x35\x0f\x63\xb8\xaa\xb6\xc0\x42\xf2\x66\x37\xd9\x7d\xde\x33\xaf\x4f\x1b\x26\xdd\xc3\x70\x6d\xf8\x82\x8d\x53\x4e\x44\xff\xef\xdf\x67\xaa\x2a\xd2\x4b\xf9\x3a\x2e\x25\x82\x02\x22\x50\xb8\x56\xa1\x70\x21\x65\x7b\x43\x29\xdb\xc8\x4d\x43\x6e\x1a\x72\xd3\x90\x9b\x06\x5b\xb1\xe9\x2b\x32\x32\x11\x64\x1e\x1b\x0c\x79\x2c\x1d\x79\x2c\xa6\x1b\x64\x99\xe7\x7a\xf4\xec\x95\x50\x70\xbb\xa2\x78\x75\x1b\x51\xea\xa4\xfe\x26\x14\x56\x14\xb8\x45\x3a\xbf\x43\x47\x18\xef\x15\x79\x0e\x23\x24\xd7\x77\x62\x9c\xd6\xde\xbc\x0f\xfc\x33\x85\xfb\x01\x78\x2e\x0e\x78\x52\xe8\x44\xaf\x8d\xa3\xba\x2c\x5f\xd3\xb9\x3f\xb4\xaf\xd0\x8f\x22\x74\x44\xaf\x23\xa3\x38\xe4\xb1\x70\x5c\xeb\xba\xff\x39\xd4\x9a\x3f\x39\x92\xf6\x82\x3e\x1b\x5b\xc0\xc3\xd8\xa5\xcc\x26\x1d\xe6\x73\xf2\x26\x47\xf7\x33\xc4\x51\x38\x15\xa5\x6d\x51\x0c\xef\xca\xd1\x36\x0c\xee\xc3\x95\xbb\x0f\xb7\xc3\x6b\x2b\x39\x02\xe9\xc7\xa5\xf3\x58\xd4\x5a\x93\xe7\x46\xbf\x68\x58\x87\x5e\x92\xf3\x44\x27\xaf\x72\x8f\xce\xf4\xa5\x7f\xad\xcf\xa6\x23\xc8\x7f\x19\xb1\x17\xbf\x44\xd2\xbf\xd3\x29\xc2\x9f\xd4\x8a\x97\xfc\xfd\x39\x5d\x07\xf3\xff\x7c\x69\x12\x48\xee\x3f\x6f\x3e\xc8\xd0\x22\x07\xaf\x23\x69\xf0\x25\xfb\x72\xb9\x57\xff\xf7\xe5\x92\xdd\x96\xa4\x49\x11\xc8\xda\x1b\x7b\x88\xf2\x74\xc8\x6b\x6e\xd1\x00\x50\x92\xa9\xe7\x5a\x89\x7f\x49\x78\x76\xc4\xe4\xf7\x64\x6c\x75\x12\x66\x20\x64\xe0\x89\x1d\xd3\xf7\xa4\xdc\xf2\x74\x4e\x51\x1c\x70\xed\x40\x64\xb7\x1f\x22\x5e\x75\xa3\xf5\x46\x6d\xc2\x46\x5a\x92\x8d\x14\x54\xc2\x67\x0d\xb7\x92\x0e\xa3\xbb\x2a\x02\x8f\x5b\xa7\x2b\x72\xc9\x79\x2b\x57\xe5\x10\x70\x07\x05\x6e\x2b\x0a\x9c\x41\x7a\x12\xb6\xf3\xec\x17\x04\xdc\xad\x5f\x03\x39\x18\xef\xa5\xbd\x60\xa3\xc6\xae\xdd\x44\x1a\x90\x15\x42\xd8\xa6\x61\x30\xfa\x3e\xe9\x06\x36\x2a\x8d\x49\x18\x1f\x16\x28\x7c\xed\x60\x32\x60\x32\x60\x32\xa5\x77\x05\x93\x99\x8f\xc9\x0c\xdf\xf4\xba\xe9\x4c\xcd\xae\xb7\x48\xc3\x1e\x8c\x06\x26\xfe\xf6\x4c\x7c\x30\x9a\x31\xe7\x0d\x18\x0d\x9c\x3a\xb0\x99\xc0\x68\x2a\xf2\x9a\x8e\xd1\x3c\xc7\x9b\xd1\x4d\x6b\xd6\xa2\xda\x81\xd9\x40\xa1\xdb\x8a\x42\x67\x90\xde\x84\xed\x3d\xfb\x05\xcc\x66\xfd\x1a\xc9\xea\x99\x4d\x72\x2c\x25\xe5\xb9\xa5\x6f\x66\xca\x72\x03\x85\x6c\x4c\xb9\x67\x89\xbe\x72\x94\xa5\xd7\x5d\x7f\xe0\x5d\x76\x9d\x5c\xcf\x69\xbc\x1a\xea\x11\xa0\x81\x08\x1a\x88\xa0\x81\x08\x1a\x88\xa0\x81\xc8\x2c\x06\x0b\xec\xca\xde\x03\x35\xa7\x5d\x89\x3e\x2f\xa8\x8e\xb3\xe1\xea\x38\x68\xea\x83\xa6\x3e\x68\xea\x83\xa6\x3e\x68\xea\x83\xa6\x3e\x68\xea\x83\xa2\x71\x28\x1a\x87\xa2\x71\x28\x1a\x57\x9d\x91\x67\xed\x5d\x85\x0e\x62\x26\x8c\x02\x3a\x88\xa1\x83\xd8\xda\x3a\x88\xd5\x32\x3b\xe0\x7c\x14\x82\x1c\x50\x08\x32\xd7\x96\xce\xc8\xcc\x9b\x68\xef\xac\x85\x21\xb5\x9f\x2c\x4c\x6c\xeb\x54\xa1\x97\x7b\xa6\x9e\xba\x37\xee\x56\x57\xa9\x0f\xe5\x7b\x36\xe2\xae\x3c\x2f\x29\x70\xd4\x22\xf0\x27\x29\xbf\x3e\xf2\xf0\x6b\x94\x87\x88\xeb\x97\x20\x9f\x4d\x94\x78\x96\x9e\x02\x65\x7e\xfc\xf4\xdb\x6f\xff\xfb\xe9\xf6\xf7\xff\xfd\x72\x99\x7b\x4d\xb4\x82\x26\x49\xcb\x75\x1f\x03\x4f\x90\x7b\xe4\x3e\xbb\xaa\x52\x49\x5c\xc7\xd7\x5e\x63\xa5\x37\x7b\xdc\x21\x8d\x35\x3f\x44\x59\xa8\x45\xeb\x52\xbb\x22\xae\x22\x66\xbb\x91\x15\x0a\xf5\xcc\x39\x6f\x2a\x70\x92\xc4\x25\x52\xbe\x50\xe6\xa4\x50\xd6\xb7\xb2\xf4\x53\x5d\x58\xad\x96\xe1\x37\xee\xbd\x62\xbe\xd4\x28\x98\x6c\xe8\xcc\xaf\x52\x75\xcd\x11\x8c\x7c\x62\xe9\x3b\x27\x3e\xac\xcc\x82\x8e\x44\x44\xcd\x0d\x33\xe7\x74\xe2\x6a\x49\x28\x58\xc9\x20\x54\xbf\x92\x08\xec\x8c\xae\xee\x05\x8f\x95\x1d\xef\xf0\x58\xb0\xca\x40\x24\x57\x12\xbe\x52\xd4\xb5\xcb\x22\x70\x73\xec\x5b\x77\xd9\x01\x7b\x4c\xcd\x14\x98\xc9\x18\x43\x84\x02\x22\x14\x10\xa1\x80\x08\x05\x44\x28\xd4\x2d\xbe\x40\xdf\x0b\x92\x08\x68\x28\x68\x28\x68\x28\x68\x28\x68\x28\x68\xe8\xba\x68\x28\x00\x05\x00\x05\x00\x05\x00\xc5\xe4\x80\xe2\x04\x88\xaf\x8d\x39\x19\xa6\x89\x9c\x6a\xf8\x35\x74\x56\xc7\xdd\xd3\x26\xa6\x07\x55\x43\xf2\x44\x3b\x89\x1f\xc4\xa3\xde\xb6\xa2\x38\x14\xfc\x91\xc4\x63\xdb\xaf\x92\x8d\xe1\x55\x72\xec\xa3\xfc\x46\xba\x4f\xc1\xbc\x63\x9f\x49\x5d\x79\xaa\x4e\xf5\x21\x22\xfc\xde\x36\xc1\x96\x5f\x88\xa1\xf1\x04\x75\xb3\x1f\xb5\xe0\xff\xdf\xb1\x0c\xfa\x5c\xbb\x7c\xb6\xd9\x0c\xa9\x92\x5f\x59\xf2\xe3\xff\xea\x46\xf1\x76\x11\x92\x5a\xd5\x16\x86\x8d\x06\x94\xcd\x43\xa5\xb9\xc5\x55\x9a\x93\xd1\xc8\x70\x50\x9b\x6d\x8c\xf7\xe6\x80\xfa\x84\x89\x48\xa0\xd1\x45\x3d\xca\x6f\xd7\x6f\x6d\x44\x0a\xd6\x0a\x52\xb0\x50\xda\x03\xa5\x3d\x6a\x1e\x66\x11\x7a\xdc\x92\x0a\x7c\x0c\x7c\xf0\x39\xfa\xf0\x8e\xf1\xe4\xeb\x53\x9b\x49\x3d\x59\x84\xda\x7c\xc1\xc6\xac\x53\x92\x54\x98\x3f\x53\xb9\x92\xfe\xba\xda\x71\x89\x92\xd9\x75\xb5\x85\x14\x26\x81\x66\x56\x1c\x64\x63\x35\x33\xa4\x82\x6f\x28\x15\x1c\x39\x6f\xc8\x79\x43\xce\x1b\x72\xde\x60\x54\x36\x7d\x45\x46\x26\x98\xcc\x63\xa0\x21\x3f\xa6\x23\x3f\x66\x19\x76\x5a\xe6\xf9\x9e\xa6\x55\x57\x59\xfd\xea\x6b\x56\x35\xb7\xe9\x6a\x36\xaa\xb0\xc6\xc0\x8b\x52\x3d\xcd\x88\x66\x5d\x33\xb1\xc7\x62\xcb\xae\x96\x47\x40\xe3\xae\xfa\x77\x06\x4e\x45\xe3\xae\x71\x1a\x77\x0d\xdb\x02\x5b\x9a\x76\xad\x0c\x02\xa3\x69\x17\xdc\x8d\xdb\x03\xc1\x68\xda\x35\xe6\xbc\x41\xd3\x2e\x78\x69\x60\x41\xad\xb7\x75\xd7\x28\x36\xd4\x54\x0d\xbc\x86\xfa\x38\x5a\x9a\x77\xad\x4c\xc5\x43\x9c\x1f\xd4\xbb\x6d\xa9\x77\x06\x69\x51\xd8\xec\xb3\x5f\x10\xe7\xb7\x2d\x2d\xe5\xac\xed\xbc\xce\x11\x2c\xd7\xdc\xbd\x6b\x29\x45\xcd\x8a\xe7\x7d\x90\xe1\xad\xe7\x65\x5a\x4f\x64\x02\xcf\x69\x3c\x01\x99\x6b\xc8\x5c\xbb\xdc\x4c\xe6\x1a\x4a\x04\xae\xb8\x44\x60\x37\x14\xea\x2a\x0f\xd8\xea\x7e\x1a\x01\x78\xa1\x28\x20\x8a\x02\xa2\x28\x20\x8a\x02\xae\xad\x28\x60\xf7\xca\x5b\x5b\x10\x70\xe2\xf0\x82\xb3\x95\x01\xec\x7e\xfd\xe6\x12\x80\x26\xcb\xe0\x94\xc2\x7f\xdd\x32\x68\x2e\xfa\x37\xb1\x0c\x50\xea\x0f\xa5\xfe\x50\xea\x0f\xa5\xfe\x50\xea\x6f\xb2\x52\x7f\x3d\x56\xff\xa3\x32\x7f\xad\xe9\x5f\x1b\x8a\x2e\xec\xf7\x36\x2b\x2e\x55\xd8\x2d\xee\xb6\x32\x85\xe7\x95\x3b\x8a\x13\x4e\x32\xa2\xc7\x85\x09\x27\x1e\xd6\x59\xcb\x11\x76\x8b\xa7\xa5\x14\xe1\xd4\xcb\xa6\xa9\x05\x08\xbb\x85\x56\x83\x2f\x06\xfb\xf3\x92\xbf\xfe\xea\x8b\xb0\xe8\xde\x37\xae\xef\x84\x22\x8a\x2c\x8f\x47\xd1\xc4\x1c\x2b\xd1\xfb\x7c\xdb\xfd\xe6\xda\x07\xee\x15\x47\x8b\x67\xb6\xdd\x47\xfd\x40\xef\xd4\x03\xed\x0a\x79\xcc\x6f\x33\xfd\xfb\x8a\x2e\x74\x95\x3b\xf3\x4a\xde\x99\x0c\x7b\x31\xd7\x8f\x62\xc1\x4b\x1b\x65\x15\x8a\x7d\xaf\xc6\x76\x17\xef\xfe\x6b\x85\x2f\x00\x84\x99\x9a\xa5\x49\x0b\xc0\xcf\xca\xc6\xdb\x2e\x0d\xa3\x21\x3c\x33\x12\x2b\x7e\x2d\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x23\xad\xb6\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x20\x62\x46\x8e\x28\x88\x58\x59\x3c\x20\x62\x2b\x20\x62\x35\xf5\xce\x27\x02\x63\x45\x1a\xe6\xa7\xdb\x7d\x9a\xe5\x35\x3a\x15\x7b\x95\x6b\xf8\x64\xc5\x24\xda\xa0\x32\x12\x72\xd3\xe5\xaa\x64\xf2\x16\xae\x3d\x98\xa9\x81\xa7\x81\xa7\x2d\x88\xa7\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x81\xa5\x2d\x8a\xa5\x15\xfb\x10\x34\x7b\x1b\x96\xd4\x86\x00\x74\x10\x74\x10\x74\x70\x19\x23\x0a\x3a\x58\x16\x0f\xe8\xe0\x92\xe9\xa0\x49\xa9\x72\xb3\x65\xc9\xfd\xea\x46\x31\x2a\x47\x56\x87\x12\x80\x6f\x41\x80\x6f\x9e\x84\x39\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\xbd\x91\x56\x5b\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\x3d\xf0\xbd\xcd\xf1\x3d\xd0\x30\xd0\x30\xd0\xb0\x65\x8c\x28\x68\x58\x59\x3c\xa0\x61\x8b\xa4\x61\x7e\xc6\x7d\x74\x9e\x1c\xfd\xfd\x37\x20\x59\xb9\x87\x6c\x01\x97\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x01\x8f\x55\x97\x5b\x03\xd1\x10\xf0\x18\xf0\x18\xf0\x18\xf0\x18\xf0\x18\xf0\x18\xf0\xd8\x12\xf1\x58\xf2\xd6\x94\x05\xa7\x86\x92\x1f\xe2\x07\x16\x59\x32\x10\xaf\x58\x74\xb0\x1e\xd4\xc8\x93\xbd\x22\xf8\xa3\x76\xf4\x06\xa1\x24\x29\x9f\x9e\x20\x47\x7e\x3f\x64\xc9\x81\x0b\x82\x0b\x82\x0b\x82\x0b\x82\x0b\x82\x0b\x96\xb8\xa0\x59\x55\x35\x97\x56\x50\xf3\x88\x2c\x82\x2a\x82\x2a\x2e\x88\x2a\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x82\x28\x2e\x85\x28\xd6\x14\xd4\x3c\x1d\x15\x9a\x42\x09\x81\x47\x81\x47\x81\x47\x81\x47\x8d\x1e\x51\xe0\xd1\xb2\x78\x80\x47\xd7\x84\x47\x93\x33\x02\xe9\xb9\x96\x6b\x44\xf2\x64\x42\x1d\xef\xd4\x13\x3d\xcd\x99\x42\x59\x7a\x10\x24\x52\x02\x79\x2e\x0c\x79\x9e\x39\x91\xb2\xf4\xb9\x00\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x8e\xb4\xda\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x02\x7e\x6e\x0e\x7e\x82\x17\x82\x17\x82\x17\x82\x17\x1a\x3d\xa2\xe0\x85\x65\xf1\x80\x17\xae\x98\x17\x1a\x92\x54\x39\x3e\x33\x9c\x25\xb5\xb2\x09\xa1\x80\x36\x82\x36\x56\xae\x6a\x1c\x6d\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x04\x69\x5c\x16\x69\x2c\xa6\x59\xb6\xb8\x1b\x90\x6c\x59\xff\xce\x80\xa7\x80\xa7\x80\xa7\x80\xa7\x80\xa7\x80\xa7\x9b\x84\xa7\xc8\xaa\xac\x30\xce\x6a\x2e\xe5\x07\x19\xde\x7a\x5e\x86\x3e\x51\x4e\x16\xb4\x73\x49\xb4\x13\xb9\x95\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\x20\x9e\xcb\x23\x9e\xa0\x64\xa0\x64\xa0\x64\xcb\x18\x51\x50\xb2\xb2\x78\x40\xc9\x96\x45\xc9\xee\x45\xcc\x5f\xdf\x0c\xa2\x62\x53\x33\xa0\x3e\xc4\xcd\x11\x71\x59\xd1\xd5\xc3\xdb\xc2\xc3\x1c\x11\x17\x69\x18\xbd\xff\xed\xdd\xc7\xdf\xeb\x4e\x9d\x8b\x7e\x2d\x16\x4a\x15\x04\x49\x55\x5a\xd7\x44\xa6\x68\xa6\x14\xce\xbd\x28\xde\xbf\xef\x87\x96\xb4\x40\xb5\x3c\x1e\x95\x47\xf2\x52\x1b\x13\xe3\xf2\x68\x7d\x4d\x66\x49\xcf\x13\x56\xba\x07\x24\xad\x0a\xde\xa9\x47\x68\xf9\x4e\xf4\xb9\x47\x9f\xca\xbb\xec\x5a\x4d\xd7\x69\x80\x5b\xac\x3a\xbe\x7a\x55\xbc\x97\xf6\x53\x75\x6a\xa6\xcb\x62\xdd\x6f\x93\x4c\xdb\xf7\xf4\xae\xbf\x91\xdc\xa2\x9e\x93\xb6\x7d\xb6\x82\x97\x80\x97\x80\x97\x80\x97\xac\x8d\x97\xb4\x68\xb3\x5d\xcc\xa4\xdd\x32\x6a\xd7\x6a\x4f\x5a\x7b\xff\xa3\x04\x97\x78\x8a\x5e\x51\x34\x96\xa5\x66\x94\x9e\x07\xa5\x77\x2b\xc6\x26\xdc\x0b\x16\x28\x69\x45\xb1\xb0\x77\xec\xd6\x67\xae\xaf\x57\x16\x19\xb2\x83\x9f\x2d\x4e\x36\xb3\xc3\xa7\xdf\x0f\x3e\xb3\xdd\x50\xed\x83\xdf\x44\x36\xe3\xd5\xf2\x49\x7e\xbd\xe4\x93\x4f\xe7\x46\x22\x60\xb6\x3f\x84\xf4\x95\x05\xa1\xb4\x44\x44\x0e\xb8\xc4\x24\x4b\x66\xd9\x8e\xfd\x49\x77\xa4\xd1\xa2\xb9\xf3\x96\x5d\xb3\x5b\xcf\x7b\x4b\xee\x35\x5b\xad\xd2\x07\x5f\x0d\xbc\x32\x6e\xd2\x29\x99\x5c\x4e\xd8\x03\x06\x4a\xbf\xcb\x3c\xc3\x74\x36\xc8\xd5\x4f\x14\xcd\xa0\xeb\x6c\x12\xf9\xa3\x68\xad\xbb\x3e\x8b\xb4\x11\xcd\xee\xc5\x5e\x47\xe3\x64\x0e\xd1\x5c\x95\x48\x56\x2f\x9a\x3a\x07\xa1\x37\x87\x7b\x65\xa7\xfa\xd7\xbe\x70\x38\x4d\xd0\xc4\xde\xde\xb1\x3f\xb2\x0d\x5b\xc3\x91\xec\xd3\x48\x14\x45\xf7\xf1\x51\xd8\x2e\x8f\x85\xf7\x94\x87\xc9\xe4\x5b\xae\xeb\xbd\x4a\xec\x69\x12\x3a\x73\x42\x6e\xd1\x57\xe3\x4a\x3b\x53\x08\xf2\x4d\x9b\x62\x90\xd2\x59\x7a\x88\xd4\x43\x16\x87\x8b\xab\x33\xd3\x17\x4a\x6e\xb2\xd7\x6b\x60\x7a\x89\x9d\x7e\xce\x47\xc1\xfd\xda\x67\x1c\x30\xcc\xf4\xcc\x77\xf4\xc8\x75\x3e\x8a\x0e\x2f\x85\x29\xd3\xff\x14\xbe\xd9\x4f\x2e\xcd\x8c\xf3\x6c\xd3\x1f\xb4\x13\xb4\x13\xb4\x13\xb4\x13\xb4\x73\x32\xda\xd9\x73\x2f\x38\x22\x9e\xe7\xdb\x16\xdf\x17\xb2\x21\x02\x4f\xf0\x48\x64\x4b\xd0\x5d\x28\x03\xee\x90\x76\xa4\xa3\xaf\x4b\xb1\xb5\xe9\xa4\xcb\xd3\x29\xd4\xb4\x7b\xbd\xfb\xe7\x8e\x7d\xd6\xeb\x99\x56\x5d\x02\xe1\xab\x8f\x25\xdf\x53\x05\x93\x61\xf0\xc0\xfd\x34\xd6\x37\x3c\x88\x9b\x3d\xf7\x52\x5b\xf9\xcb\xa5\xfe\xf9\xcb\x25\xdb\xbb\x3e\xf7\xdc\xff\xa6\x1b\xc9\xbd\x60\xdc\x26\x04\x26\x6f\x34\x1e\xb0\x73\x33\x4c\x5f\xfe\x2a\xca\x4f\xd2\xf6\xe9\x8e\xfd\xec\xd2\xe2\x58\x78\x74\x19\x1e\xbf\x5b\x0e\x3c\x63\x6d\x1e\x93\x8d\x22\xe3\x87\x21\x03\xaa\xdf\xe0\x7d\xfa\xee\x8d\x2a\x4f\x1d\x6c\x18\xd7\x30\xa3\x57\x57\x1f\xec\x83\xfc\xce\x1c\x1e\xde\x73\xa7\xe4\x9f\xcc\x8c\x1a\x11\xee\x65\xf8\xa8\xc6\xa4\x56\x5e\xbf\x55\xde\xa8\x59\x5c\xa4\xf4\xa6\x1a\x6b\xa0\x65\xeb\x2a\x6d\xd2\x72\xed\xdc\x14\x26\x5d\x81\x9c\x13\xd9\x18\xab\xcd\x3a\xd9\x49\x53\x6d\x60\x57\x18\xcc\x74\x1f\xc9\x88\x63\x16\xb7\x5e\xbe\xd9\x8e\xdd\x5a\x96\x08\x62\xda\x9b\x8a\x96\xdd\x95\x7e\x87\x2b\x76\x9d\x4c\xc0\xf2\x04\x8d\x7e\x64\x57\x3f\x71\xeb\xab\x13\xca\x83\x6f\xab\xa3\x28\x06\x9c\x0e\xaa\x08\x4e\xab\x90\x89\x7e\x5c\xbe\x48\xfa\x06\xf7\xd9\x95\x7e\x64\x57\x1f\x64\x28\x0a\x97\x65\x16\x8f\x2c\x6e\xab\xb7\x4f\xe4\xa3\x53\x04\xe8\x7a\x91\x36\x3d\x8f\x2e\xb8\xcf\xae\x31\x64\x42\x06\xd5\xe9\x3e\x8f\xc6\xb9\xe2\xd0\x84\x7e\xe3\xd0\x16\x9e\x30\xd7\x28\x20\x50\x61\xb2\xf1\x3d\x0e\x56\x38\x9f\x6f\x63\xce\xb0\x85\x7e\xc2\x6a\x09\x5d\x78\xae\xfe\x53\x0b\xeb\x40\x97\x4f\xc4\x74\x9f\x63\x1e\x1f\xfa\xf2\xb9\x65\x42\xe5\xc2\xb9\x0d\x39\x8f\x7a\x5b\xce\x55\xa6\x33\xa6\x3e\x36\x10\xdf\x6a\xe6\x63\xe5\x9d\x8e\xd3\x1f\x47\xcf\xbb\xd6\x0e\xb3\x30\x31\xb2\x53\xcd\x3e\xad\x48\xdd\x13\x78\xab\x8b\x1c\xe1\xee\xe7\x42\x6e\x64\x71\x6e\x27\x8b\xb3\xdf\x2e\xd3\x95\xc9\x79\x3e\x73\x0c\x31\x0a\x88\x51\x40\x8c\x02\x62\x14\x10\xa3\x50\xb7\xf8\x02\x7e\x2f\x48\x22\xe0\xa1\xe0\xa1\xe0\xa1\xe0\xa1\xe0\xa1\xe0\xa1\xeb\xe2\xa1\x40\x14\x40\x14\x40\x14\x40\x14\x93\x23\x8a\x13\x30\xbe\xa1\x79\x96\xfd\x44\x78\x9c\x6b\xf9\x5c\x8f\x9b\x51\x70\xa7\xf1\x84\x6d\x15\xce\xdc\x15\x90\x46\x42\x24\x76\x45\x5f\xfe\xea\xb3\x13\xbb\x41\xd2\x99\xeb\x66\x8e\x05\x8f\x06\xd4\xce\x5c\x4a\x3d\x8d\x8b\xca\xd8\x5d\x06\x32\x1a\x99\x94\x69\x53\x86\x71\xbf\x2f\x15\xd3\x27\x8c\xce\xc5\x86\x25\x7f\xb6\x34\x2e\x98\x74\xb5\x18\x25\x25\x14\x69\x49\xc5\xa1\x37\x36\x2d\x89\x5c\x16\x9f\xb8\xcf\x1d\x11\x6a\xe7\x9b\x6e\xd3\x11\x45\xd2\x72\xc9\x9a\xcc\xdc\x5c\x9c\xbc\x95\x32\x64\xc2\x8f\x95\x7a\x97\x9a\xd7\x8f\x5c\xcd\x24\x75\x48\x24\x52\x1d\xa9\x98\x7c\x93\x26\xe9\x90\x8e\x48\x2e\x2d\x19\xb2\xd7\x6f\xfe\xa5\x8e\x0d\xb9\x45\x0c\xcb\x93\xbe\xa3\x35\x22\x72\x3b\x59\xd2\x8f\xb9\xeb\xeb\x55\x8a\xdc\x3a\xf9\xb1\xe4\xd7\x4f\x08\x1b\xbb\x7f\xca\x94\x7e\x47\x7a\xdc\x77\x76\x32\x74\x6e\x82\xaf\xce\xcd\xc1\x77\x2d\x69\x8b\x9b\x7f\x7c\x8c\xee\xd4\x55\x06\xfb\x89\x13\xe1\x8c\x39\x3c\x46\xa9\x50\xcb\xd6\x6c\xfa\x6a\x35\x6f\x7a\x68\x35\xef\xb4\xe3\xcb\xc4\x87\x7f\xd3\xf9\xf0\x3a\xec\xd6\xc4\xa7\x5f\xa9\x42\x49\xda\xca\x62\x14\xca\x0b\x36\xb8\x6c\x47\x4d\xa7\xfd\x09\xab\x77\xf4\xd7\xd5\x1a\x4a\x76\xa0\x50\x47\xf1\xee\xd0\xca\x96\xa8\x95\x21\x35\x7a\x43\xa9\xd1\xc8\x01\x43\x0e\x18\x72\xc0\x90\x03\x06\x83\xb2\xe9\x2b\x32\x32\xe1\x62\x1e\xa3\x0c\xf9\x22\xc9\x71\xad\xf9\x22\xcb\xb1\xcb\x32\xe7\xf7\xe8\x59\x22\xa1\xe0\x76\x45\x0f\xeb\x69\x58\xa9\x33\xfb\x9b\x55\x58\x65\xe0\x3b\x39\xf5\x2b\x75\xc4\x82\x5c\x27\xcf\x61\x71\xc5\x6e\xde\xcd\x8f\xb1\xa4\x66\xde\xcb\xa5\x8b\xc4\xf1\x07\x95\x7a\xbe\xa6\x73\x7f\x68\x5f\xc6\x1e\x45\xe8\x88\x5e\x47\x46\x71\xc8\x63\xe1\xb8\xd6\x75\xff\x73\xd4\xdf\x4f\xc9\x91\xb4\x60\xf6\xd9\x02\x02\x1e\xc6\x2e\xa5\xd9\xe8\x98\x93\x61\xdb\x41\x50\x6d\xa9\xba\x42\x24\xda\xa2\x56\xdd\x95\xe3\x3f\x18\x9c\x6f\x2b\x77\xbe\x6d\x07\x89\x56\xa2\xd6\xd3\x8f\x4b\x67\x56\xa8\x05\x27\xcf\xd6\x7d\xd1\xb0\x18\xbd\x24\xd7\x83\x4e\xa7\xe4\x1e\x9d\xe9\x4b\xff\x5a\x9f\x4d\x47\x90\xf7\x2f\x62\x2f\x7e\x89\xa4\x7f\xa7\x93\x56\x3f\xa9\x65\x2f\xf9\xfb\x73\xba\x18\xe6\xff\xf9\xd2\x24\x56\xdb\x7f\xde\x7c\x90\xa1\x45\xee\x51\x47\xd2\xe0\x4b\xf6\xe5\x72\xaf\xfe\xef\xcb\x25\xbb\x2d\x49\x93\x62\x62\xb5\x2f\xf3\x10\xe5\x09\x7a\xd7\xdc\xa2\x01\xa0\xb4\x47\xcf\xb5\x12\xef\x8c\xf0\xec\x88\xc9\xef\xc9\xd8\xea\xb4\xc0\x40\xc8\xc0\x13\x3b\xa6\xef\x49\xd9\xce\xe9\x9c\xa2\xc8\xd4\xda\x81\xc8\x6e\x3f\x44\xbc\xea\x46\xeb\x8d\x23\x84\x35\xb1\x60\x6b\x22\xa8\xc4\x77\x2e\xc6\x9e\x38\x8c\x6e\xf2\x07\x1e\xb7\x06\xaa\x79\xc9\xc9\x2b\x57\xf4\x10\xfb\x06\x45\x6f\x7b\x8a\x9e\x41\xfa\x14\xb6\xfd\xec\x17\xc4\xbe\xf5\x78\xf8\xb5\xea\x2c\x87\x05\x79\x40\x2f\xd8\xe9\xc1\x63\xe5\x76\x4f\xf3\xd4\xc0\x6a\xd1\x76\xda\xca\x5f\x7d\x90\xe1\xad\xe7\xfd\x9b\x3f\x8a\x28\xe0\x86\xf4\x48\x6b\x3c\x01\x89\x4e\xc9\xa8\x21\xc7\x69\xa6\x1c\xa7\x33\x23\x15\x14\x95\x5b\x71\x51\xb9\x6e\x46\xd4\x55\x50\x6e\x78\x2b\xd1\x7e\xfc\x0b\x65\xe4\x50\x46\x0e\x65\xe4\x50\x46\x6e\x6d\x65\xe4\xba\x57\xde\xda\x12\x72\x13\x47\x1b\x9c\xad\x70\x5c\xf7\xeb\x37\x17\x8d\x33\x59\x06\xa7\x94\x8a\xeb\x96\x41\x73\x99\xb8\x89\x65\x80\xe2\x70\x28\x0e\x87\xe2\x70\x28\x0e\x87\xe2\x70\x93\x15\x87\xeb\xb1\xfa\x1f\x15\x86\x6b\x4d\x91\xda\x50\xb0\x61\xbf\xb7\x59\x71\x71\xbb\x6e\x71\xb7\x15\xb6\x3b\xaf\xdc\x51\xce\x6e\x92\x11\x3d\x2e\x65\x37\xf1\xb0\xce\x5a\xc0\xae\x5b\x3c\x2d\xc5\xeb\xa6\x5e\x36\x4d\x2d\x59\xd7\x2d\xb4\x1a\x82\x31\xd8\x9f\x97\xfc\xf5\xd7\x49\xf4\xca\xcf\xa8\x8f\x2e\x7b\x40\x7f\xff\x5d\x0f\xb5\x26\xac\x82\x50\xc8\x0f\x95\xfb\x1e\x38\xab\xa1\x16\xc2\xbb\xec\x32\x19\xcd\xb2\x6b\x2e\x86\xd2\x08\x70\xec\xc2\xb1\x0b\xc7\x2e\x1c\xbb\x2b\x74\xec\x2e\xa1\x3f\x08\x02\x26\x7b\x0f\xd4\x9c\x01\x93\x68\xe3\x82\x42\x3d\x1b\x2e\xd4\x83\x9e\x3d\xc0\x32\xc0\x32\xc0\x32\xc0\x32\xc0\x32\xe8\xd9\x83\xfa\x75\xa8\x5f\x87\xfa\x75\xa8\x5f\x57\x9d\x91\x67\x6d\x4d\xb5\x26\x86\x8a\x06\x61\xeb\x26\xaa\x68\x10\xb6\xa4\x06\x61\xb5\xb0\x0e\x79\xaa\xa8\x49\x39\xb4\x26\x65\xae\x32\x2d\x2b\x45\x6b\x19\xa9\x9b\xa3\xf0\x6d\x64\x9a\x6d\x27\xd3\xac\xdf\x06\xd3\x95\x6d\x76\x3e\x4b\x0c\xe1\x09\x08\x4f\x40\x78\x02\xc2\x13\x10\x9e\x50\xb7\xf8\x82\x7b\x2f\x48\x22\x40\xa1\x40\xa1\x40\xa1\x40\xa1\x40\xa1\x40\xa1\xeb\x42\xa1\xa0\x13\xa0\x13\xa0\x13\xa0\x13\x93\xd3\x89\x13\x08\xbe\xa1\xb9\x60\xfd\x44\x78\x9c\x0f\xb6\xaa\xb2\xe3\x8d\x27\xa0\xaa\x1f\xaa\xfa\x6d\xaa\xaa\x5f\xa2\x3d\xea\x02\xcc\xbe\xcd\xd4\x28\xb1\xc8\x92\x81\x78\xc5\xa2\x83\xf5\xa0\x96\x22\x5a\xea\x05\x7f\xd4\xeb\x54\x10\x4a\xd2\x56\xeb\x32\x4c\xdb\x5b\x29\x11\x27\x2a\xff\x8c\x7e\x4a\x5d\x6f\x93\xfc\x55\xe8\xa7\x24\xa3\x91\xc1\xa0\xb6\xdc\x0a\x1d\xc0\x5b\x20\xa0\x3e\x76\x1a\x0c\xb8\x98\x8a\xf5\x28\x56\xbf\x9d\xdc\x2b\x14\xab\x47\xb1\xfa\x9a\x87\x59\x82\x0e\xb7\xd4\x3a\xf5\x66\x77\x02\x1e\xe1\xc1\x57\xaa\x30\x93\x66\xb2\x04\x85\xf9\x82\x8d\x58\x99\x44\xff\xef\xdf\x67\x2a\x50\xd2\x4b\x49\x6b\xa8\x4a\x82\x5a\x24\xd0\xc9\x56\xa1\x93\x21\xfb\x7b\x43\xd9\xdf\x48\x73\x43\x9a\x1b\xd2\xdc\x90\xe6\x06\x73\xb2\xe9\x2b\x32\x32\xa7\x64\x1e\xe3\x0c\x29\x31\xc9\x71\xad\x29\x31\x8b\x30\xd2\x32\x87\xf7\xe8\x89\x30\xa1\xe0\x76\x45\x05\xeb\xb6\xa9\xd4\x49\x27\x5a\x54\x58\x60\xe0\x3e\xa9\x3b\xb7\xe1\xdb\x74\xc4\x32\xbc\x27\xcf\xc1\x8d\xe4\x3b\x4f\x4c\xd7\xda\x27\xe8\xc3\x11\x4d\x41\x88\x60\xa7\x8b\x63\xa7\x14\x94\xd1\x6b\x33\xa9\xae\xd2\xd7\x74\xee\x0f\xed\x0b\xf6\xa3\x08\x1d\xd1\xeb\xc8\x28\x0e\x79\x2c\x1c\xd7\xba\xee\x7f\x8e\xfa\xfb\x29\x39\x92\xb6\x86\x3e\x9b\x5d\xc0\xc3\xd8\xa5\x9c\x29\x1d\x40\x74\xf2\xc6\x47\xf7\x33\xc9\x97\x38\x15\xf0\x6d\xd1\x1d\xef\xca\xc1\x3c\x0c\x1e\xc6\x95\x7b\x18\xb7\x43\x7d\x2b\x29\x08\xe9\xc7\xa5\xd3\x64\xd4\x82\x93\xa7\x5e\xbf\x68\x58\x8c\x5e\x92\x7f\x45\xe7\xc6\x72\x8f\xce\xf4\xa5\x7f\xad\xcf\xa6\x23\xc8\xc5\x19\xb1\x17\xbf\x44\xd2\xbf\xd3\x19\xc8\x9f\xd4\xb2\x97\xfc\xfd\x39\x5d\x0c\xf3\xff\x7c\x69\x12\x8e\xee\x3f\x6f\x3e\xc8\xd0\x22\x1f\xb0\x23\x69\xf0\x25\xfb\x72\xb9\x57\xff\xf7\xe5\x92\xdd\x96\xa4\x49\x01\xce\xda\x61\x7b\x88\xf2\x6c\xcb\x6b\x6e\xd1\x00\x50\x0e\xab\xe7\x5a\x89\x0b\x4a\x78\x76\xc4\xe4\xf7\x64\x6c\x75\x8e\x67\x20\x64\xe0\x89\x1d\xd3\xf7\xa4\xd4\xf5\x74\x4e\x51\x98\x71\xed\x40\x64\xb7\x1f\x22\x5e\x75\xa3\xf5\x06\x85\xc2\x6e\x5a\xa6\xdd\x14\x54\xe2\x74\x97\x60\x39\x1d\x46\x77\x69\x04\x1e\xb7\x4e\x57\xee\x92\xf3\xb6\xa0\xde\x21\x9e\x0f\x9a\xdd\xa6\x34\x3b\x83\x14\x28\xec\xf3\xd9\x2f\x88\xe7\xdb\x9c\x7e\x72\x58\x86\x5f\xf7\x82\x8d\x1f\x15\x77\x13\x69\xea\x56\x08\x8e\x9b\x06\xe7\xe8\xfb\xa4\x3b\xdb\xf8\x60\x27\xa1\x87\x58\xbe\xb0\x0c\x00\xef\x34\x0e\x0b\xf0\x0e\xf0\x0e\xf0\xce\xac\x78\x67\xf8\x46\xd8\x13\xf4\xd4\xec\x84\x8b\xf4\x07\x00\xf7\xc0\x29\xb0\x3d\xa7\x00\x70\xcf\x98\xf3\x06\xb8\x07\x6e\x20\xd8\x51\xc0\x3d\x73\xe1\x9e\xe7\x78\x3d\x7a\x82\x9f\xb5\xa8\x7b\xc0\x3f\xd0\xf4\x36\xa5\xe9\x19\xa4\x50\x61\xdf\xcf\x7e\x01\xfe\xd9\x9c\xbe\xb2\x46\xfc\x43\xd5\xed\x52\xda\x63\x79\x3c\x2a\x7f\x3a\xe3\x43\x9e\xa4\x12\xb2\x6f\xbb\xdf\x5c\xfb\xc0\xbd\x62\x55\x45\x9e\xd5\x3e\x4f\xde\xfe\x9d\x7a\xa0\x5d\x21\xf1\xf7\x6d\x96\x32\x7c\x45\x17\xba\xca\x1b\x61\x94\x3a\x1b\x64\x4a\x12\x73\xfd\x28\x16\xbc\xe4\xde\xac\xaa\x50\xdf\x6b\xfd\x65\xc5\x47\xf8\xb5\x52\x41\x0e\xe5\x0e\x4d\xcd\x6d\xa4\x6a\x9d\x3f\x7f\x13\xfe\xd6\x8b\x1e\xd2\x38\xce\x53\xf9\x90\x3e\x99\x33\x03\x2b\xb4\x9a\x5a\x71\xab\xa9\x6e\x1a\xd5\xd5\x66\xaa\xd5\xdd\x35\x02\x69\x43\x73\x29\x34\x97\x42\x73\x29\x34\x97\x5a\x5b\x73\xa9\xee\x95\xb7\xb6\xb1\xd4\xc4\x71\x0d\x67\x6b\x27\xd5\xfd\xfa\xcd\xad\xa4\x4c\x96\xc1\x29\x0d\xa4\xba\x65\xd0\xdc\x3c\x6a\x62\x19\xa0\x65\x14\x5a\x46\xa1\x65\x14\x5a\x46\xa1\x65\xd4\x64\x2d\xa3\x7a\xac\xfe\x47\xed\xa2\x5a\x0b\x0a\x6e\x28\xac\xb1\xdf\xdb\xac\xb8\xe5\x55\xb7\xb8\xdb\xda\x5d\x9d\x57\xee\x68\x72\x35\xc9\x88\x1e\x37\xb8\x9a\x78\x58\x67\x6d\x6b\xd5\x2d\x9e\x96\x96\x56\x53\x2f\x9b\xa6\x36\xb2\xea\x16\x5a\x0d\xd1\x18\xec\xcf\x4b\xfe\xfa\xeb\xd9\x94\xac\xa6\x5c\xf8\x44\xb0\xac\x48\xc8\xfc\x74\xcf\x97\x7b\xf6\xd5\xf5\xed\xf1\x49\xd9\xab\x5c\xcd\x27\x53\x26\x51\x09\x95\xa5\x90\xdb\x2f\x57\x25\xbb\xb7\x70\xed\xe7\x71\x36\x30\x36\x30\xb6\xa5\x31\x36\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\x35\xf0\xb5\xe5\xf1\xb5\x9a\xe2\x2f\x35\x2e\x87\x25\x55\x80\x01\x31\x04\x31\x04\x31\x5c\xc6\x88\x82\x18\x96\xc5\x03\x62\xb8\x78\x62\x68\x52\x4a\xdd\xbc\xd9\x74\xbf\xba\x51\xfc\x41\x86\xb7\x9e\x97\xd5\x27\x00\xf4\x03\xf4\x5b\x1c\xf4\x9b\x27\xb1\x0e\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x6f\xcc\xd5\x16\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x0f\xcc\x6f\x73\xcc\x0f\x84\x0c\x84\x0c\x84\x6c\x19\x23\x0a\x42\x56\x16\x0f\x08\xd9\x72\x09\x59\x57\xfb\xb1\xcd\x83\xb3\xa3\x3a\xde\xa8\x45\x09\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x76\x06\xdf\x2f\xda\x8a\x83\x15\x82\x15\x82\x15\x1a\x3d\xa2\x60\x85\x65\xf1\x80\x15\xae\x97\x15\x9a\x55\x91\x73\x91\xc5\x38\x8f\x68\x23\x48\x23\x48\xe3\xd2\x48\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\x23\x28\xe3\xa2\x28\x63\x4d\x31\xce\xd3\xf1\xa1\x29\xe4\x10\xc8\x14\xc8\x14\xc8\x14\xc8\xd4\xe8\x11\x05\x32\x2d\x8b\x07\xc8\xd4\x60\x64\x2a\x6d\x91\xc2\xd2\x41\xdc\x73\x6a\x76\x57\x0b\x6f\x2a\xa3\xec\x88\x98\xb9\xfe\x5e\x86\x8f\xd9\xac\xe6\x4c\x93\x98\x66\x7e\xe9\x88\xf8\xdf\xd2\x16\xb7\x77\x1f\xff\xa7\x7a\xe4\x5c\x9c\x72\xb1\xf8\x30\x13\xe2\xd2\xe1\xa1\xb4\x45\xe1\xe8\x8b\xe2\x1d\x9b\xbf\x9b\x6f\xaf\x97\xfd\xe9\x94\x6c\x7b\xbd\x16\x76\x7f\x37\x7f\xbe\xbe\xbd\xfb\xf8\x7b\xdd\xf1\xf8\x7a\x4e\xff\x7a\x52\x41\x52\x6e\xf6\x0a\x3e\xa2\xff\xfb\xf6\x7a\xd0\x77\x14\x1e\x7c\xa5\x2d\x24\x1d\x72\x8b\x5f\x95\x76\x8f\x8c\x1b\x8b\xa3\xaf\xc9\x2c\xe9\x79\xc2\x4a\x77\x8e\xdf\xf5\x23\x1c\xb5\x93\xad\x7c\x06\xfa\x5c\xfd\x25\xbc\xcb\x2e\xd0\x74\x72\x03\xa3\x67\xd5\xe1\xd3\x6a\xc1\xbd\xb4\x9f\xaa\x33\x2f\xd5\x0b\xea\x7e\x9b\x64\x56\xbe\xa7\x17\xfc\x8d\x84\x15\xf5\x9c\x93\xed\x93\x11\xd8\x17\xd8\x17\xd8\x17\xd8\x77\x6d\xd8\xb7\xc5\x9c\xeb\x42\xbf\xed\xae\x81\x76\xb3\xee\xa4\xb5\xf7\x3f\x4a\x70\x89\xc3\xfb\x15\x55\xac\xb1\xd4\x8c\xd2\xf3\xa0\xf4\x6e\xc5\x10\xab\x7b\xc1\x02\x25\xad\x28\x16\xf6\x8e\xdd\xfa\xcc\xf5\xf5\xca\x22\x43\x76\xf0\xb3\xc5\xc9\x66\x76\xf8\xf4\xfb\xc1\x67\xb6\x1b\xaa\x7d\xf0\x9b\xc8\x66\xbc\x5a\x3e\x09\x4f\x24\x9f\x7c\x3a\x37\x12\x01\xb3\xfd\x21\xa4\xaf\x2c\x08\xa5\x25\x22\xe2\x08\x89\x4f\x22\x99\x65\x3b\xf6\x27\xdd\x91\x46\x8b\xe6\xce\x5b\x76\xcd\x6e\x3d\xef\x2d\x51\x02\x5b\xad\xd2\x07\x5f\x0d\xbc\xb2\xee\xd3\x29\x99\x5c\x4e\xd8\x03\x06\x4a\xbf\xcb\x3c\xc3\x74\x36\x56\xdf\x4f\x14\xcd\xbc\xfe\x6c\x12\xf9\xa3\xe8\xae\x72\x7d\x16\x69\x2f\x12\xbb\x17\x7b\x1d\x54\x98\x71\x9d\x5c\x95\x48\x56\x2f\x9a\x3a\x07\xa1\x37\x87\x7b\xc1\x7c\xe9\x5f\xfb\xc2\xe1\x34\x41\x13\x87\xd3\x8e\xfd\x91\x6d\xd8\x9a\xf1\x66\x9f\x46\xa2\x1d\xba\x8f\x8f\xc2\x76\x79\x2c\xbc\xa7\x3c\xda\x2f\xdf\x72\x5d\xef\x55\xe2\x50\x22\xa1\x33\x27\xe4\x16\x7d\x35\xae\xb4\x33\x85\x20\xdf\xb4\x29\x94\x32\x9d\xa5\x87\x48\x3d\x64\x71\xb8\xb8\x3a\x33\x7d\xa1\xe4\x26\x7b\xbd\x06\xa6\x97\xd8\xe9\xe7\x7c\x14\xdc\xaf\x7d\xc6\x01\xc3\x4c\xcf\x7c\x47\x8f\x5c\xe7\xa4\xeb\x70\xd3\x99\x32\xfd\x4f\x09\xd3\xe8\x27\x97\xe6\x50\x8d\xb3\x4d\x7f\x04\x6d\x20\x68\x03\x41\x1b\x08\xda\x40\xd0\xc6\x64\x41\x1b\x3d\xf7\x82\xa3\xc0\x8d\xf3\x6d\x8b\xef\x0b\x79\x60\x81\x27\x78\x24\xb2\x25\xe8\x2e\x94\x01\x77\x48\x3b\xba\x93\x9e\x6b\x3d\x95\x52\x04\xd2\x49\x97\x27\x92\xa9\x69\xf7\x7a\xf7\xcf\x1d\xfb\xac\xd7\x33\xad\xba\x04\xc2\x57\x1f\x4b\xbe\xa7\x0a\x26\xc3\xe0\x81\xfb\x69\xca\x42\x78\x10\x37\x7b\xee\xa5\xb6\xf2\x97\x4b\xfd\xf3\x97\x4b\xb6\x77\x7d\xee\xb9\xff\x4d\x37\x92\x7b\xc1\xb8\x4d\x0c\x58\xde\x68\x3e\x66\xe7\x66\x98\xbe\xfc\x55\x94\x9f\xa4\xed\xd3\x1d\xfb\xd9\xa5\xc5\xb1\xf0\xe8\x32\x3c\x7e\xb7\x9c\xf8\xc7\xda\x3c\x26\x1b\x45\xc6\x0f\x43\x06\x54\xbf\xc1\xfb\xf4\xdd\x1b\x55\x9e\x3a\xda\x36\xae\x61\x46\xaf\xae\x3e\xd8\x07\xf9\x9d\x39\x3c\xbc\xe7\x4e\xc9\x29\x99\x19\x35\x22\xdc\xcb\xf0\x51\x8d\x49\xad\xbc\x7e\xab\xbc\x51\xb3\xb8\x48\xe9\x4d\x35\xd6\x40\xcb\xd6\x55\xda\xa4\xe5\xda\xb9\x29\x4c\xba\x02\x39\x27\xb2\x31\x8e\x88\xb4\xd1\xaf\xa9\x36\xb0\x2b\x0c\x66\xba\x8f\x64\xc8\x3d\x4b\xbf\x29\xdf\x6c\xc7\x6e\x2d\x4b\x04\x31\xed\x4d\x45\xcb\xee\x4a\xbf\xc3\x15\xbb\x4e\x26\x60\x79\x82\x46\x3f\xb2\xab\x9f\xb8\xf5\xd5\x09\xe5\xc1\xb7\xd5\x51\x94\xca\x42\x07\x55\x04\xa7\x55\xc8\x44\x3f\x2e\x5f\x24\x7d\x83\xfb\xec\x4a\x3f\xb2\xab\x0f\x32\x14\x85\xcb\x32\x8b\x47\x16\xb7\xd5\xdb\x27\xf2\xd1\x99\x4e\x74\xbd\x48\x9b\x9e\x47\x17\xdc\x67\xd7\x18\x32\x21\x83\xea\x74\x9f\x47\xe3\x5c\x71\x6c\x4e\xbf\x71\x68\x8b\xcf\x99\x6b\x14\x10\xa9\x33\xd9\xf8\x1e\x47\xeb\x9c\xcf\xb7\x31\x67\xdc\x4e\x3f\x61\xb5\xc4\xee\x3c\x57\xff\xa9\x25\x74\x80\xc7\x27\x62\xba\xcf\x31\x8f\x0f\x7d\xf9\xdc\x82\x98\x71\xe1\x84\x86\x54\x6d\xbd\x17\xe7\x7a\xd2\x28\x59\xdb\x39\x8e\xae\xcf\xd7\x6e\x00\xbc\xd5\xa4\xed\xb6\x7c\xed\xd1\x4b\x4a\x68\xd7\x58\x98\x98\xd3\xa9\x0e\x9f\x56\x93\xe8\xc9\xb3\xd5\x45\x34\xcd\x7e\x2e\xc3\x46\xae\xf9\x76\x72\xcd\xfb\x6d\x22\x5d\xf9\xe6\xe7\xb3\xb6\x10\x82\x80\x10\x04\x84\x20\x20\x04\x01\x21\x08\x75\x8b\x2f\xd8\xf6\x82\x24\x02\xdc\x09\xdc\x09\xdc\x09\xdc\x09\xdc\x09\xdc\xb9\x2e\xdc\x09\x02\x01\x02\x01\x02\x01\x02\x31\x39\x81\x38\x81\xd2\x1b\x9a\x47\xdc\x4f\x84\xc7\xb9\xc4\xcf\xf5\xb8\x19\xc5\x6e\x1a\x4f\xd8\x56\x79\xdf\x1d\xc1\x8b\x6f\xaf\x77\x45\x07\xfe\x3a\x13\x0a\xbb\xe1\xd0\x68\xcd\x42\xcf\x00\x84\x06\x14\xf0\x5d\x4a\x39\x98\x8b\xca\x80\x5d\x06\x32\x1a\x99\x7e\x69\x4b\x85\xf1\xbe\xa0\x4b\x1f\x3f\x0e\xea\x1a\x96\xae\xd9\x52\x45\x68\xfc\x05\x60\x94\xcc\x4d\x64\x0f\x15\xc7\xdb\xd8\xec\x21\x72\x3d\x7c\xe2\x3e\x77\x44\xa8\x9d\x68\xba\x50\x56\x14\x49\xcb\x25\xab\x30\x73\x57\x71\xf2\x3a\xca\x90\x09\x3f\x56\x6a\x5a\x6a\x26\x3f\xf2\xaf\x4a\x8a\xf1\x83\x88\x44\xaa\xeb\x14\x73\x64\xd2\x5c\x1a\xd2\xf5\xc8\x35\x25\x43\xf6\xfa\xcd\xbf\xd4\xb1\x21\xb7\x88\x45\x79\xd2\x77\xb4\x66\x43\xee\x23\x65\xe7\x73\xd7\xd7\xcb\x11\xb9\x67\xf2\x63\xc9\x3f\x9f\x90\x32\x76\xff\x94\x29\xef\x8e\xf4\xb8\xef\xec\x64\xe8\xdc\x04\x5f\x9d\x9b\x83\xef\x5a\xd2\x16\x37\xff\xf8\x18\xdd\xa9\xab\x0c\xf6\xf7\x26\xc2\x19\x73\x78\x8c\x52\x85\x16\xa8\xa1\xf4\xd5\x4e\xde\xf4\xd0\x4e\xde\x69\xaf\x95\x31\x4f\xfc\xa6\xf3\x89\x75\x1c\xac\x31\x8f\xbc\x26\x15\x90\x54\x0d\xb3\x55\xc0\x0b\x76\x5a\x41\x8c\x9a\x06\x35\x13\xd6\xc5\xe8\xad\x52\x15\x6b\x61\xa0\x02\x46\xf1\xee\xd0\xa3\x96\xa8\x47\x21\xe7\x78\x43\x39\xc7\x48\xae\x42\x72\x15\x92\xab\x90\x5c\x05\x13\xb0\xe9\x2b\x32\x32\x93\x61\x1e\xe3\x0a\x89\x18\x8d\x89\x18\x86\x9b\x5a\x99\x07\x7a\xf4\xf4\x8b\x50\x70\xbb\xa2\x71\xf5\xb4\x9b\xd4\x99\x1d\x56\x13\x16\x11\xb8\x38\x9a\xbf\x3c\x47\x98\xee\xe1\x78\x0e\xe4\x2a\x76\xae\x68\x7e\x82\x25\xb5\xaf\x58\x2e\xb6\x23\xfe\x3d\xa8\xaa\xf1\x35\x9d\xfb\x43\xfb\x2a\xf5\x28\x42\x47\xf4\x3a\x32\x8a\x43\x1e\x0b\xc7\xb5\xae\xfb\x9f\xa3\xfe\x7e\x4a\x8e\xa4\xf5\xb0\xcf\xb2\x1e\xf0\x30\x76\x29\x3d\x45\xc7\x6a\x0c\x5b\xe2\xe9\xa6\x6b\x84\x8d\x2d\x9a\xd0\x5d\x39\x58\x82\xc1\x5f\xb6\x72\x7f\xd9\x76\xb8\x63\x25\xc4\x3b\xfd\xb8\x74\x1a\x82\x5a\x65\xf2\xd4\xd6\x17\x0d\x2b\xd0\x4b\xf2\x16\xe8\xdc\x43\xee\xd1\x99\xbe\xf4\xaf\xf5\xd9\x74\x04\x39\xec\x22\xf6\xe2\x97\x48\xfa\x77\x3a\xc3\xf3\x93\x5a\xeb\x92\xbf\x3f\xa7\x2b\x60\xfe\x9f\x2f\x4d\x02\xa2\xfd\xe7\xcd\x07\x19\x5a\xe4\xd1\x74\x24\x0d\xbe\x64\x5f\x2e\xf7\xea\xff\xbe\x5c\xb2\xdb\x92\x34\x29\x80\x54\xbb\x1f\x0f\x51\x9e\xcd\x76\xcd\x2d\x1a\x00\xca\x11\xf4\x5c\x2b\x71\xa8\x08\xcf\x8e\x98\xfc\x9e\x8c\xad\xce\xa1\x0b\x84\x0c\x3c\xb1\x63\xfa\x9e\x94\x1a\x9c\xce\x29\x0a\xe3\xac\x1d\x88\xec\xf6\x43\xc4\xab\x6e\xb4\xde\xa0\x3b\x58\x08\x8b\xb0\x10\x82\xd1\xfa\xd9\x9f\xc3\x46\x38\x8c\x6e\x9a\x07\x1e\xb7\x06\xaa\x6e\xc9\xc9\x6b\x54\xde\x10\x29\x06\x8d\x6d\x23\x1a\x9b\x41\x8a\x11\xf6\xef\xec\x17\x44\x8a\xad\x57\xe3\x38\x98\xee\x93\xbc\x60\x5d\x51\x57\x94\xee\xd1\xd2\x8c\x68\x74\x86\x90\xa4\x06\xfb\xb6\xfb\xcd\xb5\x0f\xdc\x2b\xa6\x19\xf1\xac\x18\x40\xf1\x95\x77\x85\xb8\x83\xb7\x59\xc4\xc2\x15\x5d\xe8\x2a\xaf\x0c\x53\x2a\xf5\x91\x29\x38\xcc\xf5\xa3\x58\xf0\x92\x8f\xb1\xaa\xfe\x7c\xaf\xf7\x5c\xfd\x5a\x49\xac\x40\xd2\x8f\xa9\x3c\x95\x72\xd6\x7e\xfe\x26\xfc\x4d\x26\x00\xd1\xe0\xad\x3c\x0b\x08\xa5\xd5\x56\x5c\x5a\xad\x9b\xf8\x74\x95\x55\x1b\xde\x30\xb6\x1f\xcd\x42\x31\x35\x14\x53\x43\x31\x35\x14\x53\x5b\x5b\x31\xb5\xee\x95\xb7\xb6\x90\xda\xc4\xb1\x03\x67\x2b\x9f\xd6\xfd\xfa\xcd\xa5\xd3\x4c\x96\xc1\x29\x05\xd3\xba\x65\xd0\x5c\x2c\x6d\x62\x19\xa0\x44\x1a\x4a\xa4\xa1\x44\x1a\x4a\xa4\xa1\x44\xda\x64\x25\xd2\x7a\xac\xfe\x47\xe5\xd1\x5a\xd3\x95\x36\x14\x3a\xd8\xef\x6d\x56\x5c\xe2\xad\x5b\xdc\x6d\xe5\xdd\xce\x2b\x77\x14\x75\x9b\x64\x44\x8f\x0b\xba\x4d\x3c\xac\xb3\x96\x71\xeb\x16\x4f\x4b\x09\xb7\xa9\x97\x4d\x53\x0b\xb7\x75\x0b\xad\x86\x5d\x0c\xf6\xe7\x25\x7f\xfd\x35\x8c\x7c\xd5\x54\x1d\x98\x08\x80\x15\xa9\x97\x9f\x6e\xf4\x75\x8d\x4c\x46\xa1\x5f\xaf\x72\xdd\x9e\xec\x97\x44\x0f\x54\xe6\x41\x6e\xb4\x5c\x95\x8c\xdd\xc2\xb5\x07\xb0\x33\x70\x33\x70\xb3\x45\x70\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\x33\x30\xb3\x85\x30\x33\x14\x10\x39\x65\x7c\x40\x01\x41\x01\x41\x01\x41\x01\x41\x01\xb7\x4e\x01\xef\x45\xcc\x5f\xdf\x0c\xe2\x7d\xb3\xa4\xad\x56\x46\xdb\x11\x71\x59\x69\xd7\x03\xdb\xc2\xeb\x1c\x11\x6b\x5a\x47\x6f\x7e\x7b\xf7\xf1\xf7\xba\x93\x90\xaa\x7b\x22\x49\x2b\x08\x72\x45\x7d\xa8\x68\x8e\x14\xce\xba\x28\xde\xb9\xfb\xb3\x6a\xce\x2a\x9d\xb0\x94\x7f\xa1\xe0\x71\x25\x8f\xb4\xe5\xab\x28\x96\xf5\xa7\x67\x7f\x97\x5d\x05\x55\xfe\x8b\x77\x07\xe3\x01\xe3\x01\xe3\x01\xe3\x59\x39\xe3\xe9\x57\x3d\xa5\x96\xf3\x9c\xad\xb0\x0d\xea\x0f\xf5\x1e\xa8\x39\xeb\x0f\x9d\x0d\xcc\x9d\x50\xf1\xa7\x16\x4c\xa1\xe7\x0c\x7a\xce\x18\x36\xfd\x4f\x61\xb2\x3d\x9b\xfd\x37\x72\xd9\xb3\x4d\x7f\x10\x5a\x10\x5a\x10\x5a\x10\x5a\x10\xda\xc9\x08\x6d\xcf\xbd\xe0\x88\xd2\xa2\x15\x1b\x5a\xb1\xa1\x15\x1b\x5a\xb1\x2d\xa2\x15\x5b\xff\x09\xb9\xe2\xe0\x83\x7e\xe3\xd0\x16\x80\x30\xd7\x28\x20\x14\x61\xb2\xf1\x3d\x0e\x47\x38\x9f\x6f\x63\xce\xc0\x84\x7e\xc2\x6a\x09\x4e\x78\xae\xfe\x53\x8b\xe9\xc0\x92\xb7\xdc\x5e\xb1\x8a\x90\x0b\x67\xb5\xf6\x58\xcc\x95\x25\x93\x32\x34\x2b\x6f\x73\x86\x96\x8b\xda\x49\x16\x26\x86\x75\xaa\xcd\xd7\x25\x8a\xb7\xe0\x6d\x75\x91\x02\xdc\x7e\x2e\xd2\x46\x9e\xe9\x76\xf2\x4c\xfb\xed\x29\x5d\xb9\xa6\xe7\x33\xbe\x10\x91\x80\x88\x04\x44\x24\x20\x22\x01\x11\x09\x75\x8b\x2f\x50\xf7\x82\x24\x02\xfa\x09\xfa\x09\xfa\x09\xfa\x09\xfa\x09\xfa\xb9\x2e\xfa\x09\x20\x01\x20\x01\x20\x01\x20\x31\x39\x90\x38\x01\xda\x1b\x9a\x37\xd9\x4f\x84\xc7\xb9\x93\xab\xea\xc0\xdd\x78\xc2\xb6\x2a\x79\xa6\x8d\x37\xc9\x89\xbf\x3b\x6a\x55\xb8\x55\x60\x64\x5a\xeb\xbb\x4e\x48\x34\xa0\x96\xe7\x52\xaa\x61\x5c\x54\x46\xed\x32\x90\xd1\xc8\x44\x4c\x1b\x2e\x8c\xf7\x85\x5f\xfa\xf8\x11\xf1\x97\x99\x0d\xce\x8f\x17\x05\x74\x39\xdf\x4e\x96\x11\xba\x9c\xa3\xcb\x79\xcd\xc3\x2c\x40\x75\x59\x44\xab\xf3\xe7\x3c\xf6\x9b\xce\xc7\xd6\x91\xb3\x66\x3d\xf7\xea\xb4\x44\x52\x44\x16\xa0\x25\x5e\xb0\x01\xb5\x35\x6a\xfa\x56\x4c\x58\x62\xa3\xb7\xea\x75\x54\x56\x03\xc5\x34\x8a\x77\x87\xaa\xb5\x44\x55\x0b\xe9\xcb\x1b\x4a\x5f\x46\x9e\x16\xf2\xb4\x90\xa7\x85\x3c\x2d\x58\x89\x4d\x5f\x91\x91\x49\x11\xf3\x58\x5d\xc8\xe9\x68\xcf\xe9\x58\x82\xf9\x95\x39\xae\x47\xcf\xe4\x08\x05\xb7\x2b\xba\x57\x4f\x33\x4a\x9d\xd9\xc7\x88\xc2\x9a\x02\x57\x48\x9f\xaf\xd1\x11\x8b\xf0\x84\x3c\x87\x97\xa1\x1e\xfe\xd1\x6b\xce\x46\x00\x89\xac\x0f\x2a\xa9\x7c\x4d\xe7\xfe\xd0\xbe\x68\x3d\x8a\xd0\x11\xbd\x8e\x8c\xe2\x90\xc7\xc2\x71\xad\xeb\xfe\xe7\xa8\xbf\x9f\x92\x23\x69\x79\xec\xb3\xd4\x07\x3c\x8c\x5d\x4a\x7c\xd1\x51\x20\xc3\x96\xfd\x20\x6f\xad\xba\x42\x6e\xd9\xa2\x2c\xdd\x95\x63\x31\x18\x5c\x6a\x2b\x77\xa9\x6d\x87\x5e\x56\x22\xc8\xd3\x8f\x4b\x67\x39\xa8\xa5\x26\xcf\x9c\x7d\xd1\xb0\x0c\xbd\x24\x87\x82\x4e\x6d\xe4\x1e\x9d\xe9\x4b\xff\x5a\x9f\x4d\x47\x90\x4f\x2f\x62\x2f\x7e\x89\xa4\x7f\xa7\x13\x48\x3f\xa9\x05\x2f\xf9\xfb\x73\xba\x0c\xe6\xff\xf9\xd2\x24\xac\xda\x7f\xde\x7c\x90\xa1\x45\x4e\x4f\x47\xd2\xe0\x4b\xf6\xe5\x72\xaf\xfe\xef\xcb\x25\xbb\x2d\x49\x93\xe2\x53\xb5\x87\xf2\x10\xe5\xc9\x72\xd7\xdc\xa2\x01\xa0\x14\x44\xcf\xb5\x12\x9f\x8b\xf0\xec\x88\xc9\xef\xc9\xd8\xea\x14\xbd\x40\xc8\xc0\x13\x3b\xa6\xef\x49\x99\xc7\xe9\x9c\xa2\x28\xd1\xda\x81\xc8\x6e\x3f\x44\xbc\xea\x46\xeb\x8d\xe9\x83\xd5\xb0\x30\xab\x21\x30\xad\x5d\x76\xb7\xdd\x70\x18\xdd\x84\x0f\x3c\x6e\x0d\x54\xe7\x92\x93\x57\xab\xd0\x21\x10\x0d\xaa\xdc\x96\x54\x39\x83\x34\x26\x6c\xec\xd9\x2f\x08\x44\x6b\x78\xec\xf5\xe9\x23\x87\x45\x78\x31\x2f\x58\xaf\x78\x2e\xca\x3f\x69\xe9\x98\x34\x3a\x8e\x48\x72\x95\x7d\xdb\xfd\xe6\xda\x07\xee\x15\xf3\x9e\x78\x56\x9d\xa0\xf8\xf2\xbb\x42\x30\xc3\xdb\x2c\x0c\xe2\x8a\x2e\x74\x95\x97\xaa\x29\xd5\x1e\xc9\x74\x20\xe6\xfa\x51\x2c\x78\xc9\x35\x59\xd5\x90\xbe\xb7\x38\xbc\x7e\xad\x24\x79\x20\x15\xc9\x54\x52\x4b\x99\x74\x3f\x7f\x13\xfe\x76\x33\x92\x68\x04\xb7\x90\x96\x84\xd2\x6f\x2b\x2e\xfd\xd6\xcd\x8d\xba\xca\xbe\x0d\x6f\xe0\xd9\x8f\x89\xa1\xd8\x1b\x8a\xbd\xa1\xd8\x1b\x8a\xbd\xad\xad\xd8\x5b\xf7\xca\x5b\x5b\xe8\x6d\xe2\x08\x84\xb3\x95\x77\xeb\x7e\xfd\xe6\xd2\x6e\x26\xcb\xe0\x94\x82\x6e\xdd\x32\x68\x2e\xe6\x36\xb1\x0c\x50\xc2\x0d\x25\xdc\x50\xc2\x0d\x25\xdc\x50\xc2\x6d\xb2\x12\x6e\x3d\x56\xff\xa3\xf2\x6d\xad\x29\x51\x1b\x0a\x40\xec\xf7\x36\x2b\x2e\x41\xd7\x2d\xee\xb6\xf2\x73\xe7\x95\x3b\x8a\xce\x4d\x32\xa2\xc7\x05\xe7\x26\x1e\xd6\x59\xcb\xcc\x75\x8b\xa7\xa5\xc4\xdc\xd4\xcb\xa6\xa9\x85\xe5\xba\x85\x56\x43\x31\x06\xfb\xf3\x92\xbf\xfe\x7a\x06\x0d\xab\xa9\x71\x30\x11\x14\x2b\x92\x30\x3f\xdd\xed\xeb\x5a\xae\x8c\x42\xc4\x5e\xe5\x0a\x3e\x19\x31\x89\x32\xa8\x6c\x84\xdc\x72\xb9\x2a\x59\xbc\x85\x6b\x0f\xe5\x69\x60\x69\x60\x69\xcb\x61\x69\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\xe0\x68\x4b\xe2\x68\x28\x4d\x72\xca\xf8\x80\x0c\x82\x0c\x82\x0c\x82\x0c\x82\x0c\x6e\x8f\x0c\xea\xf2\x9f\x37\x83\x88\xdf\x2c\x59\xae\x95\x01\x76\xa8\x64\xeb\x5e\x86\x8f\xd9\x84\xe6\x4c\xf3\x88\x66\x68\xe7\x88\x58\xd7\x20\xbd\xbd\xfb\xf8\x3f\xd5\x63\x91\xd3\x7b\x22\x40\xcb\x84\xb8\x70\x7c\xa6\x3f\x85\xc2\xf1\x17\xc5\x7b\xd6\x7e\x36\xdf\x5e\x2f\xfb\xcb\x29\x59\xb8\x7a\x15\xec\xf3\xd9\xfc\xf9\xfa\xf6\xee\xe3\xef\x75\x67\xe0\xe3\x39\xfd\xe3\x49\x05\xb9\x86\x06\x73\xfa\xbb\xf8\xbf\x6f\xaf\x4f\xfd\x8c\xd4\xb6\x17\x05\xdc\x4a\x63\x50\xe8\xef\xbf\x6f\x02\x69\xdb\x6e\x14\x1e\xe8\xa5\xee\x0f\xb6\x23\xe2\xe8\x4c\x1d\x38\x0a\x25\xca\xe5\x9e\xdd\x49\xfb\x7d\xf6\x20\x3f\xd1\x83\xb4\x7c\x29\xfa\x12\xe9\xc7\xf2\x2e\xbb\xd2\xbf\xd3\x37\xb3\x3b\xae\x87\x66\x1d\x40\xa6\x40\xa6\x40\xa6\x40\xa6\x2b\x44\xa6\xfd\x0a\x19\xd5\x62\xd3\xb3\xd5\x98\x42\x29\xb0\xde\x03\x35\x67\x29\xb0\xb3\x71\xee\x13\x8a\x6f\xd5\x72\x5e\xb4\x8e\x42\xeb\x28\xc3\xa6\xff\x29\x21\x0e\xfd\xe4\xd2\x1c\xe6\x70\xb6\xe9\x8f\x80\x07\x04\x3c\x20\xe0\x01\x01\x0f\x08\x78\x98\x2c\xe0\xa1\xe7\x5e\x70\x14\xf4\x80\x8e\x8a\xe8\xa8\x88\x8e\x8a\xe8\xa8\xb8\x88\x8e\x8a\xfd\x27\xe4\x8a\x63\x79\xfa\x8d\x43\x5b\x3c\xcf\x5c\xa3\x80\xc8\x9e\xc9\xc6\xf7\x38\xba\xe7\x7c\xbe\x8d\x39\xe3\x7c\xfa\x09\xab\x25\xd6\xe7\xb9\xfa\x4f\x2d\xbb\x03\x70\xde\x64\x97\xd4\x3a\xce\x5c\x38\xa5\xb5\x45\x6a\xae\x29\x8d\x91\xf2\x1c\x1c\x6f\xbd\x59\xb6\x73\x3b\xe4\xad\x26\x3d\x9f\xb5\x53\xaa\x76\x8f\x85\x89\x49\x9d\xea\xf1\x69\x01\x86\xd3\x68\xb7\xba\x56\xca\xba\x47\x27\xdc\xc8\xe2\xde\x4e\x16\x77\xbf\x2d\xa6\x2b\x93\xfb\x7c\xb6\x18\x02\x14\x10\xa0\x80\x00\x05\x04\x28\x20\x40\xa1\x6e\xf1\x05\xf9\x5e\x90\x44\x00\x43\x01\x43\x01\x43\x01\x43\x01\x43\x01\x43\xd7\x05\x43\xc1\x27\xc0\x27\xc0\x27\xc0\x27\x26\xe7\x13\x27\x30\x7c\x43\xb3\x92\xfb\x89\xf0\x38\x33\x79\x55\x4d\xf3\x1b\x4f\xd8\x56\xc5\xdc\x5d\x12\x79\xf1\xed\xf5\xae\xc6\x93\xbf\xd6\x5c\xc5\x6e\x86\x34\x56\xcb\xc9\xf3\x70\xa3\x01\x75\x72\x13\x9d\x51\xb7\x14\xf7\x6d\xa6\x06\x86\x45\x96\x0c\xc4\x2b\x16\x1d\xac\x07\xb5\x00\xd1\x02\x2f\xf8\xa3\x5e\x9d\x82\x50\x92\x8e\x5a\x57\xe1\xa0\xbd\xba\x0e\x91\xa2\xf2\xcf\x28\xb1\xd3\xf5\x36\xc9\x5f\x7f\xe5\x83\x2c\xa3\x91\xe9\xa0\xb6\xd7\x18\x3f\x11\x04\xea\xd3\x26\x43\x81\xc3\x92\x5d\x5b\x26\xd4\x84\x0b\xe4\x28\x09\xb0\x48\xc2\x2a\x0e\xbc\xb1\x49\x58\xe4\xa3\xf9\xc4\x7d\xee\x88\x50\x7b\x1b\xf5\xe2\x19\x45\xd2\x72\xc9\x7c\xce\xfc\x7a\x9c\xdc\xb3\x32\x64\xc2\x8f\x95\x3e\x9b\xfa\x13\x1e\xf9\x57\x25\xc5\xf8\x41\x44\x22\x55\x0a\x8b\xa9\x46\x69\x4a\x12\x29\xc5\xe4\xc3\x93\x21\x7b\xfd\xe6\x5f\xea\xd8\x90\x5b\x04\xed\x3c\xe9\x3b\x5a\x05\x24\x3f\x9b\x25\xfd\x98\xbb\xbe\x5e\xb1\xc8\x8f\x95\x1f\x4b\x20\x23\x41\x8a\xec\xfe\x29\xb3\x72\x1c\xe9\x71\xdf\xd9\xc9\xd0\xb9\x09\xbe\x3a\x37\x07\xdf\xb5\xa4\x2d\x6e\xfe\xf1\x31\xba\x53\x57\x19\xec\x18\x4f\x84\x33\xe6\xf0\x18\xa5\x33\x2e\x59\x95\xeb\xab\xc6\xbd\xe9\xa1\xc6\xbd\xd3\x7e\x3e\xf3\x1e\xfd\x4d\xe7\xa3\xeb\x00\x63\xf3\x9e\x7d\x5d\xda\x33\xa9\x2a\xa6\x6b\xcf\x17\x6c\x9c\x42\x25\x35\xdd\x74\x26\xac\x57\x72\xaa\xb2\x56\xae\x51\x62\x88\xb2\xb6\x90\xca\x24\x50\xcc\x8a\x83\x6c\xac\x62\x86\x5c\xf0\x0d\xe5\x82\x23\xe9\x0d\x49\x6f\x48\x7a\x43\xd2\x1b\x6c\xca\xa6\xaf\xc8\xc8\x0c\x93\x79\x6c\x33\x24\xc8\xb4\x24\xc8\x18\x6f\xa0\x65\x9e\xef\xd1\xd3\x62\x42\xc1\xed\x8a\xd6\x75\x9a\x55\xa5\x2e\x70\xba\x4d\x85\x25\x06\xfe\x93\x5e\x1f\x68\x65\xe2\x98\xfd\x75\x0e\x80\x8f\xc5\xc6\x1d\x9d\x0f\xb2\xa4\xfe\x1d\xa0\xaa\x8b\xa3\xaa\x14\xa4\x31\xa8\x9c\xf7\x35\x9d\xfb\x43\xfb\x92\xfd\x28\x42\x47\xf4\x3a\x32\x8a\x43\x1e\x0b\xc7\xb5\xae\xfb\x9f\xa3\xfe\x7e\x4a\x8e\xa4\xcd\xa1\xcf\xee\x17\xf0\x30\x76\x29\x87\x4a\x07\x14\x3d\x6b\x27\xa4\x7b\x1b\xe6\x5e\x9c\x8a\x05\xb7\xa8\x93\x77\xe5\x58\x1f\x06\xa7\xe3\xca\x9d\x8e\xdb\xa1\xc1\x95\x0c\x85\xf4\xe3\xd2\x59\x34\x6a\xfd\xc9\x33\xb3\x5f\x34\xac\x4d\x2f\xc9\xe5\xa2\x53\x67\xb9\x47\x67\xfa\xd2\xbf\xd6\x67\xd3\x11\xe4\xf5\x8c\xd8\x8b\x5f\x22\xe9\xdf\xe9\x04\xe5\x4f\x6a\x15\x4c\xfe\xfe\x9c\xae\x8d\xf9\x7f\xbe\x34\x09\x53\xf7\x9f\x37\x1f\x64\x68\x91\x5b\xd8\x91\x34\xf8\x92\x7d\xb9\xdc\xab\xff\xfb\x72\xc9\x6e\x4b\xd2\xa4\xf8\x67\xed\xc3\x3d\x44\x79\x32\xe6\x35\xb7\x68\x00\x28\xc5\xd5\x73\xad\xc4\x2b\x25\x3c\x3b\x62\xf2\x7b\x32\xb6\x3a\x05\x34\x10\x32\xf0\xc4\x8e\xe9\x7b\x52\x66\x7b\x3a\xa7\x28\x0a\xb9\x76\x20\xb2\xdb\x0f\x11\xaf\xba\xd1\x7a\x63\x46\x61\x48\x2d\xcd\x90\x0a\x2a\x01\xbc\xa6\x9b\x52\x87\xd1\x1d\x1d\x81\xc7\xad\xe7\x69\x78\xc9\x35\x36\xa2\xe3\x21\xde\x0f\x1a\xde\xd6\x34\x3c\x83\x14\x29\xec\xf7\xd9\x2f\x88\xf7\xeb\x78\xf4\x95\xa9\x2a\x07\xf3\x7d\xbe\x17\x6c\xd4\x90\xb9\x9b\x48\x43\xb8\x21\xbd\xf5\x4e\x42\x3d\xfa\x3e\xe9\x6e\x36\x39\xf4\x49\xd8\x22\x56\x30\x2c\x03\x40\x3f\x40\x3f\x40\x3f\x40\x3f\xa6\xa2\x9f\x71\x76\xc6\xfe\x10\xa8\x66\x6b\x5c\xa4\x9b\x00\x28\x08\x8e\x82\xed\x39\x0a\x80\x82\xc6\x9c\x37\x40\x41\x70\x0d\xc1\xb0\x02\x0a\x3a\x2f\x0a\x1a\xcb\x17\xd2\x1f\x0a\xad\x45\xe7\x03\x1a\x82\xc6\xb7\x35\x8d\xcf\x20\xc5\x0a\xfb\x7f\xf6\x0b\xd0\x50\xc7\xa3\xaf\x4c\x75\x59\x3a\x1a\xaa\x63\x40\x93\x52\x9f\xa9\xfa\xde\xd4\x9c\xf9\x41\x86\xb7\x9e\x97\x29\x40\x46\x60\x9f\xc6\x13\x50\xdc\x30\x46\x71\xc3\xf5\x17\x37\x44\xfb\xa8\x15\xb7\x8f\xea\xa6\x46\x5d\xad\xa3\x5a\xfd\x50\x23\x10\x31\x34\x8c\x42\xc3\x28\x34\x8c\x42\xc3\xa8\xb5\x35\x8c\xea\x5e\x79\x6b\x9b\x45\x4d\x1c\x7f\x70\xb6\x16\x51\xdd\xaf\xdf\xdc\x1e\xca\x64\x19\x9c\xd2\x14\xaa\x5b\x06\xcd\x0d\xa1\x26\x96\x01\xda\x40\xa1\x0d\x14\xda\x40\xa1\x0d\x14\xda\x40\x4d\xd6\x06\xaa\xc7\xea\x7f\xd4\x02\xaa\xb5\x30\xe0\x86\xc2\x0f\xfb\xbd\xcd\x8a\xdb\x58\x75\x8b\xbb\xad\x85\xd5\x79\xe5\x8e\xc6\x55\x93\x8c\xe8\x71\xd3\xaa\x89\x87\x75\xd6\x56\x55\xdd\xe2\x69\x69\x53\x35\xf5\xb2\x69\x6a\x73\xaa\x6e\xa1\xd5\x70\x8b\xc1\xfe\xbc\xe4\xaf\xbf\x5a\xe9\x15\xdd\xf0\x94\xf4\xa6\x49\xd1\x56\xa2\x09\xfa\xb6\xfb\xcd\xb5\x0f\xdc\x2b\x8e\x1f\xcf\xac\xbd\x1a\xf7\xfb\xae\x50\xfa\xf6\x6d\xa6\x98\x5f\xd1\xf5\xae\x72\x2f\x5f\xc9\x6d\x93\xa1\x30\xe6\xfa\x51\x2c\x78\x69\x07\xad\x82\xb2\xef\xbd\xa3\xc0\x7f\xad\x00\x08\x70\x32\x53\xab\x7c\xd2\x32\xf1\xb3\xb2\x04\xb7\x89\xca\x68\xf8\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\xc0\xcb\x16\xc5\xcb\x50\xa7\x04\xa0\x10\xa0\x10\xa0\xd0\xe8\x11\x05\x28\x2c\x8b\x07\xa0\x70\x95\xa0\xb0\xa6\x75\xf0\x44\xbc\xb0\x08\x09\xfd\x54\xf3\x69\xc9\x87\x1b\x05\x16\xbe\xca\x6d\x1e\xb2\xeb\x12\xfd\x58\x99\x4d\xb9\x31\x77\x55\x72\x02\x14\xae\x3d\x0e\x6a\x04\x66\x04\x66\x5c\x08\x66\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x5c\x0c\x62\x44\x8f\x07\xb0\xd3\xca\xbb\x82\x9d\x1a\x4a\xda\xc0\x4e\xc1\x4e\xc1\x4e\xc1\x4e\x2b\x42\x9b\x89\x9d\x22\x9b\xb2\x1e\x71\x36\xe4\x50\xa2\xf6\x68\x75\x78\x01\x3b\x17\x02\x3b\x91\x53\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\x09\xe0\xb9\x28\xe0\x09\x3c\x06\x3c\x06\x3c\xb6\x8c\x11\x05\x1e\x2b\x8b\x07\x78\x6c\x01\x78\xec\x5e\xc4\xfc\xf5\xcd\x20\x12\x36\x4b\x27\xcc\xca\x40\x3b\x22\x2e\x6b\xb7\x7a\x4c\x5b\xe8\x97\x23\xb2\x9e\x7b\xf4\xee\xb7\x77\x1f\x7f\xaf\x3b\x0d\xfd\x3f\x4f\x84\x4f\x05\x41\xae\xaa\x01\x1e\xcd\x92\xc2\x79\x17\xc5\x7b\xb7\x7e\x55\x03\x0b\xfb\x6a\x5b\x62\x5c\x1a\xad\xaf\xc9\x2c\xe9\x79\xc2\x4a\xb7\x80\xd3\xba\x55\xea\x4b\x94\xbe\x9d\x77\xd9\xe5\xfa\x67\xca\x4e\xda\xa0\x7b\x92\x89\xfd\x9e\x5e\xfc\x37\x7a\xa1\x68\x94\x66\xdc\x40\x28\x40\x28\x40\x28\x40\x28\x6b\x43\x28\xfd\xda\xb8\xd7\x62\x94\xb3\x75\xd8\xff\x8f\x12\x5c\xe2\x3c\x7a\x45\xf1\x59\x96\x9a\x51\x7a\x1e\x94\xde\xad\x18\xae\x70\x2f\x58\xa0\xa4\x15\xc5\xc2\xde\xb1\x5b\x9f\xb9\xbe\x5e\x59\x64\xc8\x0e\x7e\xb6\x38\xd9\xcc\x0e\x9f\x7e\x3f\xf8\xcc\x76\x43\xb5\x31\x7e\x13\xd9\x8c\x57\xcb\x27\xb9\xfa\x92\x4f\x3e\x9d\x1b\x89\x80\xd9\xfe\x10\xd2\x57\x16\x84\xd2\x12\x11\xf9\xe4\x12\x2b\x2d\x99\x65\x3b\xf6\x27\xdd\x91\x46\x8b\xe6\xce\x5b\x76\xcd\x6e\x3d\xef\x2d\x79\xdc\x6c\xb5\x4a\x1f\x7c\x35\xf0\xca\xde\x49\xa7\x64\x72\xb9\xe3\x46\xea\x3d\x06\x4a\xbf\xcb\x3c\xc3\x74\x36\xee\xd5\x4f\x14\xcd\xec\xeb\x6c\x12\xf9\xa3\x68\xc0\xbb\x3e\x8b\xb4\x5d\xcd\xee\xc5\x5e\x07\xe8\x64\x3e\xd2\x5c\x95\x48\x56\x2f\x9a\x3a\x07\xa1\x37\x87\x7b\x65\xba\xfa\xd7\xbe\x70\x38\x4d\xd0\xc4\x04\xdf\xb1\x3f\xb2\x0d\x5b\xf3\x92\xec\xd3\x48\x94\x47\xf7\xf1\x51\xd8\x2e\x8f\x85\xf7\x94\x47\xce\xe4\x5b\xae\xeb\xbd\x4a\x4c\x6c\x12\x3a\x73\x42\x6e\xd1\x57\xe3\x4a\x3b\x53\x08\xf2\x4d\x9b\xc2\x92\xd2\x59\x7a\x88\xd4\x43\x16\x87\x8b\xab\x33\xd3\x17\x4a\x6e\xb2\xd7\x6b\x60\x7a\x89\x9d\x7e\xce\x47\xc1\xfd\xda\x67\x1c\x30\xcc\xf4\xcc\x77\xf4\xc8\x75\x6e\x8b\x0e\xc7\x85\x29\xd3\xff\x14\xe4\xd9\x4f\x2e\xcd\xd8\xf3\x6c\xd3\x1f\x00\x14\x00\x14\x00\x14\x00\x14\x00\x74\x32\x00\xda\x73\x2f\x38\x82\xa0\xe7\xdb\x16\xdf\x17\x32\x23\x02\x4f\xf0\x48\x64\x4b\xd0\x5d\x28\x03\xee\x90\x76\xa4\x7d\x54\xa5\x70\xdb\x74\xd2\xe5\xa9\x15\x6a\xda\xbd\xde\xfd\x73\xc7\x3e\xeb\xf5\x4c\xab\x2e\x81\xf0\xd5\xc7\x92\xef\xa9\x82\xc9\x30\x78\xe0\x7e\x1a\xfe\x1b\x1e\xc4\xcd\x9e\x7b\xa9\xad\xfc\xe5\x52\xff\xfc\xe5\x92\xed\x5d\x9f\x7b\xee\x7f\xd3\x8d\xe4\x5e\x30\x6e\x13\x15\x93\x37\x9a\x18\xd8\xb9\x19\xa6\x2f\x7f\x15\xe5\x27\x69\xfb\x74\xc7\x7e\x76\x69\x71\x2c\x3c\xba\x0c\x8f\xdf\x2d\x67\xa0\xb1\x36\x8f\xc9\x46\x91\xf1\xc3\x90\x01\xd5\x6f\xf0\x3e\x7d\xf7\x46\x95\xa7\x8e\x3f\x8c\x6b\x98\xd1\xab\xab\x0f\xf6\x41\x7e\x67\x0e\x0f\xef\xb9\x53\xf2\x59\x66\x46\x8d\x08\xf7\x32\x7c\x54\x63\x52\x2b\xaf\xdf\x2a\x6f\xd4\x2c\x2e\x52\x7a\x53\x8d\x55\xbb\x6f\xd5\xf7\x61\x0b\xcb\xb5\x73\x53\x98\x74\x05\x72\x4e\x64\x63\xac\x36\xeb\x64\x27\x4d\xb5\x81\x5d\x61\x30\xd3\x7d\x24\x83\x90\x59\x28\x7b\xf9\x66\x3b\x76\x6b\x59\x22\x88\x69\x6f\x2a\x5a\x76\x57\xfa\x1d\xae\xd8\x75\x32\x01\xcb\x13\x34\xfa\x91\x5d\xfd\xc4\xad\xaf\x4e\x28\x0f\xbe\xad\x8e\xa2\xb0\x70\x3a\xa8\x22\x38\xad\x42\x26\xfa\x71\xf9\x22\xe9\x1b\xdc\x67\x57\xfa\x91\x5d\x7d\x90\xa1\x28\x5c\x96\x59\x3c\xb2\xb8\xad\xde\x3e\x91\x8f\xce\x1a\xa0\xeb\x45\xda\xf4\x3c\xba\xe0\x3e\xbb\xc6\x90\x09\x19\x54\xa7\xfb\x3c\x1a\xe7\x8a\xa3\x15\xfa\x8d\x43\x5b\xc4\xc2\x5c\xa3\x80\xd8\x85\xc9\xc6\xf7\x38\x7e\xe1\x7c\xbe\x8d\x39\x23\x19\xfa\x09\xab\x25\x9a\xe1\xb9\xfa\x4f\x2d\xc0\x03\x7f\x3e\x11\xd3\x7d\x8e\x79\x7c\xe8\xcb\xe7\x96\x87\x9d\x0b\xe7\x35\x64\x3f\xea\x2d\x39\x57\x97\xcc\x4a\x82\xac\xbc\xcf\x71\x26\xe4\xe8\x19\xd8\xda\x51\x16\x26\xc6\x75\xaa\xd1\xb7\x94\xa6\x6e\x81\xdf\xea\x5a\x25\xf4\x3d\x3a\xf0\x46\x92\xe7\x76\x92\x3c\xfb\xed\x38\x5d\x89\x9e\xe7\x33\xcd\x10\xaf\x80\x78\x05\xc4\x2b\x20\x5e\x01\xf1\x0a\x75\x8b\x2f\x40\xf8\x82\x24\x02\x36\x0a\x36\x0a\x36\x0a\x36\x0a\x36\x0a\x36\xba\x2e\x36\x0a\x5c\x01\x5c\x01\x5c\x01\x5c\x31\x39\xae\x38\x01\xe9\x1b\x9a\x86\xd9\x4f\x84\xc7\xa9\x98\xcf\xf5\xb8\x19\x05\x7a\x1a\x4f\xd8\x56\x39\xcd\x5d\x12\x88\x91\x10\x8a\x5d\x43\x41\xd4\x0d\x73\x25\xf3\x0a\x6a\x76\xb2\xa4\x01\x55\x35\x51\x81\xdf\xf0\x12\x23\xc9\x5f\x7f\xe5\x83\x2c\xa3\x91\x89\xa1\x36\xdf\x18\x3f\x11\x0e\xea\xd3\xa6\xc5\x83\xc3\xf2\x61\x5b\x66\xd5\xd4\x8b\xe6\x28\x89\xb2\x48\xd6\x2a\x8e\xbe\xb1\xc9\x5a\xe4\xbc\xf9\xc4\x7d\xee\x88\x50\xbb\x21\xf5\x32\x1a\x45\xd2\x72\xc9\xae\xce\x1c\x7e\x9c\xfc\xb6\x32\x64\xc2\x8f\x95\xa2\x9b\x3a\x1a\x1e\xf9\x57\x25\xc5\xf8\x41\x44\x22\xd5\x16\x8b\x29\x49\x69\xea\x12\x69\xcb\xe4\xdc\x93\x21\x7b\xfd\xe6\x5f\xea\xd8\x90\x5b\x44\xf3\x3c\xe9\x3b\x5a\x37\x24\x07\x9c\x25\xfd\x98\xbb\xbe\x5e\xbb\xc8\xc1\x95\x1f\x4b\x84\x23\x61\x8d\xec\xfe\x29\x33\x7f\x1c\xe9\x71\xdf\xd9\xc9\xd0\xb9\x09\xbe\x3a\x37\x07\xdf\xb5\xa4\x2d\x6e\xfe\xf1\x31\xba\x53\x57\x19\xec\x31\x4f\x84\x33\xe6\xf0\x18\xa5\x4c\x2e\x5e\xc7\xeb\xab\xdf\xbd\xe9\xa1\xdf\xbd\xd3\x5e\x40\x43\x9f\xff\x4d\xe7\xf3\xeb\x90\x64\x43\x5f\x60\x85\x0a\x36\x29\x32\x8b\x50\xb0\x2f\xd8\x88\x35\x4f\xf4\x01\x7f\x9f\xa9\xf4\xc9\xa9\x4a\x5d\x4d\xb9\x13\x43\x94\xba\x85\x14\x39\x81\xee\x56\x1c\x64\x63\x75\x37\xa4\x95\x6f\x28\xad\x1c\xf9\x73\xc8\x9f\x43\xfe\x1c\xf2\xe7\x60\x76\x36\x7d\x45\x46\x26\xab\xcc\x63\xb4\x21\xd7\xa6\x2b\xd7\x66\x19\x46\x5b\xe6\x30\x1f\x3d\xc3\x26\x14\xdc\xae\xe8\x5f\xa7\x19\x59\xea\x02\x03\x4d\x2c\xac\x38\xf0\xb3\x9c\xf8\xd1\x56\xa6\xd0\x02\xbe\xd8\x01\x1c\x13\x2d\xd2\x01\x68\x2b\xef\x3a\x1b\xa0\xa5\xf0\x8f\x41\xb5\xc4\xaf\xe9\xdc\x1f\xda\x57\xf0\x47\x11\x3a\xa2\xd7\x91\x51\x1c\xf2\x58\x38\xae\x75\xdd\xff\x1c\xf5\xf7\x53\x72\x24\xed\x15\x7d\x76\xc4\x80\x87\xb1\x4b\xd9\x59\x3a\x54\xe9\x59\xbb\x63\x50\x6c\xd4\x6b\x92\x07\x72\x2a\xac\xdc\xa2\x71\xde\x95\x43\x89\x18\xfc\x92\x2b\xf7\x4b\x6e\x87\x29\x57\x12\x20\xd2\x8f\x4b\x27\xe9\xa8\x45\x28\x4f\xfc\x7e\xd1\xb0\x40\xbd\x24\xaf\x8c\xce\xcc\xe5\x1e\x9d\xe9\x4b\xff\x5a\x9f\x4d\x47\x90\x63\x34\x62\x2f\x7e\x89\xa4\x7f\xa7\xf3\x9f\x3f\xa9\xa5\x30\xf9\xfb\x73\xba\x40\xe6\xff\xf9\xd2\x24\xd8\xdd\x7f\xde\x7c\x90\xa1\x45\x9e\x63\x47\xd2\xe0\x4b\xf6\xe5\x72\xaf\xfe\xef\xcb\x25\xbb\x2d\x49\x93\xc2\xab\xb5\x9b\xf7\x10\xe5\xb9\x9e\xd7\xdc\xa2\x01\xa0\x0c\x5a\xcf\xb5\x12\xc7\x95\xf0\xec\x88\xc9\xef\xc9\xd8\xea\x0c\xd3\x40\xc8\xc0\x13\x3b\xa6\xef\x49\x89\xf3\xe9\x9c\xa2\x20\xe7\xda\x81\xc8\x6e\x3f\x44\xbc\xea\x46\xeb\x0d\x49\x85\x71\xb5\x5c\xe3\x2a\xa8\x44\x0a\x2f\xc2\xbc\x3a\x8c\xee\x10\x09\x3c\x6e\x3d\x4f\xeb\x4b\xae\xb1\x25\xbd\x0f\xe1\x84\x50\xfd\x36\xa9\xfa\x19\xa4\x61\x41\x11\xc8\x7e\x41\x38\xe1\xa6\x15\x99\xc3\x42\xbc\xc4\x17\x6c\xfc\x60\xbc\x9b\x48\x93\xbd\x21\xfd\x00\x4f\xa2\x46\xfa\x3e\xe9\x36\x77\x1e\x7e\x94\x50\x4b\xac\x6f\x58\x1f\x40\x91\x40\x91\x40\x91\x40\x91\x16\x42\x91\xc6\xd9\x2d\x4f\xe4\x49\x35\xdb\xe5\x22\xbd\x0b\xa0\x4a\x70\x2d\x6c\xcf\xb5\x00\xaa\x34\xe6\xbc\x01\x55\x82\x33\x09\xc6\x56\xfa\xdf\xa0\x4a\xb3\x50\xa5\xb1\x7c\x26\x27\xf2\xa5\xb5\xe8\x81\xa0\x4c\x50\x05\x37\xa9\x0a\x1a\xa4\x71\x41\x31\xc8\x7e\x01\x65\xda\xb4\x62\xb3\x1e\xca\x54\x87\x93\x26\x05\x48\x93\x36\xf6\xa9\x39\xfd\x83\x0c\x6f\x3d\x2f\xd3\x91\x8c\x20\x48\x8d\x27\xa0\x7a\x23\xaa\x37\x6e\xaf\x7a\x23\xda\x65\xad\xb8\x5d\x56\x37\x80\xea\x6a\x95\xd5\xea\xcd\x1a\x01\xae\xa1\x41\x16\x1a\x64\xa1\x41\x16\x1a\x64\xad\xad\x41\x56\xf7\xca\x5b\xdb\x1c\x6b\xe2\x50\x86\xb3\xb5\xc4\xea\x7e\xfd\xe6\x76\x58\x26\xcb\xe0\x94\x26\x58\xdd\x32\x68\x6e\x80\x35\xb1\x0c\xd0\xf6\x0a\x6d\xaf\xd0\xf6\x0a\x6d\xaf\xd0\xf6\x6a\xb2\xb6\x57\x3d\x56\xff\xa3\x96\x57\xad\xc5\x0c\x37\x14\xc9\xd8\xef\x6d\x56\xdc\xb6\xab\x5b\xdc\x6d\x2d\xbb\xce\x2b\x77\x34\xea\x9a\x64\x44\x8f\x9b\x74\x4d\x3c\xac\xb3\xb6\xe6\xea\x16\x4f\x4b\x5b\xae\xa9\x97\x4d\x53\x9b\x71\x75\x0b\xad\x06\x63\x0c\xf6\xe7\x25\x7f\xfd\xd5\x0b\x6b\x45\xc2\x3a\x84\x6e\xfc\x44\xbf\xb8\x25\xda\x31\x65\xa9\xf2\x42\xc5\x56\xb9\x67\x77\x54\x34\x98\x9e\xe3\xa8\x9a\x67\x8f\xa2\xe5\xef\xb2\x8b\xb5\x5e\x08\x25\xcb\xe1\xc6\x85\x1b\x17\x6e\x5c\xb8\x71\x57\xe8\xc6\xed\x17\xf3\x55\xeb\xca\x3d\x5b\x38\x1e\xa2\x26\x7b\x0f\xd4\x9c\x51\x93\x67\xf3\xbd\x9f\x10\xa7\x58\xeb\x7b\x46\x03\x0d\x34\xd0\x30\x6c\xfa\x9f\x82\x5d\x7a\xf6\x9b\x6f\x44\x2f\x67\x9b\xfe\x80\x30\x80\x30\x80\x30\x80\x30\x80\x30\x93\x41\x98\x9e\x7b\xc1\x11\x88\x41\x5f\x29\xf4\x95\x42\x5f\x29\xf4\x95\x5a\x44\x5f\xa9\xfe\x13\x72\xc5\xc4\xb4\xdf\x38\xb4\x51\xd3\xb9\x46\x01\xfc\x74\xb2\xf1\x3d\x66\xa8\xe7\xf3\x6d\xcc\x49\x53\xfb\x09\xab\x85\xa8\x3e\x57\xff\xa9\x45\x76\x48\x56\x45\xaf\xb8\x21\xbd\xe2\x72\x75\xe9\x0c\xd9\x58\x8d\x9c\x77\xfe\x9e\x71\x9d\xc9\x9b\xbd\x61\x77\x5d\xea\xe6\xf3\x01\x37\x12\xcb\xb6\x93\x58\xd6\x6f\x87\xe9\x4a\x2e\x3b\x9f\x29\x86\xf8\x04\xc4\x27\x20\x3e\x01\xf1\x09\x88\x4f\xa8\x5b\x7c\x01\xbe\x17\x24\x11\xb0\x50\xb0\x50\xb0\x50\xb0\x50\xb0\x50\xb0\xd0\x75\xb1\x50\xe0\x09\xe0\x09\xe0\x09\xe0\x89\xc9\xf1\xc4\x09\x08\xdf\xd0\xd4\xaf\x7e\x22\x3c\x4e\xff\x5a\x55\x79\xf2\xc6\x13\x36\x5f\xc9\xaf\xec\xcc\x47\x1d\xbf\x73\xd4\xf1\x1b\x8f\x1c\x0d\xa8\xe2\xb7\x94\xcc\xfe\x8b\xca\xa8\x5d\x06\x32\x1a\x19\x93\x69\x0b\x86\xf1\x93\x88\x98\x3e\x69\x7c\x26\x66\x7c\x1d\xf7\xca\x2b\xf6\x5b\x25\x90\x8f\xb4\x82\x7c\x24\x54\x71\x47\x15\xf7\x9a\x87\x59\x8e\x5a\xb3\xb4\x1a\xee\x43\x9f\xfe\x4d\xe7\xd3\xeb\x88\x5b\x23\x1f\x7f\x85\xfa\x24\xa9\x2c\x0b\xd0\x27\x2f\xd8\x80\x42\x1d\x49\x37\xe3\x33\xd5\xeb\x38\x4d\x49\xab\xa9\xd1\x81\xca\x1c\xd0\xc6\x56\xa1\x8d\x21\x17\x7a\x43\xb9\xd0\x48\xfa\x42\xd2\x17\x92\xbe\x90\xf4\x05\x43\xb2\xe9\x2b\x32\xd4\x90\x84\x29\x66\x96\x29\x96\x98\x26\x0b\x30\xc6\x32\x87\xf7\xe8\x69\x21\xa1\xe0\x76\x45\xfb\x3a\xc5\xa8\x52\xa7\x9f\x60\x52\x61\x85\xc1\x27\x7a\xd2\x27\x5a\x69\x22\x67\xfc\xf7\x39\x00\xbe\x91\xdf\x3c\x31\x5e\x3b\x9e\xc5\x4d\x7b\x33\x3f\xd4\xb3\x36\xfa\xb7\xf4\x4b\x0b\x0b\x9a\xb8\x20\xf0\x72\x99\x22\x41\xfb\x5e\x8b\x6c\x75\xdd\xd2\xed\xfb\x7f\x68\x5f\xc2\x1e\x45\xe8\x88\x5e\x47\x46\x69\x1b\xff\xeb\xfe\xe7\x50\x6f\xfa\xe4\x48\x5a\x2c\xfb\x6c\x02\x01\x0f\x63\x97\x72\x6a\x74\x80\xc9\x33\x36\x04\xba\xb3\x29\x4e\xb6\xa9\x48\x68\x8b\x0b\xee\xae\x1c\xf2\xc1\xe0\x7a\x5b\xb9\xeb\x6d\x3b\x20\xb4\x12\xa8\x9e\x7e\x5c\x3a\x99\x42\x2d\x3b\x79\x82\xee\x8b\x86\x25\xe9\x25\x39\x1e\x74\x06\x25\xf7\xe8\x4c\x5f\xfa\xd7\xfa\x6c\x3a\x82\x7c\x7f\x11\x7b\xf1\x4b\x24\xfd\x3b\x9d\xa7\xfa\x49\x2d\x7e\xc9\xdf\x9f\xd3\x25\x31\xff\xcf\x97\x26\x11\xda\xfe\xf3\xe6\x83\x0c\x2d\x72\x8e\x3a\x92\x06\x5f\xb2\x2f\x97\x7b\xf5\x7f\x5f\x2e\xd9\x6d\x49\x9a\x14\x06\xab\x3d\x99\x87\x28\xcf\xc9\xbb\xe6\x16\x0d\x00\x65\x3a\x7a\xae\x95\xf8\x66\x84\x67\x47\x4c\x7e\x4f\xc6\x56\x67\x02\x06\x42\x06\x9e\xd8\x31\x7d\x4f\x4a\x70\x4e\xe7\x14\x05\xa3\xd6\x0e\x44\x76\xfb\x21\xe2\x55\x37\x5a\x6f\xe8\x20\xec\x89\xa5\xda\x13\x41\x25\x9e\x73\x01\x16\xc5\x61\x74\x8b\x3f\xf0\xb8\xf5\x1c\x1d\x2f\xb9\xc2\xda\xb5\x3c\xc4\xbb\x41\xcd\xdb\xa0\x9a\x67\x90\x36\x85\x4d\x3f\xfb\x05\xf1\x6e\xbd\x9e\x7e\x8d\x2a\xcb\x61\x11\x2e\xd0\x0b\xd6\x15\x2f\x46\xd9\x30\x37\x6a\xcd\x88\x02\x6e\xa5\xc1\x62\xf4\xf7\xdf\x37\x81\xb4\x6d\x37\x0a\x0f\x34\x4a\xf7\x07\xdb\x11\x71\xa9\xed\xd3\xe8\xe0\x23\x49\xab\xf6\x6d\xf7\x9b\x6b\x1f\xb8\x57\x4c\xd1\xe2\x59\x21\x85\x3b\x69\xbf\xcf\x1e\xeb\x27\x7a\xac\x5d\x21\x7e\xe2\x6d\x16\x79\x71\x45\xd7\xbb\xca\x8b\xeb\x94\xaa\xa5\x64\x0a\x14\x73\xfd\x28\x16\xbc\xe4\xf1\xac\xaa\x57\xdf\x8f\x5c\x68\xff\x4e\xe5\x64\xd7\x3c\xcf\xaf\x95\x04\x15\xe4\x53\x99\x5a\x91\x8f\xd2\x01\x7f\xfe\x26\xfc\x2d\xe7\x53\xd1\x18\x9e\x29\xa9\xaa\xfa\xa9\x9c\x99\xec\xa0\x86\xdd\x8a\x6b\xd8\x75\x53\xaa\xae\xfa\x75\xc3\x9b\x29\xf6\x23\x70\xa8\x5a\x87\xaa\x75\xa8\x5a\x87\xaa\x75\x6b\xab\x5a\xd7\xbd\xf2\xd6\x56\xac\x9b\x38\xde\xe1\x6c\x75\xea\xba\x5f\xbf\xb9\x46\x9d\xc9\x32\x38\xa5\x32\x5d\x8f\xf6\xf8\x8d\x55\xe9\x26\x96\x01\x6a\xd1\xa1\x16\x1d\x6a\xd1\xa1\x16\x1d\x6a\xd1\x4d\x56\x8b\xae\xc7\xea\x7f\x54\x87\x6e\xea\x2e\xff\xc9\x5b\x6b\x28\xa4\xd4\xd9\x43\xfc\xc0\x22\x4b\x06\xe2\x15\x8b\x0e\xd6\x83\x1a\x79\xb2\x57\x04\x7f\xd4\x99\x31\x41\x28\x49\xca\xa7\x87\x78\x92\x2b\x10\x71\x9e\x53\xbc\xcd\x8a\x8b\x08\x76\x8b\xbb\xad\x80\xe0\x79\xe5\x8e\xb2\x81\x93\x8c\xe8\x71\xc9\xc0\x89\x87\x75\xd6\x42\x81\xdd\xe2\x69\x29\x12\x38\xf5\x7e\x61\x6a\x69\xc0\x6e\xa1\xd5\x20\x9c\xc1\x8e\xcc\xe4\xaf\xbf\x26\x80\x87\x35\xa5\x28\x26\x62\x88\x45\x70\xe8\xa7\xea\x4f\xa1\xb1\xce\x24\x00\xf1\x55\x6e\xf8\x90\x71\x97\x28\xc9\xca\x76\xca\x2d\xba\xab\x92\x27\xa0\x70\xed\x11\xf1\x23\xd0\x23\xd0\xe3\x92\xd0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\x23\xb0\xe3\xb2\xb0\x63\xa5\x78\x4c\xbb\xe7\x61\x49\xe5\x63\xc0\x53\xc1\x53\xc1\x53\xc1\x53\x8d\x1e\x51\xf0\xd4\xb2\x78\xc0\x53\x17\xc6\x53\x91\x75\xd9\x82\x3d\x1b\x72\x2d\x3f\xc8\xf0\xd6\xf3\x32\x26\x1a\x01\x80\x02\x80\x2e\x09\x80\x22\xf7\x12\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x14\x10\x74\x79\x10\x14\xc8\x0c\xc8\x0c\xc8\x6c\x19\x23\x0a\x64\x56\x16\x0f\x90\xd9\xf2\x90\x59\xb5\xeb\xb5\x19\xc4\xac\x5c\xc1\x75\x1e\x5e\x56\x7e\x06\x54\x26\x05\x1d\x03\x1d\xcb\x7f\x34\xa5\xe3\x1c\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x18\xd8\x58\xdf\xb7\x01\x1b\x03\x1b\x03\x1b\x03\x1b\x03\x1b\x03\x1b\x6b\x62\x63\xe6\x94\xe1\x9c\x80\x8f\x9d\xb3\x08\x67\x7b\x83\x65\x90\x35\x90\x35\xc3\xc9\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\x1a\xa8\xda\x92\xa8\x5a\xa5\xec\x66\x9b\xdf\x61\x49\x45\x37\x01\x0b\x01\x0b\x01\x0b\x97\x31\xa2\x80\x85\x65\xf1\x00\x16\x9a\x0b\x0b\xc3\x7b\x6e\xed\x52\x62\x41\xaf\x40\xe4\xc4\x95\x37\x83\xb8\xe0\xd4\x54\xab\x0f\x73\x74\x44\xcc\x5c\x7f\x2f\xc3\xc7\x6c\x8e\x73\xa6\x39\x45\x33\xd5\x73\x44\xfc\xfb\x3d\xb7\x6e\x8b\x92\xb8\xbd\xfb\xf8\x3f\xd5\xd3\xe6\xc2\x79\x8b\xa5\x6c\x99\x10\x17\xce\xd8\xc2\xea\xec\x28\x9c\x7a\x51\xbc\x7d\xdf\xef\xeb\xdb\xeb\x65\x7f\x62\x25\x13\x59\xaf\xa0\x27\x7e\x5f\x7f\xbe\xbe\xbd\xfb\xf8\x7b\xdd\xc9\xf8\xca\x4e\xff\xca\x52\x41\x52\x6a\xef\xda\x3e\xb6\xff\xfb\xf6\x7a\x84\xef\xcd\xf2\x0e\x51\x2c\xc2\x50\x7a\xe2\xde\xf5\x6d\xd7\x77\x4a\x09\xe2\xda\x25\x31\x6e\x00\x8c\xbe\x26\xb3\xa4\xe7\x09\x2b\xdd\x8e\xde\xe9\xe7\xf8\x5d\x7a\xe2\x27\xfd\x1c\x2d\x5f\x8e\xbe\x42\xcd\xc7\xf3\x2e\xbb\x66\xfb\xf5\x1a\x80\x39\xab\x8e\xbb\x56\x49\xee\xa5\xfd\x54\x9d\xb2\xa9\x4e\x52\xf7\xdb\x24\xd3\xf9\x3d\xbd\xf3\x6f\x24\xc5\xa8\xe7\x64\x6e\x9f\xc5\x60\xb0\x60\xb0\x60\xb0\x60\xb0\x6b\x63\xb0\x2d\xa6\x64\x17\x87\x6d\x77\x4b\xb4\x9b\x94\x27\xad\xbd\xff\x51\x82\x4b\xbc\xcf\xaf\xa8\x5e\x8a\xa5\x66\x94\x9e\x07\xa5\x77\x2b\xc6\x3b\xdd\x0b\x16\x28\x69\x45\xb1\xb0\x77\xec\xd6\x67\xae\xaf\x57\x16\x19\xb2\x83\x9f\x2d\x4e\x36\xb3\xc3\xa7\xdf\x0f\x3e\xb3\xdd\x50\xed\x86\xdf\x44\x36\xe3\xd5\xf2\x49\xac\x20\xf9\xe4\xd3\xb9\x91\x08\x98\xed\x0f\x21\x7d\x65\x41\x28\x2d\x11\x91\x53\x3f\xf1\x87\x24\xb3\x6c\xc7\xfe\xa4\x3b\xd2\x68\xd1\xdc\x79\xcb\xae\xd9\xad\xe7\xbd\x25\x97\xbd\xad\x56\xe9\x83\xaf\x06\xde\x11\x51\x36\x25\x93\xcb\x09\x7b\xc0\x40\xe9\x77\x99\x67\x98\xce\x06\xce\xfb\x89\xa2\x19\x9e\x9f\x4d\x22\x7f\x14\x5d\x65\xae\xcf\x22\xed\xc1\x62\xf7\x62\xaf\x23\xfc\x32\xc8\x92\xab\x12\xc9\xea\x45\x53\xe7\x20\xf4\xe6\x70\x2f\x98\x2f\xfd\x6b\x5f\x38\x9c\x26\x68\xe2\xec\xda\xb1\x3f\xb2\x0d\x5b\x03\xd7\xec\xd3\x48\xd4\x46\xf7\xf1\x51\xd8\x2e\x8f\x85\xf7\x94\x87\xde\xe5\x5b\xae\xeb\xbd\x4a\x9c\x59\x24\x74\xe6\x84\xdc\xa2\xaf\xc6\x95\x76\xa6\x10\xe4\x9b\x36\xc5\x35\xa6\xb3\xf4\x10\xa9\x87\x2c\x0e\x17\x57\x67\xa6\x2f\x94\xdc\x64\xaf\xd7\xc0\xf4\x12\x3b\xfd\x9c\x8f\x82\xfb\xb5\xcf\x38\x60\x98\xe9\x99\xef\xe8\x91\xeb\x1c\x84\x1d\x2e\x42\x53\xa6\xff\x29\x31\x13\xfd\xe4\xd2\x1c\x37\x71\xb6\xe9\x8f\x08\x0a\x44\x50\x20\x82\x02\x11\x14\x88\xa0\x98\x2c\x82\xa2\xe7\x5e\x70\x14\x45\x71\xbe\x6d\xf1\x7d\x21\x17\x2b\xf0\x04\x8f\x44\xb6\x04\xdd\x85\x32\xe0\x0e\x69\x47\x3a\xbc\xa2\x14\xaf\x9f\x4e\xba\x3c\x99\x4b\x4d\xbb\xd7\xbb\x7f\xee\xd8\x67\xbd\x9e\x69\xd5\x25\x10\xbe\xfa\x58\xf2\x3d\x55\x30\x19\x06\x0f\xdc\x4f\xf3\x07\xc2\x83\xb8\xd9\x73\x2f\xb5\x95\xbf\x5c\xea\x9f\xbf\x5c\xb2\xbd\xeb\x73\xcf\xfd\x6f\xba\x91\xdc\x0b\xc6\x6d\xe2\xcf\xf2\x46\xb3\x39\x3b\x37\xc3\xf4\xe5\xaf\xa2\xfc\x24\x6d\x9f\xee\xd8\xcf\x2e\x2d\x8e\x85\x47\x97\xe1\xf1\xbb\xe5\xd1\x06\xb1\x36\x8f\xc9\x46\x91\xf1\xc3\x90\x01\xd5\x6f\xf0\x3e\x7d\xf7\x46\x95\xa7\x8e\xf4\x8d\x6b\x98\xd1\xab\xab\x0f\xf6\x41\x7e\x67\x0e\x0f\xef\xb9\x53\xf2\x56\x66\x46\x8d\x08\xf7\x32\x7c\x54\x63\x52\x2b\xaf\xdf\x2a\x6f\xd4\x2c\x2e\x52\x7a\x53\x8d\x55\x67\x0d\xa9\xef\xc3\x16\x96\x6b\xe7\xa6\x30\xe9\x0a\xe4\x9c\xc8\xc6\x38\x22\xae\x47\xbf\xa6\xda\xc0\xae\x30\x98\xe9\x3e\x92\xe1\xfe\x2c\x17\xa6\x7c\xb3\x1d\xbb\xb5\x2c\x11\xc4\xb4\x37\x15\x2d\xbb\x2b\xfd\x0e\x57\xec\x3a\x99\x80\xe5\x09\x1a\xfd\xc8\xae\x7e\xe2\xd6\x57\x27\x94\x07\xdf\x56\x47\x51\x5e\x09\x1d\x54\x11\x9c\x56\x21\x13\xfd\xb8\x7c\x91\xf4\x0d\xee\xb3\x2b\xfd\xc8\xae\x3e\xc8\x50\x14\x2e\xcb\x2c\x1e\x59\xdc\x56\x6f\x9f\xc8\x47\xa7\x1d\xd1\xf5\x22\x6d\x7a\x1e\x5d\x70\x9f\x5d\x63\xc8\x84\x0c\xaa\xd3\x7d\x1e\x8d\x73\xc5\x71\x41\xfd\xc6\xa1\x2d\x36\x68\xae\x51\x40\x94\xd0\x64\xe3\x7b\x1c\x29\x74\x3e\xdf\xc6\x9c\x31\x43\xfd\x84\xd5\x12\x37\xf4\x5c\xfd\xa7\x16\xdd\x81\x3a\x9f\x88\xe9\x3e\xc7\x3c\x3e\xf4\xe5\x73\x4b\x85\xcd\x85\xb3\x1b\x72\xa8\xf5\xc6\x9c\x2b\x4d\x63\xa4\x53\x37\x72\xec\xfa\x0c\xeb\x56\x02\x5c\x4d\xb1\x6e\xcb\xae\x1e\xbd\x02\x84\xf6\x9d\x85\x89\xbd\x9d\x2a\xf9\x69\xf1\x87\x93\x48\xb8\xba\x54\x1d\x07\x1f\x85\x7e\x23\x65\x7c\x3b\x29\xe3\xfd\xb6\x9f\xae\xb4\xf1\xf3\xd9\x69\x08\x5e\x40\xf0\x02\x82\x17\x10\xbc\x80\xe0\x85\xba\xc5\x17\x54\x7c\x41\x12\x01\x28\x05\x28\x05\x28\x05\x28\x05\x28\x05\x28\x5d\x17\x28\x05\xbb\x00\xbb\x00\xbb\x00\xbb\x98\x9c\x5d\x9c\xc0\xf7\x0d\xcd\x7e\xee\x27\xc2\xe3\x0c\xe8\xe7\x7a\xdc\x8c\xa2\x3e\x8d\x27\x6c\xab\x40\xef\x8e\x48\xc7\xb7\xd7\xbb\x63\x37\xfe\x06\x32\x19\xbb\xe1\xd2\x58\x5d\x2f\xe7\x02\x4a\x03\xca\xf5\x2e\xa5\xd6\xcd\x45\x65\x10\x2f\x03\x19\x8d\x4c\xcf\xb4\x41\xc3\xf8\x69\xa0\x4c\x9f\x35\x19\x2a\x1b\x96\x28\xda\x52\x3b\x69\xaa\x05\x64\x94\xcc\x51\x64\x2f\x15\x47\xdd\xd8\xec\x25\x72\x60\x7c\xe2\x3e\x77\x44\xa8\x5d\x71\x54\x09\x8c\x47\x91\xb4\x5c\xb2\x2d\x33\xa7\x17\x27\xdf\xa5\x0c\x99\xf0\x63\xa5\xec\xa5\xc6\xf6\x23\xff\xaa\xa4\x18\x3f\x88\x48\xa4\x1a\x53\x31\x47\x27\xcd\xe5\x21\x8d\x91\x1c\x5c\x32\x64\xaf\xdf\xfc\x4b\x1d\x1b\x72\x8b\x88\x96\x27\x7d\x47\xeb\x47\xe4\x84\xb2\xa4\x1f\x73\xd7\xd7\xab\x15\x39\x79\xf2\x63\xc9\xcb\x9f\xf0\x36\x76\xff\x94\x99\x00\x8e\xf4\xb8\xef\xec\x64\xe8\xdc\x04\x5f\x9d\x9b\x83\xef\x5a\xd2\x16\x37\xff\xf8\x18\xdd\xa9\xab\x0c\xf6\x1a\x27\xc2\x19\x73\x78\x8c\x52\xa8\x16\xab\xe7\xf4\xd5\x71\xde\xf4\xd0\x71\xde\x69\x0f\x98\x61\xcf\xfd\xa6\xf3\xb9\x75\x4c\xae\x61\x0f\xbe\x5a\xa5\x92\x14\x95\xe5\x29\x95\x17\xec\xd9\xf5\x3e\x6a\x9a\xde\x4c\x58\xf6\xe3\x44\xbd\xad\xb9\xd4\x07\x0a\x7c\x40\x4d\x5b\x85\x9a\x86\x94\xea\x0d\xa5\x54\x23\x77\x0c\xb9\x63\xc8\x1d\x43\xee\x18\x2c\xcc\xa6\xaf\xc8\xc8\x44\x8d\x79\xec\x35\xe4\x99\x64\x47\xb6\xe6\x99\x2c\xd0\x6e\xcb\x1c\xe4\xa3\x67\x97\x84\x82\xdb\x15\x95\xec\x24\x8b\x4b\x9d\x7f\xba\xbd\x85\xe5\x07\xfe\x96\x93\xbe\x5c\x47\x2c\xd1\xdd\xf2\x1c\x86\x57\x6c\xc3\xd1\xf5\x1c\xe8\xc3\x71\x0e\x36\x49\xb1\x00\x83\x2a\x4c\x5f\xd3\xb9\x3f\xb4\x2f\x69\x8f\x22\x74\x44\xaf\x23\xa3\x38\xe4\xb1\x70\x5c\xeb\xba\xff\x39\xea\xef\xa7\xe4\x48\x5a\x3c\xfb\x6c\x0e\x01\x0f\x63\x97\x52\x75\x74\xdc\xca\x73\x36\x0a\xba\xb5\x61\x9e\xb9\xa9\x88\x6a\x8b\x26\x76\x57\x8e\x28\x61\xf0\xd7\xad\xdc\x5f\xb7\x1d\xac\x5a\x89\x83\x4f\x3f\x2e\x9d\xab\xa1\x96\x9f\x3c\xff\xf7\x45\xc3\xd2\xf4\x92\xbc\x15\x3a\x41\x93\x7b\x74\xa6\x2f\xfd\x6b\x7d\x36\x1d\x41\x0e\xc3\x88\xbd\xf8\x25\x92\xfe\x9d\x4e\x83\xfd\xa4\x16\xc1\xe4\xef\xcf\xe9\xd2\x98\xff\xe7\x4b\x93\x78\x6f\xff\x79\xf3\x41\x86\x16\x79\x54\x1d\x49\x83\x2f\xd9\x97\xcb\xbd\xfa\xbf\x2f\x97\xec\xb6\x24\x4d\x8a\xb2\xd5\xee\xcf\x43\x94\xa7\xfc\x5d\x73\x8b\x06\x80\x12\x29\x3d\xd7\x4a\x1c\x3a\xc2\xb3\x23\x26\xbf\x27\x63\xab\x13\x0d\x03\x21\x03\x4f\xec\x98\xbe\x27\xe5\x4f\xa7\x73\x8a\x62\x5d\x6b\x07\x22\xbb\xfd\x10\xf1\xaa\x1b\xad\x37\x32\x11\x76\xc6\x52\xed\x8c\x60\xac\x6e\xfe\xb3\x59\x1a\x87\xd1\x1d\x04\x81\xc7\xad\x67\xa9\x7e\xc9\x25\x36\xa2\xfc\x21\x9c\x0e\x7a\xdf\xa6\xf4\x3e\x83\xd4\x2b\x68\x01\xd9\x2f\x08\xa7\xdb\xa0\xf6\x72\x58\xa2\x97\xf4\x82\x0d\x0e\x4a\x9b\xbd\xfb\xd4\xa0\x58\xb4\xba\xb6\x53\x08\x47\x43\xc9\x26\x94\x6c\x42\xc9\x26\x94\x6c\x42\xc9\xa6\xd9\x4b\x36\xc1\xc4\xec\x3d\x50\xe8\x37\x65\x52\x65\x2d\x04\x47\x6f\x28\x38\x1a\x65\xd4\x50\x46\x0d\x65\xd4\x50\x46\x0d\x65\xd4\x50\x46\x0d\x65\xd4\x90\x33\x84\x9c\x21\xe4\x0c\x21\x67\xa8\x3a\x23\xd1\x6f\x0a\x35\x1b\x51\xb3\x11\x35\x1b\x17\x5e\xb3\xb1\x16\xd6\x81\xec\x23\x0f\x70\x78\x1e\xa0\x29\xfd\xa6\x4c\x49\x05\xec\xdd\x68\xaa\x05\x7a\x77\x77\x98\x1a\x02\xba\xd1\x5a\x0a\xad\xa5\xf4\x4f\x68\x2d\x85\x38\x05\xc4\x29\x20\x4e\x01\x71\x0a\x88\x53\x00\x00\x07\x13\xed\x96\x08\x98\x28\x98\x28\x98\x28\x98\x28\x98\xe8\x86\x99\x28\x30\x05\x30\x05\x30\x05\x30\x05\x5a\x4b\xa1\xb5\x14\x5a\x4b\x65\xbf\x0c\xc9\xb5\x44\x4f\x29\x23\x7a\x4a\x0d\x2d\x0f\x81\x66\x52\x23\x37\x93\x6a\x81\x61\x7d\xba\x48\xad\xb3\xde\x05\x0a\x5d\x6c\x27\x0b\x09\x85\x2e\x50\xe8\xa2\xe6\x61\x8c\x56\x62\x16\x57\xe1\xc2\xec\xca\xe3\xcf\x79\xe2\xd5\xea\x88\xf3\xb7\x88\x3a\x5f\x19\x8e\x19\x9b\x42\x0d\xaa\xc0\x81\xba\x1b\xac\x49\xc6\xd0\xba\x8a\x83\x6c\xac\xd6\x85\x4c\xe7\x0d\x65\x3a\x23\xa5\x0b\x29\x5d\x48\xe9\x42\x4a\x17\x0c\xc6\xa6\xaf\xc8\xc8\xfc\x09\xb4\x81\x32\xd3\x32\x33\xa1\x0d\x94\x29\x49\x1f\xed\xfd\x9f\x5a\x8c\xab\xee\xc6\x4f\x97\x58\x69\xe0\x37\x59\x60\xab\xa7\xf3\xa1\xb5\x86\x1e\x4f\x75\x10\x0d\xcd\x9d\xd0\xdc\xa9\xf1\x9c\x89\x9b\x3b\xb5\xec\x02\x3d\xba\x3a\x2d\x9f\x70\xa2\x9d\x13\xfc\x6e\xdb\xa3\x9d\x68\xe7\x34\xe6\xbc\x41\x3b\x27\xb8\x2b\x60\x44\xd4\x09\x72\xad\x7d\x9c\x86\x9a\x11\x67\x6f\xe0\xd4\x6a\xe4\xf7\xe8\xdc\xb4\x7c\x05\x0f\x21\x6c\x50\xea\xb6\xa1\xd4\x19\xa4\x3b\x61\x8b\xcf\x7e\x41\x08\x5b\xe1\xda\xeb\xd5\x49\xe6\xee\xce\x34\x6d\x3c\x98\x5a\x2f\xa2\x80\x5b\x69\x34\x18\xfd\xfd\xf7\x4d\x28\x3d\x71\xaf\xdb\x42\xcd\xd3\xad\xa9\x5f\x8f\xca\x1e\xdd\x9a\xfe\x9d\xbe\x94\x3d\x4b\xbf\xca\x85\xc4\x8f\xa1\x1e\x12\xea\x21\xa1\x1e\x12\xea\x21\xa1\x1e\x52\xf1\x77\xf4\x6d\x82\xb9\x89\xb2\x55\x8d\x12\x41\x34\xf3\x86\xa2\x99\x51\xa3\x0c\x35\xca\x50\xa3\x0c\x35\xca\x50\xa3\x0c\x35\xca\x50\xa3\x0c\x49\x3e\x48\xf2\x41\x92\x0f\x92\x7c\xaa\x33\x12\x7d\x9b\x50\x10\x11\x05\x11\x51\x10\x71\xe1\x05\x11\x6b\xb1\x1d\x28\x3f\x12\xf7\x86\x27\xee\xcd\xda\xb7\xa9\x1e\xfd\x1a\xdc\xb7\xa9\x1f\xfe\x6e\xe8\xdb\x34\x1a\xf2\x46\x07\x27\x74\x70\xd2\x3f\xa1\x83\x13\x22\x16\x10\xb1\x80\x88\x05\x44\x2c\x20\x62\x01\x28\x1c\x74\xb4\x5b\x22\xa0\xa3\xa0\xa3\xa0\xa3\xa0\xa3\xa0\xa3\x1b\xa6\xa3\x00\x16\x00\x16\x00\x16\x00\x16\xe8\xe0\x84\x0e\x4e\xe8\xe0\x94\xfd\xd2\x3b\x11\xb3\xe0\xbf\x47\x07\xa7\xf9\x3a\x38\x3d\x1f\x1f\x0d\x28\x33\x97\xe8\x8f\x3a\xa7\xdd\xb7\x99\x7a\x5c\x16\x59\x32\x10\xaf\x58\x74\xb0\x1e\xd4\x62\x44\x8b\xbd\xe0\x8f\x7a\xa5\x0a\x42\x49\xfa\x6a\xf9\x19\xfb\x54\xa2\x23\x5a\x54\xfe\x19\xe5\xe8\xba\xde\x26\xf9\xeb\x2c\xad\xab\xfa\xf1\xc0\xc6\xd6\x55\x33\x27\xc1\x4e\x5e\x01\xa4\xf8\x56\xfd\xd6\x48\xa4\x64\xad\x20\x25\x0b\x15\x40\x50\x01\xa4\xe6\x61\x8c\xd6\xe3\x96\x51\x01\x64\xd0\x03\xcf\xda\xc4\x6a\xc0\x13\xaf\x56\x4d\x9e\xa9\x89\xd5\x60\x35\xf9\x82\x8d\x5e\xb4\xe4\xdc\xbd\xad\x9e\x59\xaf\x04\x55\x4a\x6a\xdf\x06\x6a\xd9\x12\xd5\x32\xe4\x85\x6f\x28\x2f\x1c\x09\x70\x48\x80\x43\x02\x1c\x12\xe0\x60\x51\x36\x7d\x45\x46\x66\x9b\xa0\xcb\x95\x99\xa6\xdb\x6c\x5d\xae\x0c\x4c\x91\xa9\xe9\x72\xd5\xcf\xcc\x6a\xe8\x72\xd5\x6d\x64\x61\xcd\x81\x8b\xc5\xe4\x7e\x57\xb3\x80\xc8\x62\xbf\xab\xc6\x07\x58\x52\xbf\x2b\x90\xd5\xc5\x91\x55\x34\xfa\x1a\xb4\x11\x36\x35\xfa\x5a\x29\x0f\x46\xcb\x2f\x38\x21\xb7\xc7\x86\xd1\xf2\x6b\xcc\x79\x83\x96\x5f\xf0\xdd\xc0\x8e\xaa\x13\xe4\xaa\x5a\x7e\x8d\x60\x49\x9d\xa7\xe5\x57\x5f\x8f\x47\x53\xcb\xaf\x95\xaa\x7a\x08\xfd\x83\x7a\xb7\x0d\xf5\xce\x20\x2d\x0a\x9b\x7d\xf6\x0b\x42\xff\x0a\xd7\x5e\xaf\x76\x32\x4b\xf3\x2f\x13\xe2\xe8\xe6\xeb\xfa\x35\x24\x7c\xae\xa9\xdd\x17\x22\xe8\x50\x35\x0b\x55\xb3\x50\x35\x0b\x55\xb3\x50\x35\x6b\xf6\xaa\x59\xb0\x2c\x7b\x0f\x14\xfa\x7c\x99\x54\xdc\x0c\xf1\xdc\x1b\x8a\xe7\x46\x25\x3b\x54\xb2\x43\x25\x3b\x54\xb2\x43\x25\x3b\x54\xb2\x43\x25\x3b\xa4\x39\x21\xcd\x09\x69\x4e\x48\x73\xaa\xce\x48\xf4\xf9\x42\xd9\x4c\x94\xcd\x44\xd9\xcc\x85\x97\xcd\xac\x05\x75\x00\xfa\x48\x5d\x1c\x9e\xba\x38\x7b\x9f\x2f\x53\xb2\x17\xbb\x1b\x7c\xb5\x90\xee\x5e\x9d\xbd\x86\xd0\x6d\xb4\xf4\x42\x4b\x2f\xfd\x13\x5a\x7a\x21\x38\x01\xc1\x09\x08\x4e\x40\x70\x02\x82\x13\x40\xbd\x01\x42\xbb\x25\x02\x10\x0a\x10\x0a\x10\x0a\x10\x0a\x10\xba\x61\x10\x0a\x36\x01\x36\x01\x36\x01\x36\x81\x96\x5e\x68\xe9\x85\x96\x5e\xd9\x2f\x27\xa5\x57\xa2\x97\xd7\xbc\xbd\xbc\x86\x56\x7c\x40\x13\xaf\x0d\x94\x9a\x9b\xb6\x89\x57\x0b\xf3\xeb\xd9\xbd\x6b\x65\xb5\x3b\x50\xb4\x63\x3b\xa9\x55\x28\xda\x81\xa2\x1d\x35\x0f\x63\xa6\x92\xb6\x9c\x6a\x1d\x66\xd7\x7c\x1f\xf4\xa8\xab\xd5\x7a\x67\x6c\xcd\x35\x5f\x2d\x91\x39\x9a\x71\x0d\x29\x23\x82\xe2\x21\xd0\xb2\x96\xaf\x65\x21\x5d\x7b\x43\xe9\xda\xc8\x4b\x43\x5e\x1a\xf2\xd2\x90\x97\x06\x03\xb1\xe9\x2b\x32\x32\x09\x04\xed\xb7\xcc\x34\xcf\x66\x6d\xbf\x65\x4a\xe6\x4a\x43\xdf\xad\x16\x8b\xaa\x57\xc3\xad\x4b\x2c\x2f\x70\x95\xd4\x9d\x6d\x5c\x8b\xad\xf3\xf1\xc1\x6a\x6f\xad\xd3\xa9\x9f\x29\xc0\x0f\xa4\x73\x71\xa4\x13\x4d\xb5\x4e\xdb\xe5\xfa\x75\xd3\x5a\x3e\x9f\x45\x1b\x2d\x38\x13\xb7\x87\x6c\xd1\x46\x6b\xcc\x79\x83\x36\x5a\xf0\xc1\xc0\x48\x5a\x77\xff\xac\xa1\x66\xd2\xf9\x1a\x67\xb5\xba\x2c\xfa\x75\xcc\x5a\xbe\x3a\x87\x70\x3b\xe8\x6e\x2b\xd7\xdd\x0c\x52\x91\xb0\x93\x67\xbf\x6c\x3c\xdc\x6e\xbd\x3a\xc7\x6c\x5d\xb1\xa6\x0d\x61\x0b\xa5\x27\xee\x75\xdf\xad\x52\xfb\xab\x19\x4a\x83\x75\x77\xfc\x6c\xa8\x10\x56\x38\xf9\x83\x0c\x6f\x3d\x2f\xd3\x66\x22\x13\xf8\x4b\xe3\x09\x1b\xce\x06\x4b\x86\x0b\x49\x61\xf3\x26\x85\x3d\xb3\x1b\xf0\xe9\xec\x07\xb5\xf7\x56\x5c\x7b\xaf\x9b\xed\x74\xd5\xdd\x6b\x75\x28\x8d\xc0\xad\x50\x6d\x0f\xd5\xf6\x50\x6d\x0f\xd5\xf6\xd6\x56\x6d\xaf\x7b\xe5\xad\xad\xb4\x37\x71\x94\xc0\xd9\xea\xeb\x75\xbf\x7e\x73\x6d\x3d\x93\x65\x70\x4a\x45\xbd\x6e\x19\x34\x57\xd3\x9b\x58\x06\xa8\xa1\x87\x1a\x7a\xa8\xa1\x87\x1a\x7a\xa8\xa1\x37\x59\x0d\xbd\x1e\xab\xff\x51\xfd\xbc\xd6\x74\xad\x0d\x05\x09\xf6\x7b\x9b\x15\xd7\x00\xec\x16\x77\x5b\xfd\xbf\xf3\xca\x1d\x55\xff\x26\x19\xd1\xe3\x8a\x7f\x13\x0f\xeb\xac\x75\xfe\xba\xc5\xd3\x52\xe3\x6f\xea\x65\xd3\xd4\xca\x7e\xdd\x42\xab\x61\x18\x83\xfd\x79\xc9\x5f\x7f\x0d\xe1\x59\x73\x83\xac\x61\x04\x0b\xe8\xaa\x2a\x78\x33\xd1\x15\x98\xd5\x56\x0a\x19\x02\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\x01\x56\xf5\x7d\x1b\xc0\x2a\xc0\x2a\xc0\x2a\xc0\x2a\xc0\x2a\xc0\xaa\x12\xac\xa2\x67\xb8\xb1\xbc\x43\x14\x8b\xf0\x6c\x99\x58\x89\x12\xe8\xdb\xee\x37\xd7\x3e\x70\xaf\x38\x74\x3c\x33\xf4\xde\xe9\xa7\x2a\x64\x89\xec\x0a\x75\x73\xdf\x66\x2a\xf9\x15\x5d\xee\x2a\xf7\xef\x95\x1c\x36\x19\xfe\x62\xae\x1f\xc5\x82\x97\xf6\xce\x2a\x1c\xfb\xde\x50\x6b\xe8\xf8\x51\x7e\xad\xe0\x07\xf0\x31\x53\x4b\x84\xd2\x02\xf1\xb3\xb2\x01\x37\xcf\xcc\x68\x24\x67\x02\x67\xc7\x9f\x10\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\xda\x48\xab\x2d\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x1a\x30\x9a\x91\x23\x0a\x8c\x56\x16\x0f\x30\xda\xda\x30\x5a\x4d\x0f\xde\x89\x68\x5a\x11\xa1\xf9\xe9\xde\x9f\xe6\x84\x4d\x84\xd2\x5e\xe5\x4a\x3f\x19\x36\x89\x82\xa8\xec\x86\xdc\x9a\xb9\x2a\x59\xc1\x85\x6b\x8f\x03\xe2\x00\xe1\x00\xe1\x96\x07\xe1\x00\xe0\x00\xe0\x00\xe0\xf2\x0f\x0d\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x6e\x71\x00\xae\xd8\x5c\xbb\xcb\xe7\xb0\xa4\x56\xdb\x00\x8b\x00\x8b\x00\x8b\xcb\x18\x51\x80\xc5\xb2\x78\x00\x16\xd7\x02\x16\x0d\x4b\xcc\x33\x21\x23\x0f\xa9\x78\xa0\x80\xcb\xa4\x80\xf3\xa7\xe2\x01\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x8e\xb4\xda\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x6e\x0e\x01\x02\x95\x01\x95\x01\x95\x2d\x63\x44\x81\xca\xca\xe2\x01\x2a\x5b\x0d\x2a\x33\x2f\xf9\x6e\xf9\x59\x77\x00\x6d\x00\x6d\xcb\x03\x6d\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x80\x6c\x4b\x84\x6c\x0d\x79\x76\x48\xb0\x03\x35\x34\x8d\x31\x81\x1a\x82\x1a\x82\x1a\x82\x1a\x56\x84\x66\x0e\x35\x54\x4f\x14\x05\xdc\x4a\x99\x21\xfd\xfd\xf7\x8d\x61\x0d\xf1\x4c\xe8\x84\xf7\xef\x54\x3a\x36\x9a\xe1\x01\x0c\x2e\x1e\x0c\xce\x94\x81\x87\x22\x9c\x80\x83\x80\x83\x80\x83\x80\x83\x80\x83\x80\x83\x80\x83\x86\x81\x31\xc0\x41\xc0\x41\xc0\x41\xc0\x41\xc0\x41\xc0\x41\xc0\xc1\x25\xc2\xc1\xe4\xad\x89\x11\xaa\xa1\xe4\x87\xf8\x81\x45\x96\x0c\xc4\x2b\x16\x1d\xac\x07\x35\xf2\x64\xaf\x08\xfe\xa8\xbd\xc2\x41\x28\x49\xca\xa7\xf3\x43\x72\x07\x02\x22\x02\x22\x02\x22\x02\x22\x02\x22\x02\x22\x02\x22\x36\x41\x44\x43\x32\x12\x97\xdf\x07\xb0\x16\x43\x02\x41\x02\x41\x2e\x0f\x41\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x02\x3f\x2e\x11\x3f\x16\x73\x13\x57\xd1\xfc\x0f\x3c\x15\x3c\x15\x3c\x15\x3c\xd5\xe8\x11\x05\x4f\x2d\x8b\x07\x3c\x75\xad\x3c\xd5\x94\x6c\x4c\x43\xd2\x30\x91\x7f\x09\xf8\xb9\x4c\xf8\x39\x63\xfe\x25\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\xe7\x48\xab\x2d\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\x27\xc8\xe7\xe6\xc8\x27\x40\x21\x40\x21\x40\x21\x40\xa1\xd1\x23\x0a\x50\x58\x16\x0f\x40\xe1\x6a\x41\xa1\x41\x19\x97\xab\x48\xb5\x04\x66\x04\x66\x5c\x1e\x66\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x04\x62\x5c\x14\x62\xac\x26\x57\x22\xab\x12\xb0\x14\xb0\xd4\x10\xb4\x06\x58\x0a\x58\x0a\x58\x0a\x58\x5a\x11\x9a\x39\xb0\x14\x3d\x2d\x8f\x08\x67\xa5\x93\xe5\x07\x19\xde\x7a\x5e\x86\x3d\x23\x20\x4f\x20\xcf\xe5\x21\x4f\x74\xb6\x04\xfd\x04\xfd\x4c\xbe\x32\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\x4f\xd0\xcf\xc5\xd1\x4f\xa0\x33\xa0\x33\xa0\xb3\x65\x8c\x28\xd0\x59\x59\x3c\x40\x67\x8b\x47\x67\xa6\x30\xb3\x59\x61\x19\x28\x59\xdd\x58\x82\x92\x81\x92\x21\x39\x10\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\x0c\x78\xec\xa4\xb7\x01\x1e\x03\x1e\x03\x1e\x1b\x6d\x58\x81\xc7\x9a\x24\x03\x3c\xf6\x0c\x3c\x76\x2f\x62\xfe\xfa\x66\x10\x18\x9b\x9a\x08\xf5\x81\x6e\x8e\x88\xcb\x0a\xaf\x1e\xe6\x16\x36\xe6\x88\xb8\x86\x8c\x91\x18\x6e\xef\x3e\xfe\x5e\x77\x85\xb9\x90\xd8\x62\x49\x55\x41\x90\xd4\xde\x70\x85\xb8\x8a\x26\x4c\xe1\x12\x17\xc5\xc7\x38\xf5\xf3\xb3\xbc\x43\x14\x8b\xb0\x29\xbd\x53\xdb\x1b\xe3\xd2\x6a\x7d\x4d\x66\x49\xcf\x13\x56\xba\x4d\xbc\xd3\xcf\x51\x9f\x07\x56\xfd\x90\xf4\x15\x9a\xbe\xa5\x77\xd9\x85\xdb\x2f\xda\x80\xc4\x58\x75\x1a\xe8\xb5\xf4\x5e\xda\x4f\xd5\x19\x9c\x2e\xa6\x75\xbf\x4d\x32\xbb\xdf\xd3\x8b\xff\x46\xa2\x8c\x7a\xce\xed\xf6\x49\x0d\xca\x02\xca\x02\xca\x02\xca\xb2\x36\xca\xd2\xa2\x03\x77\x91\x96\x76\x7b\xaa\x5d\x17\x3e\x69\xed\xfd\x8f\x12\x5c\xe2\x5f\x7a\x45\xe1\x5b\x96\x9a\x51\x7a\x1e\x94\xde\xad\x18\xd1\x70\x2f\x58\xa0\xa4\x15\xc5\xc2\xde\xb1\x5b\x9f\xb9\xbe\x5e\x59\x64\xc8\x0e\x7e\xb6\x38\xd9\xcc\x0e\x9f\x7e\x3f\xf8\xcc\x76\x43\xb5\x1b\x7e\x13\xd9\x8c\x57\xcb\x27\x79\x03\x93\x4f\x3e\x9d\x1b\x89\x80\xd9\xfe\x10\xd2\x57\x16\x84\xd2\x12\x11\xb9\xed\x12\x43\x2e\x99\x65\x3b\xf6\x27\xdd\x91\x46\x8b\xe6\xce\x5b\x76\xcd\x6e\x3d\xef\x2d\x39\xe5\x6c\xb5\x4a\x1f\x7c\x35\xf0\xca\x24\x4a\xa7\x64\x72\x39\x61\x0f\x18\x28\xfd\x2e\xf3\x0c\xd3\xd9\xd0\x58\x3f\x51\x34\xe3\xb1\xb3\x49\xe4\x8f\xa2\x8d\xef\xfa\x2c\xd2\xa6\x37\xbb\x17\x7b\x1d\xc3\x93\xb9\x51\x73\x55\x22\x59\xbd\x68\xea\x1c\x84\xde\x1c\xee\x95\x75\xeb\x5f\xfb\xc2\xe1\x34\x41\x13\x2b\x7d\xc7\xfe\xc8\x36\x6c\x8d\x54\xb2\x4f\x23\xd1\x1d\xdd\xc7\x47\x61\xbb\x3c\x16\xde\x53\x1e\x5c\x93\x6f\xb9\xae\xf7\x2a\xb1\xc2\x49\xe8\xcc\x09\xb9\x45\x5f\x8d\x2b\xed\x4c\x21\xc8\x37\x6d\x8a\x5c\x4a\x67\xe9\x21\x52\x0f\x59\x1c\x2e\xae\xce\x4c\x5f\x28\xb9\xc9\x5e\xaf\x81\xe9\x25\x76\xfa\x39\x1f\x05\xf7\x6b\x9f\x71\xc0\x30\xd3\x33\xdf\xd1\x23\xd7\x79\x36\x3a\x7c\x1b\xa6\x4c\xff\x53\xa8\x68\x3f\xb9\x34\x93\xd1\xb3\x4d\x7f\x30\x52\x30\x52\x30\x52\x30\x52\x30\xd2\xc9\x18\x69\xcf\xbd\xe0\x88\x93\x9e\x6f\x5b\x7c\x5f\xc8\xa3\x08\x3c\xc1\x23\x91\x2d\x41\x77\xa1\x0c\xb8\x43\xda\xd1\x9d\xf4\x5c\xeb\xa9\x14\x91\x9b\x4e\xba\x3c\x11\x43\x4d\xbb\xd7\xbb\x7f\xee\xd8\x67\xbd\x9e\x69\xd5\x25\x10\xbe\xfa\x58\xf2\x3d\x55\x30\x19\x06\x0f\xdc\x4f\x23\x84\xc3\x83\xb8\xd9\x73\x2f\xb5\x95\xbf\x5c\xea\x9f\xbf\x5c\xb2\xbd\xeb\x73\xcf\xfd\x6f\xba\x91\xdc\x0b\xc6\x6d\x02\x67\xf2\x46\x43\x05\x3b\x37\xc3\xf4\xe5\xaf\xa2\xfc\x24\x6d\x9f\xee\xd8\xcf\x2e\x2d\x8e\x85\x47\x97\xe1\xf1\xbb\xe5\x98\x34\xd6\xe6\x31\xd9\x28\x32\x7e\x18\x32\xa0\xfa\x0d\xde\xa7\xef\xde\xa8\xf2\xd4\x21\x8a\x71\x0d\x33\x7a\x75\xf5\xc1\x3e\xc8\xef\xcc\xe1\xe1\x3d\x77\x4a\x2e\xcb\xcc\xa8\x11\xe1\x5e\x86\x8f\x6a\x4c\x6a\xe5\xf5\x5b\xe5\x8d\x9a\xc5\x45\x4a\x6f\xaa\xb1\x06\x5a\xb6\xae\xd2\x26\x2d\xd7\xce\x4d\x61\xd2\x15\xc8\x39\x91\x8d\xb1\xda\xac\x93\x9d\x34\xd5\x06\x76\x85\xc1\x4c\xf7\x91\x8c\x53\x66\xd1\xee\xe5\x9b\xed\xd8\xad\x65\x89\x20\xa6\xbd\xa9\x68\xd9\x5d\xe9\x77\xb8\x62\xd7\xc9\x04\x2c\x4f\xd0\xe8\x47\x76\xf5\x13\xb7\xbe\x3a\xa1\x3c\xf8\xb6\x3a\x8a\x22\xc7\xe9\xa0\x8a\xe0\xb4\x0a\x99\xe8\xc7\xe5\x8b\xa4\x6f\x70\x9f\x5d\xe9\x47\x76\xf5\x41\x86\xa2\x70\x59\x66\xf1\xc8\xe2\xb6\x7a\xfb\x44\x3e\x3a\xb1\x80\xae\x17\x69\xd3\xf3\xe8\x82\xfb\xec\x1a\x43\x26\x64\x50\x9d\xee\xf3\x68\x9c\x2b\x0e\x68\xe8\x37\x0e\x6d\x41\x0d\x73\x8d\x02\xc2\x1b\x26\x1b\xdf\xe3\x10\x87\xf3\xf9\x36\xe6\x0c\x76\xe8\x27\xac\x96\x80\x87\xe7\xea\x3f\xb5\xfc\x0e\x10\xfa\x44\x4c\xf7\x39\xe6\xf1\xa1\x2f\x9f\x5b\x34\x7b\x2e\x5c\xa2\x21\x5f\x52\xef\xce\xb9\xe6\x34\x43\xda\x64\x2b\x06\xae\x26\x51\x56\xde\xf0\x38\x93\x72\xf4\xec\x6d\xed\x45\x0b\x13\xcb\x3b\x55\xf7\xd3\x16\xb0\x27\x81\x71\x75\xa9\x46\x2c\x3e\x0a\x0c\x47\x8e\xe8\x76\x72\x44\xfb\xed\x46\x5d\x79\xa2\xe7\x33\xdb\x10\xcb\x80\x58\x06\xc4\x32\x20\x96\x01\xb1\x0c\x75\x8b\x2f\x20\xf9\x82\x24\x02\x6e\x0a\x6e\x0a\x6e\x0a\x6e\x0a\x6e\x0a\x6e\xba\x2e\x6e\x0a\x94\x01\x94\x01\x94\x01\x94\x31\x39\xca\x38\x01\xf7\x1b\x9a\xc5\xd9\x4f\x84\xc7\x99\x9c\xcf\xf5\xb8\x19\x05\x81\x1a\x4f\xd8\x56\x71\xce\x1d\x31\x8f\x04\x4f\xec\x8e\x7d\xf9\x5b\x49\x76\xec\x06\x4e\x33\xd5\xe6\x1c\x17\x32\x0d\x28\xd7\xb9\x94\x12\x1e\x17\x95\x91\xbc\x0c\x64\x34\x32\x51\xd3\xf6\x0d\xe3\xa7\xc1\x33\x7d\xd6\xb4\xf8\x6c\x58\x2e\x69\x4b\xc7\xf1\x49\x17\x95\x51\x32\x4c\x91\xe5\x54\x1c\x7a\x63\xb3\x9c\xc8\xb3\xf1\x89\xfb\xdc\x11\xa1\xf6\xd1\xe9\xfe\xfa\x51\x24\x2d\x97\x8c\xce\xcc\x1b\xc6\xc9\xa9\x29\x43\x26\xfc\x58\x69\x81\xa9\x15\xfe\xc8\xbf\x2a\x29\xc6\x0f\x22\x12\xa9\x2a\x55\xcc\xe5\x49\x73\x7e\x48\x95\x24\xcf\x97\x0c\xd9\xeb\x37\xff\x52\xc7\x86\xdc\x22\xd4\xe5\x49\xdf\xd1\x8a\x13\x79\xa7\x2c\xe9\xc7\xdc\xf5\xf5\xba\x45\xde\x9f\xfc\x58\x72\xff\x27\x20\x8e\xdd\x3f\x65\xb6\x81\x23\x3d\xee\x3b\x3b\x19\x3a\x37\xc1\x57\xe7\xe6\xe0\xbb\x96\xb4\xc5\xcd\x3f\x3e\x46\x77\xea\x2a\x83\xdd\xc9\x89\x70\xc6\x1c\x1e\xa3\x34\xad\x65\x2b\x40\x7d\x95\x9f\x37\x3d\x94\x9f\x77\xda\x3f\x66\xe2\xc3\xbf\xe9\x7c\x78\x1d\xc5\x6b\xe2\xd3\xaf\x5b\xef\x24\x35\x66\xa1\x7a\xe7\x05\x1b\xa7\x74\xc8\xcd\xff\x5f\xad\x98\x7f\x9f\xa9\x82\xc8\x89\xfa\x5d\x47\xd5\x10\xd4\x0a\x81\x26\xb7\x0a\x4d\x0e\xd9\xd9\x1b\xca\xce\x46\x1a\x1a\xd2\xd0\x90\x86\x86\x34\x34\x18\xa1\x4d\x5f\x91\x91\x39\x1f\xf3\x18\x72\x48\x59\x39\x21\x65\x65\xa9\xb6\x5c\xe6\x57\x1f\x3d\x51\x25\x14\xdc\xae\x28\x67\x27\x19\x60\xea\xfc\x81\xe6\x17\x56\x23\xf8\x65\x06\x7e\xcd\x8e\x58\xac\x5b\xe6\x39\x38\x90\xbc\xf7\x89\x19\xdc\xf5\x30\x5a\x03\x09\x78\xfc\x50\x8f\xff\xe8\xdf\xd2\x2f\x2d\x44\x6a\xe2\x62\xe4\xcb\xc5\x9c\x14\x65\x30\xa8\xbc\xf5\x35\x9d\xfb\x43\xfb\x0a\xf7\x28\x42\x47\xf4\x3a\x32\x8a\x43\x1e\x0b\xc7\xb5\xae\xfb\x9f\xa3\xfe\x7e\x4a\x8e\xa4\xb5\xb4\xcf\x86\x11\xf0\x30\x76\x29\x09\x48\x47\xc4\x3c\x67\xf3\x08\x1a\x1a\xcb\xce\xee\xbc\x9b\x0a\xce\xb6\x28\x6b\x77\xe5\x80\x15\x06\x97\xde\xca\x5d\x7a\xdb\x81\xb3\x95\x30\xfb\xf4\xe3\xd2\xa9\x20\x6a\x0d\xca\xd3\x8b\x5f\x34\xac\x4f\x2f\xc9\xa1\xa1\xf3\x3f\xb9\x47\x67\xfa\xd2\xbf\xd6\x67\xd3\x11\xe4\x53\x8c\xd8\x8b\x5f\x22\xe9\xdf\xe9\x2c\xdb\x4f\x6a\x25\x4c\xfe\xfe\x9c\xae\x8f\xf9\x7f\xbe\x34\x89\x1a\xf7\x9f\x37\x1f\x64\x68\x91\xd3\xd5\x91\x34\xf8\x92\x7d\xb9\xdc\xab\xff\xfb\x72\xc9\x6e\x4b\xd2\xa4\x20\x5e\xed\x21\x3d\x44\x79\x46\xe1\x35\xb7\x68\x00\x28\x4f\xd3\x73\xad\xc4\xe7\x23\x3c\x3b\x62\xf2\x7b\x32\xb6\x3a\x8f\x31\x10\x32\xf0\xc4\x8e\xe9\x7b\x52\x7a\x76\x3a\xa7\x28\x94\xb6\x76\x20\xb2\xdb\x0f\x11\xaf\xba\xd1\x7a\x03\x1f\x61\x7b\x2c\xdf\xf6\x08\x2a\x71\xa9\x0b\xb5\x3e\x0e\xa3\x3b\x12\x02\x8f\x5b\xcf\x52\x07\x93\x4b\x6c\x49\x21\x44\xb4\x1e\x14\xc2\xed\x29\x84\x06\xe9\x5d\x50\x0f\xb2\x5f\x10\xad\xd7\xe3\xe1\x57\xae\xdb\x1c\x16\xeb\x57\xbd\x60\xcf\x0b\x77\x9b\xbd\x45\xd6\xf0\x28\xb7\xba\xde\x58\x08\x74\x43\x21\x29\x14\x92\x42\x21\x29\x14\x92\x42\x21\xa9\xd9\x0b\x49\xc1\x00\xed\x3d\x50\x68\x8a\x65\x52\xbd\x2f\x84\x5d\x6f\x28\xec\x1a\xc5\xdd\x50\xdc\x0d\xc5\xdd\x50\xdc\x0d\xc5\xdd\x50\xdc\x0d\xc5\xdd\x90\x8d\x84\x6c\x24\x64\x23\x21\x1b\xa9\x3a\x23\xd1\x14\x0b\x95\x24\x51\x49\x12\x95\x24\x17\x5e\x49\xb2\x96\xd8\x81\xfb\x23\xc3\xf0\x99\x19\x86\xa6\x34\xc5\x32\x2a\xc9\xb0\x77\x37\xac\x16\x06\xde\xb3\x0d\xd6\x10\xee\x8d\xfe\x57\xe8\x7f\xa5\x7f\x42\xff\x2b\x84\x2d\x20\x6c\x01\x61\x0b\x08\x5b\x40\xd8\x02\x78\x38\x10\x69\xb7\x44\x80\x48\x81\x48\x81\x48\x81\x48\x81\x48\x37\x8c\x48\x41\x2d\x40\x2d\x40\x2d\x40\x2d\xd0\xff\x0a\xfd\xaf\xd0\xff\x2a\xfb\x65\x70\x4e\x26\x1a\x5f\xc5\xc6\x34\xbe\x7a\x56\x91\x09\x74\xbc\x1a\xb9\xe3\x55\x0b\x20\xeb\xdd\xea\x6a\xc5\x55\x33\x50\x2e\x63\x3b\xd9\x4a\x28\x97\x81\x72\x19\x35\x0f\x63\xbe\x76\xb3\xcc\x3a\x19\x66\x57\x41\x7f\xf6\x63\xaf\x5b\x8d\x9c\xbf\x8f\xd5\x1c\x15\x3d\x66\xec\x5c\x35\xbc\x98\x07\x4a\x78\xb0\x26\x41\x43\x31\x2b\x0e\xb2\xb1\x8a\x19\x92\xa6\x37\x94\x34\x8d\xec\x30\x64\x87\x21\x3b\x0c\xd9\x61\xb0\x29\x9b\xbe\x22\x23\x53\x31\xd0\xab\xca\x60\x6b\xcd\x84\x5e\x55\x46\xe5\x8f\xb4\x37\xa9\x6a\xb1\xb5\x7a\x76\xa7\xba\xc4\xc2\x03\xff\xca\xa2\xfb\x51\x9d\x99\xd2\x35\x34\xa2\xaa\xe3\x71\xe8\x40\x85\x0e\x54\x8d\xe7\x4c\xdc\x81\xaa\x65\x67\xe8\xdb\x7a\x6a\xf9\xb0\x14\x3d\xa7\xe0\x9a\xdb\x1e\x33\x45\xcf\xa9\x31\xe7\x0d\x7a\x4e\xc1\xa3\x01\xc3\x62\x9b\xcd\xa6\x9e\x65\x5a\x9c\xbd\xcb\x54\xab\x33\xa0\x6f\x7b\xa9\xe5\x2b\x7d\x88\x90\x83\xb6\xb7\x21\x6d\xcf\x20\xa5\x0a\x7b\x7f\xf6\x0b\x22\xe4\x6a\x9f\x7a\xe5\x1a\xcb\xdc\x2d\xa4\xce\x15\x69\xa6\x16\x92\x28\xe0\x56\x1a\x67\x46\x7f\xff\x7d\x13\x4a\x4f\xdc\xeb\x2e\x56\xf3\xb4\x94\xea\xd7\x6b\xb3\x6f\x4b\xa9\x7f\xa7\x6f\x66\xcf\xd2\x77\x73\x21\x91\x69\xa8\xd2\x84\x2a\x4d\xa8\xd2\x84\x2a\x4d\xa8\xd2\x54\xfc\x1d\xcd\xa5\x60\x8c\xa2\x98\x56\xa3\x44\x10\x27\xbd\xa1\x38\x69\x54\x4e\x43\xe5\x34\x54\x4e\x43\xe5\x34\x54\x4e\x43\xe5\x34\x54\x4e\x43\xfa\x10\xd2\x87\x90\x3e\x84\xf4\xa1\xea\x8c\x44\x73\x29\x94\x69\x44\x99\x46\x94\x69\x5c\x78\x99\xc6\x5a\x76\x87\x18\x00\xa4\x04\x3e\x33\x25\x70\xd6\xe6\x52\xf5\xfc\x77\xfe\xe4\xc0\xf6\xe6\x52\xfd\x68\x78\x5b\x73\xa9\xd1\x08\x38\xda\x4c\xa1\xcd\x94\xfe\x09\x6d\xa6\x10\xc0\x80\x00\x06\x04\x30\x20\x80\x01\x01\x0c\x20\xe3\x80\xa5\xdd\x12\x01\x2c\x05\x2c\x05\x2c\x05\x2c\x05\x2c\xdd\x30\x2c\x05\xbf\x00\xbf\x00\xbf\x00\xbf\x40\x9b\x29\xb4\x99\x42\x9b\xa9\xec\x97\xd3\x12\x36\x0b\x4e\x7c\xb4\x99\x8a\xe7\x6d\x33\x35\x12\x52\x1a\x50\xc0\x2e\x51\x27\x75\x3e\xbc\x6f\x33\xf5\xcc\x2c\xb2\x64\x20\x5e\xb1\xe8\x60\x3d\xa8\xb5\x89\xd6\x7e\xc1\x1f\xf5\xc2\x15\x84\x92\xd4\xd7\xf2\x83\xf6\xa9\x71\x47\xf0\xa8\xfc\x33\x0a\xdd\x75\xbd\x4d\xf2\xd7\x59\xfa\x6b\xf5\x63\x84\xed\xfd\xb5\x66\xce\x93\x3d\x4f\x1d\x91\xe2\xab\xf5\x5b\x37\x91\xba\xb5\x82\xd4\x2d\xd4\x11\x41\x1d\x91\x9a\x87\x31\x5f\xc1\x5b\x50\x1d\x91\x41\x4f\x3d\x7f\xa7\xad\x01\x8f\xbd\x6e\x4d\x7a\xa6\x4e\x5b\xcf\xd3\xa4\x2f\xd8\x34\xf5\x4f\xce\xdd\x80\x6b\x8c\xd2\x27\x28\x78\x52\xfb\x36\xd0\xdc\x96\xa8\xb9\x21\xc5\x7c\x43\x29\xe6\xc8\xa5\x43\x2e\x1d\x72\xe9\x90\x4b\x07\xa3\xb3\xe9\x2b\x32\x32\x71\x05\xad\xb8\x0c\x36\xe7\x66\x6b\xc5\x65\x6a\xb6\x4d\x4d\x2b\xae\x7e\x56\x57\x5b\x2b\xae\x6e\x9b\x0b\x4b\x10\x5c\x31\xcb\x68\xca\x35\x1f\xd3\x2c\x36\xe5\x6a\x7c\x8a\x25\x35\xe5\x02\xa4\x5d\x1c\xa4\x45\x37\xb2\x41\x9b\x63\x6b\x37\xb2\x95\xa2\x65\xf4\x25\x83\x9f\x72\x7b\x84\x19\x7d\xc9\xc6\x9c\x37\xe8\x4b\x06\xf7\x0e\x6c\xab\x0d\xf5\x25\x1b\xcb\xba\x3a\x4f\x5f\xb2\xbe\x9e\x91\xd6\xbe\x64\x2b\x55\xff\x10\x59\x08\xbd\x6f\x43\x7a\x9f\x41\xea\x15\xb4\x80\xec\x17\x44\x16\xd6\x3e\xf5\xca\x75\x97\x59\x3a\x94\x99\x15\xa1\x37\x5f\x6b\xb2\xc1\x81\x79\x4d\x3d\xc9\x10\x9b\x87\x5a\x5e\xa8\xe5\x85\x5a\x5e\xa8\xe5\x85\x5a\x5e\xb3\xd7\xf2\x82\xdd\xd9\x7b\xa0\xd0\x8c\xcc\xa4\x92\x6b\x88\x14\xdf\x50\xa4\x38\xea\xeb\xa1\xbe\x1e\xea\xeb\xa1\xbe\x1e\xea\xeb\xa1\xbe\x1e\xea\xeb\x21\x81\x0a\x09\x54\x48\xa0\x42\x02\x55\x75\x46\xa2\x19\x19\x8a\x79\xa2\x98\x27\x8a\x79\x2e\xbc\x98\x67\x2d\xad\x03\xee\x47\x52\xe4\x33\x93\x22\x67\x6f\x46\x66\x54\x5e\x64\x77\x17\xb2\x16\xf0\xdd\xbf\xfd\xd8\x10\xd8\x8d\xbe\x63\xe8\x3b\xa6\x7f\x42\xdf\x31\xc4\x2a\x20\x56\x01\xb1\x0a\x88\x55\x40\xac\x02\x20\x38\xb8\x68\xb7\x44\xc0\x45\xc1\x45\xc1\x45\xc1\x45\xc1\x45\x37\xcc\x45\x81\x2a\x80\x2a\x80\x2a\x80\x2a\xd0\x77\x0c\x7d\xc7\xd0\x77\x2c\xfb\xe5\xf4\x34\x4c\x34\x1c\x8b\xe7\x6f\x38\xf6\xac\xba\x11\xe8\x34\xb6\x81\x22\x76\xd3\x76\x1a\x6b\xe1\x80\xa7\xb4\x18\x5b\x63\x05\x10\x94\xfe\xd8\x4e\x0a\x16\x4a\x7f\xa0\xf4\x47\xcd\xc3\x18\xac\xbd\x2d\xac\xe6\x87\xd9\xf5\xe7\x87\x3f\xef\xba\x15\xe3\x19\xfb\x87\x99\x50\x96\x64\x8e\x8e\x61\x83\x2b\x92\xa0\x0e\x09\x14\xb1\xe5\x2b\x62\xc8\xfc\xde\x50\xe6\x37\x52\xdc\x90\xe2\x86\x14\x37\xa4\xb8\xc1\x86\x6c\xfa\x8a\x8c\xcc\x27\x41\x8f\x30\x83\x4d\xb6\x59\x7b\x84\x19\x95\x04\xd3\xd0\x1c\xac\xc5\xc0\xea\xdf\x15\xec\x12\xab\x0d\x5c\x2a\x0b\xeb\x03\x76\x66\xd4\x58\x6d\x00\x76\x3a\x40\x34\x85\x1d\x02\x9a\x2e\x0e\x9a\xa2\xf3\xd7\x69\x3b\xdf\x09\x2d\xbf\x96\x8f\x7a\xd1\xeb\x0b\xfe\xc6\xed\x81\x5f\xf4\xfa\x1a\x73\xde\xa0\xd7\x17\xdc\x34\x30\x9c\x8e\xc5\xb8\xce\x26\x5f\xcf\x32\x9d\xce\xd7\xdd\xab\xd5\xb5\x71\x42\x5b\xaf\xe5\xab\x78\x88\xe6\x83\x52\xb7\x05\xa5\xce\x20\xdd\x09\x5b\x7c\xf6\x0b\xa2\xf9\x92\x2b\xaf\x5c\x23\x99\xad\x75\xd7\xb9\x82\xe3\x42\xe9\x89\x7b\xdd\x26\xac\xd4\xa3\x6b\x86\x82\x65\xdd\x9d\x4b\xdb\xea\x96\x15\xae\xf0\x41\x86\xb7\x9e\x97\x29\x3c\x91\x09\x28\xa7\xf1\x84\xad\xe7\xa8\x25\x63\x86\x54\x35\x03\x52\xd5\xc6\xe8\x74\x7c\x3a\x46\x42\x81\xc0\x15\x17\x08\xec\xc6\x44\x5d\xc5\x01\x5b\xdd\x52\x23\x20\x30\x94\x04\x44\x49\x40\x94\x04\x44\x49\xc0\xb5\x95\x04\xec\x5e\x79\x6b\xcb\x01\x4e\x1c\x70\x70\xb6\x22\x80\xdd\xaf\xdf\x5c\x00\xd0\x64\x19\x9c\x52\xf6\xaf\x5b\x06\xcd\x25\xff\x26\x96\x01\x0a\xfd\xa1\xd0\x1f\x0a\xfd\xa1\xd0\x1f\x0a\xfd\x4d\x56\xe8\xaf\xc7\xea\x7f\x54\xe4\xaf\x35\x2f\x6c\x43\xf1\x86\xfd\xde\x66\xc5\x85\x0a\xbb\xc5\xdd\x56\xa4\xf0\xbc\x72\x47\x69\xc2\x49\x46\xf4\xb8\x2c\xe1\xc4\xc3\x3a\x6b\x31\xc2\x6e\xf1\xb4\x14\x22\x9c\x7a\xd9\x34\xb5\xfc\x60\xb7\xd0\x6a\x90\xc6\x60\x7f\x5e\xf2\xd7\x5f\x83\x41\xd7\xdc\x84\xeb\x19\x68\x0b\x4c\xab\x2a\x7d\x83\x99\x16\x60\x96\x01\x30\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x6b\xcc\xd5\x16\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\x0b\x14\xcb\xc8\x11\x05\xc5\x2a\x8b\x07\x14\x6b\xc9\x14\x8b\x1e\xe4\xc6\xf2\x0e\x51\x2c\xc2\xb3\xe5\x6e\x25\x9a\xa0\x6f\xbb\xdf\x5c\xfb\xc0\xbd\xe2\xf8\xf1\xcc\xda\x7b\xa7\x9f\xaa\x90\x48\xb2\x2b\x94\xef\x7d\x9b\xe9\xe5\x57\x74\xb9\xab\xdc\xc9\x57\xf2\xda\x64\x5c\x8c\xb9\x7e\x14\x0b\x5e\xda\x40\xab\xd4\xec\x7b\x5b\x51\xa3\xe3\xe7\xf9\xb5\x42\x23\x00\xce\x4c\x2d\x57\x4a\x4b\xc5\xcf\xca\x1a\x04\x47\xcb\x26\xfa\x4c\x30\xed\xf8\x3b\x02\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x1b\x73\xb5\x05\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x03\x5a\x33\x72\x44\x81\xd6\xca\xe2\x01\x5a\x5b\x25\x5a\xab\xe9\x11\x3c\x11\x61\x2b\x62\x35\x3f\x55\x00\xd2\x04\xb2\x89\xf0\xda\xab\x5c\xf3\x27\xeb\x26\xd1\x12\x95\xf1\x90\x9b\x34\x57\x25\x53\xb8\x70\xed\x11\xe1\x1c\xc0\x1c\xc0\xdc\x42\xc1\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\x1c\xa0\xdc\xd2\xa1\x5c\xb1\xd1\x77\x97\xe3\x61\x49\x6d\xbf\x01\x1b\x01\x1b\x01\x1b\x97\x31\xa2\x80\x8d\x65\xf1\x00\x36\xae\x0a\x36\x1a\x96\xc0\x67\x4c\xe6\x1e\x52\xf6\x40\x06\x17\x4c\x06\xe7\x4f\xd9\x03\x16\x04\x16\x04\x16\x04\x16\x04\x16\x04\x16\x04\x16\x04\x16\x1c\x73\xb5\x05\x16\x04\x16\x04\x16\x04\x16\x04\x16\x04\x16\x04\x16\xdc\x1c\x16\x04\x3e\x03\x3e\x03\x3e\x5b\xc6\x88\x02\x9f\x95\xc5\x03\x7c\xb6\x2e\x7c\x66\x5e\x92\xde\x4a\xb2\xf3\x00\xdf\x00\xdf\x16\x0a\xdf\x00\xde\x00\xde\x00\xde\xd2\x6f\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x0d\xe0\x6d\x71\xe0\xad\x21\x1f\x0f\x89\x78\x20\x89\xa6\x71\x27\x90\x44\x90\x44\x90\x44\x90\xc4\x8a\xd0\x0c\x23\x89\xea\xb1\xa2\x80\x5b\x29\x47\xa4\xbf\xff\xbe\x31\xac\xc1\x9e\x31\x9d\xf5\xfe\x9d\x8a\xc8\x46\x73\x3d\xc0\xc2\x75\xc0\xc2\x99\x32\xf5\x50\xc0\x13\xc0\x10\xc0\x10\xc0\x10\xc0\x10\xc0\x10\xc0\x10\xc0\xd0\x44\x58\x06\x60\x08\x60\x08\x60\x08\x60\x08\x60\x08\x60\x08\x60\xb8\x44\x60\x98\xbc\x35\x71\x43\x35\x94\xfc\x10\x3f\xb0\xc8\x92\x81\x78\xc5\xa2\x83\xf5\xa0\x46\x9e\xec\x15\xc1\x1f\xb5\xa7\x38\x08\x25\x49\xf9\x74\xa6\x48\x8e\x41\x80\x45\x80\x45\x80\x45\x80\x45\x80\x45\x80\x45\x80\xc5\x56\xb0\x68\x48\xe6\xe2\x4a\xfa\x0a\xd6\xa2\x49\x60\x49\x60\xc9\x85\x62\x49\x20\x49\x20\x49\x20\xc9\xf4\x5b\x03\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x04\x92\x5c\x1c\x92\x2c\xe6\x30\xae\xa2\x99\x20\x18\x2b\x18\x2b\x18\x2b\x18\xab\xd1\x23\x0a\xc6\x5a\x16\x0f\x18\xeb\xaa\x19\xab\x29\x59\x9b\x26\xa5\x6b\x22\x4f\x13\x40\x74\xc1\x40\x74\xc6\x3c\x4d\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\xd0\x31\x57\x5b\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\x50\xd0\xd0\xcd\xd1\x50\xc0\x43\xc0\x43\xc0\x43\xc0\x43\xa3\x47\x14\xf0\xb0\x2c\x1e\xc0\xc3\x75\xc3\x43\x83\x32\x33\xd7\x93\x92\x09\xf4\x08\xf4\xb8\x50\xf4\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\x08\xec\xb8\x3c\xec\x58\x4d\xc2\x44\xf6\x25\x00\x2a\x00\xaa\x21\xb8\x0d\x00\x15\x00\x15\x00\x15\x00\xb5\x22\x34\xc3\x00\x2a\x7a\x64\xd6\x53\xcf\x4a\x67\xcc\x0f\x32\xbc\xf5\xbc\x0c\x85\x46\xc0\xa0\xc0\xa0\x0b\xc5\xa0\xe8\x94\x09\x22\x0a\x22\x5a\x38\x10\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x14\x44\x74\x79\x44\x14\x38\x0d\x38\x0d\x38\x6d\x19\x23\x0a\x9c\x56\x16\x0f\x70\xda\x3a\x70\x9a\x29\x1c\x6d\x7e\x80\x06\x72\x56\x37\xa0\x20\x67\x20\x67\x48\x22\x04\x32\x03\x32\x6b\x9a\x7e\x40\x66\x40\x66\x40\x66\x40\x66\x40\x66\xe5\xe5\xd6\x40\x5c\x04\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x06\x64\x56\x7e\x1b\x20\x33\x20\x33\x20\x33\x20\x33\x20\xb3\xed\x21\xb3\xc8\x7a\x10\xf6\xc1\x53\x16\x50\x82\xca\x06\x71\xb1\xa9\x59\x50\x1f\xe6\xe6\x88\x98\xb9\xfe\x5e\x86\x8f\xd9\xdc\xe6\x4c\xbb\xf3\x9b\xe9\x98\x23\xe2\xcf\x99\x08\x6e\xef\x3e\xfe\x4f\xf5\xf8\xb9\xe8\xd7\x62\xa1\x54\x26\xc4\x85\x23\xa9\xfc\xcb\x28\x9c\x73\x51\xbc\x6f\xd7\x97\xf4\xed\xf5\xb2\x3f\xa6\x92\xb5\xa8\xd7\xc8\xbe\x5f\xd2\x9f\xaf\x6f\xef\x3e\xfe\x5e\x77\x16\xbe\xa7\xd3\xbf\xa7\x54\x90\xd4\x55\x74\x35\x9f\xd5\xff\x7d\x7b\xfd\x8c\x2f\x2b\x08\x5d\x19\xba\xf1\x93\xe5\xf1\xa8\x3c\x80\x97\xda\x06\x1f\x37\xa0\x43\x5f\x93\x59\xd2\xf3\x84\x95\x6e\x2f\x77\xc9\x33\xbc\x53\xcf\xd0\xf2\x69\xe8\x93\x8b\x5f\xc7\xbb\xec\x3a\x8d\xd7\x68\x00\xc2\xac\x3a\xa6\x5a\x93\xb8\x97\xf6\x53\x75\x3a\xa6\xaa\x44\xdd\x6f\x93\x4c\xd5\xf7\xf4\x9e\xbf\x91\xd0\xa2\x9e\x13\xb5\x7d\x86\x82\x31\x82\x31\x82\x31\x82\x31\xae\x8d\x31\xb6\x58\x80\x5d\x9c\xb1\xdd\x9b\xd0\x6e\x09\x9e\xb4\xf6\xfe\x47\x09\x2e\xf1\xae\xbe\xa2\x58\x46\x4b\xcd\x28\x3d\x0f\x4a\xef\x56\x8c\xe7\xb9\x17\x2c\x50\xd2\x8a\x62\x61\xef\xd8\xad\xcf\x5c\x5f\xaf\x2c\x32\x64\x07\x3f\x5b\x9c\x6c\x66\x87\x4f\xbf\x1f\x7c\x66\xbb\xa1\xda\x08\xbf\x89\x6c\xc6\xab\xe5\x93\x7c\xe1\xc9\x27\x9f\xce\x8d\x44\xc0\x6c\x7f\x08\xe9\x2b\x0b\x42\x69\x89\x88\x9c\xd6\x89\x1b\x23\x99\x65\x3b\xf6\x27\xdd\x91\x46\x8b\xe6\xce\x5b\x76\xcd\x6e\x3d\xef\x2d\xb9\xa4\x6d\xb5\x4a\x1f\x7c\x35\xf0\x8e\x88\xb2\x29\x99\x5c\x4e\xd8\x03\x06\x4a\xbf\xcb\x3c\xc3\x74\x36\x30\xdc\x4f\x14\xcd\x70\xf8\x6c\x12\xf9\xa3\xe8\xe1\x72\x7d\x16\x69\xc7\x13\xbb\x17\x7b\x1d\xc1\x96\x41\x84\x5c\x95\x48\x56\x2f\x9a\x3a\x07\xa1\x37\x87\x7b\xc1\x7c\xe9\x5f\xfb\xc2\xe1\x34\x41\x13\x1f\xd5\x8e\xfd\x91\x6d\xd8\x1a\x28\x66\x9f\x46\xa2\x25\xba\x8f\x8f\xc2\x76\x79\x2c\xbc\xa7\x3c\xb4\x2c\xdf\x72\x5d\xef\x55\xe2\x83\x22\xa1\x33\x27\xe4\x16\x7d\x35\xae\xfc\xff\xd8\x3b\x97\xe6\x38\x91\x6d\xdf\xcf\xf5\x29\x08\x9d\x81\xec\xe8\x56\xe9\xda\x93\xb3\xa3\xf7\x48\xdb\x6e\xdf\xeb\xde\xdd\x6e\xc5\xf6\x8e\x3e\x13\x77\xdc\xc0\x54\xaa\xc4\x35\x82\x0a\xa0\xe4\xd0\x39\xd1\xdf\xfd\x06\x99\x40\x01\xc5\xab\x10\x8f\x04\x7e\x23\x2b\x5c\x3c\x33\x21\x59\x6b\xfd\xd6\xfa\xaf\x6d\x6a\x10\x1c\x3f\xda\x32\x6f\x2f\x79\x4a\x0f\x41\x74\x91\xd9\xe9\x32\xa3\x3d\x93\x1b\x8a\x4f\x72\xaf\xd6\xc0\xe4\x10\x1b\x75\x9d\x8f\xc2\x74\x4b\xaf\xb1\xc3\x34\xcb\x6b\xbe\x93\x97\x5c\x16\xd7\x6b\x88\xec\xe9\xf2\xf8\x9f\x93\x13\xd0\x6e\x5c\xaa\xf3\x02\x46\x7b\xfc\xc9\x10\x20\x43\x80\x0c\x01\x32\x04\xc8\x10\x18\x2c\x43\xa0\xe5\xb7\xe0\x24\x4b\x60\xbc\xcf\xe2\xfb\x4c\x51\xd1\xde\x11\x66\x20\xd2\x25\xe8\xce\xf7\xf6\xe6\x4e\x5a\x47\x77\x9e\x63\x5b\xcf\xb9\x7c\xf4\xe4\xa1\x3b\x56\x25\x45\x8f\xdd\x9b\xcd\x7f\x6e\x8c\xcf\x6a\x3d\x53\xa6\xcb\x5e\xb8\xd1\xcb\x72\xfc\xa6\x0a\xc3\xf3\xf7\x0f\xa6\x9b\xe4\xc7\xfb\x07\x71\x73\x6f\x3a\x89\xaf\xfc\xe5\x52\xfd\xfc\xe5\xd2\xb8\xb7\x5d\xd3\xb1\xff\x3b\xf9\x90\x7c\x15\x86\xb9\x95\xd8\xd8\xbb\x51\x48\x6d\x7b\x74\xc3\xd4\xe1\xaf\x82\xe3\x4e\xca\x3f\xdd\x18\x3f\xdb\x72\x71\xcc\x5c\xba\xe7\x9f\xde\xdb\x31\x49\x20\x54\xee\xb1\xf4\x51\xbc\xf0\xa1\xcb\x84\xaa\x3b\x78\x9f\xdc\x7b\xa5\xc9\x53\x06\xe8\xfa\x75\xcc\xe4\xad\x47\x2f\xec\x83\xf7\xdd\xd8\x99\xfe\x57\x73\x97\x0b\x4e\xa6\x4e\x8d\xf0\xef\x3d\xff\x31\x9a\x93\xd2\xf1\xfa\xbd\x70\x47\xd5\xc3\x25\x8d\xde\xc4\x62\xdd\xab\xb1\xb5\x23\x6b\xd2\xb2\xb7\x47\x57\x58\xda\x0a\x32\x38\x91\xce\x71\x20\xb1\x9c\xfc\x35\xb1\x06\x36\x99\xc9\x4c\xbe\x23\x29\xa5\x4f\x6b\x3d\xf2\x27\xdb\x18\xb7\x96\x25\xf6\xa1\xfc\x36\x65\x3d\xbb\x2b\x75\x0f\x57\xc6\x75\xfc\x00\xe6\x1f\xd0\xe0\xef\xc6\xd5\x3f\x4c\xeb\xdb\xce\xf7\x0e\xee\x36\xda\x4a\xd6\x4d\xc8\x8d\x0a\x03\xa7\x4c\xc8\xd8\x3e\xce\x1f\x24\xb9\x83\xaf\xe9\x91\xfe\x6e\x5c\x7d\xf0\x7c\x91\x39\xac\x61\x99\x81\x65\x6e\xa3\xbb\x8f\xc7\x47\x95\xd5\xc8\xe3\x05\xca\xf5\x3c\x39\xe0\x7d\x7a\x8c\x2e\x0f\xe4\xbe\xf8\xb8\x4f\x63\x71\x2e\x38\x9d\xa7\xdd\x3c\xd4\xa5\xf4\x4c\x35\x0b\x24\xf7\x0c\x36\xbf\xa7\x09\x3e\xe3\xc5\x36\xa6\x4c\xf5\x69\x37\x58\x35\xe9\x3e\x2f\xb5\x7f\x4a\x49\x1d\x44\xf9\x4c\x4c\xf7\x39\x34\xc3\x43\x5b\x3e\x37\x3b\x90\x9c\xd9\xad\xa2\x4c\x58\x7d\x91\x8f\xd6\x52\x1f\xd5\xc2\x27\x8c\xba\xbc\x4a\xb8\x8a\xf6\x16\xcb\x85\xeb\x2a\x85\x7b\x17\x2b\x50\x71\x32\x3f\xf6\xad\x13\x83\x3e\xe9\x8c\xdc\x16\x72\x47\x47\xc9\x22\xee\x17\x83\x6d\xaa\x9d\xd7\x53\xed\xdc\xee\xcb\xd2\x54\xf1\x3c\x9e\x0b\x46\x5e\x02\x79\x09\xe4\x25\x90\x97\x40\x5e\x42\xd9\xe2\x0b\xf0\x9e\xd1\x88\xc0\x40\x61\xa0\x30\x50\x18\x28\x0c\x14\x06\xba\x2c\x06\x0a\x96\x00\x4b\x80\x25\xc0\x12\x83\x63\x89\x33\xd0\xbd\xa6\xf5\xc8\xed\x86\xf0\xb4\x26\xf9\xa5\x11\x37\xad\x80\x4e\xe5\x0e\xeb\x12\x9c\xdd\x64\x58\xc6\xd3\x9b\x4d\x2e\x8e\xbf\xe4\x0a\xc4\x66\x70\xd4\x97\xb4\xec\x88\xb0\xa8\x83\xac\xec\x5c\xa4\x66\x2e\x0a\xf3\x76\xb9\xf7\x82\x9e\xc9\x98\xf2\x5e\x0c\xb3\x35\x04\x53\x3b\xf4\x8a\xc1\xba\xd5\x77\xd6\xf4\xca\x1f\x6c\x71\xe8\xa5\xe2\x93\xaa\xa3\xec\xb4\x6b\x5b\x75\x24\xa3\x13\xbf\x99\xae\xb9\x13\xbe\x8a\xb3\x45\x57\x65\x98\x41\xe0\x59\xb6\x74\x1c\xd3\x88\x96\x29\x03\x93\x9e\x6f\x08\x37\x8c\x2c\xb9\xc4\x93\x7e\x34\xbf\x45\xa3\x18\x3e\x88\x40\x24\xe6\x50\xb6\xb6\x26\xa9\xc1\x91\xe6\xa0\x8c\x5e\x79\xbe\xf1\xe6\xed\xdf\xa2\x6d\x7d\xd3\x92\xb8\xca\xf1\xdc\x9d\x32\x7e\x64\x84\xc9\xf2\xdc\xd0\xb4\x5d\xb5\x3a\xc9\x08\xce\x71\x5b\x19\xc2\x8f\x61\x9a\xf1\xf5\x39\xb5\xef\x77\x9e\x63\xba\xbb\x8d\xe7\xef\x6e\xf6\xdf\x76\x37\x07\xd7\xb6\xbc\xad\xb8\xf9\x8f\x8f\xc1\x5d\x74\x94\xce\x21\xe1\x78\x70\xfa\x9c\x1e\xad\xac\xa5\xf9\x1a\x31\x6d\x0d\x98\xb7\x2d\x0c\x98\x77\x2a\xbe\xa5\xdb\x85\xbf\x6d\xbc\x70\x95\x4d\xab\xdb\x95\x2f\xcf\x66\x94\x46\xc9\x2c\x6c\xc6\x0b\xa3\x93\xf2\xc6\xcd\xff\x44\xcb\xde\x5f\x23\x09\x70\xb4\x37\xc5\x4e\x45\x37\x90\xda\xc8\x9d\x1d\xc3\x6b\x8e\x86\x17\xc5\xcd\x2b\x2a\x6e\xa6\x8a\x8b\x2a\x2e\xaa\xb8\xa8\xe2\xc2\x67\xac\x7a\x8b\xb4\x2c\x99\x98\xc6\xff\xa2\xe2\xa3\xa1\xe2\x63\x1e\x6e\x58\x1a\xce\xee\xbd\xce\xc3\x17\xe6\xb6\x60\x7e\xb5\x75\xa6\xa2\x5d\xdb\xb9\x52\xac\x2c\x84\x46\x8a\xbb\x55\xbc\x95\x3b\x31\x93\xc8\xc8\x4b\x68\x9a\x0c\x8b\xc7\x0e\x6b\xcd\x25\x28\x33\x61\x6f\x86\x0f\xe5\xe0\x4c\xfe\x9b\xfb\xa5\x86\xf0\x0c\x2c\x37\x3f\x5f\x40\x28\xe9\x7b\x27\x0d\xe6\x6b\xb9\xef\x0f\xf5\x4b\xd7\xa3\xf0\x77\xa2\xd5\x96\x41\xe8\x9b\xa1\xd8\xd9\xd6\x75\xfb\x7d\xa2\xbf\x9f\xe3\x2d\xe5\x22\xd9\x66\xcd\xdf\x9b\x7e\x68\xcb\xe2\x18\x95\x29\xd2\x71\xfd\x97\x67\xd5\x20\x96\x36\x14\xd6\xac\xb1\x9d\xee\xf2\x29\x1b\x06\x11\xb6\x85\x47\xd8\xd6\x83\x36\x0b\x89\xe6\xc9\xcb\xa5\x8a\x21\xa2\xd5\xe6\x58\x60\xfb\xaa\x62\x25\x7a\x2d\xe3\x0b\xaa\x02\xd2\x74\xe4\x9e\xae\xe7\x5e\xab\xbd\xe5\x16\x32\xc4\x17\x18\xaf\x7e\x09\x3c\xf7\x4e\xd5\x99\xfe\x16\xad\x79\xf1\xdf\x9f\x93\x95\xf0\xf8\x9f\xaf\x75\x62\xae\xed\x9f\x9b\x0f\x9e\x6f\xc9\x18\xe8\xce\x93\x93\xef\x19\x5f\x2e\xef\xa3\xff\xfb\x72\x69\xdc\xe6\x46\x53\xa6\xb1\xaa\x80\xe5\x21\x38\xd6\xd4\x5d\x9b\x96\x9c\x00\x59\xa9\xe8\xd8\x56\x1c\x82\x11\xce\x36\x30\xbc\xef\xf1\xdc\xaa\x4a\xbe\xbd\xf0\xf6\x8e\xd8\x18\xea\x9c\xb2\x40\x39\x79\xa6\x64\x32\x69\xe9\x44\xa4\xa7\xef\x32\xbc\xd1\x89\x96\x9b\xfa\x87\xfb\x30\x3f\xf7\x61\x5f\xc8\xc4\x9c\x85\x03\x71\xe8\xdd\xa7\xdf\x3b\xa6\xd5\xd5\xac\x8b\xf7\x5e\xb0\x61\x47\xbe\x1a\x46\xdd\xba\x8c\x3a\x8d\x6c\x27\x3e\xf1\xe9\x2f\xe4\xab\xad\xcb\x36\x39\xcc\x24\xb4\x79\x61\xb4\x4b\xfa\x92\x85\x2b\x75\x4d\x97\x7a\xa7\x15\x71\x95\xb3\xbb\xb5\x9f\xec\xed\xc1\x74\xb2\x15\x53\x66\xaa\x6b\x90\xbb\xf5\x4d\x26\xdf\xe1\xa7\x34\x53\xe2\x4a\x1e\xe9\xea\xa8\x72\x93\x93\x2d\x49\x2d\x22\xc3\x76\x83\x50\x98\xb9\x88\x65\xd1\x5e\xfa\x5e\x1b\x06\xfb\xb5\x50\x1e\x42\x1d\x93\xae\x38\x57\x96\xe1\xfd\xfc\x24\xdc\x15\x17\x33\xc9\x29\x5c\x47\x45\x13\xd2\x71\x0b\x96\x8e\x6b\x66\x4a\x4d\xb2\x71\xdd\x1b\xeb\xb6\xe3\x65\x88\xc5\x21\x16\x87\x58\x1c\x62\x71\x4b\x13\x8b\x6b\x5e\x79\x4b\x85\xe2\x06\xce\x4e\x18\x4d\x1e\xae\xf9\xf6\xab\xa5\xe1\x74\x1e\x83\x73\x04\xe1\x9a\xc7\xa0\x5a\x0c\x6e\xe0\x31\x40\x02\x0e\x09\x38\x24\xe0\x90\x80\x43\x02\x6e\x30\x09\xb8\x16\xab\xff\x89\xfc\x5b\x6d\xe9\xd4\x8a\x92\x13\xdb\xdd\xcd\x82\x25\xec\x9a\x87\xbb\x4e\xbe\x6e\xdc\x71\x47\xb4\x6e\x90\x19\x3d\x15\xac\x1b\x78\x5a\x27\x95\xa9\x6b\x1e\x9e\x1a\x89\xba\xa1\x97\x4d\x5d\x85\xe9\x9a\x07\xad\x04\x64\x74\x8e\xe7\xc5\x7f\xfd\xf9\x22\x2a\x56\x22\x88\x30\x10\x1c\xcb\x12\x31\x37\xf9\xde\x97\xf6\x6d\xe9\x85\x8c\xfd\x78\xb4\xf1\xa5\x1f\x13\xdb\x83\x91\x9b\x70\x74\x5e\xae\x72\x4e\x6f\xe6\xd8\xdd\xb9\x1a\x4c\x0d\xa6\x36\x23\xa6\x06\x4f\x83\xa7\xc1\xd3\xe0\x69\xf0\x34\x78\x1a\x3c\x0d\x9e\x06\x4f\x83\xa7\xc1\xd3\xe0\x69\xf0\x34\x78\x1a\x3c\x0d\x9e\x36\x2f\x9e\x86\x7e\x09\x88\x70\x36\x40\x09\x44\x08\x22\x04\x11\x82\x08\x0b\x83\x36\x21\x22\xfc\x2a\x42\xf3\xcd\x4d\x27\x16\x38\x49\x41\x6c\x61\xce\x77\x22\xcc\xdb\xee\x6a\x7a\x6b\x50\xde\x4e\x84\x59\x90\x27\xef\xff\xf6\xee\xe3\xbf\xca\x76\xa5\x14\xf8\x4c\xc6\x96\x19\xc8\xc5\x75\xe2\x92\x4f\x4a\x66\xdf\x8b\xec\xf9\xdb\xbe\x68\x35\x05\xaa\x03\x36\x25\xc8\x48\x36\x17\x4b\x52\x6b\xde\x94\xd3\x06\x05\xf2\x1e\xde\xa5\x07\xa3\x5f\x41\xee\xec\x50\x20\x28\x10\x14\x08\x0a\xb4\x70\x0a\xd4\x4e\xb2\xa5\x94\x04\x8d\xa6\xa6\x83\xe8\x51\xeb\x89\x9a\x52\xf4\x68\x34\x74\x77\x86\xcc\x50\x29\xba\xa2\x7b\x0e\xdd\x73\x34\x7b\xfc\xcf\xa1\xb6\xed\xc6\xa5\x9a\xdc\x8e\xf6\xf8\xc3\x70\x61\xb8\x30\x5c\x18\x2e\x0c\x77\x30\x86\xdb\xf2\x5b\x70\xc2\x71\x69\x2a\x47\x53\x39\x9a\xca\xd1\x54\x6e\x16\x4d\xe5\xda\x3f\x90\x0b\xce\x4e\x68\x37\x0f\x75\x19\x0a\x53\xcd\x02\xb9\x0a\x83\xcd\xef\x69\xbe\xc2\x78\xb1\x8d\x29\x33\x17\xda\x0d\x56\x4d\xf6\xc2\x4b\xed\x9f\x52\x5c\x07\x60\xa6\x51\x64\x91\x2b\x67\xf6\xad\xed\x16\x79\x34\x99\x34\x2c\xe8\x2c\xdc\xd4\x08\xcd\x23\x55\xc4\xcc\x8f\xbd\xec\xc4\xb4\x2f\x2d\x36\xaf\x61\xde\xd1\x51\x4e\x88\xf7\x8b\x39\x37\xe5\xa9\xeb\x29\x4f\x6d\xf7\xa1\x69\x2a\x51\x1d\xcf\x23\x23\x4d\x81\x34\x05\xd2\x14\x48\x53\x20\x4d\xa1\x6c\xf1\x85\x7f\xcf\x68\x44\x40\xa2\x20\x51\x90\x28\x48\x14\x24\x0a\x12\x5d\x16\x12\x85\x52\x40\x29\xa0\x14\x50\x8a\xc1\x29\xc5\x19\x24\x5f\xd3\x6a\xcb\x76\x43\x78\x5a\x71\xb9\xa8\x76\xe1\x95\x3b\xac\x4b\x0d\x34\xdf\xfb\x53\xc6\xf2\x37\xa7\x1d\x11\xd7\x0d\x93\x34\xed\xb0\xd7\x08\x90\x3a\xc8\x82\xce\x45\x57\xe3\xa2\x30\x79\x97\x7b\x2f\xe8\x99\x96\x29\x67\xc6\x30\x5b\x83\x31\xb5\x43\xff\x68\x4c\xe7\x6e\xec\x25\x0b\x06\x2d\xd9\xd7\x53\x9d\x44\x4b\x76\x5a\xb2\x97\x5c\xcc\x7c\xac\x9b\x19\xf5\x65\x7f\xd1\xd5\xbf\x6d\xbc\x7a\x95\x7f\xab\xe5\xe5\x2f\xd4\xac\x94\x26\xcb\x7c\xcc\xca\x0b\xa3\xbb\x88\x47\x49\x3f\x8d\x01\xb5\x3c\xda\x9b\x6c\x15\xfa\x1d\xa8\x76\xe4\xce\x8e\x6d\x36\x47\xdb\x8c\x3a\xe9\x15\xd5\x49\x53\x10\x46\x41\x18\x05\x61\x14\x84\xe1\x56\x56\xbd\x45\x5a\x56\x5f\x4c\xe3\x98\x51\x3c\x12\x6f\x57\x5b\x3c\x32\x23\xd7\x2c\x8d\x82\xf7\x5e\x32\xe2\x0b\x73\x5b\x30\xc4\xda\xfa\x56\xd1\xae\x67\x78\x56\x2c\x34\x84\x50\xce\x7e\x53\x77\x62\x4e\x11\x94\x97\x80\x39\x34\xfc\x4f\x6f\x73\x32\xd6\x28\xb9\x7e\x27\x01\xe8\x6b\xb9\xef\x0f\xf5\x2b\xd9\xa3\xf0\x77\xa2\xd5\x96\x41\xe8\x9b\xa1\xd8\xd9\xd6\x75\xfb\x7d\xa2\xbf\x9f\xe3\x2d\xe5\x9a\xd9\xe6\x3b\xb0\x37\xfd\xd0\x96\x65\x37\x2a\x07\xa5\xe3\x37\x61\x5f\x6c\x12\xbb\x44\x42\x5a\x63\x5e\xdd\xe5\x33\x42\x0c\x82\x70\x0b\x0f\xc2\xad\x07\x90\x16\xf2\xd8\x93\x97\x4b\xd5\x5a\x44\x4b\xce\xb1\x7e\xf7\x55\xc5\x72\xf4\x5a\x86\x20\x54\x81\xa5\xe9\xc8\x3d\x5d\xcf\xbd\x56\x7b\xcb\x2d\x64\x14\x30\x30\x5e\xfd\x12\x78\xee\x9d\x2a\x63\xfd\x2d\x5a\xf8\xe2\xbf\x3f\x27\xcb\xe1\xf1\x3f\x5f\xeb\x44\x6e\xdb\x3f\x37\x1f\x3c\xdf\x92\x61\xd2\x9d\x27\x27\xdf\x33\xbe\x5c\xde\x47\xff\xf7\xe5\xd2\xb8\xcd\x8d\xa6\xcc\x92\x55\x31\xcd\x43\x70\x2c\xd9\xbb\x36\x2d\x39\x01\xb2\x10\xd2\xb1\xad\x38\x4a\x23\x9c\x6d\x60\x78\xdf\xe3\xb9\x55\x85\x82\x7b\xe1\xed\x1d\xb1\x31\xd4\x39\x65\xfd\x73\xf2\x4c\xc9\x5c\xd5\xd2\x89\x48\x4f\xdf\x65\x78\xa3\x13\x2d\x37\xb3\x10\x97\x62\xce\x2e\xc5\x5e\xd3\xfe\xdf\xcd\x4e\xc5\xa1\x77\xdf\x7f\xef\x98\x56\x57\x53\x2f\xde\x7b\xe9\xc6\x1e\xe9\x70\x58\x7b\x2b\xb4\xf6\x34\x32\xaa\xf8\xf6\xa7\xbf\x90\x0e\xd7\xea\xea\x97\x6a\xb9\x1c\xe6\x14\x0c\xbd\x30\xce\x48\x27\x93\x95\x34\x75\x9d\xa1\x7a\x07\x1f\x71\xd9\xb5\xbb\xb5\x9f\xec\xed\xc1\x74\xb2\x25\x5c\x66\x2a\xb4\x90\x1b\x84\x4d\x26\x89\xe2\xa7\x34\xfd\xe2\x4a\x1e\xe9\xea\x28\xbb\x93\xd3\x51\x49\x8d\x26\xc3\x76\x83\x50\x98\xb9\x40\x67\xd1\xa4\xfa\xde\x1c\x3d\xfb\xb5\x50\xaa\x42\x75\x95\xae\xa0\x58\x16\x07\xfe\xfc\x24\xdc\xb5\x57\x57\xc9\x79\x5c\x51\x89\x15\xd2\x76\x0b\x96\xb6\x6b\x26\x53\x4d\xb2\x76\xdd\xdb\x9a\xb6\xa3\x6e\x88\xd9\x21\x66\x87\x98\x1d\x62\x76\x4b\x13\xb3\x6b\x5e\x79\x4b\x85\xec\x06\xce\x71\x18\x4d\xbe\xae\xf9\xf6\xab\xa5\xeb\x74\x1e\x83\x73\x04\xeb\x9a\xc7\xa0\x5a\xac\x6e\xe0\x31\x40\xa2\x0e\x89\x3a\x24\xea\x90\xa8\x43\xa2\x6e\x30\x89\xba\x16\xab\xff\x89\x3c\x5d\x6d\x79\xd6\x8a\x52\x1c\xdb\xdd\xcd\x82\x25\xf6\x9a\x87\xbb\x4e\x5e\x6f\xdc\x71\x47\x54\x6f\x90\x19\x3d\x15\xd4\x1b\x78\x5a\x27\x95\xd1\x6b\x1e\x9e\x1a\x09\xbd\xa1\x97\x4d\x5d\x85\xf3\x9a\x07\xad\x04\x69\x74\x8e\xe7\xc5\x7f\xfd\xf9\x72\x52\x56\x22\xbf\x30\x10\x30\xcb\x52\x32\x37\xf9\xe8\x97\x76\x98\xe9\x85\x96\xfd\x78\x34\xf4\xa5\x33\x13\x1b\x85\x91\xaf\x70\xf4\x60\xae\x72\x9e\x6f\xe6\xd8\x2f\x64\x6d\x70\x36\x38\xdb\xdc\x38\x1b\x8c\x0d\xc6\x06\x63\x83\xb1\xc1\xd8\x60\x6c\x30\x36\x18\x1b\x8c\x0d\xc6\x06\x63\x83\xb1\xc1\xd8\x60\x6c\x30\x36\x18\xdb\x0c\x19\x1b\xca\x28\x60\xc3\xd9\x40\x26\xb0\x21\xd8\x10\x6c\x08\x36\x2c\x0c\xda\x58\xd8\x30\xf4\x7c\x73\x27\x12\x66\xd8\x89\x07\x4e\x52\x41\x5b\x98\xe8\x9d\xd4\x98\xbd\xf7\xfc\xc7\xf4\xc1\x36\x0d\xc5\x27\xaa\x89\xde\x4e\x84\x9f\xd5\xfd\xdf\xde\x7d\xfc\xdf\xc5\x8d\x29\x18\x3e\x93\xab\xa5\x83\x38\x77\xaa\xa6\x9e\x89\xcc\x0e\x17\xd9\x93\xd6\xbe\x40\x4f\x6f\xe6\xfd\x0e\xe5\x9c\x5e\xb5\x2e\xb6\x7a\x81\xfe\x78\x73\x7b\xf7\xf1\x5f\x65\xbb\xf0\x1a\x9d\xff\x1a\x25\x03\xb9\x88\x4e\x7b\xea\x01\xf9\xbf\x4f\x6f\xba\xbe\x50\x56\x60\x6f\x7d\xfb\x49\xd1\xde\x31\xba\x85\x64\x64\xd4\xbd\x7b\xe3\xdd\xe7\x8f\xef\xe5\xe9\x6b\x5e\x84\xb8\x6b\x48\xf2\x2e\xbc\x4b\x0f\x50\xba\x33\x3d\x43\x20\xa2\x10\x51\x88\x28\x44\x74\x81\x44\xb4\x9d\xf4\x51\x29\x15\x1d\x4d\x95\x0a\xf1\xb0\xd6\x13\x35\xa5\x78\xd8\x68\x18\xfb\x0c\xb9\xae\x52\x8c\x4b\x07\x2b\x3a\x58\x69\xf6\xf8\x9f\x93\xc1\xd0\x6e\x5c\xaa\xb3\x18\x46\x7b\xfc\xc9\x67\x20\x9f\x81\x7c\x06\xf2\x19\xc8\x67\x18\x2c\x9f\xa1\xe5\xb7\xe0\x24\xa7\x81\xc6\x8e\x34\x76\xa4\xb1\x23\x8d\x1d\x67\xd1\xd8\xb1\xfd\x03\xb9\xe0\x4c\x9d\x76\xf3\x50\x97\xad\x33\xd5\x2c\x90\xb7\x33\xd8\xfc\x9e\xe6\xee\x8c\x17\xdb\x98\x32\x8b\xa7\xdd\x60\xd5\x64\xf2\xbc\xd4\xfe\x29\xc5\x73\xb0\xe3\x75\x36\x6b\x2d\x43\xc6\x99\x7d\x6a\x9b\xb4\x1e\x4d\xa5\x5e\x2a\x9b\x73\x34\xba\xbc\xac\xb9\x8c\xf1\x16\x4b\x9a\x47\x6d\xd1\xaa\xa2\x63\x7e\xec\x51\x27\x66\x7c\xa2\xb9\xd0\x86\x67\x47\x47\x38\xd2\xec\x97\x30\x6c\xca\xb0\xd7\x53\x86\xdd\xee\x23\xd2\x54\x8a\x3d\x9e\xb7\x45\x0a\x02\x29\x08\xa4\x20\x90\x82\x40\x0a\x42\xd9\xe2\x0b\xdb\x9e\xd1\x88\x80\x3b\xc1\x9d\xe0\x4e\x70\x27\xb8\x13\xdc\xb9\x2c\xdc\x09\x81\x80\x40\x40\x20\x20\x10\x83\x13\x88\x33\x28\xbd\xa6\x55\xc5\xed\x86\xf0\xb4\xb2\x78\x51\xbd\xf6\x2b\x77\x58\x97\xfe\xed\x26\x21\x17\x4f\x6f\x36\x69\x00\x7f\xb1\xf5\x84\xcd\x70\xa8\xb7\x76\x92\x23\x00\xa1\x0e\xf2\xb6\x73\xd1\x87\xb9\x28\x4c\xd8\xe5\xde\x0b\x7a\xa6\x5f\xca\x59\x31\xcc\x56\xa0\x4b\x6d\xdc\x0f\xea\xea\x56\xae\x59\xa3\x29\xd4\xff\x02\xd0\x4b\xe5\x26\xd5\x43\xd9\xf9\xd6\xb6\x7a\x28\xdb\x5d\x5f\x05\xd1\xa4\x2e\x96\x19\x04\x9e\x65\x4b\xaf\x30\x0d\x57\x99\x32\xea\xe8\xf9\x86\x70\xc3\xc8\x4c\x4b\xdc\xe4\x47\xf3\x5b\x34\x8a\xe1\x83\x08\x44\x62\xeb\x64\x6b\x64\x92\x5a\x1a\x69\xeb\xc9\xd0\x94\xe7\x1b\x6f\xde\xfe\x2d\xda\xd6\x37\x2d\xc9\xa2\x1c\xcf\xdd\x29\xcb\x46\x86\x8f\x22\x3f\xdf\xb4\x5d\xb5\x16\xc9\xf0\xcc\x71\x5b\x19\x9f\x8f\x49\x99\xf1\xf5\x39\x35\xde\x77\x9e\x63\xba\xbb\x8d\xe7\xef\x6e\xf6\xdf\x76\x37\x07\xd7\xb6\xbc\xad\xb8\xf9\x8f\x8f\xc1\x5d\x74\x94\xce\xf1\xde\x78\x70\xfa\x9c\x1e\xad\x4c\xa1\x19\x5a\x28\x6d\xad\x93\xb7\x2d\xac\x93\x77\x2a\x6a\xa5\xcd\x15\xbf\x6d\xbc\x62\x95\x07\xab\xcd\x25\x2f\xcc\x04\x94\xa6\x86\xde\x26\xe0\x85\x71\x96\x1e\x46\x49\x17\x97\x01\x65\x31\xda\x59\x54\x45\x29\x0c\x04\x30\x2a\x46\x15\x33\x2a\x3b\xc9\xda\x9a\x51\x94\x1c\xaf\xa8\xe4\x98\xda\x2a\x6a\xab\xa8\xad\xa2\xb6\x0a\x0f\xb0\xea\x2d\xd2\xc8\x03\xc4\x9f\xd2\xa1\xde\x42\x73\x8f\x2a\x0d\x34\xf7\x5e\x65\xe1\x0b\x73\x5b\x30\xae\xda\xf8\x47\xd1\x6e\x0d\xde\x11\x8b\x05\x6f\x9e\xfa\xbd\xe2\xcd\xdb\x09\xdd\x03\x19\x2f\x61\x59\xd9\xf6\x0d\x15\xa7\xa7\x75\xc3\x18\x68\x4e\x62\xee\x4e\xf2\xc5\xd7\x72\xdf\x1f\xea\x57\xa9\x47\xe1\xef\x44\xab\x2d\x83\xd0\x37\x43\xb1\xb3\xad\xeb\xf6\xfb\x44\x7f\x3f\xc7\x5b\xca\xf5\xb0\xcd\x9a\xbe\x37\xfd\xd0\x96\x55\x28\x2a\x25\xa3\xc3\xfa\x2e\xcf\xb8\x44\xa0\x58\x13\x1c\xbb\xcb\x27\x44\x18\x04\xc5\x16\x1e\x14\x5b\x0f\x5b\x2c\xa4\x71\x27\x2f\x97\x2a\x35\x88\x96\x98\x63\xf9\xea\xab\x8a\xe5\xe7\xb5\x0c\x09\xa8\xfa\x42\xd3\x91\x7b\xba\x9e\x7b\xad\xf6\x96\x5b\xc8\xa8\x5c\x60\xbc\xfa\x25\xf0\xdc\x3b\x55\xc5\xf9\x5b\xb4\xd0\xc5\x7f\x7f\x4e\x96\xbf\xe3\x7f\xbe\xd6\x09\x7a\xb6\x7f\x6e\x3e\x78\xbe\x25\xc3\x96\x3b\x4f\x4e\xbe\x67\x7c\xb9\xbc\x8f\xfe\xef\xcb\xa5\x71\x9b\x1b\x4d\x99\x24\xaa\x62\x8c\x87\xe0\x58\xb1\x76\x6d\x5a\x72\x02\x64\x1d\xa0\x63\x5b\x71\xd4\x44\x38\xdb\xc0\xf0\xbe\xc7\x73\xab\xea\xe4\xf6\xc2\xdb\x3b\x62\x63\xa8\x73\xca\xf2\xdf\xe4\x99\x92\xa9\x9a\xa5\x13\x91\x9e\xbe\xcb\xf0\x46\x27\x5a\x6e\x62\x1d\xee\xc1\x5c\xdc\x83\x7d\x6f\x7d\xdd\xc7\x70\x10\x0e\xbd\xfb\xe5\x7b\xc7\xb4\xba\x98\x6e\xf1\x9e\x4b\x34\xde\xc8\x06\xc3\x62\x5b\x89\xc5\xa6\x91\x61\xc4\xf7\x3b\xfd\x85\x6c\xb0\x45\x5b\x1c\x07\xdd\x03\x92\x17\x46\xbb\xcc\x2a\xd7\xdb\x8a\xc9\xfa\x0c\x7d\xf2\xb6\xe2\x8c\xd4\xaa\x6c\x97\xa1\xe2\xae\xa4\x58\x21\xf0\x83\xc0\x0f\x02\x3f\x08\xfc\x20\xf0\x33\x89\xc3\x81\x5f\xd8\x7a\xa2\xe8\x31\xa4\x93\x0e\x13\x09\xbf\x2b\x4a\xf8\x45\x74\x0b\xd1\x2d\x44\xb7\x10\xdd\x42\x74\x0b\xd1\x2d\x44\xb7\xa8\x83\xa1\x0e\x86\x3a\x18\xea\x60\x8a\x4f\x24\x3d\x86\x50\xf8\x43\xe1\x0f\x85\xbf\x99\x2b\xfc\x95\xa2\x39\x70\x3c\x3d\x86\x4a\xf6\xd1\xaf\xc7\x50\x81\xf0\xea\xdd\x61\xa8\x81\x64\x17\xfb\x0b\x75\xa5\xd7\x74\x17\xa2\xbb\x90\xfa\x89\xee\x42\x24\x1f\x90\x7c\x40\xf2\x01\xc9\x07\x24\x1f\x40\xb5\x01\x9d\xcd\x23\x02\xe8\x04\x74\x02\x3a\x01\x9d\x80\xce\x15\x83\x4e\xd8\x03\xec\x01\xf6\x00\x7b\xa0\xbb\x10\xdd\x85\xe8\x2e\x94\xfe\x72\x66\xed\xe3\x27\x6f\x2b\xe8\x2d\x54\xbe\x99\x56\x20\x88\xce\x42\x7d\x75\x16\x6a\x00\x5c\xa7\x7d\x85\xc6\x2d\xd0\x1c\x49\x47\x42\xde\x54\xbb\x97\x9e\x6a\xa1\x05\x54\x0b\xa1\x22\x81\x8a\x44\xc9\xc5\xe8\x6c\x97\xcc\x49\x43\xe2\xbc\xeb\xd5\x40\xff\xfa\x9c\x0b\x5e\x98\xd1\x37\x72\x37\xa1\xf3\x8d\xbe\x0b\xe3\x0c\xc5\x8b\x09\x3a\x09\x9d\x29\x76\x81\xc4\x45\xe9\x88\x62\x38\x65\x27\x59\x5b\xc3\x89\xa2\xe2\x15\x15\x15\x53\x3d\x45\xf5\x14\xd5\x53\x54\x4f\xe1\xf3\x55\xbd\x45\xda\xf8\x7c\xf8\x50\xd3\x57\x53\x68\xed\x45\xa5\xe1\xe4\x91\xfa\x07\x35\x78\x45\xc5\xee\x41\x27\x3e\x11\x4b\x04\x6f\x5c\xcd\x1b\x37\x6e\xe7\xa0\x71\x49\x55\xa1\x6f\xd0\xe9\xc9\xe9\x1a\x44\xd7\xa0\x69\xba\x06\x35\xac\xea\x27\x3d\x83\x96\x01\x0b\xe9\x18\x44\x00\x6c\x7d\xe4\x90\x8e\x41\x7d\x3e\x37\x74\x0c\x22\x6e\x80\x53\x50\x32\x8e\x33\xee\x17\xf4\x12\xb7\x60\xb4\x6e\x41\x8d\x8e\xf8\x49\xaf\xa0\x65\x18\x6d\x64\x78\x61\xa7\xad\xc2\x4e\xd3\xc8\x1c\xe2\xab\x9d\xfe\x42\x86\x57\x7a\xe8\xa5\x59\x19\xa3\xf6\x08\x1a\x28\x5f\x2a\xfe\x1f\xcb\x31\x83\x60\xa2\x3e\x41\xb1\xc9\xf1\x2e\xba\x84\x33\xf2\xa7\xd2\x63\x54\xed\x4f\x3a\x15\xa2\x3d\x88\xf6\x20\xda\x83\x68\x0f\xa2\x3d\x93\xb8\x1e\x78\x88\xad\x27\x8a\x8e\x41\x3a\x69\x2b\x91\xdc\xbb\xa2\xe4\x5e\x84\xb4\x10\xd2\x42\x48\x0b\x21\x2d\x84\xb4\x10\xd2\x42\x48\x8b\x9a\x17\x6a\x5e\xa8\x79\xa1\xe6\xa5\xf8\x44\xd2\x31\x08\xd5\x3e\x54\xfb\x50\xed\x9b\xb9\x6a\x5f\x29\xa4\x03\xcc\xd3\x31\xa8\x64\x1f\xcd\x3a\x06\x55\x60\x5e\x8d\xdb\x06\xb5\x04\xdb\xb9\xde\x41\x2f\x85\xd9\x34\x10\xa2\x81\x90\xfa\x89\x06\x42\xe4\x22\x90\x8b\x40\x2e\x02\xb9\x08\xe4\x22\x00\xb9\xe1\x9e\xcd\x23\x02\xf7\x84\x7b\xc2\x3d\xe1\x9e\x70\xcf\x15\x73\x4f\x50\x04\x28\x02\x14\x01\x8a\xa0\x81\x10\x0d\x84\x68\x20\x94\xfe\x72\x4e\x59\x64\x36\x86\x4f\x17\xa1\xf2\xcd\xf4\x83\x43\xb4\x12\xea\xa5\x95\x50\x4b\xe8\x55\xe8\x27\x34\x4d\x0d\xe7\x18\x92\x13\xb9\x3b\x6b\xb7\x10\x50\x55\xb4\x80\xaa\x22\x74\x27\xd0\x9d\x28\xb9\x18\xed\x0d\x96\xd9\x88\x4f\x74\xbb\xe8\xa9\xf5\xb1\xbb\x5c\xf5\xc2\xec\xc2\x31\x1b\x0d\x75\xb7\x0b\x2f\x8c\xb3\xd5\x33\xc6\xee\x39\xd4\x4d\x38\x03\xb9\x8c\xec\xd9\x31\xae\xe6\x68\x5c\x51\xa0\xbc\xa2\x02\x65\x2a\xb1\xa8\xc4\xa2\x12\x8b\x4a\x2c\xfc\xc2\xaa\xb7\x48\x2f\xbf\x10\x17\x6b\x72\x17\x6b\xdc\x3e\x44\x3a\x56\x66\x94\x34\x23\x6a\xe9\x2e\xe5\x3a\x12\x55\x3a\x4b\xac\x1d\xbc\x85\xe9\xef\xd3\xf7\x26\x9a\x86\x7f\x65\x1b\x14\x55\x5f\x01\x5d\x8a\xe8\x52\x34\x41\x97\xa2\x96\xcb\x7d\xbe\x55\xd1\xb2\x38\x24\xfd\x8a\x08\x99\xad\x8f\x47\xd2\xaf\xa8\xcf\xe7\x86\x7e\x45\x44\x1a\xf0\x16\x96\xd6\xb4\xa8\x0f\x7f\x61\x9c\xce\x45\xad\xbd\xf6\x7c\xfb\xa2\x65\x19\x72\x24\x94\x61\xc0\xad\xc7\x80\xd3\xc8\x4e\xe2\x73\x9e\xfe\x42\x42\x59\xc9\x45\x2f\xcd\x06\x19\xaf\xa5\xd1\xc0\x99\x59\x4f\x9e\x73\x78\x14\x66\x18\x9a\xd6\xc3\xa3\x04\xdc\x53\xb4\x36\xfa\x43\x5e\xc5\x6d\x7a\x15\xed\xb3\xb4\x8e\xed\x8d\xea\x8e\x41\xce\x16\xb2\x42\xc8\x0a\x21\x2b\x84\xac\x10\xb2\x42\x93\x38\x25\xf8\x8e\xad\x27\x8a\x16\x47\x3a\xa9\x3f\x91\x41\xbc\xa2\x0c\x62\xa4\xbe\x90\xfa\x42\xea\x0b\xa9\x2f\xa4\xbe\x90\xfa\x42\xea\x8b\xc2\x1a\x0a\x6b\x28\xac\xa1\xb0\xa6\xf8\x44\xd2\xe2\x08\x5d\x41\x74\x05\xd1\x15\x9c\xb9\xae\x60\x29\xac\x03\xd9\xd3\xe2\xa8\x64\x1f\xcd\x5a\x1c\xd5\xa0\x5e\x8d\xdb\x1c\x9d\x01\xb9\x73\xad\x8e\xfa\x00\xdb\xb4\x3b\xa2\xdd\x91\xfa\x89\x76\x47\xe4\x25\x90\x97\x40\x5e\x02\x79\x09\xe4\x25\x00\xbc\x61\xa0\xcd\x23\x02\x03\x85\x81\xc2\x40\x61\xa0\x30\xd0\x15\x33\x50\xb0\x04\x58\x02\x2c\x01\x96\xa0\xdd\x11\xed\x8e\x68\x77\x94\xfe\x72\x4e\xdd\x64\x31\x8e\x4f\xcb\xa3\xf2\xcd\xf4\x84\x45\xb4\x3d\xea\xa5\xed\xd1\x19\x10\xac\xd0\xfa\x68\xba\xfa\xce\x31\xd4\x2a\x4e\xee\xae\xdd\xc2\x40\xd5\xd1\x02\xaa\x8e\x50\xac\x40\xb1\xa2\xe4\x62\x66\x61\xc4\xcc\x46\xb5\xa2\xfb\x85\x4f\xad\xd3\xdd\xf5\xca\x17\x66\x33\x8e\xd9\x0e\xe9\x65\x36\xe3\x85\xd1\x45\x78\x63\xec\xae\x48\xdd\x35\x37\x50\xda\xc0\xee\x5a\x82\xdd\x45\x6d\xf3\x8a\x6a\x9b\x29\xe2\xa2\x88\x8b\x22\x2e\x8a\xb8\x70\x19\xab\xde\x22\xfd\x5c\x46\x3c\xaf\xdc\xfd\xac\xa3\x4b\x92\xae\xc5\x1d\x25\x9d\x92\xce\x70\xa1\x72\xdd\x92\x6a\x1d\x28\xd6\x13\xde\x4a\xcd\xba\x26\x4d\x87\xd0\xb2\x9d\x93\xea\xaf\x82\xee\x49\x74\x4f\x9a\xa0\x7b\xd2\x19\x9f\x80\x7c\x07\xa5\xe5\xe1\x4c\xba\x28\x11\x5a\x5b\x1f\xd2\xa4\x8b\x52\x9f\xcf\x0d\x5d\x94\x88\x48\xe0\x41\x2c\xb1\x93\x52\x5f\x3e\xc4\x38\xdd\x94\xce\xf2\xec\xf3\x1d\x95\x96\x67\xd8\x91\xa7\x86\x51\xb7\x2e\xa3\x4e\x23\xdb\x89\x4f\x7c\xfa\x0b\x79\x6a\x2b\xb2\x4d\xc6\xeb\xb0\x34\x61\xb2\xd7\x4d\xa0\xe4\xc3\x32\x39\x5f\xc3\x70\x0b\x75\x9e\xe4\xeb\xd5\x3f\xc1\x88\x65\xd0\x58\xa2\x78\xd3\xe1\x18\x25\xf3\x01\xc7\x80\x63\x94\x6e\x39\x1d\xc7\xe8\xe1\x93\x50\x4f\x34\x4a\xbe\x09\xb3\x74\x7f\xe1\x1a\xb8\xc0\xeb\x73\x81\xe1\x1a\x7d\x3e\x37\x70\x0d\x82\x1e\x78\x14\x70\x8d\xc2\xa0\x8d\xc0\x35\x7a\xf1\xfc\xeb\x09\xc7\x52\x0c\x3d\x38\x07\x46\xde\xba\x8c\x3c\x8d\x6c\x29\x3e\xf9\xe9\x2f\x70\x8e\x15\xd9\x2a\x8b\xe2\x1c\x52\x92\xeb\xc6\x0a\xec\xad\x6f\x3f\xa9\xaf\xff\x70\x60\x23\x96\x6e\x75\xb7\xf6\x93\xbd\x3d\x98\x4e\x56\x06\xce\x4c\xc5\x9a\xdf\x7d\xfe\xf8\x5e\x5e\xcc\x26\x53\xc1\xf9\x53\x5a\xfb\x79\x25\x8f\x72\x75\x94\xed\xcf\xe9\xb0\xa7\x86\x90\x61\xbb\x41\x28\xcc\x5c\x14\xb3\x68\x26\x7d\xcf\x45\xc3\xd2\xf3\xfe\x5a\xd0\xba\x42\x91\x4d\xd7\x5e\x3e\x52\x50\xf0\xe7\xa7\xf5\x2e\x46\x72\xfe\xc6\xd4\x66\x4b\x5f\x92\xf1\x48\x0c\xad\x6f\x16\xdc\xfa\xa6\x19\x2b\x35\xb5\xbd\xa9\x8d\x5b\xf5\x80\xcc\x68\x76\x43\xb3\x1b\x9a\xdd\xd0\xec\x66\x69\xcd\x6e\x9a\x57\xde\xd2\x46\x37\x03\x27\x28\x8c\xd6\xde\xa6\xf9\xf6\xab\x5b\xdb\xe8\x3c\x06\xe7\x34\xb4\x69\x1e\x83\xea\x66\x36\x03\x8f\x01\x2d\x6c\x68\x61\x43\x0b\x1b\x5a\xd8\xd0\xc2\x66\xb0\x16\x36\x2d\x56\xff\x93\xf6\x35\xb5\xda\x6f\x2b\xca\x4f\x6c\x77\x37\x0b\x6e\xc1\xd3\x3c\xdc\x75\xed\x77\xc6\x1d\x77\x9a\xee\x0c\x32\xa3\xa7\x0d\x77\x06\x9e\xd6\x49\xdb\xec\x34\x0f\x4f\x4d\x8b\x9d\xa1\x97\x4d\x5d\x1b\xeb\x34\x0f\x5a\x09\xbe\xe8\x1c\xcf\x8b\xff\xfa\xb3\x13\xf8\x2a\x11\x73\x1e\x88\x7f\x65\xa1\x97\x9b\x7c\xe7\x93\x96\xf3\xfd\xc2\xaf\x1f\x8f\x76\xbd\xf4\x5d\x62\x1b\x30\x72\x0d\x8e\x0e\xcb\x55\xce\xd1\xcd\x1c\xbb\x03\x3a\x03\x9b\x81\xcd\xe6\x82\xcd\x40\x66\x20\x33\x90\x19\xc8\x0c\x64\x06\x32\x03\x99\x81\xcc\x40\x66\x20\x33\x90\x19\xc8\x0c\x64\x06\x32\x03\x99\x81\xcc\x66\x82\xcc\xb2\x42\x25\x15\xa1\x06\x14\x4a\x20\x80\xd3\xf3\x22\x08\x20\x04\x10\x02\x08\x01\x2c\x0c\xda\xf4\x04\xd0\xf5\xb6\x42\x93\xc2\xb7\x4f\xde\x56\x8c\x5f\xf6\x16\x9d\x95\xa2\x37\xe8\xdd\x9c\xe8\xdd\xc8\x45\x6f\xd1\x2b\x02\xbf\x83\xdf\xc1\xef\xe0\x77\xf0\x3b\xf8\x1d\xfc\x0e\x7e\xd7\xd3\x6a\x0b\xbf\x83\xdf\xc1\xef\xe0\x77\xf0\x3b\xf8\x1d\xfc\x6e\x75\xfc\x0e\xe0\x05\xf0\x02\x78\xcd\x63\x46\x01\x5e\xf9\xe1\x01\x78\xcd\x17\x78\xe9\x53\xf0\xd6\x1b\xf4\x1a\xb1\xdc\xad\xc0\x03\xc0\x65\xe0\xb2\xc2\x51\xf5\xc2\x65\xa0\x32\x50\x19\xa8\x0c\x54\x06\x2a\x03\x95\x81\xca\x40\x65\xa0\x32\x50\x19\xa8\x0c\x54\x06\x2a\x03\x95\x81\xca\x40\x65\xb3\x40\x65\x85\x52\xb7\xd3\x40\x03\x85\x6e\x70\xbf\xe9\x29\x11\xdc\x0f\xee\x07\xf7\x83\xfb\x15\x06\x6d\x62\xee\x17\xff\xbf\xe5\x98\x41\xa0\x45\xb9\x5b\x8c\xd3\xde\x45\x17\x34\x72\xcd\x5b\xf6\xd4\x14\xbe\x41\xf2\xe6\x44\xf2\xc6\x2c\x7c\xcb\xbe\x27\x20\x3d\x90\x1e\x48\x0f\xa4\x07\xd2\x03\xe9\x81\xf4\x40\x7a\x3d\xad\xb6\x20\x3d\x90\x1e\x48\x0f\xa4\x07\xd2\x03\xe9\x81\xf4\x56\x87\xf4\xa0\x60\x50\x30\x28\xd8\x3c\x66\x14\x0a\x96\x1f\x1e\x28\xd8\xdc\x29\x98\x26\x35\x70\xbd\x93\xb0\xb1\x0a\xe1\x2a\xf8\x00\x0c\x0d\x86\x56\x38\xaa\x5e\x0c\x0d\x7e\x06\x3f\x83\x9f\xc1\xcf\xe0\x67\xf0\x33\xf8\x19\xfc\x0c\x7e\x06\x3f\x83\x9f\xc1\xcf\xe0\x67\xf0\x33\xf8\x19\xfc\x6c\x3e\xfc\x2c\x5b\x12\x57\x1d\x6d\xa0\x2e\x0e\x22\x38\x3d\x3f\x82\x08\x42\x04\x21\x82\x10\xc1\xc2\xa0\x4d\x4c\x04\x9f\x3c\xe7\xf0\x28\xcc\x30\x34\xad\x87\xc8\x4e\xd6\xa1\x34\xee\x0f\x79\x4d\xb7\xe9\x35\x8d\x5c\x1e\x57\x3c\x3d\x25\x72\xe0\xbd\x39\xe1\xbd\x31\x4b\xe4\x8a\xef\x0a\x98\x0f\xcc\x07\xe6\x03\xf3\x81\xf9\xc0\x7c\x60\x3e\x30\x5f\x4f\xab\x2d\x98\x0f\xcc\x07\xe6\x03\xf3\x81\xf9\xc0\x7c\x60\xbe\xd5\x61\x3e\xa0\x18\x50\x0c\x28\x36\x8f\x19\x05\x8a\xe5\x87\x07\x28\xb6\x00\x28\xa6\x49\xa5\xdc\x20\x60\x6c\xac\x6a\xb9\x1a\x54\x00\x52\x03\xa9\x15\x8e\xaa\x17\x52\x03\xa7\x81\xd3\xc0\x69\xe0\x34\x70\x1a\x38\x0d\x9c\x06\x4e\x03\xa7\x81\xd3\xc0\x69\xe0\x34\x70\x1a\x38\x0d\x9c\x06\x4e\x9b\x17\x4e\xcb\x56\xcd\xd5\x47\x1c\xa8\x9c\x03\x12\x4e\x8f\x94\x80\x84\x40\x42\x20\x21\x90\xb0\x30\x68\x53\x41\xc2\xaf\x22\x34\xdf\xdc\x74\x62\x81\x43\xf3\xac\x36\x9c\x71\x27\xc2\xbc\xed\xae\xe6\xb6\x86\xe3\xed\x44\x98\x52\x3c\x79\xf3\xb7\x77\x1f\xff\x55\xb6\xdf\x54\x18\x6f\xb6\x74\x2d\x33\x90\xb2\xca\x70\x31\x88\x4d\x3e\x26\x99\x1d\x2f\xb2\x27\x6f\xf5\x7e\x59\x81\xbd\xf5\xed\x27\xc5\xb0\xd2\x37\x4d\xb9\x44\xfd\x82\x77\x75\x4c\xc3\xf2\x1c\x47\x58\xc9\x9a\xff\xee\xf3\xc7\xf7\xf2\xf4\x35\xef\x85\xda\x31\xff\x6a\xbc\x4b\x8f\x52\x7a\x84\x0a\x32\x67\x14\x27\x53\x2d\x7e\x5f\xbd\xed\x73\xf1\x39\x4c\x56\xbf\xb2\xdf\x06\x79\x46\xdf\xcb\xbb\xfc\x5d\x0e\x57\xd0\xf2\x09\xad\x7f\x34\x81\x3d\xc0\x1e\x60\x0f\xb0\x67\x69\xb0\xa7\xc6\x68\x6d\x02\x3e\xf5\x0e\x50\xbd\xf1\x7a\xd6\xda\xfb\x5f\xd1\xc0\xc5\x61\xae\x1f\xa5\x12\x83\x15\x3d\x51\xea\x39\xc8\xdd\x5b\x36\xb1\xe2\xab\x30\xf6\xd1\x68\x05\xa1\xd8\x6e\x8c\x5b\xd7\xb0\x5d\xb5\xb2\x78\xbe\x71\x70\xd3\xc5\x69\x6b\x6c\xfd\xe7\x7f\x1d\x5c\x63\x6b\xfb\xd1\x47\xf0\x49\xa4\x4f\x7c\xb4\x7c\xca\xa0\x64\xfc\xca\x27\xcf\x46\x3c\xc0\xc6\xfd\xc1\x97\x6f\xd9\xde\xf7\x2c\x11\xc8\xe8\x61\xec\x79\xc5\x4f\xd9\xc6\xf8\x43\x9e\x51\xce\x96\x7c\x76\x7e\x32\xae\x8d\x5b\xc7\xf9\x49\xc6\x06\xb7\xd1\x2a\x7d\x70\xa3\x89\x8f\x7c\x98\xe4\x91\x8c\x0f\x27\xb6\x1d\x26\x4a\xdd\xcb\x34\xd3\x34\x1a\xa1\x6b\x37\x14\xd5\x94\x6e\xb4\x11\xf9\x77\xd6\x29\xb7\x5d\x23\x50\xbe\xb2\xf1\x55\xdc\xab\x54\xa2\x34\x9a\x7b\x34\x25\xe2\xd5\x4b\x3e\x3a\x07\xa1\x3e\x0e\x5f\x23\x77\xd4\xbd\x76\xc5\xce\x94\x0f\x68\xec\x56\x6f\x8c\x7f\xa7\x1f\x6c\x45\x76\xd2\x57\x23\xb6\x0f\xed\xc7\x47\xb1\xb5\xcd\x50\x38\xcf\xc7\x1c\x9f\xe3\x27\xd7\x76\x7e\x8c\xdd\x66\x39\xe8\xc6\xce\x37\x2d\xf9\xd6\xd8\xde\x36\x35\x08\x8e\x1f\x6d\x99\x40\x95\x3c\xa5\x87\x20\xba\xc8\xec\x74\x99\xd1\x9e\xc9\x0d\xc5\x27\xb9\x57\x6b\x60\x72\x88\x8d\xba\xce\x47\x61\xba\xa5\xd7\xd8\x61\x9a\xe5\x35\xdf\xc9\x4b\x2e\x0b\x45\x34\x04\x23\x74\x79\xfc\xcf\x81\xb3\xed\xc6\xa5\x1a\xd0\x8e\xf6\xf8\x83\x6a\x41\xb5\xa0\x5a\x50\x2d\xa8\x76\x30\x54\xdb\xf2\x5b\x70\x82\x6b\xc7\xfb\x2c\xbe\xcf\x54\x7b\xec\x1d\x61\x06\x22\x5d\x82\xee\x7c\x6f\x6f\xee\xa4\x75\x74\xe7\x39\xb6\xf5\x9c\x4b\x0c\x4e\x1e\xba\x63\xb9\x48\xf4\xd8\xbd\xd9\xfc\xe7\xc6\xf8\xac\xd6\x33\x65\xba\xec\x85\x1b\xbd\x2c\xc7\x6f\xaa\x30\x3c\x7f\xff\x60\xba\x49\xa2\xb2\x7f\x10\x37\xf7\xa6\x93\xf8\xca\x5f\x2e\xd5\xcf\x5f\x2e\x8d\x7b\xdb\x35\x1d\xfb\xbf\x93\x0f\xc9\x57\x61\x98\x5b\x49\xba\xbc\x1b\x45\x01\xb6\x47\x37\x4c\x1d\xfe\x2a\x38\xee\xa4\xfc\xd3\x8d\xf1\xb3\x2d\x17\xc7\xcc\xa5\x7b\xfe\xe9\xbd\x1d\xb9\x66\xa8\xdc\x63\xe9\xa3\x78\xe1\x43\x97\x09\x55\x77\xf0\x3e\xb9\xf7\x4a\x93\xa7\x8c\x29\xf4\xeb\x98\xc9\x5b\x8f\x5e\xd8\x07\xef\xbb\xb1\x33\xfd\xaf\xe6\x2e\x17\x96\x4c\x9d\x1a\xe1\xdf\x7b\xfe\x63\x34\x27\xa5\xe3\xf5\x7b\xe1\x8e\xaa\x87\x4b\x1a\xbd\x89\xc5\xba\x57\x63\x6b\x47\xd6\xa4\x65\x6f\x8f\xae\xb0\xb4\x15\x64\x70\x22\x9d\xe3\xe8\x63\x1d\x7f\x49\x13\x6b\x60\x93\x99\xcc\xe4\x3b\x92\x82\xc5\x34\xe9\x3e\x7f\xb2\x8d\x71\x6b\x59\x62\x1f\xca\x6f\x53\xd6\xb3\xbb\x52\xf7\x70\x65\x5c\xc7\x0f\x60\xfe\x01\x0d\xfe\x6e\x5c\xfd\xc3\xb4\xbe\xed\x7c\xef\xe0\x6e\xa3\xad\x64\x02\xbb\xdc\xa8\x30\x70\xca\x84\x8c\xed\xe3\xfc\x41\x92\x3b\xf8\x9a\x1e\xe9\xef\xc6\xd5\x07\xcf\x17\x99\xc3\x1a\x96\x19\x58\xe6\x36\xba\xfb\x78\x7c\x54\x7d\x83\x3c\x5e\xa0\x5c\xcf\x93\x03\xde\xa7\xc7\xe8\xf2\x40\xee\x8b\x8f\xfb\x34\x16\xe7\x82\x33\x10\xda\xcd\x43\x5d\x16\xc2\x54\xb3\x40\x3e\xc2\x60\xf3\x7b\x9a\x93\x30\x5e\x6c\x63\xca\xec\x84\x76\x83\x55\x93\xa1\xf0\x52\xfb\xa7\x94\xd1\x81\x92\xcf\xc4\x74\x9f\x43\x33\x3c\xb4\xe5\x73\x33\x24\xc8\x99\x1d\x2b\x2a\x35\xd5\x37\xf9\x68\x2f\x8d\x55\xb4\x59\x06\x7a\x8b\xd5\x9a\x85\xbb\x39\x2d\xd9\xec\xbd\x9c\x5c\xc5\xc9\xfc\xd8\xb7\x4e\x0c\xfa\xa4\x92\xbc\x0d\xde\x8e\x8e\x50\x80\xdb\x2f\x41\xda\x14\x9c\xae\xa7\xe0\xb4\xdd\x37\xa5\xa9\xe8\x74\x3c\xe7\x8b\x8c\x04\x32\x12\xc8\x48\x20\x23\x81\x8c\x84\xb2\xc5\x17\xd4\x3d\xa3\x11\x81\x7e\x42\x3f\xa1\x9f\xd0\x4f\xe8\x27\xf4\x73\x59\xf4\x13\x20\x01\x90\x00\x48\x00\x24\x06\x07\x12\x67\x40\x7b\x4d\x8b\x27\xdb\x0d\xe1\x69\x01\xe5\x4b\x23\x6e\x5a\xa1\x9c\xca\x1d\xd6\x25\xee\xb9\x49\x18\x46\x4c\x21\x36\x69\x14\x7f\xd9\x25\x87\xcd\xc0\x68\xcc\x46\x79\xbd\x40\xa2\x0e\xba\x9e\x73\x51\xc5\xb8\x28\xcc\xda\xe5\xde\x0b\x7a\x26\x62\xca\x77\x31\xcc\x56\xf0\x4b\x6d\xdc\x23\xfe\xea\x56\xd1\x59\x23\xa7\x32\xd0\xa2\xd0\x4b\x85\x27\x55\x46\xd9\x49\xd7\xb6\xca\x48\xc6\x24\x7e\x33\x5d\x73\x27\x7c\x15\x5d\x93\xd2\x40\x66\x10\x78\x96\x2d\xdd\xc5\x34\x8e\x65\xca\x70\xa4\xe7\x1b\xc2\x0d\x23\xfb\x2d\xf1\x9f\x1f\xcd\x6f\xd1\x28\x86\x0f\x22\x10\x89\x11\x94\xad\xa5\x49\x6a\x6e\xa4\x11\x28\x63\x56\x9e\x6f\xbc\x79\xfb\xb7\x68\x5b\xdf\xb4\x24\xa4\x72\x3c\x77\xa7\x4c\x1e\x19\x57\xb2\x3c\x37\x34\x6d\x57\xad\x4a\x32\x6e\x73\xdc\x56\x06\xee\x63\x84\x66\x7c\x7d\x4e\xad\xfa\x9d\xe7\x98\xee\x6e\xe3\xf9\xbb\x9b\xfd\xb7\xdd\xcd\xc1\xb5\x2d\x6f\x2b\x6e\xfe\xe3\x63\x70\x17\x1d\xa5\x73\x20\x38\x1e\x9c\x3e\xa7\x47\x2b\x1b\x69\xae\xa6\x4b\x5b\xb3\xe5\x6d\x0b\xb3\xe5\x9d\x8a\x69\xe9\x75\xd9\x6f\x1b\x2f\x5b\x65\xce\xea\x75\xdd\x4b\xb4\x12\xa5\x21\x32\x03\x2b\xf1\xc2\x38\x5f\x5a\xa3\xa4\xaf\xc5\x80\x0a\x1b\xed\x2c\xaf\x52\x55\x0d\xb4\x34\x2a\x86\x16\x4b\x2b\x3b\xc9\xda\x5a\x5a\x54\x2f\xaf\xa8\x7a\x99\x32\x2d\xca\xb4\x28\xd3\xa2\x4c\x0b\x27\xb1\xea\x2d\xd2\xcd\x49\xc4\xdb\xca\xdc\x8d\x06\x45\x1c\x73\xf0\xb7\xd2\x48\x75\xef\xa5\x1b\xbe\x30\xb7\x05\x83\xab\x8d\xe3\x14\xed\xd6\xc6\x6d\x62\x15\xe1\x6d\x2c\xee\x58\xf1\x36\xee\xc4\x2c\x42\x1f\x2f\x01\x64\x59\x31\xfc\x8a\x6b\x40\x05\x7f\x0c\xde\x27\x51\x7a\x27\x15\xe5\x6b\xb9\xef\x0f\xf5\x8b\xd6\xa3\xf0\x77\xa2\xd5\x96\x41\xe8\x9b\xa1\xd8\xd9\xd6\x75\xfb\x7d\xa2\xbf\x9f\xe3\x2d\xe5\xf2\xd8\x66\x9d\xdf\x9b\x7e\x68\xcb\x4a\x17\x95\xf6\xd1\x61\xcd\xdf\xe7\x5a\xac\x2e\x8d\x52\xd6\x44\xd2\xee\xf2\x99\x17\x06\x11\xb4\x85\x47\xd0\xd6\xc3\x2a\x0b\xf9\xe2\xc9\xcb\xa5\x6a\x1a\xa2\x75\xe6\x58\x27\xfb\xaa\x62\x0d\x7a\x2d\xe3\x07\xaa\x90\xd1\x74\xe4\x9e\xae\xe7\x5e\xab\xbd\xe5\x16\x32\x84\x17\x18\xaf\x7e\x09\x3c\xf7\x4e\x95\x8b\xfe\x16\xad\x76\xf1\xdf\x9f\x93\x35\xf0\xf8\x9f\xaf\x75\x82\xa8\xed\x9f\x9b\x0f\x9e\x6f\xc9\x18\xe7\xce\x93\x93\xef\x19\x5f\x2e\xef\xa3\xff\xfb\x72\x69\xdc\xe6\x46\x53\x66\xa3\xaa\x80\xe4\x21\x38\x96\xc6\x5d\x9b\x96\x9c\x00\x59\x70\xe8\xd8\x56\x1c\x62\x11\xce\x36\x30\xbc\xef\xf1\xdc\xaa\x82\xbc\xbd\xf0\xf6\x8e\xd8\x18\xea\x9c\xb2\xce\x38\x79\xa6\x64\x4e\x68\xe9\x44\xa4\xa7\xef\x32\xbc\xd1\x89\x96\x9b\xc1\x87\xcb\x30\x3f\x97\x61\x3f\x66\xbf\xec\x7e\x9c\x86\x43\xef\xfe\xfb\xde\x31\xad\x2e\xe6\x5c\xbc\xe7\x62\x0d\x3a\xd2\xce\x30\xe5\xd6\x64\xca\x69\x64\x31\xf1\x61\x4f\x7f\x21\xed\xac\xe2\xb2\x17\x69\x8f\x1c\x66\x11\xc2\xbc\x30\xce\xc8\xde\x72\xbd\xad\x98\xac\x2d\xd2\x27\x6f\x2b\xce\x4d\xdf\xca\x36\x45\x2a\xee\x4f\x1a\x17\x02\x44\x08\x10\x21\x40\x84\x00\x11\x02\x44\x93\xb8\x23\x78\x8d\xad\x27\x8a\x96\x48\x3a\xe9\x44\x91\x54\xbc\xa2\xa4\x62\x44\xc1\x10\x05\x43\x14\x0c\x51\x30\x44\xc1\x10\x05\x43\x14\x8c\x5a\x1b\x6a\x6d\xa8\xb5\xa1\xd6\xa6\xf8\x44\xd2\x12\x09\x05\x42\x14\x08\x51\x20\x9c\xb9\x02\x61\x29\x9f\x03\xd6\xd3\x12\x69\x3e\x2d\x91\x0a\x98\x77\xfa\xaa\xba\xc6\x86\x48\x0d\x60\xbb\xb4\x1d\x52\x57\x98\x4d\x33\x24\x9a\x21\xa9\x9f\x68\x86\x44\x2e\x02\xb9\x08\xe4\x22\x90\x8b\x40\x2e\x02\x90\x1b\xee\xd9\x3c\x22\x70\x4f\xb8\x27\xdc\x13\xee\x09\xf7\x5c\x31\xf7\x04\x45\x80\x22\x40\x11\xa0\x08\x9a\x21\xd1\x0c\x89\x66\x48\xe9\x2f\x5d\x6a\x24\x3f\x79\x5b\x41\x2b\xa4\x51\x45\xee\x5f\x0a\x87\x68\x84\xd4\x57\x23\xa4\x06\xe8\x55\xd1\x06\x69\xdc\x1a\xce\x31\xd5\x28\xe4\x9d\xb5\x5b\x08\xa8\x2a\x5a\x40\x55\x11\x5a\x14\x68\x51\x94\x5c\x8c\xf6\x06\xcb\xec\x94\x28\xce\xbb\x68\x5d\x04\xb9\xcf\xb9\xea\x25\xda\x85\x23\x37\x3f\xea\x68\x17\x5e\x18\xe7\x8a\x67\x4c\xd0\xf8\xa8\x8b\x6e\x06\x6a\x19\xa5\xc3\x8a\x6d\x95\x9d\x64\x6d\x6d\x2b\xea\x93\x57\x54\x9f\x4c\x21\x16\x85\x58\x14\x62\x51\x88\x85\x5b\x58\xf5\x16\xe9\xe5\x16\xe2\x61\xe9\xe1\x61\x8d\xde\xf0\x48\xbb\xc2\x8c\xf2\x76\x47\x0d\xee\x52\x69\xb3\xa3\x13\x67\x89\xb5\x83\xb7\x50\xc3\x46\x47\x13\xe0\xaf\x42\x9b\xa3\xd3\x2b\xa0\xc9\x11\x4d\x8e\xa6\x69\x72\xd4\xb0\xd2\x97\xb7\x38\x5a\x06\x81\xa4\xc1\x11\xd1\xb2\xf5\x91\x48\x1a\x1c\xf5\xf9\xdc\xd0\xe0\x88\x20\x03\x8e\xc2\x52\xdb\x1b\xbd\xd8\x55\x18\xad\xb9\x51\xa3\xc3\x5e\xde\xda\x68\x19\x86\x1c\xa9\x64\x18\x70\xeb\x31\xe0\x34\xb2\x93\xf8\x9c\xa7\xbf\x90\x4a\x56\x72\xd1\x8b\xb4\x41\x46\x6d\x69\x34\x46\x4e\x56\xfc\x8b\x65\xee\x4d\xcb\x0e\xed\x7c\x73\xa3\xf1\x95\xa0\x62\x23\xe5\x9d\xba\x9c\xe7\x1a\xab\xa6\x54\x14\xaa\xb0\xfb\x07\xcf\xbf\x75\x9c\x4f\xe6\xa3\x08\xf6\x66\xb4\x2a\x69\xb0\x52\x55\xee\x40\x39\x50\x61\xf6\xa8\x0c\x1a\x35\x03\xb4\xfa\xd5\x1b\x83\x92\xa0\xc3\xb6\x60\x1d\xb6\x66\xf6\xd3\xa4\xc1\x56\x1b\x79\xea\x81\x6b\xa1\xbc\x86\xf2\x1a\xca\x6b\x28\xaf\x2d\x4d\x79\xad\x79\xe5\x2d\x55\x5d\x1b\x38\x8b\x60\x34\xad\xb5\xe6\xdb\xaf\xd6\x59\xd3\x79\x0c\xce\x51\x57\x6b\x1e\x83\x6a\x65\xb5\x81\xc7\x00\x3d\x35\xf4\xd4\xd0\x53\x43\x4f\x0d\x3d\xb5\xc1\xf4\xd4\x5a\xac\xfe\x27\x5a\x6a\xb5\x85\x4b\x2b\x4a\x22\x6c\x77\x37\x0b\xd6\x83\x6b\x1e\xee\x3a\x2d\xb8\x71\xc7\x1d\x05\xb8\x41\x66\xf4\x54\xfd\x6d\xe0\x69\x9d\x54\xf3\xad\x79\x78\x6a\xf4\xde\x86\x5e\x36\x75\x55\x79\x6b\x1e\xb4\x12\x9c\xd1\x39\x9e\x17\xff\xf5\x67\x7b\xca\xe5\xa6\xfc\x47\x69\x0f\xc8\xbf\xff\x6a\x84\x5f\x03\xaa\x12\x64\xaa\x37\xbd\xfb\xf3\xb0\x57\xa9\x58\x41\x7a\xb8\x14\x75\x6d\xeb\x0f\x8a\x96\x01\x31\x5f\x62\xbe\xc4\x7c\x89\xf9\x2e\x30\xe6\x3b\x87\x6e\x1b\x24\x56\xb6\x9e\xa8\x29\x13\x2b\x69\x8a\x82\xb2\xce\x8a\x95\x75\xe8\x80\x03\xb1\x81\xd8\x40\x6c\x20\x36\x10\x1b\x3a\xe0\x20\x38\x87\xe0\x1c\x82\x73\x08\xce\x15\x9f\xc8\x51\x1b\x3d\x2d\x09\xaf\xd2\x6e\x6b\xd9\xb0\x95\x76\x5b\x73\x6a\xb7\x55\xca\xef\xa8\x67\x3d\x13\xd3\x7d\x0e\xcd\xf0\xd0\x96\xcf\x2d\xb2\x6c\x4b\x7d\x93\x8f\xf6\xd2\x3c\x4b\xb8\xe6\x55\xfa\xd9\x37\xf7\xa6\x38\x6d\x3d\xc5\x69\xed\x3e\x3c\x4d\x05\x6a\xe3\x79\x68\xa4\x2d\x90\xb6\x40\xda\x02\x69\x0b\xa4\x2d\x94\x2d\xbe\xf0\xf0\x19\x8d\x08\x88\x14\x44\x0a\x22\x05\x91\x82\x48\x41\xa4\xcb\x42\xa4\x50\x0b\xa8\x05\xd4\x02\x6a\x31\x38\xb5\x38\x83\xec\x6b\x5a\x3e\xd6\x6e\x08\x4f\x4b\xc8\x16\x25\x47\x5e\xb9\x03\xaa\x80\xa8\x02\xae\x57\x15\x30\x36\x25\x95\x9a\xb3\xbb\x35\xa2\xa9\x32\x02\xcb\xdb\x8b\x1f\x8d\xe0\x60\x3d\x44\xeb\x92\x5c\xf7\x85\xf9\xa8\x16\xad\xbd\xef\x49\xd3\xb5\xac\x42\xb5\xbe\xc5\x92\xe4\x47\xf9\x9f\xe9\xb3\xd4\x74\x37\xf1\x5f\x99\x3e\x4b\x5e\xd0\x33\x38\x54\x6e\x9c\xea\xe4\xdd\x9e\x11\xaa\xbd\x86\xa5\x84\xfa\x0b\xe1\x17\x6f\xb2\xdd\xba\x49\xe9\xd6\x02\x4a\xb7\xd0\xc4\x47\x13\xbf\xe4\x62\xe6\x64\xea\xcd\x4e\x1e\xbf\xf3\xf5\xeb\xd2\x12\xb8\xe3\x0d\x2c\xd1\xce\x96\x86\xcc\x9c\xec\xec\x0b\x63\x00\x41\x14\xb5\xc1\x5f\x23\xe9\xa2\x9c\x69\xe3\x95\x69\xa1\xe8\x61\xe3\xcd\x44\x01\x05\x53\x2e\x3b\xc9\xda\x9a\x72\xd4\x9c\xaf\xa8\xe6\x9c\xe2\x3a\x8a\xeb\x28\xae\xa3\xb8\x0e\x2f\xb4\xea\x2d\xd2\xb2\x92\x65\x1a\x1f\x8e\x42\x9c\x1a\x0f\x2e\x76\x54\xe6\xe4\xc3\xa5\x61\xf4\xde\xcb\x6f\x7c\x61\x6e\x0b\x76\xd8\x59\xbe\x56\xb4\x7f\x47\x4f\x8b\x85\x87\xe8\xcb\xb9\xef\xee\x4e\xcc\x2b\xf8\xf2\x12\xc8\x29\xe3\xf2\xb1\x7f\xdb\x74\x31\x6d\x40\xa6\x2e\x0c\x13\x78\x3b\x3b\x78\x2b\x53\x44\x5a\x7d\x77\x8a\xab\xf7\xb5\xdc\xf7\x87\xfa\x85\xfc\x51\xf8\x3b\xd1\x6a\xcb\x20\xf4\xcd\x50\xec\x6c\xeb\xba\xfd\x3e\xd1\xdf\xcf\xf1\x96\xf2\x93\xd1\xe6\xbb\xb8\x37\xfd\xd0\x96\x15\x5c\x2a\x9d\xe9\x25\xdf\x48\x79\x6a\x1d\xc3\x91\x43\x21\xe7\x1a\xf3\xf3\x2e\x9f\x6d\x64\x10\xa4\x5c\x78\x90\x72\x3d\xbc\xb9\x50\x23\x91\xbc\x5c\xaa\x8e\x27\x5a\x83\x8e\xb5\xe1\xaf\x2a\xd6\xa7\xd7\x32\x44\xa3\x8a\x77\x4d\x47\xee\xe9\x7a\xee\xb5\xda\x5b\x6e\x21\xa3\xa4\x81\xf1\xea\x97\xc0\x73\xef\x54\x89\xf4\x6f\xd1\x4a\x18\xff\xfd\x39\x59\x1f\x8f\xff\xf9\x5a\x27\x10\xde\xfe\xb9\xf9\xe0\xf9\x96\x0c\x23\xef\x3c\x39\xf9\x9e\xf1\xe5\xf2\x3e\xfa\xbf\x2f\x97\xc6\x6d\x6e\x34\x65\x06\xb6\x8a\xf9\x1e\x82\x63\x39\xe8\xb5\x69\xc9\x09\x90\x45\xb6\x8e\x6d\xc5\x51\x2c\xe1\x6c\x03\xc3\xfb\x1e\xcf\xad\x2a\x42\xdd\x0b\x6f\xef\x88\x8d\xa1\xce\x29\x6b\xeb\x93\x67\x4a\xe6\x41\x97\x4e\x44\x7a\xfa\x2e\xc3\x1b\x9d\x68\xb9\x59\xab\xb8\x58\x33\x76\xb1\xf6\x85\x6c\xe2\x39\x39\x59\x87\xde\xa3\x23\x7b\xc7\xb4\x5e\x64\xfc\xc5\x87\x58\x93\xf9\x47\xc6\x21\x16\xe0\x2a\x2d\x40\x8d\x0c\x2d\xec\x81\xf4\x17\x32\x0e\xd7\x6d\xcf\x1c\xe6\x15\x32\xbe\x30\xda\xe6\xeb\x25\x59\x79\x8e\x19\x04\x13\xf5\x28\x4b\x6e\x37\xba\x84\x33\x33\xf2\x8e\xdd\xc9\xaa\x0e\x42\x2e\x1e\xb2\x5e\xc8\x7a\x21\xeb\x85\xac\x17\xb2\x5e\x93\x78\x2e\x38\x98\xad\x27\x8a\x6e\x64\x3a\xa9\xaf\x91\x19\xbe\xa2\xcc\x70\xa4\xf6\x90\xda\x43\x6a\x0f\xa9\x3d\xa4\xf6\x90\xda\x43\x6a\x8f\x82\x29\x0a\xa6\x28\x98\xa2\x60\xaa\xf8\x44\xd2\x8d\x0c\x5d\x4f\x74\x3d\xd1\xf5\x9c\xb9\xae\x67\x29\xa9\x83\xeb\x53\x04\x39\x93\x6e\x64\x15\xac\x77\xfa\x42\xc8\xfa\x3e\x64\x2d\x39\xf7\x69\x07\xb2\x97\xb2\x6d\x3a\x8e\xd1\x71\x4c\xfd\x44\xc7\x31\x52\x13\x48\x4d\x20\x35\x81\xd4\x04\x52\x13\x60\xde\x60\xd0\xe6\x11\x01\x83\x82\x41\xc1\xa0\x60\x50\x30\xe8\x8a\x31\x28\x64\x02\x32\x01\x99\x80\x4c\xd0\x71\x8c\x8e\x63\x74\x1c\x4b\x7f\x39\xbb\xa8\x32\x1b\xc8\xa7\xd7\xd8\x78\x3d\x10\xfa\x02\x46\x1d\x04\xf8\xe6\xab\xd7\x36\x5c\xb3\xad\x96\x20\xac\xac\xcd\xd6\x34\x65\x9e\xa3\x89\x5c\xe4\x6e\xaf\xdd\xe2\x40\xf5\xd1\x02\xaa\x8f\x90\xb7\x40\xde\xa2\xe4\x62\xe6\x61\xc9\xcc\x4b\xd8\xa2\xdb\x95\x6b\xd1\x44\xab\xcb\xa5\x2f\xd1\x74\x1c\xb3\x7d\xd6\x0b\x4d\xc7\x0b\xa3\x9b\x10\xc7\xd8\xbd\xb1\x5e\xa0\xc1\x81\xf2\x46\xf6\xec\xd8\x5f\x73\xb4\xbf\xa8\x75\x5e\x51\xad\x33\x45\x5d\x14\x75\x51\xd4\x45\x51\x17\xae\x63\xd5\x5b\xa4\xa1\xeb\x88\x03\x96\xbf\x21\x0d\x0a\x3f\x66\xe2\x82\xa5\x11\xed\x31\xfa\x5e\xb5\xf4\xa3\x4e\x3b\x5e\x55\x7a\x51\x2c\x2a\xbc\x99\x25\x3b\x4e\xdf\xdb\x6a\x42\xa8\x96\xed\x6a\x55\x7d\x19\x73\xea\x67\x35\x5f\x4c\x48\x5b\xa7\x6e\x9f\x80\x92\x86\x4e\xcb\x82\x9b\x34\x70\x22\xbe\xb6\x3e\xbe\x49\x03\xa7\x3e\x9f\x1b\x1a\x38\x11\x96\xc0\x83\x58\x6e\xeb\xa6\xde\x7c\x88\x71\x9a\x36\xb5\xf6\xee\x4b\xda\x35\x2d\xcb\xb8\x23\x73\x0d\xcb\x6e\x65\x96\x9d\x46\x06\x14\xdf\xf9\xf4\x17\x32\xd7\xd6\x67\xa1\x8c\xd7\x8c\x69\xb4\xec\xaf\x27\xcf\x39\x3c\x0a\x33\x0c\x4d\xeb\xe1\x51\xf2\xf3\x29\x3a\x31\xfd\x21\xaf\xe2\x36\xbd\x8a\x33\x33\xc1\x8e\xdd\x98\xea\x0e\x44\x5e\x18\xb2\x47\xc8\x1e\x21\x7b\x84\xec\x11\xb2\x47\x93\xb8\x2c\x78\x96\xad\x27\x8a\x8e\x4c\x3a\xa9\x53\x91\xa5\xbc\xa2\x2c\x65\xa4\xc8\x90\x22\x43\x8a\x0c\x29\x32\xa4\xc8\x90\x22\x43\x8a\x8c\xe2\x1d\x8a\x77\x28\xde\xa1\x78\xa7\xf8\x44\xd2\x91\x09\xdd\x43\x74\x0f\xd1\x3d\x9c\xb9\xee\x61\x29\xb1\x03\xe8\xd3\x91\x69\x26\x1d\x99\x6a\x78\xef\xf4\x65\x7a\xf5\x5d\x99\xce\x60\xde\xa7\x9d\x99\xfa\xe0\xdc\x74\x67\xa2\x3b\x93\xfa\x89\xee\x4c\xa4\x29\x90\xa6\x40\x9a\x02\x69\x0a\xa4\x29\xc0\xbf\x41\xa2\xcd\x23\x02\x12\x05\x89\x82\x44\x41\xa2\x20\xd1\x15\x23\x51\x28\x05\x94\x02\x4a\x01\xa5\xa0\x3b\x13\xdd\x99\xe8\xce\x94\xfe\x72\x76\x7d\x65\x31\x98\x4f\x87\xa6\xf1\x64\xf6\xfb\x04\x48\x74\x69\xea\xa5\x4b\xd3\x19\x60\xac\xac\x53\xd3\x74\x25\xa0\xa3\x69\x5e\x9c\xdc\x62\xbb\xc5\x82\xea\xa4\x05\x54\x27\xa1\x7b\x81\xee\x45\xc9\xc5\xcc\xc7\xba\x99\x97\xf6\x45\xf7\xab\xd7\x42\x38\xbc\xeb\xe5\x2f\xd1\xac\x1c\xb3\x7b\x53\x0f\x66\xe5\x85\xd1\x59\xc3\x63\xec\x26\x4e\x2f\x94\xef\x40\xb4\x03\xd3\x6c\x09\xa6\x19\x65\xd2\x2b\x2a\x93\xa6\x1e\x8c\x7a\x30\xea\xc1\xa8\x07\xc3\xab\xac\x7a\x8b\x34\xf5\x2a\xf1\xcb\x34\xf3\xcb\xc6\x6d\xea\xa4\x75\xc5\x48\x49\x63\xa7\x33\x7c\xab\xd3\xe6\x4e\xb5\x9e\x15\x0b\x0d\x6f\xaa\xb6\x4d\x9e\x26\xe6\x72\xd9\x46\x4f\xf5\x97\x42\xb3\x27\x9a\x3d\x4d\xd0\xec\xe9\x8c\xcf\x42\x49\xc3\xa7\xe5\x31\x52\x9a\x3e\x11\x87\x5b\x1f\x22\xa5\xe9\x53\x9f\xcf\x0d\x4d\x9f\x08\x5f\xe0\x55\xa8\xff\x5e\x6a\xe3\xa7\x5e\xfd\x8a\x71\x9a\x3f\x9d\x15\x01\x28\x69\x00\xb5\x3c\x63\x8f\x84\x38\xac\xbd\x15\x5a\x7b\x1a\x19\x55\x7c\xfb\xd3\x5f\x48\x88\x6b\x75\xf5\x8b\xb4\x5c\xc6\x6b\x08\x35\x6a\x42\x99\xac\xa2\xb9\xb1\x02\x7b\xeb\xdb\x4f\xca\x36\x48\x13\xc9\x7a\x67\x1e\x71\xb5\xb5\xbb\xb5\x9f\xec\xed\xc1\x74\xb2\x95\x5b\x66\xaa\xaf\xf0\xee\xf3\xc7\xf7\xf2\x62\x36\x99\xc4\x89\x9f\xd2\x94\x8b\x2b\x79\x94\xab\xa3\xd2\x4e\x4e\x3a\x25\xb5\x92\x0c\xdb\x0d\x42\x61\xe6\x82\x9b\x45\x1b\xea\xfb\x69\xb8\x2c\x3d\xf9\xaf\x85\xca\x14\x2a\xa9\x74\x95\xe4\x93\x85\x80\x3f\x3f\xad\x7c\x81\x92\x93\x38\x66\x39\x55\xfa\xa6\x8c\xcc\x6b\x10\xaf\x5b\xb0\x78\x5d\x33\x7c\x6a\x12\xae\xab\x0d\x74\xf5\x00\xd6\x90\xab\x43\xae\x0e\xb9\x3a\xe4\xea\x96\x26\x57\xd7\xbc\xf2\x96\x4a\xd5\x0d\x9c\xc6\x30\x9a\x40\x5d\xf3\xed\x57\x8b\xd3\xe9\x3c\x06\xe7\x48\xd2\x35\x8f\x41\xb5\x1c\xdd\xc0\x63\x80\x08\x1d\x22\x74\x88\xd0\x21\x42\x87\x08\xdd\x60\x22\x74\x2d\x56\xff\x13\x01\xba\xda\x0a\xac\x15\x65\x31\xb6\xbb\x9b\x05\x8b\xe8\x35\x0f\x77\x9d\x80\xde\xb8\xe3\x8e\x6c\xde\x20\x33\x7a\x2a\x99\x37\xf0\xb4\x4e\x2a\x94\xd7\x3c\x3c\x35\x22\x79\x43\x2f\x9b\xba\x4a\xe3\x35\x0f\x5a\x09\xc8\xe8\x1c\xcf\x8b\xff\xfa\xb3\x3b\x0c\x2b\x11\x57\x18\x88\x89\x65\x41\x98\x9b\x7c\xec\x93\xf6\x31\xfd\x02\xb1\x1f\x8f\xc6\xbd\x74\x60\x62\x43\x30\xf2\x0f\x8e\x5e\xcb\x55\xce\xdb\xcd\x1c\xbb\x2b\x4e\x03\xa5\x81\xd2\x66\x85\xd2\xc0\x68\x60\x34\x30\x1a\x18\x0d\x8c\x06\x46\x03\xa3\x81\xd1\xc0\x68\x60\x34\x30\x1a\x18\x0d\x8c\x06\x46\x03\xa3\x81\xd1\xe6\x84\xd1\xb2\x12\x27\x15\xf1\x06\xb4\x4d\xa0\x82\xd3\x33\x24\xa8\x20\x54\x10\x2a\x08\x15\x2c\x0c\x9a\x26\x54\xd0\xf5\xb6\x42\x93\x02\xb9\x4f\xde\x56\x4c\x54\x1e\x17\x9d\x9a\xe2\x38\x88\xde\xec\x88\xde\xc8\xc5\x71\xd1\x7b\x02\xd3\x83\xe9\xc1\xf4\x60\x7a\x30\x3d\x98\x1e\x4c\x0f\xa6\xd7\xe7\x6a\x0b\xd3\x83\xe9\xc1\xf4\x60\x7a\x30\x3d\x98\x1e\x4c\x6f\x75\x4c\x0f\x08\x06\x04\x03\x82\xcd\x63\x46\x81\x60\xf9\xe1\x01\x82\xcd\x1c\x82\xe9\x53\x18\xd7\x1b\x08\x1b\xbb\x2c\xae\x80\x07\x40\x68\x20\xb4\xc2\x51\x35\x44\x68\xe0\x33\xf0\x19\xf8\x0c\x7c\x06\x3e\x03\x9f\x81\xcf\xc0\x67\xe0\x33\xf0\x19\xf8\x0c\x7c\x06\x3e\x03\x9f\x81\xcf\xc0\x67\xf3\xc1\x67\x85\x92\xb8\xd3\x68\x03\x05\x71\xb0\xc0\xe9\xc9\x11\x2c\x10\x16\x08\x0b\x84\x05\x16\x06\x4d\x13\x16\x18\xff\x6e\x99\x7b\xd3\xb2\x43\x5b\x97\xe2\xb8\x98\xb5\xbd\x53\x97\xf5\x3c\x51\x9d\x5c\xe1\x2a\x7e\xb5\x83\xf0\x83\xe7\xdf\x3a\xce\x27\xf3\x51\x04\x7b\xd3\x12\x01\xfc\x0f\xfe\x37\x2b\xfe\x37\x72\x09\x5d\xe1\x15\x02\x07\x82\x03\xc1\x81\xe0\x40\x70\x20\x38\x10\x1c\x08\x0e\xec\x73\xb5\x05\x07\x82\x03\xc1\x81\xe0\x40\x70\x20\x38\x10\x1c\xb8\x3a\x1c\x08\x41\x83\xa0\x41\xd0\xe6\x31\xa3\x10\xb4\xfc\xf0\x40\xd0\x66\x4a\xd0\xdc\x14\x04\xa9\x7a\x3a\xf9\xf7\x5f\x80\xb5\x3a\xb0\x96\xc2\xb3\x6d\x39\x62\x03\xa9\x81\xd4\x40\x6a\x20\x35\x90\x1a\x48\x0d\xa4\x06\x52\x03\xa9\x81\xd4\x40\x6a\x20\x35\x90\x1a\x48\x0d\xa4\x06\x52\x03\xa9\x81\xd4\x40\x6a\xc6\x08\xb1\xe1\xf8\xae\x65\xa1\x5d\x34\x95\xe6\x21\x7c\x30\x02\xcb\xdb\x8b\x1f\x8d\xe0\x60\x3d\x44\x33\x2f\xfd\x15\x61\x3e\xaa\xe0\xf0\xde\xf7\xe4\x28\x9f\x5f\x88\x27\x23\x82\x54\xe3\xc1\x12\x61\x89\xb0\x44\x58\x22\x2c\x11\x96\x58\xcd\x12\xf5\x11\xef\x1c\x82\x27\x8e\xaa\xe3\x59\x47\x23\x21\x91\x90\xc8\x59\x91\x48\x28\x24\x14\x12\x0a\x09\x85\x84\x42\x42\x21\xa1\x90\x50\x48\x28\x24\x14\x12\x0a\x09\x85\x84\x42\x42\x21\xa1\x90\x50\xc8\x59\x52\xc8\x82\xce\x67\x6d\xe0\x61\x4e\x92\x9f\xd0\x55\xe8\x2a\x74\x15\xba\xaa\xf5\x8c\x42\x57\xf3\xc3\x03\x5d\x9d\x29\x5d\x4d\x18\xaa\x63\x06\x81\x16\xc5\x98\x89\x1d\x13\x5d\xd0\x14\x65\x98\xd9\xf3\x53\x76\x09\xec\x9c\x1d\xec\x1c\xb3\xec\x32\xfb\xb2\x80\x3a\x41\x9d\xa0\x4e\x50\x27\xa8\x13\xd4\x09\xea\x04\x75\xf6\xb9\xda\x82\x3a\x41\x9d\xa0\x4e\x50\x27\xa8\x13\xd4\x09\xea\x5c\x1d\xea\x84\x8c\x41\xc6\x20\x63\xf3\x98\x51\xc8\x58\x7e\x78\x20\x63\x8b\x20\x63\x9a\x94\x16\xf6\x4e\xc7\x46\x2d\x2a\xac\xc0\x05\x70\x35\xb8\x5a\xe1\xa8\x1a\x72\x35\x98\x1a\x4c\x0d\xa6\x06\x53\x83\xa9\xc1\xd4\x60\x6a\x30\x35\x98\x1a\x4c\x0d\xa6\x06\x53\x83\xa9\xc1\xd4\x60\x6a\x30\xb5\x99\x31\xb5\x6c\xf9\x60\x75\xc8\x61\x4e\x85\x83\x50\x42\x28\x21\x94\x70\x1e\x33\x0a\x25\xcc\x0f\x0f\x94\x70\xa6\x94\xf0\xc9\x73\x0e\x8f\xc2\x0c\x43\xd3\x7a\x88\x8c\x65\x1d\x4a\xe8\xfe\x90\xd7\x74\x9b\x5e\xd3\x14\x65\x74\xc5\x6b\xa0\x94\x0e\xe4\x37\x3b\xe4\x37\x66\x29\x5d\xf1\x85\x01\xfd\x81\xfe\x40\x7f\xa0\x3f\xd0\x1f\xe8\x0f\xf4\x07\xfa\xeb\x73\xb5\x05\xfd\x81\xfe\x40\x7f\xa0\x3f\xd0\x1f\xe8\x0f\xf4\xb7\x3a\xf4\x07\x28\x03\x94\x01\xca\xe6\x31\xa3\x80\xb2\xfc\xf0\x00\xca\x96\x02\xca\x34\xa9\xa8\x1b\x04\x96\x8d\x5a\x55\x57\x43\x0e\xc0\x6c\x60\xb6\xc2\x51\x35\xc4\x6c\x20\x36\x10\x1b\x88\x0d\xc4\x06\x62\x03\xb1\x81\xd8\x40\x6c\x20\x36\x10\x1b\x88\x0d\xc4\x06\x62\x03\xb1\x81\xd8\x40\x6c\x33\x44\x6c\xd9\xea\xba\xfa\xb0\x03\x15\x76\x80\xc3\xe9\x31\x13\xe0\x10\x70\x08\x38\x04\x1c\x16\x06\x6d\x78\x70\xe8\x78\xbb\xe0\xa6\x96\x01\x16\x00\x98\xe3\xed\x3e\xd8\x8e\xf8\xd5\x0e\xc2\xff\x63\xba\x5b\x27\x37\x5d\xd5\xe4\x47\x57\x78\x12\xdd\x7f\x66\xeb\x8b\xec\x19\xf3\x83\xf4\x3f\x8e\xb7\x8b\xcc\x84\x7a\x62\x5a\x3e\x5a\x0b\x1e\xa9\x97\x10\x99\x68\x38\x93\x77\xd1\xf1\x76\xe7\x19\x66\xf1\x74\x0c\x6f\x9b\x95\xbf\x38\xde\x5e\xb8\xf6\xf6\xe6\xe9\xcd\xcd\xff\xfb\xfe\xad\xe1\x15\x2a\xdc\xf6\x4e\x84\xd2\x5e\xb1\x2d\x61\x98\x96\x25\x5d\x6f\xe9\xe5\xf8\xc6\xef\x7b\xe1\x7e\x7c\x6f\xfc\xf2\xf9\xf7\x4f\xc6\x7f\x89\xaf\xc6\x3f\xc5\x73\xe4\xd0\x1b\xaf\x22\xdf\xc6\xb4\xdd\xc0\xd8\x1f\xbe\x3a\xb6\x15\x47\x60\x9f\x84\x9f\xae\x3a\x32\xba\xf8\xba\x06\x5d\xef\x44\xf8\x59\x9d\xf5\x56\x9d\xf4\xa3\x3c\xa7\x3a\xe5\x3f\xc5\x73\xfe\x93\xd7\x0e\x5d\x7f\xff\x76\x1d\x88\xf0\x07\x89\xb0\x4b\x9f\xa4\xd1\x50\x70\x61\x76\x73\x3f\xcf\x8f\xe9\xaa\xa7\xab\x71\x61\x8a\x8d\x99\xfa\xa7\xaf\x2a\x89\xe3\x24\x07\xa1\xf4\xea\x4a\x9e\x5d\x15\xe9\xd8\xa6\xe6\x78\xfd\x33\xf7\xce\xdb\x96\x58\xb9\xed\x33\x23\xa6\x7d\xac\xce\xcb\x30\x88\x07\x64\xf3\xd1\xbd\xf7\xe6\xfe\x08\x26\x93\x5b\xf5\x0c\x5e\xc4\x27\xbd\x0c\x84\x75\xf0\xed\xf0\x39\x3d\x40\xfa\x28\xfe\x43\x98\xbe\xf0\xff\x1d\x2d\x55\xd1\x8f\x7f\xa6\x3b\xfe\x99\xdb\xf1\xfd\x71\x64\xd3\x91\x28\xec\x9b\x1e\xb2\x30\x30\x6a\x2b\x43\x6e\x26\x3b\xd5\xab\x90\x55\x98\x7d\xd8\xe2\x2f\xc9\x83\x30\xb7\x99\x4f\xf0\x91\x0b\xc7\x23\x5b\xd8\x29\x59\x4f\xcc\xbd\xfd\x4f\xf1\x7c\x59\xbc\xe7\xef\xe6\x2e\xb2\x54\x7f\x32\x2e\xdf\x6e\xfe\xd7\xe5\xc5\x5f\x17\xff\x3f\x00\x00\xff\xff\x9f\x1f\xdc\xd6\x49\xd4\x4d\x00") - -func kubernetesapiV1212SwaggerJsonBytes() ([]byte, error) { - return bindataRead( - _kubernetesapiV1212SwaggerJson, - "kubernetesapi/v1212/swagger.json", - ) -} - -func kubernetesapiV1212SwaggerJson() (*asset, error) { - bytes, err := kubernetesapiV1212SwaggerJsonBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "kubernetesapi/v1212/swagger.json", size: 5100617, mode: os.FileMode(420), modTime: time.Unix(1628615474, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -// Asset loads and returns the asset for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. -func Asset(name string) ([]byte, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { - a, err := f() - if err != nil { - return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) - } - return a.bytes, nil - } - return nil, fmt.Errorf("Asset %s not found", name) -} - -// MustAsset is like Asset but panics when Asset would return an error. -// It simplifies safe initialization of global variables. -func MustAsset(name string) []byte { - a, err := Asset(name) - if err != nil { - panic("asset: Asset(" + name + "): " + err.Error()) - } - - return a -} - -// AssetInfo loads and returns the asset info for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. -func AssetInfo(name string) (os.FileInfo, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { - a, err := f() - if err != nil { - return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) - } - return a.info, nil - } - return nil, fmt.Errorf("AssetInfo %s not found", name) -} - -// AssetNames returns the names of the assets. -func AssetNames() []string { - names := make([]string, 0, len(_bindata)) - for name := range _bindata { - names = append(names, name) - } - return names -} - -// _bindata is a table, holding each asset generator, mapped to its name. -var _bindata = map[string]func() (*asset, error){ - "kubernetesapi/v1212/swagger.json": kubernetesapiV1212SwaggerJson, -} - -// AssetDir returns the file names below a certain -// directory embedded in the file by go-bindata. -// For example if you run go-bindata on data/... and data contains the -// following hierarchy: -// data/ -// foo.txt -// img/ -// a.png -// b.png -// then AssetDir("data") would return []string{"foo.txt", "img"} -// AssetDir("data/img") would return []string{"a.png", "b.png"} -// AssetDir("foo.txt") and AssetDir("notexist") would return an error -// AssetDir("") will return []string{"data"}. -func AssetDir(name string) ([]string, error) { - node := _bintree - if len(name) != 0 { - cannonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(cannonicalName, "/") - for _, p := range pathList { - node = node.Children[p] - if node == nil { - return nil, fmt.Errorf("Asset %s not found", name) - } - } - } - if node.Func != nil { - return nil, fmt.Errorf("Asset %s not found", name) - } - rv := make([]string, 0, len(node.Children)) - for childName := range node.Children { - rv = append(rv, childName) - } - return rv, nil -} - -type bintree struct { - Func func() (*asset, error) - Children map[string]*bintree -} - -var _bintree = &bintree{nil, map[string]*bintree{ - "kubernetesapi": &bintree{nil, map[string]*bintree{ - "v1212": &bintree{nil, map[string]*bintree{ - "swagger.json": &bintree{kubernetesapiV1212SwaggerJson, map[string]*bintree{}}, - }}, - }}, -}} - -// RestoreAsset restores an asset under the given directory -func RestoreAsset(dir, name string) error { - data, err := Asset(name) - if err != nil { - return err - } - info, err := AssetInfo(name) - if err != nil { - return err - } - err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755)) - if err != nil { - return err - } - err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) - if err != nil { - return err - } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil -} - -// RestoreAssets restores an asset under the given directory recursively -func RestoreAssets(dir, name string) error { - children, err := AssetDir(name) - // File - if err != nil { - return RestoreAsset(dir, name) - } - // Dir - for _, child := range children { - err = RestoreAssets(dir, filepath.Join(name, child)) - if err != nil { - return err - } - } - return nil -} - -func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.json b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.json deleted file mode 100644 index 081722ae..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1212/swagger.json +++ /dev/null @@ -1,101036 +0,0 @@ -{ - "definitions": { - "io.k8s.api.admissionregistration.v1.MutatingWebhook": { - "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", - "properties": { - "admissionReviewVersions": { - "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.", - "items": { - "type": "string" - }, - "type": "array" - }, - "clientConfig": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.WebhookClientConfig", - "description": "ClientConfig defines how to communicate with the hook. Required" - }, - "failurePolicy": { - "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.", - "type": "string" - }, - "matchPolicy": { - "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"", - "type": "string" - }, - "name": { - "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", - "type": "string" - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." - }, - "objectSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." - }, - "reinvocationPolicy": { - "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".", - "type": "string" - }, - "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.RuleWithOperations" - }, - "type": "array" - }, - "sideEffects": { - "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.", - "type": "string" - }, - "timeoutSeconds": { - "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "name", - "clientConfig", - "sideEffects", - "admissionReviewVersions" - ], - "type": "object" - }, - "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration": { - "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhook" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - ] - }, - "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList": { - "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of MutatingWebhookConfiguration.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfigurationList", - "version": "v1" - } - ] - }, - "io.k8s.api.admissionregistration.v1.RuleWithOperations": { - "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", - "properties": { - "apiGroups": { - "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "apiVersions": { - "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "operations": { - "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "scope": { - "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.admissionregistration.v1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "`name` is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "`namespace` is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "`path` is an optional URL path which will be sent in any request to this service.", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.api.admissionregistration.v1.ValidatingWebhook": { - "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", - "properties": { - "admissionReviewVersions": { - "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.", - "items": { - "type": "string" - }, - "type": "array" - }, - "clientConfig": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.WebhookClientConfig", - "description": "ClientConfig defines how to communicate with the hook. Required" - }, - "failurePolicy": { - "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.", - "type": "string" - }, - "matchPolicy": { - "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"", - "type": "string" - }, - "name": { - "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", - "type": "string" - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." - }, - "objectSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." - }, - "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.RuleWithOperations" - }, - "type": "array" - }, - "sideEffects": { - "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.", - "type": "string" - }, - "timeoutSeconds": { - "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "name", - "clientConfig", - "sideEffects", - "admissionReviewVersions" - ], - "type": "object" - }, - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration": { - "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhook" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - ] - }, - "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList": { - "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ValidatingWebhookConfiguration.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfigurationList", - "version": "v1" - } - ] - }, - "io.k8s.api.admissionregistration.v1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", - "properties": { - "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ServiceReference", - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhook": { - "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", - "properties": { - "admissionReviewVersions": { - "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "clientConfig": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig", - "description": "ClientConfig defines how to communicate with the hook. Required" - }, - "failurePolicy": { - "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.", - "type": "string" - }, - "matchPolicy": { - "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Exact\"", - "type": "string" - }, - "name": { - "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", - "type": "string" - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." - }, - "objectSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." - }, - "reinvocationPolicy": { - "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".", - "type": "string" - }, - "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" - }, - "type": "array" - }, - "sideEffects": { - "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", - "type": "string" - }, - "timeoutSeconds": { - "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "name", - "clientConfig" - ], - "type": "object" - }, - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration": { - "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhook" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList": { - "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of MutatingWebhookConfiguration.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfigurationList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.admissionregistration.v1beta1.RuleWithOperations": { - "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", - "properties": { - "apiGroups": { - "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "apiVersions": { - "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "operations": { - "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", - "items": { - "type": "string" - }, - "type": "array" - }, - "scope": { - "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.admissionregistration.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "`name` is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "`namespace` is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "`path` is an optional URL path which will be sent in any request to this service.", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook": { - "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", - "properties": { - "admissionReviewVersions": { - "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "clientConfig": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig", - "description": "ClientConfig defines how to communicate with the hook. Required" - }, - "failurePolicy": { - "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.", - "type": "string" - }, - "matchPolicy": { - "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Exact\"", - "type": "string" - }, - "name": { - "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", - "type": "string" - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything." - }, - "objectSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything." - }, - "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" - }, - "type": "array" - }, - "sideEffects": { - "description": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", - "type": "string" - }, - "timeoutSeconds": { - "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "name", - "clientConfig" - ], - "type": "object" - }, - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration": { - "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhook" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList": { - "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ValidatingWebhookConfiguration.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfigurationList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", - "properties": { - "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ServiceReference", - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.ControllerRevision": { - "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "data": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "Data is the serialized representation of the state." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "revision": { - "description": "Revision indicates the revision of the state represented by Data.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "revision" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.ControllerRevisionList": { - "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of ControllerRevisions", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevisionList", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.DaemonSet": { - "description": "DaemonSet represents the configuration of a daemon set.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetSpec", - "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetStatus", - "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.DaemonSetCondition": { - "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "A human readable message indicating details about the transition.", - "type": "string" - }, - "reason": { - "description": "The reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of DaemonSet condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.DaemonSetList": { - "description": "DaemonSetList is a collection of daemon sets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "A list of daemon sets.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DaemonSetList", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "properties": { - "minReadySeconds": { - "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "format": "int32", - "type": "integer" - }, - "revisionHistoryLimit": { - "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "An 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: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" - }, - "updateStrategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetUpdateStrategy", - "description": "An update strategy to replace existing DaemonSet pods with new pods." - } - }, - "required": [ - "selector", - "template" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.DaemonSetStatus": { - "description": "DaemonSetStatus represents the current status of a daemon set.", - "properties": { - "collisionCount": { - "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a DaemonSet's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentNumberScheduled": { - "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "format": "int32", - "type": "integer" - }, - "desiredNumberScheduled": { - "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "format": "int32", - "type": "integer" - }, - "numberAvailable": { - "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "format": "int32", - "type": "integer" - }, - "numberMisscheduled": { - "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "format": "int32", - "type": "integer" - }, - "numberReady": { - "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "format": "int32", - "type": "integer" - }, - "numberUnavailable": { - "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "The most recent generation observed by the daemon set controller.", - "format": "int64", - "type": "integer" - }, - "updatedNumberScheduled": { - "description": "The total number of nodes that are running updated daemon pod", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "currentNumberScheduled", - "numberMisscheduled", - "desiredNumberScheduled", - "numberReady" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.DaemonSetUpdateStrategy": { - "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", - "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateDaemonSet", - "description": "Rolling update config params. Present only if type = \"RollingUpdate\"." - }, - "type": { - "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.Deployment": { - "description": "Deployment enables declarative updates for Pods and ReplicaSets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentSpec", - "description": "Specification of the desired behavior of the Deployment." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentStatus", - "description": "Most recently observed status of the Deployment." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.DeploymentCondition": { - "description": "DeploymentCondition describes the state of a deployment at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "lastUpdateTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time this condition was updated." - }, - "message": { - "description": "A human readable message indicating details about the transition.", - "type": "string" - }, - "reason": { - "description": "The reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of deployment condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.DeploymentList": { - "description": "DeploymentList is a list of Deployments.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of Deployments.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DeploymentList", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "properties": { - "minReadySeconds": { - "description": "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)", - "format": "int32", - "type": "integer" - }, - "paused": { - "description": "Indicates that the deployment is paused.", - "type": "boolean" - }, - "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels." - }, - "strategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentStrategy", - "description": "The deployment strategy to use to replace existing pods with new ones.", - "x-kubernetes-patch-strategy": "retainKeys" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template describes the pods that will be created." - } - }, - "required": [ - "selector", - "template" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.DeploymentStatus": { - "description": "DeploymentStatus is the most recently observed status of the Deployment.", - "properties": { - "availableReplicas": { - "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "collisionCount": { - "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a deployment's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "observedGeneration": { - "description": "The generation observed by the deployment controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "Total number of ready pods targeted by this deployment.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "format": "int32", - "type": "integer" - }, - "unavailableReplicas": { - "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "format": "int32", - "type": "integer" - }, - "updatedReplicas": { - "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.DeploymentStrategy": { - "description": "DeploymentStrategy describes how to replace existing pods with new ones.", - "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateDeployment", - "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate." - }, - "type": { - "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.ReplicaSet": { - "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetSpec", - "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetStatus", - "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.ReplicaSetCondition": { - "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time the condition transitioned from one status to another." - }, - "message": { - "description": "A human readable message indicating details about the transition.", - "type": "string" - }, - "reason": { - "description": "The reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of replica set condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.ReplicaSetList": { - "description": "ReplicaSetList is a collection of ReplicaSets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ReplicaSetList", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.ReplicaSetSpec": { - "description": "ReplicaSetSpec is the specification of a ReplicaSet.", - "properties": { - "minReadySeconds": { - "description": "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)", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", - "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.RollingUpdateDaemonSet": { - "description": "Spec to control the desired behavior of daemon set rolling update.", - "properties": { - "maxSurge": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is an alpha field and requires enabling DaemonSetUpdateSurge feature gate." - }, - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding down to a minimum of one. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update." - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.RollingUpdateDeployment": { - "description": "Spec to control the desired behavior of rolling update.", - "properties": { - "maxSurge": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods." - }, - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods." - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy": { - "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", - "properties": { - "partition": { - "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.apps.v1.StatefulSet": { - "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetSpec", - "description": "Spec defines the desired identities of pods in this set." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetStatus", - "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.StatefulSetCondition": { - "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "A human readable message indicating details about the transition.", - "type": "string" - }, - "reason": { - "description": "The reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of statefulset condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.StatefulSetList": { - "description": "StatefulSetList is a collection of StatefulSets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "StatefulSetList", - "version": "v1" - } - ] - }, - "io.k8s.api.apps.v1.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", - "properties": { - "podManagementPolicy": { - "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", - "type": "string" - }, - "replicas": { - "description": "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.", - "format": "int32", - "type": "integer" - }, - "revisionHistoryLimit": { - "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "serviceName": { - "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", - "type": "string" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet." - }, - "updateStrategy": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetUpdateStrategy", - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template." - }, - "volumeClaimTemplates": { - "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - }, - "type": "array" - } - }, - "required": [ - "selector", - "template", - "serviceName" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.StatefulSetStatus": { - "description": "StatefulSetStatus represents the current state of a StatefulSet.", - "properties": { - "collisionCount": { - "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a statefulset's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentReplicas": { - "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "format": "int32", - "type": "integer" - }, - "currentRevision": { - "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", - "type": "string" - }, - "observedGeneration": { - "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "replicas is the number of Pods created by the StatefulSet controller.", - "format": "int32", - "type": "integer" - }, - "updateRevision": { - "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", - "type": "string" - }, - "updatedReplicas": { - "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.apps.v1.StatefulSetUpdateStrategy": { - "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", - "properties": { - "rollingUpdate": { - "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy", - "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType." - }, - "type": { - "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1.BoundObjectReference": { - "description": "BoundObjectReference is a reference to an object that a token is bound to.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "kind": { - "description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.", - "type": "string" - }, - "name": { - "description": "Name of the referent.", - "type": "string" - }, - "uid": { - "description": "UID of the referent.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1.TokenRequest": { - "description": "TokenRequest requests a token for a given service account.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestSpec" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestStatus" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authentication.k8s.io", - "kind": "TokenRequest", - "version": "v1" - } - ] - }, - "io.k8s.api.authentication.v1.TokenRequestSpec": { - "description": "TokenRequestSpec contains client provided parameters of a token request.", - "properties": { - "audiences": { - "description": "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.", - "items": { - "type": "string" - }, - "type": "array" - }, - "boundObjectRef": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.BoundObjectReference", - "description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation." - }, - "expirationSeconds": { - "description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "audiences" - ], - "type": "object" - }, - "io.k8s.api.authentication.v1.TokenRequestStatus": { - "description": "TokenRequestStatus is the result of a token request.", - "properties": { - "expirationTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "ExpirationTimestamp is the time of expiration of the returned token." - }, - "token": { - "description": "Token is the opaque bearer token.", - "type": "string" - } - }, - "required": [ - "token", - "expirationTimestamp" - ], - "type": "object" - }, - "io.k8s.api.authentication.v1.TokenReview": { - "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewStatus", - "description": "Status is filled in by the server and indicates whether the request can be authenticated." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" - } - ] - }, - "io.k8s.api.authentication.v1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", - "properties": { - "audiences": { - "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", - "items": { - "type": "string" - }, - "type": "array" - }, - "token": { - "description": "Token is the opaque bearer token.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1.TokenReviewStatus": { - "description": "TokenReviewStatus is the result of the token authentication request.", - "properties": { - "audiences": { - "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", - "items": { - "type": "string" - }, - "type": "array" - }, - "authenticated": { - "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" - }, - "error": { - "description": "Error indicates that the token couldn't be checked", - "type": "string" - }, - "user": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.UserInfo", - "description": "User is the UserInfo associated with the provided token." - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", - "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Any additional information provided by the authenticator.", - "type": "object" - }, - "groups": { - "description": "The names of groups this user is a part of.", - "items": { - "type": "string" - }, - "type": "array" - }, - "uid": { - "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", - "type": "string" - }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1beta1.TokenReview": { - "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewStatus", - "description": "Status is filled in by the server and indicates whether the request can be authenticated." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.authentication.v1beta1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", - "properties": { - "audiences": { - "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", - "items": { - "type": "string" - }, - "type": "array" - }, - "token": { - "description": "Token is the opaque bearer token.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1beta1.TokenReviewStatus": { - "description": "TokenReviewStatus is the result of the token authentication request.", - "properties": { - "audiences": { - "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", - "items": { - "type": "string" - }, - "type": "array" - }, - "authenticated": { - "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" - }, - "error": { - "description": "Error indicates that the token couldn't be checked", - "type": "string" - }, - "user": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.UserInfo", - "description": "User is the UserInfo associated with the provided token." - } - }, - "type": "object" - }, - "io.k8s.api.authentication.v1beta1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", - "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Any additional information provided by the authenticator.", - "type": "object" - }, - "groups": { - "description": "The names of groups this user is a part of.", - "items": { - "type": "string" - }, - "type": "array" - }, - "uid": { - "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", - "type": "string" - }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1.LocalSubjectAccessReview": { - "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" - } - ] - }, - "io.k8s.api.authorization.v1.NonResourceAttributes": { - "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", - "properties": { - "path": { - "description": "Path is the URL path of the request", - "type": "string" - }, - "verb": { - "description": "Verb is the standard HTTP verb", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1.NonResourceRule": { - "description": "NonResourceRule holds information that describes a rule for the non-resource", - "properties": { - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "verbs": { - "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", - "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", - "type": "string" - }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", - "type": "string" - }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" - }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" - }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "type": "string" - }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1.ResourceRule": { - "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", - "items": { - "type": "string" - }, - "type": "array" - }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1.SelfSubjectAccessReview": { - "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. user and groups must be empty" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" - } - ] - }, - "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec": { - "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", - "properties": { - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" - }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1.SelfSubjectRulesReview": { - "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec", - "description": "Spec holds information about the request being evaluated." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectRulesReviewStatus", - "description": "Status is filled in by the server and indicates the set of actions a user can perform." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" - } - ] - }, - "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec": { - "properties": { - "namespace": { - "description": "Namespace to evaluate rules for. Required.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" - } - ] - }, - "io.k8s.api.authorization.v1.SubjectAccessReviewSpec": { - "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", - "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object" - }, - "groups": { - "description": "Groups is the groups you're testing for.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" - }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" - }, - "uid": { - "description": "UID information about the requesting user.", - "type": "string" - }, - "user": { - "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", - "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" - }, - "denied": { - "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" - }, - "evaluationError": { - "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", - "type": "string" - }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", - "type": "string" - } - }, - "required": [ - "allowed" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1.SubjectRulesReviewStatus": { - "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", - "properties": { - "evaluationError": { - "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", - "type": "string" - }, - "incomplete": { - "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" - }, - "nonResourceRules": { - "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceRule" - }, - "type": "array" - }, - "resourceRules": { - "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceRule" - }, - "type": "array" - } - }, - "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview": { - "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.authorization.v1beta1.NonResourceAttributes": { - "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", - "properties": { - "path": { - "description": "Path is the URL path of the request", - "type": "string" - }, - "verb": { - "description": "Verb is the standard HTTP verb", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.NonResourceRule": { - "description": "NonResourceRule holds information that describes a rule for the non-resource", - "properties": { - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "verbs": { - "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", - "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", - "type": "string" - }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", - "type": "string" - }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" - }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" - }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "type": "string" - }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.ResourceRule": { - "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", - "items": { - "type": "string" - }, - "type": "array" - }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview": { - "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. user and groups must be empty" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.authorization.v1beta1.SelfSubjectAccessReviewSpec": { - "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", - "properties": { - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" - }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview": { - "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec", - "description": "Spec holds information about the request being evaluated." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus", - "description": "Status is filled in by the server and indicates the set of actions a user can perform." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.authorization.v1beta1.SelfSubjectRulesReviewSpec": { - "properties": { - "namespace": { - "description": "Namespace to evaluate rules for. Required.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.authorization.v1beta1.SubjectAccessReviewSpec": { - "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", - "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object" - }, - "group": { - "description": "Groups is the groups you're testing for.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nonResourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceAttributes", - "description": "NonResourceAttributes describes information for a non-resource access request" - }, - "resourceAttributes": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceAttributes", - "description": "ResourceAuthorizationAttributes describes information for a resource access request" - }, - "uid": { - "description": "UID information about the requesting user.", - "type": "string" - }, - "user": { - "description": "User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", - "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" - }, - "denied": { - "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" - }, - "evaluationError": { - "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", - "type": "string" - }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", - "type": "string" - } - }, - "required": [ - "allowed" - ], - "type": "object" - }, - "io.k8s.api.authorization.v1beta1.SubjectRulesReviewStatus": { - "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", - "properties": { - "evaluationError": { - "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", - "type": "string" - }, - "incomplete": { - "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" - }, - "nonResourceRules": { - "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.NonResourceRule" - }, - "type": "array" - }, - "resourceRules": { - "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "items": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.ResourceRule" - }, - "type": "array" - } - }, - "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v1.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", - "properties": { - "apiVersion": { - "description": "API version of the referent", - "type": "string" - }, - "kind": { - "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", - "type": "string" - }, - "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler": { - "description": "configuration of a horizontal pod autoscaler.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec", - "description": "behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus", - "description": "current information about the autoscaler." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - ] - }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList": { - "description": "list of horizontal pod autoscaler objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "list of horizontal pod autoscaler objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v1" - } - ] - }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec": { - "description": "specification of a horizontal pod autoscaler.", - "properties": { - "maxReplicas": { - "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "format": "int32", - "type": "integer" - }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" - }, - "scaleTargetRef": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.CrossVersionObjectReference", - "description": "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource." - }, - "targetCPUUtilizationPercentage": { - "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "scaleTargetRef", - "maxReplicas" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus": { - "description": "current status of a horizontal pod autoscaler", - "properties": { - "currentCPUUtilizationPercentage": { - "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "format": "int32", - "type": "integer" - }, - "currentReplicas": { - "description": "current number of replicas of pods managed by this autoscaler.", - "format": "int32", - "type": "integer" - }, - "desiredReplicas": { - "description": "desired number of replicas of pods managed by this autoscaler.", - "format": "int32", - "type": "integer" - }, - "lastScaleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." - }, - "observedGeneration": { - "description": "most recent generation observed by this autoscaler.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "currentReplicas", - "desiredReplicas" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v1.Scale": { - "description": "Scale represents a scaling request for a resource.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - ] - }, - "io.k8s.api.autoscaling.v1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource.", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.autoscaling.v1.ScaleStatus": { - "description": "ScaleStatus represents the current status of a scale subresource.", - "properties": { - "replicas": { - "description": "actual number of observed instances of the scaled object.", - "format": "int32", - "type": "integer" - }, - "selector": { - "description": "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", - "type": "string" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource": { - "description": "ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", - "properties": { - "container": { - "description": "container is the name of the container in the pods of the scaling target", - "type": "string" - }, - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - }, - "targetAverageUtilization": { - "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "format": "int32", - "type": "integer" - }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type." - } - }, - "required": [ - "name", - "container" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus": { - "description": "ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", - "properties": { - "container": { - "description": "container is the name of the container in the pods of the scaling target", - "type": "string" - }, - "currentAverageUtilization": { - "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "format": "int32", - "type": "integer" - }, - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." - }, - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - } - }, - "required": [ - "name", - "currentAverageValue", - "container" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", - "properties": { - "apiVersion": { - "description": "API version of the referent", - "type": "string" - }, - "kind": { - "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", - "type": "string" - }, - "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource": { - "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", - "properties": { - "metricName": { - "description": "metricName is the name of the metric in question.", - "type": "string" - }, - "metricSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "metricSelector is used to identify a specific time series within a given metric." - }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue." - }, - "targetValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue." - } - }, - "required": [ - "metricName" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus": { - "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", - "properties": { - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentAverageValue is the current value of metric averaged over autoscaled pods." - }, - "currentValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentValue is the current value of the metric (as a quantity)" - }, - "metricName": { - "description": "metricName is the name of a metric used for autoscaling in metric system.", - "type": "string" - }, - "metricSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "metricSelector is used to identify a specific time series within a given metric." - } - }, - "required": [ - "metricName", - "currentValue" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler": { - "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec", - "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus", - "description": "status is the current information about the autoscaler." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - ] - }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition": { - "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the last time the condition transitioned from one status to another" - }, - "message": { - "description": "message is a human-readable explanation containing details about the transition", - "type": "string" - }, - "reason": { - "description": "reason is the reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "status is the status of the condition (True, False, Unknown)", - "type": "string" - }, - "type": { - "description": "type describes the current condition", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList": { - "description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of horizontal pod autoscaler objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "metadata is the standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v2beta1" - } - ] - }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec": { - "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", - "properties": { - "maxReplicas": { - "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "format": "int32", - "type": "integer" - }, - "metrics": { - "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.MetricSpec" - }, - "type": "array" - }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" - }, - "scaleTargetRef": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", - "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." - } - }, - "required": [ - "scaleTargetRef", - "maxReplicas" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus": { - "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", - "properties": { - "conditions": { - "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition" - }, - "type": "array" - }, - "currentMetrics": { - "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.MetricStatus" - }, - "type": "array" - }, - "currentReplicas": { - "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "desiredReplicas": { - "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "lastScaleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." - }, - "observedGeneration": { - "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "currentReplicas", - "desiredReplicas", - "conditions" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.MetricSpec": { - "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", - "properties": { - "containerResource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricSource", - "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." - }, - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ExternalMetricSource", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.PodsMetricSource", - "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." - }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricSource", - "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." - }, - "type": { - "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.MetricStatus": { - "description": "MetricStatus describes the last-read state of a single metric.", - "properties": { - "containerResource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ContainerResourceMetricStatus", - "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." - }, - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus", - "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." - }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus", - "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." - }, - "type": { - "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ObjectMetricSource": { - "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", - "properties": { - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" - }, - "metricName": { - "description": "metricName is the name of the metric in question.", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", - "description": "target is the described Kubernetes object." - }, - "targetValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetValue is the target value of the metric (as a quantity)." - } - }, - "required": [ - "target", - "metricName", - "targetValue" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus": { - "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", - "properties": { - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" - }, - "currentValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentValue is the current value of the metric (as a quantity)." - }, - "metricName": { - "description": "metricName is the name of the metric in question.", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference", - "description": "target is the described Kubernetes object." - } - }, - "required": [ - "target", - "metricName", - "currentValue" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.PodsMetricSource": { - "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", - "properties": { - "metricName": { - "description": "metricName is the name of the metric in question", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics." - }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)" - } - }, - "required": [ - "metricName", - "targetAverageValue" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.PodsMetricStatus": { - "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", - "properties": { - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)" - }, - "metricName": { - "description": "metricName is the name of the metric in question", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." - } - }, - "required": [ - "metricName", - "currentAverageValue" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ResourceMetricSource": { - "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", - "properties": { - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - }, - "targetAverageUtilization": { - "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "format": "int32", - "type": "integer" - }, - "targetAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type." - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus": { - "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", - "properties": { - "currentAverageUtilization": { - "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "format": "int32", - "type": "integer" - }, - "currentAverageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type. It will always be set, regardless of the corresponding metric specification." - }, - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - } - }, - "required": [ - "name", - "currentAverageValue" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource": { - "description": "ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", - "properties": { - "container": { - "description": "container is the name of the container in the pods of the scaling target", - "type": "string" - }, - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" - } - }, - "required": [ - "name", - "target", - "container" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus": { - "description": "ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", - "properties": { - "container": { - "description": "Container is the name of the container in the pods of the scaling target", - "type": "string" - }, - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" - }, - "name": { - "description": "Name is the name of the resource in question.", - "type": "string" - } - }, - "required": [ - "name", - "current", - "container" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference": { - "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", - "properties": { - "apiVersion": { - "description": "API version of the referent", - "type": "string" - }, - "kind": { - "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\"", - "type": "string" - }, - "name": { - "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ExternalMetricSource": { - "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", - "properties": { - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" - } - }, - "required": [ - "metric", - "target" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus": { - "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", - "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" - }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - } - }, - "required": [ - "metric", - "current" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy": { - "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", - "properties": { - "periodSeconds": { - "description": "PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "Type is used to specify the scaling policy.", - "type": "string" - }, - "value": { - "description": "Value contains the amount of change which is permitted by the policy. It must be greater than zero", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "type", - "value", - "periodSeconds" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.HPAScalingRules": { - "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.", - "properties": { - "policies": { - "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingPolicy" - }, - "type": "array" - }, - "selectPolicy": { - "description": "selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.", - "type": "string" - }, - "stabilizationWindowSeconds": { - "description": "StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler": { - "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec", - "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus", - "description": "status is the current information about the autoscaler." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - ] - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior": { - "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", - "properties": { - "scaleDown": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules", - "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used)." - }, - "scaleUp": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HPAScalingRules", - "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used." - } - }, - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition": { - "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the last time the condition transitioned from one status to another" - }, - "message": { - "description": "message is a human-readable explanation containing details about the transition", - "type": "string" - }, - "reason": { - "description": "reason is the reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "status is the status of the condition (True, False, Unknown)", - "type": "string" - }, - "type": { - "description": "type describes the current condition", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList": { - "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of horizontal pod autoscaler objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "metadata is the standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v2beta2" - } - ] - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec": { - "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", - "properties": { - "behavior": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerBehavior", - "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used." - }, - "maxReplicas": { - "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "format": "int32", - "type": "integer" - }, - "metrics": { - "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricSpec" - }, - "type": "array" - }, - "minReplicas": { - "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", - "format": "int32", - "type": "integer" - }, - "scaleTargetRef": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference", - "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count." - } - }, - "required": [ - "scaleTargetRef", - "maxReplicas" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus": { - "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", - "properties": { - "conditions": { - "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition" - }, - "type": "array" - }, - "currentMetrics": { - "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", - "items": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricStatus" - }, - "type": "array" - }, - "currentReplicas": { - "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "desiredReplicas": { - "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "format": "int32", - "type": "integer" - }, - "lastScaleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed." - }, - "observedGeneration": { - "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "currentReplicas", - "desiredReplicas", - "conditions" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricIdentifier": { - "description": "MetricIdentifier defines the name and optionally selector for a metric", - "properties": { - "name": { - "description": "name is the name of the given metric", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics." - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricSpec": { - "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", - "properties": { - "containerResource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricSource", - "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." - }, - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricSource", - "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." - }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource", - "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." - }, - "type": { - "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricStatus": { - "description": "MetricStatus describes the last-read state of a single metric.", - "properties": { - "containerResource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ContainerResourceMetricStatus", - "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." - }, - "external": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus", - "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster)." - }, - "object": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus", - "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value." - }, - "resource": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus", - "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." - }, - "type": { - "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricTarget": { - "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", - "properties": { - "averageUtilization": { - "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "format": "int32", - "type": "integer" - }, - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)" - }, - "type": { - "description": "type represents whether the metric type is Utilization, Value, or AverageValue", - "type": "string" - }, - "value": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "value is the target value of the metric (as a quantity)." - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.MetricValueStatus": { - "description": "MetricValueStatus holds the current value for a metric", - "properties": { - "averageUtilization": { - "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "format": "int32", - "type": "integer" - }, - "averageValue": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)" - }, - "value": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "value is the current value of the metric (as a quantity)." - } - }, - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ObjectMetricSource": { - "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", - "properties": { - "describedObject": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" - }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" - } - }, - "required": [ - "describedObject", - "target", - "metric" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus": { - "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", - "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" - }, - "describedObject": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference" - }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - } - }, - "required": [ - "metric", - "current", - "describedObject" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.PodsMetricSource": { - "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", - "properties": { - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" - } - }, - "required": [ - "metric", - "target" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.PodsMetricStatus": { - "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", - "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" - }, - "metric": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricIdentifier", - "description": "metric identifies the target metric by name and selector" - } - }, - "required": [ - "metric", - "current" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ResourceMetricSource": { - "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", - "properties": { - "name": { - "description": "name is the name of the resource in question.", - "type": "string" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricTarget", - "description": "target specifies the target value for the given metric" - } - }, - "required": [ - "name", - "target" - ], - "type": "object" - }, - "io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus": { - "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", - "properties": { - "current": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.MetricValueStatus", - "description": "current contains the current value for the given metric" - }, - "name": { - "description": "Name is the name of the resource in question.", - "type": "string" - } - }, - "required": [ - "name", - "current" - ], - "type": "object" - }, - "io.k8s.api.batch.v1.CronJob": { - "description": "CronJob represents the configuration of a single cron job.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobSpec", - "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobStatus", - "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - ] - }, - "io.k8s.api.batch.v1.CronJobList": { - "description": "CronJobList is a collection of cron jobs.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CronJobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJobList", - "version": "v1" - } - ] - }, - "io.k8s.api.batch.v1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", - "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "jobTemplate": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobTemplateSpec", - "description": "Specifies the job that will be created when executing a CronJob." - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "type": "string" - }, - "startingDeadlineSeconds": { - "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "format": "int64", - "type": "integer" - }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.", - "format": "int32", - "type": "integer" - }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" - } - }, - "required": [ - "schedule", - "jobTemplate" - ], - "type": "object" - }, - "io.k8s.api.batch.v1.CronJobStatus": { - "description": "CronJobStatus represents the current state of a cron job.", - "properties": { - "active": { - "description": "A list of pointers to currently running jobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "lastScheduleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job was successfully scheduled." - }, - "lastSuccessfulTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job successfully completed." - } - }, - "type": "object" - }, - "io.k8s.api.batch.v1.Job": { - "description": "Job represents the configuration of a single job.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobStatus", - "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "Job", - "version": "v1" - } - ] - }, - "io.k8s.api.batch.v1.JobCondition": { - "description": "JobCondition describes current state of a job.", - "properties": { - "lastProbeTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition was checked." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transit from one status to another." - }, - "message": { - "description": "Human readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "(brief) reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of job condition, Complete or Failed.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.batch.v1.JobList": { - "description": "JobList is a collection of jobs.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of Jobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "JobList", - "version": "v1" - } - ] - }, - "io.k8s.api.batch.v1.JobSpec": { - "description": "JobSpec describes how the job execution will look like.", - "properties": { - "activeDeadlineSeconds": { - "description": "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.", - "format": "int64", - "type": "integer" - }, - "backoffLimit": { - "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "format": "int32", - "type": "integer" - }, - "completionMode": { - "description": "CompletionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.\n\n`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.\n\n`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5.\n\nThis field is alpha-level and is only honored by servers that enable the IndexedJob feature gate. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, the controller skips updates for the Job.", - "type": "string" - }, - "completions": { - "description": "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: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "format": "int32", - "type": "integer" - }, - "manualSelector": { - "description": "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: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" - }, - "parallelism": { - "description": "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) \u003c .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "format": "int32", - "type": "integer" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" - }, - "suspend": { - "description": "Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false.", - "type": "boolean" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" - }, - "ttlSecondsAfterFinished": { - "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "template" - ], - "type": "object" - }, - "io.k8s.api.batch.v1.JobStatus": { - "description": "JobStatus represents the current state of a Job.", - "properties": { - "active": { - "description": "The number of actively running pods.", - "format": "int32", - "type": "integer" - }, - "completedIndexes": { - "description": "CompletedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\".", - "type": "string" - }, - "completionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "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. The completion time is only set when the job finishes successfully." - }, - "conditions": { - "description": "The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobCondition" - }, - "type": "array", - "x-kubernetes-list-type": "atomic", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "failed": { - "description": "The number of pods which reached phase Failed.", - "format": "int32", - "type": "integer" - }, - "startTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC." - }, - "succeeded": { - "description": "The number of pods which reached phase Succeeded.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.batch.v1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object" - }, - "io.k8s.api.batch.v1beta1.CronJob": { - "description": "CronJob represents the configuration of a single cron job.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobSpec", - "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobStatus", - "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.batch.v1beta1.CronJobList": { - "description": "CronJobList is a collection of cron jobs.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CronJobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "batch", - "kind": "CronJobList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.batch.v1beta1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", - "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "format": "int32", - "type": "integer" - }, - "jobTemplate": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.JobTemplateSpec", - "description": "Specifies the job that will be created when executing a CronJob." - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "type": "string" - }, - "startingDeadlineSeconds": { - "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "format": "int64", - "type": "integer" - }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "format": "int32", - "type": "integer" - }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" - } - }, - "required": [ - "schedule", - "jobTemplate" - ], - "type": "object" - }, - "io.k8s.api.batch.v1beta1.CronJobStatus": { - "description": "CronJobStatus represents the current state of a cron job.", - "properties": { - "active": { - "description": "A list of pointers to currently running jobs.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "lastScheduleTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job was successfully scheduled." - }, - "lastSuccessfulTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Information when was the last time the job successfully completed." - } - }, - "type": "object" - }, - "io.k8s.api.batch.v1beta1.JobTemplateSpec": { - "description": "JobTemplateSpec describes the data a Job should have when created from a template", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec", - "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object" - }, - "io.k8s.api.certificates.v1.CertificateSigningRequest": { - "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestSpec", - "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestStatus", - "description": "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - ] - }, - "io.k8s.api.certificates.v1.CertificateSigningRequestCondition": { - "description": "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time." - }, - "lastUpdateTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastUpdateTime is the time of the last update to this condition" - }, - "message": { - "description": "message contains a human readable message with details about the request state", - "type": "string" - }, - "reason": { - "description": "reason indicates a brief reason for the request state", - "type": "string" - }, - "status": { - "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".", - "type": "string" - }, - "type": { - "description": "type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.certificates.v1.CertificateSigningRequestList": { - "description": "CertificateSigningRequestList is a collection of CertificateSigningRequest objects", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is a collection of CertificateSigningRequest objects", - "items": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequestList", - "version": "v1" - } - ] - }, - "io.k8s.api.certificates.v1.CertificateSigningRequestSpec": { - "description": "CertificateSigningRequestSpec contains the certificate request.", - "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", - "type": "object" - }, - "groups": { - "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "request": { - "description": "request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.", - "format": "byte", - "type": "string", - "x-kubernetes-list-type": "atomic" - }, - "signerName": { - "description": "signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed.", - "type": "string" - }, - "uid": { - "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", - "type": "string" - }, - "usages": { - "description": "usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\"", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "username": { - "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", - "type": "string" - } - }, - "required": [ - "request", - "signerName" - ], - "type": "object" - }, - "io.k8s.api.certificates.v1.CertificateSigningRequestStatus": { - "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.", - "properties": { - "certificate": { - "description": "certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )", - "format": "byte", - "type": "string", - "x-kubernetes-list-type": "atomic" - }, - "conditions": { - "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\".", - "items": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" - } - }, - "type": "object" - }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequest": { - "description": "Describes a certificate signing request", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec", - "description": "The certificate request itself and any additional information." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus", - "description": "Derived information about the request." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time." - }, - "lastUpdateTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "timestamp for the last update to this condition" - }, - "message": { - "description": "human readable message with details about the request state", - "type": "string" - }, - "reason": { - "description": "brief reason for the request state", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". Defaults to \"True\". If unset, should be treated as \"True\".", - "type": "string" - }, - "type": { - "description": "type of the condition. Known conditions include \"Approved\", \"Denied\", and \"Failed\".", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestList": { - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequestList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec": { - "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", - "properties": { - "extra": { - "additionalProperties": { - "items": { - "type": "string" - }, - "type": "array" - }, - "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object" - }, - "groups": { - "description": "Group information about the requesting user. See user.Info interface for details.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "request": { - "description": "Base64-encoded PKCS#10 CSR data", - "format": "byte", - "type": "string", - "x-kubernetes-list-type": "atomic" - }, - "signerName": { - "description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.", - "type": "string" - }, - "uid": { - "description": "UID information about the requesting user. See user.Info interface for details.", - "type": "string" - }, - "usages": { - "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12\nValid values are:\n \"signing\",\n \"digital signature\",\n \"content commitment\",\n \"key encipherment\",\n \"key agreement\",\n \"data encipherment\",\n \"cert sign\",\n \"crl sign\",\n \"encipher only\",\n \"decipher only\",\n \"any\",\n \"server auth\",\n \"client auth\",\n \"code signing\",\n \"email protection\",\n \"s/mime\",\n \"ipsec end system\",\n \"ipsec tunnel\",\n \"ipsec user\",\n \"timestamping\",\n \"ocsp signing\",\n \"microsoft sgc\",\n \"netscape sgc\"", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "username": { - "description": "Information about the requesting user. See user.Info interface for details.", - "type": "string" - } - }, - "required": [ - "request" - ], - "type": "object" - }, - "io.k8s.api.certificates.v1beta1.CertificateSigningRequestStatus": { - "properties": { - "certificate": { - "description": "If request was approved, the controller will place the issued certificate here.", - "format": "byte", - "type": "string", - "x-kubernetes-list-type": "atomic" - }, - "conditions": { - "description": "Conditions applied to the request, such as approval or denial.", - "items": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" - } - }, - "type": "object" - }, - "io.k8s.api.coordination.v1.Lease": { - "description": "Lease defines a lease concept.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseSpec", - "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - ] - }, - "io.k8s.api.coordination.v1.LeaseList": { - "description": "LeaseList is a list of Lease objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "coordination.k8s.io", - "kind": "LeaseList", - "version": "v1" - } - ] - }, - "io.k8s.api.coordination.v1.LeaseSpec": { - "description": "LeaseSpec is a specification of a Lease.", - "properties": { - "acquireTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "acquireTime is a time when the current lease was acquired." - }, - "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", - "type": "string" - }, - "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "format": "int32", - "type": "integer" - }, - "leaseTransitions": { - "description": "leaseTransitions is the number of transitions of a lease between holders.", - "format": "int32", - "type": "integer" - }, - "renewTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "renewTime is a time when the current holder of a lease has last updated the lease." - } - }, - "type": "object" - }, - "io.k8s.api.coordination.v1beta1.Lease": { - "description": "Lease defines a lease concept.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseSpec", - "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.coordination.v1beta1.LeaseList": { - "description": "LeaseList is a list of Lease objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "coordination.k8s.io", - "kind": "LeaseList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.coordination.v1beta1.LeaseSpec": { - "description": "LeaseSpec is a specification of a Lease.", - "properties": { - "acquireTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "acquireTime is a time when the current lease was acquired." - }, - "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", - "type": "string" - }, - "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "format": "int32", - "type": "integer" - }, - "leaseTransitions": { - "description": "leaseTransitions is the number of transitions of a lease between holders.", - "format": "int32", - "type": "integer" - }, - "renewTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "renewTime is a time when the current holder of a lease has last updated the lease." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { - "description": "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.", - "properties": { - "fsType": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - }, - "partition": { - "description": "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).", - "format": "int32", - "type": "integer" - }, - "readOnly": { - "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" - }, - "volumeID": { - "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Affinity": { - "description": "Affinity is a group of affinity scheduling rules.", - "properties": { - "nodeAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity", - "description": "Describes node affinity scheduling rules for the pod." - }, - "podAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity", - "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))." - }, - "podAntiAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAntiAffinity", - "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.AttachedVolume": { - "description": "AttachedVolume describes a volume attached to a node", - "properties": { - "devicePath": { - "description": "DevicePath represents the device path where the volume should be available", - "type": "string" - }, - "name": { - "description": "Name of the attached volume", - "type": "string" - } - }, - "required": [ - "name", - "devicePath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.AzureDiskVolumeSource": { - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", - "properties": { - "cachingMode": { - "description": "Host Caching mode: None, Read Only, Read Write.", - "type": "string" - }, - "diskName": { - "description": "The Name of the data disk in the blob storage", - "type": "string" - }, - "diskURI": { - "description": "The URI the data disk in the blob storage", - "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "kind": { - "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - } - }, - "required": [ - "diskName", - "diskURI" - ], - "type": "object" - }, - "io.k8s.api.core.v1.AzureFilePersistentVolumeSource": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "properties": { - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretName": { - "description": "the name of secret that contains Azure Storage Account Name and Key", - "type": "string" - }, - "secretNamespace": { - "description": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod", - "type": "string" - }, - "shareName": { - "description": "Share Name", - "type": "string" - } - }, - "required": [ - "secretName", - "shareName" - ], - "type": "object" - }, - "io.k8s.api.core.v1.AzureFileVolumeSource": { - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "properties": { - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretName": { - "description": "the name of secret that contains Azure Storage Account Name and Key", - "type": "string" - }, - "shareName": { - "description": "Share Name", - "type": "string" - } - }, - "required": [ - "secretName", - "shareName" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Binding": { - "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "target": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "The target object that you want to bind to the standard object." - } - }, - "required": [ - "target" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Binding", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", - "properties": { - "controllerExpandSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." - }, - "controllerPublishSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." - }, - "driver": { - "description": "Driver is the name of the driver to use for this volume. Required.", - "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", - "type": "string" - }, - "nodePublishSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." - }, - "nodeStageSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed." - }, - "readOnly": { - "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" - }, - "volumeAttributes": { - "additionalProperties": { - "type": "string" - }, - "description": "Attributes of the volume to publish.", - "type": "object" - }, - "volumeHandle": { - "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.", - "type": "string" - } - }, - "required": [ - "driver", - "volumeHandle" - ], - "type": "object" - }, - "io.k8s.api.core.v1.CSIVolumeSource": { - "description": "Represents a source location of a volume to mount, managed by an external CSI driver", - "properties": { - "driver": { - "description": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", - "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", - "type": "string" - }, - "nodePublishSecretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed." - }, - "readOnly": { - "description": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", - "type": "boolean" - }, - "volumeAttributes": { - "additionalProperties": { - "type": "string" - }, - "description": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", - "type": "object" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Capabilities": { - "description": "Adds and removes POSIX capabilities from running containers.", - "properties": { - "add": { - "description": "Added capabilities", - "items": { - "type": "string" - }, - "type": "array" - }, - "drop": { - "description": "Removed capabilities", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.CephFSPersistentVolumeSource": { - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" - }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", - "type": "string" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" - }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors" - ], - "type": "object" - }, - "io.k8s.api.core.v1.CephFSVolumeSource": { - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" - }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", - "type": "string" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" - }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors" - ], - "type": "object" - }, - "io.k8s.api.core.v1.CinderPersistentVolumeSource": { - "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." - }, - "volumeID": { - "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "io.k8s.api.core.v1.CinderVolumeSource": { - "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "Optional: points to a secret object containing parameters used to connect to OpenStack." - }, - "volumeID": { - "description": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ClientIPConfig": { - "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", - "properties": { - "timeoutSeconds": { - "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be \u003e0 \u0026\u0026 \u003c=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ComponentCondition": { - "description": "Information about the condition of a component.", - "properties": { - "error": { - "description": "Condition error code for a component. For example, a health check error code.", - "type": "string" - }, - "message": { - "description": "Message about the condition for a component. For example, information about a health check.", - "type": "string" - }, - "status": { - "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", - "type": "string" - }, - "type": { - "description": "Type of condition for a component. Valid value: \"Healthy\"", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ComponentStatus": { - "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "conditions": { - "description": "List of component conditions observed", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ComponentStatus", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ComponentStatusList": { - "description": "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ComponentStatus objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ComponentStatusList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ConfigMap": { - "description": "ConfigMap holds configuration data for pods to consume.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "binaryData": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object" - }, - "data": { - "additionalProperties": { - "type": "string" - }, - "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object" - }, - "immutable": { - "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.", - "type": "boolean" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ConfigMapEnvSource": { - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ConfigMapKeySelector": { - "description": "Selects a key from a ConfigMap.", - "properties": { - "key": { - "description": "The key to select.", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ConfigMapList": { - "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of ConfigMaps.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ConfigMapList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ConfigMapNodeConfigSource": { - "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", - "properties": { - "kubeletConfigKey": { - "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", - "type": "string" - }, - "name": { - "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", - "type": "string" - }, - "resourceVersion": { - "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", - "type": "string" - }, - "uid": { - "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", - "type": "string" - } - }, - "required": [ - "namespace", - "name", - "kubeletConfigKey" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ConfigMapProjection": { - "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", - "properties": { - "items": { - "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap 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 ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" - }, - "type": "array" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its keys must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ConfigMapVolumeSource": { - "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap 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 ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" - }, - "type": "array" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the ConfigMap or its keys must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.Container": { - "description": "A single application container that you want to run within a pod.", - "properties": { - "args": { - "description": "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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array" - }, - "command": { - "description": "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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" - }, - "type": "array" - }, - "image": { - "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", - "type": "string" - }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" - }, - "lifecycle": { - "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", - "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated." - }, - "livenessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" - }, - "name": { - "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "type": "string" - }, - "ports": { - "description": "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "containerPort", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "containerPort", - "x-kubernetes-patch-strategy": "merge" - }, - "readinessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" - }, - "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/" - }, - "securityContext": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", - "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" - }, - "startupProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" - }, - "stdin": { - "description": "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.", - "type": "boolean" - }, - "stdinOnce": { - "description": "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", - "type": "boolean" - }, - "terminationMessagePath": { - "description": "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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", - "type": "string" - }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" - }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" - }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" - }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" - }, - "workingDir": { - "description": "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.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ContainerImage": { - "description": "Describe a container image", - "properties": { - "names": { - "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", - "items": { - "type": "string" - }, - "type": "array" - }, - "sizeBytes": { - "description": "The size of the image in bytes.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "names" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ContainerPort": { - "description": "ContainerPort represents a network port in a single container.", - "properties": { - "containerPort": { - "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 \u003c x \u003c 65536.", - "format": "int32", - "type": "integer" - }, - "hostIP": { - "description": "What host IP to bind the external port to.", - "type": "string" - }, - "hostPort": { - "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 \u003c x \u003c 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "format": "int32", - "type": "integer" - }, - "name": { - "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", - "type": "string" - }, - "protocol": { - "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", - "type": "string" - } - }, - "required": [ - "containerPort" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ContainerState": { - "description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", - "properties": { - "running": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning", - "description": "Details about a running container" - }, - "terminated": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated", - "description": "Details about a terminated container" - }, - "waiting": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting", - "description": "Details about a waiting container" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ContainerStateRunning": { - "description": "ContainerStateRunning is a running state of a container.", - "properties": { - "startedAt": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time at which the container was last (re-)started" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ContainerStateTerminated": { - "description": "ContainerStateTerminated is a terminated state of a container.", - "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://\u003ccontainer_id\u003e'", - "type": "string" - }, - "exitCode": { - "description": "Exit status from the last termination of the container", - "format": "int32", - "type": "integer" - }, - "finishedAt": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time at which the container last terminated" - }, - "message": { - "description": "Message regarding the last termination of the container", - "type": "string" - }, - "reason": { - "description": "(brief) reason from the last termination of the container", - "type": "string" - }, - "signal": { - "description": "Signal from the last termination of the container", - "format": "int32", - "type": "integer" - }, - "startedAt": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time at which previous execution of the container started" - } - }, - "required": [ - "exitCode" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ContainerStateWaiting": { - "description": "ContainerStateWaiting is a waiting state of a container.", - "properties": { - "message": { - "description": "Message regarding why the container is not yet running.", - "type": "string" - }, - "reason": { - "description": "(brief) reason the container is not yet running.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ContainerStatus": { - "description": "ContainerStatus contains details for the current status of this container.", - "properties": { - "containerID": { - "description": "Container's ID in the format 'docker://\u003ccontainer_id\u003e'.", - "type": "string" - }, - "image": { - "description": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images", - "type": "string" - }, - "imageID": { - "description": "ImageID of the container's image.", - "type": "string" - }, - "lastState": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", - "description": "Details about the container's last termination condition." - }, - "name": { - "description": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.", - "type": "string" - }, - "ready": { - "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" - }, - "restartCount": { - "description": "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.", - "format": "int32", - "type": "integer" - }, - "started": { - "description": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.", - "type": "boolean" - }, - "state": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", - "description": "Details about the container's current condition." - } - }, - "required": [ - "name", - "ready", - "restartCount", - "image", - "imageID" - ], - "type": "object" - }, - "io.k8s.api.core.v1.DaemonEndpoint": { - "description": "DaemonEndpoint contains information about a single Daemon endpoint.", - "properties": { - "Port": { - "description": "Port number of the given endpoint.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "Port" - ], - "type": "object" - }, - "io.k8s.api.core.v1.DownwardAPIProjection": { - "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", - "properties": { - "items": { - "description": "Items is a list of DownwardAPIVolume file", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.DownwardAPIVolumeFile": { - "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", - "properties": { - "fieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", - "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported." - }, - "mode": { - "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", - "type": "string" - }, - "resourceFieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", - "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported." - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.DownwardAPIVolumeSource": { - "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", - "properties": { - "defaultMode": { - "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "Items is a list of downward API volume file", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.EmptyDirVolumeSource": { - "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", - "properties": { - "medium": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", - "type": "string" - }, - "sizeLimit": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.EndpointAddress": { - "description": "EndpointAddress is a tuple that describes single IP address.", - "properties": { - "hostname": { - "description": "The Hostname of this endpoint", - "type": "string" - }, - "ip": { - "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", - "type": "string" - }, - "nodeName": { - "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "Reference to object providing the endpoint." - } - }, - "required": [ - "ip" - ], - "type": "object" - }, - "io.k8s.api.core.v1.EndpointPort": { - "description": "EndpointPort is a tuple that describes a single port.", - "properties": { - "appProtocol": { - "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default.", - "type": "string" - }, - "name": { - "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "io.k8s.api.core.v1.EndpointSubset": { - "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", - "properties": { - "addresses": { - "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" - }, - "type": "array" - }, - "notReadyAddresses": { - "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" - }, - "type": "array" - }, - "ports": { - "description": "Port numbers available on the related IP addresses.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointPort" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.Endpoints": { - "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "subsets": { - "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointSubset" - }, - "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.EndpointsList": { - "description": "EndpointsList is a list of endpoints.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of endpoints.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "EndpointsList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.EnvFromSource": { - "description": "EnvFromSource represents the source of a set of ConfigMaps", - "properties": { - "configMapRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource", - "description": "The ConfigMap to select from" - }, - "prefix": { - "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", - "type": "string" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretEnvSource", - "description": "The Secret to select from" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.EnvVar": { - "description": "EnvVar represents an environment variable present in a Container.", - "properties": { - "name": { - "description": "Name of the environment variable. Must be a C_IDENTIFIER.", - "type": "string" - }, - "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. 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. Defaults to \"\".", - "type": "string" - }, - "valueFrom": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVarSource", - "description": "Source for the environment variable's value. Cannot be used if value is not empty." - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.EnvVarSource": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", - "properties": { - "configMapKeyRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector", - "description": "Selects a key of a ConfigMap." - }, - "fieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['\u003cKEY\u003e']`, `metadata.annotations['\u003cKEY\u003e']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." - }, - "resourceFieldRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", - "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported." - }, - "secretKeyRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", - "description": "Selects a key of a secret in the pod's namespace" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.EphemeralContainer": { - "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", - "properties": { - "args": { - "description": "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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array" - }, - "command": { - "description": "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: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", - "items": { - "type": "string" - }, - "type": "array" - }, - "env": { - "description": "List of environment variables to set in the container. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "envFrom": { - "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" - }, - "type": "array" - }, - "image": { - "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", - "type": "string" - }, - "imagePullPolicy": { - "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", - "type": "string" - }, - "lifecycle": { - "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle", - "description": "Lifecycle is not allowed for ephemeral containers." - }, - "livenessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "name": { - "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", - "type": "string" - }, - "ports": { - "description": "Ports are not allowed for ephemeral containers.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" - }, - "type": "array" - }, - "readinessProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod." - }, - "securityContext": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext", - "description": "SecurityContext is not allowed for ephemeral containers." - }, - "startupProbe": { - "$ref": "#/definitions/io.k8s.api.core.v1.Probe", - "description": "Probes are not allowed for ephemeral containers." - }, - "stdin": { - "description": "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.", - "type": "boolean" - }, - "stdinOnce": { - "description": "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", - "type": "boolean" - }, - "targetContainerName": { - "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", - "type": "string" - }, - "terminationMessagePath": { - "description": "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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", - "type": "string" - }, - "terminationMessagePolicy": { - "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", - "type": "string" - }, - "tty": { - "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" - }, - "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "devicePath", - "x-kubernetes-patch-strategy": "merge" - }, - "volumeMounts": { - "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "mountPath", - "x-kubernetes-patch-strategy": "merge" - }, - "workingDir": { - "description": "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.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.EphemeralVolumeSource": { - "description": "Represents an ephemeral volume that is handled by a normal storage driver.", - "properties": { - "volumeClaimTemplate": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimTemplate", - "description": "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `\u003cpod name\u003e-\u003cvolume name\u003e` where `\u003cvolume name\u003e` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.Event": { - "description": "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", - "properties": { - "action": { - "description": "What action was taken/failed regarding to the Regarding object.", - "type": "string" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "count": { - "description": "The number of times this event has occurred.", - "format": "int32", - "type": "integer" - }, - "eventTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "Time when this Event was first observed." - }, - "firstTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" - }, - "involvedObject": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "The object that this event is about." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "lastTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The time at which the most recent occurrence of this event was recorded." - }, - "message": { - "description": "A human-readable description of the status of this operation.", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "reason": { - "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", - "type": "string" - }, - "related": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "Optional secondary object for more complex actions." - }, - "reportingComponent": { - "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", - "type": "string" - }, - "reportingInstance": { - "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", - "type": "string" - }, - "series": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSeries", - "description": "Data about the Event series this event represents or nil if it's a singleton Event." - }, - "source": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", - "description": "The component reporting this event. Should be a short machine understandable string." - }, - "type": { - "description": "Type of this event (Normal, Warning), new types could be added in the future", - "type": "string" - } - }, - "required": [ - "metadata", - "involvedObject" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Event", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.EventList": { - "description": "EventList is a list of events.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of events", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "EventList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", - "properties": { - "count": { - "description": "Number of occurrences in this series up to the last heartbeat time", - "format": "int32", - "type": "integer" - }, - "lastObservedTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "Time of the last occurrence observed" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.EventSource": { - "description": "EventSource contains information for an event.", - "properties": { - "component": { - "description": "Component from which the event is generated.", - "type": "string" - }, - "host": { - "description": "Node name on which the event is generated.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ExecAction": { - "description": "ExecAction describes a \"run in container\" action.", - "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.FCVolumeSource": { - "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "lun": { - "description": "Optional: FC target lun number", - "format": "int32", - "type": "integer" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "targetWWNs": { - "description": "Optional: FC target worldwide names (WWNs)", - "items": { - "type": "string" - }, - "type": "array" - }, - "wwids": { - "description": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.FlexPersistentVolumeSource": { - "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", - "properties": { - "driver": { - "description": "Driver is the name of the driver to use for this volume.", - "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", - "type": "string" - }, - "options": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional: Extra command options if any.", - "type": "object" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts." - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "io.k8s.api.core.v1.FlexVolumeSource": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", - "properties": { - "driver": { - "description": "Driver is the name of the driver to use for this volume.", - "type": "string" - }, - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", - "type": "string" - }, - "options": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional: Extra command options if any.", - "type": "object" - }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts." - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "io.k8s.api.core.v1.FlockerVolumeSource": { - "description": "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.", - "properties": { - "datasetName": { - "description": "Name of the dataset stored as metadata -\u003e name on the dataset for Flocker should be considered as deprecated", - "type": "string" - }, - "datasetUUID": { - "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource": { - "description": "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.", - "properties": { - "fsType": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" - }, - "partition": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "format": "int32", - "type": "integer" - }, - "pdName": { - "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" - } - }, - "required": [ - "pdName" - ], - "type": "object" - }, - "io.k8s.api.core.v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", - "properties": { - "directory": { - "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", - "type": "string" - }, - "repository": { - "description": "Repository URL", - "type": "string" - }, - "revision": { - "description": "Commit hash for the specified revision.", - "type": "string" - } - }, - "required": [ - "repository" - ], - "type": "object" - }, - "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "endpoints": { - "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "endpointsNamespace": { - "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "path": { - "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" - } - }, - "required": [ - "endpoints", - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.GlusterfsVolumeSource": { - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", - "properties": { - "endpoints": { - "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "path": { - "description": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" - } - }, - "required": [ - "endpoints", - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.HTTPGetAction": { - "description": "HTTPGetAction describes an action based on HTTP Get requests.", - "properties": { - "host": { - "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", - "type": "string" - }, - "httpHeaders": { - "description": "Custom headers to set in the request. HTTP allows repeated headers.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.HTTPHeader" - }, - "type": "array" - }, - "path": { - "description": "Path to access on the HTTP server.", - "type": "string" - }, - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." - }, - "scheme": { - "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "io.k8s.api.core.v1.HTTPHeader": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "properties": { - "name": { - "description": "The header field name", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Handler": { - "description": "Handler defines a specific action that should be taken", - "properties": { - "exec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", - "description": "One and only one of the following should be specified. Exec specifies the action to take." - }, - "httpGet": { - "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." - }, - "tcpSocket": { - "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.HostAlias": { - "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", - "properties": { - "hostnames": { - "description": "Hostnames for the above IP address.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ip": { - "description": "IP address of the host file entry.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.HostPathVolumeSource": { - "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", - "properties": { - "path": { - "description": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", - "type": "string" - }, - "type": { - "description": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ISCSIPersistentVolumeSource": { - "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", - "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "fsType": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", - "type": "string" - }, - "initiatorName": { - "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface \u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection.", - "type": "string" - }, - "iqn": { - "description": "Target iSCSI Qualified Name.", - "type": "string" - }, - "iscsiInterface": { - "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", - "type": "string" - }, - "lun": { - "description": "iSCSI Target Lun number.", - "format": "int32", - "type": "integer" - }, - "portals": { - "description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "items": { - "type": "string" - }, - "type": "array" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" - }, - "targetPortal": { - "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "type": "string" - } - }, - "required": [ - "targetPortal", - "iqn", - "lun" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ISCSIVolumeSource": { - "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", - "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "fsType": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", - "type": "string" - }, - "initiatorName": { - "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface \u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection.", - "type": "string" - }, - "iqn": { - "description": "Target iSCSI Qualified Name.", - "type": "string" - }, - "iscsiInterface": { - "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", - "type": "string" - }, - "lun": { - "description": "iSCSI Target Lun number.", - "format": "int32", - "type": "integer" - }, - "portals": { - "description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "items": { - "type": "string" - }, - "type": "array" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" - }, - "targetPortal": { - "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "type": "string" - } - }, - "required": [ - "targetPortal", - "iqn", - "lun" - ], - "type": "object" - }, - "io.k8s.api.core.v1.KeyToPath": { - "description": "Maps a string key to a path within a volume.", - "properties": { - "key": { - "description": "The key to project.", - "type": "string" - }, - "mode": { - "description": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "format": "int32", - "type": "integer" - }, - "path": { - "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", - "type": "string" - } - }, - "required": [ - "key", - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Lifecycle": { - "description": "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.", - "properties": { - "postStart": { - "$ref": "#/definitions/io.k8s.api.core.v1.Handler", - "description": "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: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" - }, - "preStop": { - "$ref": "#/definitions/io.k8s.api.core.v1.Handler", - "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.LimitRange": { - "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeSpec", - "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.LimitRangeItem": { - "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", - "properties": { - "default": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object" - }, - "defaultRequest": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object" - }, - "max": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Max usage constraints on this kind by resource name.", - "type": "object" - }, - "maxLimitRequestRatio": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object" - }, - "min": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Min usage constraints on this kind by resource name.", - "type": "object" - }, - "type": { - "description": "Type of resource that this limit applies to.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.core.v1.LimitRangeList": { - "description": "LimitRangeList is a list of LimitRange items.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "LimitRangeList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.LimitRangeSpec": { - "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", - "properties": { - "limits": { - "description": "Limits is the list of LimitRangeItem objects that are enforced.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeItem" - }, - "type": "array" - } - }, - "required": [ - "limits" - ], - "type": "object" - }, - "io.k8s.api.core.v1.LoadBalancerIngress": { - "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", - "properties": { - "hostname": { - "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", - "type": "string" - }, - "ip": { - "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", - "type": "string" - }, - "ports": { - "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PortStatus" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.LoadBalancerStatus": { - "description": "LoadBalancerStatus represents the status of a load-balancer.", - "properties": { - "ingress": { - "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerIngress" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.LocalObjectReference": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity (Beta feature)", - "properties": { - "fsType": { - "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.", - "type": "string" - }, - "path": { - "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.NFSVolumeSource": { - "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", - "properties": { - "path": { - "description": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" - }, - "server": { - "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "string" - } - }, - "required": [ - "server", - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Namespace": { - "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceSpec", - "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceStatus", - "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Namespace", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.NamespaceCondition": { - "description": "NamespaceCondition contains details about state of namespace.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" - }, - "message": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of namespace controller condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.NamespaceList": { - "description": "NamespaceList is a list of Namespaces.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NamespaceList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.NamespaceSpec": { - "description": "NamespaceSpec describes the attributes on a Namespace.", - "properties": { - "finalizers": { - "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NamespaceStatus": { - "description": "NamespaceStatus is information about the current status of a Namespace.", - "properties": { - "conditions": { - "description": "Represents the latest available observations of a namespace's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "phase": { - "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.Node": { - "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSpec", - "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeStatus", - "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Node", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.NodeAddress": { - "description": "NodeAddress contains information for the node's address.", - "properties": { - "address": { - "description": "The node address.", - "type": "string" - }, - "type": { - "description": "Node address type, one of Hostname, ExternalIP or InternalIP.", - "type": "string" - } - }, - "required": [ - "type", - "address" - ], - "type": "object" - }, - "io.k8s.api.core.v1.NodeAffinity": { - "description": "Node affinity is a group of node affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm" - }, - "type": "array" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeCondition": { - "description": "NodeCondition contains condition information for a node.", - "properties": { - "lastHeartbeatTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time we got an update on a given condition." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transit from one status to another." - }, - "message": { - "description": "Human readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "(brief) reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of node condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.NodeConfigSource": { - "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", - "properties": { - "configMap": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapNodeConfigSource", - "description": "ConfigMap is a reference to a Node's ConfigMap" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeConfigStatus": { - "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", - "properties": { - "active": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error." - }, - "assigned": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned." - }, - "error": { - "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", - "type": "string" - }, - "lastKnownGood": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeDaemonEndpoints": { - "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", - "properties": { - "kubeletEndpoint": { - "$ref": "#/definitions/io.k8s.api.core.v1.DaemonEndpoint", - "description": "Endpoint on which Kubelet is listening." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeList": { - "description": "NodeList is the whole list of all Nodes which have been registered with master.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of nodes", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.NodeSelector": { - "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", - "properties": { - "nodeSelectorTerms": { - "description": "Required. A list of node selector terms. The terms are ORed.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" - }, - "type": "array" - } - }, - "required": [ - "nodeSelectorTerms" - ], - "type": "object" - }, - "io.k8s.api.core.v1.NodeSelectorRequirement": { - "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "io.k8s.api.core.v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", - "properties": { - "matchExpressions": { - "description": "A list of node selector requirements by node's labels.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" - }, - "type": "array" - }, - "matchFields": { - "description": "A list of node selector requirements by node's fields.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeSpec": { - "description": "NodeSpec describes the attributes that a node is created with.", - "properties": { - "configSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource", - "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" - }, - "externalID": { - "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", - "type": "string" - }, - "podCIDR": { - "description": "PodCIDR represents the pod IP range assigned to the node.", - "type": "string" - }, - "podCIDRs": { - "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-patch-strategy": "merge" - }, - "providerID": { - "description": "ID of the node assigned by the cloud provider in the format: \u003cProviderName\u003e://\u003cProviderSpecificNodeID\u003e", - "type": "string" - }, - "taints": { - "description": "If specified, the node's taints.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Taint" - }, - "type": "array" - }, - "unschedulable": { - "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeStatus": { - "description": "NodeStatus is information about the current status of a node.", - "properties": { - "addresses": { - "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeAddress" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "allocatable": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object" - }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object" - }, - "conditions": { - "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "config": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigStatus", - "description": "Status of the config assigned to the node via the dynamic Kubelet config feature." - }, - "daemonEndpoints": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints", - "description": "Endpoints of daemons running on the Node." - }, - "images": { - "description": "List of container images on this node", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerImage" - }, - "type": "array" - }, - "nodeInfo": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSystemInfo", - "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" - }, - "phase": { - "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.", - "type": "string" - }, - "volumesAttached": { - "description": "List of volumes that are attached to the node.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.AttachedVolume" - }, - "type": "array" - }, - "volumesInUse": { - "description": "List of attachable volumes in use (mounted) by the node.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.NodeSystemInfo": { - "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", - "properties": { - "architecture": { - "description": "The Architecture reported by the node", - "type": "string" - }, - "bootID": { - "description": "Boot ID reported by the node.", - "type": "string" - }, - "containerRuntimeVersion": { - "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", - "type": "string" - }, - "kernelVersion": { - "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", - "type": "string" - }, - "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", - "type": "string" - }, - "kubeletVersion": { - "description": "Kubelet Version reported by the node.", - "type": "string" - }, - "machineID": { - "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", - "type": "string" - }, - "operatingSystem": { - "description": "The Operating System reported by the node", - "type": "string" - }, - "osImage": { - "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", - "type": "string" - }, - "systemUUID": { - "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid", - "type": "string" - } - }, - "required": [ - "machineID", - "systemUUID", - "bootID", - "kernelVersion", - "osImage", - "containerRuntimeVersion", - "kubeletVersion", - "kubeProxyVersion", - "operatingSystem", - "architecture" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ObjectFieldSelector": { - "description": "ObjectFieldSelector selects an APIVersioned field of an object.", - "properties": { - "apiVersion": { - "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", - "type": "string" - }, - "fieldPath": { - "description": "Path of the field to select in the specified API version.", - "type": "string" - } - }, - "required": [ - "fieldPath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ObjectReference": { - "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "fieldPath": { - "description": "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.", - "type": "string" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", - "type": "string" - }, - "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolume": { - "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "description": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeStatus", - "description": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PersistentVolumeClaim": { - "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec", - "description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus", - "description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PersistentVolumeClaimCondition": { - "description": "PersistentVolumeClaimCondition contails details about state of pvc", - "properties": { - "lastProbeTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time we probed the condition." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.", - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeClaimList": { - "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PersistentVolumeClaimList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PersistentVolumeClaimSpec": { - "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", - "properties": { - "accessModes": { - "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", - "items": { - "type": "string" - }, - "type": "array" - }, - "dataSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", - "description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source." - }, - "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", - "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over volumes to consider for binding." - }, - "storageClassName": { - "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", - "type": "string" - }, - "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", - "type": "string" - }, - "volumeName": { - "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeClaimStatus": { - "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", - "properties": { - "accessModes": { - "description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", - "items": { - "type": "string" - }, - "type": "array" - }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Represents the actual resources of the underlying volume.", - "type": "object" - }, - "conditions": { - "description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "phase": { - "description": "Phase represents the current phase of PersistentVolumeClaim.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeClaimTemplate": { - "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec", - "description": "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here." - } - }, - "required": [ - "spec" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource": { - "description": "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).", - "properties": { - "claimName": { - "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", - "type": "string" - }, - "readOnly": { - "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" - } - }, - "required": [ - "claimName" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeList": { - "description": "PersistentVolumeList is a list of PersistentVolume items.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PersistentVolumeList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PersistentVolumeSpec": { - "description": "PersistentVolumeSpec is the specification of a persistent volume.", - "properties": { - "accessModes": { - "description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes", - "items": { - "type": "string" - }, - "type": "array" - }, - "awsElasticBlockStore": { - "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", - "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" - }, - "azureDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." - }, - "azureFile": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureFilePersistentVolumeSource", - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." - }, - "capacity": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object" - }, - "cephfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.CephFSPersistentVolumeSource", - "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime" - }, - "cinder": { - "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource", - "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" - }, - "claimRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "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: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding" - }, - "csi": { - "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource", - "description": "CSI represents storage that is handled by an external CSI driver (Beta feature)." - }, - "fc": { - "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", - "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." - }, - "flexVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource", - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." - }, - "flocker": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", - "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running" - }, - "gcePersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" - }, - "glusterfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource", - "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" - }, - "hostPath": { - "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" - }, - "iscsi": { - "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIPersistentVolumeSource", - "description": "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." - }, - "local": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalVolumeSource", - "description": "Local represents directly-attached storage with node affinity" - }, - "mountOptions": { - "description": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options", - "items": { - "type": "string" - }, - "type": "array" - }, - "nfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource", - "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" - }, - "nodeAffinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeNodeAffinity", - "description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume." - }, - "persistentVolumeReclaimPolicy": { - "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", - "type": "string" - }, - "photonPersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", - "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" - }, - "portworxVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", - "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine" - }, - "quobyte": { - "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", - "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime" - }, - "rbd": { - "$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource", - "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" - }, - "scaleIO": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", - "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." - }, - "storageClassName": { - "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", - "type": "string" - }, - "storageos": { - "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource", - "description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" - }, - "volumeMode": { - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.", - "type": "string" - }, - "vsphereVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", - "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PersistentVolumeStatus": { - "description": "PersistentVolumeStatus is the current status of a persistent volume.", - "properties": { - "message": { - "description": "A human-readable message indicating details about why the volume is in this state.", - "type": "string" - }, - "phase": { - "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", - "type": "string" - }, - "reason": { - "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource": { - "description": "Represents a Photon Controller persistent disk resource.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "pdID": { - "description": "ID that identifies Photon Controller persistent disk", - "type": "string" - } - }, - "required": [ - "pdID" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Pod": { - "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec", - "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodStatus", - "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Pod", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PodAffinity": { - "description": "Pod affinity is a group of inter pod affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" - }, - "type": "array" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key \u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running", - "properties": { - "labelSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over a set of resources, in this case pods." - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces. This field is alpha-level and is only honored when PodAffinityNamespaceSelector feature is enabled." - }, - "namespaces": { - "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\"", - "items": { - "type": "string" - }, - "type": "array" - }, - "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", - "type": "string" - } - }, - "required": [ - "topologyKey" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PodAntiAffinity": { - "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", - "properties": { - "preferredDuringSchedulingIgnoredDuringExecution": { - "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" - }, - "type": "array" - }, - "requiredDuringSchedulingIgnoredDuringExecution": { - "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodCondition": { - "description": "PodCondition contains details for the current condition of this pod.", - "properties": { - "lastProbeTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time we probed the condition." - }, - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", - "type": "string" - }, - "type": { - "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PodDNSConfig": { - "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", - "properties": { - "nameservers": { - "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "options": { - "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfigOption" - }, - "type": "array" - }, - "searches": { - "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodDNSConfigOption": { - "description": "PodDNSConfigOption defines DNS resolver options of a pod.", - "properties": { - "name": { - "description": "Required.", - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodIP": { - "description": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", - "properties": { - "ip": { - "description": "ip is an IP address (IPv4 or IPv6) assigned to the pod", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodList": { - "description": "PodList is a list of Pods.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PodList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PodReadinessGate": { - "description": "PodReadinessGate contains the reference to a pod condition", - "properties": { - "conditionType": { - "description": "ConditionType refers to a condition in the pod's condition list with matching type.", - "type": "string" - } - }, - "required": [ - "conditionType" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PodSecurityContext": { - "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", - "properties": { - "fsGroup": { - "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "format": "int64", - "type": "integer" - }, - "fsGroupChangePolicy": { - "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.", - "type": "string" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "format": "int64", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", - "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container." - }, - "seccompProfile": { - "$ref": "#/definitions/io.k8s.api.core.v1.SeccompProfile", - "description": "The seccomp options to use by the containers in this pod." - }, - "supplementalGroups": { - "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.", - "items": { - "format": "int64", - "type": "integer" - }, - "type": "array" - }, - "sysctls": { - "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" - }, - "type": "array" - }, - "windowsOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions", - "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodSpec": { - "description": "PodSpec is a description of a pod.", - "properties": { - "activeDeadlineSeconds": { - "description": "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.", - "format": "int64", - "type": "integer" - }, - "affinity": { - "$ref": "#/definitions/io.k8s.api.core.v1.Affinity", - "description": "If specified, the pod's scheduling constraints" - }, - "automountServiceAccountToken": { - "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" - }, - "containers": { - "description": "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.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Container" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "dnsConfig": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig", - "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy." - }, - "dnsPolicy": { - "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", - "type": "string" - }, - "enableServiceLinks": { - "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", - "type": "boolean" - }, - "ephemeralContainers": { - "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainer" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "hostAliases": { - "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "ip", - "x-kubernetes-patch-strategy": "merge" - }, - "hostIPC": { - "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" - }, - "hostNetwork": { - "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" - }, - "hostPID": { - "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" - }, - "hostname": { - "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", - "type": "string" - }, - "imagePullSecrets": { - "description": "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: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "initContainers": { - "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Container" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "nodeName": { - "description": "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.", - "type": "string" - }, - "nodeSelector": { - "additionalProperties": { - "type": "string" - }, - "description": "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: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object" - }, - "overhead": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.", - "type": "object" - }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.", - "type": "string" - }, - "priority": { - "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "format": "int32", - "type": "integer" - }, - "priorityClassName": { - "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", - "type": "string" - }, - "readinessGates": { - "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodReadinessGate" - }, - "type": "array" - }, - "restartPolicy": { - "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", - "type": "string" - }, - "runtimeClassName": { - "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", - "type": "string" - }, - "schedulerName": { - "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", - "type": "string" - }, - "securityContext": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext", - "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field." - }, - "serviceAccount": { - "description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", - "type": "string" - }, - "serviceAccountName": { - "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", - "type": "string" - }, - "setHostnameAsFQDN": { - "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", - "type": "boolean" - }, - "shareProcessNamespace": { - "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.", - "type": "boolean" - }, - "subdomain": { - "description": "If specified, the fully qualified Pod hostname will be \"\u003chostname\u003e.\u003csubdomain\u003e.\u003cpod namespace\u003e.svc.\u003ccluster domain\u003e\". If not specified, the pod will not have a domainname at all.", - "type": "string" - }, - "terminationGracePeriodSeconds": { - "description": "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 stop immediately via the kill signal (no opportunity to shut down). 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.", - "format": "int64", - "type": "integer" - }, - "tolerations": { - "description": "If specified, the pod's tolerations.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" - }, - "type": "array" - }, - "topologySpreadConstraints": { - "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "topologyKey", - "whenUnsatisfiable" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "topologyKey", - "x-kubernetes-patch-strategy": "merge" - }, - "volumes": { - "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Volume" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge,retainKeys" - } - }, - "required": [ - "containers" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", - "properties": { - "conditions": { - "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "containerStatuses": { - "description": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" - }, - "type": "array" - }, - "ephemeralContainerStatuses": { - "description": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" - }, - "type": "array" - }, - "hostIP": { - "description": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", - "type": "string" - }, - "initContainerStatuses": { - "description": "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: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" - }, - "type": "array" - }, - "message": { - "description": "A human readable message indicating details about why the pod is in this condition.", - "type": "string" - }, - "nominatedNodeName": { - "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", - "type": "string" - }, - "phase": { - "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", - "type": "string" - }, - "podIP": { - "description": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", - "type": "string" - }, - "podIPs": { - "description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodIP" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "ip", - "x-kubernetes-patch-strategy": "merge" - }, - "qosClass": { - "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", - "type": "string" - }, - "reason": { - "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'", - "type": "string" - }, - "startTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "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." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PodTemplate": { - "description": "PodTemplate describes a template for creating copies of a predefined pod.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PodTemplateList": { - "description": "PodTemplateList is a list of PodTemplates.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of pod templates", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "PodTemplateList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.PodTemplateSpec": { - "description": "PodTemplateSpec describes the data a pod should have when created from a template", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec", - "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.PortStatus": { - "properties": { - "error": { - "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", - "type": "string" - }, - "port": { - "description": "Port is the port number of the service port of which status is recorded here", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"", - "type": "string" - } - }, - "required": [ - "port", - "protocol" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PortworxVolumeSource": { - "description": "PortworxVolumeSource represents a Portworx volume resource.", - "properties": { - "fsType": { - "description": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "volumeID": { - "description": "VolumeID uniquely identifies a Portworx volume", - "type": "string" - } - }, - "required": [ - "volumeID" - ], - "type": "object" - }, - "io.k8s.api.core.v1.PreferredSchedulingTerm": { - "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", - "properties": { - "preference": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm", - "description": "A node selector term, associated with the corresponding weight." - }, - "weight": { - "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "weight", - "preference" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Probe": { - "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "properties": { - "exec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", - "description": "One and only one of the following should be specified. Exec specifies the action to take." - }, - "failureThreshold": { - "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "httpGet": { - "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." - }, - "initialDelaySeconds": { - "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - }, - "periodSeconds": { - "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "successThreshold": { - "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", - "format": "int32", - "type": "integer" - }, - "tcpSocket": { - "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", - "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported" - }, - "terminationGracePeriodSeconds": { - "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. 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. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate.", - "format": "int64", - "type": "integer" - }, - "timeoutSeconds": { - "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ProjectedVolumeSource": { - "description": "Represents a projected volume source", - "properties": { - "defaultMode": { - "description": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.", - "format": "int32", - "type": "integer" - }, - "sources": { - "description": "list of volume projections", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.QuobyteVolumeSource": { - "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", - "properties": { - "group": { - "description": "Group to map volume access to Default is no group", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" - }, - "registry": { - "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", - "type": "string" - }, - "tenant": { - "description": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", - "type": "string" - }, - "user": { - "description": "User to map volume access to Defaults to serivceaccount user", - "type": "string" - }, - "volume": { - "description": "Volume is a string that references an already created Quobyte volume by name.", - "type": "string" - } - }, - "required": [ - "registry", - "volume" - ], - "type": "object" - }, - "io.k8s.api.core.v1.RBDPersistentVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" - }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors", - "image" - ], - "type": "object" - }, - "io.k8s.api.core.v1.RBDVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", - "properties": { - "fsType": { - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "items": { - "type": "string" - }, - "type": "array" - }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" - } - }, - "required": [ - "monitors", - "image" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ReplicationController": { - "description": "ReplicationController represents the configuration of a replication controller.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerSpec", - "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerStatus", - "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ReplicationControllerCondition": { - "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "The last time the condition transitioned from one status to another." - }, - "message": { - "description": "A human readable message indicating details about the transition.", - "type": "string" - }, - "reason": { - "description": "The reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type of replication controller condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ReplicationControllerList": { - "description": "ReplicationControllerList is a collection of replication controllers.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ReplicationControllerList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ReplicationControllerSpec": { - "description": "ReplicationControllerSpec is the specification of a replication controller.", - "properties": { - "minReadySeconds": { - "description": "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)", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "format": "int32", - "type": "integer" - }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object" - }, - "template": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec", - "description": "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: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ReplicationControllerStatus": { - "description": "ReplicationControllerStatus represents the current status of a replication controller.", - "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "format": "int32", - "type": "integer" - }, - "conditions": { - "description": "Represents the latest available observations of a replication controller's current state.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "format": "int64", - "type": "integer" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replication controller.", - "format": "int32", - "type": "integer" - }, - "replicas": { - "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "replicas" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ResourceFieldSelector": { - "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", - "properties": { - "containerName": { - "description": "Container name: required for volumes, optional for env vars", - "type": "string" - }, - "divisor": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "Specifies the output format of the exposed resources, defaults to \"1\"" - }, - "resource": { - "description": "Required: resource to select", - "type": "string" - } - }, - "required": [ - "resource" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ResourceQuota": { - "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaSpec", - "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaStatus", - "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ResourceQuotaList": { - "description": "ResourceQuotaList is a list of ResourceQuota items.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuotaList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ResourceQuotaSpec": { - "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", - "properties": { - "hard": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object" - }, - "scopeSelector": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector", - "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched." - }, - "scopes": { - "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ResourceQuotaStatus": { - "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", - "properties": { - "hard": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object" - }, - "used": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ResourceRequirements": { - "description": "ResourceRequirements describes the compute resource requirements.", - "properties": { - "limits": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - }, - "requests": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.SELinuxOptions": { - "description": "SELinuxOptions are the labels to be applied to the container", - "properties": { - "level": { - "description": "Level is SELinux level label that applies to the container.", - "type": "string" - }, - "role": { - "description": "Role is a SELinux role label that applies to the container.", - "type": "string" - }, - "type": { - "description": "Type is a SELinux type label that applies to the container.", - "type": "string" - }, - "user": { - "description": "User is a SELinux user label that applies to the container.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource": { - "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", - "type": "string" - }, - "gateway": { - "description": "The host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "The name of the ScaleIO Protection Domain for the configured storage.", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." - }, - "sslEnabled": { - "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" - }, - "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", - "type": "string" - }, - "storagePool": { - "description": "The ScaleIO Storage Pool associated with the protection domain.", - "type": "string" - }, - "system": { - "description": "The name of the storage system as configured in ScaleIO.", - "type": "string" - }, - "volumeName": { - "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", - "type": "string" - } - }, - "required": [ - "gateway", - "system", - "secretRef" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ScaleIOVolumeSource": { - "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", - "type": "string" - }, - "gateway": { - "description": "The host address of the ScaleIO API Gateway.", - "type": "string" - }, - "protectionDomain": { - "description": "The name of the ScaleIO Protection Domain for the configured storage.", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail." - }, - "sslEnabled": { - "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" - }, - "storageMode": { - "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", - "type": "string" - }, - "storagePool": { - "description": "The ScaleIO Storage Pool associated with the protection domain.", - "type": "string" - }, - "system": { - "description": "The name of the storage system as configured in ScaleIO.", - "type": "string" - }, - "volumeName": { - "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", - "type": "string" - } - }, - "required": [ - "gateway", - "system", - "secretRef" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ScopeSelector": { - "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", - "properties": { - "matchExpressions": { - "description": "A list of scope selector requirements by scope of the resources.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ScopedResourceSelectorRequirement": { - "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", - "properties": { - "operator": { - "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", - "type": "string" - }, - "scopeName": { - "description": "The name of the scope that the selector applies to.", - "type": "string" - }, - "values": { - "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "scopeName", - "operator" - ], - "type": "object" - }, - "io.k8s.api.core.v1.SeccompProfile": { - "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", - "properties": { - "localhostProfile": { - "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\".", - "type": "string" - }, - "type": { - "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "localhostProfile": "LocalhostProfile" - } - } - ] - }, - "io.k8s.api.core.v1.Secret": { - "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "data": { - "additionalProperties": { - "format": "byte", - "type": "string" - }, - "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object" - }, - "immutable": { - "description": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.", - "type": "boolean" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "stringData": { - "additionalProperties": { - "type": "string" - }, - "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.", - "type": "object" - }, - "type": { - "description": "Used to facilitate programmatic handling of secret data.", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Secret", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.SecretEnvSource": { - "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", - "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.SecretKeySelector": { - "description": "SecretKeySelector selects a key of a Secret.", - "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "required": [ - "key" - ], - "type": "object" - }, - "io.k8s.api.core.v1.SecretList": { - "description": "SecretList is a list of Secret.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "SecretList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.SecretProjection": { - "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", - "properties": { - "items": { - "description": "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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" - }, - "type": "array" - }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "optional": { - "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.SecretReference": { - "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", - "properties": { - "name": { - "description": "Name is unique within a namespace to reference a secret resource.", - "type": "string" - }, - "namespace": { - "description": "Namespace defines the space within which the secret name must be unique.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.SecretVolumeSource": { - "description": "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.", - "properties": { - "defaultMode": { - "description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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.", - "format": "int32", - "type": "integer" - }, - "items": { - "description": "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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" - }, - "type": "array" - }, - "optional": { - "description": "Specify whether the Secret or its keys must be defined", - "type": "boolean" - }, - "secretName": { - "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.SecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", - "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" - }, - "capabilities": { - "$ref": "#/definitions/io.k8s.api.core.v1.Capabilities", - "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime." - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" - }, - "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", - "type": "string" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" - }, - "runAsGroup": { - "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "format": "int64", - "type": "integer" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "format": "int64", - "type": "integer" - }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", - "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." - }, - "seccompProfile": { - "$ref": "#/definitions/io.k8s.api.core.v1.SeccompProfile", - "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod \u0026 container level, the container options override the pod options." - }, - "windowsOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions", - "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.Service": { - "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceSpec", - "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceStatus", - "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Service", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ServiceAccount": { - "description": "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", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "automountServiceAccountToken": { - "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" - }, - "imagePullSecrets": { - "description": "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: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "secrets": { - "description": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ServiceAccountList": { - "description": "ServiceAccountList is a list of ServiceAccount objects", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ServiceAccountList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ServiceAccountTokenProjection": { - "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", - "properties": { - "audience": { - "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", - "type": "string" - }, - "expirationSeconds": { - "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "format": "int64", - "type": "integer" - }, - "path": { - "description": "Path is the path relative to the mount point of the file to project the token into.", - "type": "string" - } - }, - "required": [ - "path" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ServiceList": { - "description": "ServiceList holds a list of services.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of services", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ServiceList", - "version": "v1" - } - ] - }, - "io.k8s.api.core.v1.ServicePort": { - "description": "ServicePort contains information on service's port.", - "properties": { - "appProtocol": { - "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default.", - "type": "string" - }, - "name": { - "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.", - "type": "string" - }, - "nodePort": { - "description": "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "format": "int32", - "type": "integer" - }, - "port": { - "description": "The port that will be exposed by this service.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", - "type": "string" - }, - "targetPort": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "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: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service" - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "io.k8s.api.core.v1.ServiceSpec": { - "description": "ServiceSpec describes the attributes that a user creates on a service.", - "properties": { - "allocateLoadBalancerNodePorts": { - "description": "allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. allocateLoadBalancerNodePorts may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type. This field is alpha-level and is only honored by servers that enable the ServiceLBNodePortControl feature.", - "type": "boolean" - }, - "clusterIP": { - "description": "clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", - "type": "string" - }, - "clusterIPs": { - "description": "ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value.\n\nUnless the \"IPv6DualStack\" feature gate is enabled, this field is limited to one value, which must be the same as the clusterIP field. If the feature gate is enabled, this field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "externalIPs": { - "description": "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "externalName": { - "description": "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\".", - "type": "string" - }, - "externalTrafficPolicy": { - "description": "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.", - "type": "string" - }, - "healthCheckNodePort": { - "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type).", - "format": "int32", - "type": "integer" - }, - "internalTrafficPolicy": { - "description": "InternalTrafficPolicy specifies if the cluster internal traffic should be routed to all endpoints or node-local endpoints only. \"Cluster\" routes internal traffic to a Service to all endpoints. \"Local\" routes traffic to node-local endpoints only, traffic is dropped if no node-local endpoints are ready. The default value is \"Cluster\".", - "type": "string" - }, - "ipFamilies": { - "description": "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service, and is gated by the \"IPv6DualStack\" feature gate. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "ipFamilyPolicy": { - "description": "IPFamilyPolicy represents the dual-stack-ness requested or required by this Service, and is gated by the \"IPv6DualStack\" feature gate. If there is no value provided, then this field will be set to SingleStack. Services can be \"SingleStack\" (a single IP family), \"PreferDualStack\" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or \"RequireDualStack\" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.", - "type": "string" - }, - "loadBalancerClass": { - "description": "loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.", - "type": "string" - }, - "loadBalancerIP": { - "description": "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.", - "type": "string" - }, - "loadBalancerSourceRanges": { - "description": "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: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/", - "items": { - "type": "string" - }, - "type": "array" - }, - "ports": { - "description": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServicePort" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "port", - "protocol" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "port", - "x-kubernetes-patch-strategy": "merge" - }, - "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.", - "type": "boolean" - }, - "selector": { - "additionalProperties": { - "type": "string" - }, - "description": "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: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object" - }, - "sessionAffinity": { - "description": "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: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", - "type": "string" - }, - "sessionAffinityConfig": { - "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig", - "description": "sessionAffinityConfig contains the configurations of session affinity." - }, - "topologyKeys": { - "description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. This field is alpha-level and is only honored by servers that enable the ServiceTopology feature. This field is deprecated and will be removed in a future version.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"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 or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.ServiceStatus": { - "description": "ServiceStatus represents the current status of a service.", - "properties": { - "conditions": { - "description": "Current service state", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer, if one is present." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.SessionAffinityConfig": { - "description": "SessionAffinityConfig represents the configurations of session affinity.", - "properties": { - "clientIP": { - "$ref": "#/definitions/io.k8s.api.core.v1.ClientIPConfig", - "description": "clientIP contains the configurations of Client IP based session affinity." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." - }, - "volumeName": { - "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", - "type": "string" - }, - "volumeNamespace": { - "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.StorageOSVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference", - "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted." - }, - "volumeName": { - "description": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", - "type": "string" - }, - "volumeNamespace": { - "description": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.Sysctl": { - "description": "Sysctl defines a kernel parameter to be set", - "properties": { - "name": { - "description": "Name of a property to set", - "type": "string" - }, - "value": { - "description": "Value of a property to set", - "type": "string" - } - }, - "required": [ - "name", - "value" - ], - "type": "object" - }, - "io.k8s.api.core.v1.TCPSocketAction": { - "description": "TCPSocketAction describes an action based on opening a socket", - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." - } - }, - "required": [ - "port" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Taint": { - "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", - "properties": { - "effect": { - "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.", - "type": "string" - }, - "key": { - "description": "Required. The taint key to be applied to a node.", - "type": "string" - }, - "timeAdded": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints." - }, - "value": { - "description": "The taint value corresponding to the taint key.", - "type": "string" - } - }, - "required": [ - "key", - "effect" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Toleration": { - "description": "The pod this Toleration is attached to tolerates any taint that matches the triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e.", - "properties": { - "effect": { - "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", - "type": "string" - }, - "key": { - "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", - "type": "string" - }, - "operator": { - "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", - "type": "string" - }, - "tolerationSeconds": { - "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "format": "int64", - "type": "integer" - }, - "value": { - "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { - "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "values": { - "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "key", - "values" - ], - "type": "object" - }, - "io.k8s.api.core.v1.TopologySelectorTerm": { - "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", - "properties": { - "matchLabelExpressions": { - "description": "A list of topology selector requirements by labels.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.TopologySpreadConstraint": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", - "properties": { - "labelSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." - }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", - "format": "int32", - "type": "integer" - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each \u003ckey, value\u003e as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", - "type": "string" - } - }, - "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" - ], - "type": "object" - }, - "io.k8s.api.core.v1.TypedLocalObjectReference": { - "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.Volume": { - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", - "properties": { - "awsElasticBlockStore": { - "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", - "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" - }, - "azureDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." - }, - "azureFile": { - "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource", - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." - }, - "cephfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource", - "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime" - }, - "cinder": { - "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource", - "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" - }, - "configMap": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource", - "description": "ConfigMap represents a configMap that should populate this volume" - }, - "csi": { - "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource", - "description": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)." - }, - "downwardAPI": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource", - "description": "DownwardAPI represents downward API about the pod that should populate this volume" - }, - "emptyDir": { - "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource", - "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir" - }, - "ephemeral": { - "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralVolumeSource", - "description": "Ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.\n\nThis is a beta feature and only available when the GenericEphemeralVolume feature gate is enabled." - }, - "fc": { - "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", - "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod." - }, - "flexVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource", - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." - }, - "flocker": { - "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", - "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" - }, - "gcePersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", - "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" - }, - "gitRepo": { - "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource", - "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." - }, - "glusterfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource", - "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" - }, - "hostPath": { - "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", - "description": "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: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" - }, - "iscsi": { - "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource", - "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" - }, - "name": { - "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "nfs": { - "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource", - "description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" - }, - "persistentVolumeClaim": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource", - "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" - }, - "photonPersistentDisk": { - "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", - "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" - }, - "portworxVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", - "description": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine" - }, - "projected": { - "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource", - "description": "Items for all in one resources secrets, configmaps, and downward API" - }, - "quobyte": { - "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", - "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime" - }, - "rbd": { - "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource", - "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" - }, - "scaleIO": { - "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource", - "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." - }, - "secret": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource", - "description": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret" - }, - "storageos": { - "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource", - "description": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." - }, - "vsphereVolume": { - "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", - "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.core.v1.VolumeDevice": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" - }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } - }, - "required": [ - "name", - "devicePath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.VolumeMount": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" - }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", - "type": "string" - }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", - "type": "string" - }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" - } - }, - "required": [ - "name", - "mountPath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.VolumeNodeAffinity": { - "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", - "properties": { - "required": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "Required specifies hard node constraints that must be met." - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", - "properties": { - "configMap": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection", - "description": "information about the configMap data to project" - }, - "downwardAPI": { - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection", - "description": "information about the downwardAPI data to project" - }, - "secret": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection", - "description": "information about the secret data to project" - }, - "serviceAccountToken": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection", - "description": "information about the serviceAccountToken data to project" - } - }, - "type": "object" - }, - "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { - "description": "Represents a vSphere volume resource.", - "properties": { - "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "storagePolicyID": { - "description": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", - "type": "string" - }, - "storagePolicyName": { - "description": "Storage Policy Based Management (SPBM) profile name.", - "type": "string" - }, - "volumePath": { - "description": "Path that identifies vSphere volume vmdk", - "type": "string" - } - }, - "required": [ - "volumePath" - ], - "type": "object" - }, - "io.k8s.api.core.v1.WeightedPodAffinityTerm": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", - "properties": { - "podAffinityTerm": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm", - "description": "Required. A pod affinity term, associated with the corresponding weight." - }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "weight", - "podAffinityTerm" - ], - "type": "object" - }, - "io.k8s.api.core.v1.WindowsSecurityContextOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", - "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", - "type": "string" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1.Endpoint": { - "description": "Endpoint represents a single logical \"backend\" implementing a service.", - "properties": { - "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "conditions": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointConditions", - "description": "conditions contains information about the current status of the endpoint." - }, - "deprecatedTopology": { - "additionalProperties": { - "type": "string" - }, - "description": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.", - "type": "object" - }, - "hints": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointHints", - "description": "hints contains information associated with how an endpoint should be consumed." - }, - "hostname": { - "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", - "type": "string" - }, - "nodeName": { - "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." - }, - "zone": { - "description": "zone is the name of the Zone this endpoint exists in.", - "type": "string" - } - }, - "required": [ - "addresses" - ], - "type": "object" - }, - "io.k8s.api.discovery.v1.EndpointConditions": { - "description": "EndpointConditions represents the current condition of an endpoint.", - "properties": { - "ready": { - "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.", - "type": "boolean" - }, - "serving": { - "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", - "type": "boolean" - }, - "terminating": { - "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1.EndpointHints": { - "description": "EndpointHints provides hints describing how an endpoint should be consumed.", - "properties": { - "forZones": { - "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.ForZone" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1.EndpointPort": { - "description": "EndpointPort represents a Port used by an EndpointSlice", - "properties": { - "appProtocol": { - "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.", - "type": "string" - }, - "name": { - "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1.EndpointSlice": { - "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", - "properties": { - "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", - "type": "string" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "endpoints": { - "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.Endpoint" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "ports": { - "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointPort" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "addressType", - "endpoints" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - ] - }, - "io.k8s.api.discovery.v1.EndpointSliceList": { - "description": "EndpointSliceList represents a list of endpoint slices", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of endpoint slices", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSliceList", - "version": "v1" - } - ] - }, - "io.k8s.api.discovery.v1.ForZone": { - "description": "ForZone provides information about which zones should consume this endpoint.", - "properties": { - "name": { - "description": "name represents the name of the zone.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.discovery.v1beta1.Endpoint": { - "description": "Endpoint represents a single logical \"backend\" implementing a service.", - "properties": { - "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "conditions": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointConditions", - "description": "conditions contains information about the current status of the endpoint." - }, - "hints": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointHints", - "description": "hints contains information associated with how an endpoint should be consumed." - }, - "hostname": { - "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", - "type": "string" - }, - "nodeName": { - "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." - }, - "topology": { - "additionalProperties": { - "type": "string" - }, - "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.\nThis field is deprecated and will be removed in future api versions.", - "type": "object" - } - }, - "required": [ - "addresses" - ], - "type": "object" - }, - "io.k8s.api.discovery.v1beta1.EndpointConditions": { - "description": "EndpointConditions represents the current condition of an endpoint.", - "properties": { - "ready": { - "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints.", - "type": "boolean" - }, - "serving": { - "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", - "type": "boolean" - }, - "terminating": { - "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1beta1.EndpointHints": { - "description": "EndpointHints provides hints describing how an endpoint should be consumed.", - "properties": { - "forZones": { - "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. May contain a maximum of 8 entries.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.ForZone" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1beta1.EndpointPort": { - "description": "EndpointPort represents a Port used by an EndpointSlice", - "properties": { - "appProtocol": { - "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.", - "type": "string" - }, - "name": { - "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.discovery.v1beta1.EndpointSlice": { - "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", - "properties": { - "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", - "type": "string" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "endpoints": { - "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.Endpoint" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "ports": { - "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointPort" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "addressType", - "endpoints" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.discovery.v1beta1.EndpointSliceList": { - "description": "EndpointSliceList represents a list of endpoint slices", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of endpoint slices", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSliceList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.discovery.v1beta1.ForZone": { - "description": "ForZone provides information about which zones should consume this endpoint.", - "properties": { - "name": { - "description": "name represents the name of the zone.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.events.v1.Event": { - "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", - "properties": { - "action": { - "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "deprecatedCount": { - "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.", - "format": "int32", - "type": "integer" - }, - "deprecatedFirstTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." - }, - "deprecatedLastTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." - }, - "deprecatedSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", - "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." - }, - "eventTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "eventTime is the time when this Event was first observed. It is required." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "note": { - "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", - "type": "string" - }, - "reason": { - "description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" - }, - "regarding": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." - }, - "related": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." - }, - "reportingController": { - "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.", - "type": "string" - }, - "reportingInstance": { - "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" - }, - "series": { - "$ref": "#/definitions/io.k8s.api.events.v1.EventSeries", - "description": "series is data about the Event series this event represents or nil if it's a singleton Event." - }, - "type": { - "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.", - "type": "string" - } - }, - "required": [ - "eventTime" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - ] - }, - "io.k8s.api.events.v1.EventList": { - "description": "EventList is a list of Event objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "events.k8s.io", - "kind": "EventList", - "version": "v1" - } - ] - }, - "io.k8s.api.events.v1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.", - "properties": { - "count": { - "description": "count is the number of occurrences in this series up to the last heartbeat time.", - "format": "int32", - "type": "integer" - }, - "lastObservedTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat." - } - }, - "required": [ - "count", - "lastObservedTime" - ], - "type": "object" - }, - "io.k8s.api.events.v1beta1.Event": { - "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", - "properties": { - "action": { - "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.", - "type": "string" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "deprecatedCount": { - "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.", - "format": "int32", - "type": "integer" - }, - "deprecatedFirstTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." - }, - "deprecatedLastTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type." - }, - "deprecatedSource": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventSource", - "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type." - }, - "eventTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "eventTime is the time when this Event was first observed. It is required." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "note": { - "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", - "type": "string" - }, - "reason": { - "description": "reason is why the action was taken. It is human-readable. This field can have at most 128 characters.", - "type": "string" - }, - "regarding": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object." - }, - "related": { - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", - "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object." - }, - "reportingController": { - "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.", - "type": "string" - }, - "reportingInstance": { - "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" - }, - "series": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventSeries", - "description": "series is data about the Event series this event represents or nil if it's a singleton Event." - }, - "type": { - "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.", - "type": "string" - } - }, - "required": [ - "eventTime" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.events.v1beta1.EventList": { - "description": "EventList is a list of Event objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "events.k8s.io", - "kind": "EventList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.events.v1beta1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", - "properties": { - "count": { - "description": "count is the number of occurrences in this series up to the last heartbeat time.", - "format": "int32", - "type": "integer" - }, - "lastObservedTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", - "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat." - } - }, - "required": [ - "count", - "lastObservedTime" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressBackend", - "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." - }, - "path": { - "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.", - "type": "string" - }, - "pathType": { - "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", - "type": "string" - } - }, - "required": [ - "backend" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue": { - "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://\u003chost\u003e/\u003cpath\u003e?\u003csearchpart\u003e -\u003e backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", - "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.HTTPIngressPath" - }, - "type": "array" - } - }, - "required": [ - "paths" - ], - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.Ingress": { - "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressSpec", - "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressStatus", - "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.extensions.v1beta1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", - "properties": { - "resource": { - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", - "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." - }, - "serviceName": { - "description": "Specifies the name of the referenced service.", - "type": "string" - }, - "servicePort": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "Specifies the port of the referenced service." - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressList": { - "description": "IngressList is a collection of Ingress.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of Ingress.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "IngressList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.extensions.v1beta1.IngressRule": { - "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", - "properties": { - "host": { - "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", - "type": "string" - }, - "http": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressBackend", - "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." - }, - "ingressClassName": { - "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", - "type": "string" - }, - "rules": { - "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressRule" - }, - "type": "array" - }, - "tls": { - "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", - "items": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressTLS" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, - "io.k8s.api.extensions.v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array" - }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod": { - "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", - "properties": { - "type": { - "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.FlowSchema": { - "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec", - "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus", - "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition": { - "description": "FlowSchemaCondition describes conditions for a FlowSchema.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." - }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" - }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.FlowSchemaList": { - "description": "FlowSchemaList is a list of FlowSchema objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "`items` is a list of FlowSchemas.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchemaList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.FlowSchemaSpec": { - "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", - "properties": { - "distinguisherMethod": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod", - "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." - }, - "matchingPrecedence": { - "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", - "format": "int32", - "type": "integer" - }, - "priorityLevelConfiguration": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference", - "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." - }, - "rules": { - "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "priorityLevelConfiguration" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.FlowSchemaStatus": { - "description": "FlowSchemaStatus represents the current state of a FlowSchema.", - "properties": { - "conditions": { - "description": "`conditions` is a list of the current states of FlowSchema.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.GroupSubject": { - "description": "GroupSubject holds detailed information for group-kind subject.", - "properties": { - "name": { - "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.LimitResponse": { - "description": "LimitResponse defines how to handle requests that can not be executed right now.", - "properties": { - "queuing": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration", - "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." - }, - "type": { - "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "queuing": "Queuing" - } - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration": { - "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", - "properties": { - "assuredConcurrencyShares": { - "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", - "format": "int32", - "type": "integer" - }, - "limitResponse": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.LimitResponse", - "description": "`limitResponse` indicates what to do with requests that can not be executed right now" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule": { - "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", - "properties": { - "nonResourceURLs": { - "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - } - }, - "required": [ - "verbs", - "nonResourceURLs" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.PolicyRulesWithSubjects": { - "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", - "properties": { - "nonResourceRules": { - "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.NonResourcePolicyRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resourceRules": { - "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "subjects": { - "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.Subject" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "subjects" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration": { - "description": "PriorityLevelConfiguration represents the configuration of a priority level.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec", - "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus", - "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition": { - "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." - }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" - }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationList": { - "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "`items` is a list of request-priorities.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfigurationList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationReference": { - "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", - "properties": { - "name": { - "description": "`name` is the name of the priority level configuration being referenced Required.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec": { - "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", - "properties": { - "limited": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration", - "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." - }, - "type": { - "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "limited": "Limited" - } - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus": { - "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", - "properties": { - "conditions": { - "description": "`conditions` is the current state of \"request-priority\".", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.QueuingConfiguration": { - "description": "QueuingConfiguration holds the configuration parameters for queuing", - "properties": { - "handSize": { - "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", - "format": "int32", - "type": "integer" - }, - "queueLengthLimit": { - "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", - "format": "int32", - "type": "integer" - }, - "queues": { - "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.ResourcePolicyRule": { - "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", - "properties": { - "apiGroups": { - "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "clusterScope": { - "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", - "type": "boolean" - }, - "namespaces": { - "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "resources": { - "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - } - }, - "required": [ - "verbs", - "apiGroups", - "resources" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject": { - "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", - "properties": { - "name": { - "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", - "type": "string" - }, - "namespace": { - "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", - "type": "string" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta1.Subject": { - "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", - "properties": { - "group": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.GroupSubject" - }, - "kind": { - "description": "Required", - "type": "string" - }, - "serviceAccount": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject" - }, - "user": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.UserSubject" - } - }, - "required": [ - "kind" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "kind", - "fields-to-discriminateBy": { - "group": "Group", - "serviceAccount": "ServiceAccount", - "user": "User" - } - } - ] - }, - "io.k8s.api.flowcontrol.v1beta1.UserSubject": { - "description": "UserSubject holds detailed information for user-kind subject.", - "properties": { - "name": { - "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend", - "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." - }, - "path": { - "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.", - "type": "string" - }, - "pathType": { - "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.", - "type": "string" - } - }, - "required": [ - "backend" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.HTTPIngressRuleValue": { - "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://\u003chost\u003e/\u003cpath\u003e?\u003csearchpart\u003e -\u003e backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", - "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressPath" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "paths" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.IPBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\",\"2001:db9::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "properties": { - "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\"", - "type": "string" - }, - "except": { - "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" or \"2001:db9::/64\" Except values will be rejected if they are outside the CIDR range", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "cidr" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.Ingress": { - "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressSpec", - "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressStatus", - "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - ] - }, - "io.k8s.api.networking.v1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", - "properties": { - "resource": { - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", - "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." - }, - "service": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressServiceBackend", - "description": "Service references a Service as a Backend. This is a mutually exclusive setting with \"Resource\"." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressClass": { - "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassSpec", - "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - ] - }, - "io.k8s.api.networking.v1.IngressClassList": { - "description": "IngressClassList is a collection of IngressClasses.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of IngressClasses.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "IngressClassList", - "version": "v1" - } - ] - }, - "io.k8s.api.networking.v1.IngressClassParametersReference": { - "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced.", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", - "type": "string" - }, - "scope": { - "description": "Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\". Field can be enabled with IngressClassNamespacedParams feature gate.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.IngressClassSpec": { - "description": "IngressClassSpec provides information about the class of an Ingress.", - "properties": { - "controller": { - "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", - "type": "string" - }, - "parameters": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassParametersReference", - "description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressList": { - "description": "IngressList is a collection of Ingress.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of Ingress.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "IngressList", - "version": "v1" - } - ] - }, - "io.k8s.api.networking.v1.IngressRule": { - "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", - "properties": { - "host": { - "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", - "type": "string" - }, - "http": { - "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressServiceBackend": { - "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", - "properties": { - "name": { - "description": "Name is the referenced service. The service must exist in the same namespace as the Ingress object.", - "type": "string" - }, - "port": { - "$ref": "#/definitions/io.k8s.api.networking.v1.ServiceBackendPort", - "description": "Port of the referenced service. A port name or port number is required for a IngressServiceBackend." - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", - "properties": { - "defaultBackend": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend", - "description": "DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." - }, - "ingressClassName": { - "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", - "type": "string" - }, - "rules": { - "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "tls": { - "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressTLS" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicy": { - "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec", - "description": "Specification of the desired behavior for this NetworkPolicy." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - ] - }, - "io.k8s.api.networking.v1.NetworkPolicyEgressRule": { - "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", - "properties": { - "ports": { - "description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" - }, - "type": "array" - }, - "to": { - "description": "List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicyIngressRule": { - "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", - "properties": { - "from": { - "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" - }, - "type": "array" - }, - "ports": { - "description": "List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicyList": { - "description": "NetworkPolicyList is a list of NetworkPolicy objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "NetworkPolicyList", - "version": "v1" - } - ] - }, - "io.k8s.api.networking.v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", - "properties": { - "ipBlock": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock", - "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector." - }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicyPort": { - "description": "NetworkPolicyPort describes a port to allow traffic on", - "properties": { - "endPort": { - "description": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Alpha state and should be enabled using the Feature Gate \"NetworkPolicyEndPort\".", - "format": "int32", - "type": "integer" - }, - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." - }, - "protocol": { - "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicySpec": { - "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", - "properties": { - "egress": { - "description": "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" - }, - "type": "array" - }, - "ingress": { - "description": "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" - }, - "type": "array" - }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." - }, - "policyTypes": { - "description": "List of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "podSelector" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.ServiceBackendPort": { - "description": "ServiceBackendPort is the service port being referenced.", - "properties": { - "name": { - "description": "Name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".", - "type": "string" - }, - "number": { - "description": "Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressBackend", - "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to." - }, - "path": { - "description": "Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.", - "type": "string" - }, - "pathType": { - "description": "PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types. Defaults to ImplementationSpecific.", - "type": "string" - } - }, - "required": [ - "backend" - ], - "type": "object" - }, - "io.k8s.api.networking.v1beta1.HTTPIngressRuleValue": { - "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://\u003chost\u003e/\u003cpath\u003e?\u003csearchpart\u003e -\u003e backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", - "properties": { - "paths": { - "description": "A collection of paths that map requests to backends.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.HTTPIngressPath" - }, - "type": "array" - } - }, - "required": [ - "paths" - ], - "type": "object" - }, - "io.k8s.api.networking.v1beta1.Ingress": { - "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressSpec", - "description": "Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressStatus", - "description": "Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.networking.v1beta1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", - "properties": { - "resource": { - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", - "description": "Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, serviceName and servicePort must not be specified." - }, - "serviceName": { - "description": "Specifies the name of the referenced service.", - "type": "string" - }, - "servicePort": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "Specifies the port of the referenced service." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressClass": { - "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClassSpec", - "description": "Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.networking.v1beta1.IngressClassList": { - "description": "IngressClassList is a collection of IngressClasses.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of IngressClasses.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "IngressClassList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.networking.v1beta1.IngressClassParametersReference": { - "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced.", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", - "type": "string" - }, - "scope": { - "description": "Scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\". Field can be enabled with IngressClassNamespacedParams feature gate.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressClassSpec": { - "description": "IngressClassSpec provides information about the class of an Ingress.", - "properties": { - "controller": { - "description": "Controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", - "type": "string" - }, - "parameters": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClassParametersReference", - "description": "Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressList": { - "description": "IngressList is a collection of Ingress.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of Ingress.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "networking.k8s.io", - "kind": "IngressList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.networking.v1beta1.IngressRule": { - "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", - "properties": { - "host": { - "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nHost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", - "type": "string" - }, - "http": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressBackend", - "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default." - }, - "ingressClassName": { - "description": "IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.", - "type": "string" - }, - "rules": { - "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressRule" - }, - "type": "array" - }, - "tls": { - "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressTLS" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus", - "description": "LoadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array" - }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.node.v1.Overhead": { - "description": "Overhead structure represents the resource overhead associated with running a pod.", - "properties": { - "podFixed": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "PodFixed represents the fixed resource overhead associated with running a pod.", - "type": "object" - } - }, - "type": "object" - }, - "io.k8s.api.node.v1.RuntimeClass": { - "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "handler": { - "description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node \u0026 CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "overhead": { - "$ref": "#/definitions/io.k8s.api.node.v1.Overhead", - "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/\nThis field is in beta starting v1.18 and is only honored by servers that enable the PodOverhead feature." - }, - "scheduling": { - "$ref": "#/definitions/io.k8s.api.node.v1.Scheduling", - "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." - } - }, - "required": [ - "handler" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - ] - }, - "io.k8s.api.node.v1.RuntimeClassList": { - "description": "RuntimeClassList is a list of RuntimeClass objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClassList", - "version": "v1" - } - ] - }, - "io.k8s.api.node.v1.Scheduling": { - "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", - "properties": { - "nodeSelector": { - "additionalProperties": { - "type": "string" - }, - "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", - "type": "object" - }, - "tolerations": { - "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.node.v1beta1.Overhead": { - "description": "Overhead structure represents the resource overhead associated with running a pod.", - "properties": { - "podFixed": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - }, - "description": "PodFixed represents the fixed resource overhead associated with running a pod.", - "type": "object" - } - }, - "type": "object" - }, - "io.k8s.api.node.v1beta1.RuntimeClass": { - "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "handler": { - "description": "Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node \u0026 CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "overhead": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.Overhead", - "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature." - }, - "scheduling": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.Scheduling", - "description": "Scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." - } - }, - "required": [ - "handler" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.node.v1beta1.RuntimeClassList": { - "description": "RuntimeClassList is a list of RuntimeClass objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClassList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.node.v1beta1.Scheduling": { - "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", - "properties": { - "nodeSelector": { - "additionalProperties": { - "type": "string" - }, - "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", - "type": "object" - }, - "tolerations": { - "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1.PodDisruptionBudget": { - "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec", - "description": "Specification of the desired behavior of the PodDisruptionBudget." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetStatus", - "description": "Most recently observed status of the PodDisruptionBudget." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - ] - }, - "io.k8s.api.policy.v1.PodDisruptionBudgetList": { - "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of PodDisruptionBudgets", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodDisruptionBudgetList", - "version": "v1" - } - ] - }, - "io.k8s.api.policy.v1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", - "properties": { - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." - }, - "minAvailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "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": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", - "x-kubernetes-patch-strategy": "replace" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1.PodDisruptionBudgetStatus": { - "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", - "properties": { - "conditions": { - "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentHealthy": { - "description": "current number of healthy pods", - "format": "int32", - "type": "integer" - }, - "desiredHealthy": { - "description": "minimum desired number of healthy pods", - "format": "int32", - "type": "integer" - }, - "disruptedPods": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" - }, - "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object" - }, - "disruptionsAllowed": { - "description": "Number of pod disruptions that are currently allowed.", - "format": "int32", - "type": "integer" - }, - "expectedPods": { - "description": "total number of pods counted by this disruption budget", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "disruptionsAllowed", - "currentHealthy", - "desiredHealthy", - "expectedPods" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.AllowedCSIDriver": { - "description": "AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.", - "properties": { - "name": { - "description": "Name is the registered name of the CSI driver", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", - "properties": { - "driver": { - "description": "driver is the name of the Flexvolume driver.", - "type": "string" - } - }, - "required": [ - "driver" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.AllowedHostPath": { - "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", - "properties": { - "pathPrefix": { - "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", - "type": "string" - }, - "readOnly": { - "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1beta1.Eviction": { - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/\u003cpod name\u003e/evictions.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "deleteOptions": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions", - "description": "DeleteOptions may be provided" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "ObjectMeta describes the pod that is being evicted." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "Eviction", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1beta1.HostPortRange": { - "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int32", - "type": "integer" - }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.IDRange": { - "description": "IDRange provides a min/max of an allowed range of IDs.", - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "format": "int64", - "type": "integer" - }, - "min": { - "description": "min is the start of the range, inclusive.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "min", - "max" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudget": { - "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec", - "description": "Specification of the desired behavior of the PodDisruptionBudget." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus", - "description": "Most recently observed status of the PodDisruptionBudget." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudgetList": { - "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodDisruptionBudgetList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", - "properties": { - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." - }, - "minAvailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "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": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace.", - "x-kubernetes-patch-strategy": "replace" - } - }, - "type": "object" - }, - "io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus": { - "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", - "properties": { - "conditions": { - "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "currentHealthy": { - "description": "current number of healthy pods", - "format": "int32", - "type": "integer" - }, - "desiredHealthy": { - "description": "minimum desired number of healthy pods", - "format": "int32", - "type": "integer" - }, - "disruptedPods": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" - }, - "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object" - }, - "disruptionsAllowed": { - "description": "Number of pod disruptions that are currently allowed.", - "format": "int32", - "type": "integer" - }, - "expectedPods": { - "description": "total number of pods counted by this disruption budget", - "format": "int32", - "type": "integer" - }, - "observedGeneration": { - "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "disruptionsAllowed", - "currentHealthy", - "desiredHealthy", - "expectedPods" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.PodSecurityPolicy": { - "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated in 1.21.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec", - "description": "spec defines the policy enforced." - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.policy.v1beta1.PodSecurityPolicyList": { - "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is a list of schema objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "PodSecurityPolicyList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec": { - "description": "PodSecurityPolicySpec defines the policy enforced.", - "properties": { - "allowPrivilegeEscalation": { - "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" - }, - "allowedCSIDrivers": { - "description": "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedCSIDriver" - }, - "type": "array" - }, - "allowedCapabilities": { - "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedFlexVolumes": { - "description": "allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedFlexVolume" - }, - "type": "array" - }, - "allowedHostPaths": { - "description": "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedHostPath" - }, - "type": "array" - }, - "allowedProcMountTypes": { - "description": "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowedUnsafeSysctls": { - "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", - "items": { - "type": "string" - }, - "type": "array" - }, - "defaultAddCapabilities": { - "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", - "items": { - "type": "string" - }, - "type": "array" - }, - "defaultAllowPrivilegeEscalation": { - "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" - }, - "forbiddenSysctls": { - "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fsGroup": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.FSGroupStrategyOptions", - "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext." - }, - "hostIPC": { - "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" - }, - "hostNetwork": { - "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" - }, - "hostPID": { - "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" - }, - "hostPorts": { - "description": "hostPorts determines which host port ranges are allowed to be exposed.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.HostPortRange" - }, - "type": "array" - }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" - }, - "readOnlyRootFilesystem": { - "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" - }, - "requiredDropCapabilities": { - "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", - "items": { - "type": "string" - }, - "type": "array" - }, - "runAsGroup": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions", - "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled." - }, - "runAsUser": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions", - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set." - }, - "runtimeClass": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions", - "description": "runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled." - }, - "seLinux": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SELinuxStrategyOptions", - "description": "seLinux is the strategy that will dictate the allowable labels that may be set." - }, - "supplementalGroups": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions", - "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext." - }, - "volumes": { - "description": "volumes is an allowlist of volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions": { - "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", - "type": "string" - } - }, - "required": [ - "rule" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { - "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", - "type": "string" - } - }, - "required": [ - "rule" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.RuntimeClassStrategyOptions": { - "description": "RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.", - "properties": { - "allowedRuntimeClassNames": { - "description": "allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.", - "items": { - "type": "string" - }, - "type": "array" - }, - "defaultRuntimeClassName": { - "description": "defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.", - "type": "string" - } - }, - "required": [ - "allowedRuntimeClassNames" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": { - "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", - "properties": { - "rule": { - "description": "rule is the strategy that will dictate the allowable labels that may be set.", - "type": "string" - }, - "seLinuxOptions": { - "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" - } - }, - "required": [ - "rule" - ], - "type": "object" - }, - "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", - "properties": { - "ranges": { - "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", - "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" - }, - "type": "array" - }, - "rule": { - "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.rbac.v1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", - "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.rbac.v1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", - "properties": { - "aggregationRule": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" - }, - "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" - }, - "type": "array" - } - }, - "required": [ - "roleRef" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", - "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "items": { - "type": "string" - }, - "type": "array" - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.rbac.v1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" - }, - "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.RoleBinding": { - "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", - "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" - }, - "type": "array" - } - }, - "required": [ - "roleRef" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of RoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.RoleList": { - "description": "RoleList is a collection of Roles", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of Roles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1" - } - ] - }, - "io.k8s.api.rbac.v1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - } - }, - "required": [ - "apiGroup", - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.rbac.v1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", - "properties": { - "apiGroup": { - "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", - "type": "string" - }, - "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", - "type": "string" - }, - "name": { - "description": "Name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.rbac.v1beta1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", - "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.rbac.v1beta1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.", - "properties": { - "aggregationRule": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.PolicyRule" - }, - "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Subject" - }, - "type": "array" - } - }, - "required": [ - "roleRef" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", - "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.", - "items": { - "type": "string" - }, - "type": "array" - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "verbs" - ], - "type": "object" - }, - "io.k8s.api.rbac.v1beta1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.PolicyRule" - }, - "type": "array" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.RoleBinding": { - "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleRef", - "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error." - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Subject" - }, - "type": "array" - } - }, - "required": [ - "roleRef" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of RoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.RoleList": { - "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.22.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of Roles", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.rbac.v1beta1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - } - }, - "required": [ - "apiGroup", - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.rbac.v1beta1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", - "properties": { - "apiGroup": { - "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", - "type": "string" - }, - "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", - "type": "string" - }, - "name": { - "description": "Name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.scheduling.v1.PriorityClass": { - "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "description": { - "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", - "type": "string" - }, - "globalDefault": { - "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.", - "type": "string" - }, - "value": { - "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "value" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - ] - }, - "io.k8s.api.scheduling.v1.PriorityClassList": { - "description": "PriorityClassList is a collection of priority classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of PriorityClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClassList", - "version": "v1" - } - ] - }, - "io.k8s.api.scheduling.v1beta1.PriorityClass": { - "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "description": { - "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", - "type": "string" - }, - "globalDefault": { - "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.", - "type": "string" - }, - "value": { - "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "value" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.scheduling.v1beta1.PriorityClassList": { - "description": "PriorityClassList is a collection of priority classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of PriorityClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClassList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1.CSIDriver": { - "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverSpec", - "description": "Specification of the CSI Driver." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.CSIDriverList": { - "description": "CSIDriverList is a collection of CSIDriver objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CSIDriver", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIDriverList", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.CSIDriverSpec": { - "description": "CSIDriverSpec is the specification of a CSIDriver.", - "properties": { - "attachRequired": { - "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.", - "type": "boolean" - }, - "fsGroupPolicy": { - "description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.\n\nThis field is immutable.", - "type": "string" - }, - "podInfoOnMount": { - "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.", - "type": "boolean" - }, - "requiresRepublish": { - "description": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.\n\nThis is a beta feature and only available when the CSIServiceAccountToken feature is enabled.", - "type": "boolean" - }, - "storageCapacity": { - "description": "If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field is immutable.\n\nThis is a beta field and only available when the CSIStorageCapacity feature is enabled. The default is false.", - "type": "boolean" - }, - "tokenRequests": { - "description": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\u003caudience\u003e\": {\n \"token\": \u003ctoken\u003e,\n \"expirationTimestamp\": \u003cexpiration timestamp in RFC3339\u003e,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.\n\nThis is a beta feature and only available when the CSIServiceAccountToken feature is enabled.", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.TokenRequest" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "volumeLifecycleModes": { - "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.\n\nThis field is immutable.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1.CSINode": { - "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata.name must be the Kubernetes node name." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeSpec", - "description": "spec is the specification of CSINode" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.CSINodeDriver": { - "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", - "properties": { - "allocatable": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeNodeResources", - "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." - }, - "name": { - "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", - "type": "string" - }, - "nodeID": { - "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", - "type": "string" - }, - "topologyKeys": { - "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "name", - "nodeID" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.CSINodeList": { - "description": "CSINodeList is a collection of CSINode objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CSINode", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSINodeList", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.CSINodeSpec": { - "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", - "properties": { - "drivers": { - "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeDriver" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "required": [ - "drivers" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.StorageClass": { - "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", - "properties": { - "allowVolumeExpansion": { - "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" - }, - "allowedTopologies": { - "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" - }, - "type": "array" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "mountOptions": { - "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", - "items": { - "type": "string" - }, - "type": "array" - }, - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object" - }, - "provisioner": { - "description": "Provisioner indicates the type of the provisioner.", - "type": "string" - }, - "reclaimPolicy": { - "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", - "type": "string" - }, - "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", - "type": "string" - } - }, - "required": [ - "provisioner" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of StorageClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClassList", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.TokenRequest": { - "description": "TokenRequest contains parameters of a service account token.", - "properties": { - "audience": { - "description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.", - "type": "string" - }, - "expirationSeconds": { - "description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "audience" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSpec", - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentStatus", - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of VolumeAttachments", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", - "version": "v1" - } - ] - }, - "io.k8s.api.storage.v1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", - "properties": { - "inlineVolumeSpec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature." - }, - "persistentVolumeName": { - "description": "Name of the persistent volume to attach.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", - "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", - "type": "string" - }, - "nodeName": { - "description": "The node that the volume should be attached to.", - "type": "string" - }, - "source": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSource", - "description": "Source represents the volume that should be attached." - } - }, - "required": [ - "attacher", - "source", - "nodeName" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeAttachmentStatus": { - "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", - "properties": { - "attachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError", - "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." - }, - "attached": { - "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" - }, - "attachmentMetadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object" - }, - "detachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError", - "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." - } - }, - "required": [ - "attached" - ], - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", - "properties": { - "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", - "type": "string" - }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time the error was encountered." - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1.VolumeNodeResources": { - "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", - "properties": { - "count": { - "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.CSIDriver": { - "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriverSpec", - "description": "Specification of the CSI Driver." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSIDriverList": { - "description": "CSIDriverList is a collection of CSIDriver objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CSIDriver", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIDriverList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSIDriverSpec": { - "description": "CSIDriverSpec is the specification of a CSIDriver.", - "properties": { - "attachRequired": { - "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.", - "type": "boolean" - }, - "fsGroupPolicy": { - "description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is alpha-level, and is only honored by servers that enable the CSIVolumeFSGroupPolicy feature gate.\n\nThis field is immutable.", - "type": "string" - }, - "podInfoOnMount": { - "description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.", - "type": "boolean" - }, - "requiresRepublish": { - "description": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.\n\nThis is a beta feature and only available when the CSIServiceAccountToken feature is enabled.", - "type": "boolean" - }, - "storageCapacity": { - "description": "If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field is immutable.\n\nThis is a beta field and only available when the CSIStorageCapacity feature is enabled. The default is false.", - "type": "boolean" - }, - "tokenRequests": { - "description": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\u003caudience\u003e\": {\n \"token\": \u003ctoken\u003e,\n \"expirationTimestamp\": \u003cexpiration timestamp in RFC3339\u003e,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.\n\nThis is a beta feature and only available when the CSIServiceAccountToken feature is enabled.", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.TokenRequest" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "volumeLifecycleModes": { - "description": "VolumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is immutable.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.CSINode": { - "description": "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "metadata.name must be the Kubernetes node name." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeSpec", - "description": "spec is the specification of CSINode" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSINodeDriver": { - "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", - "properties": { - "allocatable": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeNodeResources", - "description": "allocatable represents the volume resources of a node that are available for scheduling." - }, - "name": { - "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", - "type": "string" - }, - "nodeID": { - "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", - "type": "string" - }, - "topologyKeys": { - "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "name", - "nodeID" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.CSINodeList": { - "description": "CSINodeList is a collection of CSINode objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items is the list of CSINode", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSINodeList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSINodeSpec": { - "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", - "properties": { - "drivers": { - "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeDriver" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "required": [ - "drivers" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.CSIStorageCapacity": { - "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler if the CSIStorageCapacity beta feature gate is enabled there and a CSI driver opts into capacity-aware scheduling with CSIDriver.StorageCapacity.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "capacity": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable and treated like zero capacity." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "maximumVolumeSize": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim." - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-\u003cuuid\u003e, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "nodeTopology": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable." - }, - "storageClassName": { - "description": "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.", - "type": "string" - } - }, - "required": [ - "storageClassName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.CSIStorageCapacityList": { - "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of CSIStorageCapacity objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacityList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.StorageClass": { - "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", - "properties": { - "allowVolumeExpansion": { - "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" - }, - "allowedTopologies": { - "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" - }, - "type": "array" - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "mountOptions": { - "description": "Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", - "items": { - "type": "string" - }, - "type": "array" - }, - "parameters": { - "additionalProperties": { - "type": "string" - }, - "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object" - }, - "provisioner": { - "description": "Provisioner indicates the type of the provisioner.", - "type": "string" - }, - "reclaimPolicy": { - "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", - "type": "string" - }, - "volumeBindingMode": { - "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", - "type": "string" - } - }, - "required": [ - "provisioner" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of StorageClasses", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClassList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.TokenRequest": { - "description": "TokenRequest contains parameters of a service account token.", - "properties": { - "audience": { - "description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.", - "type": "string" - }, - "expirationSeconds": { - "description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\"", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "audience" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeAttachment": { - "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentSpec", - "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentStatus", - "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher." - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of VolumeAttachments", - "items": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", - "properties": { - "inlineVolumeSpec": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", - "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature." - }, - "persistentVolumeName": { - "description": "Name of the persistent volume to attach.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentSpec": { - "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", - "properties": { - "attacher": { - "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", - "type": "string" - }, - "nodeName": { - "description": "The node that the volume should be attached to.", - "type": "string" - }, - "source": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentSource", - "description": "Source represents the volume that should be attached." - } - }, - "required": [ - "attacher", - "source", - "nodeName" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus": { - "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", - "properties": { - "attachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError", - "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher." - }, - "attached": { - "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" - }, - "attachmentMetadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object" - }, - "detachError": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError", - "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher." - } - }, - "required": [ - "attached" - ], - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", - "properties": { - "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", - "type": "string" - }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time the error was encountered." - } - }, - "type": "object" - }, - "io.k8s.api.storage.v1beta1.VolumeNodeResources": { - "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", - "properties": { - "count": { - "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", - "properties": { - "description": { - "description": "description is a human readable description of this column.", - "type": "string" - }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" - }, - "jsonPath": { - "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", - "type": "string" - }, - "name": { - "description": "name is a human readable name for the column.", - "type": "string" - }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" - } - }, - "required": [ - "name", - "type", - "jsonPath" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion": { - "description": "CustomResourceConversion describes how to convert different versions of a CR.", - "properties": { - "strategy": { - "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.", - "type": "string" - }, - "webhook": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion", - "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `Webhook`." - } - }, - "required": [ - "strategy" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition": { - "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format \u003c.spec.name\u003e.\u003c.spec.group\u003e.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec", - "description": "spec describes how the user wants the resources to appear" - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus", - "description": "status indicates the actual state of the CustomResourceDefinition" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - ] - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition": { - "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime last time the condition transitioned from one status to another." - }, - "message": { - "description": "message is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList": { - "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items list individual CustomResourceDefinition objects", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinitionList", - "version": "v1" - } - ] - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", - "properties": { - "categories": { - "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", - "type": "string" - }, - "listKind": { - "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", - "type": "string" - }, - "plural": { - "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis/\u003cgroup\u003e/\u003cversion\u003e/.../\u003cplural\u003e`. Must match the name of the CustomResourceDefinition (in the form `\u003cnames.plural\u003e.\u003cgroup\u003e`). Must be all lowercase.", - "type": "string" - }, - "shortNames": { - "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get \u003cshortname\u003e`. It must be all lowercase.", - "items": { - "type": "string" - }, - "type": "array" - }, - "singular": { - "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", - "type": "string" - } - }, - "required": [ - "plural", - "kind" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", - "properties": { - "conversion": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." - }, - "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis/\u003cgroup\u003e/...`. Must match the name of the CustomResourceDefinition (in the form `\u003cnames.plural\u003e.\u003cgroup\u003e`).", - "type": "string" - }, - "names": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." - }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", - "type": "boolean" - }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.", - "type": "string" - }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA \u003e beta \u003e alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" - }, - "type": "array" - } - }, - "required": [ - "group", - "names", - "scope", - "versions" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus": { - "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", - "properties": { - "acceptedNames": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", - "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." - }, - "conditions": { - "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" - }, - "storedVersions": { - "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion": { - "description": "CustomResourceDefinitionVersion describes a version for CRD.", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "deprecated": { - "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.", - "type": "boolean" - }, - "deprecationWarning": { - "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.", - "type": "string" - }, - "name": { - "description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/\u003cgroup\u003e/\u003cversion\u003e/...` if `served` is true.", - "type": "string" - }, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation", - "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource." - }, - "served": { - "description": "served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" - }, - "storage": { - "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", - "type": "boolean" - }, - "subresources": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources", - "description": "subresources specify what subresources this version of the defined custom resource have." - } - }, - "required": [ - "name", - "served", - "storage" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale": { - "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", - "properties": { - "labelSelectorPath": { - "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", - "type": "string" - }, - "specReplicasPath": { - "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", - "type": "string" - }, - "statusReplicasPath": { - "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", - "type": "string" - } - }, - "required": [ - "specReplicasPath", - "statusReplicasPath" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus": { - "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources": { - "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", - "properties": { - "scale": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale", - "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus", - "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation": { - "description": "CustomResourceValidation is a list of validation methods for CustomResources.", - "properties": { - "openAPIV3Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps", - "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps": { - "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", - "properties": { - "$ref": { - "type": "string" - }, - "$schema": { - "type": "string" - }, - "additionalItems": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" - }, - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" - }, - "allOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "array" - }, - "anyOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "array" - }, - "default": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON", - "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false." - }, - "definitions": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "object" - }, - "dependencies": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" - }, - "type": "object" - }, - "description": { - "type": "string" - }, - "enum": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" - }, - "type": "array" - }, - "example": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" - }, - "exclusiveMaximum": { - "type": "boolean" - }, - "exclusiveMinimum": { - "type": "boolean" - }, - "externalDocs": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" - }, - "format": { - "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", - "type": "string" - }, - "id": { - "type": "string" - }, - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" - }, - "maxItems": { - "format": "int64", - "type": "integer" - }, - "maxLength": { - "format": "int64", - "type": "integer" - }, - "maxProperties": { - "format": "int64", - "type": "integer" - }, - "maximum": { - "format": "double", - "type": "number" - }, - "minItems": { - "format": "int64", - "type": "integer" - }, - "minLength": { - "format": "int64", - "type": "integer" - }, - "minProperties": { - "format": "int64", - "type": "integer" - }, - "minimum": { - "format": "double", - "type": "number" - }, - "multipleOf": { - "format": "double", - "type": "number" - }, - "not": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "nullable": { - "type": "boolean" - }, - "oneOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "array" - }, - "pattern": { - "type": "string" - }, - "patternProperties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "object" - }, - "properties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" - }, - "type": "object" - }, - "required": { - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "uniqueItems": { - "type": "boolean" - }, - "x-kubernetes-embedded-resource": { - "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", - "type": "boolean" - }, - "x-kubernetes-int-or-string": { - "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", - "type": "boolean" - }, - "x-kubernetes-list-map-keys": { - "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", - "items": { - "type": "string" - }, - "type": "array" - }, - "x-kubernetes-list-type": { - "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", - "type": "string" - }, - "x-kubernetes-map-type": { - "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", - "type": "string" - }, - "x-kubernetes-preserve-unknown-fields": { - "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "name is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "path is an optional URL path at which the webhook will be contacted.", - "type": "string" - }, - "port": { - "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", - "properties": { - "caBundle": { - "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference", - "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion": { - "description": "WebhookConversion describes how to call a conversion webhook", - "properties": { - "clientConfig": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig", - "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`." - }, - "conversionReviewVersions": { - "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "conversionReviewVersions" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", - "properties": { - "JSONPath": { - "description": "JSONPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", - "type": "string" - }, - "description": { - "description": "description is a human readable description of this column.", - "type": "string" - }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" - }, - "name": { - "description": "name is a human readable name for the column.", - "type": "string" - }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", - "format": "int32", - "type": "integer" - }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", - "type": "string" - } - }, - "required": [ - "name", - "type", - "JSONPath" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion": { - "description": "CustomResourceConversion describes how to convert different versions of a CR.", - "properties": { - "conversionReviewVersions": { - "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `[\"v1beta1\"]`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "strategy": { - "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhookClientConfig to be set.", - "type": "string" - }, - "webhookClientConfig": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig", - "description": "webhookClientConfig is the instructions for how to call the webhook if strategy is `Webhook`. Required when `strategy` is set to `Webhook`." - } - }, - "required": [ - "strategy" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition": { - "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format \u003c.spec.name\u003e.\u003c.spec.group\u003e. Deprecated in v1.16, planned for removal in v1.22. Use apiextensions.k8s.io/v1 CustomResourceDefinition instead.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec", - "description": "spec describes how the user wants the resources to appear" - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus", - "description": "status indicates the actual state of the CustomResourceDefinition" - } - }, - "required": [ - "spec" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - ] - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition": { - "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime last time the condition transitioned from one status to another." - }, - "message": { - "description": "message is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList": { - "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items list individual CustomResourceDefinition objects", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinitionList", - "version": "v1beta1" - } - ] - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", - "properties": { - "categories": { - "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", - "type": "string" - }, - "listKind": { - "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", - "type": "string" - }, - "plural": { - "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis/\u003cgroup\u003e/\u003cversion\u003e/.../\u003cplural\u003e`. Must match the name of the CustomResourceDefinition (in the form `\u003cnames.plural\u003e.\u003cgroup\u003e`). Must be all lowercase.", - "type": "string" - }, - "shortNames": { - "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get \u003cshortname\u003e`. It must be all lowercase.", - "items": { - "type": "string" - }, - "type": "array" - }, - "singular": { - "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", - "type": "string" - } - }, - "required": [ - "plural", - "kind" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "conversion": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." - }, - "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis/\u003cgroup\u003e/...`. Must match the name of the CustomResourceDefinition (in the form `\u003cnames.plural\u003e.\u003cgroup\u003e`).", - "type": "string" - }, - "names": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." - }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", - "type": "boolean" - }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", - "type": "string" - }, - "subresources": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." - }, - "validation": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation", - "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." - }, - "version": { - "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis/\u003cgroup\u003e/\u003cversion\u003e/...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", - "type": "string" - }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA \u003e beta \u003e alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion" - }, - "type": "array" - } - }, - "required": [ - "group", - "names", - "scope" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus": { - "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", - "properties": { - "acceptedNames": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames", - "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec." - }, - "conditions": { - "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" - }, - "storedVersions": { - "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion": { - "description": "CustomResourceDefinitionVersion describes a version for CRD.", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead). If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "deprecated": { - "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.", - "type": "boolean" - }, - "deprecationWarning": { - "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.", - "type": "string" - }, - "name": { - "description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/\u003cgroup\u003e/\u003cversion\u003e/...` if `served` is true.", - "type": "string" - }, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation", - "description": "schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead)." - }, - "served": { - "description": "served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" - }, - "storage": { - "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", - "type": "boolean" - }, - "subresources": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources this version of the defined custom resource have. Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead)." - } - }, - "required": [ - "name", - "served", - "storage" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale": { - "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", - "properties": { - "labelSelectorPath": { - "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", - "type": "string" - }, - "specReplicasPath": { - "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", - "type": "string" - }, - "statusReplicasPath": { - "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", - "type": "string" - } - }, - "required": [ - "specReplicasPath", - "statusReplicasPath" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus": { - "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources": { - "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", - "properties": { - "scale": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale", - "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object." - }, - "status": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus", - "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object." - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation": { - "description": "CustomResourceValidation is a list of validation methods for CustomResources.", - "properties": { - "openAPIV3Schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps", - "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning." - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps": { - "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", - "properties": { - "$ref": { - "type": "string" - }, - "$schema": { - "type": "string" - }, - "additionalItems": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" - }, - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool" - }, - "allOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "array" - }, - "anyOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "array" - }, - "default": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON", - "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. CustomResourceDefinitions with defaults must be created using the v1 (or newer) CustomResourceDefinition API." - }, - "definitions": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "object" - }, - "dependencies": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" - }, - "type": "object" - }, - "description": { - "type": "string" - }, - "enum": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" - }, - "type": "array" - }, - "example": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" - }, - "exclusiveMaximum": { - "type": "boolean" - }, - "exclusiveMinimum": { - "type": "boolean" - }, - "externalDocs": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" - }, - "format": { - "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", - "type": "string" - }, - "id": { - "type": "string" - }, - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" - }, - "maxItems": { - "format": "int64", - "type": "integer" - }, - "maxLength": { - "format": "int64", - "type": "integer" - }, - "maxProperties": { - "format": "int64", - "type": "integer" - }, - "maximum": { - "format": "double", - "type": "number" - }, - "minItems": { - "format": "int64", - "type": "integer" - }, - "minLength": { - "format": "int64", - "type": "integer" - }, - "minProperties": { - "format": "int64", - "type": "integer" - }, - "minimum": { - "format": "double", - "type": "number" - }, - "multipleOf": { - "format": "double", - "type": "number" - }, - "not": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "nullable": { - "type": "boolean" - }, - "oneOf": { - "items": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "array" - }, - "pattern": { - "type": "string" - }, - "patternProperties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "object" - }, - "properties": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" - }, - "type": "object" - }, - "required": { - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "uniqueItems": { - "type": "boolean" - }, - "x-kubernetes-embedded-resource": { - "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", - "type": "boolean" - }, - "x-kubernetes-int-or-string": { - "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", - "type": "boolean" - }, - "x-kubernetes-list-map-keys": { - "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", - "items": { - "type": "string" - }, - "type": "array" - }, - "x-kubernetes-list-type": { - "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", - "type": "string" - }, - "x-kubernetes-map-type": { - "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", - "type": "string" - }, - "x-kubernetes-preserve-unknown-fields": { - "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", - "type": "boolean" - } - }, - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "name is the name of the service. Required", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the service. Required", - "type": "string" - }, - "path": { - "description": "path is an optional URL path at which the webhook will be contacted.", - "type": "string" - }, - "port": { - "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "namespace", - "name" - ], - "type": "object" - }, - "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", - "properties": { - "caBundle": { - "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string" - }, - "service": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference", - "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`." - }, - "url": { - "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.api.resource.Quantity": { - "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\u003cquantity\u003e ::= \u003csignedNumber\u003e\u003csuffix\u003e\n (Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\u003cdigit\u003e ::= 0 | 1 | ... | 9 \u003cdigits\u003e ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e \u003cnumber\u003e ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e \u003csign\u003e ::= \"+\" | \"-\" \u003csignedNumber\u003e ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e \u003csuffix\u003e ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e \u003cbinarySI\u003e ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\u003cdecimalSI\u003e ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", - "type": "string" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": { - "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "name is the name of the group.", - "type": "string" - }, - "preferredVersion": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery", - "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." - }, - "serverAddressByClientCIDRs": { - "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" - }, - "type": "array" - }, - "versions": { - "description": "versions are the versions supported in this group.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" - }, - "type": "array" - } - }, - "required": [ - "name", - "versions" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIGroup", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList": { - "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "groups": { - "description": "groups is a list of APIGroup.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - } - }, - "required": [ - "groups" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIGroupList", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource": { - "description": "APIResource specifies the name of a resource and whether it is namespaced.", - "properties": { - "categories": { - "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", - "items": { - "type": "string" - }, - "type": "array" - }, - "group": { - "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".", - "type": "string" - }, - "kind": { - "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", - "type": "string" - }, - "name": { - "description": "name is the plural name of the resource.", - "type": "string" - }, - "namespaced": { - "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" - }, - "shortNames": { - "description": "shortNames is a list of suggested short names of the resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "singularName": { - "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.", - "type": "string" - }, - "storageVersionHash": { - "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", - "type": "string" - }, - "verbs": { - "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", - "items": { - "type": "string" - }, - "type": "array" - }, - "version": { - "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".", - "type": "string" - } - }, - "required": [ - "name", - "singularName", - "namespaced", - "kind", - "verbs" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList": { - "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "groupVersion": { - "description": "groupVersion is the group and version this APIResourceList is for.", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "resources": { - "description": "resources contains the name of the resources and if they are namespaced.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" - }, - "type": "array" - } - }, - "required": [ - "groupVersion", - "resources" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIResourceList", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions": { - "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "serverAddressByClientCIDRs": { - "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" - }, - "type": "array" - }, - "versions": { - "description": "versions are the api versions that are available.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "versions", - "serverAddressByClientCIDRs" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "APIVersions", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Condition": { - "description": "Condition contains details for one aspect of the current state of this API Resource.", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable." - }, - "message": { - "description": "message is a human readable message indicating details about the transition. This may be an empty string.", - "type": "string" - }, - "observedGeneration": { - "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.", - "format": "int64", - "type": "integer" - }, - "reason": { - "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.", - "type": "string" - }, - "status": { - "description": "status of the condition, one of True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "type of condition in CamelCase or in foo.example.com/CamelCase.", - "type": "string" - } - }, - "required": [ - "type", - "status", - "lastTransitionTime", - "reason", - "message" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions": { - "description": "DeleteOptions may be provided when deleting an API object.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "dryRun": { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "items": { - "type": "string" - }, - "type": "array" - }, - "gracePeriodSeconds": { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "format": "int64", - "type": "integer" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "orphanDependents": { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" - }, - "preconditions": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions", - "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned." - }, - "propagationPolicy": { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1beta2" - }, - { - "group": "authentication.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "authentication.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v2beta1" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v2beta2" - }, - { - "group": "batch", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "batch", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "certificates.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "certificates.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "discovery.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "discovery.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "events.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "events.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "extensions", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "imagepolicy.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "internal.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "policy", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "policy", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { - "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:\u003cname\u003e', where \u003cname\u003e is the name of a field in a struct, or key in a map 'v:\u003cvalue\u003e', where \u003cvalue\u003e is the exact json formatted value of a list item 'i:\u003cindex\u003e', where \u003cindex\u003e is position of a item in a list 'k:\u003ckeys\u003e', where \u003ckeys\u003e is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery": { - "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", - "properties": { - "groupVersion": { - "description": "groupVersion specifies the API group and version in the form \"group/version\"", - "type": "string" - }, - "version": { - "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", - "type": "string" - } - }, - "required": [ - "groupVersion", - "version" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector": { - "description": "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.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" - }, - "type": "array" - }, - "matchLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string", - "x-kubernetes-patch-merge-key": "key", - "x-kubernetes-patch-strategy": "merge" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "key", - "operator" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta": { - "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", - "properties": { - "continue": { - "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", - "type": "string" - }, - "remainingItemCount": { - "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", - "format": "int64", - "type": "integer" - }, - "resourceVersion": { - "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "selfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": { - "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", - "type": "string" - }, - "fieldsType": { - "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", - "type": "string" - }, - "fieldsV1": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1", - "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." - }, - "manager": { - "description": "Manager is an identifier of the workflow managing these fields.", - "type": "string" - }, - "operation": { - "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", - "type": "string" - }, - "time": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { - "description": "MicroTime is version of Time with microsecond level precision.", - "format": "date-time", - "type": "string" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": { - "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "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", - "type": "object" - }, - "clusterName": { - "description": "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.", - "type": "string" - }, - "creationTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "deletionGracePeriodSeconds": { - "description": "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.", - "format": "int64", - "type": "integer" - }, - "deletionTimestamp": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "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 is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is 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. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "finalizers": { - "description": "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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-patch-strategy": "merge" - }, - "generateName": { - "description": "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", - "type": "string" - }, - "generation": { - "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "format": "int64", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "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", - "type": "object" - }, - "managedFields": { - "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" - }, - "type": "array" - }, - "name": { - "description": "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", - "type": "string" - }, - "namespace": { - "description": "Namespace defines the space within which 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", - "type": "string" - }, - "ownerReferences": { - "description": "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.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "uid", - "x-kubernetes-patch-strategy": "merge" - }, - "resourceVersion": { - "description": "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.", - "type": "string" - }, - "uid": { - "description": "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", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller.", - "type": "boolean" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", - "type": "string" - }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "required": [ - "apiVersion", - "kind", - "name", - "uid" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Patch": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions": { - "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", - "properties": { - "resourceVersion": { - "description": "Specifies the target ResourceVersion", - "type": "string" - }, - "uid": { - "description": "Specifies the target UID.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR": { - "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", - "properties": { - "clientCIDR": { - "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", - "type": "string" - }, - "serverAddress": { - "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", - "type": "string" - } - }, - "required": [ - "clientCIDR", - "serverAddress" - ], - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Status": { - "description": "Status is a return value for calls that don't return other objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "code": { - "description": "Suggested HTTP return code for this status, 0 if not set.", - "format": "int32", - "type": "integer" - }, - "details": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails", - "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "message": { - "description": "A human-readable description of the status of this operation.", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - }, - "reason": { - "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", - "type": "string" - }, - "status": { - "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Status", - "version": "v1" - } - ] - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": { - "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", - "properties": { - "field": { - "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", - "type": "string" - }, - "message": { - "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", - "type": "string" - }, - "reason": { - "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails": { - "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", - "properties": { - "causes": { - "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" - }, - "type": "array" - }, - "group": { - "description": "The group attribute of the resource associated with the status StatusReason.", - "type": "string" - }, - "kind": { - "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", - "type": "string" - }, - "retryAfterSeconds": { - "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "format": "int32", - "type": "integer" - }, - "uid": { - "description": "UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" - }, - "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent": { - "description": "Event represents a single event to a watched resource.", - "properties": { - "object": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context." - }, - "type": { - "type": "string" - } - }, - "required": [ - "type", - "object" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "apps", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "WatchEvent", - "version": "v1beta2" - }, - { - "group": "authentication.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "authentication.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "authorization.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "authorization.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "autoscaling", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "autoscaling", - "kind": "WatchEvent", - "version": "v2beta1" - }, - { - "group": "autoscaling", - "kind": "WatchEvent", - "version": "v2beta2" - }, - { - "group": "batch", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "batch", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "certificates.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "certificates.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "coordination.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "coordination.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "discovery.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "discovery.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "events.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "events.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "extensions", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "imagepolicy.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "internal.apiserver.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "networking.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "networking.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "node.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "node.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "node.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "policy", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "policy", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "scheduling.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "scheduling.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "scheduling.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - }, - { - "group": "storage.k8s.io", - "kind": "WatchEvent", - "version": "v1" - }, - { - "group": "storage.k8s.io", - "kind": "WatchEvent", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "WatchEvent", - "version": "v1beta1" - } - ] - }, - "io.k8s.apimachinery.pkg.runtime.RawExtension": { - "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", - "type": "object" - }, - "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { - "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", - "format": "int-or-string", - "type": "string" - }, - "io.k8s.apimachinery.pkg.version.Info": { - "description": "Info contains versioning information. how we'll want to distribute that information.", - "properties": { - "buildDate": { - "type": "string" - }, - "compiler": { - "type": "string" - }, - "gitCommit": { - "type": "string" - }, - "gitTreeState": { - "type": "string" - }, - "gitVersion": { - "type": "string" - }, - "goVersion": { - "type": "string" - }, - "major": { - "type": "string" - }, - "minor": { - "type": "string" - }, - "platform": { - "type": "string" - } - }, - "required": [ - "major", - "minor", - "gitVersion", - "gitCommit", - "gitTreeState", - "buildDate", - "goVersion", - "compiler", - "platform" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService": { - "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec", - "description": "Spec contains information for locating and communicating with a server" - }, - "status": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus", - "description": "Status contains derived information about an API server" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { - "description": "APIServiceCondition describes the state of an APIService at a particular point", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type is the type of the condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList": { - "description": "APIServiceList is a list of APIService objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIServiceList", - "version": "v1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec": { - "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", - "properties": { - "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string", - "x-kubernetes-list-type": "atomic" - }, - "group": { - "description": "Group is the API group name this server hosts", - "type": "string" - }, - "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "format": "int32", - "type": "integer" - }, - "insecureSkipTLSVerify": { - "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" - }, - "service": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference", - "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled." - }, - "version": { - "description": "Version is the API version this server hosts. For example, \"v1\"", - "type": "string" - }, - "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA \u003e beta \u003e alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "groupPriorityMinimum", - "versionPriority" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus": { - "description": "APIServiceStatus contains derived information about an API server", - "properties": { - "conditions": { - "description": "Current service state of apiService.", - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "Name is the name of the service", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the service", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService": { - "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec", - "description": "Spec contains information for locating and communicating with a server" - }, - "status": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus", - "description": "Status contains derived information about an API server" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition": { - "description": "APIServiceCondition describes the state of an APIService at a particular point", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "Last time the condition transitioned from one status to another." - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type is the type of the condition.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList": { - "description": "APIServiceList is a list of APIService objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIServiceList", - "version": "v1beta1" - } - ] - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceSpec": { - "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", - "properties": { - "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", - "format": "byte", - "type": "string", - "x-kubernetes-list-type": "atomic" - }, - "group": { - "description": "Group is the API group name this server hosts", - "type": "string" - }, - "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "format": "int32", - "type": "integer" - }, - "insecureSkipTLSVerify": { - "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" - }, - "service": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference", - "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled." - }, - "version": { - "description": "Version is the API version this server hosts. For example, \"v1\"", - "type": "string" - }, - "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA \u003e beta \u003e alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "format": "int32", - "type": "integer" - } - }, - "required": [ - "groupPriorityMinimum", - "versionPriority" - ], - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceStatus": { - "description": "APIServiceStatus contains derived information about an API server", - "properties": { - "conditions": { - "description": "Current service state of apiService.", - "items": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", - "properties": { - "name": { - "description": "Name is the name of the service", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the service", - "type": "string" - }, - "port": { - "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - } - }, - "info": { - "title": "Kubernetes", - "version": "v1.21.2" - }, - "paths": { - "/.well-known/openid-configuration/": { - "get": { - "description": "get service account issuer OpenID configuration, also known as the 'OIDC discovery doc'", - "operationId": "getServiceAccountIssuerOpenIDConfiguration", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "WellKnown" - ] - } - }, - "/api/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available API versions", - "operationId": "getCoreAPIVersions", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core" - ] - } - }, - "/api/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCoreV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ] - } - }, - "/api/v1/componentstatuses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list objects of kind ComponentStatus", - "operationId": "listCoreV1ComponentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatusList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ComponentStatus", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/componentstatuses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ComponentStatus", - "operationId": "readCoreV1ComponentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ComponentStatus", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ComponentStatus", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ] - }, - "/api/v1/configmaps": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ConfigMap", - "operationId": "listCoreV1ConfigMapForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/endpoints": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Endpoints", - "operationId": "listCoreV1EndpointsForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listCoreV1EventForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/limitranges": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind LimitRange", - "operationId": "listCoreV1LimitRangeForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/namespaces": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Namespace", - "operationId": "listCoreV1Namespace", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Namespace", - "operationId": "createCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/bindings": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Binding", - "operationId": "createCoreV1NamespacedBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Binding", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/configmaps": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ConfigMap", - "operationId": "deleteCoreV1CollectionNamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ConfigMap", - "operationId": "listCoreV1NamespacedConfigMap", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ConfigMap", - "operationId": "createCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/configmaps/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ConfigMap", - "operationId": "deleteCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ConfigMap", - "operationId": "readCoreV1NamespacedConfigMap", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ConfigMap", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ConfigMap", - "operationId": "patchCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ConfigMap", - "operationId": "replaceCoreV1NamespacedConfigMap", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/endpoints": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Endpoints", - "operationId": "deleteCoreV1CollectionNamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Endpoints", - "operationId": "listCoreV1NamespacedEndpoints", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create Endpoints", - "operationId": "createCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/endpoints/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete Endpoints", - "operationId": "deleteCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Endpoints", - "operationId": "readCoreV1NamespacedEndpoints", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Endpoints", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Endpoints", - "operationId": "patchCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Endpoints", - "operationId": "replaceCoreV1NamespacedEndpoints", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/events": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Event", - "operationId": "deleteCoreV1CollectionNamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listCoreV1NamespacedEvent", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Event", - "operationId": "createCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/events/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Event", - "operationId": "deleteCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Event", - "operationId": "readCoreV1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Event", - "operationId": "patchCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Event", - "operationId": "replaceCoreV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/limitranges": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of LimitRange", - "operationId": "deleteCoreV1CollectionNamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind LimitRange", - "operationId": "listCoreV1NamespacedLimitRange", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a LimitRange", - "operationId": "createCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/limitranges/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a LimitRange", - "operationId": "deleteCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified LimitRange", - "operationId": "readCoreV1NamespacedLimitRange", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the LimitRange", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified LimitRange", - "operationId": "patchCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified LimitRange", - "operationId": "replaceCoreV1NamespacedLimitRange", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/persistentvolumeclaims": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PersistentVolumeClaim", - "operationId": "deleteCoreV1CollectionNamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PersistentVolumeClaim", - "operationId": "listCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PersistentVolumeClaim", - "operationId": "createCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PersistentVolumeClaim", - "operationId": "deleteCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PersistentVolumeClaim", - "operationId": "readCoreV1NamespacedPersistentVolumeClaim", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PersistentVolumeClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PersistentVolumeClaim", - "operationId": "patchCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PersistentVolumeClaim", - "operationId": "replaceCoreV1NamespacedPersistentVolumeClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified PersistentVolumeClaim", - "operationId": "readCoreV1NamespacedPersistentVolumeClaimStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PersistentVolumeClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified PersistentVolumeClaim", - "operationId": "patchCoreV1NamespacedPersistentVolumeClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified PersistentVolumeClaim", - "operationId": "replaceCoreV1NamespacedPersistentVolumeClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Pod", - "operationId": "deleteCoreV1CollectionNamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Pod", - "operationId": "listCoreV1NamespacedPod", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Pod", - "operationId": "createCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Pod", - "operationId": "deleteCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Pod", - "operationId": "readCoreV1NamespacedPod", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Pod", - "operationId": "patchCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Pod", - "operationId": "replaceCoreV1NamespacedPod", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/attach": { - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to attach of Pod", - "operationId": "connectCoreV1GetNamespacedPodAttach", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodAttachOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.", - "in": "query", - "name": "container", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the PodAttachOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.", - "in": "query", - "name": "stderr", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.", - "in": "query", - "name": "stdin", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.", - "in": "query", - "name": "stdout", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.", - "in": "query", - "name": "tty", - "type": "boolean", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to attach of Pod", - "operationId": "connectCoreV1PostNamespacedPodAttach", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodAttachOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/binding": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Binding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create binding of a Pod", - "operationId": "createCoreV1NamespacedPodBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Binding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Binding", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/eviction": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Eviction", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create eviction of a Pod", - "operationId": "createCoreV1NamespacedPodEviction", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.Eviction" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "Eviction", - "version": "v1beta1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/exec": { - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to exec of Pod", - "operationId": "connectCoreV1GetNamespacedPodExec", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodExecOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "Command is the remote command to execute. argv array. Not executed within a shell.", - "in": "query", - "name": "command", - "type": "string", - "uniqueItems": true - }, - { - "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.", - "in": "query", - "name": "container", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the PodExecOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Redirect the standard error stream of the pod for this call. Defaults to true.", - "in": "query", - "name": "stderr", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Redirect the standard input stream of the pod for this call. Defaults to false.", - "in": "query", - "name": "stdin", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Redirect the standard output stream of the pod for this call. Defaults to true.", - "in": "query", - "name": "stdout", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.", - "in": "query", - "name": "tty", - "type": "boolean", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to exec of Pod", - "operationId": "connectCoreV1PostNamespacedPodExec", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodExecOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/log": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read log of the specified Pod", - "operationId": "readCoreV1NamespacedPodLog", - "produces": [ - "text/plain", - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.", - "in": "query", - "name": "container", - "type": "string", - "uniqueItems": true - }, - { - "description": "Follow the log stream of the pod. Defaults to false.", - "in": "query", - "name": "follow", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", - "in": "query", - "name": "insecureSkipTLSVerifyBackend", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", - "in": "query", - "name": "limitBytes", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "Return previous terminated container logs. Defaults to false.", - "in": "query", - "name": "previous", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", - "in": "query", - "name": "sinceSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", - "in": "query", - "name": "tailLines", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", - "in": "query", - "name": "timestamps", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/namespaces/{namespace}/pods/{name}/portforward": { - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to portforward of Pod", - "operationId": "connectCoreV1GetNamespacedPodPortforward", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodPortForwardOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodPortForwardOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "List of ports to forward Required when using WebSockets", - "in": "query", - "name": "ports", - "type": "integer", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to portforward of Pod", - "operationId": "connectCoreV1PostNamespacedPodPortforward", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodPortForwardOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/proxy": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Pod", - "operationId": "connectCoreV1DeleteNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Pod", - "operationId": "connectCoreV1GetNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Pod", - "operationId": "connectCoreV1HeadNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Pod", - "operationId": "connectCoreV1OptionsNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to pod.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Pod", - "operationId": "connectCoreV1PatchNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Pod", - "operationId": "connectCoreV1PostNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Pod", - "operationId": "connectCoreV1PutNamespacedPodProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Pod", - "operationId": "connectCoreV1DeleteNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Pod", - "operationId": "connectCoreV1GetNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Pod", - "operationId": "connectCoreV1HeadNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Pod", - "operationId": "connectCoreV1OptionsNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "path to the resource", - "in": "path", - "name": "path", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to pod.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Pod", - "operationId": "connectCoreV1PatchNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Pod", - "operationId": "connectCoreV1PostNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Pod", - "operationId": "connectCoreV1PutNamespacedPodProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/pods/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Pod", - "operationId": "readCoreV1NamespacedPodStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Pod", - "operationId": "patchCoreV1NamespacedPodStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Pod", - "operationId": "replaceCoreV1NamespacedPodStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Pod" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/podtemplates": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PodTemplate", - "operationId": "deleteCoreV1CollectionNamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodTemplate", - "operationId": "listCoreV1NamespacedPodTemplate", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PodTemplate", - "operationId": "createCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/podtemplates/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PodTemplate", - "operationId": "deleteCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodTemplate", - "operationId": "readCoreV1NamespacedPodTemplate", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodTemplate", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PodTemplate", - "operationId": "patchCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PodTemplate", - "operationId": "replaceCoreV1NamespacedPodTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ReplicationController", - "operationId": "deleteCoreV1CollectionNamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicationController", - "operationId": "listCoreV1NamespacedReplicationController", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ReplicationController", - "operationId": "createCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ReplicationController", - "operationId": "deleteCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ReplicationController", - "operationId": "readCoreV1NamespacedReplicationController", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ReplicationController", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ReplicationController", - "operationId": "patchCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ReplicationController", - "operationId": "replaceCoreV1NamespacedReplicationController", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified ReplicationController", - "operationId": "readCoreV1NamespacedReplicationControllerScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified ReplicationController", - "operationId": "patchCoreV1NamespacedReplicationControllerScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified ReplicationController", - "operationId": "replaceCoreV1NamespacedReplicationControllerScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ReplicationController", - "operationId": "readCoreV1NamespacedReplicationControllerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ReplicationController", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ReplicationController", - "operationId": "patchCoreV1NamespacedReplicationControllerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ReplicationController", - "operationId": "replaceCoreV1NamespacedReplicationControllerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/resourcequotas": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceQuota", - "operationId": "deleteCoreV1CollectionNamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceQuota", - "operationId": "listCoreV1NamespacedResourceQuota", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ResourceQuota", - "operationId": "createCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/resourcequotas/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ResourceQuota", - "operationId": "deleteCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceQuota", - "operationId": "readCoreV1NamespacedResourceQuota", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ResourceQuota", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceQuota", - "operationId": "patchCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceQuota", - "operationId": "replaceCoreV1NamespacedResourceQuota", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ResourceQuota", - "operationId": "readCoreV1NamespacedResourceQuotaStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ResourceQuota", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ResourceQuota", - "operationId": "patchCoreV1NamespacedResourceQuotaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ResourceQuota", - "operationId": "replaceCoreV1NamespacedResourceQuotaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/secrets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Secret", - "operationId": "deleteCoreV1CollectionNamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Secret", - "operationId": "listCoreV1NamespacedSecret", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Secret", - "operationId": "createCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/secrets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Secret", - "operationId": "deleteCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Secret", - "operationId": "readCoreV1NamespacedSecret", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Secret", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Secret", - "operationId": "patchCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Secret", - "operationId": "replaceCoreV1NamespacedSecret", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Secret" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/serviceaccounts": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ServiceAccount", - "operationId": "deleteCoreV1CollectionNamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ServiceAccount", - "operationId": "listCoreV1NamespacedServiceAccount", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ServiceAccount", - "operationId": "createCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/serviceaccounts/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ServiceAccount", - "operationId": "deleteCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ServiceAccount", - "operationId": "readCoreV1NamespacedServiceAccount", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ServiceAccount", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ServiceAccount", - "operationId": "patchCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ServiceAccount", - "operationId": "replaceCoreV1NamespacedServiceAccount", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the TokenRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create token of a ServiceAccount", - "operationId": "createCoreV1NamespacedServiceAccountToken", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenRequest", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Service", - "operationId": "listCoreV1NamespacedService", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Service", - "operationId": "createCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Service", - "operationId": "deleteCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Service", - "operationId": "readCoreV1NamespacedService", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Service", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Service", - "operationId": "patchCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Service", - "operationId": "replaceCoreV1NamespacedService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}/proxy": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Service", - "operationId": "connectCoreV1DeleteNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Service", - "operationId": "connectCoreV1GetNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Service", - "operationId": "connectCoreV1HeadNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Service", - "operationId": "connectCoreV1OptionsNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ServiceProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Service", - "operationId": "connectCoreV1PatchNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Service", - "operationId": "connectCoreV1PostNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Service", - "operationId": "connectCoreV1PutNamespacedServiceProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Service", - "operationId": "connectCoreV1DeleteNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Service", - "operationId": "connectCoreV1GetNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Service", - "operationId": "connectCoreV1HeadNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Service", - "operationId": "connectCoreV1OptionsNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ServiceProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "path to the resource", - "in": "path", - "name": "path", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Service", - "operationId": "connectCoreV1PatchNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Service", - "operationId": "connectCoreV1PostNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Service", - "operationId": "connectCoreV1PutNamespacedServiceProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{namespace}/services/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Service", - "operationId": "readCoreV1NamespacedServiceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Service", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Service", - "operationId": "patchCoreV1NamespacedServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Service", - "operationId": "replaceCoreV1NamespacedServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Namespace", - "operationId": "deleteCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Namespace", - "operationId": "readCoreV1Namespace", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Namespace", - "operationId": "patchCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Namespace", - "operationId": "replaceCoreV1Namespace", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{name}/finalize": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "put": { - "consumes": [ - "*/*" - ], - "description": "replace finalize of the specified Namespace", - "operationId": "replaceCoreV1NamespaceFinalize", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/namespaces/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Namespace", - "operationId": "readCoreV1NamespaceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Namespace", - "operationId": "patchCoreV1NamespaceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Namespace", - "operationId": "replaceCoreV1NamespaceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - } - }, - "/api/v1/nodes": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Node", - "operationId": "deleteCoreV1CollectionNode", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Node", - "operationId": "listCoreV1Node", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Node", - "operationId": "createCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - } - }, - "/api/v1/nodes/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Node", - "operationId": "deleteCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Node", - "operationId": "readCoreV1Node", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Node", - "operationId": "patchCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Node", - "operationId": "replaceCoreV1Node", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - } - }, - "/api/v1/nodes/{name}/proxy": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Node", - "operationId": "connectCoreV1DeleteNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Node", - "operationId": "connectCoreV1GetNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Node", - "operationId": "connectCoreV1HeadNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Node", - "operationId": "connectCoreV1OptionsNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NodeProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to node.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Node", - "operationId": "connectCoreV1PatchNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Node", - "operationId": "connectCoreV1PostNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Node", - "operationId": "connectCoreV1PutNodeProxy", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/nodes/{name}/proxy/{path}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "connect DELETE requests to proxy of Node", - "operationId": "connectCoreV1DeleteNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "connect GET requests to proxy of Node", - "operationId": "connectCoreV1GetNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "head": { - "consumes": [ - "*/*" - ], - "description": "connect HEAD requests to proxy of Node", - "operationId": "connectCoreV1HeadNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "options": { - "consumes": [ - "*/*" - ], - "description": "connect OPTIONS requests to proxy of Node", - "operationId": "connectCoreV1OptionsNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NodeProxyOptions", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "path to the resource", - "in": "path", - "name": "path", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "Path is the URL path to use for the current proxy request to node.", - "in": "query", - "name": "path", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "*/*" - ], - "description": "connect PATCH requests to proxy of Node", - "operationId": "connectCoreV1PatchNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "post": { - "consumes": [ - "*/*" - ], - "description": "connect POST requests to proxy of Node", - "operationId": "connectCoreV1PostNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "connect PUT requests to proxy of Node", - "operationId": "connectCoreV1PutNodeProxyWithPath", - "produces": [ - "*/*" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "connect", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "NodeProxyOptions", - "version": "v1" - } - } - }, - "/api/v1/nodes/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Node", - "operationId": "readCoreV1NodeStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Node", - "operationId": "patchCoreV1NodeStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Node", - "operationId": "replaceCoreV1NodeStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Node" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - } - }, - "/api/v1/persistentvolumeclaims": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PersistentVolumeClaim", - "operationId": "listCoreV1PersistentVolumeClaimForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/persistentvolumes": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PersistentVolume", - "operationId": "deleteCoreV1CollectionPersistentVolume", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PersistentVolume", - "operationId": "listCoreV1PersistentVolume", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PersistentVolume", - "operationId": "createCoreV1PersistentVolume", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - } - }, - "/api/v1/persistentvolumes/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PersistentVolume", - "operationId": "deleteCoreV1PersistentVolume", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PersistentVolume", - "operationId": "readCoreV1PersistentVolume", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PersistentVolume", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PersistentVolume", - "operationId": "patchCoreV1PersistentVolume", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PersistentVolume", - "operationId": "replaceCoreV1PersistentVolume", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - } - }, - "/api/v1/persistentvolumes/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified PersistentVolume", - "operationId": "readCoreV1PersistentVolumeStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PersistentVolume", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified PersistentVolume", - "operationId": "patchCoreV1PersistentVolumeStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified PersistentVolume", - "operationId": "replaceCoreV1PersistentVolumeStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - } - }, - "/api/v1/pods": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Pod", - "operationId": "listCoreV1PodForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/podtemplates": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodTemplate", - "operationId": "listCoreV1PodTemplateForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/replicationcontrollers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicationController", - "operationId": "listCoreV1ReplicationControllerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/resourcequotas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceQuota", - "operationId": "listCoreV1ResourceQuotaForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/secrets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Secret", - "operationId": "listCoreV1SecretForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/serviceaccounts": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ServiceAccount", - "operationId": "listCoreV1ServiceAccountForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/services": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Service", - "operationId": "listCoreV1ServiceForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/configmaps": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ConfigMapListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/endpoints": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1EndpointsListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1EventListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/limitranges": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1LimitRangeListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespaceList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/configmaps": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedConfigMapList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedConfigMap", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ConfigMap", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ConfigMap", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/endpoints": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedEndpointsList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedEndpoints", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Endpoints", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedEventList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/events/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/limitranges": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedLimitRangeList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedLimitRange", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "LimitRange", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the LimitRange", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedPersistentVolumeClaimList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedPersistentVolumeClaim", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PersistentVolumeClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/pods": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedPodList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/pods/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedPod", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Pod", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/podtemplates": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedPodTemplateList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedPodTemplate", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodTemplate", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedReplicationControllerList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedReplicationController", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicationController", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedResourceQuotaList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedResourceQuota", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ResourceQuota", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/secrets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedSecretList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedSecret", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Secret", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedServiceAccountList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedServiceAccount", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ServiceAccount", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/services": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NamespacedServiceList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{namespace}/services/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1NamespacedService", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Service", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/namespaces/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1Namespace", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Namespace", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Namespace", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/nodes": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1NodeList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/nodes/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1Node", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Node", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/persistentvolumeclaims": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PersistentVolumeClaimListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolumeClaim", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/persistentvolumes": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PersistentVolumeList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/persistentvolumes/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoreV1PersistentVolume", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PersistentVolume", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PersistentVolume", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/pods": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PodListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/podtemplates": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1PodTemplateListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "PodTemplate", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/replicationcontrollers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ReplicationControllerListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/resourcequotas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ResourceQuotaListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/secrets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1SecretListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/serviceaccounts": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ServiceAccountListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/api/v1/watch/services": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoreV1ServiceListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available API versions", - "operationId": "getAPIVersions", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apis" - ] - } - }, - "/apis/admissionregistration.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAdmissionregistrationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration" - ] - } - }, - "/apis/admissionregistration.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAdmissionregistrationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ] - } - }, - "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind MutatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a MutatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified MutatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1MutatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the MutatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified MutatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified MutatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ValidatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ValidatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ValidatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1ValidatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ValidatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ValidatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ValidatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1MutatingWebhookConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1MutatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the MutatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ValidatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAdmissionregistrationV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ] - } - }, - "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind MutatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfigurationList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a MutatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a MutatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified MutatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the MutatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified MutatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified MutatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ValidatingWebhookConfiguration", - "operationId": "listAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfigurationList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ValidatingWebhookConfiguration", - "operationId": "createAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ValidatingWebhookConfiguration", - "operationId": "deleteAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ValidatingWebhookConfiguration", - "operationId": "readAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the ValidatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ValidatingWebhookConfiguration", - "operationId": "patchAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ValidatingWebhookConfiguration", - "operationId": "replaceAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1beta1MutatingWebhookConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1beta1MutatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the MutatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1beta1ValidatingWebhookConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1beta1ValidatingWebhookConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ValidatingWebhookConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiextensions.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getApiextensionsAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions" - ] - } - }, - "/apis/apiextensions.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getApiextensionsV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ] - } - }, - "/apis/apiextensions.k8s.io/v1/customresourcedefinitions": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CustomResourceDefinition", - "operationId": "deleteApiextensionsV1CollectionCustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CustomResourceDefinition", - "operationId": "listApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CustomResourceDefinition", - "operationId": "createApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - } - }, - "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CustomResourceDefinition", - "operationId": "deleteApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1CustomResourceDefinition", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - } - }, - "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1CustomResourceDefinitionStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1CustomResourceDefinitionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1CustomResourceDefinitionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - } - }, - "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiextensionsV1CustomResourceDefinitionList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiextensionsV1CustomResourceDefinition", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiextensions.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getApiextensionsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ] - } - }, - "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CustomResourceDefinition", - "operationId": "deleteApiextensionsV1beta1CollectionCustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CustomResourceDefinition", - "operationId": "listApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CustomResourceDefinition", - "operationId": "createApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - } - }, - "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CustomResourceDefinition", - "operationId": "deleteApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1beta1CustomResourceDefinition", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1beta1CustomResourceDefinition", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - } - }, - "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CustomResourceDefinition", - "operationId": "readApiextensionsV1beta1CustomResourceDefinitionStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CustomResourceDefinition", - "operationId": "patchApiextensionsV1beta1CustomResourceDefinitionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CustomResourceDefinition", - "operationId": "replaceApiextensionsV1beta1CustomResourceDefinitionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - } - }, - "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiextensionsV1beta1CustomResourceDefinitionList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiextensionsV1beta1CustomResourceDefinition", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiextensions_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinition", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CustomResourceDefinition", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiregistration.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getApiregistrationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration" - ] - } - }, - "/apis/apiregistration.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getApiregistrationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ] - } - }, - "/apis/apiregistration.k8s.io/v1/apiservices": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of APIService", - "operationId": "deleteApiregistrationV1CollectionAPIService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind APIService", - "operationId": "listApiregistrationV1APIService", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an APIService", - "operationId": "createApiregistrationV1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - } - }, - "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an APIService", - "operationId": "deleteApiregistrationV1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified APIService", - "operationId": "readApiregistrationV1APIService", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified APIService", - "operationId": "patchApiregistrationV1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified APIService", - "operationId": "replaceApiregistrationV1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - } - }, - "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified APIService", - "operationId": "readApiregistrationV1APIServiceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified APIService", - "operationId": "patchApiregistrationV1APIServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified APIService", - "operationId": "replaceApiregistrationV1APIServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - } - }, - "/apis/apiregistration.k8s.io/v1/watch/apiservices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiregistrationV1APIServiceList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiregistrationV1APIService", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiregistration.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getApiregistrationV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ] - } - }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of APIService", - "operationId": "deleteApiregistrationV1beta1CollectionAPIService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind APIService", - "operationId": "listApiregistrationV1beta1APIService", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an APIService", - "operationId": "createApiregistrationV1beta1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - } - }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an APIService", - "operationId": "deleteApiregistrationV1beta1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified APIService", - "operationId": "readApiregistrationV1beta1APIService", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified APIService", - "operationId": "patchApiregistrationV1beta1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified APIService", - "operationId": "replaceApiregistrationV1beta1APIService", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - } - }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified APIService", - "operationId": "readApiregistrationV1beta1APIServiceStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified APIService", - "operationId": "patchApiregistrationV1beta1APIServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified APIService", - "operationId": "replaceApiregistrationV1beta1APIServiceStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - } - }, - "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchApiregistrationV1beta1APIServiceList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchApiregistrationV1beta1APIService", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apiregistration_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apiregistration.k8s.io", - "kind": "APIService", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the APIService", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAppsAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps" - ] - } - }, - "/apis/apps/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAppsV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ] - } - }, - "/apis/apps/v1/controllerrevisions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1ControllerRevisionForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listAppsV1DaemonSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/deployments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1DeploymentForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ControllerRevision", - "operationId": "deleteAppsV1CollectionNamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ControllerRevision", - "operationId": "listAppsV1NamespacedControllerRevision", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ControllerRevision", - "operationId": "createAppsV1NamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ControllerRevision", - "operationId": "deleteAppsV1NamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ControllerRevision", - "operationId": "readAppsV1NamespacedControllerRevision", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ControllerRevision", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ControllerRevision", - "operationId": "patchAppsV1NamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ControllerRevision", - "operationId": "replaceAppsV1NamespacedControllerRevision", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/daemonsets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of DaemonSet", - "operationId": "deleteAppsV1CollectionNamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind DaemonSet", - "operationId": "listAppsV1NamespacedDaemonSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a DaemonSet", - "operationId": "createAppsV1NamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a DaemonSet", - "operationId": "deleteAppsV1NamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified DaemonSet", - "operationId": "readAppsV1NamespacedDaemonSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified DaemonSet", - "operationId": "patchAppsV1NamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified DaemonSet", - "operationId": "replaceAppsV1NamespacedDaemonSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified DaemonSet", - "operationId": "readAppsV1NamespacedDaemonSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified DaemonSet", - "operationId": "patchAppsV1NamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified DaemonSet", - "operationId": "replaceAppsV1NamespacedDaemonSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/deployments": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Deployment", - "operationId": "deleteAppsV1CollectionNamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Deployment", - "operationId": "listAppsV1NamespacedDeployment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Deployment", - "operationId": "createAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Deployment", - "operationId": "deleteAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Deployment", - "operationId": "readAppsV1NamespacedDeployment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Deployment", - "operationId": "patchAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Deployment", - "operationId": "replaceAppsV1NamespacedDeployment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified Deployment", - "operationId": "readAppsV1NamespacedDeploymentScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified Deployment", - "operationId": "patchAppsV1NamespacedDeploymentScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified Deployment", - "operationId": "replaceAppsV1NamespacedDeploymentScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Deployment", - "operationId": "readAppsV1NamespacedDeploymentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Deployment", - "operationId": "patchAppsV1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Deployment", - "operationId": "replaceAppsV1NamespacedDeploymentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/replicasets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ReplicaSet", - "operationId": "deleteAppsV1CollectionNamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listAppsV1NamespacedReplicaSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ReplicaSet", - "operationId": "createAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ReplicaSet", - "operationId": "deleteAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ReplicaSet", - "operationId": "readAppsV1NamespacedReplicaSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ReplicaSet", - "operationId": "patchAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ReplicaSet", - "operationId": "replaceAppsV1NamespacedReplicaSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified ReplicaSet", - "operationId": "readAppsV1NamespacedReplicaSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified ReplicaSet", - "operationId": "patchAppsV1NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified ReplicaSet", - "operationId": "replaceAppsV1NamespacedReplicaSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ReplicaSet", - "operationId": "readAppsV1NamespacedReplicaSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ReplicaSet", - "operationId": "patchAppsV1NamespacedReplicaSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ReplicaSet", - "operationId": "replaceAppsV1NamespacedReplicaSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of StatefulSet", - "operationId": "deleteAppsV1CollectionNamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1NamespacedStatefulSet", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a StatefulSet", - "operationId": "createAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a StatefulSet", - "operationId": "deleteAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified StatefulSet", - "operationId": "readAppsV1NamespacedStatefulSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified StatefulSet", - "operationId": "patchAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified StatefulSet", - "operationId": "replaceAppsV1NamespacedStatefulSet", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read scale of the specified StatefulSet", - "operationId": "readAppsV1NamespacedStatefulSetScale", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Scale", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update scale of the specified StatefulSet", - "operationId": "patchAppsV1NamespacedStatefulSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace scale of the specified StatefulSet", - "operationId": "replaceAppsV1NamespacedStatefulSetScale", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "Scale", - "version": "v1" - } - } - }, - "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified StatefulSet", - "operationId": "readAppsV1NamespacedStatefulSetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified StatefulSet", - "operationId": "patchAppsV1NamespacedStatefulSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified StatefulSet", - "operationId": "replaceAppsV1NamespacedStatefulSetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - } - }, - "/apis/apps/v1/replicasets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ReplicaSet", - "operationId": "listAppsV1ReplicaSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/statefulsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StatefulSet", - "operationId": "listAppsV1StatefulSetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/controllerrevisions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1ControllerRevisionListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1DaemonSetListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/deployments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1DeploymentListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedControllerRevisionList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedControllerRevision", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ControllerRevision", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedDaemonSetList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedDaemonSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the DaemonSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedDeploymentList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedDeployment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Deployment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedReplicaSetList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedReplicaSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ReplicaSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1NamespacedStatefulSetList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAppsV1NamespacedStatefulSet", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StatefulSet", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/replicasets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1ReplicaSetListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/apps/v1/watch/statefulsets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAppsV1StatefulSetListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "apps_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/authentication.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAuthenticationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication" - ] - } - }, - "/apis/authentication.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAuthenticationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1" - ] - } - }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a TokenReview", - "operationId": "createAuthenticationV1TokenReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" - } - } - }, - "/apis/authentication.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAuthenticationV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1beta1" - ] - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a TokenReview", - "operationId": "createAuthenticationV1beta1TokenReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" - } - } - }, - "/apis/authorization.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAuthorizationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization" - ] - } - }, - "/apis/authorization.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAuthorizationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ] - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a LocalSubjectAccessReview", - "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" - } - } - }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectAccessReview", - "operationId": "createAuthorizationV1SelfSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" - } - } - }, - "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectRulesReview", - "operationId": "createAuthorizationV1SelfSubjectRulesReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" - } - } - }, - "/apis/authorization.k8s.io/v1/subjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SubjectAccessReview", - "operationId": "createAuthorizationV1SubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" - } - } - }, - "/apis/authorization.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAuthorizationV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ] - } - }, - "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a LocalSubjectAccessReview", - "operationId": "createAuthorizationV1beta1NamespacedLocalSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.LocalSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1beta1" - } - } - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectAccessReview", - "operationId": "createAuthorizationV1beta1SelfSubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" - } - } - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectRulesReview", - "operationId": "createAuthorizationV1beta1SelfSubjectRulesReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SelfSubjectRulesReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1beta1" - } - } - }, - "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SubjectAccessReview", - "operationId": "createAuthorizationV1beta1SubjectAccessReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1beta1.SubjectAccessReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" - } - } - }, - "/apis/autoscaling/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAutoscalingAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling" - ] - } - }, - "/apis/autoscaling/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAutoscalingV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ] - } - }, - "/apis/autoscaling/v1/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - } - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscaler", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - } - }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - } - }, - "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscalerList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscaler", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAutoscalingV2beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ] - } - }, - "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - } - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - } - }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - } - }, - "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscalerList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAutoscalingV2beta2APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ] - } - }, - "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "operationId": "listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a HorizontalPodAutoscaler", - "operationId": "createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - } - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a HorizontalPodAutoscaler", - "operationId": "deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - } - }, - "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified HorizontalPodAutoscaler", - "operationId": "readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified HorizontalPodAutoscaler", - "operationId": "patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified HorizontalPodAutoscaler", - "operationId": "replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - } - }, - "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta2" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the HorizontalPodAutoscaler", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getBatchAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch" - ] - } - }, - "/apis/batch/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getBatchV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ] - } - }, - "/apis/batch/v1/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1CronJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/jobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Job", - "operationId": "listBatchV1JobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/namespaces/{namespace}/cronjobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CronJob", - "operationId": "deleteBatchV1CollectionNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1NamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CronJob", - "operationId": "createBatchV1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - } - }, - "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CronJob", - "operationId": "deleteBatchV1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CronJob", - "operationId": "readBatchV1NamespacedCronJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CronJob", - "operationId": "patchBatchV1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CronJob", - "operationId": "replaceBatchV1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - } - }, - "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CronJob", - "operationId": "readBatchV1NamespacedCronJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - } - }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Job", - "operationId": "deleteBatchV1CollectionNamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Job", - "operationId": "listBatchV1NamespacedJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Job", - "operationId": "createBatchV1NamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - } - }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Job", - "operationId": "deleteBatchV1NamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Job", - "operationId": "readBatchV1NamespacedJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Job", - "operationId": "patchBatchV1NamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Job", - "operationId": "replaceBatchV1NamespacedJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - } - }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Job", - "operationId": "readBatchV1NamespacedJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Job", - "operationId": "patchBatchV1NamespacedJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Job", - "operationId": "replaceBatchV1NamespacedJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1.Job" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - } - }, - "/apis/batch/v1/watch/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1CronJobListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/jobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1JobListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1NamespacedCronJobList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1NamespacedCronJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1NamespacedJobList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1NamespacedJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Job", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getBatchV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ] - } - }, - "/apis/batch/v1beta1/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1beta1CronJobForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CronJob", - "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CronJob", - "operationId": "listBatchV1beta1NamespacedCronJob", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CronJob", - "operationId": "createBatchV1beta1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - } - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CronJob", - "operationId": "deleteBatchV1beta1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CronJob", - "operationId": "readBatchV1beta1NamespacedCronJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CronJob", - "operationId": "patchBatchV1beta1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CronJob", - "operationId": "replaceBatchV1beta1NamespacedCronJob", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - } - }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CronJob", - "operationId": "readBatchV1beta1NamespacedCronJobStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CronJob", - "operationId": "patchBatchV1beta1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CronJob", - "operationId": "replaceBatchV1beta1NamespacedCronJobStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - } - }, - "/apis/batch/v1beta1/watch/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1beta1CronJobListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchBatchV1beta1NamespacedCronJobList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchBatchV1beta1NamespacedCronJob", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CronJob", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/certificates.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getCertificatesAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates" - ] - } - }, - "/apis/certificates.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCertificatesV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ] - } - }, - "/apis/certificates.k8s.io/v1/certificatesigningrequests": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CertificateSigningRequest", - "operationId": "deleteCertificatesV1CollectionCertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CertificateSigningRequest", - "operationId": "listCertificatesV1CertificateSigningRequest", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CertificateSigningRequest", - "operationId": "createCertificatesV1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - } - }, - "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CertificateSigningRequest", - "operationId": "deleteCertificatesV1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CertificateSigningRequest", - "operationId": "readCertificatesV1CertificateSigningRequest", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - } - }, - "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read approval of the specified CertificateSigningRequest", - "operationId": "readCertificatesV1CertificateSigningRequestApproval", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update approval of the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1CertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace approval of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1CertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - } - }, - "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CertificateSigningRequest", - "operationId": "readCertificatesV1CertificateSigningRequestStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1CertificateSigningRequestStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1CertificateSigningRequestStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - } - }, - "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCertificatesV1CertificateSigningRequestList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCertificatesV1CertificateSigningRequest", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCertificatesV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ] - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CertificateSigningRequest", - "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CertificateSigningRequest", - "operationId": "listCertificatesV1beta1CertificateSigningRequest", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequestList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CertificateSigningRequest", - "operationId": "createCertificatesV1beta1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CertificateSigningRequest", - "operationId": "deleteCertificatesV1beta1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequest", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequest", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read approval of the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequestApproval", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update approval of the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace approval of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestApproval", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - } - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified CertificateSigningRequest", - "operationId": "readCertificatesV1beta1CertificateSigningRequestStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified CertificateSigningRequest", - "operationId": "patchCertificatesV1beta1CertificateSigningRequestStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified CertificateSigningRequest", - "operationId": "replaceCertificatesV1beta1CertificateSigningRequestStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - } - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCertificatesV1beta1CertificateSigningRequestList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCertificatesV1beta1CertificateSigningRequest", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "certificates_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CertificateSigningRequest", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getCoordinationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination" - ] - } - }, - "/apis/coordination.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCoordinationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ] - } - }, - "/apis/coordination.k8s.io/v1/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1LeaseForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Lease", - "operationId": "deleteCoordinationV1CollectionNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1NamespacedLease", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Lease", - "operationId": "createCoordinationV1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - } - }, - "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Lease", - "operationId": "deleteCoordinationV1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Lease", - "operationId": "readCoordinationV1NamespacedLease", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Lease", - "operationId": "patchCoordinationV1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Lease", - "operationId": "replaceCoordinationV1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - } - }, - "/apis/coordination.k8s.io/v1/watch/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1LeaseListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1NamespacedLeaseList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoordinationV1NamespacedLease", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getCoordinationV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ] - } - }, - "/apis/coordination.k8s.io/v1beta1/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1beta1LeaseForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Lease", - "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Lease", - "operationId": "listCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.LeaseList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Lease", - "operationId": "createCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - } - }, - "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Lease", - "operationId": "deleteCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Lease", - "operationId": "readCoordinationV1beta1NamespacedLease", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Lease", - "operationId": "patchCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Lease", - "operationId": "replaceCoordinationV1beta1NamespacedLease", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - } - }, - "/apis/coordination.k8s.io/v1beta1/watch/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1beta1LeaseListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchCoordinationV1beta1NamespacedLeaseList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchCoordinationV1beta1NamespacedLease", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "coordination_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "coordination.k8s.io", - "kind": "Lease", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Lease", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getDiscoveryAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery" - ] - } - }, - "/apis/discovery.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getDiscoveryV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ] - } - }, - "/apis/discovery.k8s.io/v1/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1EndpointSliceForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteDiscoveryV1CollectionNamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1NamespacedEndpointSlice", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an EndpointSlice", - "operationId": "createDiscoveryV1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - } - }, - "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an EndpointSlice", - "operationId": "deleteDiscoveryV1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified EndpointSlice", - "operationId": "readDiscoveryV1NamespacedEndpointSlice", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the EndpointSlice", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchDiscoveryV1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceDiscoveryV1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - } - }, - "/apis/discovery.k8s.io/v1/watch/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1EndpointSliceListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1NamespacedEndpointSliceList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchDiscoveryV1NamespacedEndpointSlice", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the EndpointSlice", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getDiscoveryV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ] - } - }, - "/apis/discovery.k8s.io/v1beta1/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1beta1EndpointSliceForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1beta1NamespacedEndpointSlice", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an EndpointSlice", - "operationId": "createDiscoveryV1beta1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - } - }, - "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an EndpointSlice", - "operationId": "deleteDiscoveryV1beta1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified EndpointSlice", - "operationId": "readDiscoveryV1beta1NamespacedEndpointSlice", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the EndpointSlice", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchDiscoveryV1beta1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceDiscoveryV1beta1NamespacedEndpointSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - } - }, - "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1beta1EndpointSliceListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1beta1NamespacedEndpointSliceList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchDiscoveryV1beta1NamespacedEndpointSlice", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the EndpointSlice", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getEventsAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events" - ] - } - }, - "/apis/events.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getEventsV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ] - } - }, - "/apis/events.k8s.io/v1/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1EventForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1/namespaces/{namespace}/events": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Event", - "operationId": "deleteEventsV1CollectionNamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1NamespacedEvent", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Event", - "operationId": "createEventsV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - } - }, - "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Event", - "operationId": "deleteEventsV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Event", - "operationId": "readEventsV1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Event", - "operationId": "patchEventsV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Event", - "operationId": "replaceEventsV1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - } - }, - "/apis/events.k8s.io/v1/watch/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1EventListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1NamespacedEventList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchEventsV1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getEventsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ] - } - }, - "/apis/events.k8s.io/v1beta1/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1beta1EventForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Event", - "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1beta1NamespacedEvent", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.EventList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Event", - "operationId": "createEventsV1beta1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - } - }, - "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Event", - "operationId": "deleteEventsV1beta1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Event", - "operationId": "readEventsV1beta1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Event", - "operationId": "patchEventsV1beta1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Event", - "operationId": "replaceEventsV1beta1NamespacedEvent", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - } - }, - "/apis/events.k8s.io/v1beta1/watch/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1beta1EventListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1beta1NamespacedEventList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchEventsV1beta1NamespacedEvent", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "events_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Event", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getExtensionsAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions" - ] - } - }, - "/apis/extensions/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getExtensionsV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ] - } - }, - "/apis/extensions/v1beta1/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listExtensionsV1beta1IngressForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Ingress", - "operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listExtensionsV1beta1NamespacedIngress", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Ingress", - "operationId": "createExtensionsV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Ingress", - "operationId": "deleteExtensionsV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Ingress", - "operationId": "readExtensionsV1beta1NamespacedIngress", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Ingress", - "operationId": "patchExtensionsV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Ingress", - "operationId": "replaceExtensionsV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Ingress", - "operationId": "readExtensionsV1beta1NamespacedIngressStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchExtensionsV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Ingress", - "operationId": "replaceExtensionsV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/extensions/v1beta1/watch/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1IngressListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchExtensionsV1beta1NamespacedIngressList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchExtensionsV1beta1NamespacedIngress", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getFlowcontrolApiserverAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver" - ] - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getFlowcontrolApiserverV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ] - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1beta1CollectionFlowSchema", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowcontrolApiserverV1beta1FlowSchema", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchemaList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a FlowSchema", - "operationId": "createFlowcontrolApiserverV1beta1FlowSchema", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1beta1FlowSchema", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1beta1FlowSchema", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1beta1FlowSchema", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1beta1FlowSchema", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1beta1FlowSchemaStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1beta1FlowSchemaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1beta1FlowSchemaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1beta1CollectionPriorityLevelConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PriorityLevelConfiguration", - "operationId": "createFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PriorityLevelConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PriorityLevelConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/flowschemas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1beta1FlowSchemaList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/flowschemas/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1beta1FlowSchema", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/prioritylevelconfigurations": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1beta1PriorityLevelConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta1/watch/prioritylevelconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1beta1PriorityLevelConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PriorityLevelConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getNetworkingAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking" - ] - } - }, - "/apis/networking.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getNetworkingV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ] - } - }, - "/apis/networking.k8s.io/v1/ingressclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of IngressClass", - "operationId": "deleteNetworkingV1CollectionIngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind IngressClass", - "operationId": "listNetworkingV1IngressClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an IngressClass", - "operationId": "createNetworkingV1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/ingressclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an IngressClass", - "operationId": "deleteNetworkingV1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified IngressClass", - "operationId": "readNetworkingV1IngressClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the IngressClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified IngressClass", - "operationId": "patchNetworkingV1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified IngressClass", - "operationId": "replaceNetworkingV1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNetworkingV1IngressForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Ingress", - "operationId": "deleteNetworkingV1CollectionNamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNetworkingV1NamespacedIngress", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Ingress", - "operationId": "createNetworkingV1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Ingress", - "operationId": "deleteNetworkingV1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Ingress", - "operationId": "readNetworkingV1NamespacedIngress", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Ingress", - "operationId": "patchNetworkingV1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Ingress", - "operationId": "replaceNetworkingV1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Ingress", - "operationId": "readNetworkingV1NamespacedIngressStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNetworkingV1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNetworkingV1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a NetworkPolicy", - "operationId": "createNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified NetworkPolicy", - "operationId": "readNetworkingV1NamespacedNetworkPolicy", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/ingressclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1IngressClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1IngressClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the IngressClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1IngressListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NamespacedIngressList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1NamespacedIngress", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1NamespacedNetworkPolicy", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getNetworkingV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ] - } - }, - "/apis/networking.k8s.io/v1beta1/ingressclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of IngressClass", - "operationId": "deleteNetworkingV1beta1CollectionIngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind IngressClass", - "operationId": "listNetworkingV1beta1IngressClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an IngressClass", - "operationId": "createNetworkingV1beta1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - } - }, - "/apis/networking.k8s.io/v1beta1/ingressclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an IngressClass", - "operationId": "deleteNetworkingV1beta1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified IngressClass", - "operationId": "readNetworkingV1beta1IngressClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the IngressClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified IngressClass", - "operationId": "patchNetworkingV1beta1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified IngressClass", - "operationId": "replaceNetworkingV1beta1IngressClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - } - }, - "/apis/networking.k8s.io/v1beta1/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNetworkingV1beta1IngressForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Ingress", - "operationId": "deleteNetworkingV1beta1CollectionNamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNetworkingV1beta1NamespacedIngress", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create an Ingress", - "operationId": "createNetworkingV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete an Ingress", - "operationId": "deleteNetworkingV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Ingress", - "operationId": "readNetworkingV1beta1NamespacedIngress", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Ingress", - "operationId": "patchNetworkingV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Ingress", - "operationId": "replaceNetworkingV1beta1NamespacedIngress", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified Ingress", - "operationId": "readNetworkingV1beta1NamespacedIngressStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNetworkingV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNetworkingV1beta1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - } - }, - "/apis/networking.k8s.io/v1beta1/watch/ingressclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1beta1IngressClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/watch/ingressclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1beta1IngressClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the IngressClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/watch/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1beta1IngressListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1beta1NamespacedIngressList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1beta1NamespacedIngress", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/node.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getNodeAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node" - ] - } - }, - "/apis/node.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getNodeV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ] - } - }, - "/apis/node.k8s.io/v1/runtimeclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of RuntimeClass", - "operationId": "deleteNodeV1CollectionRuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RuntimeClass", - "operationId": "listNodeV1RuntimeClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a RuntimeClass", - "operationId": "createNodeV1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - } - }, - "/apis/node.k8s.io/v1/runtimeclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a RuntimeClass", - "operationId": "deleteNodeV1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified RuntimeClass", - "operationId": "readNodeV1RuntimeClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the RuntimeClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified RuntimeClass", - "operationId": "patchNodeV1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified RuntimeClass", - "operationId": "replaceNodeV1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - } - }, - "/apis/node.k8s.io/v1/watch/runtimeclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNodeV1RuntimeClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNodeV1RuntimeClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RuntimeClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/node.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getNodeV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ] - } - }, - "/apis/node.k8s.io/v1beta1/runtimeclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of RuntimeClass", - "operationId": "deleteNodeV1beta1CollectionRuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RuntimeClass", - "operationId": "listNodeV1beta1RuntimeClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a RuntimeClass", - "operationId": "createNodeV1beta1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - } - }, - "/apis/node.k8s.io/v1beta1/runtimeclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a RuntimeClass", - "operationId": "deleteNodeV1beta1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified RuntimeClass", - "operationId": "readNodeV1beta1RuntimeClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the RuntimeClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified RuntimeClass", - "operationId": "patchNodeV1beta1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified RuntimeClass", - "operationId": "replaceNodeV1beta1RuntimeClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - } - }, - "/apis/node.k8s.io/v1beta1/watch/runtimeclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNodeV1beta1RuntimeClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/node.k8s.io/v1beta1/watch/runtimeclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNodeV1beta1RuntimeClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "node_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RuntimeClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getPolicyAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy" - ] - } - }, - "/apis/policy/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getPolicyV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ] - } - }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PodDisruptionBudget", - "operationId": "deletePolicyV1CollectionNamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodDisruptionBudget", - "operationId": "listPolicyV1NamespacedPodDisruptionBudget", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PodDisruptionBudget", - "operationId": "createPolicyV1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - } - }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PodDisruptionBudget", - "operationId": "deletePolicyV1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodDisruptionBudget", - "operationId": "readPolicyV1NamespacedPodDisruptionBudget", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PodDisruptionBudget", - "operationId": "patchPolicyV1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PodDisruptionBudget", - "operationId": "replacePolicyV1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - } - }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified PodDisruptionBudget", - "operationId": "readPolicyV1NamespacedPodDisruptionBudgetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified PodDisruptionBudget", - "operationId": "patchPolicyV1NamespacedPodDisruptionBudgetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified PodDisruptionBudget", - "operationId": "replacePolicyV1NamespacedPodDisruptionBudgetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - } - }, - "/apis/policy/v1/poddisruptionbudgets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodDisruptionBudget", - "operationId": "listPolicyV1PodDisruptionBudgetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchPolicyV1NamespacedPodDisruptionBudgetList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchPolicyV1NamespacedPodDisruptionBudget", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1/watch/poddisruptionbudgets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchPolicyV1PodDisruptionBudgetListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getPolicyV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ] - } - }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PodDisruptionBudget", - "operationId": "deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodDisruptionBudget", - "operationId": "listPolicyV1beta1NamespacedPodDisruptionBudget", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PodDisruptionBudget", - "operationId": "createPolicyV1beta1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - } - }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PodDisruptionBudget", - "operationId": "deletePolicyV1beta1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodDisruptionBudget", - "operationId": "readPolicyV1beta1NamespacedPodDisruptionBudget", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PodDisruptionBudget", - "operationId": "patchPolicyV1beta1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PodDisruptionBudget", - "operationId": "replacePolicyV1beta1NamespacedPodDisruptionBudget", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - } - }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified PodDisruptionBudget", - "operationId": "readPolicyV1beta1NamespacedPodDisruptionBudgetStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified PodDisruptionBudget", - "operationId": "patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified PodDisruptionBudget", - "operationId": "replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - } - }, - "/apis/policy/v1beta1/poddisruptionbudgets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodDisruptionBudget", - "operationId": "listPolicyV1beta1PodDisruptionBudgetForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudgetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1beta1/podsecuritypolicies": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PodSecurityPolicy", - "operationId": "deletePolicyV1beta1CollectionPodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodSecurityPolicy", - "operationId": "listPolicyV1beta1PodSecurityPolicy", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PodSecurityPolicy", - "operationId": "createPolicyV1beta1PodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - } - }, - "/apis/policy/v1beta1/podsecuritypolicies/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PodSecurityPolicy", - "operationId": "deletePolicyV1beta1PodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PodSecurityPolicy", - "operationId": "readPolicyV1beta1PodSecurityPolicy", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PodSecurityPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PodSecurityPolicy", - "operationId": "patchPolicyV1beta1PodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PodSecurityPolicy", - "operationId": "replacePolicyV1beta1PodSecurityPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - } - }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchPolicyV1beta1NamespacedPodDisruptionBudgetList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchPolicyV1beta1NamespacedPodDisruptionBudget", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1beta1/watch/poddisruptionbudgets": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1beta1/watch/podsecuritypolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchPolicyV1beta1PodSecurityPolicyList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PodSecurityPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchPolicyV1beta1PodSecurityPolicy", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodSecurityPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getRbacAuthorizationAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization" - ] - } - }, - "/apis/rbac.authorization.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getRbacAuthorizationV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ] - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ClusterRoleBinding", - "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ClusterRoleBinding", - "operationId": "listRbacAuthorizationV1ClusterRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ClusterRoleBinding", - "operationId": "createRbacAuthorizationV1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ClusterRoleBinding", - "operationId": "deleteRbacAuthorizationV1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ClusterRoleBinding", - "operationId": "readRbacAuthorizationV1ClusterRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ClusterRoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ClusterRoleBinding", - "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ClusterRoleBinding", - "operationId": "replaceRbacAuthorizationV1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ClusterRole", - "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ClusterRole", - "operationId": "listRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ClusterRole", - "operationId": "createRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ClusterRole", - "operationId": "deleteRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ClusterRole", - "operationId": "readRbacAuthorizationV1ClusterRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ClusterRole", - "operationId": "patchRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ClusterRole", - "operationId": "replaceRbacAuthorizationV1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of RoleBinding", - "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a RoleBinding", - "operationId": "createRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a RoleBinding", - "operationId": "deleteRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified RoleBinding", - "operationId": "readRbacAuthorizationV1NamespacedRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified RoleBinding", - "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified RoleBinding", - "operationId": "replaceRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Role", - "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Role", - "operationId": "createRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Role", - "operationId": "deleteRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Role", - "operationId": "readRbacAuthorizationV1NamespacedRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Role", - "operationId": "patchRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Role", - "operationId": "replaceRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1RoleBindingForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1RoleForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1ClusterRoleBindingList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1ClusterRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ClusterRoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1ClusterRoleList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1ClusterRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1NamespacedRoleBindingList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1NamespacedRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1NamespacedRoleList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1NamespacedRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1RoleBindingListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1RoleListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getRbacAuthorizationV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ] - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ClusterRoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ClusterRoleBinding", - "operationId": "listRbacAuthorizationV1beta1ClusterRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ClusterRoleBinding", - "operationId": "createRbacAuthorizationV1beta1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ClusterRoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ClusterRoleBinding", - "operationId": "readRbacAuthorizationV1beta1ClusterRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the ClusterRoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ClusterRoleBinding", - "operationId": "patchRbacAuthorizationV1beta1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ClusterRoleBinding", - "operationId": "replaceRbacAuthorizationV1beta1ClusterRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ClusterRole", - "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ClusterRole", - "operationId": "listRbacAuthorizationV1beta1ClusterRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ClusterRole", - "operationId": "createRbacAuthorizationV1beta1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ClusterRole", - "operationId": "deleteRbacAuthorizationV1beta1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ClusterRole", - "operationId": "readRbacAuthorizationV1beta1ClusterRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ClusterRole", - "operationId": "patchRbacAuthorizationV1beta1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ClusterRole", - "operationId": "replaceRbacAuthorizationV1beta1ClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of RoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1beta1NamespacedRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a RoleBinding", - "operationId": "createRbacAuthorizationV1beta1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a RoleBinding", - "operationId": "deleteRbacAuthorizationV1beta1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified RoleBinding", - "operationId": "readRbacAuthorizationV1beta1NamespacedRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified RoleBinding", - "operationId": "patchRbacAuthorizationV1beta1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified RoleBinding", - "operationId": "replaceRbacAuthorizationV1beta1NamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Role", - "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Role", - "operationId": "createRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Role", - "operationId": "deleteRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Role", - "operationId": "readRbacAuthorizationV1beta1NamespacedRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Role", - "operationId": "patchRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Role", - "operationId": "replaceRbacAuthorizationV1beta1NamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - } - }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRbacAuthorizationV1beta1RoleBindingForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRbacAuthorizationV1beta1RoleForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBindingList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ClusterRoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRoleList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1ClusterRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBindingList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRoleList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchRbacAuthorizationV1beta1NamespacedRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1RoleBindingListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchRbacAuthorizationV1beta1RoleListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/scheduling.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getSchedulingAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ] - } - }, - "/apis/scheduling.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getSchedulingV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ] - } - }, - "/apis/scheduling.k8s.io/v1/priorityclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PriorityClass", - "operationId": "deleteSchedulingV1CollectionPriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PriorityClass", - "operationId": "listSchedulingV1PriorityClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PriorityClass", - "operationId": "createSchedulingV1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - } - }, - "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PriorityClass", - "operationId": "deleteSchedulingV1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PriorityClass", - "operationId": "readSchedulingV1PriorityClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the PriorityClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PriorityClass", - "operationId": "patchSchedulingV1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PriorityClass", - "operationId": "replaceSchedulingV1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - } - }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSchedulingV1PriorityClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSchedulingV1PriorityClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PriorityClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/scheduling.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getSchedulingV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ] - } - }, - "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PriorityClass", - "operationId": "deleteSchedulingV1beta1CollectionPriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PriorityClass", - "operationId": "listSchedulingV1beta1PriorityClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a PriorityClass", - "operationId": "createSchedulingV1beta1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - } - }, - "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a PriorityClass", - "operationId": "deleteSchedulingV1beta1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified PriorityClass", - "operationId": "readSchedulingV1beta1PriorityClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the PriorityClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified PriorityClass", - "operationId": "patchSchedulingV1beta1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified PriorityClass", - "operationId": "replaceSchedulingV1beta1PriorityClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - } - }, - "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSchedulingV1beta1PriorityClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSchedulingV1beta1PriorityClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PriorityClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getStorageAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage" - ] - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getStorageV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ] - } - }, - "/apis/storage.k8s.io/v1/csidrivers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CSIDriver", - "operationId": "deleteStorageV1CollectionCSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CSIDriver", - "operationId": "listStorageV1CSIDriver", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CSIDriver", - "operationId": "createStorageV1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/csidrivers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CSIDriver", - "operationId": "deleteStorageV1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CSIDriver", - "operationId": "readStorageV1CSIDriver", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CSIDriver", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CSIDriver", - "operationId": "patchStorageV1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CSIDriver", - "operationId": "replaceStorageV1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/csinodes": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CSINode", - "operationId": "deleteStorageV1CollectionCSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CSINode", - "operationId": "listStorageV1CSINode", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CSINode", - "operationId": "createStorageV1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/csinodes/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CSINode", - "operationId": "deleteStorageV1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CSINode", - "operationId": "readStorageV1CSINode", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the CSINode", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CSINode", - "operationId": "patchStorageV1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CSINode", - "operationId": "replaceStorageV1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/storageclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of StorageClass", - "operationId": "deleteStorageV1CollectionStorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StorageClass", - "operationId": "listStorageV1StorageClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a StorageClass", - "operationId": "createStorageV1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/storageclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a StorageClass", - "operationId": "deleteStorageV1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified StorageClass", - "operationId": "readStorageV1StorageClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the StorageClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified StorageClass", - "operationId": "patchStorageV1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified StorageClass", - "operationId": "replaceStorageV1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/volumeattachments": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of VolumeAttachment", - "operationId": "deleteStorageV1CollectionVolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind VolumeAttachment", - "operationId": "listStorageV1VolumeAttachment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a VolumeAttachment", - "operationId": "createStorageV1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/volumeattachments/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a VolumeAttachment", - "operationId": "deleteStorageV1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified VolumeAttachment", - "operationId": "readStorageV1VolumeAttachment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified VolumeAttachment", - "operationId": "patchStorageV1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified VolumeAttachment", - "operationId": "replaceStorageV1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified VolumeAttachment", - "operationId": "readStorageV1VolumeAttachmentStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified VolumeAttachment", - "operationId": "patchStorageV1VolumeAttachmentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified VolumeAttachment", - "operationId": "replaceStorageV1VolumeAttachmentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - } - }, - "/apis/storage.k8s.io/v1/watch/csidrivers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1CSIDriverList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1CSIDriver", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CSIDriver", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csinodes": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1CSINodeList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1CSINode", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CSINode", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/storageclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1StorageClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1StorageClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StorageClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/volumeattachments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1VolumeAttachmentList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1VolumeAttachment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getStorageV1beta1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ] - } - }, - "/apis/storage.k8s.io/v1beta1/csidrivers": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CSIDriver", - "operationId": "deleteStorageV1beta1CollectionCSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CSIDriver", - "operationId": "listStorageV1beta1CSIDriver", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriverList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CSIDriver", - "operationId": "createStorageV1beta1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/csidrivers/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CSIDriver", - "operationId": "deleteStorageV1beta1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CSIDriver", - "operationId": "readStorageV1beta1CSIDriver", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CSIDriver", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CSIDriver", - "operationId": "patchStorageV1beta1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CSIDriver", - "operationId": "replaceStorageV1beta1CSIDriver", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/csinodes": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CSINode", - "operationId": "deleteStorageV1beta1CollectionCSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CSINode", - "operationId": "listStorageV1beta1CSINode", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINodeList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CSINode", - "operationId": "createStorageV1beta1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/csinodes/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CSINode", - "operationId": "deleteStorageV1beta1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CSINode", - "operationId": "readStorageV1beta1CSINode", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CSINode", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CSINode", - "operationId": "patchStorageV1beta1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CSINode", - "operationId": "replaceStorageV1beta1CSINode", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/csistoragecapacities": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CSIStorageCapacity", - "operationId": "listStorageV1beta1CSIStorageCapacityForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacityList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/namespaces/{namespace}/csistoragecapacities": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of CSIStorageCapacity", - "operationId": "deleteStorageV1beta1CollectionNamespacedCSIStorageCapacity", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind CSIStorageCapacity", - "operationId": "listStorageV1beta1NamespacedCSIStorageCapacity", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacityList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a CSIStorageCapacity", - "operationId": "createStorageV1beta1NamespacedCSIStorageCapacity", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/namespaces/{namespace}/csistoragecapacities/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a CSIStorageCapacity", - "operationId": "deleteStorageV1beta1NamespacedCSIStorageCapacity", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified CSIStorageCapacity", - "operationId": "readStorageV1beta1NamespacedCSIStorageCapacity", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the CSIStorageCapacity", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified CSIStorageCapacity", - "operationId": "patchStorageV1beta1NamespacedCSIStorageCapacity", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified CSIStorageCapacity", - "operationId": "replaceStorageV1beta1NamespacedCSIStorageCapacity", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/storageclasses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of StorageClass", - "operationId": "deleteStorageV1beta1CollectionStorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind StorageClass", - "operationId": "listStorageV1beta1StorageClass", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a StorageClass", - "operationId": "createStorageV1beta1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/storageclasses/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a StorageClass", - "operationId": "deleteStorageV1beta1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified StorageClass", - "operationId": "readStorageV1beta1StorageClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the StorageClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified StorageClass", - "operationId": "patchStorageV1beta1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified StorageClass", - "operationId": "replaceStorageV1beta1StorageClass", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/volumeattachments": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of VolumeAttachment", - "operationId": "deleteStorageV1beta1CollectionVolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind VolumeAttachment", - "operationId": "listStorageV1beta1VolumeAttachment", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachmentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a VolumeAttachment", - "operationId": "createStorageV1beta1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a VolumeAttachment", - "operationId": "deleteStorageV1beta1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified VolumeAttachment", - "operationId": "readStorageV1beta1VolumeAttachment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified VolumeAttachment", - "operationId": "patchStorageV1beta1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified VolumeAttachment", - "operationId": "replaceStorageV1beta1VolumeAttachment", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - } - }, - "/apis/storage.k8s.io/v1beta1/watch/csidrivers": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1beta1CSIDriverList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/csidrivers/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1beta1CSIDriver", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CSIDriver", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/csinodes": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1beta1CSINodeList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/csinodes/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1beta1CSINode", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CSINode", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/csistoragecapacities": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1beta1CSIStorageCapacityListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/namespaces/{namespace}/csistoragecapacities": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1beta1NamespacedCSIStorageCapacityList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1beta1NamespacedCSIStorageCapacity", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the CSIStorageCapacity", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1beta1StorageClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1beta1StorageClass", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StorageClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/volumeattachments": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1beta1VolumeAttachmentList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1beta1VolumeAttachment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1beta1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/logs/": { - "get": { - "operationId": "logFileListHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "logs" - ] - } - }, - "/logs/{logpath}": { - "get": { - "operationId": "logFileHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "logs" - ] - }, - "parameters": [ - { - "description": "path to the log", - "in": "path", - "name": "logpath", - "required": true, - "type": "string", - "uniqueItems": true - } - ] - }, - "/openid/v1/jwks/": { - "get": { - "description": "get service account issuer OpenID JSON Web Key Set (contains public token verification keys)", - "operationId": "getServiceAccountIssuerOpenIDKeyset", - "produces": [ - "application/jwk-set+json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "openid" - ] - } - }, - "/version/": { - "get": { - "consumes": [ - "application/json" - ], - "description": "get the code version", - "operationId": "getCodeVersion", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.version.Info" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "version" - ] - } - } - }, - "security": [ - { - "BearerToken": [] - } - ], - "securityDefinitions": { - "BearerToken": { - "description": "Bearer Token authentication", - "in": "header", - "name": "authorization", - "type": "apiKey" - } - }, - "swagger": "2.0" -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.go b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.go deleted file mode 100644 index 4f4ec3e4..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.go +++ /dev/null @@ -1,249 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Code generated for package kustomizationapi by go-bindata DO NOT EDIT. (@generated) -// sources: -// kustomizationapi/swagger.json -package kustomizationapi - -import ( - "bytes" - "compress/gzip" - "fmt" - "io" - "io/ioutil" - "os" - "path/filepath" - "strings" - "time" -) - -func bindataRead(data []byte, name string) ([]byte, error) { - gz, err := gzip.NewReader(bytes.NewBuffer(data)) - if err != nil { - return nil, fmt.Errorf("Read %q: %v", name, err) - } - - var buf bytes.Buffer - _, err = io.Copy(&buf, gz) - clErr := gz.Close() - - if err != nil { - return nil, fmt.Errorf("Read %q: %v", name, err) - } - if clErr != nil { - return nil, err - } - - return buf.Bytes(), nil -} - -type asset struct { - bytes []byte - info os.FileInfo -} - -type bindataFileInfo struct { - name string - size int64 - mode os.FileMode - modTime time.Time -} - -// Name return file name -func (fi bindataFileInfo) Name() string { - return fi.name -} - -// Size return file size -func (fi bindataFileInfo) Size() int64 { - return fi.size -} - -// Mode return file mode -func (fi bindataFileInfo) Mode() os.FileMode { - return fi.mode -} - -// Mode return file modify time -func (fi bindataFileInfo) ModTime() time.Time { - return fi.modTime -} - -// IsDir return file whether a directory -func (fi bindataFileInfo) IsDir() bool { - return fi.mode&os.ModeDir != 0 -} - -// Sys return file is sys mode -func (fi bindataFileInfo) Sys() interface{} { - return nil -} - -var _kustomizationapiSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x56\xc1\x6e\xdb\x30\x0c\xbd\xe7\x2b\x04\x6d\xc7\xd8\x45\x6e\x43\x6e\xc3\x0e\x3b\x14\x05\x0a\x74\xb7\xa1\x07\xc6\xa1\x5d\xce\x8e\xa4\x51\xb4\xb1\x6c\xc8\xbf\x0f\xd6\x62\xd7\x4a\xec\x75\x0b\x1a\xac\x4b\x0f\x06\x0c\x99\x7c\x4f\xe4\x7b\x24\xfc\x63\xa6\x94\x5e\x63\x4e\x86\x84\xac\xf1\x7a\xa9\xda\x23\xa5\x34\xd9\xb4\x7c\xe7\x53\x70\x94\x82\x73\x3e\x6d\x16\xe9\x07\x6b\x72\x2a\x6e\xc0\xbd\xe7\xe2\x31\x52\x29\xed\xd8\x3a\x64\x21\x1c\x9e\x2a\xa5\x3f\xa2\x41\x06\xb1\x7c\x90\x10\x3e\xbe\x65\xcc\xf5\x52\xe9\x37\x57\x03\xfe\xab\x11\xda\x18\xa5\x87\xd8\xed\xdf\x76\xf3\xee\x1a\xb0\x5e\x07\x14\xa8\x6e\x87\x17\xca\xa1\xf2\xd8\x07\xc9\xd6\x61\x4b\x6b\x57\x5f\x30\x13\xdd\x9f\x7f\x4b\xca\x7a\x85\x6c\x50\xd0\x27\x05\xdb\xda\x25\x0d\xb2\x27\x6b\x92\x92\xcc\x5a\x2f\xd5\xe7\x9e\x3a\xaa\x23\xc4\xb6\x88\x65\xed\xc5\x6e\xe8\x3b\xa6\x59\x68\x54\x28\x84\x6c\x4f\x11\xa2\xf7\x58\x3a\xee\x65\x14\xb2\xa7\x6d\xa3\x9a\xc5\x0a\x05\x16\xc7\x45\xdf\xcf\x06\xa5\x8f\x69\x75\x87\x19\xa3\xbc\x0c\xa1\x1e\xab\xeb\xba\x1f\xe1\x77\x8a\x78\x61\x32\xc5\xa5\x08\x3c\x10\xe0\xf9\xd5\x9d\xd2\x6b\x52\x60\x03\x1b\xf4\x0e\xb2\x3f\x6f\xfe\x3c\x4e\x3e\x25\x6f\x85\x0f\xd0\x90\xe5\x53\x72\xaf\x9b\x5b\x20\xbe\xb3\x35\x67\x78\xba\x23\x63\x94\x0b\x71\x56\x2c\xfe\xf3\x9b\xeb\x7a\x7f\x19\x90\x5f\x50\xbd\xb9\x18\xbf\xd6\xc4\x18\x17\xa4\x3f\x6d\x1d\xde\xa0\x40\xc7\x74\x3f\x7f\xca\x8c\x59\xb7\xfb\xfa\x4a\x0e\x05\x26\xc1\xcd\xa1\xea\x7f\xa3\x7b\xbc\x5d\x07\x20\xbb\xf9\x98\x11\x81\x19\xb6\x71\x27\x23\x4d\x1d\x48\xf6\x90\x6c\x90\x0b\x4c\x4a\xdc\xb6\x29\x61\x26\x9e\xca\xf0\xc2\x20\x58\x84\x84\x90\x3d\xee\x75\x1f\x56\xc5\xd9\x9a\x31\xd8\x44\x2f\xb2\x13\xff\xf5\x30\xc6\xc3\x72\x86\x61\x9c\xd8\x83\x93\xc3\x55\x91\x20\x43\x75\xb4\x33\x27\x5c\x34\xb5\x8b\x7f\x6f\x90\x51\x1b\xe7\x54\x1d\xaf\xea\xf3\xd3\xa2\x69\xfe\x0d\xeb\xeb\xf8\x8f\x89\x0d\x78\xaa\xc1\x67\xed\xb3\xfb\x19\x00\x00\xff\xff\x2f\x39\x79\xd0\x6e\x0c\x00\x00") - -func kustomizationapiSwaggerJsonBytes() ([]byte, error) { - return bindataRead( - _kustomizationapiSwaggerJson, - "kustomizationapi/swagger.json", - ) -} - -func kustomizationapiSwaggerJson() (*asset, error) { - bytes, err := kustomizationapiSwaggerJsonBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "kustomizationapi/swagger.json", size: 3182, mode: os.FileMode(420), modTime: time.Unix(1615228558, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -// Asset loads and returns the asset for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. -func Asset(name string) ([]byte, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { - a, err := f() - if err != nil { - return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) - } - return a.bytes, nil - } - return nil, fmt.Errorf("Asset %s not found", name) -} - -// MustAsset is like Asset but panics when Asset would return an error. -// It simplifies safe initialization of global variables. -func MustAsset(name string) []byte { - a, err := Asset(name) - if err != nil { - panic("asset: Asset(" + name + "): " + err.Error()) - } - - return a -} - -// AssetInfo loads and returns the asset info for the given name. -// It returns an error if the asset could not be found or -// could not be loaded. -func AssetInfo(name string) (os.FileInfo, error) { - cannonicalName := strings.Replace(name, "\\", "/", -1) - if f, ok := _bindata[cannonicalName]; ok { - a, err := f() - if err != nil { - return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) - } - return a.info, nil - } - return nil, fmt.Errorf("AssetInfo %s not found", name) -} - -// AssetNames returns the names of the assets. -func AssetNames() []string { - names := make([]string, 0, len(_bindata)) - for name := range _bindata { - names = append(names, name) - } - return names -} - -// _bindata is a table, holding each asset generator, mapped to its name. -var _bindata = map[string]func() (*asset, error){ - "kustomizationapi/swagger.json": kustomizationapiSwaggerJson, -} - -// AssetDir returns the file names below a certain -// directory embedded in the file by go-bindata. -// For example if you run go-bindata on data/... and data contains the -// following hierarchy: -// data/ -// foo.txt -// img/ -// a.png -// b.png -// then AssetDir("data") would return []string{"foo.txt", "img"} -// AssetDir("data/img") would return []string{"a.png", "b.png"} -// AssetDir("foo.txt") and AssetDir("notexist") would return an error -// AssetDir("") will return []string{"data"}. -func AssetDir(name string) ([]string, error) { - node := _bintree - if len(name) != 0 { - cannonicalName := strings.Replace(name, "\\", "/", -1) - pathList := strings.Split(cannonicalName, "/") - for _, p := range pathList { - node = node.Children[p] - if node == nil { - return nil, fmt.Errorf("Asset %s not found", name) - } - } - } - if node.Func != nil { - return nil, fmt.Errorf("Asset %s not found", name) - } - rv := make([]string, 0, len(node.Children)) - for childName := range node.Children { - rv = append(rv, childName) - } - return rv, nil -} - -type bintree struct { - Func func() (*asset, error) - Children map[string]*bintree -} - -var _bintree = &bintree{nil, map[string]*bintree{ - "kustomizationapi": &bintree{nil, map[string]*bintree{ - "swagger.json": &bintree{kustomizationapiSwaggerJson, map[string]*bintree{}}, - }}, -}} - -// RestoreAsset restores an asset under the given directory -func RestoreAsset(dir, name string) error { - data, err := Asset(name) - if err != nil { - return err - } - info, err := AssetInfo(name) - if err != nil { - return err - } - err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755)) - if err != nil { - return err - } - err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) - if err != nil { - return err - } - err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) - if err != nil { - return err - } - return nil -} - -// RestoreAssets restores an asset under the given directory recursively -func RestoreAssets(dir, name string) error { - children, err := AssetDir(name) - // File - if err != nil { - return RestoreAsset(dir, name) - } - // Dir - for _, child := range children { - err = RestoreAssets(dir, filepath.Join(name, child)) - if err != nil { - return err - } - } - return nil -} - -func _filePath(dir, name string) string { - cannonicalName := strings.Replace(name, "\\", "/", -1) - return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.json b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.json deleted file mode 100644 index 7441a5ee..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi/swagger.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "definitions": { - "io.k8s.api.apps.v1.ConfigMapArgs": { - "properties": { - "GeneratorArgs": { - "$ref": "#/definitions/io.k8s.api.apps.v1.GeneratorArgs" - } - }, - "additionalProperties": false, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "kustomize.config.k8s.io", - "kind": "ConfigMapArgs", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.apps.v1.SecretArgs": { - "properties": { - "GeneratorArgs": { - "$ref": "#/definitions/io.k8s.api.apps.v1.GeneratorArgs" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "kustomize.config.k8s.io", - "kind": "SecretArgs", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.apps.v1.GeneratorArgs": { - "properties": { - "namespace": { - "type": "string" - }, - "name": { - "type": "string" - }, - "behavior": { - "type": "string" - }, - "KvPairSources": { - "$ref": "#/definitions/io.k8s.api.apps.v1.KvPairSources" - } - }, - "additionalProperties": false, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "kustomize.config.k8s.io", - "kind": "GeneratorArgs", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.apps.v1.Kustomization": { - "required": [ - "TypeMeta" - ], - "properties": { - "configMapGenerator": { - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.ConfigMapArgs" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, - "secretGenerator": { - "items": { - "$ref": "#/definitions/io.k8s.api.apps.v1.SecretArgs" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - } - }, - "additionalProperties": false, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "kustomize.config.k8s.io", - "kind": "Kustomization", - "version": "v1beta1" - } - ] - }, - "io.k8s.api.apps.v1.KvPairSources": { - "properties": { - "literals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "files": { - "items": { - "type": "string" - }, - "type": "array" - }, - "envs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "env": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "kustomize.config.k8s.io", - "kind": "KvPairSources", - "version": "v1beta1" - } - ] - } - } -} \ No newline at end of file diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/openapi.go b/vendor/sigs.k8s.io/kustomize/kyaml/openapi/openapi.go deleted file mode 100644 index 8b644166..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/openapi/openapi.go +++ /dev/null @@ -1,726 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package openapi - -import ( - "encoding/json" - "fmt" - "io/ioutil" - "path/filepath" - "reflect" - "strings" - - "k8s.io/kube-openapi/pkg/validation/spec" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi" - "sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi" - "sigs.k8s.io/kustomize/kyaml/yaml" - k8syaml "sigs.k8s.io/yaml" -) - -// globalSchema contains global state information about the openapi -var globalSchema openapiData - -// kubernetesOpenAPIVersion specifies which builtin kubernetes schema to use -var kubernetesOpenAPIVersion string - -// customSchemaFile stores the custom OpenApi schema if it is provided -var customSchema []byte - -// openapiData contains the parsed openapi state. this is in a struct rather than -// a list of vars so that it can be reset from tests. -type openapiData struct { - // schema holds the OpenAPI schema data - schema spec.Schema - - // schemaForResourceType is a map of Resource types to their schemas - schemaByResourceType map[yaml.TypeMeta]*spec.Schema - - // namespaceabilityByResourceType stores whether a given Resource type - // is namespaceable or not - namespaceabilityByResourceType map[yaml.TypeMeta]bool - - // noUseBuiltInSchema stores whether we want to prevent using the built-n - // Kubernetes schema as part of the global schema - noUseBuiltInSchema bool - - // schemaInit stores whether or not we've parsed the schema already, - // so that we only reparse the when necessary (to speed up performance) - schemaInit bool -} - -// precomputedIsNamespaceScoped precomputes IsNamespaceScoped for known types. This avoids Schema creation, -// which is expensive -// The test output from TestIsNamespaceScopedPrecompute shows the expected map in go syntax,and can be copy and pasted -// from the failure if it changes. -var precomputedIsNamespaceScoped = map[yaml.TypeMeta]bool{ - {APIVersion: "admissionregistration.k8s.io/v1", Kind: "MutatingWebhookConfiguration"}: false, - {APIVersion: "admissionregistration.k8s.io/v1", Kind: "ValidatingWebhookConfiguration"}: false, - {APIVersion: "admissionregistration.k8s.io/v1beta1", Kind: "MutatingWebhookConfiguration"}: false, - {APIVersion: "admissionregistration.k8s.io/v1beta1", Kind: "ValidatingWebhookConfiguration"}: false, - {APIVersion: "apiextensions.k8s.io/v1", Kind: "CustomResourceDefinition"}: false, - {APIVersion: "apiextensions.k8s.io/v1beta1", Kind: "CustomResourceDefinition"}: false, - {APIVersion: "apiregistration.k8s.io/v1", Kind: "APIService"}: false, - {APIVersion: "apiregistration.k8s.io/v1beta1", Kind: "APIService"}: false, - {APIVersion: "apps/v1", Kind: "ControllerRevision"}: true, - {APIVersion: "apps/v1", Kind: "DaemonSet"}: true, - {APIVersion: "apps/v1", Kind: "Deployment"}: true, - {APIVersion: "apps/v1", Kind: "ReplicaSet"}: true, - {APIVersion: "apps/v1", Kind: "StatefulSet"}: true, - {APIVersion: "autoscaling/v1", Kind: "HorizontalPodAutoscaler"}: true, - {APIVersion: "autoscaling/v1", Kind: "Scale"}: true, - {APIVersion: "autoscaling/v2beta1", Kind: "HorizontalPodAutoscaler"}: true, - {APIVersion: "autoscaling/v2beta2", Kind: "HorizontalPodAutoscaler"}: true, - {APIVersion: "batch/v1", Kind: "CronJob"}: true, - {APIVersion: "batch/v1", Kind: "Job"}: true, - {APIVersion: "batch/v1beta1", Kind: "CronJob"}: true, - {APIVersion: "certificates.k8s.io/v1", Kind: "CertificateSigningRequest"}: false, - {APIVersion: "certificates.k8s.io/v1beta1", Kind: "CertificateSigningRequest"}: false, - {APIVersion: "coordination.k8s.io/v1", Kind: "Lease"}: true, - {APIVersion: "coordination.k8s.io/v1beta1", Kind: "Lease"}: true, - {APIVersion: "discovery.k8s.io/v1", Kind: "EndpointSlice"}: true, - {APIVersion: "discovery.k8s.io/v1beta1", Kind: "EndpointSlice"}: true, - {APIVersion: "events.k8s.io/v1", Kind: "Event"}: true, - {APIVersion: "events.k8s.io/v1beta1", Kind: "Event"}: true, - {APIVersion: "extensions/v1beta1", Kind: "Ingress"}: true, - {APIVersion: "flowcontrol.apiserver.k8s.io/v1beta1", Kind: "FlowSchema"}: false, - {APIVersion: "flowcontrol.apiserver.k8s.io/v1beta1", Kind: "PriorityLevelConfiguration"}: false, - {APIVersion: "networking.k8s.io/v1", Kind: "Ingress"}: true, - {APIVersion: "networking.k8s.io/v1", Kind: "IngressClass"}: false, - {APIVersion: "networking.k8s.io/v1", Kind: "NetworkPolicy"}: true, - {APIVersion: "networking.k8s.io/v1beta1", Kind: "Ingress"}: true, - {APIVersion: "networking.k8s.io/v1beta1", Kind: "IngressClass"}: false, - {APIVersion: "node.k8s.io/v1", Kind: "RuntimeClass"}: false, - {APIVersion: "node.k8s.io/v1beta1", Kind: "RuntimeClass"}: false, - {APIVersion: "policy/v1", Kind: "PodDisruptionBudget"}: true, - {APIVersion: "policy/v1beta1", Kind: "PodDisruptionBudget"}: true, - {APIVersion: "policy/v1beta1", Kind: "PodSecurityPolicy"}: false, - {APIVersion: "rbac.authorization.k8s.io/v1", Kind: "ClusterRole"}: false, - {APIVersion: "rbac.authorization.k8s.io/v1", Kind: "ClusterRoleBinding"}: false, - {APIVersion: "rbac.authorization.k8s.io/v1", Kind: "Role"}: true, - {APIVersion: "rbac.authorization.k8s.io/v1", Kind: "RoleBinding"}: true, - {APIVersion: "rbac.authorization.k8s.io/v1beta1", Kind: "ClusterRole"}: false, - {APIVersion: "rbac.authorization.k8s.io/v1beta1", Kind: "ClusterRoleBinding"}: false, - {APIVersion: "rbac.authorization.k8s.io/v1beta1", Kind: "Role"}: true, - {APIVersion: "rbac.authorization.k8s.io/v1beta1", Kind: "RoleBinding"}: true, - {APIVersion: "scheduling.k8s.io/v1", Kind: "PriorityClass"}: false, - {APIVersion: "scheduling.k8s.io/v1beta1", Kind: "PriorityClass"}: false, - {APIVersion: "storage.k8s.io/v1", Kind: "CSIDriver"}: false, - {APIVersion: "storage.k8s.io/v1", Kind: "CSINode"}: false, - {APIVersion: "storage.k8s.io/v1", Kind: "StorageClass"}: false, - {APIVersion: "storage.k8s.io/v1", Kind: "VolumeAttachment"}: false, - {APIVersion: "storage.k8s.io/v1beta1", Kind: "CSIDriver"}: false, - {APIVersion: "storage.k8s.io/v1beta1", Kind: "CSINode"}: false, - {APIVersion: "storage.k8s.io/v1beta1", Kind: "CSIStorageCapacity"}: true, - {APIVersion: "storage.k8s.io/v1beta1", Kind: "StorageClass"}: false, - {APIVersion: "storage.k8s.io/v1beta1", Kind: "VolumeAttachment"}: false, - {APIVersion: "v1", Kind: "ComponentStatus"}: false, - {APIVersion: "v1", Kind: "ConfigMap"}: true, - {APIVersion: "v1", Kind: "Endpoints"}: true, - {APIVersion: "v1", Kind: "Event"}: true, - {APIVersion: "v1", Kind: "LimitRange"}: true, - {APIVersion: "v1", Kind: "Namespace"}: false, - {APIVersion: "v1", Kind: "Node"}: false, - {APIVersion: "v1", Kind: "NodeProxyOptions"}: false, - {APIVersion: "v1", Kind: "PersistentVolume"}: false, - {APIVersion: "v1", Kind: "PersistentVolumeClaim"}: true, - {APIVersion: "v1", Kind: "Pod"}: true, - {APIVersion: "v1", Kind: "PodAttachOptions"}: true, - {APIVersion: "v1", Kind: "PodExecOptions"}: true, - {APIVersion: "v1", Kind: "PodPortForwardOptions"}: true, - {APIVersion: "v1", Kind: "PodProxyOptions"}: true, - {APIVersion: "v1", Kind: "PodTemplate"}: true, - {APIVersion: "v1", Kind: "ReplicationController"}: true, - {APIVersion: "v1", Kind: "ResourceQuota"}: true, - {APIVersion: "v1", Kind: "Secret"}: true, - {APIVersion: "v1", Kind: "Service"}: true, - {APIVersion: "v1", Kind: "ServiceAccount"}: true, - {APIVersion: "v1", Kind: "ServiceProxyOptions"}: true, -} - -// ResourceSchema wraps the OpenAPI Schema. -type ResourceSchema struct { - // Schema is the OpenAPI schema for a Resource or field - Schema *spec.Schema -} - -// IsEmpty returns true if the ResourceSchema is empty -func (rs *ResourceSchema) IsMissingOrNull() bool { - if rs == nil || rs.Schema == nil { - return true - } - return reflect.DeepEqual(*rs.Schema, spec.Schema{}) -} - -// SchemaForResourceType returns the Schema for the given Resource -// TODO(pwittrock): create a version of this function that will return a schema -// which can be used for duck-typed Resources -- e.g. contains common fields such -// as metadata, replicas and spec.template.spec -func SchemaForResourceType(t yaml.TypeMeta) *ResourceSchema { - initSchema() - rs, found := globalSchema.schemaByResourceType[t] - if !found { - return nil - } - return &ResourceSchema{Schema: rs} -} - -// SupplementaryOpenAPIFieldName is the conventional field name (JSON/YAML) containing -// supplementary OpenAPI definitions. -const SupplementaryOpenAPIFieldName = "openAPI" - -const Definitions = "definitions" - -// AddSchemaFromFile reads the file at path and parses the OpenAPI definitions -// from the field "openAPI", also returns a function to clean the added definitions -// The returned clean function is a no-op on error, or else it's a function -// that the caller should use to remove the added openAPI definitions from -// global schema -func SchemaFromFile(path string) (*spec.Schema, error) { - object, err := parseOpenAPI(path) - if err != nil { - return nil, err - } - - return schemaUsingField(object, SupplementaryOpenAPIFieldName) -} - -// DefinitionRefs returns the list of openAPI definition references present in the -// input openAPIPath -func DefinitionRefs(openAPIPath string) ([]string, error) { - object, err := parseOpenAPI(openAPIPath) - if err != nil { - return nil, err - } - return definitionRefsFromRNode(object) -} - -// definitionRefsFromRNode returns the list of openAPI definitions keys from input -// yaml RNode -func definitionRefsFromRNode(object *yaml.RNode) ([]string, error) { - definitions, err := object.Pipe(yaml.Lookup(SupplementaryOpenAPIFieldName, Definitions)) - if definitions == nil { - return nil, err - } - if err != nil { - return nil, err - } - return definitions.Fields() -} - -// parseOpenAPI reads openAPIPath yaml and converts it to RNode -func parseOpenAPI(openAPIPath string) (*yaml.RNode, error) { - b, err := ioutil.ReadFile(openAPIPath) - if err != nil { - return nil, err - } - - object, err := yaml.Parse(string(b)) - if err != nil { - return nil, errors.Errorf("invalid file %q: %v", openAPIPath, err) - } - return object, nil -} - -// addSchemaUsingField parses the OpenAPI definitions from the specified field. -// If field is the empty string, use the whole document as OpenAPI. -func schemaUsingField(object *yaml.RNode, field string) (*spec.Schema, error) { - if field != "" { - // get the field containing the openAPI - m := object.Field(field) - if m.IsNilOrEmpty() { - // doesn't contain openAPI definitions - return nil, nil - } - object = m.Value - } - - oAPI, err := object.String() - if err != nil { - return nil, err - } - - // convert the yaml openAPI to a JSON string by unmarshalling it to an - // interface{} and the marshalling it to a string - var o interface{} - err = yaml.Unmarshal([]byte(oAPI), &o) - if err != nil { - return nil, err - } - j, err := json.Marshal(o) - if err != nil { - return nil, err - } - - var sc spec.Schema - err = sc.UnmarshalJSON(j) - if err != nil { - return nil, err - } - - return &sc, nil -} - -// AddSchema parses s, and adds definitions from s to the global schema. -func AddSchema(s []byte) error { - return parse(s) -} - -// ResetOpenAPI resets the openapi data to empty -func ResetOpenAPI() { - globalSchema = openapiData{} -} - -// AddDefinitions adds the definitions to the global schema. -func AddDefinitions(definitions spec.Definitions) { - // initialize values if they have not yet been set - if globalSchema.schemaByResourceType == nil { - globalSchema.schemaByResourceType = map[yaml.TypeMeta]*spec.Schema{} - } - if globalSchema.schema.Definitions == nil { - globalSchema.schema.Definitions = spec.Definitions{} - } - - // index the schema definitions so we can lookup them up for Resources - for k := range definitions { - // index by GVK, if no GVK is found then it is the schema for a subfield - // of a Resource - d := definitions[k] - - // copy definitions to the schema - globalSchema.schema.Definitions[k] = d - gvk, found := d.VendorExtensible.Extensions[kubernetesGVKExtensionKey] - if !found { - continue - } - // cast the extension to a []map[string]string - exts, ok := gvk.([]interface{}) - if !ok { - continue - } - - for i := range exts { - typeMeta, ok := toTypeMeta(exts[i]) - if !ok { - continue - } - globalSchema.schemaByResourceType[typeMeta] = &d - } - } -} - -func toTypeMeta(ext interface{}) (yaml.TypeMeta, bool) { - m, ok := ext.(map[string]interface{}) - if !ok { - return yaml.TypeMeta{}, false - } - - g := m[groupKey].(string) - apiVersion := m[versionKey].(string) - if g != "" { - apiVersion = g + "/" + apiVersion - } - return yaml.TypeMeta{Kind: m[kindKey].(string), APIVersion: apiVersion}, true -} - -// Resolve resolves the reference against the global schema -func Resolve(ref *spec.Ref, schema *spec.Schema) (*spec.Schema, error) { - return resolve(schema, ref) -} - -// Schema returns the global schema -func Schema() *spec.Schema { - return rootSchema() -} - -// GetSchema parses s into a ResourceSchema, resolving References within the -// global schema. -func GetSchema(s string, schema *spec.Schema) (*ResourceSchema, error) { - var sc spec.Schema - if err := sc.UnmarshalJSON([]byte(s)); err != nil { - return nil, errors.Wrap(err) - } - if sc.Ref.String() != "" { - r, err := Resolve(&sc.Ref, schema) - if err != nil { - return nil, errors.Wrap(err) - } - sc = *r - } - - return &ResourceSchema{Schema: &sc}, nil -} - -// IsNamespaceScoped determines whether a resource is namespace or -// cluster-scoped by looking at the information in the openapi schema. -// The second return value tells whether the provided type could be found -// in the openapi schema. If the value is false here, the scope of the -// resource is not known. If the type is found, the first return value will -// be true if the resource is namespace-scoped, and false if the type is -// cluster-scoped. -func IsNamespaceScoped(typeMeta yaml.TypeMeta) (bool, bool) { - if res, f := precomputedIsNamespaceScoped[typeMeta]; f { - return res, true - } - return isNamespaceScopedFromSchema(typeMeta) -} - -func isNamespaceScopedFromSchema(typeMeta yaml.TypeMeta) (bool, bool) { - initSchema() - isNamespaceScoped, found := globalSchema.namespaceabilityByResourceType[typeMeta] - return isNamespaceScoped, found -} - -// IsCertainlyClusterScoped returns true for Node, Namespace, etc. and -// false for Pod, Deployment, etc. and kinds that aren't recognized in the -// openapi data. See: -// https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces -func IsCertainlyClusterScoped(typeMeta yaml.TypeMeta) bool { - nsScoped, found := IsNamespaceScoped(typeMeta) - return found && !nsScoped -} - -// SuppressBuiltInSchemaUse can be called to prevent using the built-in Kubernetes -// schema as part of the global schema. -// Must be called before the schema is used. -func SuppressBuiltInSchemaUse() { - globalSchema.noUseBuiltInSchema = true -} - -// Elements returns the Schema for the elements of an array. -func (rs *ResourceSchema) Elements() *ResourceSchema { - // load the schema from swagger.json - initSchema() - - if len(rs.Schema.Type) != 1 || rs.Schema.Type[0] != "array" { - // either not an array, or array has multiple types - return nil - } - if rs == nil || rs.Schema == nil || rs.Schema.Items == nil { - // no-scheme for the items - return nil - } - s := *rs.Schema.Items.Schema - for s.Ref.String() != "" { - sc, e := Resolve(&s.Ref, Schema()) - if e != nil { - return nil - } - s = *sc - } - return &ResourceSchema{Schema: &s} -} - -const Elements = "[]" - -// Lookup calls either Field or Elements for each item in the path. -// If the path item is "[]", then Elements is called, otherwise -// Field is called. -// If any Field or Elements call returns nil, then Lookup returns -// nil immediately. -func (rs *ResourceSchema) Lookup(path ...string) *ResourceSchema { - s := rs - for _, p := range path { - if s == nil { - break - } - if p == Elements { - s = s.Elements() - continue - } - s = s.Field(p) - } - return s -} - -// Field returns the Schema for a field. -func (rs *ResourceSchema) Field(field string) *ResourceSchema { - // load the schema from swagger.json - initSchema() - - // locate the Schema - s, found := rs.Schema.Properties[field] - switch { - case found: - // no-op, continue with s as the schema - case rs.Schema.AdditionalProperties != nil && rs.Schema.AdditionalProperties.Schema != nil: - // map field type -- use Schema of the value - // (the key doesn't matter, they all have the same value type) - s = *rs.Schema.AdditionalProperties.Schema - default: - // no Schema found from either swagger.json or line comments - return nil - } - - // resolve the reference to the Schema if the Schema has one - for s.Ref.String() != "" { - sc, e := Resolve(&s.Ref, Schema()) - if e != nil { - return nil - } - s = *sc - } - - // return the merged Schema - return &ResourceSchema{Schema: &s} -} - -// PatchStrategyAndKeyList returns the patch strategy and complete merge key list -func (rs *ResourceSchema) PatchStrategyAndKeyList() (string, []string) { - ps, found := rs.Schema.Extensions[kubernetesPatchStrategyExtensionKey] - if !found { - // empty patch strategy - return "", []string{} - } - mkList, found := rs.Schema.Extensions[kubernetesMergeKeyMapList] - if found { - // mkList is []interface, convert to []string - mkListStr := make([]string, len(mkList.([]interface{}))) - for i, v := range mkList.([]interface{}) { - mkListStr[i] = v.(string) - } - return ps.(string), mkListStr - } - mk, found := rs.Schema.Extensions[kubernetesMergeKeyExtensionKey] - if !found { - // no mergeKey -- may be a primitive associative list (e.g. finalizers) - return ps.(string), []string{} - } - return ps.(string), []string{mk.(string)} -} - -// PatchStrategyAndKey returns the patch strategy and merge key extensions -func (rs *ResourceSchema) PatchStrategyAndKey() (string, string) { - ps, found := rs.Schema.Extensions[kubernetesPatchStrategyExtensionKey] - if !found { - // empty patch strategy - return "", "" - } - - mk, found := rs.Schema.Extensions[kubernetesMergeKeyExtensionKey] - if !found { - // no mergeKey -- may be a primitive associative list (e.g. finalizers) - mk = "" - } - return ps.(string), mk.(string) -} - -const ( - // kubernetesOpenAPIDefaultVersion is the latest version number of the statically compiled in - // OpenAPI schema for kubernetes built-in types - kubernetesOpenAPIDefaultVersion = kubernetesapi.DefaultOpenAPI - - // kustomizationAPIAssetName is the name of the asset containing the statically compiled in - // OpenAPI definitions for Kustomization built-in types - kustomizationAPIAssetName = "kustomizationapi/swagger.json" - - // kubernetesGVKExtensionKey is the key to lookup the kubernetes group version kind extension - // -- the extension is an array of objects containing a gvk - kubernetesGVKExtensionKey = "x-kubernetes-group-version-kind" - - // kubernetesMergeKeyExtensionKey is the key to lookup the kubernetes merge key extension - // -- the extension is a string - kubernetesMergeKeyExtensionKey = "x-kubernetes-patch-merge-key" - - // kubernetesPatchStrategyExtensionKey is the key to lookup the kubernetes patch strategy - // extension -- the extension is a string - kubernetesPatchStrategyExtensionKey = "x-kubernetes-patch-strategy" - - // kubernetesMergeKeyMapList is the list of merge keys when there needs to be multiple - // -- the extension is an array of strings - kubernetesMergeKeyMapList = "x-kubernetes-list-map-keys" - - // groupKey is the key to lookup the group from the GVK extension - groupKey = "group" - // versionKey is the key to lookup the version from the GVK extension - versionKey = "version" - // kindKey is the the to lookup the kind from the GVK extension - kindKey = "kind" -) - -// SetSchema sets the kubernetes OpenAPI schema version to use -func SetSchema(openAPIField map[string]string, schema []byte, reset bool) error { - // this should only be set once - schemaIsSet := (kubernetesOpenAPIVersion != "") || customSchema != nil - if schemaIsSet && !reset { - return nil - } - - version, exists := openAPIField["version"] - if exists && schema != nil { - return fmt.Errorf("builtin version and custom schema provided, cannot use both") - } - - if schema != nil { // use custom schema - customSchema = schema - kubernetesOpenAPIVersion = "custom" - // if the schema is changed, initSchema should parse the new schema - globalSchema.schemaInit = false - return nil - } - - // use builtin version - kubernetesOpenAPIVersion = strings.ReplaceAll(version, ".", "") - if kubernetesOpenAPIVersion == "" { - return nil - } - if _, ok := kubernetesapi.OpenAPIMustAsset[kubernetesOpenAPIVersion]; !ok { - return fmt.Errorf("the specified OpenAPI version is not built in") - } - customSchema = nil - // if the schema is changed, initSchema should parse the new schema - globalSchema.schemaInit = false - return nil -} - -// GetSchemaVersion returns what kubernetes OpenAPI version is being used -func GetSchemaVersion() string { - switch { - case kubernetesOpenAPIVersion == "" && customSchema == nil: - return kubernetesOpenAPIDefaultVersion - case customSchema != nil: - return "using custom schema from file provided" - default: - return kubernetesOpenAPIVersion - } -} - -// initSchema parses the json schema -func initSchema() { - if globalSchema.schemaInit { - return - } - globalSchema.schemaInit = true - - if customSchema != nil { - err := parse(customSchema) - if err != nil { - panic("invalid schema file") - } - if err = parse(kustomizationapi.MustAsset(kustomizationAPIAssetName)); err != nil { - // this should never happen - panic(err) - } - return - } - - if kubernetesOpenAPIVersion == "" { - parseBuiltinSchema(kubernetesOpenAPIDefaultVersion) - } else { - parseBuiltinSchema(kubernetesOpenAPIVersion) - } -} - -// parseBuiltinSchema calls parse to parse the json schemas -func parseBuiltinSchema(version string) { - if globalSchema.noUseBuiltInSchema { - // don't parse the built in schema - return - } - - // parse the swagger, this should never fail - assetName := filepath.Join( - "kubernetesapi", - version, - "swagger.json") - - if err := parse(kubernetesapi.OpenAPIMustAsset[version](assetName)); err != nil { - // this should never happen - panic(err) - } - - if err := parse(kustomizationapi.MustAsset(kustomizationAPIAssetName)); err != nil { - // this should never happen - panic(err) - } -} - -// parse parses and indexes a single json schema -func parse(b []byte) error { - var swagger spec.Swagger - s := string(b) - if len(s) > 0 && s[0] != '{' { - var err error - b, err = k8syaml.YAMLToJSON(b) - if err != nil { - return errors.Wrap(err) - } - } - if err := swagger.UnmarshalJSON(b); err != nil { - return errors.Wrap(err) - } - AddDefinitions(swagger.Definitions) - findNamespaceability(swagger.Paths) - - return nil -} - -// findNamespaceability looks at the api paths for the resource to determine -// if it is cluster-scoped or namespace-scoped. The gvk of the resource -// for each path is found by looking at the x-kubernetes-group-version-kind -// extension. If a path exists for the resource that contains a namespace path -// parameter, the resource is namespace-scoped. -func findNamespaceability(paths *spec.Paths) { - if globalSchema.namespaceabilityByResourceType == nil { - globalSchema.namespaceabilityByResourceType = make(map[yaml.TypeMeta]bool) - } - - if paths == nil { - return - } - - for path, pathInfo := range paths.Paths { - if pathInfo.Get == nil { - continue - } - gvk, found := pathInfo.Get.VendorExtensible.Extensions[kubernetesGVKExtensionKey] - if !found { - continue - } - typeMeta, found := toTypeMeta(gvk) - if !found { - continue - } - - if strings.Contains(path, "namespaces/{namespace}") { - // if we find a namespace path parameter, we just update the map - // directly - globalSchema.namespaceabilityByResourceType[typeMeta] = true - } else if _, found := globalSchema.namespaceabilityByResourceType[typeMeta]; !found { - // if the resource doesn't have the namespace path parameter, we - // only add it to the map if it doesn't already exist. - globalSchema.namespaceabilityByResourceType[typeMeta] = false - } - } -} - -func resolve(root interface{}, ref *spec.Ref) (*spec.Schema, error) { - res, _, err := ref.GetPointer().Get(root) - if err != nil { - return nil, errors.Wrap(err) - } - switch sch := res.(type) { - case spec.Schema: - return &sch, nil - case *spec.Schema: - return sch, nil - case map[string]interface{}: - b, err := json.Marshal(sch) - if err != nil { - return nil, err - } - newSch := new(spec.Schema) - if err = json.Unmarshal(b, newSch); err != nil { - return nil, err - } - return newSch, nil - default: - return nil, errors.Wrap(fmt.Errorf("unknown type for the resolved reference")) - } -} - -func rootSchema() *spec.Schema { - initSchema() - return &globalSchema.schema -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/order/syncorder.go b/vendor/sigs.k8s.io/kustomize/kyaml/order/syncorder.go deleted file mode 100644 index 9352fd8c..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/order/syncorder.go +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package order - -import ( - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// SyncOrder recursively sorts the map node keys in 'to' node to match the order of -// map node keys in 'from' node at same tree depth, additional keys are moved to the end -// Field order might be altered due to round-tripping in arbitrary functions. -// This functionality helps to retain the original order of fields to avoid unnecessary diffs. -func SyncOrder(from, to *yaml.RNode) error { - // from node should not be modified, it should be just used as a reference - fromCopy := from.Copy() - if err := syncOrder(fromCopy, to); err != nil { - return errors.Errorf("failed to sync field order: %q", err.Error()) - } - rearrangeHeadCommentOfSeqNode(to.YNode()) - return nil -} - -func syncOrder(from, to *yaml.RNode) error { - if from.IsNilOrEmpty() || to.IsNilOrEmpty() { - return nil - } - switch from.YNode().Kind { - case yaml.DocumentNode: - // Traverse the child of the documents - return syncOrder(yaml.NewRNode(from.YNode()), yaml.NewRNode(to.YNode())) - case yaml.MappingNode: - return VisitFields(from, to, func(fNode, tNode *yaml.MapNode) error { - // Traverse each field value - if fNode == nil || tNode == nil { - return nil - } - return syncOrder(fNode.Value, tNode.Value) - }) - case yaml.SequenceNode: - return VisitElements(from, to, func(fNode, tNode *yaml.RNode) error { - // Traverse each list element - return syncOrder(fNode, tNode) - }) - } - return nil -} - -// VisitElements calls fn for each element in a SequenceNode. -// Returns an error for non-SequenceNodes -func VisitElements(from, to *yaml.RNode, fn func(fNode, tNode *yaml.RNode) error) error { - fElements, err := from.Elements() - if err != nil { - return errors.Wrap(err) - } - - tElements, err := to.Elements() - if err != nil { - return errors.Wrap(err) - } - for i := range fElements { - if i >= len(tElements) { - return nil - } - if err := fn(fElements[i], tElements[i]); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -// VisitFields calls fn for each field in the RNode. -// Returns an error for non-MappingNodes. -func VisitFields(from, to *yaml.RNode, fn func(fNode, tNode *yaml.MapNode) error) error { - srcFieldNames, err := from.Fields() - if err != nil { - return nil - } - yaml.SyncMapNodesOrder(from, to) - // visit each field - for _, fieldName := range srcFieldNames { - if err := fn(from.Field(fieldName), to.Field(fieldName)); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -// rearrangeHeadCommentOfSeqNode addresses a remote corner case due to moving a -// map node in a sequence node with a head comment to the top -func rearrangeHeadCommentOfSeqNode(node *yaml.Node) { - if node == nil { - return - } - switch node.Kind { - case yaml.DocumentNode: - for _, node := range node.Content { - rearrangeHeadCommentOfSeqNode(node) - } - - case yaml.MappingNode: - for _, node := range node.Content { - rearrangeHeadCommentOfSeqNode(node) - } - - case yaml.SequenceNode: - for _, node := range node.Content { - // for each child mapping node, transfer the head comment of it's - // first child scalar node to the head comment of itself - if len(node.Content) > 0 && node.Content[0].Kind == yaml.ScalarNode { - if node.HeadComment == "" { - node.HeadComment = node.Content[0].HeadComment - continue - } - - if node.Content[0].HeadComment != "" { - node.HeadComment += "\n" + node.Content[0].HeadComment - node.Content[0].HeadComment = "" - } - } - } - } -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/resid/gvk.go b/vendor/sigs.k8s.io/kustomize/kyaml/resid/gvk.go deleted file mode 100644 index 2c8cbb1f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/resid/gvk.go +++ /dev/null @@ -1,258 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resid - -import ( - "strings" - - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// Gvk identifies a Kubernetes API type. -// https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md -type Gvk struct { - Group string `json:"group,omitempty" yaml:"group,omitempty"` - Version string `json:"version,omitempty" yaml:"version,omitempty"` - Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` - // isClusterScoped is true if the object is known, per the openapi - // data in use, to be cluster scoped, and false otherwise. - isClusterScoped bool -} - -func NewGvk(g, v, k string) Gvk { - result := Gvk{Group: g, Version: v, Kind: k} - result.isClusterScoped = - openapi.IsCertainlyClusterScoped(result.AsTypeMeta()) - return result -} - -func GvkFromNode(r *yaml.RNode) Gvk { - g, v := ParseGroupVersion(r.GetApiVersion()) - return NewGvk(g, v, r.GetKind()) -} - -// FromKind makes a Gvk with only the kind specified. -func FromKind(k string) Gvk { - return NewGvk("", "", k) -} - -// ParseGroupVersion parses a KRM metadata apiVersion field. -func ParseGroupVersion(apiVersion string) (group, version string) { - if i := strings.Index(apiVersion, "/"); i > -1 { - return apiVersion[:i], apiVersion[i+1:] - } - return "", apiVersion -} - -// GvkFromString makes a Gvk from the output of Gvk.String(). -func GvkFromString(s string) Gvk { - values := strings.Split(s, fieldSep) - if len(values) < 3 { - // ...then the string didn't come from Gvk.String(). - return Gvk{ - Group: noGroup, - Version: noVersion, - Kind: noKind, - } - } - k := values[0] - if k == noKind { - k = "" - } - v := values[1] - if v == noVersion { - v = "" - } - g := strings.Join(values[2:], fieldSep) - if g == noGroup { - g = "" - } - return NewGvk(g, v, k) -} - -// Values that are brief but meaningful in logs. -const ( - noGroup = "[noGrp]" - noVersion = "[noVer]" - noKind = "[noKind]" - fieldSep = "." -) - -// String returns a string representation of the GVK. -func (x Gvk) String() string { - g := x.Group - if g == "" { - g = noGroup - } - v := x.Version - if v == "" { - v = noVersion - } - k := x.Kind - if k == "" { - k = noKind - } - return strings.Join([]string{k, v, g}, fieldSep) -} - -// legacySortString returns an older version of String() that LegacyOrderTransformer depends on -// to keep its ordering stable across Kustomize versions -func (x Gvk) legacySortString() string { - legacyNoGroup := "~G" - legacyNoVersion := "~V" - legacyNoKind := "~K" - legacyFieldSeparator := "_" - - g := x.Group - if g == "" { - g = legacyNoGroup - } - v := x.Version - if v == "" { - v = legacyNoVersion - } - k := x.Kind - if k == "" { - k = legacyNoKind - } - return strings.Join([]string{g, v, k}, legacyFieldSeparator) -} - -// ApiVersion returns the combination of Group and Version -func (x Gvk) ApiVersion() string { - var sb strings.Builder - if x.Group != "" { - sb.WriteString(x.Group) - sb.WriteString("/") - } - sb.WriteString(x.Version) - return sb.String() -} - -// StringWoEmptyField returns a string representation of the GVK. Non-exist -// fields will be omitted. This is called when generating a filename for the -// resource. -func (x Gvk) StringWoEmptyField() string { - var s []string - if x.Group != "" { - s = append(s, x.Group) - } - if x.Version != "" { - s = append(s, x.Version) - } - if x.Kind != "" { - s = append(s, x.Kind) - } - return strings.Join(s, "_") -} - -// Equals returns true if the Gvk's have equal fields. -func (x Gvk) Equals(o Gvk) bool { - return x.Group == o.Group && x.Version == o.Version && x.Kind == o.Kind -} - -// An attempt to order things to help k8s, e.g. -// a Service should come before things that refer to it. -// Namespace should be first. -// In some cases order just specified to provide determinism. -var orderFirst = []string{ - "Namespace", - "ResourceQuota", - "StorageClass", - "CustomResourceDefinition", - "ServiceAccount", - "PodSecurityPolicy", - "Role", - "ClusterRole", - "RoleBinding", - "ClusterRoleBinding", - "ConfigMap", - "Secret", - "Endpoints", - "Service", - "LimitRange", - "PriorityClass", - "PersistentVolume", - "PersistentVolumeClaim", - "Deployment", - "StatefulSet", - "CronJob", - "PodDisruptionBudget", -} -var orderLast = []string{ - "MutatingWebhookConfiguration", - "ValidatingWebhookConfiguration", -} -var typeOrders = func() map[string]int { - m := map[string]int{} - for i, n := range orderFirst { - m[n] = -len(orderFirst) + i - } - for i, n := range orderLast { - m[n] = 1 + i - } - return m -}() - -// IsLessThan returns true if self is less than the argument. -func (x Gvk) IsLessThan(o Gvk) bool { - indexI := typeOrders[x.Kind] - indexJ := typeOrders[o.Kind] - if indexI != indexJ { - return indexI < indexJ - } - return x.legacySortString() < o.legacySortString() -} - -// IsSelected returns true if `selector` selects `x`; otherwise, false. -// If `selector` and `x` are the same, return true. -// If `selector` is nil, it is considered a wildcard match, returning true. -// If selector fields are empty, they are considered wildcards matching -// anything in the corresponding fields, e.g. -// -// this item: -// -// -// is selected by -// -// -// but rejected by -// -// -func (x Gvk) IsSelected(selector *Gvk) bool { - if selector == nil { - return true - } - if len(selector.Group) > 0 { - if x.Group != selector.Group { - return false - } - } - if len(selector.Version) > 0 { - if x.Version != selector.Version { - return false - } - } - if len(selector.Kind) > 0 { - if x.Kind != selector.Kind { - return false - } - } - return true -} - -// AsTypeMeta returns a yaml.TypeMeta from x's information. -func (x Gvk) AsTypeMeta() yaml.TypeMeta { - return yaml.TypeMeta{ - APIVersion: x.ApiVersion(), - Kind: x.Kind, - } -} - -// IsClusterScoped returns true if the Gvk is certainly cluster scoped -// with respect to the available openapi data. -func (x Gvk) IsClusterScoped() bool { - return x.isClusterScoped -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/resid/resid.go b/vendor/sigs.k8s.io/kustomize/kyaml/resid/resid.go deleted file mode 100644 index f786f136..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/resid/resid.go +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package resid - -import ( - "reflect" - "strings" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// ResId is an identifier of a k8s resource object. -type ResId struct { - // Gvk of the resource. - Gvk `json:",inline,omitempty" yaml:",inline,omitempty"` - - // Name of the resource. - Name string `json:"name,omitempty" yaml:"name,omitempty"` - - // Namespace the resource belongs to, if it can belong to a namespace. - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` -} - -// NewResIdWithNamespace creates new ResId -// in a given namespace. -func NewResIdWithNamespace(k Gvk, n, ns string) ResId { - return ResId{Gvk: k, Name: n, Namespace: ns} -} - -// NewResId creates new ResId. -func NewResId(k Gvk, n string) ResId { - return NewResIdWithNamespace(k, n, "") -} - -// NewResIdKindOnly creates a new ResId. -func NewResIdKindOnly(k string, n string) ResId { - return NewResId(FromKind(k), n) -} - -const ( - noNamespace = "[noNs]" - noName = "[noName]" - separator = "/" - TotallyNotANamespace = "_non_namespaceable_" - DefaultNamespace = "default" -) - -// String of ResId based on GVK, name and prefix -func (id ResId) String() string { - ns := id.Namespace - if ns == "" { - ns = noNamespace - } - nm := id.Name - if nm == "" { - nm = noName - } - return strings.Join( - []string{id.Gvk.String(), strings.Join([]string{nm, ns}, fieldSep)}, separator) -} - -// LegacySortString returns an older version of String() that LegacyOrderTransformer depends on -// to keep its ordering stable across Kustomize versions -func (id ResId) LegacySortString() string { - legacyNoNamespace := "~X" - legacyNoName := "~N" - legacySeparator := "|" - - ns := id.Namespace - if ns == "" { - ns = legacyNoNamespace - } - nm := id.Name - if nm == "" { - nm = legacyNoName - } - return strings.Join( - []string{id.Gvk.String(), ns, nm}, legacySeparator) -} - -func FromString(s string) ResId { - values := strings.Split(s, separator) - gvk := GvkFromString(values[0]) - - values = strings.Split(values[1], fieldSep) - last := len(values) - 1 - - ns := values[last] - if ns == noNamespace { - ns = "" - } - nm := strings.Join(values[:last], fieldSep) - if nm == noName { - nm = "" - } - return ResId{ - Gvk: gvk, - Namespace: ns, - Name: nm, - } -} - -// FromRNode returns the ResId for the RNode -func FromRNode(rn *yaml.RNode) ResId { - group, version := ParseGroupVersion(rn.GetApiVersion()) - return NewResIdWithNamespace( - Gvk{Group: group, Version: version, Kind: rn.GetKind()}, rn.GetName(), rn.GetNamespace()) -} - -// GvknEquals returns true if the other id matches -// Group/Version/Kind/name. -func (id ResId) GvknEquals(o ResId) bool { - return id.Name == o.Name && id.Gvk.Equals(o.Gvk) -} - -// IsSelectedBy returns true if self is selected by the argument. -func (id ResId) IsSelectedBy(selector ResId) bool { - return (selector.Name == "" || selector.Name == id.Name) && - (selector.Namespace == "" || selector.IsNsEquals(id)) && - id.Gvk.IsSelected(&selector.Gvk) -} - -// Equals returns true if the other id matches -// namespace/Group/Version/Kind/name. -func (id ResId) Equals(o ResId) bool { - return id.IsNsEquals(o) && id.GvknEquals(o) -} - -// IsNsEquals returns true if the id is in -// the same effective namespace. -func (id ResId) IsNsEquals(o ResId) bool { - return id.EffectiveNamespace() == o.EffectiveNamespace() -} - -// IsInDefaultNs returns true if id is a namespaceable -// ResId and the Namespace is either not set or set -// to DefaultNamespace. -func (id ResId) IsInDefaultNs() bool { - return !id.IsClusterScoped() && id.isPutativelyDefaultNs() -} - -func (id ResId) isPutativelyDefaultNs() bool { - return id.Namespace == "" || id.Namespace == DefaultNamespace -} - -// EffectiveNamespace returns a non-ambiguous, non-empty -// namespace for use in reporting and equality tests. -func (id ResId) EffectiveNamespace() string { - // The order of these checks matters. - if id.IsClusterScoped() { - return TotallyNotANamespace - } - if id.isPutativelyDefaultNs() { - return DefaultNamespace - } - return id.Namespace -} - -// IsEmpty returns true of all of the id's fields are -// empty strings -func (id ResId) IsEmpty() bool { - return reflect.DeepEqual(id, ResId{}) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/runfn/runfn.go b/vendor/sigs.k8s.io/kustomize/kyaml/runfn/runfn.go deleted file mode 100644 index eda2c290..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/runfn/runfn.go +++ /dev/null @@ -1,537 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package runfn - -import ( - "fmt" - "io" - "os" - "os/user" - "path" - "path/filepath" - "sort" - "strconv" - "strings" - "sync/atomic" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/container" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/exec" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil" - "sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark" - "sigs.k8s.io/kustomize/kyaml/kio" - "sigs.k8s.io/kustomize/kyaml/kio/kioutil" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// RunFns runs the set of configuration functions in a local directory against -// the Resources in that directory -type RunFns struct { - StorageMounts []runtimeutil.StorageMount - - // Path is the path to the directory containing functions - Path string - - // FunctionPaths Paths allows functions to be specified outside the configuration - // directory. - // Functions provided on FunctionPaths are globally scoped. - // If FunctionPaths length is > 0, then NoFunctionsFromInput defaults to true - FunctionPaths []string - - // Functions is an explicit list of functions to run against the input. - // Functions provided on Functions are globally scoped. - // If Functions length is > 0, then NoFunctionsFromInput defaults to true - Functions []*yaml.RNode - - // GlobalScope if true, functions read from input will be scoped globally rather - // than only to Resources under their subdirs. - GlobalScope bool - - // Input can be set to read the Resources from Input rather than from a directory - Input io.Reader - - // Network enables network access for functions that declare it - Network bool - - // Output can be set to write the result to Output rather than back to the directory - Output io.Writer - - // NoFunctionsFromInput if set to true will not read any functions from the input, - // and only use explicit sources - NoFunctionsFromInput *bool - - // EnableStarlark will enable functions run as starlark scripts - EnableStarlark bool - - // EnableExec will enable exec functions - EnableExec bool - - // DisableContainers will disable functions run as containers - DisableContainers bool - - // ResultsDir is where to write each functions results - ResultsDir string - - // LogSteps enables logging the function that is running. - LogSteps bool - - // LogWriter can be set to write the logs to LogWriter rather than stderr if LogSteps is enabled. - LogWriter io.Writer - - // resultsCount is used to generate the results filename for each container - resultsCount uint32 - - // functionFilterProvider provides a filter to perform the function. - // this is a variable so it can be mocked in tests - functionFilterProvider func( - filter runtimeutil.FunctionSpec, api *yaml.RNode, currentUser currentUserFunc) (kio.Filter, error) - - // AsCurrentUser is a boolean to indicate whether docker container should use - // the uid and gid that run the command - AsCurrentUser bool - - // Env contains environment variables that will be exported to container - Env []string - - // ContinueOnEmptyResult configures what happens when the underlying pipeline - // returns an empty result. - // If it is false (default), subsequent functions will be skipped and the - // result will be returned immediately. - // If it is true, the empty result will be provided as input to the next - // function in the list. - ContinueOnEmptyResult bool - - // WorkingDir specifies which working directory an exec function should run in. - WorkingDir string -} - -// Execute runs the command -func (r RunFns) Execute() error { - // make the path absolute so it works on mac - var err error - r.Path, err = filepath.Abs(r.Path) - if err != nil { - return errors.Wrap(err) - } - - // default the containerFilterProvider if it hasn't been override. Split out for testing. - (&r).init() - nodes, fltrs, output, err := r.getNodesAndFilters() - if err != nil { - return err - } - return r.runFunctions(nodes, output, fltrs) -} - -func (r RunFns) getNodesAndFilters() ( - *kio.PackageBuffer, []kio.Filter, *kio.LocalPackageReadWriter, error) { - // Read Resources from Directory or Input - buff := &kio.PackageBuffer{} - p := kio.Pipeline{Outputs: []kio.Writer{buff}} - // save the output dir because we will need it to write back - // the same one for reading must be used for writing if deleting Resources - var outputPkg *kio.LocalPackageReadWriter - if r.Path != "" { - outputPkg = &kio.LocalPackageReadWriter{PackagePath: r.Path, MatchFilesGlob: kio.MatchAll} - } - - if r.Input == nil { - p.Inputs = []kio.Reader{outputPkg} - } else { - p.Inputs = []kio.Reader{&kio.ByteReader{Reader: r.Input}} - } - if err := p.Execute(); err != nil { - return nil, nil, outputPkg, err - } - - fltrs, err := r.getFilters(buff.Nodes) - if err != nil { - return nil, nil, outputPkg, err - } - return buff, fltrs, outputPkg, nil -} - -func (r RunFns) getFilters(nodes []*yaml.RNode) ([]kio.Filter, error) { - var fltrs []kio.Filter - - // fns from annotations on the input resources - f, err := r.getFunctionsFromInput(nodes) - if err != nil { - return nil, err - } - fltrs = append(fltrs, f...) - - // fns from directories specified on the struct - f, err = r.getFunctionsFromFunctionPaths() - if err != nil { - return nil, err - } - fltrs = append(fltrs, f...) - - // explicit fns specified on the struct - f, err = r.getFunctionsFromFunctions() - if err != nil { - return nil, err - } - fltrs = append(fltrs, f...) - - return fltrs, nil -} - -// runFunctions runs the fltrs against the input and writes to either r.Output or output -func (r RunFns) runFunctions( - input kio.Reader, output kio.Writer, fltrs []kio.Filter) error { - // use the previously read Resources as input - var outputs []kio.Writer - if r.Output == nil { - // write back to the package - outputs = append(outputs, output) - } else { - // write to the output instead of the directory if r.Output is specified or - // the output is nil (reading from Input) - outputs = append(outputs, kio.ByteWriter{Writer: r.Output}) - } - - var err error - pipeline := kio.Pipeline{ - Inputs: []kio.Reader{input}, - Filters: fltrs, - Outputs: outputs, - ContinueOnEmptyResult: r.ContinueOnEmptyResult, - } - if r.LogSteps { - err = pipeline.ExecuteWithCallback(func(op kio.Filter) { - var identifier string - - switch filter := op.(type) { - case *container.Filter: - identifier = filter.Image - case *exec.Filter: - identifier = filter.Path - case *starlark.Filter: - identifier = filter.String() - default: - identifier = "unknown-type function" - } - - _, _ = fmt.Fprintf(r.LogWriter, "Running %s\n", identifier) - }) - } else { - err = pipeline.Execute() - } - if err != nil { - return err - } - - // check for deferred function errors - var errs []string - for i := range fltrs { - cf, ok := fltrs[i].(runtimeutil.DeferFailureFunction) - if !ok { - continue - } - if cf.GetExit() != nil { - errs = append(errs, cf.GetExit().Error()) - } - } - if len(errs) > 0 { - return fmt.Errorf(strings.Join(errs, "\n---\n")) - } - return nil -} - -// getFunctionsFromInput scans the input for functions and runs them -func (r RunFns) getFunctionsFromInput(nodes []*yaml.RNode) ([]kio.Filter, error) { - if *r.NoFunctionsFromInput { - return nil, nil - } - - buff := &kio.PackageBuffer{} - err := kio.Pipeline{ - Inputs: []kio.Reader{&kio.PackageBuffer{Nodes: nodes}}, - Filters: []kio.Filter{&runtimeutil.IsReconcilerFilter{}}, - Outputs: []kio.Writer{buff}, - }.Execute() - if err != nil { - return nil, err - } - err = sortFns(buff) - if err != nil { - return nil, err - } - return r.getFunctionFilters(false, buff.Nodes...) -} - -// getFunctionsFromFunctionPaths returns the set of functions read from r.FunctionPaths -// as a slice of Filters -func (r RunFns) getFunctionsFromFunctionPaths() ([]kio.Filter, error) { - buff := &kio.PackageBuffer{} - for i := range r.FunctionPaths { - err := kio.Pipeline{ - Inputs: []kio.Reader{ - kio.LocalPackageReader{PackagePath: r.FunctionPaths[i]}, - }, - Outputs: []kio.Writer{buff}, - }.Execute() - if err != nil { - return nil, err - } - } - return r.getFunctionFilters(true, buff.Nodes...) -} - -// getFunctionsFromFunctions returns the set of explicitly provided functions as -// Filters -func (r RunFns) getFunctionsFromFunctions() ([]kio.Filter, error) { - return r.getFunctionFilters(true, r.Functions...) -} - -// mergeContainerEnv will merge the envs specified by command line (imperative) and config -// file (declarative). If they have same key, the imperative value will be respected. -func (r RunFns) mergeContainerEnv(envs []string) []string { - imperative := runtimeutil.NewContainerEnvFromStringSlice(r.Env) - declarative := runtimeutil.NewContainerEnvFromStringSlice(envs) - for key, value := range imperative.EnvVars { - declarative.AddKeyValue(key, value) - } - - for _, key := range imperative.VarsToExport { - declarative.AddKey(key) - } - - return declarative.Raw() -} - -func (r RunFns) getFunctionFilters(global bool, fns ...*yaml.RNode) ( - []kio.Filter, error) { - var fltrs []kio.Filter - for i := range fns { - api := fns[i] - spec := runtimeutil.GetFunctionSpec(api) - if spec == nil { - // resource doesn't have function spec - continue - } - if spec.Container.Network && !r.Network { - // TODO(eddiezane): Provide error info about which function needs the network - return fltrs, errors.Errorf("network required but not enabled with --network") - } - // merge envs from imperative and declarative - spec.Container.Env = r.mergeContainerEnv(spec.Container.Env) - - c, err := r.functionFilterProvider(*spec, api, user.Current) - if err != nil { - return nil, err - } - - if c == nil { - continue - } - cf, ok := c.(*container.Filter) - if global && ok { - cf.Exec.GlobalScope = true - } - fltrs = append(fltrs, c) - } - return fltrs, nil -} - -// sortFns sorts functions so that functions with the longest paths come first -func sortFns(buff *kio.PackageBuffer) error { - var outerErr error - // sort the nodes so that we traverse them depth first - // functions deeper in the file system tree should be run first - sort.Slice(buff.Nodes, func(i, j int) bool { - if err := kioutil.CopyLegacyAnnotations(buff.Nodes[i]); err != nil { - return false - } - if err := kioutil.CopyLegacyAnnotations(buff.Nodes[j]); err != nil { - return false - } - mi, _ := buff.Nodes[i].GetMeta() - pi := filepath.ToSlash(mi.Annotations[kioutil.PathAnnotation]) - - mj, _ := buff.Nodes[j].GetMeta() - pj := filepath.ToSlash(mj.Annotations[kioutil.PathAnnotation]) - - // If the path is the same, we decide the ordering based on the - // index annotation. - if pi == pj { - iIndex, err := strconv.Atoi(mi.Annotations[kioutil.IndexAnnotation]) - if err != nil { - outerErr = err - return false - } - jIndex, err := strconv.Atoi(mj.Annotations[kioutil.IndexAnnotation]) - if err != nil { - outerErr = err - return false - } - return iIndex < jIndex - } - - if filepath.Base(path.Dir(pi)) == "functions" { - // don't count the functions dir, the functions are scoped 1 level above - pi = filepath.Dir(path.Dir(pi)) - } else { - pi = filepath.Dir(pi) - } - - if filepath.Base(path.Dir(pj)) == "functions" { - // don't count the functions dir, the functions are scoped 1 level above - pj = filepath.Dir(path.Dir(pj)) - } else { - pj = filepath.Dir(pj) - } - - // i is "less" than j (comes earlier) if its depth is greater -- e.g. run - // i before j if it is deeper in the directory structure - li := len(strings.Split(pi, "/")) - if pi == "." { - // local dir should have 0 path elements instead of 1 - li = 0 - } - lj := len(strings.Split(pj, "/")) - if pj == "." { - // local dir should have 0 path elements instead of 1 - lj = 0 - } - if li != lj { - // use greater-than because we want to sort with the longest - // paths FIRST rather than last - return li > lj - } - - // sort by path names if depths are equal - return pi < pj - }) - return outerErr -} - -// init initializes the RunFns with a containerFilterProvider. -func (r *RunFns) init() { - if r.NoFunctionsFromInput == nil { - // default no functions from input if any function sources are explicitly provided - nfn := len(r.FunctionPaths) > 0 || len(r.Functions) > 0 - r.NoFunctionsFromInput = &nfn - } - - // if no path is specified, default reading from stdin and writing to stdout - if r.Path == "" { - if r.Output == nil { - r.Output = os.Stdout - } - if r.Input == nil { - r.Input = os.Stdin - } - } - - // functionFilterProvider set the filter provider - if r.functionFilterProvider == nil { - r.functionFilterProvider = r.ffp - } - - // if LogSteps is enabled and LogWriter is not specified, use stderr - if r.LogSteps && r.LogWriter == nil { - r.LogWriter = os.Stderr - } -} - -type currentUserFunc func() (*user.User, error) - -// getUIDGID will return "nobody" if asCurrentUser is false. Otherwise -// return "uid:gid" according to the return from currentUser function. -func getUIDGID(asCurrentUser bool, currentUser currentUserFunc) (string, error) { - if !asCurrentUser { - return "nobody", nil - } - - u, err := currentUser() - if err != nil { - return "", err - } - return fmt.Sprintf("%s:%s", u.Uid, u.Gid), nil -} - -// ffp provides function filters -func (r *RunFns) ffp(spec runtimeutil.FunctionSpec, api *yaml.RNode, currentUser currentUserFunc) (kio.Filter, error) { - var resultsFile string - if r.ResultsDir != "" { - resultsFile = filepath.Join(r.ResultsDir, fmt.Sprintf( - "results-%v.yaml", r.resultsCount)) - atomic.AddUint32(&r.resultsCount, 1) - } - if !r.DisableContainers && spec.Container.Image != "" { - // TODO: Add a test for this behavior - uidgid, err := getUIDGID(r.AsCurrentUser, currentUser) - if err != nil { - return nil, err - } - c := container.NewContainer( - runtimeutil.ContainerSpec{ - Image: spec.Container.Image, - Network: spec.Container.Network, - StorageMounts: r.StorageMounts, - Env: spec.Container.Env, - }, - uidgid, - ) - cf := &c - cf.Exec.FunctionConfig = api - cf.Exec.GlobalScope = r.GlobalScope - cf.Exec.ResultsFile = resultsFile - cf.Exec.DeferFailure = spec.DeferFailure - return cf, nil - } - if r.EnableStarlark && (spec.Starlark.Path != "" || spec.Starlark.URL != "") { - // the script path is relative to the function config file - m, err := api.GetMeta() - if err != nil { - return nil, errors.Wrap(err) - } - - var p string - if spec.Starlark.Path != "" { - pathAnno := m.Annotations[kioutil.PathAnnotation] - if pathAnno == "" { - pathAnno = m.Annotations[kioutil.LegacyPathAnnotation] - } - p = filepath.ToSlash(path.Clean(pathAnno)) - - spec.Starlark.Path = filepath.ToSlash(path.Clean(spec.Starlark.Path)) - if filepath.IsAbs(spec.Starlark.Path) || path.IsAbs(spec.Starlark.Path) { - return nil, errors.Errorf( - "absolute function path %s not allowed", spec.Starlark.Path) - } - if strings.HasPrefix(spec.Starlark.Path, "..") { - return nil, errors.Errorf( - "function path %s not allowed to start with ../", spec.Starlark.Path) - } - p = filepath.ToSlash(filepath.Join(r.Path, filepath.Dir(p), spec.Starlark.Path)) - } - - sf := &starlark.Filter{Name: spec.Starlark.Name, Path: p, URL: spec.Starlark.URL} - - sf.FunctionConfig = api - sf.GlobalScope = r.GlobalScope - sf.ResultsFile = resultsFile - sf.DeferFailure = spec.DeferFailure - return sf, nil - } - - if r.EnableExec && spec.Exec.Path != "" { - ef := &exec.Filter{ - Path: spec.Exec.Path, - WorkingDir: r.WorkingDir, - } - - ef.FunctionConfig = api - ef.GlobalScope = r.GlobalScope - ef.ResultsFile = resultsFile - ef.DeferFailure = spec.DeferFailure - return ef, nil - } - - return nil, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/sets/string.go b/vendor/sigs.k8s.io/kustomize/kyaml/sets/string.go deleted file mode 100644 index 07f02afb..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/sets/string.go +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package sets - -type String map[string]interface{} - -func (s String) Len() int { - return len(s) -} - -func (s String) List() []string { - var val []string - for k := range s { - val = append(val, k) - } - return val -} - -func (s String) Has(val string) bool { - _, found := s[val] - return found -} - -func (s String) Insert(vals ...string) { - for _, val := range vals { - s[val] = nil - } -} - -func (s String) Difference(s2 String) String { - s3 := String{} - for k := range s { - if _, found := s2[k]; !found { - s3.Insert(k) - } - } - return s3 -} - -func (s String) SymmetricDifference(s2 String) String { - s3 := String{} - for k := range s { - if _, found := s2[k]; !found { - s3.Insert(k) - } - } - for k := range s2 { - if _, found := s[k]; !found { - s3.Insert(k) - } - } - return s3 -} - -func (s String) Intersection(s2 String) String { - s3 := String{} - for k := range s { - if _, found := s2[k]; found { - s3.Insert(k) - } - } - return s3 -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/sets/stringlist.go b/vendor/sigs.k8s.io/kustomize/kyaml/sets/stringlist.go deleted file mode 100644 index 2d75978f..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/sets/stringlist.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package sets - -// StringList is a set, where each element of -// the set is a string slice. -type StringList [][]string - -func (s StringList) Len() int { - return len(s) -} - -func (s StringList) Insert(val []string) StringList { - if !s.Has(val) { - return append(s, val) - } - return s -} - -func (s StringList) Has(val []string) bool { - if len(s) == 0 { - return false - } - - for i := range s { - if isStringSliceEqual(s[i], val) { - return true - } - } - return false -} - -func isStringSliceEqual(s []string, t []string) bool { - if len(s) != len(t) { - return false - } - for i := range s { - if s[i] != t[i] { - return false - } - } - return true -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/sliceutil/slice.go b/vendor/sigs.k8s.io/kustomize/kyaml/sliceutil/slice.go deleted file mode 100644 index 23e3ad7c..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/sliceutil/slice.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package sliceutil - -// Contains return true if string e is present in slice s -func Contains(s []string, e string) bool { - for _, a := range s { - if a == e { - return true - } - } - return false -} - -// Remove removes the first occurrence of r in slice s -// and returns remaining slice -func Remove(s []string, r string) []string { - for i, v := range s { - if v == r { - return append(s[:i], s[i+1:]...) - } - } - return s -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/alias.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/alias.go deleted file mode 100644 index 48a02544..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/alias.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "bytes" - "io" - - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml" -) - -const ( - WideSequenceStyle SequenceIndentStyle = "wide" - CompactSequenceStyle SequenceIndentStyle = "compact" - DefaultIndent = 2 - // BareSeqNodeWrappingKey kyaml uses reader annotations to track resources, it is not possible to - // add them to bare sequence nodes, this key is used to wrap such bare - // sequence nodes into map node, byteio_writer unwraps it while writing back - BareSeqNodeWrappingKey = "bareSeqNodeWrappingKey" -) - -// SeqIndentType holds the indentation style for sequence nodes -type SequenceIndentStyle string - -// EncoderOptions are options that can be used to configure the encoder, -// do not expose new options without considerable justification -type EncoderOptions struct { - // SeqIndent is the indentation style for YAML Sequence nodes - SeqIndent SequenceIndentStyle -} - -// Expose the yaml.v3 functions so this package can be used as a replacement - -type Decoder = yaml.Decoder -type Encoder = yaml.Encoder -type IsZeroer = yaml.IsZeroer -type Kind = yaml.Kind -type Marshaler = yaml.Marshaler -type Node = yaml.Node -type Style = yaml.Style -type TypeError = yaml.TypeError -type Unmarshaler = yaml.Unmarshaler - -var Marshal = func(in interface{}) ([]byte, error) { - var buf bytes.Buffer - err := NewEncoder(&buf).Encode(in) - if err != nil { - return nil, err - } - return buf.Bytes(), nil -} -var Unmarshal = yaml.Unmarshal -var NewDecoder = yaml.NewDecoder -var NewEncoder = func(w io.Writer) *yaml.Encoder { - e := yaml.NewEncoder(w) - e.SetIndent(DefaultIndent) - e.CompactSeqIndent() - return e -} - -// MarshalWithOptions marshals the input interface with provided options -func MarshalWithOptions(in interface{}, opts *EncoderOptions) ([]byte, error) { - var buf bytes.Buffer - err := NewEncoderWithOptions(&buf, opts).Encode(in) - if err != nil { - return nil, err - } - return buf.Bytes(), nil -} - -// NewEncoderWithOptions returns the encoder with provided options -func NewEncoderWithOptions(w io.Writer, opts *EncoderOptions) *yaml.Encoder { - encoder := NewEncoder(w) - encoder.SetIndent(DefaultIndent) - if opts.SeqIndent == WideSequenceStyle { - encoder.DefaultSeqIndent() - } else { - encoder.CompactSeqIndent() - } - return encoder -} - -var AliasNode yaml.Kind = yaml.AliasNode -var DocumentNode yaml.Kind = yaml.DocumentNode -var MappingNode yaml.Kind = yaml.MappingNode -var ScalarNode yaml.Kind = yaml.ScalarNode -var SequenceNode yaml.Kind = yaml.SequenceNode - -var DoubleQuotedStyle yaml.Style = yaml.DoubleQuotedStyle -var FlowStyle yaml.Style = yaml.FlowStyle -var FoldedStyle yaml.Style = yaml.FoldedStyle -var LiteralStyle yaml.Style = yaml.LiteralStyle -var SingleQuotedStyle yaml.Style = yaml.SingleQuotedStyle -var TaggedStyle yaml.Style = yaml.TaggedStyle - -const ( - MergeTag = "!!merge" -) diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/compatibility.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/compatibility.go deleted file mode 100644 index a4711400..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/compatibility.go +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "reflect" - "strings" - - y1_1 "gopkg.in/yaml.v2" - "k8s.io/kube-openapi/pkg/validation/spec" - y1_2 "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml" -) - -// typeToTag maps OpenAPI schema types to yaml 1.2 tags -var typeToTag = map[string]string{ - "string": NodeTagString, - "integer": NodeTagInt, - "boolean": NodeTagBool, - "number": NodeTagFloat, -} - -// FormatNonStringStyle makes sure that values which parse as non-string values in yaml 1.1 -// are correctly formatted given the Schema type. -func FormatNonStringStyle(node *Node, schema spec.Schema) { - if len(schema.Type) != 1 { - return - } - t := schema.Type[0] - - if !IsYaml1_1NonString(node) { - return - } - switch { - case t == "string" && schema.Format != "int-or-string": - if (node.Style&DoubleQuotedStyle == 0) && (node.Style&SingleQuotedStyle == 0) { - // must quote values so they are parsed as strings - node.Style = DoubleQuotedStyle - } - case t == "boolean" || t == "integer" || t == "number": - if (node.Style&DoubleQuotedStyle != 0) || (node.Style&SingleQuotedStyle != 0) { - // must NOT quote the values so they aren't parsed as strings - node.Style = 0 - } - default: - return - } - - // if the node tag is null, make sure we don't add any non-null tags - // https://github.com/GoogleContainerTools/kpt/issues/2321 - if node.Tag == NodeTagNull { - // must NOT quote null values - node.Style = 0 - return - } - if tag, found := typeToTag[t]; found { - // make sure the right tag is set - node.Tag = tag - } -} - -// IsYaml1_1NonString returns true if the value parses as a non-string value in yaml 1.1 -// when unquoted. -// -// Note: yaml 1.2 uses different keywords than yaml 1.1. Example: yaml 1.2 interprets -// `field: on` and `field: "on"` as equivalent (both strings). However Yaml 1.1 interprets -// `field: on` as on being a bool and `field: "on"` as on being a string. -// If an input is read with `field: "on"`, and the style is changed from DoubleQuote to 0, -// it will change the type of the field from a string to a bool. For this reason, fields -// which are keywords in yaml 1.1 should never have their style changed, as it would break -// backwards compatibility with yaml 1.1 -- which is what is used by the Kubernetes apiserver. -func IsYaml1_1NonString(node *Node) bool { - if node.Kind != y1_2.ScalarNode { - // not a keyword - return false - } - return IsValueNonString(node.Value) -} - -func IsValueNonString(value string) bool { - if value == "" { - return false - } - if strings.Contains(value, "\n") { - // multi-line strings will fail to unmarshal - return false - } - // check if the value will unmarshal into a non-string value using a yaml 1.1 parser - var i1 interface{} - if err := y1_1.Unmarshal([]byte(value), &i1); err != nil { - return false - } - if reflect.TypeOf(i1) != stringType { - return true - } - - return false -} - -var stringType = reflect.TypeOf("string") diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/const.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/const.go deleted file mode 100644 index 6a2cc451..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/const.go +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -const ( - // NodeTagNull is the tag set for a yaml.Document that contains no data; - // e.g. it isn't a Map, Slice, Document, etc - NodeTagNull = "!!null" - NodeTagFloat = "!!float" - NodeTagString = "!!str" - NodeTagBool = "!!bool" - NodeTagInt = "!!int" - NodeTagMap = "!!map" - NodeTagSeq = "!!seq" - NodeTagEmpty = "" -) - -// Field names -const ( - AnnotationsField = "annotations" - APIVersionField = "apiVersion" - KindField = "kind" - MetadataField = "metadata" - DataField = "data" - BinaryDataField = "binaryData" - NameField = "name" - NamespaceField = "namespace" - LabelsField = "labels" -) diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/datamap.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/datamap.go deleted file mode 100644 index f4b7e666..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/datamap.go +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "encoding/base64" - "sort" - "strings" - "unicode/utf8" -) - -// SortedMapKeys returns a sorted slice of keys to the given map. -// Writing this function never gets old. -func SortedMapKeys(m map[string]string) []string { - keys := make([]string, len(m)) - i := 0 - for k := range m { - keys[i] = k - i++ - } - sort.Strings(keys) - return keys -} - -func (rn *RNode) LoadMapIntoConfigMapData(m map[string]string) error { - for _, k := range SortedMapKeys(m) { - fldName, vrN := makeConfigMapValueRNode(m[k]) - if _, err := rn.Pipe( - LookupCreate(MappingNode, fldName), - SetField(k, vrN)); err != nil { - return err - } - } - return nil -} - -func (rn *RNode) LoadMapIntoConfigMapBinaryData(m map[string]string) error { - for _, k := range SortedMapKeys(m) { - _, vrN := makeConfigMapValueRNode(m[k]) - // we know this is binary data - fldName := BinaryDataField - if _, err := rn.Pipe( - LookupCreate(MappingNode, fldName), - SetField(k, vrN)); err != nil { - return err - } - } - return nil -} - -func makeConfigMapValueRNode(s string) (field string, rN *RNode) { - yN := &Node{Kind: ScalarNode} - yN.Tag = NodeTagString - if utf8.ValidString(s) { - field = DataField - yN.Value = s - } else { - field = BinaryDataField - yN.Value = encodeBase64(s) - } - if strings.Contains(yN.Value, "\n") { - yN.Style = LiteralStyle - } - return field, NewRNode(yN) -} - -func (rn *RNode) LoadMapIntoSecretData(m map[string]string) error { - mapNode, err := rn.Pipe(LookupCreate(MappingNode, DataField)) - if err != nil { - return err - } - for _, k := range SortedMapKeys(m) { - vrN := makeSecretValueRNode(m[k]) - if _, err := mapNode.Pipe(SetField(k, vrN)); err != nil { - return err - } - } - return nil -} - -// In a secret, all data is base64 encoded, regardless of its conformance -// or lack thereof to UTF-8. -func makeSecretValueRNode(s string) *RNode { - yN := &Node{Kind: ScalarNode} - // Purposely don't use YAML tags to identify the data as being plain text or - // binary. It kubernetes Secrets the values in the `data` map are expected - // to be base64 encoded, and in ConfigMaps that same can be said for the - // values in the `binaryData` field. - yN.Tag = NodeTagString - yN.Value = encodeBase64(s) - if strings.Contains(yN.Value, "\n") { - yN.Style = LiteralStyle - } - return NewRNode(yN) -} - -// encodeBase64 encodes s as base64 that is broken up into multiple lines -// as appropriate for the resulting length. -func encodeBase64(s string) string { - const lineLen = 70 - encLen := base64.StdEncoding.EncodedLen(len(s)) - lines := encLen/lineLen + 1 - buf := make([]byte, encLen*2+lines) - in := buf[0:encLen] - out := buf[encLen:] - base64.StdEncoding.Encode(in, []byte(s)) - k := 0 - for i := 0; i < len(in); i += lineLen { - j := i + lineLen - if j > len(in) { - j = len(in) - } - k += copy(out[k:], in[i:j]) - if lines > 1 { - out[k] = '\n' - k++ - } - } - return string(out[:k]) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/doc.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/doc.go deleted file mode 100644 index b58811cf..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/doc.go +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package yaml contains libraries for manipulating individual Kubernetes Resource -// Configuration as yaml, keeping yaml structure and comments. -// -// Parsing Resources -// -// Typically Resources will be initialized as collections through the kio package libraries. -// However it is possible to directly initialize Resources using Parse. -// resource, err := yaml.Parse("apiVersion: apps/v1\nkind: Deployment") -// -// Processing Resources -// -// Individual Resources are manipulated using the Pipe and PipeE to apply Filter functions -// to transform the Resource data. -// err := resource.PipeE(yaml.SetAnnotation("key", "value")) -// -// If multiple Filter functions are provided to Pipe or PipeE, each function is applied to -// the result of the last function -- e.g. yaml.Lookup(...), yaml.SetField(...) -// -// Field values may also be retrieved using Pipe. -// annotationValue, err := resource.Pipe(yaml.GetAnnotation("key")) -// -// See http://www.linfo.org/filters.html for a definition of filters. -// -// Common Filters -// -// There are a number of standard filter functions provided by the yaml package. -// -// Working with annotations: -// [AnnotationSetter{}, AnnotationGetter{}, AnnotationClearer{}] -// -// Working with fields by path: -// [PathMatcher{}, PathGetter{}] -// -// Working with individual fields on Maps and Objects: -// [FieldMatcher{}, FieldSetter{}, FieldGetter{}] -// -// Working with individual elements in Sequences: -// [ElementAppender{}, ElementSetter{}, ElementMatcher{}] -// -// Writing Filters -// -// Users may implement their own filter functions. When doing so, can be necessary to work with -// the RNode directly rather than through Pipe. RNode provides a number of functions for doing -// so. See: -// [GetMeta(), Fields(), Elements(), String()] -package yaml diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/filters.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/filters.go deleted file mode 100644 index e364035e..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/filters.go +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "fmt" - "regexp" - "sort" - "strings" -) - -// Filters is the list of serializable Pipeline Filters -var Filters = map[string]func() Filter{ - "AnnotationClearer": func() Filter { return &AnnotationClearer{} }, - "AnnotationGetter": func() Filter { return &AnnotationGetter{} }, - "AnnotationSetter": func() Filter { return &AnnotationSetter{} }, - "LabelSetter": func() Filter { return &LabelSetter{} }, - "ElementAppender": func() Filter { return &ElementAppender{} }, - "ElementMatcher": func() Filter { return &ElementMatcher{} }, - "FieldClearer": func() Filter { return &FieldClearer{} }, - "FilterMatcher": func() Filter { return &FilterMatcher{} }, - "FieldMatcher": func() Filter { return &FieldMatcher{} }, - "FieldSetter": func() Filter { return &FieldSetter{} }, - "PathGetter": func() Filter { return &PathGetter{} }, - "PathMatcher": func() Filter { return &PathMatcher{} }, - "Parser": func() Filter { return &Parser{} }, - "PrefixSetter": func() Filter { return &PrefixSetter{} }, - "ValueReplacer": func() Filter { return &ValueReplacer{} }, - "SuffixSetter": func() Filter { return &SuffixSetter{} }, - "TeePiper": func() Filter { return &TeePiper{} }, -} - -// YFilter wraps the Filter interface so the filter can be represented as -// data and can be unmarshalled into a struct from a yaml config file. -// This allows Pipelines to be expressed as data rather than code. -type YFilter struct { - Filter -} - -func (y YFilter) MarshalYAML() (interface{}, error) { - return y.Filter, nil -} - -func (y *YFilter) UnmarshalYAML(unmarshal func(interface{}) error) error { - meta := &ResourceMeta{} - if err := unmarshal(meta); err != nil { - return err - } - filter, found := Filters[meta.Kind] - if !found { - var knownFilters []string - for k := range Filters { - knownFilters = append(knownFilters, k) - } - sort.Strings(knownFilters) - return fmt.Errorf("unsupported Filter Kind %s: may be one of: [%s]", - meta.Kind, strings.Join(knownFilters, ",")) - } - y.Filter = filter() - - if err := unmarshal(y.Filter); err != nil { - return err - } - return nil -} - -type YFilters []YFilter - -func (y YFilters) Filters() []Filter { - var f []Filter - for i := range y { - f = append(f, y[i].Filter) - } - return f -} - -type FilterMatcher struct { - Kind string `yaml:"kind"` - - // Filters are the set of Filters run by TeePiper. - Filters YFilters `yaml:"pipeline,omitempty"` -} - -func (t FilterMatcher) Filter(rn *RNode) (*RNode, error) { - v, err := rn.Pipe(t.Filters.Filters()...) - if v == nil || err != nil { - return nil, err - } - // return the original input if the pipeline resolves to true - return rn, err -} - -type ValueReplacer struct { - Kind string `yaml:"kind"` - - StringMatch string `yaml:"stringMatch"` - RegexMatch string `yaml:"regexMatch"` - Replace string `yaml:"replace"` - Count int `yaml:"count"` -} - -func (s ValueReplacer) Filter(object *RNode) (*RNode, error) { - if s.Count == 0 { - s.Count = -1 - } - switch { - case s.StringMatch != "": - object.value.Value = strings.Replace(object.value.Value, s.StringMatch, s.Replace, s.Count) - case s.RegexMatch != "": - r, err := regexp.Compile(s.RegexMatch) - if err != nil { - return nil, fmt.Errorf("ValueReplacer RegexMatch does not compile: %v", err) - } - object.value.Value = r.ReplaceAllString(object.value.Value, s.Replace) - default: - return nil, fmt.Errorf("ValueReplacer missing StringMatch and RegexMatch") - } - return object, nil -} - -type PrefixSetter struct { - Kind string `yaml:"kind"` - - Value string `yaml:"value"` -} - -func (s PrefixSetter) Filter(object *RNode) (*RNode, error) { - if !strings.HasPrefix(object.value.Value, s.Value) { - object.value.Value = s.Value + object.value.Value - } - return object, nil -} - -type SuffixSetter struct { - Kind string `yaml:"kind"` - - Value string `yaml:"value"` -} - -func (s SuffixSetter) Filter(object *RNode) (*RNode, error) { - if !strings.HasSuffix(object.value.Value, s.Value) { - object.value.Value += s.Value - } - return object, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/fns.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/fns.go deleted file mode 100644 index c4ab1fb5..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/fns.go +++ /dev/null @@ -1,866 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "fmt" - "regexp" - "strconv" - "strings" - - "github.com/davecgh/go-spew/spew" - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml" -) - -// Append creates an ElementAppender -func Append(elements ...*yaml.Node) ElementAppender { - return ElementAppender{Elements: elements} -} - -// ElementAppender adds all element to a SequenceNode's Content. -// Returns Elements[0] if len(Elements) == 1, otherwise returns nil. -type ElementAppender struct { - Kind string `yaml:"kind,omitempty"` - - // Elem is the value to append. - Elements []*yaml.Node `yaml:"elements,omitempty"` -} - -func (a ElementAppender) Filter(rn *RNode) (*RNode, error) { - if err := ErrorIfInvalid(rn, yaml.SequenceNode); err != nil { - return nil, err - } - for i := range a.Elements { - rn.YNode().Content = append(rn.Content(), a.Elements[i]) - } - if len(a.Elements) == 1 { - return NewRNode(a.Elements[0]), nil - } - return nil, nil -} - -// ElementSetter sets the value for an Element in an associative list. -// ElementSetter will append, replace or delete an element in an associative list. -// To append, user a key-value pair that doesn't exist in the sequence. this -// behavior is intended to handle the case that not matching element found. It's -// not designed for this purpose. To append an element, please use ElementAppender. -// To replace, set the key-value pair and a non-nil Element. -// To delete, set the key-value pair and leave the Element as nil. -// Every key must have a corresponding value. -type ElementSetter struct { - Kind string `yaml:"kind,omitempty"` - - // Element is the new value to set -- remove the existing element if nil - Element *Node - - // Key is a list of fields on the elements. It is used to find matching elements to - // update / delete - Keys []string - - // Value is a list of field values on the elements corresponding to the keys. It is - // used to find matching elements to update / delete. - Values []string -} - -// isMappingNode returns whether node is a mapping node -func (e ElementSetter) isMappingNode(node *RNode) bool { - return ErrorIfInvalid(node, yaml.MappingNode) == nil -} - -// isMappingSetter returns is this setter intended to set a mapping node -func (e ElementSetter) isMappingSetter() bool { - return len(e.Keys) > 0 && e.Keys[0] != "" && - len(e.Values) > 0 && e.Values[0] != "" -} - -func (e ElementSetter) Filter(rn *RNode) (*RNode, error) { - if len(e.Keys) == 0 { - e.Keys = append(e.Keys, "") - } - - if err := ErrorIfInvalid(rn, SequenceNode); err != nil { - return nil, err - } - - // build the new Content slice - var newContent []*yaml.Node - matchingElementFound := false - for i := range rn.YNode().Content { - elem := rn.Content()[i] - newNode := NewRNode(elem) - - // empty elements are not valid -- they at least need an associative key - if IsMissingOrNull(newNode) || IsEmptyMap(newNode) { - continue - } - // keep non-mapping node in the Content when we want to match a mapping. - if !e.isMappingNode(newNode) && e.isMappingSetter() { - newContent = append(newContent, elem) - continue - } - - // check if this is the element we are matching - var val *RNode - var err error - found := true - for j := range e.Keys { - if j < len(e.Values) { - val, err = newNode.Pipe(FieldMatcher{Name: e.Keys[j], StringValue: e.Values[j]}) - } - if err != nil { - return nil, err - } - if val == nil { - found = false - break - } - } - if !found { - // not the element we are looking for, keep it in the Content - if len(e.Values) > 0 { - newContent = append(newContent, elem) - } - continue - } - matchingElementFound = true - - // deletion operation -- remove the element from the new Content - if e.Element == nil { - continue - } - // replace operation -- replace the element in the Content - newContent = append(newContent, e.Element) - } - rn.YNode().Content = newContent - - // deletion operation -- return nil - if IsMissingOrNull(NewRNode(e.Element)) { - return nil, nil - } - - // append operation -- add the element to the Content - if !matchingElementFound { - rn.YNode().Content = append(rn.YNode().Content, e.Element) - } - - return NewRNode(e.Element), nil -} - -// GetElementByIndex will return a Filter which can be applied to a sequence -// node to get the element specified by the index -func GetElementByIndex(index int) ElementIndexer { - return ElementIndexer{Index: index} -} - -// ElementIndexer picks the element with a specified index. Index starts from -// 0 to len(list) - 1. a hyphen ("-") means the last index. -type ElementIndexer struct { - Index int -} - -// Filter implements Filter -func (i ElementIndexer) Filter(rn *RNode) (*RNode, error) { - // rn.Elements will return error if rn is not a sequence node. - elems, err := rn.Elements() - if err != nil { - return nil, err - } - if i.Index < 0 { - return elems[len(elems)-1], nil - } - if i.Index >= len(elems) { - return nil, nil - } - return elems[i.Index], nil -} - -// Clear returns a FieldClearer -func Clear(name string) FieldClearer { - return FieldClearer{Name: name} -} - -// FieldClearer removes the field or map key. -// Returns a RNode with the removed field or map entry. -type FieldClearer struct { - Kind string `yaml:"kind,omitempty"` - - // Name is the name of the field or key in the map. - Name string `yaml:"name,omitempty"` - - IfEmpty bool `yaml:"ifEmpty,omitempty"` -} - -func (c FieldClearer) Filter(rn *RNode) (*RNode, error) { - if err := ErrorIfInvalid(rn, yaml.MappingNode); err != nil { - return nil, err - } - - for i := 0; i < len(rn.Content()); i += 2 { - // if name matches, remove these 2 elements from the list because - // they are treated as a fieldName/fieldValue pair. - if rn.Content()[i].Value == c.Name { - if c.IfEmpty { - if len(rn.Content()[i+1].Content) > 0 { - continue - } - } - - // save the item we are about to remove - removed := NewRNode(rn.Content()[i+1]) - if len(rn.YNode().Content) > i+2 { - l := len(rn.YNode().Content) - // remove from the middle of the list - rn.YNode().Content = rn.Content()[:i] - rn.YNode().Content = append( - rn.YNode().Content, - rn.Content()[i+2:l]...) - } else { - // remove from the end of the list - rn.YNode().Content = rn.Content()[:i] - } - - // return the removed field name and value - return removed, nil - } - } - // nothing removed - return nil, nil -} - -func MatchElement(field, value string) ElementMatcher { - return ElementMatcher{Keys: []string{field}, Values: []string{value}} -} - -func MatchElementList(keys []string, values []string) ElementMatcher { - return ElementMatcher{Keys: keys, Values: values} -} - -func GetElementByKey(key string) ElementMatcher { - return ElementMatcher{Keys: []string{key}, MatchAnyValue: true} -} - -// ElementMatcher returns the first element from a Sequence matching the -// specified key-value pairs. If there's no match, and no configuration error, -// the matcher returns nil, nil. -type ElementMatcher struct { - Kind string `yaml:"kind,omitempty"` - - // Keys are the list of fields upon which to match this element. - Keys []string - - // Values are the list of values upon which to match this element. - Values []string - - // Create will create the Element if it is not found - Create *RNode `yaml:"create,omitempty"` - - // MatchAnyValue indicates that matcher should only consider the key and ignore - // the actual value in the list. Values must be empty when MatchAnyValue is - // set to true. - MatchAnyValue bool `yaml:"noValue,omitempty"` -} - -func (e ElementMatcher) Filter(rn *RNode) (*RNode, error) { - if len(e.Keys) == 0 { - e.Keys = append(e.Keys, "") - } - if len(e.Values) == 0 { - e.Values = append(e.Values, "") - } - - if err := ErrorIfInvalid(rn, yaml.SequenceNode); err != nil { - return nil, err - } - if e.MatchAnyValue && len(e.Values) != 0 && e.Values[0] != "" { - return nil, fmt.Errorf("Values must be empty when MatchAnyValue is set to true") - } - - // SequenceNode Content is a slice of ScalarNodes. Each ScalarNode has a - // YNode containing the primitive data. - if len(e.Keys) == 0 || len(e.Keys[0]) == 0 { - for i := range rn.Content() { - if rn.Content()[i].Value == e.Values[0] { - return &RNode{value: rn.Content()[i]}, nil - } - } - if e.Create != nil { - return rn.Pipe(Append(e.Create.YNode())) - } - return nil, nil - } - - // SequenceNode Content is a slice of MappingNodes. Each MappingNode has Content - // with a slice of key-value pairs containing the fields. - for i := range rn.Content() { - // cast the entry to a RNode so we can operate on it - elem := NewRNode(rn.Content()[i]) - var field *RNode - var err error - - // only check mapping node - if err = ErrorIfInvalid(elem, yaml.MappingNode); err != nil { - continue - } - - if !e.MatchAnyValue && len(e.Keys) != len(e.Values) { - return nil, fmt.Errorf("length of keys must equal length of values when MatchAnyValue is false") - } - - matchesElement := true - for i := range e.Keys { - if e.MatchAnyValue { - field, err = elem.Pipe(Get(e.Keys[i])) - } else { - field, err = elem.Pipe(MatchField(e.Keys[i], e.Values[i])) - } - if !IsFoundOrError(field, err) { - // this is not the element we are looking for - matchesElement = false - break - } - } - if matchesElement { - return elem, err - } - } - - // create the element - if e.Create != nil { - return rn.Pipe(Append(e.Create.YNode())) - } - - return nil, nil -} - -func Get(name string) FieldMatcher { - return FieldMatcher{Name: name} -} - -func MatchField(name, value string) FieldMatcher { - return FieldMatcher{Name: name, Value: NewScalarRNode(value)} -} - -func Match(value string) FieldMatcher { - return FieldMatcher{Value: NewScalarRNode(value)} -} - -// FieldMatcher returns the value of a named field or map entry. -type FieldMatcher struct { - Kind string `yaml:"kind,omitempty"` - - // Name of the field to return - Name string `yaml:"name,omitempty"` - - // YNode of the field to return. - // Optional. Will only need to match field name if unset. - Value *RNode `yaml:"value,omitempty"` - - StringValue string `yaml:"stringValue,omitempty"` - - StringRegexValue string `yaml:"stringRegexValue,omitempty"` - - // Create will cause the field to be created with this value - // if it is set. - Create *RNode `yaml:"create,omitempty"` -} - -func (f FieldMatcher) Filter(rn *RNode) (*RNode, error) { - if f.StringValue != "" && f.Value == nil { - f.Value = NewScalarRNode(f.StringValue) - } - - // never match nil or null fields - if IsMissingOrNull(rn) { - return nil, nil - } - - if f.Name == "" { - if err := ErrorIfInvalid(rn, yaml.ScalarNode); err != nil { - return nil, err - } - switch { - case f.StringRegexValue != "": - // TODO(pwittrock): pre-compile this when unmarshalling and cache to a field - rg, err := regexp.Compile(f.StringRegexValue) - if err != nil { - return nil, err - } - if match := rg.MatchString(rn.value.Value); match { - return rn, nil - } - return nil, nil - case GetValue(rn) == GetValue(f.Value): - return rn, nil - default: - return nil, nil - } - } - - if err := ErrorIfInvalid(rn, yaml.MappingNode); err != nil { - return nil, err - } - - for i := 0; i < len(rn.Content()); i = IncrementFieldIndex(i) { - isMatchingField := rn.Content()[i].Value == f.Name - if isMatchingField { - requireMatchFieldValue := f.Value != nil - if !requireMatchFieldValue || rn.Content()[i+1].Value == f.Value.YNode().Value { - return NewRNode(rn.Content()[i+1]), nil - } - } - } - - if f.Create != nil { - return rn.Pipe(SetField(f.Name, f.Create)) - } - - return nil, nil -} - -// Lookup returns a PathGetter to lookup a field by its path. -func Lookup(path ...string) PathGetter { - return PathGetter{Path: path} -} - -// LookupCreate returns a PathGetter to lookup a field by its path and create it if it doesn't already -// exist. -func LookupCreate(kind yaml.Kind, path ...string) PathGetter { - return PathGetter{Path: path, Create: kind} -} - -// ConventionalContainerPaths is a list of paths at which containers typically appear in workload APIs. -// It is intended for use with LookupFirstMatch. -var ConventionalContainerPaths = [][]string{ - // e.g. Deployment, ReplicaSet, DaemonSet, Job, StatefulSet - {"spec", "template", "spec", "containers"}, - // e.g. CronJob - {"spec", "jobTemplate", "spec", "template", "spec", "containers"}, - // e.g. Pod - {"spec", "containers"}, - // e.g. PodTemplate - {"template", "spec", "containers"}, -} - -// LookupFirstMatch returns a Filter for locating a value that may exist at one of several possible paths. -// For example, it can be used with ConventionalContainerPaths to find the containers field in a standard workload resource. -// If more than one of the paths exists in the resource, the first will be returned. If none exist, -// nil will be returned. If an error is encountered during lookup, it will be returned. -func LookupFirstMatch(paths [][]string) Filter { - return FilterFunc(func(object *RNode) (*RNode, error) { - var result *RNode - var err error - for _, path := range paths { - result, err = object.Pipe(PathGetter{Path: path}) - if err != nil { - return nil, errors.Wrap(err) - } - if result != nil { - return result, nil - } - } - return nil, nil - }) -} - -// PathGetter returns the RNode under Path. -type PathGetter struct { - Kind string `yaml:"kind,omitempty"` - - // Path is a slice of parts leading to the RNode to lookup. - // Each path part may be one of: - // * FieldMatcher -- e.g. "spec" - // * Map Key -- e.g. "app.k8s.io/version" - // * List Entry -- e.g. "[name=nginx]" or "[=-jar]" or "0" or "-" - // - // Map Keys and Fields are equivalent. - // See FieldMatcher for more on Fields and Map Keys. - // - // List Entries can be specified as map entry to match [fieldName=fieldValue] - // or a positional index like 0 to get the element. - (unquoted hyphen) is - // special and means the last element. - // - // See Elem for more on List Entries. - // - // Examples: - // * spec.template.spec.container with matching name: [name=nginx] - // * spec.template.spec.container.argument matching a value: [=-jar] - Path []string `yaml:"path,omitempty"` - - // Create will cause missing path parts to be created as they are walked. - // - // * The leaf Node (final path) will be created with a Kind matching Create - // * Intermediary Nodes will be created as either a MappingNodes or - // SequenceNodes as appropriate for each's Path location. - // * If a list item is specified by a index (an offset or "-"), this item will - // not be created even Create is set. - Create yaml.Kind `yaml:"create,omitempty"` - - // Style is the style to apply to created value Nodes. - // Created key Nodes keep an unspecified Style. - Style yaml.Style `yaml:"style,omitempty"` -} - -func (l PathGetter) Filter(rn *RNode) (*RNode, error) { - var err error - fieldPath := append([]string{}, rn.FieldPath()...) - match := rn - - // iterate over path until encountering an error or missing value - l.Path = cleanPath(l.Path) - for i := range l.Path { - var part, nextPart string - part = l.Path[i] - if len(l.Path) > i+1 { - nextPart = l.Path[i+1] - } - var fltr Filter - fltr, err = l.getFilter(part, nextPart, &fieldPath) - if err != nil { - return nil, err - } - match, err = match.Pipe(fltr) - if IsMissingOrError(match, err) { - return nil, err - } - match.AppendToFieldPath(fieldPath...) - } - return match, nil -} - -func (l PathGetter) getFilter(part, nextPart string, fieldPath *[]string) (Filter, error) { - idx, err := strconv.Atoi(part) - switch { - case err == nil: - // part is a number - if idx < 0 { - return nil, fmt.Errorf("array index %d cannot be negative", idx) - } - return GetElementByIndex(idx), nil - case part == "-": - // part is a hyphen - return GetElementByIndex(-1), nil - case IsListIndex(part): - // part is surrounded by brackets - return l.elemFilter(part) - default: - // mapping node - *fieldPath = append(*fieldPath, part) - return l.fieldFilter(part, l.getKind(nextPart)) - } -} - -func (l PathGetter) elemFilter(part string) (Filter, error) { - var match *RNode - name, value, err := SplitIndexNameValue(part) - if err != nil { - return nil, errors.Wrap(err) - } - if !IsCreate(l.Create) { - return MatchElement(name, value), nil - } - - var elem *RNode - primitiveElement := len(name) == 0 - if primitiveElement { - // append a ScalarNode - elem = NewScalarRNode(value) - elem.YNode().Style = l.Style - match = elem - } else { - // append a MappingNode - match = NewRNode(&yaml.Node{Kind: yaml.ScalarNode, Value: value, Style: l.Style}) - elem = NewRNode(&yaml.Node{ - Kind: yaml.MappingNode, - Content: []*yaml.Node{{Kind: yaml.ScalarNode, Value: name}, match.YNode()}, - Style: l.Style, - }) - } - // Append the Node - return ElementMatcher{Keys: []string{name}, Values: []string{value}, Create: elem}, nil -} - -func (l PathGetter) fieldFilter( - name string, kind yaml.Kind) (Filter, error) { - if !IsCreate(l.Create) { - return Get(name), nil - } - return FieldMatcher{Name: name, Create: &RNode{value: &yaml.Node{Kind: kind, Style: l.Style}}}, nil -} - -func (l PathGetter) getKind(nextPart string) yaml.Kind { - if IsListIndex(nextPart) { - // if nextPart is of the form [a=b], then it is an index into a Sequence - // so the current part must be a SequenceNode - return yaml.SequenceNode - } - if nextPart == "" { - // final name in the path, use the l.Create defined Kind - return l.Create - } - - // non-sequence intermediate Node - return yaml.MappingNode -} - -func SetField(name string, value *RNode) FieldSetter { - return FieldSetter{Name: name, Value: value} -} - -func Set(value *RNode) FieldSetter { - return FieldSetter{Value: value} -} - -// MapEntrySetter sets a map entry to a value. If it finds a key with the same -// value, it will override both Key and Value RNodes, including style and any -// other metadata. If it doesn't find the key, it will insert a new map entry. -// It will set the field, even if it's empty or nil, unlike the FieldSetter. -// This is useful for rebuilding some pre-existing RNode structure. -type MapEntrySetter struct { - // Name is the name of the field or key to lookup in a MappingNode. - // If Name is unspecified, it will use the Key's Value - Name string `yaml:"name,omitempty"` - - // Value is the value to set. - Value *RNode `yaml:"value,omitempty"` - - // Key is the map key to set. - Key *RNode `yaml:"key,omitempty"` -} - -func (s MapEntrySetter) Filter(rn *RNode) (*RNode, error) { - if rn == nil { - return nil, errors.Errorf("Can't set map entry on a nil RNode") - } - if err := ErrorIfInvalid(rn, yaml.MappingNode); err != nil { - return nil, err - } - if s.Name == "" { - s.Name = GetValue(s.Key) - } - for i := 0; i < len(rn.Content()); i = IncrementFieldIndex(i) { - isMatchingField := rn.Content()[i].Value == s.Name - if isMatchingField { - rn.Content()[i] = s.Key.YNode() - rn.Content()[i+1] = s.Value.YNode() - return rn, nil - } - } - - // create the field - rn.YNode().Content = append( - rn.YNode().Content, - s.Key.YNode(), - s.Value.YNode()) - return rn, nil -} - -// FieldSetter sets a field or map entry to a value. -type FieldSetter struct { - Kind string `yaml:"kind,omitempty"` - - // Name is the name of the field or key to lookup in a MappingNode. - // If Name is unspecified, and the input is a ScalarNode, FieldSetter will set the - // value on the ScalarNode. - Name string `yaml:"name,omitempty"` - - // Comments for the field - Comments Comments `yaml:"comments,omitempty"` - - // Value is the value to set. - // Optional if Kind is set. - Value *RNode `yaml:"value,omitempty"` - - StringValue string `yaml:"stringValue,omitempty"` - - // OverrideStyle can be set to override the style of the existing node - // when setting it. Otherwise, if an existing node is found, the style is - // retained. - OverrideStyle bool `yaml:"overrideStyle,omitempty"` -} - -func (s FieldSetter) Filter(rn *RNode) (*RNode, error) { - if s.StringValue != "" && s.Value == nil { - s.Value = NewScalarRNode(s.StringValue) - } - - // need to set style for strings not recognized by yaml 1.1 to quoted if not previously set - // TODO: fix in upstream yaml library so this can be handled with yaml SetString - if s.Value.IsStringValue() && !s.OverrideStyle && s.Value.YNode().Style == 0 && IsYaml1_1NonString(s.Value.YNode()) { - s.Value.YNode().Style = yaml.DoubleQuotedStyle - } - - if s.Name == "" { - if err := ErrorIfInvalid(rn, yaml.ScalarNode); err != nil { - return rn, err - } - if IsMissingOrNull(s.Value) { - return rn, nil - } - // only apply the style if there is not an existing style - // or we want to override it - if !s.OverrideStyle || s.Value.YNode().Style == 0 { - // keep the original style if it exists - s.Value.YNode().Style = rn.YNode().Style - } - rn.SetYNode(s.Value.YNode()) - return rn, nil - } - - // Clear the field if it is empty, or explicitly null - if s.Value == nil || s.Value.IsTaggedNull() { - return rn.Pipe(Clear(s.Name)) - } - - field, err := rn.Pipe(FieldMatcher{Name: s.Name}) - if err != nil { - return nil, err - } - if field != nil { - // only apply the style if there is not an existing style - // or we want to override it - if !s.OverrideStyle || field.YNode().Style == 0 { - // keep the original style if it exists - s.Value.YNode().Style = field.YNode().Style - } - // need to def ref the Node since field is ephemeral - field.SetYNode(s.Value.YNode()) - return field, nil - } - - // create the field - rn.YNode().Content = append( - rn.YNode().Content, - &yaml.Node{ - Kind: yaml.ScalarNode, - Value: s.Name, - HeadComment: s.Comments.HeadComment, - LineComment: s.Comments.LineComment, - FootComment: s.Comments.FootComment, - }, - s.Value.YNode()) - return s.Value, nil -} - -// Tee calls the provided Filters, and returns its argument rather than the result -// of the filters. -// May be used to fork sub-filters from a call. -// e.g. locate field, set value; locate another field, set another value -func Tee(filters ...Filter) Filter { - return TeePiper{Filters: filters} -} - -// TeePiper Calls a slice of Filters and returns its input. -// May be used to fork sub-filters from a call. -// e.g. locate field, set value; locate another field, set another value -type TeePiper struct { - Kind string `yaml:"kind,omitempty"` - - // Filters are the set of Filters run by TeePiper. - Filters []Filter `yaml:"filters,omitempty"` -} - -func (t TeePiper) Filter(rn *RNode) (*RNode, error) { - _, err := rn.Pipe(t.Filters...) - return rn, err -} - -// IsCreate returns true if kind is specified -func IsCreate(kind yaml.Kind) bool { - return kind != 0 -} - -// IsMissingOrError returns true if rn is NOT found or err is non-nil -func IsMissingOrError(rn *RNode, err error) bool { - return rn == nil || err != nil -} - -// IsFoundOrError returns true if rn is found or err is non-nil -func IsFoundOrError(rn *RNode, err error) bool { - return rn != nil || err != nil -} - -func ErrorIfAnyInvalidAndNonNull(kind yaml.Kind, rn ...*RNode) error { - for i := range rn { - if IsMissingOrNull(rn[i]) { - continue - } - if err := ErrorIfInvalid(rn[i], kind); err != nil { - return err - } - } - return nil -} - -var nodeTypeIndex = map[yaml.Kind]string{ - yaml.SequenceNode: "SequenceNode", - yaml.MappingNode: "MappingNode", - yaml.ScalarNode: "ScalarNode", - yaml.DocumentNode: "DocumentNode", - yaml.AliasNode: "AliasNode", -} - -func ErrorIfInvalid(rn *RNode, kind yaml.Kind) error { - if IsMissingOrNull(rn) { - // node has no type, pass validation - return nil - } - - if rn.YNode().Kind != kind { - s, _ := rn.String() - return errors.Errorf( - "wrong Node Kind for %s expected: %v was %v: value: {%s}", - strings.Join(rn.FieldPath(), "."), - nodeTypeIndex[kind], nodeTypeIndex[rn.YNode().Kind], strings.TrimSpace(s)) - } - - if kind == yaml.MappingNode { - if len(rn.YNode().Content)%2 != 0 { - return errors.Errorf( - "yaml MappingNodes must have even length contents: %v", spew.Sdump(rn)) - } - } - - return nil -} - -// IsListIndex returns true if p is an index into a Val. -// e.g. [fieldName=fieldValue] -// e.g. [=primitiveValue] -func IsListIndex(p string) bool { - return strings.HasPrefix(p, "[") && strings.HasSuffix(p, "]") -} - -// IsIdxNumber returns true if p is an index number. -// e.g. 1 -func IsIdxNumber(p string) bool { - idx, err := strconv.Atoi(p) - return err == nil && idx >= 0 -} - -// IsWildcard returns true if p is matching every elements. -// e.g. "*" -func IsWildcard(p string) bool { - return p == "*" -} - -// SplitIndexNameValue splits a lookup part Val index into the field name -// and field value to match. -// e.g. splits [name=nginx] into (name, nginx) -// e.g. splits [=-jar] into ("", -jar) -func SplitIndexNameValue(p string) (string, string, error) { - elem := strings.TrimSuffix(p, "]") - elem = strings.TrimPrefix(elem, "[") - parts := strings.SplitN(elem, "=", 2) - if len(parts) == 1 { - return "", "", fmt.Errorf("list path element must contain fieldName=fieldValue for element to match") - } - return parts[0], parts[1], nil -} - -// IncrementFieldIndex increments i to point to the next field name element in -// a slice of Contents. -func IncrementFieldIndex(i int) int { - return i + 2 -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/copied.deepcopy.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/copied.deepcopy.go deleted file mode 100644 index 52f32be8..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/copied.deepcopy.go +++ /dev/null @@ -1,44 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/labels/zz_generated.deepcopy.go - -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright The 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 labels - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Requirement) DeepCopyInto(out *Requirement) { - *out = *in - if in.strValues != nil { - in, out := &in.strValues, &out.strValues - *out = make([]string, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement. -func (in *Requirement) DeepCopy() *Requirement { - if in == nil { - return nil - } - out := new(Requirement) - in.DeepCopyInto(out) - return out -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/labels.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/labels.go deleted file mode 100644 index 300014ea..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/labels.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/labels/labels.go - -/* -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 labels - -import ( - "fmt" - "sort" - "strings" -) - -// Labels allows you to present labels independently from their storage. -type Labels interface { - // Has returns whether the provided label exists. - Has(label string) (exists bool) - - // Get returns the value for the provided label. - Get(label string) (value string) -} - -// Set is a map of label:value. It implements Labels. -type Set map[string]string - -// String returns all labels listed as a human readable string. -// Conveniently, exactly the format that ParseSelector takes. -func (ls Set) String() string { - selector := make([]string, 0, len(ls)) - for key, value := range ls { - selector = append(selector, key+"="+value) - } - // Sort for determinism. - sort.StringSlice(selector).Sort() - return strings.Join(selector, ",") -} - -// Has returns whether the provided label exists in the map. -func (ls Set) Has(label string) bool { - _, exists := ls[label] - return exists -} - -// Get returns the value in the map for the provided label. -func (ls Set) Get(label string) string { - return ls[label] -} - -// AsSelector converts labels into a selectors. It does not -// perform any validation, which means the server will reject -// the request if the Set contains invalid values. -func (ls Set) AsSelector() Selector { - return SelectorFromSet(ls) -} - -// AsValidatedSelector converts labels into a selectors. -// The Set is validated client-side, which allows to catch errors early. -func (ls Set) AsValidatedSelector() (Selector, error) { - return ValidatedSelectorFromSet(ls) -} - -// AsSelectorPreValidated converts labels into a selector, but -// assumes that labels are already validated and thus doesn't -// perform any validation. -// According to our measurements this is significantly faster -// in codepaths that matter at high scale. -func (ls Set) AsSelectorPreValidated() Selector { - return SelectorFromValidatedSet(ls) -} - -// FormatLabels convert label map into plain string -func FormatLabels(labelMap map[string]string) string { - l := Set(labelMap).String() - if l == "" { - l = "" - } - 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(key, value); err != nil { - return labelsMap, err - } - labelsMap[key] = value - } - return labelsMap, nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/selector.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/selector.go deleted file mode 100644 index 2999eddd..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/selector.go +++ /dev/null @@ -1,926 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/labels/selector.go - -/* -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 labels - -import ( - "bytes" - "fmt" - "sort" - "strconv" - "strings" - - "log" - - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection" - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets" - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation" -) - -// Requirements is AND of all requirements. -type Requirements []Requirement - -// Selector represents a label selector. -type Selector interface { - // Matches returns true if this selector matches the given set of labels. - Matches(Labels) bool - - // Empty returns true if this selector does not restrict the selection space. - Empty() bool - - // String returns a human readable string that represents this selector. - String() string - - // Add adds requirements to the Selector - Add(r ...Requirement) Selector - - // Requirements converts this interface into Requirements to expose - // more detailed selection information. - // If there are querying parameters, it will return converted requirements and selectable=true. - // If this selector doesn't want to select anything, it will return selectable=false. - Requirements() (requirements Requirements, selectable bool) - - // Make a deep copy of the selector. - DeepCopySelector() Selector - - // RequiresExactMatch allows a caller to introspect whether a given selector - // requires a single specific label to be set, and if so returns the value it - // requires. - RequiresExactMatch(label string) (value string, found bool) -} - -// Everything returns a selector that matches all labels. -func Everything() Selector { - return internalSelector{} -} - -type nothingSelector struct{} - -func (n nothingSelector) Matches(_ Labels) bool { return false } -func (n nothingSelector) Empty() bool { return false } -func (n nothingSelector) String() string { return "" } -func (n nothingSelector) Add(_ ...Requirement) Selector { return n } -func (n nothingSelector) Requirements() (Requirements, bool) { return nil, false } -func (n nothingSelector) DeepCopySelector() Selector { return n } -func (n nothingSelector) RequiresExactMatch(label string) (value string, found bool) { - return "", false -} - -// Nothing returns a selector that matches no labels -func Nothing() Selector { - return nothingSelector{} -} - -// NewSelector returns a nil selector -func NewSelector() Selector { - return internalSelector(nil) -} - -type internalSelector []Requirement - -func (s internalSelector) DeepCopy() internalSelector { - if s == nil { - return nil - } - result := make([]Requirement, len(s)) - for i := range s { - s[i].DeepCopyInto(&result[i]) - } - return result -} - -func (s internalSelector) DeepCopySelector() Selector { - return s.DeepCopy() -} - -// ByKey sorts requirements by key to obtain deterministic parser -type ByKey []Requirement - -func (a ByKey) Len() int { return len(a) } - -func (a ByKey) Swap(i, j int) { a[i], a[j] = a[j], a[i] } - -func (a ByKey) Less(i, j int) bool { return a[i].key < a[j].key } - -// Requirement contains values, a key, and an operator that relates the key and values. -// The zero value of Requirement is invalid. -// Requirement implements both set based match and exact match -// Requirement should be initialized via NewRequirement constructor for creating a valid Requirement. -type Requirement struct { - key string - operator selection.Operator - // In huge majority of cases we have at most one value here. - // It is generally faster to operate on a single-element slice - // than on a single-element map, so we have a slice here. - strValues []string -} - -// NewRequirement is the constructor for a Requirement. -// If any of these rules is violated, an error is returned: -// (1) The operator can only be In, NotIn, Equals, DoubleEquals, NotEquals, Exists, or DoesNotExist. -// (2) If the operator is In or NotIn, the values set must be non-empty. -// (3) If the operator is Equals, DoubleEquals, or NotEquals, the values set must contain one value. -// (4) If the operator is Exists or DoesNotExist, the value set must be empty. -// (5) If the operator is Gt or Lt, the values set must contain only one value, which will be interpreted as an integer. -// (6) The key is invalid due to its length, or sequence -// of characters. See validateLabelKey for more details. -// -// The empty string is a valid value in the input values set. -func NewRequirement(key string, op selection.Operator, vals []string) (*Requirement, error) { - if err := validateLabelKey(key); err != nil { - return nil, err - } - switch op { - case selection.In, selection.NotIn: - if len(vals) == 0 { - return nil, fmt.Errorf("for 'in', 'notin' operators, values set can't be empty") - } - case selection.Equals, selection.DoubleEquals, selection.NotEquals: - if len(vals) != 1 { - return nil, fmt.Errorf("exact-match compatibility requires one single value") - } - case selection.Exists, selection.DoesNotExist: - if len(vals) != 0 { - return nil, fmt.Errorf("values set must be empty for exists and does not exist") - } - case selection.GreaterThan, selection.LessThan: - if len(vals) != 1 { - return nil, fmt.Errorf("for 'Gt', 'Lt' operators, exactly one value is required") - } - for i := range vals { - if _, err := strconv.ParseInt(vals[i], 10, 64); err != nil { - return nil, fmt.Errorf("for 'Gt', 'Lt' operators, the value must be an integer") - } - } - default: - return nil, fmt.Errorf("operator '%v' is not recognized", op) - } - - for i := range vals { - if err := validateLabelValue(key, vals[i]); err != nil { - return nil, err - } - } - return &Requirement{key: key, operator: op, strValues: vals}, nil -} - -func (r *Requirement) hasValue(value string) bool { - for i := range r.strValues { - if r.strValues[i] == value { - return true - } - } - return false -} - -// Matches returns true if the Requirement matches the input Labels. -// There is a match in the following cases: -// (1) The operator is Exists and Labels has the Requirement's key. -// (2) The operator is In, Labels has the Requirement's key and Labels' -// value for that key is in Requirement's value set. -// (3) The operator is NotIn, Labels has the Requirement's key and -// Labels' value for that key is not in Requirement's value set. -// (4) The operator is DoesNotExist or NotIn and Labels does not have the -// Requirement's key. -// (5) The operator is GreaterThanOperator or LessThanOperator, and Labels has -// the Requirement's key and the corresponding value satisfies mathematical inequality. -func (r *Requirement) Matches(ls Labels) bool { - switch r.operator { - case selection.In, selection.Equals, selection.DoubleEquals: - if !ls.Has(r.key) { - return false - } - return r.hasValue(ls.Get(r.key)) - case selection.NotIn, selection.NotEquals: - if !ls.Has(r.key) { - return true - } - return !r.hasValue(ls.Get(r.key)) - case selection.Exists: - return ls.Has(r.key) - case selection.DoesNotExist: - return !ls.Has(r.key) - case selection.GreaterThan, selection.LessThan: - if !ls.Has(r.key) { - return false - } - lsValue, err := strconv.ParseInt(ls.Get(r.key), 10, 64) - if err != nil { - log.Printf("ParseInt failed for value %+v in label %+v, %+v", ls.Get(r.key), ls, err) - return false - } - - // There should be only one strValue in r.strValues, and can be converted to an integer. - if len(r.strValues) != 1 { - log.Printf("Invalid values count %+v of requirement %#v, for 'Gt', 'Lt' operators, exactly one value is required", len(r.strValues), r) - return false - } - - var rValue int64 - for i := range r.strValues { - rValue, err = strconv.ParseInt(r.strValues[i], 10, 64) - if err != nil { - log.Printf("ParseInt failed for value %+v in requirement %#v, for 'Gt', 'Lt' operators, the value must be an integer", r.strValues[i], r) - return false - } - } - return (r.operator == selection.GreaterThan && lsValue > rValue) || (r.operator == selection.LessThan && lsValue < rValue) - default: - return false - } -} - -// Key returns requirement key -func (r *Requirement) Key() string { - return r.key -} - -// Operator returns requirement operator -func (r *Requirement) Operator() selection.Operator { - return r.operator -} - -// Values returns requirement values -func (r *Requirement) Values() sets.String { - ret := sets.String{} - for i := range r.strValues { - ret.Insert(r.strValues[i]) - } - return ret -} - -// Empty returns true if the internalSelector doesn't restrict selection space -func (lsel internalSelector) Empty() bool { - if lsel == nil { - return true - } - return len(lsel) == 0 -} - -// String returns a human-readable string that represents this -// Requirement. If called on an invalid Requirement, an error is -// returned. See NewRequirement for creating a valid Requirement. -func (r *Requirement) String() string { - var buffer bytes.Buffer - if r.operator == selection.DoesNotExist { - buffer.WriteString("!") - } - buffer.WriteString(r.key) - - switch r.operator { - case selection.Equals: - buffer.WriteString("=") - case selection.DoubleEquals: - buffer.WriteString("==") - case selection.NotEquals: - buffer.WriteString("!=") - case selection.In: - buffer.WriteString(" in ") - case selection.NotIn: - buffer.WriteString(" notin ") - case selection.GreaterThan: - buffer.WriteString(">") - case selection.LessThan: - buffer.WriteString("<") - case selection.Exists, selection.DoesNotExist: - return buffer.String() - } - - switch r.operator { - case selection.In, selection.NotIn: - buffer.WriteString("(") - } - if len(r.strValues) == 1 { - buffer.WriteString(r.strValues[0]) - } else { // only > 1 since == 0 prohibited by NewRequirement - // normalizes value order on output, without mutating the in-memory selector representation - // also avoids normalization when it is not required, and ensures we do not mutate shared data - buffer.WriteString(strings.Join(safeSort(r.strValues), ",")) - } - - switch r.operator { - case selection.In, selection.NotIn: - buffer.WriteString(")") - } - return buffer.String() -} - -// safeSort sort input strings without modification -func safeSort(in []string) []string { - if sort.StringsAreSorted(in) { - return in - } - out := make([]string, len(in)) - copy(out, in) - sort.Strings(out) - return out -} - -// Add adds requirements to the selector. It copies the current selector returning a new one -func (lsel internalSelector) Add(reqs ...Requirement) Selector { - var sel internalSelector - for ix := range lsel { - sel = append(sel, lsel[ix]) - } - for _, r := range reqs { - sel = append(sel, r) - } - sort.Sort(ByKey(sel)) - return sel -} - -// Matches for a internalSelector returns true if all -// its Requirements match the input Labels. If any -// Requirement does not match, false is returned. -func (lsel internalSelector) Matches(l Labels) bool { - for ix := range lsel { - if matches := lsel[ix].Matches(l); !matches { - return false - } - } - return true -} - -func (lsel internalSelector) Requirements() (Requirements, bool) { return Requirements(lsel), true } - -// String returns a comma-separated string of all -// the internalSelector Requirements' human-readable strings. -func (lsel internalSelector) String() string { - var reqs []string - for ix := range lsel { - reqs = append(reqs, lsel[ix].String()) - } - return strings.Join(reqs, ",") -} - -// RequiresExactMatch introspect whether a given selector requires a single specific field -// to be set, and if so returns the value it requires. -func (lsel internalSelector) RequiresExactMatch(label string) (value string, found bool) { - for ix := range lsel { - if lsel[ix].key == label { - switch lsel[ix].operator { - case selection.Equals, selection.DoubleEquals, selection.In: - if len(lsel[ix].strValues) == 1 { - return lsel[ix].strValues[0], true - } - } - return "", false - } - } - return "", false -} - -// Token represents constant definition for lexer token -type Token int - -const ( - // ErrorToken represents scan error - ErrorToken Token = iota - // EndOfStringToken represents end of string - EndOfStringToken - // ClosedParToken represents close parenthesis - ClosedParToken - // CommaToken represents the comma - CommaToken - // DoesNotExistToken represents logic not - DoesNotExistToken - // DoubleEqualsToken represents double equals - DoubleEqualsToken - // EqualsToken represents equal - EqualsToken - // GreaterThanToken represents greater than - GreaterThanToken - // IdentifierToken represents identifier, e.g. keys and values - IdentifierToken - // InToken represents in - InToken - // LessThanToken represents less than - LessThanToken - // NotEqualsToken represents not equal - NotEqualsToken - // NotInToken represents not in - NotInToken - // OpenParToken represents open parenthesis - OpenParToken -) - -// string2token contains the mapping between lexer Token and token literal -// (except IdentifierToken, EndOfStringToken and ErrorToken since it makes no sense) -var string2token = map[string]Token{ - ")": ClosedParToken, - ",": CommaToken, - "!": DoesNotExistToken, - "==": DoubleEqualsToken, - "=": EqualsToken, - ">": GreaterThanToken, - "in": InToken, - "<": LessThanToken, - "!=": NotEqualsToken, - "notin": NotInToken, - "(": OpenParToken, -} - -// ScannedItem contains the Token and the literal produced by the lexer. -type ScannedItem struct { - tok Token - literal string -} - -// isWhitespace returns true if the rune is a space, tab, or newline. -func isWhitespace(ch byte) bool { - return ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n' -} - -// isSpecialSymbol detect if the character ch can be an operator -func isSpecialSymbol(ch byte) bool { - switch ch { - case '=', '!', '(', ')', ',', '>', '<': - return true - } - return false -} - -// Lexer represents the Lexer struct for label selector. -// It contains necessary informationt to tokenize the input string -type Lexer struct { - // s stores the string to be tokenized - s string - // pos is the position currently tokenized - pos int -} - -// read return the character currently lexed -// increment the position and check the buffer overflow -func (l *Lexer) read() (b byte) { - b = 0 - if l.pos < len(l.s) { - b = l.s[l.pos] - l.pos++ - } - return b -} - -// unread 'undoes' the last read character -func (l *Lexer) unread() { - l.pos-- -} - -// scanIDOrKeyword scans string to recognize literal token (for example 'in') or an identifier. -func (l *Lexer) scanIDOrKeyword() (tok Token, lit string) { - var buffer []byte -IdentifierLoop: - for { - switch ch := l.read(); { - case ch == 0: - break IdentifierLoop - case isSpecialSymbol(ch) || isWhitespace(ch): - l.unread() - break IdentifierLoop - default: - buffer = append(buffer, ch) - } - } - s := string(buffer) - if val, ok := string2token[s]; ok { // is a literal token? - return val, s - } - return IdentifierToken, s // otherwise is an identifier -} - -// scanSpecialSymbol scans string starting with special symbol. -// special symbol identify non literal operators. "!=", "==", "=" -func (l *Lexer) scanSpecialSymbol() (Token, string) { - lastScannedItem := ScannedItem{} - var buffer []byte -SpecialSymbolLoop: - for { - switch ch := l.read(); { - case ch == 0: - break SpecialSymbolLoop - case isSpecialSymbol(ch): - buffer = append(buffer, ch) - if token, ok := string2token[string(buffer)]; ok { - lastScannedItem = ScannedItem{tok: token, literal: string(buffer)} - } else if lastScannedItem.tok != 0 { - l.unread() - break SpecialSymbolLoop - } - default: - l.unread() - break SpecialSymbolLoop - } - } - if lastScannedItem.tok == 0 { - return ErrorToken, fmt.Sprintf("error expected: keyword found '%s'", buffer) - } - return lastScannedItem.tok, lastScannedItem.literal -} - -// skipWhiteSpaces consumes all blank characters -// returning the first non blank character -func (l *Lexer) skipWhiteSpaces(ch byte) byte { - for { - if !isWhitespace(ch) { - return ch - } - ch = l.read() - } -} - -// Lex returns a pair of Token and the literal -// literal is meaningfull only for IdentifierToken token -func (l *Lexer) Lex() (tok Token, lit string) { - switch ch := l.skipWhiteSpaces(l.read()); { - case ch == 0: - return EndOfStringToken, "" - case isSpecialSymbol(ch): - l.unread() - return l.scanSpecialSymbol() - default: - l.unread() - return l.scanIDOrKeyword() - } -} - -// Parser data structure contains the label selector parser data structure -type Parser struct { - l *Lexer - scannedItems []ScannedItem - position int -} - -// ParserContext represents context during parsing: -// some literal for example 'in' and 'notin' can be -// recognized as operator for example 'x in (a)' but -// it can be recognized as value for example 'value in (in)' -type ParserContext int - -const ( - // KeyAndOperator represents key and operator - KeyAndOperator ParserContext = iota - // Values represents values - Values -) - -// lookahead func returns the current token and string. No increment of current position -func (p *Parser) lookahead(context ParserContext) (Token, string) { - tok, lit := p.scannedItems[p.position].tok, p.scannedItems[p.position].literal - if context == Values { - switch tok { - case InToken, NotInToken: - tok = IdentifierToken - } - } - return tok, lit -} - -// consume returns current token and string. Increments the position -func (p *Parser) consume(context ParserContext) (Token, string) { - p.position++ - tok, lit := p.scannedItems[p.position-1].tok, p.scannedItems[p.position-1].literal - if context == Values { - switch tok { - case InToken, NotInToken: - tok = IdentifierToken - } - } - return tok, lit -} - -// scan runs through the input string and stores the ScannedItem in an array -// Parser can now lookahead and consume the tokens -func (p *Parser) scan() { - for { - token, literal := p.l.Lex() - p.scannedItems = append(p.scannedItems, ScannedItem{token, literal}) - if token == EndOfStringToken { - break - } - } -} - -// parse runs the left recursive descending algorithm -// on input string. It returns a list of Requirement objects. -func (p *Parser) parse() (internalSelector, error) { - p.scan() // init scannedItems - - var requirements internalSelector - for { - tok, lit := p.lookahead(Values) - switch tok { - case IdentifierToken, DoesNotExistToken: - r, err := p.parseRequirement() - if err != nil { - return nil, fmt.Errorf("unable to parse requirement: %v", err) - } - requirements = append(requirements, *r) - t, l := p.consume(Values) - switch t { - case EndOfStringToken: - return requirements, nil - case CommaToken: - t2, l2 := p.lookahead(Values) - if t2 != IdentifierToken && t2 != DoesNotExistToken { - return nil, fmt.Errorf("found '%s', expected: identifier after ','", l2) - } - default: - return nil, fmt.Errorf("found '%s', expected: ',' or 'end of string'", l) - } - case EndOfStringToken: - return requirements, nil - default: - return nil, fmt.Errorf("found '%s', expected: !, identifier, or 'end of string'", lit) - } - } -} - -func (p *Parser) parseRequirement() (*Requirement, error) { - key, operator, err := p.parseKeyAndInferOperator() - if err != nil { - return nil, err - } - if operator == selection.Exists || operator == selection.DoesNotExist { // operator found lookahead set checked - return NewRequirement(key, operator, []string{}) - } - operator, err = p.parseOperator() - if err != nil { - return nil, err - } - var values sets.String - switch operator { - case selection.In, selection.NotIn: - values, err = p.parseValues() - case selection.Equals, selection.DoubleEquals, selection.NotEquals, selection.GreaterThan, selection.LessThan: - values, err = p.parseExactValue() - } - if err != nil { - return nil, err - } - return NewRequirement(key, operator, values.List()) - -} - -// parseKeyAndInferOperator parse literals. -// in case of no operator '!, in, notin, ==, =, !=' are found -// the 'exists' operator is inferred -func (p *Parser) parseKeyAndInferOperator() (string, selection.Operator, error) { - var operator selection.Operator - tok, literal := p.consume(Values) - if tok == DoesNotExistToken { - operator = selection.DoesNotExist - tok, literal = p.consume(Values) - } - if tok != IdentifierToken { - err := fmt.Errorf("found '%s', expected: identifier", literal) - return "", "", err - } - if err := validateLabelKey(literal); err != nil { - return "", "", err - } - if t, _ := p.lookahead(Values); t == EndOfStringToken || t == CommaToken { - if operator != selection.DoesNotExist { - operator = selection.Exists - } - } - return literal, operator, nil -} - -// parseOperator return operator and eventually matchType -// matchType can be exact -func (p *Parser) parseOperator() (op selection.Operator, err error) { - tok, lit := p.consume(KeyAndOperator) - switch tok { - // DoesNotExistToken shouldn't be here because it's a unary operator, not a binary operator - case InToken: - op = selection.In - case EqualsToken: - op = selection.Equals - case DoubleEqualsToken: - op = selection.DoubleEquals - case GreaterThanToken: - op = selection.GreaterThan - case LessThanToken: - op = selection.LessThan - case NotInToken: - op = selection.NotIn - case NotEqualsToken: - op = selection.NotEquals - default: - return "", fmt.Errorf("found '%s', expected: '=', '!=', '==', 'in', notin'", lit) - } - return op, nil -} - -// parseValues parses the values for set based matching (x,y,z) -func (p *Parser) parseValues() (sets.String, error) { - tok, lit := p.consume(Values) - if tok != OpenParToken { - return nil, fmt.Errorf("found '%s' expected: '('", lit) - } - tok, lit = p.lookahead(Values) - switch tok { - case IdentifierToken, CommaToken: - s, err := p.parseIdentifiersList() // handles general cases - if err != nil { - return s, err - } - if tok, _ = p.consume(Values); tok != ClosedParToken { - return nil, fmt.Errorf("found '%s', expected: ')'", lit) - } - return s, nil - case ClosedParToken: // handles "()" - p.consume(Values) - return sets.NewString(""), nil - default: - return nil, fmt.Errorf("found '%s', expected: ',', ')' or identifier", lit) - } -} - -// parseIdentifiersList parses a (possibly empty) list of -// of comma separated (possibly empty) identifiers -func (p *Parser) parseIdentifiersList() (sets.String, error) { - s := sets.NewString() - for { - tok, lit := p.consume(Values) - switch tok { - case IdentifierToken: - s.Insert(lit) - tok2, lit2 := p.lookahead(Values) - switch tok2 { - case CommaToken: - continue - case ClosedParToken: - return s, nil - default: - return nil, fmt.Errorf("found '%s', expected: ',' or ')'", lit2) - } - case CommaToken: // handled here since we can have "(," - if s.Len() == 0 { - s.Insert("") // to handle (, - } - tok2, _ := p.lookahead(Values) - if tok2 == ClosedParToken { - s.Insert("") // to handle ,) Double "" removed by StringSet - return s, nil - } - if tok2 == CommaToken { - p.consume(Values) - s.Insert("") // to handle ,, Double "" removed by StringSet - } - default: // it can be operator - return s, fmt.Errorf("found '%s', expected: ',', or identifier", lit) - } - } -} - -// parseExactValue parses the only value for exact match style -func (p *Parser) parseExactValue() (sets.String, error) { - s := sets.NewString() - tok, lit := p.lookahead(Values) - if tok == EndOfStringToken || tok == CommaToken { - s.Insert("") - return s, nil - } - tok, lit = p.consume(Values) - if tok == IdentifierToken { - s.Insert(lit) - return s, nil - } - return nil, fmt.Errorf("found '%s', expected: identifier", lit) -} - -// Parse takes a string representing a selector and returns a selector -// object, or an error. This parsing function differs from ParseSelector -// as they parse different selectors with different syntaxes. -// The input will cause an error if it does not follow this form: -// -// ::= | "," -// ::= [!] KEY [ | ] -// ::= "" | -// ::= | -// ::= "notin" -// ::= "in" -// ::= "(" ")" -// ::= VALUE | VALUE "," -// ::= ["="|"=="|"!="] VALUE -// -// KEY is a sequence of one or more characters following [ DNS_SUBDOMAIN "/" ] DNS_LABEL. Max length is 63 characters. -// VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 63 characters. -// Delimiter is white space: (' ', '\t') -// Example of valid syntax: -// "x in (foo,,baz),y,z notin ()" -// -// Note: -// (1) Inclusion - " in " - denotes that the KEY exists and is equal to any of the -// VALUEs in its requirement -// (2) Exclusion - " notin " - denotes that the KEY is not equal to any -// of the VALUEs in its requirement or does not exist -// (3) The empty string is a valid VALUE -// (4) A requirement with just a KEY - as in "y" above - denotes that -// the KEY exists and can be any VALUE. -// (5) A requirement with just !KEY requires that the KEY not exist. -// -func Parse(selector string) (Selector, error) { - parsedSelector, err := parse(selector) - if err == nil { - return parsedSelector, nil - } - return nil, err -} - -// parse parses the string representation of the selector and returns the internalSelector struct. -// The callers of this method can then decide how to return the internalSelector struct to their -// callers. This function has two callers now, one returns a Selector interface and the other -// returns a list of requirements. -func parse(selector string) (internalSelector, error) { - p := &Parser{l: &Lexer{s: selector, pos: 0}} - items, err := p.parse() - if err != nil { - return nil, err - } - sort.Sort(ByKey(items)) // sort to grant determistic parsing - return internalSelector(items), err -} - -func validateLabelKey(k string) error { - if errs := validation.IsQualifiedName(k); len(errs) != 0 { - return fmt.Errorf("invalid label key %q: %s", k, strings.Join(errs, "; ")) - } - return nil -} - -func validateLabelValue(k, v string) error { - if errs := validation.IsValidLabelValue(v); len(errs) != 0 { - return fmt.Errorf("invalid label value: %q: at key: %q: %s", v, k, strings.Join(errs, "; ")) - } - return nil -} - -// SelectorFromSet returns a Selector which will match exactly the given Set. A -// nil and empty Sets are considered equivalent to Everything(). -// It does not perform any validation, which means the server will reject -// the request if the Set contains invalid values. -func SelectorFromSet(ls Set) Selector { - return SelectorFromValidatedSet(ls) -} - -// ValidatedSelectorFromSet returns a Selector which will match exactly the given Set. A -// nil and empty Sets are considered equivalent to Everything(). -// The Set is validated client-side, which allows to catch errors early. -func ValidatedSelectorFromSet(ls Set) (Selector, error) { - if ls == nil || len(ls) == 0 { - return internalSelector{}, nil - } - requirements := make([]Requirement, 0, len(ls)) - for label, value := range ls { - r, err := NewRequirement(label, selection.Equals, []string{value}) - if err != nil { - return nil, err - } - requirements = append(requirements, *r) - } - // sort to have deterministic string representation - sort.Sort(ByKey(requirements)) - return internalSelector(requirements), nil -} - -// SelectorFromValidatedSet returns a Selector which will match exactly the given Set. -// A nil and empty Sets are considered equivalent to Everything(). -// It assumes that Set is already validated and doesn't do any validation. -func SelectorFromValidatedSet(ls Set) Selector { - if ls == nil || len(ls) == 0 { - return internalSelector{} - } - requirements := make([]Requirement, 0, len(ls)) - for label, value := range ls { - requirements = append(requirements, Requirement{key: label, operator: selection.Equals, strValues: []string{value}}) - } - // sort to have deterministic string representation - sort.Sort(ByKey(requirements)) - return internalSelector(requirements) -} - -// ParseToRequirements takes a string representing a selector and returns a list of -// requirements. This function is suitable for those callers that perform additional -// processing on selector requirements. -// See the documentation for Parse() function for more details. -// TODO: Consider exporting the internalSelector type instead. -func ParseToRequirements(selector string) ([]Requirement, error) { - return parse(selector) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection/operator.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection/operator.go deleted file mode 100644 index 29c443df..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/selection/operator.go +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/selection/operator.go - -/* -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 selection - -// Operator represents a key/field's relationship to value(s). -// See labels.Requirement and fields.Requirement for more details. -type Operator string - -const ( - DoesNotExist Operator = "!" - Equals Operator = "=" - DoubleEquals Operator = "==" - In Operator = "in" - NotEquals Operator = "!=" - NotIn Operator = "notin" - Exists Operator = "exists" - GreaterThan Operator = "gt" - LessThan Operator = "lt" -) diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors/errors.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors/errors.go deleted file mode 100644 index 24d040e0..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors/errors.go +++ /dev/null @@ -1,252 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/util/errors/errors.go - -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package errors - -import ( - "errors" - "fmt" - - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets" -) - -// MessageCountMap contains occurrence for each error message. -type MessageCountMap map[string]int - -// Aggregate represents an object that contains multiple errors, but does not -// necessarily have singular semantic meaning. -// The aggregate can be used with `errors.Is()` to check for the occurrence of -// a specific error type. -// Errors.As() is not supported, because the caller presumably cares about a -// specific error of potentially multiple that match the given type. -type Aggregate interface { - error - Errors() []error - Is(error) bool -} - -// NewAggregate converts a slice of errors into an Aggregate interface, which -// is itself an implementation of the error interface. If the slice is empty, -// this returns nil. -// It will check if any of the element of input error list is nil, to avoid -// nil pointer panic when call Error(). -func NewAggregate(errlist []error) Aggregate { - if len(errlist) == 0 { - return nil - } - // In case of input error list contains nil - var errs []error - for _, e := range errlist { - if e != nil { - errs = append(errs, e) - } - } - if len(errs) == 0 { - return nil - } - return aggregate(errs) -} - -// This helper implements the error and Errors interfaces. Keeping it private -// prevents people from making an aggregate of 0 errors, which is not -// an error, but does satisfy the error interface. -type aggregate []error - -// Error is part of the error interface. -func (agg aggregate) Error() string { - if len(agg) == 0 { - // This should never happen, really. - return "" - } - if len(agg) == 1 { - return agg[0].Error() - } - seenerrs := sets.NewString() - result := "" - agg.visit(func(err error) bool { - msg := err.Error() - if seenerrs.Has(msg) { - return false - } - seenerrs.Insert(msg) - if len(seenerrs) > 1 { - result += ", " - } - result += msg - return false - }) - if len(seenerrs) == 1 { - return result - } - return "[" + result + "]" -} - -func (agg aggregate) Is(target error) bool { - return agg.visit(func(err error) bool { - return errors.Is(err, target) - }) -} - -func (agg aggregate) visit(f func(err error) bool) bool { - for _, err := range agg { - switch err := err.(type) { - case aggregate: - if match := err.visit(f); match { - return match - } - case Aggregate: - for _, nestedErr := range err.Errors() { - if match := f(nestedErr); match { - return match - } - } - default: - if match := f(err); match { - return match - } - } - } - - return false -} - -// Errors is part of the Aggregate interface. -func (agg aggregate) Errors() []error { - return []error(agg) -} - -// Matcher is used to match errors. Returns true if the error matches. -type Matcher func(error) bool - -// FilterOut removes all errors that match any of the matchers from the input -// error. If the input is a singular error, only that error is tested. If the -// input implements the Aggregate interface, the list of errors will be -// processed recursively. -// -// This can be used, for example, to remove known-OK errors (such as io.EOF or -// os.PathNotFound) from a list of errors. -func FilterOut(err error, fns ...Matcher) error { - if err == nil { - return nil - } - if agg, ok := err.(Aggregate); ok { - return NewAggregate(filterErrors(agg.Errors(), fns...)) - } - if !matchesError(err, fns...) { - return err - } - return nil -} - -// matchesError returns true if any Matcher returns true -func matchesError(err error, fns ...Matcher) bool { - for _, fn := range fns { - if fn(err) { - return true - } - } - return false -} - -// filterErrors returns any errors (or nested errors, if the list contains -// nested Errors) for which all fns return false. If no errors -// remain a nil list is returned. The resulting silec will have all -// nested slices flattened as a side effect. -func filterErrors(list []error, fns ...Matcher) []error { - result := []error{} - for _, err := range list { - r := FilterOut(err, fns...) - if r != nil { - result = append(result, r) - } - } - return result -} - -// Flatten takes an Aggregate, which may hold other Aggregates in arbitrary -// nesting, and flattens them all into a single Aggregate, recursively. -func Flatten(agg Aggregate) Aggregate { - result := []error{} - if agg == nil { - return nil - } - for _, err := range agg.Errors() { - if a, ok := err.(Aggregate); ok { - r := Flatten(a) - if r != nil { - result = append(result, r.Errors()...) - } - } else { - if err != nil { - result = append(result, err) - } - } - } - return NewAggregate(result) -} - -// CreateAggregateFromMessageCountMap converts MessageCountMap Aggregate -func CreateAggregateFromMessageCountMap(m MessageCountMap) Aggregate { - if m == nil { - return nil - } - result := make([]error, 0, len(m)) - for errStr, count := range m { - var countStr string - if count > 1 { - countStr = fmt.Sprintf(" (repeated %v times)", count) - } - result = append(result, fmt.Errorf("%v%v", errStr, countStr)) - } - return NewAggregate(result) -} - -// Reduce will return err or, if err is an Aggregate and only has one item, -// the first item in the aggregate. -func Reduce(err error) error { - if agg, ok := err.(Aggregate); ok && err != nil { - switch len(agg.Errors()) { - case 1: - return agg.Errors()[0] - case 0: - return nil - } - } - return err -} - -// AggregateGoroutines runs the provided functions in parallel, stuffing all -// non-nil errors into the returned Aggregate. -// Returns nil if all the functions complete successfully. -func AggregateGoroutines(funcs ...func() error) Aggregate { - errChan := make(chan error, len(funcs)) - for _, f := range funcs { - go func(f func() error) { errChan <- f() }(f) - } - errs := make([]error, 0) - for i := 0; i < cap(errChan); i++ { - if err := <-errChan; err != nil { - errs = append(errs, err) - } - } - return NewAggregate(errs) -} - -// ErrPreconditionViolated is returned when the precondition is violated -var ErrPreconditionViolated = errors.New("precondition is violated") diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/empty.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/empty.go deleted file mode 100644 index ef404add..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/empty.go +++ /dev/null @@ -1,24 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/util/sets/empty.go - -/* -Copyright The 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 sets - -// Empty is public since it is used by some internal API objects for conversions between external -// string arrays and internal sets, and conversion logic requires public types today. -type Empty struct{} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/string.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/string.go deleted file mode 100644 index 8af1bac2..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets/string.go +++ /dev/null @@ -1,206 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/util/sets/string.go - -/* -Copyright The 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 sets - -import ( - "reflect" - "sort" -) - -// sets.String is a set of strings, implemented via map[string]struct{} for minimal memory consumption. -type String map[string]Empty - -// NewString creates a String from a list of values. -func NewString(items ...string) String { - ss := String{} - ss.Insert(items...) - return ss -} - -// StringKeySet creates a String from a keys of a map[string](? extends interface{}). -// If the value passed in is not actually a map, this will panic. -func StringKeySet(theMap interface{}) String { - v := reflect.ValueOf(theMap) - ret := String{} - - for _, keyValue := range v.MapKeys() { - ret.Insert(keyValue.Interface().(string)) - } - return ret -} - -// Insert adds items to the set. -func (s String) Insert(items ...string) String { - for _, item := range items { - s[item] = Empty{} - } - return s -} - -// Delete removes all items from the set. -func (s String) Delete(items ...string) String { - for _, item := range items { - delete(s, item) - } - return s -} - -// Has returns true if and only if item is contained in the set. -func (s String) Has(item string) bool { - _, contained := s[item] - return contained -} - -// HasAll returns true if and only if all items are contained in the set. -func (s String) HasAll(items ...string) bool { - for _, item := range items { - if !s.Has(item) { - return false - } - } - return true -} - -// HasAny returns true if any items are contained in the set. -func (s String) HasAny(items ...string) bool { - for _, item := range items { - if s.Has(item) { - return true - } - } - return false -} - -// Difference returns a set of objects that are not in s2 -// For example: -// s1 = {a1, a2, a3} -// s2 = {a1, a2, a4, a5} -// s1.Difference(s2) = {a3} -// s2.Difference(s1) = {a4, a5} -func (s String) Difference(s2 String) String { - result := NewString() - for key := range s { - if !s2.Has(key) { - result.Insert(key) - } - } - return result -} - -// Union returns a new set which includes items in either s1 or s2. -// For example: -// s1 = {a1, a2} -// s2 = {a3, a4} -// s1.Union(s2) = {a1, a2, a3, a4} -// s2.Union(s1) = {a1, a2, a3, a4} -func (s1 String) Union(s2 String) String { - result := NewString() - for key := range s1 { - result.Insert(key) - } - for key := range s2 { - result.Insert(key) - } - return result -} - -// Intersection returns a new set which includes the item in BOTH s1 and s2 -// For example: -// s1 = {a1, a2} -// s2 = {a2, a3} -// s1.Intersection(s2) = {a2} -func (s1 String) Intersection(s2 String) String { - var walk, other String - result := NewString() - if s1.Len() < s2.Len() { - walk = s1 - other = s2 - } else { - walk = s2 - other = s1 - } - for key := range walk { - if other.Has(key) { - result.Insert(key) - } - } - return result -} - -// IsSuperset returns true if and only if s1 is a superset of s2. -func (s1 String) IsSuperset(s2 String) bool { - for item := range s2 { - if !s1.Has(item) { - return false - } - } - return true -} - -// Equal returns true if and only if s1 is equal (as a set) to s2. -// Two sets are equal if their membership is identical. -// (In practice, this means same elements, order doesn't matter) -func (s1 String) Equal(s2 String) bool { - return len(s1) == len(s2) && s1.IsSuperset(s2) -} - -type sortableSliceOfString []string - -func (s sortableSliceOfString) Len() int { return len(s) } -func (s sortableSliceOfString) Less(i, j int) bool { return lessString(s[i], s[j]) } -func (s sortableSliceOfString) Swap(i, j int) { s[i], s[j] = s[j], s[i] } - -// List returns the contents as a sorted string slice. -func (s String) List() []string { - res := make(sortableSliceOfString, 0, len(s)) - for key := range s { - res = append(res, key) - } - sort.Sort(res) - return []string(res) -} - -// UnsortedList returns the slice with contents in random order. -func (s String) UnsortedList() []string { - res := make([]string, 0, len(s)) - for key := range s { - res = append(res, key) - } - return res -} - -// Returns a single element from the set. -func (s String) PopAny() (string, bool) { - for key := range s { - s.Delete(key) - return key, true - } - var zeroValue string - return zeroValue, false -} - -// Len returns the size of the set. -func (s String) Len() int { - return len(s) -} - -func lessString(lhs, rhs string) bool { - return lhs < rhs -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/errors.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/errors.go deleted file mode 100644 index 20229a5b..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/errors.go +++ /dev/null @@ -1,275 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/util/validation/field/errors.go - -/* -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 field - -import ( - "fmt" - "reflect" - "strconv" - "strings" - - utilerrors "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors" - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets" -) - -// Error is an implementation of the 'error' interface, which represents a -// field-level validation error. -type Error struct { - Type ErrorType - Field string - BadValue interface{} - Detail string -} - -var _ error = &Error{} - -// Error implements the error interface. -func (v *Error) Error() string { - return fmt.Sprintf("%s: %s", v.Field, v.ErrorBody()) -} - -// ErrorBody returns the error message without the field name. This is useful -// for building nice-looking higher-level error reporting. -func (v *Error) ErrorBody() string { - var s string - switch v.Type { - case ErrorTypeRequired, ErrorTypeForbidden, ErrorTypeTooLong, ErrorTypeInternal: - s = v.Type.String() - default: - value := v.BadValue - valueType := reflect.TypeOf(value) - if value == nil || valueType == nil { - value = "null" - } else if valueType.Kind() == reflect.Ptr { - if reflectValue := reflect.ValueOf(value); reflectValue.IsNil() { - value = "null" - } else { - value = reflectValue.Elem().Interface() - } - } - switch t := value.(type) { - case int64, int32, float64, float32, bool: - // use simple printer for simple types - s = fmt.Sprintf("%s: %v", v.Type, value) - case string: - s = fmt.Sprintf("%s: %q", v.Type, t) - case fmt.Stringer: - // anything that defines String() is better than raw struct - s = fmt.Sprintf("%s: %s", v.Type, t.String()) - default: - // fallback to raw struct - // TODO: internal types have panic guards against json.Marshalling to prevent - // accidental use of internal types in external serialized form. For now, use - // %#v, although it would be better to show a more expressive output in the future - s = fmt.Sprintf("%s: %#v", v.Type, value) - } - } - if len(v.Detail) != 0 { - s += fmt.Sprintf(": %s", v.Detail) - } - return s -} - -// ErrorType is a machine readable value providing more detail about why -// a field is invalid. These values are expected to match 1-1 with -// CauseType in api/types.go. -type ErrorType string - -// TODO: These values are duplicated in api/types.go, but there's a circular dep. Fix it. -const ( - // ErrorTypeNotFound is used to report failure to find a requested value - // (e.g. looking up an ID). See NotFound(). - ErrorTypeNotFound ErrorType = "FieldValueNotFound" - // ErrorTypeRequired is used to report required values that are not - // provided (e.g. empty strings, null values, or empty arrays). See - // Required(). - ErrorTypeRequired ErrorType = "FieldValueRequired" - // ErrorTypeDuplicate is used to report collisions of values that must be - // unique (e.g. unique IDs). See Duplicate(). - ErrorTypeDuplicate ErrorType = "FieldValueDuplicate" - // ErrorTypeInvalid is used to report malformed values (e.g. failed regex - // match, too long, out of bounds). See Invalid(). - ErrorTypeInvalid ErrorType = "FieldValueInvalid" - // ErrorTypeNotSupported is used to report unknown values for enumerated - // fields (e.g. a list of valid values). See NotSupported(). - ErrorTypeNotSupported ErrorType = "FieldValueNotSupported" - // ErrorTypeForbidden is used to report valid (as per formatting rules) - // values which would be accepted under some conditions, but which are not - // permitted by the current conditions (such as security policy). See - // Forbidden(). - ErrorTypeForbidden ErrorType = "FieldValueForbidden" - // ErrorTypeTooLong is used to report that the given value is too long. - // This is similar to ErrorTypeInvalid, but the error will not include the - // too-long value. See TooLong(). - ErrorTypeTooLong ErrorType = "FieldValueTooLong" - // ErrorTypeTooMany is used to report "too many". This is used to - // report that a given list has too many items. This is similar to FieldValueTooLong, - // but the error indicates quantity instead of length. - ErrorTypeTooMany ErrorType = "FieldValueTooMany" - // ErrorTypeInternal is used to report other errors that are not related - // to user input. See InternalError(). - ErrorTypeInternal ErrorType = "InternalError" -) - -// String converts a ErrorType into its corresponding canonical error message. -func (t ErrorType) String() string { - switch t { - case ErrorTypeNotFound: - return "Not found" - case ErrorTypeRequired: - return "Required value" - case ErrorTypeDuplicate: - return "Duplicate value" - case ErrorTypeInvalid: - return "Invalid value" - case ErrorTypeNotSupported: - return "Unsupported value" - case ErrorTypeForbidden: - return "Forbidden" - case ErrorTypeTooLong: - return "Too long" - case ErrorTypeTooMany: - return "Too many" - case ErrorTypeInternal: - return "Internal error" - default: - panic(fmt.Sprintf("unrecognized validation error: %q", string(t))) - } -} - -// NotFound returns a *Error indicating "value not found". This is -// used to report failure to find a requested value (e.g. looking up an ID). -func NotFound(field *Path, value interface{}) *Error { - return &Error{ErrorTypeNotFound, field.String(), value, ""} -} - -// Required returns a *Error indicating "value required". This is used -// to report required values that are not provided (e.g. empty strings, null -// values, or empty arrays). -func Required(field *Path, detail string) *Error { - return &Error{ErrorTypeRequired, field.String(), "", detail} -} - -// Duplicate returns a *Error indicating "duplicate value". This is -// used to report collisions of values that must be unique (e.g. names or IDs). -func Duplicate(field *Path, value interface{}) *Error { - return &Error{ErrorTypeDuplicate, field.String(), value, ""} -} - -// Invalid returns a *Error indicating "invalid value". This is used -// to report malformed values (e.g. failed regex match, too long, out of bounds). -func Invalid(field *Path, value interface{}, detail string) *Error { - return &Error{ErrorTypeInvalid, field.String(), value, detail} -} - -// NotSupported returns a *Error indicating "unsupported value". -// This is used to report unknown values for enumerated fields (e.g. a list of -// valid values). -func NotSupported(field *Path, value interface{}, validValues []string) *Error { - detail := "" - if validValues != nil && len(validValues) > 0 { - quotedValues := make([]string, len(validValues)) - for i, v := range validValues { - quotedValues[i] = strconv.Quote(v) - } - detail = "supported values: " + strings.Join(quotedValues, ", ") - } - return &Error{ErrorTypeNotSupported, field.String(), value, detail} -} - -// Forbidden returns a *Error indicating "forbidden". This is used to -// report valid (as per formatting rules) values which would be accepted under -// some conditions, but which are not permitted by current conditions (e.g. -// security policy). -func Forbidden(field *Path, detail string) *Error { - return &Error{ErrorTypeForbidden, field.String(), "", detail} -} - -// TooLong returns a *Error indicating "too long". This is used to -// report that the given value is too long. This is similar to -// Invalid, but the returned error will not include the too-long -// value. -func TooLong(field *Path, value interface{}, maxLength int) *Error { - return &Error{ErrorTypeTooLong, field.String(), value, fmt.Sprintf("must have at most %d bytes", maxLength)} -} - -// TooMany returns a *Error indicating "too many". This is used to -// report that a given list has too many items. This is similar to TooLong, -// but the returned error indicates quantity instead of length. -func TooMany(field *Path, actualQuantity, maxQuantity int) *Error { - return &Error{ErrorTypeTooMany, field.String(), actualQuantity, fmt.Sprintf("must have at most %d items", maxQuantity)} -} - -// InternalError returns a *Error indicating "internal error". This is used -// to signal that an error was found that was not directly related to user -// input. The err argument must be non-nil. -func InternalError(field *Path, err error) *Error { - return &Error{ErrorTypeInternal, field.String(), nil, err.Error()} -} - -// ErrorList holds a set of Errors. It is plausible that we might one day have -// non-field errors in this same umbrella package, but for now we don't, so -// we can keep it simple and leave ErrorList here. -type ErrorList []*Error - -// NewErrorTypeMatcher returns an errors.Matcher that returns true -// if the provided error is a Error and has the provided ErrorType. -func NewErrorTypeMatcher(t ErrorType) utilerrors.Matcher { - return func(err error) bool { - if e, ok := err.(*Error); ok { - return e.Type == t - } - return false - } -} - -// ToAggregate converts the ErrorList into an errors.Aggregate. -func (list ErrorList) ToAggregate() utilerrors.Aggregate { - errs := make([]error, 0, len(list)) - errorMsgs := sets.NewString() - for _, err := range list { - msg := fmt.Sprintf("%v", err) - if errorMsgs.Has(msg) { - continue - } - errorMsgs.Insert(msg) - errs = append(errs, err) - } - return utilerrors.NewAggregate(errs) -} - -func fromAggregate(agg utilerrors.Aggregate) ErrorList { - errs := agg.Errors() - list := make(ErrorList, len(errs)) - for i := range errs { - list[i] = errs[i].(*Error) - } - return list -} - -// Filter removes items from the ErrorList that match the provided fns. -func (list ErrorList) Filter(fns ...utilerrors.Matcher) ErrorList { - err := utilerrors.FilterOut(list.ToAggregate(), fns...) - if err == nil { - return nil - } - // FilterOut takes an Aggregate and returns an Aggregate - return fromAggregate(err.(utilerrors.Aggregate)) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/path.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/path.go deleted file mode 100644 index 44cdf997..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field/path.go +++ /dev/null @@ -1,94 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/util/validation/field/path.go - -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package field - -import ( - "bytes" - "fmt" - "strconv" -) - -// Path represents the path from some root to a particular field. -type Path struct { - name string // the name of this field or "" if this is an index - index string // if name == "", this is a subscript (index or map key) of the previous element - parent *Path // nil if this is the root element -} - -// NewPath creates a root Path object. -func NewPath(name string, moreNames ...string) *Path { - r := &Path{name: name, parent: nil} - for _, anotherName := range moreNames { - r = &Path{name: anotherName, parent: r} - } - return r -} - -// Root returns the root element of this Path. -func (p *Path) Root() *Path { - for ; p.parent != nil; p = p.parent { - // Do nothing. - } - return p -} - -// Child creates a new Path that is a child of the method receiver. -func (p *Path) Child(name string, moreNames ...string) *Path { - r := NewPath(name, moreNames...) - r.Root().parent = p - return r -} - -// Index indicates that the previous Path is to be subscripted by an int. -// This sets the same underlying value as Key. -func (p *Path) Index(index int) *Path { - return &Path{index: strconv.Itoa(index), parent: p} -} - -// Key indicates that the previous Path is to be subscripted by a string. -// This sets the same underlying value as Index. -func (p *Path) Key(key string) *Path { - return &Path{index: key, parent: p} -} - -// String produces a string representation of the Path. -func (p *Path) String() string { - // make a slice to iterate - elems := []*Path{} - for ; p != nil; p = p.parent { - elems = append(elems, p) - } - - // iterate, but it has to be backwards - buf := bytes.NewBuffer(nil) - for i := range elems { - p := elems[len(elems)-1-i] - if p.parent != nil && len(p.name) > 0 { - // This is either the root or it is a subscript. - buf.WriteString(".") - } - if len(p.name) > 0 { - buf.WriteString(p.name) - } else { - fmt.Fprintf(buf, "[%s]", p.index) - } - } - return buf.String() -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/validation.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/validation.go deleted file mode 100644 index 5e1ddbc4..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/validation.go +++ /dev/null @@ -1,506 +0,0 @@ -// Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT. -// File content copied from k8s.io/apimachinery@v0.19.8/pkg/util/validation/validation.go - -/* -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 validation - -import ( - "fmt" - "math" - "net" - "regexp" - "strconv" - "strings" - - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field" -) - -const qnameCharFmt string = "[A-Za-z0-9]" -const qnameExtCharFmt string = "[-A-Za-z0-9_.]" -const qualifiedNameFmt string = "(" + qnameCharFmt + qnameExtCharFmt + "*)?" + qnameCharFmt -const qualifiedNameErrMsg string = "must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character" -const qualifiedNameMaxLength int = 63 - -var qualifiedNameRegexp = regexp.MustCompile("^" + qualifiedNameFmt + "$") - -// IsQualifiedName tests whether the value passed is what Kubernetes calls a -// "qualified name". This is a format used in various places throughout the -// system. If the value is not valid, a list of error strings is returned. -// Otherwise an empty list (or nil) is returned. -func IsQualifiedName(value string) []string { - var errs []string - parts := strings.Split(value, "/") - var name string - switch len(parts) { - case 1: - name = parts[0] - case 2: - var prefix string - prefix, name = parts[0], parts[1] - if len(prefix) == 0 { - errs = append(errs, "prefix part "+EmptyError()) - } else if msgs := IsDNS1123Subdomain(prefix); len(msgs) != 0 { - errs = append(errs, prefixEach(msgs, "prefix part ")...) - } - default: - return append(errs, "a qualified name "+RegexError(qualifiedNameErrMsg, qualifiedNameFmt, "MyName", "my.name", "123-abc")+ - " with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')") - } - - if len(name) == 0 { - errs = append(errs, "name part "+EmptyError()) - } else if len(name) > qualifiedNameMaxLength { - errs = append(errs, "name part "+MaxLenError(qualifiedNameMaxLength)) - } - if !qualifiedNameRegexp.MatchString(name) { - errs = append(errs, "name part "+RegexError(qualifiedNameErrMsg, qualifiedNameFmt, "MyName", "my.name", "123-abc")) - } - return errs -} - -// IsFullyQualifiedName checks if the name is fully qualified. This is similar -// to IsFullyQualifiedDomainName but requires a minimum of 3 segments instead of -// 2 and does not accept a trailing . as valid. -// TODO: This function is deprecated and preserved until all callers migrate to -// IsFullyQualifiedDomainName; please don't add new callers. -func IsFullyQualifiedName(fldPath *field.Path, name string) field.ErrorList { - var allErrors field.ErrorList - if len(name) == 0 { - return append(allErrors, field.Required(fldPath, "")) - } - if errs := IsDNS1123Subdomain(name); len(errs) > 0 { - return append(allErrors, field.Invalid(fldPath, name, strings.Join(errs, ","))) - } - if len(strings.Split(name, ".")) < 3 { - return append(allErrors, field.Invalid(fldPath, name, "should be a domain with at least three segments separated by dots")) - } - return allErrors -} - -// IsFullyQualifiedDomainName checks if the domain name is fully qualified. This -// is similar to IsFullyQualifiedName but only requires a minimum of 2 segments -// instead of 3 and accepts a trailing . as valid. -func IsFullyQualifiedDomainName(fldPath *field.Path, name string) field.ErrorList { - var allErrors field.ErrorList - if len(name) == 0 { - return append(allErrors, field.Required(fldPath, "")) - } - if strings.HasSuffix(name, ".") { - name = name[:len(name)-1] - } - if errs := IsDNS1123Subdomain(name); len(errs) > 0 { - return append(allErrors, field.Invalid(fldPath, name, strings.Join(errs, ","))) - } - if len(strings.Split(name, ".")) < 2 { - return append(allErrors, field.Invalid(fldPath, name, "should be a domain with at least two segments separated by dots")) - } - for _, label := range strings.Split(name, ".") { - if errs := IsDNS1123Label(label); len(errs) > 0 { - return append(allErrors, field.Invalid(fldPath, label, strings.Join(errs, ","))) - } - } - return allErrors -} - -// Allowed characters in an HTTP Path as defined by RFC 3986. A HTTP path may -// contain: -// * unreserved characters (alphanumeric, '-', '.', '_', '~') -// * percent-encoded octets -// * sub-delims ("!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=") -// * a colon character (":") -const httpPathFmt string = `[A-Za-z0-9/\-._~%!$&'()*+,;=:]+` - -var httpPathRegexp = regexp.MustCompile("^" + httpPathFmt + "$") - -// IsDomainPrefixedPath checks if the given string is a domain-prefixed path -// (e.g. acme.io/foo). All characters before the first "/" must be a valid -// subdomain as defined by RFC 1123. All characters trailing the first "/" must -// be valid HTTP Path characters as defined by RFC 3986. -func IsDomainPrefixedPath(fldPath *field.Path, dpPath string) field.ErrorList { - var allErrs field.ErrorList - if len(dpPath) == 0 { - return append(allErrs, field.Required(fldPath, "")) - } - - segments := strings.SplitN(dpPath, "/", 2) - if len(segments) != 2 || len(segments[0]) == 0 || len(segments[1]) == 0 { - return append(allErrs, field.Invalid(fldPath, dpPath, "must be a domain-prefixed path (such as \"acme.io/foo\")")) - } - - host := segments[0] - for _, err := range IsDNS1123Subdomain(host) { - allErrs = append(allErrs, field.Invalid(fldPath, host, err)) - } - - path := segments[1] - if !httpPathRegexp.MatchString(path) { - return append(allErrs, field.Invalid(fldPath, path, RegexError("Invalid path", httpPathFmt))) - } - - return allErrs -} - -const labelValueFmt string = "(" + qualifiedNameFmt + ")?" -const labelValueErrMsg string = "a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character" - -// LabelValueMaxLength is a label's max length -const LabelValueMaxLength int = 63 - -var labelValueRegexp = regexp.MustCompile("^" + labelValueFmt + "$") - -// IsValidLabelValue tests whether the value passed is a valid label value. If -// the value is not valid, a list of error strings is returned. Otherwise an -// empty list (or nil) is returned. -func IsValidLabelValue(value string) []string { - var errs []string - if len(value) > LabelValueMaxLength { - errs = append(errs, MaxLenError(LabelValueMaxLength)) - } - if !labelValueRegexp.MatchString(value) { - errs = append(errs, RegexError(labelValueErrMsg, labelValueFmt, "MyValue", "my_value", "12345")) - } - return errs -} - -const dns1123LabelFmt string = "[a-z0-9]([-a-z0-9]*[a-z0-9])?" -const dns1123LabelErrMsg string = "a DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character" - -// DNS1123LabelMaxLength is a label's max length in DNS (RFC 1123) -const DNS1123LabelMaxLength int = 63 - -var dns1123LabelRegexp = regexp.MustCompile("^" + dns1123LabelFmt + "$") - -// IsDNS1123Label tests for a string that conforms to the definition of a label in -// DNS (RFC 1123). -func IsDNS1123Label(value string) []string { - var errs []string - if len(value) > DNS1123LabelMaxLength { - errs = append(errs, MaxLenError(DNS1123LabelMaxLength)) - } - if !dns1123LabelRegexp.MatchString(value) { - errs = append(errs, RegexError(dns1123LabelErrMsg, dns1123LabelFmt, "my-name", "123-abc")) - } - return errs -} - -const dns1123SubdomainFmt string = dns1123LabelFmt + "(\\." + dns1123LabelFmt + ")*" -const dns1123SubdomainErrorMsg string = "a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character" - -// DNS1123SubdomainMaxLength is a subdomain's max length in DNS (RFC 1123) -const DNS1123SubdomainMaxLength int = 253 - -var dns1123SubdomainRegexp = regexp.MustCompile("^" + dns1123SubdomainFmt + "$") - -// IsDNS1123Subdomain tests for a string that conforms to the definition of a -// subdomain in DNS (RFC 1123). -func IsDNS1123Subdomain(value string) []string { - var errs []string - if len(value) > DNS1123SubdomainMaxLength { - errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) - } - if !dns1123SubdomainRegexp.MatchString(value) { - errs = append(errs, RegexError(dns1123SubdomainErrorMsg, dns1123SubdomainFmt, "example.com")) - } - return errs -} - -const dns1035LabelFmt string = "[a-z]([-a-z0-9]*[a-z0-9])?" -const dns1035LabelErrMsg string = "a DNS-1035 label must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character" - -// DNS1035LabelMaxLength is a label's max length in DNS (RFC 1035) -const DNS1035LabelMaxLength int = 63 - -var dns1035LabelRegexp = regexp.MustCompile("^" + dns1035LabelFmt + "$") - -// IsDNS1035Label tests for a string that conforms to the definition of a label in -// DNS (RFC 1035). -func IsDNS1035Label(value string) []string { - var errs []string - if len(value) > DNS1035LabelMaxLength { - errs = append(errs, MaxLenError(DNS1035LabelMaxLength)) - } - if !dns1035LabelRegexp.MatchString(value) { - errs = append(errs, RegexError(dns1035LabelErrMsg, dns1035LabelFmt, "my-name", "abc-123")) - } - return errs -} - -// wildcard definition - RFC 1034 section 4.3.3. -// examples: -// - valid: *.bar.com, *.foo.bar.com -// - invalid: *.*.bar.com, *.foo.*.com, *bar.com, f*.bar.com, * -const wildcardDNS1123SubdomainFmt = "\\*\\." + dns1123SubdomainFmt -const wildcardDNS1123SubdomainErrMsg = "a wildcard DNS-1123 subdomain must start with '*.', followed by a valid DNS subdomain, which must consist of lower case alphanumeric characters, '-' or '.' and end with an alphanumeric character" - -// IsWildcardDNS1123Subdomain tests for a string that conforms to the definition of a -// wildcard subdomain in DNS (RFC 1034 section 4.3.3). -func IsWildcardDNS1123Subdomain(value string) []string { - wildcardDNS1123SubdomainRegexp := regexp.MustCompile("^" + wildcardDNS1123SubdomainFmt + "$") - - var errs []string - if len(value) > DNS1123SubdomainMaxLength { - errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) - } - if !wildcardDNS1123SubdomainRegexp.MatchString(value) { - errs = append(errs, RegexError(wildcardDNS1123SubdomainErrMsg, wildcardDNS1123SubdomainFmt, "*.example.com")) - } - return errs -} - -const cIdentifierFmt string = "[A-Za-z_][A-Za-z0-9_]*" -const identifierErrMsg string = "a valid C identifier must start with alphabetic character or '_', followed by a string of alphanumeric characters or '_'" - -var cIdentifierRegexp = regexp.MustCompile("^" + cIdentifierFmt + "$") - -// IsCIdentifier tests for a string that conforms the definition of an identifier -// in C. This checks the format, but not the length. -func IsCIdentifier(value string) []string { - if !cIdentifierRegexp.MatchString(value) { - return []string{RegexError(identifierErrMsg, cIdentifierFmt, "my_name", "MY_NAME", "MyName")} - } - return nil -} - -// IsValidPortNum tests that the argument is a valid, non-zero port number. -func IsValidPortNum(port int) []string { - if 1 <= port && port <= 65535 { - return nil - } - return []string{InclusiveRangeError(1, 65535)} -} - -// IsInRange tests that the argument is in an inclusive range. -func IsInRange(value int, min int, max int) []string { - if value >= min && value <= max { - return nil - } - return []string{InclusiveRangeError(min, max)} -} - -// Now in libcontainer UID/GID limits is 0 ~ 1<<31 - 1 -// TODO: once we have a type for UID/GID we should make these that type. -const ( - minUserID = 0 - maxUserID = math.MaxInt32 - minGroupID = 0 - maxGroupID = math.MaxInt32 -) - -// IsValidGroupID tests that the argument is a valid Unix GID. -func IsValidGroupID(gid int64) []string { - if minGroupID <= gid && gid <= maxGroupID { - return nil - } - return []string{InclusiveRangeError(minGroupID, maxGroupID)} -} - -// IsValidUserID tests that the argument is a valid Unix UID. -func IsValidUserID(uid int64) []string { - if minUserID <= uid && uid <= maxUserID { - return nil - } - return []string{InclusiveRangeError(minUserID, maxUserID)} -} - -var portNameCharsetRegex = regexp.MustCompile("^[-a-z0-9]+$") -var portNameOneLetterRegexp = regexp.MustCompile("[a-z]") - -// IsValidPortName check that the argument is valid syntax. It must be -// non-empty and no more than 15 characters long. It may contain only [-a-z0-9] -// and must contain at least one letter [a-z]. It must not start or end with a -// hyphen, nor contain adjacent hyphens. -// -// Note: We only allow lower-case characters, even though RFC 6335 is case -// insensitive. -func IsValidPortName(port string) []string { - var errs []string - if len(port) > 15 { - errs = append(errs, MaxLenError(15)) - } - if !portNameCharsetRegex.MatchString(port) { - errs = append(errs, "must contain only alpha-numeric characters (a-z, 0-9), and hyphens (-)") - } - if !portNameOneLetterRegexp.MatchString(port) { - errs = append(errs, "must contain at least one letter or number (a-z, 0-9)") - } - if strings.Contains(port, "--") { - errs = append(errs, "must not contain consecutive hyphens") - } - if len(port) > 0 && (port[0] == '-' || port[len(port)-1] == '-') { - errs = append(errs, "must not begin or end with a hyphen") - } - return errs -} - -// IsValidIP tests that the argument is a valid IP address. -func IsValidIP(value string) []string { - if net.ParseIP(value) == nil { - return []string{"must be a valid IP address, (e.g. 10.9.8.7)"} - } - return nil -} - -// IsValidIPv4Address tests that the argument is a valid IPv4 address. -func IsValidIPv4Address(fldPath *field.Path, value string) field.ErrorList { - var allErrors field.ErrorList - ip := net.ParseIP(value) - if ip == nil || ip.To4() == nil { - allErrors = append(allErrors, field.Invalid(fldPath, value, "must be a valid IPv4 address")) - } - return allErrors -} - -// IsValidIPv6Address tests that the argument is a valid IPv6 address. -func IsValidIPv6Address(fldPath *field.Path, value string) field.ErrorList { - var allErrors field.ErrorList - ip := net.ParseIP(value) - if ip == nil || ip.To4() != nil { - allErrors = append(allErrors, field.Invalid(fldPath, value, "must be a valid IPv6 address")) - } - return allErrors -} - -const percentFmt string = "[0-9]+%" -const percentErrMsg string = "a valid percent string must be a numeric string followed by an ending '%'" - -var percentRegexp = regexp.MustCompile("^" + percentFmt + "$") - -// IsValidPercent checks that string is in the form of a percentage -func IsValidPercent(percent string) []string { - if !percentRegexp.MatchString(percent) { - return []string{RegexError(percentErrMsg, percentFmt, "1%", "93%")} - } - return nil -} - -const httpHeaderNameFmt string = "[-A-Za-z0-9]+" -const httpHeaderNameErrMsg string = "a valid HTTP header must consist of alphanumeric characters or '-'" - -var httpHeaderNameRegexp = regexp.MustCompile("^" + httpHeaderNameFmt + "$") - -// IsHTTPHeaderName checks that a string conforms to the Go HTTP library's -// definition of a valid header field name (a stricter subset than RFC7230). -func IsHTTPHeaderName(value string) []string { - if !httpHeaderNameRegexp.MatchString(value) { - return []string{RegexError(httpHeaderNameErrMsg, httpHeaderNameFmt, "X-Header-Name")} - } - return nil -} - -const envVarNameFmt = "[-._a-zA-Z][-._a-zA-Z0-9]*" -const envVarNameFmtErrMsg string = "a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit" - -var envVarNameRegexp = regexp.MustCompile("^" + envVarNameFmt + "$") - -// IsEnvVarName tests if a string is a valid environment variable name. -func IsEnvVarName(value string) []string { - var errs []string - if !envVarNameRegexp.MatchString(value) { - errs = append(errs, RegexError(envVarNameFmtErrMsg, envVarNameFmt, "my.env-name", "MY_ENV.NAME", "MyEnvName1")) - } - - errs = append(errs, hasChDirPrefix(value)...) - return errs -} - -const configMapKeyFmt = `[-._a-zA-Z0-9]+` -const configMapKeyErrMsg string = "a valid config key must consist of alphanumeric characters, '-', '_' or '.'" - -var configMapKeyRegexp = regexp.MustCompile("^" + configMapKeyFmt + "$") - -// IsConfigMapKey tests for a string that is a valid key for a ConfigMap or Secret -func IsConfigMapKey(value string) []string { - var errs []string - if len(value) > DNS1123SubdomainMaxLength { - errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) - } - if !configMapKeyRegexp.MatchString(value) { - errs = append(errs, RegexError(configMapKeyErrMsg, configMapKeyFmt, "key.name", "KEY_NAME", "key-name")) - } - errs = append(errs, hasChDirPrefix(value)...) - return errs -} - -// MaxLenError returns a string explanation of a "string too long" validation -// failure. -func MaxLenError(length int) string { - return fmt.Sprintf("must be no more than %d characters", length) -} - -// RegexError returns a string explanation of a regex validation failure. -func RegexError(msg string, fmt string, examples ...string) string { - if len(examples) == 0 { - return msg + " (regex used for validation is '" + fmt + "')" - } - msg += " (e.g. " - for i := range examples { - if i > 0 { - msg += " or " - } - msg += "'" + examples[i] + "', " - } - msg += "regex used for validation is '" + fmt + "')" - return msg -} - -// EmptyError returns a string explanation of a "must not be empty" validation -// failure. -func EmptyError() string { - return "must be non-empty" -} - -func prefixEach(msgs []string, prefix string) []string { - for i := range msgs { - msgs[i] = prefix + msgs[i] - } - return msgs -} - -// InclusiveRangeError returns a string explanation of a numeric "must be -// between" validation failure. -func InclusiveRangeError(lo, hi int) string { - return fmt.Sprintf(`must be between %d and %d, inclusive`, lo, hi) -} - -func hasChDirPrefix(value string) []string { - var errs []string - switch { - case value == ".": - errs = append(errs, `must not be '.'`) - case value == "..": - errs = append(errs, `must not be '..'`) - case strings.HasPrefix(value, ".."): - errs = append(errs, `must not start with '..'`) - } - return errs -} - -// IsValidSocketAddr checks that string represents a valid socket address -// as defined in RFC 789. (e.g 0.0.0.0:10254 or [::]:10254)) -func IsValidSocketAddr(value string) []string { - var errs []string - ip, port, err := net.SplitHostPort(value) - if err != nil { - errs = append(errs, "must be a valid socket address format, (e.g. 0.0.0.0:10254 or [::]:10254)") - return errs - } - portInt, _ := strconv.Atoi(port) - errs = append(errs, IsValidPortNum(portInt)...) - errs = append(errs, IsValidIP(ip)...) - return errs -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/kfns.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/kfns.go deleted file mode 100644 index 2ae8c166..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/kfns.go +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml" -) - -// AnnotationClearer removes an annotation at metadata.annotations. -// Returns nil if the annotation or field does not exist. -type AnnotationClearer struct { - Kind string `yaml:"kind,omitempty"` - Key string `yaml:"key,omitempty"` -} - -func (c AnnotationClearer) Filter(rn *RNode) (*RNode, error) { - return rn.Pipe( - PathGetter{Path: []string{MetadataField, AnnotationsField}}, - FieldClearer{Name: c.Key}) -} - -func ClearAnnotation(key string) AnnotationClearer { - return AnnotationClearer{Key: key} -} - -// ClearEmptyAnnotations clears the keys, annotations -// and metadata if they are empty/null -func ClearEmptyAnnotations(rn *RNode) error { - _, err := rn.Pipe(Lookup(MetadataField), FieldClearer{ - Name: AnnotationsField, IfEmpty: true}) - if err != nil { - return errors.Wrap(err) - } - _, err = rn.Pipe(FieldClearer{Name: MetadataField, IfEmpty: true}) - if err != nil { - return errors.Wrap(err) - } - return nil -} - -// k8sMetaSetter sets a name at metadata.{key}. -// Creates metadata if does not exist. -type k8sMetaSetter struct { - Key string `yaml:"key,omitempty"` - Value string `yaml:"value,omitempty"` -} - -func (s k8sMetaSetter) Filter(rn *RNode) (*RNode, error) { - _, err := rn.Pipe( - PathGetter{Path: []string{MetadataField}, Create: yaml.MappingNode}, - FieldSetter{Name: s.Key, Value: NewStringRNode(s.Value)}) - return rn, err -} - -func SetK8sName(value string) k8sMetaSetter { - return k8sMetaSetter{Key: NameField, Value: value} -} - -func SetK8sNamespace(value string) k8sMetaSetter { - return k8sMetaSetter{Key: NamespaceField, Value: value} -} - -// AnnotationSetter sets an annotation at metadata.annotations. -// Creates metadata.annotations if does not exist. -type AnnotationSetter struct { - Kind string `yaml:"kind,omitempty"` - Key string `yaml:"key,omitempty"` - Value string `yaml:"value,omitempty"` -} - -func (s AnnotationSetter) Filter(rn *RNode) (*RNode, error) { - v := NewStringRNode(s.Value) - // some tools get confused about the type if annotations are not quoted - v.YNode().Style = yaml.SingleQuotedStyle - if err := ClearEmptyAnnotations(rn); err != nil { - return nil, err - } - return addMetadataNode(rn, AnnotationsField, s.Key, v) -} - -func SetAnnotation(key, value string) AnnotationSetter { - return AnnotationSetter{Key: key, Value: value} -} - -// AnnotationGetter gets an annotation at metadata.annotations. -// Returns nil if metadata.annotations does not exist. -type AnnotationGetter struct { - Kind string `yaml:"kind,omitempty"` - Key string `yaml:"key,omitempty"` - Value string `yaml:"value,omitempty"` -} - -// AnnotationGetter returns the annotation value. -// Returns "", nil if the annotation does not exist. -func (g AnnotationGetter) Filter(rn *RNode) (*RNode, error) { - v, err := rn.Pipe( - PathGetter{Path: []string{MetadataField, AnnotationsField, g.Key}}) - if v == nil || err != nil { - return v, err - } - if g.Value == "" || v.value.Value == g.Value { - return v, err - } - return nil, err -} - -func GetAnnotation(key string) AnnotationGetter { - return AnnotationGetter{Key: key} -} - -// LabelSetter sets a label at metadata.labels. -// Creates metadata.labels if does not exist. -type LabelSetter struct { - Kind string `yaml:"kind,omitempty"` - Key string `yaml:"key,omitempty"` - Value string `yaml:"value,omitempty"` -} - -func (s LabelSetter) Filter(rn *RNode) (*RNode, error) { - v := NewStringRNode(s.Value) - // some tools get confused about the type if labels are not quoted - v.YNode().Style = yaml.SingleQuotedStyle - return addMetadataNode(rn, LabelsField, s.Key, v) -} - -func addMetadataNode(rn *RNode, field, key string, v *RNode) (*RNode, error) { - return rn.Pipe( - PathGetter{ - Path: []string{MetadataField, field}, Create: yaml.MappingNode}, - FieldSetter{Name: key, Value: v}) -} - -func SetLabel(key, value string) LabelSetter { - return LabelSetter{Key: key, Value: value} -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/mapnode.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/mapnode.go deleted file mode 100644 index 31b41b40..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/mapnode.go +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -// MapNode wraps a field key and value. -type MapNode struct { - Key *RNode - Value *RNode -} - -// IsNilOrEmpty returns true if the MapNode is nil, -// has no value, or has a value that appears empty. -func (mn *MapNode) IsNilOrEmpty() bool { - return mn == nil || mn.Value.IsNilOrEmpty() -} - -type MapNodeSlice []*MapNode - -func (m MapNodeSlice) Keys() []*RNode { - var keys []*RNode - for i := range m { - if m[i] != nil { - keys = append(keys, m[i].Key) - } - } - return keys -} - -func (m MapNodeSlice) Values() []*RNode { - var values []*RNode - for i := range m { - if m[i] != nil { - values = append(values, m[i].Value) - } else { - values = append(values, nil) - } - } - return values -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/match.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/match.go deleted file mode 100644 index a7cdf83d..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/match.go +++ /dev/null @@ -1,273 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "regexp" - "strconv" - "strings" -) - -// PathMatcher returns all RNodes matching the path wrapped in a SequenceNode. -// Lists may have multiple elements matching the path, and each matching element -// is added to the return result. -// If Path points to a SequenceNode, the SequenceNode is wrapped in another SequenceNode -// If Path does not contain any lists, the result is still wrapped in a SequenceNode of len == 1 -type PathMatcher struct { - Kind string `yaml:"kind,omitempty"` - - // Path is a slice of parts leading to the RNode to lookup. - // Each path part may be one of: - // * FieldMatcher -- e.g. "spec" - // * Map Key -- e.g. "app.k8s.io/version" - // * List Entry -- e.g. "[name=nginx]" or "[=-jar]" - // - // Map Keys and Fields are equivalent. - // See FieldMatcher for more on Fields and Map Keys. - // - // List Entries are specified as map entry to match [fieldName=fieldValue]. - // See Elem for more on List Entries. - // - // Examples: - // * spec.template.spec.container with matching name: [name=nginx] -- match 'name': 'nginx' - // * spec.template.spec.container.argument matching a value: [=-jar] -- match '-jar' - Path []string `yaml:"path,omitempty"` - - // Matches is set by PathMatch to publish the matched element values for each node. - // After running PathMatcher.Filter, each node from the SequenceNode result may be - // looked up in Matches to find the field values that were matched. - Matches map[*Node][]string - - // StripComments may be set to remove the comments on the matching Nodes. - // This is useful for if the nodes are to be printed in FlowStyle. - StripComments bool - - val *RNode - field string - matchRegex string - indexNumber int -} - -func (p *PathMatcher) stripComments(n *Node) { - if n == nil { - return - } - if p.StripComments { - n.LineComment = "" - n.HeadComment = "" - n.FootComment = "" - for i := range n.Content { - p.stripComments(n.Content[i]) - } - } -} - -func (p *PathMatcher) Filter(rn *RNode) (*RNode, error) { - val, err := p.filter(rn) - if err != nil { - return nil, err - } - p.stripComments(val.YNode()) - return val, err -} - -func (p *PathMatcher) filter(rn *RNode) (*RNode, error) { - p.Matches = map[*Node][]string{} - - if len(p.Path) == 0 { - // return the element wrapped in a SequenceNode - p.appendRNode("", rn) - return p.val, nil - } - - if IsIdxNumber(p.Path[0]) { - return p.doIndexSeq(rn) - } - - if IsListIndex(p.Path[0]) { - // match seq elements - return p.doSeq(rn) - } - - if IsWildcard(p.Path[0]) { - // match every elements (*) - return p.doMatchEvery(rn) - } - // match a field - return p.doField(rn) -} - -func (p *PathMatcher) doMatchEvery(rn *RNode) (*RNode, error) { - - if err := rn.VisitElements(p.visitEveryElem); err != nil { - return nil, err - } - - return p.val, nil -} - -func (p *PathMatcher) visitEveryElem(elem *RNode) error { - - fieldName := p.Path[0] - // recurse on the matching element - pm := &PathMatcher{Path: p.Path[1:]} - add, err := pm.filter(elem) - for k, v := range pm.Matches { - p.Matches[k] = v - } - if err != nil || add == nil { - return err - } - p.append(fieldName, add.Content()...) - - return nil -} - -func (p *PathMatcher) doField(rn *RNode) (*RNode, error) { - // lookup the field - field, err := rn.Pipe(Get(p.Path[0])) - if err != nil || field == nil { - // if the field doesn't exist, return nil - return nil, err - } - - // recurse on the field, removing the first element of the path - pm := &PathMatcher{Path: p.Path[1:]} - p.val, err = pm.filter(field) - p.Matches = pm.Matches - return p.val, err -} - -// doIndexSeq iterates over a sequence and appends elements matching the index p.Val -func (p *PathMatcher) doIndexSeq(rn *RNode) (*RNode, error) { - // parse to index number - idx, err := strconv.Atoi(p.Path[0]) - if err != nil { - return nil, err - } - p.indexNumber = idx - - elements, err := rn.Elements() - if err != nil { - return nil, err - } - - // get target element - element := elements[idx] - - // recurse on the matching element - pm := &PathMatcher{Path: p.Path[1:]} - add, err := pm.filter(element) - for k, v := range pm.Matches { - p.Matches[k] = v - } - if err != nil || add == nil { - return nil, err - } - p.append("", add.Content()...) - return p.val, nil -} - -// doSeq iterates over a sequence and appends elements matching the path regex to p.Val -func (p *PathMatcher) doSeq(rn *RNode) (*RNode, error) { - // parse the field + match pair - var err error - p.field, p.matchRegex, err = SplitIndexNameValue(p.Path[0]) - if err != nil { - return nil, err - } - - if p.field == "" { - err = rn.VisitElements(p.visitPrimitiveElem) - } else { - err = rn.VisitElements(p.visitElem) - } - if err != nil || p.val == nil || len(p.val.YNode().Content) == 0 { - return nil, err - } - - return p.val, nil -} - -func (p *PathMatcher) visitPrimitiveElem(elem *RNode) error { - r, err := regexp.Compile(p.matchRegex) - if err != nil { - return err - } - - str, err := elem.String() - if err != nil { - return err - } - str = strings.TrimSpace(str) - if !r.MatchString(str) { - return nil - } - - p.appendRNode("", elem) - return nil -} - -func (p *PathMatcher) visitElem(elem *RNode) error { - r, err := regexp.Compile(p.matchRegex) - if err != nil { - return err - } - - // check if this elements field matches the regex - val := elem.Field(p.field) - if val == nil || val.Value == nil { - return nil - } - str, err := val.Value.String() - if err != nil { - return err - } - str = strings.TrimSpace(str) - if !r.MatchString(str) { - return nil - } - - // recurse on the matching element - pm := &PathMatcher{Path: p.Path[1:]} - add, err := pm.filter(elem) - for k, v := range pm.Matches { - p.Matches[k] = v - } - if err != nil || add == nil { - return err - } - p.append(str, add.Content()...) - return nil -} - -func (p *PathMatcher) appendRNode(path string, node *RNode) { - p.append(path, node.YNode()) -} - -func (p *PathMatcher) append(path string, nodes ...*Node) { - if p.val == nil { - p.val = NewRNode(&Node{Kind: SequenceNode}) - } - for i := range nodes { - node := nodes[i] - p.val.YNode().Content = append(p.val.YNode().Content, node) - // record the path if specified - if path != "" { - p.Matches[node] = append(p.Matches[node], path) - } - } -} - -func cleanPath(path []string) []string { - var p []string - for _, elem := range path { - elem = strings.TrimSpace(elem) - if len(elem) == 0 { - continue - } - p = append(p, elem) - } - return p -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/merge2.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/merge2.go deleted file mode 100644 index ab0c8244..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/merge2.go +++ /dev/null @@ -1,182 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package merge contains libraries for merging fields from one RNode to another -// RNode -package merge2 - -import ( - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/walk" -) - -// Merge merges fields from src into dest. -func Merge(src, dest *yaml.RNode, mergeOptions yaml.MergeOptions) (*yaml.RNode, error) { - return walk.Walker{ - Sources: []*yaml.RNode{dest, src}, - Visitor: Merger{}, - MergeOptions: mergeOptions, - }.Walk() -} - -// Merge parses the arguments, and merges fields from srcStr into destStr. -func MergeStrings(srcStr, destStr string, infer bool, mergeOptions yaml.MergeOptions) (string, error) { - src, err := yaml.Parse(srcStr) - if err != nil { - return "", err - } - dest, err := yaml.Parse(destStr) - if err != nil { - return "", err - } - - result, err := walk.Walker{ - Sources: []*yaml.RNode{dest, src}, - Visitor: Merger{}, - InferAssociativeLists: infer, - MergeOptions: mergeOptions, - }.Walk() - if err != nil { - return "", err - } - - return result.String() -} - -type Merger struct { - // for forwards compatibility when new functions are added to the interface -} - -var _ walk.Visitor = Merger{} - -func (m Merger) VisitMap(nodes walk.Sources, s *openapi.ResourceSchema) (*yaml.RNode, error) { - if err := m.SetComments(nodes); err != nil { - return nil, err - } - if err := m.SetStyle(nodes); err != nil { - return nil, err - } - if yaml.IsMissingOrNull(nodes.Dest()) { - // Add - ps, _ := determineSmpDirective(nodes.Origin()) - if ps == smpDelete { - return walk.ClearNode, nil - } - - return nodes.Origin(), nil - } - if nodes.Origin().IsTaggedNull() { - // clear the value - return walk.ClearNode, nil - } - - ps, err := determineSmpDirective(nodes.Origin()) - if err != nil { - return nil, err - } - - switch ps { - case smpDelete: - return walk.ClearNode, nil - case smpReplace: - return nodes.Origin(), nil - default: - return nodes.Dest(), nil - } -} - -func (m Merger) VisitScalar(nodes walk.Sources, s *openapi.ResourceSchema) (*yaml.RNode, error) { - if err := m.SetComments(nodes); err != nil { - return nil, err - } - if err := m.SetStyle(nodes); err != nil { - return nil, err - } - // Override value - if nodes.Origin() != nil { - return nodes.Origin(), nil - } - // Keep - return nodes.Dest(), nil -} - -func (m Merger) VisitList(nodes walk.Sources, s *openapi.ResourceSchema, kind walk.ListKind) (*yaml.RNode, error) { - if err := m.SetComments(nodes); err != nil { - return nil, err - } - if err := m.SetStyle(nodes); err != nil { - return nil, err - } - if kind == walk.NonAssociateList { - // Override value - if nodes.Origin() != nil { - return nodes.Origin(), nil - } - // Keep - return nodes.Dest(), nil - } - - // Add - if yaml.IsMissingOrNull(nodes.Dest()) { - return nodes.Origin(), nil - } - // Clear - if nodes.Origin().IsTaggedNull() { - return walk.ClearNode, nil - } - - ps, err := determineSmpDirective(nodes.Origin()) - if err != nil { - return nil, err - } - - switch ps { - case smpDelete: - return walk.ClearNode, nil - case smpReplace: - return nodes.Origin(), nil - default: - return nodes.Dest(), nil - } -} - -func (m Merger) SetStyle(sources walk.Sources) error { - source := sources.Origin() - dest := sources.Dest() - if dest == nil || dest.YNode() == nil || source == nil || source.YNode() == nil { - // avoid panic - return nil - } - - // copy the style from the source. - // special case: if the dest was an empty map or seq, then it probably had - // folded style applied, but we actually want to keep the style of the origin - // in this case (even if it was the default). otherwise the merged elements - // will get folded even though this probably isn't what is desired. - if dest.YNode().Kind != yaml.ScalarNode && len(dest.YNode().Content) == 0 { - dest.YNode().Style = source.YNode().Style - } - return nil -} - -// SetComments copies the dest comments to the source comments if they are present -// on the source. -func (m Merger) SetComments(sources walk.Sources) error { - source := sources.Origin() - dest := sources.Dest() - if dest == nil || dest.YNode() == nil || source == nil || source.YNode() == nil { - // avoid panic - return nil - } - if source.YNode().FootComment != "" { - dest.YNode().FootComment = source.YNode().FootComment - } - if source.YNode().HeadComment != "" { - dest.YNode().HeadComment = source.YNode().HeadComment - } - if source.YNode().LineComment != "" { - dest.YNode().LineComment = source.YNode().LineComment - } - return nil -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective.go deleted file mode 100644 index f38b188e..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package merge2 - -import ( - "fmt" - - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// A strategic merge patch directive. -// See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md -// -//go:generate stringer -type=smpDirective -linecomment -type smpDirective int - -const ( - smpUnknown smpDirective = iota // unknown - smpReplace // replace - smpDelete // delete - smpMerge // merge -) - -const strategicMergePatchDirectiveKey = "$patch" - -// Examine patch for a strategic merge patch directive. -// If found, return it, and remove the directive from the patch. -func determineSmpDirective(patch *yaml.RNode) (smpDirective, error) { - if patch == nil { - return smpMerge, nil - } - switch patch.YNode().Kind { - case yaml.SequenceNode: - return determineSequenceNodePatchStrategy(patch) - case yaml.MappingNode: - return determineMappingNodePatchStrategy(patch) - default: - return smpUnknown, fmt.Errorf( - "no implemented strategic merge patch strategy for '%s' ('%s')", - patch.YNode().ShortTag(), patch.MustString()) - } -} - -func determineSequenceNodePatchStrategy(patch *yaml.RNode) (smpDirective, error) { - // get the $patch element - node, err := patch.Pipe(yaml.GetElementByKey(strategicMergePatchDirectiveKey)) - // if there are more than 1 key/value pair in the map, then this $patch - // is not for the sequence - if err != nil || node == nil || node.YNode() == nil || len(node.Content()) > 2 { - return smpMerge, nil - } - // get the value - value, err := node.Pipe(yaml.Get(strategicMergePatchDirectiveKey)) - if err != nil || value == nil || value.YNode() == nil { - return smpMerge, nil - } - v := value.YNode().Value - if v == smpDelete.String() { - return smpDelete, elideSequencePatchDirective(patch, v) - } - if v == smpReplace.String() { - return smpReplace, elideSequencePatchDirective(patch, v) - } - if v == smpMerge.String() { - return smpMerge, elideSequencePatchDirective(patch, v) - } - return smpUnknown, fmt.Errorf( - "unknown patch strategy '%s'", v) -} - -func determineMappingNodePatchStrategy(patch *yaml.RNode) (smpDirective, error) { - node, err := patch.Pipe(yaml.Get(strategicMergePatchDirectiveKey)) - if err != nil || node == nil || node.YNode() == nil { - return smpMerge, nil - } - v := node.YNode().Value - if v == smpDelete.String() { - return smpDelete, elideMappingPatchDirective(patch) - } - if v == smpReplace.String() { - return smpReplace, elideMappingPatchDirective(patch) - } - if v == smpMerge.String() { - return smpMerge, elideMappingPatchDirective(patch) - } - return smpUnknown, fmt.Errorf( - "unknown patch strategy '%s'", v) -} - -func elideMappingPatchDirective(patch *yaml.RNode) error { - return patch.PipeE(yaml.Clear(strategicMergePatchDirectiveKey)) -} - -func elideSequencePatchDirective(patch *yaml.RNode, value string) error { - return patch.PipeE(yaml.ElementSetter{ - Element: nil, - Keys: []string{strategicMergePatchDirectiveKey}, - Values: []string{value}, - }) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective_string.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective_string.go deleted file mode 100644 index b4f937f0..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge2/smpdirective_string.go +++ /dev/null @@ -1,26 +0,0 @@ -// Code generated by "stringer -type=smpDirective -linecomment"; DO NOT EDIT. - -package merge2 - -import "strconv" - -func _() { - // An "invalid array index" compiler error signifies that the constant values have changed. - // Re-run the stringer command to generate them again. - var x [1]struct{} - _ = x[smpUnknown-0] - _ = x[smpReplace-1] - _ = x[smpDelete-2] - _ = x[smpMerge-3] -} - -const _smpDirective_name = "unknownreplacedeletemerge" - -var _smpDirective_index = [...]uint8{0, 7, 14, 20, 25} - -func (i smpDirective) String() string { - if i < 0 || i >= smpDirective(len(_smpDirective_index)-1) { - return "smpDirective(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _smpDirective_name[_smpDirective_index[i]:_smpDirective_index[i+1]] -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/merge3.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/merge3.go deleted file mode 100644 index 664270e5..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/merge3.go +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package merge contains libraries for merging fields from one RNode to another -// RNode -package merge3 - -import ( - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/walk" -) - -func Merge(dest, original, update *yaml.RNode) (*yaml.RNode, error) { - // if update == nil && original != nil => declarative deletion - - return walk.Walker{ - Visitor: Visitor{}, - VisitKeysAsScalars: true, - Sources: []*yaml.RNode{dest, original, update}}.Walk() -} - -func MergeStrings(dest, original, update string, infer bool) (string, error) { - srcOriginal, err := yaml.Parse(original) - if err != nil { - return "", err - } - srcUpdated, err := yaml.Parse(update) - if err != nil { - return "", err - } - d, err := yaml.Parse(dest) - if err != nil { - return "", err - } - - result, err := walk.Walker{ - InferAssociativeLists: infer, - Visitor: Visitor{}, - VisitKeysAsScalars: true, - Sources: []*yaml.RNode{d, srcOriginal, srcUpdated}}.Walk() - if err != nil { - return "", err - } - return result.String() -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/visitor.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/visitor.go deleted file mode 100644 index 978deff0..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/merge3/visitor.go +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package merge3 - -import ( - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/walk" -) - -type ConflictStrategy uint - -const ( - // TODO: Support more strategies - TakeUpdate ConflictStrategy = 1 + iota -) - -type Visitor struct{} - -func (m Visitor) VisitMap(nodes walk.Sources, s *openapi.ResourceSchema) (*yaml.RNode, error) { - if nodes.Updated().IsTaggedNull() || nodes.Dest().IsTaggedNull() { - // explicitly cleared from either dest or update - return walk.ClearNode, nil - } - if nodes.Dest() == nil && nodes.Updated() == nil { - // implicitly cleared missing from both dest and update - return walk.ClearNode, nil - } - - if nodes.Dest() == nil { - // not cleared, but missing from the dest - // initialize a new value that can be recursively merged - return yaml.NewRNode(&yaml.Node{Kind: yaml.MappingNode}), nil - } - - // recursively merge the dest with the original and updated - return nodes.Dest(), nil -} - -func (m Visitor) visitAList(nodes walk.Sources, _ *openapi.ResourceSchema) (*yaml.RNode, error) { - if yaml.IsMissingOrNull(nodes.Updated()) && !yaml.IsMissingOrNull(nodes.Origin()) { - // implicitly cleared from update -- element was deleted - return walk.ClearNode, nil - } - if yaml.IsMissingOrNull(nodes.Dest()) { - // not cleared, but missing from the dest - // initialize a new value that can be recursively merged - return yaml.NewRNode(&yaml.Node{Kind: yaml.SequenceNode}), nil - } - - // recursively merge the dest with the original and updated - return nodes.Dest(), nil -} - -func (m Visitor) VisitScalar(nodes walk.Sources, s *openapi.ResourceSchema) (*yaml.RNode, error) { - if nodes.Updated().IsTaggedNull() || nodes.Dest().IsTaggedNull() { - // explicitly cleared from either dest or update - return nil, nil - } - if yaml.IsMissingOrNull(nodes.Updated()) != yaml.IsMissingOrNull(nodes.Origin()) { - // value added or removed in update - return nodes.Updated(), nil - } - if yaml.IsMissingOrNull(nodes.Updated()) && yaml.IsMissingOrNull(nodes.Origin()) { - // value added or removed in update - return nodes.Dest(), nil - } - - values, err := m.getStrValues(nodes) - if err != nil { - return nil, err - } - - if (values.Dest == "" || values.Dest == values.Origin) && values.Origin != values.Update { - // if local is nil or is unchanged but there is new update - return nodes.Updated(), nil - } - - if nodes.Updated().YNode().Value != nodes.Origin().YNode().Value { - // value changed in update - return nodes.Updated(), nil - } - - // unchanged between origin and update, keep the dest - return nodes.Dest(), nil -} - -func (m Visitor) visitNAList(nodes walk.Sources) (*yaml.RNode, error) { - if nodes.Updated().IsTaggedNull() || nodes.Dest().IsTaggedNull() { - // explicitly cleared from either dest or update - return walk.ClearNode, nil - } - - if yaml.IsMissingOrNull(nodes.Updated()) != yaml.IsMissingOrNull(nodes.Origin()) { - // value added or removed in update - return nodes.Updated(), nil - } - if yaml.IsMissingOrNull(nodes.Updated()) && yaml.IsMissingOrNull(nodes.Origin()) { - // value not present in source or dest - return nodes.Dest(), nil - } - - // compare origin and update values to see if they have changed - values, err := m.getStrValues(nodes) - if err != nil { - return nil, err - } - if values.Update != values.Origin { - // value changed in update - return nodes.Updated(), nil - } - - // unchanged between origin and update, keep the dest - return nodes.Dest(), nil -} - -func (m Visitor) VisitList(nodes walk.Sources, s *openapi.ResourceSchema, kind walk.ListKind) (*yaml.RNode, error) { - if kind == walk.AssociativeList { - return m.visitAList(nodes, s) - } - // non-associative list - return m.visitNAList(nodes) -} - -func (m Visitor) getStrValues(nodes walk.Sources) (strValues, error) { - var uStr, oStr, dStr string - var err error - if nodes.Updated() != nil && nodes.Updated().YNode() != nil { - s := nodes.Updated().YNode().Style - defer func() { - nodes.Updated().YNode().Style = s - }() - nodes.Updated().YNode().Style = yaml.FlowStyle | yaml.SingleQuotedStyle - uStr, err = nodes.Updated().String() - if err != nil { - return strValues{}, err - } - } - if nodes.Origin() != nil && nodes.Origin().YNode() != nil { - s := nodes.Origin().YNode().Style - defer func() { - nodes.Origin().YNode().Style = s - }() - nodes.Origin().YNode().Style = yaml.FlowStyle | yaml.SingleQuotedStyle - oStr, err = nodes.Origin().String() - if err != nil { - return strValues{}, err - } - } - if nodes.Dest() != nil && nodes.Dest().YNode() != nil { - s := nodes.Dest().YNode().Style - defer func() { - nodes.Dest().YNode().Style = s - }() - nodes.Dest().YNode().Style = yaml.FlowStyle | yaml.SingleQuotedStyle - dStr, err = nodes.Dest().String() - if err != nil { - return strValues{}, err - } - } - - return strValues{Origin: oStr, Update: uStr, Dest: dStr}, nil -} - -type strValues struct { - Origin string - Update string - Dest string -} - -var _ walk.Visitor = Visitor{} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/order.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/order.go deleted file mode 100644 index 4e01c648..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/order.go +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -// fieldSortOrder contains the relative ordering of fields when formatting an -// object. -var fieldSortOrder = []string{ - // top-level metadata - "name", "generateName", "namespace", "clusterName", - "apiVersion", "kind", "metadata", "type", - "labels", "annotations", - "spec", "status", - - // secret and configmap - "stringData", "data", "binaryData", - - // cronjobspec, daemonsetspec, deploymentspec, statefulsetspec, - // jobspec fields - "parallelism", "completions", "activeDeadlineSeconds", "backoffLimit", - "replicas", "selector", "manualSelector", "template", - "ttlSecondsAfterFinished", "volumeClaimTemplates", "service", "serviceName", - "podManagementPolicy", "updateStrategy", "strategy", "minReadySeconds", - "revision", "revisionHistoryLimit", "paused", "progressDeadlineSeconds", - - // podspec - // podspec scalars - "restartPolicy", "terminationGracePeriodSeconds", - "activeDeadlineSeconds", "dnsPolicy", "serviceAccountName", - "serviceAccount", "automountServiceAccountToken", "nodeName", - "hostNetwork", "hostPID", "hostIPC", "shareProcessNamespace", "hostname", - "subdomain", "schedulerName", "priorityClassName", "priority", - "runtimeClassName", "enableServiceLinks", - - // podspec lists and maps - "nodeSelector", "hostAliases", - - // podspec objects - "initContainers", "containers", "volumes", "securityContext", - "imagePullSecrets", "affinity", "tolerations", "dnsConfig", - "readinessGates", - - // containers - "image", "command", "args", "workingDir", "ports", "envFrom", "env", - "resources", "volumeMounts", "volumeDevices", "livenessProbe", - "readinessProbe", "lifecycle", "terminationMessagePath", - "terminationMessagePolicy", "imagePullPolicy", "securityContext", - "stdin", "stdinOnce", "tty", - - // service - "clusterIP", "externalIPs", "loadBalancerIP", "loadBalancerSourceRanges", - "externalName", "externalTrafficPolicy", "sessionAffinity", - - // ports - "protocol", "port", "targetPort", "hostPort", "containerPort", "hostIP", - - // volumemount - "readOnly", "mountPath", "subPath", "subPathExpr", "mountPropagation", - - // envvar + envvarsource - "value", "valueFrom", "fieldRef", "resourceFieldRef", "configMapKeyRef", - "secretKeyRef", "prefix", "configMapRef", "secretRef", -} - -type set map[string]interface{} - -func newSet(values ...string) set { - m := map[string]interface{}{} - for _, value := range values { - m[value] = nil - } - return m -} - -func (s set) Has(key string) bool { - _, found := s[key] - return found -} - -// WhitelistedListSortKinds contains the set of kinds that are whitelisted -// for sorting list field elements -var WhitelistedListSortKinds = newSet( - "CronJob", "DaemonSet", "Deployment", "Job", "ReplicaSet", "StatefulSet", - "ValidatingWebhookConfiguration") - -// WhitelistedListSortApis contains the set of apis that are whitelisted for -// sorting list field elements -var WhitelistedListSortApis = newSet( - "apps/v1", "apps/v1beta1", "apps/v1beta2", "batch/v1", "batch/v1beta1", - "extensions/v1beta1", "v1", "admissionregistration.k8s.io/v1") - -// WhitelistedListSortFields contains json paths to list fields that should -// be sorted, and the field they should be sorted by -var WhitelistedListSortFields = map[string]string{ - ".spec.template.spec.containers": "name", - ".webhooks.rules.operations": "", -} - -// FieldOrder indexes fields and maps them to relative precedence -var FieldOrder = func() map[string]int { - // create an index of field orderings - fo := map[string]int{} - for i, f := range fieldSortOrder { - fo[f] = i + 1 - } - return fo -}() diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/rnode.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/rnode.go deleted file mode 100644 index ed69fe99..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/rnode.go +++ /dev/null @@ -1,1293 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "encoding/json" - "fmt" - "io/ioutil" - "log" - "regexp" - "strconv" - "strings" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml" - "sigs.k8s.io/kustomize/kyaml/sliceutil" - "sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels" -) - -// MakeNullNode returns an RNode that represents an empty document. -func MakeNullNode() *RNode { - return NewRNode(&Node{Tag: NodeTagNull}) -} - -// IsMissingOrNull is true if the RNode is nil or explicitly tagged null. -// TODO: make this a method on RNode. -func IsMissingOrNull(node *RNode) bool { - return node.IsNil() || node.YNode().Tag == NodeTagNull -} - -// IsEmptyMap returns true if the RNode is an empty node or an empty map. -// TODO: make this a method on RNode. -func IsEmptyMap(node *RNode) bool { - return IsMissingOrNull(node) || IsYNodeEmptyMap(node.YNode()) -} - -// GetValue returns underlying yaml.Node Value field -func GetValue(node *RNode) string { - if IsMissingOrNull(node) { - return "" - } - return node.YNode().Value -} - -// Parse parses a yaml string into an *RNode. -// To parse multiple resources, consider a kio.ByteReader -func Parse(value string) (*RNode, error) { - return Parser{Value: value}.Filter(nil) -} - -// ReadFile parses a single Resource from a yaml file. -// To parse multiple resources, consider a kio.ByteReader -func ReadFile(path string) (*RNode, error) { - b, err := ioutil.ReadFile(path) - if err != nil { - return nil, err - } - return Parse(string(b)) -} - -// WriteFile writes a single Resource to a yaml file -func WriteFile(node *RNode, path string) error { - out, err := node.String() - if err != nil { - return err - } - return ioutil.WriteFile(path, []byte(out), 0600) -} - -// UpdateFile reads the file at path, applies the filter to it, and write the result back. -// path must contain a exactly 1 resource (YAML). -func UpdateFile(filter Filter, path string) error { - // Read the yaml - y, err := ReadFile(path) - if err != nil { - return err - } - - // Update the yaml - if err := y.PipeE(filter); err != nil { - return err - } - - // Write the yaml - return WriteFile(y, path) -} - -// MustParse parses a yaml string into an *RNode and panics if there is an error -func MustParse(value string) *RNode { - v, err := Parser{Value: value}.Filter(nil) - if err != nil { - panic(err) - } - return v -} - -// NewScalarRNode returns a new Scalar *RNode containing the provided scalar value. -func NewScalarRNode(value string) *RNode { - return &RNode{ - value: &yaml.Node{ - Kind: yaml.ScalarNode, - Value: value, - }} -} - -// NewStringRNode returns a new Scalar *RNode containing the provided string. -// If the string is non-utf8, it will be base64 encoded, and the tag -// will indicate binary data. -func NewStringRNode(value string) *RNode { - n := yaml.Node{Kind: yaml.ScalarNode} - n.SetString(value) - return NewRNode(&n) -} - -// NewListRNode returns a new List *RNode containing the provided scalar values. -func NewListRNode(values ...string) *RNode { - seq := &RNode{value: &yaml.Node{Kind: yaml.SequenceNode}} - for _, v := range values { - seq.value.Content = append(seq.value.Content, &yaml.Node{ - Kind: yaml.ScalarNode, - Value: v, - }) - } - return seq -} - -// NewMapRNode returns a new Map *RNode containing the provided values -func NewMapRNode(values *map[string]string) *RNode { - m := &RNode{value: &yaml.Node{ - Kind: yaml.MappingNode, - }} - if values == nil { - return m - } - - for k, v := range *values { - m.value.Content = append(m.value.Content, &yaml.Node{ - Kind: yaml.ScalarNode, - Value: k, - }, &yaml.Node{ - Kind: yaml.ScalarNode, - Value: v, - }) - } - - return m -} - -// SyncMapNodesOrder sorts the map node keys in 'to' node to match the order of -// map node keys in 'from' node, additional keys are moved to the end -func SyncMapNodesOrder(from, to *RNode) { - to.Copy() - res := &RNode{value: &yaml.Node{ - Kind: to.YNode().Kind, - Style: to.YNode().Style, - Tag: to.YNode().Tag, - Anchor: to.YNode().Anchor, - Alias: to.YNode().Alias, - HeadComment: to.YNode().HeadComment, - LineComment: to.YNode().LineComment, - FootComment: to.YNode().FootComment, - Line: to.YNode().Line, - Column: to.YNode().Column, - }} - - fromFieldNames, err := from.Fields() - if err != nil { - return - } - - toFieldNames, err := to.Fields() - if err != nil { - return - } - - for _, fieldName := range fromFieldNames { - if !sliceutil.Contains(toFieldNames, fieldName) { - continue - } - // append the common nodes in the order defined in 'from' node - res.value.Content = append(res.value.Content, to.Field(fieldName).Key.YNode(), to.Field(fieldName).Value.YNode()) - toFieldNames = sliceutil.Remove(toFieldNames, fieldName) - } - - for _, fieldName := range toFieldNames { - // append the residual nodes which are not present in 'from' node - res.value.Content = append(res.value.Content, to.Field(fieldName).Key.YNode(), to.Field(fieldName).Value.YNode()) - } - - to.SetYNode(res.YNode()) -} - -// NewRNode returns a new RNode pointer containing the provided Node. -func NewRNode(value *yaml.Node) *RNode { - return &RNode{value: value} -} - -// RNode provides functions for manipulating Kubernetes Resources -// Objects unmarshalled into *yaml.Nodes -type RNode struct { - // fieldPath contains the path from the root of the KubernetesObject to - // this field. - // Only field names are captured in the path. - // e.g. a image field in a Deployment would be - // 'spec.template.spec.containers.image' - fieldPath []string - - // FieldValue contains the value. - // FieldValue is always set: - // field: field value - // list entry: list entry value - // object root: object root - value *yaml.Node - - Match []string -} - -// Copy returns a distinct copy. -func (rn *RNode) Copy() *RNode { - if rn == nil { - return nil - } - result := *rn - result.value = CopyYNode(rn.value) - return &result -} - -var ErrMissingMetadata = fmt.Errorf("missing Resource metadata") - -// IsNil is true if the node is nil, or its underlying YNode is nil. -func (rn *RNode) IsNil() bool { - return rn == nil || rn.YNode() == nil -} - -// IsTaggedNull is true if a non-nil node is explicitly tagged Null. -func (rn *RNode) IsTaggedNull() bool { - return !rn.IsNil() && IsYNodeTaggedNull(rn.YNode()) -} - -// IsNilOrEmpty is true if the node is nil, -// has no YNode, or has YNode that appears empty. -func (rn *RNode) IsNilOrEmpty() bool { - return rn.IsNil() || - IsYNodeTaggedNull(rn.YNode()) || - IsYNodeEmptyMap(rn.YNode()) || - IsYNodeEmptySeq(rn.YNode()) || - IsYNodeZero(rn.YNode()) -} - -// IsStringValue is true if the RNode is not nil and is scalar string node -func (rn *RNode) IsStringValue() bool { - return !rn.IsNil() && IsYNodeString(rn.YNode()) -} - -// GetMeta returns the ResourceMeta for an RNode -func (rn *RNode) GetMeta() (ResourceMeta, error) { - if IsMissingOrNull(rn) { - return ResourceMeta{}, nil - } - missingMeta := true - n := rn - if n.YNode().Kind == DocumentNode { - // get the content is this is the document node - n = NewRNode(n.Content()[0]) - } - - // don't decode into the struct directly or it will fail on UTF-8 issues - // which appear in comments - m := ResourceMeta{} - - // TODO: consider optimizing this parsing - if f := n.Field(APIVersionField); !f.IsNilOrEmpty() { - m.APIVersion = GetValue(f.Value) - missingMeta = false - } - if f := n.Field(KindField); !f.IsNilOrEmpty() { - m.Kind = GetValue(f.Value) - missingMeta = false - } - - mf := n.Field(MetadataField) - if mf.IsNilOrEmpty() { - if missingMeta { - return m, ErrMissingMetadata - } - return m, nil - } - meta := mf.Value - - if f := meta.Field(NameField); !f.IsNilOrEmpty() { - m.Name = f.Value.YNode().Value - missingMeta = false - } - if f := meta.Field(NamespaceField); !f.IsNilOrEmpty() { - m.Namespace = GetValue(f.Value) - missingMeta = false - } - - if f := meta.Field(LabelsField); !f.IsNilOrEmpty() { - m.Labels = map[string]string{} - _ = f.Value.VisitFields(func(node *MapNode) error { - m.Labels[GetValue(node.Key)] = GetValue(node.Value) - return nil - }) - missingMeta = false - } - if f := meta.Field(AnnotationsField); !f.IsNilOrEmpty() { - m.Annotations = map[string]string{} - _ = f.Value.VisitFields(func(node *MapNode) error { - m.Annotations[GetValue(node.Key)] = GetValue(node.Value) - return nil - }) - missingMeta = false - } - - if missingMeta { - return m, ErrMissingMetadata - } - return m, nil -} - -// Pipe sequentially invokes each Filter, and passes the result to the next -// Filter. -// -// Analogous to http://www.linfo.org/pipes.html -// -// * rn is provided as input to the first Filter. -// * if any Filter returns an error, immediately return the error -// * if any Filter returns a nil RNode, immediately return nil, nil -// * if all Filters succeed with non-empty results, return the final result -func (rn *RNode) Pipe(functions ...Filter) (*RNode, error) { - // check if rn is nil to make chaining Pipe calls easier - if rn == nil { - return nil, nil - } - - var v *RNode - var err error - if rn.value != nil && rn.value.Kind == yaml.DocumentNode { - // the first node may be a DocumentNode containing a single MappingNode - v = &RNode{value: rn.value.Content[0]} - } else { - v = rn - } - - // return each fn in sequence until encountering an error or missing value - for _, c := range functions { - v, err = c.Filter(v) - if err != nil || v == nil { - return v, errors.Wrap(err) - } - } - return v, err -} - -// PipeE runs Pipe, dropping the *RNode return value. -// Useful for directly returning the Pipe error value from functions. -func (rn *RNode) PipeE(functions ...Filter) error { - _, err := rn.Pipe(functions...) - return errors.Wrap(err) -} - -// Document returns the Node for the value. -func (rn *RNode) Document() *yaml.Node { - return rn.value -} - -// YNode returns the yaml.Node value. If the yaml.Node value is a DocumentNode, -// YNode will return the DocumentNode Content entry instead of the DocumentNode. -func (rn *RNode) YNode() *yaml.Node { - if rn == nil || rn.value == nil { - return nil - } - if rn.value.Kind == yaml.DocumentNode { - return rn.value.Content[0] - } - return rn.value -} - -// SetYNode sets the yaml.Node value on an RNode. -func (rn *RNode) SetYNode(node *yaml.Node) { - if rn.value == nil || node == nil { - rn.value = node - return - } - *rn.value = *node -} - -// GetKind returns the kind, if it exists, else empty string. -func (rn *RNode) GetKind() string { - if node := rn.getMapFieldValue(KindField); node != nil { - return node.Value - } - return "" -} - -// SetKind sets the kind. -func (rn *RNode) SetKind(k string) { - rn.SetMapField(NewScalarRNode(k), KindField) -} - -// GetApiVersion returns the apiversion, if it exists, else empty string. -func (rn *RNode) GetApiVersion() string { - if node := rn.getMapFieldValue(APIVersionField); node != nil { - return node.Value - } - return "" -} - -// SetApiVersion sets the apiVersion. -func (rn *RNode) SetApiVersion(av string) { - rn.SetMapField(NewScalarRNode(av), APIVersionField) -} - -// getMapFieldValue returns the value (*yaml.Node) of a mapping field. -// The value might be nil. Also, the function returns nil, not an error, -// if this node is not a mapping node, or if this node does not have the -// given field, so this function cannot be used to make distinctions -// between these cases. -func (rn *RNode) getMapFieldValue(field string) *yaml.Node { - for i := 0; i < len(rn.Content()); i = IncrementFieldIndex(i) { - if rn.Content()[i].Value == field { - return rn.Content()[i+1] - } - } - return nil -} - -// GetName returns the name, or empty string if -// field not found. The setter is more restrictive. -func (rn *RNode) GetName() string { - return rn.getMetaStringField(NameField) -} - -// getMetaStringField returns the value of a string field in metadata. -func (rn *RNode) getMetaStringField(fName string) string { - md := rn.getMetaData() - if md == nil { - return "" - } - f := md.Field(fName) - if f.IsNilOrEmpty() { - return "" - } - return GetValue(f.Value) -} - -// getMetaData returns the RNode holding the value of the metadata field. -// Return nil if field not found (no error). -func (rn *RNode) getMetaData() *RNode { - if IsMissingOrNull(rn) { - return nil - } - var n *RNode - if rn.YNode().Kind == DocumentNode { - // get the content if this is the document node - n = NewRNode(rn.Content()[0]) - } else { - n = rn - } - mf := n.Field(MetadataField) - if mf.IsNilOrEmpty() { - return nil - } - return mf.Value -} - -// SetName sets the metadata name field. -func (rn *RNode) SetName(name string) error { - return rn.SetMapField(NewScalarRNode(name), MetadataField, NameField) -} - -// GetNamespace gets the metadata namespace field, or empty string if -// field not found. The setter is more restrictive. -func (rn *RNode) GetNamespace() string { - return rn.getMetaStringField(NamespaceField) -} - -// SetNamespace tries to set the metadata namespace field. If the argument -// is empty, the field is dropped. -func (rn *RNode) SetNamespace(ns string) error { - meta, err := rn.Pipe(Lookup(MetadataField)) - if err != nil { - return err - } - if ns == "" { - if rn == nil { - return nil - } - return meta.PipeE(Clear(NamespaceField)) - } - return rn.SetMapField( - NewScalarRNode(ns), MetadataField, NamespaceField) -} - -// GetAnnotations gets the metadata annotations field. -// If the field is missing, returns an empty map. -// Use another method to check for missing metadata. -func (rn *RNode) GetAnnotations() map[string]string { - meta := rn.getMetaData() - if meta == nil { - return make(map[string]string) - } - return rn.getMapFromMeta(meta, AnnotationsField) -} - -// SetAnnotations tries to set the metadata annotations field. -func (rn *RNode) SetAnnotations(m map[string]string) error { - return rn.setMapInMetadata(m, AnnotationsField) -} - -// GetLabels gets the metadata labels field. -// If the field is missing, returns an empty map. -// Use another method to check for missing metadata. -func (rn *RNode) GetLabels() map[string]string { - meta := rn.getMetaData() - if meta == nil { - return make(map[string]string) - } - return rn.getMapFromMeta(meta, LabelsField) -} - -// getMapFromMeta returns map, sometimes empty, from metadata. -func (rn *RNode) getMapFromMeta(meta *RNode, fName string) map[string]string { - result := make(map[string]string) - if f := meta.Field(fName); !f.IsNilOrEmpty() { - _ = f.Value.VisitFields(func(node *MapNode) error { - result[GetValue(node.Key)] = GetValue(node.Value) - return nil - }) - } - return result -} - -// SetLabels sets the metadata labels field. -func (rn *RNode) SetLabels(m map[string]string) error { - return rn.setMapInMetadata(m, LabelsField) -} - -// This established proper quoting on string values, and sorts by key. -func (rn *RNode) setMapInMetadata(m map[string]string, field string) error { - meta, err := rn.Pipe(LookupCreate(MappingNode, MetadataField)) - if err != nil { - return err - } - if err = meta.PipeE(Clear(field)); err != nil { - return err - } - if len(m) == 0 { - return nil - } - mapNode, err := meta.Pipe(LookupCreate(MappingNode, field)) - if err != nil { - return err - } - for _, k := range SortedMapKeys(m) { - if _, err := mapNode.Pipe( - SetField(k, NewStringRNode(m[k]))); err != nil { - return err - } - } - return nil -} - -func (rn *RNode) SetMapField(value *RNode, path ...string) error { - return rn.PipeE( - LookupCreate(yaml.MappingNode, path[0:len(path)-1]...), - SetField(path[len(path)-1], value), - ) -} - -func (rn *RNode) GetDataMap() map[string]string { - n, err := rn.Pipe(Lookup(DataField)) - if err != nil { - return nil - } - result := map[string]string{} - _ = n.VisitFields(func(node *MapNode) error { - result[GetValue(node.Key)] = GetValue(node.Value) - return nil - }) - return result -} - -func (rn *RNode) GetBinaryDataMap() map[string]string { - n, err := rn.Pipe(Lookup(BinaryDataField)) - if err != nil { - return nil - } - result := map[string]string{} - _ = n.VisitFields(func(node *MapNode) error { - result[GetValue(node.Key)] = GetValue(node.Value) - return nil - }) - return result -} - -// GetValidatedDataMap retrieves the data map and returns an error if the data -// map contains entries which are not included in the expectedKeys set. -func (rn *RNode) GetValidatedDataMap(expectedKeys []string) (map[string]string, error) { - dataMap := rn.GetDataMap() - err := rn.validateDataMap(dataMap, expectedKeys) - return dataMap, err -} - -func (rn *RNode) validateDataMap(dataMap map[string]string, expectedKeys []string) error { - if dataMap == nil { - return fmt.Errorf("The datamap is unassigned") - } - for key := range dataMap { - found := false - for _, expected := range expectedKeys { - if expected == key { - found = true - } - } - if !found { - return fmt.Errorf("an unexpected key (%v) was found", key) - } - } - return nil -} - -func (rn *RNode) SetDataMap(m map[string]string) { - if rn == nil { - log.Fatal("cannot set data map on nil Rnode") - } - if err := rn.PipeE(Clear(DataField)); err != nil { - log.Fatal(err) - } - if len(m) == 0 { - return - } - if err := rn.LoadMapIntoConfigMapData(m); err != nil { - log.Fatal(err) - } -} - -func (rn *RNode) SetBinaryDataMap(m map[string]string) { - if rn == nil { - log.Fatal("cannot set binaryData map on nil Rnode") - } - if err := rn.PipeE(Clear(BinaryDataField)); err != nil { - log.Fatal(err) - } - if len(m) == 0 { - return - } - if err := rn.LoadMapIntoConfigMapBinaryData(m); err != nil { - log.Fatal(err) - } -} - -// AppendToFieldPath appends a field name to the FieldPath. -func (rn *RNode) AppendToFieldPath(parts ...string) { - rn.fieldPath = append(rn.fieldPath, parts...) -} - -// FieldPath returns the field path from the Resource root node, to rn. -// Does not include list indexes. -func (rn *RNode) FieldPath() []string { - return rn.fieldPath -} - -// String returns string representation of the RNode -func (rn *RNode) String() (string, error) { - if rn == nil { - return "", nil - } - return String(rn.value) -} - -// MustString returns string representation of the RNode or panics if there is an error -func (rn *RNode) MustString() string { - s, err := rn.String() - if err != nil { - panic(err) - } - return s -} - -// Content returns Node Content field. -func (rn *RNode) Content() []*yaml.Node { - if rn == nil { - return nil - } - return rn.YNode().Content -} - -// Fields returns the list of field names for a MappingNode. -// Returns an error for non-MappingNodes. -func (rn *RNode) Fields() ([]string, error) { - if err := ErrorIfInvalid(rn, yaml.MappingNode); err != nil { - return nil, errors.Wrap(err) - } - var fields []string - for i := 0; i < len(rn.Content()); i += 2 { - fields = append(fields, rn.Content()[i].Value) - } - return fields, nil -} - -// FieldRNodes returns the list of field key RNodes for a MappingNode. -// Returns an error for non-MappingNodes. -func (rn *RNode) FieldRNodes() ([]*RNode, error) { - if err := ErrorIfInvalid(rn, yaml.MappingNode); err != nil { - return nil, errors.Wrap(err) - } - var fields []*RNode - for i := 0; i < len(rn.Content()); i += 2 { - yNode := rn.Content()[i] - // for each key node in the input mapping node contents create equivalent rNode - rNode := &RNode{} - rNode.SetYNode(yNode) - fields = append(fields, rNode) - } - return fields, nil -} - -// Field returns a fieldName, fieldValue pair for MappingNodes. -// Returns nil for non-MappingNodes. -func (rn *RNode) Field(field string) *MapNode { - if rn.YNode().Kind != yaml.MappingNode { - return nil - } - for i := 0; i < len(rn.Content()); i = IncrementFieldIndex(i) { - isMatchingField := rn.Content()[i].Value == field - if isMatchingField { - return &MapNode{Key: NewRNode(rn.Content()[i]), Value: NewRNode(rn.Content()[i+1])} - } - } - return nil -} - -// VisitFields calls fn for each field in the RNode. -// Returns an error for non-MappingNodes. -func (rn *RNode) VisitFields(fn func(node *MapNode) error) error { - // get the list of srcFieldNames - srcFieldNames, err := rn.Fields() - if err != nil { - return errors.Wrap(err) - } - - // visit each field - for _, fieldName := range srcFieldNames { - if err := fn(rn.Field(fieldName)); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -// Elements returns the list of elements in the RNode. -// Returns an error for non-SequenceNodes. -func (rn *RNode) Elements() ([]*RNode, error) { - if err := ErrorIfInvalid(rn, yaml.SequenceNode); err != nil { - return nil, errors.Wrap(err) - } - var elements []*RNode - for i := 0; i < len(rn.Content()); i++ { - elements = append(elements, NewRNode(rn.Content()[i])) - } - return elements, nil -} - -// ElementValues returns a list of all observed values for a given field name -// in a list of elements. -// Returns error for non-SequenceNodes. -func (rn *RNode) ElementValues(key string) ([]string, error) { - if err := ErrorIfInvalid(rn, yaml.SequenceNode); err != nil { - return nil, errors.Wrap(err) - } - var elements []string - for i := 0; i < len(rn.Content()); i++ { - field := NewRNode(rn.Content()[i]).Field(key) - if !field.IsNilOrEmpty() { - elements = append(elements, field.Value.YNode().Value) - } - } - return elements, nil -} - -// ElementValuesList returns a list of lists, where each list is a set of -// values corresponding to each key in keys. -// Returns error for non-SequenceNodes. -func (rn *RNode) ElementValuesList(keys []string) ([][]string, error) { - if err := ErrorIfInvalid(rn, yaml.SequenceNode); err != nil { - return nil, errors.Wrap(err) - } - elements := make([][]string, len(rn.Content())) - - for i := 0; i < len(rn.Content()); i++ { - for _, key := range keys { - field := NewRNode(rn.Content()[i]).Field(key) - if field.IsNilOrEmpty() { - elements[i] = append(elements[i], "") - } else { - elements[i] = append(elements[i], field.Value.YNode().Value) - } - } - } - return elements, nil -} - -// Element returns the element in the list which contains the field matching the value. -// Returns nil for non-SequenceNodes or if no Element matches. -func (rn *RNode) Element(key, value string) *RNode { - if rn.YNode().Kind != yaml.SequenceNode { - return nil - } - elem, err := rn.Pipe(MatchElement(key, value)) - if err != nil { - return nil - } - return elem -} - -// ElementList returns the element in the list in which all fields keys[i] matches all -// corresponding values[i]. -// Returns nil for non-SequenceNodes or if no Element matches. -func (rn *RNode) ElementList(keys []string, values []string) *RNode { - if rn.YNode().Kind != yaml.SequenceNode { - return nil - } - elem, err := rn.Pipe(MatchElementList(keys, values)) - if err != nil { - return nil - } - return elem -} - -// VisitElements calls fn for each element in a SequenceNode. -// Returns an error for non-SequenceNodes -func (rn *RNode) VisitElements(fn func(node *RNode) error) error { - elements, err := rn.Elements() - if err != nil { - return errors.Wrap(err) - } - - for i := range elements { - if err := fn(elements[i]); err != nil { - return errors.Wrap(err) - } - } - return nil -} - -// AssociativeSequenceKeys is a map of paths to sequences that have associative keys. -// The order sets the precedence of the merge keys -- if multiple keys are present -// in Resources in a list, then the FIRST key which ALL elements in the list have is used as the -// associative key for merging that list. -// Only infer name as a merge key. -var AssociativeSequenceKeys = []string{"name"} - -// IsAssociative returns true if the RNode contains an AssociativeSequenceKey as a field. -func (rn *RNode) IsAssociative() bool { - return rn.GetAssociativeKey() != "" -} - -// GetAssociativeKey returns the AssociativeSequenceKey used to merge the elements in the -// SequenceNode, or "" if the list is not associative. -func (rn *RNode) GetAssociativeKey() string { - // look for any associative keys in the first element - for _, key := range AssociativeSequenceKeys { - if checkKey(key, rn.Content()) { - return key - } - } - - // element doesn't have an associative keys - return "" -} - -// MarshalJSON creates a byte slice from the RNode. -func (rn *RNode) MarshalJSON() ([]byte, error) { - s, err := rn.String() - if err != nil { - return nil, err - } - - if rn.YNode().Kind == SequenceNode { - var a []interface{} - if err := Unmarshal([]byte(s), &a); err != nil { - return nil, err - } - return json.Marshal(a) - } - - m := map[string]interface{}{} - if err := Unmarshal([]byte(s), &m); err != nil { - return nil, err - } - return json.Marshal(m) -} - -// UnmarshalJSON overwrites this RNode with data from []byte. -func (rn *RNode) UnmarshalJSON(b []byte) error { - m := map[string]interface{}{} - if err := json.Unmarshal(b, &m); err != nil { - return err - } - r, err := FromMap(m) - if err != nil { - return err - } - rn.value = r.value - return nil -} - -// DeAnchor inflates all YAML aliases with their anchor values. -// All YAML anchor data is permanently removed (feel free to call Copy first). -func (rn *RNode) DeAnchor() (err error) { - rn.value, err = deAnchor(rn.value) - return -} - -// deAnchor removes all AliasNodes from the yaml.Node's tree, replacing -// them with what they point to. All Anchor fields (these are used to mark -// anchor definitions) are cleared. -func deAnchor(yn *yaml.Node) (res *yaml.Node, err error) { - if yn == nil { - return nil, nil - } - if yn.Anchor != "" { - // This node defines an anchor. Clear the field so that it - // doesn't show up when marshalling. - if yn.Kind == yaml.AliasNode { - // Maybe this is OK, but for now treating it as a bug. - return nil, fmt.Errorf( - "anchor %q defined using alias %v", yn.Anchor, yn.Alias) - } - yn.Anchor = "" - } - switch yn.Kind { - case yaml.ScalarNode: - return yn, nil - case yaml.AliasNode: - return deAnchor(yn.Alias) - case yaml.MappingNode: - toMerge, err := removeMergeTags(yn) - if err != nil { - return nil, err - } - err = mergeAll(yn, toMerge) - if err != nil { - return nil, err - } - fallthrough - case yaml.DocumentNode, yaml.SequenceNode: - for i := range yn.Content { - yn.Content[i], err = deAnchor(yn.Content[i]) - if err != nil { - return nil, err - } - } - return yn, nil - default: - return nil, fmt.Errorf("cannot deAnchor kind %q", yn.Kind) - } -} - -// isMerge returns if the node is tagged with !!merge -func isMerge(yn *yaml.Node) bool { - return yn.Tag == MergeTag -} - -// findMergeValues receives either a MappingNode, a AliasNode or a potentially -// mixed list of MappingNodes and AliasNodes. It returns a list of MappingNodes. -func findMergeValues(yn *yaml.Node) ([]*yaml.Node, error) { - if yn == nil { - return []*yaml.Node{}, nil - } - switch yn.Kind { - case MappingNode: - return []*yaml.Node{yn}, nil - case AliasNode: - if yn.Alias != nil && yn.Alias.Kind != MappingNode { - return nil, errors.Errorf("invalid map merge: received alias for a non-map value") - } - return []*yaml.Node{yn.Alias}, nil - case SequenceNode: - mergeValues := []*yaml.Node{} - for i := 0; i < len(yn.Content); i++ { - if yn.Content[i].Kind == SequenceNode { - return nil, errors.Errorf("invalid map merge: received a nested sequence") - } - newMergeValues, err := findMergeValues(yn.Content[i]) - if err != nil { - return nil, err - } - mergeValues = append(newMergeValues, mergeValues...) - } - return mergeValues, nil - default: - return nil, errors.Errorf("map merge requires map or sequence of maps as the value") - } -} - -// getMergeTagValue receives a MappingNode yaml node, and it searches for -// merge tagged keys and return its value yaml node. If the key is duplicated, -// it fails. -func getMergeTagValue(yn *yaml.Node) (*yaml.Node, error) { - var result *yaml.Node - for i := 0; i < len(yn.Content); i += 2 { - key := yn.Content[i] - value := yn.Content[i+1] - if isMerge(key) { - if result != nil { - return nil, fmt.Errorf("duplicate merge key") - } - result = value - } - } - return result, nil -} - -// removeMergeTags removes all merge tags and returns a ordered list of yaml -// nodes to merge and a error -func removeMergeTags(yn *yaml.Node) ([]*yaml.Node, error) { - if yn == nil || yn.Content == nil { - return nil, nil - } - if yn.Kind != yaml.MappingNode { - return nil, nil - } - value, err := getMergeTagValue(yn) - if err != nil { - return nil, err - } - toMerge, err := findMergeValues(value) - if err != nil { - return nil, err - } - err = NewRNode(yn).PipeE(Clear("<<")) - if err != nil { - return nil, err - } - return toMerge, nil -} - -func mergeAll(yn *yaml.Node, toMerge []*yaml.Node) error { - // We only need to start with a copy of the existing node because we need to - // maintain duplicated keys and style - rn := NewRNode(yn).Copy() - toMerge = append(toMerge, yn) - for i := range toMerge { - rnToMerge := NewRNode(toMerge[i]).Copy() - err := rnToMerge.VisitFields(func(node *MapNode) error { - return rn.PipeE(MapEntrySetter{Key: node.Key, Value: node.Value}) - }) - if err != nil { - return err - } - } - *yn = *rn.value - return nil -} - -// GetValidatedMetadata returns metadata after subjecting it to some tests. -func (rn *RNode) GetValidatedMetadata() (ResourceMeta, error) { - m, err := rn.GetMeta() - if err != nil { - return m, err - } - if m.Kind == "" { - return m, fmt.Errorf("missing kind in object %v", m) - } - if strings.HasSuffix(m.Kind, "List") { - // A list doesn't require a name. - return m, nil - } - if m.NameMeta.Name == "" { - return m, fmt.Errorf("missing metadata.name in object %v", m) - } - return m, nil -} - -// MatchesAnnotationSelector returns true on a selector match to annotations. -func (rn *RNode) MatchesAnnotationSelector(selector string) (bool, error) { - s, err := labels.Parse(selector) - if err != nil { - return false, err - } - return s.Matches(labels.Set(rn.GetAnnotations())), nil -} - -// MatchesLabelSelector returns true on a selector match to labels. -func (rn *RNode) MatchesLabelSelector(selector string) (bool, error) { - s, err := labels.Parse(selector) - if err != nil { - return false, err - } - return s.Matches(labels.Set(rn.GetLabels())), nil -} - -// HasNilEntryInList returns true if the RNode contains a list which has -// a nil item, along with the path to the missing item. -// TODO(broken): This doesn't do what it claims to do. -// (see TODO in unit test and pr 1513). -func (rn *RNode) HasNilEntryInList() (bool, string) { - return hasNilEntryInList(rn.value) -} - -func hasNilEntryInList(in interface{}) (bool, string) { - switch v := in.(type) { - case map[string]interface{}: - for key, s := range v { - if result, path := hasNilEntryInList(s); result { - return result, key + "/" + path - } - } - case []interface{}: - for index, s := range v { - if s == nil { - return true, "" - } - if result, path := hasNilEntryInList(s); result { - return result, "[" + strconv.Itoa(index) + "]/" + path - } - } - } - return false, "" -} - -func FromMap(m map[string]interface{}) (*RNode, error) { - c, err := Marshal(m) - if err != nil { - return nil, err - } - return Parse(string(c)) -} - -func (rn *RNode) Map() (map[string]interface{}, error) { - if rn == nil || rn.value == nil { - return make(map[string]interface{}), nil - } - var result map[string]interface{} - if err := rn.value.Decode(&result); err != nil { - // Should not be able to create an RNode that cannot be decoded; - // this is an unrecoverable error. - str, _ := rn.String() - return nil, fmt.Errorf("received error %w for the following resource:\n%s", err, str) - } - return result, nil -} - -// ConvertJSONToYamlNode parses input json string and returns equivalent yaml node -func ConvertJSONToYamlNode(jsonStr string) (*RNode, error) { - var body map[string]interface{} - err := json.Unmarshal([]byte(jsonStr), &body) - if err != nil { - return nil, err - } - yml, err := yaml.Marshal(body) - if err != nil { - return nil, err - } - node, err := Parse(string(yml)) - if err != nil { - return nil, err - } - return node, nil -} - -// checkKey returns true if all elems have the key -func checkKey(key string, elems []*Node) bool { - count := 0 - for i := range elems { - elem := NewRNode(elems[i]) - if elem.Field(key) != nil { - count++ - } - } - return count == len(elems) -} - -// GetSlice returns the contents of the slice field at the given path. -func (rn *RNode) GetSlice(path string) ([]interface{}, error) { - value, err := rn.GetFieldValue(path) - if err != nil { - return nil, err - } - if sliceValue, ok := value.([]interface{}); ok { - return sliceValue, nil - } - return nil, fmt.Errorf("node %s is not a slice", path) -} - -// GetString returns the contents of the string field at the given path. -func (rn *RNode) GetString(path string) (string, error) { - value, err := rn.GetFieldValue(path) - if err != nil { - return "", err - } - if v, ok := value.(string); ok { - return v, nil - } - return "", fmt.Errorf("node %s is not a string: %v", path, value) -} - -// GetFieldValue finds period delimited fields. -// TODO: When doing kustomize var replacement, which is likely a -// a primary use of this function and the reason it returns interface{} -// rather than string, we do conversion from Nodes to Go types and back -// to nodes. We should figure out how to do replacement using raw nodes, -// assuming we keep the var feature in kustomize. -// The other end of this is: refvar.go:updateNodeValue. -func (rn *RNode) GetFieldValue(path string) (interface{}, error) { - fields := convertSliceIndex(strings.Split(path, ".")) - rn, err := rn.Pipe(Lookup(fields...)) - if err != nil { - return nil, err - } - if rn == nil { - return nil, NoFieldError{path} - } - yn := rn.YNode() - - // If this is an alias node, resolve it - if yn.Kind == yaml.AliasNode { - yn = yn.Alias - } - - // Return value as map for DocumentNode and MappingNode kinds - if yn.Kind == yaml.DocumentNode || yn.Kind == yaml.MappingNode { - var result map[string]interface{} - if err := yn.Decode(&result); err != nil { - return nil, err - } - return result, err - } - - // Return value as slice for SequenceNode kind - if yn.Kind == yaml.SequenceNode { - var result []interface{} - if err := yn.Decode(&result); err != nil { - return nil, err - } - return result, nil - } - if yn.Kind != yaml.ScalarNode { - return nil, fmt.Errorf("expected ScalarNode, got Kind=%d", yn.Kind) - } - - switch yn.Tag { - case NodeTagString: - return yn.Value, nil - case NodeTagInt: - return strconv.Atoi(yn.Value) - case NodeTagFloat: - return strconv.ParseFloat(yn.Value, 64) - case NodeTagBool: - return strconv.ParseBool(yn.Value) - default: - // Possibly this should be an error or log. - return yn.Value, nil - } -} - -// convertSliceIndex traverses the items in `fields` and find -// if there is a slice index in the item and change it to a -// valid Lookup field path. For example, 'ports[0]' will be -// converted to 'ports' and '0'. -func convertSliceIndex(fields []string) []string { - var res []string - for _, s := range fields { - if !strings.HasSuffix(s, "]") { - res = append(res, s) - continue - } - re := regexp.MustCompile(`^(.*)\[(\d+)\]$`) - groups := re.FindStringSubmatch(s) - if len(groups) == 0 { - // no match, add to result - res = append(res, s) - continue - } - if groups[1] != "" { - res = append(res, groups[1]) - } - res = append(res, groups[2]) - } - return res -} - -type NoFieldError struct { - Field string -} - -func (e NoFieldError) Error() string { - return fmt.Sprintf("no field named '%s'", e.Field) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/schema/schema.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/schema/schema.go deleted file mode 100644 index 9ee592f8..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/schema/schema.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -// Package schema contains libraries for working with the yaml and openapi packages. -package schema - -import ( - "strings" - - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// IsAssociative returns true if all elements in the list contain an -// AssociativeSequenceKey as a field. -func IsAssociative(schema *openapi.ResourceSchema, nodes []*yaml.RNode, infer bool) bool { - if schema != nil { - return schemaHasMergeStrategy(schema) - } - if !infer { - return false - } - for i := range nodes { - node := nodes[i] - if yaml.IsMissingOrNull(node) { - continue - } - if node.IsAssociative() { - return true - } - } - return false -} - -func schemaHasMergeStrategy(schema *openapi.ResourceSchema) bool { - tmp, _ := schema.PatchStrategyAndKey() - strategies := strings.Split(tmp, ",") - for _, s := range strategies { - if s == "merge" { - return true - } - } - return false -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/types.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/types.go deleted file mode 100644 index 5fbbba1b..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/types.go +++ /dev/null @@ -1,240 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "bytes" - "strings" - - "sigs.k8s.io/kustomize/kyaml/errors" - "sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml" - "sigs.k8s.io/kustomize/kyaml/sets" -) - -// CopyYNode returns a distinct copy of its argument. -// Use https://github.com/jinzhu/copier instead? -func CopyYNode(n *yaml.Node) *yaml.Node { - if n == nil { - return nil - } - c := *n - if len(n.Content) > 0 { - // Using Go 'copy' here doesn't yield independent slices. - c.Content = make([]*Node, len(n.Content)) - for i, item := range n.Content { - c.Content[i] = CopyYNode(item) - } - } - return &c -} - -// IsYNodeTaggedNull returns true if the node is explicitly tagged Null. -func IsYNodeTaggedNull(n *yaml.Node) bool { - return n != nil && n.Tag == NodeTagNull -} - -// IsYNodeEmptyMap is true if the Node is a non-nil empty map. -func IsYNodeEmptyMap(n *yaml.Node) bool { - return n != nil && n.Kind == yaml.MappingNode && len(n.Content) == 0 -} - -// IsYNodeEmptyMap is true if the Node is a non-nil empty sequence. -func IsYNodeEmptySeq(n *yaml.Node) bool { - return n != nil && n.Kind == yaml.SequenceNode && len(n.Content) == 0 -} - -// IsYNodeEmptyDoc is true if the node is a Document with no content. -// E.g.: "---\n---" -func IsYNodeEmptyDoc(n *yaml.Node) bool { - return n.Kind == yaml.DocumentNode && n.Content[0].Tag == NodeTagNull -} - -func IsYNodeString(n *yaml.Node) bool { - return n.Kind == yaml.ScalarNode && - (n.Tag == NodeTagString || n.Tag == NodeTagEmpty) -} - -// IsYNodeZero is true if all the public fields in the Node are empty. -// Which means it's not initialized and should be omitted when marshal. -// The Node itself has a method IsZero but it is not released -// in yaml.v3. https://pkg.go.dev/gopkg.in/yaml.v3#Node.IsZero -func IsYNodeZero(n *yaml.Node) bool { - // TODO: Change this to use IsZero when it's avaialable. - return n != nil && n.Kind == 0 && n.Style == 0 && n.Tag == "" && n.Value == "" && - n.Anchor == "" && n.Alias == nil && n.Content == nil && - n.HeadComment == "" && n.LineComment == "" && n.FootComment == "" && - n.Line == 0 && n.Column == 0 -} - -// Parser parses values into configuration. -type Parser struct { - Kind string `yaml:"kind,omitempty"` - Value string `yaml:"value,omitempty"` -} - -func (p Parser) Filter(_ *RNode) (*RNode, error) { - d := yaml.NewDecoder(bytes.NewBuffer([]byte(p.Value))) - o := &RNode{value: &yaml.Node{}} - return o, d.Decode(o.value) -} - -// TODO(pwittrock): test this -func GetStyle(styles ...string) Style { - var style Style - for _, s := range styles { - switch s { - case "TaggedStyle": - style |= TaggedStyle - case "DoubleQuotedStyle": - style |= DoubleQuotedStyle - case "SingleQuotedStyle": - style |= SingleQuotedStyle - case "LiteralStyle": - style |= LiteralStyle - case "FoldedStyle": - style |= FoldedStyle - case "FlowStyle": - style |= FlowStyle - } - } - return style -} - -// Filter defines a function to manipulate an individual RNode such as by changing -// its values, or returning a field. -// -// When possible, Filters should be serializable to yaml so that they can be described -// declaratively as data. -// -// Analogous to http://www.linfo.org/filters.html -type Filter interface { - Filter(object *RNode) (*RNode, error) -} - -type FilterFunc func(object *RNode) (*RNode, error) - -func (f FilterFunc) Filter(object *RNode) (*RNode, error) { - return f(object) -} - -// TypeMeta partially copies apimachinery/pkg/apis/meta/v1.TypeMeta -// No need for a direct dependence; the fields are stable. -type TypeMeta struct { - // APIVersion is the apiVersion field of a Resource - APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` - // Kind is the kind field of a Resource - Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` -} - -// NameMeta contains name information. -type NameMeta struct { - // Name is the metadata.name field of a Resource - Name string `json:"name,omitempty" yaml:"name,omitempty"` - // Namespace is the metadata.namespace field of a Resource - Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` -} - -// ResourceMeta contains the metadata for a both Resource Type and Resource. -type ResourceMeta struct { - TypeMeta `json:",inline" yaml:",inline"` - // ObjectMeta is the metadata field of a Resource - ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` -} - -// ObjectMeta contains metadata about a Resource -type ObjectMeta struct { - NameMeta `json:",inline" yaml:",inline"` - // Labels is the metadata.labels field of a Resource - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - // Annotations is the metadata.annotations field of a Resource. - Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` -} - -// GetIdentifier returns a ResourceIdentifier that includes -// the information needed to uniquely identify a resource in a cluster. -func (m *ResourceMeta) GetIdentifier() ResourceIdentifier { - return ResourceIdentifier{ - TypeMeta: m.TypeMeta, - NameMeta: m.NameMeta, - } -} - -// ResourceIdentifier contains the information needed to uniquely -// identify a resource in a cluster. -type ResourceIdentifier struct { - TypeMeta `json:",inline" yaml:",inline"` - NameMeta `json:",inline" yaml:",inline"` -} - -// Comments struct is comment yaml comment types -type Comments struct { - LineComment string `yaml:"lineComment,omitempty"` - HeadComment string `yaml:"headComment,omitempty"` - FootComment string `yaml:"footComment,omitempty"` -} - -func (r *ResourceIdentifier) GetName() string { - return r.Name -} - -func (r *ResourceIdentifier) GetNamespace() string { - return r.Namespace -} - -func (r *ResourceIdentifier) GetAPIVersion() string { - return r.APIVersion -} - -func (r *ResourceIdentifier) GetKind() string { - return r.Kind -} - -const ( - Trim = "Trim" - Flow = "Flow" -) - -// String returns a string value for a Node, applying the supplied formatting options -func String(node *yaml.Node, opts ...string) (string, error) { - if node == nil { - return "", nil - } - optsSet := sets.String{} - optsSet.Insert(opts...) - if optsSet.Has(Flow) { - oldStyle := node.Style - defer func() { - node.Style = oldStyle - }() - node.Style = yaml.FlowStyle - } - - b := &bytes.Buffer{} - e := NewEncoder(b) - err := e.Encode(node) - errClose := e.Close() - if err == nil { - err = errClose - } - val := b.String() - if optsSet.Has(Trim) { - val = strings.TrimSpace(val) - } - return val, errors.Wrap(err) -} - -// MergeOptionsListIncreaseDirection is the type of list growth in merge -type MergeOptionsListIncreaseDirection int - -const ( - MergeOptionsListAppend MergeOptionsListIncreaseDirection = iota - MergeOptionsListPrepend -) - -// MergeOptions is a struct which contains the options for merge -type MergeOptions struct { - // ListIncreaseDirection indicates should merge function prepend the items from - // source list to destination or append. - ListIncreaseDirection MergeOptionsListIncreaseDirection -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/util.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/util.go deleted file mode 100644 index dc788078..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/util.go +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2021 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package yaml - -import ( - "strings" -) - -// DeriveSeqIndentStyle derives the sequence indentation annotation value for the resource, -// originalYAML is the input yaml string, -// the style is decided by deriving the existing sequence indentation of first sequence node -func DeriveSeqIndentStyle(originalYAML string) string { - lines := strings.Split(originalYAML, "\n") - for i, line := range lines { - elems := strings.SplitN(line, "- ", 2) - if len(elems) != 2 { - continue - } - // prefix of "- " must be sequence of spaces - if strings.Trim(elems[0], " ") != "" { - continue - } - numSpacesBeforeSeqElem := len(elems[0]) - - // keyLine is the line before the first sequence element - keyLine := keyLineBeforeSeqElem(lines, i) - if keyLine == "" { - // there is no keyLine for this sequence node - // all of those lines are comments - continue - } - numSpacesBeforeKeyElem := len(keyLine) - len(strings.TrimLeft(keyLine, " ")) - trimmedKeyLine := strings.Trim(keyLine, " ") - if strings.Count(trimmedKeyLine, ":") != 1 || !strings.HasSuffix(trimmedKeyLine, ":") { - // if the key line doesn't contain only one : that too at the end, - // this is not a sequence node, it is a wrapped sequence node string - // ignore it - continue - } - - if numSpacesBeforeSeqElem == numSpacesBeforeKeyElem { - return string(CompactSequenceStyle) - } - - if numSpacesBeforeSeqElem-numSpacesBeforeKeyElem == 2 { - return string(WideSequenceStyle) - } - } - - return string(CompactSequenceStyle) -} - -// keyLineBeforeSeqElem iterates through the lines before the first seqElement -// and tries to find the non-comment key line for the sequence node -func keyLineBeforeSeqElem(lines []string, seqElemIndex int) string { - // start with the previous line of sequence element - i := seqElemIndex - 1 - for ; i >= 0; i-- { - line := lines[i] - trimmedLine := strings.Trim(line, " ") - if strings.HasPrefix(trimmedLine, "#") { // commented line - continue - } - // we have a non-commented line which can have a trailing comment - parts := strings.SplitN(line, "#", 2) - return parts[0] // throw away the trailing comment part - } - return "" - -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/associative_sequence.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/associative_sequence.go deleted file mode 100644 index 7657ebc0..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/associative_sequence.go +++ /dev/null @@ -1,385 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package walk - -import ( - "strings" - - "github.com/go-errors/errors" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/sets" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// appendListNode will append the nodes from src to dst and return dst. -// src and dst should be both sequence node. key is used to call ElementSetter. -// ElementSetter will use key-value pair to find and set the element in sequence -// node. -func appendListNode(dst, src *yaml.RNode, keys []string) (*yaml.RNode, error) { - var err error - for _, elem := range src.Content() { - // If key is empty, we know this is a scalar value and we can directly set the - // node - if keys[0] == "" { - _, err = dst.Pipe(yaml.ElementSetter{ - Element: elem, - Keys: []string{""}, - Values: []string{elem.Value}, - }) - if err != nil { - return nil, err - } - continue - } - - // we need to get the value for key so that we can find the element to set - // in sequence. - v := []string{} - for _, key := range keys { - tmpNode := yaml.NewRNode(elem) - valueNode, err := tmpNode.Pipe(yaml.Get(key)) - if err != nil { - return nil, err - } - if valueNode.IsNil() { - // no key found, directly append to dst - err = dst.PipeE(yaml.Append(elem)) - if err != nil { - return nil, err - } - continue - } - v = append(v, valueNode.YNode().Value) - } - - // When there are multiple keys, ElementSetter appends the node to dst - // even if the output is already in dst. We remove the node from dst to - // prevent duplicates. - if len(keys) > 1 { - _, err = dst.Pipe(yaml.ElementSetter{ - Keys: keys, - Values: v, - }) - if err != nil { - return nil, err - } - } - - // We use the key and value from elem to find the corresponding element in dst. - // Then we will use ElementSetter to replace the element with elem. If we cannot - // find the item, the element will be appended. - _, err = dst.Pipe(yaml.ElementSetter{ - Element: elem, - Keys: keys, - Values: v, - }) - if err != nil { - return nil, err - } - } - return dst, nil -} - -// validateKeys returns a list of valid key-value pairs -// if secondary merge key values are missing, use only the available merge keys -func validateKeys(valuesList [][]string, values []string, keys []string) ([]string, []string) { - validKeys := make([]string, 0) - validValues := make([]string, 0) - validKeySet := sets.String{} - for _, values := range valuesList { - for i, v := range values { - if v != "" { - validKeySet.Insert(keys[i]) - } - } - } - if validKeySet.Len() == 0 { // if values missing, fall back to primary keys - return keys, values - } - for _, k := range keys { - if validKeySet.Has(k) { - validKeys = append(validKeys, k) - } - } - for i, v := range values { - if v != "" || validKeySet.Has(keys[i]) { - validValues = append(validValues, v) - } - } - return validKeys, validValues -} - -// mergeValues merges values together - e.g. if two containerPorts -// have the same port and targetPort but one has an empty protocol -// and the other doesn't, they are treated as the same containerPort -func mergeValues(valuesList [][]string) [][]string { - for i, values1 := range valuesList { - for j, values2 := range valuesList { - if matched, values := match(values1, values2); matched { - valuesList[i] = values - valuesList[j] = values - } - } - } - return valuesList -} - -// two values match if they have at least one common element and -// corresponding elements only differ if one is an empty string -func match(values1 []string, values2 []string) (bool, []string) { - if len(values1) != len(values2) { - return false, nil - } - var commonElement bool - var res []string - for i := range values1 { - if values1[i] == values2[i] { - commonElement = true - res = append(res, values1[i]) - continue - } - if values1[i] != "" && values2[i] != "" { - return false, nil - } - if values1[i] != "" { - res = append(res, values1[i]) - } else { - res = append(res, values2[i]) - } - } - return commonElement, res -} - -// setAssociativeSequenceElements recursively set the elements in the list -func (l *Walker) setAssociativeSequenceElements(valuesList [][]string, keys []string, dest *yaml.RNode) (*yaml.RNode, error) { - // itemsToBeAdded contains the items that will be added to dest - itemsToBeAdded := yaml.NewListRNode() - var schema *openapi.ResourceSchema - if l.Schema != nil { - schema = l.Schema.Elements() - } - if len(keys) > 1 { - valuesList = mergeValues(valuesList) - } - - // each element in valuesList is a list of values corresponding to the keys - // for example, for the following yaml: - // - containerPort: 8080 - // protocol: UDP - // - containerPort: 8080 - // protocol: TCP - // `keys` would be [containerPort, protocol] - // and `valuesList` would be [ [8080, UDP], [8080, TCP] ] - var validKeys []string - var validValues []string - for _, values := range valuesList { - if len(values) == 0 { - continue - } - - validKeys, validValues = validateKeys(valuesList, values, keys) - val, err := Walker{ - VisitKeysAsScalars: l.VisitKeysAsScalars, - InferAssociativeLists: l.InferAssociativeLists, - Visitor: l, - Schema: schema, - Sources: l.elementValueList(validKeys, validValues), - MergeOptions: l.MergeOptions, - }.Walk() - if err != nil { - return nil, err - } - - exit := false - for i, key := range validKeys { - // delete the node from **dest** if it's null or empty - if yaml.IsMissingOrNull(val) || yaml.IsEmptyMap(val) { - _, err = dest.Pipe(yaml.ElementSetter{ - Keys: validKeys, - Values: validValues, - }) - if err != nil { - return nil, err - } - exit = true - } else if val.Field(key) == nil && validValues[i] != "" { - // make sure the key is set on the field - _, err = val.Pipe(yaml.SetField(key, yaml.NewScalarRNode(validValues[i]))) - if err != nil { - return nil, err - } - } - } - if exit { - continue - } - - // Add the val to the sequence. val will replace the item in the sequence if - // there is an item that matches all key-value pairs. Otherwise val will be appended - // the the sequence. - _, err = itemsToBeAdded.Pipe(yaml.ElementSetter{ - Element: val.YNode(), - Keys: validKeys, - Values: validValues, - }) - if err != nil { - return nil, err - } - } - - var err error - if len(valuesList) > 0 { - if l.MergeOptions.ListIncreaseDirection == yaml.MergeOptionsListPrepend { - // items from patches are needed to be prepended. so we append the - // dest to itemsToBeAdded - dest, err = appendListNode(itemsToBeAdded, dest, validKeys) - } else { - // append the items - dest, err = appendListNode(dest, itemsToBeAdded, validKeys) - } - } - - if err != nil { - return nil, err - } - // sequence is empty - if yaml.IsMissingOrNull(dest) { - return nil, nil - } - return dest, nil -} - -func (l *Walker) walkAssociativeSequence() (*yaml.RNode, error) { - // may require initializing the dest node - dest, err := l.Sources.setDestNode(l.VisitList(l.Sources, l.Schema, AssociativeList)) - if dest == nil || err != nil { - return nil, err - } - - // get the merge key(s) from schema - var strategy string - var keys []string - if l.Schema != nil { - strategy, keys = l.Schema.PatchStrategyAndKeyList() - } - if strategy == "" && len(keys) == 0 { // neither strategy nor keys present in the schema -- infer the key - // find the list of elements we need to recursively walk - key, err := l.elementKey() - if err != nil { - return nil, err - } - if key != "" { - keys = append(keys, key) - } - } - - // non-primitive associative list -- merge the elements - values := l.elementValues(keys) - if len(values) != 0 || len(keys) > 0 { - return l.setAssociativeSequenceElements(values, keys, dest) - } - - // primitive associative list -- merge the values - return l.setAssociativeSequenceElements(l.elementPrimitiveValues(), []string{""}, dest) -} - -// elementKey returns the merge key to use for the associative list -func (l Walker) elementKey() (string, error) { - var key string - for i := range l.Sources { - if l.Sources[i] != nil && len(l.Sources[i].Content()) > 0 { - newKey := l.Sources[i].GetAssociativeKey() - if key != "" && key != newKey { - return "", errors.Errorf( - "conflicting merge keys [%s,%s] for field %s", - key, newKey, strings.Join(l.Path, ".")) - } - key = newKey - } - } - if key == "" { - return "", errors.Errorf("no merge key found for field %s", - strings.Join(l.Path, ".")) - } - return key, nil -} - -// elementValues returns a slice containing all values for the field across all elements -// from all sources. -// Return value slice is ordered using the original ordering from the elements, where -// elements missing from earlier sources appear later. -func (l Walker) elementValues(keys []string) [][]string { - // use slice to to keep elements in the original order - var returnValues [][]string - var seen sets.StringList - - // if we are doing append, dest node should be the first. - // otherwise dest node should be the last. - beginIdx := 0 - if l.MergeOptions.ListIncreaseDirection == yaml.MergeOptionsListPrepend { - beginIdx = 1 - } - for i := range l.Sources { - src := l.Sources[(i+beginIdx)%len(l.Sources)] - if src == nil { - continue - } - - // add the value of the field for each element - // don't check error, we know this is a list node - values, _ := src.ElementValuesList(keys) - for _, s := range values { - if len(s) == 0 || seen.Has(s) { - continue - } - returnValues = append(returnValues, s) - seen = seen.Insert(s) - } - } - return returnValues -} - -// elementPrimitiveValues returns the primitive values in an associative list -- eg. finalizers -func (l Walker) elementPrimitiveValues() [][]string { - // use slice to to keep elements in the original order - var returnValues [][]string - seen := sets.String{} - // if we are doing append, dest node should be the first. - // otherwise dest node should be the last. - beginIdx := 0 - if l.MergeOptions.ListIncreaseDirection == yaml.MergeOptionsListPrepend { - beginIdx = 1 - } - for i := range l.Sources { - src := l.Sources[(i+beginIdx)%len(l.Sources)] - if src == nil { - continue - } - - // add the value of the field for each element - // don't check error, we know this is a list node - for _, item := range src.YNode().Content { - if seen.Has(item.Value) { - continue - } - returnValues = append(returnValues, []string{item.Value}) - seen.Insert(item.Value) - } - } - return returnValues -} - -// fieldValue returns a slice containing each source's value for fieldName -func (l Walker) elementValueList(keys []string, values []string) []*yaml.RNode { - keys, values = validateKeys([][]string{values}, values, keys) - var fields []*yaml.RNode - for i := range l.Sources { - if l.Sources[i] == nil { - fields = append(fields, nil) - continue - } - fields = append(fields, l.Sources[i].ElementList(keys, values)) - } - return fields -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/map.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/map.go deleted file mode 100644 index 998af6d3..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/map.go +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package walk - -import ( - "sort" - - "sigs.k8s.io/kustomize/kyaml/fieldmeta" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/sets" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// walkMap returns the value of VisitMap -// -// - call VisitMap -// - set the return value on l.Dest -// - walk each source field -// - set each source field value on l.Dest -func (l Walker) walkMap() (*yaml.RNode, error) { - // get the new map value - dest, err := l.Sources.setDestNode(l.VisitMap(l.Sources, l.Schema)) - if dest == nil || err != nil { - return nil, err - } - - // recursively set the field values on the map - for _, key := range l.fieldNames() { - var res *yaml.RNode - var keys []*yaml.RNode - if l.VisitKeysAsScalars { - // visit the map keys as if they were scalars, - // this is necessary if doing things such as copying - // comments - for i := range l.Sources { - // construct the sources from the keys - if l.Sources[i] == nil { - keys = append(keys, nil) - continue - } - field := l.Sources[i].Field(key) - if field == nil || yaml.IsMissingOrNull(field.Key) { - keys = append(keys, nil) - continue - } - keys = append(keys, field.Key) - } - // visit the sources as a scalar - // keys don't have any schema --pass in nil - res, err = l.Visitor.VisitScalar(keys, nil) - if err != nil { - return nil, err - } - } - - var s *openapi.ResourceSchema - if l.Schema != nil { - s = l.Schema.Field(key) - } - fv, commentSch := l.fieldValue(key) - if commentSch != nil { - s = commentSch - } - val, err := Walker{ - VisitKeysAsScalars: l.VisitKeysAsScalars, - InferAssociativeLists: l.InferAssociativeLists, - Visitor: l, - Schema: s, - Sources: fv, - MergeOptions: l.MergeOptions, - Path: append(l.Path, key)}.Walk() - if err != nil { - return nil, err - } - - // transfer the comments of res to dest node - var comments yaml.Comments - if !yaml.IsMissingOrNull(res) { - comments = yaml.Comments{ - LineComment: res.YNode().LineComment, - HeadComment: res.YNode().HeadComment, - FootComment: res.YNode().FootComment, - } - if len(keys) > 0 && !yaml.IsMissingOrNull(keys[DestIndex]) { - keys[DestIndex].YNode().HeadComment = res.YNode().HeadComment - keys[DestIndex].YNode().LineComment = res.YNode().LineComment - keys[DestIndex].YNode().FootComment = res.YNode().FootComment - } - } - - // this handles empty and non-empty values - _, err = dest.Pipe(yaml.FieldSetter{Name: key, Comments: comments, Value: val}) - if err != nil { - return nil, err - } - } - - return dest, nil -} - -// valueIfPresent returns node.Value if node is non-nil, otherwise returns nil -func (l Walker) valueIfPresent(node *yaml.MapNode) (*yaml.RNode, *openapi.ResourceSchema) { - if node == nil { - return nil, nil - } - - // parse the schema for the field if present - var s *openapi.ResourceSchema - fm := fieldmeta.FieldMeta{} - var err error - // check the value for a schema - if err = fm.Read(node.Value); err == nil { - s = &openapi.ResourceSchema{Schema: &fm.Schema} - if fm.Schema.Ref.String() != "" { - r, err := openapi.Resolve(&fm.Schema.Ref, openapi.Schema()) - if err == nil && r != nil { - s.Schema = r - } - } - } - // check the key for a schema -- this will be used - // when the value is a Sequence (comments are attached) - // to the key - if fm.IsEmpty() { - if err = fm.Read(node.Key); err == nil { - s = &openapi.ResourceSchema{Schema: &fm.Schema} - } - if fm.Schema.Ref.String() != "" { - r, err := openapi.Resolve(&fm.Schema.Ref, openapi.Schema()) - if err == nil && r != nil { - s.Schema = r - } - } - } - return node.Value, s -} - -// fieldNames returns a sorted slice containing the names of all fields that appear in any of -// the sources -func (l Walker) fieldNames() []string { - fields := sets.String{} - for _, s := range l.Sources { - if s == nil { - continue - } - // don't check error, we know this is a mapping node - sFields, _ := s.Fields() - fields.Insert(sFields...) - } - result := fields.List() - sort.Strings(result) - return result -} - -// fieldValue returns a slice containing each source's value for fieldName -func (l Walker) fieldValue(fieldName string) ([]*yaml.RNode, *openapi.ResourceSchema) { - var fields []*yaml.RNode - var sch *openapi.ResourceSchema - for i := range l.Sources { - if l.Sources[i] == nil { - fields = append(fields, nil) - continue - } - field := l.Sources[i].Field(fieldName) - f, s := l.valueIfPresent(field) - fields = append(fields, f) - if sch == nil && !s.IsMissingOrNull() { - sch = s - } - } - return fields, sch -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/nonassociative_sequence.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/nonassociative_sequence.go deleted file mode 100644 index 91b187e5..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/nonassociative_sequence.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package walk - -import ( - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -// walkNonAssociativeSequence returns the value of VisitList -func (l Walker) walkNonAssociativeSequence() (*yaml.RNode, error) { - return l.VisitList(l.Sources, l.Schema, NonAssociateList) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/scalar.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/scalar.go deleted file mode 100644 index 1a26f6df..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/scalar.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package walk - -import "sigs.k8s.io/kustomize/kyaml/yaml" - -// walkScalar returns the value of VisitScalar -func (l Walker) walkScalar() (*yaml.RNode, error) { - return l.VisitScalar(l.Sources, l.Schema) -} diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/visitor.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/visitor.go deleted file mode 100644 index 153ac294..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/visitor.go +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package walk - -import ( - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" -) - -type ListKind int32 - -const ( - AssociativeList ListKind = 1 + iota - NonAssociateList -) - -// Visitor is invoked by walk with source and destination node pairs -type Visitor interface { - VisitMap(Sources, *openapi.ResourceSchema) (*yaml.RNode, error) - - VisitScalar(Sources, *openapi.ResourceSchema) (*yaml.RNode, error) - - VisitList(Sources, *openapi.ResourceSchema, ListKind) (*yaml.RNode, error) -} - -// ClearNode is returned if GrepFilter should do nothing after calling Set -var ClearNode *yaml.RNode diff --git a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/walk.go b/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/walk.go deleted file mode 100644 index 68de1324..00000000 --- a/vendor/sigs.k8s.io/kustomize/kyaml/yaml/walk/walk.go +++ /dev/null @@ -1,186 +0,0 @@ -// Copyright 2019 The Kubernetes Authors. -// SPDX-License-Identifier: Apache-2.0 - -package walk - -import ( - "fmt" - "os" - "strings" - - "sigs.k8s.io/kustomize/kyaml/fieldmeta" - "sigs.k8s.io/kustomize/kyaml/openapi" - "sigs.k8s.io/kustomize/kyaml/yaml" - "sigs.k8s.io/kustomize/kyaml/yaml/schema" -) - -// Walker walks the Source RNode and modifies the RNode provided to GrepFilter. -type Walker struct { - // Visitor is invoked by GrepFilter - Visitor - - Schema *openapi.ResourceSchema - - // Source is the RNode to walk. All Source fields and associative list elements - // will be visited. - Sources Sources - - // Path is the field path to the current Source Node. - Path []string - - // InferAssociativeLists if set to true will infer merge strategies for - // fields which it doesn't have the schema based on the fields in the - // list elements. - InferAssociativeLists bool - - // VisitKeysAsScalars if true will call VisitScalar on map entry keys, - // providing nil as the OpenAPI schema. - VisitKeysAsScalars bool - - // MergeOptions is a struct to store options for merge - MergeOptions yaml.MergeOptions -} - -// Kind returns the kind of the first non-null node in Sources. -func (l Walker) Kind() yaml.Kind { - for _, s := range l.Sources { - if !yaml.IsMissingOrNull(s) { - return s.YNode().Kind - } - } - return 0 -} - -// Walk will recursively traverse every item in the Sources and perform corresponding -// actions on them -func (l Walker) Walk() (*yaml.RNode, error) { - l.Schema = l.GetSchema() - - // invoke the handler for the corresponding node type - switch l.Kind() { - case yaml.MappingNode: - if err := yaml.ErrorIfAnyInvalidAndNonNull(yaml.MappingNode, l.Sources...); err != nil { - return nil, err - } - return l.walkMap() - case yaml.SequenceNode: - if err := yaml.ErrorIfAnyInvalidAndNonNull(yaml.SequenceNode, l.Sources...); err != nil { - return nil, err - } - // AssociativeSequence means the items in the sequence are associative. They can be merged - // according to merge key. - if schema.IsAssociative(l.Schema, l.Sources, l.InferAssociativeLists) { - return l.walkAssociativeSequence() - } - return l.walkNonAssociativeSequence() - - case yaml.ScalarNode: - if err := yaml.ErrorIfAnyInvalidAndNonNull(yaml.ScalarNode, l.Sources...); err != nil { - return nil, err - } - return l.walkScalar() - case 0: - // walk empty nodes as maps - return l.walkMap() - default: - return nil, nil - } -} - -func (l Walker) GetSchema() *openapi.ResourceSchema { - for i := range l.Sources { - r := l.Sources[i] - if yaml.IsMissingOrNull(r) { - continue - } - - fm := fieldmeta.FieldMeta{} - if err := fm.Read(r); err == nil && !fm.IsEmpty() { - // per-field schema, this is fine - if fm.Schema.Ref.String() != "" { - // resolve the reference - s, err := openapi.Resolve(&fm.Schema.Ref, openapi.Schema()) - if err == nil && s != nil { - fm.Schema = *s - } - } - return &openapi.ResourceSchema{Schema: &fm.Schema} - } - } - - if l.Schema != nil { - return l.Schema - } - for i := range l.Sources { - r := l.Sources[i] - if yaml.IsMissingOrNull(r) { - continue - } - - m, _ := r.GetMeta() - if m.Kind == "" || m.APIVersion == "" { - continue - } - - s := openapi.SchemaForResourceType(yaml.TypeMeta{Kind: m.Kind, APIVersion: m.APIVersion}) - if s != nil { - return s - } - } - return nil -} - -const ( - DestIndex = iota - OriginIndex - UpdatedIndex -) - -// Sources are a list of RNodes. First item is the dest node, followed by -// multiple source nodes. -type Sources []*yaml.RNode - -// Dest returns the destination node -func (s Sources) Dest() *yaml.RNode { - if len(s) <= DestIndex { - return nil - } - return s[DestIndex] -} - -// Origin returns the origin node -func (s Sources) Origin() *yaml.RNode { - if len(s) <= OriginIndex { - return nil - } - return s[OriginIndex] -} - -// Updated returns the updated node -func (s Sources) Updated() *yaml.RNode { - if len(s) <= UpdatedIndex { - return nil - } - return s[UpdatedIndex] -} - -func (s Sources) String() string { - var values []string - for i := range s { - str, err := s[i].String() - if err != nil { - fmt.Fprintf(os.Stderr, "%v\n", err) - } - values = append(values, str) - } - return strings.Join(values, "\n") -} - -// setDestNode sets the destination source node -func (s Sources) setDestNode(node *yaml.RNode, err error) (*yaml.RNode, error) { - if err != nil { - return nil, err - } - s[0] = node - return node, nil -} -- Gitee